Releases: Opencode-DCP/opencode-dynamic-context-pruning
Releases · Opencode-DCP/opencode-dynamic-context-pruning
v0.4.13 - Use user messages for prunable list injection
What's Changed
- Revert prunable tool list injection from assistant messages back to user messages for better compatibility with various model providers
- Add improved message guidance for the prunable tools list
Full Changelog: v0.4.12...v0.4.13
v0.4.12
What's Changed
- Add write and edit to protected tools
- Fix nudge injection to insert before tool_use blocks (Anthropic)
- Remove autoUpdate feature and simplify version checking
- Remove redundant tool list from config comment
- Update demo image in README
Note: Versions 0.4.3-0.4.11 were unlisted from npm.
Full Changelog: v0.4.11...v0.4.12
v0.4.11 - Fix autoUpdate documentation
What's Changed
- Fix README to accurately document that
autoUpdateis disabled by default (opt-in, not auto-enabled) - Update description text to clarify DCP "checks for" updates rather than "automatically updates"
- Correct config table default value from
truetofalse
Full Changelog: v0.4.10...v0.4.11
v0.4.2 - Fix prune tool agent detection
What's Changed
- Fix agent detection in prune tool for consistent notifications between manual and GC pruning
- Refactor to fetch messages once and reuse for both agent detection and token calculation
Full Changelog: v0.4.1...v0.4.2
v0.4.1 - Documentation update
What's Changed
- Add
showUpdateToastsconfig option to README documentation
Full Changelog: v0.4.0...v0.4.1
v0.4.0 - Major architecture improvements
What's Changed
- Replace janitor LLM with direct tool-based pruning
- Add AWS Bedrock Converse API support
- Add
showUpdateToastsconfig option to disable update notifications - Consolidate format handlers with FormatDescriptor pattern
- Fix tool ID case handling
- Fix session state leakage and exclude protected tools from counts
- Improve nudge logic to track tools since last prune
- Restore onIdle LLM analysis
Full Changelog: v0.3.31...v0.4.0
v0.3.31 - Dependency updates and bug fixes
What's Changed
- Fix case-sensitive protected tools, cross-session deduplication, and unbounded cache issues
- Refactor Janitor to functional architecture with unified notifications
- Simplify notification UI and remove unused code
- Non-stop silent deduplication
- Change prunable tool check threshold from >0 to >1
- Update dependencies (ai SDK 5.0.98→5.0.106, zod 4.1.12→4.1.13, tsx 4.20.6→4.21.0, AWS SDK packages)
Full Changelog: v0.3.30...v0.3.31
v0.3.30 - Update auth provider dependency
What's Changed
- Update
@tarquinen/opencode-auth-providerto v0.1.6 with optional peer dependencies for AI SDK providers
Full Changelog: v0.3.29...v0.3.30
v0.3.29 - Improved subagent handling
What's Changed
- Skip DCP fetch wrapper processing for subagent sessions to prevent interference
- Cache subagent session checks to avoid redundant API calls (performance improvement)
- Add README documentation for disabling the prune tool in subagents
Full Changelog: v0.3.28...v0.3.29
v0.3.28 - Prune tool improvements
What's Changed
- Rename pruning tool from
context_pruningtoprunefor simplicity and better UX - Disable pruning in subagent sessions to prevent workflow interruptions
- Improve subagent skip messages to guide model behavior
- Silence verbose nudge and synthetic instruction injection logs
Full Changelog: v0.3.27...v0.3.28