跳过主要内容
M

dsh-chat-find

manbo-chen/dsh-chat-find

给对话加上类似浏览器 Ctrl+F 的查找栏:输入即高亮匹配、逐条跳转并滚动到对应位置,搜索范围是已加载且可见的对话内容。

安装

dsh plugin --profile web add github:manbo-chen/dsh-chat-find

README

dsh-chat-find

Find text inside the DeepSeek Harness conversation you are reading — a browser-like Ctrl+F for the chat transcript.

What it does

  • Ctrl+F (⌘F on macOS) opens a find bar at the top-right of the transcript. The magnifier in the conversation header opens it too.
  • Search as you type. Every match is highlighted, the current one more strongly. The counter shows current / total.
  • Step and jump. Enter goes to the next match, Shift+Enter to the previous one; the transcript scrolls so the match clears the floating bar at the top and the composer at the bottom. Esc closes the bar from anywhere and returns focus where it was.
  • Selection pre-fills. Select text in the transcript, then press Ctrl+F; the selection becomes the query.
  • Cross-inline matching. A phrase that spans bold text, inline code, or a link inside one paragraph still matches.
  • Live results. New streamed content is picked up while the bar is open.

The bar uses the host's theme tokens and the CSS Custom Highlight API: message DOM is never wrapped, cloned, or rewritten, so the transcript keeps its own React state and selection behavior.

The command is registered in Settings → Shortcuts as Find in conversation, so the shortcut can be rebound. The Web build binds Ctrl+Alt+F (⌘⌥F on macOS) by default, because browsers reserve the plain combination for their own find bar.

Limits

  • Only text that is loaded and visible is searched. If the session has older history, load it first (the transcript's Load earlier control).
  • Work steps that are folded (thinking blocks, collapsed tool details) are skipped; expand them and search again to include their text.
  • Matching is case-insensitive substring matching, capped at 2000 results (2000+).
  • A match never spans two paragraphs or blocks, only inline boundaries inside one block.

Install

dsh plugin --profile <profile> add github:manbo-chen/dsh-chat-find

Or, once the plugin is listed, install it from the plugin market with one click. The package is a plain client-only bundle with no build step and no dependencies.

Compatibility

DeepSeek Harness 0.2.2-rc.1 and newer (<0.3.0-0), Desktop and dsh web. It needs the conversation's Chat view (data-chat-flow) and the Client services slots, locale, and shortcuts; in a composition without them the plugin stays inactive instead of failing.

License

MIT

相关插件