@hearsay-tools/squawk 0.18.0-pr4265.8230 → 0.18.0-pr4266.8229

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/README.md +2 -2
  2. package/dist/automations/tools.d.ts +8 -8
  3. package/dist/ci-wait/controller.d.ts +7 -9
  4. package/dist/ci-wait/controller.js +2 -6
  5. package/dist/ci-wait/controller.js.map +1 -1
  6. package/dist/core/agent-env.js +0 -1
  7. package/dist/core/agent-env.js.map +1 -1
  8. package/dist/core/runner-definition.d.ts +1 -6
  9. package/dist/core/runner-definition.js.map +1 -1
  10. package/dist/core/skill-probe.js +2 -2
  11. package/dist/core/skill-probe.js.map +1 -1
  12. package/dist/delegation/routes.d.ts +75 -75
  13. package/dist/delegation/transport.d.ts +14 -14
  14. package/dist/pack-check.d.ts +1 -3
  15. package/dist/pack-check.js +1 -7
  16. package/dist/pack-check.js.map +1 -1
  17. package/dist/plugin/runner-kit.d.ts +0 -1
  18. package/dist/plugin/runner-kit.js +0 -1
  19. package/dist/plugin/runner-kit.js.map +1 -1
  20. package/dist/plugin/runtime.d.ts +0 -1
  21. package/dist/plugin/runtime.js +0 -1
  22. package/dist/plugin/runtime.js.map +1 -1
  23. package/dist/runs/run-decode.d.ts +72 -72
  24. package/dist/server/activity-routes.d.ts +23 -23
  25. package/dist/server/models-routes.d.ts +13 -13
  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
@@ -1 +1 @@
1
- {"version":3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C;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,OAAO,IAAI,CAAC;AACd,CAAC"}
@@ -7,7 +7,6 @@
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';
11
10
  export { defineRunner } from '../core/runner-definition.ts';
12
11
  export type { RunnerAccountsData, RunnerBrowserSignIn, RunnerCli, RunnerConfigFiles, RunnerDetection, RunnerDisplay, RunnerEnv, RunnerLoginData, RunnerLoginStatus, RunnerMock, RunnerModelData, } from '../core/runner-definition.ts';
13
12
  export type { RunnerFacts } from '../core/runner-facts.ts';
@@ -8,7 +8,6 @@
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';
12
11
  export { defineRunner } from '../core/runner-definition.js';
13
12
  export { SQUAWK_SIDE_SPEC_SUPPORT } from '../core/agent-runner-values.js';
14
13
  // Environment and paths needed by definitions and metadata.
@@ -1 +1 @@
1
- {"version":3,"file":"runner-kit.js","sourceRoot":"","sources":["../../src/plugin/runner-kit.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,0CAA0C;AAC1C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAU5D,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAI1E,4DAA4D;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAoB1D,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAE3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AAKxE,+CAA+C;AAC/C,OAAO,EACL,qBAAqB,EAAE,oBAAoB,EAAE,8BAA8B,EAAE,6BAA6B,EAC1G,wBAAwB,GACzB,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"runner-kit.js","sourceRoot":"","sources":["../../src/plugin/runner-kit.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,0CAA0C;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAU5D,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAI1E,4DAA4D;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAoB1D,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAE3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AAKxE,+CAA+C;AAC/C,OAAO,EACL,qBAAqB,EAAE,oBAAoB,EAAE,8BAA8B,EAAE,6BAA6B,EAC1G,wBAAwB,GACzB,MAAM,yBAAyB,CAAC"}
@@ -27,7 +27,6 @@ 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';
31
30
  export { skillPathPlugin, skillPathScope } from '../core/skill-path-scope.ts';
32
31
  export { formatModelIdentity, parseModelIdentity } from '../core/model-identity.ts';
33
32
  export { spawnModelProbe } from '../core/model-probe-spawn.ts';
@@ -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,sBA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S,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,gBAAgB,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";
@@ -58,6 +58,29 @@ export declare function ciProgressPlugs(): {
58
58
  export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, {
59
59
  "/workspace/activity": {
60
60
  $get: {
61
+ output: {
62
+ error: string;
63
+ code?: "invalid_input" | undefined;
64
+ };
65
+ outputFormat: "json";
66
+ status: 400;
67
+ input: {
68
+ query: {
69
+ project?: string | undefined;
70
+ };
71
+ };
72
+ } | {
73
+ output: {
74
+ error: string;
75
+ };
76
+ outputFormat: "json";
77
+ status: 404 | 409 | 503;
78
+ input: {
79
+ query: {
80
+ project?: string | undefined;
81
+ };
82
+ };
83
+ } | {
61
84
  output: {
62
85
  generatedAt: string;
63
86
  projects: {
@@ -304,29 +327,6 @@ export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): impo
304
327
  project?: string | undefined;
305
328
  };
306
329
  };
307
- } | {
308
- output: {
309
- error: string;
310
- code?: "invalid_input" | undefined;
311
- };
312
- outputFormat: "json";
313
- status: 400;
314
- input: {
315
- query: {
316
- project?: string | undefined;
317
- };
318
- };
319
- } | {
320
- output: {
321
- error: string;
322
- };
323
- outputFormat: "json";
324
- status: 404 | 409 | 503;
325
- input: {
326
- query: {
327
- project?: string | undefined;
328
- };
329
- };
330
330
  };
331
331
  };
332
332
  }, "/", "/workspace/activity">;
@@ -30,10 +30,19 @@ export declare function createModelsRoutes(options: {
30
30
  };
31
31
  } | {
32
32
  output: {
33
- error: string;
33
+ runner: string;
34
+ models: {
35
+ id: string;
36
+ label: string;
37
+ description: string;
38
+ effortLevels?: import('../contract/index.js').EffortLevel[];
39
+ }[];
40
+ source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
41
+ stale: boolean;
42
+ reason?: string;
34
43
  };
35
44
  outputFormat: "json";
36
- status: 400;
45
+ status: import("hono/utils/http-status").ContentfulStatusCode;
37
46
  input: {
38
47
  query: {
39
48
  runner: string | string[];
@@ -54,19 +63,10 @@ export declare function createModelsRoutes(options: {
54
63
  };
55
64
  } | {
56
65
  output: {
57
- runner: string;
58
- models: {
59
- id: string;
60
- label: string;
61
- description: string;
62
- effortLevels?: import('../contract/index.js').EffortLevel[];
63
- }[];
64
- source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
65
- stale: boolean;
66
- reason?: string;
66
+ error: string;
67
67
  };
68
68
  outputFormat: "json";
69
- status: import("hono/utils/http-status").ContentfulStatusCode;
69
+ status: 400;
70
70
  input: {
71
71
  query: {
72
72
  runner: string | 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";