@hearsay-tools/squawk 0.19.0-pr4580.9099 → 0.19.0-pr4588.9103
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.
- package/dist/delegation/transport.d.ts +78 -78
- package/dist/features/automations/automations-routes.d.ts +150 -150
- package/dist/features/hosts/routes.d.ts +44 -44
- package/dist/features/webhooks/routes.d.ts +51 -51
- package/dist/server/repo-routes.d.ts +52 -52
- package/dist/server/runs-routes.d.ts +16 -16
- package/dist/server/server.d.ts +58 -58
- package/package.json +4 -4
- package/web/dist/assets/{accounts-section-DrA0kndh.js → accounts-section-DL3fIJ3Y.js} +1 -1
- package/web/dist/assets/{activity-motion-C23PnhhH.js → activity-motion-nt1FXMrF.js} +1 -1
- package/web/dist/assets/{activity-route-CWGPbwtG.js → activity-route-xVy2K_Fi.js} +1 -1
- package/web/dist/assets/{agent-config-section-DWZQ2DSW.js → agent-config-section-nFavGeR2.js} +1 -1
- package/web/dist/assets/{agent-defaults-section-Da4tKbp7.js → agent-defaults-section-CN0pC4xG.js} +1 -1
- package/web/dist/assets/{appearance-Bm4ePfiH.js → appearance-zGuTSgIy.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-DuRmMR6k.js → archive-on-merge-field-BaKNf-j4.js} +1 -1
- package/web/dist/assets/{ask-card-vM_Z-WAg.js → ask-card-huOW3GMV.js} +3 -3
- package/web/dist/assets/{automations-route-B8zD3wux.js → automations-route-GBaRU2IS.js} +2 -2
- package/web/dist/assets/{commit-list-lwVhwbS8.js → commit-list-x-75vYko.js} +1 -1
- package/web/dist/assets/{diff-CC5UqjNZ.js → diff-Bhh_CAtI.js} +2 -2
- package/web/dist/assets/{diff-controls-C8KWZ5S-.js → diff-controls-BOnMrLuP.js} +1 -1
- package/web/dist/assets/{diff-view-DiuQQoKq.js → diff-view-DiPeQi9D.js} +1 -1
- package/web/dist/assets/{discard-changes-dialog-CX7M4k9n.js → discard-changes-dialog-BMofaFwH.js} +1 -1
- package/web/dist/assets/{file-preview-C_0CRYAr.js → file-preview-ChwOU1Uc.js} +1 -1
- package/web/dist/assets/{git-toolbar-PM540i_A.js → git-toolbar-BdhjSQLm.js} +1 -1
- package/web/dist/assets/{github-CeBvZzjo.js → github-DqXXUCBy.js} +1 -1
- package/web/dist/assets/{global-activity-route-CiTt7W6o.js → global-activity-route-CZJRu2G1.js} +1 -1
- package/web/dist/assets/index-CbSPKU4g.js +21 -0
- package/web/dist/assets/{markdown-CqzDs1kO.js → markdown-DMFXz4xY.js} +1 -1
- package/web/dist/assets/{option-select-CDOKbUov.js → option-select-Cq_bhgu6.js} +1 -1
- package/web/dist/assets/{preferences-section-cdbIMfEU.js → preferences-section-CHhUi72X.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-BcU9ryyW.js → preview-pane-connected-DH9rjYI7.js} +2 -2
- package/web/dist/assets/{project-location-BpBbcl3v.js → project-location-CSXt_Yk6.js} +1 -1
- package/web/dist/assets/{projects-section-CX1WJq4d.js → projects-section-CSBdiEM-.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-DrQthAY7.js → prompt-templates-section-DaJbpROr.js} +2 -2
- package/web/dist/assets/{remote-settings-notice-_MtFnktv.js → remote-settings-notice-Chx8LxP6.js} +1 -1
- package/web/dist/assets/repo-git-D8Sn_897.js +1 -0
- package/web/dist/assets/{report-reader-iboN3k6l.js → report-reader-Ccymt9jp.js} +1 -1
- package/web/dist/assets/reports-GvAw7DYA.js +1 -0
- package/web/dist/assets/{resources-section-BmDbIpaO.js → resources-section-BWqoBxtC.js} +1 -1
- package/web/dist/assets/{review-notes-drafts-DXxIudVB.js → review-notes-drafts-BKzyNpXo.js} +1 -1
- package/web/dist/assets/{review-panel-BjWbFGev.js → review-panel-DxAlY6hQ.js} +1 -1
- package/web/dist/assets/{review-strip-QIghY88F.js → review-strip-QDKNuOm9.js} +1 -1
- package/web/dist/assets/run-header-BS7SXYup.js +2 -0
- package/web/dist/assets/{select-BxuV2GlN.js → select-DVQEFrtF.js} +1 -1
- package/web/dist/assets/{session-context-section-OLW5UTvx.js → session-context-section-YxCcDlRl.js} +2 -2
- package/web/dist/assets/{settings-agent-picker-Dasyc6Qo.js → settings-agent-picker-CDyluV99.js} +1 -1
- package/web/dist/assets/{settings-save-bar-Mrc6Vm7P.js → settings-save-bar-CMJaZn_P.js} +1 -1
- package/web/dist/assets/settings-shell-DHVB7FYt.js +1 -0
- package/web/dist/assets/{sidebar-section-CVNvjM29.js → sidebar-section-hphp-63V.js} +1 -1
- package/web/dist/assets/{skills-7MwCp2i_.js → skills-BlHcP8uc.js} +1 -1
- package/web/dist/assets/{task-changes-DSZjztX7.js → task-changes-DWMFWq5g.js} +1 -1
- package/web/dist/assets/{task-commits-P_ElCQ4M.js → task-commits-q5Cn_tdG.js} +1 -1
- package/web/dist/assets/{task-file-scope-B63NmSov.js → task-file-scope-BKjO7lKK.js} +1 -1
- package/web/dist/assets/{task-files-CSFB6sG7.js → task-files-DbRJAKAg.js} +1 -1
- package/web/dist/assets/{task-github-item-BJ1rGyc6.js → task-github-item-DV6uUcx2.js} +1 -1
- package/web/dist/assets/{task-thread-C0DbAGi_.js → task-thread-05LMMzIs.js} +1 -1
- package/web/dist/assets/{thread-state-B7pyjJYO.js → thread-state-uf_28v2G.js} +1 -1
- package/web/dist/assets/{use-finish-run-B1Gy5JPt.js → use-finish-run-BsTPLn1d.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-CMyKCFeb.js → use-hand-to-agent-state-DyjrAs-3.js} +1 -1
- package/web/dist/assets/use-path-bases-hbJkikc4.js +1 -0
- package/web/dist/assets/{workflows-seQiL2pi.js → workflows-B5xr64g0.js} +3 -3
- package/web/dist/assets/{workspace-tools-BDf7nsE5.js → workspace-tools-DGlrX2Uj.js} +1 -1
- package/web/dist/assets/{worktrees-section-x7r5wRhx.js → worktrees-section-D2bbdi3Y.js} +1 -1
- package/web/dist/index.html +1 -1
- package/web/dist/assets/index-UFO7Bk2I.js +0 -21
- package/web/dist/assets/repo-git-5JS3oL12.js +0 -1
- package/web/dist/assets/reports-Cn3kWlK7.js +0 -1
- package/web/dist/assets/run-header-BWLcG57S.js +0 -2
- package/web/dist/assets/settings-shell-DWRk12-i.js +0 -1
- package/web/dist/assets/use-path-bases-wGc__G57.js +0 -1
|
@@ -34,10 +34,20 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
34
34
|
"/hosts": {
|
|
35
35
|
$post: {
|
|
36
36
|
output: {
|
|
37
|
-
|
|
37
|
+
host: {
|
|
38
|
+
id: string;
|
|
39
|
+
label: string;
|
|
40
|
+
state: "unreachable";
|
|
41
|
+
reason?: string | undefined;
|
|
42
|
+
kind?: "ssh" | undefined;
|
|
43
|
+
sshAlias?: string | undefined;
|
|
44
|
+
installId?: string | undefined;
|
|
45
|
+
port?: number | undefined;
|
|
46
|
+
addedAt?: string | undefined;
|
|
47
|
+
};
|
|
38
48
|
};
|
|
39
49
|
outputFormat: "json";
|
|
40
|
-
status:
|
|
50
|
+
status: 201;
|
|
41
51
|
input: {
|
|
42
52
|
json: {
|
|
43
53
|
sshAlias: string;
|
|
@@ -65,7 +75,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
65
75
|
error: string;
|
|
66
76
|
};
|
|
67
77
|
outputFormat: "json";
|
|
68
|
-
status:
|
|
78
|
+
status: 404;
|
|
69
79
|
input: {
|
|
70
80
|
json: {
|
|
71
81
|
sshAlias: string;
|
|
@@ -79,7 +89,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
79
89
|
error: string;
|
|
80
90
|
};
|
|
81
91
|
outputFormat: "json";
|
|
82
|
-
status:
|
|
92
|
+
status: 409;
|
|
83
93
|
input: {
|
|
84
94
|
json: {
|
|
85
95
|
sshAlias: string;
|
|
@@ -90,20 +100,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
90
100
|
};
|
|
91
101
|
} | {
|
|
92
102
|
output: {
|
|
93
|
-
|
|
94
|
-
id: string;
|
|
95
|
-
label: string;
|
|
96
|
-
state: "unreachable";
|
|
97
|
-
reason?: string | undefined;
|
|
98
|
-
kind?: "ssh" | undefined;
|
|
99
|
-
sshAlias?: string | undefined;
|
|
100
|
-
installId?: string | undefined;
|
|
101
|
-
port?: number | undefined;
|
|
102
|
-
addedAt?: string | undefined;
|
|
103
|
-
};
|
|
103
|
+
error: string;
|
|
104
104
|
};
|
|
105
105
|
outputFormat: "json";
|
|
106
|
-
status:
|
|
106
|
+
status: 409;
|
|
107
107
|
input: {
|
|
108
108
|
json: {
|
|
109
109
|
sshAlias: string;
|
|
@@ -117,7 +117,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
117
117
|
error: string;
|
|
118
118
|
};
|
|
119
119
|
outputFormat: "json";
|
|
120
|
-
status:
|
|
120
|
+
status: 500;
|
|
121
121
|
input: {
|
|
122
122
|
json: {
|
|
123
123
|
sshAlias: string;
|
|
@@ -132,11 +132,20 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
132
132
|
"/hosts/:id": {
|
|
133
133
|
$patch: {
|
|
134
134
|
output: {
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
host: {
|
|
136
|
+
id: string;
|
|
137
|
+
label: string;
|
|
138
|
+
state: "unreachable";
|
|
139
|
+
reason?: string | undefined;
|
|
140
|
+
kind?: "ssh" | undefined;
|
|
141
|
+
sshAlias?: string | undefined;
|
|
142
|
+
installId?: string | undefined;
|
|
143
|
+
port?: number | undefined;
|
|
144
|
+
addedAt?: string | undefined;
|
|
145
|
+
};
|
|
137
146
|
};
|
|
138
147
|
outputFormat: "json";
|
|
139
|
-
status:
|
|
148
|
+
status: 200;
|
|
140
149
|
input: {
|
|
141
150
|
param: {
|
|
142
151
|
id: string;
|
|
@@ -151,9 +160,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
151
160
|
} | {
|
|
152
161
|
output: {
|
|
153
162
|
error: string;
|
|
163
|
+
code?: "invalid_input" | undefined;
|
|
154
164
|
};
|
|
155
165
|
outputFormat: "json";
|
|
156
|
-
status:
|
|
166
|
+
status: 400;
|
|
157
167
|
input: {
|
|
158
168
|
param: {
|
|
159
169
|
id: string;
|
|
@@ -187,7 +197,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
187
197
|
error: string;
|
|
188
198
|
};
|
|
189
199
|
outputFormat: "json";
|
|
190
|
-
status:
|
|
200
|
+
status: 404;
|
|
191
201
|
input: {
|
|
192
202
|
param: {
|
|
193
203
|
id: string;
|
|
@@ -204,7 +214,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
204
214
|
error: string;
|
|
205
215
|
};
|
|
206
216
|
outputFormat: "json";
|
|
207
|
-
status:
|
|
217
|
+
status: 409;
|
|
208
218
|
input: {
|
|
209
219
|
param: {
|
|
210
220
|
id: string;
|
|
@@ -235,20 +245,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
235
245
|
};
|
|
236
246
|
} | {
|
|
237
247
|
output: {
|
|
238
|
-
|
|
239
|
-
id: string;
|
|
240
|
-
label: string;
|
|
241
|
-
state: "unreachable";
|
|
242
|
-
reason?: string | undefined;
|
|
243
|
-
kind?: "ssh" | undefined;
|
|
244
|
-
sshAlias?: string | undefined;
|
|
245
|
-
installId?: string | undefined;
|
|
246
|
-
port?: number | undefined;
|
|
247
|
-
addedAt?: string | undefined;
|
|
248
|
-
};
|
|
248
|
+
error: string;
|
|
249
249
|
};
|
|
250
250
|
outputFormat: "json";
|
|
251
|
-
status:
|
|
251
|
+
status: 500;
|
|
252
252
|
input: {
|
|
253
253
|
param: {
|
|
254
254
|
id: string;
|
|
@@ -266,11 +266,11 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
266
266
|
"/hosts/:id": {
|
|
267
267
|
$delete: {
|
|
268
268
|
output: {
|
|
269
|
-
|
|
270
|
-
|
|
269
|
+
removed: true;
|
|
270
|
+
id: string;
|
|
271
271
|
};
|
|
272
272
|
outputFormat: "json";
|
|
273
|
-
status:
|
|
273
|
+
status: 200;
|
|
274
274
|
input: {
|
|
275
275
|
param: {
|
|
276
276
|
id: string;
|
|
@@ -279,9 +279,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
279
279
|
} | {
|
|
280
280
|
output: {
|
|
281
281
|
error: string;
|
|
282
|
+
code?: "invalid_input" | undefined;
|
|
282
283
|
};
|
|
283
284
|
outputFormat: "json";
|
|
284
|
-
status:
|
|
285
|
+
status: 400;
|
|
285
286
|
input: {
|
|
286
287
|
param: {
|
|
287
288
|
id: string;
|
|
@@ -303,7 +304,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
303
304
|
error: string;
|
|
304
305
|
};
|
|
305
306
|
outputFormat: "json";
|
|
306
|
-
status:
|
|
307
|
+
status: 404;
|
|
307
308
|
input: {
|
|
308
309
|
param: {
|
|
309
310
|
id: string;
|
|
@@ -314,7 +315,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
314
315
|
error: string;
|
|
315
316
|
};
|
|
316
317
|
outputFormat: "json";
|
|
317
|
-
status:
|
|
318
|
+
status: 409;
|
|
318
319
|
input: {
|
|
319
320
|
param: {
|
|
320
321
|
id: string;
|
|
@@ -333,11 +334,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
333
334
|
};
|
|
334
335
|
} | {
|
|
335
336
|
output: {
|
|
336
|
-
|
|
337
|
-
id: string;
|
|
337
|
+
error: string;
|
|
338
338
|
};
|
|
339
339
|
outputFormat: "json";
|
|
340
|
-
status:
|
|
340
|
+
status: 500;
|
|
341
341
|
input: {
|
|
342
342
|
param: {
|
|
343
343
|
id: string;
|
|
@@ -100,18 +100,6 @@ export interface ProjectWebhooksRouteDeps {
|
|
|
100
100
|
export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDeps): import("hono/hono-base").HonoBase<ProjectApiEnv, {
|
|
101
101
|
"/projects/:projectId/webhook/test": {
|
|
102
102
|
$post: {
|
|
103
|
-
output: {
|
|
104
|
-
error: string;
|
|
105
|
-
code?: "no-boot-project" | undefined;
|
|
106
|
-
};
|
|
107
|
-
outputFormat: "json";
|
|
108
|
-
status: 404 | 409;
|
|
109
|
-
input: {
|
|
110
|
-
param: {
|
|
111
|
-
projectId: string;
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
} | {
|
|
115
103
|
output: {
|
|
116
104
|
error: string;
|
|
117
105
|
};
|
|
@@ -136,33 +124,23 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
136
124
|
projectId: string;
|
|
137
125
|
};
|
|
138
126
|
};
|
|
139
|
-
}
|
|
140
|
-
};
|
|
141
|
-
} & {
|
|
142
|
-
"/projects/:projectId/webhooks": {
|
|
143
|
-
$post: {
|
|
127
|
+
} | {
|
|
144
128
|
output: {
|
|
145
129
|
error: string;
|
|
146
130
|
code?: "no-boot-project" | undefined;
|
|
147
131
|
};
|
|
148
132
|
outputFormat: "json";
|
|
149
|
-
status:
|
|
133
|
+
status: 404 | 409;
|
|
150
134
|
input: {
|
|
151
|
-
json: {
|
|
152
|
-
name: string;
|
|
153
|
-
description?: string | undefined;
|
|
154
|
-
url: string;
|
|
155
|
-
token?: string | undefined;
|
|
156
|
-
tasks?: boolean | undefined;
|
|
157
|
-
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
158
|
-
agent?: boolean | undefined;
|
|
159
|
-
};
|
|
160
|
-
} & {
|
|
161
135
|
param: {
|
|
162
136
|
projectId: string;
|
|
163
137
|
};
|
|
164
138
|
};
|
|
165
|
-
}
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
} & {
|
|
142
|
+
"/projects/:projectId/webhooks": {
|
|
143
|
+
$post: {
|
|
166
144
|
output: {
|
|
167
145
|
project: {
|
|
168
146
|
id: string;
|
|
@@ -221,6 +199,28 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
221
199
|
projectId: string;
|
|
222
200
|
};
|
|
223
201
|
};
|
|
202
|
+
} | {
|
|
203
|
+
output: {
|
|
204
|
+
error: string;
|
|
205
|
+
code?: "no-boot-project" | undefined;
|
|
206
|
+
};
|
|
207
|
+
outputFormat: "json";
|
|
208
|
+
status: 400 | 404 | 409 | 500;
|
|
209
|
+
input: {
|
|
210
|
+
json: {
|
|
211
|
+
name: string;
|
|
212
|
+
description?: string | undefined;
|
|
213
|
+
url: string;
|
|
214
|
+
token?: string | undefined;
|
|
215
|
+
tasks?: boolean | undefined;
|
|
216
|
+
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
217
|
+
agent?: boolean | undefined;
|
|
218
|
+
};
|
|
219
|
+
} & {
|
|
220
|
+
param: {
|
|
221
|
+
projectId: string;
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
224
|
};
|
|
225
225
|
};
|
|
226
226
|
} & {
|
|
@@ -348,19 +348,6 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
348
348
|
webhookId: string;
|
|
349
349
|
};
|
|
350
350
|
};
|
|
351
|
-
} | {
|
|
352
|
-
output: {
|
|
353
|
-
error: string;
|
|
354
|
-
code?: "no-boot-project" | undefined;
|
|
355
|
-
};
|
|
356
|
-
outputFormat: "json";
|
|
357
|
-
status: 400 | 404 | 409 | 500;
|
|
358
|
-
input: {
|
|
359
|
-
param: {
|
|
360
|
-
projectId: string;
|
|
361
|
-
webhookId: string;
|
|
362
|
-
};
|
|
363
|
-
};
|
|
364
351
|
} | {
|
|
365
352
|
output: {
|
|
366
353
|
project: {
|
|
@@ -401,6 +388,19 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
401
388
|
webhookId: string;
|
|
402
389
|
};
|
|
403
390
|
};
|
|
391
|
+
} | {
|
|
392
|
+
output: {
|
|
393
|
+
error: string;
|
|
394
|
+
code?: "no-boot-project" | undefined;
|
|
395
|
+
};
|
|
396
|
+
outputFormat: "json";
|
|
397
|
+
status: 400 | 404 | 409 | 500;
|
|
398
|
+
input: {
|
|
399
|
+
param: {
|
|
400
|
+
projectId: string;
|
|
401
|
+
webhookId: string;
|
|
402
|
+
};
|
|
403
|
+
};
|
|
404
404
|
};
|
|
405
405
|
};
|
|
406
406
|
} & {
|
|
@@ -420,13 +420,10 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
420
420
|
};
|
|
421
421
|
} | {
|
|
422
422
|
output: {
|
|
423
|
-
|
|
424
|
-
status?: number | undefined;
|
|
425
|
-
error?: string | undefined;
|
|
426
|
-
dryRun?: boolean | undefined;
|
|
423
|
+
error: string;
|
|
427
424
|
};
|
|
428
425
|
outputFormat: "json";
|
|
429
|
-
status:
|
|
426
|
+
status: 404;
|
|
430
427
|
input: {
|
|
431
428
|
param: {
|
|
432
429
|
projectId: string;
|
|
@@ -435,11 +432,13 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
435
432
|
};
|
|
436
433
|
} | {
|
|
437
434
|
output: {
|
|
438
|
-
|
|
439
|
-
|
|
435
|
+
ok: boolean;
|
|
436
|
+
status?: number | undefined;
|
|
437
|
+
error?: string | undefined;
|
|
438
|
+
dryRun?: boolean | undefined;
|
|
440
439
|
};
|
|
441
440
|
outputFormat: "json";
|
|
442
|
-
status:
|
|
441
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
443
442
|
input: {
|
|
444
443
|
param: {
|
|
445
444
|
projectId: string;
|
|
@@ -449,9 +448,10 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
449
448
|
} | {
|
|
450
449
|
output: {
|
|
451
450
|
error: string;
|
|
451
|
+
code?: "no-boot-project" | undefined;
|
|
452
452
|
};
|
|
453
453
|
outputFormat: "json";
|
|
454
|
-
status: 404;
|
|
454
|
+
status: 404 | 409;
|
|
455
455
|
input: {
|
|
456
456
|
param: {
|
|
457
457
|
projectId: string;
|
|
@@ -31,7 +31,7 @@ export declare function createOpenTargetsRoutes(deps: OpenTargetsRouteDeps): imp
|
|
|
31
31
|
error: string;
|
|
32
32
|
};
|
|
33
33
|
outputFormat: "json";
|
|
34
|
-
status:
|
|
34
|
+
status: 400;
|
|
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:
|
|
45
|
+
status: 409;
|
|
46
46
|
input: {
|
|
47
47
|
json: {
|
|
48
48
|
target: string;
|
|
@@ -138,10 +138,11 @@ export declare function createWorktreesRoutes(deps: WorktreesRouteDeps): import(
|
|
|
138
138
|
};
|
|
139
139
|
} | {
|
|
140
140
|
output: {
|
|
141
|
-
|
|
141
|
+
runId: string;
|
|
142
|
+
worktreeReclaimedAt: string;
|
|
142
143
|
};
|
|
143
144
|
outputFormat: "json";
|
|
144
|
-
status:
|
|
145
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
145
146
|
input: {
|
|
146
147
|
param: {
|
|
147
148
|
runId: string;
|
|
@@ -153,11 +154,10 @@ export declare function createWorktreesRoutes(deps: WorktreesRouteDeps): import(
|
|
|
153
154
|
};
|
|
154
155
|
} | {
|
|
155
156
|
output: {
|
|
156
|
-
|
|
157
|
-
worktreeReclaimedAt: string;
|
|
157
|
+
error: string;
|
|
158
158
|
};
|
|
159
159
|
outputFormat: "json";
|
|
160
|
-
status:
|
|
160
|
+
status: 404 | 409;
|
|
161
161
|
input: {
|
|
162
162
|
param: {
|
|
163
163
|
runId: string;
|
|
@@ -296,14 +296,18 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
296
296
|
"/repo/branches/delete": {
|
|
297
297
|
$post: {
|
|
298
298
|
output: {
|
|
299
|
-
|
|
299
|
+
deleted: string[];
|
|
300
300
|
refused: {
|
|
301
301
|
name: string;
|
|
302
302
|
reason: string;
|
|
303
303
|
}[];
|
|
304
|
+
dropped?: {
|
|
305
|
+
sha: string;
|
|
306
|
+
subject: string;
|
|
307
|
+
}[] | undefined;
|
|
304
308
|
};
|
|
305
309
|
outputFormat: "json";
|
|
306
|
-
status:
|
|
310
|
+
status: 200;
|
|
307
311
|
input: {
|
|
308
312
|
json: {
|
|
309
313
|
names: string[];
|
|
@@ -312,18 +316,14 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
312
316
|
};
|
|
313
317
|
} | {
|
|
314
318
|
output: {
|
|
315
|
-
|
|
319
|
+
error: string;
|
|
316
320
|
refused: {
|
|
317
321
|
name: string;
|
|
318
322
|
reason: string;
|
|
319
323
|
}[];
|
|
320
|
-
dropped?: {
|
|
321
|
-
sha: string;
|
|
322
|
-
subject: string;
|
|
323
|
-
}[] | undefined;
|
|
324
324
|
};
|
|
325
325
|
outputFormat: "json";
|
|
326
|
-
status:
|
|
326
|
+
status: 409;
|
|
327
327
|
input: {
|
|
328
328
|
json: {
|
|
329
329
|
names: string[];
|
|
@@ -344,19 +344,6 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
344
344
|
} & {
|
|
345
345
|
"/repo/commit/:sha": {
|
|
346
346
|
$get: {
|
|
347
|
-
output: string;
|
|
348
|
-
outputFormat: "text";
|
|
349
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
350
|
-
input: {
|
|
351
|
-
query: {
|
|
352
|
-
structured?: string | undefined;
|
|
353
|
-
};
|
|
354
|
-
} & {
|
|
355
|
-
param: {
|
|
356
|
-
sha: string;
|
|
357
|
-
};
|
|
358
|
-
};
|
|
359
|
-
} | {
|
|
360
347
|
output: {
|
|
361
348
|
error: string;
|
|
362
349
|
code?: "invalid_input" | undefined;
|
|
@@ -420,6 +407,19 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
420
407
|
sha: string;
|
|
421
408
|
};
|
|
422
409
|
};
|
|
410
|
+
} | {
|
|
411
|
+
output: string;
|
|
412
|
+
outputFormat: "text";
|
|
413
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
414
|
+
input: {
|
|
415
|
+
query: {
|
|
416
|
+
structured?: string | undefined;
|
|
417
|
+
};
|
|
418
|
+
} & {
|
|
419
|
+
param: {
|
|
420
|
+
sha: string;
|
|
421
|
+
};
|
|
422
|
+
};
|
|
423
423
|
};
|
|
424
424
|
};
|
|
425
425
|
} & {
|
|
@@ -442,15 +442,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
442
442
|
};
|
|
443
443
|
} | {
|
|
444
444
|
output: {
|
|
445
|
-
|
|
446
|
-
path: string;
|
|
447
|
-
size: number;
|
|
448
|
-
binary: boolean;
|
|
449
|
-
tooLarge: boolean;
|
|
450
|
-
content?: string | undefined;
|
|
445
|
+
error: string;
|
|
451
446
|
};
|
|
452
447
|
outputFormat: "json";
|
|
453
|
-
status:
|
|
448
|
+
status: 409;
|
|
454
449
|
input: {
|
|
455
450
|
param: {
|
|
456
451
|
sha: string;
|
|
@@ -462,10 +457,15 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
462
457
|
};
|
|
463
458
|
} | {
|
|
464
459
|
output: {
|
|
465
|
-
|
|
460
|
+
type: 'file';
|
|
461
|
+
path: string;
|
|
462
|
+
size: number;
|
|
463
|
+
binary: boolean;
|
|
464
|
+
tooLarge: boolean;
|
|
465
|
+
content?: string | undefined;
|
|
466
466
|
};
|
|
467
467
|
outputFormat: "json";
|
|
468
|
-
status:
|
|
468
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
469
469
|
input: {
|
|
470
470
|
param: {
|
|
471
471
|
sha: string;
|
|
@@ -493,15 +493,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
493
493
|
};
|
|
494
494
|
} | {
|
|
495
495
|
output: {
|
|
496
|
-
|
|
497
|
-
path: string;
|
|
498
|
-
size: number;
|
|
499
|
-
binary: boolean;
|
|
500
|
-
tooLarge: boolean;
|
|
501
|
-
content?: string | undefined;
|
|
496
|
+
error: string;
|
|
502
497
|
};
|
|
503
498
|
outputFormat: "json";
|
|
504
|
-
status:
|
|
499
|
+
status: 409;
|
|
505
500
|
input: {
|
|
506
501
|
query: {
|
|
507
502
|
path: string | string[];
|
|
@@ -509,10 +504,15 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
509
504
|
};
|
|
510
505
|
} | {
|
|
511
506
|
output: {
|
|
512
|
-
|
|
507
|
+
type: 'file';
|
|
508
|
+
path: string;
|
|
509
|
+
size: number;
|
|
510
|
+
binary: boolean;
|
|
511
|
+
tooLarge: boolean;
|
|
512
|
+
content?: string | undefined;
|
|
513
513
|
};
|
|
514
514
|
outputFormat: "json";
|
|
515
|
-
status:
|
|
515
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
516
516
|
input: {
|
|
517
517
|
query: {
|
|
518
518
|
path: string | string[];
|
|
@@ -578,10 +578,12 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
578
578
|
"/repo/pull": {
|
|
579
579
|
$post: {
|
|
580
580
|
output: {
|
|
581
|
-
|
|
581
|
+
branch: string;
|
|
582
|
+
pulled: true;
|
|
583
|
+
summary: string;
|
|
582
584
|
};
|
|
583
585
|
outputFormat: "json";
|
|
584
|
-
status:
|
|
586
|
+
status: 200;
|
|
585
587
|
input: {
|
|
586
588
|
json: {
|
|
587
589
|
branch?: string | undefined;
|
|
@@ -590,12 +592,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
590
592
|
};
|
|
591
593
|
} | {
|
|
592
594
|
output: {
|
|
593
|
-
|
|
594
|
-
pulled: true;
|
|
595
|
-
summary: string;
|
|
595
|
+
error: string;
|
|
596
596
|
};
|
|
597
597
|
outputFormat: "json";
|
|
598
|
-
status:
|
|
598
|
+
status: 409;
|
|
599
599
|
input: {
|
|
600
600
|
json: {
|
|
601
601
|
branch?: string | undefined;
|
|
@@ -12303,20 +12303,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12303
12303
|
} & {
|
|
12304
12304
|
"/runs/:id/handoff": {
|
|
12305
12305
|
$get: {
|
|
12306
|
-
output:
|
|
12307
|
-
|
|
12308
|
-
|
|
12306
|
+
output: {
|
|
12307
|
+
error: string;
|
|
12308
|
+
};
|
|
12309
|
+
outputFormat: "json";
|
|
12310
|
+
status: 404;
|
|
12309
12311
|
input: {
|
|
12310
12312
|
param: {
|
|
12311
12313
|
id: string;
|
|
12312
12314
|
};
|
|
12313
12315
|
};
|
|
12314
12316
|
} | {
|
|
12315
|
-
output:
|
|
12316
|
-
|
|
12317
|
-
|
|
12318
|
-
outputFormat: "json";
|
|
12319
|
-
status: 404;
|
|
12317
|
+
output: string;
|
|
12318
|
+
outputFormat: "text";
|
|
12319
|
+
status: 200;
|
|
12320
12320
|
input: {
|
|
12321
12321
|
param: {
|
|
12322
12322
|
id: string;
|
|
@@ -12354,20 +12354,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12354
12354
|
} & {
|
|
12355
12355
|
"/runs/:id/diff": {
|
|
12356
12356
|
$get: {
|
|
12357
|
-
output:
|
|
12358
|
-
|
|
12359
|
-
|
|
12357
|
+
output: {
|
|
12358
|
+
error: string;
|
|
12359
|
+
};
|
|
12360
|
+
outputFormat: "json";
|
|
12361
|
+
status: 404 | 409;
|
|
12360
12362
|
input: {
|
|
12361
12363
|
param: {
|
|
12362
12364
|
id: string;
|
|
12363
12365
|
};
|
|
12364
12366
|
};
|
|
12365
12367
|
} | {
|
|
12366
|
-
output:
|
|
12367
|
-
|
|
12368
|
-
|
|
12369
|
-
outputFormat: "json";
|
|
12370
|
-
status: 404 | 409;
|
|
12368
|
+
output: string;
|
|
12369
|
+
outputFormat: "text";
|
|
12370
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
12371
12371
|
input: {
|
|
12372
12372
|
param: {
|
|
12373
12373
|
id: string;
|