@tarquinen/opencode-dcp 0.2.6 → 0.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +12 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -42,6 +42,12 @@ Project configuration takes precedence over global configuration. The plugin cre
42
42
  // Enable debug logging to ~/.config/opencode/logs/dcp/YYYY-MM-DD.log
43
43
  "debug": false,
44
44
 
45
+ // Optional: Use a specific model for analysis (otherwise uses session model or smart fallbacks)
46
+ // "model": "anthropic/claude-haiku-4-5",
47
+
48
+ // Show toast notifications when model selection fails and falls back
49
+ "showModelErrorToasts": true,
50
+
45
51
  // List of tools that should never be pruned from context
46
52
  // The 'task' tool is protected by default to preserve subagent coordination
47
53
  "protectedTools": ["task"]
@@ -89,6 +95,12 @@ The global config (`~/.config/opencode/dcp.jsonc`) is automatically created on f
89
95
  - **`debug`** (boolean, default: `false`)
90
96
  Enable detailed debug logging. Logs are written to `~/.config/opencode/logs/dcp/YYYY-MM-DD.log`.
91
97
 
98
+ - **`model`** (string, optional)
99
+ Optional: Specify a model to use for analysis in "provider/model" format (e.g., `"anthropic/claude-haiku-4-5"`). When not specified, the plugin uses the current session model or falls back to authenticated providers in priority order.
100
+
101
+ - **`showModelErrorToasts`** (boolean, default: `true`)
102
+ Show toast notifications when model selection fails and falls back to another model. Set to `false` to disable these informational toasts.
103
+
92
104
  - **`protectedTools`** (string[], default: `["task"]`)
93
105
  List of tool names that should never be pruned from context. The `task` tool is protected by default to ensure subagent coordination works correctly.
94
106
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@tarquinen/opencode-dcp",
4
- "version": "0.2.6",
4
+ "version": "0.2.7",
5
5
  "type": "module",
6
6
  "description": "OpenCode plugin that optimizes token usage by pruning obsolete tool outputs from conversation context",
7
7
  "main": "./dist/index.js",