@hearsay-tools/squawk 0.19.0-dev.9054 → 0.19.0-dev.9069

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 (193) hide show
  1. package/dist/built-in-cli-commands.js +1 -1
  2. package/dist/built-in-cli-commands.js.map +1 -1
  3. package/dist/cli-dispatch.d.ts +1 -1
  4. package/dist/cli-dispatch.js +19 -4
  5. package/dist/cli-dispatch.js.map +1 -1
  6. package/dist/config.d.ts +1 -1
  7. package/dist/config.js +3 -0
  8. package/dist/config.js.map +1 -1
  9. package/dist/contract/health.d.ts +2 -2
  10. package/dist/contract/hosts.d.ts +141 -0
  11. package/dist/contract/index.d.ts +1 -0
  12. package/dist/contract/index.js +140 -8
  13. package/dist/contract/projects.d.ts +8 -2
  14. package/dist/contract/workspace.d.ts +10 -0
  15. package/dist/core/cli-registry.d.ts +1 -0
  16. package/dist/core/server-hook-registry.d.ts +4 -2
  17. package/dist/core/server-hook-registry.js.map +1 -1
  18. package/dist/delegation/routes.d.ts +4 -4
  19. package/dist/delegation/transport.d.ts +92 -92
  20. package/dist/features/automations/automations-routes.js +4 -3
  21. package/dist/features/automations/automations-routes.js.map +1 -1
  22. package/dist/features/automations/tools.d.ts +8 -8
  23. package/dist/features/hosts/cli.d.ts +8 -0
  24. package/dist/features/hosts/cli.js +172 -0
  25. package/dist/features/hosts/cli.js.map +1 -0
  26. package/dist/features/hosts/index.d.ts +12 -0
  27. package/dist/features/hosts/index.js +34 -0
  28. package/dist/features/hosts/index.js.map +1 -0
  29. package/dist/features/hosts/registry.d.ts +52 -0
  30. package/dist/features/hosts/registry.js +198 -0
  31. package/dist/features/hosts/registry.js.map +1 -0
  32. package/dist/features/hosts/routes.d.ts +348 -0
  33. package/dist/features/hosts/routes.js +113 -0
  34. package/dist/features/hosts/routes.js.map +1 -0
  35. package/dist/features/hosts/ssh-config.d.ts +9 -0
  36. package/dist/features/hosts/ssh-config.js +59 -0
  37. package/dist/features/hosts/ssh-config.js.map +1 -0
  38. package/dist/home/entry-authorization.js +1 -1
  39. package/dist/home/entry-authorization.js.map +1 -1
  40. package/dist/home/home.d.ts +2 -0
  41. package/dist/home/home.js +1 -0
  42. package/dist/home/home.js.map +1 -1
  43. package/dist/home/migration-plan.js +1 -1
  44. package/dist/home/migration-plan.js.map +1 -1
  45. package/dist/index.js +2 -2
  46. package/dist/index.js.map +1 -1
  47. package/dist/runs/run-decode.d.ts +72 -72
  48. package/dist/serve-boot.d.ts +1 -1
  49. package/dist/serve-boot.js +4 -2
  50. package/dist/serve-boot.js.map +1 -1
  51. package/dist/serve-command.d.ts +2 -2
  52. package/dist/serve-command.js +47 -31
  53. package/dist/serve-command.js.map +1 -1
  54. package/dist/server/activity-routes.js +1 -1
  55. package/dist/server/activity-routes.js.map +1 -1
  56. package/dist/server/activity-sources.d.ts +1 -1
  57. package/dist/server/activity-sources.js +6 -4
  58. package/dist/server/activity-sources.js.map +1 -1
  59. package/dist/server/activity-topic.js +5 -2
  60. package/dist/server/activity-topic.js.map +1 -1
  61. package/dist/server/live-routes.d.ts +8 -7
  62. package/dist/server/live-routes.js +2 -2
  63. package/dist/server/live-routes.js.map +1 -1
  64. package/dist/server/plugin-server-hooks.js +7 -4
  65. package/dist/server/plugin-server-hooks.js.map +1 -1
  66. package/dist/server/project-context.d.ts +3 -1
  67. package/dist/server/project-context.js +5 -1
  68. package/dist/server/project-context.js.map +1 -1
  69. package/dist/server/projects-routes.d.ts +64 -2
  70. package/dist/server/projects-routes.js +15 -8
  71. package/dist/server/projects-routes.js.map +1 -1
  72. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  73. package/dist/server/providers-routes.d.ts +16 -2
  74. package/dist/server/providers-routes.js +9 -4
  75. package/dist/server/providers-routes.js.map +1 -1
  76. package/dist/server/repo-routes.d.ts +52 -52
  77. package/dist/server/reports-api.d.ts +2 -2
  78. package/dist/server/runners-routes.d.ts +10 -10
  79. package/dist/server/runs-routes.d.ts +334 -334
  80. package/dist/server/server-deps.d.ts +11 -4
  81. package/dist/server/server-deps.js +26 -9
  82. package/dist/server/server-deps.js.map +1 -1
  83. package/dist/server/server.d.ts +1752 -1651
  84. package/dist/server/server.js +23 -31
  85. package/dist/server/server.js.map +1 -1
  86. package/dist/server/start-server.js +22 -14
  87. package/dist/server/start-server.js.map +1 -1
  88. package/dist/server/workspace-identity-routes.d.ts +29 -0
  89. package/dist/server/workspace-identity-routes.js +21 -0
  90. package/dist/server/workspace-identity-routes.js.map +1 -0
  91. package/dist/server/workspace-live-routes.d.ts +28 -7
  92. package/dist/server/workspace-live-routes.js +5 -1
  93. package/dist/server/workspace-live-routes.js.map +1 -1
  94. package/dist/server/workspace-projects.d.ts +11 -8
  95. package/dist/server/workspace-projects.js +50 -12
  96. package/dist/server/workspace-projects.js.map +1 -1
  97. package/dist/server/workspace-routes.d.ts +86 -86
  98. package/dist/server/workspace-routes.js +2 -2
  99. package/dist/server/workspace-routes.js.map +1 -1
  100. package/dist/server/workspace-run-feed.d.ts +4 -4
  101. package/dist/server/workspace-run-feed.js +2 -0
  102. package/dist/server/workspace-run-feed.js.map +1 -1
  103. package/dist/task-cli/discovery.js +7 -0
  104. package/dist/task-cli/discovery.js.map +1 -1
  105. package/dist/workflows/continuation-admission.d.ts +72 -72
  106. package/dist/workflows/run/wait-engine.d.ts +72 -72
  107. package/dist/workspace/backups.d.ts +1 -1
  108. package/dist/workspace/backups.js +1 -1
  109. package/dist/workspace/backups.js.map +1 -1
  110. package/package.json +4 -4
  111. package/web/dist/assets/{accounts-section-BfswfXCZ.js → accounts-section-CiO5OMkx.js} +1 -1
  112. package/web/dist/assets/{activity-motion-CFx-RRu7.js → activity-motion-D2RZtcZk.js} +1 -1
  113. package/web/dist/assets/{activity-route-C2WO0whr.js → activity-route-D7WKghms.js} +1 -1
  114. package/web/dist/assets/{agent-accounts-BuceIkTR.js → agent-accounts-D_7QcFSx.js} +1 -1
  115. package/web/dist/assets/{agent-config-section-C7DGYIqM.js → agent-config-section-DW7oAwLi.js} +1 -1
  116. package/web/dist/assets/{agent-defaults-section-FxdpHuW8.js → agent-defaults-section-BsfycjfC.js} +1 -1
  117. package/web/dist/assets/{appearance-DAxfuDE0.js → appearance-D-a_UJUm.js} +1 -1
  118. package/web/dist/assets/{archive-on-merge-field-BpizlPUF.js → archive-on-merge-field-RMn227ry.js} +1 -1
  119. package/web/dist/assets/{ask-card-D3d4Oe4i.js → ask-card-DP9b-lI-.js} +1 -1
  120. package/web/dist/assets/attention-DnxGjw_R.js +1 -0
  121. package/web/dist/assets/{automations-route-BUoBjY9i.js → automations-route-_Pv3FEnT.js} +1 -1
  122. package/web/dist/assets/{commit-list-D2Q1MPZh.js → commit-list-FjUd56tK.js} +1 -1
  123. package/web/dist/assets/{diff-C2sbzjCh.js → diff-ZyKzQmlr.js} +2 -2
  124. package/web/dist/assets/{diff-controls-CZRDx8kC.js → diff-controls-DHvk5BOR.js} +1 -1
  125. package/web/dist/assets/{diff-view-COw1J8Ia.js → diff-view-wHArQrRv.js} +1 -1
  126. package/web/dist/assets/{discard-changes-dialog-CHo6iyVf.js → discard-changes-dialog-u_8VAiFD.js} +1 -1
  127. package/web/dist/assets/{file-preview-B0lpYpjU.js → file-preview-DbDhvIx2.js} +1 -1
  128. package/web/dist/assets/{folder-browser-CUUWpb8F.js → folder-browser-Civftk0W.js} +1 -1
  129. package/web/dist/assets/{git-toolbar-BeBHkFTl.js → git-toolbar-Bjvqzoo_.js} +1 -1
  130. package/web/dist/assets/{github-CVzbyq44.js → github-DZyhI-94.js} +1 -1
  131. package/web/dist/assets/{global-activity-route-BvvO5Ie1.js → global-activity-route-B20p5-qQ.js} +1 -1
  132. package/web/dist/assets/index-C8nM086t.css +1 -0
  133. package/web/dist/assets/index-TOx-AA67.js +21 -0
  134. package/web/dist/assets/label-feCJ3WOT.js +1 -0
  135. package/web/dist/assets/{markdown-CtFi6cFe.js → markdown-Ce0jEzBL.js} +1 -1
  136. package/web/dist/assets/{open-in-menu-CI3ceNjU.js → open-in-menu-Bzca0KPF.js} +1 -1
  137. package/web/dist/assets/{option-select-CFhKFk8u.js → option-select-BUpASY9Q.js} +1 -1
  138. package/web/dist/assets/{preferences-section-DfgoVofd.js → preferences-section-Cayq_QJk.js} +1 -1
  139. package/web/dist/assets/{preview-pane-connected-T-WG4X9k.js → preview-pane-connected-C6q9f2y-.js} +1 -1
  140. package/web/dist/assets/{project-location-0VnTd5VW.js → project-location-QEQeyIDW.js} +1 -1
  141. package/web/dist/assets/{project-router-C53GCY_8.js → project-router-j0uBi7Ep.js} +1 -1
  142. package/web/dist/assets/{projects-section-CwpogbCn.js → projects-section-Ws3Kp5ky.js} +1 -1
  143. package/web/dist/assets/{prompt-templates-section-R0rt2Tw4.js → prompt-templates-section-CfyNaD_K.js} +1 -1
  144. package/web/dist/assets/queries-CchoEEzj.js +1 -0
  145. package/web/dist/assets/{read-state-DOIKdUqa.js → read-state-c_RNJaXO.js} +1 -1
  146. package/web/dist/assets/{reference-chip-95DURw1q.js → reference-chip-z7dZJVH-.js} +1 -1
  147. package/web/dist/assets/{remote-settings-notice-BYv4X_Zz.js → remote-settings-notice-DEs9jV72.js} +1 -1
  148. package/web/dist/assets/{repo-git-j6gBX3Yk.js → repo-git-DpqwxFN6.js} +1 -1
  149. package/web/dist/assets/{report-reader-UaMV9dLk.js → report-reader-mwLAF_a8.js} +1 -1
  150. package/web/dist/assets/{report-selection-DAPzf1Aa.js → report-selection-BdGxjISG.js} +1 -1
  151. package/web/dist/assets/{reports-1A2Ciyw2.js → reports-CN8KHXFF.js} +1 -1
  152. package/web/dist/assets/{resources-section-CurFgvye.js → resources-section-BzYmdxRV.js} +1 -1
  153. package/web/dist/assets/{review-notes-drafts-19pkn2vN.js → review-notes-drafts-D9s8XFRQ.js} +1 -1
  154. package/web/dist/assets/{review-panel-DmHITJs8.js → review-panel-Ds3S11Go.js} +1 -1
  155. package/web/dist/assets/{review-strip-DbtyWCrP.js → review-strip-BFq2VP2u.js} +1 -1
  156. package/web/dist/assets/{run-detail-refresh-DYY7EWeq.js → run-detail-refresh-C5qmRdgD.js} +1 -1
  157. package/web/dist/assets/{run-diff-CMX34CW6.js → run-diff-BvGvPk3g.js} +1 -1
  158. package/web/dist/assets/run-header-788Dmvef.css +1 -0
  159. package/web/dist/assets/{run-header-BpLDqXvN.js → run-header-Bedua8do.js} +2 -2
  160. package/web/dist/assets/{select-CBMEsTi0.js → select-CGjqNwut.js} +1 -1
  161. package/web/dist/assets/{session-context-section-JUgAAE68.js → session-context-section-D0e8HLzL.js} +1 -1
  162. package/web/dist/assets/{settings-agent-picker-_38GTrVo.js → settings-agent-picker-hFnntaW2.js} +1 -1
  163. package/web/dist/assets/{settings-save-bar-Czqju-k9.js → settings-save-bar-DmONROMw.js} +1 -1
  164. package/web/dist/assets/{settings-shell-Dpp7fksb.js → settings-shell-DjfeA3BW.js} +1 -1
  165. package/web/dist/assets/{sidebar-section-DolOq65h.js → sidebar-section-DHJR37sv.js} +1 -1
  166. package/web/dist/assets/{skills-C3qgwzNL.js → skills-CFRO_xLW.js} +1 -1
  167. package/web/dist/assets/{tab-link-BGfSJ-ah.js → tab-link-BKlpD9sn.js} +1 -1
  168. package/web/dist/assets/{task-changes-BJLF9Ucs.js → task-changes-BuNxS6PG.js} +1 -1
  169. package/web/dist/assets/{task-commits-DYPpdxyk.js → task-commits--1qJdD-O.js} +1 -1
  170. package/web/dist/assets/{task-file-scope-BNDrHDCA.js → task-file-scope-CFMwJrto.js} +1 -1
  171. package/web/dist/assets/{task-files-Df7x62S3.js → task-files-CwH0b_vv.js} +1 -1
  172. package/web/dist/assets/{task-github-item-Bi0FiK3t.js → task-github-item-BezEGvZC.js} +1 -1
  173. package/web/dist/assets/{task-groups-7p6Gvpg8.js → task-groups-CGCnVqHE.js} +1 -1
  174. package/web/dist/assets/{task-thread-LZb9EWfU.js → task-thread-T_RG916v.js} +2 -2
  175. package/web/dist/assets/{thread-state-jWJlcg17.js → thread-state-zzV37Hgs.js} +1 -1
  176. package/web/dist/assets/toaster-zMN8cNZQ.js +4 -0
  177. package/web/dist/assets/{use-finish-run-jfO-hFXU.js → use-finish-run-CyV1CCkZ.js} +1 -1
  178. package/web/dist/assets/{use-hand-to-agent-state-TAYkI2TF.js → use-hand-to-agent-state-Ci2rVhws.js} +1 -1
  179. package/web/dist/assets/use-path-bases-Cimv7R-0.js +1 -0
  180. package/web/dist/assets/use-workspace-config-save-9jm9qV6u.js +1 -0
  181. package/web/dist/assets/{workflows-Ko0had3b.js → workflows-B9NzpaaA.js} +1 -1
  182. package/web/dist/assets/{workspace-tools-CtGDE8c4.js → workspace-tools-C0K5dFxy.js} +1 -1
  183. package/web/dist/assets/{worktrees-section--Q1J4xPE.js → worktrees-section-D48xLdpr.js} +1 -1
  184. package/web/dist/index.html +15 -15
  185. package/web/dist/assets/attention-xl4bwNkx.js +0 -1
  186. package/web/dist/assets/index-BUmO8olN.css +0 -1
  187. package/web/dist/assets/index-WGWSicA9.js +0 -21
  188. package/web/dist/assets/label-DRXJ8ljY.js +0 -1
  189. package/web/dist/assets/queries-jsRcJKo6.js +0 -1
  190. package/web/dist/assets/run-header-V9BxPSvn.css +0 -1
  191. package/web/dist/assets/toaster-C1BFyQ8i.js +0 -4
  192. package/web/dist/assets/use-path-bases-CeKWHR1g.js +0 -1
  193. package/web/dist/assets/use-workspace-config-save-D2fOudMd.js +0 -1
@@ -7,6 +7,7 @@ import { type WorkerCleanupFactory } from '../delegation/service.ts';
7
7
  import type { DelegationController } from '../delegation/provision.ts';
8
8
  import { Hono } from 'hono';
9
9
  import { TaskWebhooks } from '../runs/webhook.ts';
10
+ import type { RunnerFactory } from '../core/agent-runner.ts';
10
11
  import type { HttpRouteDefinition } from '../core/http-route-registry.ts';
11
12
  import type { ServerHookDefinition } from '../core/server-hook-registry.ts';
12
13
  import { type detectEnvironment } from '../core/backend-detect.ts';
@@ -43,9 +44,14 @@ export interface ServerDeps extends ActivityServerDeps {
43
44
  /** Same-process optional private listener; attached to managers before recovery. Without it, `workerCleanup` lets the fallback service destroy workers. */
44
45
  delegation?: DelegationController;
45
46
  workerCleanup?: WorkerCleanupFactory;
46
- repoRoot: string;
47
- store: RunStore;
48
- manager: ProjectRunManager;
47
+ /** Boot project root. Absent when the server starts with `--no-project`. */
48
+ repoRoot?: string | undefined;
49
+ /** Boot project run store. Required whenever `repoRoot` is set. */
50
+ store?: RunStore | undefined;
51
+ /** Boot project run manager. Required whenever `repoRoot` is set. */
52
+ manager?: ProjectRunManager | undefined;
53
+ /** Runner factory for lazily built project managers when no boot manager is present. */
54
+ createRunner?: RunnerFactory | undefined;
49
55
  version: string;
50
56
  /** Mutable holder for the async npm-registry update check (#368) —
51
57
  * `latest` appears once the registry answers with a newer version. */
@@ -211,7 +217,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
211
217
  output: {
212
218
  version: string;
213
219
  latestVersion?: string | undefined;
214
- repoRoot: string;
220
+ repoRoot: string | null;
215
221
  repo: {
216
222
  root: string;
217
223
  branch: string;
@@ -244,7 +250,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
244
250
  id: string;
245
251
  name: string;
246
252
  }[];
247
- bootProject: string;
253
+ bootProject: string | null;
248
254
  plugins: {
249
255
  loaded: {
250
256
  name: string;
@@ -1961,6 +1967,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1961
1967
  } & {
1962
1968
  "/workspace/agent-profiles/selection": {
1963
1969
  $put: {
1970
+ output: {
1971
+ error: string;
1972
+ code: "no-boot-project";
1973
+ };
1974
+ outputFormat: "json";
1975
+ status: 409;
1976
+ input: {
1977
+ json: {
1978
+ projectId: string;
1979
+ provider: string;
1980
+ profileId: string | null;
1981
+ };
1982
+ };
1983
+ } | {
1964
1984
  output: {
1965
1985
  error: string;
1966
1986
  };
@@ -2117,7 +2137,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2117
2137
  agent: boolean;
2118
2138
  }[] | undefined;
2119
2139
  }[];
2120
- bootProject: string;
2140
+ bootProject: string | null;
2121
2141
  projectsDir: string;
2122
2142
  };
2123
2143
  outputFormat: "json";
@@ -2223,6 +2243,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2223
2243
  } & {
2224
2244
  "/projects/:projectId": {
2225
2245
  $delete: {
2246
+ output: {
2247
+ error: string;
2248
+ code?: "no-boot-project" | undefined;
2249
+ };
2250
+ outputFormat: "json";
2251
+ status: 404 | 409;
2252
+ input: {
2253
+ param: {
2254
+ projectId: string;
2255
+ };
2256
+ };
2257
+ } | {
2226
2258
  output: {
2227
2259
  error: string;
2228
2260
  };
@@ -2272,6 +2304,28 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2272
2304
  } & {
2273
2305
  "/projects/:projectId": {
2274
2306
  $patch: {
2307
+ output: {
2308
+ error: string;
2309
+ code?: "no-boot-project" | undefined;
2310
+ };
2311
+ outputFormat: "json";
2312
+ status: 404 | 409;
2313
+ input: {
2314
+ json: {
2315
+ maxParallel?: number | null | undefined;
2316
+ tags?: string[] | null | undefined;
2317
+ webhook?: {
2318
+ url: string;
2319
+ token?: string | undefined;
2320
+ triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
2321
+ } | null | undefined;
2322
+ };
2323
+ } & {
2324
+ param: {
2325
+ projectId: string;
2326
+ };
2327
+ };
2328
+ } | {
2275
2329
  output: {
2276
2330
  error: string;
2277
2331
  };
@@ -2367,6 +2421,18 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2367
2421
  } & {
2368
2422
  "/projects/:projectId/webhook/test": {
2369
2423
  $post: {
2424
+ output: {
2425
+ error: string;
2426
+ code: "no-boot-project";
2427
+ };
2428
+ outputFormat: "json";
2429
+ status: 409;
2430
+ input: {
2431
+ param: {
2432
+ projectId: string;
2433
+ };
2434
+ };
2435
+ } | {
2370
2436
  output: {
2371
2437
  error: string;
2372
2438
  };
@@ -2409,6 +2475,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2409
2475
  $post: {
2410
2476
  output: {
2411
2477
  error: string;
2478
+ code?: "no-boot-project" | undefined;
2412
2479
  };
2413
2480
  outputFormat: "json";
2414
2481
  status: 400 | 404 | 409 | 500;
@@ -2576,6 +2643,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2576
2643
  } | {
2577
2644
  output: {
2578
2645
  error: string;
2646
+ code?: "no-boot-project" | undefined;
2579
2647
  };
2580
2648
  outputFormat: "json";
2581
2649
  status: 400 | 404 | 409 | 500;
@@ -2655,6 +2723,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2655
2723
  } | {
2656
2724
  output: {
2657
2725
  error: string;
2726
+ code?: "no-boot-project" | undefined;
2658
2727
  };
2659
2728
  outputFormat: "json";
2660
2729
  status: 400 | 404 | 409 | 500;
@@ -2696,6 +2765,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2696
2765
  webhookId: string;
2697
2766
  };
2698
2767
  };
2768
+ } | {
2769
+ output: {
2770
+ error: string;
2771
+ code: "no-boot-project";
2772
+ };
2773
+ outputFormat: "json";
2774
+ status: 409;
2775
+ input: {
2776
+ param: {
2777
+ projectId: string;
2778
+ webhookId: string;
2779
+ };
2780
+ };
2699
2781
  } | {
2700
2782
  output: {
2701
2783
  error: string;
@@ -3038,11 +3120,36 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3038
3120
  };
3039
3121
  };
3040
3122
  }, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
3123
+ "/workspace/identity": {
3124
+ $get: {
3125
+ output: {
3126
+ error: string;
3127
+ };
3128
+ outputFormat: "json";
3129
+ status: 503;
3130
+ input: {};
3131
+ } | {
3132
+ output: {
3133
+ installId: string;
3134
+ version: string;
3135
+ };
3136
+ outputFormat: "json";
3137
+ status: 200;
3138
+ input: {};
3139
+ };
3140
+ };
3141
+ }, "/"> | import("hono/types").MergeSchemaPath<{
3041
3142
  "/workspace/run-event-batches": {
3042
3143
  $post: {
3043
3144
  output: {
3044
3145
  generation: string;
3045
3146
  results: ({
3147
+ projectId: string;
3148
+ runId: string;
3149
+ type: "error" | "reset";
3150
+ status: 400 | 404 | 409 | 413 | 503;
3151
+ error: string;
3152
+ } | {
3046
3153
  projectId: string;
3047
3154
  runId: string;
3048
3155
  type: "batch";
@@ -3063,12 +3170,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3063
3170
  cursor: string;
3064
3171
  afterSeq: number;
3065
3172
  hasMore: boolean;
3066
- } | {
3067
- projectId: string;
3068
- runId: string;
3069
- type: "error" | "reset";
3070
- status: 400 | 404 | 409 | 413 | 503;
3071
- error: string;
3072
3173
  })[];
3073
3174
  };
3074
3175
  outputFormat: "json";
@@ -3373,94 +3474,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3373
3474
  };
3374
3475
  };
3375
3476
  };
3376
- }, "/"> | import("hono/types").MergeSchemaPath<{
3377
- "/reports/state": {
3378
- $get: {
3379
- output: {
3380
- error: string;
3381
- };
3382
- outputFormat: "json";
3383
- status: 409;
3384
- input: {};
3385
- } | {
3386
- output: {
3387
- epoch: string;
3388
- generation: number;
3389
- metadataGeneration: number;
3390
- };
3391
- outputFormat: "json";
3392
- status: import("hono/utils/http-status").ContentfulStatusCode;
3393
- input: {};
3394
- };
3395
- };
3396
- } & {
3397
- "/reports": {
3398
- $get: {
3399
- output: {
3400
- error: string;
3401
- code?: "invalid_input" | undefined;
3402
- };
3403
- outputFormat: "json";
3404
- status: 400;
3405
- input: {
3406
- query: {
3407
- q?: string | undefined;
3408
- before?: string | undefined;
3409
- limit?: number | undefined;
3410
- };
3411
- };
3412
- } | {
3413
- output: {
3414
- error: string;
3415
- };
3416
- outputFormat: "json";
3417
- status: 409;
3418
- input: {
3419
- query: {
3420
- q?: string | undefined;
3421
- before?: string | undefined;
3422
- limit?: number | undefined;
3423
- };
3424
- };
3425
- } | {
3426
- output: {
3427
- error: string;
3428
- };
3429
- outputFormat: "json";
3430
- status: 400;
3431
- input: {
3432
- query: {
3433
- q?: string | undefined;
3434
- before?: string | undefined;
3435
- limit?: number | undefined;
3436
- };
3437
- };
3438
- } | {
3439
- output: {
3440
- reports: {
3441
- id: string;
3442
- runId: string;
3443
- name: string;
3444
- title: string;
3445
- createdAt: string;
3446
- size: number;
3447
- taskTitle: string;
3448
- taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
3449
- }[];
3450
- nextCursor: string | null;
3451
- total: number;
3452
- };
3453
- outputFormat: "json";
3454
- status: import("hono/utils/http-status").ContentfulStatusCode;
3455
- input: {
3456
- query: {
3457
- q?: string | undefined;
3458
- before?: string | undefined;
3459
- limit?: number | undefined;
3460
- };
3461
- };
3462
- };
3463
- };
3464
3477
  }, "/"> | import("hono/types").MergeSchemaPath<{
3465
3478
  "/ui-state": {
3466
3479
  $get: {
@@ -3950,31 +3963,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3950
3963
  };
3951
3964
  };
3952
3965
  }, "/"> | import("hono/types").MergeSchemaPath<{
3953
- "/agent-config": {
3966
+ "/reports/state": {
3954
3967
  $get: {
3955
3968
  output: {
3956
- editable: boolean;
3957
- files: {
3958
- id: string;
3959
- runners: string[];
3960
- kind: import("../core/runner-config-files.ts").ConfigFileDef['kind'];
3961
- scope: import("../core/runner-config-files.ts").ConfigFileDef['scope'];
3962
- label: string;
3963
- path: string;
3964
- format: import("../core/runner-config-files.ts").ConfigFileDef['format'];
3965
- tracked: import("../core/runner-config-files.ts").ConfigFileDef['tracked'];
3966
- seeded: boolean;
3967
- holdsMcp: boolean;
3968
- precedence: string;
3969
- hotReload?: string;
3970
- docsUrl: string;
3971
- exists: boolean;
3972
- size: number;
3973
- version: string | null;
3974
- writable: boolean;
3975
- readOnlyReason?: string;
3976
- }[];
3977
- userMcp: import("../agent-config/service.ts").UserMcpListing | null;
3969
+ error: string;
3970
+ };
3971
+ outputFormat: "json";
3972
+ status: 409;
3973
+ input: {};
3974
+ } | {
3975
+ output: {
3976
+ epoch: string;
3977
+ generation: number;
3978
+ metadataGeneration: number;
3978
3979
  };
3979
3980
  outputFormat: "json";
3980
3981
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -3982,16 +3983,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3982
3983
  };
3983
3984
  };
3984
3985
  } & {
3985
- "/agent-config/:id": {
3986
+ "/reports": {
3986
3987
  $get: {
3987
3988
  output: {
3988
3989
  error: string;
3990
+ code?: "invalid_input" | undefined;
3989
3991
  };
3990
3992
  outputFormat: "json";
3991
- status: 404;
3993
+ status: 400;
3992
3994
  input: {
3993
- param: {
3994
- id: string;
3995
+ query: {
3996
+ q?: string | undefined;
3997
+ before?: string | undefined;
3998
+ limit?: number | undefined;
3995
3999
  };
3996
4000
  };
3997
4001
  } | {
@@ -4001,8 +4005,10 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4001
4005
  outputFormat: "json";
4002
4006
  status: 409;
4003
4007
  input: {
4004
- param: {
4005
- id: string;
4008
+ query: {
4009
+ q?: string | undefined;
4010
+ before?: string | undefined;
4011
+ limit?: number | undefined;
4006
4012
  };
4007
4013
  };
4008
4014
  } | {
@@ -4010,27 +4016,122 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4010
4016
  error: string;
4011
4017
  };
4012
4018
  outputFormat: "json";
4013
- status: 500;
4019
+ status: 400;
4014
4020
  input: {
4015
- param: {
4016
- id: string;
4021
+ query: {
4022
+ q?: string | undefined;
4023
+ before?: string | undefined;
4024
+ limit?: number | undefined;
4017
4025
  };
4018
4026
  };
4019
4027
  } | {
4020
4028
  output: {
4021
- id: string;
4022
- path: string;
4023
- exists: boolean;
4024
- content: string;
4025
- version: string | null;
4026
- };
4027
- outputFormat: "json";
4028
- status: import("hono/utils/http-status").ContentfulStatusCode;
4029
- input: {
4030
- param: {
4029
+ reports: {
4031
4030
  id: string;
4032
- };
4033
- };
4031
+ runId: string;
4032
+ name: string;
4033
+ title: string;
4034
+ createdAt: string;
4035
+ size: number;
4036
+ taskTitle: string;
4037
+ taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
4038
+ }[];
4039
+ nextCursor: string | null;
4040
+ total: number;
4041
+ };
4042
+ outputFormat: "json";
4043
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4044
+ input: {
4045
+ query: {
4046
+ q?: string | undefined;
4047
+ before?: string | undefined;
4048
+ limit?: number | undefined;
4049
+ };
4050
+ };
4051
+ };
4052
+ };
4053
+ }, "/"> | import("hono/types").MergeSchemaPath<{
4054
+ "/agent-config": {
4055
+ $get: {
4056
+ output: {
4057
+ editable: boolean;
4058
+ files: {
4059
+ id: string;
4060
+ runners: string[];
4061
+ kind: import("../core/runner-config-files.ts").ConfigFileDef['kind'];
4062
+ scope: import("../core/runner-config-files.ts").ConfigFileDef['scope'];
4063
+ label: string;
4064
+ path: string;
4065
+ format: import("../core/runner-config-files.ts").ConfigFileDef['format'];
4066
+ tracked: import("../core/runner-config-files.ts").ConfigFileDef['tracked'];
4067
+ seeded: boolean;
4068
+ holdsMcp: boolean;
4069
+ precedence: string;
4070
+ hotReload?: string;
4071
+ docsUrl: string;
4072
+ exists: boolean;
4073
+ size: number;
4074
+ version: string | null;
4075
+ writable: boolean;
4076
+ readOnlyReason?: string;
4077
+ }[];
4078
+ userMcp: import("../agent-config/service.ts").UserMcpListing | null;
4079
+ };
4080
+ outputFormat: "json";
4081
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4082
+ input: {};
4083
+ };
4084
+ };
4085
+ } & {
4086
+ "/agent-config/:id": {
4087
+ $get: {
4088
+ output: {
4089
+ error: string;
4090
+ };
4091
+ outputFormat: "json";
4092
+ status: 404;
4093
+ input: {
4094
+ param: {
4095
+ id: string;
4096
+ };
4097
+ };
4098
+ } | {
4099
+ output: {
4100
+ error: string;
4101
+ };
4102
+ outputFormat: "json";
4103
+ status: 409;
4104
+ input: {
4105
+ param: {
4106
+ id: string;
4107
+ };
4108
+ };
4109
+ } | {
4110
+ output: {
4111
+ error: string;
4112
+ };
4113
+ outputFormat: "json";
4114
+ status: 500;
4115
+ input: {
4116
+ param: {
4117
+ id: string;
4118
+ };
4119
+ };
4120
+ } | {
4121
+ output: {
4122
+ id: string;
4123
+ path: string;
4124
+ exists: boolean;
4125
+ content: string;
4126
+ version: string | null;
4127
+ };
4128
+ outputFormat: "json";
4129
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4130
+ input: {
4131
+ param: {
4132
+ id: string;
4133
+ };
4134
+ };
4034
4135
  };
4035
4136
  };
4036
4137
  } & {
@@ -6171,30 +6272,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6171
6272
  deadline: string;
6172
6273
  seconds: number;
6173
6274
  note?: string | undefined;
6174
- } | {
6175
- id: string;
6176
- source: "agent" | "cezar";
6177
- 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";
6178
- registeredAt: string;
6179
- phase: "cancelled" | "delivered" | "open" | "resolved";
6180
- resolvedAt?: string | undefined;
6181
- deliveredAt?: string | undefined;
6182
- cancelledAt?: string | undefined;
6183
- turnId: string;
6184
- kind: "process";
6185
- deadline: string;
6186
- timeoutSeconds: number;
6187
- pid: number;
6188
- startToken?: string | undefined;
6189
- exitFile?: string | undefined;
6190
- note?: string | undefined;
6191
- result?: {
6192
- outcome: "deadline" | "error" | "exit_file" | "exited";
6193
- observedAt: string;
6194
- exitCode?: number | undefined;
6195
- exitFileNote?: "not-an-exit-code" | undefined;
6196
- diagnostic?: string | undefined;
6197
- } | undefined;
6198
6275
  } | {
6199
6276
  id: string;
6200
6277
  source: "agent" | "cezar";
@@ -6256,6 +6333,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6256
6333
  reason: "outcome" | "timeout";
6257
6334
  } | undefined;
6258
6335
  wakeInputId?: string | undefined;
6336
+ } | {
6337
+ id: string;
6338
+ source: "agent" | "cezar";
6339
+ 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";
6340
+ registeredAt: string;
6341
+ phase: "cancelled" | "delivered" | "open" | "resolved";
6342
+ resolvedAt?: string | undefined;
6343
+ deliveredAt?: string | undefined;
6344
+ cancelledAt?: string | undefined;
6345
+ turnId: string;
6346
+ kind: "process";
6347
+ deadline: string;
6348
+ timeoutSeconds: number;
6349
+ pid: number;
6350
+ startToken?: string | undefined;
6351
+ exitFile?: string | undefined;
6352
+ note?: string | undefined;
6353
+ result?: {
6354
+ outcome: "deadline" | "error" | "exit_file" | "exited";
6355
+ observedAt: string;
6356
+ exitCode?: number | undefined;
6357
+ exitFileNote?: "not-an-exit-code" | undefined;
6358
+ diagnostic?: string | undefined;
6359
+ } | undefined;
6259
6360
  } | {
6260
6361
  id: string;
6261
6362
  source: "agent" | "cezar";
@@ -6388,30 +6489,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6388
6489
  deadline: string;
6389
6490
  seconds: number;
6390
6491
  note?: string | undefined;
6391
- } | {
6392
- id: string;
6393
- source: "agent" | "cezar";
6394
- 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";
6395
- registeredAt: string;
6396
- phase: "cancelled" | "delivered" | "open" | "resolved";
6397
- resolvedAt?: string | undefined;
6398
- deliveredAt?: string | undefined;
6399
- cancelledAt?: string | undefined;
6400
- turnId: string;
6401
- kind: "process";
6402
- deadline: string;
6403
- timeoutSeconds: number;
6404
- pid: number;
6405
- startToken?: string | undefined;
6406
- exitFile?: string | undefined;
6407
- note?: string | undefined;
6408
- result?: {
6409
- outcome: "deadline" | "error" | "exit_file" | "exited";
6410
- observedAt: string;
6411
- exitCode?: number | undefined;
6412
- exitFileNote?: "not-an-exit-code" | undefined;
6413
- diagnostic?: string | undefined;
6414
- } | undefined;
6415
6492
  } | {
6416
6493
  id: string;
6417
6494
  source: "agent" | "cezar";
@@ -6473,6 +6550,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6473
6550
  reason: "outcome" | "timeout";
6474
6551
  } | undefined;
6475
6552
  wakeInputId?: string | undefined;
6553
+ } | {
6554
+ id: string;
6555
+ source: "agent" | "cezar";
6556
+ 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";
6557
+ registeredAt: string;
6558
+ phase: "cancelled" | "delivered" | "open" | "resolved";
6559
+ resolvedAt?: string | undefined;
6560
+ deliveredAt?: string | undefined;
6561
+ cancelledAt?: string | undefined;
6562
+ turnId: string;
6563
+ kind: "process";
6564
+ deadline: string;
6565
+ timeoutSeconds: number;
6566
+ pid: number;
6567
+ startToken?: string | undefined;
6568
+ exitFile?: string | undefined;
6569
+ note?: string | undefined;
6570
+ result?: {
6571
+ outcome: "deadline" | "error" | "exit_file" | "exited";
6572
+ observedAt: string;
6573
+ exitCode?: number | undefined;
6574
+ exitFileNote?: "not-an-exit-code" | undefined;
6575
+ diagnostic?: string | undefined;
6576
+ } | undefined;
6476
6577
  } | {
6477
6578
  id: string;
6478
6579
  source: "agent" | "cezar";
@@ -6604,30 +6705,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6604
6705
  deadline: string;
6605
6706
  seconds: number;
6606
6707
  note?: string | undefined;
6607
- } | {
6608
- id: string;
6609
- source: "agent" | "cezar";
6610
- 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";
6611
- registeredAt: string;
6612
- phase: "cancelled" | "delivered" | "open" | "resolved";
6613
- resolvedAt?: string | undefined;
6614
- deliveredAt?: string | undefined;
6615
- cancelledAt?: string | undefined;
6616
- turnId: string;
6617
- kind: "process";
6618
- deadline: string;
6619
- timeoutSeconds: number;
6620
- pid: number;
6621
- startToken?: string | undefined;
6622
- exitFile?: string | undefined;
6623
- note?: string | undefined;
6624
- result?: {
6625
- outcome: "deadline" | "error" | "exit_file" | "exited";
6626
- observedAt: string;
6627
- exitCode?: number | undefined;
6628
- exitFileNote?: "not-an-exit-code" | undefined;
6629
- diagnostic?: string | undefined;
6630
- } | undefined;
6631
6708
  } | {
6632
6709
  id: string;
6633
6710
  source: "agent" | "cezar";
@@ -6689,6 +6766,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
6689
6766
  reason: "outcome" | "timeout";
6690
6767
  } | undefined;
6691
6768
  wakeInputId?: string | undefined;
6769
+ } | {
6770
+ id: string;
6771
+ source: "agent" | "cezar";
6772
+ 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";
6773
+ registeredAt: string;
6774
+ phase: "cancelled" | "delivered" | "open" | "resolved";
6775
+ resolvedAt?: string | undefined;
6776
+ deliveredAt?: string | undefined;
6777
+ cancelledAt?: string | undefined;
6778
+ turnId: string;
6779
+ kind: "process";
6780
+ deadline: string;
6781
+ timeoutSeconds: number;
6782
+ pid: number;
6783
+ startToken?: string | undefined;
6784
+ exitFile?: string | undefined;
6785
+ note?: string | undefined;
6786
+ result?: {
6787
+ outcome: "deadline" | "error" | "exit_file" | "exited";
6788
+ observedAt: string;
6789
+ exitCode?: number | undefined;
6790
+ exitFileNote?: "not-an-exit-code" | undefined;
6791
+ diagnostic?: string | undefined;
6792
+ } | undefined;
6692
6793
  } | {
6693
6794
  id: string;
6694
6795
  source: "agent" | "cezar";
@@ -7474,37 +7575,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7474
7575
  } & {
7475
7576
  "/runs/:id/worker-destroy": {
7476
7577
  $post: {
7477
- output: {
7478
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
7479
- readonly error: string;
7480
- readonly modelChoices?: {
7481
- runner: string;
7482
- requestedModel: string;
7483
- availableModels: {
7484
- id: string;
7485
- label: string;
7486
- description: string;
7487
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
7488
- }[];
7489
- otherRunners: string[];
7490
- } | undefined;
7491
- };
7492
- outputFormat: "json";
7493
- status: 400 | 401 | 403 | 409 | 503;
7494
- input: {
7495
- query: {
7496
- [x: string]: string | string[];
7497
- };
7498
- } & {
7499
- param: {
7500
- id: string;
7501
- };
7502
- } & {
7503
- json: {
7504
- discardWork?: true | undefined;
7505
- };
7506
- };
7507
- } | {
7508
7578
  output: {
7509
7579
  error: string;
7510
7580
  code?: "invalid_input" | undefined;
@@ -7590,6 +7660,37 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
7590
7660
  discardWork?: true | undefined;
7591
7661
  };
7592
7662
  };
7663
+ } | {
7664
+ output: {
7665
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
7666
+ readonly error: string;
7667
+ readonly modelChoices?: {
7668
+ runner: string;
7669
+ requestedModel: string;
7670
+ availableModels: {
7671
+ id: string;
7672
+ label: string;
7673
+ description: string;
7674
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
7675
+ }[];
7676
+ otherRunners: string[];
7677
+ } | undefined;
7678
+ };
7679
+ outputFormat: "json";
7680
+ status: 400 | 401 | 403 | 409 | 503;
7681
+ input: {
7682
+ query: {
7683
+ [x: string]: string | string[];
7684
+ };
7685
+ } & {
7686
+ param: {
7687
+ id: string;
7688
+ };
7689
+ } & {
7690
+ json: {
7691
+ discardWork?: true | undefined;
7692
+ };
7693
+ };
7593
7694
  };
7594
7695
  };
7595
7696
  } & {
@@ -8018,30 +8119,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8018
8119
  deadline: string;
8019
8120
  seconds: number;
8020
8121
  note?: string | undefined;
8021
- } | {
8022
- id: string;
8023
- source: "agent" | "cezar";
8024
- 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";
8025
- registeredAt: string;
8026
- phase: "cancelled" | "delivered" | "open" | "resolved";
8027
- resolvedAt?: string | undefined;
8028
- deliveredAt?: string | undefined;
8029
- cancelledAt?: string | undefined;
8030
- turnId: string;
8031
- kind: "process";
8032
- deadline: string;
8033
- timeoutSeconds: number;
8034
- pid: number;
8035
- startToken?: string | undefined;
8036
- exitFile?: string | undefined;
8037
- note?: string | undefined;
8038
- result?: {
8039
- outcome: "deadline" | "error" | "exit_file" | "exited";
8040
- observedAt: string;
8041
- exitCode?: number | undefined;
8042
- exitFileNote?: "not-an-exit-code" | undefined;
8043
- diagnostic?: string | undefined;
8044
- } | undefined;
8045
8122
  } | {
8046
8123
  id: string;
8047
8124
  source: "agent" | "cezar";
@@ -8103,6 +8180,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8103
8180
  reason: "outcome" | "timeout";
8104
8181
  } | undefined;
8105
8182
  wakeInputId?: string | undefined;
8183
+ } | {
8184
+ id: string;
8185
+ source: "agent" | "cezar";
8186
+ 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";
8187
+ registeredAt: string;
8188
+ phase: "cancelled" | "delivered" | "open" | "resolved";
8189
+ resolvedAt?: string | undefined;
8190
+ deliveredAt?: string | undefined;
8191
+ cancelledAt?: string | undefined;
8192
+ turnId: string;
8193
+ kind: "process";
8194
+ deadline: string;
8195
+ timeoutSeconds: number;
8196
+ pid: number;
8197
+ startToken?: string | undefined;
8198
+ exitFile?: string | undefined;
8199
+ note?: string | undefined;
8200
+ result?: {
8201
+ outcome: "deadline" | "error" | "exit_file" | "exited";
8202
+ observedAt: string;
8203
+ exitCode?: number | undefined;
8204
+ exitFileNote?: "not-an-exit-code" | undefined;
8205
+ diagnostic?: string | undefined;
8206
+ } | undefined;
8106
8207
  } | {
8107
8208
  id: string;
8108
8209
  source: "agent" | "cezar";
@@ -8235,30 +8336,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8235
8336
  deadline: string;
8236
8337
  seconds: number;
8237
8338
  note?: string | undefined;
8238
- } | {
8239
- id: string;
8240
- source: "agent" | "cezar";
8241
- 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";
8242
- registeredAt: string;
8243
- phase: "cancelled" | "delivered" | "open" | "resolved";
8244
- resolvedAt?: string | undefined;
8245
- deliveredAt?: string | undefined;
8246
- cancelledAt?: string | undefined;
8247
- turnId: string;
8248
- kind: "process";
8249
- deadline: string;
8250
- timeoutSeconds: number;
8251
- pid: number;
8252
- startToken?: string | undefined;
8253
- exitFile?: string | undefined;
8254
- note?: string | undefined;
8255
- result?: {
8256
- outcome: "deadline" | "error" | "exit_file" | "exited";
8257
- observedAt: string;
8258
- exitCode?: number | undefined;
8259
- exitFileNote?: "not-an-exit-code" | undefined;
8260
- diagnostic?: string | undefined;
8261
- } | undefined;
8262
8339
  } | {
8263
8340
  id: string;
8264
8341
  source: "agent" | "cezar";
@@ -8320,6 +8397,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8320
8397
  reason: "outcome" | "timeout";
8321
8398
  } | undefined;
8322
8399
  wakeInputId?: string | undefined;
8400
+ } | {
8401
+ id: string;
8402
+ source: "agent" | "cezar";
8403
+ 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";
8404
+ registeredAt: string;
8405
+ phase: "cancelled" | "delivered" | "open" | "resolved";
8406
+ resolvedAt?: string | undefined;
8407
+ deliveredAt?: string | undefined;
8408
+ cancelledAt?: string | undefined;
8409
+ turnId: string;
8410
+ kind: "process";
8411
+ deadline: string;
8412
+ timeoutSeconds: number;
8413
+ pid: number;
8414
+ startToken?: string | undefined;
8415
+ exitFile?: string | undefined;
8416
+ note?: string | undefined;
8417
+ result?: {
8418
+ outcome: "deadline" | "error" | "exit_file" | "exited";
8419
+ observedAt: string;
8420
+ exitCode?: number | undefined;
8421
+ exitFileNote?: "not-an-exit-code" | undefined;
8422
+ diagnostic?: string | undefined;
8423
+ } | undefined;
8323
8424
  } | {
8324
8425
  id: string;
8325
8426
  source: "agent" | "cezar";
@@ -8451,30 +8552,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8451
8552
  deadline: string;
8452
8553
  seconds: number;
8453
8554
  note?: string | undefined;
8454
- } | {
8455
- id: string;
8456
- source: "agent" | "cezar";
8457
- 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";
8458
- registeredAt: string;
8459
- phase: "cancelled" | "delivered" | "open" | "resolved";
8460
- resolvedAt?: string | undefined;
8461
- deliveredAt?: string | undefined;
8462
- cancelledAt?: string | undefined;
8463
- turnId: string;
8464
- kind: "process";
8465
- deadline: string;
8466
- timeoutSeconds: number;
8467
- pid: number;
8468
- startToken?: string | undefined;
8469
- exitFile?: string | undefined;
8470
- note?: string | undefined;
8471
- result?: {
8472
- outcome: "deadline" | "error" | "exit_file" | "exited";
8473
- observedAt: string;
8474
- exitCode?: number | undefined;
8475
- exitFileNote?: "not-an-exit-code" | undefined;
8476
- diagnostic?: string | undefined;
8477
- } | undefined;
8478
8555
  } | {
8479
8556
  id: string;
8480
8557
  source: "agent" | "cezar";
@@ -8536,6 +8613,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8536
8613
  reason: "outcome" | "timeout";
8537
8614
  } | undefined;
8538
8615
  wakeInputId?: string | undefined;
8616
+ } | {
8617
+ id: string;
8618
+ source: "agent" | "cezar";
8619
+ 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";
8620
+ registeredAt: string;
8621
+ phase: "cancelled" | "delivered" | "open" | "resolved";
8622
+ resolvedAt?: string | undefined;
8623
+ deliveredAt?: string | undefined;
8624
+ cancelledAt?: string | undefined;
8625
+ turnId: string;
8626
+ kind: "process";
8627
+ deadline: string;
8628
+ timeoutSeconds: number;
8629
+ pid: number;
8630
+ startToken?: string | undefined;
8631
+ exitFile?: string | undefined;
8632
+ note?: string | undefined;
8633
+ result?: {
8634
+ outcome: "deadline" | "error" | "exit_file" | "exited";
8635
+ observedAt: string;
8636
+ exitCode?: number | undefined;
8637
+ exitFileNote?: "not-an-exit-code" | undefined;
8638
+ diagnostic?: string | undefined;
8639
+ } | undefined;
8539
8640
  } | {
8540
8641
  id: string;
8541
8642
  source: "agent" | "cezar";
@@ -9233,30 +9334,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9233
9334
  deadline: string;
9234
9335
  seconds: number;
9235
9336
  note?: string | undefined;
9236
- } | {
9237
- id: string;
9238
- source: "agent" | "cezar";
9239
- 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";
9240
- registeredAt: string;
9241
- phase: "cancelled" | "delivered" | "open" | "resolved";
9242
- resolvedAt?: string | undefined;
9243
- deliveredAt?: string | undefined;
9244
- cancelledAt?: string | undefined;
9245
- turnId: string;
9246
- kind: "process";
9247
- deadline: string;
9248
- timeoutSeconds: number;
9249
- pid: number;
9250
- startToken?: string | undefined;
9251
- exitFile?: string | undefined;
9252
- note?: string | undefined;
9253
- result?: {
9254
- outcome: "deadline" | "error" | "exit_file" | "exited";
9255
- observedAt: string;
9256
- exitCode?: number | undefined;
9257
- exitFileNote?: "not-an-exit-code" | undefined;
9258
- diagnostic?: string | undefined;
9259
- } | undefined;
9260
9337
  } | {
9261
9338
  id: string;
9262
9339
  source: "agent" | "cezar";
@@ -9318,6 +9395,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9318
9395
  reason: "outcome" | "timeout";
9319
9396
  } | undefined;
9320
9397
  wakeInputId?: string | undefined;
9398
+ } | {
9399
+ id: string;
9400
+ source: "agent" | "cezar";
9401
+ 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";
9402
+ registeredAt: string;
9403
+ phase: "cancelled" | "delivered" | "open" | "resolved";
9404
+ resolvedAt?: string | undefined;
9405
+ deliveredAt?: string | undefined;
9406
+ cancelledAt?: string | undefined;
9407
+ turnId: string;
9408
+ kind: "process";
9409
+ deadline: string;
9410
+ timeoutSeconds: number;
9411
+ pid: number;
9412
+ startToken?: string | undefined;
9413
+ exitFile?: string | undefined;
9414
+ note?: string | undefined;
9415
+ result?: {
9416
+ outcome: "deadline" | "error" | "exit_file" | "exited";
9417
+ observedAt: string;
9418
+ exitCode?: number | undefined;
9419
+ exitFileNote?: "not-an-exit-code" | undefined;
9420
+ diagnostic?: string | undefined;
9421
+ } | undefined;
9321
9422
  } | {
9322
9423
  id: string;
9323
9424
  source: "agent" | "cezar";
@@ -9450,30 +9551,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9450
9551
  deadline: string;
9451
9552
  seconds: number;
9452
9553
  note?: string | undefined;
9453
- } | {
9454
- id: string;
9455
- source: "agent" | "cezar";
9456
- 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";
9457
- registeredAt: string;
9458
- phase: "cancelled" | "delivered" | "open" | "resolved";
9459
- resolvedAt?: string | undefined;
9460
- deliveredAt?: string | undefined;
9461
- cancelledAt?: string | undefined;
9462
- turnId: string;
9463
- kind: "process";
9464
- deadline: string;
9465
- timeoutSeconds: number;
9466
- pid: number;
9467
- startToken?: string | undefined;
9468
- exitFile?: string | undefined;
9469
- note?: string | undefined;
9470
- result?: {
9471
- outcome: "deadline" | "error" | "exit_file" | "exited";
9472
- observedAt: string;
9473
- exitCode?: number | undefined;
9474
- exitFileNote?: "not-an-exit-code" | undefined;
9475
- diagnostic?: string | undefined;
9476
- } | undefined;
9477
9554
  } | {
9478
9555
  id: string;
9479
9556
  source: "agent" | "cezar";
@@ -9535,6 +9612,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9535
9612
  reason: "outcome" | "timeout";
9536
9613
  } | undefined;
9537
9614
  wakeInputId?: string | undefined;
9615
+ } | {
9616
+ id: string;
9617
+ source: "agent" | "cezar";
9618
+ 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";
9619
+ registeredAt: string;
9620
+ phase: "cancelled" | "delivered" | "open" | "resolved";
9621
+ resolvedAt?: string | undefined;
9622
+ deliveredAt?: string | undefined;
9623
+ cancelledAt?: string | undefined;
9624
+ turnId: string;
9625
+ kind: "process";
9626
+ deadline: string;
9627
+ timeoutSeconds: number;
9628
+ pid: number;
9629
+ startToken?: string | undefined;
9630
+ exitFile?: string | undefined;
9631
+ note?: string | undefined;
9632
+ result?: {
9633
+ outcome: "deadline" | "error" | "exit_file" | "exited";
9634
+ observedAt: string;
9635
+ exitCode?: number | undefined;
9636
+ exitFileNote?: "not-an-exit-code" | undefined;
9637
+ diagnostic?: string | undefined;
9638
+ } | undefined;
9538
9639
  } | {
9539
9640
  id: string;
9540
9641
  source: "agent" | "cezar";
@@ -9666,30 +9767,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9666
9767
  deadline: string;
9667
9768
  seconds: number;
9668
9769
  note?: string | undefined;
9669
- } | {
9670
- id: string;
9671
- source: "agent" | "cezar";
9672
- 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";
9673
- registeredAt: string;
9674
- phase: "cancelled" | "delivered" | "open" | "resolved";
9675
- resolvedAt?: string | undefined;
9676
- deliveredAt?: string | undefined;
9677
- cancelledAt?: string | undefined;
9678
- turnId: string;
9679
- kind: "process";
9680
- deadline: string;
9681
- timeoutSeconds: number;
9682
- pid: number;
9683
- startToken?: string | undefined;
9684
- exitFile?: string | undefined;
9685
- note?: string | undefined;
9686
- result?: {
9687
- outcome: "deadline" | "error" | "exit_file" | "exited";
9688
- observedAt: string;
9689
- exitCode?: number | undefined;
9690
- exitFileNote?: "not-an-exit-code" | undefined;
9691
- diagnostic?: string | undefined;
9692
- } | undefined;
9693
9770
  } | {
9694
9771
  id: string;
9695
9772
  source: "agent" | "cezar";
@@ -9751,6 +9828,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
9751
9828
  reason: "outcome" | "timeout";
9752
9829
  } | undefined;
9753
9830
  wakeInputId?: string | undefined;
9831
+ } | {
9832
+ id: string;
9833
+ source: "agent" | "cezar";
9834
+ 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";
9835
+ registeredAt: string;
9836
+ phase: "cancelled" | "delivered" | "open" | "resolved";
9837
+ resolvedAt?: string | undefined;
9838
+ deliveredAt?: string | undefined;
9839
+ cancelledAt?: string | undefined;
9840
+ turnId: string;
9841
+ kind: "process";
9842
+ deadline: string;
9843
+ timeoutSeconds: number;
9844
+ pid: number;
9845
+ startToken?: string | undefined;
9846
+ exitFile?: string | undefined;
9847
+ note?: string | undefined;
9848
+ result?: {
9849
+ outcome: "deadline" | "error" | "exit_file" | "exited";
9850
+ observedAt: string;
9851
+ exitCode?: number | undefined;
9852
+ exitFileNote?: "not-an-exit-code" | undefined;
9853
+ diagnostic?: string | undefined;
9854
+ } | undefined;
9754
9855
  } | {
9755
9856
  id: string;
9756
9857
  source: "agent" | "cezar";
@@ -10228,30 +10329,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10228
10329
  deadline: string;
10229
10330
  seconds: number;
10230
10331
  note?: string | undefined;
10231
- } | {
10232
- id: string;
10233
- source: "agent" | "cezar";
10234
- 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";
10235
- registeredAt: string;
10236
- phase: "cancelled" | "delivered" | "open" | "resolved";
10237
- resolvedAt?: string | undefined;
10238
- deliveredAt?: string | undefined;
10239
- cancelledAt?: string | undefined;
10240
- turnId: string;
10241
- kind: "process";
10242
- deadline: string;
10243
- timeoutSeconds: number;
10244
- pid: number;
10245
- startToken?: string | undefined;
10246
- exitFile?: string | undefined;
10247
- note?: string | undefined;
10248
- result?: {
10249
- outcome: "deadline" | "error" | "exit_file" | "exited";
10250
- observedAt: string;
10251
- exitCode?: number | undefined;
10252
- exitFileNote?: "not-an-exit-code" | undefined;
10253
- diagnostic?: string | undefined;
10254
- } | undefined;
10255
10332
  } | {
10256
10333
  id: string;
10257
10334
  source: "agent" | "cezar";
@@ -10313,6 +10390,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10313
10390
  reason: "outcome" | "timeout";
10314
10391
  } | undefined;
10315
10392
  wakeInputId?: string | undefined;
10393
+ } | {
10394
+ id: string;
10395
+ source: "agent" | "cezar";
10396
+ 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";
10397
+ registeredAt: string;
10398
+ phase: "cancelled" | "delivered" | "open" | "resolved";
10399
+ resolvedAt?: string | undefined;
10400
+ deliveredAt?: string | undefined;
10401
+ cancelledAt?: string | undefined;
10402
+ turnId: string;
10403
+ kind: "process";
10404
+ deadline: string;
10405
+ timeoutSeconds: number;
10406
+ pid: number;
10407
+ startToken?: string | undefined;
10408
+ exitFile?: string | undefined;
10409
+ note?: string | undefined;
10410
+ result?: {
10411
+ outcome: "deadline" | "error" | "exit_file" | "exited";
10412
+ observedAt: string;
10413
+ exitCode?: number | undefined;
10414
+ exitFileNote?: "not-an-exit-code" | undefined;
10415
+ diagnostic?: string | undefined;
10416
+ } | undefined;
10316
10417
  } | {
10317
10418
  id: string;
10318
10419
  source: "agent" | "cezar";
@@ -10445,30 +10546,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10445
10546
  deadline: string;
10446
10547
  seconds: number;
10447
10548
  note?: string | undefined;
10448
- } | {
10449
- id: string;
10450
- source: "agent" | "cezar";
10451
- 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";
10452
- registeredAt: string;
10453
- phase: "cancelled" | "delivered" | "open" | "resolved";
10454
- resolvedAt?: string | undefined;
10455
- deliveredAt?: string | undefined;
10456
- cancelledAt?: string | undefined;
10457
- turnId: string;
10458
- kind: "process";
10459
- deadline: string;
10460
- timeoutSeconds: number;
10461
- pid: number;
10462
- startToken?: string | undefined;
10463
- exitFile?: string | undefined;
10464
- note?: string | undefined;
10465
- result?: {
10466
- outcome: "deadline" | "error" | "exit_file" | "exited";
10467
- observedAt: string;
10468
- exitCode?: number | undefined;
10469
- exitFileNote?: "not-an-exit-code" | undefined;
10470
- diagnostic?: string | undefined;
10471
- } | undefined;
10472
10549
  } | {
10473
10550
  id: string;
10474
10551
  source: "agent" | "cezar";
@@ -10530,6 +10607,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10530
10607
  reason: "outcome" | "timeout";
10531
10608
  } | undefined;
10532
10609
  wakeInputId?: string | undefined;
10610
+ } | {
10611
+ id: string;
10612
+ source: "agent" | "cezar";
10613
+ 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";
10614
+ registeredAt: string;
10615
+ phase: "cancelled" | "delivered" | "open" | "resolved";
10616
+ resolvedAt?: string | undefined;
10617
+ deliveredAt?: string | undefined;
10618
+ cancelledAt?: string | undefined;
10619
+ turnId: string;
10620
+ kind: "process";
10621
+ deadline: string;
10622
+ timeoutSeconds: number;
10623
+ pid: number;
10624
+ startToken?: string | undefined;
10625
+ exitFile?: string | undefined;
10626
+ note?: string | undefined;
10627
+ result?: {
10628
+ outcome: "deadline" | "error" | "exit_file" | "exited";
10629
+ observedAt: string;
10630
+ exitCode?: number | undefined;
10631
+ exitFileNote?: "not-an-exit-code" | undefined;
10632
+ diagnostic?: string | undefined;
10633
+ } | undefined;
10533
10634
  } | {
10534
10635
  id: string;
10535
10636
  source: "agent" | "cezar";
@@ -10661,30 +10762,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10661
10762
  deadline: string;
10662
10763
  seconds: number;
10663
10764
  note?: string | undefined;
10664
- } | {
10665
- id: string;
10666
- source: "agent" | "cezar";
10667
- 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";
10668
- registeredAt: string;
10669
- phase: "cancelled" | "delivered" | "open" | "resolved";
10670
- resolvedAt?: string | undefined;
10671
- deliveredAt?: string | undefined;
10672
- cancelledAt?: string | undefined;
10673
- turnId: string;
10674
- kind: "process";
10675
- deadline: string;
10676
- timeoutSeconds: number;
10677
- pid: number;
10678
- startToken?: string | undefined;
10679
- exitFile?: string | undefined;
10680
- note?: string | undefined;
10681
- result?: {
10682
- outcome: "deadline" | "error" | "exit_file" | "exited";
10683
- observedAt: string;
10684
- exitCode?: number | undefined;
10685
- exitFileNote?: "not-an-exit-code" | undefined;
10686
- diagnostic?: string | undefined;
10687
- } | undefined;
10688
10765
  } | {
10689
10766
  id: string;
10690
10767
  source: "agent" | "cezar";
@@ -10746,6 +10823,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
10746
10823
  reason: "outcome" | "timeout";
10747
10824
  } | undefined;
10748
10825
  wakeInputId?: string | undefined;
10826
+ } | {
10827
+ id: string;
10828
+ source: "agent" | "cezar";
10829
+ 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";
10830
+ registeredAt: string;
10831
+ phase: "cancelled" | "delivered" | "open" | "resolved";
10832
+ resolvedAt?: string | undefined;
10833
+ deliveredAt?: string | undefined;
10834
+ cancelledAt?: string | undefined;
10835
+ turnId: string;
10836
+ kind: "process";
10837
+ deadline: string;
10838
+ timeoutSeconds: number;
10839
+ pid: number;
10840
+ startToken?: string | undefined;
10841
+ exitFile?: string | undefined;
10842
+ note?: string | undefined;
10843
+ result?: {
10844
+ outcome: "deadline" | "error" | "exit_file" | "exited";
10845
+ observedAt: string;
10846
+ exitCode?: number | undefined;
10847
+ exitFileNote?: "not-an-exit-code" | undefined;
10848
+ diagnostic?: string | undefined;
10849
+ } | undefined;
10749
10850
  } | {
10750
10851
  id: string;
10751
10852
  source: "agent" | "cezar";
@@ -11692,30 +11793,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11692
11793
  deadline: string;
11693
11794
  seconds: number;
11694
11795
  note?: string | undefined;
11695
- } | {
11696
- id: string;
11697
- source: "agent" | "cezar";
11698
- 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";
11699
- registeredAt: string;
11700
- phase: "cancelled" | "delivered" | "open" | "resolved";
11701
- resolvedAt?: string | undefined;
11702
- deliveredAt?: string | undefined;
11703
- cancelledAt?: string | undefined;
11704
- turnId: string;
11705
- kind: "process";
11706
- deadline: string;
11707
- timeoutSeconds: number;
11708
- pid: number;
11709
- startToken?: string | undefined;
11710
- exitFile?: string | undefined;
11711
- note?: string | undefined;
11712
- result?: {
11713
- outcome: "deadline" | "error" | "exit_file" | "exited";
11714
- observedAt: string;
11715
- exitCode?: number | undefined;
11716
- exitFileNote?: "not-an-exit-code" | undefined;
11717
- diagnostic?: string | undefined;
11718
- } | undefined;
11719
11796
  } | {
11720
11797
  id: string;
11721
11798
  source: "agent" | "cezar";
@@ -11787,7 +11864,31 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11787
11864
  deliveredAt?: string | undefined;
11788
11865
  cancelledAt?: string | undefined;
11789
11866
  turnId: string;
11790
- kind: "peer";
11867
+ kind: "process";
11868
+ deadline: string;
11869
+ timeoutSeconds: number;
11870
+ pid: number;
11871
+ startToken?: string | undefined;
11872
+ exitFile?: string | undefined;
11873
+ note?: string | undefined;
11874
+ result?: {
11875
+ outcome: "deadline" | "error" | "exit_file" | "exited";
11876
+ observedAt: string;
11877
+ exitCode?: number | undefined;
11878
+ exitFileNote?: "not-an-exit-code" | undefined;
11879
+ diagnostic?: string | undefined;
11880
+ } | undefined;
11881
+ } | {
11882
+ id: string;
11883
+ source: "agent" | "cezar";
11884
+ 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";
11885
+ registeredAt: string;
11886
+ phase: "cancelled" | "delivered" | "open" | "resolved";
11887
+ resolvedAt?: string | undefined;
11888
+ deliveredAt?: string | undefined;
11889
+ cancelledAt?: string | undefined;
11890
+ turnId: string;
11891
+ kind: "peer";
11791
11892
  deadline: string;
11792
11893
  timeoutSeconds: number;
11793
11894
  peerIds: string[];
@@ -11909,30 +12010,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11909
12010
  deadline: string;
11910
12011
  seconds: number;
11911
12012
  note?: string | undefined;
11912
- } | {
11913
- id: string;
11914
- source: "agent" | "cezar";
11915
- 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";
11916
- registeredAt: string;
11917
- phase: "cancelled" | "delivered" | "open" | "resolved";
11918
- resolvedAt?: string | undefined;
11919
- deliveredAt?: string | undefined;
11920
- cancelledAt?: string | undefined;
11921
- turnId: string;
11922
- kind: "process";
11923
- deadline: string;
11924
- timeoutSeconds: number;
11925
- pid: number;
11926
- startToken?: string | undefined;
11927
- exitFile?: string | undefined;
11928
- note?: string | undefined;
11929
- result?: {
11930
- outcome: "deadline" | "error" | "exit_file" | "exited";
11931
- observedAt: string;
11932
- exitCode?: number | undefined;
11933
- exitFileNote?: "not-an-exit-code" | undefined;
11934
- diagnostic?: string | undefined;
11935
- } | undefined;
11936
12013
  } | {
11937
12014
  id: string;
11938
12015
  source: "agent" | "cezar";
@@ -11994,6 +12071,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
11994
12071
  reason: "outcome" | "timeout";
11995
12072
  } | undefined;
11996
12073
  wakeInputId?: string | undefined;
12074
+ } | {
12075
+ id: string;
12076
+ source: "agent" | "cezar";
12077
+ 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";
12078
+ registeredAt: string;
12079
+ phase: "cancelled" | "delivered" | "open" | "resolved";
12080
+ resolvedAt?: string | undefined;
12081
+ deliveredAt?: string | undefined;
12082
+ cancelledAt?: string | undefined;
12083
+ turnId: string;
12084
+ kind: "process";
12085
+ deadline: string;
12086
+ timeoutSeconds: number;
12087
+ pid: number;
12088
+ startToken?: string | undefined;
12089
+ exitFile?: string | undefined;
12090
+ note?: string | undefined;
12091
+ result?: {
12092
+ outcome: "deadline" | "error" | "exit_file" | "exited";
12093
+ observedAt: string;
12094
+ exitCode?: number | undefined;
12095
+ exitFileNote?: "not-an-exit-code" | undefined;
12096
+ diagnostic?: string | undefined;
12097
+ } | undefined;
11997
12098
  } | {
11998
12099
  id: string;
11999
12100
  source: "agent" | "cezar";
@@ -12125,30 +12226,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12125
12226
  deadline: string;
12126
12227
  seconds: number;
12127
12228
  note?: string | undefined;
12128
- } | {
12129
- id: string;
12130
- source: "agent" | "cezar";
12131
- 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";
12132
- registeredAt: string;
12133
- phase: "cancelled" | "delivered" | "open" | "resolved";
12134
- resolvedAt?: string | undefined;
12135
- deliveredAt?: string | undefined;
12136
- cancelledAt?: string | undefined;
12137
- turnId: string;
12138
- kind: "process";
12139
- deadline: string;
12140
- timeoutSeconds: number;
12141
- pid: number;
12142
- startToken?: string | undefined;
12143
- exitFile?: string | undefined;
12144
- note?: string | undefined;
12145
- result?: {
12146
- outcome: "deadline" | "error" | "exit_file" | "exited";
12147
- observedAt: string;
12148
- exitCode?: number | undefined;
12149
- exitFileNote?: "not-an-exit-code" | undefined;
12150
- diagnostic?: string | undefined;
12151
- } | undefined;
12152
12229
  } | {
12153
12230
  id: string;
12154
12231
  source: "agent" | "cezar";
@@ -12210,6 +12287,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12210
12287
  reason: "outcome" | "timeout";
12211
12288
  } | undefined;
12212
12289
  wakeInputId?: string | undefined;
12290
+ } | {
12291
+ id: string;
12292
+ source: "agent" | "cezar";
12293
+ 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";
12294
+ registeredAt: string;
12295
+ phase: "cancelled" | "delivered" | "open" | "resolved";
12296
+ resolvedAt?: string | undefined;
12297
+ deliveredAt?: string | undefined;
12298
+ cancelledAt?: string | undefined;
12299
+ turnId: string;
12300
+ kind: "process";
12301
+ deadline: string;
12302
+ timeoutSeconds: number;
12303
+ pid: number;
12304
+ startToken?: string | undefined;
12305
+ exitFile?: string | undefined;
12306
+ note?: string | undefined;
12307
+ result?: {
12308
+ outcome: "deadline" | "error" | "exit_file" | "exited";
12309
+ observedAt: string;
12310
+ exitCode?: number | undefined;
12311
+ exitFileNote?: "not-an-exit-code" | undefined;
12312
+ diagnostic?: string | undefined;
12313
+ } | undefined;
12213
12314
  } | {
12214
12315
  id: string;
12215
12316
  source: "agent" | "cezar";
@@ -12883,30 +12984,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12883
12984
  deadline: string;
12884
12985
  seconds: number;
12885
12986
  note?: string | undefined;
12886
- } | {
12887
- id: string;
12888
- source: "agent" | "cezar";
12889
- 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";
12890
- registeredAt: string;
12891
- phase: "cancelled" | "delivered" | "open" | "resolved";
12892
- resolvedAt?: string | undefined;
12893
- deliveredAt?: string | undefined;
12894
- cancelledAt?: string | undefined;
12895
- turnId: string;
12896
- kind: "process";
12897
- deadline: string;
12898
- timeoutSeconds: number;
12899
- pid: number;
12900
- startToken?: string | undefined;
12901
- exitFile?: string | undefined;
12902
- note?: string | undefined;
12903
- result?: {
12904
- outcome: "deadline" | "error" | "exit_file" | "exited";
12905
- observedAt: string;
12906
- exitCode?: number | undefined;
12907
- exitFileNote?: "not-an-exit-code" | undefined;
12908
- diagnostic?: string | undefined;
12909
- } | undefined;
12910
12987
  } | {
12911
12988
  id: string;
12912
12989
  source: "agent" | "cezar";
@@ -12968,6 +13045,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
12968
13045
  reason: "outcome" | "timeout";
12969
13046
  } | undefined;
12970
13047
  wakeInputId?: string | undefined;
13048
+ } | {
13049
+ id: string;
13050
+ source: "agent" | "cezar";
13051
+ 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";
13052
+ registeredAt: string;
13053
+ phase: "cancelled" | "delivered" | "open" | "resolved";
13054
+ resolvedAt?: string | undefined;
13055
+ deliveredAt?: string | undefined;
13056
+ cancelledAt?: string | undefined;
13057
+ turnId: string;
13058
+ kind: "process";
13059
+ deadline: string;
13060
+ timeoutSeconds: number;
13061
+ pid: number;
13062
+ startToken?: string | undefined;
13063
+ exitFile?: string | undefined;
13064
+ note?: string | undefined;
13065
+ result?: {
13066
+ outcome: "deadline" | "error" | "exit_file" | "exited";
13067
+ observedAt: string;
13068
+ exitCode?: number | undefined;
13069
+ exitFileNote?: "not-an-exit-code" | undefined;
13070
+ diagnostic?: string | undefined;
13071
+ } | undefined;
12971
13072
  } | {
12972
13073
  id: string;
12973
13074
  source: "agent" | "cezar";
@@ -13100,30 +13201,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13100
13201
  deadline: string;
13101
13202
  seconds: number;
13102
13203
  note?: string | undefined;
13103
- } | {
13104
- id: string;
13105
- source: "agent" | "cezar";
13106
- 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";
13107
- registeredAt: string;
13108
- phase: "cancelled" | "delivered" | "open" | "resolved";
13109
- resolvedAt?: string | undefined;
13110
- deliveredAt?: string | undefined;
13111
- cancelledAt?: string | undefined;
13112
- turnId: string;
13113
- kind: "process";
13114
- deadline: string;
13115
- timeoutSeconds: number;
13116
- pid: number;
13117
- startToken?: string | undefined;
13118
- exitFile?: string | undefined;
13119
- note?: string | undefined;
13120
- result?: {
13121
- outcome: "deadline" | "error" | "exit_file" | "exited";
13122
- observedAt: string;
13123
- exitCode?: number | undefined;
13124
- exitFileNote?: "not-an-exit-code" | undefined;
13125
- diagnostic?: string | undefined;
13126
- } | undefined;
13127
13204
  } | {
13128
13205
  id: string;
13129
13206
  source: "agent" | "cezar";
@@ -13185,6 +13262,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13185
13262
  reason: "outcome" | "timeout";
13186
13263
  } | undefined;
13187
13264
  wakeInputId?: string | undefined;
13265
+ } | {
13266
+ id: string;
13267
+ source: "agent" | "cezar";
13268
+ 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";
13269
+ registeredAt: string;
13270
+ phase: "cancelled" | "delivered" | "open" | "resolved";
13271
+ resolvedAt?: string | undefined;
13272
+ deliveredAt?: string | undefined;
13273
+ cancelledAt?: string | undefined;
13274
+ turnId: string;
13275
+ kind: "process";
13276
+ deadline: string;
13277
+ timeoutSeconds: number;
13278
+ pid: number;
13279
+ startToken?: string | undefined;
13280
+ exitFile?: string | undefined;
13281
+ note?: string | undefined;
13282
+ result?: {
13283
+ outcome: "deadline" | "error" | "exit_file" | "exited";
13284
+ observedAt: string;
13285
+ exitCode?: number | undefined;
13286
+ exitFileNote?: "not-an-exit-code" | undefined;
13287
+ diagnostic?: string | undefined;
13288
+ } | undefined;
13188
13289
  } | {
13189
13290
  id: string;
13190
13291
  source: "agent" | "cezar";
@@ -13316,30 +13417,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13316
13417
  deadline: string;
13317
13418
  seconds: number;
13318
13419
  note?: string | undefined;
13319
- } | {
13320
- id: string;
13321
- source: "agent" | "cezar";
13322
- 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";
13323
- registeredAt: string;
13324
- phase: "cancelled" | "delivered" | "open" | "resolved";
13325
- resolvedAt?: string | undefined;
13326
- deliveredAt?: string | undefined;
13327
- cancelledAt?: string | undefined;
13328
- turnId: string;
13329
- kind: "process";
13330
- deadline: string;
13331
- timeoutSeconds: number;
13332
- pid: number;
13333
- startToken?: string | undefined;
13334
- exitFile?: string | undefined;
13335
- note?: string | undefined;
13336
- result?: {
13337
- outcome: "deadline" | "error" | "exit_file" | "exited";
13338
- observedAt: string;
13339
- exitCode?: number | undefined;
13340
- exitFileNote?: "not-an-exit-code" | undefined;
13341
- diagnostic?: string | undefined;
13342
- } | undefined;
13343
13420
  } | {
13344
13421
  id: string;
13345
13422
  source: "agent" | "cezar";
@@ -13411,20 +13488,44 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13411
13488
  deliveredAt?: string | undefined;
13412
13489
  cancelledAt?: string | undefined;
13413
13490
  turnId: string;
13414
- kind: "peer";
13491
+ kind: "process";
13415
13492
  deadline: string;
13416
13493
  timeoutSeconds: number;
13417
- peerIds: string[];
13494
+ pid: number;
13495
+ startToken?: string | undefined;
13496
+ exitFile?: string | undefined;
13497
+ note?: string | undefined;
13418
13498
  result?: {
13419
- reason: "message";
13420
- peerRunId: string;
13421
- messageId: string;
13422
- } | {
13423
- reason: "settled";
13424
- peerRunId: string;
13425
- } | {
13426
- reason: "timeout";
13427
- } | undefined;
13499
+ outcome: "deadline" | "error" | "exit_file" | "exited";
13500
+ observedAt: string;
13501
+ exitCode?: number | undefined;
13502
+ exitFileNote?: "not-an-exit-code" | undefined;
13503
+ diagnostic?: string | undefined;
13504
+ } | undefined;
13505
+ } | {
13506
+ id: string;
13507
+ source: "agent" | "cezar";
13508
+ 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";
13509
+ registeredAt: string;
13510
+ phase: "cancelled" | "delivered" | "open" | "resolved";
13511
+ resolvedAt?: string | undefined;
13512
+ deliveredAt?: string | undefined;
13513
+ cancelledAt?: string | undefined;
13514
+ turnId: string;
13515
+ kind: "peer";
13516
+ deadline: string;
13517
+ timeoutSeconds: number;
13518
+ peerIds: string[];
13519
+ result?: {
13520
+ reason: "message";
13521
+ peerRunId: string;
13522
+ messageId: string;
13523
+ } | {
13524
+ reason: "settled";
13525
+ peerRunId: string;
13526
+ } | {
13527
+ reason: "timeout";
13528
+ } | undefined;
13428
13529
  } | {
13429
13530
  id: string;
13430
13531
  registeredAt: string;
@@ -13821,30 +13922,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13821
13922
  deadline: string;
13822
13923
  seconds: number;
13823
13924
  note?: string | undefined;
13824
- } | {
13825
- id: string;
13826
- source: "agent" | "cezar";
13827
- 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";
13828
- registeredAt: string;
13829
- phase: "cancelled" | "delivered" | "open" | "resolved";
13830
- resolvedAt?: string | undefined;
13831
- deliveredAt?: string | undefined;
13832
- cancelledAt?: string | undefined;
13833
- turnId: string;
13834
- kind: "process";
13835
- deadline: string;
13836
- timeoutSeconds: number;
13837
- pid: number;
13838
- startToken?: string | undefined;
13839
- exitFile?: string | undefined;
13840
- note?: string | undefined;
13841
- result?: {
13842
- outcome: "deadline" | "error" | "exit_file" | "exited";
13843
- observedAt: string;
13844
- exitCode?: number | undefined;
13845
- exitFileNote?: "not-an-exit-code" | undefined;
13846
- diagnostic?: string | undefined;
13847
- } | undefined;
13848
13925
  } | {
13849
13926
  id: string;
13850
13927
  source: "agent" | "cezar";
@@ -13906,6 +13983,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
13906
13983
  reason: "outcome" | "timeout";
13907
13984
  } | undefined;
13908
13985
  wakeInputId?: string | undefined;
13986
+ } | {
13987
+ id: string;
13988
+ source: "agent" | "cezar";
13989
+ 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";
13990
+ registeredAt: string;
13991
+ phase: "cancelled" | "delivered" | "open" | "resolved";
13992
+ resolvedAt?: string | undefined;
13993
+ deliveredAt?: string | undefined;
13994
+ cancelledAt?: string | undefined;
13995
+ turnId: string;
13996
+ kind: "process";
13997
+ deadline: string;
13998
+ timeoutSeconds: number;
13999
+ pid: number;
14000
+ startToken?: string | undefined;
14001
+ exitFile?: string | undefined;
14002
+ note?: string | undefined;
14003
+ result?: {
14004
+ outcome: "deadline" | "error" | "exit_file" | "exited";
14005
+ observedAt: string;
14006
+ exitCode?: number | undefined;
14007
+ exitFileNote?: "not-an-exit-code" | undefined;
14008
+ diagnostic?: string | undefined;
14009
+ } | undefined;
13909
14010
  } | {
13910
14011
  id: string;
13911
14012
  source: "agent" | "cezar";
@@ -14038,30 +14139,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14038
14139
  deadline: string;
14039
14140
  seconds: number;
14040
14141
  note?: string | undefined;
14041
- } | {
14042
- id: string;
14043
- source: "agent" | "cezar";
14044
- 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";
14045
- registeredAt: string;
14046
- phase: "cancelled" | "delivered" | "open" | "resolved";
14047
- resolvedAt?: string | undefined;
14048
- deliveredAt?: string | undefined;
14049
- cancelledAt?: string | undefined;
14050
- turnId: string;
14051
- kind: "process";
14052
- deadline: string;
14053
- timeoutSeconds: number;
14054
- pid: number;
14055
- startToken?: string | undefined;
14056
- exitFile?: string | undefined;
14057
- note?: string | undefined;
14058
- result?: {
14059
- outcome: "deadline" | "error" | "exit_file" | "exited";
14060
- observedAt: string;
14061
- exitCode?: number | undefined;
14062
- exitFileNote?: "not-an-exit-code" | undefined;
14063
- diagnostic?: string | undefined;
14064
- } | undefined;
14065
14142
  } | {
14066
14143
  id: string;
14067
14144
  source: "agent" | "cezar";
@@ -14123,6 +14200,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14123
14200
  reason: "outcome" | "timeout";
14124
14201
  } | undefined;
14125
14202
  wakeInputId?: string | undefined;
14203
+ } | {
14204
+ id: string;
14205
+ source: "agent" | "cezar";
14206
+ 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";
14207
+ registeredAt: string;
14208
+ phase: "cancelled" | "delivered" | "open" | "resolved";
14209
+ resolvedAt?: string | undefined;
14210
+ deliveredAt?: string | undefined;
14211
+ cancelledAt?: string | undefined;
14212
+ turnId: string;
14213
+ kind: "process";
14214
+ deadline: string;
14215
+ timeoutSeconds: number;
14216
+ pid: number;
14217
+ startToken?: string | undefined;
14218
+ exitFile?: string | undefined;
14219
+ note?: string | undefined;
14220
+ result?: {
14221
+ outcome: "deadline" | "error" | "exit_file" | "exited";
14222
+ observedAt: string;
14223
+ exitCode?: number | undefined;
14224
+ exitFileNote?: "not-an-exit-code" | undefined;
14225
+ diagnostic?: string | undefined;
14226
+ } | undefined;
14126
14227
  } | {
14127
14228
  id: string;
14128
14229
  source: "agent" | "cezar";
@@ -14254,30 +14355,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14254
14355
  deadline: string;
14255
14356
  seconds: number;
14256
14357
  note?: string | undefined;
14257
- } | {
14258
- id: string;
14259
- source: "agent" | "cezar";
14260
- 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";
14261
- registeredAt: string;
14262
- phase: "cancelled" | "delivered" | "open" | "resolved";
14263
- resolvedAt?: string | undefined;
14264
- deliveredAt?: string | undefined;
14265
- cancelledAt?: string | undefined;
14266
- turnId: string;
14267
- kind: "process";
14268
- deadline: string;
14269
- timeoutSeconds: number;
14270
- pid: number;
14271
- startToken?: string | undefined;
14272
- exitFile?: string | undefined;
14273
- note?: string | undefined;
14274
- result?: {
14275
- outcome: "deadline" | "error" | "exit_file" | "exited";
14276
- observedAt: string;
14277
- exitCode?: number | undefined;
14278
- exitFileNote?: "not-an-exit-code" | undefined;
14279
- diagnostic?: string | undefined;
14280
- } | undefined;
14281
14358
  } | {
14282
14359
  id: string;
14283
14360
  source: "agent" | "cezar";
@@ -14339,6 +14416,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
14339
14416
  reason: "outcome" | "timeout";
14340
14417
  } | undefined;
14341
14418
  wakeInputId?: string | undefined;
14419
+ } | {
14420
+ id: string;
14421
+ source: "agent" | "cezar";
14422
+ 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";
14423
+ registeredAt: string;
14424
+ phase: "cancelled" | "delivered" | "open" | "resolved";
14425
+ resolvedAt?: string | undefined;
14426
+ deliveredAt?: string | undefined;
14427
+ cancelledAt?: string | undefined;
14428
+ turnId: string;
14429
+ kind: "process";
14430
+ deadline: string;
14431
+ timeoutSeconds: number;
14432
+ pid: number;
14433
+ startToken?: string | undefined;
14434
+ exitFile?: string | undefined;
14435
+ note?: string | undefined;
14436
+ result?: {
14437
+ outcome: "deadline" | "error" | "exit_file" | "exited";
14438
+ observedAt: string;
14439
+ exitCode?: number | undefined;
14440
+ exitFileNote?: "not-an-exit-code" | undefined;
14441
+ diagnostic?: string | undefined;
14442
+ } | undefined;
14342
14443
  } | {
14343
14444
  id: string;
14344
14445
  source: "agent" | "cezar";
@@ -15345,30 +15446,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15345
15446
  deadline: string;
15346
15447
  seconds: number;
15347
15448
  note?: string | undefined;
15348
- } | {
15349
- id: string;
15350
- source: "agent" | "cezar";
15351
- 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";
15352
- registeredAt: string;
15353
- phase: "cancelled" | "delivered" | "open" | "resolved";
15354
- resolvedAt?: string | undefined;
15355
- deliveredAt?: string | undefined;
15356
- cancelledAt?: string | undefined;
15357
- turnId: string;
15358
- kind: "process";
15359
- deadline: string;
15360
- timeoutSeconds: number;
15361
- pid: number;
15362
- startToken?: string | undefined;
15363
- exitFile?: string | undefined;
15364
- note?: string | undefined;
15365
- result?: {
15366
- outcome: "deadline" | "error" | "exit_file" | "exited";
15367
- observedAt: string;
15368
- exitCode?: number | undefined;
15369
- exitFileNote?: "not-an-exit-code" | undefined;
15370
- diagnostic?: string | undefined;
15371
- } | undefined;
15372
15449
  } | {
15373
15450
  id: string;
15374
15451
  source: "agent" | "cezar";
@@ -15430,6 +15507,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15430
15507
  reason: "outcome" | "timeout";
15431
15508
  } | undefined;
15432
15509
  wakeInputId?: string | undefined;
15510
+ } | {
15511
+ id: string;
15512
+ source: "agent" | "cezar";
15513
+ 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";
15514
+ registeredAt: string;
15515
+ phase: "cancelled" | "delivered" | "open" | "resolved";
15516
+ resolvedAt?: string | undefined;
15517
+ deliveredAt?: string | undefined;
15518
+ cancelledAt?: string | undefined;
15519
+ turnId: string;
15520
+ kind: "process";
15521
+ deadline: string;
15522
+ timeoutSeconds: number;
15523
+ pid: number;
15524
+ startToken?: string | undefined;
15525
+ exitFile?: string | undefined;
15526
+ note?: string | undefined;
15527
+ result?: {
15528
+ outcome: "deadline" | "error" | "exit_file" | "exited";
15529
+ observedAt: string;
15530
+ exitCode?: number | undefined;
15531
+ exitFileNote?: "not-an-exit-code" | undefined;
15532
+ diagnostic?: string | undefined;
15533
+ } | undefined;
15433
15534
  } | {
15434
15535
  id: string;
15435
15536
  source: "agent" | "cezar";
@@ -15562,30 +15663,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15562
15663
  deadline: string;
15563
15664
  seconds: number;
15564
15665
  note?: string | undefined;
15565
- } | {
15566
- id: string;
15567
- source: "agent" | "cezar";
15568
- 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";
15569
- registeredAt: string;
15570
- phase: "cancelled" | "delivered" | "open" | "resolved";
15571
- resolvedAt?: string | undefined;
15572
- deliveredAt?: string | undefined;
15573
- cancelledAt?: string | undefined;
15574
- turnId: string;
15575
- kind: "process";
15576
- deadline: string;
15577
- timeoutSeconds: number;
15578
- pid: number;
15579
- startToken?: string | undefined;
15580
- exitFile?: string | undefined;
15581
- note?: string | undefined;
15582
- result?: {
15583
- outcome: "deadline" | "error" | "exit_file" | "exited";
15584
- observedAt: string;
15585
- exitCode?: number | undefined;
15586
- exitFileNote?: "not-an-exit-code" | undefined;
15587
- diagnostic?: string | undefined;
15588
- } | undefined;
15589
15666
  } | {
15590
15667
  id: string;
15591
15668
  source: "agent" | "cezar";
@@ -15657,14 +15734,38 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15657
15734
  deliveredAt?: string | undefined;
15658
15735
  cancelledAt?: string | undefined;
15659
15736
  turnId: string;
15660
- kind: "peer";
15737
+ kind: "process";
15661
15738
  deadline: string;
15662
15739
  timeoutSeconds: number;
15663
- peerIds: string[];
15740
+ pid: number;
15741
+ startToken?: string | undefined;
15742
+ exitFile?: string | undefined;
15743
+ note?: string | undefined;
15664
15744
  result?: {
15665
- reason: "message";
15666
- peerRunId: string;
15667
- messageId: string;
15745
+ outcome: "deadline" | "error" | "exit_file" | "exited";
15746
+ observedAt: string;
15747
+ exitCode?: number | undefined;
15748
+ exitFileNote?: "not-an-exit-code" | undefined;
15749
+ diagnostic?: string | undefined;
15750
+ } | undefined;
15751
+ } | {
15752
+ id: string;
15753
+ source: "agent" | "cezar";
15754
+ 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";
15755
+ registeredAt: string;
15756
+ phase: "cancelled" | "delivered" | "open" | "resolved";
15757
+ resolvedAt?: string | undefined;
15758
+ deliveredAt?: string | undefined;
15759
+ cancelledAt?: string | undefined;
15760
+ turnId: string;
15761
+ kind: "peer";
15762
+ deadline: string;
15763
+ timeoutSeconds: number;
15764
+ peerIds: string[];
15765
+ result?: {
15766
+ reason: "message";
15767
+ peerRunId: string;
15768
+ messageId: string;
15668
15769
  } | {
15669
15770
  reason: "settled";
15670
15771
  peerRunId: string;
@@ -15778,30 +15879,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15778
15879
  deadline: string;
15779
15880
  seconds: number;
15780
15881
  note?: string | undefined;
15781
- } | {
15782
- id: string;
15783
- source: "agent" | "cezar";
15784
- 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";
15785
- registeredAt: string;
15786
- phase: "cancelled" | "delivered" | "open" | "resolved";
15787
- resolvedAt?: string | undefined;
15788
- deliveredAt?: string | undefined;
15789
- cancelledAt?: string | undefined;
15790
- turnId: string;
15791
- kind: "process";
15792
- deadline: string;
15793
- timeoutSeconds: number;
15794
- pid: number;
15795
- startToken?: string | undefined;
15796
- exitFile?: string | undefined;
15797
- note?: string | undefined;
15798
- result?: {
15799
- outcome: "deadline" | "error" | "exit_file" | "exited";
15800
- observedAt: string;
15801
- exitCode?: number | undefined;
15802
- exitFileNote?: "not-an-exit-code" | undefined;
15803
- diagnostic?: string | undefined;
15804
- } | undefined;
15805
15882
  } | {
15806
15883
  id: string;
15807
15884
  source: "agent" | "cezar";
@@ -15863,6 +15940,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
15863
15940
  reason: "outcome" | "timeout";
15864
15941
  } | undefined;
15865
15942
  wakeInputId?: string | undefined;
15943
+ } | {
15944
+ id: string;
15945
+ source: "agent" | "cezar";
15946
+ 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";
15947
+ registeredAt: string;
15948
+ phase: "cancelled" | "delivered" | "open" | "resolved";
15949
+ resolvedAt?: string | undefined;
15950
+ deliveredAt?: string | undefined;
15951
+ cancelledAt?: string | undefined;
15952
+ turnId: string;
15953
+ kind: "process";
15954
+ deadline: string;
15955
+ timeoutSeconds: number;
15956
+ pid: number;
15957
+ startToken?: string | undefined;
15958
+ exitFile?: string | undefined;
15959
+ note?: string | undefined;
15960
+ result?: {
15961
+ outcome: "deadline" | "error" | "exit_file" | "exited";
15962
+ observedAt: string;
15963
+ exitCode?: number | undefined;
15964
+ exitFileNote?: "not-an-exit-code" | undefined;
15965
+ diagnostic?: string | undefined;
15966
+ } | undefined;
15866
15967
  } | {
15867
15968
  id: string;
15868
15969
  source: "agent" | "cezar";
@@ -16413,30 +16514,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16413
16514
  deadline: string;
16414
16515
  seconds: number;
16415
16516
  note?: string | undefined;
16416
- } | {
16417
- id: string;
16418
- source: "agent" | "cezar";
16419
- 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";
16420
- registeredAt: string;
16421
- phase: "cancelled" | "delivered" | "open" | "resolved";
16422
- resolvedAt?: string | undefined;
16423
- deliveredAt?: string | undefined;
16424
- cancelledAt?: string | undefined;
16425
- turnId: string;
16426
- kind: "process";
16427
- deadline: string;
16428
- timeoutSeconds: number;
16429
- pid: number;
16430
- startToken?: string | undefined;
16431
- exitFile?: string | undefined;
16432
- note?: string | undefined;
16433
- result?: {
16434
- outcome: "deadline" | "error" | "exit_file" | "exited";
16435
- observedAt: string;
16436
- exitCode?: number | undefined;
16437
- exitFileNote?: "not-an-exit-code" | undefined;
16438
- diagnostic?: string | undefined;
16439
- } | undefined;
16440
16517
  } | {
16441
16518
  id: string;
16442
16519
  source: "agent" | "cezar";
@@ -16498,6 +16575,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16498
16575
  reason: "outcome" | "timeout";
16499
16576
  } | undefined;
16500
16577
  wakeInputId?: string | undefined;
16578
+ } | {
16579
+ id: string;
16580
+ source: "agent" | "cezar";
16581
+ 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";
16582
+ registeredAt: string;
16583
+ phase: "cancelled" | "delivered" | "open" | "resolved";
16584
+ resolvedAt?: string | undefined;
16585
+ deliveredAt?: string | undefined;
16586
+ cancelledAt?: string | undefined;
16587
+ turnId: string;
16588
+ kind: "process";
16589
+ deadline: string;
16590
+ timeoutSeconds: number;
16591
+ pid: number;
16592
+ startToken?: string | undefined;
16593
+ exitFile?: string | undefined;
16594
+ note?: string | undefined;
16595
+ result?: {
16596
+ outcome: "deadline" | "error" | "exit_file" | "exited";
16597
+ observedAt: string;
16598
+ exitCode?: number | undefined;
16599
+ exitFileNote?: "not-an-exit-code" | undefined;
16600
+ diagnostic?: string | undefined;
16601
+ } | undefined;
16501
16602
  } | {
16502
16603
  id: string;
16503
16604
  source: "agent" | "cezar";
@@ -16630,30 +16731,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16630
16731
  deadline: string;
16631
16732
  seconds: number;
16632
16733
  note?: string | undefined;
16633
- } | {
16634
- id: string;
16635
- source: "agent" | "cezar";
16636
- 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";
16637
- registeredAt: string;
16638
- phase: "cancelled" | "delivered" | "open" | "resolved";
16639
- resolvedAt?: string | undefined;
16640
- deliveredAt?: string | undefined;
16641
- cancelledAt?: string | undefined;
16642
- turnId: string;
16643
- kind: "process";
16644
- deadline: string;
16645
- timeoutSeconds: number;
16646
- pid: number;
16647
- startToken?: string | undefined;
16648
- exitFile?: string | undefined;
16649
- note?: string | undefined;
16650
- result?: {
16651
- outcome: "deadline" | "error" | "exit_file" | "exited";
16652
- observedAt: string;
16653
- exitCode?: number | undefined;
16654
- exitFileNote?: "not-an-exit-code" | undefined;
16655
- diagnostic?: string | undefined;
16656
- } | undefined;
16657
16734
  } | {
16658
16735
  id: string;
16659
16736
  source: "agent" | "cezar";
@@ -16715,6 +16792,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16715
16792
  reason: "outcome" | "timeout";
16716
16793
  } | undefined;
16717
16794
  wakeInputId?: string | undefined;
16795
+ } | {
16796
+ id: string;
16797
+ source: "agent" | "cezar";
16798
+ 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";
16799
+ registeredAt: string;
16800
+ phase: "cancelled" | "delivered" | "open" | "resolved";
16801
+ resolvedAt?: string | undefined;
16802
+ deliveredAt?: string | undefined;
16803
+ cancelledAt?: string | undefined;
16804
+ turnId: string;
16805
+ kind: "process";
16806
+ deadline: string;
16807
+ timeoutSeconds: number;
16808
+ pid: number;
16809
+ startToken?: string | undefined;
16810
+ exitFile?: string | undefined;
16811
+ note?: string | undefined;
16812
+ result?: {
16813
+ outcome: "deadline" | "error" | "exit_file" | "exited";
16814
+ observedAt: string;
16815
+ exitCode?: number | undefined;
16816
+ exitFileNote?: "not-an-exit-code" | undefined;
16817
+ diagnostic?: string | undefined;
16818
+ } | undefined;
16718
16819
  } | {
16719
16820
  id: string;
16720
16821
  source: "agent" | "cezar";
@@ -16846,30 +16947,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16846
16947
  deadline: string;
16847
16948
  seconds: number;
16848
16949
  note?: string | undefined;
16849
- } | {
16850
- id: string;
16851
- source: "agent" | "cezar";
16852
- 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";
16853
- registeredAt: string;
16854
- phase: "cancelled" | "delivered" | "open" | "resolved";
16855
- resolvedAt?: string | undefined;
16856
- deliveredAt?: string | undefined;
16857
- cancelledAt?: string | undefined;
16858
- turnId: string;
16859
- kind: "process";
16860
- deadline: string;
16861
- timeoutSeconds: number;
16862
- pid: number;
16863
- startToken?: string | undefined;
16864
- exitFile?: string | undefined;
16865
- note?: string | undefined;
16866
- result?: {
16867
- outcome: "deadline" | "error" | "exit_file" | "exited";
16868
- observedAt: string;
16869
- exitCode?: number | undefined;
16870
- exitFileNote?: "not-an-exit-code" | undefined;
16871
- diagnostic?: string | undefined;
16872
- } | undefined;
16873
16950
  } | {
16874
16951
  id: string;
16875
16952
  source: "agent" | "cezar";
@@ -16931,6 +17008,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
16931
17008
  reason: "outcome" | "timeout";
16932
17009
  } | undefined;
16933
17010
  wakeInputId?: string | undefined;
17011
+ } | {
17012
+ id: string;
17013
+ source: "agent" | "cezar";
17014
+ 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";
17015
+ registeredAt: string;
17016
+ phase: "cancelled" | "delivered" | "open" | "resolved";
17017
+ resolvedAt?: string | undefined;
17018
+ deliveredAt?: string | undefined;
17019
+ cancelledAt?: string | undefined;
17020
+ turnId: string;
17021
+ kind: "process";
17022
+ deadline: string;
17023
+ timeoutSeconds: number;
17024
+ pid: number;
17025
+ startToken?: string | undefined;
17026
+ exitFile?: string | undefined;
17027
+ note?: string | undefined;
17028
+ result?: {
17029
+ outcome: "deadline" | "error" | "exit_file" | "exited";
17030
+ observedAt: string;
17031
+ exitCode?: number | undefined;
17032
+ exitFileNote?: "not-an-exit-code" | undefined;
17033
+ diagnostic?: string | undefined;
17034
+ } | undefined;
16934
17035
  } | {
16935
17036
  id: string;
16936
17037
  source: "agent" | "cezar";
@@ -19003,133 +19104,45 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19003
19104
  };
19004
19105
  };
19005
19106
  }, "/"> | import("hono/types").MergeSchemaPath<{
19006
- "/reports/state": {
19107
+ "/ui-state": {
19007
19108
  $get: {
19008
19109
  output: {
19009
- error: string;
19110
+ [x: string]: import("hono/utils/types").JSONValue;
19111
+ sidebarLimits?: {
19112
+ overall?: number | null | undefined;
19113
+ needsYou?: number | null | undefined;
19114
+ finished?: number | null | undefined;
19115
+ working?: number | null | undefined;
19116
+ } | undefined;
19117
+ lastTask?: {
19118
+ source: "skill" | "workflow";
19119
+ ref: string;
19120
+ } | null | undefined;
19121
+ recentSources?: {
19122
+ source: "skill" | "workflow";
19123
+ ref: string;
19124
+ }[] | undefined;
19125
+ lastWorktree?: boolean | undefined;
19126
+ lastAutonomous?: boolean | undefined;
19127
+ skillUsage?: {
19128
+ [x: string]: number;
19129
+ } | undefined;
19130
+ runsView?: "list" | "table" | undefined;
19131
+ githubView?: "issues" | "prs" | undefined;
19132
+ appearance?: {
19133
+ accent?: "cezarion" | "lime" | "violet" | undefined;
19134
+ density?: "comfortable" | "compact" | "ultra" | undefined;
19135
+ width?: "narrow" | "wide" | undefined;
19136
+ } | undefined;
19137
+ promptTemplates?: {
19138
+ id: string;
19139
+ label: string;
19140
+ text: string;
19141
+ skills?: string[] | undefined;
19142
+ }[] | undefined;
19010
19143
  };
19011
19144
  outputFormat: "json";
19012
- status: 409;
19013
- input: {};
19014
- } | {
19015
- output: {
19016
- epoch: string;
19017
- generation: number;
19018
- metadataGeneration: number;
19019
- };
19020
- outputFormat: "json";
19021
- status: import("hono/utils/http-status").ContentfulStatusCode;
19022
- input: {};
19023
- };
19024
- };
19025
- } & {
19026
- "/reports": {
19027
- $get: {
19028
- output: {
19029
- error: string;
19030
- code?: "invalid_input" | undefined;
19031
- };
19032
- outputFormat: "json";
19033
- status: 400;
19034
- input: {
19035
- query: {
19036
- q?: string | undefined;
19037
- before?: string | undefined;
19038
- limit?: number | undefined;
19039
- };
19040
- };
19041
- } | {
19042
- output: {
19043
- error: string;
19044
- };
19045
- outputFormat: "json";
19046
- status: 409;
19047
- input: {
19048
- query: {
19049
- q?: string | undefined;
19050
- before?: string | undefined;
19051
- limit?: number | undefined;
19052
- };
19053
- };
19054
- } | {
19055
- output: {
19056
- error: string;
19057
- };
19058
- outputFormat: "json";
19059
- status: 400;
19060
- input: {
19061
- query: {
19062
- q?: string | undefined;
19063
- before?: string | undefined;
19064
- limit?: number | undefined;
19065
- };
19066
- };
19067
- } | {
19068
- output: {
19069
- reports: {
19070
- id: string;
19071
- runId: string;
19072
- name: string;
19073
- title: string;
19074
- createdAt: string;
19075
- size: number;
19076
- taskTitle: string;
19077
- taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
19078
- }[];
19079
- nextCursor: string | null;
19080
- total: number;
19081
- };
19082
- outputFormat: "json";
19083
- status: import("hono/utils/http-status").ContentfulStatusCode;
19084
- input: {
19085
- query: {
19086
- q?: string | undefined;
19087
- before?: string | undefined;
19088
- limit?: number | undefined;
19089
- };
19090
- };
19091
- };
19092
- };
19093
- }, "/"> | import("hono/types").MergeSchemaPath<{
19094
- "/ui-state": {
19095
- $get: {
19096
- output: {
19097
- [x: string]: import("hono/utils/types").JSONValue;
19098
- sidebarLimits?: {
19099
- overall?: number | null | undefined;
19100
- needsYou?: number | null | undefined;
19101
- finished?: number | null | undefined;
19102
- working?: number | null | undefined;
19103
- } | undefined;
19104
- lastTask?: {
19105
- source: "skill" | "workflow";
19106
- ref: string;
19107
- } | null | undefined;
19108
- recentSources?: {
19109
- source: "skill" | "workflow";
19110
- ref: string;
19111
- }[] | undefined;
19112
- lastWorktree?: boolean | undefined;
19113
- lastAutonomous?: boolean | undefined;
19114
- skillUsage?: {
19115
- [x: string]: number;
19116
- } | undefined;
19117
- runsView?: "list" | "table" | undefined;
19118
- githubView?: "issues" | "prs" | undefined;
19119
- appearance?: {
19120
- accent?: "cezarion" | "lime" | "violet" | undefined;
19121
- density?: "comfortable" | "compact" | "ultra" | undefined;
19122
- width?: "narrow" | "wide" | undefined;
19123
- } | undefined;
19124
- promptTemplates?: {
19125
- id: string;
19126
- label: string;
19127
- text: string;
19128
- skills?: string[] | undefined;
19129
- }[] | undefined;
19130
- };
19131
- outputFormat: "json";
19132
- status: import("hono/utils/http-status").ContentfulStatusCode;
19145
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19133
19146
  input: {};
19134
19147
  };
19135
19148
  };
@@ -19578,6 +19591,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19578
19591
  };
19579
19592
  };
19580
19593
  };
19594
+ }, "/"> | import("hono/types").MergeSchemaPath<{
19595
+ "/reports/state": {
19596
+ $get: {
19597
+ output: {
19598
+ error: string;
19599
+ };
19600
+ outputFormat: "json";
19601
+ status: 409;
19602
+ input: {};
19603
+ } | {
19604
+ output: {
19605
+ epoch: string;
19606
+ generation: number;
19607
+ metadataGeneration: number;
19608
+ };
19609
+ outputFormat: "json";
19610
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19611
+ input: {};
19612
+ };
19613
+ };
19614
+ } & {
19615
+ "/reports": {
19616
+ $get: {
19617
+ output: {
19618
+ error: string;
19619
+ code?: "invalid_input" | undefined;
19620
+ };
19621
+ outputFormat: "json";
19622
+ status: 400;
19623
+ input: {
19624
+ query: {
19625
+ q?: string | undefined;
19626
+ before?: string | undefined;
19627
+ limit?: number | undefined;
19628
+ };
19629
+ };
19630
+ } | {
19631
+ output: {
19632
+ error: string;
19633
+ };
19634
+ outputFormat: "json";
19635
+ status: 409;
19636
+ input: {
19637
+ query: {
19638
+ q?: string | undefined;
19639
+ before?: string | undefined;
19640
+ limit?: number | undefined;
19641
+ };
19642
+ };
19643
+ } | {
19644
+ output: {
19645
+ error: string;
19646
+ };
19647
+ outputFormat: "json";
19648
+ status: 400;
19649
+ input: {
19650
+ query: {
19651
+ q?: string | undefined;
19652
+ before?: string | undefined;
19653
+ limit?: number | undefined;
19654
+ };
19655
+ };
19656
+ } | {
19657
+ output: {
19658
+ reports: {
19659
+ id: string;
19660
+ runId: string;
19661
+ name: string;
19662
+ title: string;
19663
+ createdAt: string;
19664
+ size: number;
19665
+ taskTitle: string;
19666
+ taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
19667
+ }[];
19668
+ nextCursor: string | null;
19669
+ total: number;
19670
+ };
19671
+ outputFormat: "json";
19672
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19673
+ input: {
19674
+ query: {
19675
+ q?: string | undefined;
19676
+ before?: string | undefined;
19677
+ limit?: number | undefined;
19678
+ };
19679
+ };
19680
+ };
19681
+ };
19581
19682
  }, "/"> | import("hono/types").MergeSchemaPath<{
19582
19683
  "/agent-config": {
19583
19684
  $get: {
@@ -21800,30 +21901,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21800
21901
  deadline: string;
21801
21902
  seconds: number;
21802
21903
  note?: string | undefined;
21803
- } | {
21804
- id: string;
21805
- source: "agent" | "cezar";
21806
- 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";
21807
- registeredAt: string;
21808
- phase: "cancelled" | "delivered" | "open" | "resolved";
21809
- resolvedAt?: string | undefined;
21810
- deliveredAt?: string | undefined;
21811
- cancelledAt?: string | undefined;
21812
- turnId: string;
21813
- kind: "process";
21814
- deadline: string;
21815
- timeoutSeconds: number;
21816
- pid: number;
21817
- startToken?: string | undefined;
21818
- exitFile?: string | undefined;
21819
- note?: string | undefined;
21820
- result?: {
21821
- outcome: "deadline" | "error" | "exit_file" | "exited";
21822
- observedAt: string;
21823
- exitCode?: number | undefined;
21824
- exitFileNote?: "not-an-exit-code" | undefined;
21825
- diagnostic?: string | undefined;
21826
- } | undefined;
21827
21904
  } | {
21828
21905
  id: string;
21829
21906
  source: "agent" | "cezar";
@@ -21885,6 +21962,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
21885
21962
  reason: "outcome" | "timeout";
21886
21963
  } | undefined;
21887
21964
  wakeInputId?: string | undefined;
21965
+ } | {
21966
+ id: string;
21967
+ source: "agent" | "cezar";
21968
+ 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";
21969
+ registeredAt: string;
21970
+ phase: "cancelled" | "delivered" | "open" | "resolved";
21971
+ resolvedAt?: string | undefined;
21972
+ deliveredAt?: string | undefined;
21973
+ cancelledAt?: string | undefined;
21974
+ turnId: string;
21975
+ kind: "process";
21976
+ deadline: string;
21977
+ timeoutSeconds: number;
21978
+ pid: number;
21979
+ startToken?: string | undefined;
21980
+ exitFile?: string | undefined;
21981
+ note?: string | undefined;
21982
+ result?: {
21983
+ outcome: "deadline" | "error" | "exit_file" | "exited";
21984
+ observedAt: string;
21985
+ exitCode?: number | undefined;
21986
+ exitFileNote?: "not-an-exit-code" | undefined;
21987
+ diagnostic?: string | undefined;
21988
+ } | undefined;
21888
21989
  } | {
21889
21990
  id: string;
21890
21991
  source: "agent" | "cezar";
@@ -22017,30 +22118,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22017
22118
  deadline: string;
22018
22119
  seconds: number;
22019
22120
  note?: string | undefined;
22020
- } | {
22021
- id: string;
22022
- source: "agent" | "cezar";
22023
- 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";
22024
- registeredAt: string;
22025
- phase: "cancelled" | "delivered" | "open" | "resolved";
22026
- resolvedAt?: string | undefined;
22027
- deliveredAt?: string | undefined;
22028
- cancelledAt?: string | undefined;
22029
- turnId: string;
22030
- kind: "process";
22031
- deadline: string;
22032
- timeoutSeconds: number;
22033
- pid: number;
22034
- startToken?: string | undefined;
22035
- exitFile?: string | undefined;
22036
- note?: string | undefined;
22037
- result?: {
22038
- outcome: "deadline" | "error" | "exit_file" | "exited";
22039
- observedAt: string;
22040
- exitCode?: number | undefined;
22041
- exitFileNote?: "not-an-exit-code" | undefined;
22042
- diagnostic?: string | undefined;
22043
- } | undefined;
22044
22121
  } | {
22045
22122
  id: string;
22046
22123
  source: "agent" | "cezar";
@@ -22102,6 +22179,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22102
22179
  reason: "outcome" | "timeout";
22103
22180
  } | undefined;
22104
22181
  wakeInputId?: string | undefined;
22182
+ } | {
22183
+ id: string;
22184
+ source: "agent" | "cezar";
22185
+ 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";
22186
+ registeredAt: string;
22187
+ phase: "cancelled" | "delivered" | "open" | "resolved";
22188
+ resolvedAt?: string | undefined;
22189
+ deliveredAt?: string | undefined;
22190
+ cancelledAt?: string | undefined;
22191
+ turnId: string;
22192
+ kind: "process";
22193
+ deadline: string;
22194
+ timeoutSeconds: number;
22195
+ pid: number;
22196
+ startToken?: string | undefined;
22197
+ exitFile?: string | undefined;
22198
+ note?: string | undefined;
22199
+ result?: {
22200
+ outcome: "deadline" | "error" | "exit_file" | "exited";
22201
+ observedAt: string;
22202
+ exitCode?: number | undefined;
22203
+ exitFileNote?: "not-an-exit-code" | undefined;
22204
+ diagnostic?: string | undefined;
22205
+ } | undefined;
22105
22206
  } | {
22106
22207
  id: string;
22107
22208
  source: "agent" | "cezar";
@@ -22233,30 +22334,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22233
22334
  deadline: string;
22234
22335
  seconds: number;
22235
22336
  note?: string | undefined;
22236
- } | {
22237
- id: string;
22238
- source: "agent" | "cezar";
22239
- 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";
22240
- registeredAt: string;
22241
- phase: "cancelled" | "delivered" | "open" | "resolved";
22242
- resolvedAt?: string | undefined;
22243
- deliveredAt?: string | undefined;
22244
- cancelledAt?: string | undefined;
22245
- turnId: string;
22246
- kind: "process";
22247
- deadline: string;
22248
- timeoutSeconds: number;
22249
- pid: number;
22250
- startToken?: string | undefined;
22251
- exitFile?: string | undefined;
22252
- note?: string | undefined;
22253
- result?: {
22254
- outcome: "deadline" | "error" | "exit_file" | "exited";
22255
- observedAt: string;
22256
- exitCode?: number | undefined;
22257
- exitFileNote?: "not-an-exit-code" | undefined;
22258
- diagnostic?: string | undefined;
22259
- } | undefined;
22260
22337
  } | {
22261
22338
  id: string;
22262
22339
  source: "agent" | "cezar";
@@ -22318,6 +22395,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
22318
22395
  reason: "outcome" | "timeout";
22319
22396
  } | undefined;
22320
22397
  wakeInputId?: string | undefined;
22398
+ } | {
22399
+ id: string;
22400
+ source: "agent" | "cezar";
22401
+ 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";
22402
+ registeredAt: string;
22403
+ phase: "cancelled" | "delivered" | "open" | "resolved";
22404
+ resolvedAt?: string | undefined;
22405
+ deliveredAt?: string | undefined;
22406
+ cancelledAt?: string | undefined;
22407
+ turnId: string;
22408
+ kind: "process";
22409
+ deadline: string;
22410
+ timeoutSeconds: number;
22411
+ pid: number;
22412
+ startToken?: string | undefined;
22413
+ exitFile?: string | undefined;
22414
+ note?: string | undefined;
22415
+ result?: {
22416
+ outcome: "deadline" | "error" | "exit_file" | "exited";
22417
+ observedAt: string;
22418
+ exitCode?: number | undefined;
22419
+ exitFileNote?: "not-an-exit-code" | undefined;
22420
+ diagnostic?: string | undefined;
22421
+ } | undefined;
22321
22422
  } | {
22322
22423
  id: string;
22323
22424
  source: "agent" | "cezar";
@@ -23103,37 +23204,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23103
23204
  } & {
23104
23205
  "/runs/:id/worker-destroy": {
23105
23206
  $post: {
23106
- output: {
23107
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
23108
- readonly error: string;
23109
- readonly modelChoices?: {
23110
- runner: string;
23111
- requestedModel: string;
23112
- availableModels: {
23113
- id: string;
23114
- label: string;
23115
- description: string;
23116
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
23117
- }[];
23118
- otherRunners: string[];
23119
- } | undefined;
23120
- };
23121
- outputFormat: "json";
23122
- status: 400 | 401 | 403 | 409 | 503;
23123
- input: {
23124
- query: {
23125
- [x: string]: string | string[];
23126
- };
23127
- } & {
23128
- param: {
23129
- id: string;
23130
- };
23131
- } & {
23132
- json: {
23133
- discardWork?: true | undefined;
23134
- };
23135
- };
23136
- } | {
23137
23207
  output: {
23138
23208
  error: string;
23139
23209
  code?: "invalid_input" | undefined;
@@ -23219,6 +23289,37 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23219
23289
  discardWork?: true | undefined;
23220
23290
  };
23221
23291
  };
23292
+ } | {
23293
+ output: {
23294
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
23295
+ readonly error: string;
23296
+ readonly modelChoices?: {
23297
+ runner: string;
23298
+ requestedModel: string;
23299
+ availableModels: {
23300
+ id: string;
23301
+ label: string;
23302
+ description: string;
23303
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
23304
+ }[];
23305
+ otherRunners: string[];
23306
+ } | undefined;
23307
+ };
23308
+ outputFormat: "json";
23309
+ status: 400 | 401 | 403 | 409 | 503;
23310
+ input: {
23311
+ query: {
23312
+ [x: string]: string | string[];
23313
+ };
23314
+ } & {
23315
+ param: {
23316
+ id: string;
23317
+ };
23318
+ } & {
23319
+ json: {
23320
+ discardWork?: true | undefined;
23321
+ };
23322
+ };
23222
23323
  };
23223
23324
  };
23224
23325
  } & {
@@ -23647,30 +23748,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23647
23748
  deadline: string;
23648
23749
  seconds: number;
23649
23750
  note?: string | undefined;
23650
- } | {
23651
- id: string;
23652
- source: "agent" | "cezar";
23653
- 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";
23654
- registeredAt: string;
23655
- phase: "cancelled" | "delivered" | "open" | "resolved";
23656
- resolvedAt?: string | undefined;
23657
- deliveredAt?: string | undefined;
23658
- cancelledAt?: string | undefined;
23659
- turnId: string;
23660
- kind: "process";
23661
- deadline: string;
23662
- timeoutSeconds: number;
23663
- pid: number;
23664
- startToken?: string | undefined;
23665
- exitFile?: string | undefined;
23666
- note?: string | undefined;
23667
- result?: {
23668
- outcome: "deadline" | "error" | "exit_file" | "exited";
23669
- observedAt: string;
23670
- exitCode?: number | undefined;
23671
- exitFileNote?: "not-an-exit-code" | undefined;
23672
- diagnostic?: string | undefined;
23673
- } | undefined;
23674
23751
  } | {
23675
23752
  id: string;
23676
23753
  source: "agent" | "cezar";
@@ -23732,6 +23809,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23732
23809
  reason: "outcome" | "timeout";
23733
23810
  } | undefined;
23734
23811
  wakeInputId?: string | undefined;
23812
+ } | {
23813
+ id: string;
23814
+ source: "agent" | "cezar";
23815
+ 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";
23816
+ registeredAt: string;
23817
+ phase: "cancelled" | "delivered" | "open" | "resolved";
23818
+ resolvedAt?: string | undefined;
23819
+ deliveredAt?: string | undefined;
23820
+ cancelledAt?: string | undefined;
23821
+ turnId: string;
23822
+ kind: "process";
23823
+ deadline: string;
23824
+ timeoutSeconds: number;
23825
+ pid: number;
23826
+ startToken?: string | undefined;
23827
+ exitFile?: string | undefined;
23828
+ note?: string | undefined;
23829
+ result?: {
23830
+ outcome: "deadline" | "error" | "exit_file" | "exited";
23831
+ observedAt: string;
23832
+ exitCode?: number | undefined;
23833
+ exitFileNote?: "not-an-exit-code" | undefined;
23834
+ diagnostic?: string | undefined;
23835
+ } | undefined;
23735
23836
  } | {
23736
23837
  id: string;
23737
23838
  source: "agent" | "cezar";
@@ -23864,30 +23965,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23864
23965
  deadline: string;
23865
23966
  seconds: number;
23866
23967
  note?: string | undefined;
23867
- } | {
23868
- id: string;
23869
- source: "agent" | "cezar";
23870
- 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";
23871
- registeredAt: string;
23872
- phase: "cancelled" | "delivered" | "open" | "resolved";
23873
- resolvedAt?: string | undefined;
23874
- deliveredAt?: string | undefined;
23875
- cancelledAt?: string | undefined;
23876
- turnId: string;
23877
- kind: "process";
23878
- deadline: string;
23879
- timeoutSeconds: number;
23880
- pid: number;
23881
- startToken?: string | undefined;
23882
- exitFile?: string | undefined;
23883
- note?: string | undefined;
23884
- result?: {
23885
- outcome: "deadline" | "error" | "exit_file" | "exited";
23886
- observedAt: string;
23887
- exitCode?: number | undefined;
23888
- exitFileNote?: "not-an-exit-code" | undefined;
23889
- diagnostic?: string | undefined;
23890
- } | undefined;
23891
23968
  } | {
23892
23969
  id: string;
23893
23970
  source: "agent" | "cezar";
@@ -23949,6 +24026,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
23949
24026
  reason: "outcome" | "timeout";
23950
24027
  } | undefined;
23951
24028
  wakeInputId?: string | undefined;
24029
+ } | {
24030
+ id: string;
24031
+ source: "agent" | "cezar";
24032
+ 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";
24033
+ registeredAt: string;
24034
+ phase: "cancelled" | "delivered" | "open" | "resolved";
24035
+ resolvedAt?: string | undefined;
24036
+ deliveredAt?: string | undefined;
24037
+ cancelledAt?: string | undefined;
24038
+ turnId: string;
24039
+ kind: "process";
24040
+ deadline: string;
24041
+ timeoutSeconds: number;
24042
+ pid: number;
24043
+ startToken?: string | undefined;
24044
+ exitFile?: string | undefined;
24045
+ note?: string | undefined;
24046
+ result?: {
24047
+ outcome: "deadline" | "error" | "exit_file" | "exited";
24048
+ observedAt: string;
24049
+ exitCode?: number | undefined;
24050
+ exitFileNote?: "not-an-exit-code" | undefined;
24051
+ diagnostic?: string | undefined;
24052
+ } | undefined;
23952
24053
  } | {
23953
24054
  id: string;
23954
24055
  source: "agent" | "cezar";
@@ -24080,30 +24181,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24080
24181
  deadline: string;
24081
24182
  seconds: number;
24082
24183
  note?: string | undefined;
24083
- } | {
24084
- id: string;
24085
- source: "agent" | "cezar";
24086
- 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";
24087
- registeredAt: string;
24088
- phase: "cancelled" | "delivered" | "open" | "resolved";
24089
- resolvedAt?: string | undefined;
24090
- deliveredAt?: string | undefined;
24091
- cancelledAt?: string | undefined;
24092
- turnId: string;
24093
- kind: "process";
24094
- deadline: string;
24095
- timeoutSeconds: number;
24096
- pid: number;
24097
- startToken?: string | undefined;
24098
- exitFile?: string | undefined;
24099
- note?: string | undefined;
24100
- result?: {
24101
- outcome: "deadline" | "error" | "exit_file" | "exited";
24102
- observedAt: string;
24103
- exitCode?: number | undefined;
24104
- exitFileNote?: "not-an-exit-code" | undefined;
24105
- diagnostic?: string | undefined;
24106
- } | undefined;
24107
24184
  } | {
24108
24185
  id: string;
24109
24186
  source: "agent" | "cezar";
@@ -24165,6 +24242,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24165
24242
  reason: "outcome" | "timeout";
24166
24243
  } | undefined;
24167
24244
  wakeInputId?: string | undefined;
24245
+ } | {
24246
+ id: string;
24247
+ source: "agent" | "cezar";
24248
+ 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";
24249
+ registeredAt: string;
24250
+ phase: "cancelled" | "delivered" | "open" | "resolved";
24251
+ resolvedAt?: string | undefined;
24252
+ deliveredAt?: string | undefined;
24253
+ cancelledAt?: string | undefined;
24254
+ turnId: string;
24255
+ kind: "process";
24256
+ deadline: string;
24257
+ timeoutSeconds: number;
24258
+ pid: number;
24259
+ startToken?: string | undefined;
24260
+ exitFile?: string | undefined;
24261
+ note?: string | undefined;
24262
+ result?: {
24263
+ outcome: "deadline" | "error" | "exit_file" | "exited";
24264
+ observedAt: string;
24265
+ exitCode?: number | undefined;
24266
+ exitFileNote?: "not-an-exit-code" | undefined;
24267
+ diagnostic?: string | undefined;
24268
+ } | undefined;
24168
24269
  } | {
24169
24270
  id: string;
24170
24271
  source: "agent" | "cezar";
@@ -24862,30 +24963,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24862
24963
  deadline: string;
24863
24964
  seconds: number;
24864
24965
  note?: string | undefined;
24865
- } | {
24866
- id: string;
24867
- source: "agent" | "cezar";
24868
- 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";
24869
- registeredAt: string;
24870
- phase: "cancelled" | "delivered" | "open" | "resolved";
24871
- resolvedAt?: string | undefined;
24872
- deliveredAt?: string | undefined;
24873
- cancelledAt?: string | undefined;
24874
- turnId: string;
24875
- kind: "process";
24876
- deadline: string;
24877
- timeoutSeconds: number;
24878
- pid: number;
24879
- startToken?: string | undefined;
24880
- exitFile?: string | undefined;
24881
- note?: string | undefined;
24882
- result?: {
24883
- outcome: "deadline" | "error" | "exit_file" | "exited";
24884
- observedAt: string;
24885
- exitCode?: number | undefined;
24886
- exitFileNote?: "not-an-exit-code" | undefined;
24887
- diagnostic?: string | undefined;
24888
- } | undefined;
24889
24966
  } | {
24890
24967
  id: string;
24891
24968
  source: "agent" | "cezar";
@@ -24947,6 +25024,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24947
25024
  reason: "outcome" | "timeout";
24948
25025
  } | undefined;
24949
25026
  wakeInputId?: string | undefined;
25027
+ } | {
25028
+ id: string;
25029
+ source: "agent" | "cezar";
25030
+ 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";
25031
+ registeredAt: string;
25032
+ phase: "cancelled" | "delivered" | "open" | "resolved";
25033
+ resolvedAt?: string | undefined;
25034
+ deliveredAt?: string | undefined;
25035
+ cancelledAt?: string | undefined;
25036
+ turnId: string;
25037
+ kind: "process";
25038
+ deadline: string;
25039
+ timeoutSeconds: number;
25040
+ pid: number;
25041
+ startToken?: string | undefined;
25042
+ exitFile?: string | undefined;
25043
+ note?: string | undefined;
25044
+ result?: {
25045
+ outcome: "deadline" | "error" | "exit_file" | "exited";
25046
+ observedAt: string;
25047
+ exitCode?: number | undefined;
25048
+ exitFileNote?: "not-an-exit-code" | undefined;
25049
+ diagnostic?: string | undefined;
25050
+ } | undefined;
24950
25051
  } | {
24951
25052
  id: string;
24952
25053
  source: "agent" | "cezar";
@@ -25079,30 +25180,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25079
25180
  deadline: string;
25080
25181
  seconds: number;
25081
25182
  note?: string | undefined;
25082
- } | {
25083
- id: string;
25084
- source: "agent" | "cezar";
25085
- 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";
25086
- registeredAt: string;
25087
- phase: "cancelled" | "delivered" | "open" | "resolved";
25088
- resolvedAt?: string | undefined;
25089
- deliveredAt?: string | undefined;
25090
- cancelledAt?: string | undefined;
25091
- turnId: string;
25092
- kind: "process";
25093
- deadline: string;
25094
- timeoutSeconds: number;
25095
- pid: number;
25096
- startToken?: string | undefined;
25097
- exitFile?: string | undefined;
25098
- note?: string | undefined;
25099
- result?: {
25100
- outcome: "deadline" | "error" | "exit_file" | "exited";
25101
- observedAt: string;
25102
- exitCode?: number | undefined;
25103
- exitFileNote?: "not-an-exit-code" | undefined;
25104
- diagnostic?: string | undefined;
25105
- } | undefined;
25106
25183
  } | {
25107
25184
  id: string;
25108
25185
  source: "agent" | "cezar";
@@ -25164,6 +25241,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25164
25241
  reason: "outcome" | "timeout";
25165
25242
  } | undefined;
25166
25243
  wakeInputId?: string | undefined;
25244
+ } | {
25245
+ id: string;
25246
+ source: "agent" | "cezar";
25247
+ 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";
25248
+ registeredAt: string;
25249
+ phase: "cancelled" | "delivered" | "open" | "resolved";
25250
+ resolvedAt?: string | undefined;
25251
+ deliveredAt?: string | undefined;
25252
+ cancelledAt?: string | undefined;
25253
+ turnId: string;
25254
+ kind: "process";
25255
+ deadline: string;
25256
+ timeoutSeconds: number;
25257
+ pid: number;
25258
+ startToken?: string | undefined;
25259
+ exitFile?: string | undefined;
25260
+ note?: string | undefined;
25261
+ result?: {
25262
+ outcome: "deadline" | "error" | "exit_file" | "exited";
25263
+ observedAt: string;
25264
+ exitCode?: number | undefined;
25265
+ exitFileNote?: "not-an-exit-code" | undefined;
25266
+ diagnostic?: string | undefined;
25267
+ } | undefined;
25167
25268
  } | {
25168
25269
  id: string;
25169
25270
  source: "agent" | "cezar";
@@ -25295,30 +25396,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25295
25396
  deadline: string;
25296
25397
  seconds: number;
25297
25398
  note?: string | undefined;
25298
- } | {
25299
- id: string;
25300
- source: "agent" | "cezar";
25301
- 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";
25302
- registeredAt: string;
25303
- phase: "cancelled" | "delivered" | "open" | "resolved";
25304
- resolvedAt?: string | undefined;
25305
- deliveredAt?: string | undefined;
25306
- cancelledAt?: string | undefined;
25307
- turnId: string;
25308
- kind: "process";
25309
- deadline: string;
25310
- timeoutSeconds: number;
25311
- pid: number;
25312
- startToken?: string | undefined;
25313
- exitFile?: string | undefined;
25314
- note?: string | undefined;
25315
- result?: {
25316
- outcome: "deadline" | "error" | "exit_file" | "exited";
25317
- observedAt: string;
25318
- exitCode?: number | undefined;
25319
- exitFileNote?: "not-an-exit-code" | undefined;
25320
- diagnostic?: string | undefined;
25321
- } | undefined;
25322
25399
  } | {
25323
25400
  id: string;
25324
25401
  source: "agent" | "cezar";
@@ -25380,6 +25457,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25380
25457
  reason: "outcome" | "timeout";
25381
25458
  } | undefined;
25382
25459
  wakeInputId?: string | undefined;
25460
+ } | {
25461
+ id: string;
25462
+ source: "agent" | "cezar";
25463
+ 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";
25464
+ registeredAt: string;
25465
+ phase: "cancelled" | "delivered" | "open" | "resolved";
25466
+ resolvedAt?: string | undefined;
25467
+ deliveredAt?: string | undefined;
25468
+ cancelledAt?: string | undefined;
25469
+ turnId: string;
25470
+ kind: "process";
25471
+ deadline: string;
25472
+ timeoutSeconds: number;
25473
+ pid: number;
25474
+ startToken?: string | undefined;
25475
+ exitFile?: string | undefined;
25476
+ note?: string | undefined;
25477
+ result?: {
25478
+ outcome: "deadline" | "error" | "exit_file" | "exited";
25479
+ observedAt: string;
25480
+ exitCode?: number | undefined;
25481
+ exitFileNote?: "not-an-exit-code" | undefined;
25482
+ diagnostic?: string | undefined;
25483
+ } | undefined;
25383
25484
  } | {
25384
25485
  id: string;
25385
25486
  source: "agent" | "cezar";
@@ -25857,30 +25958,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25857
25958
  deadline: string;
25858
25959
  seconds: number;
25859
25960
  note?: string | undefined;
25860
- } | {
25861
- id: string;
25862
- source: "agent" | "cezar";
25863
- 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";
25864
- registeredAt: string;
25865
- phase: "cancelled" | "delivered" | "open" | "resolved";
25866
- resolvedAt?: string | undefined;
25867
- deliveredAt?: string | undefined;
25868
- cancelledAt?: string | undefined;
25869
- turnId: string;
25870
- kind: "process";
25871
- deadline: string;
25872
- timeoutSeconds: number;
25873
- pid: number;
25874
- startToken?: string | undefined;
25875
- exitFile?: string | undefined;
25876
- note?: string | undefined;
25877
- result?: {
25878
- outcome: "deadline" | "error" | "exit_file" | "exited";
25879
- observedAt: string;
25880
- exitCode?: number | undefined;
25881
- exitFileNote?: "not-an-exit-code" | undefined;
25882
- diagnostic?: string | undefined;
25883
- } | undefined;
25884
25961
  } | {
25885
25962
  id: string;
25886
25963
  source: "agent" | "cezar";
@@ -25942,6 +26019,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
25942
26019
  reason: "outcome" | "timeout";
25943
26020
  } | undefined;
25944
26021
  wakeInputId?: string | undefined;
26022
+ } | {
26023
+ id: string;
26024
+ source: "agent" | "cezar";
26025
+ 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";
26026
+ registeredAt: string;
26027
+ phase: "cancelled" | "delivered" | "open" | "resolved";
26028
+ resolvedAt?: string | undefined;
26029
+ deliveredAt?: string | undefined;
26030
+ cancelledAt?: string | undefined;
26031
+ turnId: string;
26032
+ kind: "process";
26033
+ deadline: string;
26034
+ timeoutSeconds: number;
26035
+ pid: number;
26036
+ startToken?: string | undefined;
26037
+ exitFile?: string | undefined;
26038
+ note?: string | undefined;
26039
+ result?: {
26040
+ outcome: "deadline" | "error" | "exit_file" | "exited";
26041
+ observedAt: string;
26042
+ exitCode?: number | undefined;
26043
+ exitFileNote?: "not-an-exit-code" | undefined;
26044
+ diagnostic?: string | undefined;
26045
+ } | undefined;
25945
26046
  } | {
25946
26047
  id: string;
25947
26048
  source: "agent" | "cezar";
@@ -26074,30 +26175,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26074
26175
  deadline: string;
26075
26176
  seconds: number;
26076
26177
  note?: string | undefined;
26077
- } | {
26078
- id: string;
26079
- source: "agent" | "cezar";
26080
- 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";
26081
- registeredAt: string;
26082
- phase: "cancelled" | "delivered" | "open" | "resolved";
26083
- resolvedAt?: string | undefined;
26084
- deliveredAt?: string | undefined;
26085
- cancelledAt?: string | undefined;
26086
- turnId: string;
26087
- kind: "process";
26088
- deadline: string;
26089
- timeoutSeconds: number;
26090
- pid: number;
26091
- startToken?: string | undefined;
26092
- exitFile?: string | undefined;
26093
- note?: string | undefined;
26094
- result?: {
26095
- outcome: "deadline" | "error" | "exit_file" | "exited";
26096
- observedAt: string;
26097
- exitCode?: number | undefined;
26098
- exitFileNote?: "not-an-exit-code" | undefined;
26099
- diagnostic?: string | undefined;
26100
- } | undefined;
26101
26178
  } | {
26102
26179
  id: string;
26103
26180
  source: "agent" | "cezar";
@@ -26159,6 +26236,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26159
26236
  reason: "outcome" | "timeout";
26160
26237
  } | undefined;
26161
26238
  wakeInputId?: string | undefined;
26239
+ } | {
26240
+ id: string;
26241
+ source: "agent" | "cezar";
26242
+ 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";
26243
+ registeredAt: string;
26244
+ phase: "cancelled" | "delivered" | "open" | "resolved";
26245
+ resolvedAt?: string | undefined;
26246
+ deliveredAt?: string | undefined;
26247
+ cancelledAt?: string | undefined;
26248
+ turnId: string;
26249
+ kind: "process";
26250
+ deadline: string;
26251
+ timeoutSeconds: number;
26252
+ pid: number;
26253
+ startToken?: string | undefined;
26254
+ exitFile?: string | undefined;
26255
+ note?: string | undefined;
26256
+ result?: {
26257
+ outcome: "deadline" | "error" | "exit_file" | "exited";
26258
+ observedAt: string;
26259
+ exitCode?: number | undefined;
26260
+ exitFileNote?: "not-an-exit-code" | undefined;
26261
+ diagnostic?: string | undefined;
26262
+ } | undefined;
26162
26263
  } | {
26163
26264
  id: string;
26164
26265
  source: "agent" | "cezar";
@@ -26290,30 +26391,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26290
26391
  deadline: string;
26291
26392
  seconds: number;
26292
26393
  note?: string | undefined;
26293
- } | {
26294
- id: string;
26295
- source: "agent" | "cezar";
26296
- 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";
26297
- registeredAt: string;
26298
- phase: "cancelled" | "delivered" | "open" | "resolved";
26299
- resolvedAt?: string | undefined;
26300
- deliveredAt?: string | undefined;
26301
- cancelledAt?: string | undefined;
26302
- turnId: string;
26303
- kind: "process";
26304
- deadline: string;
26305
- timeoutSeconds: number;
26306
- pid: number;
26307
- startToken?: string | undefined;
26308
- exitFile?: string | undefined;
26309
- note?: string | undefined;
26310
- result?: {
26311
- outcome: "deadline" | "error" | "exit_file" | "exited";
26312
- observedAt: string;
26313
- exitCode?: number | undefined;
26314
- exitFileNote?: "not-an-exit-code" | undefined;
26315
- diagnostic?: string | undefined;
26316
- } | undefined;
26317
26394
  } | {
26318
26395
  id: string;
26319
26396
  source: "agent" | "cezar";
@@ -26375,6 +26452,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
26375
26452
  reason: "outcome" | "timeout";
26376
26453
  } | undefined;
26377
26454
  wakeInputId?: string | undefined;
26455
+ } | {
26456
+ id: string;
26457
+ source: "agent" | "cezar";
26458
+ 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";
26459
+ registeredAt: string;
26460
+ phase: "cancelled" | "delivered" | "open" | "resolved";
26461
+ resolvedAt?: string | undefined;
26462
+ deliveredAt?: string | undefined;
26463
+ cancelledAt?: string | undefined;
26464
+ turnId: string;
26465
+ kind: "process";
26466
+ deadline: string;
26467
+ timeoutSeconds: number;
26468
+ pid: number;
26469
+ startToken?: string | undefined;
26470
+ exitFile?: string | undefined;
26471
+ note?: string | undefined;
26472
+ result?: {
26473
+ outcome: "deadline" | "error" | "exit_file" | "exited";
26474
+ observedAt: string;
26475
+ exitCode?: number | undefined;
26476
+ exitFileNote?: "not-an-exit-code" | undefined;
26477
+ diagnostic?: string | undefined;
26478
+ } | undefined;
26378
26479
  } | {
26379
26480
  id: string;
26380
26481
  source: "agent" | "cezar";
@@ -27321,30 +27422,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27321
27422
  deadline: string;
27322
27423
  seconds: number;
27323
27424
  note?: string | undefined;
27324
- } | {
27325
- id: string;
27326
- source: "agent" | "cezar";
27327
- 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";
27328
- registeredAt: string;
27329
- phase: "cancelled" | "delivered" | "open" | "resolved";
27330
- resolvedAt?: string | undefined;
27331
- deliveredAt?: string | undefined;
27332
- cancelledAt?: string | undefined;
27333
- turnId: string;
27334
- kind: "process";
27335
- deadline: string;
27336
- timeoutSeconds: number;
27337
- pid: number;
27338
- startToken?: string | undefined;
27339
- exitFile?: string | undefined;
27340
- note?: string | undefined;
27341
- result?: {
27342
- outcome: "deadline" | "error" | "exit_file" | "exited";
27343
- observedAt: string;
27344
- exitCode?: number | undefined;
27345
- exitFileNote?: "not-an-exit-code" | undefined;
27346
- diagnostic?: string | undefined;
27347
- } | undefined;
27348
27425
  } | {
27349
27426
  id: string;
27350
27427
  source: "agent" | "cezar";
@@ -27406,6 +27483,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27406
27483
  reason: "outcome" | "timeout";
27407
27484
  } | undefined;
27408
27485
  wakeInputId?: string | undefined;
27486
+ } | {
27487
+ id: string;
27488
+ source: "agent" | "cezar";
27489
+ 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";
27490
+ registeredAt: string;
27491
+ phase: "cancelled" | "delivered" | "open" | "resolved";
27492
+ resolvedAt?: string | undefined;
27493
+ deliveredAt?: string | undefined;
27494
+ cancelledAt?: string | undefined;
27495
+ turnId: string;
27496
+ kind: "process";
27497
+ deadline: string;
27498
+ timeoutSeconds: number;
27499
+ pid: number;
27500
+ startToken?: string | undefined;
27501
+ exitFile?: string | undefined;
27502
+ note?: string | undefined;
27503
+ result?: {
27504
+ outcome: "deadline" | "error" | "exit_file" | "exited";
27505
+ observedAt: string;
27506
+ exitCode?: number | undefined;
27507
+ exitFileNote?: "not-an-exit-code" | undefined;
27508
+ diagnostic?: string | undefined;
27509
+ } | undefined;
27409
27510
  } | {
27410
27511
  id: string;
27411
27512
  source: "agent" | "cezar";
@@ -27538,30 +27639,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27538
27639
  deadline: string;
27539
27640
  seconds: number;
27540
27641
  note?: string | undefined;
27541
- } | {
27542
- id: string;
27543
- source: "agent" | "cezar";
27544
- 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";
27545
- registeredAt: string;
27546
- phase: "cancelled" | "delivered" | "open" | "resolved";
27547
- resolvedAt?: string | undefined;
27548
- deliveredAt?: string | undefined;
27549
- cancelledAt?: string | undefined;
27550
- turnId: string;
27551
- kind: "process";
27552
- deadline: string;
27553
- timeoutSeconds: number;
27554
- pid: number;
27555
- startToken?: string | undefined;
27556
- exitFile?: string | undefined;
27557
- note?: string | undefined;
27558
- result?: {
27559
- outcome: "deadline" | "error" | "exit_file" | "exited";
27560
- observedAt: string;
27561
- exitCode?: number | undefined;
27562
- exitFileNote?: "not-an-exit-code" | undefined;
27563
- diagnostic?: string | undefined;
27564
- } | undefined;
27565
27642
  } | {
27566
27643
  id: string;
27567
27644
  source: "agent" | "cezar";
@@ -27623,6 +27700,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27623
27700
  reason: "outcome" | "timeout";
27624
27701
  } | undefined;
27625
27702
  wakeInputId?: string | undefined;
27703
+ } | {
27704
+ id: string;
27705
+ source: "agent" | "cezar";
27706
+ 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";
27707
+ registeredAt: string;
27708
+ phase: "cancelled" | "delivered" | "open" | "resolved";
27709
+ resolvedAt?: string | undefined;
27710
+ deliveredAt?: string | undefined;
27711
+ cancelledAt?: string | undefined;
27712
+ turnId: string;
27713
+ kind: "process";
27714
+ deadline: string;
27715
+ timeoutSeconds: number;
27716
+ pid: number;
27717
+ startToken?: string | undefined;
27718
+ exitFile?: string | undefined;
27719
+ note?: string | undefined;
27720
+ result?: {
27721
+ outcome: "deadline" | "error" | "exit_file" | "exited";
27722
+ observedAt: string;
27723
+ exitCode?: number | undefined;
27724
+ exitFileNote?: "not-an-exit-code" | undefined;
27725
+ diagnostic?: string | undefined;
27726
+ } | undefined;
27626
27727
  } | {
27627
27728
  id: string;
27628
27729
  source: "agent" | "cezar";
@@ -27754,30 +27855,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27754
27855
  deadline: string;
27755
27856
  seconds: number;
27756
27857
  note?: string | undefined;
27757
- } | {
27758
- id: string;
27759
- source: "agent" | "cezar";
27760
- 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";
27761
- registeredAt: string;
27762
- phase: "cancelled" | "delivered" | "open" | "resolved";
27763
- resolvedAt?: string | undefined;
27764
- deliveredAt?: string | undefined;
27765
- cancelledAt?: string | undefined;
27766
- turnId: string;
27767
- kind: "process";
27768
- deadline: string;
27769
- timeoutSeconds: number;
27770
- pid: number;
27771
- startToken?: string | undefined;
27772
- exitFile?: string | undefined;
27773
- note?: string | undefined;
27774
- result?: {
27775
- outcome: "deadline" | "error" | "exit_file" | "exited";
27776
- observedAt: string;
27777
- exitCode?: number | undefined;
27778
- exitFileNote?: "not-an-exit-code" | undefined;
27779
- diagnostic?: string | undefined;
27780
- } | undefined;
27781
27858
  } | {
27782
27859
  id: string;
27783
27860
  source: "agent" | "cezar";
@@ -27839,6 +27916,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
27839
27916
  reason: "outcome" | "timeout";
27840
27917
  } | undefined;
27841
27918
  wakeInputId?: string | undefined;
27919
+ } | {
27920
+ id: string;
27921
+ source: "agent" | "cezar";
27922
+ 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";
27923
+ registeredAt: string;
27924
+ phase: "cancelled" | "delivered" | "open" | "resolved";
27925
+ resolvedAt?: string | undefined;
27926
+ deliveredAt?: string | undefined;
27927
+ cancelledAt?: string | undefined;
27928
+ turnId: string;
27929
+ kind: "process";
27930
+ deadline: string;
27931
+ timeoutSeconds: number;
27932
+ pid: number;
27933
+ startToken?: string | undefined;
27934
+ exitFile?: string | undefined;
27935
+ note?: string | undefined;
27936
+ result?: {
27937
+ outcome: "deadline" | "error" | "exit_file" | "exited";
27938
+ observedAt: string;
27939
+ exitCode?: number | undefined;
27940
+ exitFileNote?: "not-an-exit-code" | undefined;
27941
+ diagnostic?: string | undefined;
27942
+ } | undefined;
27842
27943
  } | {
27843
27944
  id: string;
27844
27945
  source: "agent" | "cezar";
@@ -28512,30 +28613,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28512
28613
  deadline: string;
28513
28614
  seconds: number;
28514
28615
  note?: string | undefined;
28515
- } | {
28516
- id: string;
28517
- source: "agent" | "cezar";
28518
- 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";
28519
- registeredAt: string;
28520
- phase: "cancelled" | "delivered" | "open" | "resolved";
28521
- resolvedAt?: string | undefined;
28522
- deliveredAt?: string | undefined;
28523
- cancelledAt?: string | undefined;
28524
- turnId: string;
28525
- kind: "process";
28526
- deadline: string;
28527
- timeoutSeconds: number;
28528
- pid: number;
28529
- startToken?: string | undefined;
28530
- exitFile?: string | undefined;
28531
- note?: string | undefined;
28532
- result?: {
28533
- outcome: "deadline" | "error" | "exit_file" | "exited";
28534
- observedAt: string;
28535
- exitCode?: number | undefined;
28536
- exitFileNote?: "not-an-exit-code" | undefined;
28537
- diagnostic?: string | undefined;
28538
- } | undefined;
28539
28616
  } | {
28540
28617
  id: string;
28541
28618
  source: "agent" | "cezar";
@@ -28607,16 +28684,40 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28607
28684
  deliveredAt?: string | undefined;
28608
28685
  cancelledAt?: string | undefined;
28609
28686
  turnId: string;
28610
- kind: "peer";
28687
+ kind: "process";
28611
28688
  deadline: string;
28612
28689
  timeoutSeconds: number;
28613
- peerIds: string[];
28690
+ pid: number;
28691
+ startToken?: string | undefined;
28692
+ exitFile?: string | undefined;
28693
+ note?: string | undefined;
28614
28694
  result?: {
28615
- reason: "message";
28616
- peerRunId: string;
28617
- messageId: string;
28618
- } | {
28619
- reason: "settled";
28695
+ outcome: "deadline" | "error" | "exit_file" | "exited";
28696
+ observedAt: string;
28697
+ exitCode?: number | undefined;
28698
+ exitFileNote?: "not-an-exit-code" | undefined;
28699
+ diagnostic?: string | undefined;
28700
+ } | undefined;
28701
+ } | {
28702
+ id: string;
28703
+ source: "agent" | "cezar";
28704
+ 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";
28705
+ registeredAt: string;
28706
+ phase: "cancelled" | "delivered" | "open" | "resolved";
28707
+ resolvedAt?: string | undefined;
28708
+ deliveredAt?: string | undefined;
28709
+ cancelledAt?: string | undefined;
28710
+ turnId: string;
28711
+ kind: "peer";
28712
+ deadline: string;
28713
+ timeoutSeconds: number;
28714
+ peerIds: string[];
28715
+ result?: {
28716
+ reason: "message";
28717
+ peerRunId: string;
28718
+ messageId: string;
28719
+ } | {
28720
+ reason: "settled";
28620
28721
  peerRunId: string;
28621
28722
  } | {
28622
28723
  reason: "timeout";
@@ -28729,30 +28830,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28729
28830
  deadline: string;
28730
28831
  seconds: number;
28731
28832
  note?: string | undefined;
28732
- } | {
28733
- id: string;
28734
- source: "agent" | "cezar";
28735
- 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";
28736
- registeredAt: string;
28737
- phase: "cancelled" | "delivered" | "open" | "resolved";
28738
- resolvedAt?: string | undefined;
28739
- deliveredAt?: string | undefined;
28740
- cancelledAt?: string | undefined;
28741
- turnId: string;
28742
- kind: "process";
28743
- deadline: string;
28744
- timeoutSeconds: number;
28745
- pid: number;
28746
- startToken?: string | undefined;
28747
- exitFile?: string | undefined;
28748
- note?: string | undefined;
28749
- result?: {
28750
- outcome: "deadline" | "error" | "exit_file" | "exited";
28751
- observedAt: string;
28752
- exitCode?: number | undefined;
28753
- exitFileNote?: "not-an-exit-code" | undefined;
28754
- diagnostic?: string | undefined;
28755
- } | undefined;
28756
28833
  } | {
28757
28834
  id: string;
28758
28835
  source: "agent" | "cezar";
@@ -28814,6 +28891,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28814
28891
  reason: "outcome" | "timeout";
28815
28892
  } | undefined;
28816
28893
  wakeInputId?: string | undefined;
28894
+ } | {
28895
+ id: string;
28896
+ source: "agent" | "cezar";
28897
+ 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";
28898
+ registeredAt: string;
28899
+ phase: "cancelled" | "delivered" | "open" | "resolved";
28900
+ resolvedAt?: string | undefined;
28901
+ deliveredAt?: string | undefined;
28902
+ cancelledAt?: string | undefined;
28903
+ turnId: string;
28904
+ kind: "process";
28905
+ deadline: string;
28906
+ timeoutSeconds: number;
28907
+ pid: number;
28908
+ startToken?: string | undefined;
28909
+ exitFile?: string | undefined;
28910
+ note?: string | undefined;
28911
+ result?: {
28912
+ outcome: "deadline" | "error" | "exit_file" | "exited";
28913
+ observedAt: string;
28914
+ exitCode?: number | undefined;
28915
+ exitFileNote?: "not-an-exit-code" | undefined;
28916
+ diagnostic?: string | undefined;
28917
+ } | undefined;
28817
28918
  } | {
28818
28919
  id: string;
28819
28920
  source: "agent" | "cezar";
@@ -28945,30 +29046,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
28945
29046
  deadline: string;
28946
29047
  seconds: number;
28947
29048
  note?: string | undefined;
28948
- } | {
28949
- id: string;
28950
- source: "agent" | "cezar";
28951
- 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";
28952
- registeredAt: string;
28953
- phase: "cancelled" | "delivered" | "open" | "resolved";
28954
- resolvedAt?: string | undefined;
28955
- deliveredAt?: string | undefined;
28956
- cancelledAt?: string | undefined;
28957
- turnId: string;
28958
- kind: "process";
28959
- deadline: string;
28960
- timeoutSeconds: number;
28961
- pid: number;
28962
- startToken?: string | undefined;
28963
- exitFile?: string | undefined;
28964
- note?: string | undefined;
28965
- result?: {
28966
- outcome: "deadline" | "error" | "exit_file" | "exited";
28967
- observedAt: string;
28968
- exitCode?: number | undefined;
28969
- exitFileNote?: "not-an-exit-code" | undefined;
28970
- diagnostic?: string | undefined;
28971
- } | undefined;
28972
29049
  } | {
28973
29050
  id: string;
28974
29051
  source: "agent" | "cezar";
@@ -29030,6 +29107,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29030
29107
  reason: "outcome" | "timeout";
29031
29108
  } | undefined;
29032
29109
  wakeInputId?: string | undefined;
29110
+ } | {
29111
+ id: string;
29112
+ source: "agent" | "cezar";
29113
+ 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";
29114
+ registeredAt: string;
29115
+ phase: "cancelled" | "delivered" | "open" | "resolved";
29116
+ resolvedAt?: string | undefined;
29117
+ deliveredAt?: string | undefined;
29118
+ cancelledAt?: string | undefined;
29119
+ turnId: string;
29120
+ kind: "process";
29121
+ deadline: string;
29122
+ timeoutSeconds: number;
29123
+ pid: number;
29124
+ startToken?: string | undefined;
29125
+ exitFile?: string | undefined;
29126
+ note?: string | undefined;
29127
+ result?: {
29128
+ outcome: "deadline" | "error" | "exit_file" | "exited";
29129
+ observedAt: string;
29130
+ exitCode?: number | undefined;
29131
+ exitFileNote?: "not-an-exit-code" | undefined;
29132
+ diagnostic?: string | undefined;
29133
+ } | undefined;
29033
29134
  } | {
29034
29135
  id: string;
29035
29136
  source: "agent" | "cezar";
@@ -29450,30 +29551,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29450
29551
  deadline: string;
29451
29552
  seconds: number;
29452
29553
  note?: string | undefined;
29453
- } | {
29454
- id: string;
29455
- source: "agent" | "cezar";
29456
- 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";
29457
- registeredAt: string;
29458
- phase: "cancelled" | "delivered" | "open" | "resolved";
29459
- resolvedAt?: string | undefined;
29460
- deliveredAt?: string | undefined;
29461
- cancelledAt?: string | undefined;
29462
- turnId: string;
29463
- kind: "process";
29464
- deadline: string;
29465
- timeoutSeconds: number;
29466
- pid: number;
29467
- startToken?: string | undefined;
29468
- exitFile?: string | undefined;
29469
- note?: string | undefined;
29470
- result?: {
29471
- outcome: "deadline" | "error" | "exit_file" | "exited";
29472
- observedAt: string;
29473
- exitCode?: number | undefined;
29474
- exitFileNote?: "not-an-exit-code" | undefined;
29475
- diagnostic?: string | undefined;
29476
- } | undefined;
29477
29554
  } | {
29478
29555
  id: string;
29479
29556
  source: "agent" | "cezar";
@@ -29535,6 +29612,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29535
29612
  reason: "outcome" | "timeout";
29536
29613
  } | undefined;
29537
29614
  wakeInputId?: string | undefined;
29615
+ } | {
29616
+ id: string;
29617
+ source: "agent" | "cezar";
29618
+ 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";
29619
+ registeredAt: string;
29620
+ phase: "cancelled" | "delivered" | "open" | "resolved";
29621
+ resolvedAt?: string | undefined;
29622
+ deliveredAt?: string | undefined;
29623
+ cancelledAt?: string | undefined;
29624
+ turnId: string;
29625
+ kind: "process";
29626
+ deadline: string;
29627
+ timeoutSeconds: number;
29628
+ pid: number;
29629
+ startToken?: string | undefined;
29630
+ exitFile?: string | undefined;
29631
+ note?: string | undefined;
29632
+ result?: {
29633
+ outcome: "deadline" | "error" | "exit_file" | "exited";
29634
+ observedAt: string;
29635
+ exitCode?: number | undefined;
29636
+ exitFileNote?: "not-an-exit-code" | undefined;
29637
+ diagnostic?: string | undefined;
29638
+ } | undefined;
29538
29639
  } | {
29539
29640
  id: string;
29540
29641
  source: "agent" | "cezar";
@@ -29667,30 +29768,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29667
29768
  deadline: string;
29668
29769
  seconds: number;
29669
29770
  note?: string | undefined;
29670
- } | {
29671
- id: string;
29672
- source: "agent" | "cezar";
29673
- 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";
29674
- registeredAt: string;
29675
- phase: "cancelled" | "delivered" | "open" | "resolved";
29676
- resolvedAt?: string | undefined;
29677
- deliveredAt?: string | undefined;
29678
- cancelledAt?: string | undefined;
29679
- turnId: string;
29680
- kind: "process";
29681
- deadline: string;
29682
- timeoutSeconds: number;
29683
- pid: number;
29684
- startToken?: string | undefined;
29685
- exitFile?: string | undefined;
29686
- note?: string | undefined;
29687
- result?: {
29688
- outcome: "deadline" | "error" | "exit_file" | "exited";
29689
- observedAt: string;
29690
- exitCode?: number | undefined;
29691
- exitFileNote?: "not-an-exit-code" | undefined;
29692
- diagnostic?: string | undefined;
29693
- } | undefined;
29694
29771
  } | {
29695
29772
  id: string;
29696
29773
  source: "agent" | "cezar";
@@ -29752,6 +29829,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29752
29829
  reason: "outcome" | "timeout";
29753
29830
  } | undefined;
29754
29831
  wakeInputId?: string | undefined;
29832
+ } | {
29833
+ id: string;
29834
+ source: "agent" | "cezar";
29835
+ 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";
29836
+ registeredAt: string;
29837
+ phase: "cancelled" | "delivered" | "open" | "resolved";
29838
+ resolvedAt?: string | undefined;
29839
+ deliveredAt?: string | undefined;
29840
+ cancelledAt?: string | undefined;
29841
+ turnId: string;
29842
+ kind: "process";
29843
+ deadline: string;
29844
+ timeoutSeconds: number;
29845
+ pid: number;
29846
+ startToken?: string | undefined;
29847
+ exitFile?: string | undefined;
29848
+ note?: string | undefined;
29849
+ result?: {
29850
+ outcome: "deadline" | "error" | "exit_file" | "exited";
29851
+ observedAt: string;
29852
+ exitCode?: number | undefined;
29853
+ exitFileNote?: "not-an-exit-code" | undefined;
29854
+ diagnostic?: string | undefined;
29855
+ } | undefined;
29755
29856
  } | {
29756
29857
  id: string;
29757
29858
  source: "agent" | "cezar";
@@ -29883,30 +29984,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29883
29984
  deadline: string;
29884
29985
  seconds: number;
29885
29986
  note?: string | undefined;
29886
- } | {
29887
- id: string;
29888
- source: "agent" | "cezar";
29889
- 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";
29890
- registeredAt: string;
29891
- phase: "cancelled" | "delivered" | "open" | "resolved";
29892
- resolvedAt?: string | undefined;
29893
- deliveredAt?: string | undefined;
29894
- cancelledAt?: string | undefined;
29895
- turnId: string;
29896
- kind: "process";
29897
- deadline: string;
29898
- timeoutSeconds: number;
29899
- pid: number;
29900
- startToken?: string | undefined;
29901
- exitFile?: string | undefined;
29902
- note?: string | undefined;
29903
- result?: {
29904
- outcome: "deadline" | "error" | "exit_file" | "exited";
29905
- observedAt: string;
29906
- exitCode?: number | undefined;
29907
- exitFileNote?: "not-an-exit-code" | undefined;
29908
- diagnostic?: string | undefined;
29909
- } | undefined;
29910
29987
  } | {
29911
29988
  id: string;
29912
29989
  source: "agent" | "cezar";
@@ -29968,6 +30045,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
29968
30045
  reason: "outcome" | "timeout";
29969
30046
  } | undefined;
29970
30047
  wakeInputId?: string | undefined;
30048
+ } | {
30049
+ id: string;
30050
+ source: "agent" | "cezar";
30051
+ 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";
30052
+ registeredAt: string;
30053
+ phase: "cancelled" | "delivered" | "open" | "resolved";
30054
+ resolvedAt?: string | undefined;
30055
+ deliveredAt?: string | undefined;
30056
+ cancelledAt?: string | undefined;
30057
+ turnId: string;
30058
+ kind: "process";
30059
+ deadline: string;
30060
+ timeoutSeconds: number;
30061
+ pid: number;
30062
+ startToken?: string | undefined;
30063
+ exitFile?: string | undefined;
30064
+ note?: string | undefined;
30065
+ result?: {
30066
+ outcome: "deadline" | "error" | "exit_file" | "exited";
30067
+ observedAt: string;
30068
+ exitCode?: number | undefined;
30069
+ exitFileNote?: "not-an-exit-code" | undefined;
30070
+ diagnostic?: string | undefined;
30071
+ } | undefined;
29971
30072
  } | {
29972
30073
  id: string;
29973
30074
  source: "agent" | "cezar";
@@ -30974,30 +31075,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
30974
31075
  deadline: string;
30975
31076
  seconds: number;
30976
31077
  note?: string | undefined;
30977
- } | {
30978
- id: string;
30979
- source: "agent" | "cezar";
30980
- 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";
30981
- registeredAt: string;
30982
- phase: "cancelled" | "delivered" | "open" | "resolved";
30983
- resolvedAt?: string | undefined;
30984
- deliveredAt?: string | undefined;
30985
- cancelledAt?: string | undefined;
30986
- turnId: string;
30987
- kind: "process";
30988
- deadline: string;
30989
- timeoutSeconds: number;
30990
- pid: number;
30991
- startToken?: string | undefined;
30992
- exitFile?: string | undefined;
30993
- note?: string | undefined;
30994
- result?: {
30995
- outcome: "deadline" | "error" | "exit_file" | "exited";
30996
- observedAt: string;
30997
- exitCode?: number | undefined;
30998
- exitFileNote?: "not-an-exit-code" | undefined;
30999
- diagnostic?: string | undefined;
31000
- } | undefined;
31001
31078
  } | {
31002
31079
  id: string;
31003
31080
  source: "agent" | "cezar";
@@ -31056,9 +31133,33 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31056
31133
  replyId?: string | undefined;
31057
31134
  }[] | undefined;
31058
31135
  result?: {
31059
- reason: "outcome" | "timeout";
31136
+ reason: "outcome" | "timeout";
31137
+ } | undefined;
31138
+ wakeInputId?: string | undefined;
31139
+ } | {
31140
+ id: string;
31141
+ source: "agent" | "cezar";
31142
+ 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";
31143
+ registeredAt: string;
31144
+ phase: "cancelled" | "delivered" | "open" | "resolved";
31145
+ resolvedAt?: string | undefined;
31146
+ deliveredAt?: string | undefined;
31147
+ cancelledAt?: string | undefined;
31148
+ turnId: string;
31149
+ kind: "process";
31150
+ deadline: string;
31151
+ timeoutSeconds: number;
31152
+ pid: number;
31153
+ startToken?: string | undefined;
31154
+ exitFile?: string | undefined;
31155
+ note?: string | undefined;
31156
+ result?: {
31157
+ outcome: "deadline" | "error" | "exit_file" | "exited";
31158
+ observedAt: string;
31159
+ exitCode?: number | undefined;
31160
+ exitFileNote?: "not-an-exit-code" | undefined;
31161
+ diagnostic?: string | undefined;
31060
31162
  } | undefined;
31061
- wakeInputId?: string | undefined;
31062
31163
  } | {
31063
31164
  id: string;
31064
31165
  source: "agent" | "cezar";
@@ -31191,30 +31292,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31191
31292
  deadline: string;
31192
31293
  seconds: number;
31193
31294
  note?: string | undefined;
31194
- } | {
31195
- id: string;
31196
- source: "agent" | "cezar";
31197
- 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";
31198
- registeredAt: string;
31199
- phase: "cancelled" | "delivered" | "open" | "resolved";
31200
- resolvedAt?: string | undefined;
31201
- deliveredAt?: string | undefined;
31202
- cancelledAt?: string | undefined;
31203
- turnId: string;
31204
- kind: "process";
31205
- deadline: string;
31206
- timeoutSeconds: number;
31207
- pid: number;
31208
- startToken?: string | undefined;
31209
- exitFile?: string | undefined;
31210
- note?: string | undefined;
31211
- result?: {
31212
- outcome: "deadline" | "error" | "exit_file" | "exited";
31213
- observedAt: string;
31214
- exitCode?: number | undefined;
31215
- exitFileNote?: "not-an-exit-code" | undefined;
31216
- diagnostic?: string | undefined;
31217
- } | undefined;
31218
31295
  } | {
31219
31296
  id: string;
31220
31297
  source: "agent" | "cezar";
@@ -31276,6 +31353,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31276
31353
  reason: "outcome" | "timeout";
31277
31354
  } | undefined;
31278
31355
  wakeInputId?: string | undefined;
31356
+ } | {
31357
+ id: string;
31358
+ source: "agent" | "cezar";
31359
+ 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";
31360
+ registeredAt: string;
31361
+ phase: "cancelled" | "delivered" | "open" | "resolved";
31362
+ resolvedAt?: string | undefined;
31363
+ deliveredAt?: string | undefined;
31364
+ cancelledAt?: string | undefined;
31365
+ turnId: string;
31366
+ kind: "process";
31367
+ deadline: string;
31368
+ timeoutSeconds: number;
31369
+ pid: number;
31370
+ startToken?: string | undefined;
31371
+ exitFile?: string | undefined;
31372
+ note?: string | undefined;
31373
+ result?: {
31374
+ outcome: "deadline" | "error" | "exit_file" | "exited";
31375
+ observedAt: string;
31376
+ exitCode?: number | undefined;
31377
+ exitFileNote?: "not-an-exit-code" | undefined;
31378
+ diagnostic?: string | undefined;
31379
+ } | undefined;
31279
31380
  } | {
31280
31381
  id: string;
31281
31382
  source: "agent" | "cezar";
@@ -31407,30 +31508,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31407
31508
  deadline: string;
31408
31509
  seconds: number;
31409
31510
  note?: string | undefined;
31410
- } | {
31411
- id: string;
31412
- source: "agent" | "cezar";
31413
- 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";
31414
- registeredAt: string;
31415
- phase: "cancelled" | "delivered" | "open" | "resolved";
31416
- resolvedAt?: string | undefined;
31417
- deliveredAt?: string | undefined;
31418
- cancelledAt?: string | undefined;
31419
- turnId: string;
31420
- kind: "process";
31421
- deadline: string;
31422
- timeoutSeconds: number;
31423
- pid: number;
31424
- startToken?: string | undefined;
31425
- exitFile?: string | undefined;
31426
- note?: string | undefined;
31427
- result?: {
31428
- outcome: "deadline" | "error" | "exit_file" | "exited";
31429
- observedAt: string;
31430
- exitCode?: number | undefined;
31431
- exitFileNote?: "not-an-exit-code" | undefined;
31432
- diagnostic?: string | undefined;
31433
- } | undefined;
31434
31511
  } | {
31435
31512
  id: string;
31436
31513
  source: "agent" | "cezar";
@@ -31492,6 +31569,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
31492
31569
  reason: "outcome" | "timeout";
31493
31570
  } | undefined;
31494
31571
  wakeInputId?: string | undefined;
31572
+ } | {
31573
+ id: string;
31574
+ source: "agent" | "cezar";
31575
+ 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";
31576
+ registeredAt: string;
31577
+ phase: "cancelled" | "delivered" | "open" | "resolved";
31578
+ resolvedAt?: string | undefined;
31579
+ deliveredAt?: string | undefined;
31580
+ cancelledAt?: string | undefined;
31581
+ turnId: string;
31582
+ kind: "process";
31583
+ deadline: string;
31584
+ timeoutSeconds: number;
31585
+ pid: number;
31586
+ startToken?: string | undefined;
31587
+ exitFile?: string | undefined;
31588
+ note?: string | undefined;
31589
+ result?: {
31590
+ outcome: "deadline" | "error" | "exit_file" | "exited";
31591
+ observedAt: string;
31592
+ exitCode?: number | undefined;
31593
+ exitFileNote?: "not-an-exit-code" | undefined;
31594
+ diagnostic?: string | undefined;
31595
+ } | undefined;
31495
31596
  } | {
31496
31597
  id: string;
31497
31598
  source: "agent" | "cezar";
@@ -32042,30 +32143,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32042
32143
  deadline: string;
32043
32144
  seconds: number;
32044
32145
  note?: string | undefined;
32045
- } | {
32046
- id: string;
32047
- source: "agent" | "cezar";
32048
- 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";
32049
- registeredAt: string;
32050
- phase: "cancelled" | "delivered" | "open" | "resolved";
32051
- resolvedAt?: string | undefined;
32052
- deliveredAt?: string | undefined;
32053
- cancelledAt?: string | undefined;
32054
- turnId: string;
32055
- kind: "process";
32056
- deadline: string;
32057
- timeoutSeconds: number;
32058
- pid: number;
32059
- startToken?: string | undefined;
32060
- exitFile?: string | undefined;
32061
- note?: string | undefined;
32062
- result?: {
32063
- outcome: "deadline" | "error" | "exit_file" | "exited";
32064
- observedAt: string;
32065
- exitCode?: number | undefined;
32066
- exitFileNote?: "not-an-exit-code" | undefined;
32067
- diagnostic?: string | undefined;
32068
- } | undefined;
32069
32146
  } | {
32070
32147
  id: string;
32071
32148
  source: "agent" | "cezar";
@@ -32127,6 +32204,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32127
32204
  reason: "outcome" | "timeout";
32128
32205
  } | undefined;
32129
32206
  wakeInputId?: string | undefined;
32207
+ } | {
32208
+ id: string;
32209
+ source: "agent" | "cezar";
32210
+ 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";
32211
+ registeredAt: string;
32212
+ phase: "cancelled" | "delivered" | "open" | "resolved";
32213
+ resolvedAt?: string | undefined;
32214
+ deliveredAt?: string | undefined;
32215
+ cancelledAt?: string | undefined;
32216
+ turnId: string;
32217
+ kind: "process";
32218
+ deadline: string;
32219
+ timeoutSeconds: number;
32220
+ pid: number;
32221
+ startToken?: string | undefined;
32222
+ exitFile?: string | undefined;
32223
+ note?: string | undefined;
32224
+ result?: {
32225
+ outcome: "deadline" | "error" | "exit_file" | "exited";
32226
+ observedAt: string;
32227
+ exitCode?: number | undefined;
32228
+ exitFileNote?: "not-an-exit-code" | undefined;
32229
+ diagnostic?: string | undefined;
32230
+ } | undefined;
32130
32231
  } | {
32131
32232
  id: string;
32132
32233
  source: "agent" | "cezar";
@@ -32259,30 +32360,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32259
32360
  deadline: string;
32260
32361
  seconds: number;
32261
32362
  note?: string | undefined;
32262
- } | {
32263
- id: string;
32264
- source: "agent" | "cezar";
32265
- 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";
32266
- registeredAt: string;
32267
- phase: "cancelled" | "delivered" | "open" | "resolved";
32268
- resolvedAt?: string | undefined;
32269
- deliveredAt?: string | undefined;
32270
- cancelledAt?: string | undefined;
32271
- turnId: string;
32272
- kind: "process";
32273
- deadline: string;
32274
- timeoutSeconds: number;
32275
- pid: number;
32276
- startToken?: string | undefined;
32277
- exitFile?: string | undefined;
32278
- note?: string | undefined;
32279
- result?: {
32280
- outcome: "deadline" | "error" | "exit_file" | "exited";
32281
- observedAt: string;
32282
- exitCode?: number | undefined;
32283
- exitFileNote?: "not-an-exit-code" | undefined;
32284
- diagnostic?: string | undefined;
32285
- } | undefined;
32286
32363
  } | {
32287
32364
  id: string;
32288
32365
  source: "agent" | "cezar";
@@ -32344,6 +32421,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32344
32421
  reason: "outcome" | "timeout";
32345
32422
  } | undefined;
32346
32423
  wakeInputId?: string | undefined;
32424
+ } | {
32425
+ id: string;
32426
+ source: "agent" | "cezar";
32427
+ 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";
32428
+ registeredAt: string;
32429
+ phase: "cancelled" | "delivered" | "open" | "resolved";
32430
+ resolvedAt?: string | undefined;
32431
+ deliveredAt?: string | undefined;
32432
+ cancelledAt?: string | undefined;
32433
+ turnId: string;
32434
+ kind: "process";
32435
+ deadline: string;
32436
+ timeoutSeconds: number;
32437
+ pid: number;
32438
+ startToken?: string | undefined;
32439
+ exitFile?: string | undefined;
32440
+ note?: string | undefined;
32441
+ result?: {
32442
+ outcome: "deadline" | "error" | "exit_file" | "exited";
32443
+ observedAt: string;
32444
+ exitCode?: number | undefined;
32445
+ exitFileNote?: "not-an-exit-code" | undefined;
32446
+ diagnostic?: string | undefined;
32447
+ } | undefined;
32347
32448
  } | {
32348
32449
  id: string;
32349
32450
  source: "agent" | "cezar";
@@ -32475,30 +32576,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32475
32576
  deadline: string;
32476
32577
  seconds: number;
32477
32578
  note?: string | undefined;
32478
- } | {
32479
- id: string;
32480
- source: "agent" | "cezar";
32481
- 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";
32482
- registeredAt: string;
32483
- phase: "cancelled" | "delivered" | "open" | "resolved";
32484
- resolvedAt?: string | undefined;
32485
- deliveredAt?: string | undefined;
32486
- cancelledAt?: string | undefined;
32487
- turnId: string;
32488
- kind: "process";
32489
- deadline: string;
32490
- timeoutSeconds: number;
32491
- pid: number;
32492
- startToken?: string | undefined;
32493
- exitFile?: string | undefined;
32494
- note?: string | undefined;
32495
- result?: {
32496
- outcome: "deadline" | "error" | "exit_file" | "exited";
32497
- observedAt: string;
32498
- exitCode?: number | undefined;
32499
- exitFileNote?: "not-an-exit-code" | undefined;
32500
- diagnostic?: string | undefined;
32501
- } | undefined;
32502
32579
  } | {
32503
32580
  id: string;
32504
32581
  source: "agent" | "cezar";
@@ -32560,6 +32637,30 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
32560
32637
  reason: "outcome" | "timeout";
32561
32638
  } | undefined;
32562
32639
  wakeInputId?: string | undefined;
32640
+ } | {
32641
+ id: string;
32642
+ source: "agent" | "cezar";
32643
+ 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";
32644
+ registeredAt: string;
32645
+ phase: "cancelled" | "delivered" | "open" | "resolved";
32646
+ resolvedAt?: string | undefined;
32647
+ deliveredAt?: string | undefined;
32648
+ cancelledAt?: string | undefined;
32649
+ turnId: string;
32650
+ kind: "process";
32651
+ deadline: string;
32652
+ timeoutSeconds: number;
32653
+ pid: number;
32654
+ startToken?: string | undefined;
32655
+ exitFile?: string | undefined;
32656
+ note?: string | undefined;
32657
+ result?: {
32658
+ outcome: "deadline" | "error" | "exit_file" | "exited";
32659
+ observedAt: string;
32660
+ exitCode?: number | undefined;
32661
+ exitFileNote?: "not-an-exit-code" | undefined;
32662
+ diagnostic?: string | undefined;
32663
+ } | undefined;
32563
32664
  } | {
32564
32665
  id: string;
32565
32666
  source: "agent" | "cezar";