@hearsay-tools/squawk 0.18.0-pr4063.7747 → 0.18.0-pr4064.7746

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 (69) hide show
  1. package/dist/contract/index.d.ts +1 -0
  2. package/dist/contract/index.js +34 -14
  3. package/dist/contract/runner-install.d.ts +41 -0
  4. package/dist/contract/runners.d.ts +2 -0
  5. package/dist/core/managed-cli-source.d.ts +7 -0
  6. package/dist/core/managed-cli-source.js +2 -0
  7. package/dist/core/managed-cli-source.js.map +1 -0
  8. package/dist/core/runner-definition.d.ts +3 -0
  9. package/dist/core/runner-definition.js.map +1 -1
  10. package/dist/delegation/routes.d.ts +76 -76
  11. package/dist/managed-install/cli-archive.d.ts +4 -0
  12. package/dist/managed-install/cli-archive.js +84 -0
  13. package/dist/managed-install/cli-archive.js.map +1 -0
  14. package/dist/managed-install/cli-installation.d.ts +26 -0
  15. package/dist/managed-install/cli-installation.js +119 -0
  16. package/dist/managed-install/cli-installation.js.map +1 -0
  17. package/dist/managed-install/cli-manifest.d.ts +11 -0
  18. package/dist/managed-install/cli-manifest.js +37 -0
  19. package/dist/managed-install/cli-manifest.js.map +1 -0
  20. package/dist/managed-install/cli-storage.d.ts +36 -0
  21. package/dist/managed-install/cli-storage.js +189 -0
  22. package/dist/managed-install/cli-storage.js.map +1 -0
  23. package/dist/runners/antigravity/cli.d.ts +6 -2
  24. package/dist/runners/antigravity/cli.js +5 -1
  25. package/dist/runners/antigravity/cli.js.map +1 -1
  26. package/dist/server/live-routes.d.ts +6 -6
  27. package/dist/server/models-routes.d.ts +13 -13
  28. package/dist/server/runner-install-routes.d.ts +105 -0
  29. package/dist/server/runner-install-routes.js +52 -0
  30. package/dist/server/runner-install-routes.js.map +1 -0
  31. package/dist/server/runners-routes.d.ts +104 -1
  32. package/dist/server/runners-routes.js +7 -3
  33. package/dist/server/runners-routes.js.map +1 -1
  34. package/dist/server/server.d.ts +652 -553
  35. package/dist/server/server.js +1 -1
  36. package/dist/server/server.js.map +1 -1
  37. package/dist/server-install/steps.js +4 -0
  38. package/dist/server-install/steps.js.map +1 -1
  39. package/package.json +4 -4
  40. package/web/dist/assets/{activity-motion-CHWLFQui.js → activity-motion-BSsgWgJe.js} +1 -1
  41. package/web/dist/assets/{activity-route-CDZ8vEvw.js → activity-route-q9sOR4Wb.js} +1 -1
  42. package/web/dist/assets/{commit-diff-panel-BiFrj_Kg.js → commit-diff-panel-Btiebm6D.js} +1 -1
  43. package/web/dist/assets/{diff-Bp_ZwIlK.js → diff-DNIkChMc.js} +2 -2
  44. package/web/dist/assets/{diff-view-BLWY32aP.js → diff-view-jhjgH27W.js} +1 -1
  45. package/web/dist/assets/{file-preview-BMb-p58M.js → file-preview-De5UjJTG.js} +1 -1
  46. package/web/dist/assets/{git-toolbar-BLOs2P23.js → git-toolbar-Ol1142ti.js} +1 -1
  47. package/web/dist/assets/{github-DLd49gwL.js → github-BylUlaAL.js} +1 -1
  48. package/web/dist/assets/{global-activity-route-C6qUGiQ-.js → global-activity-route-DI3QqvQL.js} +1 -1
  49. package/web/dist/assets/{index-D9Yu2XLO.js → index-Dbb0-RtK.js} +11 -11
  50. package/web/dist/assets/{markdown-HUI2AGRH.js → markdown-D3aDM4O5.js} +1 -1
  51. package/web/dist/assets/{picker-pill-Bmxuo6r5.js → picker-pill-DW8uRjlV.js} +1 -1
  52. package/web/dist/assets/{preview-pane-connected-Br0FHHb0.js → preview-pane-connected-C-f5rJGZ.js} +1 -1
  53. package/web/dist/assets/{prompt-template-menu-Fb8KyZ2w.js → prompt-template-menu-ntY16IJm.js} +1 -1
  54. package/web/dist/assets/{repo-git-CXxRkRrr.js → repo-git-D-j1tyQj.js} +1 -1
  55. package/web/dist/assets/{report-reader-DK9rxnu_.js → report-reader-0-k8FTCM.js} +1 -1
  56. package/web/dist/assets/{reports-DyqYeCfW.js → reports--2BDXGSj.js} +1 -1
  57. package/web/dist/assets/{run-header-DI2Zp-1g.js → run-header-B69_lBSt.js} +1 -1
  58. package/web/dist/assets/runners-BZb4ezwE.js +1 -0
  59. package/web/dist/assets/{skills-BsojRHiF.js → skills-CzyYKL6l.js} +1 -1
  60. package/web/dist/assets/{task-changes-D0fhNQ8e.js → task-changes-D1Oi0yoX.js} +1 -1
  61. package/web/dist/assets/{task-commits-DfPvhSgU.js → task-commits-DV91fVHF.js} +1 -1
  62. package/web/dist/assets/{task-files-Do9eS-uO.js → task-files-_ap-MUjL.js} +1 -1
  63. package/web/dist/assets/{task-github-item-IDiDedZh.js → task-github-item-9oibIBa8.js} +1 -1
  64. package/web/dist/assets/{task-thread-BK0lz7hd.js → task-thread-D8IfseH4.js} +1 -1
  65. package/web/dist/assets/{thread-state-D2FZC_j9.js → thread-state-BLS3a1XA.js} +1 -1
  66. package/web/dist/assets/{use-hand-to-agent-state-CntaNwZk.js → use-hand-to-agent-state-DaPTyzCV.js} +1 -1
  67. package/web/dist/assets/{workflows-BnU1T_ay.js → workflows-BAIP3wxi.js} +1 -1
  68. package/web/dist/index.html +4 -4
  69. 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: {
@@ -439,263 +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
- "/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;
628
- }[];
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[];
660
- }[];
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
- };
689
- outputFormat: "json";
690
- status: 400;
691
- input: {
692
- query: {
693
- runner: string | string[];
694
- profileId?: string | undefined;
695
- };
696
- };
697
- };
698
- };
699
656
  }, "/"> | import("hono/types").MergeSchemaPath<{
700
657
  "/workspace/runs-index": {
701
658
  $get: {
@@ -2972,6 +2929,148 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2972
2929
  };
2973
2930
  };
2974
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: {};
3072
+ };
3073
+ };
2975
3074
  }, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
2976
3075
  "/workspace/run-event-batches": {
2977
3076
  $post: {
@@ -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: {
@@ -4509,19 +4608,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4509
4608
  } & {
4510
4609
  "/repo/commit/:sha": {
4511
4610
  $get: {
4512
- output: string;
4513
- outputFormat: "text";
4514
- status: import("hono/utils/http-status").ContentfulStatusCode;
4515
- input: {
4516
- query: {
4517
- structured?: string | undefined;
4518
- };
4519
- } & {
4520
- param: {
4521
- sha: string;
4522
- };
4523
- };
4524
- } | {
4525
4611
  output: {
4526
4612
  error: string;
4527
4613
  code?: "invalid_input" | undefined;
@@ -4585,6 +4671,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4585
4671
  sha: string;
4586
4672
  };
4587
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
+ };
4588
4687
  };
4589
4688
  };
4590
4689
  } & {
@@ -8357,37 +8456,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8357
8456
  } & {
8358
8457
  "/runs/:id/worker-destroy": {
8359
8458
  $post: {
8360
- 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;
8374
- };
8375
- outputFormat: "json";
8376
- status: 400 | 401 | 403 | 409 | 503;
8377
- input: {
8378
- query: {
8379
- [x: string]: string | string[];
8380
- };
8381
- } & {
8382
- param: {
8383
- id: string;
8384
- };
8385
- } & {
8386
- json: {
8387
- discardWork?: true | undefined;
8388
- };
8389
- };
8390
- } | {
8391
8459
  output: {
8392
8460
  error: string;
8393
8461
  code?: "invalid_input" | undefined;
@@ -8473,6 +8541,37 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8473
8541
  discardWork?: true | undefined;
8474
8542
  };
8475
8543
  };
8544
+ } | {
8545
+ output: {
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[];
8558
+ } | undefined;
8559
+ };
8560
+ outputFormat: "json";
8561
+ status: 400 | 401 | 403 | 409 | 503;
8562
+ input: {
8563
+ query: {
8564
+ [x: string]: string | string[];
8565
+ };
8566
+ } & {
8567
+ param: {
8568
+ id: string;
8569
+ };
8570
+ } & {
8571
+ json: {
8572
+ discardWork?: true | undefined;
8573
+ };
8574
+ };
8476
8575
  };
8477
8576
  };
8478
8577
  } & {
@@ -18386,20 +18485,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18386
18485
  } & {
18387
18486
  "/runs/:id/handoff": {
18388
18487
  $get: {
18389
- output: string;
18390
- outputFormat: "text";
18391
- status: 200;
18488
+ output: {
18489
+ error: string;
18490
+ };
18491
+ outputFormat: "json";
18492
+ status: 404;
18392
18493
  input: {
18393
18494
  param: {
18394
18495
  id: string;
18395
18496
  };
18396
18497
  };
18397
18498
  } | {
18398
- output: {
18399
- error: string;
18400
- };
18401
- outputFormat: "json";
18402
- status: 404;
18499
+ output: string;
18500
+ outputFormat: "text";
18501
+ status: 200;
18403
18502
  input: {
18404
18503
  param: {
18405
18504
  id: string;
@@ -18437,20 +18536,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18437
18536
  } & {
18438
18537
  "/runs/:id/diff": {
18439
18538
  $get: {
18440
- output: string;
18441
- outputFormat: "text";
18442
- status: import("hono/utils/http-status").ContentfulStatusCode;
18539
+ output: {
18540
+ error: string;
18541
+ };
18542
+ outputFormat: "json";
18543
+ status: 404 | 409;
18443
18544
  input: {
18444
18545
  param: {
18445
18546
  id: string;
18446
18547
  };
18447
18548
  };
18448
18549
  } | {
18449
- output: {
18450
- error: string;
18451
- };
18452
- outputFormat: "json";
18453
- status: 404 | 409;
18550
+ output: string;
18551
+ outputFormat: "text";
18552
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18454
18553
  input: {
18455
18554
  param: {
18456
18555
  id: 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: {
@@ -20468,19 +20567,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20468
20567
  } & {
20469
20568
  "/repo/commit/:sha": {
20470
20569
  $get: {
20471
- output: string;
20472
- outputFormat: "text";
20473
- status: import("hono/utils/http-status").ContentfulStatusCode;
20474
- input: {
20475
- query: {
20476
- structured?: string | undefined;
20477
- };
20478
- } & {
20479
- param: {
20480
- sha: string;
20481
- };
20482
- };
20483
- } | {
20484
20570
  output: {
20485
20571
  error: string;
20486
20572
  code?: "invalid_input" | undefined;
@@ -20544,6 +20630,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20544
20630
  sha: string;
20545
20631
  };
20546
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
+ };
20547
20646
  };
20548
20647
  };
20549
20648
  } & {
@@ -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
  } & {
@@ -34345,20 +34444,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34345
34444
  } & {
34346
34445
  "/runs/:id/handoff": {
34347
34446
  $get: {
34348
- output: string;
34349
- outputFormat: "text";
34350
- status: 200;
34447
+ output: {
34448
+ error: string;
34449
+ };
34450
+ outputFormat: "json";
34451
+ status: 404;
34351
34452
  input: {
34352
34453
  param: {
34353
34454
  id: string;
34354
34455
  };
34355
34456
  };
34356
34457
  } | {
34357
- output: {
34358
- error: string;
34359
- };
34360
- outputFormat: "json";
34361
- status: 404;
34458
+ output: string;
34459
+ outputFormat: "text";
34460
+ status: 200;
34362
34461
  input: {
34363
34462
  param: {
34364
34463
  id: string;
@@ -34396,20 +34495,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34396
34495
  } & {
34397
34496
  "/runs/:id/diff": {
34398
34497
  $get: {
34399
- output: string;
34400
- outputFormat: "text";
34401
- status: import("hono/utils/http-status").ContentfulStatusCode;
34498
+ output: {
34499
+ error: string;
34500
+ };
34501
+ outputFormat: "json";
34502
+ status: 404 | 409;
34402
34503
  input: {
34403
34504
  param: {
34404
34505
  id: string;
34405
34506
  };
34406
34507
  };
34407
34508
  } | {
34408
- output: {
34409
- error: string;
34410
- };
34411
- outputFormat: "json";
34412
- status: 404 | 409;
34509
+ output: string;
34510
+ outputFormat: "text";
34511
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34413
34512
  input: {
34414
34513
  param: {
34415
34514
  id: string;