@hearsay-tools/squawk 0.19.0-dev.9180 → 0.19.0-dev.9184
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/repo-routes.d.ts +13 -13
- package/dist/server/runners-routes.d.ts +10 -10
- package/dist/server/runs-routes.d.ts +312 -312
- package/dist/server/server.d.ts +58 -58
- 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-BDUoikVg.js → accounts-section-DYQC-wSh.js} +1 -1
- package/web/dist/assets/{activity-motion-CYdEr0hu.js → activity-motion-XvrmbNgR.js} +1 -1
- package/web/dist/assets/{activity-route-D8BPLoZj.js → activity-route-Dj8ltoqG.js} +1 -1
- package/web/dist/assets/{agent-config-section-BO8w2cry.js → agent-config-section-D16TRCE_.js} +1 -1
- package/web/dist/assets/{agent-defaults-section-BBcv7Vbh.js → agent-defaults-section-Dm0khLjs.js} +1 -1
- package/web/dist/assets/{appearance-yF_NXlq5.js → appearance-CP6zVctf.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-Dh1M21D6.js → archive-on-merge-field-BA8aUtRQ.js} +1 -1
- package/web/dist/assets/{ask-card-2E9m5VRA.js → ask-card-CLdlwd68.js} +1 -1
- package/web/dist/assets/{automations-route-D27bK2j6.js → automations-route-BVDO_Kai.js} +1 -1
- package/web/dist/assets/{commit-list-sFxchD2V.js → commit-list-Bdekr2K7.js} +1 -1
- package/web/dist/assets/{diff-C5-32cRp.js → diff-Du0FsqAK.js} +2 -2
- package/web/dist/assets/{diff-controls-Ci36iPlK.js → diff-controls-DTC_6oqk.js} +1 -1
- package/web/dist/assets/{diff-view-CCtuYJNL.js → diff-view-TKooupFV.js} +1 -1
- package/web/dist/assets/{discard-changes-dialog-BACqR1hj.js → discard-changes-dialog-Bg-3Xbox.js} +1 -1
- package/web/dist/assets/{file-preview-B7T7jFYo.js → file-preview-DMJCprVk.js} +1 -1
- package/web/dist/assets/{git-toolbar-UkRnjuDs.js → git-toolbar-COhBdctn.js} +1 -1
- package/web/dist/assets/{github-CkbZgMnJ.js → github-DUTSv2Hs.js} +1 -1
- package/web/dist/assets/{global-activity-route-j37l-BQU.js → global-activity-route-CypEKUv_.js} +1 -1
- package/web/dist/assets/{index-DkQ5xrLr.js → index-BV3EQb9T.js} +4 -4
- package/web/dist/assets/index-Bh7COq0B.css +1 -0
- package/web/dist/assets/{markdown-FIfZPsax.js → markdown-0uCxcToP.js} +1 -1
- package/web/dist/assets/{option-select-DylfDjGi.js → option-select-DQJEHmHf.js} +1 -1
- package/web/dist/assets/{preferences-section-DjWfc1i-.js → preferences-section-Cvl5vyfN.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-CfiPFvTH.js → preview-pane-connected-i3GJtDL3.js} +1 -1
- package/web/dist/assets/{project-location-CEX0-MZp.js → project-location-BcjOhqun.js} +1 -1
- package/web/dist/assets/{projects-section-Czmf0wFK.js → projects-section-CAOFPkDQ.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-DK4CV73w.js → prompt-templates-section-BXTfLET4.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-Dott-jyP.js → remote-settings-notice-CUK4ZFYF.js} +1 -1
- package/web/dist/assets/{repo-git-Djt3N2wP.js → repo-git-Dx85MEuK.js} +1 -1
- package/web/dist/assets/{report-reader-CrdDix7Z.js → report-reader-BDdY5kpz.js} +1 -1
- package/web/dist/assets/{reports-Iw4LUvz2.js → reports-DWKpm_us.js} +1 -1
- package/web/dist/assets/{resources-section-D3wUzdUQ.js → resources-section-D9tzbv9w.js} +1 -1
- package/web/dist/assets/{review-notes-drafts-xyC7GvRB.js → review-notes-drafts-BSkmq3Nj.js} +1 -1
- package/web/dist/assets/{review-panel-3x_2lbej.js → review-panel-C9UZjWFl.js} +1 -1
- package/web/dist/assets/{review-strip-CDYpq9_S.js → review-strip-qTG5JaOw.js} +1 -1
- package/web/dist/assets/{run-header-DZ0rkryR.js → run-header-BrUcSJu6.js} +1 -1
- package/web/dist/assets/{select-DC_G2no3.js → select-BUsS7uOZ.js} +1 -1
- package/web/dist/assets/{session-context-section-DEUv-ISr.js → session-context-section-Bgzou-NG.js} +1 -1
- package/web/dist/assets/{settings-agent-picker-BrFN2RaQ.js → settings-agent-picker-CH3CQhOh.js} +1 -1
- package/web/dist/assets/{settings-save-bar-C0pFHqte.js → settings-save-bar-cyvALSgW.js} +1 -1
- package/web/dist/assets/{settings-shell-BWWbVxv-.js → settings-shell-Cl-cu4r5.js} +1 -1
- package/web/dist/assets/{sidebar-section-BGo1zjJt.js → sidebar-section-Cj2fDrhV.js} +1 -1
- package/web/dist/assets/{skills-qFMQz6sm.js → skills-DLMbRR_5.js} +1 -1
- package/web/dist/assets/{task-changes-DKJHAtKC.js → task-changes-ito4fOGh.js} +1 -1
- package/web/dist/assets/{task-commits-Dtt60D0o.js → task-commits-BYOIU9zy.js} +1 -1
- package/web/dist/assets/{task-file-scope-FTt7SiGn.js → task-file-scope-B8EEJyHp.js} +1 -1
- package/web/dist/assets/{task-files-DVz4222z.js → task-files-CF0QKnm-.js} +1 -1
- package/web/dist/assets/{task-github-item-CJpKQ6cU.js → task-github-item-C6Fu8MvM.js} +1 -1
- package/web/dist/assets/{task-thread-DiYtqka4.js → task-thread-BWrvepxB.js} +1 -1
- package/web/dist/assets/{thread-state-pO7Wy_7R.js → thread-state-8E0eYXGu.js} +1 -1
- package/web/dist/assets/{use-finish-run-5S30Eu3d.js → use-finish-run-a2qZy6zr.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-BB_VmbF7.js → use-hand-to-agent-state-DT1ngmHe.js} +1 -1
- package/web/dist/assets/use-path-bases-CZ6F93wt.js +1 -0
- package/web/dist/assets/{workflows-DLuBawpi.js → workflows-2e0Sm6F1.js} +1 -1
- package/web/dist/assets/{workspace-tools-D4jshe-2.js → workspace-tools-D4DO9w12.js} +1 -1
- package/web/dist/assets/{worktrees-section-CESTBOem.js → worktrees-section-8-d6zWQ-.js} +1 -1
- package/web/dist/index.html +2 -2
- package/web/dist/assets/index-BVRdRJAN.css +0 -1
- package/web/dist/assets/use-path-bases-npA-uKvg.js +0 -1
|
@@ -100,6 +100,18 @@ 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
|
+
} | {
|
|
103
115
|
output: {
|
|
104
116
|
error: string;
|
|
105
117
|
};
|
|
@@ -124,23 +136,33 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
124
136
|
projectId: string;
|
|
125
137
|
};
|
|
126
138
|
};
|
|
127
|
-
}
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
} & {
|
|
142
|
+
"/projects/:projectId/webhooks": {
|
|
143
|
+
$post: {
|
|
128
144
|
output: {
|
|
129
145
|
error: string;
|
|
130
146
|
code?: "no-boot-project" | undefined;
|
|
131
147
|
};
|
|
132
148
|
outputFormat: "json";
|
|
133
|
-
status: 404 | 409;
|
|
149
|
+
status: 400 | 404 | 409 | 500;
|
|
134
150
|
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
|
+
} & {
|
|
135
161
|
param: {
|
|
136
162
|
projectId: string;
|
|
137
163
|
};
|
|
138
164
|
};
|
|
139
|
-
}
|
|
140
|
-
};
|
|
141
|
-
} & {
|
|
142
|
-
"/projects/:projectId/webhooks": {
|
|
143
|
-
$post: {
|
|
165
|
+
} | {
|
|
144
166
|
output: {
|
|
145
167
|
project: {
|
|
146
168
|
id: string;
|
|
@@ -199,28 +221,6 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
199
221
|
projectId: string;
|
|
200
222
|
};
|
|
201
223
|
};
|
|
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,10 +420,13 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
420
420
|
};
|
|
421
421
|
} | {
|
|
422
422
|
output: {
|
|
423
|
-
|
|
423
|
+
ok: boolean;
|
|
424
|
+
status?: number | undefined;
|
|
425
|
+
error?: string | undefined;
|
|
426
|
+
dryRun?: boolean | undefined;
|
|
424
427
|
};
|
|
425
428
|
outputFormat: "json";
|
|
426
|
-
status:
|
|
429
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
427
430
|
input: {
|
|
428
431
|
param: {
|
|
429
432
|
projectId: string;
|
|
@@ -432,13 +435,11 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
432
435
|
};
|
|
433
436
|
} | {
|
|
434
437
|
output: {
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
error?: string | undefined;
|
|
438
|
-
dryRun?: boolean | undefined;
|
|
438
|
+
error: string;
|
|
439
|
+
code?: "no-boot-project" | undefined;
|
|
439
440
|
};
|
|
440
441
|
outputFormat: "json";
|
|
441
|
-
status:
|
|
442
|
+
status: 404 | 409;
|
|
442
443
|
input: {
|
|
443
444
|
param: {
|
|
444
445
|
projectId: string;
|
|
@@ -448,10 +449,9 @@ export declare function createProjectWebhooksRoutes(deps: ProjectWebhooksRouteDe
|
|
|
448
449
|
} | {
|
|
449
450
|
output: {
|
|
450
451
|
error: string;
|
|
451
|
-
code?: "no-boot-project" | undefined;
|
|
452
452
|
};
|
|
453
453
|
outputFormat: "json";
|
|
454
|
-
status: 404
|
|
454
|
+
status: 404;
|
|
455
455
|
input: {
|
|
456
456
|
param: {
|
|
457
457
|
projectId: string;
|
|
@@ -58,6 +58,29 @@ 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
|
+
} | {
|
|
61
84
|
output: {
|
|
62
85
|
generatedAt: string;
|
|
63
86
|
projects: {
|
|
@@ -308,29 +331,6 @@ export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): impo
|
|
|
308
331
|
project?: string | undefined;
|
|
309
332
|
};
|
|
310
333
|
};
|
|
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,18 +22,6 @@ 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
|
-
};
|
|
37
25
|
} | {
|
|
38
26
|
output: {
|
|
39
27
|
runner: string;
|
|
@@ -55,6 +43,18 @@ export declare function createModelsRoutes(options: {
|
|
|
55
43
|
profileId?: string | undefined;
|
|
56
44
|
};
|
|
57
45
|
};
|
|
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,6 +62,17 @@ 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
|
+
} | {
|
|
65
76
|
output: {
|
|
66
77
|
project: {
|
|
67
78
|
id: string;
|
|
@@ -92,10 +103,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
92
103
|
agent: boolean;
|
|
93
104
|
}[] | undefined;
|
|
94
105
|
};
|
|
95
|
-
error
|
|
106
|
+
error: string;
|
|
96
107
|
};
|
|
97
108
|
outputFormat: "json";
|
|
98
|
-
status:
|
|
109
|
+
status: 409;
|
|
99
110
|
input: {
|
|
100
111
|
json: {
|
|
101
112
|
root: string;
|
|
@@ -132,31 +143,32 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
132
143
|
agent: boolean;
|
|
133
144
|
}[] | undefined;
|
|
134
145
|
};
|
|
135
|
-
error
|
|
146
|
+
error?: string | undefined;
|
|
136
147
|
};
|
|
137
148
|
outputFormat: "json";
|
|
138
|
-
status:
|
|
149
|
+
status: 200;
|
|
139
150
|
input: {
|
|
140
151
|
json: {
|
|
141
152
|
root: string;
|
|
142
153
|
};
|
|
143
154
|
};
|
|
144
|
-
}
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
} & {
|
|
158
|
+
"/projects/:projectId": {
|
|
159
|
+
$delete: {
|
|
145
160
|
output: {
|
|
146
161
|
error: string;
|
|
162
|
+
code?: "no-boot-project" | undefined;
|
|
147
163
|
};
|
|
148
164
|
outputFormat: "json";
|
|
149
|
-
status:
|
|
165
|
+
status: 404 | 409;
|
|
150
166
|
input: {
|
|
151
|
-
|
|
152
|
-
|
|
167
|
+
param: {
|
|
168
|
+
projectId: string;
|
|
153
169
|
};
|
|
154
170
|
};
|
|
155
|
-
}
|
|
156
|
-
};
|
|
157
|
-
} & {
|
|
158
|
-
"/projects/:projectId": {
|
|
159
|
-
$delete: {
|
|
171
|
+
} | {
|
|
160
172
|
output: {
|
|
161
173
|
error: string;
|
|
162
174
|
};
|
|
@@ -201,7 +213,11 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
201
213
|
projectId: string;
|
|
202
214
|
};
|
|
203
215
|
};
|
|
204
|
-
}
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
} & {
|
|
219
|
+
"/projects/:projectId": {
|
|
220
|
+
$patch: {
|
|
205
221
|
output: {
|
|
206
222
|
error: string;
|
|
207
223
|
code?: "no-boot-project" | undefined;
|
|
@@ -209,15 +225,21 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
209
225
|
outputFormat: "json";
|
|
210
226
|
status: 404 | 409;
|
|
211
227
|
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
|
+
} & {
|
|
212
238
|
param: {
|
|
213
239
|
projectId: string;
|
|
214
240
|
};
|
|
215
241
|
};
|
|
216
|
-
}
|
|
217
|
-
};
|
|
218
|
-
} & {
|
|
219
|
-
"/projects/:projectId": {
|
|
220
|
-
$patch: {
|
|
242
|
+
} | {
|
|
221
243
|
output: {
|
|
222
244
|
error: string;
|
|
223
245
|
};
|
|
@@ -308,28 +330,6 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
308
330
|
projectId: string;
|
|
309
331
|
};
|
|
310
332
|
};
|
|
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,10 +70,18 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
70
70
|
};
|
|
71
71
|
} | {
|
|
72
72
|
output: {
|
|
73
|
-
|
|
73
|
+
providers: {
|
|
74
|
+
requiresAccountHome?: boolean | undefined;
|
|
75
|
+
provider: string;
|
|
76
|
+
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
77
|
+
enabled?: boolean | undefined;
|
|
78
|
+
hint?: string | undefined;
|
|
79
|
+
authFailureId?: string | undefined;
|
|
80
|
+
profileId?: string | undefined;
|
|
81
|
+
}[];
|
|
74
82
|
};
|
|
75
83
|
outputFormat: "json";
|
|
76
|
-
status:
|
|
84
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
77
85
|
input: {
|
|
78
86
|
param: {
|
|
79
87
|
provider: string;
|
|
@@ -85,18 +93,10 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
85
93
|
};
|
|
86
94
|
} | {
|
|
87
95
|
output: {
|
|
88
|
-
|
|
89
|
-
requiresAccountHome?: boolean | undefined;
|
|
90
|
-
provider: string;
|
|
91
|
-
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
92
|
-
enabled?: boolean | undefined;
|
|
93
|
-
hint?: string | undefined;
|
|
94
|
-
authFailureId?: string | undefined;
|
|
95
|
-
profileId?: string | undefined;
|
|
96
|
-
}[];
|
|
96
|
+
error: string;
|
|
97
97
|
};
|
|
98
98
|
outputFormat: "json";
|
|
99
|
-
status:
|
|
99
|
+
status: 500;
|
|
100
100
|
input: {
|
|
101
101
|
param: {
|
|
102
102
|
provider: string;
|
|
@@ -128,10 +128,18 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
128
128
|
};
|
|
129
129
|
} | {
|
|
130
130
|
output: {
|
|
131
|
-
|
|
131
|
+
providers: {
|
|
132
|
+
requiresAccountHome?: boolean | undefined;
|
|
133
|
+
provider: string;
|
|
134
|
+
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
135
|
+
enabled?: boolean | undefined;
|
|
136
|
+
hint?: string | undefined;
|
|
137
|
+
authFailureId?: string | undefined;
|
|
138
|
+
profileId?: string | undefined;
|
|
139
|
+
}[];
|
|
132
140
|
};
|
|
133
141
|
outputFormat: "json";
|
|
134
|
-
status:
|
|
142
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
135
143
|
input: {
|
|
136
144
|
param: {
|
|
137
145
|
provider: string;
|
|
@@ -143,18 +151,10 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
143
151
|
};
|
|
144
152
|
} | {
|
|
145
153
|
output: {
|
|
146
|
-
|
|
147
|
-
requiresAccountHome?: boolean | undefined;
|
|
148
|
-
provider: string;
|
|
149
|
-
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
150
|
-
enabled?: boolean | undefined;
|
|
151
|
-
hint?: string | undefined;
|
|
152
|
-
authFailureId?: string | undefined;
|
|
153
|
-
profileId?: string | undefined;
|
|
154
|
-
}[];
|
|
154
|
+
error: string;
|
|
155
155
|
};
|
|
156
156
|
outputFormat: "json";
|
|
157
|
-
status:
|
|
157
|
+
status: 409;
|
|
158
158
|
input: {
|
|
159
159
|
param: {
|
|
160
160
|
provider: string;
|
|
@@ -173,7 +173,7 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
173
173
|
error: string;
|
|
174
174
|
};
|
|
175
175
|
outputFormat: "json";
|
|
176
|
-
status:
|
|
176
|
+
status: 409;
|
|
177
177
|
input: {
|
|
178
178
|
json: {
|
|
179
179
|
provider: string;
|
|
@@ -185,7 +185,7 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
185
185
|
error: string;
|
|
186
186
|
};
|
|
187
187
|
outputFormat: "json";
|
|
188
|
-
status:
|
|
188
|
+
status: 400;
|
|
189
189
|
input: {
|
|
190
190
|
json: {
|
|
191
191
|
provider: string;
|
|
@@ -290,28 +290,10 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
290
290
|
"/workspace/agent-profiles": {
|
|
291
291
|
$post: {
|
|
292
292
|
output: {
|
|
293
|
-
|
|
294
|
-
id: string;
|
|
295
|
-
provider: string;
|
|
296
|
-
label: string;
|
|
297
|
-
configDir?: string | undefined;
|
|
298
|
-
path?: string | undefined;
|
|
299
|
-
exists: boolean;
|
|
300
|
-
looksValid: boolean;
|
|
301
|
-
isDefault: boolean;
|
|
302
|
-
status?: {
|
|
303
|
-
requiresAccountHome?: boolean | undefined;
|
|
304
|
-
provider: string;
|
|
305
|
-
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
306
|
-
enabled?: boolean | undefined;
|
|
307
|
-
hint?: string | undefined;
|
|
308
|
-
authFailureId?: string | undefined;
|
|
309
|
-
profileId?: string | undefined;
|
|
310
|
-
} | undefined;
|
|
311
|
-
};
|
|
293
|
+
error: string;
|
|
312
294
|
};
|
|
313
295
|
outputFormat: "json";
|
|
314
|
-
status:
|
|
296
|
+
status: 409;
|
|
315
297
|
input: {
|
|
316
298
|
json: {
|
|
317
299
|
provider: string;
|
|
@@ -337,7 +319,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
337
319
|
error: string;
|
|
338
320
|
};
|
|
339
321
|
outputFormat: "json";
|
|
340
|
-
status:
|
|
322
|
+
status: 500;
|
|
341
323
|
input: {
|
|
342
324
|
json: {
|
|
343
325
|
provider: string;
|
|
@@ -347,10 +329,28 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
347
329
|
};
|
|
348
330
|
} | {
|
|
349
331
|
output: {
|
|
350
|
-
|
|
332
|
+
profile: {
|
|
333
|
+
id: string;
|
|
334
|
+
provider: string;
|
|
335
|
+
label: string;
|
|
336
|
+
configDir?: string | undefined;
|
|
337
|
+
path?: string | undefined;
|
|
338
|
+
exists: boolean;
|
|
339
|
+
looksValid: boolean;
|
|
340
|
+
isDefault: boolean;
|
|
341
|
+
status?: {
|
|
342
|
+
requiresAccountHome?: boolean | undefined;
|
|
343
|
+
provider: string;
|
|
344
|
+
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
345
|
+
enabled?: boolean | undefined;
|
|
346
|
+
hint?: string | undefined;
|
|
347
|
+
authFailureId?: string | undefined;
|
|
348
|
+
profileId?: string | undefined;
|
|
349
|
+
} | undefined;
|
|
350
|
+
};
|
|
351
351
|
};
|
|
352
352
|
outputFormat: "json";
|
|
353
|
-
status:
|
|
353
|
+
status: 201;
|
|
354
354
|
input: {
|
|
355
355
|
json: {
|
|
356
356
|
provider: string;
|
|
@@ -384,7 +384,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
384
384
|
error: string;
|
|
385
385
|
};
|
|
386
386
|
outputFormat: "json";
|
|
387
|
-
status:
|
|
387
|
+
status: 409;
|
|
388
388
|
input: {
|
|
389
389
|
param: {
|
|
390
390
|
id: string;
|
|
@@ -400,7 +400,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
400
400
|
error: string;
|
|
401
401
|
};
|
|
402
402
|
outputFormat: "json";
|
|
403
|
-
status:
|
|
403
|
+
status: 400;
|
|
404
404
|
input: {
|
|
405
405
|
param: {
|
|
406
406
|
id: string;
|
|
@@ -416,7 +416,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
416
416
|
error: string;
|
|
417
417
|
};
|
|
418
418
|
outputFormat: "json";
|
|
419
|
-
status:
|
|
419
|
+
status: 404;
|
|
420
420
|
input: {
|
|
421
421
|
param: {
|
|
422
422
|
id: string;
|
|
@@ -542,9 +542,10 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
542
542
|
$put: {
|
|
543
543
|
output: {
|
|
544
544
|
error: string;
|
|
545
|
+
code: "no-boot-project";
|
|
545
546
|
};
|
|
546
547
|
outputFormat: "json";
|
|
547
|
-
status:
|
|
548
|
+
status: 409;
|
|
548
549
|
input: {
|
|
549
550
|
json: {
|
|
550
551
|
projectId: string;
|
|
@@ -568,10 +569,9 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
568
569
|
} | {
|
|
569
570
|
output: {
|
|
570
571
|
error: string;
|
|
571
|
-
code: "no-boot-project";
|
|
572
572
|
};
|
|
573
573
|
outputFormat: "json";
|
|
574
|
-
status:
|
|
574
|
+
status: 400;
|
|
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: 409;
|
|
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: 500;
|
|
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: 404;
|
|
661
661
|
input: {
|
|
662
662
|
param: {
|
|
663
663
|
id: 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
|
} & {
|