全部插件

dsh-workspace-search

dsh-workspace-search · 版本 0.1.0 · 更新于 2026年11月29日

为 DeepSeek Harness (dsh) 的 Web GUI 提供 VS Code 风格的工作区关键词搜索,并在 dsh-better-sidebar 中注册为 Search 标签页。

  • 逐版审核
  • 界面增强
  • MIT
  • 0次下载

说明

以下为插件作者提供的原文。

dsh-workspace-search

Awesome DSH Plugin

VS Code-style workspace keyword search for the DeepSeek Harness (dsh) web GUI, registered as a Search tab inside dsh-better-sidebar.

  • 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

sole 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):

- id: workspace-search
  config:
    maxFiles: 5000       # hard cap on files scanned per search
    maxMatches: 300      # hard cap on total content matches
    maxLineLength: 300   # hard cap on one reported line
    maxFileBytes: 1048576  # files above this skip the content scan

How it works

Dual-face bundle. The host half registers a Connection RPC channel /workspace-search (loopback trust fence, same as the built-in /api). The browser half registers a tab through ctx.betterSidebar.registerTab. Search results open in the sidebar editor via openTab({type: 'editor'}).

License

MIT

版本历史

  • 0.1.02026年11月29日 · 9 KB
dsh-workspace-search · SoleAPI Agent 插件 | SoleAPI