baidd1011/dsh-code-impact

Read-only TypeScript/JavaScript change impact analysis plug-in for DeepSeek Harness Read-only TypeScript/JavaScript change impact analysis

dsh-code-impact performs one read-only TypeScript/JavaScript change-impact analysis with its code_impact tool: it compares a concrete Git change (mode workspace = HEAD vs working tree incl. staged/unstaged/untracked; mode staged = HEAD vs index; mode refs = merge-base(base_ref, head_ref) → head_ref, PR-comparison semantics), builds a temporary reverse module graph, and returns changed declarations, affected files, propagation paths, evidence locations, and ranked test candidates. Invalid refs never silently fall back. Version 0.2.0 understands JSONC project configuration, tsconfig.json/jsconfig.json, extends, and project references. All config fields are validated by Schemastery on load.

Coding & Development ★ 2 updated 2026-08-14 — untested
View on GitHub ↗

Install

dsh plugin --profile web add /path/to/dsh-code-impact

README EN primary with 中文 (2026-09-02, repo baidd1011/dsh-code-impact). npm dsh-code-impact is NOT published (0 versions, 404 verified 2026-09-02) — the README's npm install dsh-code-impact line is pending publication, so install from a local checkout: clone the repo then dsh plugin --profile web add /path/to/dsh-code-impact (README shows --profile demo). The package exports cordis.patch.yml through the dsh.bundle.patch manifest and expects the profile to provide the DSH tools, fs, and subprocess services; it does not install a Git or filesystem provider.

Compatibility

DSH web/headless profile with tools, fs, subprocess services; TypeScript/JavaScript repos; Git working tree.

Details

Recent updates

code_impact read-only TS/JS impact analysis; workspace/staged/refs modes; reverse module graph; ranked test candidates; tsconfig project-references aware.

FAQ

What does code_impact return?
Changed declarations, affected files, propagation paths, evidence locations, and ranked test candidates from a temporary reverse module graph.
Which modes does it support?
workspace (HEAD vs working tree), staged (HEAD vs index), and refs (merge-base of base_ref/head_ref → head_ref, PR semantics).
How do I install it?
npm is not published yet (404 verified) — clone the repo and dsh plugin --profile web add /path/to/dsh-code-impact.

Alternatives

BrambleXu/dsh-revdiff

More plugins in Coding & Development

Browse more in Coding & Development

Guides for Coding & Development plugins