@hearsay-tools/squawk 0.18.0-dev.7742 → 0.18.0-dev.7751

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 (165) hide show
  1. package/dist/activity/publisher.d.ts +2 -2
  2. package/dist/activity/publisher.js.map +1 -1
  3. package/dist/activity/read-model.d.ts +2 -2
  4. package/dist/activity/read-model.js.map +1 -1
  5. package/dist/activity/requests.d.ts +2 -2
  6. package/dist/activity/requests.js.map +1 -1
  7. package/dist/activity/tool-activity.d.ts +3 -2
  8. package/dist/activity/tool-activity.js.map +1 -1
  9. package/dist/ci-wait/controller.d.ts +4 -4
  10. package/dist/contract/index.d.ts +1 -0
  11. package/dist/contract/index.js +34 -14
  12. package/dist/contract/runner-install.d.ts +41 -0
  13. package/dist/contract/runners.d.ts +2 -0
  14. package/dist/core/managed-cli-source.d.ts +7 -0
  15. package/dist/core/managed-cli-source.js +2 -0
  16. package/dist/core/managed-cli-source.js.map +1 -0
  17. package/dist/core/runner-definition.d.ts +3 -0
  18. package/dist/core/runner-definition.js.map +1 -1
  19. package/dist/delegation/conversations.d.ts +4 -3
  20. package/dist/delegation/conversations.js.map +1 -1
  21. package/dist/delegation/execution-identity.d.ts +2 -1
  22. package/dist/delegation/execution-identity.js.map +1 -1
  23. package/dist/delegation/family-end.d.ts +3 -2
  24. package/dist/delegation/family-end.js.map +1 -1
  25. package/dist/delegation/park-notice.d.ts +3 -2
  26. package/dist/delegation/park-notice.js.map +1 -1
  27. package/dist/delegation/routes.d.ts +14 -14
  28. package/dist/handoff.d.ts +2 -2
  29. package/dist/handoff.js.map +1 -1
  30. package/dist/managed-install/cli-archive.d.ts +4 -0
  31. package/dist/managed-install/cli-archive.js +84 -0
  32. package/dist/managed-install/cli-archive.js.map +1 -0
  33. package/dist/managed-install/cli-installation.d.ts +26 -0
  34. package/dist/managed-install/cli-installation.js +119 -0
  35. package/dist/managed-install/cli-installation.js.map +1 -0
  36. package/dist/managed-install/cli-manifest.d.ts +11 -0
  37. package/dist/managed-install/cli-manifest.js +37 -0
  38. package/dist/managed-install/cli-manifest.js.map +1 -0
  39. package/dist/managed-install/cli-storage.d.ts +36 -0
  40. package/dist/managed-install/cli-storage.js +189 -0
  41. package/dist/managed-install/cli-storage.js.map +1 -0
  42. package/dist/preview/host.d.ts +2 -2
  43. package/dist/preview/host.js.map +1 -1
  44. package/dist/project-migration/live.d.ts +3 -2
  45. package/dist/project-migration/live.js.map +1 -1
  46. package/dist/runners/antigravity/cli.d.ts +6 -2
  47. package/dist/runners/antigravity/cli.js +5 -1
  48. package/dist/runners/antigravity/cli.js.map +1 -1
  49. package/dist/runs/arm-repo-handle.d.ts +2 -2
  50. package/dist/runs/arm-repo-handle.js.map +1 -1
  51. package/dist/runs/live-tasks.d.ts +2 -2
  52. package/dist/runs/live-tasks.js.map +1 -1
  53. package/dist/runs/ports.d.ts +171 -0
  54. package/dist/runs/ports.js +2 -0
  55. package/dist/runs/ports.js.map +1 -0
  56. package/dist/runs/retention.d.ts +6 -2
  57. package/dist/runs/retention.js.map +1 -1
  58. package/dist/runs/supervised.d.ts +3 -2
  59. package/dist/runs/supervised.js.map +1 -1
  60. package/dist/runs/webhook.d.ts +2 -8
  61. package/dist/runs/webhook.js.map +1 -1
  62. package/dist/serve-boot.d.ts +7 -3
  63. package/dist/serve-boot.js.map +1 -1
  64. package/dist/serve-stop.d.ts +2 -2
  65. package/dist/serve-stop.js.map +1 -1
  66. package/dist/server/project-context.d.ts +2 -1
  67. package/dist/server/project-context.js.map +1 -1
  68. package/dist/server/project-run-files.d.ts +2 -2
  69. package/dist/server/project-run-files.js.map +1 -1
  70. package/dist/server/repo-branches.d.ts +3 -2
  71. package/dist/server/repo-branches.js.map +1 -1
  72. package/dist/server/reports-api.d.ts +2 -2
  73. package/dist/server/run-checkout.d.ts +3 -2
  74. package/dist/server/run-checkout.js.map +1 -1
  75. package/dist/server/run-relationships.d.ts +3 -2
  76. package/dist/server/run-relationships.js.map +1 -1
  77. package/dist/server/runner-install-routes.d.ts +105 -0
  78. package/dist/server/runner-install-routes.js +52 -0
  79. package/dist/server/runner-install-routes.js.map +1 -0
  80. package/dist/server/runners-routes.d.ts +104 -1
  81. package/dist/server/runners-routes.js +7 -3
  82. package/dist/server/runners-routes.js.map +1 -1
  83. package/dist/server/server.d.ts +690 -591
  84. package/dist/server/server.js +1 -1
  85. package/dist/server/server.js.map +1 -1
  86. package/dist/server/start-run-options.d.ts +3 -2
  87. package/dist/server/start-run-options.js.map +1 -1
  88. package/dist/server-install/steps.js +4 -0
  89. package/dist/server-install/steps.js.map +1 -1
  90. package/dist/workflows/continuation-admission.d.ts +3 -2
  91. package/dist/workflows/continuation-admission.js.map +1 -1
  92. package/dist/workflows/input-acknowledgement.d.ts +3 -2
  93. package/dist/workflows/input-acknowledgement.js.map +1 -1
  94. package/dist/workflows/outcome-batches.d.ts +2 -2
  95. package/dist/workflows/outcome-batches.js.map +1 -1
  96. package/dist/workflows/run/auto-resume.d.ts +3 -2
  97. package/dist/workflows/run/auto-resume.js.map +1 -1
  98. package/dist/workflows/run/compose.d.ts +5 -3
  99. package/dist/workflows/run/compose.js.map +1 -1
  100. package/dist/workflows/run/continuation-acceptance.d.ts +3 -2
  101. package/dist/workflows/run/continuation-acceptance.js.map +1 -1
  102. package/dist/workflows/run/human-waits.d.ts +3 -2
  103. package/dist/workflows/run/human-waits.js.map +1 -1
  104. package/dist/workflows/run/launch-read-resolver.d.ts +5 -4
  105. package/dist/workflows/run/launch-read-resolver.js.map +1 -1
  106. package/dist/workflows/run/pending-ask-facts.d.ts +2 -2
  107. package/dist/workflows/run/pending-ask-facts.js.map +1 -1
  108. package/dist/workflows/run/queued-revival.d.ts +3 -2
  109. package/dist/workflows/run/queued-revival.js.map +1 -1
  110. package/dist/workflows/run/run-cancel.d.ts +3 -2
  111. package/dist/workflows/run/run-cancel.js.map +1 -1
  112. package/dist/workflows/run/run-finish.d.ts +3 -2
  113. package/dist/workflows/run/run-finish.js.map +1 -1
  114. package/dist/workflows/run/run-guards.d.ts +8 -7
  115. package/dist/workflows/run/run-guards.js.map +1 -1
  116. package/dist/workflows/run/run-recovery.d.ts +3 -2
  117. package/dist/workflows/run/run-recovery.js.map +1 -1
  118. package/dist/workflows/run/run-settlement.d.ts +3 -2
  119. package/dist/workflows/run/run-settlement.js.map +1 -1
  120. package/dist/workflows/run/run-start.d.ts +3 -2
  121. package/dist/workflows/run/run-start.js.map +1 -1
  122. package/dist/workflows/run/session-events.d.ts +3 -2
  123. package/dist/workflows/run/session-events.js.map +1 -1
  124. package/dist/workflows/run/step-loop.d.ts +3 -2
  125. package/dist/workflows/run/step-loop.js.map +1 -1
  126. package/dist/workflows/run/turn-nudges.d.ts +4 -3
  127. package/dist/workflows/run/turn-nudges.js.map +1 -1
  128. package/dist/workflows/run/turn-settler.d.ts +6 -4
  129. package/dist/workflows/run/turn-settler.js.map +1 -1
  130. package/dist/workflows/run/wake-ledger.d.ts +5 -4
  131. package/dist/workflows/run/wake-ledger.js.map +1 -1
  132. package/dist/workflows/run/workflow-position.d.ts +2 -2
  133. package/dist/workflows/run.d.ts +2 -1
  134. package/dist/workflows/run.js.map +1 -1
  135. package/package.json +4 -4
  136. package/web/dist/assets/{activity-motion-CHWLFQui.js → activity-motion-BSsgWgJe.js} +1 -1
  137. package/web/dist/assets/{activity-route-CDZ8vEvw.js → activity-route-q9sOR4Wb.js} +1 -1
  138. package/web/dist/assets/{commit-diff-panel-BiFrj_Kg.js → commit-diff-panel-Btiebm6D.js} +1 -1
  139. package/web/dist/assets/{diff-Bp_ZwIlK.js → diff-DNIkChMc.js} +2 -2
  140. package/web/dist/assets/{diff-view-BLWY32aP.js → diff-view-jhjgH27W.js} +1 -1
  141. package/web/dist/assets/{file-preview-BMb-p58M.js → file-preview-De5UjJTG.js} +1 -1
  142. package/web/dist/assets/{git-toolbar-BLOs2P23.js → git-toolbar-Ol1142ti.js} +1 -1
  143. package/web/dist/assets/{github-DLd49gwL.js → github-BylUlaAL.js} +1 -1
  144. package/web/dist/assets/{global-activity-route-C6qUGiQ-.js → global-activity-route-DI3QqvQL.js} +1 -1
  145. package/web/dist/assets/{index-D9Yu2XLO.js → index-Dbb0-RtK.js} +11 -11
  146. package/web/dist/assets/{markdown-HUI2AGRH.js → markdown-D3aDM4O5.js} +1 -1
  147. package/web/dist/assets/{picker-pill-Bmxuo6r5.js → picker-pill-DW8uRjlV.js} +1 -1
  148. package/web/dist/assets/{preview-pane-connected-Br0FHHb0.js → preview-pane-connected-C-f5rJGZ.js} +1 -1
  149. package/web/dist/assets/{prompt-template-menu-Fb8KyZ2w.js → prompt-template-menu-ntY16IJm.js} +1 -1
  150. package/web/dist/assets/{repo-git-CXxRkRrr.js → repo-git-D-j1tyQj.js} +1 -1
  151. package/web/dist/assets/{report-reader-DK9rxnu_.js → report-reader-0-k8FTCM.js} +1 -1
  152. package/web/dist/assets/{reports-DyqYeCfW.js → reports--2BDXGSj.js} +1 -1
  153. package/web/dist/assets/{run-header-DI2Zp-1g.js → run-header-B69_lBSt.js} +1 -1
  154. package/web/dist/assets/runners-BZb4ezwE.js +1 -0
  155. package/web/dist/assets/{skills-BsojRHiF.js → skills-CzyYKL6l.js} +1 -1
  156. package/web/dist/assets/{task-changes-D0fhNQ8e.js → task-changes-D1Oi0yoX.js} +1 -1
  157. package/web/dist/assets/{task-commits-DfPvhSgU.js → task-commits-DV91fVHF.js} +1 -1
  158. package/web/dist/assets/{task-files-Do9eS-uO.js → task-files-_ap-MUjL.js} +1 -1
  159. package/web/dist/assets/{task-github-item-IDiDedZh.js → task-github-item-9oibIBa8.js} +1 -1
  160. package/web/dist/assets/{task-thread-BK0lz7hd.js → task-thread-D8IfseH4.js} +1 -1
  161. package/web/dist/assets/{thread-state-D2FZC_j9.js → thread-state-BLS3a1XA.js} +1 -1
  162. package/web/dist/assets/{use-hand-to-agent-state-CntaNwZk.js → use-hand-to-agent-state-DaPTyzCV.js} +1 -1
  163. package/web/dist/assets/{workflows-BnU1T_ay.js → workflows-BAIP3wxi.js} +1 -1
  164. package/web/dist/index.html +4 -4
  165. package/web/dist/assets/runners-D8udSrRd.js +0 -1
@@ -182,6 +182,220 @@ export declare class WorkspaceEventBus {
182
182
  on(listener: (event: WorkspaceEventName, data: unknown) => void): () => void;
183
183
  }
184
184
  export declare function createApp(deps: ServerDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
185
+ "/health": {
186
+ $get: {
187
+ output: {
188
+ version: string;
189
+ latestVersion?: string | undefined;
190
+ repoRoot: string;
191
+ repo: {
192
+ root: string;
193
+ branch: string;
194
+ remote?: string | undefined;
195
+ } | null;
196
+ checks: {
197
+ name: string;
198
+ available: boolean;
199
+ version?: string;
200
+ hint?: string;
201
+ }[];
202
+ defaultRunner: string;
203
+ forge: {
204
+ available?: boolean | undefined;
205
+ reason?: string;
206
+ kind: "github";
207
+ } | null;
208
+ capabilities: {
209
+ localHandoff: boolean;
210
+ settingsAdmin: boolean;
211
+ remoteSettingsAdmin: boolean;
212
+ automations: boolean;
213
+ preview: boolean;
214
+ tokenMetrics: boolean;
215
+ tokenUsageMetrics: boolean;
216
+ costMetrics: boolean;
217
+ };
218
+ projects: {
219
+ id: string;
220
+ name: string;
221
+ }[];
222
+ bootProject: string;
223
+ };
224
+ outputFormat: "json";
225
+ status: import("hono/utils/http-status").ContentfulStatusCode;
226
+ input: {};
227
+ };
228
+ };
229
+ }, "/"> | import("hono/types").MergeSchemaPath<{
230
+ "/fs/browse": {
231
+ $get: {
232
+ output: {
233
+ error: string;
234
+ code?: "invalid_input" | undefined;
235
+ };
236
+ outputFormat: "json";
237
+ status: 400;
238
+ input: {
239
+ query: {
240
+ path?: string | undefined;
241
+ showHidden?: string | undefined;
242
+ };
243
+ };
244
+ } | {
245
+ output: {
246
+ error: string;
247
+ };
248
+ outputFormat: "json";
249
+ status: 400 | 403 | 404;
250
+ input: {
251
+ query: {
252
+ path?: string | undefined;
253
+ showHidden?: string | undefined;
254
+ };
255
+ };
256
+ } | {
257
+ output: {
258
+ path: string;
259
+ parent: string | null;
260
+ dirs: {
261
+ name: string;
262
+ path: string;
263
+ isRepo: boolean;
264
+ }[];
265
+ truncated: boolean;
266
+ };
267
+ outputFormat: "json";
268
+ status: import("hono/utils/http-status").ContentfulStatusCode;
269
+ input: {
270
+ query: {
271
+ path?: string | undefined;
272
+ showHidden?: string | undefined;
273
+ };
274
+ };
275
+ };
276
+ };
277
+ }, "/"> | import("hono/types").MergeSchemaPath<{
278
+ "/automation-checks/:checkId": {
279
+ $get: {
280
+ output: {
281
+ id: string;
282
+ automationId: string;
283
+ mode: 'preview' | 'execute';
284
+ status: 'queued' | 'running' | 'complete' | 'error';
285
+ createdAt: string;
286
+ completedAt?: string;
287
+ matches?: number;
288
+ truncated?: boolean;
289
+ error?: string;
290
+ };
291
+ outputFormat: "json";
292
+ status: import("hono/utils/http-status").ContentfulStatusCode;
293
+ input: {
294
+ param: {
295
+ checkId: string;
296
+ };
297
+ };
298
+ } | {
299
+ output: {
300
+ error: string;
301
+ };
302
+ outputFormat: "json";
303
+ status: 404;
304
+ input: {
305
+ param: {
306
+ checkId: string;
307
+ };
308
+ };
309
+ };
310
+ };
311
+ }, "/"> | import("hono/types").MergeSchemaPath<{
312
+ "/workspace/events": {
313
+ $get: {
314
+ output: {};
315
+ outputFormat: string;
316
+ status: import("hono/utils/http-status").StatusCode;
317
+ input: {
318
+ query: {
319
+ runs?: "summary" | undefined;
320
+ };
321
+ };
322
+ } | {
323
+ output: {
324
+ error: string;
325
+ code?: "invalid_input" | undefined;
326
+ };
327
+ outputFormat: "json";
328
+ status: 400;
329
+ input: {
330
+ query: {
331
+ runs?: "summary" | undefined;
332
+ };
333
+ };
334
+ };
335
+ };
336
+ }, "/"> | import("hono/types").MergeSchemaPath<{
337
+ "/models": {
338
+ $get: {
339
+ output: {
340
+ error: string;
341
+ code?: "invalid_input" | undefined;
342
+ };
343
+ outputFormat: "json";
344
+ status: 400;
345
+ input: {
346
+ query: {
347
+ runner: string | string[];
348
+ profileId?: string | undefined;
349
+ };
350
+ };
351
+ } | {
352
+ output: {
353
+ runner: string;
354
+ models: {
355
+ id: string;
356
+ label: string;
357
+ description: string;
358
+ effortLevels?: import('../contract/index.js').EffortLevel[];
359
+ }[];
360
+ source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
361
+ stale: boolean;
362
+ reason?: string;
363
+ };
364
+ outputFormat: "json";
365
+ status: import("hono/utils/http-status").ContentfulStatusCode;
366
+ input: {
367
+ query: {
368
+ runner: string | string[];
369
+ profileId?: string | undefined;
370
+ };
371
+ };
372
+ } | {
373
+ output: {
374
+ error: string;
375
+ };
376
+ outputFormat: "json";
377
+ status: 409;
378
+ input: {
379
+ query: {
380
+ runner: string | string[];
381
+ profileId?: string | undefined;
382
+ };
383
+ };
384
+ } | {
385
+ output: {
386
+ error: string;
387
+ };
388
+ outputFormat: "json";
389
+ status: 400;
390
+ input: {
391
+ query: {
392
+ runner: string | string[];
393
+ profileId?: string | undefined;
394
+ };
395
+ };
396
+ };
397
+ };
398
+ }, "/"> | import("hono/types").MergeSchemaPath<{
185
399
  "/workspace/activity": {
186
400
  $get: {
187
401
  output: {
@@ -346,352 +560,95 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
346
560
  mode?: "all" | "any" | "one" | undefined;
347
561
  recipientRunIds: string[];
348
562
  };
349
- } | {
350
- kind: "peers";
351
- since: string;
352
- deadline: string;
353
- detail: {
354
- peerRunIds: string[];
355
- };
356
- } | {
357
- kind: "subagents";
358
- since: string;
359
- deadline: string;
360
- detail: {
361
- running: number;
362
- };
363
- } | {
364
- kind: "pr";
365
- since: string;
366
- deadline: string;
367
- detail: {
368
- number: number;
369
- target: "checks" | "merge" | "merge_or_blocked";
370
- checks?: {
371
- name: string;
372
- bucket: "cancel" | "fail" | "pass" | "pending" | "skipping";
373
- }[] | undefined;
374
- counts?: {
375
- pass: number;
376
- fail: number;
377
- pending: number;
378
- skipping: number;
379
- cancel: number;
380
- } | undefined;
381
- truncated?: true | undefined;
382
- };
383
- } | {
384
- kind: "process";
385
- since: string;
386
- deadline: string;
387
- detail: {
388
- pid: number;
389
- note?: string | undefined;
390
- };
391
- } | {
392
- kind: "timer";
393
- since: string;
394
- deadline: string;
395
- detail: {
396
- wakeAt: string;
397
- note?: string | undefined;
398
- };
399
- } | undefined;
400
- tool?: {
401
- title: string;
402
- toolKind: "delete" | "edit" | "execute" | "fetch" | "move" | "other" | "plan" | "read" | "search" | "task" | "think";
403
- status: "completed" | "declined" | "failed" | "pending" | "running";
404
- startedAt: string;
405
- endedAt?: string | undefined;
406
- } | undefined;
407
- rate: number[];
408
- error?: string | undefined;
409
- revision: number;
410
- collected: boolean;
411
- }[];
412
- }[];
413
- requests: {
414
- requestId: string;
415
- relationship: "family" | "peer";
416
- senderRunId: string;
417
- recipientRunId: string;
418
- text: string;
419
- senderTitle?: string | undefined;
420
- recipientTitle?: string | undefined;
421
- createdAt: string;
422
- deadline?: string | undefined;
423
- }[];
424
- closed: {
425
- requestId: string;
426
- senderRunId: string;
427
- recipientRunId: string;
428
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
429
- observedAt: string;
430
- }[];
431
- }[];
432
- };
433
- outputFormat: "json";
434
- status: 200;
435
- input: {
436
- query: {
437
- project?: string | undefined;
438
- };
439
- };
440
- };
441
- };
442
- }, "/"> | import("hono/types").MergeSchemaPath<{
443
- "/health": {
444
- $get: {
445
- output: {
446
- version: string;
447
- latestVersion?: string | undefined;
448
- repoRoot: string;
449
- repo: {
450
- root: string;
451
- branch: string;
452
- remote?: string | undefined;
453
- } | null;
454
- checks: {
455
- name: string;
456
- available: boolean;
457
- version?: string;
458
- hint?: string;
459
- }[];
460
- defaultRunner: string;
461
- forge: {
462
- available?: boolean | undefined;
463
- reason?: string;
464
- kind: "github";
465
- } | null;
466
- capabilities: {
467
- localHandoff: boolean;
468
- settingsAdmin: boolean;
469
- remoteSettingsAdmin: boolean;
470
- automations: boolean;
471
- preview: boolean;
472
- tokenMetrics: boolean;
473
- tokenUsageMetrics: boolean;
474
- costMetrics: boolean;
475
- };
476
- projects: {
477
- id: string;
478
- name: string;
479
- }[];
480
- bootProject: string;
481
- };
482
- outputFormat: "json";
483
- status: import("hono/utils/http-status").ContentfulStatusCode;
484
- input: {};
485
- };
486
- };
487
- }, "/"> | import("hono/types").MergeSchemaPath<{
488
- "/fs/browse": {
489
- $get: {
490
- output: {
491
- error: string;
492
- code?: "invalid_input" | undefined;
493
- };
494
- outputFormat: "json";
495
- status: 400;
496
- input: {
497
- query: {
498
- path?: string | undefined;
499
- showHidden?: string | undefined;
500
- };
501
- };
502
- } | {
503
- output: {
504
- error: string;
505
- };
506
- outputFormat: "json";
507
- status: 400 | 403 | 404;
508
- input: {
509
- query: {
510
- path?: string | undefined;
511
- showHidden?: string | undefined;
512
- };
513
- };
514
- } | {
515
- output: {
516
- path: string;
517
- parent: string | null;
518
- dirs: {
519
- name: string;
520
- path: string;
521
- isRepo: boolean;
522
- }[];
523
- truncated: boolean;
524
- };
525
- outputFormat: "json";
526
- status: import("hono/utils/http-status").ContentfulStatusCode;
527
- input: {
528
- query: {
529
- path?: string | undefined;
530
- showHidden?: string | undefined;
531
- };
532
- };
533
- };
534
- };
535
- }, "/"> | import("hono/types").MergeSchemaPath<{
536
- "/automation-checks/:checkId": {
537
- $get: {
538
- output: {
539
- id: string;
540
- automationId: string;
541
- mode: 'preview' | 'execute';
542
- status: 'queued' | 'running' | 'complete' | 'error';
543
- createdAt: string;
544
- completedAt?: string;
545
- matches?: number;
546
- truncated?: boolean;
547
- error?: string;
548
- };
549
- outputFormat: "json";
550
- status: import("hono/utils/http-status").ContentfulStatusCode;
551
- input: {
552
- param: {
553
- checkId: string;
554
- };
555
- };
556
- } | {
557
- output: {
558
- error: string;
559
- };
560
- outputFormat: "json";
561
- status: 404;
562
- input: {
563
- param: {
564
- checkId: string;
565
- };
566
- };
567
- };
568
- };
569
- }, "/"> | import("hono/types").MergeSchemaPath<{
570
- "/workspace/events": {
571
- $get: {
572
- output: {};
573
- outputFormat: string;
574
- status: import("hono/utils/http-status").StatusCode;
575
- input: {
576
- query: {
577
- runs?: "summary" | undefined;
578
- };
579
- };
580
- } | {
581
- output: {
582
- error: string;
583
- code?: "invalid_input" | undefined;
584
- };
585
- outputFormat: "json";
586
- status: 400;
587
- input: {
588
- query: {
589
- runs?: "summary" | undefined;
590
- };
591
- };
592
- };
593
- };
594
- }, "/"> | import("hono/types").MergeSchemaPath<{
595
- "/runners": {
596
- $get: {
597
- output: {
598
- runners: {
599
- id: string;
600
- displayName: string;
601
- modelListName: string;
602
- modelIdScope: "own" | "provider-spanning";
603
- pickerLabel: string;
604
- pickerDescription: string;
605
- icon: string;
606
- installHint: string;
607
- loginCommand: string;
608
- terminalLogin?: boolean | undefined;
609
- browserLogin?: boolean | undefined;
610
- accountFolderExample?: string | undefined;
611
- models: {
612
- suggested: {
613
- id: string;
614
- label: string;
615
- desc: string;
616
- }[];
617
- retired: string[];
618
- };
619
- agentConfig: {
620
- label: string;
621
- note?: string | undefined;
622
- groups: {
623
- id: "mcp" | "memory" | "settings";
624
- label: string;
625
- note?: string | undefined;
626
- empty?: string | undefined;
627
- showsUserMcp?: true | undefined;
563
+ } | {
564
+ kind: "peers";
565
+ since: string;
566
+ deadline: string;
567
+ detail: {
568
+ peerRunIds: string[];
569
+ };
570
+ } | {
571
+ kind: "subagents";
572
+ since: string;
573
+ deadline: string;
574
+ detail: {
575
+ running: number;
576
+ };
577
+ } | {
578
+ kind: "pr";
579
+ since: string;
580
+ deadline: string;
581
+ detail: {
582
+ number: number;
583
+ target: "checks" | "merge" | "merge_or_blocked";
584
+ checks?: {
585
+ name: string;
586
+ bucket: "cancel" | "fail" | "pass" | "pending" | "skipping";
587
+ }[] | undefined;
588
+ counts?: {
589
+ pass: number;
590
+ fail: number;
591
+ pending: number;
592
+ skipping: number;
593
+ cancel: number;
594
+ } | undefined;
595
+ truncated?: true | undefined;
596
+ };
597
+ } | {
598
+ kind: "process";
599
+ since: string;
600
+ deadline: string;
601
+ detail: {
602
+ pid: number;
603
+ note?: string | undefined;
604
+ };
605
+ } | {
606
+ kind: "timer";
607
+ since: string;
608
+ deadline: string;
609
+ detail: {
610
+ wakeAt: string;
611
+ note?: string | undefined;
612
+ };
613
+ } | undefined;
614
+ tool?: {
615
+ title: string;
616
+ toolKind: "delete" | "edit" | "execute" | "fetch" | "move" | "other" | "plan" | "read" | "search" | "task" | "think";
617
+ status: "completed" | "declined" | "failed" | "pending" | "running";
618
+ startedAt: string;
619
+ endedAt?: string | undefined;
620
+ } | undefined;
621
+ rate: number[];
622
+ error?: string | undefined;
623
+ revision: number;
624
+ collected: boolean;
628
625
  }[];
629
- };
630
- }[];
631
- };
632
- outputFormat: "json";
633
- status: import("hono/utils/http-status").ContentfulStatusCode;
634
- input: {};
635
- };
636
- };
637
- }, "/"> | import("hono/types").MergeSchemaPath<{
638
- "/models": {
639
- $get: {
640
- output: {
641
- error: string;
642
- code?: "invalid_input" | undefined;
643
- };
644
- outputFormat: "json";
645
- status: 400;
646
- input: {
647
- query: {
648
- runner: string | string[];
649
- profileId?: string | undefined;
650
- };
651
- };
652
- } | {
653
- output: {
654
- runner: string;
655
- models: {
656
- id: string;
657
- label: string;
658
- description: string;
659
- effortLevels?: import('../contract/index.js').EffortLevel[];
626
+ }[];
627
+ requests: {
628
+ requestId: string;
629
+ relationship: "family" | "peer";
630
+ senderRunId: string;
631
+ recipientRunId: string;
632
+ text: string;
633
+ senderTitle?: string | undefined;
634
+ recipientTitle?: string | undefined;
635
+ createdAt: string;
636
+ deadline?: string | undefined;
637
+ }[];
638
+ closed: {
639
+ requestId: string;
640
+ senderRunId: string;
641
+ recipientRunId: string;
642
+ status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
643
+ observedAt: string;
644
+ }[];
660
645
  }[];
661
- source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
662
- stale: boolean;
663
- reason?: string;
664
- };
665
- outputFormat: "json";
666
- status: import("hono/utils/http-status").ContentfulStatusCode;
667
- input: {
668
- query: {
669
- runner: string | string[];
670
- profileId?: string | undefined;
671
- };
672
- };
673
- } | {
674
- output: {
675
- error: string;
676
- };
677
- outputFormat: "json";
678
- status: 409;
679
- input: {
680
- query: {
681
- runner: string | string[];
682
- profileId?: string | undefined;
683
- };
684
- };
685
- } | {
686
- output: {
687
- error: string;
688
646
  };
689
647
  outputFormat: "json";
690
- status: 400;
648
+ status: 200;
691
649
  input: {
692
650
  query: {
693
- runner: string | string[];
694
- profileId?: string | undefined;
651
+ project?: string | undefined;
695
652
  };
696
653
  };
697
654
  };
@@ -2959,17 +2916,159 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2959
2916
  error: string;
2960
2917
  };
2961
2918
  outputFormat: "json";
2962
- status: 400 | 409 | 500 | 503;
2963
- input: {
2964
- json: {
2965
- name: string;
2966
- github?: {
2967
- owner: string;
2968
- template?: string | undefined;
2969
- } | undefined;
2970
- checkoutId?: string | undefined;
2971
- };
2972
- };
2919
+ status: 400 | 409 | 500 | 503;
2920
+ input: {
2921
+ json: {
2922
+ name: string;
2923
+ github?: {
2924
+ owner: string;
2925
+ template?: string | undefined;
2926
+ } | undefined;
2927
+ checkoutId?: string | undefined;
2928
+ };
2929
+ };
2930
+ };
2931
+ };
2932
+ }, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
2933
+ "/runner-install/:runner": {
2934
+ $get: {
2935
+ output: {
2936
+ error: string;
2937
+ code?: "invalid_input" | undefined;
2938
+ };
2939
+ outputFormat: "json";
2940
+ status: 400;
2941
+ input: {
2942
+ param: {
2943
+ runner: string;
2944
+ };
2945
+ };
2946
+ } | {
2947
+ output: {
2948
+ error: string;
2949
+ };
2950
+ outputFormat: "json";
2951
+ status: 409;
2952
+ input: {
2953
+ param: {
2954
+ runner: string;
2955
+ };
2956
+ };
2957
+ } | {
2958
+ output: {
2959
+ supported: boolean;
2960
+ installedVersion: string | null;
2961
+ latestVersion: string | null;
2962
+ updateAvailable: boolean;
2963
+ phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
2964
+ error: string | null;
2965
+ };
2966
+ outputFormat: "json";
2967
+ status: import("hono/utils/http-status").ContentfulStatusCode;
2968
+ input: {
2969
+ param: {
2970
+ runner: string;
2971
+ };
2972
+ };
2973
+ };
2974
+ };
2975
+ } & {
2976
+ "/runner-install/:runner": {
2977
+ $post: {
2978
+ output: {
2979
+ error: string;
2980
+ code?: "invalid_input" | undefined;
2981
+ };
2982
+ outputFormat: "json";
2983
+ status: 400;
2984
+ input: {
2985
+ param: {
2986
+ runner: string;
2987
+ };
2988
+ } & {
2989
+ json: {
2990
+ action: "check" | "install" | "remove" | "update";
2991
+ };
2992
+ };
2993
+ } | {
2994
+ output: {
2995
+ supported: boolean;
2996
+ installedVersion: string | null;
2997
+ latestVersion: string | null;
2998
+ updateAvailable: boolean;
2999
+ phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
3000
+ error: string | null;
3001
+ };
3002
+ outputFormat: "json";
3003
+ status: 202;
3004
+ input: {
3005
+ param: {
3006
+ runner: string;
3007
+ };
3008
+ } & {
3009
+ json: {
3010
+ action: "check" | "install" | "remove" | "update";
3011
+ };
3012
+ };
3013
+ } | {
3014
+ output: {
3015
+ error: string;
3016
+ };
3017
+ outputFormat: "json";
3018
+ status: 409;
3019
+ input: {
3020
+ param: {
3021
+ runner: string;
3022
+ };
3023
+ } & {
3024
+ json: {
3025
+ action: "check" | "install" | "remove" | "update";
3026
+ };
3027
+ };
3028
+ };
3029
+ };
3030
+ }, "/"> | {
3031
+ "/runners": {
3032
+ $get: {
3033
+ output: {
3034
+ runners: {
3035
+ id: string;
3036
+ displayName: string;
3037
+ modelListName: string;
3038
+ modelIdScope: "own" | "provider-spanning";
3039
+ pickerLabel: string;
3040
+ pickerDescription: string;
3041
+ icon: string;
3042
+ installHint: string;
3043
+ loginCommand: string;
3044
+ terminalLogin?: boolean | undefined;
3045
+ browserLogin?: boolean | undefined;
3046
+ managedInstall?: true | undefined;
3047
+ accountFolderExample?: string | undefined;
3048
+ models: {
3049
+ suggested: {
3050
+ id: string;
3051
+ label: string;
3052
+ desc: string;
3053
+ }[];
3054
+ retired: string[];
3055
+ };
3056
+ agentConfig: {
3057
+ label: string;
3058
+ note?: string | undefined;
3059
+ groups: {
3060
+ id: "mcp" | "memory" | "settings";
3061
+ label: string;
3062
+ note?: string | undefined;
3063
+ empty?: string | undefined;
3064
+ showsUserMcp?: true | undefined;
3065
+ }[];
3066
+ };
3067
+ }[];
3068
+ };
3069
+ outputFormat: "json";
3070
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3071
+ input: {};
2973
3072
  };
2974
3073
  };
2975
3074
  }, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
@@ -3307,6 +3406,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3307
3406
  };
3308
3407
  };
3309
3408
  };
3409
+ }, "/"> | import("hono/types").MergeSchemaPath<{
3410
+ "/reports/state": {
3411
+ $get: {
3412
+ output: {
3413
+ error: string;
3414
+ };
3415
+ outputFormat: "json";
3416
+ status: 409;
3417
+ input: {};
3418
+ } | {
3419
+ output: {
3420
+ epoch: string;
3421
+ generation: number;
3422
+ metadataGeneration: number;
3423
+ };
3424
+ outputFormat: "json";
3425
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3426
+ input: {};
3427
+ };
3428
+ };
3429
+ } & {
3430
+ "/reports": {
3431
+ $get: {
3432
+ output: {
3433
+ error: string;
3434
+ code?: "invalid_input" | undefined;
3435
+ };
3436
+ outputFormat: "json";
3437
+ status: 400;
3438
+ input: {
3439
+ query: {
3440
+ q?: string | undefined;
3441
+ before?: string | undefined;
3442
+ limit?: number | undefined;
3443
+ };
3444
+ };
3445
+ } | {
3446
+ output: {
3447
+ error: string;
3448
+ };
3449
+ outputFormat: "json";
3450
+ status: 409;
3451
+ input: {
3452
+ query: {
3453
+ q?: string | undefined;
3454
+ before?: string | undefined;
3455
+ limit?: number | undefined;
3456
+ };
3457
+ };
3458
+ } | {
3459
+ output: {
3460
+ error: string;
3461
+ };
3462
+ outputFormat: "json";
3463
+ status: 400;
3464
+ input: {
3465
+ query: {
3466
+ q?: string | undefined;
3467
+ before?: string | undefined;
3468
+ limit?: number | undefined;
3469
+ };
3470
+ };
3471
+ } | {
3472
+ output: {
3473
+ reports: {
3474
+ id: string;
3475
+ runId: string;
3476
+ name: string;
3477
+ title: string;
3478
+ createdAt: string;
3479
+ size: number;
3480
+ taskTitle: string;
3481
+ taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
3482
+ }[];
3483
+ nextCursor: string | null;
3484
+ total: number;
3485
+ };
3486
+ outputFormat: "json";
3487
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3488
+ input: {
3489
+ query: {
3490
+ q?: string | undefined;
3491
+ before?: string | undefined;
3492
+ limit?: number | undefined;
3493
+ };
3494
+ };
3495
+ };
3496
+ };
3310
3497
  }, "/"> | import("hono/types").MergeSchemaPath<{
3311
3498
  "/ui-state": {
3312
3499
  $get: {
@@ -3795,94 +3982,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3795
3982
  };
3796
3983
  };
3797
3984
  };
3798
- }, "/"> | import("hono/types").MergeSchemaPath<{
3799
- "/reports/state": {
3800
- $get: {
3801
- output: {
3802
- error: string;
3803
- };
3804
- outputFormat: "json";
3805
- status: 409;
3806
- input: {};
3807
- } | {
3808
- output: {
3809
- epoch: string;
3810
- generation: number;
3811
- metadataGeneration: number;
3812
- };
3813
- outputFormat: "json";
3814
- status: import("hono/utils/http-status").ContentfulStatusCode;
3815
- input: {};
3816
- };
3817
- };
3818
- } & {
3819
- "/reports": {
3820
- $get: {
3821
- output: {
3822
- error: string;
3823
- code?: "invalid_input" | undefined;
3824
- };
3825
- outputFormat: "json";
3826
- status: 400;
3827
- input: {
3828
- query: {
3829
- q?: string | undefined;
3830
- before?: string | undefined;
3831
- limit?: number | undefined;
3832
- };
3833
- };
3834
- } | {
3835
- output: {
3836
- error: string;
3837
- };
3838
- outputFormat: "json";
3839
- status: 409;
3840
- input: {
3841
- query: {
3842
- q?: string | undefined;
3843
- before?: string | undefined;
3844
- limit?: number | undefined;
3845
- };
3846
- };
3847
- } | {
3848
- output: {
3849
- error: string;
3850
- };
3851
- outputFormat: "json";
3852
- status: 400;
3853
- input: {
3854
- query: {
3855
- q?: string | undefined;
3856
- before?: string | undefined;
3857
- limit?: number | undefined;
3858
- };
3859
- };
3860
- } | {
3861
- output: {
3862
- reports: {
3863
- id: string;
3864
- runId: string;
3865
- name: string;
3866
- title: string;
3867
- createdAt: string;
3868
- size: number;
3869
- taskTitle: string;
3870
- taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
3871
- }[];
3872
- nextCursor: string | null;
3873
- total: number;
3874
- };
3875
- outputFormat: "json";
3876
- status: import("hono/utils/http-status").ContentfulStatusCode;
3877
- input: {
3878
- query: {
3879
- q?: string | undefined;
3880
- before?: string | undefined;
3881
- limit?: number | undefined;
3882
- };
3883
- };
3884
- };
3885
- };
3886
3985
  }, "/"> | import("hono/types").MergeSchemaPath<{
3887
3986
  "/worktrees": {
3888
3987
  $get: {
@@ -8358,22 +8457,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8358
8457
  "/runs/:id/worker-destroy": {
8359
8458
  $post: {
8360
8459
  output: {
8361
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
8362
- readonly error: string;
8363
- readonly modelChoices?: {
8364
- runner: string;
8365
- requestedModel: string;
8366
- availableModels: {
8367
- id: string;
8368
- label: string;
8369
- description: string;
8370
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
8371
- }[];
8372
- otherRunners: string[];
8373
- } | undefined;
8460
+ error: string;
8461
+ code?: "invalid_input" | undefined;
8374
8462
  };
8375
8463
  outputFormat: "json";
8376
- status: 400 | 401 | 403 | 409 | 503;
8464
+ status: 400;
8377
8465
  input: {
8378
8466
  query: {
8379
8467
  [x: string]: string | string[];
@@ -8389,11 +8477,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8389
8477
  };
8390
8478
  } | {
8391
8479
  output: {
8392
- error: string;
8393
- code?: "invalid_input" | undefined;
8480
+ workerId: string;
8481
+ state: "complete" | "incomplete";
8482
+ work?: {
8483
+ uncommittedFiles: number;
8484
+ commits: number;
8485
+ } | undefined;
8486
+ deleted?: ({
8487
+ kind: "worktree";
8488
+ path: string;
8489
+ } | {
8490
+ kind: "branch";
8491
+ ref: string;
8492
+ })[] | undefined;
8493
+ remaining: ("branch" | "process" | "worktree")[];
8494
+ error?: string | undefined;
8394
8495
  };
8395
8496
  outputFormat: "json";
8396
- status: 400;
8497
+ status: 200;
8397
8498
  input: {
8398
8499
  query: {
8399
8500
  [x: string]: string | string[];
@@ -8426,7 +8527,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8426
8527
  error?: string | undefined;
8427
8528
  };
8428
8529
  outputFormat: "json";
8429
- status: 200;
8530
+ status: 409;
8430
8531
  input: {
8431
8532
  query: {
8432
8533
  [x: string]: string | string[];
@@ -8442,24 +8543,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8442
8543
  };
8443
8544
  } | {
8444
8545
  output: {
8445
- workerId: string;
8446
- state: "complete" | "incomplete";
8447
- work?: {
8448
- uncommittedFiles: number;
8449
- commits: number;
8546
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
8547
+ readonly error: string;
8548
+ readonly modelChoices?: {
8549
+ runner: string;
8550
+ requestedModel: string;
8551
+ availableModels: {
8552
+ id: string;
8553
+ label: string;
8554
+ description: string;
8555
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
8556
+ }[];
8557
+ otherRunners: string[];
8450
8558
  } | undefined;
8451
- deleted?: ({
8452
- kind: "worktree";
8453
- path: string;
8454
- } | {
8455
- kind: "branch";
8456
- ref: string;
8457
- })[] | undefined;
8458
- remaining: ("branch" | "process" | "worktree")[];
8459
- error?: string | undefined;
8460
8559
  };
8461
8560
  outputFormat: "json";
8462
- status: 409;
8561
+ status: 400 | 401 | 403 | 409 | 503;
8463
8562
  input: {
8464
8563
  query: {
8465
8564
  [x: string]: string | string[];
@@ -19266,6 +19365,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19266
19365
  };
19267
19366
  };
19268
19367
  };
19368
+ }, "/"> | import("hono/types").MergeSchemaPath<{
19369
+ "/reports/state": {
19370
+ $get: {
19371
+ output: {
19372
+ error: string;
19373
+ };
19374
+ outputFormat: "json";
19375
+ status: 409;
19376
+ input: {};
19377
+ } | {
19378
+ output: {
19379
+ epoch: string;
19380
+ generation: number;
19381
+ metadataGeneration: number;
19382
+ };
19383
+ outputFormat: "json";
19384
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19385
+ input: {};
19386
+ };
19387
+ };
19388
+ } & {
19389
+ "/reports": {
19390
+ $get: {
19391
+ output: {
19392
+ error: string;
19393
+ code?: "invalid_input" | undefined;
19394
+ };
19395
+ outputFormat: "json";
19396
+ status: 400;
19397
+ input: {
19398
+ query: {
19399
+ q?: string | undefined;
19400
+ before?: string | undefined;
19401
+ limit?: number | undefined;
19402
+ };
19403
+ };
19404
+ } | {
19405
+ output: {
19406
+ error: string;
19407
+ };
19408
+ outputFormat: "json";
19409
+ status: 409;
19410
+ input: {
19411
+ query: {
19412
+ q?: string | undefined;
19413
+ before?: string | undefined;
19414
+ limit?: number | undefined;
19415
+ };
19416
+ };
19417
+ } | {
19418
+ output: {
19419
+ error: string;
19420
+ };
19421
+ outputFormat: "json";
19422
+ status: 400;
19423
+ input: {
19424
+ query: {
19425
+ q?: string | undefined;
19426
+ before?: string | undefined;
19427
+ limit?: number | undefined;
19428
+ };
19429
+ };
19430
+ } | {
19431
+ output: {
19432
+ reports: {
19433
+ id: string;
19434
+ runId: string;
19435
+ name: string;
19436
+ title: string;
19437
+ createdAt: string;
19438
+ size: number;
19439
+ taskTitle: string;
19440
+ taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
19441
+ }[];
19442
+ nextCursor: string | null;
19443
+ total: number;
19444
+ };
19445
+ outputFormat: "json";
19446
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19447
+ input: {
19448
+ query: {
19449
+ q?: string | undefined;
19450
+ before?: string | undefined;
19451
+ limit?: number | undefined;
19452
+ };
19453
+ };
19454
+ };
19455
+ };
19269
19456
  }, "/"> | import("hono/types").MergeSchemaPath<{
19270
19457
  "/ui-state": {
19271
19458
  $get: {
@@ -19754,94 +19941,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19754
19941
  };
19755
19942
  };
19756
19943
  };
19757
- }, "/"> | import("hono/types").MergeSchemaPath<{
19758
- "/reports/state": {
19759
- $get: {
19760
- output: {
19761
- error: string;
19762
- };
19763
- outputFormat: "json";
19764
- status: 409;
19765
- input: {};
19766
- } | {
19767
- output: {
19768
- epoch: string;
19769
- generation: number;
19770
- metadataGeneration: number;
19771
- };
19772
- outputFormat: "json";
19773
- status: import("hono/utils/http-status").ContentfulStatusCode;
19774
- input: {};
19775
- };
19776
- };
19777
- } & {
19778
- "/reports": {
19779
- $get: {
19780
- output: {
19781
- error: string;
19782
- code?: "invalid_input" | undefined;
19783
- };
19784
- outputFormat: "json";
19785
- status: 400;
19786
- input: {
19787
- query: {
19788
- q?: string | undefined;
19789
- before?: string | undefined;
19790
- limit?: number | undefined;
19791
- };
19792
- };
19793
- } | {
19794
- output: {
19795
- error: string;
19796
- };
19797
- outputFormat: "json";
19798
- status: 409;
19799
- input: {
19800
- query: {
19801
- q?: string | undefined;
19802
- before?: string | undefined;
19803
- limit?: number | undefined;
19804
- };
19805
- };
19806
- } | {
19807
- output: {
19808
- error: string;
19809
- };
19810
- outputFormat: "json";
19811
- status: 400;
19812
- input: {
19813
- query: {
19814
- q?: string | undefined;
19815
- before?: string | undefined;
19816
- limit?: number | undefined;
19817
- };
19818
- };
19819
- } | {
19820
- output: {
19821
- reports: {
19822
- id: string;
19823
- runId: string;
19824
- name: string;
19825
- title: string;
19826
- createdAt: string;
19827
- size: number;
19828
- taskTitle: string;
19829
- taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
19830
- }[];
19831
- nextCursor: string | null;
19832
- total: number;
19833
- };
19834
- outputFormat: "json";
19835
- status: import("hono/utils/http-status").ContentfulStatusCode;
19836
- input: {
19837
- query: {
19838
- q?: string | undefined;
19839
- before?: string | undefined;
19840
- limit?: number | undefined;
19841
- };
19842
- };
19843
- };
19844
- };
19845
19944
  }, "/"> | import("hono/types").MergeSchemaPath<{
19846
19945
  "/worktrees": {
19847
19946
  $get: {
@@ -24316,37 +24415,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24316
24415
  } & {
24317
24416
  "/runs/:id/worker-destroy": {
24318
24417
  $post: {
24319
- output: {
24320
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
24321
- readonly error: string;
24322
- readonly modelChoices?: {
24323
- runner: string;
24324
- requestedModel: string;
24325
- availableModels: {
24326
- id: string;
24327
- label: string;
24328
- description: string;
24329
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
24330
- }[];
24331
- otherRunners: string[];
24332
- } | undefined;
24333
- };
24334
- outputFormat: "json";
24335
- status: 400 | 401 | 403 | 409 | 503;
24336
- input: {
24337
- query: {
24338
- [x: string]: string | string[];
24339
- };
24340
- } & {
24341
- param: {
24342
- id: string;
24343
- };
24344
- } & {
24345
- json: {
24346
- discardWork?: true | undefined;
24347
- };
24348
- };
24349
- } | {
24350
24418
  output: {
24351
24419
  error: string;
24352
24420
  code?: "invalid_input" | undefined;
@@ -24432,6 +24500,37 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24432
24500
  discardWork?: true | undefined;
24433
24501
  };
24434
24502
  };
24503
+ } | {
24504
+ output: {
24505
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
24506
+ readonly error: string;
24507
+ readonly modelChoices?: {
24508
+ runner: string;
24509
+ requestedModel: string;
24510
+ availableModels: {
24511
+ id: string;
24512
+ label: string;
24513
+ description: string;
24514
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
24515
+ }[];
24516
+ otherRunners: string[];
24517
+ } | undefined;
24518
+ };
24519
+ outputFormat: "json";
24520
+ status: 400 | 401 | 403 | 409 | 503;
24521
+ input: {
24522
+ query: {
24523
+ [x: string]: string | string[];
24524
+ };
24525
+ } & {
24526
+ param: {
24527
+ id: string;
24528
+ };
24529
+ } & {
24530
+ json: {
24531
+ discardWork?: true | undefined;
24532
+ };
24533
+ };
24435
24534
  };
24436
24535
  };
24437
24536
  } & {