@hearsay-tools/squawk 0.18.0-dev.7893 → 0.18.0-dev.7904

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 (65) hide show
  1. package/dist/core/secret-redaction.d.ts +2 -0
  2. package/dist/core/secret-redaction.js +11 -3
  3. package/dist/core/secret-redaction.js.map +1 -1
  4. package/dist/delegation/routes.d.ts +65 -65
  5. package/dist/runs/project-run-connection.d.ts +2 -1
  6. package/dist/runs/project-run-connection.js +4 -1
  7. package/dist/runs/project-run-connection.js.map +1 -1
  8. package/dist/runs/project-run-sources.d.ts +2 -2
  9. package/dist/runs/project-run-sources.js +4 -3
  10. package/dist/runs/project-run-sources.js.map +1 -1
  11. package/dist/runs/run-database-migrations.js +41 -0
  12. package/dist/runs/run-database-migrations.js.map +1 -1
  13. package/dist/runs/run-database-version.d.ts +3 -2
  14. package/dist/runs/run-database-version.js +3 -2
  15. package/dist/runs/run-database-version.js.map +1 -1
  16. package/dist/runs/run-database.d.ts +1 -1
  17. package/dist/runs/run-database.js +60 -45
  18. package/dist/runs/run-database.js.map +1 -1
  19. package/dist/runs/run-index-cache.d.ts +10 -0
  20. package/dist/runs/run-index-cache.js +45 -0
  21. package/dist/runs/run-index-cache.js.map +1 -0
  22. package/dist/runs/run-index.js +12 -6
  23. package/dist/runs/run-index.js.map +1 -1
  24. package/dist/runs/run-redaction.d.ts +2 -0
  25. package/dist/runs/run-redaction.js +18 -7
  26. package/dist/runs/run-redaction.js.map +1 -1
  27. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  28. package/dist/server/runner-install-routes.d.ts +10 -10
  29. package/dist/server/server.d.ts +448 -448
  30. package/package.json +4 -4
  31. package/web/dist/assets/{activity-motion-BNen0Yj8.js → activity-motion-DKY_Cd-w.js} +1 -1
  32. package/web/dist/assets/{activity-route-BGQMI1Yu.js → activity-route-CFOKEc61.js} +1 -1
  33. package/web/dist/assets/{commit-diff-panel-Cr-XVbz_.js → commit-diff-panel-BiNUdbd8.js} +1 -1
  34. package/web/dist/assets/design-icons-CzEoMH9c.js +1 -0
  35. package/web/dist/assets/{dialog-DSwzMeY3.js → dialog-B3EUmMBQ.js} +1 -1
  36. package/web/dist/assets/{diff-DqLaONaB.js → diff-WtmvA0fu.js} +2 -2
  37. package/web/dist/assets/{diff-controls-C8aqhty4.js → diff-controls-CA6lS7Yp.js} +1 -1
  38. package/web/dist/assets/{diff-view-CHj5zMlT.js → diff-view-BG91xPpY.js} +1 -1
  39. package/web/dist/assets/{dropdown-menu-D4zMgwkC.js → dropdown-menu-Dso6iTId.js} +1 -1
  40. package/web/dist/assets/{file-preview-C9yv3267.js → file-preview-YCD-8e6S.js} +1 -1
  41. package/web/dist/assets/{git-toolbar-uHPKACQa.js → git-toolbar-B5YAUWQ7.js} +1 -1
  42. package/web/dist/assets/{github-Fy6-Zf4b.js → github-DHeSsbSc.js} +1 -1
  43. package/web/dist/assets/{global-activity-route-CpAGVfbb.js → global-activity-route-CMq49K4H.js} +1 -1
  44. package/web/dist/assets/{index-Dn02NPUV.js → index-C3pMUosD.js} +4 -4
  45. package/web/dist/assets/{markdown-9j2EqN9q.js → markdown-OTuqNLUj.js} +1 -1
  46. package/web/dist/assets/{picker-pill-D8SyrTxD.js → picker-pill-BhCKGHAn.js} +1 -1
  47. package/web/dist/assets/{preview-pane-connected-CBKK0crt.js → preview-pane-connected-BvOk8924.js} +1 -1
  48. package/web/dist/assets/{prompt-template-menu-DT_0Pyd5.js → prompt-template-menu-YN8kTo5-.js} +1 -1
  49. package/web/dist/assets/{reference-chip-DwiE3MIR.js → reference-chip-BuUCKkhB.js} +1 -1
  50. package/web/dist/assets/{repo-git-CjKFvYdb.js → repo-git-B2M2bD92.js} +1 -1
  51. package/web/dist/assets/{report-reader--BXJs1DJ.js → report-reader-DeyzG6gC.js} +1 -1
  52. package/web/dist/assets/{reports-CZw5ztdC.js → reports-Ca8vCNah.js} +1 -1
  53. package/web/dist/assets/{run-header-BOEjnB1z.js → run-header-DP7P0saA.js} +1 -1
  54. package/web/dist/assets/{skills-aBp_7vVU.js → skills-5ODbLwjd.js} +1 -1
  55. package/web/dist/assets/{task-changes-B0u392zf.js → task-changes-BkeLycTI.js} +1 -1
  56. package/web/dist/assets/{task-commits-DzWFfo43.js → task-commits-Db8B7L6o.js} +1 -1
  57. package/web/dist/assets/{task-files-DTWfdMRi.js → task-files-CFVAB4Bl.js} +1 -1
  58. package/web/dist/assets/{task-github-item-CFWE3MpX.js → task-github-item-z295iYNd.js} +1 -1
  59. package/web/dist/assets/{task-thread-vYwAvLtU.js → task-thread-UXl-CsYi.js} +1 -1
  60. package/web/dist/assets/{thread-state-zGEm4Ym4.js → thread-state-BsbjdGGk.js} +1 -1
  61. package/web/dist/assets/{use-desktop-DN7wbSS7.js → use-desktop-BqVEJ3dr.js} +1 -1
  62. package/web/dist/assets/{use-hand-to-agent-state-C9YTgLEG.js → use-hand-to-agent-state-DXfR9R5L.js} +1 -1
  63. package/web/dist/assets/{workflows-C8EnR0NU.js → workflows-BCuRK6_a.js} +1 -1
  64. package/web/dist/index.html +8 -8
  65. package/web/dist/assets/design-icons-B6-0w7Aw.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
+ "/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,6 +4608,19 @@ 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
+ } | {
4611
4624
  output: {
4612
4625
  error: string;
4613
4626
  code?: "invalid_input" | undefined;
@@ -4671,19 +4684,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4671
4684
  sha: string;
4672
4685
  };
4673
4686
  };
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
  } & {
@@ -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: {
18489
- error: string;
18490
- };
18491
- outputFormat: "json";
18492
- status: 404;
18488
+ output: string;
18489
+ outputFormat: "text";
18490
+ status: 200;
18493
18491
  input: {
18494
18492
  param: {
18495
18493
  id: string;
18496
18494
  };
18497
18495
  };
18498
18496
  } | {
18499
- output: string;
18500
- outputFormat: "text";
18501
- status: 200;
18497
+ output: {
18498
+ error: string;
18499
+ };
18500
+ outputFormat: "json";
18501
+ status: 404;
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: {
18540
- error: string;
18541
- };
18542
- outputFormat: "json";
18543
- status: 404 | 409;
18539
+ output: string;
18540
+ outputFormat: "text";
18541
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18544
18542
  input: {
18545
18543
  param: {
18546
18544
  id: string;
18547
18545
  };
18548
18546
  };
18549
18547
  } | {
18550
- output: string;
18551
- outputFormat: "text";
18552
- status: import("hono/utils/http-status").ContentfulStatusCode;
18548
+ output: {
18549
+ error: string;
18550
+ };
18551
+ outputFormat: "json";
18552
+ status: 404 | 409;
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,6 +20567,19 @@ 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
+ } | {
20570
20583
  output: {
20571
20584
  error: string;
20572
20585
  code?: "invalid_input" | undefined;
@@ -20630,19 +20643,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20630
20643
  sha: string;
20631
20644
  };
20632
20645
  };
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
  } & {
@@ -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: {
34448
- error: string;
34449
- };
34450
- outputFormat: "json";
34451
- status: 404;
34447
+ output: string;
34448
+ outputFormat: "text";
34449
+ status: 200;
34452
34450
  input: {
34453
34451
  param: {
34454
34452
  id: string;
34455
34453
  };
34456
34454
  };
34457
34455
  } | {
34458
- output: string;
34459
- outputFormat: "text";
34460
- status: 200;
34456
+ output: {
34457
+ error: string;
34458
+ };
34459
+ outputFormat: "json";
34460
+ status: 404;
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: {
34499
- error: string;
34500
- };
34501
- outputFormat: "json";
34502
- status: 404 | 409;
34498
+ output: string;
34499
+ outputFormat: "text";
34500
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34503
34501
  input: {
34504
34502
  param: {
34505
34503
  id: string;
34506
34504
  };
34507
34505
  };
34508
34506
  } | {
34509
- output: string;
34510
- outputFormat: "text";
34511
- status: import("hono/utils/http-status").ContentfulStatusCode;
34507
+ output: {
34508
+ error: string;
34509
+ };
34510
+ outputFormat: "json";
34511
+ status: 404 | 409;
34512
34512
  input: {
34513
34513
  param: {
34514
34514
  id: string;