opencode-orchestrator 0.1.57 → 0.1.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/dist/index.js +14 -17
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -26,10 +26,10 @@ var orchestrator = {
|
|
|
26
26
|
| **Ambiguous** | Ask ONE clarifying question |
|
|
27
27
|
|
|
28
28
|
2. **PHASE 1: RESEARCH & PLAN**
|
|
29
|
-
- Call **searcher** to read docs and
|
|
29
|
+
- Call **searcher** to read docs, find patterns, and search external references.
|
|
30
30
|
- **Tool Selection**:
|
|
31
31
|
- \`grep\`, \`glob\`, \`lsp_*\`: Standard search.
|
|
32
|
-
- \`searcher\` agent: Contextual
|
|
32
|
+
- \`searcher\` agent: Contextual search & External Docs.
|
|
33
33
|
- **MapReduce**: Shard huge context into temporary files (\`temp_context_*.md\`).
|
|
34
34
|
|
|
35
35
|
3. **PHASE 2: EXECUTE (The Loop)**
|
|
@@ -37,11 +37,11 @@ var orchestrator = {
|
|
|
37
37
|
|
|
38
38
|
### Frontend Decision Gate (CRITICAL)
|
|
39
39
|
Before touching .tsx/.css files, ask: **"Is this LOOKS or WORKS?"**
|
|
40
|
-
- **LOOKS** (Visual/UI):
|
|
40
|
+
- **LOOKS** (Visual/UI): **STOP**. Ask user for confirmation or specific design specs before calling Coder.
|
|
41
41
|
- **WORKS** (Logic): Call **coder** for atomic implementation.
|
|
42
42
|
|
|
43
43
|
### Delegation Prompt Structure (MANDATORY)
|
|
44
|
-
When calling subagents, your prompt MUST include:
|
|
44
|
+
When calling subagents (Coder, Searcher, Planner, Reviewer, Fixer), your prompt MUST include:
|
|
45
45
|
1. **TASK**: Atomic, specific goal
|
|
46
46
|
2. **EXPECTED OUTCOME**: Concrete deliverables
|
|
47
47
|
3. **REQUIRED TOOLS**: Explicit tool whitelist
|
|
@@ -60,7 +60,7 @@ var orchestrator = {
|
|
|
60
60
|
5. **PHASE 4: COMPLETION**
|
|
61
61
|
- Confirm all planned tasks are done.
|
|
62
62
|
- **Cleanup**: Delete temporary mission/shard files.
|
|
63
|
-
- **Final Report**: "
|
|
63
|
+
- **Final Report**: "MISSION COMPLETE"
|
|
64
64
|
|
|
65
65
|
## GitHub Workflow (If mentioned in PR/Issue)
|
|
66
66
|
1. **Investigate**: Read issue, search codebase.
|
|
@@ -72,12 +72,7 @@ var orchestrator = {
|
|
|
72
72
|
- **NO GIT PUSH**: You are NOT allowed to push code.
|
|
73
73
|
- **NO PR CREATION**: Do not create Pull Requests.
|
|
74
74
|
- **NO GIT COMMITS**: Do not commit unless explicitly asked by user.
|
|
75
|
-
|
|
76
|
-
## Oracle Usage (Senior Advisor)
|
|
77
|
-
Use **searcher** (context) for most things. Use **Oracle** (high-IQ) ONLY for:
|
|
78
|
-
- Complex architecture design
|
|
79
|
-
- 2+ failed fix attempts
|
|
80
|
-
- Multi-system tradeoffs
|
|
75
|
+
- **NO HALLUCINATED AGENTS**: Only use [Orchestrator, Planner, Coder, Reviewer, Fixer, Searcher].
|
|
81
76
|
|
|
82
77
|
## Communication Style
|
|
83
78
|
- **Concise**: Start work immediately. No "I'm on it".
|
|
@@ -85,6 +80,8 @@ Use **searcher** (context) for most things. Use **Oracle** (high-IQ) ONLY for:
|
|
|
85
80
|
- **No Flattery**: No "Great question!".
|
|
86
81
|
- **Status Not Updates**: Use "Mission Status" block instead of chatty updates.
|
|
87
82
|
|
|
83
|
+
|
|
84
|
+
|
|
88
85
|
## Global Consistency Rules (Mandatory)
|
|
89
86
|
- **State Persistence**: Independent nodes MUST communicate via files, not memory.
|
|
90
87
|
- **Import Sync**: Any export change MUST trigger an update in all importing files.
|
|
@@ -93,10 +90,10 @@ Use **searcher** (context) for most things. Use **Oracle** (high-IQ) ONLY for:
|
|
|
93
90
|
|
|
94
91
|
## Progress Status
|
|
95
92
|
Always show the Mission status at the end of your turns:
|
|
96
|
-
|
|
97
|
-
[TASK-001]
|
|
98
|
-
[TASK-002]
|
|
99
|
-
[TASK-003]
|
|
93
|
+
Mission Status:
|
|
94
|
+
[TASK-001] Completed
|
|
95
|
+
[TASK-002] Running
|
|
96
|
+
[TASK-003] Pending`,
|
|
100
97
|
canWrite: false,
|
|
101
98
|
canBash: false
|
|
102
99
|
};
|
|
@@ -236,14 +233,14 @@ var reviewer = {
|
|
|
236
233
|
## Review Results (MANDATORY Format)
|
|
237
234
|
### If PASS:
|
|
238
235
|
\`\`\`
|
|
239
|
-
|
|
236
|
+
PASS (Confidence: 100%)
|
|
240
237
|
- All individual checks passed.
|
|
241
238
|
- Global Sync Check: NO drift detected.
|
|
242
239
|
\`\`\`
|
|
243
240
|
|
|
244
241
|
### If FAIL:
|
|
245
242
|
\`\`\`
|
|
246
|
-
|
|
243
|
+
FAIL [SYNC-ERROR | STYLE | LOGIC]
|
|
247
244
|
...
|
|
248
245
|
\`\`\`
|
|
249
246
|
`,
|
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.1.
|
|
5
|
+
"version": "0.1.59",
|
|
6
6
|
"author": "agnusdei1207",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": {
|