@hearsay-tools/squawk 0.18.0-pr4267.8233 → 0.18.0-pr4269.8246

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.
Files changed (45) hide show
  1. package/README.md +2 -2
  2. package/dist/automations/tools.d.ts +8 -8
  3. package/dist/ci-wait/controller.d.ts +9 -7
  4. package/dist/ci-wait/controller.js +6 -2
  5. package/dist/ci-wait/controller.js.map +1 -1
  6. package/dist/core/agent-env.js +1 -0
  7. package/dist/core/agent-env.js.map +1 -1
  8. package/dist/core/native-mock.d.ts +6 -0
  9. package/dist/core/native-mock.js +26 -0
  10. package/dist/core/native-mock.js.map +1 -0
  11. package/dist/core/runner-definition.d.ts +6 -1
  12. package/dist/core/runner-definition.js.map +1 -1
  13. package/dist/core/runner-skill-reference.d.ts +9 -2
  14. package/dist/core/runner-skill-reference.js +17 -10
  15. package/dist/core/runner-skill-reference.js.map +1 -1
  16. package/dist/core/skill-probe.js +2 -2
  17. package/dist/core/skill-probe.js.map +1 -1
  18. package/dist/delegation/routes.d.ts +75 -75
  19. package/dist/delegation/transport.d.ts +79 -79
  20. package/dist/pack-check.d.ts +3 -1
  21. package/dist/pack-check.js +7 -1
  22. package/dist/pack-check.js.map +1 -1
  23. package/dist/plugin/runner-kit.d.ts +1 -0
  24. package/dist/plugin/runner-kit.js +1 -0
  25. package/dist/plugin/runner-kit.js.map +1 -1
  26. package/dist/plugin/runtime.d.ts +1 -0
  27. package/dist/plugin/runtime.js +1 -0
  28. package/dist/plugin/runtime.js.map +1 -1
  29. package/dist/runs/run-decode.d.ts +72 -72
  30. package/dist/server/activity-routes.d.ts +23 -23
  31. package/dist/server/models-routes.d.ts +13 -13
  32. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  33. package/dist/server/reports-api.d.ts +2 -2
  34. package/dist/server/runner-install-routes.d.ts +10 -10
  35. package/dist/server/server.d.ts +6 -6
  36. package/dist/server/workspace-live-routes.d.ts +6 -6
  37. package/dist/workflows/input-acknowledgement.d.ts +24 -24
  38. package/dist/workflows/run/continuation-session.d.ts +4 -0
  39. package/dist/workflows/run/continuation-session.js +33 -1
  40. package/dist/workflows/run/continuation-session.js.map +1 -1
  41. package/dist/workflows/run/wait-engine.d.ts +72 -72
  42. package/package.json +5 -5
  43. package/scripts/check-pack.mjs +7 -4
  44. package/scripts/copy-runner-assets.d.mts +2 -0
  45. package/scripts/copy-runner-assets.mjs +69 -0
@@ -27,6 +27,18 @@ export declare function delegationFailure(error: unknown): {
27
27
  export declare function createDelegationRoutes(service: DelegationService, credentials: CredentialRegistry): import("hono/hono-base").HonoBase<Env, {
28
28
  "/list": {
29
29
  $get: {
30
+ output: {
31
+ error: string;
32
+ code?: "invalid_input" | undefined;
33
+ };
34
+ outputFormat: "json";
35
+ status: 400;
36
+ input: {
37
+ query: {
38
+ offset?: string | undefined;
39
+ };
40
+ };
41
+ } | {
30
42
  output: {
31
43
  workers: {
32
44
  workerId: string;
@@ -79,34 +91,12 @@ export declare function createDelegationRoutes(service: DelegationService, crede
79
91
  offset?: string | undefined;
80
92
  };
81
93
  };
82
- } | {
83
- output: {
84
- error: string;
85
- code?: "invalid_input" | undefined;
86
- };
87
- outputFormat: "json";
88
- status: 400;
89
- input: {
90
- query: {
91
- offset?: string | undefined;
92
- };
93
- };
94
94
  };
95
95
  };
96
96
  } & {
97
97
  "/discover": {
98
98
  $post: {
99
99
  output: {
100
- scope: "host-default-account";
101
- runners: {
102
- requiresAccountHome?: boolean | undefined;
103
- status: "connected" | "disconnected" | "not-installed" | "unknown";
104
- enabled?: boolean | undefined;
105
- hint?: string | undefined;
106
- authFailureId?: string | undefined;
107
- runner: string;
108
- }[];
109
- } | {
110
100
  runner: string;
111
101
  models: {
112
102
  id: string;
@@ -117,6 +107,16 @@ export declare function createDelegationRoutes(service: DelegationService, crede
117
107
  source: "cache" | "live" | "unavailable";
118
108
  stale: boolean;
119
109
  reason?: string | undefined;
110
+ } | {
111
+ scope: "host-default-account";
112
+ runners: {
113
+ requiresAccountHome?: boolean | undefined;
114
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
115
+ enabled?: boolean | undefined;
116
+ hint?: string | undefined;
117
+ authFailureId?: string | undefined;
118
+ runner: string;
119
+ }[];
120
120
  } | {
121
121
  tasks: {
122
122
  id: string;
@@ -677,6 +677,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
677
677
  } & {
678
678
  "/:workerId": {
679
679
  $get: {
680
+ output: {
681
+ error: string;
682
+ code?: "invalid_input" | undefined;
683
+ };
684
+ outputFormat: "json";
685
+ status: 400;
686
+ input: {
687
+ param: {
688
+ workerId: string;
689
+ };
690
+ };
691
+ } | {
680
692
  output: {
681
693
  workerId: string;
682
694
  settled: boolean;
@@ -801,7 +813,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
801
813
  workerId: string;
802
814
  };
803
815
  };
804
- } | {
816
+ };
817
+ };
818
+ } & {
819
+ "/:workerId/collect": {
820
+ $post: {
805
821
  output: {
806
822
  error: string;
807
823
  code?: "invalid_input" | undefined;
@@ -812,12 +828,10 @@ export declare function createDelegationRoutes(service: DelegationService, crede
812
828
  param: {
813
829
  workerId: string;
814
830
  };
831
+ } & {
832
+ json: Record<string, never>;
815
833
  };
816
- };
817
- };
818
- } & {
819
- "/:workerId/collect": {
820
- $post: {
834
+ } | {
821
835
  output: {
822
836
  workerId: string;
823
837
  parentRunId: string;
@@ -940,7 +954,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
940
954
  } & {
941
955
  json: Record<string, never>;
942
956
  };
943
- } | {
957
+ };
958
+ };
959
+ } & {
960
+ "/:workerId/steer": {
961
+ $post: {
944
962
  output: {
945
963
  error: string;
946
964
  code?: "invalid_input" | undefined;
@@ -952,13 +970,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
952
970
  workerId: string;
953
971
  };
954
972
  } & {
955
- json: Record<string, never>;
973
+ json: {
974
+ text: string;
975
+ };
956
976
  };
957
- };
958
- };
959
- } & {
960
- "/:workerId/steer": {
961
- $post: {
977
+ } | {
962
978
  output: {
963
979
  workerId: string;
964
980
  state: "delivered" | "queued";
@@ -974,7 +990,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
974
990
  text: string;
975
991
  };
976
992
  };
977
- } | {
993
+ };
994
+ };
995
+ } & {
996
+ "/:workerId/stop": {
997
+ $post: {
978
998
  output: {
979
999
  error: string;
980
1000
  code?: "invalid_input" | undefined;
@@ -986,15 +1006,9 @@ export declare function createDelegationRoutes(service: DelegationService, crede
986
1006
  workerId: string;
987
1007
  };
988
1008
  } & {
989
- json: {
990
- text: string;
991
- };
1009
+ json: Record<string, never>;
992
1010
  };
993
- };
994
- };
995
- } & {
996
- "/:workerId/stop": {
997
- $post: {
1011
+ } | {
998
1012
  output: {
999
1013
  workerId: string;
1000
1014
  state: "stopping" | "terminated";
@@ -1008,7 +1022,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1008
1022
  } & {
1009
1023
  json: Record<string, never>;
1010
1024
  };
1011
- } | {
1025
+ };
1026
+ };
1027
+ } & {
1028
+ "/:workerId/destroy": {
1029
+ $post: {
1012
1030
  output: {
1013
1031
  error: string;
1014
1032
  code?: "invalid_input" | undefined;
@@ -1020,13 +1038,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1020
1038
  workerId: string;
1021
1039
  };
1022
1040
  } & {
1023
- json: Record<string, never>;
1041
+ json: {
1042
+ discardWork?: true | undefined;
1043
+ };
1024
1044
  };
1025
- };
1026
- };
1027
- } & {
1028
- "/:workerId/destroy": {
1029
- $post: {
1045
+ } | {
1030
1046
  output: {
1031
1047
  workerId: string;
1032
1048
  state: "complete" | "incomplete";
@@ -1055,22 +1071,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1055
1071
  discardWork?: true | undefined;
1056
1072
  };
1057
1073
  };
1058
- } | {
1059
- output: {
1060
- error: string;
1061
- code?: "invalid_input" | undefined;
1062
- };
1063
- outputFormat: "json";
1064
- status: 400;
1065
- input: {
1066
- param: {
1067
- workerId: string;
1068
- };
1069
- } & {
1070
- json: {
1071
- discardWork?: true | undefined;
1072
- };
1073
- };
1074
1074
  } | {
1075
1075
  output: {
1076
1076
  workerId: string;
@@ -1106,13 +1106,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1106
1106
  "/:workerId/diff": {
1107
1107
  $get: {
1108
1108
  output: {
1109
- workerId: string;
1110
- baselineSha: string;
1111
- diff: string;
1112
- truncated: boolean;
1109
+ error: string;
1110
+ code?: "invalid_input" | undefined;
1113
1111
  };
1114
1112
  outputFormat: "json";
1115
- status: 200;
1113
+ status: 400;
1116
1114
  input: {
1117
1115
  param: {
1118
1116
  workerId: string;
@@ -1120,11 +1118,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1120
1118
  };
1121
1119
  } | {
1122
1120
  output: {
1123
- error: string;
1124
- code?: "invalid_input" | undefined;
1121
+ workerId: string;
1122
+ baselineSha: string;
1123
+ diff: string;
1124
+ truncated: boolean;
1125
1125
  };
1126
1126
  outputFormat: "json";
1127
- status: 400;
1127
+ status: 200;
1128
1128
  input: {
1129
1129
  param: {
1130
1130
  workerId: string;
@@ -2,6 +2,18 @@ import type { DelegationRoutes } from './routes.ts';
2
2
  export declare function createDelegationApp(routes: DelegationRoutes): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
3
3
  "/list": {
4
4
  $get: {
5
+ output: {
6
+ error: string;
7
+ code?: "invalid_input" | undefined;
8
+ };
9
+ outputFormat: "json";
10
+ status: 400;
11
+ input: {
12
+ query: {
13
+ offset?: string | undefined;
14
+ };
15
+ };
16
+ } | {
5
17
  output: {
6
18
  workers: {
7
19
  workerId: string;
@@ -54,24 +66,22 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
54
66
  offset?: string | undefined;
55
67
  };
56
68
  };
57
- } | {
58
- output: {
59
- error: string;
60
- code?: "invalid_input" | undefined;
61
- };
62
- outputFormat: "json";
63
- status: 400;
64
- input: {
65
- query: {
66
- offset?: string | undefined;
67
- };
68
- };
69
69
  };
70
70
  };
71
71
  } & {
72
72
  "/discover": {
73
73
  $post: {
74
74
  output: {
75
+ scope: "host-default-account";
76
+ runners: {
77
+ requiresAccountHome?: boolean | undefined;
78
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
79
+ enabled?: boolean | undefined;
80
+ hint?: string | undefined;
81
+ authFailureId?: string | undefined;
82
+ runner: string;
83
+ }[];
84
+ } | {
75
85
  runner: string;
76
86
  models: {
77
87
  id: string;
@@ -82,16 +92,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
82
92
  source: "cache" | "live" | "unavailable";
83
93
  stale: boolean;
84
94
  reason?: string | undefined;
85
- } | {
86
- scope: "host-default-account";
87
- runners: {
88
- requiresAccountHome?: boolean | undefined;
89
- status: "connected" | "disconnected" | "not-installed" | "unknown";
90
- enabled?: boolean | undefined;
91
- hint?: string | undefined;
92
- authFailureId?: string | undefined;
93
- runner: string;
94
- }[];
95
95
  } | {
96
96
  tasks: {
97
97
  id: string;
@@ -222,13 +222,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
222
222
  status: 200;
223
223
  input: {
224
224
  json: {
225
- workerIds: string[];
226
- timeoutSeconds?: number | undefined;
227
- mode?: "all" | "any" | "one" | undefined;
228
- } | {
229
225
  requestIds: string[];
230
226
  mode?: "all" | "any" | "one" | undefined;
231
227
  timeoutSeconds?: number | undefined;
228
+ } | {
229
+ workerIds: string[];
230
+ timeoutSeconds?: number | undefined;
231
+ mode?: "all" | "any" | "one" | undefined;
232
232
  } | {
233
233
  peerIds: string[];
234
234
  timeoutSeconds?: number | undefined;
@@ -652,6 +652,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
652
652
  } & {
653
653
  "/:workerId": {
654
654
  $get: {
655
+ output: {
656
+ error: string;
657
+ code?: "invalid_input" | undefined;
658
+ };
659
+ outputFormat: "json";
660
+ status: 400;
661
+ input: {
662
+ param: {
663
+ workerId: string;
664
+ };
665
+ };
666
+ } | {
655
667
  output: {
656
668
  workerId: string;
657
669
  settled: boolean;
@@ -776,7 +788,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
776
788
  workerId: string;
777
789
  };
778
790
  };
779
- } | {
791
+ };
792
+ };
793
+ } & {
794
+ "/:workerId/collect": {
795
+ $post: {
780
796
  output: {
781
797
  error: string;
782
798
  code?: "invalid_input" | undefined;
@@ -787,12 +803,10 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
787
803
  param: {
788
804
  workerId: string;
789
805
  };
806
+ } & {
807
+ json: Record<string, never>;
790
808
  };
791
- };
792
- };
793
- } & {
794
- "/:workerId/collect": {
795
- $post: {
809
+ } | {
796
810
  output: {
797
811
  workerId: string;
798
812
  parentRunId: string;
@@ -915,7 +929,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
915
929
  } & {
916
930
  json: Record<string, never>;
917
931
  };
918
- } | {
932
+ };
933
+ };
934
+ } & {
935
+ "/:workerId/steer": {
936
+ $post: {
919
937
  output: {
920
938
  error: string;
921
939
  code?: "invalid_input" | undefined;
@@ -927,13 +945,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
927
945
  workerId: string;
928
946
  };
929
947
  } & {
930
- json: Record<string, never>;
948
+ json: {
949
+ text: string;
950
+ };
931
951
  };
932
- };
933
- };
934
- } & {
935
- "/:workerId/steer": {
936
- $post: {
952
+ } | {
937
953
  output: {
938
954
  workerId: string;
939
955
  state: "delivered" | "queued";
@@ -949,7 +965,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
949
965
  text: string;
950
966
  };
951
967
  };
952
- } | {
968
+ };
969
+ };
970
+ } & {
971
+ "/:workerId/stop": {
972
+ $post: {
953
973
  output: {
954
974
  error: string;
955
975
  code?: "invalid_input" | undefined;
@@ -961,15 +981,9 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
961
981
  workerId: string;
962
982
  };
963
983
  } & {
964
- json: {
965
- text: string;
966
- };
984
+ json: Record<string, never>;
967
985
  };
968
- };
969
- };
970
- } & {
971
- "/:workerId/stop": {
972
- $post: {
986
+ } | {
973
987
  output: {
974
988
  workerId: string;
975
989
  state: "stopping" | "terminated";
@@ -983,7 +997,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
983
997
  } & {
984
998
  json: Record<string, never>;
985
999
  };
986
- } | {
1000
+ };
1001
+ };
1002
+ } & {
1003
+ "/:workerId/destroy": {
1004
+ $post: {
987
1005
  output: {
988
1006
  error: string;
989
1007
  code?: "invalid_input" | undefined;
@@ -995,13 +1013,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
995
1013
  workerId: string;
996
1014
  };
997
1015
  } & {
998
- json: Record<string, never>;
1016
+ json: {
1017
+ discardWork?: true | undefined;
1018
+ };
999
1019
  };
1000
- };
1001
- };
1002
- } & {
1003
- "/:workerId/destroy": {
1004
- $post: {
1020
+ } | {
1005
1021
  output: {
1006
1022
  workerId: string;
1007
1023
  state: "complete" | "incomplete";
@@ -1030,22 +1046,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
1030
1046
  discardWork?: true | undefined;
1031
1047
  };
1032
1048
  };
1033
- } | {
1034
- output: {
1035
- error: string;
1036
- code?: "invalid_input" | undefined;
1037
- };
1038
- outputFormat: "json";
1039
- status: 400;
1040
- input: {
1041
- param: {
1042
- workerId: string;
1043
- };
1044
- } & {
1045
- json: {
1046
- discardWork?: true | undefined;
1047
- };
1048
- };
1049
1049
  } | {
1050
1050
  output: {
1051
1051
  workerId: string;
@@ -1081,13 +1081,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
1081
1081
  "/:workerId/diff": {
1082
1082
  $get: {
1083
1083
  output: {
1084
- workerId: string;
1085
- baselineSha: string;
1086
- diff: string;
1087
- truncated: boolean;
1084
+ error: string;
1085
+ code?: "invalid_input" | undefined;
1088
1086
  };
1089
1087
  outputFormat: "json";
1090
- status: 200;
1088
+ status: 400;
1091
1089
  input: {
1092
1090
  param: {
1093
1091
  workerId: string;
@@ -1095,11 +1093,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
1095
1093
  };
1096
1094
  } | {
1097
1095
  output: {
1098
- error: string;
1099
- code?: "invalid_input" | undefined;
1096
+ workerId: string;
1097
+ baselineSha: string;
1098
+ diff: string;
1099
+ truncated: boolean;
1100
1100
  };
1101
1101
  outputFormat: "json";
1102
- status: 400;
1102
+ status: 200;
1103
1103
  input: {
1104
1104
  param: {
1105
1105
  workerId: string;
@@ -20,5 +20,7 @@ export declare const PLUGIN_ENTRY_FILES: readonly string[];
20
20
  * - every file of `PLUGIN_ENTRY_FILES`;
21
21
  * - `dist/runners/<id>/index.js` for each id of `bundledRunnerIds`: boot loads each bundled
22
22
  * runner from that entry, so a runner without one is missing from the cockpit.
23
+ * And (spec 2026-11-25-self-contained-runner-folders, Decision 3):
24
+ * - every copied runner `.mjs` asset in `runnerAssetFiles` (`dist/runners/<id>/...`).
23
25
  */
24
- export declare function findPackGaps(packedFiles: readonly string[], bundledRunnerIds: readonly string[]): string[];
26
+ export declare function findPackGaps(packedFiles: readonly string[], bundledRunnerIds: readonly string[], runnerAssetFiles?: readonly string[]): string[];
@@ -26,8 +26,10 @@ export const PLUGIN_ENTRY_FILES = [
26
26
  * - every file of `PLUGIN_ENTRY_FILES`;
27
27
  * - `dist/runners/<id>/index.js` for each id of `bundledRunnerIds`: boot loads each bundled
28
28
  * runner from that entry, so a runner without one is missing from the cockpit.
29
+ * And (spec 2026-11-25-self-contained-runner-folders, Decision 3):
30
+ * - every copied runner `.mjs` asset in `runnerAssetFiles` (`dist/runners/<id>/...`).
29
31
  */
30
- export function findPackGaps(packedFiles, bundledRunnerIds) {
32
+ export function findPackGaps(packedFiles, bundledRunnerIds, runnerAssetFiles = []) {
31
33
  const gaps = [];
32
34
  if (!packedFiles.includes('web/dist/index.html')) {
33
35
  gaps.push('web/dist/index.html is missing — the tarball would ship no UI shell (run `npm run build:web`)');
@@ -46,6 +48,10 @@ export function findPackGaps(packedFiles, bundledRunnerIds) {
46
48
  if (!packedFiles.includes(entry))
47
49
  gaps.push(`${entry} is missing — boot would not load the ${id} runner (run \`npm run build\`)`);
48
50
  }
51
+ for (const asset of runnerAssetFiles) {
52
+ if (!packedFiles.includes(asset))
53
+ gaps.push(`${asset} is missing — runner asset was not copied into dist/ (run \`npm run build\`)`);
54
+ }
49
55
  return gaps;
50
56
  }
51
57
  //# sourceMappingURL=pack-check.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pack-check.js","sourceRoot":"","sources":["../src/pack-check.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;8FAC8F;AAC9F,MAAM,CAAC,MAAM,kBAAkB,GAAsB;IACnD,sBAAsB;IACtB,wBAAwB;IACxB,+BAA+B;IAC/B,4BAA4B;IAC5B,uBAAuB;CACxB,CAAC;AAEF;;;;;;;;;;GAUG;AACH,MAAM,UAAU,YAAY,CAAC,WAA8B,EAAE,gBAAmC;IAC9F,MAAM,IAAI,GAAa,EAAE,CAAC;IAC1B,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,qBAAqB,CAAC,EAAE,CAAC;QACjD,IAAI,CAAC,IAAI,CAAC,+FAA+F,CAAC,CAAC;IAC7G,CAAC;IACD,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC,MAAM,GAAG,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC;QACvG,IAAI,CAAC,IAAI,CAAC,kFAAkF,CAAC,CAAC;IAChG,CAAC;IACD,KAAK,MAAM,IAAI,IAAI,kBAAkB,EAAE,CAAC;QACtC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC;YAAE,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,qFAAqF,CAAC,CAAC;IAC3I,CAAC;IACD,IAAI,gBAAgB,CAAC,MAAM,K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G,IAAI,qFAAqF,CAAC,CAAC;IAC3I,CAAC;IACD,IAAI,gBAAgB,CAAC,MAAM,KAAK,CAAC;QAAE,IAAI,CAAC,IAAI,CAAC,gEAAgE,CAAC,CAAC;IAC/G,KAAK,MAAM,EAAE,IAAI,gBAAgB,EAAE,CAAC;QAClC,MAAM,KAAK,GAAG,gBAAgB,EAAE,WAAW,CAAC;QAC5C,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC;YAAE,IAAI,CAAC,IAAI,CAAC,GAAG,KAAK,yCAAyC,EAAE,iCAAiC,CAAC,CAAC;IACpI,CAAC;IACD,KAAK,MAAM,KAAK,IAAI,gBAAgB,EAAE,CAAC;QACrC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC;YAAE,IAAI,CAAC,IAAI,CAAC,GAAG,KAAK,8EAA8E,CAAC,CAAC;IACtI,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
@@ -7,6 +7,7 @@
7
7
  * storage, or Pi RPC code.
8
8
  * Unstable: it may change in any release until Squawk installs plugins from npm or git.
9
9
  */
10
+ export { z } from 'zod';
10
11
  export { defineRunner } from '../core/runner-definition.ts';
11
12
  export type { RunnerAccountsData, RunnerBrowserSignIn, RunnerCli, RunnerConfigFiles, RunnerDetection, RunnerDisplay, RunnerEnv, RunnerLoginData, RunnerLoginStatus, RunnerMock, RunnerModelData, } from '../core/runner-definition.ts';
12
13
  export type { RunnerFacts } from '../core/runner-facts.ts';
@@ -8,6 +8,7 @@
8
8
  * Unstable: it may change in any release until Squawk installs plugins from npm or git.
9
9
  */
10
10
  // Runner definition and adapter contract.
11
+ export { z } from 'zod';
11
12
  export { defineRunner } from '../core/runner-definition.js';
12
13
  export { SQUAWK_SIDE_SPEC_SUPPORT } from '../core/agent-runner-values.js';
13
14
  // Environment and paths needed by definitions and metadata.
@@ -1 +1 @@
1
- {"version":3,"file":"runner-kit.js","sourceRoot":"","sources":["../../src/plugin/runner-kit.ts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AC;AAKxE,+CAA+C;AAC/C,OAAO,EACL,qBAAqB,EAAE,oBAAoB,EAAE,8BAA8B,EAAE,6BAA6B,EAC1G,wBAAwB,GACzB,MAAM,yBAAyB,CAAC"}
@@ -27,6 +27,7 @@ export { costWeightedTokens } from '../core/usage.ts';
27
27
  export { squawkToolEnvNames, squawkToolNames } from '../ci-wait/tool-names.ts';
28
28
  export { claudeSkillContent, openingContent, openingInput, skillOf, slashSkillPrompt, validSkillMessage } from '../core/skill-trigger.ts';
29
29
  export { skillLines, skillOutput, skillProbe } from '../core/skill-probe.ts';
30
+ export { nativeMockPath } from '../core/native-mock.ts';
30
31
  export { skillPathPlugin, skillPathScope } from '../core/skill-path-scope.ts';
31
32
  export { formatModelIdentity, parseModelIdentity } from '../core/model-identity.ts';
32
33
  export { spawnModelProbe } from '../core/model-probe-spawn.ts';
@@ -27,6 +27,7 @@ export { costWeightedTokens } from '../core/usage.js';
27
27
  export { squawkToolEnvNames, squawkToolNames } from '../ci-wait/tool-names.js';
28
28
  export { claudeSkillContent, openingContent, openingInput, skillOf, slashSkillPrompt, validSkillMessage } from '../core/skill-trigger.js';
29
29
  export { skillLines, skillOutput, skillProbe } from '../core/skill-probe.js';
30
+ export { nativeMockPath } from '../core/native-mock.js';
30
31
  export { skillPathPlugin, skillPathScope } from '../core/skill-path-scope.js';
31
32
  export { formatModelIdentity, parseModelIdentity } from '../core/model-identity.js';
32
33
  export { spawnModelProbe } from '../core/model-probe-spawn.js';
@@ -1 +1 @@
1
- {"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../src/plugin/runtime.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,iCAAiC,EAAE,YAAY,EAAE,uBAAuB,EAAE,mBAAmB,EAC7F,cAAc,EAAE,gBAAgB,GACjC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACjH,OAAO,E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