DeepSeek Harness Plugin

d0ublecl1ck/dsh-search-enhance

Stars ★ 0 Category UI Enhancements Added 2026-10-16

Search inside the New-Session workspace picker: pinyin initials and full pinyin spelling for Chinese titles, substring matching anywhere for English titles, and separator-insensitive matching.

Install

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:d0ublecl1ck/dsh-search-enhance

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

🌐 中文 · English

dsh-search-enhance

"Once you have thirty workspaces, picking one for a new session means squinting at a long list. Now two letters are enough."

A DeepSeek Harness plugin that puts a search field inside the New-Session workspace picker.

  • Chinese — type pinyin initials (gz) or full spelling (gongzuo); no IME switching.
  • English — a substring anywhere counts: pp finds apple-pie.
  • Separators — folioleenhance finds foliole-enhance.
  • Keyboard — ↑ ↓ Enter Esc, focused on open. "Add workspace…" is preserved.

Install

dsh plugin --profile web add github:d0ublecl1ck/dsh-search-enhance

Restart DSH Desktop afterwards: the client module graph is composed at harness boot, so refreshing the page is not enough.

How it works

The shipped picker is a single-slot occupant (conversation.hero.workspace) with no search affordance. This plugin registers at priority: -1 and therefore shadows it; the shipped registration stays in place, so unloading the plugin restores it. A render error in the shadowing entry triggers the slot registry's abdicate semantics and hands the picker straight back to the shipped one.

The panel re-creates the menu chrome from the same design tokens the shipped component uses, and only touches atoms that exist in both supported client UI versions (useAnchoredPosition plus icons, with a fallback for the renamed icon exports).

Verify

npm test                                     # 19 unit tests
node scripts/verify-browser.mjs --url <...>  # 14 assertions in a real browser

Safety

No workspace or session data is written: picking a row calls the owner's own onPick, and adding a workspace reuses the Host directory chooser. No persistence, no network, no telemetry.

License

MIT

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.