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 +66 -9
- package/dist/cli/index.js +334 -239
- package/dist/cli/install-intent-types.d.ts +13 -0
- package/dist/cli/provider-availability.d.ts +2 -0
- package/dist/cli/types.d.ts +6 -1
- package/dist/computed-install-defaults.d.ts +3 -0
- package/dist/config/index.d.ts +1 -1
- package/dist/config/schema/agent-names.d.ts +15 -15
- package/dist/config/schema/agent-overrides.d.ts +60 -60
- package/dist/config/schema/categories.d.ts +11 -11
- package/dist/config/schema/drizzy-agent-config.d.ts +60 -59
- package/dist/config/schema/install-defaults.d.ts +11 -0
- package/dist/config/schema.d.ts +1 -0
- package/dist/drizzy-agent.schema.json +55 -0
- package/dist/index.js +6624 -6073
- package/dist/plugin-config-test-fixture.d.ts +12 -0
- package/dist/shared/computed-install-defaults.d.ts +12 -0
- package/dist/shared/index.d.ts +2 -0
- package/dist/shared/install-defaults-contract.d.ts +35 -0
- package/dist/shared/migration/config-migration.d.ts +3 -1
- package/dist/shared/migration.d.ts +0 -1
- package/package.json +12 -12
- package/dist/shared/migration/agent-category.d.ts +0 -19
package/README.md
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
# DrizzyAgent
|
|
2
2
|
|
|
3
|
-
**DrizzyAgent** is an AI agent harness that extends
|
|
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
|
-
###
|
|
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
|
-
|
|
159
|
+
#### Updating Provider Selections
|
|
160
|
+
|
|
161
|
+
Rerun the install command to update provider selections:
|
|
116
162
|
|
|
117
163
|
```bash
|
|
118
|
-
|
|
164
|
+
bunx drizzy-agent install
|
|
119
165
|
```
|
|
120
166
|
|
|
121
|
-
|
|
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
|
|