@hearsay-tools/squawk 0.17.0-pr3272.5740 → 0.18.0

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 (63) hide show
  1. package/dist/contract/discovery.d.ts +32 -1
  2. package/dist/contract/health.d.ts +17 -2
  3. package/dist/contract/index.js +2565 -2573
  4. package/dist/contract/repo.d.ts +2 -1
  5. package/dist/contract/waits.d.ts +11 -2
  6. package/dist/contract/workflows.d.ts +1 -1
  7. package/dist/contract/workspace.d.ts +1 -36
  8. package/dist/delegation/routes.d.ts +4 -4
  9. package/dist/delegation/transport.d.ts +9 -9
  10. package/dist/runs/run-exits.js.map +1 -1
  11. package/dist/server/server.d.ts +58 -58
  12. package/dist/workflows/run/wait-engine.d.ts +72 -72
  13. package/dist/workflows/run-states.js +4 -4
  14. package/dist/workflows/run-states.js.map +1 -1
  15. package/package.json +4 -4
  16. package/web/dist/assets/activity-motion-hhx0e841.js +2 -0
  17. package/web/dist/assets/{activity-route-Z8SMpPLm.js → activity-route-De0BnSrc.js} +1 -1
  18. package/web/dist/assets/{agent-accounts-f1cxwgfz.js → agent-accounts-BCg-578Q.js} +2 -2
  19. package/web/dist/assets/{cez-idle-EVoUsgU3.js → cez-idle-BT0U4GN_.js} +1 -1
  20. package/web/dist/assets/{commit-diff-panel-DZutYRbq.js → commit-diff-panel-DYtYc_dH.js} +1 -1
  21. package/web/dist/assets/{control-locations-C9II3kPz.js → control-locations-CA9TMupq.js} +1 -1
  22. package/web/dist/assets/{diff-DNAtaTLC.js → diff-tVGVhYyc.js} +2 -2
  23. package/web/dist/assets/{diff-view---8Bt-0a.js → diff-view-CNM3u77o.js} +1 -1
  24. package/web/dist/assets/{file-preview-D08Kq15E.js → file-preview-C1eTdJLJ.js} +1 -1
  25. package/web/dist/assets/{git-toolbar-DMDmGits.js → git-toolbar-Dwz8p8GW.js} +1 -1
  26. package/web/dist/assets/{github-DlMu4p0I.js → github-BSezqH6f.js} +1 -1
  27. package/web/dist/assets/{github-sidebar-model-B0Ufci5S.js → github-sidebar-model-Ct0DltOv.js} +1 -1
  28. package/web/dist/assets/{global-activity-route-mJrrP9I0.js → global-activity-route-BZiYz-B0.js} +1 -1
  29. package/web/dist/assets/{index-FoxgrgAH.js → index-D489J7QW.js} +8 -8
  30. package/web/dist/assets/{live-protocol-BVn0UA_g.js → live-protocol-BDY7JJpT.js} +1 -1
  31. package/web/dist/assets/{live-refetch-BdnmTJ_8.js → live-refetch-C0kQc3-z.js} +1 -1
  32. package/web/dist/assets/{preview-pane-connected-KzJn9jAG.js → preview-pane-connected-DGkEs_L3.js} +1 -1
  33. package/web/dist/assets/{project-router-MMOk9VbW.js → project-router-1m_VlC22.js} +1 -1
  34. package/web/dist/assets/project-scope-context-CaUqlAd7.js +4 -0
  35. package/web/dist/assets/{queries-DORTKwyN.js → queries-DYfIpJ-d.js} +1 -1
  36. package/web/dist/assets/{repo-git-Bf_EfIHt.js → repo-git-CU1S5P-y.js} +1 -1
  37. package/web/dist/assets/{report-reader-ztLhC9gp.js → report-reader-DlZol2Ux.js} +1 -1
  38. package/web/dist/assets/reports-DIGGjk7C.js +1 -0
  39. package/web/dist/assets/{run-header-CDMGqoPE.js → run-header-DPjiPKRe.js} +1 -1
  40. package/web/dist/assets/skills-BMwanop_.js +1 -0
  41. package/web/dist/assets/{tab-link-BvoGfK8S.js → tab-link-DCUifQ46.js} +1 -1
  42. package/web/dist/assets/{task-changes-CfUCDwcL.js → task-changes-BZXWvQN3.js} +1 -1
  43. package/web/dist/assets/{task-commits-IOjoz_mL.js → task-commits-ByI9MSfc.js} +1 -1
  44. package/web/dist/assets/{task-files-CpUYhIpd.js → task-files-LJbenpiH.js} +1 -1
  45. package/web/dist/assets/{task-github-item-B8YPhQDV.js → task-github-item-B0CU9lGR.js} +1 -1
  46. package/web/dist/assets/task-thread-CXCN__1a.js +9 -0
  47. package/web/dist/assets/{thread-state-C136Em0C.js → thread-state-BLaCzqeX.js} +1 -1
  48. package/web/dist/assets/{use-hand-to-agent-state-C6u70P2A.js → use-hand-to-agent-state-BkmKad8x.js} +1 -1
  49. package/web/dist/assets/{useInfiniteQuery-BbYMWe23.js → useInfiniteQuery-qEY8OhKb.js} +1 -1
  50. package/web/dist/assets/useQuery-DOJQOEBO.js +1 -0
  51. package/web/dist/assets/{workflows-CWrdqLII.js → workflows-Dbxb-d-6.js} +1 -1
  52. package/web/dist/assets/{ws-BtSVmivO.js → ws-DvGmrP4z.js} +1 -1
  53. package/web/dist/index.html +13 -13
  54. package/web/dist/live-worker.js +1 -1
  55. package/dist/contract/repo-info.d.ts +0 -12
  56. package/dist/contract/runner.d.ts +0 -15
  57. package/dist/contract/usage-limit-hold.d.ts +0 -15
  58. package/web/dist/assets/activity-motion-Deqj_hcK.js +0 -2
  59. package/web/dist/assets/project-scope-context-B3M-u8R0.js +0 -4
  60. package/web/dist/assets/reports-BxGqf1aC.js +0 -1
  61. package/web/dist/assets/skills-D2r8n5IP.js +0 -1
  62. package/web/dist/assets/task-thread-2Kme3Fc0.js +0 -9
  63. package/web/dist/assets/useQuery-CqqnAJvu.js +0 -1
@@ -3,7 +3,8 @@ import { z } from 'zod';
3
3
  * The repo / git family of `/api/v1` — the Repo view, the structured diff shapes the Changes and
4
4
  * Files tabs read, and the worktree-retention panel.
5
5
  *
6
- * `RepoInfo` is NOT redeclared here: it lives in `./repo-info.ts`, which health also serves.
6
+ * `RepoInfo` is NOT redeclared here: health already owns it (`./health.ts`), and the Repo view
7
+ * serves the very same record.
7
8
  */
8
9
  /** One `git status --porcelain` row. */
9
10
  export declare const statusEntrySchema: z.ZodObject<{
@@ -1,8 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import type { DelegationState, PeerWaitView, RunDelegationSummary, WorkerCompletionWait, WorkerWait } from './delegation.ts';
3
3
  import type { RunRecord } from './runs.ts';
4
- import { isUsageLimitHold } from './usage-limit-hold.ts';
5
- export { isUsageLimitHold };
6
4
  /**
7
5
  * The wait list (spec `.ai/specs/2026-10-17-unified-waits.md`; phase 1 is
8
6
  * hearsay-tools/cezarion#1233). A run holds its open and recently settled waits in
@@ -1929,6 +1927,17 @@ export type WaitingOn = z.infer<typeof waitingOnSchema>;
1929
1927
  export type WaitingOnInput = Partial<Pick<RunRecord, 'status' | 'waits' | 'autoResumeAt'>> & {
1930
1928
  delegation?: DelegationState | RunDelegationSummary | undefined;
1931
1929
  };
1930
+ /**
1931
+ * A usage-limit hold (hearsay-tools/cezarion#1236): a `waiting` run with a booked resume time. It
1932
+ * holds no slot and no session, so the engine does not own it; its resume or the user's Continue
1933
+ * wakes it. The one definition every reader calls (hearsay-tools/cezarion#1496). It takes the
1934
+ * record, never a bare status, and the store clears the resume time on every write that leaves
1935
+ * `waiting`, so a resume time on any other run is stale and this reads it as no hold. It narrows
1936
+ * the time only, so a caller can still settle the hold to another status.
1937
+ */
1938
+ export declare function isUsageLimitHold<T extends Partial<Pick<RunRecord, 'status' | 'autoResumeAt'>>>(run: T): run is T & {
1939
+ autoResumeAt: string;
1940
+ };
1932
1941
  /** A summary's slim root delegation with the root's own ledger, which the slim one drops, so
1933
1942
  * `computeWaitingOn` still marks a wait on a peer's reply (hearsay-tools/cezarion#1995). The ledger
1934
1943
  * is unparsed; `peerRequestIds` reads it defensively. */
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { type Runner } from './runner.ts';
2
+ import { type Runner } from './health.ts';
3
3
  /**
4
4
  * The WORKFLOWS family: the chain catalog, the save/parse routes, and the planner.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { type Runner } from './runner.ts';
2
+ import { type Runner } from './health.ts';
3
3
  /**
4
4
  * The workspace + settings families: `~/.cezar/config.json`'s settings slice, both GUI-pref bags
5
5
  * (per-repo and workspace), the per-repo agent knobs, provider auth status, the host model
@@ -595,41 +595,6 @@ export declare const runnerModelCatalogResponseSchema: z.ZodObject<{
595
595
  reason: z.ZodOptional<z.ZodString>;
596
596
  }, z.core.$strip>;
597
597
  export type RunnerModelCatalogResponse = z.infer<typeof runnerModelCatalogResponseSchema>;
598
- /** The models a spawn could pin instead of an unknown one, in a delegation error. It lives here,
599
- * beside its parts, so `delegation.ts` does not load `discovery.ts` (hearsay-tools/cezarion#3241);
600
- * `discovery.ts` re-exports it. */
601
- export declare const modelChoicesSchema: z.ZodObject<{
602
- runner: z.ZodEnum<{
603
- claude: "claude";
604
- codex: "codex";
605
- cursor: "cursor";
606
- omp: "omp";
607
- opencode: "opencode";
608
- pi: "pi";
609
- }>;
610
- requestedModel: z.ZodString;
611
- availableModels: z.ZodArray<z.ZodObject<{
612
- id: z.ZodString;
613
- label: z.ZodString;
614
- description: z.ZodString;
615
- effortLevels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
616
- high: "high";
617
- low: "low";
618
- max: "max";
619
- medium: "medium";
620
- xhigh: "xhigh";
621
- }>>>;
622
- }, z.core.$strip>>;
623
- otherRunners: z.ZodArray<z.ZodEnum<{
624
- claude: "claude";
625
- codex: "codex";
626
- cursor: "cursor";
627
- omp: "omp";
628
- opencode: "opencode";
629
- pi: "pi";
630
- }>>;
631
- }, z.core.$strip>;
632
- export type ModelChoices = z.infer<typeof modelChoicesSchema>;
633
598
  /** A local app a worktree can be opened in (#open-in): editor, file manager, or terminal. */
634
599
  export declare const openTargetSchema: z.ZodObject<{
635
600
  id: z.ZodString;
@@ -221,13 +221,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
221
221
  status: 200;
222
222
  input: {
223
223
  json: {
224
- requestIds: string[];
225
- mode?: "all" | "any" | "one" | undefined;
226
- timeoutSeconds?: number | undefined;
227
- } | {
228
224
  workerIds: string[];
229
225
  timeoutSeconds?: number | undefined;
230
226
  mode?: "all" | "any" | "one" | undefined;
227
+ } | {
228
+ requestIds: string[];
229
+ mode?: "all" | "any" | "one" | undefined;
230
+ timeoutSeconds?: number | undefined;
231
231
  } | {
232
232
  peerIds: string[];
233
233
  timeoutSeconds?: number | undefined;
@@ -57,6 +57,15 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
57
57
  "/discover": {
58
58
  $post: {
59
59
  output: {
60
+ scope: "host-default-account";
61
+ runners: {
62
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
63
+ enabled?: boolean | undefined;
64
+ hint?: string | undefined;
65
+ authFailureId?: string | undefined;
66
+ runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
67
+ }[];
68
+ } | {
60
69
  runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
61
70
  models: {
62
71
  id: string;
@@ -67,15 +76,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
67
76
  source: "cache" | "live" | "unavailable";
68
77
  stale: boolean;
69
78
  reason?: string | undefined;
70
- } | {
71
- scope: "host-default-account";
72
- runners: {
73
- status: "connected" | "disconnected" | "not-installed" | "unknown";
74
- enabled?: boolean | undefined;
75
- hint?: string | undefined;
76
- authFailureId?: string | undefined;
77
- runner: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi";
78
- }[];
79
79
  } | {
80
80
  tasks: {
81
81
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"run-exits.js","sourceRoot":"","sources":["../../src/runs/run-exits.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;AAmDjF,iDAAiD;AACjD,MAAM,iBAAiB,GAAG,CAAC,GAAc,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU,EAAE,IAAI,KAAK,MAAM,IAAI,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,iBAAiB,CAAC;AAEpH,mGAAmG;AACnG,MAAM,UAAU,kBAAkB,CAAC,GAAkC;IACnE,IAAI,GAAG,CAAC,UAAU,EAAE,IAAI,KAAK,MAAM,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,iBAAiB;QAAE,OAAO,EAAE,CAAC;IACpF,MAAM,EAAE,iBAAiB,EAAE,OAAO,EAAE,GAAG,UAAU,EAAE,GAAG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,CAAC,KAAK,EAAE,CAAC;IACtH,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,IAAI,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,WAAW,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,KAAM,CAAC,IAAI,EAAE,GAAG,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IACvH,OAAO,EAAE,GAAG,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC;AACzF,CAAC;AAED,6EAA6E;AAC7E,SAAS,WAAW,CAAC,KAA2B,EAAE,MAAsC;IACtF,MAAM,OAAO,GAAG,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IAClC,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,IAAI,KAAK,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;AACpF,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,UAAU,CAAsB,IAAO,EAAE,IAAe;IACtE,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACtB,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC;AAC5B,CAAC"}
@@ -5289,19 +5289,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5289
5289
  } & {
5290
5290
  "/repo/commit/:sha": {
5291
5291
  $get: {
5292
- output: string;
5293
- outputFormat: "text";
5294
- status: import("hono/utils/http-status").ContentfulStatusCode;
5295
- input: {
5296
- query: {
5297
- structured?: string | undefined;
5298
- };
5299
- } & {
5300
- param: {
5301
- sha: string;
5302
- };
5303
- };
5304
- } | {
5305
5292
  output: {
5306
5293
  error: string;
5307
5294
  code?: "invalid_input" | undefined;
@@ -5365,6 +5352,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
5365
5352
  sha: string;
5366
5353
  };
5367
5354
  };
5355
+ } | {
5356
+ output: string;
5357
+ outputFormat: "text";
5358
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5359
+ input: {
5360
+ query: {
5361
+ structured?: string | undefined;
5362
+ };
5363
+ } & {
5364
+ param: {
5365
+ sha: string;
5366
+ };
5367
+ };
5368
5368
  };
5369
5369
  };
5370
5370
  } & {
@@ -18687,20 +18687,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18687
18687
  } & {
18688
18688
  "/runs/:id/handoff": {
18689
18689
  $get: {
18690
- output: string;
18691
- outputFormat: "text";
18692
- status: 200;
18690
+ output: {
18691
+ error: string;
18692
+ };
18693
+ outputFormat: "json";
18694
+ status: 404;
18693
18695
  input: {
18694
18696
  param: {
18695
18697
  id: string;
18696
18698
  };
18697
18699
  };
18698
18700
  } | {
18699
- output: {
18700
- error: string;
18701
- };
18702
- outputFormat: "json";
18703
- status: 404;
18701
+ output: string;
18702
+ outputFormat: "text";
18703
+ status: 200;
18704
18704
  input: {
18705
18705
  param: {
18706
18706
  id: string;
@@ -18738,20 +18738,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18738
18738
  } & {
18739
18739
  "/runs/:id/diff": {
18740
18740
  $get: {
18741
- output: string;
18742
- outputFormat: "text";
18743
- status: import("hono/utils/http-status").ContentfulStatusCode;
18741
+ output: {
18742
+ error: string;
18743
+ };
18744
+ outputFormat: "json";
18745
+ status: 404 | 409;
18744
18746
  input: {
18745
18747
  param: {
18746
18748
  id: string;
18747
18749
  };
18748
18750
  };
18749
18751
  } | {
18750
- output: {
18751
- error: string;
18752
- };
18753
- outputFormat: "json";
18754
- status: 404 | 409;
18752
+ output: string;
18753
+ outputFormat: "text";
18754
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18755
18755
  input: {
18756
18756
  param: {
18757
18757
  id: string;
@@ -21151,19 +21151,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21151
21151
  } & {
21152
21152
  "/repo/commit/:sha": {
21153
21153
  $get: {
21154
- output: string;
21155
- outputFormat: "text";
21156
- status: import("hono/utils/http-status").ContentfulStatusCode;
21157
- input: {
21158
- query: {
21159
- structured?: string | undefined;
21160
- };
21161
- } & {
21162
- param: {
21163
- sha: string;
21164
- };
21165
- };
21166
- } | {
21167
21154
  output: {
21168
21155
  error: string;
21169
21156
  code?: "invalid_input" | undefined;
@@ -21227,6 +21214,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21227
21214
  sha: string;
21228
21215
  };
21229
21216
  };
21217
+ } | {
21218
+ output: string;
21219
+ outputFormat: "text";
21220
+ status: import("hono/utils/http-status").ContentfulStatusCode;
21221
+ input: {
21222
+ query: {
21223
+ structured?: string | undefined;
21224
+ };
21225
+ } & {
21226
+ param: {
21227
+ sha: string;
21228
+ };
21229
+ };
21230
21230
  };
21231
21231
  };
21232
21232
  } & {
@@ -34549,20 +34549,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34549
34549
  } & {
34550
34550
  "/runs/:id/handoff": {
34551
34551
  $get: {
34552
- output: string;
34553
- outputFormat: "text";
34554
- status: 200;
34552
+ output: {
34553
+ error: string;
34554
+ };
34555
+ outputFormat: "json";
34556
+ status: 404;
34555
34557
  input: {
34556
34558
  param: {
34557
34559
  id: string;
34558
34560
  };
34559
34561
  };
34560
34562
  } | {
34561
- output: {
34562
- error: string;
34563
- };
34564
- outputFormat: "json";
34565
- status: 404;
34563
+ output: string;
34564
+ outputFormat: "text";
34565
+ status: 200;
34566
34566
  input: {
34567
34567
  param: {
34568
34568
  id: string;
@@ -34600,20 +34600,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34600
34600
  } & {
34601
34601
  "/runs/:id/diff": {
34602
34602
  $get: {
34603
- output: string;
34604
- outputFormat: "text";
34605
- status: import("hono/utils/http-status").ContentfulStatusCode;
34603
+ output: {
34604
+ error: string;
34605
+ };
34606
+ outputFormat: "json";
34607
+ status: 404 | 409;
34606
34608
  input: {
34607
34609
  param: {
34608
34610
  id: string;
34609
34611
  };
34610
34612
  };
34611
34613
  } | {
34612
- output: {
34613
- error: string;
34614
- };
34615
- outputFormat: "json";
34616
- status: 404 | 409;
34614
+ output: string;
34615
+ outputFormat: "text";
34616
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34617
34617
  input: {
34618
34618
  param: {
34619
34619
  id: string;
@@ -232,30 +232,6 @@ export declare class WaitEngine {
232
232
  deadline: string;
233
233
  seconds: number;
234
234
  note?: string | undefined;
235
- } | {
236
- id: string;
237
- source: "agent" | "cezar";
238
- 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";
239
- registeredAt: string;
240
- phase: "cancelled" | "delivered" | "open" | "resolved";
241
- resolvedAt?: string | undefined;
242
- deliveredAt?: string | undefined;
243
- cancelledAt?: string | undefined;
244
- turnId: string;
245
- kind: "process";
246
- deadline: string;
247
- timeoutSeconds: number;
248
- pid: number;
249
- startToken?: string | undefined;
250
- exitFile?: string | undefined;
251
- note?: string | undefined;
252
- result?: {
253
- outcome: "deadline" | "error" | "exit_file" | "exited";
254
- observedAt: string;
255
- exitCode?: number | undefined;
256
- exitFileNote?: "not-an-exit-code" | undefined;
257
- diagnostic?: string | undefined;
258
- } | undefined;
259
235
  } | {
260
236
  id: string;
261
237
  source: "agent" | "cezar";
@@ -316,6 +292,30 @@ export declare class WaitEngine {
316
292
  reason: "outcome" | "timeout";
317
293
  } | undefined;
318
294
  wakeInputId?: string | undefined;
295
+ } | {
296
+ id: string;
297
+ source: "agent" | "cezar";
298
+ 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";
299
+ registeredAt: string;
300
+ phase: "cancelled" | "delivered" | "open" | "resolved";
301
+ resolvedAt?: string | undefined;
302
+ deliveredAt?: string | undefined;
303
+ cancelledAt?: string | undefined;
304
+ turnId: string;
305
+ kind: "process";
306
+ deadline: string;
307
+ timeoutSeconds: number;
308
+ pid: number;
309
+ startToken?: string | undefined;
310
+ exitFile?: string | undefined;
311
+ note?: string | undefined;
312
+ result?: {
313
+ outcome: "deadline" | "error" | "exit_file" | "exited";
314
+ observedAt: string;
315
+ exitCode?: number | undefined;
316
+ exitFileNote?: "not-an-exit-code" | undefined;
317
+ diagnostic?: string | undefined;
318
+ } | undefined;
319
319
  } | {
320
320
  id: string;
321
321
  source: "agent" | "cezar";
@@ -426,30 +426,6 @@ export declare class WaitEngine {
426
426
  deadline: string;
427
427
  seconds: number;
428
428
  note?: string | undefined;
429
- } | {
430
- id: string;
431
- source: "agent" | "cezar";
432
- 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";
433
- registeredAt: string;
434
- phase: "cancelled" | "delivered" | "open" | "resolved";
435
- resolvedAt?: string | undefined;
436
- deliveredAt?: string | undefined;
437
- cancelledAt?: string | undefined;
438
- turnId: string;
439
- kind: "process";
440
- deadline: string;
441
- timeoutSeconds: number;
442
- pid: number;
443
- startToken?: string | undefined;
444
- exitFile?: string | undefined;
445
- note?: string | undefined;
446
- result?: {
447
- outcome: "deadline" | "error" | "exit_file" | "exited";
448
- observedAt: string;
449
- exitCode?: number | undefined;
450
- exitFileNote?: "not-an-exit-code" | undefined;
451
- diagnostic?: string | undefined;
452
- } | undefined;
453
429
  } | {
454
430
  id: string;
455
431
  source: "agent" | "cezar";
@@ -510,6 +486,30 @@ export declare class WaitEngine {
510
486
  reason: "outcome" | "timeout";
511
487
  } | undefined;
512
488
  wakeInputId?: string | undefined;
489
+ } | {
490
+ id: string;
491
+ source: "agent" | "cezar";
492
+ 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";
493
+ registeredAt: string;
494
+ phase: "cancelled" | "delivered" | "open" | "resolved";
495
+ resolvedAt?: string | undefined;
496
+ deliveredAt?: string | undefined;
497
+ cancelledAt?: string | undefined;
498
+ turnId: string;
499
+ kind: "process";
500
+ deadline: string;
501
+ timeoutSeconds: number;
502
+ pid: number;
503
+ startToken?: string | undefined;
504
+ exitFile?: string | undefined;
505
+ note?: string | undefined;
506
+ result?: {
507
+ outcome: "deadline" | "error" | "exit_file" | "exited";
508
+ observedAt: string;
509
+ exitCode?: number | undefined;
510
+ exitFileNote?: "not-an-exit-code" | undefined;
511
+ diagnostic?: string | undefined;
512
+ } | undefined;
513
513
  } | {
514
514
  id: string;
515
515
  source: "agent" | "cezar";
@@ -619,30 +619,6 @@ export declare class WaitEngine {
619
619
  deadline: string;
620
620
  seconds: number;
621
621
  note?: string | undefined;
622
- } | {
623
- id: string;
624
- source: "agent" | "cezar";
625
- 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";
626
- registeredAt: string;
627
- phase: "cancelled" | "delivered" | "open" | "resolved";
628
- resolvedAt?: string | undefined;
629
- deliveredAt?: string | undefined;
630
- cancelledAt?: string | undefined;
631
- turnId: string;
632
- kind: "process";
633
- deadline: string;
634
- timeoutSeconds: number;
635
- pid: number;
636
- startToken?: string | undefined;
637
- exitFile?: string | undefined;
638
- note?: string | undefined;
639
- result?: {
640
- outcome: "deadline" | "error" | "exit_file" | "exited";
641
- observedAt: string;
642
- exitCode?: number | undefined;
643
- exitFileNote?: "not-an-exit-code" | undefined;
644
- diagnostic?: string | undefined;
645
- } | undefined;
646
622
  } | {
647
623
  id: string;
648
624
  source: "agent" | "cezar";
@@ -703,6 +679,30 @@ export declare class WaitEngine {
703
679
  reason: "outcome" | "timeout";
704
680
  } | undefined;
705
681
  wakeInputId?: string | undefined;
682
+ } | {
683
+ id: string;
684
+ source: "agent" | "cezar";
685
+ 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";
686
+ registeredAt: string;
687
+ phase: "cancelled" | "delivered" | "open" | "resolved";
688
+ resolvedAt?: string | undefined;
689
+ deliveredAt?: string | undefined;
690
+ cancelledAt?: string | undefined;
691
+ turnId: string;
692
+ kind: "process";
693
+ deadline: string;
694
+ timeoutSeconds: number;
695
+ pid: number;
696
+ startToken?: string | undefined;
697
+ exitFile?: string | undefined;
698
+ note?: string | undefined;
699
+ result?: {
700
+ outcome: "deadline" | "error" | "exit_file" | "exited";
701
+ observedAt: string;
702
+ exitCode?: number | undefined;
703
+ exitFileNote?: "not-an-exit-code" | undefined;
704
+ diagnostic?: string | undefined;
705
+ } | undefined;
706
706
  } | {
707
707
  id: string;
708
708
  source: "agent" | "cezar";
@@ -77,12 +77,12 @@ export const RUN_TRIGGERS = [
77
77
  { id: 'running.finish-restart', states: ['running'], trigger: 'Restart replays a human Finish accepted before a live session closed', firedBy: 'recovery', behavior: 'Park, close sent requests sender-closed, then settle the durable Finish', exit: 'park', to: ['waiting:plain'], via: ['settleRequestedRootFinish'] },
78
78
  { id: 'review.finish-restart', states: ['review'], trigger: 'Restart replays a human Finish accepted at review', firedBy: 'recovery', behavior: 'Sent requests close sender-closed; done with no Finish intent left', exit: 'accept-review', to: ['done'], via: ['settleRequestedRootFinish', 'finish'] },
79
79
  { id: 'running.completion-refusal', states: ['running'], trigger: 'A blocked done with the session gone, or a done blocked only by a pending question', firedBy: 'engine', behavior: 'waiting: the refusal is queued for a reopened session, or the run parks for the user', exit: 'park', to: ['waiting:capacity', 'waiting:human'], via: ['queueCompletionRefusal', 'completionGate'], pinnedBy: { file: 'workflows/waits-parity-cells.testkit.ts', test: 'U22 a done blocked after the session closed reopens it and delivers the refusal' } },
80
- { id: 'running.budget', states: ['running'], trigger: 'The wake budget (40) is spent at a no-wait or refusal turn end', firedBy: 'runner', behavior: 'Cezar\'s budget human wait: waiting', exit: 'park', to: ['waiting:human'], via: ['carryOutHumanWait'], pinnedBy: { file: 'workflows/waits-parity-asks-cells.testkit.ts', test: 'U15 an autonomous run is nudged with the autonomous wording until the budget, then opens a budget human wait' } },
80
+ { id: 'running.budget', states: ['running'], trigger: 'The wake budget (40) is spent at a no-wait or refusal turn end', firedBy: 'runner', behavior: 'Cezar\'s budget human wait: waiting', exit: 'park', to: ['waiting:human'], via: ['carryOutHumanWait'], pinnedBy: { file: 'workflows/waits-parity-cells.testkit.ts', test: 'U15 an autonomous run is nudged with the autonomous wording until the budget, then opens a budget human wait' } },
81
81
  { id: 'running.native-ask', states: ['running'], trigger: 'A native ask arrives during the turn', firedBy: 'runner', behavior: 'waiting, Needs you; the slot is released', exit: 'park', to: ['waiting:human'], via: ['handleRunnerUiEvent'] },
82
82
  { id: 'running.permission', states: ['running'], trigger: 'A permission prompt arrives', firedBy: 'runner', behavior: 'waiting with hasPendingPermission; the slot is released', exit: 'park', to: ['waiting:permission'], via: ['handleRunnerUiEvent'], pinnedBy: { file: 'workflows/permissions.test.ts', test: 'parks concurrent requests until their exact IDs resolve and blocks all ordinary input' } },
83
83
  { id: 'running.done', states: ['running'], trigger: 'cezar_done is accepted in the last step', firedBy: 'runner', behavior: 'The session closes; done', exit: 'succeed', to: ['done'], via: ['carryOutDone', 'settleExecution', 'settleSuccess', 'commitOrdinarySuccess'] },
84
84
  { id: 'running.done-review', states: ['running'], trigger: 'cezar_done is accepted in the last step', firedBy: 'runner', when: 'the review gate is on (CEZ_REVIEW_GATE) and the task has a diff', behavior: 'review', exit: 'succeed-review', to: ['review'], via: ['commitOrdinarySuccess'], pinnedBy: { file: 'workflows/run.test.ts', test: 'gate on (env) + non-autonomous + changes → review' } },
85
- { id: 'running.done-step', states: ['running'], trigger: 'cezar_done in a step that is not the last', firedBy: 'runner', when: 'a workflow with steps left', behavior: 'The next step starts; stays running', exit: null, to: 'same', via: ['runWorkflowSteps'], pinnedBy: { file: 'workflows/waits-parity-done-cells.testkit.ts', test: 'U6s cezar_done in a workflow step that is not the last completes that step, and the next step runs' } },
85
+ { id: 'running.done-step', states: ['running'], trigger: 'cezar_done in a step that is not the last', firedBy: 'runner', when: 'a workflow with steps left', behavior: 'The next step starts; stays running', exit: null, to: 'same', via: ['runWorkflowSteps'], pinnedBy: { file: 'workflows/waits-parity-cells.testkit.ts', test: 'U6s cezar_done in a workflow step that is not the last completes that step, and the next step runs' } },
86
86
  { id: 'running.check-retry', states: ['running'], trigger: 'A check step fails with retries left', firedBy: 'engine', when: 'a workflow check step', behavior: 'queued for the retry, then running in the same execution', exit: 'requeue', to: ['queued'], via: ['settleCheckStep'], pinnedBy: { file: 'workflows/run-continue-recovery.test.ts', test: 'keeps a check retry budget bounded across a recovered workflow remainder' } },
87
87
  { id: 'running.workflow-rest', states: ['running'], trigger: 'A Continue finishes the workflow step it resumed, with steps left', firedBy: 'runner', when: 'a resumed workflow', behavior: 'queued for the rest of the workflow', exit: 'requeue', to: ['queued'], via: ['settleResumedWorkflowStep'], pinnedBy: { file: 'workflows/run-workflow-remainder-resume.test.ts', test: 'resumes the remaining workflow after an inactive delegated root answers a non-final ask' } },
88
88
  { id: 'running.held', states: ['running'], trigger: 'Before the spawn, the account went into a usage-limit hold, or a parent finish is pending', firedBy: 'engine', when: 'a hold or a pending parent finish', behavior: 'queued, untouched', exit: 'requeue', to: ['queued'], via: ['requeueWhileHeld', 'holdContinuationForRootFinish'], pinnedBy: { file: 'workflows/auto-resume.test.ts', test: 'holds in-place runs too, which dequeue long before they spawn' } },
@@ -131,7 +131,7 @@ export const RUN_TRIGGERS = [
131
131
  { id: 'workers.deadline', states: ['waiting:workers'], trigger: 'An agent worker wait\'s deadline passes (Cezar\'s completion wait has none)', firedBy: 'timer', when: 'the agent set the wait', behavior: 'Resolves timeout; wakes as workers.settle', exit: 'resume', to: ['running'], via: ['armWait', 'resolveWait'] },
132
132
  // waiting:peer (hearsay-tools/cezarion#1995). A human message (waiting.message), a family message
133
133
  // (waiting.worker-wake), Stop (waiting.stop) and restart (waiting.restart) leave the wait open.
134
- { id: 'peer.message', states: ['waiting:peer'], trigger: 'A named peer sends a message of any kind', firedBy: 'peer', behavior: 'Resolves message; the wake joins the line for a regular slot: running', exit: 'resume', to: ['running'], via: ['deliverConversationInput', 'resolvePeerWaits', 'resolvePeerWait', 'resolveWait', 'queueWaitWake'], pinnedBy: { file: 'workflows/waits-parity-conversations-cells.testkit.ts', test: 'U19w a peer wait parks a root that reads waiting on 1 task' } },
134
+ { id: 'peer.message', states: ['waiting:peer'], trigger: 'A named peer sends a message of any kind', firedBy: 'peer', behavior: 'Resolves message; the wake joins the line for a regular slot: running', exit: 'resume', to: ['running'], via: ['deliverConversationInput', 'resolvePeerWaits', 'resolvePeerWait', 'resolveWait', 'queueWaitWake'], pinnedBy: { file: 'workflows/waits-parity-cells.testkit.ts', test: 'U19w a peer wait parks a root that reads waiting on 1 task' } },
135
135
  { id: 'peer.settled', states: ['waiting:peer'], trigger: 'A named peer reaches review, done, failed or cancelled, or is deleted', firedBy: 'watcher', behavior: 'Resolves settled; wakes as peer.message', exit: 'resume', to: ['running'], via: ['resolvePeerWaits', 'resolvePeerWait', 'resolveWait', 'queueWaitWake'], pinnedBy: { file: 'workflows/peer-waits.test.ts', test: 'resolves the wait as settled' } },
136
136
  { id: 'peer.deadline', states: ['waiting:peer'], trigger: 'The deadline passes', firedBy: 'timer', behavior: 'Resolves timeout; wakes as peer.message', exit: 'resume', to: ['running'], via: ['armWait', 'resolveWait', 'queueWaitWake'], pinnedBy: { file: 'workflows/peer-waits.test.ts', test: 'the deadline resolves the wait as timeout' } },
137
137
  { id: 'peer.beside', states: ['waiting:peer'], trigger: 'Another wait beside it resolves', firedBy: 'watcher', when: 'another wait is open beside it', behavior: 'Wakes with that result: running; the peer wait stays open and the turn end parks on it again', exit: 'resume', to: ['running'], via: ['resolveWait', 'queueWaitWake'], pinnedBy: { file: 'workflows/peer-waits.test.ts', test: 'another wait resolving beside it wakes the run and the peer wait stays open' } },
@@ -162,7 +162,7 @@ export const RUN_TRIGGERS = [
162
162
  { id: 'human.answer', states: ['waiting:human'], trigger: 'The user answers', firedBy: 'human', behavior: 'The wait settles delivered once the answer is saved; running', exit: 'resume', to: ['running'], via: ['deliverMessage', 'resumeParkedRun'] },
163
163
  { id: 'human.parent-answer', states: ['waiting:human'], trigger: 'The parent replies to a routed worker question', firedBy: 'parent', when: 'an owned worker', behavior: 'Answered; the worker resumes', exit: 'resume', to: ['running'], via: ['routeWorkerQuestion'], pinnedBy: { file: 'workflows/worker-waits-messages.test.ts', test: 'the parent\'s answer to a worker question leaves the worker\'s earlier wait open' } },
164
164
  { id: 'human.beside', states: ['waiting:human'], trigger: 'Another wait beside it resolves', firedBy: 'watcher', when: 'another wait is open beside the question', behavior: 'Delivered beside the card: running; it parks again, Needs you', exit: 'resume', to: ['running'], via: ['queueWaitWake'] },
165
- { id: 'human.workers', states: ['waiting:human'], trigger: 'A worker messages, settles or asks', firedBy: 'worker', when: 'Cezar\'s completion wait, with workers live', behavior: 'Wakes the run: running', exit: 'resume', to: ['running'], via: ['queueWaitWake'], pinnedBy: { file: 'workflows/waits-parity-conversations-cells.testkit.ts', test: 'U19 a worker message beside a pending portable question is delivered and the question stays answerable' } },
165
+ { id: 'human.workers', states: ['waiting:human'], trigger: 'A worker messages, settles or asks', firedBy: 'worker', when: 'Cezar\'s completion wait, with workers live', behavior: 'Wakes the run: running', exit: 'resume', to: ['running'], via: ['queueWaitWake'], pinnedBy: { file: 'workflows/waits-parity-cells.testkit.ts', test: 'U19 a worker message beside a pending portable question is delivered and the question stays answerable' } },
166
166
  { id: 'human.worker-fallback', states: ['waiting:human'], trigger: 'A worker\'s fallback question: its session idle-closes (15 min) or a restart finds no process', firedBy: 'timer', when: 'an owned worker on its fallback question', behavior: 'The question is superseded; the worker settles done', exit: 'succeed', to: ['done'], via: ['settleIdleClosedWorker', 'recoverClosedWaitingRun'] },
167
167
  { id: 'human.restart', states: ['waiting:human'], trigger: 'Restart', firedBy: 'recovery', behavior: 'An unshown wait is shown, a transcript ask is adopted, a stale one is settled; stays waiting', exit: 'park', to: 'same', via: ['parkRecoveredRun', 'adoptTranscriptAsk', 'settleAnsweredLegacyAsk'] },
168
168
  // waiting:permission