Releases: Opencode-DCP/opencode-dynamic-context-pruning
Releases · Opencode-DCP/opencode-dynamic-context-pruning
v3.1.13 - DCP TUI panel
What's Changed
- Added a DCP TUI panel at
/dcpwith context, stats, and manual-mode controls. - Moved prompt-triggered manual compression to
/dcp-compress [focus]. - Replaced chat-style status command output with TUI modals.
- Persisted manual-mode state so the TUI toggle affects server compression behavior.
- Added TUI plugin packaging support and package verification for the raw
tui.tsxexport. - Updated README guidance to point new users toward Sleev.
- Fixed npm trusted publishing metadata and audit overrides.
Upgrade Note
DCP 3.1.13 adds a TUI plugin entrypoint. For the new /dcp panel to appear, OpenCode must load DCP in the TUI plugin config. Add @tarquinen/opencode-dcp@latest to your tui.json, or run:
opencode plugin @tarquinen/opencode-dcp@latest --globalFull Changelog: v3.1.12...v3.1.13
v3.1.12 - Context limit fixes
What's Changed
- Restored full-context percentage limits so configured thresholds are respected again.
- Added regression coverage for context limit formatting behavior.
- Removed the unused zod dependency.
Full Changelog: v3.1.11...v3.1.12
v3.1.11 - Protect tags
What's Changed
- Add protect-tag support for preserving tagged content during compression.
- Limit protect tags to avoid excessive preserved content.
- Improve latest cache install detection.
- Bump package version to 3.1.11.
Full Changelog: v3.1.10...v3.1.11
v3.1.10 - Node ESM compatibility and auto update
What's Changed
- Bundle the plugin with tsup to resolve strict Node ESM import failures in OpenCode's Node/Electron plugin loader.
- Add package verification to catch broken published artifacts before release.
- Use the model input budget for percentage-based context limits.
- Add npm cache auto-update support for unpinned DCP installs.
- Align opencode dependencies and package metadata.
Full Changelog: v3.1.9...v3.1.10
v3.1.9 - Fix chat message filtering
What's Changed
- Fix chat message filtering in place during context pruning.
- Harden message shaping and subagent result injection handling.
- Include the 3.1.9 package version bump for release.
Full Changelog: v3.1.8...v3.1.9
v3.1.8 - Harden DCP hook message handling
What's Changed
- Skip malformed messages in DCP hooks so invalid payloads do not break hook processing.
- Add supporting message shape, query, and state helpers used for safer hook evaluation.
- Add regression coverage for hook permission handling.
Full Changelog: v3.1.7...v3.1.8
v3.1.7 - package loading and packaging fixes
What's Changed
- Harden runtime imports so the published package loads more reliably.
- Align plugin exports, remove an unused dependency, and add a package verification step.
- Update the message-mode compression prompt.
Full Changelog: v3.1.6...v3.1.7
v3.2.4-beta0 - Beta prerelease
v3.1.6 - compression stats, prompt hardening, and runtime packaging fixes
What's Changed
- Added compression time and compression summary token metrics to
/dcp stats. - Improved message ID injection, compression prompt rules, and protected tool handling for more reliable pruning behavior.
- Hardened runtime imports for web plugin loading and added package runtime compatibility verification.
- Updated installation documentation and bumped the package version to
3.1.6.
Full Changelog: v3.1.5...v3.1.6
v3.1.5 - Bug fixes and injection improvements
What's Changed
- Fix: Check
hasContentbefore appending nudge to assistant text parts - Refactor: Inject assistant message IDs into last part instead of every part
- Fix: Clarify DCP ID span semantics in compress prompts
Full Changelog: v3.1.4...v3.1.5
