opencode-agent-orchestration-kit 1.1.1 → 1.2.1
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 +11 -5
- package/docs/models.md +1 -1
- package/docs/releases/v1.2.0.md +79 -0
- package/docs/releases/v1.2.1.md +75 -0
- package/docs/supply-chain.md +25 -7
- package/docs/workflows.md +3 -1
- package/opencode/agents/developer.md +2 -1
- package/opencode/agents/lead.md +2 -1
- package/opencode/agents/reviewer.md +1 -1
- package/opencode/commands/autonomous.md +9 -5
- package/opencode/commands/loop-status.md +2 -2
- package/opencode/commands/loop.md +19 -5
- package/opencode/docs/ai/harness/agents.md +3 -1
- package/opencode/docs/ai/harness/commands.md +5 -1
- package/opencode/package-lock.json +52 -313
- package/opencode/package.json +6 -2
- package/opencode/scripts/check-harness.mjs +22 -3
- package/opencode/scripts/check-harness.test.mjs +82 -4
- package/opencode/skills/oak-adversarial-review/SKILL.md +73 -11
- package/opencode/skills/test-driven-development/SKILL.md +17 -2
- package/package.json +1 -1
- package/scripts/benchmark-tool-paths.mjs +1 -1
- package/scripts/check-public-boundary.mjs +1 -1
- package/scripts/check-public-boundary.test.mjs +12 -0
- package/scripts/check-supply-chain.mjs +16 -4
- package/scripts/check-supply-chain.test.mjs +52 -16
- package/scripts/check.sh +2 -2
- package/scripts/oc-switch.mjs +54 -7
- package/scripts/oc-switch.test.mjs +106 -0
- package/scripts/package-smoke.test.mjs +3 -3
- package/scripts/version.test.mjs +2 -2
- package/supply-chain.json +6 -2
|
@@ -419,6 +419,12 @@
|
|
|
419
419
|
"node": ">=6.9.0"
|
|
420
420
|
}
|
|
421
421
|
},
|
|
422
|
+
"node_modules/@isaacs/nonrecursive-glob-match": {
|
|
423
|
+
"version": "1.1.0",
|
|
424
|
+
"resolved": "https://registry.npmjs.org/@isaacs/nonrecursive-glob-match/-/nonrecursive-glob-match-1.1.0.tgz",
|
|
425
|
+
"integrity": "sha512-GPm/Dbvk5RLmhRnxXIa7nTpK0xtl4E0wj0MslsuNiJ1FIROU+2+9lgUC/dgF7Ey4QCWhfEsgxilMRMCdHPfDfw==",
|
|
426
|
+
"license": "BlueOak-1.0.0"
|
|
427
|
+
},
|
|
422
428
|
"node_modules/@jridgewell/gen-mapping": {
|
|
423
429
|
"version": "0.3.13",
|
|
424
430
|
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
|
|
@@ -464,84 +470,6 @@
|
|
|
464
470
|
"@jridgewell/sourcemap-codec": "^1.4.14"
|
|
465
471
|
}
|
|
466
472
|
},
|
|
467
|
-
"node_modules/@msgpackr-extract/msgpackr-extract-darwin-arm64": {
|
|
468
|
-
"version": "3.0.3",
|
|
469
|
-
"resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-darwin-arm64/-/msgpackr-extract-darwin-arm64-3.0.3.tgz",
|
|
470
|
-
"integrity": "sha512-QZHtlVgbAdy2zAqNA9Gu1UpIuI8Xvsd1v8ic6B2pZmeFnFcMWiPLfWXh7TVw4eGEZ/C9TH281KwhVoeQUKbyjw==",
|
|
471
|
-
"cpu": [
|
|
472
|
-
"arm64"
|
|
473
|
-
],
|
|
474
|
-
"license": "MIT",
|
|
475
|
-
"optional": true,
|
|
476
|
-
"os": [
|
|
477
|
-
"darwin"
|
|
478
|
-
]
|
|
479
|
-
},
|
|
480
|
-
"node_modules/@msgpackr-extract/msgpackr-extract-darwin-x64": {
|
|
481
|
-
"version": "3.0.3",
|
|
482
|
-
"resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-darwin-x64/-/msgpackr-extract-darwin-x64-3.0.3.tgz",
|
|
483
|
-
"integrity": "sha512-mdzd3AVzYKuUmiWOQ8GNhl64/IoFGol569zNRdkLReh6LRLHOXxU4U8eq0JwaD8iFHdVGqSy4IjFL4reoWCDFw==",
|
|
484
|
-
"cpu": [
|
|
485
|
-
"x64"
|
|
486
|
-
],
|
|
487
|
-
"license": "MIT",
|
|
488
|
-
"optional": true,
|
|
489
|
-
"os": [
|
|
490
|
-
"darwin"
|
|
491
|
-
]
|
|
492
|
-
},
|
|
493
|
-
"node_modules/@msgpackr-extract/msgpackr-extract-linux-arm": {
|
|
494
|
-
"version": "3.0.3",
|
|
495
|
-
"resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-linux-arm/-/msgpackr-extract-linux-arm-3.0.3.tgz",
|
|
496
|
-
"integrity": "sha512-fg0uy/dG/nZEXfYilKoRe7yALaNmHoYeIoJuJ7KJ+YyU2bvY8vPv27f7UKhGRpY6euFYqEVhxCFZgAUNQBM3nw==",
|
|
497
|
-
"cpu": [
|
|
498
|
-
"arm"
|
|
499
|
-
],
|
|
500
|
-
"license": "MIT",
|
|
501
|
-
"optional": true,
|
|
502
|
-
"os": [
|
|
503
|
-
"linux"
|
|
504
|
-
]
|
|
505
|
-
},
|
|
506
|
-
"node_modules/@msgpackr-extract/msgpackr-extract-linux-arm64": {
|
|
507
|
-
"version": "3.0.3",
|
|
508
|
-
"resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-linux-arm64/-/msgpackr-extract-linux-arm64-3.0.3.tgz",
|
|
509
|
-
"integrity": "sha512-YxQL+ax0XqBJDZiKimS2XQaf+2wDGVa1enVRGzEvLLVFeqa5kx2bWbtcSXgsxjQB7nRqqIGFIcLteF/sHeVtQg==",
|
|
510
|
-
"cpu": [
|
|
511
|
-
"arm64"
|
|
512
|
-
],
|
|
513
|
-
"license": "MIT",
|
|
514
|
-
"optional": true,
|
|
515
|
-
"os": [
|
|
516
|
-
"linux"
|
|
517
|
-
]
|
|
518
|
-
},
|
|
519
|
-
"node_modules/@msgpackr-extract/msgpackr-extract-linux-x64": {
|
|
520
|
-
"version": "3.0.3",
|
|
521
|
-
"resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-linux-x64/-/msgpackr-extract-linux-x64-3.0.3.tgz",
|
|
522
|
-
"integrity": "sha512-cvwNfbP07pKUfq1uH+S6KJ7dT9K8WOE4ZiAcsrSes+UY55E/0jLYc+vq+DO7jlmqRb5zAggExKm0H7O/CBaesg==",
|
|
523
|
-
"cpu": [
|
|
524
|
-
"x64"
|
|
525
|
-
],
|
|
526
|
-
"license": "MIT",
|
|
527
|
-
"optional": true,
|
|
528
|
-
"os": [
|
|
529
|
-
"linux"
|
|
530
|
-
]
|
|
531
|
-
},
|
|
532
|
-
"node_modules/@msgpackr-extract/msgpackr-extract-win32-x64": {
|
|
533
|
-
"version": "3.0.3",
|
|
534
|
-
"resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-win32-x64/-/msgpackr-extract-win32-x64-3.0.3.tgz",
|
|
535
|
-
"integrity": "sha512-x0fWaQtYp4E6sktbsdAqnehxDgEc/VwM7uLsRCYWaiGu0ykYdZPiS8zCWdnjHwyiumousxfBm4SO31eXqwEZhQ==",
|
|
536
|
-
"cpu": [
|
|
537
|
-
"x64"
|
|
538
|
-
],
|
|
539
|
-
"license": "MIT",
|
|
540
|
-
"optional": true,
|
|
541
|
-
"os": [
|
|
542
|
-
"win32"
|
|
543
|
-
]
|
|
544
|
-
},
|
|
545
473
|
"node_modules/@opencode-ai/plugin": {
|
|
546
474
|
"version": "1.14.41",
|
|
547
475
|
"resolved": "https://registry.npmjs.org/@opencode-ai/plugin/-/plugin-1.14.41.tgz",
|
|
@@ -695,12 +623,6 @@
|
|
|
695
623
|
"solid-js": "1.9.12"
|
|
696
624
|
}
|
|
697
625
|
},
|
|
698
|
-
"node_modules/@standard-schema/spec": {
|
|
699
|
-
"version": "1.1.0",
|
|
700
|
-
"resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz",
|
|
701
|
-
"integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==",
|
|
702
|
-
"license": "MIT"
|
|
703
|
-
},
|
|
704
626
|
"node_modules/ansi-regex": {
|
|
705
627
|
"version": "6.2.2",
|
|
706
628
|
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz",
|
|
@@ -794,9 +716,9 @@
|
|
|
794
716
|
}
|
|
795
717
|
},
|
|
796
718
|
"node_modules/brace-expansion": {
|
|
797
|
-
"version": "5.0.
|
|
798
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.
|
|
799
|
-
"integrity": "sha512-
|
|
719
|
+
"version": "5.0.12",
|
|
720
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.12.tgz",
|
|
721
|
+
"integrity": "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==",
|
|
800
722
|
"license": "MIT",
|
|
801
723
|
"dependencies": {
|
|
802
724
|
"balanced-match": "^4.0.2"
|
|
@@ -910,16 +832,6 @@
|
|
|
910
832
|
}
|
|
911
833
|
}
|
|
912
834
|
},
|
|
913
|
-
"node_modules/detect-libc": {
|
|
914
|
-
"version": "2.1.2",
|
|
915
|
-
"resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
|
|
916
|
-
"integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
|
|
917
|
-
"license": "Apache-2.0",
|
|
918
|
-
"optional": true,
|
|
919
|
-
"engines": {
|
|
920
|
-
"node": ">=8"
|
|
921
|
-
}
|
|
922
|
-
},
|
|
923
835
|
"node_modules/diff": {
|
|
924
836
|
"version": "9.0.0",
|
|
925
837
|
"resolved": "https://registry.npmjs.org/diff/-/diff-9.0.0.tgz",
|
|
@@ -930,22 +842,10 @@
|
|
|
930
842
|
}
|
|
931
843
|
},
|
|
932
844
|
"node_modules/effect": {
|
|
933
|
-
"version": "4.0.
|
|
934
|
-
"resolved": "https://registry.npmjs.org/effect/-/effect-4.0.
|
|
935
|
-
"integrity": "sha512-
|
|
936
|
-
"license": "MIT"
|
|
937
|
-
"dependencies": {
|
|
938
|
-
"@standard-schema/spec": "^1.1.0",
|
|
939
|
-
"fast-check": "^4.6.0",
|
|
940
|
-
"find-my-way-ts": "^0.1.6",
|
|
941
|
-
"ini": "^6.0.0",
|
|
942
|
-
"kubernetes-types": "^1.30.0",
|
|
943
|
-
"msgpackr": "^1.11.9",
|
|
944
|
-
"multipasta": "^0.2.7",
|
|
945
|
-
"toml": "^4.1.1",
|
|
946
|
-
"uuid": "^13.0.0",
|
|
947
|
-
"yaml": "^2.8.3"
|
|
948
|
-
}
|
|
845
|
+
"version": "4.0.7",
|
|
846
|
+
"resolved": "https://registry.npmjs.org/effect/-/effect-4.0.7.tgz",
|
|
847
|
+
"integrity": "sha512-47CiUzNAmeLr40pDT9vKMxxtB8o3bdpZEKU4IUM3fVxsK2GYzPsV7fQoZP0I41A308BZd71nMxqJ0KRh3s9u2g==",
|
|
848
|
+
"license": "MIT"
|
|
949
849
|
},
|
|
950
850
|
"node_modules/electron-to-chromium": {
|
|
951
851
|
"version": "1.5.420",
|
|
@@ -989,28 +889,6 @@
|
|
|
989
889
|
"node": ">=6"
|
|
990
890
|
}
|
|
991
891
|
},
|
|
992
|
-
"node_modules/fast-check": {
|
|
993
|
-
"version": "4.7.0",
|
|
994
|
-
"resolved": "https://registry.npmjs.org/fast-check/-/fast-check-4.7.0.tgz",
|
|
995
|
-
"integrity": "sha512-NsZRtqvSSoCP0HbNjUD+r1JH8zqZalyp6gLY9e7OYs7NK9b6AHOs2baBFeBG7bVNsuoukh89x2Yg3rPsul8ziQ==",
|
|
996
|
-
"funding": [
|
|
997
|
-
{
|
|
998
|
-
"type": "individual",
|
|
999
|
-
"url": "https://github.com/sponsors/dubzzz"
|
|
1000
|
-
},
|
|
1001
|
-
{
|
|
1002
|
-
"type": "opencollective",
|
|
1003
|
-
"url": "https://opencollective.com/fast-check"
|
|
1004
|
-
}
|
|
1005
|
-
],
|
|
1006
|
-
"license": "MIT",
|
|
1007
|
-
"dependencies": {
|
|
1008
|
-
"pure-rand": "^8.0.0"
|
|
1009
|
-
},
|
|
1010
|
-
"engines": {
|
|
1011
|
-
"node": ">=12.17.0"
|
|
1012
|
-
}
|
|
1013
|
-
},
|
|
1014
892
|
"node_modules/find-babel-config": {
|
|
1015
893
|
"version": "2.1.2",
|
|
1016
894
|
"resolved": "https://registry.npmjs.org/find-babel-config/-/find-babel-config-2.1.2.tgz",
|
|
@@ -1020,12 +898,6 @@
|
|
|
1020
898
|
"json5": "^2.2.3"
|
|
1021
899
|
}
|
|
1022
900
|
},
|
|
1023
|
-
"node_modules/find-my-way-ts": {
|
|
1024
|
-
"version": "0.1.6",
|
|
1025
|
-
"resolved": "https://registry.npmjs.org/find-my-way-ts/-/find-my-way-ts-0.1.6.tgz",
|
|
1026
|
-
"integrity": "sha512-a85L9ZoXtNAey3Y6Z+eBWW658kO/MwR7zIafkIUPUMf3isZG0NCs2pjW2wtjxAKuJPxMAsHUIP4ZPGv0o5gyTA==",
|
|
1027
|
-
"license": "MIT"
|
|
1028
|
-
},
|
|
1029
901
|
"node_modules/find-up": {
|
|
1030
902
|
"version": "3.0.0",
|
|
1031
903
|
"resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
|
|
@@ -1038,12 +910,6 @@
|
|
|
1038
910
|
"node": ">=6"
|
|
1039
911
|
}
|
|
1040
912
|
},
|
|
1041
|
-
"node_modules/fs.realpath": {
|
|
1042
|
-
"version": "1.0.0",
|
|
1043
|
-
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
|
|
1044
|
-
"integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
|
|
1045
|
-
"license": "ISC"
|
|
1046
|
-
},
|
|
1047
913
|
"node_modules/function-bind": {
|
|
1048
914
|
"version": "1.1.2",
|
|
1049
915
|
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
|
|
@@ -1075,19 +941,17 @@
|
|
|
1075
941
|
}
|
|
1076
942
|
},
|
|
1077
943
|
"node_modules/glob": {
|
|
1078
|
-
"version": "
|
|
1079
|
-
"resolved": "https://registry.npmjs.org/glob/-/glob-
|
|
1080
|
-
"integrity": "sha512-
|
|
1081
|
-
"
|
|
1082
|
-
"license": "ISC",
|
|
944
|
+
"version": "14.0.2",
|
|
945
|
+
"resolved": "https://registry.npmjs.org/glob/-/glob-14.0.2.tgz",
|
|
946
|
+
"integrity": "sha512-vfMgTR2djMHPUchsJMLpZlYQvtjVL+mHpEr5wPpoCbQs2vr/FBNK+3Gnl9Ara1DSs4Aeg4eG9HiADb5/rkY/ZA==",
|
|
947
|
+
"license": "BlueOak-1.0.0",
|
|
1083
948
|
"dependencies": {
|
|
1084
|
-
"
|
|
1085
|
-
"
|
|
1086
|
-
"
|
|
1087
|
-
"path-scurry": "^1.6.1"
|
|
949
|
+
"minimatch": "^11.0.0",
|
|
950
|
+
"minipass": "^7.1.3",
|
|
951
|
+
"path-scurry": "^3.0.0"
|
|
1088
952
|
},
|
|
1089
953
|
"engines": {
|
|
1090
|
-
"node": "
|
|
954
|
+
"node": "18 || 20 || >=22"
|
|
1091
955
|
},
|
|
1092
956
|
"funding": {
|
|
1093
957
|
"url": "https://github.com/sponsors/isaacs"
|
|
@@ -1111,15 +975,6 @@
|
|
|
1111
975
|
"integrity": "sha512-DV5Ln36z34NNTDgnz0EWGBLZENelNAtkiFA4kyNOG2tDI6Mz1uSWiq1wAKdyjnJwyDiDO7Fa2SO1CTxPXL8VxA==",
|
|
1112
976
|
"license": "MIT"
|
|
1113
977
|
},
|
|
1114
|
-
"node_modules/ini": {
|
|
1115
|
-
"version": "6.0.0",
|
|
1116
|
-
"resolved": "https://registry.npmjs.org/ini/-/ini-6.0.0.tgz",
|
|
1117
|
-
"integrity": "sha512-IBTdIkzZNOpqm7q3dRqJvMaldXjDHWkEDfrwGEQTs5eaQMWV+djAhR+wahyNNMAa+qpbDUhBMVt4ZKNwpPm7xQ==",
|
|
1118
|
-
"license": "ISC",
|
|
1119
|
-
"engines": {
|
|
1120
|
-
"node": "^20.17.0 || >=22.9.0"
|
|
1121
|
-
}
|
|
1122
|
-
},
|
|
1123
978
|
"node_modules/is-core-module": {
|
|
1124
979
|
"version": "2.16.2",
|
|
1125
980
|
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.2.tgz",
|
|
@@ -1171,12 +1026,6 @@
|
|
|
1171
1026
|
"node": ">=6"
|
|
1172
1027
|
}
|
|
1173
1028
|
},
|
|
1174
|
-
"node_modules/kubernetes-types": {
|
|
1175
|
-
"version": "1.30.0",
|
|
1176
|
-
"resolved": "https://registry.npmjs.org/kubernetes-types/-/kubernetes-types-1.30.0.tgz",
|
|
1177
|
-
"integrity": "sha512-Dew1okvhM/SQcIa2rcgujNndZwU8VnSapDgdxlYoB84ZlpAD43U6KLAFqYo17ykSFGHNPrg0qry0bP+GJd9v7Q==",
|
|
1178
|
-
"license": "Apache-2.0"
|
|
1179
|
-
},
|
|
1180
1029
|
"node_modules/locate-path": {
|
|
1181
1030
|
"version": "3.0.0",
|
|
1182
1031
|
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
|
|
@@ -1212,27 +1061,28 @@
|
|
|
1212
1061
|
}
|
|
1213
1062
|
},
|
|
1214
1063
|
"node_modules/minimatch": {
|
|
1215
|
-
"version": "
|
|
1216
|
-
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-
|
|
1217
|
-
"integrity": "sha512-
|
|
1218
|
-
"license": "
|
|
1064
|
+
"version": "11.0.5",
|
|
1065
|
+
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.5.tgz",
|
|
1066
|
+
"integrity": "sha512-snPlVppFcYWfLLFQGhDxUyBcHNtMlWmn3jtj7pEaO+DP8pqL0IvAzXhMYmn1z9ASNtgmwLBdFxSf4tMUB0OTKA==",
|
|
1067
|
+
"license": "BlueOak-1.0.0",
|
|
1219
1068
|
"dependencies": {
|
|
1220
|
-
"
|
|
1069
|
+
"@isaacs/nonrecursive-glob-match": "^1.1.0",
|
|
1070
|
+
"brace-expansion": "^5.0.12"
|
|
1221
1071
|
},
|
|
1222
1072
|
"engines": {
|
|
1223
|
-
"node": "
|
|
1073
|
+
"node": "20 || >=22"
|
|
1224
1074
|
},
|
|
1225
1075
|
"funding": {
|
|
1226
1076
|
"url": "https://github.com/sponsors/isaacs"
|
|
1227
1077
|
}
|
|
1228
1078
|
},
|
|
1229
1079
|
"node_modules/minipass": {
|
|
1230
|
-
"version": "
|
|
1231
|
-
"resolved": "https://registry.npmjs.org/minipass/-/minipass-
|
|
1232
|
-
"integrity": "sha512-
|
|
1233
|
-
"license": "
|
|
1080
|
+
"version": "7.1.3",
|
|
1081
|
+
"resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz",
|
|
1082
|
+
"integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==",
|
|
1083
|
+
"license": "BlueOak-1.0.0",
|
|
1234
1084
|
"engines": {
|
|
1235
|
-
"node": ">=
|
|
1085
|
+
"node": ">=16 || 14 >=14.17"
|
|
1236
1086
|
}
|
|
1237
1087
|
},
|
|
1238
1088
|
"node_modules/ms": {
|
|
@@ -1241,58 +1091,6 @@
|
|
|
1241
1091
|
"integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
|
|
1242
1092
|
"license": "MIT"
|
|
1243
1093
|
},
|
|
1244
|
-
"node_modules/msgpackr": {
|
|
1245
|
-
"version": "1.11.12",
|
|
1246
|
-
"resolved": "https://registry.npmjs.org/msgpackr/-/msgpackr-1.11.12.tgz",
|
|
1247
|
-
"integrity": "sha512-RBdJ1Un7yGlXWajrkxcSa93nvQ0w4zBf60c0yYv7YtBelP8H2FA7XsfBbMHtXKXUMUxH7zV3Zuozh+kUQWhHvg==",
|
|
1248
|
-
"license": "MIT",
|
|
1249
|
-
"optionalDependencies": {
|
|
1250
|
-
"msgpackr-extract": "^3.0.2"
|
|
1251
|
-
}
|
|
1252
|
-
},
|
|
1253
|
-
"node_modules/msgpackr-extract": {
|
|
1254
|
-
"version": "3.0.3",
|
|
1255
|
-
"resolved": "https://registry.npmjs.org/msgpackr-extract/-/msgpackr-extract-3.0.3.tgz",
|
|
1256
|
-
"integrity": "sha512-P0efT1C9jIdVRefqjzOQ9Xml57zpOXnIuS+csaB4MdZbTdmGDLo8XhzBG1N7aO11gKDDkJvBLULeFTo46wwreA==",
|
|
1257
|
-
"hasInstallScript": true,
|
|
1258
|
-
"license": "MIT",
|
|
1259
|
-
"optional": true,
|
|
1260
|
-
"dependencies": {
|
|
1261
|
-
"node-gyp-build-optional-packages": "5.2.2"
|
|
1262
|
-
},
|
|
1263
|
-
"bin": {
|
|
1264
|
-
"download-msgpackr-prebuilds": "bin/download-prebuilds.js"
|
|
1265
|
-
},
|
|
1266
|
-
"optionalDependencies": {
|
|
1267
|
-
"@msgpackr-extract/msgpackr-extract-darwin-arm64": "3.0.3",
|
|
1268
|
-
"@msgpackr-extract/msgpackr-extract-darwin-x64": "3.0.3",
|
|
1269
|
-
"@msgpackr-extract/msgpackr-extract-linux-arm": "3.0.3",
|
|
1270
|
-
"@msgpackr-extract/msgpackr-extract-linux-arm64": "3.0.3",
|
|
1271
|
-
"@msgpackr-extract/msgpackr-extract-linux-x64": "3.0.3",
|
|
1272
|
-
"@msgpackr-extract/msgpackr-extract-win32-x64": "3.0.3"
|
|
1273
|
-
}
|
|
1274
|
-
},
|
|
1275
|
-
"node_modules/multipasta": {
|
|
1276
|
-
"version": "0.2.7",
|
|
1277
|
-
"resolved": "https://registry.npmjs.org/multipasta/-/multipasta-0.2.7.tgz",
|
|
1278
|
-
"integrity": "sha512-KPA58d68KgGil15oDqXjkUBEBYc00XvbPj5/X+dyzeo/lWm9Nc25pQRlf1D+gv4OpK7NM0J1odrbu9JNNGvynA==",
|
|
1279
|
-
"license": "MIT"
|
|
1280
|
-
},
|
|
1281
|
-
"node_modules/node-gyp-build-optional-packages": {
|
|
1282
|
-
"version": "5.2.2",
|
|
1283
|
-
"resolved": "https://registry.npmjs.org/node-gyp-build-optional-packages/-/node-gyp-build-optional-packages-5.2.2.tgz",
|
|
1284
|
-
"integrity": "sha512-s+w+rBWnpTMwSFbaE0UXsRlg7hU4FjekKU4eyAih5T8nJuNZT1nNsskXpxmeqSK9UzkBl6UgRlnKc8hz8IEqOw==",
|
|
1285
|
-
"license": "MIT",
|
|
1286
|
-
"optional": true,
|
|
1287
|
-
"dependencies": {
|
|
1288
|
-
"detect-libc": "^2.0.1"
|
|
1289
|
-
},
|
|
1290
|
-
"bin": {
|
|
1291
|
-
"node-gyp-build-optional-packages": "bin.js",
|
|
1292
|
-
"node-gyp-build-optional-packages-optional": "optional.js",
|
|
1293
|
-
"node-gyp-build-optional-packages-test": "build-test.js"
|
|
1294
|
-
}
|
|
1295
|
-
},
|
|
1296
1094
|
"node_modules/node-releases": {
|
|
1297
1095
|
"version": "2.0.54",
|
|
1298
1096
|
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.54.tgz",
|
|
@@ -1387,34 +1185,28 @@
|
|
|
1387
1185
|
"license": "MIT"
|
|
1388
1186
|
},
|
|
1389
1187
|
"node_modules/path-scurry": {
|
|
1390
|
-
"version": "
|
|
1391
|
-
"resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-
|
|
1392
|
-
"integrity": "sha512-
|
|
1188
|
+
"version": "3.0.0",
|
|
1189
|
+
"resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-3.0.0.tgz",
|
|
1190
|
+
"integrity": "sha512-1pTbQqH1wIwMi/eleQ5leFTTCkzFsPcgXNjwOA8YGGW/W4/kHT3dssE7Z6NH+zuqNLOzOB0uaD61yl7cAcVhgg==",
|
|
1393
1191
|
"license": "BlueOak-1.0.0",
|
|
1394
1192
|
"dependencies": {
|
|
1395
|
-
"lru-cache": "^
|
|
1396
|
-
"minipass": "^
|
|
1193
|
+
"lru-cache": "^11.0.0",
|
|
1194
|
+
"minipass": "^7.1.2"
|
|
1397
1195
|
},
|
|
1398
1196
|
"engines": {
|
|
1399
|
-
"node": "
|
|
1197
|
+
"node": "18 || 20 || >=22"
|
|
1400
1198
|
},
|
|
1401
1199
|
"funding": {
|
|
1402
1200
|
"url": "https://github.com/sponsors/isaacs"
|
|
1403
1201
|
}
|
|
1404
1202
|
},
|
|
1405
1203
|
"node_modules/path-scurry/node_modules/lru-cache": {
|
|
1406
|
-
"version": "
|
|
1407
|
-
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-
|
|
1408
|
-
"integrity": "sha512-
|
|
1409
|
-
"license": "ISC"
|
|
1410
|
-
},
|
|
1411
|
-
"node_modules/path-scurry/node_modules/minipass": {
|
|
1412
|
-
"version": "7.1.3",
|
|
1413
|
-
"resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz",
|
|
1414
|
-
"integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==",
|
|
1204
|
+
"version": "11.5.3",
|
|
1205
|
+
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.3.tgz",
|
|
1206
|
+
"integrity": "sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg==",
|
|
1415
1207
|
"license": "BlueOak-1.0.0",
|
|
1416
1208
|
"engines": {
|
|
1417
|
-
"node": "
|
|
1209
|
+
"node": "20 || >=22"
|
|
1418
1210
|
}
|
|
1419
1211
|
},
|
|
1420
1212
|
"node_modules/picocolors": {
|
|
@@ -1435,22 +1227,6 @@
|
|
|
1435
1227
|
"node": ">=8"
|
|
1436
1228
|
}
|
|
1437
1229
|
},
|
|
1438
|
-
"node_modules/pure-rand": {
|
|
1439
|
-
"version": "8.4.0",
|
|
1440
|
-
"resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-8.4.0.tgz",
|
|
1441
|
-
"integrity": "sha512-IoM8YF/jY0hiugFo/wOWqfmarlE6J0wc6fDK1PhftMk7MGhVZl88sZimmqBBFomLOCSmcCCpsfj7wXASCpvK9A==",
|
|
1442
|
-
"funding": [
|
|
1443
|
-
{
|
|
1444
|
-
"type": "individual",
|
|
1445
|
-
"url": "https://github.com/sponsors/dubzzz"
|
|
1446
|
-
},
|
|
1447
|
-
{
|
|
1448
|
-
"type": "opencollective",
|
|
1449
|
-
"url": "https://opencollective.com/fast-check"
|
|
1450
|
-
}
|
|
1451
|
-
],
|
|
1452
|
-
"license": "MIT"
|
|
1453
|
-
},
|
|
1454
1230
|
"node_modules/reselect": {
|
|
1455
1231
|
"version": "4.1.8",
|
|
1456
1232
|
"resolved": "https://registry.npmjs.org/reselect/-/reselect-4.1.8.tgz",
|
|
@@ -1494,18 +1270,18 @@
|
|
|
1494
1270
|
}
|
|
1495
1271
|
},
|
|
1496
1272
|
"node_modules/seroval": {
|
|
1497
|
-
"version": "1.
|
|
1498
|
-
"resolved": "https://registry.npmjs.org/seroval/-/seroval-1.
|
|
1499
|
-
"integrity": "sha512-
|
|
1273
|
+
"version": "1.6.12",
|
|
1274
|
+
"resolved": "https://registry.npmjs.org/seroval/-/seroval-1.6.12.tgz",
|
|
1275
|
+
"integrity": "sha512-CqbIVfk/7GL3ITwZI55lcPbpQbjHZ2DD5cUj4iH7E9YsCfHNJV1mx7yNp86Z84w5IpmkZZS/2s5vPOWmVWSdQg==",
|
|
1500
1276
|
"license": "MIT",
|
|
1501
1277
|
"engines": {
|
|
1502
1278
|
"node": ">=10"
|
|
1503
1279
|
}
|
|
1504
1280
|
},
|
|
1505
1281
|
"node_modules/seroval-plugins": {
|
|
1506
|
-
"version": "1.
|
|
1507
|
-
"resolved": "https://registry.npmjs.org/seroval-plugins/-/seroval-plugins-1.
|
|
1508
|
-
"integrity": "sha512
|
|
1282
|
+
"version": "1.6.12",
|
|
1283
|
+
"resolved": "https://registry.npmjs.org/seroval-plugins/-/seroval-plugins-1.6.12.tgz",
|
|
1284
|
+
"integrity": "sha512-+reiwp/lYxiyctSrdvX7OQ1YLrcbWYgBiZrhSFL+V43b0/DGRLNVSDyZINbQe+tWplPOI2fw2dPrdv6hcc09kQ==",
|
|
1509
1285
|
"license": "MIT",
|
|
1510
1286
|
"engines": {
|
|
1511
1287
|
"node": ">=10"
|
|
@@ -1590,15 +1366,6 @@
|
|
|
1590
1366
|
"url": "https://github.com/sponsors/ljharb"
|
|
1591
1367
|
}
|
|
1592
1368
|
},
|
|
1593
|
-
"node_modules/toml": {
|
|
1594
|
-
"version": "4.3.0",
|
|
1595
|
-
"resolved": "https://registry.npmjs.org/toml/-/toml-4.3.0.tgz",
|
|
1596
|
-
"integrity": "sha512-lVb8X9BsPVuH0M4BKeS91tXAmJvCjQ5UIyAbQFaxkKGyUFK2RPkhwaFSQH8vbpl1d23eu/IBH+dwVMHWaq9A5A==",
|
|
1597
|
-
"license": "MIT",
|
|
1598
|
-
"engines": {
|
|
1599
|
-
"node": ">=20"
|
|
1600
|
-
}
|
|
1601
|
-
},
|
|
1602
1369
|
"node_modules/typescript": {
|
|
1603
1370
|
"version": "5.9.3",
|
|
1604
1371
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
|
|
@@ -1643,19 +1410,6 @@
|
|
|
1643
1410
|
"browserslist": ">= 4.21.0"
|
|
1644
1411
|
}
|
|
1645
1412
|
},
|
|
1646
|
-
"node_modules/uuid": {
|
|
1647
|
-
"version": "14.0.0",
|
|
1648
|
-
"resolved": "https://registry.npmjs.org/uuid/-/uuid-14.0.0.tgz",
|
|
1649
|
-
"integrity": "sha512-Qo+uWgilfSmAhXCMav1uYFynlQO7fMFiMVZsQqZRMIXp0O7rR7qjkj+cPvBHLgBqi960QCoo/PH2/6ZtVqKvrg==",
|
|
1650
|
-
"funding": [
|
|
1651
|
-
"https://github.com/sponsors/broofa",
|
|
1652
|
-
"https://github.com/sponsors/ctavan"
|
|
1653
|
-
],
|
|
1654
|
-
"license": "MIT",
|
|
1655
|
-
"bin": {
|
|
1656
|
-
"uuid": "dist-node/bin/uuid"
|
|
1657
|
-
}
|
|
1658
|
-
},
|
|
1659
1413
|
"node_modules/web-tree-sitter": {
|
|
1660
1414
|
"version": "0.25.10",
|
|
1661
1415
|
"resolved": "https://registry.npmjs.org/web-tree-sitter/-/web-tree-sitter-0.25.10.tgz",
|
|
@@ -1692,21 +1446,6 @@
|
|
|
1692
1446
|
"integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
|
|
1693
1447
|
"license": "ISC"
|
|
1694
1448
|
},
|
|
1695
|
-
"node_modules/yaml": {
|
|
1696
|
-
"version": "2.8.4",
|
|
1697
|
-
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.4.tgz",
|
|
1698
|
-
"integrity": "sha512-ml/JPOj9fOQK8RNnWojA67GbZ0ApXAUlN2UQclwv2eVgTgn7O9gg9o7paZWKMp4g0H3nTLtS9LVzhkpOFIKzog==",
|
|
1699
|
-
"license": "ISC",
|
|
1700
|
-
"bin": {
|
|
1701
|
-
"yaml": "bin.mjs"
|
|
1702
|
-
},
|
|
1703
|
-
"engines": {
|
|
1704
|
-
"node": ">= 14.6"
|
|
1705
|
-
},
|
|
1706
|
-
"funding": {
|
|
1707
|
-
"url": "https://github.com/sponsors/eemeli"
|
|
1708
|
-
}
|
|
1709
|
-
},
|
|
1710
1449
|
"node_modules/yoga-layout": {
|
|
1711
1450
|
"version": "3.2.1",
|
|
1712
1451
|
"resolved": "https://registry.npmjs.org/yoga-layout/-/yoga-layout-3.2.1.tgz",
|
|
@@ -1714,9 +1453,9 @@
|
|
|
1714
1453
|
"license": "MIT"
|
|
1715
1454
|
},
|
|
1716
1455
|
"node_modules/zod": {
|
|
1717
|
-
"version": "4.
|
|
1718
|
-
"resolved": "https://registry.npmjs.org/zod/-/zod-4.
|
|
1719
|
-
"integrity": "sha512-
|
|
1456
|
+
"version": "4.6.7",
|
|
1457
|
+
"resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz",
|
|
1458
|
+
"integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==",
|
|
1720
1459
|
"license": "MIT",
|
|
1721
1460
|
"funding": {
|
|
1722
1461
|
"url": "https://github.com/sponsors/colinhacks"
|
package/opencode/package.json
CHANGED
|
@@ -10,7 +10,11 @@
|
|
|
10
10
|
},
|
|
11
11
|
"overrides": {
|
|
12
12
|
"@babel/core": "7.29.7",
|
|
13
|
-
"brace-expansion": "5.0.
|
|
14
|
-
"
|
|
13
|
+
"brace-expansion": "5.0.12",
|
|
14
|
+
"effect": "4.0.7",
|
|
15
|
+
"glob": "14.0.2",
|
|
16
|
+
"seroval": "1.6.12",
|
|
17
|
+
"seroval-plugins": "1.6.12",
|
|
18
|
+
"zod": "4.6.7"
|
|
15
19
|
}
|
|
16
20
|
}
|
|
@@ -838,6 +838,10 @@ function checkAutonomousContract() {
|
|
|
838
838
|
}
|
|
839
839
|
}
|
|
840
840
|
|
|
841
|
+
const KIT_SCRIPTS_DIR = '"${OPENCODE_CONFIG_DIR:-${XDG_CONFIG_HOME:-$HOME/.config}/opencode}/scripts';
|
|
842
|
+
const LOOP_STATE_COMMAND = `node ${KIT_SCRIPTS_DIR}/loop-state.mjs"`;
|
|
843
|
+
const MISSION_STATUS_COMMAND = `node ${KIT_SCRIPTS_DIR}/mission-status.mjs"`;
|
|
844
|
+
|
|
841
845
|
function checkLoopContract() {
|
|
842
846
|
const rel = "commands/loop.md";
|
|
843
847
|
if (!exists(rel)) {
|
|
@@ -864,15 +868,23 @@ function checkLoopContract() {
|
|
|
864
868
|
|
|
865
869
|
const phase1 = text.split("## Phase 1")[1]?.split("## Phase 2")[0] || "";
|
|
866
870
|
const phase2 = text.split("## Phase 2")[1]?.split("## Phase 3")[0] || "";
|
|
867
|
-
if (!phase1.includes(
|
|
871
|
+
if (!phase1.includes(`${LOOP_STATE_COMMAND} inspect`)) {
|
|
868
872
|
fail(`${rel}: resume preflight must use read-only loop-state inspect`);
|
|
869
873
|
}
|
|
870
|
-
if (
|
|
874
|
+
if (/loop-state\.mjs"?\s+resume/.test(phase1)) {
|
|
871
875
|
fail(`${rel}: loop-state resume cannot run before approval`);
|
|
872
876
|
}
|
|
873
|
-
if (!phase2.includes(
|
|
877
|
+
if (!phase2.includes(`${LOOP_STATE_COMMAND} resume`)) {
|
|
874
878
|
fail(`${rel}: loop-state resume must run after approval`);
|
|
875
879
|
}
|
|
880
|
+
// The runtime ships in the config directory, not in the project: a
|
|
881
|
+
// project-relative call is not executable and led agents to improvise one.
|
|
882
|
+
if (/node\s+(?:\.\/)?scripts\/loop-state\.mjs/.test(text)) {
|
|
883
|
+
fail(`${rel}: loop-state must run from the config directory, not project-relative scripts/`);
|
|
884
|
+
}
|
|
885
|
+
if (!text.includes("state_runtime_missing: stop_and_report")) {
|
|
886
|
+
fail(`${rel}: missing state_runtime_missing: stop_and_report`);
|
|
887
|
+
}
|
|
876
888
|
|
|
877
889
|
for (const runtimeRel of [
|
|
878
890
|
"scripts/loop-state.mjs",
|
|
@@ -1338,6 +1350,8 @@ function checkLeadRouterContract() {
|
|
|
1338
1350
|
'"cd *": allow',
|
|
1339
1351
|
'"which": allow',
|
|
1340
1352
|
'"which *": allow',
|
|
1353
|
+
'"node *scripts/loop-state.mjs inspect*": allow',
|
|
1354
|
+
'"node *scripts/mission-status.mjs*": allow',
|
|
1341
1355
|
]) {
|
|
1342
1356
|
if (!frontmatter.includes(command)) {
|
|
1343
1357
|
fail(`agents/lead.md: missing bash allow ${command}`);
|
|
@@ -3128,6 +3142,11 @@ function checkMissionRuntimeContract() {
|
|
|
3128
3142
|
}
|
|
3129
3143
|
if (!required.every(exists)) return;
|
|
3130
3144
|
|
|
3145
|
+
const loopStatus = read("commands/loop-status.md");
|
|
3146
|
+
if (!loopStatus.includes(MISSION_STATUS_COMMAND) || /node\s+(?:\.\/)?scripts\/mission-status\.mjs/.test(loopStatus)) {
|
|
3147
|
+
fail("commands/loop-status.md: mission-status must run from the config directory, not project-relative scripts/");
|
|
3148
|
+
}
|
|
3149
|
+
|
|
3131
3150
|
const status = read("scripts/mission-status.mjs");
|
|
3132
3151
|
for (const token of ["inspectLoopState", "readLoopHistory", "--json", "next_action"]) {
|
|
3133
3152
|
if (!status.includes(token)) fail(`${required[0]}: missing mission status token ${token}`);
|