dsh-codegraph
将当前工作区索引为关系图,向 agent 暴露一个工具 codegraph_explore(可达性、调用者、影响面),并在 Web 右侧栏提供图形面板。
Indexes the current workspace into a relation graph and exposes one agent tool, codegraph_explore, for reachability, callers, and impact, plus a Web sidebar graph pane.
怎么安装
dsh plugin add github:Meteor-system/dsh-codegraph 简介
CodeGraph DeepSeek Harness 插件。把**当前工作区**的源码编成一张关系图,给 agent 一个工具:codegraph_explore。 用来回答三件事:谁在调用 X、改 X 会影响谁、X 能不能走到 Y。不是全站搜索,也不是跨仓库的全局索引。 装一次到 DSH **profile**;默许关闭。和 agent 预设无关。 一句话怎么调 你不用填 JSON。在已经打开目标仓库的对话里,对 agent 说人话即可: 查一下 graphFor 都有谁在调用 其它说法同样有效: 「改 activate 会波及哪些符号」→ impact 「apply 能不能到达 graphFor」→ reachability agent 会自己调用 codegraph_explore。返回路径(如 src/graph.ts)都属于**当前这个工作区**,不是「所有装了插件的项目」。换仓库、新开对话,查的就是那个仓库。 工作原理 1. 插件装在 DSH profile 里。启用后,这个 profile 下的 agent 都能看到 codegraph_explore。 2. 第一次调用才扫描当前会话的工作区根目录,抽出定义 / 调用 / 导入 / 继承 / 类型引用,写成图。 3. 图缓存在 <项目>/.dsh/codegraph/。以后每次调用先做增量刷新,再查询;超时(默认 3…
推荐参考
信息
- 协议
- MIT
- 语言
- TypeScript
- GitHub 星标
- 0
- 月下载
- –
- 最近更新
- 2026-09-20
- 创建于
- 2026-09-10
基础安全检查
- 检查结果
- curated 收录但无 npm 包/安装命令
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- code-graph, dsh, dsh-plugin