dsh-plugin-code-search
在终端中运行以下命令:
dsh plugin install thegabopacheco-sudo/dsh-plugin-code-search
将以下提示词粘贴到 DeepSeek Harness 对话框中:
在 DeepSeek Harness 中执行「dsh plugin install thegabopacheco-sudo/dsh-plugin-code-search」,或在设置 → 插件里添加源码地址 https://github.com/thegabopacheco-sudo/dsh-plugin-code-search 并完成安装脚本授权。
插件介绍
在大型或多语言仓库里,靠全文搜索很难稳定定位「这个函数、类或 export 究竟定义在哪一行」。dsh-plugin-code-search 面向本地工作区做符号级检索,把「按名字找定义」变成可预期的一步,而不依赖第三方索引服务或额外同步。
使用场景
- 在陌生仓库里按函数或类名快速定位定义位置
- Agent 需要文件与行号以补全代码上下文
- 跨 JS/TS/Python/Go/Rust 项目做统一符号导航
适合人员
- 日常在多语言仓库中开发的工程师
- 需要 Agent 自主查代码的 Harness 用户
- 希望本地检索、不依赖外部索引的团队