@hearsay-tools/squawk 0.19.0-dev.9065 → 0.19.0-dev.9071
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/features/automations/automations-routes.d.ts +150 -150
- package/dist/server/models-routes.d.ts +12 -12
- package/dist/server/project-settings-routes.d.ts +107 -107
- package/dist/server/projects-routes.d.ts +73 -73
- package/dist/server/server.d.ts +1190 -1190
- package/package.json +4 -4
- package/web/dist/assets/accounts-section-DrA0kndh.js +1 -0
- package/web/dist/assets/activity-motion-C23PnhhH.js +1 -0
- package/web/dist/assets/{activity-route-CGRkPwJP.js → activity-route-CWGPbwtG.js} +1 -1
- package/web/dist/assets/{agent-config-section-C6I_sRta.js → agent-config-section-DWZQ2DSW.js} +1 -1
- package/web/dist/assets/{agent-defaults-section-CiOFMcep.js → agent-defaults-section-Da4tKbp7.js} +1 -1
- package/web/dist/assets/{appearance-CBX1qOwx.js → appearance-Bm4ePfiH.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-BzxW7NJS.js → archive-on-merge-field-DuRmMR6k.js} +1 -1
- package/web/dist/assets/ask-card-vM_Z-WAg.js +9 -0
- package/web/dist/assets/automations-route-B8zD3wux.js +2 -0
- package/web/dist/assets/{badge-B6B-xYQQ.js → badge-DVxxThpb.js} +1 -1
- package/web/dist/assets/{button-C8jUIs8Q.js → button-B22ANdCY.js} +1 -1
- package/web/dist/assets/{command-BiBq24zL.js → command-B2Y0By1v.js} +1 -1
- package/web/dist/assets/{commit-list-CCgF6z16.js → commit-list-lwVhwbS8.js} +1 -1
- package/web/dist/assets/{dialog-DRZuXvul.js → dialog-rpNyAWGb.js} +1 -1
- package/web/dist/assets/{diff-BcseHLlM.js → diff-CC5UqjNZ.js} +2 -2
- package/web/dist/assets/diff-controls-C8KWZ5S-.js +1 -0
- package/web/dist/assets/{diff-view--Nv4Px8F.js → diff-view-DiuQQoKq.js} +2 -2
- package/web/dist/assets/{discard-changes-dialog-CD2HMH7E.js → discard-changes-dialog-CX7M4k9n.js} +1 -1
- package/web/dist/assets/{file-preview-BwrymAy7.js → file-preview-C_0CRYAr.js} +1 -1
- package/web/dist/assets/{git-toolbar-CYgIbgOf.js → git-toolbar-PM540i_A.js} +1 -1
- package/web/dist/assets/github-CeBvZzjo.js +1 -0
- package/web/dist/assets/{global-activity-route-BXAhhLrt.js → global-activity-route-CiTt7W6o.js} +2 -2
- package/web/dist/assets/index-CSgBel_0.css +1 -0
- package/web/dist/assets/index-UFO7Bk2I.js +21 -0
- package/web/dist/assets/{markdown-BAmUNyiK.js → markdown-CqzDs1kO.js} +1 -1
- package/web/dist/assets/{open-in-menu-Bzca0KPF.js → open-in-menu-CbQWVBD0.js} +1 -1
- package/web/dist/assets/{option-select-BxFrlK_-.js → option-select-CDOKbUov.js} +1 -1
- package/web/dist/assets/page-shell-BgabWJ3w.js +1 -0
- package/web/dist/assets/{page-shell-DQPYcKyL.css → page-shell-CEIoW56O.css} +1 -1
- package/web/dist/assets/{preferences-section-ByeO0I87.js → preferences-section-cdbIMfEU.js} +1 -1
- package/web/dist/assets/preview-pane-connected-BcU9ryyW.js +3 -0
- package/web/dist/assets/{project-location-Cq1K7hXN.js → project-location-BpBbcl3v.js} +1 -1
- package/web/dist/assets/{projects-section-P0RuBn2c.js → projects-section-CX1WJq4d.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-ChqZ2Gl4.js → prompt-templates-section-DrQthAY7.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-DYOP5Yxe.js → remote-settings-notice-_MtFnktv.js} +1 -1
- package/web/dist/assets/repo-git-5JS3oL12.js +1 -0
- package/web/dist/assets/{report-reader-D0ud2uIA.js → report-reader-iboN3k6l.js} +1 -1
- package/web/dist/assets/{reports-BNO0jrQI.js → reports-Cn3kWlK7.js} +1 -1
- package/web/dist/assets/{resources-section-CQkpzv63.js → resources-section-BmDbIpaO.js} +1 -1
- package/web/dist/assets/{review-notes-drafts-B_Mb82AK.js → review-notes-drafts-DXxIudVB.js} +1 -1
- package/web/dist/assets/{review-panel-DcEmHodb.js → review-panel-BjWbFGev.js} +1 -1
- package/web/dist/assets/review-strip-QIghY88F.js +1 -0
- package/web/dist/assets/{run-diff-BvGvPk3g.js → run-diff-BDMdnSv7.js} +1 -1
- package/web/dist/assets/run-header-788Dmvef.css +1 -0
- package/web/dist/assets/run-header-BWLcG57S.js +2 -0
- package/web/dist/assets/{select--dGOlrzM.js → select-BxuV2GlN.js} +1 -1
- package/web/dist/assets/{session-context-section-b4-i_DSE.js → session-context-section-OLW5UTvx.js} +2 -2
- package/web/dist/assets/{settings-agent-picker-BhyVKLRu.js → settings-agent-picker-Dasyc6Qo.js} +1 -1
- package/web/dist/assets/{settings-list-detail-Dn5CWzHj.js → settings-list-detail-D3ibaYUj.js} +1 -1
- package/web/dist/assets/{settings-save-bar-9D1QPg_P.js → settings-save-bar-Mrc6Vm7P.js} +1 -1
- package/web/dist/assets/settings-shell-Bvje3VDf.css +1 -0
- package/web/dist/assets/settings-shell-DWRk12-i.js +1 -0
- package/web/dist/assets/sidebar-section-CVNvjM29.js +1 -0
- package/web/dist/assets/{skills-BizIiogS.js → skills-7MwCp2i_.js} +1 -1
- package/web/dist/assets/{status-dot-BXf-Ubd0.js → status-dot-Drd4-nfa.js} +1 -1
- package/web/dist/assets/{task-changes-DjB5jujp.js → task-changes-DSZjztX7.js} +1 -1
- package/web/dist/assets/{task-commits-cDkfIAvD.js → task-commits-P_ElCQ4M.js} +1 -1
- package/web/dist/assets/{task-file-scope-DLVI8zBp.js → task-file-scope-B63NmSov.js} +1 -1
- package/web/dist/assets/{task-files-BVbjuEaL.js → task-files-CSFB6sG7.js} +1 -1
- package/web/dist/assets/{task-github-item-DW5Rl7Me.js → task-github-item-BJ1rGyc6.js} +1 -1
- package/web/dist/assets/task-thread-C0DbAGi_.js +2 -0
- package/web/dist/assets/task-thread-i16nxSQv.css +1 -0
- package/web/dist/assets/thread-state-B7pyjJYO.js +4 -0
- package/web/dist/assets/{use-finish-run-BK7gmbXh.js → use-finish-run-B1Gy5JPt.js} +1 -1
- package/web/dist/assets/use-hand-to-agent-state-BSM9EGsW.css +1 -0
- package/web/dist/assets/use-hand-to-agent-state-CMyKCFeb.js +1 -0
- package/web/dist/assets/use-path-bases-wGc__G57.js +1 -0
- package/web/dist/assets/workflows-D7bXUmGa.css +1 -0
- package/web/dist/assets/workflows-seQiL2pi.js +7 -0
- package/web/dist/assets/workspace-tools-BDf7nsE5.js +1 -0
- package/web/dist/assets/{worktrees-section-Cm1pcQ9g.js → worktrees-section-x7r5wRhx.js} +1 -1
- package/web/dist/index.html +10 -10
- package/web/dist/assets/accounts-section-CdmTsc7W.js +0 -1
- package/web/dist/assets/activity-motion-CrFzRrI5.js +0 -1
- package/web/dist/assets/ask-card-CKD_gFDN.js +0 -9
- package/web/dist/assets/automations-route-CoSNUId5.js +0 -2
- package/web/dist/assets/diff-controls-DhD4a7Z4.js +0 -1
- package/web/dist/assets/github-CtYRNNDH.js +0 -1
- package/web/dist/assets/index-BUmO8olN.css +0 -1
- package/web/dist/assets/index-CXvWnyZg.js +0 -21
- package/web/dist/assets/page-shell-Dky5crRl.js +0 -1
- package/web/dist/assets/preview-pane-connected-CJy9Miri.js +0 -3
- package/web/dist/assets/repo-git-DcZTZ70-.js +0 -1
- package/web/dist/assets/review-strip-En21aXDx.js +0 -1
- package/web/dist/assets/run-header-DE0wTSnO.js +0 -2
- package/web/dist/assets/run-header-V9BxPSvn.css +0 -1
- package/web/dist/assets/settings-shell-Ct4CWWvw.js +0 -1
- package/web/dist/assets/settings-shell-Ct_qn_MM.css +0 -1
- package/web/dist/assets/sidebar-section-azclPE--.js +0 -1
- package/web/dist/assets/task-thread-DTLhAQbe.js +0 -2
- package/web/dist/assets/task-thread-DxVehGLy.css +0 -1
- package/web/dist/assets/thread-state-VRKiUyJj.js +0 -4
- package/web/dist/assets/use-hand-to-agent-state-DZZUsUAd.css +0 -1
- package/web/dist/assets/use-hand-to-agent-state-pINTYkY9.js +0 -1
- package/web/dist/assets/use-path-bases-D1yBeTzY.js +0 -1
- package/web/dist/assets/workflows-B2Sw8qQa.css +0 -1
- package/web/dist/assets/workflows-D2h67tAS.js +0 -7
- package/web/dist/assets/workspace-tools-uIbmvTfR.js +0 -1
|
@@ -113,10 +113,42 @@ export declare function createUiStateRoutes(): import("hono/hono-base").HonoBase
|
|
|
113
113
|
"/ui-state": {
|
|
114
114
|
$put: {
|
|
115
115
|
output: {
|
|
116
|
-
|
|
116
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
117
|
+
sidebarLimits?: {
|
|
118
|
+
overall?: number | null | undefined;
|
|
119
|
+
needsYou?: number | null | undefined;
|
|
120
|
+
finished?: number | null | undefined;
|
|
121
|
+
working?: number | null | undefined;
|
|
122
|
+
} | undefined;
|
|
123
|
+
lastTask?: {
|
|
124
|
+
source: "skill" | "workflow";
|
|
125
|
+
ref: string;
|
|
126
|
+
} | null | undefined;
|
|
127
|
+
recentSources?: {
|
|
128
|
+
source: "skill" | "workflow";
|
|
129
|
+
ref: string;
|
|
130
|
+
}[] | undefined;
|
|
131
|
+
lastWorktree?: boolean | undefined;
|
|
132
|
+
lastAutonomous?: boolean | undefined;
|
|
133
|
+
skillUsage?: {
|
|
134
|
+
[x: string]: number;
|
|
135
|
+
} | undefined;
|
|
136
|
+
runsView?: "list" | "table" | undefined;
|
|
137
|
+
githubView?: "issues" | "prs" | undefined;
|
|
138
|
+
appearance?: {
|
|
139
|
+
accent?: "cezarion" | "lime" | "violet" | undefined;
|
|
140
|
+
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
141
|
+
width?: "narrow" | "wide" | undefined;
|
|
142
|
+
} | undefined;
|
|
143
|
+
promptTemplates?: {
|
|
144
|
+
id: string;
|
|
145
|
+
label: string;
|
|
146
|
+
text: string;
|
|
147
|
+
skills?: string[] | undefined;
|
|
148
|
+
}[] | undefined;
|
|
117
149
|
};
|
|
118
150
|
outputFormat: "json";
|
|
119
|
-
status:
|
|
151
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
120
152
|
input: {
|
|
121
153
|
json: {
|
|
122
154
|
[x: string]: unknown;
|
|
@@ -154,42 +186,10 @@ export declare function createUiStateRoutes(): import("hono/hono-base").HonoBase
|
|
|
154
186
|
};
|
|
155
187
|
} | {
|
|
156
188
|
output: {
|
|
157
|
-
|
|
158
|
-
sidebarLimits?: {
|
|
159
|
-
overall?: number | null | undefined;
|
|
160
|
-
needsYou?: number | null | undefined;
|
|
161
|
-
finished?: number | null | undefined;
|
|
162
|
-
working?: number | null | undefined;
|
|
163
|
-
} | undefined;
|
|
164
|
-
lastTask?: {
|
|
165
|
-
source: "skill" | "workflow";
|
|
166
|
-
ref: string;
|
|
167
|
-
} | null | undefined;
|
|
168
|
-
recentSources?: {
|
|
169
|
-
source: "skill" | "workflow";
|
|
170
|
-
ref: string;
|
|
171
|
-
}[] | undefined;
|
|
172
|
-
lastWorktree?: boolean | undefined;
|
|
173
|
-
lastAutonomous?: boolean | undefined;
|
|
174
|
-
skillUsage?: {
|
|
175
|
-
[x: string]: number;
|
|
176
|
-
} | undefined;
|
|
177
|
-
runsView?: "list" | "table" | undefined;
|
|
178
|
-
githubView?: "issues" | "prs" | undefined;
|
|
179
|
-
appearance?: {
|
|
180
|
-
accent?: "cezarion" | "lime" | "violet" | undefined;
|
|
181
|
-
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
182
|
-
width?: "narrow" | "wide" | undefined;
|
|
183
|
-
} | undefined;
|
|
184
|
-
promptTemplates?: {
|
|
185
|
-
id: string;
|
|
186
|
-
label: string;
|
|
187
|
-
text: string;
|
|
188
|
-
skills?: string[] | undefined;
|
|
189
|
-
}[] | undefined;
|
|
189
|
+
error: string;
|
|
190
190
|
};
|
|
191
191
|
outputFormat: "json";
|
|
192
|
-
status:
|
|
192
|
+
status: 500;
|
|
193
193
|
input: {
|
|
194
194
|
json: {
|
|
195
195
|
[x: string]: unknown;
|
|
@@ -275,11 +275,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
275
275
|
"/workflows": {
|
|
276
276
|
$post: {
|
|
277
277
|
output: {
|
|
278
|
-
|
|
279
|
-
name: string;
|
|
278
|
+
error: string;
|
|
280
279
|
};
|
|
281
280
|
outputFormat: "json";
|
|
282
|
-
status:
|
|
281
|
+
status: 400;
|
|
283
282
|
input: {
|
|
284
283
|
json: {
|
|
285
284
|
name: string;
|
|
@@ -312,9 +311,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
312
311
|
} | {
|
|
313
312
|
output: {
|
|
314
313
|
error: string;
|
|
314
|
+
exists: true;
|
|
315
315
|
};
|
|
316
316
|
outputFormat: "json";
|
|
317
|
-
status:
|
|
317
|
+
status: 409;
|
|
318
318
|
input: {
|
|
319
319
|
json: {
|
|
320
320
|
name: string;
|
|
@@ -347,10 +347,9 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
347
347
|
} | {
|
|
348
348
|
output: {
|
|
349
349
|
error: string;
|
|
350
|
-
exists: true;
|
|
351
350
|
};
|
|
352
351
|
outputFormat: "json";
|
|
353
|
-
status:
|
|
352
|
+
status: 500;
|
|
354
353
|
input: {
|
|
355
354
|
json: {
|
|
356
355
|
name: string;
|
|
@@ -382,10 +381,11 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
382
381
|
};
|
|
383
382
|
} | {
|
|
384
383
|
output: {
|
|
385
|
-
|
|
384
|
+
path: string;
|
|
385
|
+
name: string;
|
|
386
386
|
};
|
|
387
387
|
outputFormat: "json";
|
|
388
|
-
status:
|
|
388
|
+
status: 201;
|
|
389
389
|
input: {
|
|
390
390
|
json: {
|
|
391
391
|
name: string;
|
|
@@ -421,11 +421,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
421
421
|
"/workflows/:name": {
|
|
422
422
|
$delete: {
|
|
423
423
|
output: {
|
|
424
|
-
|
|
425
|
-
path: string;
|
|
424
|
+
error: string;
|
|
426
425
|
};
|
|
427
426
|
outputFormat: "json";
|
|
428
|
-
status:
|
|
427
|
+
status: 400 | 404 | 409 | 500;
|
|
429
428
|
input: {
|
|
430
429
|
param: {
|
|
431
430
|
name: string;
|
|
@@ -433,10 +432,11 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
433
432
|
};
|
|
434
433
|
} | {
|
|
435
434
|
output: {
|
|
436
|
-
|
|
435
|
+
ok: true;
|
|
436
|
+
path: string;
|
|
437
437
|
};
|
|
438
438
|
outputFormat: "json";
|
|
439
|
-
status:
|
|
439
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
440
440
|
input: {
|
|
441
441
|
param: {
|
|
442
442
|
name: string;
|
|
@@ -504,6 +504,18 @@ export interface PlanRouteDeps {
|
|
|
504
504
|
export declare function createPlanRoutes(deps: PlanRouteDeps): import("hono/hono-base").HonoBase<ProjectApiEnv, {
|
|
505
505
|
"/plan": {
|
|
506
506
|
$post: {
|
|
507
|
+
output: {
|
|
508
|
+
error: string;
|
|
509
|
+
};
|
|
510
|
+
outputFormat: "json";
|
|
511
|
+
status: 400 | 404 | 409;
|
|
512
|
+
input: {
|
|
513
|
+
json: {
|
|
514
|
+
task: string;
|
|
515
|
+
agentProfile?: string | undefined;
|
|
516
|
+
};
|
|
517
|
+
};
|
|
518
|
+
} | {
|
|
507
519
|
output: {
|
|
508
520
|
name?: string;
|
|
509
521
|
steps: {
|
|
@@ -540,18 +552,6 @@ export declare function createPlanRoutes(deps: PlanRouteDeps): import("hono/hono
|
|
|
540
552
|
agentProfile?: string | undefined;
|
|
541
553
|
};
|
|
542
554
|
};
|
|
543
|
-
} | {
|
|
544
|
-
output: {
|
|
545
|
-
error: string;
|
|
546
|
-
};
|
|
547
|
-
outputFormat: "json";
|
|
548
|
-
status: 400 | 404 | 409;
|
|
549
|
-
input: {
|
|
550
|
-
json: {
|
|
551
|
-
task: string;
|
|
552
|
-
agentProfile?: string | undefined;
|
|
553
|
-
};
|
|
554
|
-
};
|
|
555
555
|
};
|
|
556
556
|
};
|
|
557
557
|
}, "/", "/plan">;
|
|
@@ -599,10 +599,34 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
|
|
|
599
599
|
"/config": {
|
|
600
600
|
$put: {
|
|
601
601
|
output: {
|
|
602
|
-
|
|
602
|
+
archiveOnMerge: boolean | null;
|
|
603
|
+
effectiveArchiveOnMerge: boolean;
|
|
604
|
+
archiveOnMergeSource: "default" | "environment" | "global" | "project";
|
|
605
|
+
baseBranch: string | null;
|
|
606
|
+
defaultRunner: string;
|
|
607
|
+
systemPrompt: string | null;
|
|
608
|
+
defaultModels: {
|
|
609
|
+
[x: string]: string | undefined;
|
|
610
|
+
};
|
|
611
|
+
modelsLocked: boolean;
|
|
612
|
+
maxParallel: number;
|
|
613
|
+
memoryLimitMb: number | null;
|
|
614
|
+
worktreeRetention: number;
|
|
615
|
+
liveTitleUpdates: boolean | null;
|
|
616
|
+
reviewGate: boolean | null;
|
|
617
|
+
worktreeSetup: {
|
|
618
|
+
commands: string[];
|
|
619
|
+
timeoutSeconds: number;
|
|
620
|
+
} | null;
|
|
621
|
+
worktreeSetupIssue: string | null;
|
|
622
|
+
worktreeTeardown: {
|
|
623
|
+
commands: string[];
|
|
624
|
+
timeoutSeconds: number;
|
|
625
|
+
} | null;
|
|
626
|
+
worktreeTeardownIssue: string | null;
|
|
603
627
|
};
|
|
604
628
|
outputFormat: "json";
|
|
605
|
-
status:
|
|
629
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
606
630
|
input: {
|
|
607
631
|
json: {
|
|
608
632
|
archiveOnMerge?: boolean | null | undefined;
|
|
@@ -630,7 +654,7 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
|
|
|
630
654
|
error: string;
|
|
631
655
|
};
|
|
632
656
|
outputFormat: "json";
|
|
633
|
-
status:
|
|
657
|
+
status: 409;
|
|
634
658
|
input: {
|
|
635
659
|
json: {
|
|
636
660
|
archiveOnMerge?: boolean | null | undefined;
|
|
@@ -655,34 +679,10 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
|
|
|
655
679
|
};
|
|
656
680
|
} | {
|
|
657
681
|
output: {
|
|
658
|
-
|
|
659
|
-
effectiveArchiveOnMerge: boolean;
|
|
660
|
-
archiveOnMergeSource: "default" | "environment" | "global" | "project";
|
|
661
|
-
baseBranch: string | null;
|
|
662
|
-
defaultRunner: string;
|
|
663
|
-
systemPrompt: string | null;
|
|
664
|
-
defaultModels: {
|
|
665
|
-
[x: string]: string | undefined;
|
|
666
|
-
};
|
|
667
|
-
modelsLocked: boolean;
|
|
668
|
-
maxParallel: number;
|
|
669
|
-
memoryLimitMb: number | null;
|
|
670
|
-
worktreeRetention: number;
|
|
671
|
-
liveTitleUpdates: boolean | null;
|
|
672
|
-
reviewGate: boolean | null;
|
|
673
|
-
worktreeSetup: {
|
|
674
|
-
commands: string[];
|
|
675
|
-
timeoutSeconds: number;
|
|
676
|
-
} | null;
|
|
677
|
-
worktreeSetupIssue: string | null;
|
|
678
|
-
worktreeTeardown: {
|
|
679
|
-
commands: string[];
|
|
680
|
-
timeoutSeconds: number;
|
|
681
|
-
} | null;
|
|
682
|
-
worktreeTeardownIssue: string | null;
|
|
682
|
+
error: string;
|
|
683
683
|
};
|
|
684
684
|
outputFormat: "json";
|
|
685
|
-
status:
|
|
685
|
+
status: 500;
|
|
686
686
|
input: {
|
|
687
687
|
json: {
|
|
688
688
|
archiveOnMerge?: boolean | null | undefined;
|
|
@@ -796,10 +796,14 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
|
|
|
796
796
|
"/agent-config/:id": {
|
|
797
797
|
$put: {
|
|
798
798
|
output: {
|
|
799
|
-
|
|
799
|
+
id: string;
|
|
800
|
+
path: string;
|
|
801
|
+
exists: boolean;
|
|
802
|
+
content: string;
|
|
803
|
+
version: string | null;
|
|
800
804
|
};
|
|
801
805
|
outputFormat: "json";
|
|
802
|
-
status:
|
|
806
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
803
807
|
input: {
|
|
804
808
|
json: {
|
|
805
809
|
content: string;
|
|
@@ -812,14 +816,10 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
|
|
|
812
816
|
};
|
|
813
817
|
} | {
|
|
814
818
|
output: {
|
|
815
|
-
|
|
816
|
-
path: string;
|
|
817
|
-
exists: boolean;
|
|
818
|
-
content: string;
|
|
819
|
-
version: string | null;
|
|
819
|
+
error: string;
|
|
820
820
|
};
|
|
821
821
|
outputFormat: "json";
|
|
822
|
-
status:
|
|
822
|
+
status: 404;
|
|
823
823
|
input: {
|
|
824
824
|
json: {
|
|
825
825
|
content: string;
|
|
@@ -941,12 +941,9 @@ export declare function createAgentWebhooksRoutes(deps: AgentWebhooksRouteDeps):
|
|
|
941
941
|
export declare function createSseRoutes(): import("hono/hono-base").HonoBase<ProjectApiEnv, {
|
|
942
942
|
"/runs/:id/events": {
|
|
943
943
|
$get: {
|
|
944
|
-
output: {
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
};
|
|
948
|
-
outputFormat: "json";
|
|
949
|
-
status: 400;
|
|
944
|
+
output: {};
|
|
945
|
+
outputFormat: string;
|
|
946
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
950
947
|
input: {
|
|
951
948
|
param: {
|
|
952
949
|
id: string;
|
|
@@ -958,9 +955,12 @@ export declare function createSseRoutes(): import("hono/hono-base").HonoBase<Pro
|
|
|
958
955
|
};
|
|
959
956
|
};
|
|
960
957
|
} | {
|
|
961
|
-
output: {
|
|
962
|
-
|
|
963
|
-
|
|
958
|
+
output: {
|
|
959
|
+
error: string;
|
|
960
|
+
code?: "invalid_input" | undefined;
|
|
961
|
+
};
|
|
962
|
+
outputFormat: "json";
|
|
963
|
+
status: 400;
|
|
964
964
|
input: {
|
|
965
965
|
param: {
|
|
966
966
|
id: string;
|
|
@@ -63,6 +63,17 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
63
63
|
} & {
|
|
64
64
|
"/projects": {
|
|
65
65
|
$post: {
|
|
66
|
+
output: {
|
|
67
|
+
error: string;
|
|
68
|
+
};
|
|
69
|
+
outputFormat: "json";
|
|
70
|
+
status: 400 | 500;
|
|
71
|
+
input: {
|
|
72
|
+
json: {
|
|
73
|
+
root: string;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
} | {
|
|
66
77
|
output: {
|
|
67
78
|
project: {
|
|
68
79
|
id: string;
|
|
@@ -93,10 +104,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
93
104
|
agent: boolean;
|
|
94
105
|
}[] | undefined;
|
|
95
106
|
};
|
|
96
|
-
error
|
|
107
|
+
error: string;
|
|
97
108
|
};
|
|
98
109
|
outputFormat: "json";
|
|
99
|
-
status:
|
|
110
|
+
status: 409;
|
|
100
111
|
input: {
|
|
101
112
|
json: {
|
|
102
113
|
root: string;
|
|
@@ -133,31 +144,32 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
133
144
|
agent: boolean;
|
|
134
145
|
}[] | undefined;
|
|
135
146
|
};
|
|
136
|
-
error
|
|
147
|
+
error?: string | undefined;
|
|
137
148
|
};
|
|
138
149
|
outputFormat: "json";
|
|
139
|
-
status:
|
|
150
|
+
status: 200;
|
|
140
151
|
input: {
|
|
141
152
|
json: {
|
|
142
153
|
root: string;
|
|
143
154
|
};
|
|
144
155
|
};
|
|
145
|
-
}
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
} & {
|
|
159
|
+
"/projects/:projectId": {
|
|
160
|
+
$delete: {
|
|
146
161
|
output: {
|
|
147
162
|
error: string;
|
|
163
|
+
code?: "no-boot-project" | undefined;
|
|
148
164
|
};
|
|
149
165
|
outputFormat: "json";
|
|
150
|
-
status:
|
|
166
|
+
status: 404 | 409;
|
|
151
167
|
input: {
|
|
152
|
-
|
|
153
|
-
|
|
168
|
+
param: {
|
|
169
|
+
projectId: string;
|
|
154
170
|
};
|
|
155
171
|
};
|
|
156
|
-
}
|
|
157
|
-
};
|
|
158
|
-
} & {
|
|
159
|
-
"/projects/:projectId": {
|
|
160
|
-
$delete: {
|
|
172
|
+
} | {
|
|
161
173
|
output: {
|
|
162
174
|
error: string;
|
|
163
175
|
};
|
|
@@ -202,7 +214,11 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
202
214
|
projectId: string;
|
|
203
215
|
};
|
|
204
216
|
};
|
|
205
|
-
}
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
} & {
|
|
220
|
+
"/projects/:projectId": {
|
|
221
|
+
$patch: {
|
|
206
222
|
output: {
|
|
207
223
|
error: string;
|
|
208
224
|
code?: "no-boot-project" | undefined;
|
|
@@ -210,15 +226,21 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
210
226
|
outputFormat: "json";
|
|
211
227
|
status: 404 | 409;
|
|
212
228
|
input: {
|
|
229
|
+
json: {
|
|
230
|
+
maxParallel?: number | null | undefined;
|
|
231
|
+
tags?: string[] | null | undefined;
|
|
232
|
+
webhook?: {
|
|
233
|
+
url: string;
|
|
234
|
+
token?: string | undefined;
|
|
235
|
+
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
236
|
+
} | null | undefined;
|
|
237
|
+
};
|
|
238
|
+
} & {
|
|
213
239
|
param: {
|
|
214
240
|
projectId: string;
|
|
215
241
|
};
|
|
216
242
|
};
|
|
217
|
-
}
|
|
218
|
-
};
|
|
219
|
-
} & {
|
|
220
|
-
"/projects/:projectId": {
|
|
221
|
-
$patch: {
|
|
243
|
+
} | {
|
|
222
244
|
output: {
|
|
223
245
|
error: string;
|
|
224
246
|
};
|
|
@@ -309,28 +331,6 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
309
331
|
projectId: string;
|
|
310
332
|
};
|
|
311
333
|
};
|
|
312
|
-
} | {
|
|
313
|
-
output: {
|
|
314
|
-
error: string;
|
|
315
|
-
code?: "no-boot-project" | undefined;
|
|
316
|
-
};
|
|
317
|
-
outputFormat: "json";
|
|
318
|
-
status: 404 | 409;
|
|
319
|
-
input: {
|
|
320
|
-
json: {
|
|
321
|
-
maxParallel?: number | null | undefined;
|
|
322
|
-
tags?: string[] | null | undefined;
|
|
323
|
-
webhook?: {
|
|
324
|
-
url: string;
|
|
325
|
-
token?: string | undefined;
|
|
326
|
-
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
327
|
-
} | null | undefined;
|
|
328
|
-
};
|
|
329
|
-
} & {
|
|
330
|
-
param: {
|
|
331
|
-
projectId: string;
|
|
332
|
-
};
|
|
333
|
-
};
|
|
334
334
|
};
|
|
335
335
|
};
|
|
336
336
|
} & {
|
|
@@ -338,9 +338,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
338
338
|
$post: {
|
|
339
339
|
output: {
|
|
340
340
|
error: string;
|
|
341
|
+
code: "no-boot-project";
|
|
341
342
|
};
|
|
342
343
|
outputFormat: "json";
|
|
343
|
-
status:
|
|
344
|
+
status: 409;
|
|
344
345
|
input: {
|
|
345
346
|
param: {
|
|
346
347
|
projectId: string;
|
|
@@ -360,10 +361,9 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
360
361
|
} | {
|
|
361
362
|
output: {
|
|
362
363
|
error: string;
|
|
363
|
-
code: "no-boot-project";
|
|
364
364
|
};
|
|
365
365
|
outputFormat: "json";
|
|
366
|
-
status:
|
|
366
|
+
status: 400;
|
|
367
367
|
input: {
|
|
368
368
|
param: {
|
|
369
369
|
projectId: string;
|
|
@@ -388,6 +388,28 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
388
388
|
} & {
|
|
389
389
|
"/projects/:projectId/webhooks": {
|
|
390
390
|
$post: {
|
|
391
|
+
output: {
|
|
392
|
+
error: string;
|
|
393
|
+
code?: "no-boot-project" | undefined;
|
|
394
|
+
};
|
|
395
|
+
outputFormat: "json";
|
|
396
|
+
status: 400 | 404 | 409 | 500;
|
|
397
|
+
input: {
|
|
398
|
+
json: {
|
|
399
|
+
name: string;
|
|
400
|
+
description?: string | undefined;
|
|
401
|
+
url: string;
|
|
402
|
+
token?: string | undefined;
|
|
403
|
+
tasks?: boolean | undefined;
|
|
404
|
+
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
405
|
+
agent?: boolean | undefined;
|
|
406
|
+
};
|
|
407
|
+
} & {
|
|
408
|
+
param: {
|
|
409
|
+
projectId: string;
|
|
410
|
+
};
|
|
411
|
+
};
|
|
412
|
+
} | {
|
|
391
413
|
output: {
|
|
392
414
|
project: {
|
|
393
415
|
id: string;
|
|
@@ -446,28 +468,6 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
446
468
|
projectId: string;
|
|
447
469
|
};
|
|
448
470
|
};
|
|
449
|
-
} | {
|
|
450
|
-
output: {
|
|
451
|
-
error: string;
|
|
452
|
-
code?: "no-boot-project" | undefined;
|
|
453
|
-
};
|
|
454
|
-
outputFormat: "json";
|
|
455
|
-
status: 400 | 404 | 409 | 500;
|
|
456
|
-
input: {
|
|
457
|
-
json: {
|
|
458
|
-
name: string;
|
|
459
|
-
description?: string | undefined;
|
|
460
|
-
url: string;
|
|
461
|
-
token?: string | undefined;
|
|
462
|
-
tasks?: boolean | undefined;
|
|
463
|
-
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
464
|
-
agent?: boolean | undefined;
|
|
465
|
-
};
|
|
466
|
-
} & {
|
|
467
|
-
param: {
|
|
468
|
-
projectId: string;
|
|
469
|
-
};
|
|
470
|
-
};
|
|
471
471
|
};
|
|
472
472
|
};
|
|
473
473
|
} & {
|
|
@@ -667,10 +667,13 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
667
667
|
};
|
|
668
668
|
} | {
|
|
669
669
|
output: {
|
|
670
|
-
|
|
670
|
+
ok: boolean;
|
|
671
|
+
status?: number | undefined;
|
|
672
|
+
error?: string | undefined;
|
|
673
|
+
dryRun?: boolean | undefined;
|
|
671
674
|
};
|
|
672
675
|
outputFormat: "json";
|
|
673
|
-
status:
|
|
676
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
674
677
|
input: {
|
|
675
678
|
param: {
|
|
676
679
|
projectId: string;
|
|
@@ -692,13 +695,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
692
695
|
};
|
|
693
696
|
} | {
|
|
694
697
|
output: {
|
|
695
|
-
|
|
696
|
-
status?: number | undefined;
|
|
697
|
-
error?: string | undefined;
|
|
698
|
-
dryRun?: boolean | undefined;
|
|
698
|
+
error: string;
|
|
699
699
|
};
|
|
700
700
|
outputFormat: "json";
|
|
701
|
-
status:
|
|
701
|
+
status: 404;
|
|
702
702
|
input: {
|
|
703
703
|
param: {
|
|
704
704
|
projectId: string;
|