@hearsay-tools/squawk 0.19.0-dev.9308 → 0.19.0-dev.9312
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 +335 -335
- 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-B8X63Wvk.js → accounts-section-DJZGR40a.js} +1 -1
- package/web/dist/assets/{activity-motion-BX7w9uwa.js → activity-motion-DVWv1LWp.js} +1 -1
- package/web/dist/assets/{activity-route-D6OhCzkJ.js → activity-route-DMPNYHU5.js} +1 -1
- package/web/dist/assets/{agent-config-section-RluVjTDv.js → agent-config-section-C_t-bwgG.js} +1 -1
- package/web/dist/assets/{agent-defaults-section-Bl67Iurg.js → agent-defaults-section-CAKBBj8M.js} +1 -1
- package/web/dist/assets/{appearance-ChGEz79A.js → appearance-AOuIJ2w_.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-DtMYAmPH.js → archive-on-merge-field-F19mH1Cx.js} +1 -1
- package/web/dist/assets/{ask-card-Bk87kXMi.js → ask-card-D2OlZhlG.js} +1 -1
- package/web/dist/assets/{automations-route-DpEqMGRx.js → automations-route-6FbD9CyG.js} +1 -1
- package/web/dist/assets/{commit-list-DGLW8f7_.js → commit-list-BmlGBopy.js} +1 -1
- package/web/dist/assets/{diff-BQIvq2Ar.js → diff-DorDVWlK.js} +2 -2
- package/web/dist/assets/{diff-controls-CcYIa7pJ.js → diff-controls-DfEpeRPY.js} +1 -1
- package/web/dist/assets/{diff-view-BSYPKJkF.js → diff-view-DfcA50Ve.js} +6 -6
- package/web/dist/assets/{discard-changes-dialog-CEeuND_i.js → discard-changes-dialog-DrybJMqX.js} +1 -1
- package/web/dist/assets/{file-preview-BPSpXZ6G.js → file-preview-OU30gliG.js} +1 -1
- package/web/dist/assets/{git-toolbar-D3O7S7vw.js → git-toolbar-BtoPsVhd.js} +1 -1
- package/web/dist/assets/{github-b6pU4RVM.js → github-CkP8sT6S.js} +1 -1
- package/web/dist/assets/{global-activity-route-sTvejVUG.js → global-activity-route-ClYUIuHc.js} +1 -1
- package/web/dist/assets/index-BXLHv7v7.js +21 -0
- package/web/dist/assets/index-CkUVDX7y.css +1 -0
- package/web/dist/assets/{markdown-DnBvknF9.js → markdown-DqrfbKgI.js} +1 -1
- package/web/dist/assets/{option-select-HC8juekO.js → option-select-SF2wJ1Vg.js} +1 -1
- package/web/dist/assets/{preferences-section-DuV8JFqQ.js → preferences-section-CgnAAd2V.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-E8n0RgYL.js → preview-pane-connected-HUGHnlxv.js} +1 -1
- package/web/dist/assets/{project-location-bPiIsStE.js → project-location-DYf-3EIp.js} +1 -1
- package/web/dist/assets/{projects-section-0eQ2TVqw.js → projects-section-BznUB9Ct.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-CVNw5v0w.js → prompt-templates-section-CQ6WjA40.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-tNcad9fA.js → remote-settings-notice-DjVY7DcC.js} +1 -1
- package/web/dist/assets/{repo-git-DA66978k.js → repo-git-Cuw_pLCs.js} +1 -1
- package/web/dist/assets/{report-reader-DHB5teJQ.js → report-reader-C2kdycl-.js} +1 -1
- package/web/dist/assets/{reports-Oxg0v5bR.js → reports-CFc_ndM5.js} +1 -1
- package/web/dist/assets/{resources-section-BAj-A1Ou.js → resources-section-D2dFBCgP.js} +1 -1
- package/web/dist/assets/{review-notes-drafts-agZQaBcF.js → review-notes-drafts-CyP_QlLR.js} +1 -1
- package/web/dist/assets/{review-panel-858YvYOc.js → review-panel-6KCh_w-L.js} +1 -1
- package/web/dist/assets/review-strip-D29CDoIQ.js +1 -0
- package/web/dist/assets/{run-diff-BDFptONx.js → run-diff-DIQMkVAQ.js} +1 -1
- package/web/dist/assets/{run-header-CEIKmo_0.js → run-header-BHcYGnlQ.js} +2 -2
- package/web/dist/assets/{select-C4s2-ztq.js → select-CCwTB_FH.js} +1 -1
- package/web/dist/assets/{session-context-section-CihFGtUL.js → session-context-section-B8kQc5c-.js} +1 -1
- package/web/dist/assets/{settings-agent-picker-B-LnnccN.js → settings-agent-picker-BJiT0W0z.js} +1 -1
- package/web/dist/assets/{settings-save-bar-l5vO-fT3.js → settings-save-bar-DRsg3EVh.js} +1 -1
- package/web/dist/assets/{settings-shell-B_o8TQYi.js → settings-shell-D5Bu4UKN.js} +1 -1
- package/web/dist/assets/{sidebar-section-BTjJD2PF.js → sidebar-section-fiYxYAVh.js} +1 -1
- package/web/dist/assets/{skills-C-PLlLf0.js → skills-CbWWnm4C.js} +1 -1
- package/web/dist/assets/task-changes-BtD7QYqi.js +5 -0
- package/web/dist/assets/task-commits-BPotek17.js +1 -0
- package/web/dist/assets/{task-file-scope-npOd7AhM.js → task-file-scope-DN7I_oCc.js} +1 -1
- package/web/dist/assets/{task-files--54CdvAw.js → task-files-CTHvtqn_.js} +1 -1
- package/web/dist/assets/{task-github-item-QzP9IPGg.js → task-github-item-DANdCKqo.js} +1 -1
- package/web/dist/assets/{task-thread-BgxYbzJU.js → task-thread-BODLmvoF.js} +1 -1
- package/web/dist/assets/task-thread-Bm4WUqtr.css +1 -0
- package/web/dist/assets/{thread-state-CfmY7F3h.js → thread-state-CaYjm7w6.js} +1 -1
- package/web/dist/assets/{unified-diff-DdU6bcRV.js → unified-diff-BEfAsHSN.js} +1 -1
- package/web/dist/assets/{use-finish-run-Bv7_Ezz_.js → use-finish-run-9-3L96GZ.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-dHej93ZU.js → use-hand-to-agent-state-CSvF6Zvv.js} +1 -1
- package/web/dist/assets/use-path-bases-BPqc-LMg.js +1 -0
- package/web/dist/assets/{workflows-CeUWNdYH.js → workflows-ZD4ExJYR.js} +1 -1
- package/web/dist/assets/{workspace-tools-BwMECWWr.js → workspace-tools-BtZJsLKe.js} +1 -1
- package/web/dist/assets/{worktrees-section-CytHZvmT.js → worktrees-section-HJwlfzIO.js} +1 -1
- package/web/dist/index.html +2 -2
- package/web/dist/assets/index-BToDejlf.css +0 -1
- package/web/dist/assets/index-CIyGnGfm.js +0 -21
- package/web/dist/assets/review-strip-tiqQt7qS.js +0 -1
- package/web/dist/assets/task-changes-BZ7Hlj9q.js +0 -5
- package/web/dist/assets/task-commits-Jf35_1k0.js +0 -1
- package/web/dist/assets/task-thread-BObu0KsD.css +0 -1
- package/web/dist/assets/use-path-bases-B6yYqrmU.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;
|
|
@@ -222,6 +200,28 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
222
200
|
projectId: string;
|
|
223
201
|
};
|
|
224
202
|
};
|
|
203
|
+
} | {
|
|
204
|
+
output: {
|
|
205
|
+
error: string;
|
|
206
|
+
code?: "no-boot-project" | undefined;
|
|
207
|
+
};
|
|
208
|
+
outputFormat: "json";
|
|
209
|
+
status: 400 | 404 | 409 | 500;
|
|
210
|
+
input: {
|
|
211
|
+
json: {
|
|
212
|
+
name: string;
|
|
213
|
+
description?: string | undefined;
|
|
214
|
+
url: string;
|
|
215
|
+
token?: string | undefined;
|
|
216
|
+
tasks?: boolean | undefined;
|
|
217
|
+
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
218
|
+
agent?: boolean | undefined;
|
|
219
|
+
};
|
|
220
|
+
} & {
|
|
221
|
+
param: {
|
|
222
|
+
projectId: string;
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
225
|
};
|
|
226
226
|
};
|
|
227
227
|
} & {
|
|
@@ -423,13 +423,10 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
423
423
|
};
|
|
424
424
|
} | {
|
|
425
425
|
output: {
|
|
426
|
-
|
|
427
|
-
status?: number | undefined;
|
|
428
|
-
error?: string | undefined;
|
|
429
|
-
dryRun?: boolean | undefined;
|
|
426
|
+
error: string;
|
|
430
427
|
};
|
|
431
428
|
outputFormat: "json";
|
|
432
|
-
status:
|
|
429
|
+
status: 404;
|
|
433
430
|
input: {
|
|
434
431
|
param: {
|
|
435
432
|
projectId: string;
|
|
@@ -438,11 +435,13 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
438
435
|
};
|
|
439
436
|
} | {
|
|
440
437
|
output: {
|
|
441
|
-
|
|
442
|
-
|
|
438
|
+
ok: boolean;
|
|
439
|
+
status?: number | undefined;
|
|
440
|
+
error?: string | undefined;
|
|
441
|
+
dryRun?: boolean | undefined;
|
|
443
442
|
};
|
|
444
443
|
outputFormat: "json";
|
|
445
|
-
status:
|
|
444
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
446
445
|
input: {
|
|
447
446
|
param: {
|
|
448
447
|
projectId: string;
|
|
@@ -452,9 +451,10 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
452
451
|
} | {
|
|
453
452
|
output: {
|
|
454
453
|
error: string;
|
|
454
|
+
code?: "no-boot-project" | undefined;
|
|
455
455
|
};
|
|
456
456
|
outputFormat: "json";
|
|
457
|
-
status: 404;
|
|
457
|
+
status: 404 | 409;
|
|
458
458
|
input: {
|
|
459
459
|
param: {
|
|
460
460
|
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">;
|
|
@@ -63,17 +63,6 @@ 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
|
-
} | {
|
|
77
66
|
output: {
|
|
78
67
|
project: {
|
|
79
68
|
id: string;
|
|
@@ -105,10 +94,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
105
94
|
agent: boolean;
|
|
106
95
|
}[] | undefined;
|
|
107
96
|
};
|
|
108
|
-
error
|
|
97
|
+
error?: string | undefined;
|
|
109
98
|
};
|
|
110
99
|
outputFormat: "json";
|
|
111
|
-
status:
|
|
100
|
+
status: 200;
|
|
112
101
|
input: {
|
|
113
102
|
json: {
|
|
114
103
|
root: string;
|
|
@@ -146,32 +135,31 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
146
135
|
agent: boolean;
|
|
147
136
|
}[] | undefined;
|
|
148
137
|
};
|
|
149
|
-
error
|
|
138
|
+
error: string;
|
|
150
139
|
};
|
|
151
140
|
outputFormat: "json";
|
|
152
|
-
status:
|
|
141
|
+
status: 409;
|
|
153
142
|
input: {
|
|
154
143
|
json: {
|
|
155
144
|
root: string;
|
|
156
145
|
};
|
|
157
146
|
};
|
|
158
|
-
}
|
|
159
|
-
};
|
|
160
|
-
} & {
|
|
161
|
-
"/projects/:projectId": {
|
|
162
|
-
$delete: {
|
|
147
|
+
} | {
|
|
163
148
|
output: {
|
|
164
149
|
error: string;
|
|
165
|
-
code?: "no-boot-project" | undefined;
|
|
166
150
|
};
|
|
167
151
|
outputFormat: "json";
|
|
168
|
-
status:
|
|
152
|
+
status: 400 | 500;
|
|
169
153
|
input: {
|
|
170
|
-
|
|
171
|
-
|
|
154
|
+
json: {
|
|
155
|
+
root: string;
|
|
172
156
|
};
|
|
173
157
|
};
|
|
174
|
-
}
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
} & {
|
|
161
|
+
"/projects/:projectId": {
|
|
162
|
+
$delete: {
|
|
175
163
|
output: {
|
|
176
164
|
error: string;
|
|
177
165
|
};
|
|
@@ -216,11 +204,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
216
204
|
projectId: string;
|
|
217
205
|
};
|
|
218
206
|
};
|
|
219
|
-
}
|
|
220
|
-
};
|
|
221
|
-
} & {
|
|
222
|
-
"/projects/:projectId": {
|
|
223
|
-
$patch: {
|
|
207
|
+
} | {
|
|
224
208
|
output: {
|
|
225
209
|
error: string;
|
|
226
210
|
code?: "no-boot-project" | undefined;
|
|
@@ -228,21 +212,15 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
228
212
|
outputFormat: "json";
|
|
229
213
|
status: 404 | 409;
|
|
230
214
|
input: {
|
|
231
|
-
json: {
|
|
232
|
-
maxParallel?: number | null | undefined;
|
|
233
|
-
tags?: string[] | null | undefined;
|
|
234
|
-
webhook?: {
|
|
235
|
-
url: string;
|
|
236
|
-
token?: string | undefined;
|
|
237
|
-
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
238
|
-
} | null | undefined;
|
|
239
|
-
};
|
|
240
|
-
} & {
|
|
241
215
|
param: {
|
|
242
216
|
projectId: string;
|
|
243
217
|
};
|
|
244
218
|
};
|
|
245
|
-
}
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
} & {
|
|
222
|
+
"/projects/:projectId": {
|
|
223
|
+
$patch: {
|
|
246
224
|
output: {
|
|
247
225
|
error: string;
|
|
248
226
|
};
|
|
@@ -334,6 +312,28 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
334
312
|
projectId: string;
|
|
335
313
|
};
|
|
336
314
|
};
|
|
315
|
+
} | {
|
|
316
|
+
output: {
|
|
317
|
+
error: string;
|
|
318
|
+
code?: "no-boot-project" | undefined;
|
|
319
|
+
};
|
|
320
|
+
outputFormat: "json";
|
|
321
|
+
status: 404 | 409;
|
|
322
|
+
input: {
|
|
323
|
+
json: {
|
|
324
|
+
maxParallel?: number | null | undefined;
|
|
325
|
+
tags?: string[] | null | undefined;
|
|
326
|
+
webhook?: {
|
|
327
|
+
url: string;
|
|
328
|
+
token?: string | undefined;
|
|
329
|
+
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
330
|
+
} | null | undefined;
|
|
331
|
+
};
|
|
332
|
+
} & {
|
|
333
|
+
param: {
|
|
334
|
+
projectId: string;
|
|
335
|
+
};
|
|
336
|
+
};
|
|
337
337
|
};
|
|
338
338
|
};
|
|
339
339
|
} & {
|
|
@@ -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;
|