opencode-orchestrator 1.0.17 → 1.0.18
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
CHANGED
|
@@ -910,13 +910,13 @@ var PHILOSOPHY_LEARN_PRINCIPLE = "LEARN = DOCUMENT: What you discover, you recor
|
|
|
910
910
|
// src/shared/prompt/constants/mandates.ts
|
|
911
911
|
var PHASE_0_SCOUT_SWARM = `**Mandatory Parallel Initialization**: DO NOT run discovery tools (ls, grep, find) yourself. Your job is to ORCHESTRATE and synthesize results.
|
|
912
912
|
|
|
913
|
-
1. **LAUNCH Parallel Scouts**: In your VERY FIRST response, you must output ALL of the following
|
|
913
|
+
1. **LAUNCH Parallel Scouts**: In your VERY FIRST response, you must output ALL of the following \`${TOOL_NAMES.DELEGATE_TASK}\` calls simultaneously (background: true) for:
|
|
914
914
|
- **[Scout: Structure]**: Map the project tree and locate src/tests/docs.
|
|
915
915
|
- **[Scout: Stack]**: Identify language, frameworks, and build/test commands.
|
|
916
916
|
- **[Scout: Docs]**: Digest README.md and core system architecture.
|
|
917
917
|
- **[Scout: Infra]**: Detect CI/CD, Docker, and environment configuration.
|
|
918
|
-
2. **PARALLEL SYNC**: Use
|
|
919
|
-
3. **ONE-PASS INGESTION**: Once all scouts show DONE, use
|
|
918
|
+
2. **PARALLEL SYNC**: Use \`${TOOL_NAMES.LIST_TASKS}\` to monitor progress.
|
|
919
|
+
3. **ONE-PASS INGESTION**: Once all scouts show DONE, use \`${TOOL_NAMES.GET_TASK_RESULT}\` for ALL scouts in a single turn to consolidate findings into \`${PATHS.CONTEXT}\`.
|
|
920
920
|
|
|
921
921
|
[CRITICAL]: Sequential execution (running tools yourself) is a mission failure. Launch the swarm NOW.`;
|
|
922
922
|
var PHASE_1_THINK_ANALYSIS = `### 1.1 MISSION SCOPE
|
|
@@ -928,16 +928,16 @@ var PHASE_1_THINK_ANALYSIS = `### 1.1 MISSION SCOPE
|
|
|
928
928
|
- Identify sequential dependencies vs parallel opportunities.
|
|
929
929
|
|
|
930
930
|
### 1.3 DELEGATION
|
|
931
|
-
- Choose best agent for each task (
|
|
931
|
+
- Choose best agent for each task (${AGENT_NAMES.PLANNER}/${AGENT_NAMES.WORKER}/${AGENT_NAMES.REVIEWER}).
|
|
932
932
|
- Provide focused context for each.
|
|
933
933
|
|
|
934
934
|
### 1.4 RISK ASSESSMENT
|
|
935
935
|
- Identify high-risk parts and fallback plans.
|
|
936
936
|
- If agent fails \u2192 See RECOVERY section.`;
|
|
937
|
-
var PHASE_5_MSVP = `1. **STAGE 1 (Unit)**: Workers MUST trigger
|
|
938
|
-
2. **STAGE 2 (Integration)**:
|
|
937
|
+
var PHASE_5_MSVP = `1. **STAGE 1 (Unit)**: Workers MUST trigger ${AGENT_NAMES.REVIEWER} for unit verification immediately upon completion.
|
|
938
|
+
2. **STAGE 2 (Integration)**: ${AGENT_NAMES.REVIEWER} validates cross-module consistency.
|
|
939
939
|
3. **E2E VALIDATION**: Run full system tests and build pass check.
|
|
940
|
-
4. **SEAL GATE**: No SEALED output until
|
|
940
|
+
4. **SEAL GATE**: No SEALED output until ${PATHS.TODO} is all [x] and zero issues remain.`;
|
|
941
941
|
var HPFA_RULES = `1. **Fractal Spawning**: Workers spawn sub-workers for complex files/modules.
|
|
942
942
|
2. **Speculative Racing**: Launch multiple strategies in parallel (mode: race) for uncertainty.
|
|
943
943
|
3. **Asynchronous Batching**: Group non-dependent tool calls to trigger host-side parallelism.
|
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
* Phase 0: Discovery Swarm Mandate
|
|
9
9
|
* Force parallel execution of scouts to maximize velocity.
|
|
10
10
|
*/
|
|
11
|
-
export declare const PHASE_0_SCOUT_SWARM
|
|
11
|
+
export declare const PHASE_0_SCOUT_SWARM: string;
|
|
12
12
|
/**
|
|
13
13
|
* Phase 1: THINK (Strategic Mandate)
|
|
14
14
|
*/
|
|
15
|
-
export declare const PHASE_1_THINK_ANALYSIS
|
|
15
|
+
export declare const PHASE_1_THINK_ANALYSIS: string;
|
|
16
16
|
/**
|
|
17
17
|
* Phase 5: MSVP (Multi-Stage Verification Pipeline)
|
|
18
18
|
*/
|
|
19
|
-
export declare const PHASE_5_MSVP
|
|
19
|
+
export declare const PHASE_5_MSVP: string;
|
|
20
20
|
/**
|
|
21
21
|
* HPFA (Hyper-Parallel Fractal Architecture) Rules
|
|
22
22
|
*/
|
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": "1.0.
|
|
5
|
+
"version": "1.0.18",
|
|
6
6
|
"author": "agnusdei1207",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": {
|