What's Changed
New Features
- Manual Mode Controls - New manual mode for context management tools, giving users direct control over when DCP tools run. Includes
/dcpcommands with focus arguments, ephemeral trigger prompts via chat transform, and configurable manual mode settings - Model-Specific Context Limits - New
toolSettings.modelLimitsconfig allows per-model context limits as absolute token values or percentages, withcontextLimitas fallback (#366)
Fixes
- Compress boundary matching - Fix compress tool to correctly search transformed message views for start/end boundary strings (#375)
- Compress token calculation - Fix bugs related to compress tool calculating tokens incorrectly
- Compress multi-match error - Fix compress tool incorrectly finding multiple start and end strings then erroring out
- Map null assertions - Fix unsafe non-null assertions in Map operations (#369)
Improvements
- Refactor: use pre-computed token counts in prune state instead of re-scanning messages
- Refactor: simplify manual trigger return type for cleaner control interface
- Refactor: internalize manual-mode guards into strategies
- Docs: add manual mode config and commands to README
Contributors
Full Changelog: v2.0.2...v2.1.0