Skip to content

v0.1.0 · Model-authored context pruning

Latest

Choose a tag to compare

@aerince aerince released this 15 Aug 13:19
· 2 commits to main since this release

Highlights

  • Model-authored context pruning for DeepSeek Harness.
  • Adds acp_status, acp_compress, acp_decompress, acp_search, and /acp.
  • Reuses the official ctx.compaction.compactRegion transaction; it does not replace dsh-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#5ecc5eb1c0380fd6d0b3be1354f1ba3b1405b37f

Verify

dsh --profile web --dump-config

The profile should contain active-context-pruning; a new session should expose the acp_* tools and /acp.

Compatibility

  • Requires DSH tools and the compaction provider exposing ctx.compaction.compactRegion.
  • DSH is a developer preview; verify against the installed DSH version.
  • Zero-build JavaScript; no prepare script or pnpm allowBuilds entry.

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).