@hearsay-tools/squawk 0.18.0-pr4019.7682 → 0.18.0-pr4025.7697

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 (87) hide show
  1. package/dist/ci-wait/controller.d.ts +4 -4
  2. package/dist/ci-wait/tools.d.ts +4 -4
  3. package/dist/contract/index.js +2 -2
  4. package/dist/core/backend-detect.d.ts +8 -0
  5. package/dist/core/backend-detect.js +65 -0
  6. package/dist/core/backend-detect.js.map +1 -1
  7. package/dist/delegation/routes.d.ts +14 -14
  8. package/dist/delegation/transport.d.ts +15 -15
  9. package/dist/remote-settings-cli.d.ts +2 -2
  10. package/dist/remote-settings-cli.js +3 -3
  11. package/dist/remote-settings-cli.js.map +1 -1
  12. package/dist/remote-settings.d.ts +1 -1
  13. package/dist/server/activity-routes.d.ts +23 -23
  14. package/dist/server/backend-checks.d.ts +29 -0
  15. package/dist/server/backend-checks.js +53 -0
  16. package/dist/server/backend-checks.js.map +1 -0
  17. package/dist/server/capabilities.d.ts +2 -1
  18. package/dist/server/capabilities.js.map +1 -1
  19. package/dist/server/forge/github-ref-status-query.d.ts +5 -0
  20. package/dist/server/forge/github-ref-status-query.js +11 -0
  21. package/dist/server/forge/github-ref-status-query.js.map +1 -0
  22. package/dist/server/forge/github.d.ts +9 -1
  23. package/dist/server/forge/github.js +11 -12
  24. package/dist/server/forge/github.js.map +1 -1
  25. package/dist/server/git-dir-stamp.d.ts +35 -0
  26. package/dist/server/git-dir-stamp.js +158 -0
  27. package/dist/server/git-dir-stamp.js.map +1 -0
  28. package/dist/server/git.d.ts +7 -1
  29. package/dist/server/git.js +70 -6
  30. package/dist/server/git.js.map +1 -1
  31. package/dist/server/provider-sign-in-routes.d.ts +3 -3
  32. package/dist/server/provider-sign-in-routes.js +3 -2
  33. package/dist/server/provider-sign-in-routes.js.map +1 -1
  34. package/dist/server/server.d.ts +384 -384
  35. package/dist/server/server.js +14 -24
  36. package/dist/server/server.js.map +1 -1
  37. package/dist/server/workspace-live-routes.d.ts +6 -6
  38. package/package.json +4 -4
  39. package/web/dist/assets/{activity-motion-DjV4Xoms.js → activity-motion-4jefGnf3.js} +1 -1
  40. package/web/dist/assets/{activity-route-CeDmVBg_.js → activity-route-CrgEEOkP.js} +1 -1
  41. package/web/dist/assets/attention-CfWn6Sw7.js +1 -0
  42. package/web/dist/assets/{cez-idle-D1rXzVuh.js → cez-idle-BZ4uUtP5.js} +1 -1
  43. package/web/dist/assets/{commit-diff-panel-BkPuLrzW.js → commit-diff-panel-BhqIhVpi.js} +1 -1
  44. package/web/dist/assets/{diff-BBZcIIOt.js → diff-Dtz4yPu-.js} +2 -2
  45. package/web/dist/assets/{diff-view-DUNXpfvw.js → diff-view-01iQrxA3.js} +1 -1
  46. package/web/dist/assets/{file-preview-QFfT9j-q.js → file-preview-Bqu0JXBY.js} +1 -1
  47. package/web/dist/assets/{git-toolbar-Bd54EFZj.js → git-toolbar-zEjeF-_V.js} +1 -1
  48. package/web/dist/assets/{github-D1ZGYZ6k.js → github-D3a22EyV.js} +1 -1
  49. package/web/dist/assets/{global-activity-route-BVmBGVep.js → global-activity-route-DXD818_k.js} +1 -1
  50. package/web/dist/assets/index-DPA7Ibhf.js +14 -0
  51. package/web/dist/assets/{live-protocol-DKHlCFyG.js → live-protocol-60uiPDg6.js} +1 -1
  52. package/web/dist/assets/{live-worker-BWdeGzQX.ts → live-worker-DBw-5jVE.ts} +3 -1
  53. package/web/dist/assets/{markdown-B6DqG9Ie.js → markdown-Dzq31k8-.js} +1 -1
  54. package/web/dist/assets/{picker-pill-Dbb3GY1a.js → picker-pill-Bmxuo6r5.js} +1 -1
  55. package/web/dist/assets/{preview-pane-connected-DHH1E04c.js → preview-pane-connected-TaIGMKvt.js} +1 -1
  56. package/web/dist/assets/{project-router-LT30LjzY.js → project-router-BLLH9tz9.js} +1 -1
  57. package/web/dist/assets/project-scope-context-CR3cozni.js +4 -0
  58. package/web/dist/assets/{prompt-template-menu-Dc2ufWt7.js → prompt-template-menu-Fb8KyZ2w.js} +1 -1
  59. package/web/dist/assets/{queries-DHY6U3e_.js → queries-BCXjp1_j.js} +1 -1
  60. package/web/dist/assets/{reference-chip-BKeVxG_E.js → reference-chip-1O0efJ0d.js} +1 -1
  61. package/web/dist/assets/{repo-git-DyuGJJ8w.js → repo-git-BvN7c_-7.js} +1 -1
  62. package/web/dist/assets/{report-reader-TX7SV7cO.js → report-reader-BEGToSIA.js} +1 -1
  63. package/web/dist/assets/{reports-DC4T6nCI.js → reports-D61rDO35.js} +1 -1
  64. package/web/dist/assets/{run-header-CZANvy6Z.js → run-header-gwQQqs03.js} +1 -1
  65. package/web/dist/assets/runners-D8udSrRd.js +1 -0
  66. package/web/dist/assets/{skills-DAe4cSA-.js → skills-DB3DAhWt.js} +1 -1
  67. package/web/dist/assets/{tab-link-C_0J92TF.js → tab-link-DkArCoa9.js} +1 -1
  68. package/web/dist/assets/{task-changes-Fj_aEo7v.js → task-changes-C4Hp9Bog.js} +1 -1
  69. package/web/dist/assets/{task-commits-B0Ezfa9a.js → task-commits-IGZ1CJcy.js} +1 -1
  70. package/web/dist/assets/{task-files-HfwuKxjl.js → task-files-CBrQO4v2.js} +1 -1
  71. package/web/dist/assets/{task-github-item-B8bv9VSp.js → task-github-item-BJwFCJMl.js} +1 -1
  72. package/web/dist/assets/{task-thread-Bm755mTM.js → task-thread-Dkn8HN1R.js} +1 -1
  73. package/web/dist/assets/{thread-state-CJEzn845.js → thread-state-DVfKElYJ.js} +1 -1
  74. package/web/dist/assets/{use-desktop-EnHXg46f.js → use-desktop-CEB_iBfH.js} +1 -1
  75. package/web/dist/assets/{use-hand-to-agent-state-CUbaxdrd.js → use-hand-to-agent-state-ChF_oDo3.js} +1 -1
  76. package/web/dist/assets/{useInfiniteQuery-CvdGA_PU.js → useInfiniteQuery-Bh_R8jAH.js} +1 -1
  77. package/web/dist/assets/useQuery-Ct6O0RmO.js +1 -0
  78. package/web/dist/assets/{workflows-DMaQulmN.js → workflows-BTzKBfs-.js} +1 -1
  79. package/web/dist/assets/ws-DCvFYEh3.js +1 -0
  80. package/web/dist/index.html +15 -15
  81. package/web/dist/live-worker.js +2 -2
  82. package/web/dist/assets/attention-zJ-ho5os.js +0 -1
  83. package/web/dist/assets/index-Eo2qZksq.js +0 -14
  84. package/web/dist/assets/project-scope-context-DMCS5p-N.js +0 -4
  85. package/web/dist/assets/runners-C-sPUQye.js +0 -1
  86. package/web/dist/assets/useQuery-BJFZunTR.js +0 -1
  87. package/web/dist/assets/ws-BxsIvFCG.js +0 -1
@@ -9,7 +9,7 @@ import { AutomationStore } from '../automations/store.ts';
9
9
  import type { IncomingMessage } from 'node:http';
10
10
  import { Hono } from 'hono';
11
11
  import { TaskWebhooks } from '../runs/webhook.ts';
12
- import type { detectEnvironment } from '../core/backend-detect.ts';
12
+ import { type detectEnvironment } from '../core/backend-detect.ts';
13
13
  import { ProviderAuthService } from '../core/provider-auth.ts';
14
14
  import { RunnerModelCatalog } from '../core/runner-model-catalog.ts';
15
15
  import { type RunStore } from '../runs/store.ts';
@@ -182,46 +182,65 @@ 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
- "/runners": {
185
+ "/models": {
186
186
  $get: {
187
187
  output: {
188
- runners: {
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: {
189
203
  id: string;
190
- displayName: string;
191
- modelListName: string;
192
- modelIdScope: "own" | "provider-spanning";
193
- pickerLabel: string;
194
- pickerDescription: string;
195
- icon: string;
196
- installHint: string;
197
- loginCommand: string;
198
- terminalLogin?: boolean | undefined;
199
- browserLogin?: boolean | undefined;
200
- accountFolderExample?: string | undefined;
201
- models: {
202
- suggested: {
203
- id: string;
204
- label: string;
205
- desc: string;
206
- }[];
207
- retired: string[];
208
- };
209
- agentConfig: {
210
- label: string;
211
- note?: string | undefined;
212
- groups: {
213
- id: "mcp" | "memory" | "settings";
214
- label: string;
215
- note?: string | undefined;
216
- empty?: string | undefined;
217
- showsUserMcp?: true | undefined;
218
- }[];
219
- };
204
+ label: string;
205
+ description: string;
206
+ effortLevels?: import('../contract/index.js').EffortLevel[];
220
207
  }[];
208
+ source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
209
+ stale: boolean;
210
+ reason?: string;
221
211
  };
222
212
  outputFormat: "json";
223
213
  status: import("hono/utils/http-status").ContentfulStatusCode;
224
- input: {};
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
+ };
225
244
  };
226
245
  };
227
246
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -377,65 +396,46 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
377
396
  };
378
397
  };
379
398
  }, "/"> | import("hono/types").MergeSchemaPath<{
380
- "/models": {
399
+ "/runners": {
381
400
  $get: {
382
401
  output: {
383
- error: string;
384
- code?: "invalid_input" | undefined;
385
- };
386
- outputFormat: "json";
387
- status: 400;
388
- input: {
389
- query: {
390
- runner: string | string[];
391
- profileId?: string | undefined;
392
- };
393
- };
394
- } | {
395
- output: {
396
- runner: string;
397
- models: {
402
+ runners: {
398
403
  id: string;
399
- label: string;
400
- description: string;
401
- effortLevels?: import('../contract/index.js').EffortLevel[];
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
+ };
402
434
  }[];
403
- source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
404
- stale: boolean;
405
- reason?: string;
406
435
  };
407
436
  outputFormat: "json";
408
437
  status: import("hono/utils/http-status").ContentfulStatusCode;
409
- input: {
410
- query: {
411
- runner: string | string[];
412
- profileId?: string | undefined;
413
- };
414
- };
415
- } | {
416
- output: {
417
- error: string;
418
- };
419
- outputFormat: "json";
420
- status: 409;
421
- input: {
422
- query: {
423
- runner: string | string[];
424
- profileId?: string | undefined;
425
- };
426
- };
427
- } | {
428
- output: {
429
- error: string;
430
- };
431
- outputFormat: "json";
432
- status: 400;
433
- input: {
434
- query: {
435
- runner: string | string[];
436
- profileId?: string | undefined;
437
- };
438
- };
438
+ input: {};
439
439
  };
440
440
  };
441
441
  }, "/"> | import("hono/types").MergeSchemaPath<{
@@ -2978,12 +2978,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2978
2978
  output: {
2979
2979
  generation: string;
2980
2980
  results: ({
2981
- projectId: string;
2982
- runId: string;
2983
- type: "error" | "reset";
2984
- status: 400 | 404 | 409 | 413 | 503;
2985
- error: string;
2986
- } | {
2987
2981
  projectId: string;
2988
2982
  runId: string;
2989
2983
  type: "batch";
@@ -2997,6 +2991,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
2997
2991
  cursor: string;
2998
2992
  afterSeq: number;
2999
2993
  hasMore: boolean;
2994
+ } | {
2995
+ projectId: string;
2996
+ runId: string;
2997
+ type: "error" | "reset";
2998
+ status: 400 | 404 | 409 | 413 | 503;
2999
+ error: string;
3000
3000
  })[];
3001
3001
  };
3002
3002
  outputFormat: "json";
@@ -3307,94 +3307,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3307
3307
  };
3308
3308
  };
3309
3309
  };
3310
- }, "/"> | import("hono/types").MergeSchemaPath<{
3311
- "/reports/state": {
3312
- $get: {
3313
- output: {
3314
- error: string;
3315
- };
3316
- outputFormat: "json";
3317
- status: 409;
3318
- input: {};
3319
- } | {
3320
- output: {
3321
- epoch: string;
3322
- generation: number;
3323
- metadataGeneration: number;
3324
- };
3325
- outputFormat: "json";
3326
- status: import("hono/utils/http-status").ContentfulStatusCode;
3327
- input: {};
3328
- };
3329
- };
3330
- } & {
3331
- "/reports": {
3332
- $get: {
3333
- output: {
3334
- error: string;
3335
- code?: "invalid_input" | undefined;
3336
- };
3337
- outputFormat: "json";
3338
- status: 400;
3339
- input: {
3340
- query: {
3341
- q?: string | undefined;
3342
- before?: string | undefined;
3343
- limit?: number | undefined;
3344
- };
3345
- };
3346
- } | {
3347
- output: {
3348
- error: string;
3349
- };
3350
- outputFormat: "json";
3351
- status: 409;
3352
- input: {
3353
- query: {
3354
- q?: string | undefined;
3355
- before?: string | undefined;
3356
- limit?: number | undefined;
3357
- };
3358
- };
3359
- } | {
3360
- output: {
3361
- error: string;
3362
- };
3363
- outputFormat: "json";
3364
- status: 400;
3365
- input: {
3366
- query: {
3367
- q?: string | undefined;
3368
- before?: string | undefined;
3369
- limit?: number | undefined;
3370
- };
3371
- };
3372
- } | {
3373
- output: {
3374
- reports: {
3375
- id: string;
3376
- runId: string;
3377
- name: string;
3378
- title: string;
3379
- createdAt: string;
3380
- size: number;
3381
- taskTitle: string;
3382
- taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
3383
- }[];
3384
- nextCursor: string | null;
3385
- total: number;
3386
- };
3387
- outputFormat: "json";
3388
- status: import("hono/utils/http-status").ContentfulStatusCode;
3389
- input: {
3390
- query: {
3391
- q?: string | undefined;
3392
- before?: string | undefined;
3393
- limit?: number | undefined;
3394
- };
3395
- };
3396
- };
3397
- };
3398
3310
  }, "/"> | import("hono/types").MergeSchemaPath<{
3399
3311
  "/ui-state": {
3400
3312
  $get: {
@@ -3883,6 +3795,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3883
3795
  };
3884
3796
  };
3885
3797
  };
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
3886
  }, "/"> | import("hono/types").MergeSchemaPath<{
3887
3887
  "/worktrees": {
3888
3888
  $get: {
@@ -4509,6 +4509,19 @@ 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
+ } | {
4512
4525
  output: {
4513
4526
  error: string;
4514
4527
  code?: "invalid_input" | undefined;
@@ -4572,19 +4585,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
4572
4585
  sha: string;
4573
4586
  };
4574
4587
  };
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
  } & {
@@ -8378,24 +8378,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8378
8378
  };
8379
8379
  } | {
8380
8380
  output: {
8381
- workerId: string;
8382
- state: "complete" | "incomplete";
8383
- work?: {
8384
- uncommittedFiles: number;
8385
- commits: number;
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[];
8386
8393
  } | undefined;
8387
- deleted?: ({
8388
- kind: "worktree";
8389
- path: string;
8390
- } | {
8391
- kind: "branch";
8392
- ref: string;
8393
- })[] | undefined;
8394
- remaining: ("branch" | "process" | "worktree")[];
8395
- error?: string | undefined;
8396
8394
  };
8397
8395
  outputFormat: "json";
8398
- status: 200;
8396
+ status: 400 | 401 | 403 | 409 | 503;
8399
8397
  input: {
8400
8398
  query: {
8401
8399
  [x: string]: string | string[];
@@ -8428,7 +8426,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8428
8426
  error?: string | undefined;
8429
8427
  };
8430
8428
  outputFormat: "json";
8431
- status: 409;
8429
+ status: 200;
8432
8430
  input: {
8433
8431
  query: {
8434
8432
  [x: string]: string | string[];
@@ -8444,22 +8442,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8444
8442
  };
8445
8443
  } | {
8446
8444
  output: {
8447
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
8448
- readonly error: string;
8449
- readonly modelChoices?: {
8450
- runner: string;
8451
- requestedModel: string;
8452
- availableModels: {
8453
- id: string;
8454
- label: string;
8455
- description: string;
8456
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
8457
- }[];
8458
- otherRunners: string[];
8445
+ workerId: string;
8446
+ state: "complete" | "incomplete";
8447
+ work?: {
8448
+ uncommittedFiles: number;
8449
+ commits: number;
8459
8450
  } | undefined;
8451
+ deleted?: ({
8452
+ kind: "worktree";
8453
+ path: string;
8454
+ } | {
8455
+ kind: "branch";
8456
+ ref: string;
8457
+ })[] | undefined;
8458
+ remaining: ("branch" | "process" | "worktree")[];
8459
+ error?: string | undefined;
8460
8460
  };
8461
8461
  outputFormat: "json";
8462
- status: 400 | 401 | 403 | 409 | 503;
8462
+ status: 409;
8463
8463
  input: {
8464
8464
  query: {
8465
8465
  [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: {
18390
- error: string;
18391
- };
18392
- outputFormat: "json";
18393
- status: 404;
18389
+ output: string;
18390
+ outputFormat: "text";
18391
+ status: 200;
18394
18392
  input: {
18395
18393
  param: {
18396
18394
  id: string;
18397
18395
  };
18398
18396
  };
18399
18397
  } | {
18400
- output: string;
18401
- outputFormat: "text";
18402
- status: 200;
18398
+ output: {
18399
+ error: string;
18400
+ };
18401
+ outputFormat: "json";
18402
+ status: 404;
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: {
18441
- error: string;
18442
- };
18443
- outputFormat: "json";
18444
- status: 404 | 409;
18440
+ output: string;
18441
+ outputFormat: "text";
18442
+ status: import("hono/utils/http-status").ContentfulStatusCode;
18445
18443
  input: {
18446
18444
  param: {
18447
18445
  id: string;
18448
18446
  };
18449
18447
  };
18450
18448
  } | {
18451
- output: string;
18452
- outputFormat: "text";
18453
- status: import("hono/utils/http-status").ContentfulStatusCode;
18449
+ output: {
18450
+ error: string;
18451
+ };
18452
+ outputFormat: "json";
18453
+ status: 404 | 409;
18454
18454
  input: {
18455
18455
  param: {
18456
18456
  id: string;
@@ -19266,94 +19266,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19266
19266
  };
19267
19267
  };
19268
19268
  };
19269
- }, "/"> | import("hono/types").MergeSchemaPath<{
19270
- "/reports/state": {
19271
- $get: {
19272
- output: {
19273
- error: string;
19274
- };
19275
- outputFormat: "json";
19276
- status: 409;
19277
- input: {};
19278
- } | {
19279
- output: {
19280
- epoch: string;
19281
- generation: number;
19282
- metadataGeneration: number;
19283
- };
19284
- outputFormat: "json";
19285
- status: import("hono/utils/http-status").ContentfulStatusCode;
19286
- input: {};
19287
- };
19288
- };
19289
- } & {
19290
- "/reports": {
19291
- $get: {
19292
- output: {
19293
- error: string;
19294
- code?: "invalid_input" | undefined;
19295
- };
19296
- outputFormat: "json";
19297
- status: 400;
19298
- input: {
19299
- query: {
19300
- q?: string | undefined;
19301
- before?: string | undefined;
19302
- limit?: number | undefined;
19303
- };
19304
- };
19305
- } | {
19306
- output: {
19307
- error: string;
19308
- };
19309
- outputFormat: "json";
19310
- status: 409;
19311
- input: {
19312
- query: {
19313
- q?: string | undefined;
19314
- before?: string | undefined;
19315
- limit?: number | undefined;
19316
- };
19317
- };
19318
- } | {
19319
- output: {
19320
- error: string;
19321
- };
19322
- outputFormat: "json";
19323
- status: 400;
19324
- input: {
19325
- query: {
19326
- q?: string | undefined;
19327
- before?: string | undefined;
19328
- limit?: number | undefined;
19329
- };
19330
- };
19331
- } | {
19332
- output: {
19333
- reports: {
19334
- id: string;
19335
- runId: string;
19336
- name: string;
19337
- title: string;
19338
- createdAt: string;
19339
- size: number;
19340
- taskTitle: string;
19341
- taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
19342
- }[];
19343
- nextCursor: string | null;
19344
- total: number;
19345
- };
19346
- outputFormat: "json";
19347
- status: import("hono/utils/http-status").ContentfulStatusCode;
19348
- input: {
19349
- query: {
19350
- q?: string | undefined;
19351
- before?: string | undefined;
19352
- limit?: number | undefined;
19353
- };
19354
- };
19355
- };
19356
- };
19357
19269
  }, "/"> | import("hono/types").MergeSchemaPath<{
19358
19270
  "/ui-state": {
19359
19271
  $get: {
@@ -19842,6 +19754,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19842
19754
  };
19843
19755
  };
19844
19756
  };
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
19845
  }, "/"> | import("hono/types").MergeSchemaPath<{
19846
19846
  "/worktrees": {
19847
19847
  $get: {
@@ -20468,6 +20468,19 @@ 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
+ } | {
20471
20484
  output: {
20472
20485
  error: string;
20473
20486
  code?: "invalid_input" | undefined;
@@ -20531,19 +20544,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
20531
20544
  sha: string;
20532
20545
  };
20533
20546
  };
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
  } & {
@@ -24337,24 +24337,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24337
24337
  };
24338
24338
  } | {
24339
24339
  output: {
24340
- workerId: string;
24341
- state: "complete" | "incomplete";
24342
- work?: {
24343
- uncommittedFiles: number;
24344
- commits: number;
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[];
24345
24352
  } | undefined;
24346
- deleted?: ({
24347
- kind: "worktree";
24348
- path: string;
24349
- } | {
24350
- kind: "branch";
24351
- ref: string;
24352
- })[] | undefined;
24353
- remaining: ("branch" | "process" | "worktree")[];
24354
- error?: string | undefined;
24355
24353
  };
24356
24354
  outputFormat: "json";
24357
- status: 200;
24355
+ status: 400 | 401 | 403 | 409 | 503;
24358
24356
  input: {
24359
24357
  query: {
24360
24358
  [x: string]: string | string[];
@@ -24387,7 +24385,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24387
24385
  error?: string | undefined;
24388
24386
  };
24389
24387
  outputFormat: "json";
24390
- status: 409;
24388
+ status: 200;
24391
24389
  input: {
24392
24390
  query: {
24393
24391
  [x: string]: string | string[];
@@ -24403,22 +24401,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24403
24401
  };
24404
24402
  } | {
24405
24403
  output: {
24406
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
24407
- readonly error: string;
24408
- readonly modelChoices?: {
24409
- runner: string;
24410
- requestedModel: string;
24411
- availableModels: {
24412
- id: string;
24413
- label: string;
24414
- description: string;
24415
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
24416
- }[];
24417
- otherRunners: string[];
24404
+ workerId: string;
24405
+ state: "complete" | "incomplete";
24406
+ work?: {
24407
+ uncommittedFiles: number;
24408
+ commits: number;
24418
24409
  } | undefined;
24410
+ deleted?: ({
24411
+ kind: "worktree";
24412
+ path: string;
24413
+ } | {
24414
+ kind: "branch";
24415
+ ref: string;
24416
+ })[] | undefined;
24417
+ remaining: ("branch" | "process" | "worktree")[];
24418
+ error?: string | undefined;
24419
24419
  };
24420
24420
  outputFormat: "json";
24421
- status: 400 | 401 | 403 | 409 | 503;
24421
+ status: 409;
24422
24422
  input: {
24423
24423
  query: {
24424
24424
  [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: {
34349
- error: string;
34350
- };
34351
- outputFormat: "json";
34352
- status: 404;
34348
+ output: string;
34349
+ outputFormat: "text";
34350
+ status: 200;
34353
34351
  input: {
34354
34352
  param: {
34355
34353
  id: string;
34356
34354
  };
34357
34355
  };
34358
34356
  } | {
34359
- output: string;
34360
- outputFormat: "text";
34361
- status: 200;
34357
+ output: {
34358
+ error: string;
34359
+ };
34360
+ outputFormat: "json";
34361
+ status: 404;
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: {
34400
- error: string;
34401
- };
34402
- outputFormat: "json";
34403
- status: 404 | 409;
34399
+ output: string;
34400
+ outputFormat: "text";
34401
+ status: import("hono/utils/http-status").ContentfulStatusCode;
34404
34402
  input: {
34405
34403
  param: {
34406
34404
  id: string;
34407
34405
  };
34408
34406
  };
34409
34407
  } | {
34410
- output: string;
34411
- outputFormat: "text";
34412
- status: import("hono/utils/http-status").ContentfulStatusCode;
34408
+ output: {
34409
+ error: string;
34410
+ };
34411
+ outputFormat: "json";
34412
+ status: 404 | 409;
34413
34413
  input: {
34414
34414
  param: {
34415
34415
  id: string;