drizzy-agent 0.7.1 → 0.7.2
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 +3 -1
- package/dist/cli/index.js +12 -12
- package/dist/index.js +91 -50
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# DrizzyAgent
|
|
2
2
|
|
|
3
|
-
**DrizzyAgent** is an AI agent harness that extends OpenCode
|
|
3
|
+
**DrizzyAgent** is an AI agent harness that extends OpenCode with multi-agent orchestration. It provides a powerful system for coding tasks with specialized agents for different types of work.
|
|
4
|
+
|
|
5
|
+
This project is a fork and reimagination of the oh-my-opencode project.
|
|
4
6
|
|
|
5
7
|
Built for those who want the power of multi-model AI agents without the complexity of managing them manually.
|
|
6
8
|
|
package/dist/cli/index.js
CHANGED
|
@@ -29286,7 +29286,7 @@ function createMcpOAuthCommand() {
|
|
|
29286
29286
|
// package.json
|
|
29287
29287
|
var package_default = {
|
|
29288
29288
|
name: "drizzy-agent",
|
|
29289
|
-
version: "0.7.
|
|
29289
|
+
version: "0.7.2",
|
|
29290
29290
|
description: "DrizzyAgent - AI agent plugin for OpenCode",
|
|
29291
29291
|
main: "dist/index.js",
|
|
29292
29292
|
types: "dist/index.d.ts",
|
|
@@ -29362,17 +29362,17 @@ var package_default = {
|
|
|
29362
29362
|
typescript: "^5.7.3"
|
|
29363
29363
|
},
|
|
29364
29364
|
optionalDependencies: {
|
|
29365
|
-
"drizzy-agent-darwin-arm64": "0.7.
|
|
29366
|
-
"drizzy-agent-darwin-x64": "0.7.
|
|
29367
|
-
"drizzy-agent-darwin-x64-baseline": "0.7.
|
|
29368
|
-
"drizzy-agent-linux-arm64": "0.7.
|
|
29369
|
-
"drizzy-agent-linux-arm64-musl": "0.7.
|
|
29370
|
-
"drizzy-agent-linux-x64": "0.7.
|
|
29371
|
-
"drizzy-agent-linux-x64-baseline": "0.7.
|
|
29372
|
-
"drizzy-agent-linux-x64-musl": "0.7.
|
|
29373
|
-
"drizzy-agent-linux-x64-musl-baseline": "0.7.
|
|
29374
|
-
"drizzy-agent-windows-x64": "0.7.
|
|
29375
|
-
"drizzy-agent-windows-x64-baseline": "0.7.
|
|
29365
|
+
"drizzy-agent-darwin-arm64": "0.7.2",
|
|
29366
|
+
"drizzy-agent-darwin-x64": "0.7.2",
|
|
29367
|
+
"drizzy-agent-darwin-x64-baseline": "0.7.2",
|
|
29368
|
+
"drizzy-agent-linux-arm64": "0.7.2",
|
|
29369
|
+
"drizzy-agent-linux-arm64-musl": "0.7.2",
|
|
29370
|
+
"drizzy-agent-linux-x64": "0.7.2",
|
|
29371
|
+
"drizzy-agent-linux-x64-baseline": "0.7.2",
|
|
29372
|
+
"drizzy-agent-linux-x64-musl": "0.7.2",
|
|
29373
|
+
"drizzy-agent-linux-x64-musl-baseline": "0.7.2",
|
|
29374
|
+
"drizzy-agent-windows-x64": "0.7.2",
|
|
29375
|
+
"drizzy-agent-windows-x64-baseline": "0.7.2"
|
|
29376
29376
|
},
|
|
29377
29377
|
overrides: {
|
|
29378
29378
|
"@opencode-ai/sdk": "^1.2.24"
|
package/dist/index.js
CHANGED
|
@@ -74642,45 +74642,56 @@ function createDelegateTask(options) {
|
|
|
74642
74642
|
}).join(`
|
|
74643
74643
|
`);
|
|
74644
74644
|
const description = `Spawn agent task with category-based or direct agent selection.
|
|
74645
|
-
|
|
74646
|
-
|
|
74647
|
-
|
|
74648
|
-
|
|
74649
|
-
|
|
74650
|
-
|
|
74651
|
-
|
|
74652
|
-
|
|
74653
|
-
|
|
74654
|
-
|
|
74655
|
-
|
|
74656
|
-
|
|
74657
|
-
|
|
74658
|
-
|
|
74659
|
-
|
|
74660
|
-
|
|
74661
|
-
|
|
74662
|
-
|
|
74663
|
-
|
|
74664
|
-
|
|
74665
|
-
|
|
74666
|
-
|
|
74667
|
-
|
|
74668
|
-
|
|
74669
|
-
|
|
74670
|
-
|
|
74671
|
-
|
|
74672
|
-
|
|
74673
|
-
|
|
74674
|
-
|
|
74675
|
-
|
|
74676
|
-
|
|
74677
|
-
|
|
74678
|
-
|
|
74679
|
-
|
|
74680
|
-
|
|
74681
|
-
|
|
74682
|
-
|
|
74683
|
-
|
|
74645
|
+
|
|
74646
|
+
\u26A0\uFE0F CRITICAL: You MUST provide EITHER category OR subagent_type. Omitting BOTH will FAIL.
|
|
74647
|
+
|
|
74648
|
+
## Decision Table \u2014 Pick ONE Parameter
|
|
74649
|
+
|
|
74650
|
+
| Task Type | Parameter | Spawns | When to Use |
|
|
74651
|
+
|---|---|---|---|
|
|
74652
|
+
| **Implementation** (code, fix, write) | \`category="quick|visual-engineering|..."\` | Coder-Junior with domain-optimized model | Writing code, fixing bugs, implementing features |
|
|
74653
|
+
| **Research/Exploration** (search codebase) | \`subagent_type="explore"\` | Contextual grep agent | Finding patterns, exploring unfamiliar code |
|
|
74654
|
+
| **Reference Search** (docs, OSS, web) | \`subagent_type="librarian"\` | External search agent | Official docs, GitHub examples, API references |
|
|
74655
|
+
| **Consultation** (architecture, debugging) | \`subagent_type="oracle"\` | Read-only expert | Complex decisions, failure recovery, design review |
|
|
74656
|
+
| **Planning** (complex multi-step) | \`subagent_type="plan-consultant"\` | Planning specialist | Breaking down ambiguous work before implementing |
|
|
74657
|
+
|
|
74658
|
+
**Available Categories:**
|
|
74659
|
+
${categoryList}
|
|
74660
|
+
|
|
74661
|
+
**Anti-Patterns (DO NOT):**
|
|
74662
|
+
\`\`\`
|
|
74663
|
+
// \u274C FAILS \u2014 missing both category AND subagent_type
|
|
74664
|
+
task(description="...", prompt="...")
|
|
74665
|
+
|
|
74666
|
+
// \u274C Confusing \u2014 using subagent_type for implementation
|
|
74667
|
+
task(subagent_type="explore", prompt="Write the auth middleware...")
|
|
74668
|
+
|
|
74669
|
+
// \u274C Redundant \u2014 both provided (category wins, subagent_type ignored)
|
|
74670
|
+
task(category="quick", subagent_type="explore", ...)
|
|
74671
|
+
\`\`\`
|
|
74672
|
+
|
|
74673
|
+
**Correct Examples:**
|
|
74674
|
+
\`\`\`
|
|
74675
|
+
// \u2705 Implementation \u2192 use category
|
|
74676
|
+
task(category="quick", load_skills=[], description="Fix type error", prompt="...")
|
|
74677
|
+
|
|
74678
|
+
// \u2705 Research \u2192 use subagent_type
|
|
74679
|
+
task(subagent_type="explore", load_skills=[], description="Find auth patterns", prompt="...", run_in_background=true)
|
|
74680
|
+
|
|
74681
|
+
// \u2705 Follow-up \u2192 use session_id
|
|
74682
|
+
task(session_id="ses_abc123", load_skills=[], description="Fix error", prompt="Fix: Type error on line 42")
|
|
74683
|
+
\`\`\`
|
|
74684
|
+
|
|
74685
|
+
**Additional Parameters:**
|
|
74686
|
+
- \`load_skills\`: ALWAYS REQUIRED. Pass [] if none needed, or ["skill-1", "skill-2"] for domain expertise.
|
|
74687
|
+
- \`run_in_background\`: true=async (returns task_id), false=sync (waits). Default: false. Use background=true ONLY for parallel exploration with 5+ independent queries.
|
|
74688
|
+
- \`session_id\`: Continue existing session (saves 70%+ tokens vs starting fresh).
|
|
74689
|
+
- Task failed \u2192 \`session_id\` with "fix: [specific error]"
|
|
74690
|
+
- Follow-up question \u2192 \`session_id\` with additional context
|
|
74691
|
+
- Multi-turn \u2192 always use \`session_id\` instead of new task
|
|
74692
|
+
- \`command\`: The slash command that triggered this task (optional, for tracking).
|
|
74693
|
+
|
|
74694
|
+
Prompts MUST be in English.`;
|
|
74684
74695
|
return tool({
|
|
74685
74696
|
description,
|
|
74686
74697
|
args: {
|
|
@@ -88352,10 +88363,20 @@ ${buildAntiDuplicationSection()}
|
|
|
88352
88363
|
<delegation_system>
|
|
88353
88364
|
## How to Delegate
|
|
88354
88365
|
|
|
88355
|
-
|
|
88366
|
+
### Decision Table \u2014 Pick ONE Parameter
|
|
88367
|
+
|
|
88368
|
+
| Task Type | Parameter | Spawns | When to Use |
|
|
88369
|
+
|---|---|---|---|
|
|
88370
|
+
| **Implementation** (code, fix, write) | \`category="[category-name]"\` | Coder-Junior with domain-optimized model | Writing code, fixing bugs, implementing features |
|
|
88371
|
+
| **Research/Exploration** (search codebase) | \`subagent_type="explore"\` | Contextual grep agent | Finding patterns, exploring unfamiliar code |
|
|
88372
|
+
| **Reference Search** (docs, OSS, web) | \`subagent_type="librarian"\` | External search agent | Official docs, GitHub examples, API references |
|
|
88373
|
+
| **Consultation** (architecture, debugging) | \`subagent_type="oracle"\` | Read-only expert | Complex decisions, failure recovery, design review |
|
|
88374
|
+
| **Planning** (complex multi-step) | \`subagent_type="plan-consultant"\` | Planning specialist | Breaking down ambiguous work before implementing |
|
|
88375
|
+
|
|
88376
|
+
\u26A0\uFE0F **NEVER provide both category AND subagent_type \u2014 they are mutually exclusive.**
|
|
88356
88377
|
|
|
88357
88378
|
\`\`\`typescript
|
|
88358
|
-
//
|
|
88379
|
+
// \u2705 Implementation \u2192 use category
|
|
88359
88380
|
task(
|
|
88360
88381
|
category="[category-name]",
|
|
88361
88382
|
load_skills=["skill-1", "skill-2"],
|
|
@@ -88363,11 +88384,11 @@ task(
|
|
|
88363
88384
|
prompt="..."
|
|
88364
88385
|
)
|
|
88365
88386
|
|
|
88366
|
-
//
|
|
88387
|
+
// \u2705 Research/Consultation \u2192 use subagent_type
|
|
88367
88388
|
task(
|
|
88368
|
-
subagent_type="
|
|
88389
|
+
subagent_type="explore",
|
|
88369
88390
|
load_skills=[],
|
|
88370
|
-
run_in_background=
|
|
88391
|
+
run_in_background=true,
|
|
88371
88392
|
prompt="..."
|
|
88372
88393
|
)
|
|
88373
88394
|
\`\`\`
|
|
@@ -88830,13 +88851,23 @@ ${buildAntiDuplicationSection()}
|
|
|
88830
88851
|
<delegation_system>
|
|
88831
88852
|
## Delegation API
|
|
88832
88853
|
|
|
88833
|
-
|
|
88854
|
+
### Decision Table \u2014 Pick ONE Parameter
|
|
88855
|
+
|
|
88856
|
+
| Task Type | Parameter | Spawns | When to Use |
|
|
88857
|
+
|---|---|---|---|
|
|
88858
|
+
| **Implementation** (code, fix, write) | \`category="[category-name]"\` | Coder-Junior with domain-optimized model | Writing code, fixing bugs, implementing features |
|
|
88859
|
+
| **Research/Exploration** (search codebase) | \`subagent_type="explore"\` | Contextual grep agent | Finding patterns, exploring unfamiliar code |
|
|
88860
|
+
| **Reference Search** (docs, OSS, web) | \`subagent_type="librarian"\` | External search agent | Official docs, GitHub examples, API references |
|
|
88861
|
+
| **Consultation** (architecture, debugging) | \`subagent_type="oracle"\` | Read-only expert | Complex decisions, failure recovery, design review |
|
|
88862
|
+
| **Planning** (complex multi-step) | \`subagent_type="plan-consultant"\` | Planning specialist | Breaking down ambiguous work before implementing |
|
|
88863
|
+
|
|
88864
|
+
\u26A0\uFE0F **NEVER provide both category AND subagent_type \u2014 they are mutually exclusive.**
|
|
88834
88865
|
|
|
88835
88866
|
\`\`\`typescript
|
|
88836
|
-
//
|
|
88867
|
+
// \u2705 Implementation \u2192 use category
|
|
88837
88868
|
task(category="[name]", load_skills=["skill-1"], run_in_background=false, prompt="...")
|
|
88838
88869
|
|
|
88839
|
-
//
|
|
88870
|
+
// \u2705 Research/Consultation \u2192 use subagent_type
|
|
88840
88871
|
task(subagent_type="[agent]", load_skills=[], run_in_background=false, prompt="...")
|
|
88841
88872
|
\`\`\`
|
|
88842
88873
|
|
|
@@ -89234,13 +89265,23 @@ ${buildAntiDuplicationSection()}
|
|
|
89234
89265
|
<delegation_system>
|
|
89235
89266
|
## How to Delegate
|
|
89236
89267
|
|
|
89237
|
-
|
|
89268
|
+
### Decision Table \u2014 Pick ONE Parameter
|
|
89269
|
+
|
|
89270
|
+
| Task Type | Parameter | Spawns | When to Use |
|
|
89271
|
+
|---|---|---|---|
|
|
89272
|
+
| **Implementation** (code, fix, write) | \`category="[category-name]"\` | Coder-Junior with domain-optimized model | Writing code, fixing bugs, implementing features |
|
|
89273
|
+
| **Research/Exploration** (search codebase) | \`subagent_type="explore"\` | Contextual grep agent | Finding patterns, exploring unfamiliar code |
|
|
89274
|
+
| **Reference Search** (docs, OSS, web) | \`subagent_type="librarian"\` | External search agent | Official docs, GitHub examples, API references |
|
|
89275
|
+
| **Consultation** (architecture, debugging) | \`subagent_type="oracle"\` | Read-only expert | Complex decisions, failure recovery, design review |
|
|
89276
|
+
| **Planning** (complex multi-step) | \`subagent_type="plan-consultant"\` | Planning specialist | Breaking down ambiguous work before implementing |
|
|
89277
|
+
|
|
89278
|
+
\u26A0\uFE0F **NEVER provide both category AND subagent_type \u2014 they are mutually exclusive.**
|
|
89238
89279
|
|
|
89239
89280
|
\`\`\`typescript
|
|
89240
|
-
//
|
|
89281
|
+
// \u2705 Implementation \u2192 use category
|
|
89241
89282
|
task(category="[name]", load_skills=["skill-1"], run_in_background=false, prompt="...")
|
|
89242
89283
|
|
|
89243
|
-
//
|
|
89284
|
+
// \u2705 Research/Consultation \u2192 use subagent_type
|
|
89244
89285
|
task(subagent_type="[agent]", load_skills=[], run_in_background=false, prompt="...")
|
|
89245
89286
|
\`\`\`
|
|
89246
89287
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "drizzy-agent",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"description": "DrizzyAgent - AI agent plugin for OpenCode",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -76,17 +76,17 @@
|
|
|
76
76
|
"typescript": "^5.7.3"
|
|
77
77
|
},
|
|
78
78
|
"optionalDependencies": {
|
|
79
|
-
"drizzy-agent-darwin-arm64": "0.7.
|
|
80
|
-
"drizzy-agent-darwin-x64": "0.7.
|
|
81
|
-
"drizzy-agent-darwin-x64-baseline": "0.7.
|
|
82
|
-
"drizzy-agent-linux-arm64": "0.7.
|
|
83
|
-
"drizzy-agent-linux-arm64-musl": "0.7.
|
|
84
|
-
"drizzy-agent-linux-x64": "0.7.
|
|
85
|
-
"drizzy-agent-linux-x64-baseline": "0.7.
|
|
86
|
-
"drizzy-agent-linux-x64-musl": "0.7.
|
|
87
|
-
"drizzy-agent-linux-x64-musl-baseline": "0.7.
|
|
88
|
-
"drizzy-agent-windows-x64": "0.7.
|
|
89
|
-
"drizzy-agent-windows-x64-baseline": "0.7.
|
|
79
|
+
"drizzy-agent-darwin-arm64": "0.7.2",
|
|
80
|
+
"drizzy-agent-darwin-x64": "0.7.2",
|
|
81
|
+
"drizzy-agent-darwin-x64-baseline": "0.7.2",
|
|
82
|
+
"drizzy-agent-linux-arm64": "0.7.2",
|
|
83
|
+
"drizzy-agent-linux-arm64-musl": "0.7.2",
|
|
84
|
+
"drizzy-agent-linux-x64": "0.7.2",
|
|
85
|
+
"drizzy-agent-linux-x64-baseline": "0.7.2",
|
|
86
|
+
"drizzy-agent-linux-x64-musl": "0.7.2",
|
|
87
|
+
"drizzy-agent-linux-x64-musl-baseline": "0.7.2",
|
|
88
|
+
"drizzy-agent-windows-x64": "0.7.2",
|
|
89
|
+
"drizzy-agent-windows-x64-baseline": "0.7.2"
|
|
90
90
|
},
|
|
91
91
|
"overrides": {
|
|
92
92
|
"@opencode-ai/sdk": "^1.2.24"
|