@hearsay-tools/squawk 0.19.0-dev.9065 → 0.19.0-dev.9069
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/server/models-routes.d.ts +12 -12
- package/dist/server/project-settings-routes.d.ts +107 -107
- package/dist/server/projects-routes.d.ts +73 -73
- package/dist/server/provider-sign-in-routes.d.ts +2 -2
- package/dist/server/repo-routes.d.ts +52 -52
- package/dist/server/reports-api.d.ts +2 -2
- package/dist/server/runners-routes.d.ts +10 -10
- package/dist/server/runs-routes.d.ts +335 -335
- package/dist/server/server.d.ts +1190 -1190
- package/dist/server/workspace-routes.d.ts +85 -85
- package/package.json +4 -4
- package/web/dist/assets/{accounts-section-CdmTsc7W.js → accounts-section-CiO5OMkx.js} +1 -1
- package/web/dist/assets/{activity-motion-CrFzRrI5.js → activity-motion-D2RZtcZk.js} +1 -1
- package/web/dist/assets/{activity-route-CGRkPwJP.js → activity-route-D7WKghms.js} +1 -1
- package/web/dist/assets/{agent-config-section-C6I_sRta.js → agent-config-section-DW7oAwLi.js} +1 -1
- package/web/dist/assets/{agent-defaults-section-CiOFMcep.js → agent-defaults-section-BsfycjfC.js} +1 -1
- package/web/dist/assets/{appearance-CBX1qOwx.js → appearance-D-a_UJUm.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-BzxW7NJS.js → archive-on-merge-field-RMn227ry.js} +1 -1
- package/web/dist/assets/{ask-card-CKD_gFDN.js → ask-card-DP9b-lI-.js} +1 -1
- package/web/dist/assets/{automations-route-CoSNUId5.js → automations-route-_Pv3FEnT.js} +1 -1
- package/web/dist/assets/{commit-list-CCgF6z16.js → commit-list-FjUd56tK.js} +1 -1
- package/web/dist/assets/{diff-BcseHLlM.js → diff-ZyKzQmlr.js} +2 -2
- package/web/dist/assets/{diff-controls-DhD4a7Z4.js → diff-controls-DHvk5BOR.js} +1 -1
- package/web/dist/assets/{diff-view--Nv4Px8F.js → diff-view-wHArQrRv.js} +1 -1
- package/web/dist/assets/{discard-changes-dialog-CD2HMH7E.js → discard-changes-dialog-u_8VAiFD.js} +1 -1
- package/web/dist/assets/{file-preview-BwrymAy7.js → file-preview-DbDhvIx2.js} +1 -1
- package/web/dist/assets/{git-toolbar-CYgIbgOf.js → git-toolbar-Bjvqzoo_.js} +1 -1
- package/web/dist/assets/{github-CtYRNNDH.js → github-DZyhI-94.js} +1 -1
- package/web/dist/assets/{global-activity-route-BXAhhLrt.js → global-activity-route-B20p5-qQ.js} +1 -1
- package/web/dist/assets/index-C8nM086t.css +1 -0
- package/web/dist/assets/{index-CXvWnyZg.js → index-TOx-AA67.js} +4 -4
- package/web/dist/assets/{markdown-BAmUNyiK.js → markdown-Ce0jEzBL.js} +1 -1
- package/web/dist/assets/{option-select-BxFrlK_-.js → option-select-BUpASY9Q.js} +1 -1
- package/web/dist/assets/{preferences-section-ByeO0I87.js → preferences-section-Cayq_QJk.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-CJy9Miri.js → preview-pane-connected-C6q9f2y-.js} +1 -1
- package/web/dist/assets/{project-location-Cq1K7hXN.js → project-location-QEQeyIDW.js} +1 -1
- package/web/dist/assets/{projects-section-P0RuBn2c.js → projects-section-Ws3Kp5ky.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-ChqZ2Gl4.js → prompt-templates-section-CfyNaD_K.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-DYOP5Yxe.js → remote-settings-notice-DEs9jV72.js} +1 -1
- package/web/dist/assets/{repo-git-DcZTZ70-.js → repo-git-DpqwxFN6.js} +1 -1
- package/web/dist/assets/{report-reader-D0ud2uIA.js → report-reader-mwLAF_a8.js} +1 -1
- package/web/dist/assets/{reports-BNO0jrQI.js → reports-CN8KHXFF.js} +1 -1
- package/web/dist/assets/{resources-section-CQkpzv63.js → resources-section-BzYmdxRV.js} +1 -1
- package/web/dist/assets/{review-notes-drafts-B_Mb82AK.js → review-notes-drafts-D9s8XFRQ.js} +1 -1
- package/web/dist/assets/{review-panel-DcEmHodb.js → review-panel-Ds3S11Go.js} +1 -1
- package/web/dist/assets/{review-strip-En21aXDx.js → review-strip-BFq2VP2u.js} +1 -1
- package/web/dist/assets/run-header-788Dmvef.css +1 -0
- package/web/dist/assets/{run-header-DE0wTSnO.js → run-header-Bedua8do.js} +2 -2
- package/web/dist/assets/{select--dGOlrzM.js → select-CGjqNwut.js} +1 -1
- package/web/dist/assets/{session-context-section-b4-i_DSE.js → session-context-section-D0e8HLzL.js} +1 -1
- package/web/dist/assets/{settings-agent-picker-BhyVKLRu.js → settings-agent-picker-hFnntaW2.js} +1 -1
- package/web/dist/assets/{settings-save-bar-9D1QPg_P.js → settings-save-bar-DmONROMw.js} +1 -1
- package/web/dist/assets/{settings-shell-Ct4CWWvw.js → settings-shell-DjfeA3BW.js} +1 -1
- package/web/dist/assets/{sidebar-section-azclPE--.js → sidebar-section-DHJR37sv.js} +1 -1
- package/web/dist/assets/{skills-BizIiogS.js → skills-CFRO_xLW.js} +1 -1
- package/web/dist/assets/{task-changes-DjB5jujp.js → task-changes-BuNxS6PG.js} +1 -1
- package/web/dist/assets/{task-commits-cDkfIAvD.js → task-commits--1qJdD-O.js} +1 -1
- package/web/dist/assets/{task-file-scope-DLVI8zBp.js → task-file-scope-CFMwJrto.js} +1 -1
- package/web/dist/assets/{task-files-BVbjuEaL.js → task-files-CwH0b_vv.js} +1 -1
- package/web/dist/assets/{task-github-item-DW5Rl7Me.js → task-github-item-BezEGvZC.js} +1 -1
- package/web/dist/assets/{task-thread-DTLhAQbe.js → task-thread-T_RG916v.js} +2 -2
- package/web/dist/assets/{thread-state-VRKiUyJj.js → thread-state-zzV37Hgs.js} +1 -1
- package/web/dist/assets/{use-finish-run-BK7gmbXh.js → use-finish-run-CyV1CCkZ.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-pINTYkY9.js → use-hand-to-agent-state-Ci2rVhws.js} +1 -1
- package/web/dist/assets/use-path-bases-Cimv7R-0.js +1 -0
- package/web/dist/assets/{workflows-D2h67tAS.js → workflows-B9NzpaaA.js} +1 -1
- package/web/dist/assets/{workspace-tools-uIbmvTfR.js → workspace-tools-C0K5dFxy.js} +1 -1
- package/web/dist/assets/{worktrees-section-Cm1pcQ9g.js → worktrees-section-D48xLdpr.js} +1 -1
- package/web/dist/index.html +2 -2
- package/web/dist/assets/index-BUmO8olN.css +0 -1
- package/web/dist/assets/run-header-V9BxPSvn.css +0 -1
- package/web/dist/assets/use-path-bases-D1yBeTzY.js +0 -1
|
@@ -63,6 +63,17 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
63
63
|
} & {
|
|
64
64
|
"/projects": {
|
|
65
65
|
$post: {
|
|
66
|
+
output: {
|
|
67
|
+
error: string;
|
|
68
|
+
};
|
|
69
|
+
outputFormat: "json";
|
|
70
|
+
status: 400 | 500;
|
|
71
|
+
input: {
|
|
72
|
+
json: {
|
|
73
|
+
root: string;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
} | {
|
|
66
77
|
output: {
|
|
67
78
|
project: {
|
|
68
79
|
id: string;
|
|
@@ -93,10 +104,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
93
104
|
agent: boolean;
|
|
94
105
|
}[] | undefined;
|
|
95
106
|
};
|
|
96
|
-
error
|
|
107
|
+
error: string;
|
|
97
108
|
};
|
|
98
109
|
outputFormat: "json";
|
|
99
|
-
status:
|
|
110
|
+
status: 409;
|
|
100
111
|
input: {
|
|
101
112
|
json: {
|
|
102
113
|
root: string;
|
|
@@ -133,31 +144,32 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
133
144
|
agent: boolean;
|
|
134
145
|
}[] | undefined;
|
|
135
146
|
};
|
|
136
|
-
error
|
|
147
|
+
error?: string | undefined;
|
|
137
148
|
};
|
|
138
149
|
outputFormat: "json";
|
|
139
|
-
status:
|
|
150
|
+
status: 200;
|
|
140
151
|
input: {
|
|
141
152
|
json: {
|
|
142
153
|
root: string;
|
|
143
154
|
};
|
|
144
155
|
};
|
|
145
|
-
}
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
} & {
|
|
159
|
+
"/projects/:projectId": {
|
|
160
|
+
$delete: {
|
|
146
161
|
output: {
|
|
147
162
|
error: string;
|
|
163
|
+
code?: "no-boot-project" | undefined;
|
|
148
164
|
};
|
|
149
165
|
outputFormat: "json";
|
|
150
|
-
status:
|
|
166
|
+
status: 404 | 409;
|
|
151
167
|
input: {
|
|
152
|
-
|
|
153
|
-
|
|
168
|
+
param: {
|
|
169
|
+
projectId: string;
|
|
154
170
|
};
|
|
155
171
|
};
|
|
156
|
-
}
|
|
157
|
-
};
|
|
158
|
-
} & {
|
|
159
|
-
"/projects/:projectId": {
|
|
160
|
-
$delete: {
|
|
172
|
+
} | {
|
|
161
173
|
output: {
|
|
162
174
|
error: string;
|
|
163
175
|
};
|
|
@@ -202,7 +214,11 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
202
214
|
projectId: string;
|
|
203
215
|
};
|
|
204
216
|
};
|
|
205
|
-
}
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
} & {
|
|
220
|
+
"/projects/:projectId": {
|
|
221
|
+
$patch: {
|
|
206
222
|
output: {
|
|
207
223
|
error: string;
|
|
208
224
|
code?: "no-boot-project" | undefined;
|
|
@@ -210,15 +226,21 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
210
226
|
outputFormat: "json";
|
|
211
227
|
status: 404 | 409;
|
|
212
228
|
input: {
|
|
229
|
+
json: {
|
|
230
|
+
maxParallel?: number | null | undefined;
|
|
231
|
+
tags?: string[] | null | undefined;
|
|
232
|
+
webhook?: {
|
|
233
|
+
url: string;
|
|
234
|
+
token?: string | undefined;
|
|
235
|
+
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
236
|
+
} | null | undefined;
|
|
237
|
+
};
|
|
238
|
+
} & {
|
|
213
239
|
param: {
|
|
214
240
|
projectId: string;
|
|
215
241
|
};
|
|
216
242
|
};
|
|
217
|
-
}
|
|
218
|
-
};
|
|
219
|
-
} & {
|
|
220
|
-
"/projects/:projectId": {
|
|
221
|
-
$patch: {
|
|
243
|
+
} | {
|
|
222
244
|
output: {
|
|
223
245
|
error: string;
|
|
224
246
|
};
|
|
@@ -309,28 +331,6 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
309
331
|
projectId: string;
|
|
310
332
|
};
|
|
311
333
|
};
|
|
312
|
-
} | {
|
|
313
|
-
output: {
|
|
314
|
-
error: string;
|
|
315
|
-
code?: "no-boot-project" | undefined;
|
|
316
|
-
};
|
|
317
|
-
outputFormat: "json";
|
|
318
|
-
status: 404 | 409;
|
|
319
|
-
input: {
|
|
320
|
-
json: {
|
|
321
|
-
maxParallel?: number | null | undefined;
|
|
322
|
-
tags?: string[] | null | undefined;
|
|
323
|
-
webhook?: {
|
|
324
|
-
url: string;
|
|
325
|
-
token?: string | undefined;
|
|
326
|
-
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
327
|
-
} | null | undefined;
|
|
328
|
-
};
|
|
329
|
-
} & {
|
|
330
|
-
param: {
|
|
331
|
-
projectId: string;
|
|
332
|
-
};
|
|
333
|
-
};
|
|
334
334
|
};
|
|
335
335
|
};
|
|
336
336
|
} & {
|
|
@@ -338,9 +338,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
338
338
|
$post: {
|
|
339
339
|
output: {
|
|
340
340
|
error: string;
|
|
341
|
+
code: "no-boot-project";
|
|
341
342
|
};
|
|
342
343
|
outputFormat: "json";
|
|
343
|
-
status:
|
|
344
|
+
status: 409;
|
|
344
345
|
input: {
|
|
345
346
|
param: {
|
|
346
347
|
projectId: string;
|
|
@@ -360,10 +361,9 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
360
361
|
} | {
|
|
361
362
|
output: {
|
|
362
363
|
error: string;
|
|
363
|
-
code: "no-boot-project";
|
|
364
364
|
};
|
|
365
365
|
outputFormat: "json";
|
|
366
|
-
status:
|
|
366
|
+
status: 400;
|
|
367
367
|
input: {
|
|
368
368
|
param: {
|
|
369
369
|
projectId: string;
|
|
@@ -388,6 +388,28 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
388
388
|
} & {
|
|
389
389
|
"/projects/:projectId/webhooks": {
|
|
390
390
|
$post: {
|
|
391
|
+
output: {
|
|
392
|
+
error: string;
|
|
393
|
+
code?: "no-boot-project" | undefined;
|
|
394
|
+
};
|
|
395
|
+
outputFormat: "json";
|
|
396
|
+
status: 400 | 404 | 409 | 500;
|
|
397
|
+
input: {
|
|
398
|
+
json: {
|
|
399
|
+
name: string;
|
|
400
|
+
description?: string | undefined;
|
|
401
|
+
url: string;
|
|
402
|
+
token?: string | undefined;
|
|
403
|
+
tasks?: boolean | undefined;
|
|
404
|
+
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
405
|
+
agent?: boolean | undefined;
|
|
406
|
+
};
|
|
407
|
+
} & {
|
|
408
|
+
param: {
|
|
409
|
+
projectId: string;
|
|
410
|
+
};
|
|
411
|
+
};
|
|
412
|
+
} | {
|
|
391
413
|
output: {
|
|
392
414
|
project: {
|
|
393
415
|
id: string;
|
|
@@ -446,28 +468,6 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
446
468
|
projectId: string;
|
|
447
469
|
};
|
|
448
470
|
};
|
|
449
|
-
} | {
|
|
450
|
-
output: {
|
|
451
|
-
error: string;
|
|
452
|
-
code?: "no-boot-project" | undefined;
|
|
453
|
-
};
|
|
454
|
-
outputFormat: "json";
|
|
455
|
-
status: 400 | 404 | 409 | 500;
|
|
456
|
-
input: {
|
|
457
|
-
json: {
|
|
458
|
-
name: string;
|
|
459
|
-
description?: string | undefined;
|
|
460
|
-
url: string;
|
|
461
|
-
token?: string | undefined;
|
|
462
|
-
tasks?: boolean | undefined;
|
|
463
|
-
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
464
|
-
agent?: boolean | undefined;
|
|
465
|
-
};
|
|
466
|
-
} & {
|
|
467
|
-
param: {
|
|
468
|
-
projectId: string;
|
|
469
|
-
};
|
|
470
|
-
};
|
|
471
471
|
};
|
|
472
472
|
};
|
|
473
473
|
} & {
|
|
@@ -667,10 +667,13 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
667
667
|
};
|
|
668
668
|
} | {
|
|
669
669
|
output: {
|
|
670
|
-
|
|
670
|
+
ok: boolean;
|
|
671
|
+
status?: number | undefined;
|
|
672
|
+
error?: string | undefined;
|
|
673
|
+
dryRun?: boolean | undefined;
|
|
671
674
|
};
|
|
672
675
|
outputFormat: "json";
|
|
673
|
-
status:
|
|
676
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
674
677
|
input: {
|
|
675
678
|
param: {
|
|
676
679
|
projectId: string;
|
|
@@ -692,13 +695,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
692
695
|
};
|
|
693
696
|
} | {
|
|
694
697
|
output: {
|
|
695
|
-
|
|
696
|
-
status?: number | undefined;
|
|
697
|
-
error?: string | undefined;
|
|
698
|
-
dryRun?: boolean | undefined;
|
|
698
|
+
error: string;
|
|
699
699
|
};
|
|
700
700
|
outputFormat: "json";
|
|
701
|
-
status:
|
|
701
|
+
status: 404;
|
|
702
702
|
input: {
|
|
703
703
|
param: {
|
|
704
704
|
projectId: string;
|
|
@@ -18,7 +18,7 @@ export declare function createProviderSignInRoutes(options: {
|
|
|
18
18
|
error: string;
|
|
19
19
|
};
|
|
20
20
|
outputFormat: "json";
|
|
21
|
-
status:
|
|
21
|
+
status: 400;
|
|
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:
|
|
33
|
+
status: 409;
|
|
34
34
|
input: {
|
|
35
35
|
json: {
|
|
36
36
|
provider: 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;
|
|
@@ -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:
|
|
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:
|
|
56
|
+
status: 409;
|
|
57
57
|
input: {
|
|
58
58
|
query: {
|
|
59
59
|
q?: string | undefined;
|
|
@@ -58,11 +58,15 @@ export declare function createRunnersRoutes(options: {
|
|
|
58
58
|
"/runner-install/:runner": {
|
|
59
59
|
$post: {
|
|
60
60
|
output: {
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
supported: boolean;
|
|
62
|
+
installedVersion: string | null;
|
|
63
|
+
latestVersion: string | null;
|
|
64
|
+
updateAvailable: boolean;
|
|
65
|
+
phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
|
|
66
|
+
error: string | null;
|
|
63
67
|
};
|
|
64
68
|
outputFormat: "json";
|
|
65
|
-
status:
|
|
69
|
+
status: 202;
|
|
66
70
|
input: {
|
|
67
71
|
param: {
|
|
68
72
|
runner: string;
|
|
@@ -74,15 +78,11 @@ export declare function createRunnersRoutes(options: {
|
|
|
74
78
|
};
|
|
75
79
|
} | {
|
|
76
80
|
output: {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
latestVersion: string | null;
|
|
80
|
-
updateAvailable: boolean;
|
|
81
|
-
phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
|
|
82
|
-
error: string | null;
|
|
81
|
+
error: string;
|
|
82
|
+
code?: "invalid_input" | undefined;
|
|
83
83
|
};
|
|
84
84
|
outputFormat: "json";
|
|
85
|
-
status:
|
|
85
|
+
status: 400;
|
|
86
86
|
input: {
|
|
87
87
|
param: {
|
|
88
88
|
runner: string;
|