- Inicio
- Plugins
- Mejoras de UI
- dsh-omni-find
dsh-omni-find
yangdw2024/dsh-omni-find
Non-destructive Ctrl+F / Cmd+F Spotlight search bar for DSH conversations using the CSS Custom Highlight API: draggable bar with recent queries, case-sensitive, whole-word, and regex modes, conversation/page scope toggle, expandable match context list, live streaming sync, and right-edge minimap markers.
Instalar
dsh plugin --profile web add github:yangdw2024/dsh-omni-findREADME
dsh-omni-find
Omni-platform, non-destructive Ctrl+F (Cmd+F on macOS) Spotlight search for DeepSeek Harness (DSH) — plus a zero-dependency cross-platform userscript and Chrome/Edge MV3 browser extension for Codex Web, Antigravity, ChatGPT, Claude, DeepSeek Web, and more.
专为 DeepSeek Harness (DSH) 打造的全能无损会话内 Ctrl+F 检索插件,同时内置零依赖跨平台油猴脚本与 Chrome / Edge MV3 浏览器扩展,一套核心引擎通吃多个 AI 对话端。
Features / 核心特性
- Centered Draggable Spotlight Bar / 居中可拖拽 Spotlight 搜索栏: Clean floating command-bar UX with recent query history (
v1.1.0). - Non-destructive CSS Highlights / 无损高亮: Uses the browser-native CSS Custom Highlight API (
CSS.highlights) — never injects<mark>elements into React DOM, keeping Markdown tables, code fences, and math intact. - Expandable Match Context List / 可展开上下文命中列表: Click the match counter (
2 / 15 ▾) to view surrounding context snippets for every match and jump directly. - Search Modes / 搜索模式: Match Case (
Aa/Alt+C), Whole Word (\b/Alt+W, CJK-safe), and Regular Expression (.*/Alt+R, with invalid-regex guard and zero-width loop protection). - Smart Scope Toggle / 智能作用域: Defaults to the active conversation area (ignoring sidebar & composer), with one-click toggle to full-page search.
- Live Streaming Sync / 流式输出自动同步: Debounced
MutationObserver(250 ms) keeps highlights and match counts updated while AI streams or when switching sessions; disconnects immediately when closed. - Right-Edge Minimap Markers / 右侧迷你进度刻度条: Shows vertical hit distribution along the viewport edge with click-to-jump.
- Host-Safe Design / 绝对不破坏 DSH Host: Host-side
index.jsis a zero-dependency no-op (export function apply() {}); runs purely in the browser with full Shadow DOM CSS isolation and zero external network calls.
Installation / 安装方式
1. DeepSeek Harness (DSH)
Via npm (recommended / 推荐):
dsh plugin --profile web add dsh-omni-find
# Desktop profile:
dsh plugin --profile desktop add dsh-omni-find
Via GitHub:
dsh plugin --profile web add github:yangdw2024/dsh-omni-find
Or in DSH Web/Desktop GUI: Plugins (插件) → Add plugin (添加插件) and enter dsh-omni-find.
Once enabled, press Ctrl+F (Cmd+F on macOS) or click the magnifying glass icon in the top-right conversation header.
2. Userscript (Codex / Antigravity / ChatGPT / Claude / DeepSeek Web)
- Install Tampermonkey or Violentmonkey in Chrome / Edge.
- Create a new userscript and paste
adapters/userscript/dsh-omni-find.user.js. - Refresh your target page and press
Ctrl+F(Cmd+F).
3. Chrome / Edge Extension (Manifest V3)
- Open
chrome://extensions/oredge://extensions/and enable Developer mode. - Click Load unpacked and select
adapters/browser-extension/. - Refresh your target page and press
Ctrl+F.
Development / 开发与构建
npm test # Run search-engine unit tests
npm run build # Rebuild client.js, userscript, and MV3 extension from core/
License
Plugins relacionados
dsh-web (dsh-task-board)
zhu1090093659/dsh-web
dsh-web (dsh-web-all)
zhu1090093659/dsh-web
dsh-TUI
ccch1mneyyy/dsh-tui
dsh-web-ui (dsh-task-board)
zhu1090093659/dsh-web-ui