tsonglew/dsh-workspace-search

VS Code-style workspace keyword search tab for dsh-better-sidebar: matches file names and content, grouped by file with line numbers, opens in the sidebar editor.

VS Code-style workspace keyword search for the DeepSeek Harness web GUI, registered as a Search tab inside dsh-better-sidebar. It searches file names and file contents across the session workspace, groups matches per file with line numbers, and supports VS Code-style rules: files-to-include / files-to-exclude glob patterns (comma-separated, with **, *, ? and {a,b}), regular-expression queries and a case toggle. Clicking a match opens the file in better-sidebar's built-in editor. VS Code default excludes (hidden files, .git, node_modules, dist, build, .next, target) are skipped, and caps on files, matches and line length are reported honestly as truncation.

UI Enhancements ★ 0 updated 2026-08-14
View on GitHub ↗

Install

dsh plugin --profile web add ./plugins/dsh-workspace-search

README Install: add the plugin from its directory inside the monorepo (dsh plugin --profile web add ./plugins/dsh-workspace-search). Requires dsh-better-sidebar ≥ 0.4.0, which exposes ctx.betterSidebar.

Compatibility

DSH web profile with dsh-better-sidebar ≥ 0.4.0 installed, since the plugin registers a Search tab through ctx.betterSidebar.registerTab. Configuration keys in the profile patch layer: maxFiles (default 5000), maxMatches (default 300), maxLineLength (default 300) and maxFileBytes (default 1048576, files above skip the content scan).

Details

Recent updates

README architecture note: a dual-face bundle whose host half registers a Connection RPC channel /workspace-search over the loopback trust fence (same as the built-in /api), and whose browser half registers the tab via ctx.betterSidebar.registerTab, opening results in the sidebar editor with openTab({type: 'editor'}).

FAQ

How do I install dsh-workspace-search?
Run dsh plugin --profile web add ./plugins/dsh-workspace-search from the repository. It requires dsh-better-sidebar ≥ 0.4.0.
Where does dsh-workspace-search appear?
As a Search tab inside dsh-better-sidebar's sidebar in the DeepSeek Harness web GUI.
Does it support glob and regex search?
Yes — files-to-include and files-to-exclude glob patterns (with **, *, ?, {a,b}), regular-expression queries and a case toggle, all VS Code-style.

More plugins in UI Enhancements

Browse more in UI Enhancements

Guides for UI Enhancements plugins