opencode-orchestrator 0.5.28 β 0.5.29
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 +36 -16
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -325,33 +325,53 @@ Restart OpenCode after installation.
|
|
|
325
325
|
|
|
326
326
|
## Usage
|
|
327
327
|
|
|
328
|
-
### π
|
|
328
|
+
### π Two Modes of Operation
|
|
329
329
|
|
|
330
|
-
|
|
330
|
+
| Mode | Trigger | Behavior |
|
|
331
|
+
|------|---------|----------|
|
|
332
|
+
| **Commander Mode** π― | `/task "mission"` | Full autonomous execution until **MISSION COMPLETE** |
|
|
333
|
+
| **Chat Mode** π¬ | Regular conversation | Simple Q&A, no autonomous behavior |
|
|
331
334
|
|
|
332
|
-
|
|
333
|
-
<img src="assets/tui_image.png" alt="Commander TUI" width="600" />
|
|
334
|
-
<p><sub><b>Commander</b> agent selection interface in OpenCode (TUI)</sub></p>
|
|
335
|
+
---
|
|
335
336
|
|
|
336
|
-
|
|
337
|
-
<p><sub>Execution of <b>Commander</b> agent on Windows environment</sub></p>
|
|
338
|
-
</div>
|
|
337
|
+
### π― Commander Mode - `/task` (Recommended for Real Work)
|
|
339
338
|
|
|
339
|
+
Use `/task` when you need the AI to **complete a mission autonomously**:
|
|
340
|
+
|
|
341
|
+
```bash
|
|
342
|
+
/task "Fix the login bug in the docker-compose environment"
|
|
343
|
+
/task "Add dark mode support to the entire app"
|
|
344
|
+
/task "Refactor the API to use TypeScript"
|
|
340
345
|
```
|
|
341
|
-
"Fix the login bug in the docker-compose environment"
|
|
342
|
-
```
|
|
343
346
|
|
|
344
|
-
|
|
347
|
+
**What Commander Mode Does:**
|
|
348
|
+
- βΎοΈ **Runs until done** β Never stops until "MISSION COMPLETE"
|
|
349
|
+
- π§ **Anti-Hallucination** β Researches docs before coding
|
|
350
|
+
- β‘ **Parallel Execution** β Up to 50 concurrent agents
|
|
351
|
+
- π **Auto-Recovery** β Handles errors automatically
|
|
352
|
+
- π **Trriage System** β Adapts strategy to complexity (L1/L2/L3)
|
|
353
|
+
|
|
354
|
+
<div align="center">
|
|
355
|
+
<img src="assets/tui_image.png" alt="Commander TUI" width="600" />
|
|
356
|
+
<p><sub><b>/task "mission"</b> triggers full Commander mode</sub></p>
|
|
357
|
+
</div>
|
|
358
|
+
|
|
359
|
+
---
|
|
345
360
|
|
|
346
|
-
###
|
|
361
|
+
### π¬ Chat Mode - Regular Conversation (Simple Q&A)
|
|
347
362
|
|
|
348
|
-
|
|
363
|
+
Just type normally without `/task` for simple questions:
|
|
349
364
|
|
|
350
|
-
```bash
|
|
351
|
-
/task "Add a loading spinner to the button"
|
|
352
365
|
```
|
|
366
|
+
How do I add a loading spinner?
|
|
367
|
+
What's the difference between useState and useReducer?
|
|
368
|
+
```
|
|
369
|
+
|
|
370
|
+
**Chat Mode is just regular conversation** β no autonomous execution, no parallel agents, no mission tracking.
|
|
371
|
+
|
|
372
|
+
---
|
|
353
373
|
|
|
354
|
-
>
|
|
374
|
+
> **π‘ Pro Tip:** Use `/task` for anything that requires multiple steps, file changes, or verification. Use Chat Mode for quick questions.
|
|
355
375
|
|
|
356
376
|
---
|
|
357
377
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "opencode-orchestrator",
|
|
3
3
|
"displayName": "OpenCode Orchestrator",
|
|
4
4
|
"description": "Distributed Cognitive Architecture for OpenCode. Turns simple prompts into specialized multi-agent workflows (Planner, Coder, Reviewer).",
|
|
5
|
-
"version": "0.5.
|
|
5
|
+
"version": "0.5.29",
|
|
6
6
|
"author": "agnusdei1207",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": {
|