Luke-Yong/dsh-plugin-knowledge-graph ↗★ 4

dsh-plugin-knowledge-graph

DeepSeek Harness plugin: a read_graph tool backed by a codebase knowledge graph (CONTAINS / EXPORTS / IMPORTS / IMPORTS_SYMBOL). 适合需要让Agent分析和查询代码库依赖、导出导入关系的开发者。

패키지
dsh-plugin-knowledge-graph
호환성
미검증
Harness peer 범위
*
Cordis peer 범위
*
버전
0.2.1
라이선스
MIT
최근 업데이트
2026. 8. 17.

설치

$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()

Root hygiene: the root default (process.cwd()) may be a parent directory containing several independent projects. Always pass an explicit root pointing at the single workspace you are working in, so structure doesn't descend into sibling trees.

Example queries:

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