@hearsay-tools/squawk 0.19.0-dev.8754 → 0.19.0-dev.8773
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/delegation/routes.d.ts +65 -65
- package/dist/delegation/transport.d.ts +65 -65
- package/dist/server/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 +45 -45
- package/dist/server/providers-routes.d.ts +57 -57
- package/dist/server/repo-routes.d.ts +34 -34
- package/dist/server/runner-install-routes.d.ts +10 -10
- package/dist/server/runners-routes.d.ts +10 -10
- package/dist/server/server.d.ts +1638 -1638
- package/dist/server/workspace-routes.d.ts +84 -84
- package/package.json +4 -4
- package/web/dist/assets/{accounts-section-CqJiDoKE.js → accounts-section-CIgJyKva.js} +1 -1
- package/web/dist/assets/activity-motion-D_URV8Di.js +1 -0
- package/web/dist/assets/{activity-route-DOcAtf9i.js → activity-route-Do33FDky.js} +1 -1
- package/web/dist/assets/{agent-config-section-B6lCNWlM.js → agent-config-section-BMfcQCbi.js} +1 -1
- package/web/dist/assets/{agent-defaults-section-DHwkBXuz.js → agent-defaults-section-Co96ec0d.js} +1 -1
- package/web/dist/assets/{appearance-DEK8ezEQ.js → appearance-DkSPOcn0.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-BT4e_k9f.js → archive-on-merge-field-Bzuu6JUq.js} +1 -1
- package/web/dist/assets/attention-wzzAdp4t.js +1 -0
- package/web/dist/assets/{automations-route-BXoyFkhx.js → automations-route-YNUMP0mD.js} +1 -1
- package/web/dist/assets/{commit-list-DjhAXNOu.js → commit-list-0tp9mxng.js} +1 -1
- package/web/dist/assets/{diff-eQ6oM_Ti.js → diff-6Tr1DKFm.js} +2 -2
- package/web/dist/assets/{diff-controls-CYiGOTLb.js → diff-controls-Uj68AWl-.js} +1 -1
- package/web/dist/assets/{diff-view-kgRbXZ06.js → diff-view-DMO64pR1.js} +1 -1
- package/web/dist/assets/{file-preview-D5Mc18GN.js → file-preview-BqaVkwcr.js} +1 -1
- package/web/dist/assets/{folder-browser-BJ3aXo9k.js → folder-browser-BzYB6BT2.js} +1 -1
- package/web/dist/assets/{git-toolbar-BYCPpYE3.js → git-toolbar-D513sAp1.js} +1 -1
- package/web/dist/assets/{github-B0s8RT3R.js → github-C5qUGzPx.js} +1 -1
- package/web/dist/assets/{global-activity-route-DTNGyGoC.js → global-activity-route-DRZlGf9a.js} +2 -2
- package/web/dist/assets/{index-DwDvloUQ.js → index-CIAFRUw6.js} +5 -5
- package/web/dist/assets/index-DclFk8VO.css +1 -0
- package/web/dist/assets/{label-CH-a6Jyv.js → label-CgZJ4LAh.js} +1 -1
- package/web/dist/assets/{markdown-jbBslIIT.js → markdown-B8uIJFot.js} +1 -1
- package/web/dist/assets/{notifications-section-C1aUjb3n.js → notifications-section-DcR7A7aZ.js} +1 -1
- package/web/dist/assets/{open-in-menu-CML2QKil.js → open-in-menu-C09BLcfQ.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-ChoZcfZF.js → preview-pane-connected-BOptVmB7.js} +1 -1
- package/web/dist/assets/{project-location-CZNz3wYW.js → project-location-CVu4xirj.js} +1 -1
- package/web/dist/assets/{project-router-BvBqllk2.js → project-router-BypHPat0.js} +1 -1
- package/web/dist/assets/{projects-section-Dlz2V18-.js → projects-section-ByjMveO2.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-KYeZJ5it.js → prompt-templates-section-mztZbjR2.js} +1 -1
- package/web/dist/assets/{queries-CYWRnyM5.js → queries-EvENG6TN.js} +1 -1
- package/web/dist/assets/{reference-chip-BdikRjql.js → reference-chip-BLHAGMsc.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-CXNs2m11.js → remote-settings-notice-_lT2fFKo.js} +1 -1
- package/web/dist/assets/{repo-git-xHDvySA0.js → repo-git-muNCGIF4.js} +1 -1
- package/web/dist/assets/{report-reader-pkkocX-w.js → report-reader-CJTciXLf.js} +1 -1
- package/web/dist/assets/{report-selection-D2RvkiGX.js → report-selection-CXF3VYjA.js} +1 -1
- package/web/dist/assets/{reports-DE76L7r9.js → reports-Ddq_ls0m.js} +1 -1
- package/web/dist/assets/{resources-section-CsyiFux8.js → resources-section-C5ssAmKn.js} +1 -1
- package/web/dist/assets/review-panel-wst8aLz4.js +11 -0
- package/web/dist/assets/{run-detail-refresh-BNI7eMgG.js → run-detail-refresh-DXnE6Lc2.js} +1 -1
- package/web/dist/assets/{run-header-kGdJVGJm.js → run-header-bZAJ80iC.js} +1 -1
- package/web/dist/assets/{select-BH4KzC9I.js → select-B05NBo-9.js} +1 -1
- package/web/dist/assets/{session-context-section-CQaaWpJ6.js → session-context-section-BzflGStM.js} +1 -1
- package/web/dist/assets/{settings-agent-picker-Cv_4wnFI.js → settings-agent-picker-BjvjnUs4.js} +1 -1
- package/web/dist/assets/{settings-shell-CG6eFmsm.js → settings-shell-vD5R1O7D.js} +1 -1
- package/web/dist/assets/{sidebar-section-CcO5Q0as.js → sidebar-section-BZLTjCJ6.js} +1 -1
- package/web/dist/assets/{skills-C2TtFkX0.js → skills-BNbkK6g-.js} +1 -1
- package/web/dist/assets/{tab-link-B0pNjKxZ.js → tab-link-Bjo_gEiX.js} +1 -1
- package/web/dist/assets/{task-changes-CS7sYCut.js → task-changes-BbRB1M0L.js} +1 -1
- package/web/dist/assets/{task-commits-B0HDJ95C.js → task-commits-_hMQ47BK.js} +1 -1
- package/web/dist/assets/{task-file-scope-vwEp2s7o.js → task-file-scope-CGgYP4rR.js} +1 -1
- package/web/dist/assets/{task-files-kehKktnF.js → task-files-Cce3Lghe.js} +1 -1
- package/web/dist/assets/{task-github-item-BNc2Oyvq.js → task-github-item-C25rYc6W.js} +1 -1
- package/web/dist/assets/{task-groups-lh9gz7TP.js → task-groups-nvRvmVHf.js} +1 -1
- package/web/dist/assets/task-thread-Cqs9j6f8.js +2 -0
- package/web/dist/assets/{tasks-table-k18AuMR5.js → tasks-table-DGBiE6ux.js} +1 -1
- package/web/dist/assets/{thread-state-B_UW2DqR.js → thread-state-C4f5H6np.js} +1 -1
- package/web/dist/assets/{toaster-B0kvcFif.js → toaster-Cer2NOxt.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-DzPA14Gk.js → use-hand-to-agent-state-Dnb5uNM1.js} +1 -1
- package/web/dist/assets/{workflows-CKtzm8xW.js → workflows-Cl1NhrpU.js} +1 -1
- package/web/dist/assets/{workspace-tools-Br4fSGhx.js → workspace-tools-DJcDHrF-.js} +1 -1
- package/web/dist/assets/{worktrees-section-TGAZ2n-T.js → worktrees-section-DRG2wiAo.js} +1 -1
- package/web/dist/index.html +14 -14
- package/web/dist/assets/activity-motion-BrtMWCAJ.js +0 -1
- package/web/dist/assets/attention-CGsbqL2t.js +0 -1
- package/web/dist/assets/index-D9L-uSh4.css +0 -1
- package/web/dist/assets/review-panel-CLsVpcPr.js +0 -11
- package/web/dist/assets/task-thread-BRpUqs1N.js +0 -2
|
@@ -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,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;
|
|
@@ -104,10 +93,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
104
93
|
agent: boolean;
|
|
105
94
|
}[] | undefined;
|
|
106
95
|
};
|
|
107
|
-
error
|
|
96
|
+
error?: string | undefined;
|
|
108
97
|
};
|
|
109
98
|
outputFormat: "json";
|
|
110
|
-
status:
|
|
99
|
+
status: 200;
|
|
111
100
|
input: {
|
|
112
101
|
json: {
|
|
113
102
|
root: string;
|
|
@@ -144,10 +133,21 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
144
133
|
agent: boolean;
|
|
145
134
|
}[] | undefined;
|
|
146
135
|
};
|
|
147
|
-
error
|
|
136
|
+
error: string;
|
|
148
137
|
};
|
|
149
138
|
outputFormat: "json";
|
|
150
|
-
status:
|
|
139
|
+
status: 409;
|
|
140
|
+
input: {
|
|
141
|
+
json: {
|
|
142
|
+
root: string;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
} | {
|
|
146
|
+
output: {
|
|
147
|
+
error: string;
|
|
148
|
+
};
|
|
149
|
+
outputFormat: "json";
|
|
150
|
+
status: 400 | 500;
|
|
151
151
|
input: {
|
|
152
152
|
json: {
|
|
153
153
|
root: string;
|
|
@@ -306,7 +306,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
306
306
|
error: string;
|
|
307
307
|
};
|
|
308
308
|
outputFormat: "json";
|
|
309
|
-
status:
|
|
309
|
+
status: 400;
|
|
310
310
|
input: {
|
|
311
311
|
param: {
|
|
312
312
|
projectId: string;
|
|
@@ -317,7 +317,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
317
317
|
error: string;
|
|
318
318
|
};
|
|
319
319
|
outputFormat: "json";
|
|
320
|
-
status:
|
|
320
|
+
status: 404;
|
|
321
321
|
input: {
|
|
322
322
|
param: {
|
|
323
323
|
projectId: string;
|
|
@@ -342,27 +342,6 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
342
342
|
} & {
|
|
343
343
|
"/projects/:projectId/webhooks": {
|
|
344
344
|
$post: {
|
|
345
|
-
output: {
|
|
346
|
-
error: string;
|
|
347
|
-
};
|
|
348
|
-
outputFormat: "json";
|
|
349
|
-
status: 400 | 404 | 409 | 500;
|
|
350
|
-
input: {
|
|
351
|
-
json: {
|
|
352
|
-
name: string;
|
|
353
|
-
description?: string | undefined;
|
|
354
|
-
url: string;
|
|
355
|
-
token?: string | undefined;
|
|
356
|
-
tasks?: boolean | undefined;
|
|
357
|
-
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
358
|
-
agent?: boolean | undefined;
|
|
359
|
-
};
|
|
360
|
-
} & {
|
|
361
|
-
param: {
|
|
362
|
-
projectId: string;
|
|
363
|
-
};
|
|
364
|
-
};
|
|
365
|
-
} | {
|
|
366
345
|
output: {
|
|
367
346
|
project: {
|
|
368
347
|
id: string;
|
|
@@ -421,6 +400,27 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
421
400
|
projectId: string;
|
|
422
401
|
};
|
|
423
402
|
};
|
|
403
|
+
} | {
|
|
404
|
+
output: {
|
|
405
|
+
error: string;
|
|
406
|
+
};
|
|
407
|
+
outputFormat: "json";
|
|
408
|
+
status: 400 | 404 | 409 | 500;
|
|
409
|
+
input: {
|
|
410
|
+
json: {
|
|
411
|
+
name: string;
|
|
412
|
+
description?: string | undefined;
|
|
413
|
+
url: string;
|
|
414
|
+
token?: string | undefined;
|
|
415
|
+
tasks?: boolean | undefined;
|
|
416
|
+
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
417
|
+
agent?: boolean | undefined;
|
|
418
|
+
};
|
|
419
|
+
} & {
|
|
420
|
+
param: {
|
|
421
|
+
projectId: string;
|
|
422
|
+
};
|
|
423
|
+
};
|
|
424
424
|
};
|
|
425
425
|
};
|
|
426
426
|
} & {
|
|
@@ -618,13 +618,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
618
618
|
};
|
|
619
619
|
} | {
|
|
620
620
|
output: {
|
|
621
|
-
|
|
622
|
-
status?: number | undefined;
|
|
623
|
-
error?: string | undefined;
|
|
624
|
-
dryRun?: boolean | undefined;
|
|
621
|
+
error: string;
|
|
625
622
|
};
|
|
626
623
|
outputFormat: "json";
|
|
627
|
-
status:
|
|
624
|
+
status: 404;
|
|
628
625
|
input: {
|
|
629
626
|
param: {
|
|
630
627
|
projectId: string;
|
|
@@ -633,10 +630,13 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
633
630
|
};
|
|
634
631
|
} | {
|
|
635
632
|
output: {
|
|
636
|
-
|
|
633
|
+
ok: boolean;
|
|
634
|
+
status?: number | undefined;
|
|
635
|
+
error?: string | undefined;
|
|
636
|
+
dryRun?: boolean | undefined;
|
|
637
637
|
};
|
|
638
638
|
outputFormat: "json";
|
|
639
|
-
status:
|
|
639
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
640
640
|
input: {
|
|
641
641
|
param: {
|
|
642
642
|
projectId: string;
|