@hearsay-tools/squawk 0.19.0-dev.8901 → 0.19.0-dev.8905

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 (82) hide show
  1. package/dist/delegation/routes.d.ts +65 -65
  2. package/dist/server/providers-routes.d.ts +57 -57
  3. package/dist/server/repo-routes.d.ts +34 -34
  4. package/dist/server/runner-install-routes.d.ts +10 -10
  5. package/dist/server/runs-routes.d.ts +301 -301
  6. package/dist/server/server.d.ts +58 -58
  7. package/dist/server/workspace-routes.d.ts +85 -85
  8. package/package.json +4 -4
  9. package/web/dist/assets/{accounts-section-DV18K14j.js → accounts-section-CL4_y1Ap.js} +1 -1
  10. package/web/dist/assets/{activity-motion-U0gkYTm-.js → activity-motion-1nxINCqs.js} +1 -1
  11. package/web/dist/assets/{activity-route-CKFb-IYI.js → activity-route-yCPzQHRl.js} +1 -1
  12. package/web/dist/assets/{agent-config-section-X66FRjsE.js → agent-config-section-CO-Bl7d7.js} +1 -1
  13. package/web/dist/assets/{agent-defaults-section-EEYiGk_Q.js → agent-defaults-section-C90pO0nt.js} +1 -1
  14. package/web/dist/assets/{appearance-D4I-ANZ_.js → appearance-dgwYTY63.js} +1 -1
  15. package/web/dist/assets/{archive-on-merge-field-D6y7pCov.js → archive-on-merge-field-DJZVhb_I.js} +1 -1
  16. package/web/dist/assets/{automations-route-4ahsnx6z.js → automations-route-BhSkU9kZ.js} +2 -2
  17. package/web/dist/assets/{command-ppU3xBNs.js → command-BMMjB5k9.js} +1 -1
  18. package/web/dist/assets/{commit-list-Dp0c_x8b.js → commit-list-mYh1t3BD.js} +1 -1
  19. package/web/dist/assets/{design-icons-CzEoMH9c.js → design-icons-BZt8Kqs9.js} +1 -1
  20. package/web/dist/assets/{dialog-DXCws12U.js → dialog-CB9ZhEk2.js} +1 -1
  21. package/web/dist/assets/{diff-n7BcLjSi.js → diff-B4l1BaZJ.js} +2 -2
  22. package/web/dist/assets/{diff-controls-7hWjGeWp.js → diff-controls-Bs58JOMz.js} +1 -1
  23. package/web/dist/assets/{diff-view-CJNrRCRI.js → diff-view-BGwOGavy.js} +1 -1
  24. package/web/dist/assets/{discard-changes-dialog-Bd3w4xOW.js → discard-changes-dialog-Cr1vlcjZ.js} +1 -1
  25. package/web/dist/assets/dropdown-menu-VFda6KAg.js +1 -0
  26. package/web/dist/assets/{file-preview-DS5j5uFi.js → file-preview-DqopZwES.js} +1 -1
  27. package/web/dist/assets/{git-toolbar-D5N_Ucqr.js → git-toolbar-pr68yTY4.js} +1 -1
  28. package/web/dist/assets/github-BY-X8L5Q.js +1 -0
  29. package/web/dist/assets/{global-activity-route-DqyHJiZz.js → global-activity-route-XkwjlnaD.js} +1 -1
  30. package/web/dist/assets/index-BOWGArJd.css +1 -0
  31. package/web/dist/assets/index-I4_drgNu.js +21 -0
  32. package/web/dist/assets/{markdown-9FIYg1nH.js → markdown-fuaT5ciN.js} +1 -1
  33. package/web/dist/assets/{open-in-menu-L5v_AQZt.js → open-in-menu-Uw-sJhbG.js} +1 -1
  34. package/web/dist/assets/{option-select-CYbw9rk4.js → option-select-_tHcMUWt.js} +1 -1
  35. package/web/dist/assets/{preferences-section-Do1nZwKg.js → preferences-section-Crh_5QfK.js} +1 -1
  36. package/web/dist/assets/{preview-pane-connected-o7nx7h4-.js → preview-pane-connected-CLWRxEhI.js} +1 -1
  37. package/web/dist/assets/{project-location-BFN7mvbZ.js → project-location-DmGO5Dqx.js} +1 -1
  38. package/web/dist/assets/{projects-section-Bq9DzRDF.js → projects-section-CLPN14JX.js} +1 -1
  39. package/web/dist/assets/{prompt-templates-section-CNa_K7AU.js → prompt-templates-section-CQHpVrcB.js} +2 -2
  40. package/web/dist/assets/{reference-chip-O8Bfl1Oi.js → reference-chip-Dk69XD7Q.js} +1 -1
  41. package/web/dist/assets/{remote-settings-notice-CbCCb3QA.js → remote-settings-notice-C8naX_yp.js} +1 -1
  42. package/web/dist/assets/{repo-git-Dz3fhj6j.js → repo-git-CTSdvalV.js} +1 -1
  43. package/web/dist/assets/{report-reader-BfsdCLq-.js → report-reader-DJJixZxy.js} +1 -1
  44. package/web/dist/assets/{report-selection-cuFCCxDW.js → report-selection-BH0M_8bk.js} +1 -1
  45. package/web/dist/assets/{reports-Df83TkE3.js → reports-DXfywo34.js} +1 -1
  46. package/web/dist/assets/{resources-section-CKJGgLWa.js → resources-section-CA-D1Vj2.js} +1 -1
  47. package/web/dist/assets/review-panel-UI6FQQmp.js +11 -0
  48. package/web/dist/assets/{run-header-BWNapiIC.js → run-header-DDQU9tCB.js} +2 -2
  49. package/web/dist/assets/select-QO8XlmjU.js +1 -0
  50. package/web/dist/assets/{session-context-section-CSDtUgJI.js → session-context-section-CTDQl-i5.js} +1 -1
  51. package/web/dist/assets/{settings-agent-picker-pMZcMiW4.js → settings-agent-picker-DE5zKJtS.js} +1 -1
  52. package/web/dist/assets/{settings-list-detail-Ch1KMPjr.js → settings-list-detail-DcRsGkGy.js} +1 -1
  53. package/web/dist/assets/{settings-save-bar-CFkofH5G.js → settings-save-bar-DM7T22Nr.js} +1 -1
  54. package/web/dist/assets/{settings-shell-B6-ofejE.js → settings-shell-EOUcgx1J.js} +1 -1
  55. package/web/dist/assets/{sidebar-section-DwcXrxn2.js → sidebar-section-C69ES3GL.js} +1 -1
  56. package/web/dist/assets/{skills-DD5hhynR.js → skills-DuaNQ6XW.js} +1 -1
  57. package/web/dist/assets/task-changes-midIkW0D.js +1 -0
  58. package/web/dist/assets/{task-commits-D8Pzk4b3.js → task-commits-DAT7-sIh.js} +1 -1
  59. package/web/dist/assets/{task-file-scope-DPJOeknI.js → task-file-scope-BYAH1Mj8.js} +1 -1
  60. package/web/dist/assets/{task-files-DJnNyynG.js → task-files-CJaZfp0y.js} +1 -1
  61. package/web/dist/assets/{task-github-item-Di9HWGn6.js → task-github-item-BnoxG2el.js} +1 -1
  62. package/web/dist/assets/task-thread-fsRo8vgf.js +2 -0
  63. package/web/dist/assets/{thread-state-B2dX4psn.js → thread-state-T5A2uz_q.js} +1 -1
  64. package/web/dist/assets/use-hand-to-agent-state-CqiCI37V.css +1 -0
  65. package/web/dist/assets/use-hand-to-agent-state-Cy6oaj7k.js +1 -0
  66. package/web/dist/assets/use-path-bases-x6weDx5i.js +1 -0
  67. package/web/dist/assets/workflows-CwZ1aiR4.js +7 -0
  68. package/web/dist/assets/{workspace-tools-6fvZHbrZ.js → workspace-tools-0-Yx7SCS.js} +1 -1
  69. package/web/dist/assets/{worktrees-section-C1fpzChO.js → worktrees-section-Cn8sFOCC.js} +1 -1
  70. package/web/dist/index.html +9 -9
  71. package/web/dist/assets/dropdown-menu-B60L-d_4.js +0 -1
  72. package/web/dist/assets/github-Bhj0PA8h.js +0 -1
  73. package/web/dist/assets/index-UMSYsh9P.css +0 -1
  74. package/web/dist/assets/index-i4Bu7SvU.js +0 -21
  75. package/web/dist/assets/review-panel-BaUd88ko.js +0 -11
  76. package/web/dist/assets/select-Cy2NunWj.js +0 -1
  77. package/web/dist/assets/task-changes-CbWxyOEd.js +0 -1
  78. package/web/dist/assets/task-thread-gXImKbGN.js +0 -2
  79. package/web/dist/assets/use-hand-to-agent-state-BHaqyTxa.css +0 -1
  80. package/web/dist/assets/use-hand-to-agent-state-DhUiLIQg.js +0 -1
  81. package/web/dist/assets/use-path-bases-BzlzA9bw.js +0 -1
  82. package/web/dist/assets/workflows-slzqyi2_.js +0 -7
@@ -27,6 +27,18 @@ 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
+ } | {
30
42
  output: {
31
43
  workers: {
32
44
  workerId: string;
@@ -79,18 +91,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
79
91
  offset?: string | undefined;
80
92
  };
81
93
  };
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,6 +677,18 @@ 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
+ } | {
680
692
  output: {
681
693
  workerId: string;
682
694
  settled: boolean;
@@ -801,7 +813,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
801
813
  workerId: string;
802
814
  };
803
815
  };
804
- } | {
816
+ };
817
+ };
818
+ } & {
819
+ "/:workerId/collect": {
820
+ $post: {
805
821
  output: {
806
822
  error: string;
807
823
  code?: "invalid_input" | undefined;
@@ -812,12 +828,10 @@ export declare function createDelegationRoutes(service: DelegationService, crede
812
828
  param: {
813
829
  workerId: string;
814
830
  };
831
+ } & {
832
+ json: Record<string, never>;
815
833
  };
816
- };
817
- };
818
- } & {
819
- "/:workerId/collect": {
820
- $post: {
834
+ } | {
821
835
  output: {
822
836
  workerId: string;
823
837
  parentRunId: string;
@@ -940,7 +954,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
940
954
  } & {
941
955
  json: Record<string, never>;
942
956
  };
943
- } | {
957
+ };
958
+ };
959
+ } & {
960
+ "/:workerId/steer": {
961
+ $post: {
944
962
  output: {
945
963
  error: string;
946
964
  code?: "invalid_input" | undefined;
@@ -952,13 +970,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
952
970
  workerId: string;
953
971
  };
954
972
  } & {
955
- json: Record<string, never>;
973
+ json: {
974
+ text: string;
975
+ };
956
976
  };
957
- };
958
- };
959
- } & {
960
- "/:workerId/steer": {
961
- $post: {
977
+ } | {
962
978
  output: {
963
979
  workerId: string;
964
980
  state: "delivered" | "queued";
@@ -974,7 +990,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
974
990
  text: string;
975
991
  };
976
992
  };
977
- } | {
993
+ };
994
+ };
995
+ } & {
996
+ "/:workerId/stop": {
997
+ $post: {
978
998
  output: {
979
999
  error: string;
980
1000
  code?: "invalid_input" | undefined;
@@ -986,15 +1006,9 @@ export declare function createDelegationRoutes(service: DelegationService, crede
986
1006
  workerId: string;
987
1007
  };
988
1008
  } & {
989
- json: {
990
- text: string;
991
- };
1009
+ json: Record<string, never>;
992
1010
  };
993
- };
994
- };
995
- } & {
996
- "/:workerId/stop": {
997
- $post: {
1011
+ } | {
998
1012
  output: {
999
1013
  workerId: string;
1000
1014
  state: "stopping" | "terminated";
@@ -1008,7 +1022,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1008
1022
  } & {
1009
1023
  json: Record<string, never>;
1010
1024
  };
1011
- } | {
1025
+ };
1026
+ };
1027
+ } & {
1028
+ "/:workerId/destroy": {
1029
+ $post: {
1012
1030
  output: {
1013
1031
  error: string;
1014
1032
  code?: "invalid_input" | undefined;
@@ -1020,13 +1038,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1020
1038
  workerId: string;
1021
1039
  };
1022
1040
  } & {
1023
- json: Record<string, never>;
1041
+ json: {
1042
+ discardWork?: true | undefined;
1043
+ };
1024
1044
  };
1025
- };
1026
- };
1027
- } & {
1028
- "/:workerId/destroy": {
1029
- $post: {
1045
+ } | {
1030
1046
  output: {
1031
1047
  workerId: string;
1032
1048
  state: "complete" | "incomplete";
@@ -1055,22 +1071,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1055
1071
  discardWork?: true | undefined;
1056
1072
  };
1057
1073
  };
1058
- } | {
1059
- output: {
1060
- error: string;
1061
- code?: "invalid_input" | undefined;
1062
- };
1063
- outputFormat: "json";
1064
- status: 400;
1065
- input: {
1066
- param: {
1067
- workerId: string;
1068
- };
1069
- } & {
1070
- json: {
1071
- discardWork?: true | undefined;
1072
- };
1073
- };
1074
1074
  } | {
1075
1075
  output: {
1076
1076
  workerId: string;
@@ -1106,13 +1106,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1106
1106
  "/:workerId/diff": {
1107
1107
  $get: {
1108
1108
  output: {
1109
- workerId: string;
1110
- baselineSha: string;
1111
- diff: string;
1112
- truncated: boolean;
1109
+ error: string;
1110
+ code?: "invalid_input" | undefined;
1113
1111
  };
1114
1112
  outputFormat: "json";
1115
- status: 200;
1113
+ status: 400;
1116
1114
  input: {
1117
1115
  param: {
1118
1116
  workerId: string;
@@ -1120,11 +1118,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
1120
1118
  };
1121
1119
  } | {
1122
1120
  output: {
1123
- error: string;
1124
- code?: "invalid_input" | undefined;
1121
+ workerId: string;
1122
+ baselineSha: string;
1123
+ diff: string;
1124
+ truncated: boolean;
1125
1125
  };
1126
1126
  outputFormat: "json";
1127
- status: 400;
1127
+ status: 200;
1128
1128
  input: {
1129
1129
  param: {
1130
1130
  workerId: string;
@@ -70,10 +70,18 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
70
70
  };
71
71
  } | {
72
72
  output: {
73
- error: string;
73
+ providers: {
74
+ requiresAccountHome?: boolean | undefined;
75
+ provider: string;
76
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
77
+ enabled?: boolean | undefined;
78
+ hint?: string | undefined;
79
+ authFailureId?: string | undefined;
80
+ profileId?: string | undefined;
81
+ }[];
74
82
  };
75
83
  outputFormat: "json";
76
- status: 500;
84
+ status: import("hono/utils/http-status").ContentfulStatusCode;
77
85
  input: {
78
86
  param: {
79
87
  provider: string;
@@ -85,18 +93,10 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
85
93
  };
86
94
  } | {
87
95
  output: {
88
- providers: {
89
- requiresAccountHome?: boolean | undefined;
90
- provider: string;
91
- status: "connected" | "disconnected" | "not-installed" | "unknown";
92
- enabled?: boolean | undefined;
93
- hint?: string | undefined;
94
- authFailureId?: string | undefined;
95
- profileId?: string | undefined;
96
- }[];
96
+ error: string;
97
97
  };
98
98
  outputFormat: "json";
99
- status: import("hono/utils/http-status").ContentfulStatusCode;
99
+ status: 500;
100
100
  input: {
101
101
  param: {
102
102
  provider: string;
@@ -128,10 +128,18 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
128
128
  };
129
129
  } | {
130
130
  output: {
131
- error: string;
131
+ providers: {
132
+ requiresAccountHome?: boolean | undefined;
133
+ provider: string;
134
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
135
+ enabled?: boolean | undefined;
136
+ hint?: string | undefined;
137
+ authFailureId?: string | undefined;
138
+ profileId?: string | undefined;
139
+ }[];
132
140
  };
133
141
  outputFormat: "json";
134
- status: 409;
142
+ status: import("hono/utils/http-status").ContentfulStatusCode;
135
143
  input: {
136
144
  param: {
137
145
  provider: string;
@@ -143,18 +151,10 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
143
151
  };
144
152
  } | {
145
153
  output: {
146
- providers: {
147
- requiresAccountHome?: boolean | undefined;
148
- provider: string;
149
- status: "connected" | "disconnected" | "not-installed" | "unknown";
150
- enabled?: boolean | undefined;
151
- hint?: string | undefined;
152
- authFailureId?: string | undefined;
153
- profileId?: string | undefined;
154
- }[];
154
+ error: string;
155
155
  };
156
156
  outputFormat: "json";
157
- status: import("hono/utils/http-status").ContentfulStatusCode;
157
+ status: 409;
158
158
  input: {
159
159
  param: {
160
160
  provider: string;
@@ -173,7 +173,7 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
173
173
  error: string;
174
174
  };
175
175
  outputFormat: "json";
176
- status: 400;
176
+ status: 409;
177
177
  input: {
178
178
  json: {
179
179
  provider: string;
@@ -185,7 +185,7 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
185
185
  error: string;
186
186
  };
187
187
  outputFormat: "json";
188
- status: 409;
188
+ status: 400;
189
189
  input: {
190
190
  json: {
191
191
  provider: string;
@@ -290,28 +290,10 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
290
290
  "/workspace/agent-profiles": {
291
291
  $post: {
292
292
  output: {
293
- profile: {
294
- id: string;
295
- provider: string;
296
- label: string;
297
- configDir?: string | undefined;
298
- path?: string | undefined;
299
- exists: boolean;
300
- looksValid: boolean;
301
- isDefault: boolean;
302
- status?: {
303
- requiresAccountHome?: boolean | undefined;
304
- provider: string;
305
- status: "connected" | "disconnected" | "not-installed" | "unknown";
306
- enabled?: boolean | undefined;
307
- hint?: string | undefined;
308
- authFailureId?: string | undefined;
309
- profileId?: string | undefined;
310
- } | undefined;
311
- };
293
+ error: string;
312
294
  };
313
295
  outputFormat: "json";
314
- status: 201;
296
+ status: 409;
315
297
  input: {
316
298
  json: {
317
299
  provider: string;
@@ -337,7 +319,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
337
319
  error: string;
338
320
  };
339
321
  outputFormat: "json";
340
- status: 409;
322
+ status: 500;
341
323
  input: {
342
324
  json: {
343
325
  provider: string;
@@ -347,10 +329,28 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
347
329
  };
348
330
  } | {
349
331
  output: {
350
- error: string;
332
+ profile: {
333
+ id: string;
334
+ provider: string;
335
+ label: string;
336
+ configDir?: string | undefined;
337
+ path?: string | undefined;
338
+ exists: boolean;
339
+ looksValid: boolean;
340
+ isDefault: boolean;
341
+ status?: {
342
+ requiresAccountHome?: boolean | undefined;
343
+ provider: string;
344
+ status: "connected" | "disconnected" | "not-installed" | "unknown";
345
+ enabled?: boolean | undefined;
346
+ hint?: string | undefined;
347
+ authFailureId?: string | undefined;
348
+ profileId?: string | undefined;
349
+ } | undefined;
350
+ };
351
351
  };
352
352
  outputFormat: "json";
353
- status: 500;
353
+ status: 201;
354
354
  input: {
355
355
  json: {
356
356
  provider: string;
@@ -384,7 +384,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
384
384
  error: string;
385
385
  };
386
386
  outputFormat: "json";
387
- status: 400;
387
+ status: 409;
388
388
  input: {
389
389
  param: {
390
390
  id: string;
@@ -400,7 +400,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
400
400
  error: string;
401
401
  };
402
402
  outputFormat: "json";
403
- status: 404;
403
+ status: 400;
404
404
  input: {
405
405
  param: {
406
406
  id: string;
@@ -416,7 +416,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
416
416
  error: string;
417
417
  };
418
418
  outputFormat: "json";
419
- status: 409;
419
+ status: 404;
420
420
  input: {
421
421
  param: {
422
422
  id: string;
@@ -544,7 +544,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
544
544
  error: string;
545
545
  };
546
546
  outputFormat: "json";
547
- status: 400;
547
+ status: 404;
548
548
  input: {
549
549
  json: {
550
550
  projectId: string;
@@ -557,7 +557,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
557
557
  error: string;
558
558
  };
559
559
  outputFormat: "json";
560
- status: 404;
560
+ status: 400;
561
561
  input: {
562
562
  json: {
563
563
  projectId: string;
@@ -621,7 +621,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
621
621
  error: string;
622
622
  };
623
623
  outputFormat: "json";
624
- status: 404;
624
+ status: 409;
625
625
  input: {
626
626
  param: {
627
627
  id: string;
@@ -632,7 +632,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
632
632
  error: string;
633
633
  };
634
634
  outputFormat: "json";
635
- status: 409;
635
+ status: 500;
636
636
  input: {
637
637
  param: {
638
638
  id: string;
@@ -643,7 +643,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
643
643
  error: string;
644
644
  };
645
645
  outputFormat: "json";
646
- status: 500;
646
+ status: 404;
647
647
  input: {
648
648
  param: {
649
649
  id: string;
@@ -31,7 +31,7 @@ export declare function createOpenTargetsRoutes(deps: OpenTargetsRouteDeps): imp
31
31
  error: string;
32
32
  };
33
33
  outputFormat: "json";
34
- status: 400;
34
+ status: 409;
35
35
  input: {
36
36
  json: {
37
37
  target: string;
@@ -42,7 +42,7 @@ export declare function createOpenTargetsRoutes(deps: OpenTargetsRouteDeps): imp
42
42
  error: string;
43
43
  };
44
44
  outputFormat: "json";
45
- status: 409;
45
+ status: 400;
46
46
  input: {
47
47
  json: {
48
48
  target: string;
@@ -138,11 +138,10 @@ export declare function createWorktreesRoutes(deps: WorktreesRouteDeps): import(
138
138
  };
139
139
  } | {
140
140
  output: {
141
- runId: string;
142
- worktreeReclaimedAt: string;
141
+ error: string;
143
142
  };
144
143
  outputFormat: "json";
145
- status: import("hono/utils/http-status").ContentfulStatusCode;
144
+ status: 404 | 409;
146
145
  input: {
147
146
  param: {
148
147
  runId: string;
@@ -154,10 +153,11 @@ export declare function createWorktreesRoutes(deps: WorktreesRouteDeps): import(
154
153
  };
155
154
  } | {
156
155
  output: {
157
- error: string;
156
+ runId: string;
157
+ worktreeReclaimedAt: string;
158
158
  };
159
159
  outputFormat: "json";
160
- status: 404 | 409;
160
+ status: import("hono/utils/http-status").ContentfulStatusCode;
161
161
  input: {
162
162
  param: {
163
163
  runId: string;
@@ -294,18 +294,14 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
294
294
  "/repo/branches/delete": {
295
295
  $post: {
296
296
  output: {
297
- deleted: string[];
297
+ error: string;
298
298
  refused: {
299
299
  name: string;
300
300
  reason: string;
301
301
  }[];
302
- dropped?: {
303
- sha: string;
304
- subject: string;
305
- }[] | undefined;
306
302
  };
307
303
  outputFormat: "json";
308
- status: 200;
304
+ status: 409;
309
305
  input: {
310
306
  json: {
311
307
  names: string[];
@@ -314,14 +310,18 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
314
310
  };
315
311
  } | {
316
312
  output: {
317
- error: string;
313
+ deleted: string[];
318
314
  refused: {
319
315
  name: string;
320
316
  reason: string;
321
317
  }[];
318
+ dropped?: {
319
+ sha: string;
320
+ subject: string;
321
+ }[] | undefined;
322
322
  };
323
323
  outputFormat: "json";
324
- status: 409;
324
+ status: 200;
325
325
  input: {
326
326
  json: {
327
327
  names: string[];
@@ -342,6 +342,19 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
342
342
  } & {
343
343
  "/repo/commit/:sha": {
344
344
  $get: {
345
+ output: string;
346
+ outputFormat: "text";
347
+ status: import("hono/utils/http-status").ContentfulStatusCode;
348
+ input: {
349
+ query: {
350
+ structured?: string | undefined;
351
+ };
352
+ } & {
353
+ param: {
354
+ sha: string;
355
+ };
356
+ };
357
+ } | {
345
358
  output: {
346
359
  error: string;
347
360
  code?: "invalid_input" | undefined;
@@ -405,19 +418,6 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
405
418
  sha: string;
406
419
  };
407
420
  };
408
- } | {
409
- output: string;
410
- outputFormat: "text";
411
- status: import("hono/utils/http-status").ContentfulStatusCode;
412
- input: {
413
- query: {
414
- structured?: string | undefined;
415
- };
416
- } & {
417
- param: {
418
- sha: string;
419
- };
420
- };
421
421
  };
422
422
  };
423
423
  } & {
@@ -478,12 +478,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
478
478
  "/repo/pull": {
479
479
  $post: {
480
480
  output: {
481
- branch: string;
482
- pulled: true;
483
- summary: string;
481
+ error: string;
484
482
  };
485
483
  outputFormat: "json";
486
- status: 200;
484
+ status: 409;
487
485
  input: {
488
486
  json: {
489
487
  branch?: string | undefined;
@@ -492,10 +490,12 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
492
490
  };
493
491
  } | {
494
492
  output: {
495
- error: string;
493
+ branch: string;
494
+ pulled: true;
495
+ summary: string;
496
496
  };
497
497
  outputFormat: "json";
498
- status: 409;
498
+ status: 200;
499
499
  input: {
500
500
  json: {
501
501
  branch?: string | undefined;
@@ -52,15 +52,11 @@ export declare function createRunnerInstallRoutes(options: {
52
52
  "/runner-install/:runner": {
53
53
  $post: {
54
54
  output: {
55
- supported: boolean;
56
- installedVersion: string | null;
57
- latestVersion: string | null;
58
- updateAvailable: boolean;
59
- phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
60
- error: string | null;
55
+ error: string;
56
+ code?: "invalid_input" | undefined;
61
57
  };
62
58
  outputFormat: "json";
63
- status: 202;
59
+ status: 400;
64
60
  input: {
65
61
  param: {
66
62
  runner: string;
@@ -72,11 +68,15 @@ export declare function createRunnerInstallRoutes(options: {
72
68
  };
73
69
  } | {
74
70
  output: {
75
- error: string;
76
- code?: "invalid_input" | undefined;
71
+ supported: boolean;
72
+ installedVersion: string | null;
73
+ latestVersion: string | null;
74
+ updateAvailable: boolean;
75
+ phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
76
+ error: string | null;
77
77
  };
78
78
  outputFormat: "json";
79
- status: 400;
79
+ status: 202;
80
80
  input: {
81
81
  param: {
82
82
  runner: string;