drizzy-agent 0.3.1 → 0.4.1

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.
package/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  # DrizzyAgent
2
2
 
3
- **DrizzyAgent** is an AI agent harness that extends Claude Code (OpenCode fork) with multi-agent orchestration. It provides a powerful system for coding tasks with specialized agents for different types of work.
4
-
5
- > If you have a stale cached plugin install, clear it with: `rm -rf ~/.cache/opencode/node_modules/drizzy-agent`
3
+ **DrizzyAgent** is an AI agent harness that extends OpenCode (oh-my-opencode fork) with multi-agent orchestration. It provides a powerful system for coding tasks with specialized agents for different types of work.
6
4
 
7
5
  Built for those who want the power of multi-model AI agents without the complexity of managing them manually.
8
6
 
@@ -98,27 +96,86 @@ Create `.opencode/drizzy-agent.jsonc` or `~/.config/opencode/drizzy-agent.jsonc`
98
96
  {
99
97
  "agents": {
100
98
  "coder": {
101
- "model": "claude-opus-4"
99
+ "model": "anthropic/claude-opus-4-6"
102
100
  }
103
101
  },
104
102
  "categories": {
105
103
  "visual-engineering": {
106
- "model": "claude-opus-4"
104
+ "model": "anthropic/claude-opus-4-6"
107
105
  }
108
106
  },
109
107
  "disabled_hooks": []
110
108
  }
111
109
  ```
112
110
 
113
- ### Troubleshooting: Version Display Issues
111
+ ### How Configuration Works (Snapshot-Based Defaults)
112
+
113
+ DrizzyAgent uses a **snapshot-based** configuration system. When you run `drizzy-agent install`, the tool creates a minimal config containing only your provider selections:
114
+
115
+ ```jsonc
116
+ {
117
+ "$schema": "...",
118
+ "_install_defaults": {
119
+ "snapshot_version": 1,
120
+ "providers": {
121
+ "claude": "yes",
122
+ "openai": false,
123
+ "gemini": false,
124
+ // ... which providers you selected during install
125
+ }
126
+ }
127
+ }
128
+ ```
129
+
130
+ The `_install_defaults` section is **install-managed and read-only**. It captures which providers you selected. The actual `agents` and `categories` configuration is computed at runtime from current fallback rules based on your available providers.
131
+
132
+ **Benefits of this approach:**
133
+ - Your config stays small and focused on your provider choices
134
+ - Model fallbacks automatically improve with each plugin update
135
+ - No manual updates needed when better models become available
136
+
137
+ #### Adding Custom Overrides
138
+
139
+ You can add explicit overrides on top of the computed defaults:
140
+
141
+ ```jsonc
142
+ {
143
+ "_install_defaults": { /* ... */ },
144
+ "agents": {
145
+ "coder": {
146
+ "model": "claude-opus-4" // This overrides the computed default
147
+ }
148
+ },
149
+ "categories": {
150
+ "deep": {
151
+ "model": "o3-mini" // Override for specific category
152
+ }
153
+ }
154
+ }
155
+ ```
156
+
157
+ Explicit overrides take precedence over computed defaults. Omitting a field means "use the computed default."
114
158
 
115
- If you see an old version (like 3.11.2) instead of the current version, clear the cache:
159
+ #### Updating Provider Selections
160
+
161
+ Rerun the install command to update provider selections:
116
162
 
117
163
  ```bash
118
- rm -rf ~/.cache/opencode/node_modules/drizzy-agent
164
+ bunx drizzy-agent install
119
165
  ```
120
166
 
121
- This removes cached data from the previous package name.
167
+ Or manually override by editing `~/.config/opencode/drizzy-agent.jsonc`:
168
+
169
+ ```jsonc
170
+ {
171
+ "agents": {
172
+ "coder": { "model": "claude-opus-4" }
173
+ },
174
+ "categories": {
175
+ "deep": { "model": "o3-mini" }
176
+ }
177
+ }
178
+ ```
122
179
 
123
180
  ## Development
124
181