Releases: Opencode-DCP/opencode-dynamic-context-pruning
Releases · Opencode-DCP/opencode-dynamic-context-pruning
v1.2.6 - Add /dcp sweep command
What's Changed
- Add
/dcp sweepcommand for manual context pruning - allows users to trigger a context sweep on demand
Full Changelog: v1.2.5...v1.2.6
v1.2.5 - Context command UI improvements
What's Changed
- feat: Show tool count in context command UI
- refactor: Optimize token calculation in context command
- feat: Improve
/dcp contextUI with pruned count and accurate progress bars
Full Changelog: v1.2.4...v1.2.5
v1.2.4 - Unified DCP commands and improved error handling
What's Changed
- New
/dcpcommands: Added/dcp contextand/dcp statscommands for viewing context state and pruning statistics - Improved error handling: Failed tools now throw errors instead of returning error strings, with prunable tools list shown on failure
- Tool error logging: Log tool error parts for better debugging
- README updates: Added documentation for cache hit rates and new
/dcpcommands - Config updates: Added JSON schema support for new commands configuration
- System prompt improvements: Updated injection style to use tool parts instead of user parts, clarified that context_info is not available to the model
Full Changelog: v1.2.3...v1.2.4
v1.2.3 - Prompt loading & Gemini improvements
What's Changed
- Simplify prompt loading by moving prompts from .txt to .ts files for easier maintenance
- Add thoughtSignature bypass for Gemini tool part injection for improved compatibility
Full Changelog: v1.2.2...v1.2.3
v1.2.2 - Injection timing and Gemini compatibility fixes
What's Changed
- Simplified injection timing: Never inject immediately after a user message - wait until assistant has started its turn. This avoids interfering with model reasoning/thinking phases across all providers.
- Gemini compatibility: Use text injection instead of tool parts for Gemini models to avoid thought signature validation errors with Gemini 3+.
Full Changelog: v1.2.1...v1.2.2
v1.2.1 - Fix Claude reasoning block injection
What's Changed
- Fix: require reasoning block before injecting context for Claude models
Full Changelog: v1.2.0...v1.2.1
v1.2.0 - Features and fixes
What's Changed
- feat: migrate to assistant role injections from user role (huge performance improvement)
- feat: add plan_enter and plan_exit to default protected tools (experimental tools coming with new plan mode in v1.1.119)
- feat: add question tool support for pruning
- fix: skip system prompt injection for subagent sessions
Full Changelog: v1.1.6...v1.2.0
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