Releases: Opencode-DCP/opencode-dynamic-context-pruning
Releases · Opencode-DCP/opencode-dynamic-context-pruning
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
v3.1.4 - Harden injection and pruning logic
What's Changed
- Tighten deny handling during message processing.
- Harden assistant injection guards to prevent unsafe message injection.
- Simplify hallucination stripping and add regression coverage for hook permissions and message priority.
Full Changelog: v3.1.3...v3.1.4
v3.1.3 - Bug fix and code cleanup
What's Changed
- Fix: Skip message ID injection on empty assistant messages (#463)
- Refactor: Simplify hooks imports
- Refactor: Move manual trigger handling out of hooks
Full Changelog: v3.1.2...v3.1.3
