dsh-find-bar
Manifest valid★ 3Browser-style in-page find bar (Cmd/Ctrl+F) for the desktop app, with highlight-all, a match counter, and a scope picker for the conversation or the right panel.
dsh-find-bar
DSH web 插件:为桌面 App(Electron 壳)补上 ⌘F / Ctrl+F 页内查找, 体验对齐浏览器原生查找条——支持全文高亮、匹配计数、回车跳转。
搜索范围:当前页面渲染的全部文本——对话内容、侧边栏、设置页。
原理
Electron 没有浏览器内置查找栏。本插件在客户端实现:
- 监听 ⌘F/Ctrl+F(capture 阶段)弹出自绘查找条(跟随主题变量)
- 用 TreeWalker 收集文本节点(含 shadow root 内),构建 DOM Range 匹配
- 用 CSS Custom Highlight API(
CSS.highlights+::highlight())高亮—— 只绘制不修改 DOM,与 React 渲染零冲突 - 不支持该 API 的环境自动退回
window.find()
快捷键
| 键 | 功能 |
|---|---|
| ⌘F / Ctrl+F | 打开查找条(自动填入当前选中文本) |
| Enter / Shift+Enter | 下一个 / 上一个匹配 |
| ⌘G / F3(+Shift) | 下一个 / 上一个 |
| Esc | 关闭并清除高亮 |
输入即搜(防抖跟随内容流式更新),计数显示 当前/总数。
安装
npm pack
dsh plugin --profile desktop add ./dsh-find-bar-0.1.0.tgz
安装后重启一次应用(插件清单启动时装载)。
已知限制
- 只搜索已渲染在 DOM 里的内容;未展开的会话/极长列表若被界面折叠,需先展开
- 匹配上限 5000 条(超限显示
+) - 大小写不敏感,暂无"区分大小写"开关
卸载
dsh plugin --profile desktop remove dsh-find-bar
Comments
Loading…
Similar plugins
Adds a Ctrl+F-style find bar to the DSH interface: highlights every match in the conversation or on the current page, and steps between them.
★ 0
MIT
JavaScript
dsh plugin --profile web add dsh-conversation-findby Ryuu-64
DSH web plugin: a Cmd/Ctrl+F find bar for the DeepSeek Harness desktop shell that searches the WHOLE conversation, not just the rendered tail.
★ 9
MIT
JavaScript
Nov 17, 2026
dsh plugin --profile web add dsh-find-allby Gnatnaituy
A browser panel in DSH's right sidebar: browse a site through a per-origin loopback proxy, pick elements into [label][DOMn] references, with tabs, page zoom, phone/tablet viewport preview and saved lo
★ 0
MIT
JavaScript
Oct 6, 2026
dsh plugin --profile web add dsh-sidebar-browserShared browser panel for DeepSeek Harness via Better Sidebar, with local Chromium, human and agent mouse and keyboard control, page snapshots, screenshots, and per-chat persistent profiles.
★ 0
dsh plugin --profile web add dsh-inapp-browserby wuwaka
Adds a right-click menu to DeepSeek Harness inside desktop shells that ship no context menu: cut, copy, paste and select all in the composer, copy and copy-as-plain-text on selected text elsewhere, an
★ 0
MIT
JavaScript
Sep 12, 2026
dsh plugin --profile web add dsh-clipboard-menuby fomalhaut1998
Ctrl+F find-in-session for the conversation, powered by the session store rather than the DOM - labels every hit by source (you / assistant / reasoning / tool call / tool result / system), groups resu
★ 4
MIT
JavaScript
Oct 19, 2026
dsh plugin --profile web add dsh-session-find