@hoyyang/dsh-code-graph
单入口原生代码图工具:索引/保鲜/分支跟随/符号检索/调用链/影响面/路径/架构,复用本机 codebase-memory 引擎,零 MCP 会话 适合需要分析代码调用链和架构影响面的开发者。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hoyyang/dsh-code-graph配置
| 键 | 默认 | 说明 |
|---|---|---|
| bin | ~/.local/bin/codebase-memory-mcp | 引擎二进制路径 |
| defaultMode | fast | index 默认模式(fast/moderate/full) |
| fresh | true | 查询前保鲜门控 |
| freshThrottleSec | 120 | 重索引防抖窗口(秒) |
| maxRows | 50 | 查询返回行数上限 |
| hint | true | 条件系统提示开关 |
| skill | true | skill 文件落盘开关 |
| gate | true | grep 门禁开关(未先调 codegraph 的代码 grep 被 deny) |
| branchIndex | true | 分支索引层总开关(false 回退单索引跟随行为) |
| maxBranchProjects | 6 | multi 模式每仓库分支项目上限(LRU) |
| branchIndexMaxDbBytes | 524288000 | 超过该 DB 字节数转 single(大仓滚动单索引)模式 |