@hearsay-tools/squawk 0.18.0-pr4111.7882 → 0.18.0-pr4113.7894

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 (82) hide show
  1. package/dist/autosave-commit.js +46 -15
  2. package/dist/autosave-commit.js.map +1 -1
  3. package/dist/ci-wait/controller.d.ts +4 -4
  4. package/dist/cli-dispatch.d.ts +1 -2
  5. package/dist/cli-dispatch.js +7 -3
  6. package/dist/cli-dispatch.js.map +1 -1
  7. package/dist/core/runner-facts.d.ts +3 -2
  8. package/dist/core/runner-facts.js.map +1 -1
  9. package/dist/core/secret-redaction.d.ts +0 -2
  10. package/dist/core/secret-redaction.js +3 -11
  11. package/dist/core/secret-redaction.js.map +1 -1
  12. package/dist/core/ui-events.d.ts +3 -0
  13. package/dist/core/usage-limit.d.ts +2 -1
  14. package/dist/core/usage-limit.js +15 -1
  15. package/dist/core/usage-limit.js.map +1 -1
  16. package/dist/delegation/routes.d.ts +65 -65
  17. package/dist/delegation/transport.d.ts +14 -14
  18. package/dist/index.js +42 -36
  19. package/dist/index.js.map +1 -1
  20. package/dist/legacy-runs.d.ts +6 -5
  21. package/dist/legacy-runs.js +16 -3
  22. package/dist/legacy-runs.js.map +1 -1
  23. package/dist/runners/acp/events.d.ts +1 -1
  24. package/dist/runners/acp/events.js +6 -4
  25. package/dist/runners/acp/events.js.map +1 -1
  26. package/dist/runners/acp/protocol.d.ts +2 -1
  27. package/dist/runners/antigravity/antigravity-runner.d.ts +1 -1
  28. package/dist/runners/antigravity/antigravity-session.d.ts +12 -0
  29. package/dist/runners/antigravity/antigravity-session.js +65 -22
  30. package/dist/runners/antigravity/antigravity-session.js.map +1 -1
  31. package/dist/runners/antigravity/facts.d.ts +1 -1
  32. package/dist/runners/antigravity/facts.js +3 -1
  33. package/dist/runners/antigravity/facts.js.map +1 -1
  34. package/dist/runners/antigravity/mock.d.ts +2 -2
  35. package/dist/runners/antigravity/mock.js +2 -2
  36. package/dist/runners/antigravity/mock.js.map +1 -1
  37. package/dist/runners/antigravity/spec-support.js +1 -1
  38. package/dist/runners/antigravity/spec-support.js.map +1 -1
  39. package/dist/runners/antigravity/subagent-guard.d.ts +17 -0
  40. package/dist/runners/antigravity/subagent-guard.js +38 -0
  41. package/dist/runners/antigravity/subagent-guard.js.map +1 -0
  42. package/dist/runners/antigravity/tool-transcript.d.ts +98 -0
  43. package/dist/runners/antigravity/tool-transcript.js +313 -0
  44. package/dist/runners/antigravity/tool-transcript.js.map +1 -0
  45. package/dist/runners/antigravity/wire-updates.d.ts +2 -1
  46. package/dist/runners/antigravity/wire-updates.js +7 -4
  47. package/dist/runners/antigravity/wire-updates.js.map +1 -1
  48. package/dist/runs/project-run-connection.d.ts +2 -1
  49. package/dist/runs/project-run-connection.js +4 -1
  50. package/dist/runs/project-run-connection.js.map +1 -1
  51. package/dist/runs/project-run-sources.d.ts +2 -2
  52. package/dist/runs/project-run-sources.js +4 -3
  53. package/dist/runs/project-run-sources.js.map +1 -1
  54. package/dist/runs/run-database-migrations.js +41 -0
  55. package/dist/runs/run-database-migrations.js.map +1 -1
  56. package/dist/runs/run-database-version.d.ts +3 -2
  57. package/dist/runs/run-database-version.js +3 -2
  58. package/dist/runs/run-database-version.js.map +1 -1
  59. package/dist/runs/run-database.d.ts +1 -1
  60. package/dist/runs/run-database.js +60 -45
  61. package/dist/runs/run-database.js.map +1 -1
  62. package/dist/runs/run-index-cache.d.ts +10 -0
  63. package/dist/runs/run-index-cache.js +45 -0
  64. package/dist/runs/run-index-cache.js.map +1 -0
  65. package/dist/runs/run-index.js +12 -6
  66. package/dist/runs/run-index.js.map +1 -1
  67. package/dist/runs/run-redaction.d.ts +0 -2
  68. package/dist/runs/run-redaction.js +7 -18
  69. package/dist/runs/run-redaction.js.map +1 -1
  70. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  71. package/dist/server/runner-install-routes.d.ts +10 -10
  72. package/dist/server/server.d.ts +482 -482
  73. package/dist/subcommands.d.ts +2 -0
  74. package/dist/subcommands.js +23 -2
  75. package/dist/subcommands.js.map +1 -1
  76. package/dist/task-cli/cli.js +2 -2
  77. package/dist/task-cli/cli.js.map +1 -1
  78. package/dist/workflows/run/turn-nudges.d.ts +11 -19
  79. package/dist/workflows/run/turn-nudges.js +4 -4
  80. package/dist/workflows/run/turn-nudges.js.map +1 -1
  81. package/package.json +4 -4
  82. package/scripts/mock-acp.mjs +33 -8
@@ -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
+ "/models": {
186
+ $get: {
187
+ output: {
188
+ error: string;
189
+ code?: "invalid_input" | undefined;
190
+ };
191
+ outputFormat: "json";
192
+ status: 400;
193
+ input: {
194
+ query: {
195
+ runner: string | string[];
196
+ profileId?: string | undefined;
197
+ };
198
+ };
199
+ } | {
200
+ output: {
201
+ runner: string;
202
+ models: {
203
+ id: string;
204
+ label: string;
205
+ description: string;
206
+ effortLevels?: import('../contract/index.js').EffortLevel[];
207
+ }[];
208
+ source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
209
+ stale: boolean;
210
+ reason?: string;
211
+ };
212
+ outputFormat: "json";
213
+ status: import("hono/utils/http-status").ContentfulStatusCode;
214
+ input: {
215
+ query: {
216
+ runner: string | string[];
217
+ profileId?: string | undefined;
218
+ };
219
+ };
220
+ } | {
221
+ output: {
222
+ error: string;
223
+ };
224
+ outputFormat: "json";
225
+ status: 409;
226
+ input: {
227
+ query: {
228
+ runner: string | string[];
229
+ profileId?: string | undefined;
230
+ };
231
+ };
232
+ } | {
233
+ output: {
234
+ error: string;
235
+ };
236
+ outputFormat: "json";
237
+ status: 400;
238
+ input: {
239
+ query: {
240
+ runner: string | string[];
241
+ profileId?: string | undefined;
242
+ };
243
+ };
244
+ };
245
+ };
246
+ }, "/"> | import("hono/types").MergeSchemaPath<{
247
+ "/health": {
248
+ $get: {
249
+ output: {
250
+ version: string;
251
+ latestVersion?: string | undefined;
252
+ repoRoot: string;
253
+ repo: {
254
+ root: string;
255
+ branch: string;
256
+ remote?: string | undefined;
257
+ } | null;
258
+ checks: {
259
+ name: string;
260
+ available: boolean;
261
+ version?: string;
262
+ hint?: string;
263
+ }[];
264
+ defaultRunner: string;
265
+ forge: {
266
+ available?: boolean | undefined;
267
+ reason?: string;
268
+ kind: "github";
269
+ } | null;
270
+ capabilities: {
271
+ localHandoff: boolean;
272
+ settingsAdmin: boolean;
273
+ remoteSettingsAdmin: boolean;
274
+ automations: boolean;
275
+ preview: boolean;
276
+ tokenMetrics: boolean;
277
+ tokenUsageMetrics: boolean;
278
+ costMetrics: boolean;
279
+ };
280
+ projects: {
281
+ id: string;
282
+ name: string;
283
+ }[];
284
+ bootProject: string;
285
+ };
286
+ outputFormat: "json";
287
+ status: import("hono/utils/http-status").ContentfulStatusCode;
288
+ input: {};
289
+ };
290
+ };
291
+ }, "/"> | import("hono/types").MergeSchemaPath<{
292
+ "/fs/browse": {
293
+ $get: {
294
+ output: {
295
+ error: string;
296
+ code?: "invalid_input" | undefined;
297
+ };
298
+ outputFormat: "json";
299
+ status: 400;
300
+ input: {
301
+ query: {
302
+ path?: string | undefined;
303
+ showHidden?: string | undefined;
304
+ };
305
+ };
306
+ } | {
307
+ output: {
308
+ error: string;
309
+ };
310
+ outputFormat: "json";
311
+ status: 400 | 403 | 404;
312
+ input: {
313
+ query: {
314
+ path?: string | undefined;
315
+ showHidden?: string | undefined;
316
+ };
317
+ };
318
+ } | {
319
+ output: {
320
+ path: string;
321
+ parent: string | null;
322
+ dirs: {
323
+ name: string;
324
+ path: string;
325
+ isRepo: boolean;
326
+ }[];
327
+ truncated: boolean;
328
+ };
329
+ outputFormat: "json";
330
+ status: import("hono/utils/http-status").ContentfulStatusCode;
331
+ input: {
332
+ query: {
333
+ path?: string | undefined;
334
+ showHidden?: string | undefined;
335
+ };
336
+ };
337
+ };
338
+ };
339
+ }, "/"> | import("hono/types").MergeSchemaPath<{
340
+ "/automation-checks/:checkId": {
341
+ $get: {
342
+ output: {
343
+ id: string;
344
+ automationId: string;
345
+ mode: 'preview' | 'execute';
346
+ status: 'queued' | 'running' | 'complete' | 'error';
347
+ createdAt: string;
348
+ completedAt?: string;
349
+ matches?: number;
350
+ truncated?: boolean;
351
+ error?: string;
352
+ };
353
+ outputFormat: "json";
354
+ status: import("hono/utils/http-status").ContentfulStatusCode;
355
+ input: {
356
+ param: {
357
+ checkId: string;
358
+ };
359
+ };
360
+ } | {
361
+ output: {
362
+ error: string;
363
+ };
364
+ outputFormat: "json";
365
+ status: 404;
366
+ input: {
367
+ param: {
368
+ checkId: string;
369
+ };
370
+ };
371
+ };
372
+ };
373
+ }, "/"> | import("hono/types").MergeSchemaPath<{
374
+ "/workspace/events": {
375
+ $get: {
376
+ output: {};
377
+ outputFormat: string;
378
+ status: import("hono/utils/http-status").StatusCode;
379
+ input: {
380
+ query: {
381
+ runs?: "summary" | undefined;
382
+ };
383
+ };
384
+ } | {
385
+ output: {
386
+ error: string;
387
+ code?: "invalid_input" | undefined;
388
+ };
389
+ outputFormat: "json";
390
+ status: 400;
391
+ input: {
392
+ query: {
393
+ runs?: "summary" | undefined;
394
+ };
395
+ };
396
+ };
397
+ };
398
+ }, "/"> | import("hono/types").MergeSchemaPath<{
185
399
  "/workspace/activity": {
186
400
  $get: {
187
401
  output: {
@@ -439,220 +653,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
439
653
  };
440
654
  };
441
655
  };
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
- "/models": {
596
- $get: {
597
- output: {
598
- error: string;
599
- code?: "invalid_input" | undefined;
600
- };
601
- outputFormat: "json";
602
- status: 400;
603
- input: {
604
- query: {
605
- runner: string | string[];
606
- profileId?: string | undefined;
607
- };
608
- };
609
- } | {
610
- output: {
611
- runner: string;
612
- models: {
613
- id: string;
614
- label: string;
615
- description: string;
616
- effortLevels?: import('../contract/index.js').EffortLevel[];
617
- }[];
618
- source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
619
- stale: boolean;
620
- reason?: string;
621
- };
622
- outputFormat: "json";
623
- status: import("hono/utils/http-status").ContentfulStatusCode;
624
- input: {
625
- query: {
626
- runner: string | string[];
627
- profileId?: string | undefined;
628
- };
629
- };
630
- } | {
631
- output: {
632
- error: string;
633
- };
634
- outputFormat: "json";
635
- status: 409;
636
- input: {
637
- query: {
638
- runner: string | string[];
639
- profileId?: string | undefined;
640
- };
641
- };
642
- } | {
643
- output: {
644
- error: string;
645
- };
646
- outputFormat: "json";
647
- status: 400;
648
- input: {
649
- query: {
650
- runner: string | string[];
651
- profileId?: string | undefined;
652
- };
653
- };
654
- };
655
- };
656
656
  }, "/"> | import("hono/types").MergeSchemaPath<{
657
657
  "/workspace/runs-index": {
658
658
  $get: {
@@ -3406,6 +3406,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3406
3406
  };
3407
3407
  };
3408
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
+ };
3409
3497
  }, "/"> | import("hono/types").MergeSchemaPath<{
3410
3498
  "/ui-state": {
3411
3499
  $get: {
@@ -3894,94 +3982,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3894
3982
  };
3895
3983
  };
3896
3984
  };
3897
- }, "/"> | import("hono/types").MergeSchemaPath<{
3898
- "/reports/state": {
3899
- $get: {
3900
- output: {
3901
- error: string;
3902
- };
3903
- outputFormat: "json";
3904
- status: 409;
3905
- input: {};
3906
- } | {
3907
- output: {
3908
- epoch: string;
3909
- generation: number;
3910
- metadataGeneration: number;
3911
- };
3912
- outputFormat: "json";
3913
- status: import("hono/utils/http-status").ContentfulStatusCode;
3914
- input: {};
3915
- };
3916
- };
3917
- } & {
3918
- "/reports": {
3919
- $get: {
3920
- output: {
3921
- error: string;
3922
- code?: "invalid_input" | undefined;
3923
- };
3924
- outputFormat: "json";
3925
- status: 400;
3926
- input: {
3927
- query: {
3928
- q?: string | undefined;
3929
- before?: string | undefined;
3930
- limit?: number | undefined;
3931
- };
3932
- };
3933
- } | {
3934
- output: {
3935
- error: string;
3936
- };
3937
- outputFormat: "json";
3938
- status: 409;
3939
- input: {
3940
- query: {
3941
- q?: string | undefined;
3942
- before?: string | undefined;
3943
- limit?: number | undefined;
3944
- };
3945
- };
3946
- } | {
3947
- output: {
3948
- error: string;
3949
- };
3950
- outputFormat: "json";
3951
- status: 400;
3952
- input: {
3953
- query: {
3954
- q?: string | undefined;
3955
- before?: string | undefined;
3956
- limit?: number | undefined;
3957
- };
3958
- };
3959
- } | {
3960
- output: {
3961
- reports: {
3962
- id: string;
3963
- runId: string;
3964
- name: string;
3965
- title: string;
3966
- createdAt: string;
3967
- size: number;
3968
- taskTitle: string;
3969
- taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
3970
- }[];
3971
- nextCursor: string | null;
3972
- total: number;
3973
- };
3974
- outputFormat: "json";
3975
- status: import("hono/utils/http-status").ContentfulStatusCode;
3976
- input: {
3977
- query: {
3978
- q?: string | undefined;
3979
- before?: string | undefined;
3980
- limit?: number | undefined;
3981
- };
3982
- };
3983
- };
3984
- };
3985
3985
  }, "/"> | import("hono/types").MergeSchemaPath<{
3986
3986
  "/worktrees": {
3987
3987
  $get: {
@@ -4608,19 +4608,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4608
4608
  } & {
4609
4609
  "/repo/commit/:sha": {
4610
4610
  $get: {
4611
- output: string;
4612
- outputFormat: "text";
4613
- status: import("hono/utils/http-status").ContentfulStatusCode;
4614
- input: {
4615
- query: {
4616
- structured?: string | undefined;
4617
- };
4618
- } & {
4619
- param: {
4620
- sha: string;
4621
- };
4622
- };
4623
- } | {
4624
4611
  output: {
4625
4612
  error: string;
4626
4613
  code?: "invalid_input" | undefined;
@@ -4684,6 +4671,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4684
4671
  sha: string;
4685
4672
  };
4686
4673
  };
4674
+ } | {
4675
+ output: string;
4676
+ outputFormat: "text";
4677
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4678
+ input: {
4679
+ query: {
4680
+ structured?: string | undefined;
4681
+ };
4682
+ } & {
4683
+ param: {
4684
+ sha: string;
4685
+ };
4686
+ };
4687
4687
  };
4688
4688
  };
4689
4689
  } & {
@@ -8457,11 +8457,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8457
8457
  "/runs/:id/worker-destroy": {
8458
8458
  $post: {
8459
8459
  output: {
8460
- error: string;
8461
- code?: "invalid_input" | undefined;
8460
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
8461
+ readonly error: string;
8462
+ readonly modelChoices?: {
8463
+ runner: string;
8464
+ requestedModel: string;
8465
+ availableModels: {
8466
+ id: string;
8467
+ label: string;
8468
+ description: string;
8469
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
8470
+ }[];
8471
+ otherRunners: string[];
8472
+ } | undefined;
8462
8473
  };
8463
8474
  outputFormat: "json";
8464
- status: 400;
8475
+ status: 400 | 401 | 403 | 409 | 503;
8465
8476
  input: {
8466
8477
  query: {
8467
8478
  [x: string]: string | string[];
@@ -8477,22 +8488,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8477
8488
  };
8478
8489
  } | {
8479
8490
  output: {
8480
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
8481
- readonly error: string;
8482
- readonly modelChoices?: {
8483
- runner: string;
8484
- requestedModel: string;
8485
- availableModels: {
8486
- id: string;
8487
- label: string;
8488
- description: string;
8489
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
8490
- }[];
8491
- otherRunners: string[];
8492
- } | undefined;
8491
+ error: string;
8492
+ code?: "invalid_input" | undefined;
8493
8493
  };
8494
8494
  outputFormat: "json";
8495
- status: 400 | 401 | 403 | 409 | 503;
8495
+ status: 400;
8496
8496
  input: {
8497
8497
  query: {
8498
8498
  [x: string]: string | string[];
@@ -18485,20 +18485,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18485
18485
  } & {
18486
18486
  "/runs/:id/handoff": {
18487
18487
  $get: {
18488
- output: string;
18489
- outputFormat: "text";
18490
- status: 200;
18488
+ output: {
18489
+ error: string;
18490
+ };
18491
+ outputFormat: "json";
18492
+ status: 404;
18491
18493
  input: {
18492
18494
  param: {
18493
18495
  id: string;
18494
18496
  };
18495
18497
  };
18496
18498
  } | {
18497
- output: {
18498
- error: string;
18499
- };
18500
- outputFormat: "json";
18501
- status: 404;
18499
+ output: string;
18500
+ outputFormat: "text";
18501
+ status: 200;
18502
18502
  input: {
18503
18503
  param: {
18504
18504
  id: string;
@@ -18536,20 +18536,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18536
18536
  } & {
18537
18537
  "/runs/:id/diff": {
18538
18538
  $get: {
18539
- output: string;
18540
- outputFormat: "text";
18541
- status: import("hono/utils/http-status").ContentfulStatusCode;
18539
+ output: {
18540
+ error: string;
18541
+ };
18542
+ outputFormat: "json";
18543
+ status: 404 | 409;
18542
18544
  input: {
18543
18545
  param: {
18544
18546
  id: string;
18545
18547
  };
18546
18548
  };
18547
18549
  } | {
18548
- output: {
18549
- error: string;
18550
- };
18551
- outputFormat: "json";
18552
- status: 404 | 409;
18550
+ output: string;
18551
+ outputFormat: "text";
18552
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18553
18553
  input: {
18554
18554
  param: {
18555
18555
  id: string;
@@ -19365,6 +19365,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19365
19365
  };
19366
19366
  };
19367
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
+ };
19368
19456
  }, "/"> | import("hono/types").MergeSchemaPath<{
19369
19457
  "/ui-state": {
19370
19458
  $get: {
@@ -19853,94 +19941,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19853
19941
  };
19854
19942
  };
19855
19943
  };
19856
- }, "/"> | import("hono/types").MergeSchemaPath<{
19857
- "/reports/state": {
19858
- $get: {
19859
- output: {
19860
- error: string;
19861
- };
19862
- outputFormat: "json";
19863
- status: 409;
19864
- input: {};
19865
- } | {
19866
- output: {
19867
- epoch: string;
19868
- generation: number;
19869
- metadataGeneration: number;
19870
- };
19871
- outputFormat: "json";
19872
- status: import("hono/utils/http-status").ContentfulStatusCode;
19873
- input: {};
19874
- };
19875
- };
19876
- } & {
19877
- "/reports": {
19878
- $get: {
19879
- output: {
19880
- error: string;
19881
- code?: "invalid_input" | undefined;
19882
- };
19883
- outputFormat: "json";
19884
- status: 400;
19885
- input: {
19886
- query: {
19887
- q?: string | undefined;
19888
- before?: string | undefined;
19889
- limit?: number | undefined;
19890
- };
19891
- };
19892
- } | {
19893
- output: {
19894
- error: string;
19895
- };
19896
- outputFormat: "json";
19897
- status: 409;
19898
- input: {
19899
- query: {
19900
- q?: string | undefined;
19901
- before?: string | undefined;
19902
- limit?: number | undefined;
19903
- };
19904
- };
19905
- } | {
19906
- output: {
19907
- error: string;
19908
- };
19909
- outputFormat: "json";
19910
- status: 400;
19911
- input: {
19912
- query: {
19913
- q?: string | undefined;
19914
- before?: string | undefined;
19915
- limit?: number | undefined;
19916
- };
19917
- };
19918
- } | {
19919
- output: {
19920
- reports: {
19921
- id: string;
19922
- runId: string;
19923
- name: string;
19924
- title: string;
19925
- createdAt: string;
19926
- size: number;
19927
- taskTitle: string;
19928
- taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
19929
- }[];
19930
- nextCursor: string | null;
19931
- total: number;
19932
- };
19933
- outputFormat: "json";
19934
- status: import("hono/utils/http-status").ContentfulStatusCode;
19935
- input: {
19936
- query: {
19937
- q?: string | undefined;
19938
- before?: string | undefined;
19939
- limit?: number | undefined;
19940
- };
19941
- };
19942
- };
19943
- };
19944
19944
  }, "/"> | import("hono/types").MergeSchemaPath<{
19945
19945
  "/worktrees": {
19946
19946
  $get: {
@@ -20567,19 +20567,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20567
20567
  } & {
20568
20568
  "/repo/commit/:sha": {
20569
20569
  $get: {
20570
- output: string;
20571
- outputFormat: "text";
20572
- status: import("hono/utils/http-status").ContentfulStatusCode;
20573
- input: {
20574
- query: {
20575
- structured?: string | undefined;
20576
- };
20577
- } & {
20578
- param: {
20579
- sha: string;
20580
- };
20581
- };
20582
- } | {
20583
20570
  output: {
20584
20571
  error: string;
20585
20572
  code?: "invalid_input" | undefined;
@@ -20643,6 +20630,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20643
20630
  sha: string;
20644
20631
  };
20645
20632
  };
20633
+ } | {
20634
+ output: string;
20635
+ outputFormat: "text";
20636
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20637
+ input: {
20638
+ query: {
20639
+ structured?: string | undefined;
20640
+ };
20641
+ } & {
20642
+ param: {
20643
+ sha: string;
20644
+ };
20645
+ };
20646
20646
  };
20647
20647
  };
20648
20648
  } & {
@@ -24416,11 +24416,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24416
24416
  "/runs/:id/worker-destroy": {
24417
24417
  $post: {
24418
24418
  output: {
24419
- error: string;
24420
- code?: "invalid_input" | undefined;
24419
+ readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
24420
+ readonly error: string;
24421
+ readonly modelChoices?: {
24422
+ runner: string;
24423
+ requestedModel: string;
24424
+ availableModels: {
24425
+ id: string;
24426
+ label: string;
24427
+ description: string;
24428
+ effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
24429
+ }[];
24430
+ otherRunners: string[];
24431
+ } | undefined;
24421
24432
  };
24422
24433
  outputFormat: "json";
24423
- status: 400;
24434
+ status: 400 | 401 | 403 | 409 | 503;
24424
24435
  input: {
24425
24436
  query: {
24426
24437
  [x: string]: string | string[];
@@ -24436,22 +24447,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24436
24447
  };
24437
24448
  } | {
24438
24449
  output: {
24439
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
24440
- readonly error: string;
24441
- readonly modelChoices?: {
24442
- runner: string;
24443
- requestedModel: string;
24444
- availableModels: {
24445
- id: string;
24446
- label: string;
24447
- description: string;
24448
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
24449
- }[];
24450
- otherRunners: string[];
24451
- } | undefined;
24450
+ error: string;
24451
+ code?: "invalid_input" | undefined;
24452
24452
  };
24453
24453
  outputFormat: "json";
24454
- status: 400 | 401 | 403 | 409 | 503;
24454
+ status: 400;
24455
24455
  input: {
24456
24456
  query: {
24457
24457
  [x: string]: string | string[];
@@ -34444,20 +34444,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34444
34444
  } & {
34445
34445
  "/runs/:id/handoff": {
34446
34446
  $get: {
34447
- output: string;
34448
- outputFormat: "text";
34449
- status: 200;
34447
+ output: {
34448
+ error: string;
34449
+ };
34450
+ outputFormat: "json";
34451
+ status: 404;
34450
34452
  input: {
34451
34453
  param: {
34452
34454
  id: string;
34453
34455
  };
34454
34456
  };
34455
34457
  } | {
34456
- output: {
34457
- error: string;
34458
- };
34459
- outputFormat: "json";
34460
- status: 404;
34458
+ output: string;
34459
+ outputFormat: "text";
34460
+ status: 200;
34461
34461
  input: {
34462
34462
  param: {
34463
34463
  id: string;
@@ -34495,20 +34495,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34495
34495
  } & {
34496
34496
  "/runs/:id/diff": {
34497
34497
  $get: {
34498
- output: string;
34499
- outputFormat: "text";
34500
- status: import("hono/utils/http-status").ContentfulStatusCode;
34498
+ output: {
34499
+ error: string;
34500
+ };
34501
+ outputFormat: "json";
34502
+ status: 404 | 409;
34501
34503
  input: {
34502
34504
  param: {
34503
34505
  id: string;
34504
34506
  };
34505
34507
  };
34506
34508
  } | {
34507
- output: {
34508
- error: string;
34509
- };
34510
- outputFormat: "json";
34511
- status: 404 | 409;
34509
+ output: string;
34510
+ outputFormat: "text";
34511
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34512
34512
  input: {
34513
34513
  param: {
34514
34514
  id: string;