diff --git a/README.md b/README.md index 52c8db5..023e523 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ DCP uses its own config file (`~/.config/opencode/dcp.jsonc` or `.opencode/dcp.j | `strictModelSelection` | `false` | Only run AI analysis with session or configured model (disables fallback models) | | `pruning_summary` | `"detailed"` | `"off"`, `"minimal"`, or `"detailed"` | | `nudge_freq` | `10` | How often to remind AI to prune (lower = more frequent) | -| `protectedTools` | `["task", "todowrite", "todoread", "prune"]` | Tools that are never pruned | +| `protectedTools` | `["task", "todowrite", "todoread", "prune", "batch", "edit", "write"]` | Tools that are never pruned | | `strategies.onIdle` | `["ai-analysis"]` | Strategies for automatic pruning | | `strategies.onTool` | `["ai-analysis"]` | Strategies when AI calls `prune` | @@ -79,7 +79,7 @@ DCP uses its own config file (`~/.config/opencode/dcp.jsonc` or `.opencode/dcp.j "onIdle": ["ai-analysis"], "onTool": ["ai-analysis"] }, - "protectedTools": ["task", "todowrite", "todoread", "prune"] + "protectedTools": ["task", "todowrite", "todoread", "prune", "batch", "edit", "write"] } ``` diff --git a/lib/config.ts b/lib/config.ts index fab6f0f..7285949 100644 --- a/lib/config.ts +++ b/lib/config.ts @@ -31,12 +31,12 @@ export interface ConfigResult { const defaultConfig: PluginConfig = { enabled: true, debug: false, - protectedTools: ['task', 'todowrite', 'todoread', 'prune', 'batch'], + protectedTools: ['task', 'todowrite', 'todoread', 'prune', 'batch', 'edit', 'write'], showModelErrorToasts: true, showUpdateToasts: true, strictModelSelection: false, pruning_summary: 'detailed', - nudge_freq: 0, + nudge_freq: 10, strategies: { onIdle: ['ai-analysis'], onTool: ['ai-analysis']