Skip to content

tsonglew/dsh-workspace-search

40Last commit Aug 14, 2026

dsh-workspace-search DSH plugin

dsh-workspace-search provides VS Code-style workspace keyword search for the DeepSeek Harness (dsh) web GUI. It searches file names and contents, groups results per file with line numbers, and supports glob patterns, regex, and case toggle. Clicking a match opens the file in the better-sidebar editor.

How to install the dsh-workspace-search DSH plugin

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

Copying does not run this command. Review the repository and version before installing the dsh-workspace-search DSH plugin.

dsh-workspace-search DSH plugin data source

dsh-workspace-search DSH plugin snapshot date: Aug 16, 2026

discovered

What the dsh-workspace-search DSH plugin can do

  • Search file names and file contents across the session workspace, grouped per file with line numbers
  • VS Code-style search rules: files to include/exclude glob patterns, regular expression queries, and case toggle
  • Click a match to open the file in better-sidebar's built-in editor
  • VS Code default excludes (hidden files, .git, node_modules, dist, build, etc.) and configurable hard caps reported as truncation

Where the dsh-workspace-search DSH plugin fits

  • Quickly locate a specific code snippet or function across a large project
  • Find files by name using glob patterns (e.g., *.config.js)
  • Use regular expressions to search for complex patterns (e.g., error codes)
  • Exclude common directories like node_modules to speed up search and reduce noise

Who the dsh-workspace-search DSH plugin is for

  • DSH users who use the dsh-better-sidebar plugin and want efficient workspace search
  • Developers working on multi-file projects within the DSH web GUI

dsh-workspace-search DSH plugin limitations

  • Requires dsh-better-sidebar ≥ 0.4.0, which exposes the necessary ctx.betterSidebar API
  • Hard limits on files scanned (maxFiles), matches returned (maxMatches), line length (maxLineLength), and file size (maxFileBytes); results are truncated when limits are exceeded
  • Only available in the DSH web GUI (not in CLI or other interfaces)

dsh-workspace-search DSH plugin: from the repository README

Quoted from the tsonglew/dsh-workspace-search README, the upstream source of the dsh-workspace-search DSH plugin. Copyright remains with the original authors.

VS Code-style workspace keyword search for the DeepSeek Harness (dsh) web GUI, registered as a **Search tab** inside [dsh-better-sidebar](https://github.com/omdsh-dev/DSH-better-sidebar). <img width="734" height="238" alt="image" src="https://github.com/user-attachments/assets/0aceb14e-b4f5-4ab4-bf1e-72da35d147b9" /> - Keyword search across the session workspace: file **names** and file **contents**, grouped per file with line numbers - VS Code-style search rules: **files to include / files to exclude** glob patterns (comma-separated, supports `**`, `*`, `?`, `{a,b}`), regular expression queries (`.*` toggle), and case toggle (`Aa`) - Click a match to open the file in better-sidebar's built-in editor - VS Code default excludes: hidden files, `.git`, `node_modules`, `dist`, `build`, `.next`, `target` etc. are skipped; caps on files, matches, and line length are reported honestly as truncation ## Install ```sh dsh plugin --profile web add ./plugins/dsh-workspace-search ``` (Requires `dsh-better-sidebar` ≥ 0.4.0, which exposes `ctx.betterSidebar`.) ## Configuration All fields optional (profile patch layer): ```yaml - id: workspace-search config: maxFiles: 5000

Read the full READMERepository license: MIT

dsh-workspace-search DSH plugin questions

How do I install dsh-workspace-search?

Run the command `dsh plugin --profile web add ./plugins/dsh-workspace-search` in your terminal. Ensure you have dsh installed and are using the web profile. The plugin requires dsh-better-sidebar >= 0.4.0 to be installed and active.

How do I configure the maxFiles or maxMatches limits?

You can set these limits in the profile patch layer under the plugin's config section. For example: config: { maxFiles: 5000, maxMatches: 300 }. All fields are optional. The defaults are as shown in the README.

Can I exclude certain directories like node_modules from the search?

Yes, the plugin uses VS Code's default excludes (hidden files, .git, node_modules, dist, build, etc.) and also lets you specify custom patterns in the 'files to exclude' field. Use comma-separated glob patterns like `**/node_modules/**`.

Does the plugin support regular expressions?

Yes, there is a regex toggle (.*) in the search UI. When enabled, the search query is treated as a regular expression. You can use standard regex syntax.

What happens if I click on a search result?

Clicking a match will open the file in the better-sidebar's built-in editor. This requires dsh-better-sidebar to be installed and configured. The file will be opened at the line of the match.