dshbase

插件目录 / Developer / dsh-workspace-search

dsh-workspace-search

未验证 tsonglew

✓ 持续维护 基于 2 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

5Stars
0Forks
1未关闭 issue
JavaScript语言
2026-08-14最近推送
跨平台平台

功能简介

VS Code风格工作区关键字搜索:dsh-better-sidebar中的搜索标签。

我们的评价
未验证 — 尚未实测

VS Code风格工作区关键字搜索:dsh-better-sidebar中的搜索标签。 尚未验证——请自行安装测试。

「未验证」表示我们的自动化 CI 尚未安装过该插件。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

你是插件作者? 想拿到「已验证」标签——提交你自己的验证证据(截图、日志或短视频),我们审核通过后即改为「已验证」。

提交验证证据 ↗

README

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.

image
  • 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

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

- 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

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-workspace-search」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:tsonglew/dsh-workspace-search

Headless(CLI)profile:

dsh plugin --profile headless add github:tsonglew/dsh-workspace-search

实测报告

尚未 L3 验证——若已跑过,见下方失败备注。

状态:pending
备注:验证: runtime-fail (0.1.0-rc.6) 浏览全部待验证失败 →

使用场景

扩展 agent 的编码能力面——给它一个新工具、工作流或集成,让它接手以前做不了的开发任务。

适合谁

想让 dsh 在真实代码库上像队友一样干活的开发者——能改、能跑、能验证,而不只是回答问题。

二次开发建议

工具/命令面就是缝:暴露更多 SDK 能力、加更聪明的上下文接线,或收紧改代码与验证之间的循环。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7795 个插件 →