@hearsay-tools/squawk 0.19.0-pr4622.9211 → 0.19.0-pr4622.9213

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 (91) hide show
  1. package/dist/ci-wait/controller.d.ts +7 -7
  2. package/dist/delegation/routes.d.ts +78 -78
  3. package/dist/features/hosts/routes.d.ts +64 -64
  4. package/dist/features/reports/routes.d.ts +2 -2
  5. package/dist/features/webhooks/routes.d.ts +38 -38
  6. package/dist/server/activity-routes.d.ts +23 -23
  7. package/dist/server/models-routes.d.ts +12 -12
  8. package/dist/server/projects-routes.d.ts +41 -41
  9. package/dist/server/providers-routes.d.ts +58 -58
  10. package/dist/server/runners-routes.d.ts +10 -10
  11. package/dist/server/runs-routes.d.ts +347 -347
  12. package/dist/server/workspace-live-routes.d.ts +5 -5
  13. package/dist/server/workspace-routes.d.ts +85 -85
  14. package/package.json +4 -4
  15. package/web/dist/assets/{accounts-section-CKWqAxEQ.js → accounts-section-BwVLJgxK.js} +1 -1
  16. package/web/dist/assets/{activity-motion-BlhXAVnS.js → activity-motion-tBH9QmZu.js} +1 -1
  17. package/web/dist/assets/{activity-route-BfsOrdeD.js → activity-route-CkXs29ji.js} +1 -1
  18. package/web/dist/assets/{agent-accounts-DKK4W3xn.js → agent-accounts-DQ_JY8H9.js} +1 -1
  19. package/web/dist/assets/{agent-config-section-BY92FMFf.js → agent-config-section-Bii12by6.js} +2 -2
  20. package/web/dist/assets/{agent-defaults-section-DGYwfnYh.js → agent-defaults-section-BpiqyCUf.js} +1 -1
  21. package/web/dist/assets/{appearance-BGjaVf7D.js → appearance-B_765RRk.js} +1 -1
  22. package/web/dist/assets/{archive-on-merge-field-BrS2zm1g.js → archive-on-merge-field-B6O9ruku.js} +1 -1
  23. package/web/dist/assets/{ask-card-Dc1pCn2B.js → ask-card-Cd0Xc7Uq.js} +2 -2
  24. package/web/dist/assets/{automations-route-B1B7zQgr.js → automations-route-CcVVZs26.js} +2 -2
  25. package/web/dist/assets/{commit-list-BaoYb5Dt.js → commit-list-Dcd0WekD.js} +1 -1
  26. package/web/dist/assets/{diff-CGZaTysl.js → diff-B_cIEbs-.js} +2 -2
  27. package/web/dist/assets/{diff-controls-DulaH3EF.js → diff-controls-BTGIDnSs.js} +1 -1
  28. package/web/dist/assets/{diff-view-DCCWqI57.js → diff-view-J684vGFE.js} +1 -1
  29. package/web/dist/assets/{discard-changes-dialog-BXaM9RmZ.js → discard-changes-dialog-BtnFyMRT.js} +1 -1
  30. package/web/dist/assets/{file-preview-BvtY-4m2.js → file-preview-B3jXfVP7.js} +1 -1
  31. package/web/dist/assets/{folder-browser-BztgyA2p.js → folder-browser-sYsHX_an.js} +1 -1
  32. package/web/dist/assets/{git-toolbar-bhQ7aTtR.js → git-toolbar-SKqi4XfU.js} +1 -1
  33. package/web/dist/assets/github-T6wolZwH.js +1 -0
  34. package/web/dist/assets/{global-activity-route-FJwugmwm.js → global-activity-route-Dx-kvhpz.js} +1 -1
  35. package/web/dist/assets/hosts-DeyANWdw.js +1 -0
  36. package/web/dist/assets/index-6oRe52sM.js +21 -0
  37. package/web/dist/assets/label-BXbOoPSF.js +1 -0
  38. package/web/dist/assets/{markdown-WuLAJnyd.js → markdown-TRVPj3Mg.js} +1 -1
  39. package/web/dist/assets/{open-in-menu-CYVvplCT.js → open-in-menu-g5K4vTnb.js} +1 -1
  40. package/web/dist/assets/{option-select-7AnGvvB1.js → option-select-B76TaZGm.js} +1 -1
  41. package/web/dist/assets/{preferences-section-BcGAVrXN.js → preferences-section-DZRKsK2E.js} +1 -1
  42. package/web/dist/assets/{preview-pane-connected-CNSFmeOm.js → preview-pane-connected-CM10_MPC.js} +1 -1
  43. package/web/dist/assets/{project-location-CevhmYtx.js → project-location-F5rU1iQp.js} +1 -1
  44. package/web/dist/assets/projects-section-DvYKR18b.js +1 -0
  45. package/web/dist/assets/{prompt-templates-section-CBvPHVqL.js → prompt-templates-section-DFiGQ_kP.js} +2 -2
  46. package/web/dist/assets/queries-DQVUxiSU.js +1 -0
  47. package/web/dist/assets/{read-state-D9a4i8-k.js → read-state-DlkdVJHO.js} +1 -1
  48. package/web/dist/assets/{reference-chip-CW8i_sq3.js → reference-chip-DTWd5NlK.js} +1 -1
  49. package/web/dist/assets/{remote-settings-notice-BR81Cf35.js → remote-settings-notice-4jnKyzkr.js} +1 -1
  50. package/web/dist/assets/{repo-git-D2lw4Jb0.js → repo-git-bpVnYJKi.js} +1 -1
  51. package/web/dist/assets/{report-reader-BDPP4dVK.js → report-reader-DMyNCIiX.js} +1 -1
  52. package/web/dist/assets/{report-selection-CJ-q2Dc5.js → report-selection-BJgUwTp3.js} +1 -1
  53. package/web/dist/assets/{reports-Ber7rhF2.js → reports-CBzt0Dmc.js} +1 -1
  54. package/web/dist/assets/{resources-section-DfPp8Jln.js → resources-section-DrFTKHSn.js} +1 -1
  55. package/web/dist/assets/{review-notes-drafts-DFiWzQLc.js → review-notes-drafts-N0GgOh1J.js} +1 -1
  56. package/web/dist/assets/{review-panel-BZY9n7NK.js → review-panel-BhyjEDJC.js} +1 -1
  57. package/web/dist/assets/{review-strip-DsmIhl6m.js → review-strip-DoWuOvcF.js} +1 -1
  58. package/web/dist/assets/{run-detail-refresh-u-eY7R4u.js → run-detail-refresh-Bx9zlPFP.js} +1 -1
  59. package/web/dist/assets/{run-diff-6l-f4FRx.js → run-diff-BqvMg-mp.js} +1 -1
  60. package/web/dist/assets/{run-header-CZkXDDXM.js → run-header-Bg2x1hvz.js} +2 -2
  61. package/web/dist/assets/{select-BXM-MFR0.js → select-Cbi8vDBU.js} +1 -1
  62. package/web/dist/assets/{session-context-section-JsdhWEPi.js → session-context-section-BnezEi_b.js} +1 -1
  63. package/web/dist/assets/{settings-agent-picker-DcPaMYPH.js → settings-agent-picker-DCmAHz6j.js} +1 -1
  64. package/web/dist/assets/{settings-save-bar-D0m7WuMo.js → settings-save-bar-De7cR5EO.js} +1 -1
  65. package/web/dist/assets/{settings-shell-DQmyZ9hT.js → settings-shell-kQCF-IMK.js} +1 -1
  66. package/web/dist/assets/{sidebar-section-Bs-cg8z3.js → sidebar-section-BZHg8W-H.js} +1 -1
  67. package/web/dist/assets/{skills-B3Isk2OO.js → skills-DUOE73c3.js} +1 -1
  68. package/web/dist/assets/{task-changes-DOjyd1uO.js → task-changes-fRMZxCzG.js} +2 -2
  69. package/web/dist/assets/{task-commits-B-0XCAhO.js → task-commits-Cenv0zsB.js} +1 -1
  70. package/web/dist/assets/{task-file-scope-jCHWm0DC.js → task-file-scope-K1Ban5eN.js} +1 -1
  71. package/web/dist/assets/{task-files-Dhui8MYu.js → task-files-EU03WHnV.js} +1 -1
  72. package/web/dist/assets/{task-github-item-BLQQTXu-.js → task-github-item-Dhte1Ixh.js} +1 -1
  73. package/web/dist/assets/{task-groups-D4siwI6y.js → task-groups-DcQL5SKa.js} +1 -1
  74. package/web/dist/assets/task-thread-DDMomGRh.js +2 -0
  75. package/web/dist/assets/{thread-state-B8eN7DGY.js → thread-state-K3qTs1EO.js} +1 -1
  76. package/web/dist/assets/{use-finish-run-DEFzV087.js → use-finish-run-C8c9NAvg.js} +1 -1
  77. package/web/dist/assets/{use-hand-to-agent-state-CEXvipNt.js → use-hand-to-agent-state-BIvAHKwY.js} +1 -1
  78. package/web/dist/assets/use-path-bases-DxT4eodL.js +1 -0
  79. package/web/dist/assets/{use-workspace-config-save-DmWYyw7u.js → use-workspace-config-save-D6M-r6_i.js} +1 -1
  80. package/web/dist/assets/{workflows-DQviiLA5.js → workflows-jSPeMWLl.js} +2 -2
  81. package/web/dist/assets/{workspace-tools-CYG6A_wz.js → workspace-tools-DmZ9LMQc.js} +1 -1
  82. package/web/dist/assets/{worktrees-section-GOAfXLaQ.js → worktrees-section-CsXzXEwX.js} +4 -4
  83. package/web/dist/index.html +12 -12
  84. package/web/dist/assets/github-ByGLDkz7.js +0 -1
  85. package/web/dist/assets/hosts-D9Mbe3-s.js +0 -1
  86. package/web/dist/assets/index-C_yV_XCP.js +0 -21
  87. package/web/dist/assets/label-B7NZNRTj.js +0 -1
  88. package/web/dist/assets/projects-section-BQamIjAJ.js +0 -1
  89. package/web/dist/assets/queries-CAsaqjt8.js +0 -1
  90. package/web/dist/assets/task-thread-Qla6wJW_.js +0 -2
  91. package/web/dist/assets/use-path-bases-De5S6oTw.js +0 -1
@@ -121,9 +121,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
121
121
  } & {
122
122
  "/api/v1/tools/:name": {
123
123
  $post: {
124
- output: never;
124
+ output: {
125
+ code: string;
126
+ message: string;
127
+ };
125
128
  outputFormat: "json";
126
- status: import("hono/utils/http-status").ContentfulStatusCode;
129
+ status: 401;
127
130
  input: {
128
131
  json: unknown;
129
132
  } & {
@@ -146,12 +149,9 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
146
149
  };
147
150
  };
148
151
  } | {
149
- output: {
150
- code: string;
151
- message: string;
152
- };
152
+ output: never;
153
153
  outputFormat: "json";
154
- status: 401;
154
+ status: import("hono/utils/http-status").ContentfulStatusCode;
155
155
  input: {
156
156
  json: unknown;
157
157
  } & {
@@ -27,18 +27,6 @@ export declare function delegationFailure(error: unknown): {
27
27
  export declare function createDelegationRoutes(service: DelegationService, credentials: CredentialRegistry): import("hono/hono-base").HonoBase<Env, {
28
28
  "/list": {
29
29
  $get: {
30
- output: {
31
- error: string;
32
- code?: "invalid_input" | undefined;
33
- };
34
- outputFormat: "json";
35
- status: 400;
36
- input: {
37
- query: {
38
- offset?: string | undefined;
39
- };
40
- };
41
- } | {
42
30
  output: {
43
31
  workers: {
44
32
  workerId: string;
@@ -91,6 +79,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
91
79
  offset?: string | undefined;
92
80
  };
93
81
  };
82
+ } | {
83
+ output: {
84
+ error: string;
85
+ code?: "invalid_input" | undefined;
86
+ };
87
+ outputFormat: "json";
88
+ status: 400;
89
+ input: {
90
+ query: {
91
+ offset?: string | undefined;
92
+ };
93
+ };
94
94
  };
95
95
  };
96
96
  } & {
@@ -677,18 +677,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
677
677
  } & {
678
678
  "/:workerId": {
679
679
  $get: {
680
- output: {
681
- error: string;
682
- code?: "invalid_input" | undefined;
683
- };
684
- outputFormat: "json";
685
- status: 400;
686
- input: {
687
- param: {
688
- workerId: string;
689
- };
690
- };
691
- } | {
692
680
  output: {
693
681
  workerId: string;
694
682
  settled: boolean;
@@ -813,11 +801,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
813
801
  workerId: string;
814
802
  };
815
803
  };
816
- };
817
- };
818
- } & {
819
- "/:workerId/collect": {
820
- $post: {
804
+ } | {
821
805
  output: {
822
806
  error: string;
823
807
  code?: "invalid_input" | undefined;
@@ -828,10 +812,12 @@ export declare function createDelegationRoutes(service: DelegationService, crede
828
812
  param: {
829
813
  workerId: string;
830
814
  };
831
- } & {
832
- json: Record<string, never>;
833
815
  };
834
- } | {
816
+ };
817
+ };
818
+ } & {
819
+ "/:workerId/collect": {
820
+ $post: {
835
821
  output: {
836
822
  workerId: string;
837
823
  parentRunId: string;
@@ -956,11 +942,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
956
942
  } & {
957
943
  json: Record<string, never>;
958
944
  };
959
- };
960
- };
961
- } & {
962
- "/:workerId/steer": {
963
- $post: {
945
+ } | {
964
946
  output: {
965
947
  error: string;
966
948
  code?: "invalid_input" | undefined;
@@ -972,11 +954,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
972
954
  workerId: string;
973
955
  };
974
956
  } & {
975
- json: {
976
- text: string;
977
- };
957
+ json: Record<string, never>;
978
958
  };
979
- } | {
959
+ };
960
+ };
961
+ } & {
962
+ "/:workerId/steer": {
963
+ $post: {
980
964
  output: {
981
965
  workerId: string;
982
966
  state: "delivered" | "queued";
@@ -992,11 +976,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
992
976
  text: string;
993
977
  };
994
978
  };
995
- };
996
- };
997
- } & {
998
- "/:workerId/stop": {
999
- $post: {
979
+ } | {
1000
980
  output: {
1001
981
  error: string;
1002
982
  code?: "invalid_input" | undefined;
@@ -1008,9 +988,15 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1008
988
  workerId: string;
1009
989
  };
1010
990
  } & {
1011
- json: Record<string, never>;
991
+ json: {
992
+ text: string;
993
+ };
1012
994
  };
1013
- } | {
995
+ };
996
+ };
997
+ } & {
998
+ "/:workerId/stop": {
999
+ $post: {
1014
1000
  output: {
1015
1001
  workerId: string;
1016
1002
  state: "stopping" | "terminated";
@@ -1024,11 +1010,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1024
1010
  } & {
1025
1011
  json: Record<string, never>;
1026
1012
  };
1027
- };
1028
- };
1029
- } & {
1030
- "/:workerId/destroy": {
1031
- $post: {
1013
+ } | {
1032
1014
  output: {
1033
1015
  error: string;
1034
1016
  code?: "invalid_input" | undefined;
@@ -1040,11 +1022,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1040
1022
  workerId: string;
1041
1023
  };
1042
1024
  } & {
1043
- json: {
1044
- discardWork?: true | undefined;
1045
- };
1025
+ json: Record<string, never>;
1046
1026
  };
1047
- } | {
1027
+ };
1028
+ };
1029
+ } & {
1030
+ "/:workerId/destroy": {
1031
+ $post: {
1048
1032
  output: {
1049
1033
  workerId: string;
1050
1034
  state: "complete" | "incomplete";
@@ -1073,6 +1057,22 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1073
1057
  discardWork?: true | undefined;
1074
1058
  };
1075
1059
  };
1060
+ } | {
1061
+ output: {
1062
+ error: string;
1063
+ code?: "invalid_input" | undefined;
1064
+ };
1065
+ outputFormat: "json";
1066
+ status: 400;
1067
+ input: {
1068
+ param: {
1069
+ workerId: string;
1070
+ };
1071
+ } & {
1072
+ json: {
1073
+ discardWork?: true | undefined;
1074
+ };
1075
+ };
1076
1076
  } | {
1077
1077
  output: {
1078
1078
  workerId: string;
@@ -1108,11 +1108,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1108
1108
  "/:workerId/summary": {
1109
1109
  $post: {
1110
1110
  output: {
1111
- error: string;
1112
- code?: "invalid_input" | undefined;
1111
+ workerId: string;
1112
+ revision: number;
1113
+ source: "assistant" | "failure";
1114
+ seq: number;
1115
+ totalLines: number;
1116
+ offset: number;
1117
+ lineCount: number;
1118
+ text: string;
1119
+ nextOffset?: number | undefined;
1113
1120
  };
1114
1121
  outputFormat: "json";
1115
- status: 400;
1122
+ status: 200;
1116
1123
  input: {
1117
1124
  param: {
1118
1125
  workerId: string;
@@ -1125,18 +1132,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1125
1132
  };
1126
1133
  } | {
1127
1134
  output: {
1128
- workerId: string;
1129
- revision: number;
1130
- source: "assistant" | "failure";
1131
- seq: number;
1132
- totalLines: number;
1133
- offset: number;
1134
- lineCount: number;
1135
- text: string;
1136
- nextOffset?: number | undefined;
1135
+ error: string;
1136
+ code?: "invalid_input" | undefined;
1137
1137
  };
1138
1138
  outputFormat: "json";
1139
- status: 200;
1139
+ status: 400;
1140
1140
  input: {
1141
1141
  param: {
1142
1142
  workerId: string;
@@ -1153,11 +1153,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1153
1153
  "/:workerId/diff": {
1154
1154
  $get: {
1155
1155
  output: {
1156
- error: string;
1157
- code?: "invalid_input" | undefined;
1156
+ workerId: string;
1157
+ baselineSha: string;
1158
+ diff: string;
1159
+ truncated: boolean;
1158
1160
  };
1159
1161
  outputFormat: "json";
1160
- status: 400;
1162
+ status: 200;
1161
1163
  input: {
1162
1164
  param: {
1163
1165
  workerId: string;
@@ -1165,13 +1167,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1165
1167
  };
1166
1168
  } | {
1167
1169
  output: {
1168
- workerId: string;
1169
- baselineSha: string;
1170
- diff: string;
1171
- truncated: boolean;
1170
+ error: string;
1171
+ code?: "invalid_input" | undefined;
1172
1172
  };
1173
1173
  outputFormat: "json";
1174
- status: 200;
1174
+ status: 400;
1175
1175
  input: {
1176
1176
  param: {
1177
1177
  workerId: string;
@@ -139,18 +139,6 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
139
139
  } & {
140
140
  "/hosts/runs-index": {
141
141
  $get: {
142
- output: {
143
- error: string;
144
- code?: "invalid_input" | undefined;
145
- };
146
- outputFormat: "json";
147
- status: 400;
148
- input: {
149
- query: {
150
- hostId?: string | undefined;
151
- };
152
- };
153
- } | {
154
142
  output: {
155
143
  runs: {
156
144
  id: string;
@@ -314,11 +302,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
314
302
  hostId?: string | undefined;
315
303
  };
316
304
  };
317
- };
318
- };
319
- } & {
320
- "/hosts/runs-search": {
321
- $get: {
305
+ } | {
322
306
  output: {
323
307
  error: string;
324
308
  code?: "invalid_input" | undefined;
@@ -327,11 +311,14 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
327
311
  status: 400;
328
312
  input: {
329
313
  query: {
330
- q: string | string[];
331
- limit?: number | undefined;
314
+ hostId?: string | undefined;
332
315
  };
333
316
  };
334
- } | {
317
+ };
318
+ };
319
+ } & {
320
+ "/hosts/runs-search": {
321
+ $get: {
335
322
  output: {
336
323
  runs: {
337
324
  id: string;
@@ -485,16 +472,39 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
485
472
  limit?: number | undefined;
486
473
  };
487
474
  };
475
+ } | {
476
+ output: {
477
+ error: string;
478
+ code?: "invalid_input" | undefined;
479
+ };
480
+ outputFormat: "json";
481
+ status: 400;
482
+ input: {
483
+ query: {
484
+ q: string | string[];
485
+ limit?: number | undefined;
486
+ };
487
+ };
488
488
  };
489
489
  };
490
490
  } & {
491
491
  "/hosts": {
492
492
  $post: {
493
493
  output: {
494
- error: string;
494
+ host: {
495
+ id: string;
496
+ label: string;
497
+ state: "cannot-persist" | "connected" | "connecting" | "identity-changed" | "needs-node" | "not-hosted" | "paused" | "several-servers" | "unreachable" | "version-mismatch";
498
+ reason?: string | undefined;
499
+ kind?: "ssh" | undefined;
500
+ sshAlias?: string | undefined;
501
+ installId?: string | undefined;
502
+ port?: number | undefined;
503
+ addedAt?: string | undefined;
504
+ };
495
505
  };
496
506
  outputFormat: "json";
497
- status: 404;
507
+ status: 201;
498
508
  input: {
499
509
  json: {
500
510
  sshAlias: string;
@@ -522,7 +532,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
522
532
  error: string;
523
533
  };
524
534
  outputFormat: "json";
525
- status: 409;
535
+ status: 404;
526
536
  input: {
527
537
  json: {
528
538
  sshAlias: string;
@@ -536,7 +546,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
536
546
  error: string;
537
547
  };
538
548
  outputFormat: "json";
539
- status: 500;
549
+ status: 409;
540
550
  input: {
541
551
  json: {
542
552
  sshAlias: string;
@@ -547,20 +557,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
547
557
  };
548
558
  } | {
549
559
  output: {
550
- host: {
551
- id: string;
552
- label: string;
553
- state: "cannot-persist" | "connected" | "connecting" | "identity-changed" | "needs-node" | "not-hosted" | "paused" | "several-servers" | "unreachable" | "version-mismatch";
554
- reason?: string | undefined;
555
- kind?: "ssh" | undefined;
556
- sshAlias?: string | undefined;
557
- installId?: string | undefined;
558
- port?: number | undefined;
559
- addedAt?: string | undefined;
560
- };
560
+ error: string;
561
561
  };
562
562
  outputFormat: "json";
563
- status: 201;
563
+ status: 409;
564
564
  input: {
565
565
  json: {
566
566
  sshAlias: string;
@@ -574,7 +574,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
574
574
  error: string;
575
575
  };
576
576
  outputFormat: "json";
577
- status: 409;
577
+ status: 500;
578
578
  input: {
579
579
  json: {
580
580
  sshAlias: string;
@@ -589,11 +589,20 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
589
589
  "/hosts/:id": {
590
590
  $patch: {
591
591
  output: {
592
- error: string;
593
- code?: "invalid_input" | undefined;
592
+ host: {
593
+ id: string;
594
+ label: string;
595
+ state: "cannot-persist" | "connected" | "connecting" | "identity-changed" | "needs-node" | "not-hosted" | "paused" | "several-servers" | "unreachable" | "version-mismatch";
596
+ reason?: string | undefined;
597
+ kind?: "ssh" | undefined;
598
+ sshAlias?: string | undefined;
599
+ installId?: string | undefined;
600
+ port?: number | undefined;
601
+ addedAt?: string | undefined;
602
+ };
594
603
  };
595
604
  outputFormat: "json";
596
- status: 400;
605
+ status: 200;
597
606
  input: {
598
607
  param: {
599
608
  id: string;
@@ -608,9 +617,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
608
617
  } | {
609
618
  output: {
610
619
  error: string;
620
+ code?: "invalid_input" | undefined;
611
621
  };
612
622
  outputFormat: "json";
613
- status: 404;
623
+ status: 400;
614
624
  input: {
615
625
  param: {
616
626
  id: string;
@@ -644,7 +654,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
644
654
  error: string;
645
655
  };
646
656
  outputFormat: "json";
647
- status: 409;
657
+ status: 404;
648
658
  input: {
649
659
  param: {
650
660
  id: string;
@@ -661,7 +671,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
661
671
  error: string;
662
672
  };
663
673
  outputFormat: "json";
664
- status: 500;
674
+ status: 409;
665
675
  input: {
666
676
  param: {
667
677
  id: string;
@@ -692,20 +702,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
692
702
  };
693
703
  } | {
694
704
  output: {
695
- host: {
696
- id: string;
697
- label: string;
698
- state: "cannot-persist" | "connected" | "connecting" | "identity-changed" | "needs-node" | "not-hosted" | "paused" | "several-servers" | "unreachable" | "version-mismatch";
699
- reason?: string | undefined;
700
- kind?: "ssh" | undefined;
701
- sshAlias?: string | undefined;
702
- installId?: string | undefined;
703
- port?: number | undefined;
704
- addedAt?: string | undefined;
705
- };
705
+ error: string;
706
706
  };
707
707
  outputFormat: "json";
708
- status: 200;
708
+ status: 500;
709
709
  input: {
710
710
  param: {
711
711
  id: string;
@@ -723,11 +723,11 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
723
723
  "/hosts/:id": {
724
724
  $delete: {
725
725
  output: {
726
- error: string;
727
- code?: "invalid_input" | undefined;
726
+ removed: true;
727
+ id: string;
728
728
  };
729
729
  outputFormat: "json";
730
- status: 400;
730
+ status: 200;
731
731
  input: {
732
732
  param: {
733
733
  id: string;
@@ -736,9 +736,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
736
736
  } | {
737
737
  output: {
738
738
  error: string;
739
+ code?: "invalid_input" | undefined;
739
740
  };
740
741
  outputFormat: "json";
741
- status: 404;
742
+ status: 400;
742
743
  input: {
743
744
  param: {
744
745
  id: string;
@@ -760,7 +761,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
760
761
  error: string;
761
762
  };
762
763
  outputFormat: "json";
763
- status: 409;
764
+ status: 404;
764
765
  input: {
765
766
  param: {
766
767
  id: string;
@@ -771,7 +772,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
771
772
  error: string;
772
773
  };
773
774
  outputFormat: "json";
774
- status: 500;
775
+ status: 409;
775
776
  input: {
776
777
  param: {
777
778
  id: string;
@@ -790,11 +791,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
790
791
  };
791
792
  } | {
792
793
  output: {
793
- removed: true;
794
- id: string;
794
+ error: string;
795
795
  };
796
796
  outputFormat: "json";
797
- status: 200;
797
+ status: 500;
798
798
  input: {
799
799
  param: {
800
800
  id: string;
@@ -42,7 +42,7 @@ export declare function createReportsRoutes(): import("hono/hono-base").HonoBase
42
42
  error: string;
43
43
  };
44
44
  outputFormat: "json";
45
- status: 409;
45
+ status: 400;
46
46
  input: {
47
47
  query: {
48
48
  q?: string | undefined;
@@ -55,7 +55,7 @@ export declare function createReportsRoutes(): import("hono/hono-base").HonoBase
55
55
  error: string;
56
56
  };
57
57
  outputFormat: "json";
58
- status: 400;
58
+ status: 409;
59
59
  input: {
60
60
  query: {
61
61
  q?: string | undefined;