DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-file-finder

c

dsh-file-finder

Manifest valid

DeepSeek Harness plugin: search files by name or content, customizable shortcuts, and in-app text editing

UI (client)hasBundlePatch

dsh-file-finder

A DeepSeek Harness plugin for finding workspace files without leaving DSH: search by file name or by file content, then open the result in DSH's own right-sidebar preview — or in the built-in editor when you need to change something.

中文文档

What it does

  • Search by file name, including a path fragment such as src/view.
  • Search by content, with one result row per matching line.
  • Open natively: Enter opens the file in DSH's right-sidebar document preview, the same surface the Files tab uses, and jumps to the matching line for content hits.
  • Edit in place when you need to: ⌘/Ctrl+Enter opens the built-in editor, which saves through DSH's workspace filesystem and refuses to overwrite a file that changed after it was loaded.
  • Native shortcuts: Cmd/Ctrl+P and Cmd/Ctrl+Shift+F, like VS Code, without claiming a default binding in DSH's shortcut registry.
  • Optional DS Bot bridge: when the DS Bot plugin is installed, Cmd/Ctrl+Shift+B flips between Bot mode and classic Agent mode; without it neither the shortcut nor its settings card exists.
  • A redesigned settings page with cards, keycaps, steppers, and switches, plus an "Opening" preference that chooses whether Enter previews or edits.
  • Polished interaction: a frosted command palette, spring-eased mode switch, selected-row rail, loading skeletons, and reduced-motion support.

File system: it already uses DSH's

There is no second filesystem hidden in this plugin:

OperationOwner
Walking, reading, writing workspace filesDSH's ctx.fs seam (index.js)
Search and rankingThis plugin (DSH exposes no reusable search service)
Opening and viewing a fileDSH's right-sidebar document preview, via ctx.sidebarRight.openResource() and a dsh-resource://file/session/<sessionId>/<path> address
Editing and conflict checksThis plugin's editor, over the same ctx.fs seam

When the native preview is unavailable (no live Session, or a shell without the right sidebar), the finder falls back to its own editor and says so. The Settings → File Finder page lets you make the editor the default action instead.

Shortcuts

ActionDefault keys
Search by file nameCmd/Ctrl+P
Search by contentCmd/Ctrl+Shift+F
Toggle DS Bot / classic Agent mode (only with the DS Bot plugin installed)Cmd/Ctrl+Shift+B

The commands are registered with DSH's shortcut service so you can assign your own keys in Settings → Edit shortcuts, but they declare no default binding. DSH's registry throws when one command's default overlaps another's, and it throws from inside the other plugin's apply(), so claiming Cmd+Shift+F here took the whole Web UI boot down (Conflicting shortcut defaults: session.fork and files.searchContent). The VS Code keys above are served by this plugin's own keydown handler instead.

Note that Cmd+Shift+F is DSH's own "fork session" binding; this plugin uses it for content search, so rebind session.fork in Settings → Edit shortcuts if you relied on it.

In the browser Web shell (not the desktop app), Cmd+Shift+B is DSH's right-sidebar toggle. With DS Bot installed this plugin takes that key for the mode switch, so assign a different key to files.toggleBotMode in Settings → Edit shortcuts if you need the sidebar binding there. On the desktop app the combination is free.

DS Bot mode switch (optional)

When the DS Bot plugin (ds-bot) is part of the running boot, this plugin also offers Toggle Bot / classic Agent mode on Cmd/Ctrl+Shift+B, plus a matching card in Settings → File Finder.

DS Bot keeps its surface switch private — it exposes no client service — so the bridge does the two things another plugin safely can: it detects ds-bot in the boot graph, and it drives the controls DS Bot renders itself (the account menu's surface-switch entry to leave Bot mode, and the DS Bot return pill to come back). Nothing is patched or forked, and DS Bot's own ds-bot:surface preference stays authoritative.

Without DS Bot nothing is registered or shown: the command never reaches Settings → Edit shortcuts, the settings card stays hidden, and Cmd/Ctrl+Shift+B is left to whatever else owns it.

Settings

Settings → File Finder covers:

  • Shortcut reference with one-click try buttons
  • Case sensitivity
  • Extra ignored directory names (with live chips)
  • Name and content result limits (steppers)
  • The default Enter action: Sidebar preview or Built-in editor
  • Reset to defaults; changes save automatically

Editing

Choose a result and press Cmd/Ctrl+Enter (or set the built-in editor as the default action). Save writes the full text back through the workspace filesystem and refuses to overwrite a file that changed after it was loaded. Reload, then save again, to take the newer version. The editor is for UTF-8 text under about 1 MB. Binary files and common build or dependency directories are skipped.

The editor shows a line-number gutter and highlights the caret's line. Cmd/Ctrl+F opens in-file search: every match is highlighted, the current one more strongly, with a match count, previous/next buttons, and a Aa case-sensitivity toggle. Enter and Shift+Enter step through matches, Escape closes the search and returns focus to the text.

Install

From this directory, after the plugin is on disk:

dsh plugin add /Library/aiProject/dsh-file-finder

Or install the GitHub archive once it has been pushed. Restart or refresh the DSH page if the new client module does not appear immediately.

The same operations are available to the agent as the file_finder tool.

Development

node --check index.js
node --check client.js
npm test

npm test covers the search helpers, the shortcut-default regression guard, and the UI contract (native preview address, palette hooks, reduced-motion rules, the DS Bot bridge, and the editor's line gutter plus in-file find).

The editor has its own browser check for the gutter and in-file find:

npm run check:find

The DS Bot bridge also has a browser check that runs the real key handler against DS Bot's real selectors, with and without ds-bot in the boot graph:

node preview/bot-check.mjs

The native-integration research — address grammar, session derivation, service access, HMR behavior, and the keep-vs-delegate matrix — is documented in docs/native-integration.md.

preview/ is a dev-only harness that renders the palette and settings page outside DSH with the real DSH theme tokens, and captures light/dark screenshots with Playwright:

node preview/screenshot.mjs

It is not part of the published package.

License

MIT

Comments

Loading…

Similar plugins

dsh-font-settings

by YiQiuAcc

A DeepSeek Harness web plugin that replaces the font settings in general settings with searchable font pickers.

Manifest valid

★ 0

MIT

JavaScript

Oct 11, 2026

dsh plugin --profile web add @styiqiu/dsh-font-settings

by Qingzhou-Joshua

DeepSeek Harness plugin—a simple toolkit for developers.

Manifest valid

★ 0

MIT

TypeScript

Aug 14, 2026

dsh plugin --profile web add dsh-dev-toolbox

by jwilson411

DeepSeek Harness plugin: append-only JSONL of filesystem touches (path, op, sha256 before/after) with no file contents

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Sep 1, 2026

dsh plugin --profile web add dsh-mutation-receipt

by xusuyang030218

DSH (DeepSeek Harness) file preview & editor plugin: in-browser workspace file tree, multi-format preview, online editing, version history, search. DSH 文件预览插件。

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Aug 24, 2026

dsh plugin --profile web add dsh-preview-ui

by huangxp12

Keyword search for the DeepSeek Harness Plugins page: filter installed and official plugins by name, description, or package name. · 给 DSH「插件」页加上关键词搜索。

Tools & CapabilitiesUI & ExperienceManifest valid

★ 1

MIT

JavaScript

Oct 8, 2026

dsh plugin --profile web add dsh-plugin-search

by joejojoking-cloud

File explorer plugin for DeepSeek Harness: file tree, preview, markdown, syntax highlighting, in-panel editing, VS Code integration - DeepSeek Harness 全局文件资源管理器插件

UI & ExperienceManifest valid

★ 21

↓ 41/wk

TypeScript

Aug 31, 2026

dsh plugin --profile web add dsh-file-explorer