lemonxiny55/dsh-code-index

Builds a local index of a repository and returns a bounded context pack of declarations, callers, imports, current changes and likely tests for one code task.

One code_context call answers what an agent needs before editing: primary declarations, strong callers and callees, imports, the current diff and likely tests, packed under a default 5,000-character cap. Source is included as complete declarations first, then whole-line windows, then signature-only fallback, with overlapping lines deduplicated. Every inclusion carries a reason separate from its exact, import-scoped or name-only relationship provenance, so nothing is presented as a confidence score the tool did not compute. ArkTS .ets files get a dedicated pinned parser.

Coding & Development ★ 10
View on GitHub ↗

Install

dsh plugin --profile desktop add dsh-code-index@0.10.1

The quick-start line for an existing Desktop profile, pinned to the released 0.10.1. The README labels 0.10.2 a candidate fixing Rust declaration display and, at fetch time, described it as not published, so the released pin is what ships here; the registry repository resolves to this repo.

Compatibility

Requires Node 22 or 24 and a matching DSH host group: exactly 0.2.0-rc.2 or 0.2.1-rc.2, with each host's first-party packages kept on the same version. Indexes stay local, one per repo or worktree, and need no external indexing key.

Details

Alternatives

lonelymoon87/dsh-code-intel · UNLINEARITY/dsh-code · Hu9956/dsh-codex-provider

More plugins in Coding & Development

Browse more in Coding & Development

Guides for Coding & Development plugins