@hearsay-tools/squawk 0.19.0-dev.9202 → 0.19.0-dev.9216
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/repo-routes.d.ts +13 -13
- package/dist/server/runs-routes.d.ts +333 -333
- package/package.json +4 -4
- package/web/dist/assets/accounts-section-BJcwTmko.js +1 -0
- package/web/dist/assets/activity-motion-D7ylxNSA.js +1 -0
- package/web/dist/assets/{activity-route-BNDRi4k-.js → activity-route-Bmig0E18.js} +1 -1
- package/web/dist/assets/agent-accounts-DaaS69XB.js +1 -0
- package/web/dist/assets/{agent-config-section-n-pEsz22.js → agent-config-section-BOXqQyTv.js} +2 -2
- package/web/dist/assets/{agent-defaults-section-D-HJwVes.js → agent-defaults-section-Bxfreo-n.js} +1 -1
- package/web/dist/assets/{appearance-BtRmAcNb.js → appearance-BRqSFVDC.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-CvMwaqSO.js → archive-on-merge-field-hDSXItUf.js} +1 -1
- package/web/dist/assets/{ask-card-BwUCf0aZ.js → ask-card-CWrAEuZE.js} +2 -2
- package/web/dist/assets/attention-CFW302LY.js +1 -0
- package/web/dist/assets/automations-route-BBsU9yBn.js +2 -0
- package/web/dist/assets/{commit-list-C9Hv9ml6.js → commit-list-5iHD08NO.js} +1 -1
- package/web/dist/assets/{diff-Cj-x8nqJ.js → diff-CkIsqgZZ.js} +2 -2
- package/web/dist/assets/{diff-controls-C_ysCTVK.js → diff-controls-Bb70UBsP.js} +1 -1
- package/web/dist/assets/{diff-view-f2Zb3Tuc.js → diff-view-DLcxtXIH.js} +1 -1
- package/web/dist/assets/{discard-changes-dialog-Db5fnRbe.js → discard-changes-dialog-BzypT4vb.js} +1 -1
- package/web/dist/assets/{file-preview-Cyj25xiD.js → file-preview-CJVN0cBa.js} +1 -1
- package/web/dist/assets/{folder-browser-3cBLlnE9.js → folder-browser-Cdm2WZOB.js} +1 -1
- package/web/dist/assets/{git-toolbar-DasGkLg-.js → git-toolbar-DPkpAaKz.js} +1 -1
- package/web/dist/assets/github-DXBAYLfd.js +1 -0
- package/web/dist/assets/{global-activity-route-DZtIc9Y6.js → global-activity-route-CQULPYKA.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-IKDCpyJQ.js +1 -0
- package/web/dist/assets/{image-preview-CdL9a1Zj.js → image-preview-C_xACQXI.js} +1 -1
- package/web/dist/assets/{index-DDSPQb52.css → index-D1E0Dmck.css} +1 -1
- package/web/dist/assets/index-k2m-s5zD.js +21 -0
- package/web/dist/assets/label-ODcSLYVj.js +1 -0
- package/web/dist/assets/{markdown-B4JilOS6.js → markdown-C1p1PDmF.js} +1 -1
- package/web/dist/assets/{open-in-menu-Bf8JA2DJ.js → open-in-menu-CbPtuWnJ.js} +1 -1
- package/web/dist/assets/{option-select-C7kknSij.js → option-select-C6d3jHce.js} +1 -1
- package/web/dist/assets/{preferences-section-fRAjnH9V.js → preferences-section-ChS8Q-Lu.js} +1 -1
- package/web/dist/assets/{preview-BSFJfN4s.js → preview-B5bPk6HT.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-BdBFebn0.js → preview-pane-connected-ELLewN-g.js} +2 -2
- package/web/dist/assets/{project-location-J285aq6e.js → project-location-D8vnqA4E.js} +1 -1
- package/web/dist/assets/{project-router-CwD1firw.js → project-router-CPgPVoBJ.js} +1 -1
- package/web/dist/assets/{projects-section-CTJAcTFT.js → projects-section-L3QxEiRK.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-Br5uL5GK.js → prompt-templates-section-D3GzKJMf.js} +2 -2
- package/web/dist/assets/queries-DHjNE2es.js +1 -0
- package/web/dist/assets/read-state-jUDTdM3R.js +1 -0
- package/web/dist/assets/reference-chip-kvc51N1L.js +1 -0
- package/web/dist/assets/{remote-settings-notice-oiFixJ1Q.js → remote-settings-notice-BtVKQ2vp.js} +1 -1
- package/web/dist/assets/{repo-git-BnF9zc0t.js → repo-git-BGSxevNj.js} +1 -1
- package/web/dist/assets/{report-reader-CAKZUxHi.js → report-reader-CvEkEEwN.js} +1 -1
- package/web/dist/assets/{report-selection-Y2F9NTAs.js → report-selection-DxBxW6dz.js} +1 -1
- package/web/dist/assets/{reports-DLzhtnVJ.js → reports-1vI74Z6R.js} +1 -1
- package/web/dist/assets/{resources-section-DEvZicO3.js → resources-section-CpAOY20Z.js} +1 -1
- package/web/dist/assets/{review-notes-drafts-dS7OB8et.js → review-notes-drafts-D25BaEEb.js} +1 -1
- package/web/dist/assets/{review-panel-BRdqkYjE.js → review-panel-CS9wTfAu.js} +1 -1
- package/web/dist/assets/{review-strip-BCrYmUm6.js → review-strip-nrpQBfNI.js} +1 -1
- package/web/dist/assets/{run-detail-refresh-SYZM94ch.js → run-detail-refresh-wJr0M04e.js} +1 -1
- package/web/dist/assets/{run-diff-D26PXp6r.js → run-diff-BBASqHSE.js} +1 -1
- package/web/dist/assets/run-header-DVnksnr4.js +2 -0
- package/web/dist/assets/{select-DGNeDPgB.js → select-CEEeAH4k.js} +1 -1
- package/web/dist/assets/{session-context-section-5kleIwBF.js → session-context-section-F1umLA86.js} +1 -1
- package/web/dist/assets/{settings-agent-picker-BHaCHv3L.js → settings-agent-picker-sUQdIon3.js} +1 -1
- package/web/dist/assets/{settings-save-bar-BBRySnQz.js → settings-save-bar-BkU1JDt3.js} +1 -1
- package/web/dist/assets/{settings-shell-NnVky05a.js → settings-shell-DodTPpjl.js} +1 -1
- package/web/dist/assets/{sidebar-section-CJttxkBb.js → sidebar-section-DspuARa_.js} +1 -1
- package/web/dist/assets/{skills-BWhCi78k.js → skills-CrHHdPjJ.js} +1 -1
- package/web/dist/assets/{status-dot-DTU7afRv.js → status-dot-DuorWA5M.js} +1 -1
- package/web/dist/assets/{tab-link-BJDe5cT4.js → tab-link-CiKWtkK_.js} +1 -1
- package/web/dist/assets/{task-changes-DxraCwDD.js → task-changes-U1cnUd83.js} +2 -2
- package/web/dist/assets/{task-commits-BT54zRvY.js → task-commits-DxuX8SZp.js} +1 -1
- package/web/dist/assets/{task-file-scope-DIKRE_b-.js → task-file-scope-DU8AkDkr.js} +1 -1
- package/web/dist/assets/{task-files-BzhShCDY.js → task-files-DaDM9FRg.js} +1 -1
- package/web/dist/assets/{task-github-item-NuNVjHSM.js → task-github-item-CXzzVHXw.js} +1 -1
- package/web/dist/assets/task-groups-BapM4YcT.js +1 -0
- package/web/dist/assets/task-thread-9WIv4rPC.js +2 -0
- package/web/dist/assets/{thread-state-BLwCv9hp.js → thread-state-IooDEE0b.js} +1 -1
- package/web/dist/assets/toaster-Dglox5F-.js +4 -0
- package/web/dist/assets/use-finish-run-jVAqsGkV.js +1 -0
- package/web/dist/assets/use-hand-to-agent-state-DfucUGAH.js +1 -0
- package/web/dist/assets/use-path-bases-C7DRxlRi.js +1 -0
- package/web/dist/assets/use-workspace-config-save-B2eroiEx.js +1 -0
- package/web/dist/assets/{workflows-tS2KFiN5.js → workflows-DdKRMlHR.js} +2 -2
- package/web/dist/assets/{workspace-tools-B5wyKj6g.js → workspace-tools-CePJG7uG.js} +1 -1
- package/web/dist/assets/{worktrees-section-Be49G15q.js → worktrees-section-CCgqbLAh.js} +5 -5
- package/web/dist/assets/{zoomable-image-CULOtYYp.js → zoomable-image-DJ1lJEMc.js} +1 -1
- package/web/dist/index.html +20 -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/attention-C7BUdd2s.js +0 -1
- package/web/dist/assets/automations-route-DTiAXiUI.js +0 -2
- 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-DKnr4QWH.js +0 -21
- package/web/dist/assets/label-CWlxyeC-.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/run-header-sCyLqpuL.js +0 -2
- package/web/dist/assets/task-groups-BvVfsQKd.js +0 -1
- package/web/dist/assets/task-thread-Kb7rfaii.js +0 -2
- 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
|
@@ -121,9 +121,12 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
121
121
|
} & {
|
|
122
122
|
"/api/v1/tools/:name": {
|
|
123
123
|
$post: {
|
|
124
|
-
output:
|
|
124
|
+
output: {
|
|
125
|
+
code: string;
|
|
126
|
+
message: string;
|
|
127
|
+
};
|
|
125
128
|
outputFormat: "json";
|
|
126
|
-
status:
|
|
129
|
+
status: 401;
|
|
127
130
|
input: {
|
|
128
131
|
json: unknown;
|
|
129
132
|
} & {
|
|
@@ -146,12 +149,9 @@ export declare function ciToolRoutes(capabilities: Map<string, Capability>): imp
|
|
|
146
149
|
};
|
|
147
150
|
};
|
|
148
151
|
} | {
|
|
149
|
-
output:
|
|
150
|
-
code: string;
|
|
151
|
-
message: string;
|
|
152
|
-
};
|
|
152
|
+
output: never;
|
|
153
153
|
outputFormat: "json";
|
|
154
|
-
status:
|
|
154
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
155
155
|
input: {
|
|
156
156
|
json: unknown;
|
|
157
157
|
} & {
|
|
@@ -139,18 +139,6 @@ 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
|
-
} | {
|
|
154
142
|
output: {
|
|
155
143
|
runs: {
|
|
156
144
|
id: string;
|
|
@@ -314,11 +302,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
314
302
|
hostId?: string | undefined;
|
|
315
303
|
};
|
|
316
304
|
};
|
|
317
|
-
}
|
|
318
|
-
};
|
|
319
|
-
} & {
|
|
320
|
-
"/hosts/runs-search": {
|
|
321
|
-
$get: {
|
|
305
|
+
} | {
|
|
322
306
|
output: {
|
|
323
307
|
error: string;
|
|
324
308
|
code?: "invalid_input" | undefined;
|
|
@@ -327,11 +311,14 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
327
311
|
status: 400;
|
|
328
312
|
input: {
|
|
329
313
|
query: {
|
|
330
|
-
|
|
331
|
-
limit?: number | undefined;
|
|
314
|
+
hostId?: string | undefined;
|
|
332
315
|
};
|
|
333
316
|
};
|
|
334
|
-
}
|
|
317
|
+
};
|
|
318
|
+
};
|
|
319
|
+
} & {
|
|
320
|
+
"/hosts/runs-search": {
|
|
321
|
+
$get: {
|
|
335
322
|
output: {
|
|
336
323
|
runs: {
|
|
337
324
|
id: string;
|
|
@@ -485,16 +472,39 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
485
472
|
limit?: number | undefined;
|
|
486
473
|
};
|
|
487
474
|
};
|
|
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
|
-
|
|
494
|
+
host: {
|
|
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
|
+
};
|
|
495
505
|
};
|
|
496
506
|
outputFormat: "json";
|
|
497
|
-
status:
|
|
507
|
+
status: 201;
|
|
498
508
|
input: {
|
|
499
509
|
json: {
|
|
500
510
|
sshAlias: string;
|
|
@@ -522,7 +532,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
522
532
|
error: string;
|
|
523
533
|
};
|
|
524
534
|
outputFormat: "json";
|
|
525
|
-
status:
|
|
535
|
+
status: 404;
|
|
526
536
|
input: {
|
|
527
537
|
json: {
|
|
528
538
|
sshAlias: string;
|
|
@@ -536,7 +546,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
536
546
|
error: string;
|
|
537
547
|
};
|
|
538
548
|
outputFormat: "json";
|
|
539
|
-
status:
|
|
549
|
+
status: 409;
|
|
540
550
|
input: {
|
|
541
551
|
json: {
|
|
542
552
|
sshAlias: string;
|
|
@@ -547,20 +557,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
547
557
|
};
|
|
548
558
|
} | {
|
|
549
559
|
output: {
|
|
550
|
-
|
|
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
|
-
};
|
|
560
|
+
error: string;
|
|
561
561
|
};
|
|
562
562
|
outputFormat: "json";
|
|
563
|
-
status:
|
|
563
|
+
status: 409;
|
|
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: 500;
|
|
578
578
|
input: {
|
|
579
579
|
json: {
|
|
580
580
|
sshAlias: string;
|
|
@@ -589,11 +589,20 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
589
589
|
"/hosts/:id": {
|
|
590
590
|
$patch: {
|
|
591
591
|
output: {
|
|
592
|
-
|
|
593
|
-
|
|
592
|
+
host: {
|
|
593
|
+
id: string;
|
|
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
|
+
};
|
|
594
603
|
};
|
|
595
604
|
outputFormat: "json";
|
|
596
|
-
status:
|
|
605
|
+
status: 200;
|
|
597
606
|
input: {
|
|
598
607
|
param: {
|
|
599
608
|
id: string;
|
|
@@ -608,9 +617,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
608
617
|
} | {
|
|
609
618
|
output: {
|
|
610
619
|
error: string;
|
|
620
|
+
code?: "invalid_input" | undefined;
|
|
611
621
|
};
|
|
612
622
|
outputFormat: "json";
|
|
613
|
-
status:
|
|
623
|
+
status: 400;
|
|
614
624
|
input: {
|
|
615
625
|
param: {
|
|
616
626
|
id: string;
|
|
@@ -644,7 +654,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
644
654
|
error: string;
|
|
645
655
|
};
|
|
646
656
|
outputFormat: "json";
|
|
647
|
-
status:
|
|
657
|
+
status: 404;
|
|
648
658
|
input: {
|
|
649
659
|
param: {
|
|
650
660
|
id: string;
|
|
@@ -661,7 +671,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
661
671
|
error: string;
|
|
662
672
|
};
|
|
663
673
|
outputFormat: "json";
|
|
664
|
-
status:
|
|
674
|
+
status: 409;
|
|
665
675
|
input: {
|
|
666
676
|
param: {
|
|
667
677
|
id: string;
|
|
@@ -692,20 +702,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
692
702
|
};
|
|
693
703
|
} | {
|
|
694
704
|
output: {
|
|
695
|
-
|
|
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
|
-
};
|
|
705
|
+
error: string;
|
|
706
706
|
};
|
|
707
707
|
outputFormat: "json";
|
|
708
|
-
status:
|
|
708
|
+
status: 500;
|
|
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
|
+
removed: true;
|
|
727
|
+
id: string;
|
|
728
728
|
};
|
|
729
729
|
outputFormat: "json";
|
|
730
|
-
status:
|
|
730
|
+
status: 200;
|
|
731
731
|
input: {
|
|
732
732
|
param: {
|
|
733
733
|
id: string;
|
|
@@ -736,9 +736,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
736
736
|
} | {
|
|
737
737
|
output: {
|
|
738
738
|
error: string;
|
|
739
|
+
code?: "invalid_input" | undefined;
|
|
739
740
|
};
|
|
740
741
|
outputFormat: "json";
|
|
741
|
-
status:
|
|
742
|
+
status: 400;
|
|
742
743
|
input: {
|
|
743
744
|
param: {
|
|
744
745
|
id: string;
|
|
@@ -760,7 +761,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
760
761
|
error: string;
|
|
761
762
|
};
|
|
762
763
|
outputFormat: "json";
|
|
763
|
-
status:
|
|
764
|
+
status: 404;
|
|
764
765
|
input: {
|
|
765
766
|
param: {
|
|
766
767
|
id: string;
|
|
@@ -771,7 +772,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
771
772
|
error: string;
|
|
772
773
|
};
|
|
773
774
|
outputFormat: "json";
|
|
774
|
-
status:
|
|
775
|
+
status: 409;
|
|
775
776
|
input: {
|
|
776
777
|
param: {
|
|
777
778
|
id: string;
|
|
@@ -790,11 +791,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
790
791
|
};
|
|
791
792
|
} | {
|
|
792
793
|
output: {
|
|
793
|
-
|
|
794
|
-
id: string;
|
|
794
|
+
error: string;
|
|
795
795
|
};
|
|
796
796
|
outputFormat: "json";
|
|
797
|
-
status:
|
|
797
|
+
status: 500;
|
|
798
798
|
input: {
|
|
799
799
|
param: {
|
|
800
800
|
id: string;
|
|
@@ -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">;
|
|
@@ -62,17 +62,6 @@ 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
|
-
} | {
|
|
76
65
|
output: {
|
|
77
66
|
project: {
|
|
78
67
|
id: string;
|
|
@@ -103,10 +92,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
103
92
|
agent: boolean;
|
|
104
93
|
}[] | undefined;
|
|
105
94
|
};
|
|
106
|
-
error
|
|
95
|
+
error?: string | undefined;
|
|
107
96
|
};
|
|
108
97
|
outputFormat: "json";
|
|
109
|
-
status:
|
|
98
|
+
status: 200;
|
|
110
99
|
input: {
|
|
111
100
|
json: {
|
|
112
101
|
root: string;
|
|
@@ -143,32 +132,31 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
143
132
|
agent: boolean;
|
|
144
133
|
}[] | undefined;
|
|
145
134
|
};
|
|
146
|
-
error
|
|
135
|
+
error: string;
|
|
147
136
|
};
|
|
148
137
|
outputFormat: "json";
|
|
149
|
-
status:
|
|
138
|
+
status: 409;
|
|
150
139
|
input: {
|
|
151
140
|
json: {
|
|
152
141
|
root: string;
|
|
153
142
|
};
|
|
154
143
|
};
|
|
155
|
-
}
|
|
156
|
-
};
|
|
157
|
-
} & {
|
|
158
|
-
"/projects/:projectId": {
|
|
159
|
-
$delete: {
|
|
144
|
+
} | {
|
|
160
145
|
output: {
|
|
161
146
|
error: string;
|
|
162
|
-
code?: "no-boot-project" | undefined;
|
|
163
147
|
};
|
|
164
148
|
outputFormat: "json";
|
|
165
|
-
status:
|
|
149
|
+
status: 400 | 500;
|
|
166
150
|
input: {
|
|
167
|
-
|
|
168
|
-
|
|
151
|
+
json: {
|
|
152
|
+
root: string;
|
|
169
153
|
};
|
|
170
154
|
};
|
|
171
|
-
}
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
} & {
|
|
158
|
+
"/projects/:projectId": {
|
|
159
|
+
$delete: {
|
|
172
160
|
output: {
|
|
173
161
|
error: string;
|
|
174
162
|
};
|
|
@@ -213,11 +201,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
213
201
|
projectId: string;
|
|
214
202
|
};
|
|
215
203
|
};
|
|
216
|
-
}
|
|
217
|
-
};
|
|
218
|
-
} & {
|
|
219
|
-
"/projects/:projectId": {
|
|
220
|
-
$patch: {
|
|
204
|
+
} | {
|
|
221
205
|
output: {
|
|
222
206
|
error: string;
|
|
223
207
|
code?: "no-boot-project" | undefined;
|
|
@@ -225,21 +209,15 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
225
209
|
outputFormat: "json";
|
|
226
210
|
status: 404 | 409;
|
|
227
211
|
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
|
-
} & {
|
|
238
212
|
param: {
|
|
239
213
|
projectId: string;
|
|
240
214
|
};
|
|
241
215
|
};
|
|
242
|
-
}
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
} & {
|
|
219
|
+
"/projects/:projectId": {
|
|
220
|
+
$patch: {
|
|
243
221
|
output: {
|
|
244
222
|
error: string;
|
|
245
223
|
};
|
|
@@ -330,6 +308,28 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
330
308
|
projectId: string;
|
|
331
309
|
};
|
|
332
310
|
};
|
|
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
|
} & {
|
|
@@ -344,19 +344,6 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
344
344
|
} & {
|
|
345
345
|
"/repo/commit/:sha": {
|
|
346
346
|
$get: {
|
|
347
|
-
output: string;
|
|
348
|
-
outputFormat: "text";
|
|
349
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
350
|
-
input: {
|
|
351
|
-
query: {
|
|
352
|
-
structured?: string | undefined;
|
|
353
|
-
};
|
|
354
|
-
} & {
|
|
355
|
-
param: {
|
|
356
|
-
sha: string;
|
|
357
|
-
};
|
|
358
|
-
};
|
|
359
|
-
} | {
|
|
360
347
|
output: {
|
|
361
348
|
error: string;
|
|
362
349
|
code?: "invalid_input" | undefined;
|
|
@@ -420,6 +407,19 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
420
407
|
sha: string;
|
|
421
408
|
};
|
|
422
409
|
};
|
|
410
|
+
} | {
|
|
411
|
+
output: string;
|
|
412
|
+
outputFormat: "text";
|
|
413
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
414
|
+
input: {
|
|
415
|
+
query: {
|
|
416
|
+
structured?: string | undefined;
|
|
417
|
+
};
|
|
418
|
+
} & {
|
|
419
|
+
param: {
|
|
420
|
+
sha: string;
|
|
421
|
+
};
|
|
422
|
+
};
|
|
423
423
|
};
|
|
424
424
|
};
|
|
425
425
|
} & {
|