Releases: Opencode-DCP/opencode-dynamic-context-pruning
Releases · Opencode-DCP/opencode-dynamic-context-pruning
v1.1.6 - Critical fix for Copilot users
What's Changed
- Critical fix for Copilot users: Fix multiple requests per message due to Opencode Copilot changes. Will now correctly use 1 request per user message. Expect significantly faster Copilot usage drain than prior to Opencode v1.1.114 unrelated to this plugin.
Full Changelog: v1.1.5...v1.1.6
v1.1.5 - Schema support and protected file patterns
What's Changed
- feat: add JSON Schema for config file autocomplete
- feat: add protected file patterns to prevent pruning operations
- docs: document subagent limitation
Full Changelog: v1.1.4...v1.1.5
v1.1.4 - Variant support fixes and hook race condition fix
What's Changed
- fix: Remove isInternalAgent flag due to hook ordering race condition (#228)
- fix: Fix synthetic injections and notifications missing variant (#225)
Full Changelog: v1.1.3...v1.1.4
v1.1.3 - Bug fixes for DCP injection and tool pruning
What's Changed
- fix: skip DCP injection for internal agents (title, summary, compaction)
- Add LSP tool parameter extraction
- Fully remove all on idle logic
- Disable pruning edit/write tools to solve #215 that keeps coming up, a real fix would be nice but no idea why this bug happens
Full Changelog: v1.1.2...v1.1.3
v1.1.2 - Simplified notification system
What's Changed
- Refactor: Consolidate distillation into unified notification - cleaner output format
- Refactor: Remove assistant message injection support - simplifies codebase
- UI: Simplify distillation notification format with plain dividers
Full Changelog: v1.1.1...v1.1.2
v1.1.1 - Purge errors strategy & skill tool support
What's Changed
Features
- Purge errors strategy: Automatically prune tool inputs after failed calls to reduce context pollution
- Skill tool support: Added skill tool support to
extractParameterKeyfor better tool handling
Improvements
- Improved error pruning replacement text for clearer context
- README updates for context poisoning mitigation and OAuth tips
Full Changelog: v1.1.0...v1.1.1
v1.1.0 - Role-based prompt injection and read tool improvements
What's Changed
- Discard/Extract tools: Split prune into separate tools - discard removes outputs, extract captures distilled findings as tool parameters (eliminating inline summaries)
- Turn protection: Add turn-based tool protection and prune cooldown
- Config restructure: Restructure config schema to consolidate tool settings
- Edit tool fix: Correctly prune edit tool inputs (oldString/newString instead of content)
- Read tool improvements: Add line range info to read tool display for better context visibility
- Role-based prompt injection: Use user role injection for reasoning models, assistant role for non-reasoning models
- Debug logging: Add debug context logging for session messages
Full Changelog: v1.0.3...v1.1.0
v1.1.1-beta.1 - Split prune into discard/extract tools
What's Changed
- Split prune tool into
discardandextracttools for more granular context management - Refactored to use assistant role for prunable-tools injection with reasoning model support
- Restructured config schema to consolidate tool settings
- Added debug context logging for session messages
- Fixed edit tool pruning to correctly handle oldString/newString
- Added prettier for consistent code formatting
- Added turn-based tool protection and prune cooldown features
Full Changelog: v1.0.3...v1.1.1-beta.1
v1.0.4 - Fix pruning of pending/running tool inputs
What's Changed
- Fix: Don't prune pending or running tool inputs, preventing premature context removal
Full Changelog: v1.0.3...v1.0.4
v1.0.3 - Supersede writes strategy and session init improvements
What's Changed
- Add supersede writes strategy: New pruning strategy that automatically prunes write tool inputs when the same file is subsequently read, reducing context overhead since the current file state is already captured in the read result
- Improve session initialization: Check compaction timestamp on session init for improved state handling
Full Changelog: v1.0.2...v1.0.3