Version 3 will probably be a pretty radical transition to just 1 DCP tool, compress. This has several significant benefits:
- Significantly decrease how often DCP causes cache invalidation (fixes all anthropic related cache issues without needing manual mode).
- Simplify behavior for the model, it doesn't need to pick from 3 context management tools anymore.
- Allow conversations to last virtually infinitely, previously with tool pruning the user/AI messages remaining limited this.
- A lot more control over how frequently the tool is triggered. Since I can't test behavior for each model, users will be able to adjust on their own through the config if they want more / less frequent compressions.
/dcp decompress/recompress commands.
- DCP in subagents (!!!) with
experimental.allowSubAgents config setting.
- Allow users to customize prompts used by DCP with
experimental.customPrompts config setting
- Added
compress.flatSchema config option for models more likely to fail tool use
- Strengthened manual mode, compress can no longer activate without a manual trigger
You can test if out by setting your plugin array in opencode.json to
"plugin": ["@tarquinen/opencode-dcp@beta"]
The config settings for the beta can be found in the readme:
https://github.com/Opencode-DCP/opencode-dynamic-context-pruning/blob/refactor/one-tool-to-rule-them-all/README.md
If you want the config schema for IDE autocomplete / whatever else, replace the existing one in dcp.jsonc with:
https://github.com/Opencode-DCP/opencode-dynamic-context-pruning/refactor/one-tool-to-rule-them-all/dcp.schema.json
Please let me know what you think if you try it out!
Version 3 will probably be a pretty radical transition to just 1 DCP tool, compress. This has several significant benefits:
/dcp decompress/recompresscommands.experimental.allowSubAgentsconfig setting.experimental.customPromptsconfig settingcompress.flatSchemaconfig option for models more likely to fail tool useYou can test if out by setting your plugin array in
opencode.jsontoThe config settings for the beta can be found in the readme:
https://github.com/Opencode-DCP/opencode-dynamic-context-pruning/blob/refactor/one-tool-to-rule-them-all/README.md
If you want the config schema for IDE autocomplete / whatever else, replace the existing one in
dcp.jsoncwith:https://github.com/Opencode-DCP/opencode-dynamic-context-pruning/refactor/one-tool-to-rule-them-all/dcp.schema.json
Please let me know what you think if you try it out!