@hearsay-tools/squawk 0.19.0-pr4622.9212 → 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/project-settings-routes.d.ts +107 -107
- package/dist/server/projects-routes.d.ts +41 -41
- package/dist/server/provider-sign-in-routes.d.ts +2 -2
- package/dist/server/providers-routes.d.ts +58 -58
- package/dist/server/runner-install-routes.d.ts +10 -10
- package/dist/server/runners-routes.d.ts +10 -10
- package/dist/server/runs-routes.d.ts +333 -333
- package/dist/server/server.d.ts +1170 -1170
- package/dist/server/workspace-identity-routes.d.ts +5 -5
- 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-BinzShaf.js → accounts-section-BwVLJgxK.js} +1 -1
- package/web/dist/assets/{activity-motion-BvqTKSqo.js → activity-motion-tBH9QmZu.js} +1 -1
- package/web/dist/assets/{activity-route-DPk44gEy.js → activity-route-CkXs29ji.js} +1 -1
- package/web/dist/assets/{agent-accounts-ChU4vfBl.js → agent-accounts-DQ_JY8H9.js} +1 -1
- package/web/dist/assets/{agent-config-section-CcQAu9b7.js → agent-config-section-Bii12by6.js} +1 -1
- package/web/dist/assets/{agent-defaults-section-CSqx1479.js → agent-defaults-section-BpiqyCUf.js} +1 -1
- package/web/dist/assets/{appearance-DH-VN7Hg.js → appearance-B_765RRk.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-CqTj_p3K.js → archive-on-merge-field-B6O9ruku.js} +1 -1
- package/web/dist/assets/{ask-card-Dn7OYHTC.js → ask-card-Cd0Xc7Uq.js} +1 -1
- package/web/dist/assets/{automations-route-DWfE1BUv.js → automations-route-CcVVZs26.js} +1 -1
- package/web/dist/assets/{commit-list-CqWkVSfv.js → commit-list-Dcd0WekD.js} +1 -1
- package/web/dist/assets/{diff-CO4Md6Jv.js → diff-B_cIEbs-.js} +2 -2
- package/web/dist/assets/{diff-controls-C-wQd4Ib.js → diff-controls-BTGIDnSs.js} +1 -1
- package/web/dist/assets/{diff-view-KejwMx_e.js → diff-view-J684vGFE.js} +1 -1
- package/web/dist/assets/{discard-changes-dialog-DJcvcxDg.js → discard-changes-dialog-BtnFyMRT.js} +1 -1
- package/web/dist/assets/{file-preview-BSAsYRmQ.js → file-preview-B3jXfVP7.js} +1 -1
- package/web/dist/assets/{folder-browser-BvE0XQDC.js → folder-browser-sYsHX_an.js} +1 -1
- package/web/dist/assets/{git-toolbar-BoP7hEiL.js → git-toolbar-SKqi4XfU.js} +1 -1
- package/web/dist/assets/{github-Brwd2u17.js → github-T6wolZwH.js} +1 -1
- package/web/dist/assets/{global-activity-route-ylRv5i0B.js → global-activity-route-Dx-kvhpz.js} +1 -1
- package/web/dist/assets/{hosts-BIgzlJ2i.js → hosts-DeyANWdw.js} +1 -1
- package/web/dist/assets/{index-Cf0HK2YW.js → index-6oRe52sM.js} +5 -5
- package/web/dist/assets/label-BXbOoPSF.js +1 -0
- package/web/dist/assets/{markdown-_RWbSoHA.js → markdown-TRVPj3Mg.js} +1 -1
- package/web/dist/assets/{open-in-menu-zrukT4IK.js → open-in-menu-g5K4vTnb.js} +1 -1
- package/web/dist/assets/{option-select-BtavcdtM.js → option-select-B76TaZGm.js} +1 -1
- package/web/dist/assets/{preferences-section-DBoTeoB0.js → preferences-section-DZRKsK2E.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-CqZ7qR53.js → preview-pane-connected-CM10_MPC.js} +1 -1
- package/web/dist/assets/{project-location-DQob1g0E.js → project-location-F5rU1iQp.js} +1 -1
- package/web/dist/assets/{projects-section-ClWFVviV.js → projects-section-DvYKR18b.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-C32HXWo3.js → prompt-templates-section-DFiGQ_kP.js} +1 -1
- package/web/dist/assets/queries-DQVUxiSU.js +1 -0
- package/web/dist/assets/{read-state-B1VLxOM6.js → read-state-DlkdVJHO.js} +1 -1
- package/web/dist/assets/{reference-chip-Bj_PKUc4.js → reference-chip-DTWd5NlK.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-C8VV_iw0.js → remote-settings-notice-4jnKyzkr.js} +1 -1
- package/web/dist/assets/{repo-git-CjUQ0g26.js → repo-git-bpVnYJKi.js} +1 -1
- package/web/dist/assets/{report-reader-C_yAYPmW.js → report-reader-DMyNCIiX.js} +1 -1
- package/web/dist/assets/{report-selection-D-asrNb1.js → report-selection-BJgUwTp3.js} +1 -1
- package/web/dist/assets/{reports-DtdpSXDD.js → reports-CBzt0Dmc.js} +1 -1
- package/web/dist/assets/{resources-section-PEx4v01N.js → resources-section-DrFTKHSn.js} +1 -1
- package/web/dist/assets/{review-notes-drafts-C2MYGz6Z.js → review-notes-drafts-N0GgOh1J.js} +1 -1
- package/web/dist/assets/{review-panel-I3KgOMmg.js → review-panel-BhyjEDJC.js} +1 -1
- package/web/dist/assets/{review-strip-OOHBg4No.js → review-strip-DoWuOvcF.js} +1 -1
- package/web/dist/assets/{run-detail-refresh-CoCrbq8v.js → run-detail-refresh-Bx9zlPFP.js} +1 -1
- package/web/dist/assets/{run-diff-DlyvdCr9.js → run-diff-BqvMg-mp.js} +1 -1
- package/web/dist/assets/{run-header-CC-99Rq_.js → run-header-Bg2x1hvz.js} +1 -1
- package/web/dist/assets/{select-DaeMMrqM.js → select-Cbi8vDBU.js} +1 -1
- package/web/dist/assets/{session-context-section-DkPFGHH0.js → session-context-section-BnezEi_b.js} +1 -1
- package/web/dist/assets/{settings-agent-picker-wN3FpFa5.js → settings-agent-picker-DCmAHz6j.js} +1 -1
- package/web/dist/assets/{settings-save-bar-PHQFfhCk.js → settings-save-bar-De7cR5EO.js} +1 -1
- package/web/dist/assets/{settings-shell-Z0rNc1xx.js → settings-shell-kQCF-IMK.js} +1 -1
- package/web/dist/assets/{sidebar-section-BE5SSKrX.js → sidebar-section-BZHg8W-H.js} +1 -1
- package/web/dist/assets/{skills-Dm5hGdd8.js → skills-DUOE73c3.js} +1 -1
- package/web/dist/assets/{task-changes-CS1uSQfH.js → task-changes-fRMZxCzG.js} +1 -1
- package/web/dist/assets/{task-commits-DCbUyMTZ.js → task-commits-Cenv0zsB.js} +1 -1
- package/web/dist/assets/{task-file-scope-CcmDJfUC.js → task-file-scope-K1Ban5eN.js} +1 -1
- package/web/dist/assets/{task-files-CO9gRC8O.js → task-files-EU03WHnV.js} +1 -1
- package/web/dist/assets/{task-github-item-C7Qtl-R4.js → task-github-item-Dhte1Ixh.js} +1 -1
- package/web/dist/assets/{task-groups-1B3qWNle.js → task-groups-DcQL5SKa.js} +1 -1
- package/web/dist/assets/{task-thread-BXPhkg3D.js → task-thread-DDMomGRh.js} +1 -1
- package/web/dist/assets/{thread-state-Co15rrhn.js → thread-state-K3qTs1EO.js} +1 -1
- package/web/dist/assets/{use-finish-run-BAu374MO.js → use-finish-run-C8c9NAvg.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-BO7f9Vja.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-y-EQHm5n.js → use-workspace-config-save-D6M-r6_i.js} +1 -1
- package/web/dist/assets/{workflows-Bawt8WPJ.js → workflows-jSPeMWLl.js} +1 -1
- package/web/dist/assets/{workspace-tools-Bjxxd-mY.js → workspace-tools-DmZ9LMQc.js} +1 -1
- package/web/dist/assets/{worktrees-section-CqdaU9Rf.js → worktrees-section-CsXzXEwX.js} +1 -1
- package/web/dist/index.html +12 -12
- package/web/dist/assets/label-D6E1lpRI.js +0 -1
- package/web/dist/assets/queries-CNjDebHy.js +0 -1
- package/web/dist/assets/use-path-bases-DQnmY-WP.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">;
|
|
@@ -112,10 +112,42 @@ export declare function createUiStateRoutes(): import("hono/hono-base").HonoBase
|
|
|
112
112
|
"/ui-state": {
|
|
113
113
|
$put: {
|
|
114
114
|
output: {
|
|
115
|
-
|
|
115
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
116
|
+
sidebarLimits?: {
|
|
117
|
+
overall?: number | null | undefined;
|
|
118
|
+
needsYou?: number | null | undefined;
|
|
119
|
+
finished?: number | null | undefined;
|
|
120
|
+
working?: number | null | undefined;
|
|
121
|
+
} | undefined;
|
|
122
|
+
lastTask?: {
|
|
123
|
+
source: "skill" | "workflow";
|
|
124
|
+
ref: string;
|
|
125
|
+
} | null | undefined;
|
|
126
|
+
recentSources?: {
|
|
127
|
+
source: "skill" | "workflow";
|
|
128
|
+
ref: string;
|
|
129
|
+
}[] | undefined;
|
|
130
|
+
lastWorktree?: boolean | undefined;
|
|
131
|
+
lastAutonomous?: boolean | undefined;
|
|
132
|
+
skillUsage?: {
|
|
133
|
+
[x: string]: number;
|
|
134
|
+
} | undefined;
|
|
135
|
+
runsView?: "list" | "table" | undefined;
|
|
136
|
+
githubView?: "issues" | "prs" | undefined;
|
|
137
|
+
appearance?: {
|
|
138
|
+
accent?: "cezarion" | "lime" | "violet" | undefined;
|
|
139
|
+
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
140
|
+
width?: "narrow" | "wide" | undefined;
|
|
141
|
+
} | undefined;
|
|
142
|
+
promptTemplates?: {
|
|
143
|
+
id: string;
|
|
144
|
+
label: string;
|
|
145
|
+
text: string;
|
|
146
|
+
skills?: string[] | undefined;
|
|
147
|
+
}[] | undefined;
|
|
116
148
|
};
|
|
117
149
|
outputFormat: "json";
|
|
118
|
-
status:
|
|
150
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
119
151
|
input: {
|
|
120
152
|
json: {
|
|
121
153
|
[x: string]: unknown;
|
|
@@ -153,42 +185,10 @@ export declare function createUiStateRoutes(): import("hono/hono-base").HonoBase
|
|
|
153
185
|
};
|
|
154
186
|
} | {
|
|
155
187
|
output: {
|
|
156
|
-
|
|
157
|
-
sidebarLimits?: {
|
|
158
|
-
overall?: number | null | undefined;
|
|
159
|
-
needsYou?: number | null | undefined;
|
|
160
|
-
finished?: number | null | undefined;
|
|
161
|
-
working?: number | null | undefined;
|
|
162
|
-
} | undefined;
|
|
163
|
-
lastTask?: {
|
|
164
|
-
source: "skill" | "workflow";
|
|
165
|
-
ref: string;
|
|
166
|
-
} | null | undefined;
|
|
167
|
-
recentSources?: {
|
|
168
|
-
source: "skill" | "workflow";
|
|
169
|
-
ref: string;
|
|
170
|
-
}[] | undefined;
|
|
171
|
-
lastWorktree?: boolean | undefined;
|
|
172
|
-
lastAutonomous?: boolean | undefined;
|
|
173
|
-
skillUsage?: {
|
|
174
|
-
[x: string]: number;
|
|
175
|
-
} | undefined;
|
|
176
|
-
runsView?: "list" | "table" | undefined;
|
|
177
|
-
githubView?: "issues" | "prs" | undefined;
|
|
178
|
-
appearance?: {
|
|
179
|
-
accent?: "cezarion" | "lime" | "violet" | undefined;
|
|
180
|
-
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
181
|
-
width?: "narrow" | "wide" | undefined;
|
|
182
|
-
} | undefined;
|
|
183
|
-
promptTemplates?: {
|
|
184
|
-
id: string;
|
|
185
|
-
label: string;
|
|
186
|
-
text: string;
|
|
187
|
-
skills?: string[] | undefined;
|
|
188
|
-
}[] | undefined;
|
|
188
|
+
error: string;
|
|
189
189
|
};
|
|
190
190
|
outputFormat: "json";
|
|
191
|
-
status:
|
|
191
|
+
status: 500;
|
|
192
192
|
input: {
|
|
193
193
|
json: {
|
|
194
194
|
[x: string]: unknown;
|
|
@@ -274,11 +274,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
274
274
|
"/workflows": {
|
|
275
275
|
$post: {
|
|
276
276
|
output: {
|
|
277
|
-
|
|
278
|
-
name: string;
|
|
277
|
+
error: string;
|
|
279
278
|
};
|
|
280
279
|
outputFormat: "json";
|
|
281
|
-
status:
|
|
280
|
+
status: 400;
|
|
282
281
|
input: {
|
|
283
282
|
json: {
|
|
284
283
|
name: string;
|
|
@@ -311,9 +310,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
311
310
|
} | {
|
|
312
311
|
output: {
|
|
313
312
|
error: string;
|
|
313
|
+
exists: true;
|
|
314
314
|
};
|
|
315
315
|
outputFormat: "json";
|
|
316
|
-
status:
|
|
316
|
+
status: 409;
|
|
317
317
|
input: {
|
|
318
318
|
json: {
|
|
319
319
|
name: string;
|
|
@@ -346,10 +346,9 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
346
346
|
} | {
|
|
347
347
|
output: {
|
|
348
348
|
error: string;
|
|
349
|
-
exists: true;
|
|
350
349
|
};
|
|
351
350
|
outputFormat: "json";
|
|
352
|
-
status:
|
|
351
|
+
status: 500;
|
|
353
352
|
input: {
|
|
354
353
|
json: {
|
|
355
354
|
name: string;
|
|
@@ -381,10 +380,11 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
381
380
|
};
|
|
382
381
|
} | {
|
|
383
382
|
output: {
|
|
384
|
-
|
|
383
|
+
path: string;
|
|
384
|
+
name: string;
|
|
385
385
|
};
|
|
386
386
|
outputFormat: "json";
|
|
387
|
-
status:
|
|
387
|
+
status: 201;
|
|
388
388
|
input: {
|
|
389
389
|
json: {
|
|
390
390
|
name: string;
|
|
@@ -420,11 +420,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
420
420
|
"/workflows/:name": {
|
|
421
421
|
$delete: {
|
|
422
422
|
output: {
|
|
423
|
-
|
|
424
|
-
path: string;
|
|
423
|
+
error: string;
|
|
425
424
|
};
|
|
426
425
|
outputFormat: "json";
|
|
427
|
-
status:
|
|
426
|
+
status: 400 | 404 | 409 | 500;
|
|
428
427
|
input: {
|
|
429
428
|
param: {
|
|
430
429
|
name: string;
|
|
@@ -432,10 +431,11 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
432
431
|
};
|
|
433
432
|
} | {
|
|
434
433
|
output: {
|
|
435
|
-
|
|
434
|
+
ok: true;
|
|
435
|
+
path: string;
|
|
436
436
|
};
|
|
437
437
|
outputFormat: "json";
|
|
438
|
-
status:
|
|
438
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
439
439
|
input: {
|
|
440
440
|
param: {
|
|
441
441
|
name: string;
|
|
@@ -503,6 +503,18 @@ export interface PlanRouteDeps {
|
|
|
503
503
|
export declare function createPlanRoutes(deps: PlanRouteDeps): import("hono/hono-base").HonoBase<ProjectApiEnv, {
|
|
504
504
|
"/plan": {
|
|
505
505
|
$post: {
|
|
506
|
+
output: {
|
|
507
|
+
error: string;
|
|
508
|
+
};
|
|
509
|
+
outputFormat: "json";
|
|
510
|
+
status: 400 | 404 | 409;
|
|
511
|
+
input: {
|
|
512
|
+
json: {
|
|
513
|
+
task: string;
|
|
514
|
+
agentProfile?: string | undefined;
|
|
515
|
+
};
|
|
516
|
+
};
|
|
517
|
+
} | {
|
|
506
518
|
output: {
|
|
507
519
|
name?: string;
|
|
508
520
|
steps: {
|
|
@@ -539,18 +551,6 @@ export declare function createPlanRoutes(deps: PlanRouteDeps): import("hono/hono
|
|
|
539
551
|
agentProfile?: string | undefined;
|
|
540
552
|
};
|
|
541
553
|
};
|
|
542
|
-
} | {
|
|
543
|
-
output: {
|
|
544
|
-
error: string;
|
|
545
|
-
};
|
|
546
|
-
outputFormat: "json";
|
|
547
|
-
status: 400 | 404 | 409;
|
|
548
|
-
input: {
|
|
549
|
-
json: {
|
|
550
|
-
task: string;
|
|
551
|
-
agentProfile?: string | undefined;
|
|
552
|
-
};
|
|
553
|
-
};
|
|
554
554
|
};
|
|
555
555
|
};
|
|
556
556
|
}, "/", "/plan">;
|
|
@@ -598,10 +598,34 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
|
|
|
598
598
|
"/config": {
|
|
599
599
|
$put: {
|
|
600
600
|
output: {
|
|
601
|
-
|
|
601
|
+
archiveOnMerge: boolean | null;
|
|
602
|
+
effectiveArchiveOnMerge: boolean;
|
|
603
|
+
archiveOnMergeSource: "default" | "environment" | "global" | "project";
|
|
604
|
+
baseBranch: string | null;
|
|
605
|
+
defaultRunner: string;
|
|
606
|
+
systemPrompt: string | null;
|
|
607
|
+
defaultModels: {
|
|
608
|
+
[x: string]: string | undefined;
|
|
609
|
+
};
|
|
610
|
+
modelsLocked: boolean;
|
|
611
|
+
maxParallel: number;
|
|
612
|
+
memoryLimitMb: number | null;
|
|
613
|
+
worktreeRetention: number;
|
|
614
|
+
liveTitleUpdates: boolean | null;
|
|
615
|
+
reviewGate: boolean | null;
|
|
616
|
+
worktreeSetup: {
|
|
617
|
+
commands: string[];
|
|
618
|
+
timeoutSeconds: number;
|
|
619
|
+
} | null;
|
|
620
|
+
worktreeSetupIssue: string | null;
|
|
621
|
+
worktreeTeardown: {
|
|
622
|
+
commands: string[];
|
|
623
|
+
timeoutSeconds: number;
|
|
624
|
+
} | null;
|
|
625
|
+
worktreeTeardownIssue: string | null;
|
|
602
626
|
};
|
|
603
627
|
outputFormat: "json";
|
|
604
|
-
status:
|
|
628
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
605
629
|
input: {
|
|
606
630
|
json: {
|
|
607
631
|
archiveOnMerge?: boolean | null | undefined;
|
|
@@ -629,7 +653,7 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
|
|
|
629
653
|
error: string;
|
|
630
654
|
};
|
|
631
655
|
outputFormat: "json";
|
|
632
|
-
status:
|
|
656
|
+
status: 409;
|
|
633
657
|
input: {
|
|
634
658
|
json: {
|
|
635
659
|
archiveOnMerge?: boolean | null | undefined;
|
|
@@ -654,34 +678,10 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
|
|
|
654
678
|
};
|
|
655
679
|
} | {
|
|
656
680
|
output: {
|
|
657
|
-
|
|
658
|
-
effectiveArchiveOnMerge: boolean;
|
|
659
|
-
archiveOnMergeSource: "default" | "environment" | "global" | "project";
|
|
660
|
-
baseBranch: string | null;
|
|
661
|
-
defaultRunner: string;
|
|
662
|
-
systemPrompt: string | null;
|
|
663
|
-
defaultModels: {
|
|
664
|
-
[x: string]: string | undefined;
|
|
665
|
-
};
|
|
666
|
-
modelsLocked: boolean;
|
|
667
|
-
maxParallel: number;
|
|
668
|
-
memoryLimitMb: number | null;
|
|
669
|
-
worktreeRetention: number;
|
|
670
|
-
liveTitleUpdates: boolean | null;
|
|
671
|
-
reviewGate: boolean | null;
|
|
672
|
-
worktreeSetup: {
|
|
673
|
-
commands: string[];
|
|
674
|
-
timeoutSeconds: number;
|
|
675
|
-
} | null;
|
|
676
|
-
worktreeSetupIssue: string | null;
|
|
677
|
-
worktreeTeardown: {
|
|
678
|
-
commands: string[];
|
|
679
|
-
timeoutSeconds: number;
|
|
680
|
-
} | null;
|
|
681
|
-
worktreeTeardownIssue: string | null;
|
|
681
|
+
error: string;
|
|
682
682
|
};
|
|
683
683
|
outputFormat: "json";
|
|
684
|
-
status:
|
|
684
|
+
status: 500;
|
|
685
685
|
input: {
|
|
686
686
|
json: {
|
|
687
687
|
archiveOnMerge?: boolean | null | undefined;
|
|
@@ -795,10 +795,14 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
|
|
|
795
795
|
"/agent-config/:id": {
|
|
796
796
|
$put: {
|
|
797
797
|
output: {
|
|
798
|
-
|
|
798
|
+
id: string;
|
|
799
|
+
path: string;
|
|
800
|
+
exists: boolean;
|
|
801
|
+
content: string;
|
|
802
|
+
version: string | null;
|
|
799
803
|
};
|
|
800
804
|
outputFormat: "json";
|
|
801
|
-
status:
|
|
805
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
802
806
|
input: {
|
|
803
807
|
json: {
|
|
804
808
|
content: string;
|
|
@@ -811,14 +815,10 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
|
|
|
811
815
|
};
|
|
812
816
|
} | {
|
|
813
817
|
output: {
|
|
814
|
-
|
|
815
|
-
path: string;
|
|
816
|
-
exists: boolean;
|
|
817
|
-
content: string;
|
|
818
|
-
version: string | null;
|
|
818
|
+
error: string;
|
|
819
819
|
};
|
|
820
820
|
outputFormat: "json";
|
|
821
|
-
status:
|
|
821
|
+
status: 404;
|
|
822
822
|
input: {
|
|
823
823
|
json: {
|
|
824
824
|
content: string;
|
|
@@ -851,12 +851,9 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
|
|
|
851
851
|
export declare function createSseRoutes(): import("hono/hono-base").HonoBase<ProjectApiEnv, {
|
|
852
852
|
"/runs/:id/events": {
|
|
853
853
|
$get: {
|
|
854
|
-
output: {
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
};
|
|
858
|
-
outputFormat: "json";
|
|
859
|
-
status: 400;
|
|
854
|
+
output: {};
|
|
855
|
+
outputFormat: string;
|
|
856
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
860
857
|
input: {
|
|
861
858
|
param: {
|
|
862
859
|
id: string;
|
|
@@ -868,9 +865,12 @@ export declare function createSseRoutes(): import("hono/hono-base").HonoBase<Pro
|
|
|
868
865
|
};
|
|
869
866
|
};
|
|
870
867
|
} | {
|
|
871
|
-
output: {
|
|
872
|
-
|
|
873
|
-
|
|
868
|
+
output: {
|
|
869
|
+
error: string;
|
|
870
|
+
code?: "invalid_input" | undefined;
|
|
871
|
+
};
|
|
872
|
+
outputFormat: "json";
|
|
873
|
+
status: 400;
|
|
874
874
|
input: {
|
|
875
875
|
param: {
|
|
876
876
|
id: string;
|