@@ -31,7 +31,7 @@ DCP implements two complementary strategies:
3131
3232## Context Pruning Tool
3333
34- When ` strategies.onTool ` is enabled, DCP exposes a ` context_pruning ` tool to Opencode that the AI can call to trigger pruning on demand.
34+ When ` strategies.onTool ` is enabled, DCP exposes a ` prune ` tool to Opencode that the AI can call to trigger pruning on demand.
3535
3636When ` nudge_freq ` is enabled, injects reminders (every ` nudge_freq ` tool results) prompting the AI to consider pruning when appropriate.
3737
@@ -60,7 +60,7 @@ DCP uses its own config file (`~/.config/opencode/dcp.jsonc` or `.opencode/dcp.j
6060| ` strictModelSelection ` | ` false ` | Only run AI analysis with session or configured model (disables fallback models) |
6161| ` pruning_summary ` | ` "detailed" ` | ` "off" ` , ` "minimal" ` , or ` "detailed" ` |
6262| ` nudge_freq ` | ` 10 ` | How often to remind AI to prune (lower = more frequent) |
63- | ` protectedTools ` | ` ["task", "todowrite", "todoread", "context_pruning "] ` | Tools that are never pruned |
63+ | ` protectedTools ` | ` ["task", "todowrite", "todoread", "prune "] ` | Tools that are never pruned |
6464| ` strategies.onIdle ` | ` ["deduplication", "ai-analysis"] ` | Strategies for automatic pruning |
6565| ` strategies.onTool ` | ` ["deduplication", "ai-analysis"] ` | Strategies when AI calls ` context_pruning ` |
6666
@@ -73,7 +73,7 @@ DCP uses its own config file (`~/.config/opencode/dcp.jsonc` or `.opencode/dcp.j
7373 " onIdle" : [" deduplication" , " ai-analysis" ],
7474 " onTool" : [" deduplication" , " ai-analysis" ]
7575 },
76- " protectedTools" : [" task" , " todowrite" , " todoread" , " context_pruning " ]
76+ " protectedTools" : [" task" , " todowrite" , " todoread" , " prune " ]
7777}
7878```
7979
0 commit comments