@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.
- package/dist/ci-wait/controller.d.ts +7 -7
- package/dist/delegation/routes.d.ts +78 -78
- package/dist/features/hosts/routes.d.ts +64 -64
- package/dist/features/reports/routes.d.ts +2 -2
- package/dist/features/webhooks/routes.d.ts +38 -38
- package/dist/server/activity-routes.d.ts +23 -23
- package/dist/server/models-routes.d.ts +12 -12
- package/dist/server/projects-routes.d.ts +41 -41
- package/dist/server/providers-routes.d.ts +58 -58
- package/dist/server/runners-routes.d.ts +10 -10
- package/dist/server/runs-routes.d.ts +347 -347
- package/dist/server/workspace-live-routes.d.ts +5 -5
- package/dist/server/workspace-routes.d.ts +85 -85
- package/package.json +4 -4
- package/web/dist/assets/{accounts-section-CKWqAxEQ.js → accounts-section-BwVLJgxK.js} +1 -1
- package/web/dist/assets/{activity-motion-BlhXAVnS.js → activity-motion-tBH9QmZu.js} +1 -1
- package/web/dist/assets/{activity-route-BfsOrdeD.js → activity-route-CkXs29ji.js} +1 -1
- package/web/dist/assets/{agent-accounts-DKK4W3xn.js → agent-accounts-DQ_JY8H9.js} +1 -1
- package/web/dist/assets/{agent-config-section-BY92FMFf.js → agent-config-section-Bii12by6.js} +2 -2
- package/web/dist/assets/{agent-defaults-section-DGYwfnYh.js → agent-defaults-section-BpiqyCUf.js} +1 -1
- package/web/dist/assets/{appearance-BGjaVf7D.js → appearance-B_765RRk.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-BrS2zm1g.js → archive-on-merge-field-B6O9ruku.js} +1 -1
- package/web/dist/assets/{ask-card-Dc1pCn2B.js → ask-card-Cd0Xc7Uq.js} +2 -2
- package/web/dist/assets/{automations-route-B1B7zQgr.js → automations-route-CcVVZs26.js} +2 -2
- package/web/dist/assets/{commit-list-BaoYb5Dt.js → commit-list-Dcd0WekD.js} +1 -1
- package/web/dist/assets/{diff-CGZaTysl.js → diff-B_cIEbs-.js} +2 -2
- package/web/dist/assets/{diff-controls-DulaH3EF.js → diff-controls-BTGIDnSs.js} +1 -1
- package/web/dist/assets/{diff-view-DCCWqI57.js → diff-view-J684vGFE.js} +1 -1
- package/web/dist/assets/{discard-changes-dialog-BXaM9RmZ.js → discard-changes-dialog-BtnFyMRT.js} +1 -1
- package/web/dist/assets/{file-preview-BvtY-4m2.js → file-preview-B3jXfVP7.js} +1 -1
- package/web/dist/assets/{folder-browser-BztgyA2p.js → folder-browser-sYsHX_an.js} +1 -1
- package/web/dist/assets/{git-toolbar-bhQ7aTtR.js → git-toolbar-SKqi4XfU.js} +1 -1
- package/web/dist/assets/github-T6wolZwH.js +1 -0
- package/web/dist/assets/{global-activity-route-FJwugmwm.js → global-activity-route-Dx-kvhpz.js} +1 -1
- package/web/dist/assets/hosts-DeyANWdw.js +1 -0
- package/web/dist/assets/index-6oRe52sM.js +21 -0
- package/web/dist/assets/label-BXbOoPSF.js +1 -0
- package/web/dist/assets/{markdown-WuLAJnyd.js → markdown-TRVPj3Mg.js} +1 -1
- package/web/dist/assets/{open-in-menu-CYVvplCT.js → open-in-menu-g5K4vTnb.js} +1 -1
- package/web/dist/assets/{option-select-7AnGvvB1.js → option-select-B76TaZGm.js} +1 -1
- package/web/dist/assets/{preferences-section-BcGAVrXN.js → preferences-section-DZRKsK2E.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-CNSFmeOm.js → preview-pane-connected-CM10_MPC.js} +1 -1
- package/web/dist/assets/{project-location-CevhmYtx.js → project-location-F5rU1iQp.js} +1 -1
- package/web/dist/assets/projects-section-DvYKR18b.js +1 -0
- package/web/dist/assets/{prompt-templates-section-CBvPHVqL.js → prompt-templates-section-DFiGQ_kP.js} +2 -2
- package/web/dist/assets/queries-DQVUxiSU.js +1 -0
- package/web/dist/assets/{read-state-D9a4i8-k.js → read-state-DlkdVJHO.js} +1 -1
- package/web/dist/assets/{reference-chip-CW8i_sq3.js → reference-chip-DTWd5NlK.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-BR81Cf35.js → remote-settings-notice-4jnKyzkr.js} +1 -1
- package/web/dist/assets/{repo-git-D2lw4Jb0.js → repo-git-bpVnYJKi.js} +1 -1
- package/web/dist/assets/{report-reader-BDPP4dVK.js → report-reader-DMyNCIiX.js} +1 -1
- package/web/dist/assets/{report-selection-CJ-q2Dc5.js → report-selection-BJgUwTp3.js} +1 -1
- package/web/dist/assets/{reports-Ber7rhF2.js → reports-CBzt0Dmc.js} +1 -1
- package/web/dist/assets/{resources-section-DfPp8Jln.js → resources-section-DrFTKHSn.js} +1 -1
- package/web/dist/assets/{review-notes-drafts-DFiWzQLc.js → review-notes-drafts-N0GgOh1J.js} +1 -1
- package/web/dist/assets/{review-panel-BZY9n7NK.js → review-panel-BhyjEDJC.js} +1 -1
- package/web/dist/assets/{review-strip-DsmIhl6m.js → review-strip-DoWuOvcF.js} +1 -1
- package/web/dist/assets/{run-detail-refresh-u-eY7R4u.js → run-detail-refresh-Bx9zlPFP.js} +1 -1
- package/web/dist/assets/{run-diff-6l-f4FRx.js → run-diff-BqvMg-mp.js} +1 -1
- package/web/dist/assets/{run-header-CZkXDDXM.js → run-header-Bg2x1hvz.js} +2 -2
- package/web/dist/assets/{select-BXM-MFR0.js → select-Cbi8vDBU.js} +1 -1
- package/web/dist/assets/{session-context-section-JsdhWEPi.js → session-context-section-BnezEi_b.js} +1 -1
- package/web/dist/assets/{settings-agent-picker-DcPaMYPH.js → settings-agent-picker-DCmAHz6j.js} +1 -1
- package/web/dist/assets/{settings-save-bar-D0m7WuMo.js → settings-save-bar-De7cR5EO.js} +1 -1
- package/web/dist/assets/{settings-shell-DQmyZ9hT.js → settings-shell-kQCF-IMK.js} +1 -1
- package/web/dist/assets/{sidebar-section-Bs-cg8z3.js → sidebar-section-BZHg8W-H.js} +1 -1
- package/web/dist/assets/{skills-B3Isk2OO.js → skills-DUOE73c3.js} +1 -1
- package/web/dist/assets/{task-changes-DOjyd1uO.js → task-changes-fRMZxCzG.js} +2 -2
- package/web/dist/assets/{task-commits-B-0XCAhO.js → task-commits-Cenv0zsB.js} +1 -1
- package/web/dist/assets/{task-file-scope-jCHWm0DC.js → task-file-scope-K1Ban5eN.js} +1 -1
- package/web/dist/assets/{task-files-Dhui8MYu.js → task-files-EU03WHnV.js} +1 -1
- package/web/dist/assets/{task-github-item-BLQQTXu-.js → task-github-item-Dhte1Ixh.js} +1 -1
- package/web/dist/assets/{task-groups-D4siwI6y.js → task-groups-DcQL5SKa.js} +1 -1
- package/web/dist/assets/task-thread-DDMomGRh.js +2 -0
- package/web/dist/assets/{thread-state-B8eN7DGY.js → thread-state-K3qTs1EO.js} +1 -1
- package/web/dist/assets/{use-finish-run-DEFzV087.js → use-finish-run-C8c9NAvg.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-CEXvipNt.js → use-hand-to-agent-state-BIvAHKwY.js} +1 -1
- package/web/dist/assets/use-path-bases-DxT4eodL.js +1 -0
- package/web/dist/assets/{use-workspace-config-save-DmWYyw7u.js → use-workspace-config-save-D6M-r6_i.js} +1 -1
- package/web/dist/assets/{workflows-DQviiLA5.js → workflows-jSPeMWLl.js} +2 -2
- package/web/dist/assets/{workspace-tools-CYG6A_wz.js → workspace-tools-DmZ9LMQc.js} +1 -1
- package/web/dist/assets/{worktrees-section-GOAfXLaQ.js → worktrees-section-CsXzXEwX.js} +4 -4
- package/web/dist/index.html +12 -12
- package/web/dist/assets/github-ByGLDkz7.js +0 -1
- package/web/dist/assets/hosts-D9Mbe3-s.js +0 -1
- package/web/dist/assets/index-C_yV_XCP.js +0 -21
- package/web/dist/assets/label-B7NZNRTj.js +0 -1
- package/web/dist/assets/projects-section-BQamIjAJ.js +0 -1
- package/web/dist/assets/queries-CAsaqjt8.js +0 -1
- package/web/dist/assets/task-thread-Qla6wJW_.js +0 -2
- package/web/dist/assets/use-path-bases-De5S6oTw.js +0 -1
|
@@ -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
|
} & {
|
|
@@ -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;
|
|
@@ -58,29 +58,6 @@ export declare function ciProgressPlugs(): {
|
|
|
58
58
|
export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, {
|
|
59
59
|
"/workspace/activity": {
|
|
60
60
|
$get: {
|
|
61
|
-
output: {
|
|
62
|
-
error: string;
|
|
63
|
-
code?: "invalid_input" | undefined;
|
|
64
|
-
};
|
|
65
|
-
outputFormat: "json";
|
|
66
|
-
status: 400;
|
|
67
|
-
input: {
|
|
68
|
-
query: {
|
|
69
|
-
project?: string | undefined;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
} | {
|
|
73
|
-
output: {
|
|
74
|
-
error: string;
|
|
75
|
-
};
|
|
76
|
-
outputFormat: "json";
|
|
77
|
-
status: 404 | 409 | 503;
|
|
78
|
-
input: {
|
|
79
|
-
query: {
|
|
80
|
-
project?: string | undefined;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
} | {
|
|
84
61
|
output: {
|
|
85
62
|
generatedAt: string;
|
|
86
63
|
projects: {
|
|
@@ -331,6 +308,29 @@ export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): impo
|
|
|
331
308
|
project?: string | undefined;
|
|
332
309
|
};
|
|
333
310
|
};
|
|
311
|
+
} | {
|
|
312
|
+
output: {
|
|
313
|
+
error: string;
|
|
314
|
+
code?: "invalid_input" | undefined;
|
|
315
|
+
};
|
|
316
|
+
outputFormat: "json";
|
|
317
|
+
status: 400;
|
|
318
|
+
input: {
|
|
319
|
+
query: {
|
|
320
|
+
project?: string | undefined;
|
|
321
|
+
};
|
|
322
|
+
};
|
|
323
|
+
} | {
|
|
324
|
+
output: {
|
|
325
|
+
error: string;
|
|
326
|
+
};
|
|
327
|
+
outputFormat: "json";
|
|
328
|
+
status: 404 | 409 | 503;
|
|
329
|
+
input: {
|
|
330
|
+
query: {
|
|
331
|
+
project?: string | undefined;
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
334
|
};
|
|
335
335
|
};
|
|
336
336
|
}, "/", "/workspace/activity">;
|
|
@@ -22,6 +22,18 @@ export declare function createModelsRoutes(options: {
|
|
|
22
22
|
profileId?: string | undefined;
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
+
} | {
|
|
26
|
+
output: {
|
|
27
|
+
error: string;
|
|
28
|
+
};
|
|
29
|
+
outputFormat: "json";
|
|
30
|
+
status: 400;
|
|
31
|
+
input: {
|
|
32
|
+
query: {
|
|
33
|
+
runner: string | string[];
|
|
34
|
+
profileId?: string | undefined;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
25
37
|
} | {
|
|
26
38
|
output: {
|
|
27
39
|
runner: string;
|
|
@@ -43,18 +55,6 @@ export declare function createModelsRoutes(options: {
|
|
|
43
55
|
profileId?: string | undefined;
|
|
44
56
|
};
|
|
45
57
|
};
|
|
46
|
-
} | {
|
|
47
|
-
output: {
|
|
48
|
-
error: string;
|
|
49
|
-
};
|
|
50
|
-
outputFormat: "json";
|
|
51
|
-
status: 400;
|
|
52
|
-
input: {
|
|
53
|
-
query: {
|
|
54
|
-
runner: string | string[];
|
|
55
|
-
profileId?: string | undefined;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
58
|
};
|
|
59
59
|
};
|
|
60
60
|
}, "/", "/models">;
|
|
@@ -62,17 +62,6 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
62
62
|
} & {
|
|
63
63
|
"/projects": {
|
|
64
64
|
$post: {
|
|
65
|
-
output: {
|
|
66
|
-
error: string;
|
|
67
|
-
};
|
|
68
|
-
outputFormat: "json";
|
|
69
|
-
status: 400 | 500;
|
|
70
|
-
input: {
|
|
71
|
-
json: {
|
|
72
|
-
root: string;
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
} | {
|
|
76
65
|
output: {
|
|
77
66
|
project: {
|
|
78
67
|
id: string;
|
|
@@ -103,10 +92,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
103
92
|
agent: boolean;
|
|
104
93
|
}[] | undefined;
|
|
105
94
|
};
|
|
106
|
-
error
|
|
95
|
+
error?: string | undefined;
|
|
107
96
|
};
|
|
108
97
|
outputFormat: "json";
|
|
109
|
-
status:
|
|
98
|
+
status: 200;
|
|
110
99
|
input: {
|
|
111
100
|
json: {
|
|
112
101
|
root: string;
|
|
@@ -143,32 +132,31 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
143
132
|
agent: boolean;
|
|
144
133
|
}[] | undefined;
|
|
145
134
|
};
|
|
146
|
-
error
|
|
135
|
+
error: string;
|
|
147
136
|
};
|
|
148
137
|
outputFormat: "json";
|
|
149
|
-
status:
|
|
138
|
+
status: 409;
|
|
150
139
|
input: {
|
|
151
140
|
json: {
|
|
152
141
|
root: string;
|
|
153
142
|
};
|
|
154
143
|
};
|
|
155
|
-
}
|
|
156
|
-
};
|
|
157
|
-
} & {
|
|
158
|
-
"/projects/:projectId": {
|
|
159
|
-
$delete: {
|
|
144
|
+
} | {
|
|
160
145
|
output: {
|
|
161
146
|
error: string;
|
|
162
|
-
code?: "no-boot-project" | undefined;
|
|
163
147
|
};
|
|
164
148
|
outputFormat: "json";
|
|
165
|
-
status:
|
|
149
|
+
status: 400 | 500;
|
|
166
150
|
input: {
|
|
167
|
-
|
|
168
|
-
|
|
151
|
+
json: {
|
|
152
|
+
root: string;
|
|
169
153
|
};
|
|
170
154
|
};
|
|
171
|
-
}
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
} & {
|
|
158
|
+
"/projects/:projectId": {
|
|
159
|
+
$delete: {
|
|
172
160
|
output: {
|
|
173
161
|
error: string;
|
|
174
162
|
};
|
|
@@ -213,11 +201,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
213
201
|
projectId: string;
|
|
214
202
|
};
|
|
215
203
|
};
|
|
216
|
-
}
|
|
217
|
-
};
|
|
218
|
-
} & {
|
|
219
|
-
"/projects/:projectId": {
|
|
220
|
-
$patch: {
|
|
204
|
+
} | {
|
|
221
205
|
output: {
|
|
222
206
|
error: string;
|
|
223
207
|
code?: "no-boot-project" | undefined;
|
|
@@ -225,21 +209,15 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
225
209
|
outputFormat: "json";
|
|
226
210
|
status: 404 | 409;
|
|
227
211
|
input: {
|
|
228
|
-
json: {
|
|
229
|
-
maxParallel?: number | null | undefined;
|
|
230
|
-
tags?: string[] | null | undefined;
|
|
231
|
-
webhook?: {
|
|
232
|
-
url: string;
|
|
233
|
-
token?: string | undefined;
|
|
234
|
-
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
235
|
-
} | null | undefined;
|
|
236
|
-
};
|
|
237
|
-
} & {
|
|
238
212
|
param: {
|
|
239
213
|
projectId: string;
|
|
240
214
|
};
|
|
241
215
|
};
|
|
242
|
-
}
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
} & {
|
|
219
|
+
"/projects/:projectId": {
|
|
220
|
+
$patch: {
|
|
243
221
|
output: {
|
|
244
222
|
error: string;
|
|
245
223
|
};
|
|
@@ -330,6 +308,28 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
330
308
|
projectId: string;
|
|
331
309
|
};
|
|
332
310
|
};
|
|
311
|
+
} | {
|
|
312
|
+
output: {
|
|
313
|
+
error: string;
|
|
314
|
+
code?: "no-boot-project" | undefined;
|
|
315
|
+
};
|
|
316
|
+
outputFormat: "json";
|
|
317
|
+
status: 404 | 409;
|
|
318
|
+
input: {
|
|
319
|
+
json: {
|
|
320
|
+
maxParallel?: number | null | undefined;
|
|
321
|
+
tags?: string[] | null | undefined;
|
|
322
|
+
webhook?: {
|
|
323
|
+
url: string;
|
|
324
|
+
token?: string | undefined;
|
|
325
|
+
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
326
|
+
} | null | undefined;
|
|
327
|
+
};
|
|
328
|
+
} & {
|
|
329
|
+
param: {
|
|
330
|
+
projectId: string;
|
|
331
|
+
};
|
|
332
|
+
};
|
|
333
333
|
};
|
|
334
334
|
};
|
|
335
335
|
} & {
|
|
@@ -70,18 +70,10 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
70
70
|
};
|
|
71
71
|
} | {
|
|
72
72
|
output: {
|
|
73
|
-
|
|
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
|
-
}[];
|
|
73
|
+
error: string;
|
|
82
74
|
};
|
|
83
75
|
outputFormat: "json";
|
|
84
|
-
status:
|
|
76
|
+
status: 500;
|
|
85
77
|
input: {
|
|
86
78
|
param: {
|
|
87
79
|
provider: string;
|
|
@@ -93,10 +85,18 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
93
85
|
};
|
|
94
86
|
} | {
|
|
95
87
|
output: {
|
|
96
|
-
|
|
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
|
+
}[];
|
|
97
97
|
};
|
|
98
98
|
outputFormat: "json";
|
|
99
|
-
status:
|
|
99
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
100
100
|
input: {
|
|
101
101
|
param: {
|
|
102
102
|
provider: string;
|
|
@@ -128,18 +128,10 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
128
128
|
};
|
|
129
129
|
} | {
|
|
130
130
|
output: {
|
|
131
|
-
|
|
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
|
-
}[];
|
|
131
|
+
error: string;
|
|
140
132
|
};
|
|
141
133
|
outputFormat: "json";
|
|
142
|
-
status:
|
|
134
|
+
status: 409;
|
|
143
135
|
input: {
|
|
144
136
|
param: {
|
|
145
137
|
provider: string;
|
|
@@ -151,10 +143,18 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
151
143
|
};
|
|
152
144
|
} | {
|
|
153
145
|
output: {
|
|
154
|
-
|
|
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
|
+
}[];
|
|
155
155
|
};
|
|
156
156
|
outputFormat: "json";
|
|
157
|
-
status:
|
|
157
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
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:
|
|
176
|
+
status: 400;
|
|
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:
|
|
188
|
+
status: 409;
|
|
189
189
|
input: {
|
|
190
190
|
json: {
|
|
191
191
|
provider: string;
|
|
@@ -290,10 +290,28 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
290
290
|
"/workspace/agent-profiles": {
|
|
291
291
|
$post: {
|
|
292
292
|
output: {
|
|
293
|
-
|
|
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
|
+
};
|
|
294
312
|
};
|
|
295
313
|
outputFormat: "json";
|
|
296
|
-
status:
|
|
314
|
+
status: 201;
|
|
297
315
|
input: {
|
|
298
316
|
json: {
|
|
299
317
|
provider: string;
|
|
@@ -319,7 +337,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
319
337
|
error: string;
|
|
320
338
|
};
|
|
321
339
|
outputFormat: "json";
|
|
322
|
-
status:
|
|
340
|
+
status: 409;
|
|
323
341
|
input: {
|
|
324
342
|
json: {
|
|
325
343
|
provider: string;
|
|
@@ -329,28 +347,10 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
329
347
|
};
|
|
330
348
|
} | {
|
|
331
349
|
output: {
|
|
332
|
-
|
|
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
|
-
};
|
|
350
|
+
error: string;
|
|
351
351
|
};
|
|
352
352
|
outputFormat: "json";
|
|
353
|
-
status:
|
|
353
|
+
status: 500;
|
|
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:
|
|
387
|
+
status: 400;
|
|
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:
|
|
403
|
+
status: 404;
|
|
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:
|
|
419
|
+
status: 409;
|
|
420
420
|
input: {
|
|
421
421
|
param: {
|
|
422
422
|
id: string;
|
|
@@ -542,10 +542,9 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
542
542
|
$put: {
|
|
543
543
|
output: {
|
|
544
544
|
error: string;
|
|
545
|
-
code: "no-boot-project";
|
|
546
545
|
};
|
|
547
546
|
outputFormat: "json";
|
|
548
|
-
status:
|
|
547
|
+
status: 400;
|
|
549
548
|
input: {
|
|
550
549
|
json: {
|
|
551
550
|
projectId: string;
|
|
@@ -569,9 +568,10 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
569
568
|
} | {
|
|
570
569
|
output: {
|
|
571
570
|
error: string;
|
|
571
|
+
code: "no-boot-project";
|
|
572
572
|
};
|
|
573
573
|
outputFormat: "json";
|
|
574
|
-
status:
|
|
574
|
+
status: 409;
|
|
575
575
|
input: {
|
|
576
576
|
json: {
|
|
577
577
|
projectId: string;
|
|
@@ -635,7 +635,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
635
635
|
error: string;
|
|
636
636
|
};
|
|
637
637
|
outputFormat: "json";
|
|
638
|
-
status:
|
|
638
|
+
status: 404;
|
|
639
639
|
input: {
|
|
640
640
|
param: {
|
|
641
641
|
id: string;
|
|
@@ -646,7 +646,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
646
646
|
error: string;
|
|
647
647
|
};
|
|
648
648
|
outputFormat: "json";
|
|
649
|
-
status:
|
|
649
|
+
status: 409;
|
|
650
650
|
input: {
|
|
651
651
|
param: {
|
|
652
652
|
id: string;
|
|
@@ -657,7 +657,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
657
657
|
error: string;
|
|
658
658
|
};
|
|
659
659
|
outputFormat: "json";
|
|
660
|
-
status:
|
|
660
|
+
status: 500;
|
|
661
661
|
input: {
|
|
662
662
|
param: {
|
|
663
663
|
id: string;
|
|
@@ -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;
|