opencode-orchestrator 1.0.41 → 1.0.42
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
|
@@ -272,7 +272,7 @@ var WAL_ACTIONS = {
|
|
|
272
272
|
var PHASES = {
|
|
273
273
|
PHASE_0: {
|
|
274
274
|
ID: "PHASE_0",
|
|
275
|
-
NAME: "DISCOVERY
|
|
275
|
+
NAME: "DISCOVERY",
|
|
276
276
|
DESCRIPTION: "Parallel intelligence gathering and project mapping",
|
|
277
277
|
MANDATORY: true
|
|
278
278
|
},
|
|
@@ -924,14 +924,15 @@ var PHILOSOPHY_LEARN_PRINCIPLE = "LEARN = DOCUMENT: What you discover, you recor
|
|
|
924
924
|
|
|
925
925
|
// src/shared/prompt/constants/mandates.ts
|
|
926
926
|
var PHASE_0_DIRECT_DISCOVERY = `**Direct Project Discovery**: Read the project directly to understand it.
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
927
|
+
|
|
928
|
+
0. **FRESH START**: If ${PATHS.TODO} or ${PATHS.CONTEXT} exist, assume they are from a previous task. Archive or overwrite them.
|
|
929
|
+
1. **STRUCTURE**: Run \`ls -la\` and \`find . -maxdepth 2 -type d | head -30\` to map the project layout.
|
|
930
|
+
2. **STACK**: Read config files (package.json, Cargo.toml, go.mod, etc.) to identify build/test commands.
|
|
931
|
+
3. **DOCS**: Read README.md and key documentation to understand the architecture.
|
|
932
|
+
4. **INFRA**: Check for Dockerfile, CI/CD configs, and infrastructure files.
|
|
933
|
+
5. **CONSOLIDATE**: FORCE OVERWRITE \`${PATHS.CONTEXT}\` with fresh findings. Do NOT read existing content; assume it is stale.
|
|
934
|
+
|
|
935
|
+
[EFFICIENT]: Direct reading is faster and cheaper than delegating to parallel scouts.`;
|
|
935
936
|
var PHASE_1_THINK_ANALYSIS = `### 1.1 ANALYZE & SCOPE (INPUT)
|
|
936
937
|
- **Review consolidated ${PATHS.CONTEXT} from Phase 0.**
|
|
937
938
|
- Map discovered files to the user's request.
|
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.42",
|
|
6
6
|
"author": "agnusdei1207",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": {
|