opencode-agent-orchestration-kit 1.0.28 → 1.0.29

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.
@@ -14,26 +14,13 @@
14
14
  "node": "^22.9.0 || ^24.0.0"
15
15
  }
16
16
  },
17
- "node_modules/@ampproject/remapping": {
18
- "version": "2.3.0",
19
- "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz",
20
- "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==",
21
- "license": "Apache-2.0",
22
- "dependencies": {
23
- "@jridgewell/gen-mapping": "^0.3.5",
24
- "@jridgewell/trace-mapping": "^0.3.24"
25
- },
26
- "engines": {
27
- "node": ">=6.0.0"
28
- }
29
- },
30
17
  "node_modules/@babel/code-frame": {
31
- "version": "7.29.0",
32
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.0.tgz",
33
- "integrity": "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw==",
18
+ "version": "7.29.7",
19
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz",
20
+ "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==",
34
21
  "license": "MIT",
35
22
  "dependencies": {
36
- "@babel/helper-validator-identifier": "^7.28.5",
23
+ "@babel/helper-validator-identifier": "^7.29.7",
37
24
  "js-tokens": "^4.0.0",
38
25
  "picocolors": "^1.1.1"
39
26
  },
@@ -42,30 +29,30 @@
42
29
  }
43
30
  },
44
31
  "node_modules/@babel/compat-data": {
45
- "version": "7.29.3",
46
- "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.3.tgz",
47
- "integrity": "sha512-LIVqM46zQWZhj17qA8wb4nW/ixr2y1Nw+r1etiAWgRM6U1IqP+LNhL1yg440jYZR72jCWcWbLWzIosH+uP1fqg==",
32
+ "version": "7.29.7",
33
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.7.tgz",
34
+ "integrity": "sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg==",
48
35
  "license": "MIT",
49
36
  "engines": {
50
37
  "node": ">=6.9.0"
51
38
  }
52
39
  },
53
40
  "node_modules/@babel/core": {
54
- "version": "7.28.0",
55
- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.28.0.tgz",
56
- "integrity": "sha512-UlLAnTPrFdNGoFtbSXwcGFQBtQZJCNjaN6hQNP3UPvuNXT1i82N26KL3dZeIpNalWywr9IuQuncaAfUaS1g6sQ==",
41
+ "version": "7.29.7",
42
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.7.tgz",
43
+ "integrity": "sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA==",
57
44
  "license": "MIT",
58
45
  "dependencies": {
59
- "@ampproject/remapping": "^2.2.0",
60
- "@babel/code-frame": "^7.27.1",
61
- "@babel/generator": "^7.28.0",
62
- "@babel/helper-compilation-targets": "^7.27.2",
63
- "@babel/helper-module-transforms": "^7.27.3",
64
- "@babel/helpers": "^7.27.6",
65
- "@babel/parser": "^7.28.0",
66
- "@babel/template": "^7.27.2",
67
- "@babel/traverse": "^7.28.0",
68
- "@babel/types": "^7.28.0",
46
+ "@babel/code-frame": "^7.29.7",
47
+ "@babel/generator": "^7.29.7",
48
+ "@babel/helper-compilation-targets": "^7.29.7",
49
+ "@babel/helper-module-transforms": "^7.29.7",
50
+ "@babel/helpers": "^7.29.7",
51
+ "@babel/parser": "^7.29.7",
52
+ "@babel/template": "^7.29.7",
53
+ "@babel/traverse": "^7.29.7",
54
+ "@babel/types": "^7.29.7",
55
+ "@jridgewell/remapping": "^2.3.5",
69
56
  "convert-source-map": "^2.0.0",
70
57
  "debug": "^4.1.0",
71
58
  "gensync": "^1.0.0-beta.2",
@@ -81,13 +68,13 @@
81
68
  }
82
69
  },
83
70
  "node_modules/@babel/generator": {
84
- "version": "7.29.1",
85
- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.1.tgz",
86
- "integrity": "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw==",
71
+ "version": "7.29.7",
72
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.7.tgz",
73
+ "integrity": "sha512-DkXD5OJQaAQIdZ1bt3UZdEnHAn9Imd3IVBdX03UFe+ony9Ojw5pzr9YVKGDY1jt+Gcn/FnGkNf8r+Vj5NOJWtQ==",
87
74
  "license": "MIT",
88
75
  "dependencies": {
89
- "@babel/parser": "^7.29.0",
90
- "@babel/types": "^7.29.0",
76
+ "@babel/parser": "^7.29.7",
77
+ "@babel/types": "^7.29.7",
91
78
  "@jridgewell/gen-mapping": "^0.3.12",
92
79
  "@jridgewell/trace-mapping": "^0.3.28",
93
80
  "jsesc": "^3.0.2"
@@ -109,13 +96,13 @@
109
96
  }
110
97
  },
111
98
  "node_modules/@babel/helper-compilation-targets": {
112
- "version": "7.28.6",
113
- "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.28.6.tgz",
114
- "integrity": "sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA==",
99
+ "version": "7.29.7",
100
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.7.tgz",
101
+ "integrity": "sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g==",
115
102
  "license": "MIT",
116
103
  "dependencies": {
117
- "@babel/compat-data": "^7.28.6",
118
- "@babel/helper-validator-option": "^7.27.1",
104
+ "@babel/compat-data": "^7.29.7",
105
+ "@babel/helper-validator-option": "^7.29.7",
119
106
  "browserslist": "^4.24.0",
120
107
  "lru-cache": "^5.1.1",
121
108
  "semver": "^6.3.1"
@@ -146,9 +133,9 @@
146
133
  }
147
134
  },
148
135
  "node_modules/@babel/helper-globals": {
149
- "version": "7.28.0",
150
- "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.28.0.tgz",
151
- "integrity": "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==",
136
+ "version": "7.29.7",
137
+ "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.29.7.tgz",
138
+ "integrity": "sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==",
152
139
  "license": "MIT",
153
140
  "engines": {
154
141
  "node": ">=6.9.0"
@@ -168,27 +155,27 @@
168
155
  }
169
156
  },
170
157
  "node_modules/@babel/helper-module-imports": {
171
- "version": "7.28.6",
172
- "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.28.6.tgz",
173
- "integrity": "sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw==",
158
+ "version": "7.29.7",
159
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.29.7.tgz",
160
+ "integrity": "sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==",
174
161
  "license": "MIT",
175
162
  "dependencies": {
176
- "@babel/traverse": "^7.28.6",
177
- "@babel/types": "^7.28.6"
163
+ "@babel/traverse": "^7.29.7",
164
+ "@babel/types": "^7.29.7"
178
165
  },
179
166
  "engines": {
180
167
  "node": ">=6.9.0"
181
168
  }
182
169
  },
183
170
  "node_modules/@babel/helper-module-transforms": {
184
- "version": "7.28.6",
185
- "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.28.6.tgz",
186
- "integrity": "sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA==",
171
+ "version": "7.29.7",
172
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.29.7.tgz",
173
+ "integrity": "sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg==",
187
174
  "license": "MIT",
188
175
  "dependencies": {
189
- "@babel/helper-module-imports": "^7.28.6",
190
- "@babel/helper-validator-identifier": "^7.28.5",
191
- "@babel/traverse": "^7.28.6"
176
+ "@babel/helper-module-imports": "^7.29.7",
177
+ "@babel/helper-validator-identifier": "^7.29.7",
178
+ "@babel/traverse": "^7.29.7"
192
179
  },
193
180
  "engines": {
194
181
  "node": ">=6.9.0"
@@ -249,52 +236,52 @@
249
236
  }
250
237
  },
251
238
  "node_modules/@babel/helper-string-parser": {
252
- "version": "7.27.1",
253
- "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz",
254
- "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==",
239
+ "version": "7.29.7",
240
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz",
241
+ "integrity": "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==",
255
242
  "license": "MIT",
256
243
  "engines": {
257
244
  "node": ">=6.9.0"
258
245
  }
259
246
  },
260
247
  "node_modules/@babel/helper-validator-identifier": {
261
- "version": "7.28.5",
262
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz",
263
- "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==",
248
+ "version": "7.29.7",
249
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz",
250
+ "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==",
264
251
  "license": "MIT",
265
252
  "engines": {
266
253
  "node": ">=6.9.0"
267
254
  }
268
255
  },
269
256
  "node_modules/@babel/helper-validator-option": {
270
- "version": "7.27.1",
271
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.27.1.tgz",
272
- "integrity": "sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==",
257
+ "version": "7.29.7",
258
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.29.7.tgz",
259
+ "integrity": "sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw==",
273
260
  "license": "MIT",
274
261
  "engines": {
275
262
  "node": ">=6.9.0"
276
263
  }
277
264
  },
278
265
  "node_modules/@babel/helpers": {
279
- "version": "7.29.2",
280
- "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.2.tgz",
281
- "integrity": "sha512-HoGuUs4sCZNezVEKdVcwqmZN8GoHirLUcLaYVNBK2J0DadGtdcqgr3BCbvH8+XUo4NGjNl3VOtSjEKNzqfFgKw==",
266
+ "version": "7.29.7",
267
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.7.tgz",
268
+ "integrity": "sha512-1k2lAGRMfHTcwuNYcCNUmaUffmQv8KWMfh2iJUUeRlwlwH4FdNG7mfPI10NPfLHJFThE4Tyr4mv7kTNZOiPuBg==",
282
269
  "license": "MIT",
283
270
  "dependencies": {
284
- "@babel/template": "^7.28.6",
285
- "@babel/types": "^7.29.0"
271
+ "@babel/template": "^7.29.7",
272
+ "@babel/types": "^7.29.7"
286
273
  },
287
274
  "engines": {
288
275
  "node": ">=6.9.0"
289
276
  }
290
277
  },
291
278
  "node_modules/@babel/parser": {
292
- "version": "7.29.3",
293
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.3.tgz",
294
- "integrity": "sha512-b3ctpQwp+PROvU/cttc4OYl4MzfJUWy6FZg+PMXfzmt/+39iHVF0sDfqay8TQM3JA2EUOyKcFZt75jWriQijsA==",
279
+ "version": "7.29.7",
280
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.7.tgz",
281
+ "integrity": "sha512-hnORnjP/1P/zFEndoeX+n+t1RwWRJiJpM/jO7FW32Kn9r5+sJB2JWOdYo4L6k78j15eCwY3Gm/7364B1EMwtNg==",
295
282
  "license": "MIT",
296
283
  "dependencies": {
297
- "@babel/types": "^7.29.0"
284
+ "@babel/types": "^7.29.7"
298
285
  },
299
286
  "bin": {
300
287
  "parser": "bin/babel-parser.js"
@@ -388,31 +375,31 @@
388
375
  }
389
376
  },
390
377
  "node_modules/@babel/template": {
391
- "version": "7.28.6",
392
- "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.28.6.tgz",
393
- "integrity": "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==",
378
+ "version": "7.29.7",
379
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.29.7.tgz",
380
+ "integrity": "sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==",
394
381
  "license": "MIT",
395
382
  "dependencies": {
396
- "@babel/code-frame": "^7.28.6",
397
- "@babel/parser": "^7.28.6",
398
- "@babel/types": "^7.28.6"
383
+ "@babel/code-frame": "^7.29.7",
384
+ "@babel/parser": "^7.29.7",
385
+ "@babel/types": "^7.29.7"
399
386
  },
400
387
  "engines": {
401
388
  "node": ">=6.9.0"
402
389
  }
403
390
  },
404
391
  "node_modules/@babel/traverse": {
405
- "version": "7.29.0",
406
- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.0.tgz",
407
- "integrity": "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA==",
392
+ "version": "7.29.7",
393
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.7.tgz",
394
+ "integrity": "sha512-EhlfNQtZ+NK22w5BM61ciuiq1m58ed33Wr1Xan//ZRTy6hgjnwyCffRYwzsGXdASJSUJ1guZILsErh1eQcl+zw==",
408
395
  "license": "MIT",
409
396
  "dependencies": {
410
- "@babel/code-frame": "^7.29.0",
411
- "@babel/generator": "^7.29.0",
412
- "@babel/helper-globals": "^7.28.0",
413
- "@babel/parser": "^7.29.0",
414
- "@babel/template": "^7.28.6",
415
- "@babel/types": "^7.29.0",
397
+ "@babel/code-frame": "^7.29.7",
398
+ "@babel/generator": "^7.29.7",
399
+ "@babel/helper-globals": "^7.29.7",
400
+ "@babel/parser": "^7.29.7",
401
+ "@babel/template": "^7.29.7",
402
+ "@babel/types": "^7.29.7",
416
403
  "debug": "^4.3.1"
417
404
  },
418
405
  "engines": {
@@ -420,13 +407,13 @@
420
407
  }
421
408
  },
422
409
  "node_modules/@babel/types": {
423
- "version": "7.29.0",
424
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.0.tgz",
425
- "integrity": "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==",
410
+ "version": "7.29.7",
411
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.7.tgz",
412
+ "integrity": "sha512-4zBIxpPzowiZpusoFkyGVwakdRJUyuH5PxQ/PrqghfdFWWasvnCdPfQXHrenDai+gyLARulZjZowCOj6fjT4pA==",
426
413
  "license": "MIT",
427
414
  "dependencies": {
428
- "@babel/helper-string-parser": "^7.27.1",
429
- "@babel/helper-validator-identifier": "^7.28.5"
415
+ "@babel/helper-string-parser": "^7.29.7",
416
+ "@babel/helper-validator-identifier": "^7.29.7"
430
417
  },
431
418
  "engines": {
432
419
  "node": ">=6.9.0"
@@ -442,6 +429,16 @@
442
429
  "@jridgewell/trace-mapping": "^0.3.24"
443
430
  }
444
431
  },
432
+ "node_modules/@jridgewell/remapping": {
433
+ "version": "2.3.5",
434
+ "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz",
435
+ "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==",
436
+ "license": "MIT",
437
+ "dependencies": {
438
+ "@jridgewell/gen-mapping": "^0.3.5",
439
+ "@jridgewell/trace-mapping": "^0.3.24"
440
+ }
441
+ },
445
442
  "node_modules/@jridgewell/resolve-uri": {
446
443
  "version": "3.1.2",
447
444
  "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
@@ -9,6 +9,7 @@
9
9
  "solid-js": "1.9.12"
10
10
  },
11
11
  "overrides": {
12
- "uuid": "^14.0.0"
12
+ "@babel/core": "7.29.7",
13
+ "uuid": "14.0.0"
13
14
  }
14
15
  }
package/package.json CHANGED
@@ -1,23 +1,45 @@
1
1
  {
2
2
  "name": "opencode-agent-orchestration-kit",
3
- "version": "1.0.28",
3
+ "version": "1.0.29",
4
4
  "private": false,
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
+ "files": [
8
+ "CODE_OF_CONDUCT.md",
9
+ "CONTRIBUTING.md",
10
+ "NOTICE.md",
11
+ "README.md",
12
+ "SECURITY.md",
13
+ "compatibility.json",
14
+ "docker/",
15
+ "docs/",
16
+ "doctor.sh",
17
+ "env.example",
18
+ "install.sh",
19
+ "opencode/",
20
+ "rollback.sh",
21
+ "scripts/",
22
+ "supply-chain.json",
23
+ "uninstall.sh",
24
+ "upgrade.sh"
25
+ ],
7
26
  "engines": {
8
27
  "node": "^22.9.0 || ^24.0.0"
9
28
  },
10
29
  "scripts": {
11
30
  "check:version": "node scripts/version.mjs --check",
12
31
  "check:compatibility": "node scripts/check-compatibility.mjs",
32
+ "check:supply-chain": "node scripts/check-supply-chain.mjs",
13
33
  "contract-check": "bash scripts/check.sh",
14
34
  "unit-and-script-tests": "node --test scripts/*.test.mjs opencode/scripts/*.test.mjs",
15
35
  "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",
16
- "dependency-audit": "npm --prefix opencode audit --omit=dev --audit-level=moderate",
36
+ "dependency-audit": "npm --prefix opencode audit --omit=dev --audit-level=low",
37
+ "dependency-signature-audit": "npm --prefix opencode audit signatures",
17
38
  "installation-smoke": "bash scripts/install-smoke.sh",
39
+ "package-smoke": "bash scripts/package-smoke.sh",
18
40
  "check:quick": "npm run contract-check",
19
41
  "check": "npm run contract-check && npm run unit-and-script-tests",
20
- "check:release": "npm --prefix opencode ci && npm run check && npm run typecheck && npm run dependency-audit && npm run installation-smoke",
42
+ "check:release": "npm --prefix opencode ci --ignore-scripts && npm run check && npm run typecheck && npm run dependency-audit && npm run dependency-signature-audit && npm run installation-smoke && npm run package-smoke",
21
43
  "lint": "npm run contract-check",
22
44
  "format": "echo 'No formatter configured. Markdown and shell are intentionally plain.'"
23
45
  }
@@ -167,6 +167,21 @@ function validatePackages(root, data, fsOps) {
167
167
  if (rootPackage.engines?.node !== data.node.engines) {
168
168
  throw invalid("package.json engines.node must match compatibility.json node.engines");
169
169
  }
170
+ const expectedReleaseGate = [
171
+ "npm --prefix opencode ci --ignore-scripts",
172
+ "npm run check",
173
+ "npm run typecheck",
174
+ "npm run dependency-audit",
175
+ "npm run dependency-signature-audit",
176
+ "npm run installation-smoke",
177
+ "npm run package-smoke",
178
+ ].join(" && ");
179
+ if (rootPackage.scripts?.["check:release"] !== expectedReleaseGate) {
180
+ throw invalid("package.json check:release must use the exact reproducible artifact command order");
181
+ }
182
+ if (rootPackage.scripts?.["check:supply-chain"] !== "node scripts/check-supply-chain.mjs") {
183
+ throw invalid("package.json check:supply-chain must be exactly node scripts/check-supply-chain.mjs");
184
+ }
170
185
 
171
186
  const packagedPackage = readJson(root, "opencode/package.json", fsOps);
172
187
  if (packagedPackage.engines?.node !== data.node.engines) {
@@ -369,25 +384,33 @@ function validateOpenCodeBoundaryJob(workflow, data) {
369
384
  );
370
385
  const versions = [data.opencode.minimum_tested, data.opencode.stable_tested]
371
386
  .sort(compareStableVersions);
387
+ const smokeMatrix = [
388
+ { mode: "core", opencode: versions[0] },
389
+ { mode: "core", opencode: versions[1] },
390
+ { mode: "default", opencode: versions[1] },
391
+ ];
372
392
  const expectedJob = [
373
393
  " opencode-compatibility:",
374
394
  " runs-on: ubuntu-latest",
375
395
  " strategy:",
376
396
  " fail-fast: false",
377
397
  " matrix:",
378
- " opencode:",
379
- ...versions.map((version) => ` - "${version}"`),
398
+ " include:",
399
+ ...smokeMatrix.flatMap(({ mode, opencode }) => [
400
+ ` - mode: ${mode}`,
401
+ ` opencode: "${opencode}"`,
402
+ ]),
380
403
  " steps:",
381
404
  " - name: Checkout",
382
- " uses: actions/checkout@v4",
405
+ " uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6",
383
406
  "",
384
407
  " - name: Setup Node",
385
- " uses: actions/setup-node@v4",
408
+ " uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6",
386
409
  " with:",
387
410
  " node-version: 24",
388
411
  "",
389
412
  " - name: Smoke OpenCode boundary",
390
- ' run: bash scripts/opencode-compat-smoke.sh "${{ matrix.opencode }}"',
413
+ ' run: bash scripts/opencode-compat-smoke.sh "${{ matrix.mode }}" "${{ matrix.opencode }}"',
391
414
  ].join("\n");
392
415
  const actualJob = marked.replace(/^\n/, "").replace(/\n $/, "");
393
416
  const jobsBody = extractJobsBody(workflow);
@@ -406,7 +429,7 @@ function validateOpenCodeBoundaryJob(workflow, data) {
406
429
  || completeJob.body.trimEnd() !== expectedCompleteJob
407
430
  ) {
408
431
  throw invalid(
409
- `OpenCode boundary job must exactly test ${versions.join(", ")} on Node 24 through the isolated matrix wrapper`,
432
+ `OpenCode boundary job must exactly test core/${versions[0]}, core/${versions[1]}, default/${versions[1]} on Node 24 through the isolated matrix wrapper`,
410
433
  );
411
434
  }
412
435
  }
@@ -481,9 +504,21 @@ function validateWorkflow(root, data, fsOps) {
481
504
  ])) {
482
505
  throw invalid("workflow dependency audit guard must be exact");
483
506
  }
507
+ const signatureStep = extractWorkflowStep(blockingJob, "Verify dependency signatures");
508
+ if (JSON.stringify(signatureStep.match(/^ if:.*$/gm)) !== JSON.stringify([
509
+ " if: matrix.canonical",
510
+ ]) || !signatureStep.includes("run: npm run dependency-signature-audit")) {
511
+ throw invalid("workflow dependency signature audit guard must be exact");
512
+ }
513
+ const packageSmokeStep = extractWorkflowStep(blockingJob, "Smoke npm package");
514
+ if (JSON.stringify(packageSmokeStep.match(/^ if:.*$/gm)) !== JSON.stringify([
515
+ " if: matrix.canonical",
516
+ ]) || !packageSmokeStep.includes("run: npm run package-smoke")) {
517
+ throw invalid("workflow package smoke guard must be exact");
518
+ }
484
519
 
485
520
  for (const [snippet, label] of [
486
- ["working-directory: opencode\n run: npm ci", "install OpenCode tool dependencies"],
521
+ ["working-directory: opencode\n run: npm ci --ignore-scripts", "install OpenCode tool dependencies"],
487
522
  ["run: npm run contract-check", "contract check"],
488
523
  ["run: npm run unit-and-script-tests", "unit and script tests"],
489
524
  ["run: npm run typecheck", "token plugin typecheck"],
@@ -515,9 +550,23 @@ function validateWorkflow(root, data, fsOps) {
515
550
  if (!/^permissions:\n contents: read$/m.test(workflow) || /^\s*[^#\n]+:\s*(?:write|write-all)\s*$/m.test(workflow)) {
516
551
  throw invalid("workflow must use read-only permissions");
517
552
  }
518
- if (/^\s*(?:run:\s*)?.*\b(?:npm|pnpm|yarn)\s+publish\b/m.test(workflow) || /\bgh\s+release\s+create\b/.test(workflow)) {
519
- throw invalid("workflow must not publish");
553
+ const activeWorkflow = workflow
554
+ .split("\n")
555
+ .filter((line) => !line.trimStart().startsWith("#"))
556
+ .join("\n");
557
+ if (
558
+ /^\s*(?:run:\s*)?.*\b(?:npm|pnpm|yarn)\s+publish\b/m.test(activeWorkflow)
559
+ || /\bgh\s+release\s+(?:create|edit|delete|upload)\b/.test(activeWorkflow)
560
+ || /\bgh\s+api\b[^\n]*(?:(?:-X)(?:=|\s*)|--method(?:=|\s+))(?:POST|PUT|PATCH|DELETE)\b/i.test(activeWorkflow)
561
+ || /\bnpm\s+(?:unpublish|deprecate)\b/.test(activeWorkflow)
562
+ || /\bnpm\s+dist-tag\s+(?:add|rm)\b/.test(activeWorkflow)
563
+ || /\bgit\s+(?:tag|push|commit)\b/.test(activeWorkflow)
564
+ || /actions\/(?:cache|upload-artifact|download-artifact)@/.test(activeWorkflow)
565
+ || /^\s*cache:\s*/m.test(activeWorkflow)
566
+ ) {
567
+ throw invalid("workflow must not publish, release, upload, mutate, cache, or use artifacts");
520
568
  }
569
+
521
570
  }
522
571
 
523
572
  function validateCompatibilityCanary(root, data, fsOps) {
@@ -539,17 +588,17 @@ function validateCompatibilityCanary(root, data, fsOps) {
539
588
  " runs-on: ubuntu-latest",
540
589
  " steps:",
541
590
  " - name: Checkout",
542
- " uses: actions/checkout@v4",
591
+ " uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6",
543
592
  " with:",
544
593
  " persist-credentials: false",
545
594
  "",
546
595
  " - name: Setup Node",
547
- " uses: actions/setup-node@v4",
596
+ " uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6",
548
597
  " with:",
549
598
  ` node-version: ${data.node.canary_major}`,
550
599
  "",
551
600
  " - name: Smoke latest OpenCode",
552
- ` run: bash scripts/opencode-compat-smoke.sh ${data.opencode.canary}`,
601
+ ` run: bash scripts/opencode-compat-smoke.sh core ${data.opencode.canary}`,
553
602
  ].join("\n");
554
603
  const expectedWorkflow = [
555
604
  "name: Compatibility Canary",
@@ -608,6 +657,10 @@ function validateSurfaces(root, data, fsOps) {
608
657
  validateDocumentation(root, data, fsOps);
609
658
  validateWorkflow(root, data, fsOps);
610
659
  validateCompatibilityCanary(root, data, fsOps);
660
+ const installSmoke = readRegularText(root, "scripts/install-smoke.sh", fsOps);
661
+ if (!/^\s*npm ci --ignore-scripts\s*$/m.test(installSmoke)) {
662
+ throw invalid("installation smoke must use npm ci --ignore-scripts");
663
+ }
611
664
  }
612
665
 
613
666
  if (path.resolve(process.argv[1] ?? "") === SCRIPT_PATH) {