@hearsay-tools/squawk 0.19.0-dev.9210 → 0.19.0-dev.9220
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/features/hosts/routes.d.ts +64 -64
- package/dist/features/webhooks/routes.d.ts +38 -38
- package/dist/server/activity-routes.d.ts +23 -23
- package/dist/server/projects-routes.d.ts +41 -41
- package/dist/server/runs-routes.d.ts +311 -311
- package/package.json +4 -4
- package/web/dist/assets/accounts-section-s6sAdUT8.js +1 -0
- package/web/dist/assets/activity-motion-CXlbNrMI.js +1 -0
- package/web/dist/assets/{activity-route-BNDRi4k-.js → activity-route-BL-QWLNp.js} +1 -1
- package/web/dist/assets/agent-accounts-Du8CHfFX.js +1 -0
- package/web/dist/assets/agent-config-section-BzMSlPK0.js +7 -0
- package/web/dist/assets/agent-defaults-section-CqEVmRK0.js +1 -0
- package/web/dist/assets/appearance-vI6ae_So.js +1 -0
- package/web/dist/assets/archive-on-merge-field-C4hrO55O.js +1 -0
- package/web/dist/assets/ask-card-hEb8IHjL.js +9 -0
- package/web/dist/assets/automations-route-Bd6crv15.js +2 -0
- package/web/dist/assets/commit-list-Jr1_04RS.js +1 -0
- package/web/dist/assets/diff-BOF9OXhn.js +3 -0
- package/web/dist/assets/{diff-controls-C_ysCTVK.js → diff-controls-CkxtRrbB.js} +1 -1
- package/web/dist/assets/{diff-view-f2Zb3Tuc.js → diff-view-Chu6rn_i.js} +1 -1
- package/web/dist/assets/{discard-changes-dialog-Db5fnRbe.js → discard-changes-dialog-BB47RqdX.js} +1 -1
- package/web/dist/assets/file-preview-DNM-krBZ.js +2 -0
- package/web/dist/assets/folder-browser-TNWat5kt.js +1 -0
- package/web/dist/assets/{git-toolbar-DasGkLg-.js → git-toolbar-CoKBTzNV.js} +1 -1
- package/web/dist/assets/github-t611QkCi.js +1 -0
- package/web/dist/assets/{global-activity-route-DZtIc9Y6.js → global-activity-route-B9DMoviv.js} +1 -1
- package/web/dist/assets/{host-context-DDbYAKpm.js → host-context-iTMFRMT5.js} +1 -1
- package/web/dist/assets/host-storage-Cr_NKfWy.js +1 -0
- package/web/dist/assets/hosts-rdWe_OBc.js +1 -0
- package/web/dist/assets/{image-preview-CdL9a1Zj.js → image-preview-C_xACQXI.js} +1 -1
- package/web/dist/assets/index-C3kap2_j.js +21 -0
- package/web/dist/assets/index-CWmMYQdT.css +1 -0
- package/web/dist/assets/label-B_s8eiYA.js +1 -0
- package/web/dist/assets/{markdown-B4JilOS6.js → markdown-Bmdr6MIa.js} +1 -1
- package/web/dist/assets/{open-in-menu-Bf8JA2DJ.js → open-in-menu-DkFneOWr.js} +1 -1
- package/web/dist/assets/{option-select-C7kknSij.js → option-select-BxTmKg8G.js} +1 -1
- package/web/dist/assets/preferences-section-B_yl_o-g.js +1 -0
- package/web/dist/assets/preview-D3zYSmIA.js +1 -0
- package/web/dist/assets/{preview-pane-connected-BdBFebn0.js → preview-pane-connected-s9LvCVbp.js} +2 -2
- package/web/dist/assets/project-location-BczZtNyO.js +1 -0
- package/web/dist/assets/project-router-CfEuKuz1.js +1 -0
- package/web/dist/assets/project-scope-context-DNrHbqd2.js +4 -0
- package/web/dist/assets/projects-section-C6DnyUa2.js +1 -0
- package/web/dist/assets/{prompt-templates-section-Br5uL5GK.js → prompt-templates-section-BQvKWcaX.js} +2 -2
- package/web/dist/assets/queries-DD_9iITj.js +1 -0
- package/web/dist/assets/reference-chip-e-fG4-yW.js +1 -0
- package/web/dist/assets/remote-settings-notice-CUqI2DdF.js +1 -0
- package/web/dist/assets/repo-git-NG_TxE7N.js +1 -0
- package/web/dist/assets/report-reader-LYNHrAe-.js +1 -0
- package/web/dist/assets/{report-selection-Y2F9NTAs.js → report-selection-nUbQVjJu.js} +1 -1
- package/web/dist/assets/reports-DuT4m7i5.js +1 -0
- package/web/dist/assets/{resources-section-DEvZicO3.js → resources-section-CT48TCXY.js} +1 -1
- package/web/dist/assets/{review-notes-drafts-dS7OB8et.js → review-notes-drafts-C7HCRebB.js} +1 -1
- package/web/dist/assets/{review-panel-BRdqkYjE.js → review-panel-BffLSkRo.js} +1 -1
- package/web/dist/assets/review-strip-COa0ir6V.js +1 -0
- package/web/dist/assets/{run-detail-refresh-SYZM94ch.js → run-detail-refresh-Db5HOGMX.js} +1 -1
- package/web/dist/assets/{run-diff-D26PXp6r.js → run-diff-DldSY8BJ.js} +1 -1
- package/web/dist/assets/run-header-DxpN6yVQ.js +2 -0
- package/web/dist/assets/{select-DGNeDPgB.js → select-Cd8wvwvm.js} +1 -1
- package/web/dist/assets/{session-context-section-5kleIwBF.js → session-context-section-CW8DS0dW.js} +1 -1
- package/web/dist/assets/settings-agent-picker-an3ysM1B.js +1 -0
- package/web/dist/assets/{settings-save-bar-BBRySnQz.js → settings-save-bar-BiHFQ4c0.js} +1 -1
- package/web/dist/assets/settings-shell-KZ801oLH.js +1 -0
- package/web/dist/assets/sidebar-section-BRMO7aY4.js +1 -0
- package/web/dist/assets/skills-DHkLoxXb.js +1 -0
- package/web/dist/assets/status-dot-Da1M54kK.js +1 -0
- package/web/dist/assets/{tab-link-BJDe5cT4.js → tab-link-DL1UtKVR.js} +1 -1
- package/web/dist/assets/task-changes-CQhwyj0L.js +5 -0
- package/web/dist/assets/task-commits-CTP8izpc.js +1 -0
- package/web/dist/assets/{task-file-scope-DIKRE_b-.js → task-file-scope-CDIfOvl-.js} +1 -1
- package/web/dist/assets/task-files-CGlRH86B.js +1 -0
- package/web/dist/assets/task-github-item-ChgjULzj.js +1 -0
- package/web/dist/assets/task-thread-Cj9B2ISO.js +2 -0
- package/web/dist/assets/thread-state-D2KJrZ1o.js +4 -0
- package/web/dist/assets/use-finish-run-DifixlCM.js +1 -0
- package/web/dist/assets/use-hand-to-agent-state-Bjh1EnB3.js +1 -0
- package/web/dist/assets/use-path-bases-AV9YYh2B.js +1 -0
- package/web/dist/assets/use-workspace-config-save-02qlUK8v.js +1 -0
- package/web/dist/assets/{workflows-tS2KFiN5.js → workflows-BDc-MpiC.js} +2 -2
- package/web/dist/assets/workspace-tools-D7kUSb-0.js +1 -0
- package/web/dist/assets/{worktrees-section-Be49G15q.js → worktrees-section-Cv65NBgq.js} +5 -5
- package/web/dist/assets/{zoomable-image-CULOtYYp.js → zoomable-image-DJ1lJEMc.js} +1 -1
- package/web/dist/index.html +17 -20
- package/web/dist/live-worker.js +1 -1
- package/web/dist/assets/accounts-section-rl1VZO3h.js +0 -1
- package/web/dist/assets/activity-motion-z61Fgew-.js +0 -1
- package/web/dist/assets/agent-accounts-C2ILQhZy.js +0 -1
- package/web/dist/assets/agent-config-section-n-pEsz22.js +0 -7
- package/web/dist/assets/agent-defaults-section-D-HJwVes.js +0 -1
- package/web/dist/assets/appearance-BtRmAcNb.js +0 -1
- package/web/dist/assets/archive-on-merge-field-CvMwaqSO.js +0 -1
- package/web/dist/assets/ask-card-BwUCf0aZ.js +0 -9
- package/web/dist/assets/attention-C7BUdd2s.js +0 -1
- package/web/dist/assets/automations-route-DTiAXiUI.js +0 -2
- package/web/dist/assets/commit-list-C9Hv9ml6.js +0 -1
- package/web/dist/assets/diff-Cj-x8nqJ.js +0 -3
- package/web/dist/assets/file-preview-Cyj25xiD.js +0 -2
- package/web/dist/assets/folder-browser-3cBLlnE9.js +0 -1
- package/web/dist/assets/github-DCg3ksYv.js +0 -1
- package/web/dist/assets/host-storage-B72yoDU1.js +0 -1
- package/web/dist/assets/hosts-iUyg8S3j.js +0 -1
- package/web/dist/assets/index-DDSPQb52.css +0 -1
- package/web/dist/assets/index-DKnr4QWH.js +0 -21
- package/web/dist/assets/label-CWlxyeC-.js +0 -1
- package/web/dist/assets/preferences-section-fRAjnH9V.js +0 -1
- package/web/dist/assets/preview-BSFJfN4s.js +0 -1
- package/web/dist/assets/project-location-J285aq6e.js +0 -1
- package/web/dist/assets/project-router-CwD1firw.js +0 -1
- package/web/dist/assets/projects-section-CTJAcTFT.js +0 -1
- package/web/dist/assets/queries-D9mg7sFY.js +0 -1
- package/web/dist/assets/read-state-BsTfJki5.js +0 -1
- package/web/dist/assets/reference-chip-CZKBU_Ud.js +0 -1
- package/web/dist/assets/remote-settings-notice-oiFixJ1Q.js +0 -1
- package/web/dist/assets/repo-git-BnF9zc0t.js +0 -1
- package/web/dist/assets/report-reader-CAKZUxHi.js +0 -1
- package/web/dist/assets/reports-DLzhtnVJ.js +0 -1
- package/web/dist/assets/review-strip-BCrYmUm6.js +0 -1
- package/web/dist/assets/run-header-sCyLqpuL.js +0 -2
- package/web/dist/assets/settings-agent-picker-BHaCHv3L.js +0 -1
- package/web/dist/assets/settings-shell-NnVky05a.js +0 -1
- package/web/dist/assets/sidebar-section-CJttxkBb.js +0 -1
- package/web/dist/assets/skills-BWhCi78k.js +0 -1
- package/web/dist/assets/status-dot-DTU7afRv.js +0 -1
- package/web/dist/assets/task-changes-DxraCwDD.js +0 -5
- package/web/dist/assets/task-commits-BT54zRvY.js +0 -1
- package/web/dist/assets/task-files-BzhShCDY.js +0 -1
- package/web/dist/assets/task-github-item-NuNVjHSM.js +0 -1
- package/web/dist/assets/task-groups-BvVfsQKd.js +0 -1
- package/web/dist/assets/task-thread-Kb7rfaii.js +0 -2
- package/web/dist/assets/thread-state-BLwCv9hp.js +0 -4
- package/web/dist/assets/toaster-2ud_VdfV.js +0 -4
- package/web/dist/assets/use-finish-run-CfvaMV-b.js +0 -1
- package/web/dist/assets/use-hand-to-agent-state-DykS8SPU.js +0 -1
- package/web/dist/assets/use-path-bases-B7D8PPso.js +0 -1
- package/web/dist/assets/use-workspace-config-save-DDI7_WtK.js +0 -1
- package/web/dist/assets/workspace-tools-B5wyKj6g.js +0 -1
|
@@ -121,12 +121,9 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
121
121
|
} & {
|
|
122
122
|
"/api/v1/tools/:name": {
|
|
123
123
|
$post: {
|
|
124
|
-
output:
|
|
125
|
-
code: string;
|
|
126
|
-
message: string;
|
|
127
|
-
};
|
|
124
|
+
output: never;
|
|
128
125
|
outputFormat: "json";
|
|
129
|
-
status:
|
|
126
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
130
127
|
input: {
|
|
131
128
|
json: unknown;
|
|
132
129
|
} & {
|
|
@@ -149,9 +146,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
149
146
|
};
|
|
150
147
|
};
|
|
151
148
|
} | {
|
|
152
|
-
output:
|
|
149
|
+
output: {
|
|
150
|
+
code: string;
|
|
151
|
+
message: string;
|
|
152
|
+
};
|
|
153
153
|
outputFormat: "json";
|
|
154
|
-
status:
|
|
154
|
+
status: 401;
|
|
155
155
|
input: {
|
|
156
156
|
json: unknown;
|
|
157
157
|
} & {
|
|
@@ -139,6 +139,18 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
139
139
|
} & {
|
|
140
140
|
"/hosts/runs-index": {
|
|
141
141
|
$get: {
|
|
142
|
+
output: {
|
|
143
|
+
error: string;
|
|
144
|
+
code?: "invalid_input" | undefined;
|
|
145
|
+
};
|
|
146
|
+
outputFormat: "json";
|
|
147
|
+
status: 400;
|
|
148
|
+
input: {
|
|
149
|
+
query: {
|
|
150
|
+
hostId?: string | undefined;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
} | {
|
|
142
154
|
output: {
|
|
143
155
|
runs: {
|
|
144
156
|
id: string;
|
|
@@ -302,7 +314,11 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
302
314
|
hostId?: string | undefined;
|
|
303
315
|
};
|
|
304
316
|
};
|
|
305
|
-
}
|
|
317
|
+
};
|
|
318
|
+
};
|
|
319
|
+
} & {
|
|
320
|
+
"/hosts/runs-search": {
|
|
321
|
+
$get: {
|
|
306
322
|
output: {
|
|
307
323
|
error: string;
|
|
308
324
|
code?: "invalid_input" | undefined;
|
|
@@ -311,14 +327,11 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
311
327
|
status: 400;
|
|
312
328
|
input: {
|
|
313
329
|
query: {
|
|
314
|
-
|
|
330
|
+
q: string | string[];
|
|
331
|
+
limit?: number | undefined;
|
|
315
332
|
};
|
|
316
333
|
};
|
|
317
|
-
}
|
|
318
|
-
};
|
|
319
|
-
} & {
|
|
320
|
-
"/hosts/runs-search": {
|
|
321
|
-
$get: {
|
|
334
|
+
} | {
|
|
322
335
|
output: {
|
|
323
336
|
runs: {
|
|
324
337
|
id: string;
|
|
@@ -472,39 +485,16 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
472
485
|
limit?: number | undefined;
|
|
473
486
|
};
|
|
474
487
|
};
|
|
475
|
-
} | {
|
|
476
|
-
output: {
|
|
477
|
-
error: string;
|
|
478
|
-
code?: "invalid_input" | undefined;
|
|
479
|
-
};
|
|
480
|
-
outputFormat: "json";
|
|
481
|
-
status: 400;
|
|
482
|
-
input: {
|
|
483
|
-
query: {
|
|
484
|
-
q: string | string[];
|
|
485
|
-
limit?: number | undefined;
|
|
486
|
-
};
|
|
487
|
-
};
|
|
488
488
|
};
|
|
489
489
|
};
|
|
490
490
|
} & {
|
|
491
491
|
"/hosts": {
|
|
492
492
|
$post: {
|
|
493
493
|
output: {
|
|
494
|
-
|
|
495
|
-
id: string;
|
|
496
|
-
label: string;
|
|
497
|
-
state: "cannot-persist" | "connected" | "connecting" | "identity-changed" | "needs-node" | "not-hosted" | "paused" | "several-servers" | "unreachable" | "version-mismatch";
|
|
498
|
-
reason?: string | undefined;
|
|
499
|
-
kind?: "ssh" | undefined;
|
|
500
|
-
sshAlias?: string | undefined;
|
|
501
|
-
installId?: string | undefined;
|
|
502
|
-
port?: number | undefined;
|
|
503
|
-
addedAt?: string | undefined;
|
|
504
|
-
};
|
|
494
|
+
error: string;
|
|
505
495
|
};
|
|
506
496
|
outputFormat: "json";
|
|
507
|
-
status:
|
|
497
|
+
status: 404;
|
|
508
498
|
input: {
|
|
509
499
|
json: {
|
|
510
500
|
sshAlias: string;
|
|
@@ -532,7 +522,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
532
522
|
error: string;
|
|
533
523
|
};
|
|
534
524
|
outputFormat: "json";
|
|
535
|
-
status:
|
|
525
|
+
status: 409;
|
|
536
526
|
input: {
|
|
537
527
|
json: {
|
|
538
528
|
sshAlias: string;
|
|
@@ -546,7 +536,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
546
536
|
error: string;
|
|
547
537
|
};
|
|
548
538
|
outputFormat: "json";
|
|
549
|
-
status:
|
|
539
|
+
status: 500;
|
|
550
540
|
input: {
|
|
551
541
|
json: {
|
|
552
542
|
sshAlias: string;
|
|
@@ -557,10 +547,20 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
557
547
|
};
|
|
558
548
|
} | {
|
|
559
549
|
output: {
|
|
560
|
-
|
|
550
|
+
host: {
|
|
551
|
+
id: string;
|
|
552
|
+
label: string;
|
|
553
|
+
state: "cannot-persist" | "connected" | "connecting" | "identity-changed" | "needs-node" | "not-hosted" | "paused" | "several-servers" | "unreachable" | "version-mismatch";
|
|
554
|
+
reason?: string | undefined;
|
|
555
|
+
kind?: "ssh" | undefined;
|
|
556
|
+
sshAlias?: string | undefined;
|
|
557
|
+
installId?: string | undefined;
|
|
558
|
+
port?: number | undefined;
|
|
559
|
+
addedAt?: string | undefined;
|
|
560
|
+
};
|
|
561
561
|
};
|
|
562
562
|
outputFormat: "json";
|
|
563
|
-
status:
|
|
563
|
+
status: 201;
|
|
564
564
|
input: {
|
|
565
565
|
json: {
|
|
566
566
|
sshAlias: string;
|
|
@@ -574,7 +574,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
574
574
|
error: string;
|
|
575
575
|
};
|
|
576
576
|
outputFormat: "json";
|
|
577
|
-
status:
|
|
577
|
+
status: 409;
|
|
578
578
|
input: {
|
|
579
579
|
json: {
|
|
580
580
|
sshAlias: string;
|
|
@@ -589,20 +589,11 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
589
589
|
"/hosts/:id": {
|
|
590
590
|
$patch: {
|
|
591
591
|
output: {
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
label: string;
|
|
595
|
-
state: "cannot-persist" | "connected" | "connecting" | "identity-changed" | "needs-node" | "not-hosted" | "paused" | "several-servers" | "unreachable" | "version-mismatch";
|
|
596
|
-
reason?: string | undefined;
|
|
597
|
-
kind?: "ssh" | undefined;
|
|
598
|
-
sshAlias?: string | undefined;
|
|
599
|
-
installId?: string | undefined;
|
|
600
|
-
port?: number | undefined;
|
|
601
|
-
addedAt?: string | undefined;
|
|
602
|
-
};
|
|
592
|
+
error: string;
|
|
593
|
+
code?: "invalid_input" | undefined;
|
|
603
594
|
};
|
|
604
595
|
outputFormat: "json";
|
|
605
|
-
status:
|
|
596
|
+
status: 400;
|
|
606
597
|
input: {
|
|
607
598
|
param: {
|
|
608
599
|
id: string;
|
|
@@ -617,10 +608,9 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
617
608
|
} | {
|
|
618
609
|
output: {
|
|
619
610
|
error: string;
|
|
620
|
-
code?: "invalid_input" | undefined;
|
|
621
611
|
};
|
|
622
612
|
outputFormat: "json";
|
|
623
|
-
status:
|
|
613
|
+
status: 404;
|
|
624
614
|
input: {
|
|
625
615
|
param: {
|
|
626
616
|
id: string;
|
|
@@ -654,7 +644,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
654
644
|
error: string;
|
|
655
645
|
};
|
|
656
646
|
outputFormat: "json";
|
|
657
|
-
status:
|
|
647
|
+
status: 409;
|
|
658
648
|
input: {
|
|
659
649
|
param: {
|
|
660
650
|
id: string;
|
|
@@ -671,7 +661,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
671
661
|
error: string;
|
|
672
662
|
};
|
|
673
663
|
outputFormat: "json";
|
|
674
|
-
status:
|
|
664
|
+
status: 500;
|
|
675
665
|
input: {
|
|
676
666
|
param: {
|
|
677
667
|
id: string;
|
|
@@ -702,10 +692,20 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
702
692
|
};
|
|
703
693
|
} | {
|
|
704
694
|
output: {
|
|
705
|
-
|
|
695
|
+
host: {
|
|
696
|
+
id: string;
|
|
697
|
+
label: string;
|
|
698
|
+
state: "cannot-persist" | "connected" | "connecting" | "identity-changed" | "needs-node" | "not-hosted" | "paused" | "several-servers" | "unreachable" | "version-mismatch";
|
|
699
|
+
reason?: string | undefined;
|
|
700
|
+
kind?: "ssh" | undefined;
|
|
701
|
+
sshAlias?: string | undefined;
|
|
702
|
+
installId?: string | undefined;
|
|
703
|
+
port?: number | undefined;
|
|
704
|
+
addedAt?: string | undefined;
|
|
705
|
+
};
|
|
706
706
|
};
|
|
707
707
|
outputFormat: "json";
|
|
708
|
-
status:
|
|
708
|
+
status: 200;
|
|
709
709
|
input: {
|
|
710
710
|
param: {
|
|
711
711
|
id: string;
|
|
@@ -723,11 +723,11 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
723
723
|
"/hosts/:id": {
|
|
724
724
|
$delete: {
|
|
725
725
|
output: {
|
|
726
|
-
|
|
727
|
-
|
|
726
|
+
error: string;
|
|
727
|
+
code?: "invalid_input" | undefined;
|
|
728
728
|
};
|
|
729
729
|
outputFormat: "json";
|
|
730
|
-
status:
|
|
730
|
+
status: 400;
|
|
731
731
|
input: {
|
|
732
732
|
param: {
|
|
733
733
|
id: string;
|
|
@@ -736,10 +736,9 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
736
736
|
} | {
|
|
737
737
|
output: {
|
|
738
738
|
error: string;
|
|
739
|
-
code?: "invalid_input" | undefined;
|
|
740
739
|
};
|
|
741
740
|
outputFormat: "json";
|
|
742
|
-
status:
|
|
741
|
+
status: 404;
|
|
743
742
|
input: {
|
|
744
743
|
param: {
|
|
745
744
|
id: string;
|
|
@@ -761,7 +760,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
761
760
|
error: string;
|
|
762
761
|
};
|
|
763
762
|
outputFormat: "json";
|
|
764
|
-
status:
|
|
763
|
+
status: 409;
|
|
765
764
|
input: {
|
|
766
765
|
param: {
|
|
767
766
|
id: string;
|
|
@@ -772,7 +771,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
772
771
|
error: string;
|
|
773
772
|
};
|
|
774
773
|
outputFormat: "json";
|
|
775
|
-
status:
|
|
774
|
+
status: 500;
|
|
776
775
|
input: {
|
|
777
776
|
param: {
|
|
778
777
|
id: string;
|
|
@@ -791,10 +790,11 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
791
790
|
};
|
|
792
791
|
} | {
|
|
793
792
|
output: {
|
|
794
|
-
|
|
793
|
+
removed: true;
|
|
794
|
+
id: string;
|
|
795
795
|
};
|
|
796
796
|
outputFormat: "json";
|
|
797
|
-
status:
|
|
797
|
+
status: 200;
|
|
798
798
|
input: {
|
|
799
799
|
param: {
|
|
800
800
|
id: string;
|
|
@@ -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">;
|
|
@@ -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
|
} & {
|