dsh-at-file
FSMargoo/dsh-at-fileCodex 风格的 `@file` 文件引用,输入框里直接搜索并引用工作区文件。
VS Code 式工作区关键词搜索 Tab(better-sidebar 扩展):同时匹配文件名与文件内容,结果按文件分组带行号,点击在侧栏编辑器打开。
VS Code-style workspace keyword search for the DeepSeek Harness (dsh) web GUI, registered as a Search tab inside dsh-better-sidebar.
**, *, ?, {a,b}), regular
expression queries (.* toggle), and case toggle (Aa).git, node_modules, dist,
build, .next, target etc. are skipped; caps on files, matches, and
line length are reported honestly as truncationdsh plugin --profile web add ./plugins/dsh-workspace-search
(Requires dsh-better-sidebar ≥ 0.4.0, which exposes ctx.betterSidebar.)
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
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'}).
MIT