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.
- package/.github/workflows/check.yml +48 -3
- package/.github/workflows/compatibility-canary.yml +28 -0
- package/README.md +9 -6
- package/compatibility.json +19 -0
- package/docs/compatibility.md +84 -0
- package/docs/installation.md +5 -1
- package/docs/quickstart.md +1 -1
- package/docs/releases/v1.0.28.md +71 -0
- package/docs/superpowers/plans/2026-07-21-compatibility-matrix.md +1286 -0
- package/docs/superpowers/specs/2026-07-21-compatibility-matrix-design.md +452 -0
- package/opencode/package-lock.json +6 -3
- package/opencode/package.json +3 -0
- package/package.json +5 -1
- package/scripts/check-compatibility.mjs +623 -0
- package/scripts/check-compatibility.test.mjs +1271 -0
- package/scripts/check.sh +7 -1
- package/scripts/opencode-compat-smoke.sh +174 -0
- package/scripts/version.mjs +18 -5
- package/scripts/version.test.mjs +53 -3
|
@@ -0,0 +1,452 @@
|
|
|
1
|
+
# Slice 1.4 Compatibility Matrix Design
|
|
2
|
+
|
|
3
|
+
**Status:** Draft for review
|
|
4
|
+
**Date:** 2026-07-21
|
|
5
|
+
**Repository:** `opencode-agent-orchestration-kit`
|
|
6
|
+
**Predecessors:** Slice 1.1 CI coverage, Slice 1.2 safe lifecycle, Slice 1.3 canonical release identity
|
|
7
|
+
|
|
8
|
+
## Summary
|
|
9
|
+
|
|
10
|
+
Slice 1.4 will replace the repository's broad compatibility claims with an
|
|
11
|
+
evidence-backed contract for Node.js, OpenCode, operating systems, the plugin
|
|
12
|
+
SDK, and optional integrations.
|
|
13
|
+
|
|
14
|
+
The public contract will distinguish four terms:
|
|
15
|
+
|
|
16
|
+
- `tested`: an exact combination has current automated or explicitly recorded
|
|
17
|
+
evidence;
|
|
18
|
+
- `supported`: the project accepts compatibility defects for the declared
|
|
19
|
+
range, backed by tested boundaries or representative environments;
|
|
20
|
+
- `experimental`: the integration may work, but failures do not block a
|
|
21
|
+
release and compatibility is not promised;
|
|
22
|
+
- `unsupported`: the project does not claim the combination works.
|
|
23
|
+
|
|
24
|
+
The supported OpenCode policy approved for this slice is
|
|
25
|
+
`>=1.14.41 <2.0.0`. It becomes an actual release claim only when the minimum
|
|
26
|
+
and the pinned current-stable boundary both pass the core smoke. Exact versions
|
|
27
|
+
executed by CI are `tested`; `opencode-ai@latest` remains a non-blocking canary.
|
|
28
|
+
|
|
29
|
+
## Problem
|
|
30
|
+
|
|
31
|
+
The current repository says that the core kit requires OpenCode and lists its
|
|
32
|
+
optional integrations, but it does not answer the operational questions a user
|
|
33
|
+
needs before installing:
|
|
34
|
+
|
|
35
|
+
- which Node.js lines are supported;
|
|
36
|
+
- which OpenCode range is supported and which versions were actually tested;
|
|
37
|
+
- whether the plugin SDK and OpenTUI pins match that claim;
|
|
38
|
+
- which macOS and Linux environments have evidence;
|
|
39
|
+
- whether native Windows or WSL is supported;
|
|
40
|
+
- whether optional integrations are release-blocking;
|
|
41
|
+
- what happens when upstream OpenCode changes.
|
|
42
|
+
|
|
43
|
+
The existing CI runs only on Ubuntu with Node.js 24. A local preflight on
|
|
44
|
+
macOS ARM64 with Node.js 24.14.1 and OpenCode 1.18.3 passed all 295 tests,
|
|
45
|
+
typecheck, and installation smoke, but local evidence must not be presented as
|
|
46
|
+
an evergreen CI guarantee.
|
|
47
|
+
|
|
48
|
+
## Goals
|
|
49
|
+
|
|
50
|
+
1. Publish one precise compatibility matrix with explicit status semantics.
|
|
51
|
+
2. Make Node.js and OpenCode compatibility mechanically verifiable.
|
|
52
|
+
3. Exercise the supported Node.js lines on Linux and macOS in blocking CI.
|
|
53
|
+
4. Exercise the lower OpenCode boundary and one pinned current-stable version
|
|
54
|
+
without provider credentials or optional network plugins.
|
|
55
|
+
5. Add a non-blocking canary against `opencode-ai@latest`.
|
|
56
|
+
6. Record the exact plugin SDK and OpenTUI versions shipped by the kit.
|
|
57
|
+
7. Classify optional integrations without turning them into core requirements.
|
|
58
|
+
8. Prevent documentation, package metadata, and workflows from drifting apart.
|
|
59
|
+
|
|
60
|
+
## Non-goals
|
|
61
|
+
|
|
62
|
+
- Updating OpenCode, `@opencode-ai/plugin`, OpenTUI, or optional integrations.
|
|
63
|
+
- Claiming native Windows support for the Bash lifecycle wrappers.
|
|
64
|
+
- Building a WSL runner or a custom self-hosted CI fleet.
|
|
65
|
+
- Testing every Linux distribution, CPU architecture, shell, model provider,
|
|
66
|
+
or OpenCode version inside the supported interval.
|
|
67
|
+
- Automatically opening issues, updating dependencies, or publishing releases
|
|
68
|
+
from the canary.
|
|
69
|
+
- Resolving the remaining low-severity dependency advisories. Those belong to
|
|
70
|
+
Slice 1.5 because npm proposes incompatible dependency changes.
|
|
71
|
+
- Pinning the unpinned Superpowers Git reference. That is also Slice 1.5 work.
|
|
72
|
+
|
|
73
|
+
## Decisions considered
|
|
74
|
+
|
|
75
|
+
### A. Evidence-backed range with tested boundaries — selected
|
|
76
|
+
|
|
77
|
+
Declare a supported OpenCode range, test its minimum and a pinned stable
|
|
78
|
+
version, and list the exact executions separately. This provides a useful
|
|
79
|
+
promise while keeping the evidence visible.
|
|
80
|
+
|
|
81
|
+
### B. Exact versions only
|
|
82
|
+
|
|
83
|
+
Declare only the exact OpenCode and Node.js versions executed in CI. This is
|
|
84
|
+
maximally conservative but would make the compatibility contract obsolete on
|
|
85
|
+
every upstream patch and provide little value to users.
|
|
86
|
+
|
|
87
|
+
### C. Rolling latest only
|
|
88
|
+
|
|
89
|
+
Test only the latest OpenCode release. This is simple but cannot defend the
|
|
90
|
+
minimum-version claim and would allow upstream releases to redefine the kit's
|
|
91
|
+
support policy without review.
|
|
92
|
+
|
|
93
|
+
## Canonical compatibility data
|
|
94
|
+
|
|
95
|
+
A new root `compatibility.json` will be the machine-readable source for values
|
|
96
|
+
that have more than one consumer. It will remain deliberately small and will
|
|
97
|
+
not become a general feature-flag system.
|
|
98
|
+
|
|
99
|
+
It will contain:
|
|
100
|
+
|
|
101
|
+
```json
|
|
102
|
+
{
|
|
103
|
+
"schema_version": 1,
|
|
104
|
+
"node": {
|
|
105
|
+
"engines": "^22.9.0 || ^24.0.0",
|
|
106
|
+
"blocking_majors": [22, 24],
|
|
107
|
+
"canary_major": 26
|
|
108
|
+
},
|
|
109
|
+
"opencode": {
|
|
110
|
+
"supported_range": ">=1.14.41 <2.0.0",
|
|
111
|
+
"minimum_tested": "1.14.41",
|
|
112
|
+
"stable_tested": "1.18.4",
|
|
113
|
+
"canary": "latest"
|
|
114
|
+
},
|
|
115
|
+
"sdk": {
|
|
116
|
+
"opencode_plugin": "1.14.41",
|
|
117
|
+
"opentui_core": "0.2.5",
|
|
118
|
+
"opentui_solid": "0.2.5"
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
`stable_tested` means the latest stable version deliberately pinned and proven
|
|
124
|
+
when the compatibility contract was last updated. It is not an alias for the
|
|
125
|
+
registry's moving `latest` tag. A later stable OpenCode release first appears
|
|
126
|
+
in the canary and becomes `stable_tested` only through a reviewed change.
|
|
127
|
+
|
|
128
|
+
The checker will require:
|
|
129
|
+
|
|
130
|
+
- both `package.json` files to use the exact Node `engines` value;
|
|
131
|
+
- `opencode/package.json` dependency pins to match `sdk`;
|
|
132
|
+
- the blocking CI matrix to contain exactly the declared Node majors;
|
|
133
|
+
- the OpenCode smoke matrix to contain `minimum_tested` and `stable_tested`;
|
|
134
|
+
- the canary to use the declared moving tag and remain non-blocking;
|
|
135
|
+
- the human matrix to expose the same range and exact versions.
|
|
136
|
+
|
|
137
|
+
This avoids several independent sources of compatibility truth while keeping
|
|
138
|
+
the normal package and workflow files readable.
|
|
139
|
+
|
|
140
|
+
## Initial public matrix
|
|
141
|
+
|
|
142
|
+
The implementation will publish the following statuses. `tested` entries must
|
|
143
|
+
include the exact version and environment emitted by CI; broad families remain
|
|
144
|
+
`supported`, not `tested`.
|
|
145
|
+
|
|
146
|
+
| Surface | Status | Contract |
|
|
147
|
+
|---|---|---|
|
|
148
|
+
| Node.js 22 | supported | 22.9.0 or newer within major 22; blocking CI |
|
|
149
|
+
| Node.js 24 | supported | major 24; blocking CI |
|
|
150
|
+
| Node.js 26 | experimental | non-blocking canary only |
|
|
151
|
+
| Node.js 20 and EOL/odd lines | unsupported | no release guarantee |
|
|
152
|
+
| OpenCode 1.14.41 | tested | minimum boundary in the blocking core smoke |
|
|
153
|
+
| OpenCode 1.18.4 | tested | pinned stable boundary in the blocking core smoke |
|
|
154
|
+
| OpenCode >=1.14.41 <2.0.0 | supported | boundary-tested compatibility promise |
|
|
155
|
+
| OpenCode <1.14.41 or >=2.0.0 | unsupported | requires a reviewed policy change |
|
|
156
|
+
| `@opencode-ai/plugin` 1.14.41 | tested | exact pin with install, import, and typecheck evidence |
|
|
157
|
+
| OpenTUI core/solid 0.2.5 | tested | exact pins with install, import, and typecheck evidence |
|
|
158
|
+
| Ubuntu GitHub runner | tested | blocking Node 22 and 24 jobs |
|
|
159
|
+
| macOS GitHub runner | tested | blocking Node 24 job; runner details recorded |
|
|
160
|
+
| Other mainstream Linux/macOS environments | supported | Bash, Node, and OpenCode must support the host |
|
|
161
|
+
| WSL2 | experimental | recommended upstream path, no kit-owned runner |
|
|
162
|
+
| Native Windows | unsupported | Bash lifecycle wrappers have no native contract |
|
|
163
|
+
| Token usage plugin | experimental | compile/import is tested; runtime session-tree behavior is not stable API evidence |
|
|
164
|
+
| Open Design Docker adapter | experimental | optional pinned image inputs, no blocking integration smoke |
|
|
165
|
+
| Superpowers | experimental | optional upstream Git plugin, not part of core smoke |
|
|
166
|
+
| Impeccable | experimental | optional externally installed skill |
|
|
167
|
+
|
|
168
|
+
The documentation must explain that `tested` is not a superset of
|
|
169
|
+
`supported`: it records exact evidence, while `supported` is the maintained
|
|
170
|
+
promise derived from that evidence.
|
|
171
|
+
|
|
172
|
+
## Blocking CI design
|
|
173
|
+
|
|
174
|
+
The existing workflow will keep one release-required suite but expand its
|
|
175
|
+
runtime evidence to these combinations:
|
|
176
|
+
|
|
177
|
+
```text
|
|
178
|
+
ubuntu-latest / Node 22
|
|
179
|
+
ubuntu-latest / Node 24
|
|
180
|
+
macos-latest / Node 24
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
Each blocking combination will run:
|
|
184
|
+
|
|
185
|
+
1. checkout;
|
|
186
|
+
2. setup of the selected Node.js line;
|
|
187
|
+
3. `npm --prefix opencode ci`;
|
|
188
|
+
4. contract check and all `node:test` suites;
|
|
189
|
+
5. token-plugin typecheck;
|
|
190
|
+
6. installation smoke.
|
|
191
|
+
|
|
192
|
+
Dependency audit and tag/version validation need run only once on the canonical
|
|
193
|
+
Ubuntu/Node 24 job. Their result remains release-blocking. The workflow must
|
|
194
|
+
not publish packages, create tags, or mutate repository contents.
|
|
195
|
+
|
|
196
|
+
The job will print the exact OS, architecture, Node.js, npm, OpenCode, plugin
|
|
197
|
+
SDK, and OpenTUI versions used. Documentation may cite a combination as
|
|
198
|
+
`tested` only when a current blocking job emits that evidence successfully.
|
|
199
|
+
|
|
200
|
+
## OpenCode core smoke
|
|
201
|
+
|
|
202
|
+
The core smoke will run on Ubuntu/Node 24 for the two declared OpenCode
|
|
203
|
+
boundaries. It will install the requested CLI version in an isolated temporary
|
|
204
|
+
environment and must not use the operator's global config, credentials, cache,
|
|
205
|
+
state, or inherited provider environment.
|
|
206
|
+
|
|
207
|
+
For each boundary it will verify:
|
|
208
|
+
|
|
209
|
+
```text
|
|
210
|
+
opencode --version
|
|
211
|
+
opencode debug agent lead --pure
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
The smoke will invoke OpenCode through an environment allowlist rather than
|
|
215
|
+
inheriting the caller's environment. It will preserve only the executable
|
|
216
|
+
`PATH` plus these temporary or explicit values:
|
|
217
|
+
|
|
218
|
+
```text
|
|
219
|
+
HOME
|
|
220
|
+
XDG_CONFIG_HOME
|
|
221
|
+
XDG_DATA_HOME
|
|
222
|
+
XDG_CACHE_HOME
|
|
223
|
+
XDG_STATE_HOME
|
|
224
|
+
npm_config_cache
|
|
225
|
+
OPENCODE_CONFIG_DIR
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
Every home, XDG, npm cache, and config path will live under one fresh temporary
|
|
229
|
+
root. Before invoking OpenCode, the smoke will copy the shipped `opencode/`
|
|
230
|
+
tree into that root while excluding generated or mutable directories such as
|
|
231
|
+
`node_modules` and `.oak`; `OPENCODE_CONFIG_DIR` will point at this isolated
|
|
232
|
+
copy. The copy must come from the working tree so local pre-commit validation
|
|
233
|
+
exercises the implementation being reviewed rather than `HEAD`.
|
|
234
|
+
|
|
235
|
+
The script must clear inherited provider/API variables by constructing this
|
|
236
|
+
allowlisted environment, clean the temporary root on exit, and reject output
|
|
237
|
+
containing the caller's original home or repository path. The smoke must not
|
|
238
|
+
use a symlink back to the checkout because OpenCode resolves skill locations
|
|
239
|
+
to absolute paths in `debug agent` output.
|
|
240
|
+
|
|
241
|
+
OpenCode's `--pure` flag disables external plugins, so the core smoke does not
|
|
242
|
+
fetch Superpowers, contact Open Design, or require a model provider. The smoke
|
|
243
|
+
deliberately avoids `debug config` because resolved configuration output is
|
|
244
|
+
unnecessary for the acceptance criteria and creates avoidable disclosure risk.
|
|
245
|
+
It must assert the exact CLI version and the presence of the shipped `lead`
|
|
246
|
+
agent; a zero exit alone is insufficient.
|
|
247
|
+
|
|
248
|
+
The core smoke does not prove the token-usage plugin runtime contract because
|
|
249
|
+
`--pure` intentionally excludes plugin execution. Token plugin install,
|
|
250
|
+
import, and typecheck remain blocking checks; session-tree behavior remains
|
|
251
|
+
experimental.
|
|
252
|
+
|
|
253
|
+
## Canary design
|
|
254
|
+
|
|
255
|
+
A separate scheduled and manually dispatchable workflow will run
|
|
256
|
+
`opencode-ai@latest` with the same isolated pure core smoke on Ubuntu/Node 26.
|
|
257
|
+
|
|
258
|
+
The canary will:
|
|
259
|
+
|
|
260
|
+
- use `continue-on-error` or an equivalent job-level non-blocking contract;
|
|
261
|
+
- print the resolved OpenCode version;
|
|
262
|
+
- read Node 26 from `compatibility.json.node.canary_major` through the same
|
|
263
|
+
checked workflow contract used by the blocking matrix;
|
|
264
|
+
- never modify `compatibility.json`;
|
|
265
|
+
- never update dependencies, open issues, publish packages, or create tags;
|
|
266
|
+
- fail visibly in its own workflow while leaving branch and release checks
|
|
267
|
+
unaffected.
|
|
268
|
+
|
|
269
|
+
Keeping the canary in a separate workflow makes its non-blocking semantics
|
|
270
|
+
auditable and prevents conditional logic from weakening the blocking workflow.
|
|
271
|
+
|
|
272
|
+
## Compatibility checker
|
|
273
|
+
|
|
274
|
+
A focused Node.js checker and `node:test` suite will validate the compatibility
|
|
275
|
+
contract. The checker will be invoked by the fast contract check.
|
|
276
|
+
|
|
277
|
+
It will reject:
|
|
278
|
+
|
|
279
|
+
- malformed or unknown compatibility schema versions;
|
|
280
|
+
- status terms outside the four defined values;
|
|
281
|
+
- Node engine drift between root and packaged harness manifests;
|
|
282
|
+
- dependency-pin drift from the canonical SDK fields;
|
|
283
|
+
- missing or extra blocking Node majors;
|
|
284
|
+
- missing OpenCode boundary jobs;
|
|
285
|
+
- a canary Node version that differs from `node.canary_major`;
|
|
286
|
+
- a canary that is release-blocking or uses a fixed version instead of the
|
|
287
|
+
declared moving tag;
|
|
288
|
+
- README or compatibility documentation that omits the supported OpenCode
|
|
289
|
+
range, supported Node lines, native Windows status, or optional-integration
|
|
290
|
+
boundary.
|
|
291
|
+
|
|
292
|
+
The checker will inspect committed files only. It will not query npm, GitHub,
|
|
293
|
+
or OpenCode at contract-check time.
|
|
294
|
+
|
|
295
|
+
## Documentation
|
|
296
|
+
|
|
297
|
+
`docs/compatibility.md` will be the complete human contract. The README's
|
|
298
|
+
existing compatibility section will become a concise summary linking to it.
|
|
299
|
+
|
|
300
|
+
The documentation will include:
|
|
301
|
+
|
|
302
|
+
- definitions of all four status terms;
|
|
303
|
+
- the matrix and exact evidence date/version fields;
|
|
304
|
+
- supported Node and OpenCode ranges;
|
|
305
|
+
- native Windows and WSL distinctions;
|
|
306
|
+
- the plugin SDK/OpenTUI pins;
|
|
307
|
+
- optional-integration classifications;
|
|
308
|
+
- how to interpret a failed latest canary;
|
|
309
|
+
- how maintainers promote a canary version to `stable_tested`;
|
|
310
|
+
- a statement that model-provider compatibility is outside this matrix.
|
|
311
|
+
|
|
312
|
+
Installation documentation will refer to the Node engine contract instead of
|
|
313
|
+
the current unversioned “Node.js and npm” requirement.
|
|
314
|
+
|
|
315
|
+
## Failure behavior
|
|
316
|
+
|
|
317
|
+
- A blocking matrix failure blocks branch/tag validation and release readiness.
|
|
318
|
+
- A minimum OpenCode smoke failure invalidates the supported lower bound and
|
|
319
|
+
blocks the slice until the bound or implementation is corrected.
|
|
320
|
+
- A pinned stable smoke failure blocks the slice and any release claiming that
|
|
321
|
+
version as tested.
|
|
322
|
+
- A latest canary failure is visible but does not block ordinary CI or release
|
|
323
|
+
checks. Maintainers decide whether to update compatibility, fix the kit, or
|
|
324
|
+
wait for upstream.
|
|
325
|
+
- An unavailable npm registry fails the blocking boundary smoke because the
|
|
326
|
+
evidence was not produced. The canary remains non-blocking.
|
|
327
|
+
- No failure path may fall back to the user's installed OpenCode binary or
|
|
328
|
+
credentials.
|
|
329
|
+
|
|
330
|
+
## Files expected to change
|
|
331
|
+
|
|
332
|
+
Public repository only:
|
|
333
|
+
|
|
334
|
+
- `compatibility.json` (new);
|
|
335
|
+
- `docs/compatibility.md` (new);
|
|
336
|
+
- `README.md`;
|
|
337
|
+
- `docs/installation.md`;
|
|
338
|
+
- `package.json`;
|
|
339
|
+
- `opencode/package.json`;
|
|
340
|
+
- `.github/workflows/check.yml`;
|
|
341
|
+
- `.github/workflows/compatibility-canary.yml` (new);
|
|
342
|
+
- `scripts/check-compatibility.mjs` (new);
|
|
343
|
+
- `scripts/check-compatibility.test.mjs` (new);
|
|
344
|
+
- `scripts/opencode-compat-smoke.sh` (new);
|
|
345
|
+
- `scripts/check.sh`.
|
|
346
|
+
|
|
347
|
+
`opencode/package-lock.json` changes only if adding `engines` through npm
|
|
348
|
+
causes a deterministic lockfile metadata update. Dependency versions must not
|
|
349
|
+
change as part of Slice 1.4.
|
|
350
|
+
|
|
351
|
+
The active private OpenCode configuration checkout is explicitly out of scope.
|
|
352
|
+
No provider, MCP, credential, raw transcript, absolute local path, or
|
|
353
|
+
machine-specific config may enter the public diff.
|
|
354
|
+
|
|
355
|
+
## Acceptance criteria
|
|
356
|
+
|
|
357
|
+
1. The four compatibility statuses are defined once and used consistently.
|
|
358
|
+
2. Node.js 22 and 24 are declared supported and pass their blocking jobs.
|
|
359
|
+
3. Node.js 26 is experimental and appears only in a non-blocking canary.
|
|
360
|
+
4. Both package manifests expose the canonical Node engine range.
|
|
361
|
+
5. OpenCode 1.14.41 and 1.18.4 pass isolated pure core smokes.
|
|
362
|
+
6. The public contract declares `>=1.14.41 <2.0.0` supported only after both
|
|
363
|
+
boundary smokes pass.
|
|
364
|
+
7. `@opencode-ai/plugin` and OpenTUI pins match the canonical compatibility
|
|
365
|
+
data and remain unchanged.
|
|
366
|
+
8. Ubuntu and macOS have blocking evidence; native Windows is explicitly
|
|
367
|
+
unsupported and WSL2 explicitly experimental.
|
|
368
|
+
9. Optional integrations cannot fail the core compatibility smoke.
|
|
369
|
+
10. The latest canary is scheduled/manual, visible, and non-blocking.
|
|
370
|
+
11. Mechanical tests fail when package, workflow, canary, or documentation
|
|
371
|
+
compatibility values drift.
|
|
372
|
+
12. `npm run check:release` passes locally after the change.
|
|
373
|
+
13. The public leak scan is clean and the private checkout is unchanged.
|
|
374
|
+
|
|
375
|
+
## Validation envelope
|
|
376
|
+
|
|
377
|
+
Focused validation:
|
|
378
|
+
|
|
379
|
+
```bash
|
|
380
|
+
node --test scripts/check-compatibility.test.mjs
|
|
381
|
+
node scripts/check-compatibility.mjs
|
|
382
|
+
bash scripts/opencode-compat-smoke.sh 1.14.41
|
|
383
|
+
bash scripts/opencode-compat-smoke.sh 1.18.4
|
|
384
|
+
```
|
|
385
|
+
|
|
386
|
+
Full validation:
|
|
387
|
+
|
|
388
|
+
```bash
|
|
389
|
+
npm run check:release
|
|
390
|
+
git diff --check
|
|
391
|
+
```
|
|
392
|
+
|
|
393
|
+
Remote evidence:
|
|
394
|
+
|
|
395
|
+
```text
|
|
396
|
+
blocking Ubuntu/Node 22 success
|
|
397
|
+
blocking Ubuntu/Node 24 success
|
|
398
|
+
blocking macOS/Node 24 success
|
|
399
|
+
minimum OpenCode smoke success
|
|
400
|
+
pinned stable OpenCode smoke success
|
|
401
|
+
latest canary result recorded but not required for release readiness
|
|
402
|
+
```
|
|
403
|
+
|
|
404
|
+
## Security and privacy
|
|
405
|
+
|
|
406
|
+
Compatibility jobs use only public package metadata and the public harness.
|
|
407
|
+
They must not receive model-provider secrets. Temporary config, cache, state,
|
|
408
|
+
and npm directories are removed on exit. Logs must not print environment
|
|
409
|
+
variables or home-directory contents.
|
|
410
|
+
|
|
411
|
+
The public-sync leak scan remains mandatory before commit. The compatibility
|
|
412
|
+
checker must not embed developer paths, private endpoints, provider names,
|
|
413
|
+
local MCP wiring, or raw session evidence.
|
|
414
|
+
|
|
415
|
+
## Rollback
|
|
416
|
+
|
|
417
|
+
Slice 1.4 has no installation-state or manifest migration. Rollback is a normal
|
|
418
|
+
Git revert of the compatibility commit. Removing the new workflows and checker
|
|
419
|
+
restores the prior CI behavior; installed users are unaffected because the
|
|
420
|
+
payload format and lifecycle manager do not change.
|
|
421
|
+
|
|
422
|
+
## Residual risks
|
|
423
|
+
|
|
424
|
+
- Boundary testing cannot prove every OpenCode patch inside the supported
|
|
425
|
+
interval.
|
|
426
|
+
- `--pure` validates the core config but deliberately does not prove optional
|
|
427
|
+
plugin runtime behavior.
|
|
428
|
+
- GitHub-hosted environments do not represent every supported Linux or macOS
|
|
429
|
+
host.
|
|
430
|
+
- WSL remains documentation-level experimental evidence until a reproducible
|
|
431
|
+
runner exists.
|
|
432
|
+
- OpenCode 2.x, a future plugin API change, or a future Node.js LTS line will
|
|
433
|
+
require an explicit compatibility update.
|
|
434
|
+
- The pinned SDK is older than the current OpenCode release line. This slice
|
|
435
|
+
exposes that fact but does not silently upgrade it.
|
|
436
|
+
|
|
437
|
+
## Handoff to implementation planning
|
|
438
|
+
|
|
439
|
+
After this specification passes independent review and human approval, the
|
|
440
|
+
implementation plan must preserve this sequence:
|
|
441
|
+
|
|
442
|
+
1. add failing compatibility contract tests;
|
|
443
|
+
2. add canonical data and checker;
|
|
444
|
+
3. add documentation and package engines;
|
|
445
|
+
4. add isolated OpenCode smoke;
|
|
446
|
+
5. expand blocking CI;
|
|
447
|
+
6. add the separate non-blocking canary;
|
|
448
|
+
7. run focused, full, leak, and private-checkout validations;
|
|
449
|
+
8. request independent implementation review before any release action.
|
|
450
|
+
|
|
451
|
+
No push, tag, GitHub Release, or npm publication is part of Slice 1.4 unless
|
|
452
|
+
the user requests it separately after implementation is complete.
|
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
"@opentui/core": "0.2.5",
|
|
10
10
|
"@opentui/solid": "0.2.5",
|
|
11
11
|
"solid-js": "1.9.12"
|
|
12
|
+
},
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": "^22.9.0 || ^24.0.0"
|
|
12
15
|
}
|
|
13
16
|
},
|
|
14
17
|
"node_modules/@ampproject/remapping": {
|
|
@@ -791,9 +794,9 @@
|
|
|
791
794
|
}
|
|
792
795
|
},
|
|
793
796
|
"node_modules/brace-expansion": {
|
|
794
|
-
"version": "2.1.
|
|
795
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.
|
|
796
|
-
"integrity": "sha512-
|
|
797
|
+
"version": "2.1.2",
|
|
798
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.2.tgz",
|
|
799
|
+
"integrity": "sha512-w5JZcKgdhDOgOwm8H+KgbosopHMuGcl6qbulwjtz3SM7I7P3yW1eAjzMPLrIE+NQ9vjgANKHWeMHnrT0OXW1oA==",
|
|
797
800
|
"license": "MIT",
|
|
798
801
|
"dependencies": {
|
|
799
802
|
"balanced-match": "^1.0.0"
|
package/opencode/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-agent-orchestration-kit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.28",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
|
+
"engines": {
|
|
8
|
+
"node": "^22.9.0 || ^24.0.0"
|
|
9
|
+
},
|
|
7
10
|
"scripts": {
|
|
8
11
|
"check:version": "node scripts/version.mjs --check",
|
|
12
|
+
"check:compatibility": "node scripts/check-compatibility.mjs",
|
|
9
13
|
"contract-check": "bash scripts/check.sh",
|
|
10
14
|
"unit-and-script-tests": "node --test scripts/*.test.mjs opencode/scripts/*.test.mjs",
|
|
11
15
|
"typecheck": "npm --prefix opencode exec -- tsc --noEmit --jsx preserve --jsxImportSource @opentui/solid --module NodeNext --moduleResolution NodeNext --target ES2022 --strict --skipLibCheck opencode/plugins/token-tree-usage.tsx",
|