@hearsay-tools/squawk 0.18.0-pr4265.8230 → 0.18.0-pr4267.8233

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 (36) hide show
  1. package/dist/automations/tools.d.ts +8 -8
  2. package/dist/ci-wait/controller.d.ts +0 -2
  3. package/dist/ci-wait/controller.js +2 -6
  4. package/dist/ci-wait/controller.js.map +1 -1
  5. package/dist/core/agent-env.js +0 -1
  6. package/dist/core/agent-env.js.map +1 -1
  7. package/dist/core/runner-definition.d.ts +1 -6
  8. package/dist/core/runner-definition.js.map +1 -1
  9. package/dist/core/skill-probe.js +2 -2
  10. package/dist/core/skill-probe.js.map +1 -1
  11. package/dist/delegation/routes.d.ts +10 -10
  12. package/dist/delegation/transport.d.ts +79 -79
  13. package/dist/pack-check.d.ts +1 -3
  14. package/dist/pack-check.js +1 -7
  15. package/dist/pack-check.js.map +1 -1
  16. package/dist/plugin/runner-kit.d.ts +0 -1
  17. package/dist/plugin/runner-kit.js +0 -1
  18. package/dist/plugin/runner-kit.js.map +1 -1
  19. package/dist/plugin/runtime.d.ts +0 -1
  20. package/dist/plugin/runtime.js +0 -1
  21. package/dist/plugin/runtime.js.map +1 -1
  22. package/dist/runs/run-decode.d.ts +72 -72
  23. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  24. package/dist/server/reports-api.d.ts +2 -2
  25. package/dist/server/runner-install-routes.d.ts +10 -10
  26. package/dist/server/server.d.ts +6 -6
  27. package/dist/server/workspace-live-routes.d.ts +6 -6
  28. package/dist/workflows/input-acknowledgement.d.ts +24 -24
  29. package/dist/workflows/run/wait-engine.d.ts +72 -72
  30. package/package.json +5 -5
  31. package/scripts/check-pack.mjs +4 -7
  32. package/dist/core/native-mock.d.ts +0 -6
  33. package/dist/core/native-mock.js +0 -26
  34. package/dist/core/native-mock.js.map +0 -1
  35. package/scripts/copy-runner-assets.d.mts +0 -2
  36. package/scripts/copy-runner-assets.mjs +0 -69
@@ -27,7 +27,6 @@ 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';
31
30
  export { skillPathPlugin, skillPathScope } from '../core/skill-path-scope.js';
32
31
  export { formatModelIdentity, parseModelIdentity } from '../core/model-identity.js';
33
32
  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,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjH,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EACL,iBAAiB,EAAE,sBAAsB,EAAE,cAAc,EAAE,yBAAyB,EAAE,eAAe,GACtG,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACjF,OAAO,EAAE,UAAU,E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B,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC/E,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,YAAY,EAAE,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC1I,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AACvG,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AACrF,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC"}
@@ -2227,30 +2227,6 @@ export declare function parseRunRecords(raw: unknown): z.ZodSafeParseResult<{
2227
2227
  deadline: string;
2228
2228
  seconds: number;
2229
2229
  note?: string | undefined;
2230
- } | {
2231
- id: string;
2232
- source: "agent" | "cezar";
2233
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
2234
- registeredAt: string;
2235
- phase: "cancelled" | "delivered" | "open" | "resolved";
2236
- resolvedAt?: string | undefined;
2237
- deliveredAt?: string | undefined;
2238
- cancelledAt?: string | undefined;
2239
- turnId: string;
2240
- kind: "process";
2241
- deadline: string;
2242
- timeoutSeconds: number;
2243
- pid: number;
2244
- startToken?: string | undefined;
2245
- exitFile?: string | undefined;
2246
- note?: string | undefined;
2247
- result?: {
2248
- outcome: "deadline" | "error" | "exit_file" | "exited";
2249
- observedAt: string;
2250
- exitCode?: number | undefined;
2251
- exitFileNote?: "not-an-exit-code" | undefined;
2252
- diagnostic?: string | undefined;
2253
- } | undefined;
2254
2230
  } | {
2255
2231
  id: string;
2256
2232
  source: "agent" | "cezar";
@@ -2312,6 +2288,30 @@ export declare function parseRunRecords(raw: unknown): z.ZodSafeParseResult<{
2312
2288
  reason: "outcome" | "timeout";
2313
2289
  } | undefined;
2314
2290
  wakeInputId?: string | undefined;
2291
+ } | {
2292
+ id: string;
2293
+ source: "agent" | "cezar";
2294
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
2295
+ registeredAt: string;
2296
+ phase: "cancelled" | "delivered" | "open" | "resolved";
2297
+ resolvedAt?: string | undefined;
2298
+ deliveredAt?: string | undefined;
2299
+ cancelledAt?: string | undefined;
2300
+ turnId: string;
2301
+ kind: "process";
2302
+ deadline: string;
2303
+ timeoutSeconds: number;
2304
+ pid: number;
2305
+ startToken?: string | undefined;
2306
+ exitFile?: string | undefined;
2307
+ note?: string | undefined;
2308
+ result?: {
2309
+ outcome: "deadline" | "error" | "exit_file" | "exited";
2310
+ observedAt: string;
2311
+ exitCode?: number | undefined;
2312
+ exitFileNote?: "not-an-exit-code" | undefined;
2313
+ diagnostic?: string | undefined;
2314
+ } | undefined;
2315
2315
  } | {
2316
2316
  id: string;
2317
2317
  source: "agent" | "cezar";
@@ -2439,30 +2439,6 @@ export declare function parseRunRecords(raw: unknown): z.ZodSafeParseResult<{
2439
2439
  deadline: string;
2440
2440
  seconds: number;
2441
2441
  note?: string | undefined;
2442
- } | {
2443
- id: string;
2444
- source: "agent" | "cezar";
2445
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
2446
- registeredAt: string;
2447
- phase: "cancelled" | "delivered" | "open" | "resolved";
2448
- resolvedAt?: string | undefined;
2449
- deliveredAt?: string | undefined;
2450
- cancelledAt?: string | undefined;
2451
- turnId: string;
2452
- kind: "process";
2453
- deadline: string;
2454
- timeoutSeconds: number;
2455
- pid: number;
2456
- startToken?: string | undefined;
2457
- exitFile?: string | undefined;
2458
- note?: string | undefined;
2459
- result?: {
2460
- outcome: "deadline" | "error" | "exit_file" | "exited";
2461
- observedAt: string;
2462
- exitCode?: number | undefined;
2463
- exitFileNote?: "not-an-exit-code" | undefined;
2464
- diagnostic?: string | undefined;
2465
- } | undefined;
2466
2442
  } | {
2467
2443
  id: string;
2468
2444
  source: "agent" | "cezar";
@@ -2524,6 +2500,30 @@ export declare function parseRunRecords(raw: unknown): z.ZodSafeParseResult<{
2524
2500
  reason: "outcome" | "timeout";
2525
2501
  } | undefined;
2526
2502
  wakeInputId?: string | undefined;
2503
+ } | {
2504
+ id: string;
2505
+ source: "agent" | "cezar";
2506
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
2507
+ registeredAt: string;
2508
+ phase: "cancelled" | "delivered" | "open" | "resolved";
2509
+ resolvedAt?: string | undefined;
2510
+ deliveredAt?: string | undefined;
2511
+ cancelledAt?: string | undefined;
2512
+ turnId: string;
2513
+ kind: "process";
2514
+ deadline: string;
2515
+ timeoutSeconds: number;
2516
+ pid: number;
2517
+ startToken?: string | undefined;
2518
+ exitFile?: string | undefined;
2519
+ note?: string | undefined;
2520
+ result?: {
2521
+ outcome: "deadline" | "error" | "exit_file" | "exited";
2522
+ observedAt: string;
2523
+ exitCode?: number | undefined;
2524
+ exitFileNote?: "not-an-exit-code" | undefined;
2525
+ diagnostic?: string | undefined;
2526
+ } | undefined;
2527
2527
  } | {
2528
2528
  id: string;
2529
2529
  source: "agent" | "cezar";
@@ -2650,30 +2650,6 @@ export declare function parseRunRecords(raw: unknown): z.ZodSafeParseResult<{
2650
2650
  deadline: string;
2651
2651
  seconds: number;
2652
2652
  note?: string | undefined;
2653
- } | {
2654
- id: string;
2655
- source: "agent" | "cezar";
2656
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
2657
- registeredAt: string;
2658
- phase: "cancelled" | "delivered" | "open" | "resolved";
2659
- resolvedAt?: string | undefined;
2660
- deliveredAt?: string | undefined;
2661
- cancelledAt?: string | undefined;
2662
- turnId: string;
2663
- kind: "process";
2664
- deadline: string;
2665
- timeoutSeconds: number;
2666
- pid: number;
2667
- startToken?: string | undefined;
2668
- exitFile?: string | undefined;
2669
- note?: string | undefined;
2670
- result?: {
2671
- outcome: "deadline" | "error" | "exit_file" | "exited";
2672
- observedAt: string;
2673
- exitCode?: number | undefined;
2674
- exitFileNote?: "not-an-exit-code" | undefined;
2675
- diagnostic?: string | undefined;
2676
- } | undefined;
2677
2653
  } | {
2678
2654
  id: string;
2679
2655
  source: "agent" | "cezar";
@@ -2735,6 +2711,30 @@ export declare function parseRunRecords(raw: unknown): z.ZodSafeParseResult<{
2735
2711
  reason: "outcome" | "timeout";
2736
2712
  } | undefined;
2737
2713
  wakeInputId?: string | undefined;
2714
+ } | {
2715
+ id: string;
2716
+ source: "agent" | "cezar";
2717
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
2718
+ registeredAt: string;
2719
+ phase: "cancelled" | "delivered" | "open" | "resolved";
2720
+ resolvedAt?: string | undefined;
2721
+ deliveredAt?: string | undefined;
2722
+ cancelledAt?: string | undefined;
2723
+ turnId: string;
2724
+ kind: "process";
2725
+ deadline: string;
2726
+ timeoutSeconds: number;
2727
+ pid: number;
2728
+ startToken?: string | undefined;
2729
+ exitFile?: string | undefined;
2730
+ note?: string | undefined;
2731
+ result?: {
2732
+ outcome: "deadline" | "error" | "exit_file" | "exited";
2733
+ observedAt: string;
2734
+ exitCode?: number | undefined;
2735
+ exitFileNote?: "not-an-exit-code" | undefined;
2736
+ diagnostic?: string | undefined;
2737
+ } | undefined;
2738
2738
  } | {
2739
2739
  id: string;
2740
2740
  source: "agent" | "cezar";
@@ -18,7 +18,7 @@ export declare function createProviderSignInRoutes(options: {
18
18
  error: string;
19
19
  };
20
20
  outputFormat: "json";
21
- status: 409;
21
+ status: 400;
22
22
  input: {
23
23
  json: {
24
24
  provider: string;
@@ -30,7 +30,7 @@ export declare function createProviderSignInRoutes(options: {
30
30
  error: string;
31
31
  };
32
32
  outputFormat: "json";
33
- status: 400;
33
+ status: 409;
34
34
  input: {
35
35
  json: {
36
36
  provider: string;
@@ -40,7 +40,7 @@ export declare const reportsRoutes: import("hono/hono-base").HonoBase<ProjectApi
40
40
  error: string;
41
41
  };
42
42
  outputFormat: "json";
43
- status: 409;
43
+ status: 400;
44
44
  input: {
45
45
  query: {
46
46
  q?: string | undefined;
@@ -53,7 +53,7 @@ export declare const reportsRoutes: import("hono/hono-base").HonoBase<ProjectApi
53
53
  error: string;
54
54
  };
55
55
  outputFormat: "json";
56
- status: 400;
56
+ status: 409;
57
57
  input: {
58
58
  query: {
59
59
  q?: string | undefined;
@@ -52,11 +52,15 @@ export declare function createRunnerInstallRoutes(options: {
52
52
  "/runner-install/:runner": {
53
53
  $post: {
54
54
  output: {
55
- error: string;
56
- code?: "invalid_input" | undefined;
55
+ supported: boolean;
56
+ installedVersion: string | null;
57
+ latestVersion: string | null;
58
+ updateAvailable: boolean;
59
+ phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
60
+ error: string | null;
57
61
  };
58
62
  outputFormat: "json";
59
- status: 400;
63
+ status: 202;
60
64
  input: {
61
65
  param: {
62
66
  runner: string;
@@ -68,15 +72,11 @@ export declare function createRunnerInstallRoutes(options: {
68
72
  };
69
73
  } | {
70
74
  output: {
71
- supported: boolean;
72
- installedVersion: string | null;
73
- latestVersion: string | null;
74
- updateAvailable: boolean;
75
- phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
76
- error: string | null;
75
+ error: string;
76
+ code?: "invalid_input" | undefined;
77
77
  };
78
78
  outputFormat: "json";
79
- status: 202;
79
+ status: 400;
80
80
  input: {
81
81
  param: {
82
82
  runner: string;
@@ -3118,6 +3118,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3118
3118
  output: {
3119
3119
  generation: string;
3120
3120
  results: ({
3121
+ projectId: string;
3122
+ runId: string;
3123
+ type: "error" | "reset";
3124
+ status: 400 | 404 | 409 | 413 | 503;
3125
+ error: string;
3126
+ } | {
3121
3127
  projectId: string;
3122
3128
  runId: string;
3123
3129
  type: "batch";
@@ -3131,12 +3137,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3131
3137
  cursor: string;
3132
3138
  afterSeq: number;
3133
3139
  hasMore: boolean;
3134
- } | {
3135
- projectId: string;
3136
- runId: string;
3137
- type: "error" | "reset";
3138
- status: 400 | 404 | 409 | 413 | 503;
3139
- error: string;
3140
3140
  })[];
3141
3141
  };
3142
3142
  outputFormat: "json";
@@ -7,12 +7,6 @@ export declare function createWorkspaceLiveRoutes(live: Parameters<typeof create
7
7
  output: {
8
8
  generation: string;
9
9
  results: ({
10
- projectId: string;
11
- runId: string;
12
- type: "error" | "reset";
13
- status: 400 | 404 | 409 | 413 | 503;
14
- error: string;
15
- } | {
16
10
  projectId: string;
17
11
  runId: string;
18
12
  type: "batch";
@@ -26,6 +20,12 @@ export declare function createWorkspaceLiveRoutes(live: Parameters<typeof create
26
20
  cursor: string;
27
21
  afterSeq: number;
28
22
  hasMore: boolean;
23
+ } | {
24
+ projectId: string;
25
+ runId: string;
26
+ type: "error" | "reset";
27
+ status: 400 | 404 | 409 | 413 | 503;
28
+ error: string;
29
29
  })[];
30
30
  };
31
31
  outputFormat: "json";
@@ -74,30 +74,6 @@ export declare function analyseAcknowledgedInput(runId: string, state: ActiveRun
74
74
  deadline: string;
75
75
  seconds: number;
76
76
  note?: string | undefined;
77
- } | {
78
- id: string;
79
- source: "agent" | "cezar";
80
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
81
- registeredAt: string;
82
- phase: "cancelled" | "delivered" | "open" | "resolved";
83
- resolvedAt?: string | undefined;
84
- deliveredAt?: string | undefined;
85
- cancelledAt?: string | undefined;
86
- turnId: string;
87
- kind: "process";
88
- deadline: string;
89
- timeoutSeconds: number;
90
- pid: number;
91
- startToken?: string | undefined;
92
- exitFile?: string | undefined;
93
- note?: string | undefined;
94
- result?: {
95
- outcome: "deadline" | "error" | "exit_file" | "exited";
96
- observedAt: string;
97
- exitCode?: number | undefined;
98
- exitFileNote?: "not-an-exit-code" | undefined;
99
- diagnostic?: string | undefined;
100
- } | undefined;
101
77
  } | {
102
78
  id: string;
103
79
  source: "agent" | "cezar";
@@ -159,6 +135,30 @@ export declare function analyseAcknowledgedInput(runId: string, state: ActiveRun
159
135
  reason: "outcome" | "timeout";
160
136
  } | undefined;
161
137
  wakeInputId?: string | undefined;
138
+ } | {
139
+ id: string;
140
+ source: "agent" | "cezar";
141
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
142
+ registeredAt: string;
143
+ phase: "cancelled" | "delivered" | "open" | "resolved";
144
+ resolvedAt?: string | undefined;
145
+ deliveredAt?: string | undefined;
146
+ cancelledAt?: string | undefined;
147
+ turnId: string;
148
+ kind: "process";
149
+ deadline: string;
150
+ timeoutSeconds: number;
151
+ pid: number;
152
+ startToken?: string | undefined;
153
+ exitFile?: string | undefined;
154
+ note?: string | undefined;
155
+ result?: {
156
+ outcome: "deadline" | "error" | "exit_file" | "exited";
157
+ observedAt: string;
158
+ exitCode?: number | undefined;
159
+ exitFileNote?: "not-an-exit-code" | undefined;
160
+ diagnostic?: string | undefined;
161
+ } | undefined;
162
162
  } | {
163
163
  id: string;
164
164
  source: "agent" | "cezar";
@@ -237,6 +237,30 @@ export declare class WaitEngine {
237
237
  deadline: string;
238
238
  seconds: number;
239
239
  note?: string | undefined;
240
+ } | {
241
+ id: string;
242
+ source: "agent" | "cezar";
243
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
244
+ registeredAt: string;
245
+ phase: "cancelled" | "delivered" | "open" | "resolved";
246
+ resolvedAt?: string | undefined;
247
+ deliveredAt?: string | undefined;
248
+ cancelledAt?: string | undefined;
249
+ turnId: string;
250
+ kind: "process";
251
+ deadline: string;
252
+ timeoutSeconds: number;
253
+ pid: number;
254
+ startToken?: string | undefined;
255
+ exitFile?: string | undefined;
256
+ note?: string | undefined;
257
+ result?: {
258
+ outcome: "deadline" | "error" | "exit_file" | "exited";
259
+ observedAt: string;
260
+ exitCode?: number | undefined;
261
+ exitFileNote?: "not-an-exit-code" | undefined;
262
+ diagnostic?: string | undefined;
263
+ } | undefined;
240
264
  } | {
241
265
  id: string;
242
266
  source: "agent" | "cezar";
@@ -298,30 +322,6 @@ export declare class WaitEngine {
298
322
  reason: "outcome" | "timeout";
299
323
  } | undefined;
300
324
  wakeInputId?: string | undefined;
301
- } | {
302
- id: string;
303
- source: "agent" | "cezar";
304
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
305
- registeredAt: string;
306
- phase: "cancelled" | "delivered" | "open" | "resolved";
307
- resolvedAt?: string | undefined;
308
- deliveredAt?: string | undefined;
309
- cancelledAt?: string | undefined;
310
- turnId: string;
311
- kind: "process";
312
- deadline: string;
313
- timeoutSeconds: number;
314
- pid: number;
315
- startToken?: string | undefined;
316
- exitFile?: string | undefined;
317
- note?: string | undefined;
318
- result?: {
319
- outcome: "deadline" | "error" | "exit_file" | "exited";
320
- observedAt: string;
321
- exitCode?: number | undefined;
322
- exitFileNote?: "not-an-exit-code" | undefined;
323
- diagnostic?: string | undefined;
324
- } | undefined;
325
325
  } | {
326
326
  id: string;
327
327
  source: "agent" | "cezar";
@@ -449,6 +449,30 @@ export declare class WaitEngine {
449
449
  deadline: string;
450
450
  seconds: number;
451
451
  note?: string | undefined;
452
+ } | {
453
+ id: string;
454
+ source: "agent" | "cezar";
455
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
456
+ registeredAt: string;
457
+ phase: "cancelled" | "delivered" | "open" | "resolved";
458
+ resolvedAt?: string | undefined;
459
+ deliveredAt?: string | undefined;
460
+ cancelledAt?: string | undefined;
461
+ turnId: string;
462
+ kind: "process";
463
+ deadline: string;
464
+ timeoutSeconds: number;
465
+ pid: number;
466
+ startToken?: string | undefined;
467
+ exitFile?: string | undefined;
468
+ note?: string | undefined;
469
+ result?: {
470
+ outcome: "deadline" | "error" | "exit_file" | "exited";
471
+ observedAt: string;
472
+ exitCode?: number | undefined;
473
+ exitFileNote?: "not-an-exit-code" | undefined;
474
+ diagnostic?: string | undefined;
475
+ } | undefined;
452
476
  } | {
453
477
  id: string;
454
478
  source: "agent" | "cezar";
@@ -510,30 +534,6 @@ export declare class WaitEngine {
510
534
  reason: "outcome" | "timeout";
511
535
  } | undefined;
512
536
  wakeInputId?: string | undefined;
513
- } | {
514
- id: string;
515
- source: "agent" | "cezar";
516
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
517
- registeredAt: string;
518
- phase: "cancelled" | "delivered" | "open" | "resolved";
519
- resolvedAt?: string | undefined;
520
- deliveredAt?: string | undefined;
521
- cancelledAt?: string | undefined;
522
- turnId: string;
523
- kind: "process";
524
- deadline: string;
525
- timeoutSeconds: number;
526
- pid: number;
527
- startToken?: string | undefined;
528
- exitFile?: string | undefined;
529
- note?: string | undefined;
530
- result?: {
531
- outcome: "deadline" | "error" | "exit_file" | "exited";
532
- observedAt: string;
533
- exitCode?: number | undefined;
534
- exitFileNote?: "not-an-exit-code" | undefined;
535
- diagnostic?: string | undefined;
536
- } | undefined;
537
537
  } | {
538
538
  id: string;
539
539
  source: "agent" | "cezar";
@@ -660,6 +660,30 @@ export declare class WaitEngine {
660
660
  deadline: string;
661
661
  seconds: number;
662
662
  note?: string | undefined;
663
+ } | {
664
+ id: string;
665
+ source: "agent" | "cezar";
666
+ via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
667
+ registeredAt: string;
668
+ phase: "cancelled" | "delivered" | "open" | "resolved";
669
+ resolvedAt?: string | undefined;
670
+ deliveredAt?: string | undefined;
671
+ cancelledAt?: string | undefined;
672
+ turnId: string;
673
+ kind: "process";
674
+ deadline: string;
675
+ timeoutSeconds: number;
676
+ pid: number;
677
+ startToken?: string | undefined;
678
+ exitFile?: string | undefined;
679
+ note?: string | undefined;
680
+ result?: {
681
+ outcome: "deadline" | "error" | "exit_file" | "exited";
682
+ observedAt: string;
683
+ exitCode?: number | undefined;
684
+ exitFileNote?: "not-an-exit-code" | undefined;
685
+ diagnostic?: string | undefined;
686
+ } | undefined;
663
687
  } | {
664
688
  id: string;
665
689
  source: "agent" | "cezar";
@@ -721,30 +745,6 @@ export declare class WaitEngine {
721
745
  reason: "outcome" | "timeout";
722
746
  } | undefined;
723
747
  wakeInputId?: string | undefined;
724
- } | {
725
- id: string;
726
- source: "agent" | "cezar";
727
- via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
728
- registeredAt: string;
729
- phase: "cancelled" | "delivered" | "open" | "resolved";
730
- resolvedAt?: string | undefined;
731
- deliveredAt?: string | undefined;
732
- cancelledAt?: string | undefined;
733
- turnId: string;
734
- kind: "process";
735
- deadline: string;
736
- timeoutSeconds: number;
737
- pid: number;
738
- startToken?: string | undefined;
739
- exitFile?: string | undefined;
740
- note?: string | undefined;
741
- result?: {
742
- outcome: "deadline" | "error" | "exit_file" | "exited";
743
- observedAt: string;
744
- exitCode?: number | undefined;
745
- exitFileNote?: "not-an-exit-code" | undefined;
746
- diagnostic?: string | undefined;
747
- } | undefined;
748
748
  } | {
749
749
  id: string;
750
750
  source: "agent" | "cezar";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hearsay-tools/squawk",
3
- "version": "0.18.0-pr4265.8230",
3
+ "version": "0.18.0-pr4267.8233",
4
4
  "description": "Local cockpit for running and tracking AI agent tasks in your repo. Uses your logged-in `claude` CLI and `gh` — zero config, zero database.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -52,7 +52,7 @@
52
52
  "test:package": "node ../../scripts/test-package.mjs",
53
53
  "typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.test.json && tsc --noEmit -p tsconfig.scripts.json",
54
54
  "typecheck:package": "tsc --noEmit -p tsconfig.package.json",
55
- "postbuild": "node scripts/inline-contract.mjs && node scripts/copy-runner-assets.mjs",
55
+ "postbuild": "node scripts/inline-contract.mjs",
56
56
  "bench:project-probes": "node --import tsx scripts/benchmark-project-probes.mjs"
57
57
  },
58
58
  "dependencies": {
@@ -68,8 +68,8 @@
68
68
  "devDependencies": {
69
69
  "@babel/parser": "^8.0.8",
70
70
  "@babel/types": "^8.0.8",
71
- "@open-mercato/cezar-api-client": "0.18.0-pr4265.8230",
72
- "@open-mercato/cezar-contract": "0.18.0-pr4265.8230",
71
+ "@open-mercato/cezar-api-client": "0.18.0-pr4267.8233",
72
+ "@open-mercato/cezar-contract": "0.18.0-pr4267.8233",
73
73
  "@types/node": "^24.19.1",
74
74
  "@types/ws": "^8.18.1",
75
75
  "esbuild": "^0.28.1",
@@ -86,5 +86,5 @@
86
86
  "publishConfig": {
87
87
  "access": "public"
88
88
  },
89
- "gitHead": "40aa2de64d71f8018162b000d1f41a2b26720551"
89
+ "gitHead": "73ba12e7a88f4dd5e5ee7dc64d39da96f6897949"
90
90
  }
@@ -16,7 +16,6 @@ import path from 'node:path';
16
16
  import { fileURLToPath } from 'node:url';
17
17
  import { findPackGaps } from '../dist/pack-check.js';
18
18
  import { bundledRunnerIds } from '../dist/plugin/bundled-runners.js';
19
- import { listRunnerAssets } from './copy-runner-assets.mjs';
20
19
 
21
20
  const repoRoot = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
22
21
 
@@ -39,11 +38,9 @@ if (files.length === 0) {
39
38
  process.exit(1);
40
39
  }
41
40
 
42
- // The bundled runners the source declares: each must ship its built plugin entry and copied .mjs assets.
43
- const srcRunnersDir = path.join(repoRoot, 'src/runners');
44
- const runnerIds = bundledRunnerIds(srcRunnersDir);
45
- const runnerAssets = listRunnerAssets(srcRunnersDir, runnerIds).map((rel) => `dist/runners/${rel}`);
46
- const gaps = findPackGaps(files, runnerIds, runnerAssets);
41
+ // The bundled runners the source declares: each must ship its built plugin entry.
42
+ const runnerIds = bundledRunnerIds(path.join(repoRoot, 'src/runners'));
43
+ const gaps = findPackGaps(files, runnerIds);
47
44
  if (gaps.length > 0) {
48
45
  console.error('check:pack: the npm tarball would ship a broken cockpit:');
49
46
  for (const gap of gaps) console.error(` - ${gap}`);
@@ -51,4 +48,4 @@ if (gaps.length > 0) {
51
48
  }
52
49
 
53
50
  const uiFiles = files.filter((f) => f.startsWith('web/dist/')).length;
54
- console.log(`check:pack ok — ${files.length} files, ${uiFiles} under web/dist (shell + assets present), bundled runners ${runnerIds.join(', ')}, ${runnerAssets.length} runner asset(s)`);
51
+ console.log(`check:pack ok — ${files.length} files, ${uiFiles} under web/dist (shell + assets present), bundled runners ${runnerIds.join(', ')}`);
@@ -1,6 +0,0 @@
1
- import type { RunnerMock } from './runner-definition.ts';
2
- /**
3
- * Resolve `RunnerMock.script` against the running copy's `scripts/` folder.
4
- * Throws an error naming the script when the running installation does not ship it.
5
- */
6
- export declare function nativeMockPath(mock: Pick<RunnerMock, 'script'>): string;