Luke-Yong/dsh-plugin-knowledge-graph1

dsh-plugin-knowledge-graph

DSH 插件:提供基于代码库知识关系(包含/导入/导出等)的 read_graph 查询工具。

AI 分析

用于辅助 Agent 理解复杂代码库结构。适合需要让 AI 自动分析项目依赖、导入导出关系和代码架构的开发辅助任务。

套件
dsh-plugin-knowledge-graph
版本
0.1.0
授權
MIT
最近更新
2026年8月14日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Luke-Yong/dsh-plugin-knowledge-graph

Usage

The plugin registers a single tool, read_graph, on ctx.tools. Its parameters:

ParameterTypeRequiredDescription
querystringyesQuery string in form
rootstringnoAbsolute workspace root to graph. Defaults to process.cwd()

Example queries:

exports src/index.ts
exporters_of buildKnowledgeGraph
imports_of src/query.ts
dependents src/knowledgeGraph.ts
structure