@hearsay-tools/squawk 0.19.0-pr4620.9206 → 0.19.0-pr4622.9209
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ci-wait/controller.d.ts +7 -7
- package/dist/delegation/routes.d.ts +78 -78
- package/dist/features/hosts/routes.d.ts +64 -64
- package/dist/features/reports/routes.d.ts +2 -2
- package/dist/features/webhooks/routes.d.ts +38 -38
- package/dist/server/activity-routes.d.ts +23 -23
- package/dist/server/models-routes.d.ts +12 -12
- package/dist/server/projects-routes.d.ts +41 -41
- package/dist/server/providers-routes.d.ts +58 -58
- package/dist/server/runners-routes.d.ts +10 -10
- package/dist/server/runs-routes.d.ts +330 -330
- package/dist/server/workspace-live-routes.d.ts +5 -5
- package/dist/server/workspace-routes.d.ts +85 -85
- package/package.json +4 -4
- package/web/dist/assets/{accounts-section-rl1VZO3h.js → accounts-section-BUwJAEzy.js} +1 -1
- package/web/dist/assets/activity-motion-zjlkOrCv.js +1 -0
- package/web/dist/assets/{activity-route-BNDRi4k-.js → activity-route-CoR8__9i.js} +1 -1
- package/web/dist/assets/agent-accounts-SLdWgElC.js +1 -0
- package/web/dist/assets/{agent-config-section-n-pEsz22.js → agent-config-section-CfUYfo0f.js} +2 -2
- package/web/dist/assets/{agent-defaults-section-D-HJwVes.js → agent-defaults-section-ikmbs6ud.js} +1 -1
- package/web/dist/assets/{appearance-BtRmAcNb.js → appearance-DcD3Dbl8.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-CvMwaqSO.js → archive-on-merge-field-B1zyOp-d.js} +1 -1
- package/web/dist/assets/{ask-card-BwUCf0aZ.js → ask-card-CxUFJcQL.js} +1 -1
- package/web/dist/assets/attention-R7LCNtHD.js +1 -0
- package/web/dist/assets/automations-route-DtdAayqL.js +2 -0
- package/web/dist/assets/{commit-list-C9Hv9ml6.js → commit-list-DA8eavmI.js} +1 -1
- package/web/dist/assets/{diff-Cj-x8nqJ.js → diff-BJKWez6z.js} +2 -2
- package/web/dist/assets/{diff-controls-C_ysCTVK.js → diff-controls-kJ7yj5rU.js} +1 -1
- package/web/dist/assets/{diff-view-f2Zb3Tuc.js → diff-view-DEgA6iUb.js} +1 -1
- package/web/dist/assets/{discard-changes-dialog-Db5fnRbe.js → discard-changes-dialog-0lOkkPNN.js} +1 -1
- package/web/dist/assets/{file-preview-Cyj25xiD.js → file-preview-wjlbUhtO.js} +1 -1
- package/web/dist/assets/{folder-browser-3cBLlnE9.js → folder-browser-BF_2Uxni.js} +1 -1
- package/web/dist/assets/{git-toolbar-DasGkLg-.js → git-toolbar-AgLQF2mL.js} +1 -1
- package/web/dist/assets/github-Cq0pDPlk.js +1 -0
- package/web/dist/assets/{global-activity-route-DZtIc9Y6.js → global-activity-route-Cjfx-MSP.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-XmJ5ird4.js +1 -0
- package/web/dist/assets/{image-preview-CdL9a1Zj.js → image-preview-C_xACQXI.js} +1 -1
- package/web/dist/assets/index-BofMxJq2.js +21 -0
- package/web/dist/assets/{index-DDSPQb52.css → index-D1E0Dmck.css} +1 -1
- package/web/dist/assets/label-BHDFxNKi.js +1 -0
- package/web/dist/assets/{markdown-B4JilOS6.js → markdown-C_S5_R6Z.js} +1 -1
- package/web/dist/assets/{open-in-menu-Bf8JA2DJ.js → open-in-menu-4nKmPvOJ.js} +1 -1
- package/web/dist/assets/{option-select-C7kknSij.js → option-select-CLweMGOz.js} +1 -1
- package/web/dist/assets/{preferences-section-fRAjnH9V.js → preferences-section-DCHq5yiB.js} +1 -1
- package/web/dist/assets/{preview-BSFJfN4s.js → preview-BqLoS8fq.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-BdBFebn0.js → preview-pane-connected-B4Ef8_Ls.js} +2 -2
- package/web/dist/assets/{project-location-J285aq6e.js → project-location-Davch0NP.js} +1 -1
- package/web/dist/assets/{project-router-CwD1firw.js → project-router-DEFqB7lM.js} +1 -1
- package/web/dist/assets/projects-section-CQ6DzPGm.js +1 -0
- package/web/dist/assets/{prompt-templates-section-Br5uL5GK.js → prompt-templates-section-CLjiI-bx.js} +2 -2
- package/web/dist/assets/queries-BuhFA89o.js +1 -0
- package/web/dist/assets/read-state-Da8Ja8Uw.js +1 -0
- package/web/dist/assets/reference-chip-CGT1cRIV.js +1 -0
- package/web/dist/assets/{remote-settings-notice-oiFixJ1Q.js → remote-settings-notice-Be5bDFso.js} +1 -1
- package/web/dist/assets/{repo-git-BnF9zc0t.js → repo-git-DPvSakY8.js} +1 -1
- package/web/dist/assets/{report-reader-CAKZUxHi.js → report-reader-DTlTZ1nN.js} +1 -1
- package/web/dist/assets/{report-selection-Y2F9NTAs.js → report-selection-DUjPkOB9.js} +1 -1
- package/web/dist/assets/{reports-DLzhtnVJ.js → reports-DUXzCQGs.js} +1 -1
- package/web/dist/assets/{resources-section-DEvZicO3.js → resources-section-BFASOk94.js} +1 -1
- package/web/dist/assets/{review-notes-drafts-dS7OB8et.js → review-notes-drafts-gR-Ooxf9.js} +1 -1
- package/web/dist/assets/{review-panel-BRdqkYjE.js → review-panel-DGxyuZMn.js} +1 -1
- package/web/dist/assets/{review-strip-BCrYmUm6.js → review-strip-Clr4iOe8.js} +1 -1
- package/web/dist/assets/{run-detail-refresh-SYZM94ch.js → run-detail-refresh-D_WWR1tr.js} +1 -1
- package/web/dist/assets/{run-diff-D26PXp6r.js → run-diff-Ckmfg9NI.js} +1 -1
- package/web/dist/assets/run-header-CvUTgB95.js +2 -0
- package/web/dist/assets/{select-DGNeDPgB.js → select-D0eVHTPK.js} +1 -1
- package/web/dist/assets/{session-context-section-5kleIwBF.js → session-context-section-D5Rt6ARf.js} +1 -1
- package/web/dist/assets/{settings-agent-picker-BHaCHv3L.js → settings-agent-picker-Bcj7k52T.js} +1 -1
- package/web/dist/assets/{settings-save-bar-BBRySnQz.js → settings-save-bar-C4As0H9v.js} +1 -1
- package/web/dist/assets/{settings-shell-NnVky05a.js → settings-shell-CX318COM.js} +1 -1
- package/web/dist/assets/{sidebar-section-CJttxkBb.js → sidebar-section-BMkp4ItA.js} +1 -1
- package/web/dist/assets/{skills-BWhCi78k.js → skills-wrOBsGc6.js} +1 -1
- package/web/dist/assets/{status-dot-DTU7afRv.js → status-dot-y36fI8HM.js} +1 -1
- package/web/dist/assets/{tab-link-BJDe5cT4.js → tab-link-nj4mPqCK.js} +1 -1
- package/web/dist/assets/{task-changes-DxraCwDD.js → task-changes-D47HHv1m.js} +2 -2
- package/web/dist/assets/{task-commits-BT54zRvY.js → task-commits-CjKnynVr.js} +1 -1
- package/web/dist/assets/{task-file-scope-DIKRE_b-.js → task-file-scope-CJzfDrHc.js} +1 -1
- package/web/dist/assets/{task-files-BzhShCDY.js → task-files-D_QzG-nG.js} +1 -1
- package/web/dist/assets/{task-github-item-NuNVjHSM.js → task-github-item-KCaNsVup.js} +1 -1
- package/web/dist/assets/task-groups-CjC7aslU.js +1 -0
- package/web/dist/assets/task-thread-BP5NdjaY.js +2 -0
- package/web/dist/assets/{thread-state-BLwCv9hp.js → thread-state-BOFbG9TW.js} +1 -1
- package/web/dist/assets/toaster-9YZfRrWM.js +4 -0
- package/web/dist/assets/use-finish-run-D8UJTybC.js +1 -0
- package/web/dist/assets/{use-hand-to-agent-state-DykS8SPU.js → use-hand-to-agent-state-CXR_TaeI.js} +1 -1
- package/web/dist/assets/use-path-bases-CcasYPuT.js +1 -0
- package/web/dist/assets/use-workspace-config-save-BMD_cgdj.js +1 -0
- package/web/dist/assets/{workflows-tS2KFiN5.js → workflows-dV3sU-0e.js} +2 -2
- package/web/dist/assets/{workspace-tools-B5wyKj6g.js → workspace-tools-DRasb8h9.js} +1 -1
- package/web/dist/assets/{worktrees-section-Be49G15q.js → worktrees-section-Dcv_hlpN.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/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/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/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-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
|
} & {
|
|
@@ -27,18 +27,6 @@ export declare function delegationFailure(error: unknown): {
|
|
|
27
27
|
export declare function createDelegationRoutes(service: DelegationService, credentials: CredentialRegistry): import("hono/hono-base").HonoBase<Env, {
|
|
28
28
|
"/list": {
|
|
29
29
|
$get: {
|
|
30
|
-
output: {
|
|
31
|
-
error: string;
|
|
32
|
-
code?: "invalid_input" | undefined;
|
|
33
|
-
};
|
|
34
|
-
outputFormat: "json";
|
|
35
|
-
status: 400;
|
|
36
|
-
input: {
|
|
37
|
-
query: {
|
|
38
|
-
offset?: string | undefined;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
} | {
|
|
42
30
|
output: {
|
|
43
31
|
workers: {
|
|
44
32
|
workerId: string;
|
|
@@ -91,6 +79,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
91
79
|
offset?: string | undefined;
|
|
92
80
|
};
|
|
93
81
|
};
|
|
82
|
+
} | {
|
|
83
|
+
output: {
|
|
84
|
+
error: string;
|
|
85
|
+
code?: "invalid_input" | undefined;
|
|
86
|
+
};
|
|
87
|
+
outputFormat: "json";
|
|
88
|
+
status: 400;
|
|
89
|
+
input: {
|
|
90
|
+
query: {
|
|
91
|
+
offset?: string | undefined;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
94
|
};
|
|
95
95
|
};
|
|
96
96
|
} & {
|
|
@@ -677,18 +677,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
677
677
|
} & {
|
|
678
678
|
"/:workerId": {
|
|
679
679
|
$get: {
|
|
680
|
-
output: {
|
|
681
|
-
error: string;
|
|
682
|
-
code?: "invalid_input" | undefined;
|
|
683
|
-
};
|
|
684
|
-
outputFormat: "json";
|
|
685
|
-
status: 400;
|
|
686
|
-
input: {
|
|
687
|
-
param: {
|
|
688
|
-
workerId: string;
|
|
689
|
-
};
|
|
690
|
-
};
|
|
691
|
-
} | {
|
|
692
680
|
output: {
|
|
693
681
|
workerId: string;
|
|
694
682
|
settled: boolean;
|
|
@@ -813,11 +801,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
813
801
|
workerId: string;
|
|
814
802
|
};
|
|
815
803
|
};
|
|
816
|
-
}
|
|
817
|
-
};
|
|
818
|
-
} & {
|
|
819
|
-
"/:workerId/collect": {
|
|
820
|
-
$post: {
|
|
804
|
+
} | {
|
|
821
805
|
output: {
|
|
822
806
|
error: string;
|
|
823
807
|
code?: "invalid_input" | undefined;
|
|
@@ -828,10 +812,12 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
828
812
|
param: {
|
|
829
813
|
workerId: string;
|
|
830
814
|
};
|
|
831
|
-
} & {
|
|
832
|
-
json: Record<string, never>;
|
|
833
815
|
};
|
|
834
|
-
}
|
|
816
|
+
};
|
|
817
|
+
};
|
|
818
|
+
} & {
|
|
819
|
+
"/:workerId/collect": {
|
|
820
|
+
$post: {
|
|
835
821
|
output: {
|
|
836
822
|
workerId: string;
|
|
837
823
|
parentRunId: string;
|
|
@@ -956,11 +942,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
956
942
|
} & {
|
|
957
943
|
json: Record<string, never>;
|
|
958
944
|
};
|
|
959
|
-
}
|
|
960
|
-
};
|
|
961
|
-
} & {
|
|
962
|
-
"/:workerId/steer": {
|
|
963
|
-
$post: {
|
|
945
|
+
} | {
|
|
964
946
|
output: {
|
|
965
947
|
error: string;
|
|
966
948
|
code?: "invalid_input" | undefined;
|
|
@@ -972,11 +954,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
972
954
|
workerId: string;
|
|
973
955
|
};
|
|
974
956
|
} & {
|
|
975
|
-
json:
|
|
976
|
-
text: string;
|
|
977
|
-
};
|
|
957
|
+
json: Record<string, never>;
|
|
978
958
|
};
|
|
979
|
-
}
|
|
959
|
+
};
|
|
960
|
+
};
|
|
961
|
+
} & {
|
|
962
|
+
"/:workerId/steer": {
|
|
963
|
+
$post: {
|
|
980
964
|
output: {
|
|
981
965
|
workerId: string;
|
|
982
966
|
state: "delivered" | "queued";
|
|
@@ -992,11 +976,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
992
976
|
text: string;
|
|
993
977
|
};
|
|
994
978
|
};
|
|
995
|
-
}
|
|
996
|
-
};
|
|
997
|
-
} & {
|
|
998
|
-
"/:workerId/stop": {
|
|
999
|
-
$post: {
|
|
979
|
+
} | {
|
|
1000
980
|
output: {
|
|
1001
981
|
error: string;
|
|
1002
982
|
code?: "invalid_input" | undefined;
|
|
@@ -1008,9 +988,15 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1008
988
|
workerId: string;
|
|
1009
989
|
};
|
|
1010
990
|
} & {
|
|
1011
|
-
json:
|
|
991
|
+
json: {
|
|
992
|
+
text: string;
|
|
993
|
+
};
|
|
1012
994
|
};
|
|
1013
|
-
}
|
|
995
|
+
};
|
|
996
|
+
};
|
|
997
|
+
} & {
|
|
998
|
+
"/:workerId/stop": {
|
|
999
|
+
$post: {
|
|
1014
1000
|
output: {
|
|
1015
1001
|
workerId: string;
|
|
1016
1002
|
state: "stopping" | "terminated";
|
|
@@ -1024,11 +1010,7 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1024
1010
|
} & {
|
|
1025
1011
|
json: Record<string, never>;
|
|
1026
1012
|
};
|
|
1027
|
-
}
|
|
1028
|
-
};
|
|
1029
|
-
} & {
|
|
1030
|
-
"/:workerId/destroy": {
|
|
1031
|
-
$post: {
|
|
1013
|
+
} | {
|
|
1032
1014
|
output: {
|
|
1033
1015
|
error: string;
|
|
1034
1016
|
code?: "invalid_input" | undefined;
|
|
@@ -1040,11 +1022,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1040
1022
|
workerId: string;
|
|
1041
1023
|
};
|
|
1042
1024
|
} & {
|
|
1043
|
-
json:
|
|
1044
|
-
discardWork?: true | undefined;
|
|
1045
|
-
};
|
|
1025
|
+
json: Record<string, never>;
|
|
1046
1026
|
};
|
|
1047
|
-
}
|
|
1027
|
+
};
|
|
1028
|
+
};
|
|
1029
|
+
} & {
|
|
1030
|
+
"/:workerId/destroy": {
|
|
1031
|
+
$post: {
|
|
1048
1032
|
output: {
|
|
1049
1033
|
workerId: string;
|
|
1050
1034
|
state: "complete" | "incomplete";
|
|
@@ -1073,6 +1057,22 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1073
1057
|
discardWork?: true | undefined;
|
|
1074
1058
|
};
|
|
1075
1059
|
};
|
|
1060
|
+
} | {
|
|
1061
|
+
output: {
|
|
1062
|
+
error: string;
|
|
1063
|
+
code?: "invalid_input" | undefined;
|
|
1064
|
+
};
|
|
1065
|
+
outputFormat: "json";
|
|
1066
|
+
status: 400;
|
|
1067
|
+
input: {
|
|
1068
|
+
param: {
|
|
1069
|
+
workerId: string;
|
|
1070
|
+
};
|
|
1071
|
+
} & {
|
|
1072
|
+
json: {
|
|
1073
|
+
discardWork?: true | undefined;
|
|
1074
|
+
};
|
|
1075
|
+
};
|
|
1076
1076
|
} | {
|
|
1077
1077
|
output: {
|
|
1078
1078
|
workerId: string;
|
|
@@ -1108,11 +1108,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1108
1108
|
"/:workerId/summary": {
|
|
1109
1109
|
$post: {
|
|
1110
1110
|
output: {
|
|
1111
|
-
|
|
1112
|
-
|
|
1111
|
+
workerId: string;
|
|
1112
|
+
revision: number;
|
|
1113
|
+
source: "assistant" | "failure";
|
|
1114
|
+
seq: number;
|
|
1115
|
+
totalLines: number;
|
|
1116
|
+
offset: number;
|
|
1117
|
+
lineCount: number;
|
|
1118
|
+
text: string;
|
|
1119
|
+
nextOffset?: number | undefined;
|
|
1113
1120
|
};
|
|
1114
1121
|
outputFormat: "json";
|
|
1115
|
-
status:
|
|
1122
|
+
status: 200;
|
|
1116
1123
|
input: {
|
|
1117
1124
|
param: {
|
|
1118
1125
|
workerId: string;
|
|
@@ -1125,18 +1132,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1125
1132
|
};
|
|
1126
1133
|
} | {
|
|
1127
1134
|
output: {
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
source: "assistant" | "failure";
|
|
1131
|
-
seq: number;
|
|
1132
|
-
totalLines: number;
|
|
1133
|
-
offset: number;
|
|
1134
|
-
lineCount: number;
|
|
1135
|
-
text: string;
|
|
1136
|
-
nextOffset?: number | undefined;
|
|
1135
|
+
error: string;
|
|
1136
|
+
code?: "invalid_input" | undefined;
|
|
1137
1137
|
};
|
|
1138
1138
|
outputFormat: "json";
|
|
1139
|
-
status:
|
|
1139
|
+
status: 400;
|
|
1140
1140
|
input: {
|
|
1141
1141
|
param: {
|
|
1142
1142
|
workerId: string;
|
|
@@ -1153,11 +1153,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1153
1153
|
"/:workerId/diff": {
|
|
1154
1154
|
$get: {
|
|
1155
1155
|
output: {
|
|
1156
|
-
|
|
1157
|
-
|
|
1156
|
+
workerId: string;
|
|
1157
|
+
baselineSha: string;
|
|
1158
|
+
diff: string;
|
|
1159
|
+
truncated: boolean;
|
|
1158
1160
|
};
|
|
1159
1161
|
outputFormat: "json";
|
|
1160
|
-
status:
|
|
1162
|
+
status: 200;
|
|
1161
1163
|
input: {
|
|
1162
1164
|
param: {
|
|
1163
1165
|
workerId: string;
|
|
@@ -1165,13 +1167,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1165
1167
|
};
|
|
1166
1168
|
} | {
|
|
1167
1169
|
output: {
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
diff: string;
|
|
1171
|
-
truncated: boolean;
|
|
1170
|
+
error: string;
|
|
1171
|
+
code?: "invalid_input" | undefined;
|
|
1172
1172
|
};
|
|
1173
1173
|
outputFormat: "json";
|
|
1174
|
-
status:
|
|
1174
|
+
status: 400;
|
|
1175
1175
|
input: {
|
|
1176
1176
|
param: {
|
|
1177
1177
|
workerId: string;
|
|
@@ -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;
|
|
@@ -42,7 +42,7 @@ export declare function createReportsRoutes(): import("hono/hono-base").HonoBase
|
|
|
42
42
|
error: string;
|
|
43
43
|
};
|
|
44
44
|
outputFormat: "json";
|
|
45
|
-
status:
|
|
45
|
+
status: 400;
|
|
46
46
|
input: {
|
|
47
47
|
query: {
|
|
48
48
|
q?: string | undefined;
|
|
@@ -55,7 +55,7 @@ export declare function createReportsRoutes(): import("hono/hono-base").HonoBase
|
|
|
55
55
|
error: string;
|
|
56
56
|
};
|
|
57
57
|
outputFormat: "json";
|
|
58
|
-
status:
|
|
58
|
+
status: 409;
|
|
59
59
|
input: {
|
|
60
60
|
query: {
|
|
61
61
|
q?: string | undefined;
|