dsh-chat-find: Search in DeepSeek Harness Conversations with Ctrl+F

Foreword

When using DeepSeek Harness (DSH) for long conversations, locating a specific prompt or reply within the page is difficult because the browser’s built-in find function scans the sidebar, input box, and tool outputs, often getting buried by build logs. Below introduces the community client plugin dsh-chat-find (maintainer LLinsanity): it searches only within the scope of messages in the current session, highlights matches, supports step-by-step navigation, and re-searches by fetching earlier history if necessary.

What is this

dsh-chat-find is a DSH client plugin (where dsh.client.platform in package.json is web, depending on @deepseek-ai/dsh-client-ui-shortcuts and @deepseek-ai/dsh-client-ui-chat). It provides an editable find bar at the top of the current conversation view, equivalent to “Ctrl+F inside the conversation”.

The Host-side index.js is empty; logic is in the lazy-loaded client.js, registered via window.__ModuleLoader__.

Core Features

Search Scope

The plugin only matches published conversation rows in the Chat view, reading content based on the row’s data-chat-flow-kind, and does not scan the entire page DOM. The README states it will search:

  • Your messages, assistant replies, steering notes, and answers to questions

The following are intentionally skipped: tool calls, tool outputs, command outputs, to avoid queries being buried by build logs.

The find bar only displays rows currently loaded in Chat; if a match is on an earlier message not yet loaded, the bottom bar provides Load earlier history, calling the Chat view’s built-in pagination to search again (max loading 20 pages at a time).

Highlight and Navigation

  • Uses the CSS Custom Highlight API, does not wrap with <mark>, highlights are less likely to fail during streaming output, and does not modify editable areas.
  • Supports moving forward and backward between matches and displays which match is currently active.

Difference from Global Page Find

Aspect dsh-chat-find Typical DOM Global Find
Scope Message rows (data-chat-flow-kind) Entire page including sidebar, composer, tool cards
Highlight CSS Highlight Often relies on DOM wrapping
Earlier History Bottom bar loads on-demand then re-searches Unloaded content is usually not in results
Interface Theme tokens (--dsw-alias-*) frosted glass bar Browser native bar

The bar appearance can be tweaked via CSS variables: --cf-blur (default 26px), --cf-tint (default 54%).

Keyboard Shortcuts (Desktop)

In the desktop app, shortcuts are registered as the editable command conversation.find, which can be remapped in Settings → Shortcuts; the README notes this allows it to pass through the native menu layer.

In the browser environment, it does not override native Ctrl+F and still uses the browser’s find.

Installation and Activation

Plugins are installed directly from GitHub, no npm standalone package steps, no build required. Refresh the page once after installation (Ctrl+R).

dsh plugin --profile desktop add git+https://github.com/LLinsanity/dsh-chat-find

The README notes that if published to npm in the future, the short name can be used:

dsh plugin --profile desktop add dsh-chat-find

Before installation, it is recommended to browse the repository source code and LICENSE to ensure compatibility with the current DSH version; the plugin runs under DSH client process permissions, similar to any other client plugin, so you need to evaluate trust boundaries yourself.

Typical Usage

  1. Install the plugin in the desktop profile and refresh the page.
  2. Open the conversation to search in, press Ctrl+F (macOS is Cmd+F) to open the find bar.
  3. Enter keywords, use Enter or ↓ for the next match, Shift+Enter or ↑ for the previous.
  4. If prompted for earlier history, click Load earlier history at the bottom bar, then search again after loading is complete.
  5. Press Esc or the close button on the bar to dismiss the find bar.
Action Keys
Open find bar Ctrl+F (macOS: Cmd+F)
Next Enter or ↓
Previous Shift+Enter or ↑
Close Esc or ✕
Load earlier history and re-search Bottom bar Load earlier history

Use Cases and Notes

Suitable for: Keyword positioning in long sessions within the DSH desktop client; when you only want to find a sentence in the user/assistant body and don’t want to be disturbed by tool outputs.

Known Limitations (README):

  • Can only search the currently loaded page of conversation at once, need to Load earlier history first.
  • Matching is limited to single text nodes; phrases cut by inline markup (e.g., split between code and plain text) may not be found.
  • Depends on the Chat view’s data-chat-flow-kind and [data-conversation-scroll]; if DSH changes names in the future, the plugin needs to be updated synchronously.
  • After closing with Esc, focus returns to the page body, not to the composer.
  • Shortcuts are for desktop; use native find in the browser.

The DSH ecosystem is moving towards “everything is a plugin”; sites like SkillHub are community directories and have no official affiliation with DeepSeek/QuantCube. This plugin is categorized as client in the directory; stars are based on directory/GitHub (0 stars on GitHub at the time of writing).

Closing

dsh-chat-find converges Ctrl+F to the current conversation body: message domain search, CSS Highlight, on-demand pagination for history. It is suitable for quickly reviewing prompts and replies in Harness. Refer to README for installation commands; for details and screenshots, see GitHub Repository and SkillHub Directory Page.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye