dsh plugins中文
← Back to popular plugin directory

Code Index · [](https

lemonxiny55/dsh-code-index · skills

Semantic repo index — a DeepSeek Harness () 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.

★ 3GitHub stars
0Forks
2026-09-08Last updated
TypeScriptLanguage
MITLicense

Key features

  • "Which repo are we in — run code_map first."
  • Index build (src/buildIndex.ts)recursive scan (excludes applied), per-file tree-sitter extraction (src/extract.ts), JSON cache under /.dsh-code-index/, incremental refresh by mtime (only touched files re-parse).
  • "Find every function whose name contains parse and where it lives."
  • "List the exported symbols in src/core."
  • Search (src/search.ts)pure scoring — exact 1 / prefix 0.8 / substring 0.5, export boost, name order tiebreak.

Requirements

  • web-tree-sitter pinned to ^0.25 (ESM) — the 0.25 line uses ESM named exports (Language/Query)
  • this pairing with tree-sitter-wasms static builds is verified working under Node ≥ 22/24.

Install command

dsh plugin --profile web add github:lemonxiny55/dsh-code-index
View GitHub repository ↗Back to popular plugin directory