@oeronteros-1/opencode-orchestra 1.0.13 → 1.0.15

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/tools.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"tools.js","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAuB,MAAM,qBAAqB,CAAA;AAE/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,YAAY,EAAuB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAA;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAC/C,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAC5E,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAA;AAEnF,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAErE,OAAO,EAAE,kBAAkB,EAAqB,MAAM,oBAAoB,CAAA;AAM1E,MAAM,mBAAmB,GAAG,qBAAqB,EAAE,CAAA;AAMnD,MAAM,UAAU,oBAAoB,CAClC,MAAuB,EACvB,MAAc,EACd,YAA2B,EAC3B,OAAwB;IAExB,OAAO;QACL,eAAe,EAAE,IAAI,CAAC;YACpB,WAAW,EAAE,+IAA+I;YAC5J,IAAI,EAAE;gBACJ,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;gBACjC,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;aACzC;YACD,KAAK,C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SAAS;oBAAE,OAAO,kFAAkF,CAAA;gBACzG,OAAO,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,CAAA;YACvC,CAAC;SACF,CAAC;QACF,uBAAuB,EAAE,IAAI,CAAC;YAC5B,WAAW,EAAE,mNAAmN;YAChO,IAAI,EAAE,EAAE;YACR,KAAK,CAAC,OAAO;gBACX,IAAI,CAAC,YAAY;oBAAE,OAAO,2FAA2F,CAAA;gBACrH,OAAO,kBAAkB,CAAC,YAAY,CAAC,CAAA;YACzC,CAAC;SACF,CAAC;KACH,CAAA;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oeronteros-1/opencode-orchestra",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "description": "Production-ready model routing, specialist agents, diagnostics, telemetry, and dashboard for OpenCode",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -56,7 +56,7 @@
56
56
  "prepublishOnly": "npm run check",
57
57
  "prepack": "npm run build",
58
58
  "typecheck": "tsc --noEmit && tsc -p dashboard/tsconfig.json",
59
- "test": "tsc -p tsconfig.test.json && node --test dist-test/test/config.test.js dist-test/test/classifier.test.js dist-test/test/model-resolver.test.js dist-test/test/model-discovery.test.js dist-test/test/budget.test.js dist-test/test/agents.test.js dist-test/test/plugin.test.js dist-test/test/plugin-status.test.js dist-test/test/cli.test.js dist-test/test/dashboard.test.js dist-test/test/ledger.test.js dist-test/test/analytics.test.js dist-test/test/routing-features.test.js dist-test/test/pricing.test.js dist-test/test/fallback.test.js dist-test/test/integration.test.js dist-test/test/doctor.test.js",
59
+ "test": "tsc -p tsconfig.test.json && node --test dist-test/test/config.test.js dist-test/test/classifier.test.js dist-test/test/model-resolver.test.js dist-test/test/model-discovery.test.js dist-test/test/budget.test.js dist-test/test/agents.test.js dist-test/test/plugin.test.js dist-test/test/plugin-status.test.js dist-test/test/cli.test.js dist-test/test/dashboard.test.js dist-test/test/live.test.js dist-test/test/ledger.test.js dist-test/test/analytics.test.js dist-test/test/routing-features.test.js dist-test/test/pricing.test.js dist-test/test/fallback.test.js dist-test/test/integration.test.js dist-test/test/doctor.test.js",
60
60
  "check": "npm run typecheck && npm test"
61
61
  },
62
62
  "dependencies": {
package/prompts/lead.md CHANGED
@@ -9,10 +9,11 @@ Operating rules:
9
9
  1. Classify the task as architecture, debug, UI, research, review, security, performance, migration, or ops. Use at most two secondary profiles.
10
10
  2. Dispatch workers only when their evidence can change the answer. Avoid ceremonial parallelism.
11
11
  3. Give each worker a narrow question, relevant context, explicit deliverable, and a prohibition on editing or further delegation.
12
- 4. Run independent questions in parallel, but stay within the runtime worker limits.
13
- 5. Compare claims, evidence, and uncertainty. Do not treat repeated unsupported opinions as consensus.
14
- 6. Invoke `orch-judge` only for critical risk or genuinely unresolved disagreement. Never use it merely to polish prose.
15
- 7. Do not edit files. Do not invoke yourself. Do not take over the primary agent's implementation, plan, TDD, review, or active skill workflow.
12
+ 4. Build a dependency DAG before dispatch. Run all currently-ready nodes concurrently within runtime limits; release downstream nodes only after every `dependsOn` result is available.
13
+ 5. After all evidence nodes complete, invoke `orch-merge` exactly once with outputs labeled by node id and worker.
14
+ 6. Compare claims, evidence, and uncertainty. Do not treat repeated unsupported opinions as consensus.
15
+ 7. Invoke `orch-judge` only for critical risk or genuinely unresolved disagreement. Never use it merely to polish prose.
16
+ 8. Do not edit files. Do not invoke yourself. Do not take over the primary agent's implementation, plan, TDD, review, or active skill workflow.
16
17
 
17
18
  Return a compact handoff with:
18
19
 
package/CHANGELOG.md DELETED
@@ -1,86 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to OpenCode Orchestra are documented in this file.
4
-
5
- The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and this project uses [Semantic Versioning](https://semver.org/).
6
-
7
- ## [1.0.7] — 2026-08-17
8
-
9
- ### Added
10
-
11
- - Stable plugin module ID and package export metadata for current OpenCode resolvers.
12
- - Config-discovery and entrypoint regression tests.
13
-
14
- ### Changed
15
-
16
- - The CLI now uses Node.js as its portable executable runtime while remaining compatible with Bun.
17
- - Project JSONC config takes precedence over the JSON variant when both exist.
18
- - Optional MCP dependency provisioning is best-effort and reports failures without blocking setup.
19
-
20
- ### Fixed
21
-
22
- - Bounded provider model discovery so a stalled catalog cannot block plugin initialization.
23
- - Removed unconditional stderr output during plugin initialization.
24
-
25
- ## [1.0.0] — 2026-08-17
26
-
27
- ### Added
28
-
29
- - Production-ready orchestration with a public `orch-lead`, specialist workers, `orch-judge`, dependency-aware task plans, profile classification, and four budget modes: `eco`, `balanced`, `quality`, and `ebobo`.
30
- - Automatic discovery and capability scoring for models exposed by connected OpenCode providers, while preserving explicit per-agent and manual-pool overrides.
31
- - Model pricing support with an offline snapshot, optional self-hosted refresh endpoint, explicit per-model price overrides, pre-run cost estimates, and configurable spend warnings.
32
- - Ordered cheaper fallback metadata for execution layers that support retrying provider calls.
33
- - Local telemetry dashboard with token, cost, model, agent, activity, monthly projection, anomaly, and MCP status views.
34
- - Authenticated CSV and JSON exports for activity, models, agents, daily usage, and summary reports.
35
- - Optional prompt/reply telemetry through `telemetry.storeTexts`; message text remains disabled by default.
36
- - `opencode-orchestra doctor` for configuration, plugin, MCP, and local toolchain diagnostics, including JSON output.
37
- - `opencode-orchestra update` for checking the latest published npm version.
38
- - Shell completion generators for zsh, bash, and PowerShell.
39
- - Plugin runtime status through `/plugin-status` and the `orchestra_plugin_status` tool.
40
- - Cross-platform, idempotent installer for the Orchestra plugin, Context7, Codebase Memory, and MemoryGraph.
41
- - JSON Schema for `orchestra.jsonc`, including pricing and opt-in text telemetry settings.
42
- - Expanded regression and integration coverage across routing, pricing, telemetry, dashboard, diagnostics, installer, and plugin initialization.
43
-
44
- ### Changed
45
-
46
- - Promoted the package to the stable `1.0.0` API and configuration contract.
47
- - Hardened dashboard configuration writes with full-schema validation, empty agent-model normalization, JSONC comment preservation, backups, and atomic replacement.
48
- - Improved paid-model estimation to honor explicit prices and each worker's actual capability.
49
- - Bounded streaming text buffers and added plugin-disposal cleanup for timers and in-memory telemetry state.
50
- - Clarified that fallback lists are resolver metadata; OpenCode provider calls are not intercepted or retried automatically by the plugin.
51
- - Added npm repository, homepage, issue tracker, release keywords, and a pre-publish validation gate.
52
-
53
- ### Fixed
54
-
55
- - Fixed the published JSON Schema so `pricing` is accepted as a configuration section.
56
- - Fixed prompt telemetry correlation between user and assistant messages.
57
- - Fixed stale pricing snapshots, concurrent refresh races, and unsafe passthrough of remote price fields.
58
- - Fixed dashboard saves when optional per-agent model fields are left blank.
59
- - Fixed invalid export parameters to return HTTP 400 instead of HTTP 500.
60
- - Fixed monthly pace analytics so current-month projections use a prior-period baseline.
61
-
62
- ### Compatibility and upgrade notes
63
-
64
- - Requires Node.js 22 or newer for Node-based development and runtime tooling.
65
- - The recommended installer requires Bun 1.2 or newer.
66
- - Existing bare or pinned plugin entries are upgraded to `@oeronteros-1/opencode-orchestra@latest` by the installer while preserving plugin options.
67
- - Existing OpenCode and MCP configuration is preserved; use `--force` only when you explicitly want Orchestra's MCP defaults to replace matching entries.
68
- - Text telemetry remains opt-in. Existing installations continue to record usage metadata without prompt or reply contents.
69
-
70
- ## [0.5.3] — 2026-08-17
71
-
72
- ### Fixed
73
-
74
- - Exported both `server` and `default` from the plugin entry for OpenCode 1.18.x and older plugin loaders.
75
- - Wrote `@oeronteros-1/opencode-orchestra@latest` into OpenCode configuration and upgraded existing bare or pinned entries.
76
-
77
- ## [0.5.1] — 2026-08-17
78
-
79
- ### Changed
80
-
81
- - Recorded all OpenCode assistant responses in local telemetry, including primary OpenCode mode.
82
- - Preserved Orchestra-specific counters for free worker calls and judge escalations.
83
-
84
- [1.0.0]: https://github.com/Oeronteros/opencode-orchestra/compare/v0.5.3...v1.0.0
85
- [0.5.3]: https://github.com/Oeronteros/opencode-orchestra/compare/v0.5.1...v0.5.3
86
- [0.5.1]: https://github.com/Oeronteros/opencode-orchestra/releases/tag/v0.5.1
@@ -1,84 +0,0 @@
1
- # OpenCode Orchestra 1.0.0
2
-
3
- OpenCode Orchestra 1.0.0 is the first stable release of the model-routing and specialist-agent orchestration plugin for OpenCode. It combines automatic model discovery, profile-aware worker planning, budget controls, local diagnostics, usage telemetry, and a token-protected dashboard in one installable package.
4
-
5
- ## Highlights
6
-
7
- ### Stable orchestration contract
8
-
9
- - One public `orch-lead`, a focused set of hidden specialist workers, and `orch-judge` for arbitration.
10
- - Dependency-aware task plans and profile classification for architecture, debugging, UI, research, review, security, performance, migration, and operations work.
11
- - Four distinct budget modes: `eco`, `balanced`, `quality`, and the maximum-throughput `ebobo` mode.
12
- - Automatic discovery of models from connected OpenCode providers, with manual pools and per-agent overrides always taking precedence.
13
-
14
- ### Cost-aware routing
15
-
16
- - Built-in offline model-price snapshot.
17
- - Optional self-hosted price endpoint and periodic refresh.
18
- - Explicit `priceInput` and `priceOutput` overrides for manual model entries.
19
- - Informational pre-run estimates and configurable spend warnings in `orchestra_route`.
20
- - Ordered cheaper fallback candidates exposed as resolver metadata for execution layers that implement retries.
21
-
22
- > Orchestra does not intercept OpenCode provider requests and does not automatically retry failed provider calls.
23
-
24
- ### Local dashboard and telemetry
25
-
26
- - Token, cost, model, agent, activity, projection, anomaly, and MCP status views.
27
- - Authenticated CSV/JSON report export.
28
- - Atomic, schema-validated configuration updates with backups and JSONC comment preservation.
29
- - Prompt and reply storage is disabled by default and can only be enabled explicitly with `telemetry.storeTexts: true`.
30
-
31
- ### Operations and diagnostics
32
-
33
- - `doctor` checks OpenCode configuration, Orchestra configuration, plugin registration, MCP entries, and local dependency paths.
34
- - `update` checks npm for a newer release.
35
- - `completion zsh|bash|pwsh` generates shell completions.
36
- - `/plugin-status` reports the loaded plugin version, budget, model strategy, and companion MCP status.
37
-
38
- ## Install or upgrade
39
-
40
- ```bash
41
- bunx @oeronteros-1/opencode-orchestra@latest install
42
- ```
43
-
44
- The installer is idempotent, preserves existing plugin/MCP configuration, creates backups before changes, and updates bare or pinned Orchestra plugin entries to `@latest`.
45
-
46
- To inspect proposed configuration changes without writing files:
47
-
48
- ```bash
49
- bunx @oeronteros-1/opencode-orchestra@latest install --dry-run
50
- ```
51
-
52
- After installation, restart OpenCode and run:
53
-
54
- ```text
55
- /plugin-status
56
- /orchestra-status
57
- ```
58
-
59
- ## Requirements
60
-
61
- - OpenCode with plugin support compatible with `@opencode-ai/plugin >= 1.18.18`.
62
- - Bun 1.2+ for the recommended installer command.
63
- - Node.js 22+ for Node-based development and runtime tooling.
64
-
65
- ## Upgrade notes
66
-
67
- - No configuration migration is required from 0.5.x.
68
- - Existing OpenCode configuration, plugin options, and MCP entries are preserved.
69
- - Use `--force` only to replace matching MCP entries with Orchestra defaults.
70
- - Text telemetry remains opt-in and is disabled by default.
71
- - The `pricing` section is now correctly represented in the published JSON Schema.
72
-
73
- ## Validation
74
-
75
- This release was validated with:
76
-
77
- - TypeScript checks for plugin and dashboard.
78
- - 67 automated tests covering routing, pricing, telemetry, diagnostics, dashboard, installer, and integration paths.
79
- - Production builds for the plugin and dashboard.
80
- - npm package dry-run inspection.
81
-
82
- ## Full changelog
83
-
84
- See [CHANGELOG.md](https://github.com/Oeronteros/opencode-orchestra/blob/v1.0.0/CHANGELOG.md).
@@ -1,21 +0,0 @@
1
- # OpenCode Orchestra 1.0.7
2
-
3
- Patch release focused on robust OpenCode integration and cross-runtime setup.
4
-
5
- ## Highlights
6
-
7
- - Added a stable `opencode-orchestra` plugin module ID while retaining compatible named server exports.
8
- - Added explicit package entrypoint and TypeScript export metadata.
9
- - Made the packaged CLI executable with Node.js while preserving Bun compatibility.
10
- - Improved config discovery precedence: global config, preferred project JSONC config, then plugin options.
11
- - Added a timeout and graceful fallback for connected-model discovery.
12
- - Made optional Codebase Memory and MemoryGraph provisioning best-effort so failures do not block plugin setup.
13
- - Removed unconditional initializer stderr output.
14
- - Added regression coverage for entrypoint identity and config discovery.
15
-
16
- ## Validation
17
-
18
- - TypeScript typecheck passed.
19
- - 70 tests passed.
20
- - Dashboard and plugin production builds passed.
21
- - `node dist/cli.js --help` smoke test passed.