Releases: Opencode-DCP/opencode-dynamic-context-pruning
Release list
v3.1.15 - Installation and reliability fixes
What's Changed
- Fixed installation on recent OpenCode 1 releases by packaging compatible OpenTUI runtime dependencies.
- Fixed protected file patterns on Windows.
- Fixed manual compression leaving sessions in the wrong mode.
- Improved internal-agent detection and safely removed injected or hallucinated message suffixes.
- Added trailing-comma editor support and updated billing documentation.
- Updated a vulnerable transitive dependency.
Project Update
Most new context-management development has moved to Sleev. Sleev builds on DCP's core ideas with more advanced context management, substantially better prompt-cache preservation, and support for Claude Code, Codex, OpenCode, and other agent harnesses.
DCP remains available for OpenCode plugin users, but new features are landing in Sleev first. To try it:
npm i -g sleev
sleev
Thanks to @Tarquinen, @LHMQ878, @linellazatin, @marmitar, and @viktorashi for their contributions.
Full Changelog: v3.1.14...v3.1.15
v3.1.14 - OpenTUI compatibility
What's Changed
- Update DCP TUI dependencies for opencode 1.17.10 and OpenTUI 0.4.x.
Full Changelog: v3.1.13...v3.1.14
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
