lemonxiny55/dsh-code-index

lemonxiny55★ 1TypeScript最后同步: 2026-08-21

在 GitHub 打开

README 摘要

dsh-code-index English 中文 Semantic repo index — a DeepSeek Harness ( dsh ) plugin that gives the agent a codebase map : a tree-sitter symbol index, ranked symbol search, and a bounded auto-updating repo map in the system prompt. Fills a real ecosystem gap: search of the dsh-plugin topic (2026-08) shows git/voice/browser/memory plugins galore, but no native, model-usable code index / repo-map capability — the kind of thing aider's repo-map and Cursor's @Codebase do for their agents. What the model gets Tool Purpose code index Status / (re)build the index for the current workspace code symbols List symbols (functions, classes, interfaces, types, methods…) with file:line — filtered by name, path, kind, exported code search Ranked lookup: exact prefix substring, exports first, relevance score + file:line code map Bounded ranked repo map (top files by symbol density, key symbols + lines) Plus an optional auto-injected system prompt section ( code-index:repo-map , order 60): a compact ranked map of the default workspace, refreshed with a 60s TTL. Set autoInject: false to disable and rely on the code map tool only. Install Requires dsh (any install path — npx, npm, or source) and Node ≥ 2…

在 GitHub 查看完整 README →
工具/开发code-indexdeepseek-harnessdsh-plugintree-sitteragentsearch

分类