opencode-orchestrator 0.9.57 β 0.9.59
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 +47 -52
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
<img src="assets/
|
|
2
|
+
<img src="assets/logo.png" alt="logo" width="280" />
|
|
3
3
|
<h1>OpenCode Orchestrator</h1>
|
|
4
4
|
|
|
5
5
|
[](LICENSE)
|
|
@@ -7,9 +7,7 @@
|
|
|
7
7
|
[]()
|
|
8
8
|
</div>
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
> The STARSHIP lands on a new planet: an unfamiliar codebase. No docs. No tests. Just a mission. The crew doesn't ask β they explore, adapt, and conquer.
|
|
10
|
+
> **π Multi-Agent Orchestration Plugin for [OpenCode](https://opencode.ai)**
|
|
13
11
|
|
|
14
12
|
---
|
|
15
13
|
|
|
@@ -26,61 +24,60 @@ Then in OpenCode:
|
|
|
26
24
|
|
|
27
25
|
---
|
|
28
26
|
|
|
29
|
-
##
|
|
27
|
+
## π Core Philosophy
|
|
30
28
|
|
|
31
29
|
```
|
|
32
30
|
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
|
33
|
-
β π EXPLORE β π LEARN β π ADAPT β β‘ ACT
|
|
31
|
+
β π EXPLORE β π LEARN β π ADAPT β β‘ ACT β
|
|
34
32
|
β Scan Document Adjust Execute β
|
|
35
33
|
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
|
36
34
|
```
|
|
37
35
|
|
|
38
|
-
### π¨βπ The
|
|
36
|
+
### π¨βπ The Agents (Crews)
|
|
39
37
|
|
|
40
|
-
*
|
|
38
|
+
*Four AI agents work together on your task:*
|
|
41
39
|
|
|
42
|
-
| Agent | Role |
|
|
43
|
-
|
|
44
|
-
| π― **Commander** |
|
|
45
|
-
| π **Planner** |
|
|
46
|
-
| π¨ **Worker** |
|
|
47
|
-
| β
**Reviewer** |
|
|
40
|
+
| Agent | Role | What It Does |
|
|
41
|
+
|:------|:-----|:-------------|
|
|
42
|
+
| π― **Commander** | Orchestrator | Leads the task, delegates work to other agents, ensures completion |
|
|
43
|
+
| π **Planner** | Researcher | Analyzes the project, creates the plan, documents findings |
|
|
44
|
+
| π¨ **Worker** | Implementer | Writes code, modifies files, follows the project's patterns |
|
|
45
|
+
| β
**Reviewer** | Verifier | Tests changes, checks for errors, confirms quality |
|
|
48
46
|
|
|
49
|
-
### π
|
|
47
|
+
### π Core Principles
|
|
50
48
|
|
|
51
|
-
*
|
|
49
|
+
*Rules that guide every agent:*
|
|
52
50
|
|
|
53
|
-
| Principle |
|
|
54
|
-
|
|
55
|
-
| π **Never Assume
|
|
56
|
-
| π **Document
|
|
57
|
-
| π **
|
|
58
|
-
| π **Adapt to the
|
|
59
|
-
| π€ **
|
|
51
|
+
| Principle | What It Means |
|
|
52
|
+
|:----------|:--------------|
|
|
53
|
+
| π **Never Assume** | Always check the actual code and config files first |
|
|
54
|
+
| π **Document Everything** | Record patterns and findings for future tasks |
|
|
55
|
+
| π **Verify with Evidence** | Run tests, cite sources, complete with proof |
|
|
56
|
+
| π **Adapt to the Project** | Match the project's existing style and patterns |
|
|
57
|
+
| π€ **Specialized Roles** | Each agent has a clear, focused responsibility |
|
|
60
58
|
|
|
61
59
|
---
|
|
62
60
|
|
|
63
|
-
## ποΈ
|
|
64
|
-
|
|
61
|
+
## ποΈ Workflow
|
|
65
62
|
|
|
66
63
|
```
|
|
67
64
|
/task "Build REST API"
|
|
68
65
|
β
|
|
69
66
|
βββββββββββββββββββββββββββββββββββββ
|
|
70
|
-
β π― COMMANDER β "
|
|
67
|
+
β π― COMMANDER β "Start the task" β
|
|
71
68
|
βββββββββββββββββ€ββββββββββββββββββββ
|
|
72
69
|
β
|
|
73
70
|
βββββββββββββββββΌββββββββββββββββ
|
|
74
71
|
βΌ βΌ βΌ
|
|
75
72
|
βββββββββ βββββββββ βββββββββ
|
|
76
73
|
βPLANNERβ βWORKER β βWORKER β β π₯ 50 PARALLEL
|
|
77
|
-
βplan.mdβ βauth.tsβ βapi.ts β
|
|
74
|
+
βplan.mdβ βauth.tsβ βapi.ts β TASKS
|
|
78
75
|
βββββββββ βββββββββ βββββββββ
|
|
79
76
|
β β β
|
|
80
77
|
βββββββββββββββββΌββββββββββββββββ
|
|
81
78
|
βΌ
|
|
82
79
|
βββββββββββββββββββββββββββββββββββββ
|
|
83
|
-
β β
REVIEWER β "
|
|
80
|
+
β β
REVIEWER β "Verify everything" β
|
|
84
81
|
βββββββββββββββββ€ββββββββββββββββββββ
|
|
85
82
|
β
|
|
86
83
|
ββββββββββ΄βββββββββ
|
|
@@ -88,34 +85,32 @@ Then in OpenCode:
|
|
|
88
85
|
β Issues = 0? β
|
|
89
86
|
ββββββββββ¬βββββββββ
|
|
90
87
|
No β β Yes
|
|
91
|
-
β»οΈ LOOP
|
|
88
|
+
β»οΈ LOOP β
COMPLETE
|
|
92
89
|
```
|
|
93
90
|
|
|
94
91
|
---
|
|
95
92
|
|
|
96
|
-
##
|
|
97
|
-
|
|
98
|
-
|
|
|
99
|
-
|
|
100
|
-
| β‘ **50 Parallel
|
|
101
|
-
| π₯ **Multi-
|
|
102
|
-
| π§© **Smart
|
|
103
|
-
| π **Real-Time
|
|
104
|
-
| π‘οΈ **
|
|
105
|
-
| π©Ή **
|
|
106
|
-
| 𧬠**Adaptive AI
|
|
107
|
-
|
|
108
|
-
### π¨
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
|
113
|
-
|
|
114
|
-
|
|
|
115
|
-
|
|
|
116
|
-
|
|
|
117
|
-
| β±οΈ Session timeout | Resume from checkpoint |
|
|
118
|
-
| π¨ Build failure | Loop back, fix, retry |
|
|
93
|
+
## Features
|
|
94
|
+
|
|
95
|
+
| Feature | What It Does |
|
|
96
|
+
|:---------|:-------------|
|
|
97
|
+
| β‘ **50 Parallel Tasks** | Run up to 50 agents simultaneously |
|
|
98
|
+
| π₯ **Multi-File Operations** | Work on different files at the same time |
|
|
99
|
+
| π§© **Smart Assignment** | One file = one agent. No conflicts |
|
|
100
|
+
| π **Real-Time Sync** | Shared `.opencode/` state keeps all agents in sync |
|
|
101
|
+
| π‘οΈ **Automatic Verification** | E2E tests, import checks, integration validation |
|
|
102
|
+
| π©Ή **Auto-Recovery** | Retry failed tasks automatically (up to 3 times) |
|
|
103
|
+
| 𧬠**Adaptive AI** | Agents learn and adapt based on the project |
|
|
104
|
+
|
|
105
|
+
### π¨ Error Handling
|
|
106
|
+
|
|
107
|
+
| Error | What Happens |
|
|
108
|
+
|:------|:-------------|
|
|
109
|
+
| π₯ Tool crash | Inject recovery prompt and retry |
|
|
110
|
+
| π¦ Rate limit hit | Wait and retry with exponential backoff |
|
|
111
|
+
| π¦ Context overflow | Compact the context automatically |
|
|
112
|
+
| β±οΈ Session timeout | Resume from the last checkpoint |
|
|
113
|
+
| π¨ Build failure | Fix the issue and retry |
|
|
119
114
|
|
|
120
115
|
---
|
|
121
116
|
|
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.9.
|
|
5
|
+
"version": "0.9.59",
|
|
6
6
|
"author": "agnusdei1207",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": {
|