Highlights
- Model-authored context pruning for DeepSeek Harness.
- Adds
acp_status,acp_compress,acp_decompress,acp_search, and/acp. - Reuses the official
ctx.compaction.compactRegiontransaction; it does not replacedsh-compaction-basic.
Install
# Reproducible release
dsh plugin --profile web add github:aerince/dsh-active-context-pruning#v0.1.0
# Immutable commit pin
dsh plugin --profile web add github:aerince/dsh-active-context-pruning#5ecc5eb1c0380fd6d0b3be1354f1ba3b1405b37fVerify
dsh --profile web --dump-configThe profile should contain active-context-pruning; a new session should expose the acp_* tools and /acp.
Compatibility
- Requires DSH
toolsand the compaction provider exposingctx.compaction.compactRegion. - DSH is a developer preview; verify against the installed DSH version.
- Zero-build JavaScript; no
preparescript or pnpmallowBuildsentry.
Security
- No network requests and no plugin-owned files.
- Uses DSH compaction to replace a surface range; original session events remain in the session log.
- The plugin does not implement Agent Client Protocol (ACP).