@hearsay-tools/squawk 0.18.0-pr4101.7849 → 0.18.0-pr4103.7856

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 (57) hide show
  1. package/dist/ci-wait/controller.d.ts +42 -42
  2. package/dist/delegation/transport.d.ts +65 -65
  3. package/dist/server/models-routes.d.ts +13 -13
  4. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  5. package/dist/server/reports-api.d.ts +2 -2
  6. package/dist/server/runner-install-routes.d.ts +10 -10
  7. package/dist/server/server.d.ts +1593 -1593
  8. package/package.json +4 -4
  9. package/web/dist/assets/activity-motion-COefAYxj.js +2 -0
  10. package/web/dist/assets/{activity-route-Cz-rvbZ2.js → activity-route-BjN-TqHH.js} +1 -1
  11. package/web/dist/assets/attention-H5-Em3Tx.js +1 -0
  12. package/web/dist/assets/commit-diff-panel-Du2wqQSX.js +1 -0
  13. package/web/dist/assets/{diff-DI4VzuYN.js → diff-QJmzhaty.js} +2 -2
  14. package/web/dist/assets/{diff-view-D_4gizCK.js → diff-view-CIVW3ZiL.js} +1 -1
  15. package/web/dist/assets/{file-preview-Bi4gKafB.js → file-preview-BN3YTMHg.js} +1 -1
  16. package/web/dist/assets/{git-toolbar-rD304H-0.js → git-toolbar-BZSgzJCS.js} +1 -1
  17. package/web/dist/assets/github-D4yaGGfd.js +1 -0
  18. package/web/dist/assets/{global-activity-route-DlY7H1rT.js → global-activity-route-CTJgzp24.js} +1 -1
  19. package/web/dist/assets/index-BwGa3EWN.js +14 -0
  20. package/web/dist/assets/{markdown-doq86ner.js → markdown-CsJ2O-I8.js} +1 -1
  21. package/web/dist/assets/{picker-pill-B8HQMHMO.js → picker-pill-BYIJPG-j.js} +1 -1
  22. package/web/dist/assets/{preview-pane-connected-Dggh7YST.js → preview-pane-connected-iMBxyAWf.js} +1 -1
  23. package/web/dist/assets/{project-router-CFmb6NlX.js → project-router-CQLq5U4p.js} +1 -1
  24. package/web/dist/assets/{project-scope-context-Dlbq88xo.js → project-scope-context-D7lglI5C.js} +1 -1
  25. package/web/dist/assets/{prompt-template-menu-DBFmXFq5.js → prompt-template-menu-BI99otxm.js} +1 -1
  26. package/web/dist/assets/queries-4t4-ZQ1Q.js +1 -0
  27. package/web/dist/assets/{reference-chip-6RyUrDc6.js → reference-chip-5kh21OiY.js} +1 -1
  28. package/web/dist/assets/{repo-git-7kwazD3R.js → repo-git-U7B1oFwf.js} +1 -1
  29. package/web/dist/assets/{report-reader-Dg2ojBc_.js → report-reader-BUCLvMJx.js} +1 -1
  30. package/web/dist/assets/{reports-DaN1XZ5g.js → reports-CXmG_Bbr.js} +1 -1
  31. package/web/dist/assets/run-header-CZOYkhBl.js +2 -0
  32. package/web/dist/assets/{runners-M0-6Uumh.js → runners-U0XWDbVJ.js} +1 -1
  33. package/web/dist/assets/{skills-CXU7ZjvL.js → skills-Bg9UsWbX.js} +1 -1
  34. package/web/dist/assets/{tab-link-B8m0q2sJ.js → tab-link-BGk04SmO.js} +1 -1
  35. package/web/dist/assets/{task-changes-BuVilcOg.js → task-changes-CPS-VXpI.js} +1 -1
  36. package/web/dist/assets/task-commits-_byMECla.js +1 -0
  37. package/web/dist/assets/{task-files-D-vyiZrz.js → task-files-D16RrIM-.js} +1 -1
  38. package/web/dist/assets/{task-github-item-DQHmhrMu.js → task-github-item-D0MXyj1J.js} +1 -1
  39. package/web/dist/assets/task-thread-Bxf86AvN.js +9 -0
  40. package/web/dist/assets/{thread-state-Cd3Q9ZdX.js → thread-state-oZiyw-2s.js} +1 -1
  41. package/web/dist/assets/{use-desktop-NTwdvSZg.js → use-desktop-Beyg-LHf.js} +1 -1
  42. package/web/dist/assets/{use-hand-to-agent-state-DMy1raU0.js → use-hand-to-agent-state-BUFPNxit.js} +1 -1
  43. package/web/dist/assets/{useInfiniteQuery-g210uX4t.js → useInfiniteQuery-U6c6k2Y3.js} +1 -1
  44. package/web/dist/assets/useQuery-DRXnL9ag.js +1 -0
  45. package/web/dist/assets/{workflows-KeaSZ0DF.js → workflows-TWPzS3VB.js} +2 -2
  46. package/web/dist/assets/{ws-DBXUJ3K4.js → ws-BnHV4VRl.js} +1 -1
  47. package/web/dist/index.html +13 -13
  48. package/web/dist/assets/activity-motion-CUiNY01w.js +0 -2
  49. package/web/dist/assets/attention-BbVNVmrP.js +0 -1
  50. package/web/dist/assets/commit-diff-panel-DMI0GCL1.js +0 -1
  51. package/web/dist/assets/github-DZQgKb40.js +0 -1
  52. package/web/dist/assets/index-D4lUB-OA.js +0 -14
  53. package/web/dist/assets/queries-BtkCvBtK.js +0 -1
  54. package/web/dist/assets/run-header-GF37CaAZ.js +0 -2
  55. package/web/dist/assets/task-commits-DDWgrNtx.js +0 -1
  56. package/web/dist/assets/task-thread-CQN8oXtT.js +0 -9
  57. package/web/dist/assets/useQuery-D89BPQpm.js +0 -1
@@ -285,12 +285,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
285
285
  "/api/v1/tools/ask": {
286
286
  $post: {
287
287
  output: {
288
- ok: false;
289
- code: 'unavailable';
288
+ code: 'capability_revoked';
290
289
  message: string;
291
290
  };
292
291
  outputFormat: "json";
293
- status: import("hono/utils/http-status").ContentfulStatusCode;
292
+ status: 401;
294
293
  input: {
295
294
  json: {
296
295
  questions: {
@@ -309,11 +308,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
309
308
  };
310
309
  } | {
311
310
  output: {
312
- code: 'capability_revoked';
311
+ ok: false;
312
+ code: 'unavailable';
313
313
  message: string;
314
314
  };
315
315
  outputFormat: "json";
316
- status: 401;
316
+ status: import("hono/utils/http-status").ContentfulStatusCode;
317
317
  input: {
318
318
  json: {
319
319
  questions: {
@@ -383,12 +383,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
383
383
  "/api/v1/tools/cancel-wait": {
384
384
  $post: {
385
385
  output: {
386
- cancelled: false;
387
- code: 'unavailable';
386
+ code: 'capability_revoked';
388
387
  message: string;
389
388
  };
390
389
  outputFormat: "json";
391
- status: import("hono/utils/http-status").ContentfulStatusCode;
390
+ status: 401;
392
391
  input: {
393
392
  json: {
394
393
  wait_id: string;
@@ -396,11 +395,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
396
395
  };
397
396
  } | {
398
397
  output: {
399
- code: 'capability_revoked';
398
+ cancelled: false;
399
+ code: 'unavailable';
400
400
  message: string;
401
401
  };
402
402
  outputFormat: "json";
403
- status: 401;
403
+ status: import("hono/utils/http-status").ContentfulStatusCode;
404
404
  input: {
405
405
  json: {
406
406
  wait_id: string;
@@ -448,12 +448,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
448
448
  "/api/v1/tools/done": {
449
449
  $post: {
450
450
  output: {
451
- ok: false;
452
- code: 'unavailable';
451
+ code: 'capability_revoked';
453
452
  message: string;
454
453
  };
455
454
  outputFormat: "json";
456
- status: import("hono/utils/http-status").ContentfulStatusCode;
455
+ status: 401;
457
456
  input: {
458
457
  json: {
459
458
  summary?: string | undefined;
@@ -461,11 +460,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
461
460
  };
462
461
  } | {
463
462
  output: {
464
- code: 'capability_revoked';
463
+ ok: false;
464
+ code: 'unavailable';
465
465
  message: string;
466
466
  };
467
467
  outputFormat: "json";
468
- status: 401;
468
+ status: import("hono/utils/http-status").ContentfulStatusCode;
469
469
  input: {
470
470
  json: {
471
471
  summary?: string | undefined;
@@ -548,13 +548,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
548
548
  "/api/v1/tools/preview-stop": {
549
549
  $post: {
550
550
  output: {
551
- ok: boolean;
552
- code: "adopted" | "approval_required" | "headless" | "invalid_input" | "not_registered" | "port_held" | "port_in_use" | "preview_disabled" | "restarted" | "stopped" | "unavailable" | "worktree_missing";
551
+ code: 'capability_revoked';
553
552
  message: string;
554
- hint: string;
555
553
  };
556
554
  outputFormat: "json";
557
- status: import("hono/utils/http-status").ContentfulStatusCode;
555
+ status: 401;
558
556
  input: {
559
557
  json: {
560
558
  port: number;
@@ -563,11 +561,13 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
563
561
  };
564
562
  } | {
565
563
  output: {
566
- code: 'capability_revoked';
564
+ ok: boolean;
565
+ code: "adopted" | "approval_required" | "headless" | "invalid_input" | "not_registered" | "port_held" | "port_in_use" | "preview_disabled" | "restarted" | "stopped" | "unavailable" | "worktree_missing";
567
566
  message: string;
567
+ hint: string;
568
568
  };
569
569
  outputFormat: "json";
570
- status: 401;
570
+ status: import("hono/utils/http-status").ContentfulStatusCode;
571
571
  input: {
572
572
  json: {
573
573
  port: number;
@@ -580,13 +580,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
580
580
  "/api/v1/tools/preview-serve": {
581
581
  $post: {
582
582
  output: {
583
- ok: boolean;
584
- code: "cezar_port" | "cwd_outside_worktree" | "headless" | "invalid_input" | "port_held" | "preview_disabled" | "registered" | "replaced" | "too_many" | "unavailable" | "worktree_missing";
583
+ code: 'capability_revoked';
585
584
  message: string;
586
- hint: string;
587
585
  };
588
586
  outputFormat: "json";
589
- status: import("hono/utils/http-status").ContentfulStatusCode;
587
+ status: 401;
590
588
  input: {
591
589
  json: {
592
590
  command: string;
@@ -598,11 +596,13 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
598
596
  };
599
597
  } | {
600
598
  output: {
601
- code: 'capability_revoked';
599
+ ok: boolean;
600
+ code: "cezar_port" | "cwd_outside_worktree" | "headless" | "invalid_input" | "port_held" | "preview_disabled" | "registered" | "replaced" | "too_many" | "unavailable" | "worktree_missing";
602
601
  message: string;
602
+ hint: string;
603
603
  };
604
604
  outputFormat: "json";
605
- status: 401;
605
+ status: import("hono/utils/http-status").ContentfulStatusCode;
606
606
  input: {
607
607
  json: {
608
608
  command: string;
@@ -618,12 +618,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
618
618
  "/api/v1/tools/automation": {
619
619
  $post: {
620
620
  output: {
621
- ok: false;
622
- code: import('../contract/index.js').ScheduledTaskRefusalCode;
621
+ code: 'capability_revoked';
623
622
  message: string;
624
623
  };
625
624
  outputFormat: "json";
626
- status: import("hono/utils/http-status").ContentfulStatusCode;
625
+ status: 401;
627
626
  input: {
628
627
  json: {
629
628
  action: "create";
@@ -703,11 +702,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
703
702
  };
704
703
  } | {
705
704
  output: {
706
- code: 'capability_revoked';
705
+ ok: false;
706
+ code: import('../contract/index.js').ScheduledTaskRefusalCode;
707
707
  message: string;
708
708
  };
709
709
  outputFormat: "json";
710
- status: 401;
710
+ status: import("hono/utils/http-status").ContentfulStatusCode;
711
711
  input: {
712
712
  json: {
713
713
  action: "create";
@@ -963,12 +963,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
963
963
  "/api/v1/tools/schedule-task": {
964
964
  $post: {
965
965
  output: {
966
- ok: false;
967
- code: import('../contract/index.js').ScheduledTaskRefusalCode;
966
+ code: 'capability_revoked';
968
967
  message: string;
969
968
  };
970
969
  outputFormat: "json";
971
- status: import("hono/utils/http-status").ContentfulStatusCode;
970
+ status: 401;
972
971
  input: {
973
972
  json: {
974
973
  at?: string | undefined;
@@ -985,11 +984,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
985
984
  };
986
985
  } | {
987
986
  output: {
988
- code: 'capability_revoked';
987
+ ok: false;
988
+ code: import('../contract/index.js').ScheduledTaskRefusalCode;
989
989
  message: string;
990
990
  };
991
991
  outputFormat: "json";
992
- status: 401;
992
+ status: import("hono/utils/http-status").ContentfulStatusCode;
993
993
  input: {
994
994
  json: {
995
995
  at?: string | undefined;
@@ -1044,12 +1044,11 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
1044
1044
  "/api/v1/tools/scheduled-tasks": {
1045
1045
  $post: {
1046
1046
  output: {
1047
- ok: false;
1048
- code: import('../contract/index.js').ScheduledTaskRefusalCode;
1047
+ code: 'capability_revoked';
1049
1048
  message: string;
1050
1049
  };
1051
1050
  outputFormat: "json";
1052
- status: import("hono/utils/http-status").ContentfulStatusCode;
1051
+ status: 401;
1053
1052
  input: {
1054
1053
  json: {
1055
1054
  at?: string | undefined;
@@ -1082,11 +1081,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
1082
1081
  };
1083
1082
  } | {
1084
1083
  output: {
1085
- code: 'capability_revoked';
1084
+ ok: false;
1085
+ code: import('../contract/index.js').ScheduledTaskRefusalCode;
1086
1086
  message: string;
1087
1087
  };
1088
1088
  outputFormat: "json";
1089
- status: 401;
1089
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1090
1090
  input: {
1091
1091
  json: {
1092
1092
  at?: string | undefined;
@@ -2,6 +2,18 @@ import type { DelegationRoutes } from './routes.ts';
2
2
  export declare function createDelegationApp(routes: DelegationRoutes): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
3
3
  "/list": {
4
4
  $get: {
5
+ output: {
6
+ error: string;
7
+ code?: "invalid_input" | undefined;
8
+ };
9
+ outputFormat: "json";
10
+ status: 400;
11
+ input: {
12
+ query: {
13
+ offset?: string | undefined;
14
+ };
15
+ };
16
+ } | {
5
17
  output: {
6
18
  workers: {
7
19
  workerId: string;
@@ -48,18 +60,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
48
60
  offset?: string | undefined;
49
61
  };
50
62
  };
51
- } | {
52
- output: {
53
- error: string;
54
- code?: "invalid_input" | undefined;
55
- };
56
- outputFormat: "json";
57
- status: 400;
58
- input: {
59
- query: {
60
- offset?: string | undefined;
61
- };
62
- };
63
63
  };
64
64
  };
65
65
  } & {
@@ -604,6 +604,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
604
604
  } & {
605
605
  "/:workerId": {
606
606
  $get: {
607
+ output: {
608
+ error: string;
609
+ code?: "invalid_input" | undefined;
610
+ };
611
+ outputFormat: "json";
612
+ status: 400;
613
+ input: {
614
+ param: {
615
+ workerId: string;
616
+ };
617
+ };
618
+ } | {
607
619
  output: {
608
620
  workerId: string;
609
621
  settled: boolean;
@@ -721,7 +733,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
721
733
  workerId: string;
722
734
  };
723
735
  };
724
- } | {
736
+ };
737
+ };
738
+ } & {
739
+ "/:workerId/collect": {
740
+ $post: {
725
741
  output: {
726
742
  error: string;
727
743
  code?: "invalid_input" | undefined;
@@ -732,12 +748,10 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
732
748
  param: {
733
749
  workerId: string;
734
750
  };
751
+ } & {
752
+ json: Record<string, never>;
735
753
  };
736
- };
737
- };
738
- } & {
739
- "/:workerId/collect": {
740
- $post: {
754
+ } | {
741
755
  output: {
742
756
  workerId: string;
743
757
  parentRunId: string;
@@ -860,7 +874,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
860
874
  } & {
861
875
  json: Record<string, never>;
862
876
  };
863
- } | {
877
+ };
878
+ };
879
+ } & {
880
+ "/:workerId/steer": {
881
+ $post: {
864
882
  output: {
865
883
  error: string;
866
884
  code?: "invalid_input" | undefined;
@@ -872,13 +890,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
872
890
  workerId: string;
873
891
  };
874
892
  } & {
875
- json: Record<string, never>;
893
+ json: {
894
+ text: string;
895
+ };
876
896
  };
877
- };
878
- };
879
- } & {
880
- "/:workerId/steer": {
881
- $post: {
897
+ } | {
882
898
  output: {
883
899
  workerId: string;
884
900
  state: "delivered" | "queued";
@@ -894,7 +910,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
894
910
  text: string;
895
911
  };
896
912
  };
897
- } | {
913
+ };
914
+ };
915
+ } & {
916
+ "/:workerId/stop": {
917
+ $post: {
898
918
  output: {
899
919
  error: string;
900
920
  code?: "invalid_input" | undefined;
@@ -906,15 +926,9 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
906
926
  workerId: string;
907
927
  };
908
928
  } & {
909
- json: {
910
- text: string;
911
- };
929
+ json: Record<string, never>;
912
930
  };
913
- };
914
- };
915
- } & {
916
- "/:workerId/stop": {
917
- $post: {
931
+ } | {
918
932
  output: {
919
933
  workerId: string;
920
934
  state: "stopping" | "terminated";
@@ -928,7 +942,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
928
942
  } & {
929
943
  json: Record<string, never>;
930
944
  };
931
- } | {
945
+ };
946
+ };
947
+ } & {
948
+ "/:workerId/destroy": {
949
+ $post: {
932
950
  output: {
933
951
  error: string;
934
952
  code?: "invalid_input" | undefined;
@@ -940,13 +958,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
940
958
  workerId: string;
941
959
  };
942
960
  } & {
943
- json: Record<string, never>;
961
+ json: {
962
+ discardWork?: true | undefined;
963
+ };
944
964
  };
945
- };
946
- };
947
- } & {
948
- "/:workerId/destroy": {
949
- $post: {
965
+ } | {
950
966
  output: {
951
967
  workerId: string;
952
968
  state: "complete" | "incomplete";
@@ -975,22 +991,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
975
991
  discardWork?: true | undefined;
976
992
  };
977
993
  };
978
- } | {
979
- output: {
980
- error: string;
981
- code?: "invalid_input" | undefined;
982
- };
983
- outputFormat: "json";
984
- status: 400;
985
- input: {
986
- param: {
987
- workerId: string;
988
- };
989
- } & {
990
- json: {
991
- discardWork?: true | undefined;
992
- };
993
- };
994
994
  } | {
995
995
  output: {
996
996
  workerId: string;
@@ -1026,13 +1026,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
1026
1026
  "/:workerId/diff": {
1027
1027
  $get: {
1028
1028
  output: {
1029
- workerId: string;
1030
- baselineSha: string;
1031
- diff: string;
1032
- truncated: boolean;
1029
+ error: string;
1030
+ code?: "invalid_input" | undefined;
1033
1031
  };
1034
1032
  outputFormat: "json";
1035
- status: 200;
1033
+ status: 400;
1036
1034
  input: {
1037
1035
  param: {
1038
1036
  workerId: string;
@@ -1040,11 +1038,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
1040
1038
  };
1041
1039
  } | {
1042
1040
  output: {
1043
- error: string;
1044
- code?: "invalid_input" | undefined;
1041
+ workerId: string;
1042
+ baselineSha: string;
1043
+ diff: string;
1044
+ truncated: boolean;
1045
1045
  };
1046
1046
  outputFormat: "json";
1047
- status: 400;
1047
+ status: 200;
1048
1048
  input: {
1049
1049
  param: {
1050
1050
  workerId: string;
@@ -30,19 +30,10 @@ export declare function createModelsRoutes(options: {
30
30
  };
31
31
  } | {
32
32
  output: {
33
- runner: string;
34
- models: {
35
- id: string;
36
- label: string;
37
- description: string;
38
- effortLevels?: import('../contract/index.js').EffortLevel[];
39
- }[];
40
- source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
41
- stale: boolean;
42
- reason?: string;
33
+ error: string;
43
34
  };
44
35
  outputFormat: "json";
45
- status: import("hono/utils/http-status").ContentfulStatusCode;
36
+ status: 400;
46
37
  input: {
47
38
  query: {
48
39
  runner: string | string[];
@@ -63,10 +54,19 @@ export declare function createModelsRoutes(options: {
63
54
  };
64
55
  } | {
65
56
  output: {
66
- error: string;
57
+ runner: string;
58
+ models: {
59
+ id: string;
60
+ label: string;
61
+ description: string;
62
+ effortLevels?: import('../contract/index.js').EffortLevel[];
63
+ }[];
64
+ source: import("../core/runner-model-catalog.ts").ModelCatalogSource;
65
+ stale: boolean;
66
+ reason?: string;
67
67
  };
68
68
  outputFormat: "json";
69
- status: 400;
69
+ status: import("hono/utils/http-status").ContentfulStatusCode;
70
70
  input: {
71
71
  query: {
72
72
  runner: string | string[];
@@ -18,7 +18,7 @@ export declare function createProviderSignInRoutes(options: {
18
18
  error: string;
19
19
  };
20
20
  outputFormat: "json";
21
- status: 400;
21
+ status: 409;
22
22
  input: {
23
23
  json: {
24
24
  provider: string;
@@ -30,7 +30,7 @@ export declare function createProviderSignInRoutes(options: {
30
30
  error: string;
31
31
  };
32
32
  outputFormat: "json";
33
- status: 409;
33
+ status: 400;
34
34
  input: {
35
35
  json: {
36
36
  provider: string;
@@ -40,7 +40,7 @@ export declare const reportsRoutes: import("hono/hono-base").HonoBase<ProjectApi
40
40
  error: string;
41
41
  };
42
42
  outputFormat: "json";
43
- status: 409;
43
+ status: 400;
44
44
  input: {
45
45
  query: {
46
46
  q?: string | undefined;
@@ -53,7 +53,7 @@ export declare const reportsRoutes: import("hono/hono-base").HonoBase<ProjectApi
53
53
  error: string;
54
54
  };
55
55
  outputFormat: "json";
56
- status: 400;
56
+ status: 409;
57
57
  input: {
58
58
  query: {
59
59
  q?: string | undefined;
@@ -51,15 +51,11 @@ export declare function createRunnerInstallRoutes(options: {
51
51
  "/runner-install/:runner": {
52
52
  $post: {
53
53
  output: {
54
- supported: boolean;
55
- installedVersion: string | null;
56
- latestVersion: string | null;
57
- updateAvailable: boolean;
58
- phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
59
- error: string | null;
54
+ error: string;
55
+ code?: "invalid_input" | undefined;
60
56
  };
61
57
  outputFormat: "json";
62
- status: 202;
58
+ status: 400;
63
59
  input: {
64
60
  param: {
65
61
  runner: string;
@@ -71,11 +67,15 @@ export declare function createRunnerInstallRoutes(options: {
71
67
  };
72
68
  } | {
73
69
  output: {
74
- error: string;
75
- code?: "invalid_input" | undefined;
70
+ supported: boolean;
71
+ installedVersion: string | null;
72
+ latestVersion: string | null;
73
+ updateAvailable: boolean;
74
+ phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
75
+ error: string | null;
76
76
  };
77
77
  outputFormat: "json";
78
- status: 400;
78
+ status: 202;
79
79
  input: {
80
80
  param: {
81
81
  runner: string;