DSH Plugins Marketplace

DSH Plugins

Plugins

/

UI & Experience

/

dsh-find-bar

d

dsh-find-bar

Manifest valid
UI (client)hasBundlePatch

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…

From the same category

dsh-desktop

by anywhere-labs

为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。

UI & ExperienceManifest valid

★ 29.9k

↓ 150/wk

MIT

TypeScript

Oct 3, 2026

dsh plugin --profile web add dsh-plugin-desktop

by zhu1090093659

DeepSeek Harness (DSH) Web Plugin Aggregation Ecosystem · Everything is a plugin, distributed via the Creative Workshop

UI & ExperienceManifest valid

★ 8.4k

↓ 219/wk

Apache-2.0

TypeScript

Oct 4, 2026

dsh plugin --profile web add dsh-web

A collection of independent Web UI plugins and skins, including task boards, Git graphs, mobile access, and live token stats.

UI & ExperienceManifest valid

★ 7.4k

↓ 248/wk

Apache-2.0

TypeScript

dsh plugin --profile web add dsh-web

by omdsh-dev

开放的侧边栏底座,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/侧边对话/Git/子代理页面 | Open sidebar foundation, supports third-party extensions to register new sidebar pages. Built-in file rendering/editing, terminal, side chat, Git,

UI & ExperienceManifest valid

★ 4k

↓ 61.5k/wk

MIT

TypeScript

Oct 4, 2026

dsh plugin --profile web add dsh-better-sidebar

by bowenliang123

The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,

Tools & CapabilitiesUI & ExperienceTerminal & ClientsManifest valid

★ 1.8k

↓ 38.5k/wk

Apache-2.0

TypeScript

Oct 4, 2026

dsh plugin --profile web add dsh-context

by shaobeichen

把 DeepSeek Harness 装进你的口袋:电脑上跑 dsh web,手机扫码即同步访问(局域网 + 公网,实时同屏)Put DeepSeek Harness in your pocket: run dsh web on your computer and access it synchronously by scanning a QR code on your phone (LAN +

UI & ExperienceManifest valid

★ 1.5k

↓ 3.5k/wk

GPL-2.0

JavaScript

Sep 16, 2026

dsh plugin --profile web add dsh-pocket