@hearsay-tools/squawk 0.18.0-dev.7710 → 0.18.0-dev.7726

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 (42) hide show
  1. package/dist/ci-wait/controller.d.ts +42 -42
  2. package/dist/core/runner-definition.d.ts +1 -1
  3. package/dist/delegation/transport.d.ts +65 -65
  4. package/dist/server/brand-file-routes.d.ts +7 -0
  5. package/dist/server/brand-file-routes.js +19 -0
  6. package/dist/server/brand-file-routes.js.map +1 -0
  7. package/dist/server/server.d.ts +566 -566
  8. package/dist/server/server.js +2 -7
  9. package/dist/server/server.js.map +1 -1
  10. package/dist/server/static-ui.js +7 -4
  11. package/dist/server/static-ui.js.map +1 -1
  12. package/dist/server/web-app-manifest.d.ts +23 -0
  13. package/dist/server/web-app-manifest.js +27 -0
  14. package/dist/server/web-app-manifest.js.map +1 -0
  15. package/package.json +4 -4
  16. package/web/dist/app-icon.png +0 -0
  17. package/web/dist/assets/{activity-motion-4jefGnf3.js → activity-motion-CHWLFQui.js} +1 -1
  18. package/web/dist/assets/{activity-route-CrgEEOkP.js → activity-route-CDZ8vEvw.js} +1 -1
  19. package/web/dist/assets/{commit-diff-panel-BhqIhVpi.js → commit-diff-panel-BiFrj_Kg.js} +1 -1
  20. package/web/dist/assets/{diff-Dtz4yPu-.js → diff-Bp_ZwIlK.js} +2 -2
  21. package/web/dist/assets/{diff-view-01iQrxA3.js → diff-view-BLWY32aP.js} +1 -1
  22. package/web/dist/assets/{file-preview-Bqu0JXBY.js → file-preview-BMb-p58M.js} +1 -1
  23. package/web/dist/assets/{git-toolbar-zEjeF-_V.js → git-toolbar-BLOs2P23.js} +1 -1
  24. package/web/dist/assets/{github-D3a22EyV.js → github-DLd49gwL.js} +1 -1
  25. package/web/dist/assets/{global-activity-route-DXD818_k.js → global-activity-route-C6qUGiQ-.js} +1 -1
  26. package/web/dist/assets/{index-DPA7Ibhf.js → index-D9Yu2XLO.js} +11 -11
  27. package/web/dist/assets/{markdown-Dzq31k8-.js → markdown-HUI2AGRH.js} +1 -1
  28. package/web/dist/assets/{preview-pane-connected-TaIGMKvt.js → preview-pane-connected-Br0FHHb0.js} +1 -1
  29. package/web/dist/assets/{repo-git-BvN7c_-7.js → repo-git-CXxRkRrr.js} +1 -1
  30. package/web/dist/assets/{report-reader-BEGToSIA.js → report-reader-DK9rxnu_.js} +1 -1
  31. package/web/dist/assets/{reports-D61rDO35.js → reports-DyqYeCfW.js} +1 -1
  32. package/web/dist/assets/{run-header-gwQQqs03.js → run-header-DI2Zp-1g.js} +1 -1
  33. package/web/dist/assets/{skills-DB3DAhWt.js → skills-BsojRHiF.js} +1 -1
  34. package/web/dist/assets/{task-changes-C4Hp9Bog.js → task-changes-D0fhNQ8e.js} +1 -1
  35. package/web/dist/assets/{task-commits-IGZ1CJcy.js → task-commits-DfPvhSgU.js} +1 -1
  36. package/web/dist/assets/{task-files-CBrQO4v2.js → task-files-Do9eS-uO.js} +1 -1
  37. package/web/dist/assets/{task-github-item-BJwFCJMl.js → task-github-item-IDiDedZh.js} +1 -1
  38. package/web/dist/assets/{task-thread-Dkn8HN1R.js → task-thread-BK0lz7hd.js} +1 -1
  39. package/web/dist/assets/{thread-state-DVfKElYJ.js → thread-state-D2FZC_j9.js} +1 -1
  40. package/web/dist/assets/{use-hand-to-agent-state-ChF_oDo3.js → use-hand-to-agent-state-CntaNwZk.js} +1 -1
  41. package/web/dist/assets/{workflows-BTzKBfs-.js → workflows-BnU1T_ay.js} +1 -1
  42. package/web/dist/index.html +13 -1
@@ -182,263 +182,6 @@ 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<{
399
- "/runners": {
400
- $get: {
401
- output: {
402
- runners: {
403
- id: string;
404
- displayName: string;
405
- modelListName: string;
406
- modelIdScope: "own" | "provider-spanning";
407
- pickerLabel: string;
408
- pickerDescription: string;
409
- icon: string;
410
- installHint: string;
411
- loginCommand: string;
412
- terminalLogin?: boolean | undefined;
413
- browserLogin?: boolean | undefined;
414
- accountFolderExample?: string | undefined;
415
- models: {
416
- suggested: {
417
- id: string;
418
- label: string;
419
- desc: string;
420
- }[];
421
- retired: string[];
422
- };
423
- agentConfig: {
424
- label: string;
425
- note?: string | undefined;
426
- groups: {
427
- id: "mcp" | "memory" | "settings";
428
- label: string;
429
- note?: string | undefined;
430
- empty?: string | undefined;
431
- showsUserMcp?: true | undefined;
432
- }[];
433
- };
434
- }[];
435
- };
436
- outputFormat: "json";
437
- status: import("hono/utils/http-status").ContentfulStatusCode;
438
- input: {};
439
- };
440
- };
441
- }, "/"> | import("hono/types").MergeSchemaPath<{
442
185
  "/workspace/activity": {
443
186
  $get: {
444
187
  output: {
@@ -696,6 +439,263 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
696
439
  };
697
440
  };
698
441
  };
442
+ }, "/"> | import("hono/types").MergeSchemaPath<{
443
+ "/health": {
444
+ $get: {
445
+ output: {
446
+ version: string;
447
+ latestVersion?: string | undefined;
448
+ repoRoot: string;
449
+ repo: {
450
+ root: string;
451
+ branch: string;
452
+ remote?: string | undefined;
453
+ } | null;
454
+ checks: {
455
+ name: string;
456
+ available: boolean;
457
+ version?: string;
458
+ hint?: string;
459
+ }[];
460
+ defaultRunner: string;
461
+ forge: {
462
+ available?: boolean | undefined;
463
+ reason?: string;
464
+ kind: "github";
465
+ } | null;
466
+ capabilities: {
467
+ localHandoff: boolean;
468
+ settingsAdmin: boolean;
469
+ remoteSettingsAdmin: boolean;
470
+ automations: boolean;
471
+ preview: boolean;
472
+ tokenMetrics: boolean;
473
+ tokenUsageMetrics: boolean;
474
+ costMetrics: boolean;
475
+ };
476
+ projects: {
477
+ id: string;
478
+ name: string;
479
+ }[];
480
+ bootProject: string;
481
+ };
482
+ outputFormat: "json";
483
+ status: import("hono/utils/http-status").ContentfulStatusCode;
484
+ input: {};
485
+ };
486
+ };
487
+ }, "/"> | import("hono/types").MergeSchemaPath<{
488
+ "/fs/browse": {
489
+ $get: {
490
+ output: {
491
+ error: string;
492
+ code?: "invalid_input" | undefined;
493
+ };
494
+ outputFormat: "json";
495
+ status: 400;
496
+ input: {
497
+ query: {
498
+ path?: string | undefined;
499
+ showHidden?: string | undefined;
500
+ };
501
+ };
502
+ } | {
503
+ output: {
504
+ error: string;
505
+ };
506
+ outputFormat: "json";
507
+ status: 400 | 403 | 404;
508
+ input: {
509
+ query: {
510
+ path?: string | undefined;
511
+ showHidden?: string | undefined;
512
+ };
513
+ };
514
+ } | {
515
+ output: {
516
+ path: string;
517
+ parent: string | null;
518
+ dirs: {
519
+ name: string;
520
+ path: string;
521
+ isRepo: boolean;
522
+ }[];
523
+ truncated: boolean;
524
+ };
525
+ outputFormat: "json";
526
+ status: import("hono/utils/http-status").ContentfulStatusCode;
527
+ input: {
528
+ query: {
529
+ path?: string | undefined;
530
+ showHidden?: string | undefined;
531
+ };
532
+ };
533
+ };
534
+ };
535
+ }, "/"> | import("hono/types").MergeSchemaPath<{
536
+ "/automation-checks/:checkId": {
537
+ $get: {
538
+ output: {
539
+ id: string;
540
+ automationId: string;
541
+ mode: 'preview' | 'execute';
542
+ status: 'queued' | 'running' | 'complete' | 'error';
543
+ createdAt: string;
544
+ completedAt?: string;
545
+ matches?: number;
546
+ truncated?: boolean;
547
+ error?: string;
548
+ };
549
+ outputFormat: "json";
550
+ status: import("hono/utils/http-status").ContentfulStatusCode;
551
+ input: {
552
+ param: {
553
+ checkId: string;
554
+ };
555
+ };
556
+ } | {
557
+ output: {
558
+ error: string;
559
+ };
560
+ outputFormat: "json";
561
+ status: 404;
562
+ input: {
563
+ param: {
564
+ checkId: string;
565
+ };
566
+ };
567
+ };
568
+ };
569
+ }, "/"> | import("hono/types").MergeSchemaPath<{
570
+ "/workspace/events": {
571
+ $get: {
572
+ output: {};
573
+ outputFormat: string;
574
+ status: import("hono/utils/http-status").StatusCode;
575
+ input: {
576
+ query: {
577
+ runs?: "summary" | undefined;
578
+ };
579
+ };
580
+ } | {
581
+ output: {
582
+ error: string;
583
+ code?: "invalid_input" | undefined;
584
+ };
585
+ outputFormat: "json";
586
+ status: 400;
587
+ input: {
588
+ query: {
589
+ runs?: "summary" | undefined;
590
+ };
591
+ };
592
+ };
593
+ };
594
+ }, "/"> | import("hono/types").MergeSchemaPath<{
595
+ "/runners": {
596
+ $get: {
597
+ output: {
598
+ runners: {
599
+ id: string;
600
+ displayName: string;
601
+ modelListName: string;
602
+ modelIdScope: "own" | "provider-spanning";
603
+ pickerLabel: string;
604
+ pickerDescription: string;
605
+ icon: string;
606
+ installHint: string;
607
+ loginCommand: string;
608
+ terminalLogin?: boolean | undefined;
609
+ browserLogin?: boolean | undefined;
610
+ accountFolderExample?: string | undefined;
611
+ models: {
612
+ suggested: {
613
+ id: string;
614
+ label: string;
615
+ desc: string;
616
+ }[];
617
+ retired: string[];
618
+ };
619
+ agentConfig: {
620
+ label: string;
621
+ note?: string | undefined;
622
+ groups: {
623
+ id: "mcp" | "memory" | "settings";
624
+ label: string;
625
+ note?: string | undefined;
626
+ empty?: string | undefined;
627
+ showsUserMcp?: true | undefined;
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
699
  }, "/"> | import("hono/types").MergeSchemaPath<{
700
700
  "/workspace/runs-index": {
701
701
  $get: {
@@ -991,6 +991,223 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
991
991
  };
992
992
  };
993
993
  };
994
+ }, "/"> | import("hono/types").MergeSchemaPath<{
995
+ "/providers/sign-in/start": {
996
+ $post: {
997
+ output: {
998
+ error: string;
999
+ };
1000
+ outputFormat: "json";
1001
+ status: 409;
1002
+ input: {
1003
+ json: {
1004
+ provider: string;
1005
+ profileId?: string | undefined;
1006
+ };
1007
+ };
1008
+ } | {
1009
+ output: {
1010
+ error: string;
1011
+ };
1012
+ outputFormat: "json";
1013
+ status: 400;
1014
+ input: {
1015
+ json: {
1016
+ provider: string;
1017
+ profileId?: string | undefined;
1018
+ };
1019
+ };
1020
+ } | {
1021
+ output: {
1022
+ id: string;
1023
+ state: "waiting";
1024
+ url: string;
1025
+ } | {
1026
+ id: string;
1027
+ state: "cancelled" | "connected";
1028
+ } | {
1029
+ id: string;
1030
+ state: "failed";
1031
+ error: string;
1032
+ };
1033
+ outputFormat: "json";
1034
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1035
+ input: {
1036
+ json: {
1037
+ provider: string;
1038
+ profileId?: string | undefined;
1039
+ };
1040
+ };
1041
+ };
1042
+ };
1043
+ } & {
1044
+ "/providers/sign-in/:id": {
1045
+ $get: {
1046
+ output: {
1047
+ error: string;
1048
+ code?: "invalid_input" | undefined;
1049
+ };
1050
+ outputFormat: "json";
1051
+ status: 400;
1052
+ input: {
1053
+ param: {
1054
+ id: string;
1055
+ };
1056
+ };
1057
+ } | {
1058
+ output: {
1059
+ error: string;
1060
+ };
1061
+ outputFormat: "json";
1062
+ status: 404;
1063
+ input: {
1064
+ param: {
1065
+ id: string;
1066
+ };
1067
+ };
1068
+ } | {
1069
+ output: {
1070
+ id: string;
1071
+ state: "waiting";
1072
+ url: string;
1073
+ } | {
1074
+ id: string;
1075
+ state: "cancelled" | "connected";
1076
+ } | {
1077
+ id: string;
1078
+ state: "failed";
1079
+ error: string;
1080
+ };
1081
+ outputFormat: "json";
1082
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1083
+ input: {
1084
+ param: {
1085
+ id: string;
1086
+ };
1087
+ };
1088
+ };
1089
+ };
1090
+ } & {
1091
+ "/providers/sign-in/:id/redirect": {
1092
+ $post: {
1093
+ output: {
1094
+ error: string;
1095
+ code?: "invalid_input" | undefined;
1096
+ };
1097
+ outputFormat: "json";
1098
+ status: 400;
1099
+ input: {
1100
+ param: {
1101
+ id: string;
1102
+ };
1103
+ } & {
1104
+ json: {
1105
+ redirectUrl: string;
1106
+ };
1107
+ };
1108
+ } | {
1109
+ output: {
1110
+ error: string;
1111
+ };
1112
+ outputFormat: "json";
1113
+ status: 404;
1114
+ input: {
1115
+ param: {
1116
+ id: string;
1117
+ };
1118
+ } & {
1119
+ json: {
1120
+ redirectUrl: string;
1121
+ };
1122
+ };
1123
+ } | {
1124
+ output: {
1125
+ error: string;
1126
+ };
1127
+ outputFormat: "json";
1128
+ status: 409;
1129
+ input: {
1130
+ param: {
1131
+ id: string;
1132
+ };
1133
+ } & {
1134
+ json: {
1135
+ redirectUrl: string;
1136
+ };
1137
+ };
1138
+ } | {
1139
+ output: {
1140
+ id: string;
1141
+ state: "waiting";
1142
+ url: string;
1143
+ } | {
1144
+ id: string;
1145
+ state: "cancelled" | "connected";
1146
+ } | {
1147
+ id: string;
1148
+ state: "failed";
1149
+ error: string;
1150
+ };
1151
+ outputFormat: "json";
1152
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1153
+ input: {
1154
+ param: {
1155
+ id: string;
1156
+ };
1157
+ } & {
1158
+ json: {
1159
+ redirectUrl: string;
1160
+ };
1161
+ };
1162
+ };
1163
+ };
1164
+ } & {
1165
+ "/providers/sign-in/:id": {
1166
+ $delete: {
1167
+ output: {
1168
+ error: string;
1169
+ code?: "invalid_input" | undefined;
1170
+ };
1171
+ outputFormat: "json";
1172
+ status: 400;
1173
+ input: {
1174
+ param: {
1175
+ id: string;
1176
+ };
1177
+ };
1178
+ } | {
1179
+ output: {
1180
+ error: string;
1181
+ };
1182
+ outputFormat: "json";
1183
+ status: 404;
1184
+ input: {
1185
+ param: {
1186
+ id: string;
1187
+ };
1188
+ };
1189
+ } | {
1190
+ output: {
1191
+ id: string;
1192
+ state: "waiting";
1193
+ url: string;
1194
+ } | {
1195
+ id: string;
1196
+ state: "cancelled" | "connected";
1197
+ } | {
1198
+ id: string;
1199
+ state: "failed";
1200
+ error: string;
1201
+ };
1202
+ outputFormat: "json";
1203
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1204
+ input: {
1205
+ param: {
1206
+ id: string;
1207
+ };
1208
+ };
1209
+ };
1210
+ };
994
1211
  }, "/"> | import("hono/types").MergeSchemaPath<{
995
1212
  "/providers/status": {
996
1213
  $get: {
@@ -1508,223 +1725,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
1508
1725
  };
1509
1726
  };
1510
1727
  };
1511
- }, "/"> | import("hono/types").MergeSchemaPath<{
1512
- "/providers/sign-in/start": {
1513
- $post: {
1514
- output: {
1515
- error: string;
1516
- };
1517
- outputFormat: "json";
1518
- status: 409;
1519
- input: {
1520
- json: {
1521
- provider: string;
1522
- profileId?: string | undefined;
1523
- };
1524
- };
1525
- } | {
1526
- output: {
1527
- error: string;
1528
- };
1529
- outputFormat: "json";
1530
- status: 400;
1531
- input: {
1532
- json: {
1533
- provider: string;
1534
- profileId?: string | undefined;
1535
- };
1536
- };
1537
- } | {
1538
- output: {
1539
- id: string;
1540
- state: "waiting";
1541
- url: string;
1542
- } | {
1543
- id: string;
1544
- state: "cancelled" | "connected";
1545
- } | {
1546
- id: string;
1547
- state: "failed";
1548
- error: string;
1549
- };
1550
- outputFormat: "json";
1551
- status: import("hono/utils/http-status").ContentfulStatusCode;
1552
- input: {
1553
- json: {
1554
- provider: string;
1555
- profileId?: string | undefined;
1556
- };
1557
- };
1558
- };
1559
- };
1560
- } & {
1561
- "/providers/sign-in/:id": {
1562
- $get: {
1563
- output: {
1564
- error: string;
1565
- code?: "invalid_input" | undefined;
1566
- };
1567
- outputFormat: "json";
1568
- status: 400;
1569
- input: {
1570
- param: {
1571
- id: string;
1572
- };
1573
- };
1574
- } | {
1575
- output: {
1576
- error: string;
1577
- };
1578
- outputFormat: "json";
1579
- status: 404;
1580
- input: {
1581
- param: {
1582
- id: string;
1583
- };
1584
- };
1585
- } | {
1586
- output: {
1587
- id: string;
1588
- state: "waiting";
1589
- url: string;
1590
- } | {
1591
- id: string;
1592
- state: "cancelled" | "connected";
1593
- } | {
1594
- id: string;
1595
- state: "failed";
1596
- error: string;
1597
- };
1598
- outputFormat: "json";
1599
- status: import("hono/utils/http-status").ContentfulStatusCode;
1600
- input: {
1601
- param: {
1602
- id: string;
1603
- };
1604
- };
1605
- };
1606
- };
1607
- } & {
1608
- "/providers/sign-in/:id/redirect": {
1609
- $post: {
1610
- output: {
1611
- error: string;
1612
- code?: "invalid_input" | undefined;
1613
- };
1614
- outputFormat: "json";
1615
- status: 400;
1616
- input: {
1617
- param: {
1618
- id: string;
1619
- };
1620
- } & {
1621
- json: {
1622
- redirectUrl: string;
1623
- };
1624
- };
1625
- } | {
1626
- output: {
1627
- error: string;
1628
- };
1629
- outputFormat: "json";
1630
- status: 404;
1631
- input: {
1632
- param: {
1633
- id: string;
1634
- };
1635
- } & {
1636
- json: {
1637
- redirectUrl: string;
1638
- };
1639
- };
1640
- } | {
1641
- output: {
1642
- error: string;
1643
- };
1644
- outputFormat: "json";
1645
- status: 409;
1646
- input: {
1647
- param: {
1648
- id: string;
1649
- };
1650
- } & {
1651
- json: {
1652
- redirectUrl: string;
1653
- };
1654
- };
1655
- } | {
1656
- output: {
1657
- id: string;
1658
- state: "waiting";
1659
- url: string;
1660
- } | {
1661
- id: string;
1662
- state: "cancelled" | "connected";
1663
- } | {
1664
- id: string;
1665
- state: "failed";
1666
- error: string;
1667
- };
1668
- outputFormat: "json";
1669
- status: import("hono/utils/http-status").ContentfulStatusCode;
1670
- input: {
1671
- param: {
1672
- id: string;
1673
- };
1674
- } & {
1675
- json: {
1676
- redirectUrl: string;
1677
- };
1678
- };
1679
- };
1680
- };
1681
- } & {
1682
- "/providers/sign-in/:id": {
1683
- $delete: {
1684
- output: {
1685
- error: string;
1686
- code?: "invalid_input" | undefined;
1687
- };
1688
- outputFormat: "json";
1689
- status: 400;
1690
- input: {
1691
- param: {
1692
- id: string;
1693
- };
1694
- };
1695
- } | {
1696
- output: {
1697
- error: string;
1698
- };
1699
- outputFormat: "json";
1700
- status: 404;
1701
- input: {
1702
- param: {
1703
- id: string;
1704
- };
1705
- };
1706
- } | {
1707
- output: {
1708
- id: string;
1709
- state: "waiting";
1710
- url: string;
1711
- } | {
1712
- id: string;
1713
- state: "cancelled" | "connected";
1714
- } | {
1715
- id: string;
1716
- state: "failed";
1717
- error: string;
1718
- };
1719
- outputFormat: "json";
1720
- status: import("hono/utils/http-status").ContentfulStatusCode;
1721
- input: {
1722
- param: {
1723
- id: string;
1724
- };
1725
- };
1726
- };
1727
- };
1728
1728
  }, "/"> | import("hono/types").MergeSchemaPath<{
1729
1729
  "/workspace/agent-profiles": {
1730
1730
  $get: {
@@ -4509,19 +4509,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4509
4509
  } & {
4510
4510
  "/repo/commit/:sha": {
4511
4511
  $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
4512
  output: {
4526
4513
  error: string;
4527
4514
  code?: "invalid_input" | undefined;
@@ -4585,6 +4572,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4585
4572
  sha: string;
4586
4573
  };
4587
4574
  };
4575
+ } | {
4576
+ output: string;
4577
+ outputFormat: "text";
4578
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4579
+ input: {
4580
+ query: {
4581
+ structured?: string | undefined;
4582
+ };
4583
+ } & {
4584
+ param: {
4585
+ sha: string;
4586
+ };
4587
+ };
4588
4588
  };
4589
4589
  };
4590
4590
  } & {
@@ -8358,11 +8358,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8358
8358
  "/runs/:id/worker-destroy": {
8359
8359
  $post: {
8360
8360
  output: {
8361
- error: string;
8362
- code?: "invalid_input" | undefined;
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;
8363
8374
  };
8364
8375
  outputFormat: "json";
8365
- status: 400;
8376
+ status: 400 | 401 | 403 | 409 | 503;
8366
8377
  input: {
8367
8378
  query: {
8368
8379
  [x: string]: string | string[];
@@ -8378,22 +8389,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8378
8389
  };
8379
8390
  } | {
8380
8391
  output: {
8381
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
8382
- readonly error: string;
8383
- readonly modelChoices?: {
8384
- runner: string;
8385
- requestedModel: string;
8386
- availableModels: {
8387
- id: string;
8388
- label: string;
8389
- description: string;
8390
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
8391
- }[];
8392
- otherRunners: string[];
8393
- } | undefined;
8392
+ error: string;
8393
+ code?: "invalid_input" | undefined;
8394
8394
  };
8395
8395
  outputFormat: "json";
8396
- status: 400 | 401 | 403 | 409 | 503;
8396
+ status: 400;
8397
8397
  input: {
8398
8398
  query: {
8399
8399
  [x: string]: string | string[];
@@ -18386,20 +18386,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18386
18386
  } & {
18387
18387
  "/runs/:id/handoff": {
18388
18388
  $get: {
18389
- output: string;
18390
- outputFormat: "text";
18391
- status: 200;
18389
+ output: {
18390
+ error: string;
18391
+ };
18392
+ outputFormat: "json";
18393
+ status: 404;
18392
18394
  input: {
18393
18395
  param: {
18394
18396
  id: string;
18395
18397
  };
18396
18398
  };
18397
18399
  } | {
18398
- output: {
18399
- error: string;
18400
- };
18401
- outputFormat: "json";
18402
- status: 404;
18400
+ output: string;
18401
+ outputFormat: "text";
18402
+ status: 200;
18403
18403
  input: {
18404
18404
  param: {
18405
18405
  id: string;
@@ -18437,20 +18437,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
18437
18437
  } & {
18438
18438
  "/runs/:id/diff": {
18439
18439
  $get: {
18440
- output: string;
18441
- outputFormat: "text";
18442
- status: import("hono/utils/http-status").ContentfulStatusCode;
18440
+ output: {
18441
+ error: string;
18442
+ };
18443
+ outputFormat: "json";
18444
+ status: 404 | 409;
18443
18445
  input: {
18444
18446
  param: {
18445
18447
  id: string;
18446
18448
  };
18447
18449
  };
18448
18450
  } | {
18449
- output: {
18450
- error: string;
18451
- };
18452
- outputFormat: "json";
18453
- status: 404 | 409;
18451
+ output: string;
18452
+ outputFormat: "text";
18453
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18454
18454
  input: {
18455
18455
  param: {
18456
18456
  id: string;
@@ -20468,19 +20468,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20468
20468
  } & {
20469
20469
  "/repo/commit/:sha": {
20470
20470
  $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
20471
  output: {
20485
20472
  error: string;
20486
20473
  code?: "invalid_input" | undefined;
@@ -20544,6 +20531,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20544
20531
  sha: string;
20545
20532
  };
20546
20533
  };
20534
+ } | {
20535
+ output: string;
20536
+ outputFormat: "text";
20537
+ status: import("hono/utils/http-status").ContentfulStatusCode;
20538
+ input: {
20539
+ query: {
20540
+ structured?: string | undefined;
20541
+ };
20542
+ } & {
20543
+ param: {
20544
+ sha: string;
20545
+ };
20546
+ };
20547
20547
  };
20548
20548
  };
20549
20549
  } & {
@@ -24317,11 +24317,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24317
24317
  "/runs/:id/worker-destroy": {
24318
24318
  $post: {
24319
24319
  output: {
24320
- error: string;
24321
- code?: "invalid_input" | undefined;
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;
24322
24333
  };
24323
24334
  outputFormat: "json";
24324
- status: 400;
24335
+ status: 400 | 401 | 403 | 409 | 503;
24325
24336
  input: {
24326
24337
  query: {
24327
24338
  [x: string]: string | string[];
@@ -24337,22 +24348,11 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24337
24348
  };
24338
24349
  } | {
24339
24350
  output: {
24340
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
24341
- readonly error: string;
24342
- readonly modelChoices?: {
24343
- runner: string;
24344
- requestedModel: string;
24345
- availableModels: {
24346
- id: string;
24347
- label: string;
24348
- description: string;
24349
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
24350
- }[];
24351
- otherRunners: string[];
24352
- } | undefined;
24351
+ error: string;
24352
+ code?: "invalid_input" | undefined;
24353
24353
  };
24354
24354
  outputFormat: "json";
24355
- status: 400 | 401 | 403 | 409 | 503;
24355
+ status: 400;
24356
24356
  input: {
24357
24357
  query: {
24358
24358
  [x: string]: string | string[];
@@ -34345,20 +34345,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34345
34345
  } & {
34346
34346
  "/runs/:id/handoff": {
34347
34347
  $get: {
34348
- output: string;
34349
- outputFormat: "text";
34350
- status: 200;
34348
+ output: {
34349
+ error: string;
34350
+ };
34351
+ outputFormat: "json";
34352
+ status: 404;
34351
34353
  input: {
34352
34354
  param: {
34353
34355
  id: string;
34354
34356
  };
34355
34357
  };
34356
34358
  } | {
34357
- output: {
34358
- error: string;
34359
- };
34360
- outputFormat: "json";
34361
- status: 404;
34359
+ output: string;
34360
+ outputFormat: "text";
34361
+ status: 200;
34362
34362
  input: {
34363
34363
  param: {
34364
34364
  id: string;
@@ -34396,20 +34396,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
34396
34396
  } & {
34397
34397
  "/runs/:id/diff": {
34398
34398
  $get: {
34399
- output: string;
34400
- outputFormat: "text";
34401
- status: import("hono/utils/http-status").ContentfulStatusCode;
34399
+ output: {
34400
+ error: string;
34401
+ };
34402
+ outputFormat: "json";
34403
+ status: 404 | 409;
34402
34404
  input: {
34403
34405
  param: {
34404
34406
  id: string;
34405
34407
  };
34406
34408
  };
34407
34409
  } | {
34408
- output: {
34409
- error: string;
34410
- };
34411
- outputFormat: "json";
34412
- status: 404 | 409;
34410
+ output: string;
34411
+ outputFormat: "text";
34412
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34413
34413
  input: {
34414
34414
  param: {
34415
34415
  id: string;