opencode-agent-orchestration-kit 1.0.27 → 1.0.28

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.
@@ -13,7 +13,22 @@ permissions:
13
13
 
14
14
  jobs:
15
15
  check:
16
- runs-on: ubuntu-latest
16
+ # compatibility-blocking:start
17
+ strategy:
18
+ fail-fast: false
19
+ matrix:
20
+ include:
21
+ - os: ubuntu-latest
22
+ node: 22
23
+ canonical: false
24
+ - os: ubuntu-latest
25
+ node: 24
26
+ canonical: true
27
+ - os: macos-latest
28
+ node: 24
29
+ canonical: false
30
+ # compatibility-blocking:end
31
+ runs-on: ${{ matrix.os }}
17
32
  steps:
18
33
  - name: Checkout
19
34
  uses: actions/checkout@v4
@@ -21,10 +36,17 @@ jobs:
21
36
  - name: Setup Node
22
37
  uses: actions/setup-node@v4
23
38
  with:
24
- node-version: 24
39
+ node-version: ${{ matrix.node }}
40
+
41
+ - name: Record runner evidence
42
+ run: |
43
+ uname -a || true
44
+ node --version
45
+ npm --version
46
+ node -e 'const p=require("./opencode/package.json"); console.log(JSON.stringify({arch:process.arch,platform:process.platform,plugin:p.dependencies["@opencode-ai/plugin"],opentuiCore:p.dependencies["@opentui/core"],opentuiSolid:p.dependencies["@opentui/solid"]}))'
25
47
 
26
48
  - name: Validate release tag
27
- if: startsWith(github.ref, 'refs/tags/')
49
+ if: matrix.canonical && startsWith(github.ref, 'refs/tags/')
28
50
  run: node scripts/version.mjs --check-tag "$GITHUB_REF_NAME"
29
51
 
30
52
  - name: Contract check
@@ -38,6 +60,7 @@ jobs:
38
60
  run: npm ci
39
61
 
40
62
  - name: Audit OpenCode tool dependencies
63
+ if: matrix.canonical
41
64
  run: npm run dependency-audit
42
65
 
43
66
  - name: Typecheck TUI token plugin
@@ -45,3 +68,25 @@ jobs:
45
68
 
46
69
  - name: Installation smoke
47
70
  run: npm run installation-smoke
71
+
72
+ # opencode-boundaries:start
73
+ opencode-compatibility:
74
+ runs-on: ubuntu-latest
75
+ strategy:
76
+ fail-fast: false
77
+ matrix:
78
+ opencode:
79
+ - "1.14.41"
80
+ - "1.18.4"
81
+ steps:
82
+ - name: Checkout
83
+ uses: actions/checkout@v4
84
+
85
+ - name: Setup Node
86
+ uses: actions/setup-node@v4
87
+ with:
88
+ node-version: 24
89
+
90
+ - name: Smoke OpenCode boundary
91
+ run: bash scripts/opencode-compat-smoke.sh "${{ matrix.opencode }}"
92
+ # opencode-boundaries:end
@@ -0,0 +1,28 @@
1
+ name: Compatibility Canary
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ schedule:
6
+ - cron: "17 6 * * 1"
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ # compatibility-canary:start
13
+ latest:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - name: Checkout
17
+ uses: actions/checkout@v4
18
+ with:
19
+ persist-credentials: false
20
+
21
+ - name: Setup Node
22
+ uses: actions/setup-node@v4
23
+ with:
24
+ node-version: 26
25
+
26
+ - name: Smoke latest OpenCode
27
+ run: bash scripts/opencode-compat-smoke.sh latest
28
+ # compatibility-canary:end
package/README.md CHANGED
@@ -233,7 +233,7 @@ The safest way to try the kit is to load it from the repository directory withou
233
233
  - Git
234
234
  - Bash
235
235
  - OpenCode installed and available on your `PATH`
236
- - Node.js and npm
236
+ - Node.js `^22.9.0 || ^24.0.0` and npm
237
237
  - An OpenCode-compatible model provider configured through `opencode auth login`
238
238
 
239
239
  ### 1. Clone the repository
@@ -570,7 +570,7 @@ Validate only the canonical identity and current release note with:
570
570
 
571
571
  ```bash
572
572
  npm run check:version
573
- node scripts/version.mjs --check-tag v1.0.27
573
+ node scripts/version.mjs --check-tag v1.0.28
574
574
  ```
575
575
 
576
576
  Tag validation compares an explicitly supplied tag with the package identity.
@@ -757,10 +757,13 @@ Detailed guides are available in [`docs/`](docs/):
757
757
 
758
758
  ## Compatibility and scope
759
759
 
760
- - The core kit requires OpenCode.
761
- - Open Design, Superpowers, Impeccable, Docker, and token-usage plugins are optional.
762
- - Integrations are maintained as adapters around upstream projects and may require updates when upstream APIs or plugin formats change.
763
- - The project intentionally favors local, inspectable configuration over hosted orchestration services.
760
+ - Node.js 22 and 24 are supported; the exact engine is `^22.9.0 || ^24.0.0`.
761
+ - OpenCode `>=1.14.41 <2.0.0` is supported through tested boundary versions.
762
+ - WSL2 is experimental. Native Windows is unsupported because lifecycle wrappers require Bash.
763
+ - Open Design, Superpowers, Impeccable, Docker, and token-usage plugins remain optional.
764
+
765
+ See the [complete compatibility matrix](docs/compatibility.md) for status
766
+ definitions, exact pins, evidence, and scope.
764
767
 
765
768
  ## Contributing
766
769
 
@@ -0,0 +1,19 @@
1
+ {
2
+ "schema_version": 1,
3
+ "node": {
4
+ "engines": "^22.9.0 || ^24.0.0",
5
+ "blocking_majors": [22, 24],
6
+ "canary_major": 26
7
+ },
8
+ "opencode": {
9
+ "supported_range": ">=1.14.41 <2.0.0",
10
+ "minimum_tested": "1.14.41",
11
+ "stable_tested": "1.18.4",
12
+ "canary": "latest"
13
+ },
14
+ "sdk": {
15
+ "opencode_plugin": "1.14.41",
16
+ "opentui_core": "0.2.5",
17
+ "opentui_solid": "0.2.5"
18
+ }
19
+ }
@@ -0,0 +1,84 @@
1
+ # Compatibility
2
+
3
+ This document is the public compatibility contract for the kit. The canonical
4
+ Node.js engine is `^22.9.0 || ^24.0.0`, and the supported OpenCode range is
5
+ `>=1.14.41 <2.0.0`.
6
+
7
+ ## Status definitions
8
+
9
+ - **tested**: an exact version or environment for which the stated evidence is collected.
10
+ - **supported**: a maintained compatibility promise derived from boundary evidence.
11
+ - **experimental**: usable on a best-effort basis, without a release-blocking guarantee.
12
+ - **unsupported**: outside the maintained compatibility contract.
13
+
14
+ `tested` is not a superset of `supported`: `tested` records exact evidence,
15
+ while `supported` describes the maintained promise derived from that evidence.
16
+
17
+ ## Matrix
18
+
19
+ <!-- compatibility-matrix:start -->
20
+ | Surface | Status | Contract |
21
+ |---|---|---|
22
+ | Node.js 22 | supported | 22.9.0 or newer within major 22; blocking CI |
23
+ | Node.js 24 | supported | major 24; blocking CI |
24
+ | Node.js 26 | experimental | non-blocking canary only |
25
+ | Node.js 20 and EOL/odd lines | unsupported | no release guarantee |
26
+ | OpenCode 1.14.41 | tested | minimum boundary in the blocking core smoke |
27
+ | OpenCode 1.18.4 | tested | pinned stable boundary in the blocking core smoke |
28
+ | OpenCode >=1.14.41 <2.0.0 | supported | boundary-tested compatibility promise |
29
+ | OpenCode <1.14.41 or >=2.0.0 | unsupported | requires a reviewed policy change |
30
+ | `@opencode-ai/plugin` 1.14.41 | tested | exact pin with install, import, and typecheck evidence |
31
+ | OpenTUI core/solid 0.2.5 | tested | exact pins with install, import, and typecheck evidence |
32
+ | Ubuntu GitHub runner | tested | blocking Node 22 and 24 jobs |
33
+ | macOS GitHub runner | tested | blocking Node 24 job; runner details recorded |
34
+ | Other mainstream Linux/macOS environments | supported | Bash, Node, and OpenCode must support the host |
35
+ | WSL2 | experimental | recommended upstream path, no kit-owned runner |
36
+ | Native Windows | unsupported | Bash lifecycle wrappers have no native contract |
37
+ | Token usage plugin | experimental | compile/import is tested; runtime session-tree behavior is not stable API evidence |
38
+ | Open Design Docker adapter | experimental | optional pinned image inputs, no blocking integration smoke |
39
+ | Superpowers | experimental | optional upstream Git plugin, not part of core smoke |
40
+ | Impeccable | experimental | optional externally installed skill |
41
+ <!-- compatibility-matrix:end -->
42
+
43
+ ## Exact dependency pins
44
+
45
+ | Dependency | Exact pin |
46
+ |---|---|
47
+ | `@opencode-ai/plugin` | `1.14.41` |
48
+ | `@opentui/core` | `0.2.5` |
49
+ | `@opentui/solid` | `0.2.5` |
50
+
51
+ ## Evidence as of 2026-07-21
52
+
53
+ ### Local evidence
54
+
55
+ The compatibility contract checker, its focused tests, the repository contract
56
+ check, and whitespace validation were run in a local maintainer checkout. This
57
+ evidence confirms the committed contract and documentation consistency; it is
58
+ not evidence that every remote runner combination passed.
59
+
60
+ ### Blocking CI policy
61
+
62
+ The release-blocking policy requires Ubuntu jobs on Node.js 22 and 24, a macOS
63
+ job on Node.js 24, and core OpenCode smokes at both `1.14.41` and `1.18.4`.
64
+ Those combinations remain policy statements until their remote jobs record
65
+ results. This document does not claim that the remote matrix has passed.
66
+
67
+ Node.js 26 and OpenCode `latest` are non-blocking canaries. A failed canary is
68
+ an early warning, not proof that the supported range has failed and not a
69
+ release blocker by itself. Maintainers must inspect the failure and decide
70
+ whether to fix the kit, revise this contract through review, or wait for an
71
+ upstream correction.
72
+
73
+ ## Promoting a stable boundary
74
+
75
+ To promote a canary version, update `stable_tested` in `compatibility.json`, run
76
+ both the minimum and stable boundary smokes, update this document and related
77
+ surfaces, and submit the change for review. Canary jobs are read-only evidence:
78
+ they must never rewrite `compatibility.json` or documentation automatically.
79
+
80
+ ## Scope
81
+
82
+ This matrix covers the kit, its declared runtime boundaries, and the listed
83
+ optional integrations. Model-provider compatibility, credentials, quotas, and
84
+ provider-specific model behavior are outside its scope.
@@ -1,5 +1,9 @@
1
1
  # Installation lifecycle
2
2
 
3
+ Prerequisites include Node.js `^22.9.0 || ^24.0.0` and npm. See the
4
+ [compatibility matrix](compatibility.md) for supported OpenCode versions,
5
+ platform status, exact integration pins, and evidence.
6
+
3
7
  ## Test without a global install
4
8
 
5
9
  ```bash
@@ -68,7 +72,7 @@ Use these read-only checks from the repository root:
68
72
  ```bash
69
73
  node scripts/version.mjs
70
74
  npm run check:version
71
- node scripts/version.mjs --check-tag v1.0.27
75
+ node scripts/version.mjs --check-tag v1.0.28
72
76
  ```
73
77
 
74
78
  The tag check validates only the supplied value. It does not inspect the
@@ -70,5 +70,5 @@ the dependency install, typecheck, audit, and installation smoke used for
70
70
  release readiness.
71
71
 
72
72
  For an explicitly planned release tag, validate it locally with
73
- `node scripts/version.mjs --check-tag v1.0.27`. This check does not create,
73
+ `node scripts/version.mjs --check-tag v1.0.28`. This check does not create,
74
74
  push, or publish the tag or a hosted release.
@@ -0,0 +1,71 @@
1
+ # v1.0.28 - Safe lifecycle and canonical release identity
2
+
3
+ This release adds an evidence-backed compatibility contract for the public
4
+ OpenCode orchestration kit while preserving the existing safe installation and
5
+ upgrade lifecycle.
6
+
7
+ ## Highlights
8
+
9
+ - A canonical `compatibility.json` contract for supported Node.js lines,
10
+ OpenCode boundaries, and exact plugin SDK and OpenTUI pins.
11
+ - Blocking CI coverage for Ubuntu on Node.js 22 and 24, macOS on Node.js 24,
12
+ and isolated OpenCode core smokes for versions 1.14.41 and 1.18.4.
13
+ - A separate scheduled and manually dispatchable Node.js 26 / OpenCode latest
14
+ canary whose failures remain visible without weakening release checks.
15
+ - A public compatibility matrix that distinguishes tested, supported,
16
+ experimental, and unsupported surfaces, including WSL2, native Windows, and
17
+ optional integrations.
18
+ - Credential-free compatibility smokes that copy only the packaged harness,
19
+ isolate HOME, XDG state, npm cache, and working directory, and reject private
20
+ path leakage.
21
+
22
+ ## Installation or upgrade
23
+
24
+ For a new installation, preview the complete ownership plan before applying it:
25
+
26
+ ```bash
27
+ ./install.sh --dry-run
28
+ ./install.sh
29
+ ```
30
+
31
+ For an existing manifest-owned installation, preview and apply the upgrade:
32
+
33
+ ```bash
34
+ ./upgrade.sh --dry-run
35
+ ./upgrade.sh
36
+ ./doctor.sh
37
+ ```
38
+
39
+ The supported runtime contract is Node.js `^22.9.0 || ^24.0.0` with OpenCode
40
+ `>=1.14.41 <2.0.0`. See `docs/compatibility.md` for the complete evidence and
41
+ status matrix.
42
+
43
+ ## Migration
44
+
45
+ No compatibility-data migration is required. Existing ownership manifests and
46
+ preserved user files keep their current lifecycle semantics. Operators moving
47
+ from an older kit version should follow the normal version-aware upgrade path
48
+ and review `upgrade --dry-run` before mutation.
49
+
50
+ Native Windows remains unsupported because the lifecycle wrappers require
51
+ Bash. WSL2 is experimental and should be treated as a Linux-hosted path rather
52
+ than a native Windows guarantee.
53
+
54
+ ## Validation performed
55
+
56
+ Release readiness was validated with 437 bundled tests, the version and
57
+ compatibility contracts, Node.js and OpenCode boundary smokes, TypeScript
58
+ typechecking, the configured moderate-threshold dependency audit, installation
59
+ smoke, diff checks, and the public leak scan. The audit reports three known
60
+ low-severity transitive findings below the configured failure threshold.
61
+
62
+ The blocking GitHub workflow exercises Ubuntu on Node.js 22 and 24, macOS on
63
+ Node.js 24, and OpenCode 1.14.41 and 1.18.4. The moving latest canary remains a
64
+ separate non-blocking observation.
65
+
66
+ ## Public safety boundary
67
+
68
+ The public package excludes private OpenCode configuration, local provider and
69
+ MCP wiring, credentials, authentication files, raw transcripts, private
70
+ evidence, user-specific absolute paths, and machine-local state. In particular,
71
+ the local SearXNG research integration is not part of this release.