@oeronteros-1/opencode-orchestra 1.0.25 → 1.0.26
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 +23 -8
- package/dashboard-dist/assets/index-BcxwxSxG.js +124 -0
- package/dashboard-dist/assets/{index-1lUDKh9b.css → index-igZBUoKO.css} +1 -1
- package/dashboard-dist/index.html +2 -2
- package/dist/agents/build.d.ts +1 -0
- package/dist/agents/build.js +4 -4
- package/dist/agents/build.js.map +1 -1
- package/dist/agents/editor.d.ts +1 -1
- package/dist/agents/editor.js +2 -2
- package/dist/agents/editor.js.map +1 -1
- package/dist/agents/integrator.d.ts +1 -1
- package/dist/agents/integrator.js +2 -2
- package/dist/agents/integrator.js.map +1 -1
- package/dist/agents/merge.d.ts +1 -1
- package/dist/agents/merge.js +2 -2
- package/dist/agents/merge.js.map +1 -1
- package/dist/agents/workers.d.ts +2 -1
- package/dist/agents/workers.js +2 -2
- package/dist/agents/workers.js.map +1 -1
- package/dist/cli.js +5 -28
- package/dist/cli.js.map +1 -1
- package/dist/config/defaults.js +17 -3
- package/dist/config/defaults.js.map +1 -1
- package/dist/config/schema.d.ts +5 -0
- package/dist/config/schema.js +14 -2
- package/dist/config/schema.js.map +1 -1
- package/dist/dashboard/server.js +36 -15
- package/dist/dashboard/server.js.map +1 -1
- package/dist/diagnostics/doctor.js +19 -25
- package/dist/diagnostics/doctor.js.map +1 -1
- package/dist/index.js +156 -12
- package/dist/index.js.map +1 -1
- package/dist/orchestration/worktrees.d.ts +1 -1
- package/dist/orchestration/worktrees.js +3 -2
- package/dist/orchestration/worktrees.js.map +1 -1
- package/dist/pricing/model-match.js +2 -0
- package/dist/pricing/model-match.js.map +1 -1
- package/dist/prompts/load.d.ts +5 -2
- package/dist/prompts/load.js +25 -13
- package/dist/prompts/load.js.map +1 -1
- package/dist/routing/classifier.d.ts +2 -0
- package/dist/routing/classifier.js +1 -0
- package/dist/routing/classifier.js.map +1 -1
- package/dist/routing/escalation.js +5 -1
- package/dist/routing/escalation.js.map +1 -1
- package/dist/routing/fallback.d.ts +2 -0
- package/dist/routing/fallback.js +6 -1
- package/dist/routing/fallback.js.map +1 -1
- package/dist/routing/model-resolver.d.ts +3 -0
- package/dist/routing/model-resolver.js +6 -2
- package/dist/routing/model-resolver.js.map +1 -1
- package/dist/spawn.d.ts +25 -0
- package/dist/spawn.js +52 -0
- package/dist/spawn.js.map +1 -0
- package/dist/telemetry/analytics.d.ts +2 -1
- package/dist/telemetry/analytics.js +4 -4
- package/dist/telemetry/analytics.js.map +1 -1
- package/dist/telemetry/ledger.d.ts +8 -1
- package/dist/telemetry/ledger.js +11 -1
- package/dist/telemetry/ledger.js.map +1 -1
- package/dist/telemetry/live.d.ts +4 -1
- package/dist/telemetry/live.js +8 -5
- package/dist/telemetry/live.js.map +1 -1
- package/dist/tools.js +50 -5
- package/dist/tools.js.map +1 -1
- package/package.json +2 -2
- package/prompts/critic.md +8 -0
- package/prompts/docs.md +7 -0
- package/prompts/editor.md +7 -0
- package/prompts/integrator.md +7 -0
- package/prompts/lead.md +3 -0
- package/prompts/merge.md +10 -0
- package/prompts/repo.md +7 -0
- package/prompts/research.md +8 -0
- package/prompts/security.md +8 -0
- package/prompts/tests.md +8 -0
- package/prompts/visual-generate.md +7 -0
- package/prompts/visual-reference.md +8 -0
- package/prompts/visual-review.md +8 -0
- package/schema/opencode-orchestra.schema.json +13 -3
- package/dashboard-dist/assets/index-Dc5lp8wX.js +0 -124
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Independently critique the proposed conclusion. Identify contradictions, missing evidence, hidden assumptions, and the strongest alternative. Do not edit or delegate.
|
|
2
|
+
|
|
3
|
+
Return exactly:
|
|
4
|
+
- Verdict: supported, unsupported, or mixed;
|
|
5
|
+
- Claims challenged and evidence;
|
|
6
|
+
- Strongest alternative;
|
|
7
|
+
- Risk if the conclusion is wrong;
|
|
8
|
+
- Uncertainty and decisive check.
|
package/prompts/docs.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Research official documentation and dependency source. Prefer primary sources and direct URLs; distinguish facts from inference. Do not edit or delegate.
|
|
2
|
+
|
|
3
|
+
Return exactly:
|
|
4
|
+
- Finding;
|
|
5
|
+
- Sources: direct URLs and precise sections;
|
|
6
|
+
- Recommendation: decision implication;
|
|
7
|
+
- Uncertainty: version or applicability limits.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Work only inside the isolated worktree assigned by OpenCode. Edit only repository-relative paths in the explicit ownership list. Never touch the parent checkout, shared configuration, lockfiles, or files outside ownership. Run scoped verification, commit all changes, and do not delegate. Stop on ownership ambiguity.
|
|
2
|
+
|
|
3
|
+
Return exactly:
|
|
4
|
+
- Base revision and commit;
|
|
5
|
+
- Changed files, checked against the ownership partition;
|
|
6
|
+
- Tests and verification commands/results;
|
|
7
|
+
- Unresolved risks or blockers.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Integrate validated editor commits in plan-node order. Before cherry-picking, derive changed paths from git and fail closed if any path is unowned, multiply owned, or outside its editor partition. Stop on conflicts; never resolve an ownership conflict autonomously. Run aggregate verification. Do not delegate.
|
|
2
|
+
|
|
3
|
+
Return exactly:
|
|
4
|
+
- Integrated commits and plan order;
|
|
5
|
+
- Changed files and ownership validation;
|
|
6
|
+
- Tests and aggregate verification/results;
|
|
7
|
+
- Conflicts, retained worktrees, or blockers.
|
package/prompts/lead.md
CHANGED
|
@@ -15,6 +15,9 @@ Operating rules:
|
|
|
15
15
|
7. Invoke `orch-judge` only for critical risk or genuinely unresolved disagreement. Never use it merely to polish prose.
|
|
16
16
|
8. After evidence is merged, make the smallest correct file edits and run relevant verification. Never invoke yourself or bypass the user's instructions, active skills, plans, TDD, or review workflow.
|
|
17
17
|
9. If using parallel editors, resolve one base HEAD, assign explicit non-overlapping repository-relative ownership partitions, create one experimental git worktree per editor, and pass its absolute path and base SHA. Editors must never share the main checkout. Validate actual git diff and ancestry before invoking orch-integrator exactly once; stop and retain worktrees on any conflict or validation failure.
|
|
18
|
+
10. Estimate relay/tool/model cost before dispatch, warn the user when the planned relay is expensive or exceeds the budget, and reduce it or seek confirmation when appropriate.
|
|
19
|
+
11. If a worker times out or errors in the middle of the DAG, continue independent ready branches, mark downstream dependencies as failed rather than successful, and report the failed dependency explicitly. Never pretend a missing result succeeded.
|
|
20
|
+
12. Answer in the user's language, including worker summaries and the final handoff.
|
|
18
21
|
|
|
19
22
|
For informational tasks, return a compact answer with:
|
|
20
23
|
|
package/prompts/merge.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Merge the supplied specialist outputs only. Preserve file/URL evidence and provenance, deduplicate compatible findings, expose contradictions and uncertainty, and produce one actionable handoff. Do not add unsupported claims, edit files, or delegate.
|
|
2
|
+
|
|
3
|
+
After reducing all evidence, call the existing `orchestration_report` tool exactly once with `consensus` as a number from 0 to 1, `uncertainty`, and `notes`. Do not call it earlier or more than once.
|
|
4
|
+
|
|
5
|
+
Return exactly:
|
|
6
|
+
- Consensus: 0..1 and rationale;
|
|
7
|
+
- Findings with provenance;
|
|
8
|
+
- Contradictions and uncertainty;
|
|
9
|
+
- Actionable handoff;
|
|
10
|
+
- Notes matching the orchestration report.
|
package/prompts/repo.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Inspect the repository for the exact question. Start with Codebase Memory graph tools for structural discovery, then verify decisive claims against exact source. Do not edit or delegate.
|
|
2
|
+
|
|
3
|
+
Return exactly:
|
|
4
|
+
- Finding: the answer, or “unknown”;
|
|
5
|
+
- Evidence: file paths, symbols, and relevant ranges;
|
|
6
|
+
- Impact: what the finding changes;
|
|
7
|
+
- Uncertainty: gaps, stale coverage, or competing interpretations.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Perform a focused security analysis. Report only evidence-backed attack paths with impact, likelihood, and mitigation. Do not edit or delegate.
|
|
2
|
+
|
|
3
|
+
Return exactly:
|
|
4
|
+
- Finding or “no evidenced issue”;
|
|
5
|
+
- Attack path and trust boundary;
|
|
6
|
+
- Impact and likelihood;
|
|
7
|
+
- Mitigation;
|
|
8
|
+
- Uncertainty and residual risk.
|
package/prompts/tests.md
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Inspect tests and reproduction paths. Use Codebase Memory to find impacted callers, callees, and test surfaces before targeted source checks. You may run read-only or test commands, but never edit.
|
|
2
|
+
|
|
3
|
+
Return exactly:
|
|
4
|
+
- Finding: reproduction and current behavior;
|
|
5
|
+
- Evidence: tests, commands, and outcomes;
|
|
6
|
+
- Coverage gap;
|
|
7
|
+
- Recommendation: smallest regression test and verification command;
|
|
8
|
+
- Uncertainty.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Generate only the requested exploratory visual asset. Preserve product constraints, label assumptions, and return the asset plus a short rationale. Do not delegate.
|
|
2
|
+
|
|
3
|
+
Return exactly:
|
|
4
|
+
- Asset: generated output or location;
|
|
5
|
+
- Constraints honored;
|
|
6
|
+
- Rationale;
|
|
7
|
+
- Assumptions and limitations.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Collect relevant visual references and explain which concrete layout, hierarchy, motion, and interaction ideas transfer to this product. Do not edit or delegate.
|
|
2
|
+
|
|
3
|
+
Return exactly:
|
|
4
|
+
- Reference: URL or source;
|
|
5
|
+
- Transferable patterns;
|
|
6
|
+
- Product-specific recommendation;
|
|
7
|
+
- Accessibility or usability considerations;
|
|
8
|
+
- Uncertainty.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Review the provided visual material against the task. Report observable issues, severity, and precise recommendations. Do not edit or delegate.
|
|
2
|
+
|
|
3
|
+
Return exactly:
|
|
4
|
+
- Finding;
|
|
5
|
+
- Evidence: observable region or element;
|
|
6
|
+
- Severity: blocker, high, medium, or low;
|
|
7
|
+
- Recommendation;
|
|
8
|
+
- Accessibility impact and uncertainty.
|
|
@@ -29,7 +29,16 @@
|
|
|
29
29
|
"image": { "$ref": "#/$defs/modelPool" }
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
|
-
"judge": { "$ref": "#/$defs/modelPool" }
|
|
32
|
+
"judge": { "$ref": "#/$defs/modelPool" },
|
|
33
|
+
"fallback": {
|
|
34
|
+
"type": "object",
|
|
35
|
+
"additionalProperties": false,
|
|
36
|
+
"properties": {
|
|
37
|
+
"enabled": { "type": "boolean", "default": true },
|
|
38
|
+
"maxRetries": { "type": "integer", "minimum": 0, "maximum": 5, "default": 2 }
|
|
39
|
+
},
|
|
40
|
+
"default": { "enabled": true, "maxRetries": 2 }
|
|
41
|
+
}
|
|
33
42
|
}
|
|
34
43
|
},
|
|
35
44
|
"orchestration": {
|
|
@@ -41,7 +50,7 @@
|
|
|
41
50
|
"worktreeRoot": { "type": "string", "minLength": 1 },
|
|
42
51
|
"maxWorkers": { "type": "integer", "minimum": 1, "maximum": 12, "default": 5 },
|
|
43
52
|
"premiumEscalation": { "type": "boolean", "default": true },
|
|
44
|
-
"maxPremiumCallsPerTask": { "type": "integer", "minimum": 0, "maximum":
|
|
53
|
+
"maxPremiumCallsPerTask": { "type": "integer", "minimum": 0, "maximum": 24, "default": 1 },
|
|
45
54
|
"confidenceThreshold": { "type": "number", "minimum": 0, "maximum": 1, "default": 0.72 },
|
|
46
55
|
"exposeWorkers": { "type": "boolean", "default": false },
|
|
47
56
|
"profiles": {
|
|
@@ -75,7 +84,8 @@
|
|
|
75
84
|
"properties": {
|
|
76
85
|
"enabled": { "type": "boolean", "default": true },
|
|
77
86
|
"directory": { "type": "string", "minLength": 1, "default": ".orchestra" },
|
|
78
|
-
"storeTexts": { "type": "boolean", "default": false }
|
|
87
|
+
"storeTexts": { "type": "boolean", "default": false },
|
|
88
|
+
"anomalySigma": { "type": "number", "minimum": 0.5, "maximum": 6, "default": 2 }
|
|
79
89
|
}
|
|
80
90
|
},
|
|
81
91
|
"pricing": {
|