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

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.
@@ -182,6 +182,220 @@ export declare class WorkspaceEventBus {
182
182
  on(listener: (event: WorkspaceEventName, data: unknown) => void): () => void;
183
183
  }
184
184
  export declare function createApp(deps: ServerDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
185
+ "/models": {
186
+ $get: {
187
+ output: {
188
+ error: string;
189
+ code?: "invalid_input" | undefined;
190
+ };
191
+ outputFormat: "json";
192
+ status: 400;
193
+ input: {
194
+ query: {
195
+ runner: string | string[];
196
+ profileId?: string | undefined;
197
+ };
198
+ };
199
+ } | {
200
+ output: {
201
+ runner: string;
202
+ models: {
203
+ id: string;
204
+ label: string;
205
+ description: string;
206
+ effortLevels?: import('../contract/index.js').EffortLevel[];
207
+ }[];
208
+ source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
209
+ stale: boolean;
210
+ reason?: string;
211
+ };
212
+ outputFormat: "json";
213
+ status: import("hono/utils/http-status").ContentfulStatusCode;
214
+ input: {
215
+ query: {
216
+ runner: string | string[];
217
+ profileId?: string | undefined;
218
+ };
219
+ };
220
+ } | {
221
+ output: {
222
+ error: string;
223
+ };
224
+ outputFormat: "json";
225
+ status: 409;
226
+ input: {
227
+ query: {
228
+ runner: string | string[];
229
+ profileId?: string | undefined;
230
+ };
231
+ };
232
+ } | {
233
+ output: {
234
+ error: string;
235
+ };
236
+ outputFormat: "json";
237
+ status: 400;
238
+ input: {
239
+ query: {
240
+ runner: string | string[];
241
+ profileId?: string | undefined;
242
+ };
243
+ };
244
+ };
245
+ };
246
+ }, "/"> | import("hono/types").MergeSchemaPath<{
247
+ "/health": {
248
+ $get: {
249
+ output: {
250
+ version: string;
251
+ latestVersion?: string | undefined;
252
+ repoRoot: string;
253
+ repo: {
254
+ root: string;
255
+ branch: string;
256
+ remote?: string | undefined;
257
+ } | null;
258
+ checks: {
259
+ name: string;
260
+ available: boolean;
261
+ version?: string;
262
+ hint?: string;
263
+ }[];
264
+ defaultRunner: string;
265
+ forge: {
266
+ available?: boolean | undefined;
267
+ reason?: string;
268
+ kind: "github";
269
+ } | null;
270
+ capabilities: {
271
+ localHandoff: boolean;
272
+ settingsAdmin: boolean;
273
+ remoteSettingsAdmin: boolean;
274
+ automations: boolean;
275
+ preview: boolean;
276
+ tokenMetrics: boolean;
277
+ tokenUsageMetrics: boolean;
278
+ costMetrics: boolean;
279
+ };
280
+ projects: {
281
+ id: string;
282
+ name: string;
283
+ }[];
284
+ bootProject: string;
285
+ };
286
+ outputFormat: "json";
287
+ status: import("hono/utils/http-status").ContentfulStatusCode;
288
+ input: {};
289
+ };
290
+ };
291
+ }, "/"> | import("hono/types").MergeSchemaPath<{
292
+ "/fs/browse": {
293
+ $get: {
294
+ output: {
295
+ error: string;
296
+ code?: "invalid_input" | undefined;
297
+ };
298
+ outputFormat: "json";
299
+ status: 400;
300
+ input: {
301
+ query: {
302
+ path?: string | undefined;
303
+ showHidden?: string | undefined;
304
+ };
305
+ };
306
+ } | {
307
+ output: {
308
+ error: string;
309
+ };
310
+ outputFormat: "json";
311
+ status: 400 | 403 | 404;
312
+ input: {
313
+ query: {
314
+ path?: string | undefined;
315
+ showHidden?: string | undefined;
316
+ };
317
+ };
318
+ } | {
319
+ output: {
320
+ path: string;
321
+ parent: string | null;
322
+ dirs: {
323
+ name: string;
324
+ path: string;
325
+ isRepo: boolean;
326
+ }[];
327
+ truncated: boolean;
328
+ };
329
+ outputFormat: "json";
330
+ status: import("hono/utils/http-status").ContentfulStatusCode;
331
+ input: {
332
+ query: {
333
+ path?: string | undefined;
334
+ showHidden?: string | undefined;
335
+ };
336
+ };
337
+ };
338
+ };
339
+ }, "/"> | import("hono/types").MergeSchemaPath<{
340
+ "/automation-checks/:checkId": {
341
+ $get: {
342
+ output: {
343
+ id: string;
344
+ automationId: string;
345
+ mode: 'preview' | 'execute';
346
+ status: 'queued' | 'running' | 'complete' | 'error';
347
+ createdAt: string;
348
+ completedAt?: string;
349
+ matches?: number;
350
+ truncated?: boolean;
351
+ error?: string;
352
+ };
353
+ outputFormat: "json";
354
+ status: import("hono/utils/http-status").ContentfulStatusCode;
355
+ input: {
356
+ param: {
357
+ checkId: string;
358
+ };
359
+ };
360
+ } | {
361
+ output: {
362
+ error: string;
363
+ };
364
+ outputFormat: "json";
365
+ status: 404;
366
+ input: {
367
+ param: {
368
+ checkId: string;
369
+ };
370
+ };
371
+ };
372
+ };
373
+ }, "/"> | import("hono/types").MergeSchemaPath<{
374
+ "/workspace/events": {
375
+ $get: {
376
+ output: {};
377
+ outputFormat: string;
378
+ status: import("hono/utils/http-status").StatusCode;
379
+ input: {
380
+ query: {
381
+ runs?: "summary" | undefined;
382
+ };
383
+ };
384
+ } | {
385
+ output: {
386
+ error: string;
387
+ code?: "invalid_input" | undefined;
388
+ };
389
+ outputFormat: "json";
390
+ status: 400;
391
+ input: {
392
+ query: {
393
+ runs?: "summary" | undefined;
394
+ };
395
+ };
396
+ };
397
+ };
398
+ }, "/"> | import("hono/types").MergeSchemaPath<{
185
399
  "/workspace/activity": {
186
400
  $get: {
187
401
  output: {
@@ -416,239 +630,25 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
416
630
  senderRunId: string;
417
631
  recipientRunId: string;
418
632
  text: string;
419
- senderTitle?: string | undefined;
420
- recipientTitle?: string | undefined;
421
- createdAt: string;
422
- deadline?: string | undefined;
423
- }[];
424
- closed: {
425
- requestId: string;
426
- senderRunId: string;
427
- recipientRunId: string;
428
- status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
429
- observedAt: string;
430
- }[];
431
- }[];
432
- };
433
- outputFormat: "json";
434
- status: 200;
435
- input: {
436
- query: {
437
- project?: string | undefined;
438
- };
439
- };
440
- };
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
- "/models": {
596
- $get: {
597
- output: {
598
- error: string;
599
- code?: "invalid_input" | undefined;
600
- };
601
- outputFormat: "json";
602
- status: 400;
603
- input: {
604
- query: {
605
- runner: string | string[];
606
- profileId?: string | undefined;
607
- };
608
- };
609
- } | {
610
- output: {
611
- runner: string;
612
- models: {
613
- id: string;
614
- label: string;
615
- description: string;
616
- effortLevels?: import('../contract/index.js').EffortLevel[];
633
+ senderTitle?: string | undefined;
634
+ recipientTitle?: string | undefined;
635
+ createdAt: string;
636
+ deadline?: string | undefined;
637
+ }[];
638
+ closed: {
639
+ requestId: string;
640
+ senderRunId: string;
641
+ recipientRunId: string;
642
+ status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
643
+ observedAt: string;
644
+ }[];
617
645
  }[];
618
- source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
619
- stale: boolean;
620
- reason?: string;
621
- };
622
- outputFormat: "json";
623
- status: import("hono/utils/http-status").ContentfulStatusCode;
624
- input: {
625
- query: {
626
- runner: string | string[];
627
- profileId?: string | undefined;
628
- };
629
- };
630
- } | {
631
- output: {
632
- error: string;
633
- };
634
- outputFormat: "json";
635
- status: 409;
636
- input: {
637
- query: {
638
- runner: string | string[];
639
- profileId?: string | undefined;
640
- };
641
- };
642
- } | {
643
- output: {
644
- error: string;
645
646
  };
646
647
  outputFormat: "json";
647
- status: 400;
648
+ status: 200;
648
649
  input: {
649
650
  query: {
650
- runner: string | string[];
651
- profileId?: string | undefined;
651
+ project?: string | undefined;
652
652
  };
653
653
  };
654
654
  };
@@ -3406,6 +3406,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3406
3406
  };
3407
3407
  };
3408
3408
  };
3409
+ }, "/"> | import("hono/types").MergeSchemaPath<{
3410
+ "/reports/state": {
3411
+ $get: {
3412
+ output: {
3413
+ error: string;
3414
+ };
3415
+ outputFormat: "json";
3416
+ status: 409;
3417
+ input: {};
3418
+ } | {
3419
+ output: {
3420
+ epoch: string;
3421
+ generation: number;
3422
+ metadataGeneration: number;
3423
+ };
3424
+ outputFormat: "json";
3425
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3426
+ input: {};
3427
+ };
3428
+ };
3429
+ } & {
3430
+ "/reports": {
3431
+ $get: {
3432
+ output: {
3433
+ error: string;
3434
+ code?: "invalid_input" | undefined;
3435
+ };
3436
+ outputFormat: "json";
3437
+ status: 400;
3438
+ input: {
3439
+ query: {
3440
+ q?: string | undefined;
3441
+ before?: string | undefined;
3442
+ limit?: number | undefined;
3443
+ };
3444
+ };
3445
+ } | {
3446
+ output: {
3447
+ error: string;
3448
+ };
3449
+ outputFormat: "json";
3450
+ status: 409;
3451
+ input: {
3452
+ query: {
3453
+ q?: string | undefined;
3454
+ before?: string | undefined;
3455
+ limit?: number | undefined;
3456
+ };
3457
+ };
3458
+ } | {
3459
+ output: {
3460
+ error: string;
3461
+ };
3462
+ outputFormat: "json";
3463
+ status: 400;
3464
+ input: {
3465
+ query: {
3466
+ q?: string | undefined;
3467
+ before?: string | undefined;
3468
+ limit?: number | undefined;
3469
+ };
3470
+ };
3471
+ } | {
3472
+ output: {
3473
+ reports: {
3474
+ id: string;
3475
+ runId: string;
3476
+ name: string;
3477
+ title: string;
3478
+ createdAt: string;
3479
+ size: number;
3480
+ taskTitle: string;
3481
+ taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
3482
+ }[];
3483
+ nextCursor: string | null;
3484
+ total: number;
3485
+ };
3486
+ outputFormat: "json";
3487
+ status: import("hono/utils/http-status").ContentfulStatusCode;
3488
+ input: {
3489
+ query: {
3490
+ q?: string | undefined;
3491
+ before?: string | undefined;
3492
+ limit?: number | undefined;
3493
+ };
3494
+ };
3495
+ };
3496
+ };
3409
3497
  }, "/"> | import("hono/types").MergeSchemaPath<{
3410
3498
  "/ui-state": {
3411
3499
  $get: {
@@ -3894,94 +3982,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
3894
3982
  };
3895
3983
  };
3896
3984
  };
3897
- }, "/"> | import("hono/types").MergeSchemaPath<{
3898
- "/reports/state": {
3899
- $get: {
3900
- output: {
3901
- error: string;
3902
- };
3903
- outputFormat: "json";
3904
- status: 409;
3905
- input: {};
3906
- } | {
3907
- output: {
3908
- epoch: string;
3909
- generation: number;
3910
- metadataGeneration: number;
3911
- };
3912
- outputFormat: "json";
3913
- status: import("hono/utils/http-status").ContentfulStatusCode;
3914
- input: {};
3915
- };
3916
- };
3917
- } & {
3918
- "/reports": {
3919
- $get: {
3920
- output: {
3921
- error: string;
3922
- code?: "invalid_input" | undefined;
3923
- };
3924
- outputFormat: "json";
3925
- status: 400;
3926
- input: {
3927
- query: {
3928
- q?: string | undefined;
3929
- before?: string | undefined;
3930
- limit?: number | undefined;
3931
- };
3932
- };
3933
- } | {
3934
- output: {
3935
- error: string;
3936
- };
3937
- outputFormat: "json";
3938
- status: 409;
3939
- input: {
3940
- query: {
3941
- q?: string | undefined;
3942
- before?: string | undefined;
3943
- limit?: number | undefined;
3944
- };
3945
- };
3946
- } | {
3947
- output: {
3948
- error: string;
3949
- };
3950
- outputFormat: "json";
3951
- status: 400;
3952
- input: {
3953
- query: {
3954
- q?: string | undefined;
3955
- before?: string | undefined;
3956
- limit?: number | undefined;
3957
- };
3958
- };
3959
- } | {
3960
- output: {
3961
- reports: {
3962
- id: string;
3963
- runId: string;
3964
- name: string;
3965
- title: string;
3966
- createdAt: string;
3967
- size: number;
3968
- taskTitle: string;
3969
- taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
3970
- }[];
3971
- nextCursor: string | null;
3972
- total: number;
3973
- };
3974
- outputFormat: "json";
3975
- status: import("hono/utils/http-status").ContentfulStatusCode;
3976
- input: {
3977
- query: {
3978
- q?: string | undefined;
3979
- before?: string | undefined;
3980
- limit?: number | undefined;
3981
- };
3982
- };
3983
- };
3984
- };
3985
3985
  }, "/"> | import("hono/types").MergeSchemaPath<{
3986
3986
  "/worktrees": {
3987
3987
  $get: {
@@ -8477,22 +8477,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8477
8477
  };
8478
8478
  } | {
8479
8479
  output: {
8480
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
8481
- readonly error: string;
8482
- readonly modelChoices?: {
8483
- runner: string;
8484
- requestedModel: string;
8485
- availableModels: {
8486
- id: string;
8487
- label: string;
8488
- description: string;
8489
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
8490
- }[];
8491
- otherRunners: string[];
8480
+ workerId: string;
8481
+ state: "complete" | "incomplete";
8482
+ work?: {
8483
+ uncommittedFiles: number;
8484
+ commits: number;
8492
8485
  } | undefined;
8486
+ deleted?: ({
8487
+ kind: "worktree";
8488
+ path: string;
8489
+ } | {
8490
+ kind: "branch";
8491
+ ref: string;
8492
+ })[] | undefined;
8493
+ remaining: ("branch" | "process" | "worktree")[];
8494
+ error?: string | undefined;
8493
8495
  };
8494
8496
  outputFormat: "json";
8495
- status: 400 | 401 | 403 | 409 | 503;
8497
+ status: 200;
8496
8498
  input: {
8497
8499
  query: {
8498
8500
  [x: string]: string | string[];
@@ -8525,7 +8527,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8525
8527
  error?: string | undefined;
8526
8528
  };
8527
8529
  outputFormat: "json";
8528
- status: 200;
8530
+ status: 409;
8529
8531
  input: {
8530
8532
  query: {
8531
8533
  [x: string]: string | string[];
@@ -8541,24 +8543,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
8541
8543
  };
8542
8544
  } | {
8543
8545
  output: {
8544
- workerId: string;
8545
- state: "complete" | "incomplete";
8546
- work?: {
8547
- uncommittedFiles: number;
8548
- commits: number;
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[];
8549
8558
  } | undefined;
8550
- deleted?: ({
8551
- kind: "worktree";
8552
- path: string;
8553
- } | {
8554
- kind: "branch";
8555
- ref: string;
8556
- })[] | undefined;
8557
- remaining: ("branch" | "process" | "worktree")[];
8558
- error?: string | undefined;
8559
8559
  };
8560
8560
  outputFormat: "json";
8561
- status: 409;
8561
+ status: 400 | 401 | 403 | 409 | 503;
8562
8562
  input: {
8563
8563
  query: {
8564
8564
  [x: string]: string | string[];
@@ -19365,6 +19365,94 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19365
19365
  };
19366
19366
  };
19367
19367
  };
19368
+ }, "/"> | import("hono/types").MergeSchemaPath<{
19369
+ "/reports/state": {
19370
+ $get: {
19371
+ output: {
19372
+ error: string;
19373
+ };
19374
+ outputFormat: "json";
19375
+ status: 409;
19376
+ input: {};
19377
+ } | {
19378
+ output: {
19379
+ epoch: string;
19380
+ generation: number;
19381
+ metadataGeneration: number;
19382
+ };
19383
+ outputFormat: "json";
19384
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19385
+ input: {};
19386
+ };
19387
+ };
19388
+ } & {
19389
+ "/reports": {
19390
+ $get: {
19391
+ output: {
19392
+ error: string;
19393
+ code?: "invalid_input" | undefined;
19394
+ };
19395
+ outputFormat: "json";
19396
+ status: 400;
19397
+ input: {
19398
+ query: {
19399
+ q?: string | undefined;
19400
+ before?: string | undefined;
19401
+ limit?: number | undefined;
19402
+ };
19403
+ };
19404
+ } | {
19405
+ output: {
19406
+ error: string;
19407
+ };
19408
+ outputFormat: "json";
19409
+ status: 409;
19410
+ input: {
19411
+ query: {
19412
+ q?: string | undefined;
19413
+ before?: string | undefined;
19414
+ limit?: number | undefined;
19415
+ };
19416
+ };
19417
+ } | {
19418
+ output: {
19419
+ error: string;
19420
+ };
19421
+ outputFormat: "json";
19422
+ status: 400;
19423
+ input: {
19424
+ query: {
19425
+ q?: string | undefined;
19426
+ before?: string | undefined;
19427
+ limit?: number | undefined;
19428
+ };
19429
+ };
19430
+ } | {
19431
+ output: {
19432
+ reports: {
19433
+ id: string;
19434
+ runId: string;
19435
+ name: string;
19436
+ title: string;
19437
+ createdAt: string;
19438
+ size: number;
19439
+ taskTitle: string;
19440
+ taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
19441
+ }[];
19442
+ nextCursor: string | null;
19443
+ total: number;
19444
+ };
19445
+ outputFormat: "json";
19446
+ status: import("hono/utils/http-status").ContentfulStatusCode;
19447
+ input: {
19448
+ query: {
19449
+ q?: string | undefined;
19450
+ before?: string | undefined;
19451
+ limit?: number | undefined;
19452
+ };
19453
+ };
19454
+ };
19455
+ };
19368
19456
  }, "/"> | import("hono/types").MergeSchemaPath<{
19369
19457
  "/ui-state": {
19370
19458
  $get: {
@@ -19853,94 +19941,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
19853
19941
  };
19854
19942
  };
19855
19943
  };
19856
- }, "/"> | import("hono/types").MergeSchemaPath<{
19857
- "/reports/state": {
19858
- $get: {
19859
- output: {
19860
- error: string;
19861
- };
19862
- outputFormat: "json";
19863
- status: 409;
19864
- input: {};
19865
- } | {
19866
- output: {
19867
- epoch: string;
19868
- generation: number;
19869
- metadataGeneration: number;
19870
- };
19871
- outputFormat: "json";
19872
- status: import("hono/utils/http-status").ContentfulStatusCode;
19873
- input: {};
19874
- };
19875
- };
19876
- } & {
19877
- "/reports": {
19878
- $get: {
19879
- output: {
19880
- error: string;
19881
- code?: "invalid_input" | undefined;
19882
- };
19883
- outputFormat: "json";
19884
- status: 400;
19885
- input: {
19886
- query: {
19887
- q?: string | undefined;
19888
- before?: string | undefined;
19889
- limit?: number | undefined;
19890
- };
19891
- };
19892
- } | {
19893
- output: {
19894
- error: string;
19895
- };
19896
- outputFormat: "json";
19897
- status: 409;
19898
- input: {
19899
- query: {
19900
- q?: string | undefined;
19901
- before?: string | undefined;
19902
- limit?: number | undefined;
19903
- };
19904
- };
19905
- } | {
19906
- output: {
19907
- error: string;
19908
- };
19909
- outputFormat: "json";
19910
- status: 400;
19911
- input: {
19912
- query: {
19913
- q?: string | undefined;
19914
- before?: string | undefined;
19915
- limit?: number | undefined;
19916
- };
19917
- };
19918
- } | {
19919
- output: {
19920
- reports: {
19921
- id: string;
19922
- runId: string;
19923
- name: string;
19924
- title: string;
19925
- createdAt: string;
19926
- size: number;
19927
- taskTitle: string;
19928
- taskStatus: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
19929
- }[];
19930
- nextCursor: string | null;
19931
- total: number;
19932
- };
19933
- outputFormat: "json";
19934
- status: import("hono/utils/http-status").ContentfulStatusCode;
19935
- input: {
19936
- query: {
19937
- q?: string | undefined;
19938
- before?: string | undefined;
19939
- limit?: number | undefined;
19940
- };
19941
- };
19942
- };
19943
- };
19944
19944
  }, "/"> | import("hono/types").MergeSchemaPath<{
19945
19945
  "/worktrees": {
19946
19946
  $get: {
@@ -24436,22 +24436,24 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24436
24436
  };
24437
24437
  } | {
24438
24438
  output: {
24439
- readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
24440
- readonly error: string;
24441
- readonly modelChoices?: {
24442
- runner: string;
24443
- requestedModel: string;
24444
- availableModels: {
24445
- id: string;
24446
- label: string;
24447
- description: string;
24448
- effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
24449
- }[];
24450
- otherRunners: string[];
24439
+ workerId: string;
24440
+ state: "complete" | "incomplete";
24441
+ work?: {
24442
+ uncommittedFiles: number;
24443
+ commits: number;
24451
24444
  } | undefined;
24445
+ deleted?: ({
24446
+ kind: "worktree";
24447
+ path: string;
24448
+ } | {
24449
+ kind: "branch";
24450
+ ref: string;
24451
+ })[] | undefined;
24452
+ remaining: ("branch" | "process" | "worktree")[];
24453
+ error?: string | undefined;
24452
24454
  };
24453
24455
  outputFormat: "json";
24454
- status: 400 | 401 | 403 | 409 | 503;
24456
+ status: 200;
24455
24457
  input: {
24456
24458
  query: {
24457
24459
  [x: string]: string | string[];
@@ -24484,7 +24486,7 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24484
24486
  error?: string | undefined;
24485
24487
  };
24486
24488
  outputFormat: "json";
24487
- status: 200;
24489
+ status: 409;
24488
24490
  input: {
24489
24491
  query: {
24490
24492
  [x: string]: string | string[];
@@ -24500,24 +24502,22 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
24500
24502
  };
24501
24503
  } | {
24502
24504
  output: {
24503
- workerId: string;
24504
- state: "complete" | "incomplete";
24505
- work?: {
24506
- uncommittedFiles: number;
24507
- commits: number;
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[];
24508
24517
  } | undefined;
24509
- deleted?: ({
24510
- kind: "worktree";
24511
- path: string;
24512
- } | {
24513
- kind: "branch";
24514
- ref: string;
24515
- })[] | undefined;
24516
- remaining: ("branch" | "process" | "worktree")[];
24517
- error?: string | undefined;
24518
24518
  };
24519
24519
  outputFormat: "json";
24520
- status: 409;
24520
+ status: 400 | 401 | 403 | 409 | 503;
24521
24521
  input: {
24522
24522
  query: {
24523
24523
  [x: string]: string | string[];