CC19990113/dsh-plugin-codegraph

CC19990113★ 5TypeScript最后同步: 2026-08-17

在 GitHub 打开

Structural code intelligence for DeepSeek Harness (dsh) — gives the agent codegraph and codegraph_index tools to find where a symbol is declared, what calls it, and what a change reaches, from a tree-sitter index it builds itself. Compatible with the codegraph CLI's on-disk format.

README 摘要

dsh-plugin-codegraph English 中文 Structural code intelligence for DeepSeek Harness ( dsh ). Gives the agent two tools — codegraph and codegraph index — so it can ask where is this declared , who calls it , what breaks if I change it , and how does one symbol reach another , answered from a pre-built index instead of from text search. Why An agent editing code asks structural questions before it touches anything. The tools it usually has answer them badly or not at all: - grep matches a name inside comments, strings, and unrelated identifiers, and cannot answer "who calls this" at all. - LSP answers precisely, but needs a running server per language, a warm workspace index, and a cursor position rather than a name. A symbol graph answers all of it from one cheap lookup. This plugin ships both halves: a store that serves queries from an on-disk graph, and an indexer that builds one, so a fresh workspace needs no external tooling. What the model gets Two tools, deliberately separate. codegraph — ten read-only operations Operation Answers Required search Where is a symbol declared? query node One symbol with its immediate callers and callees symbol callers What calls this? symbol callee…

在 GitHub 查看完整 README →
Agent/智能体ai-agentcall-graphcode-graphcode-intelligencecodegraphcordisdeepseekdeepseek-harness

分类