@hearsay-tools/squawk 0.19.0-dev.9180 → 0.19.0-dev.9184
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/repo-routes.d.ts +13 -13
- package/dist/server/runners-routes.d.ts +10 -10
- package/dist/server/runs-routes.d.ts +312 -312
- package/dist/server/server.d.ts +58 -58
- 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-BDUoikVg.js → accounts-section-DYQC-wSh.js} +1 -1
- package/web/dist/assets/{activity-motion-CYdEr0hu.js → activity-motion-XvrmbNgR.js} +1 -1
- package/web/dist/assets/{activity-route-D8BPLoZj.js → activity-route-Dj8ltoqG.js} +1 -1
- package/web/dist/assets/{agent-config-section-BO8w2cry.js → agent-config-section-D16TRCE_.js} +1 -1
- package/web/dist/assets/{agent-defaults-section-BBcv7Vbh.js → agent-defaults-section-Dm0khLjs.js} +1 -1
- package/web/dist/assets/{appearance-yF_NXlq5.js → appearance-CP6zVctf.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-Dh1M21D6.js → archive-on-merge-field-BA8aUtRQ.js} +1 -1
- package/web/dist/assets/{ask-card-2E9m5VRA.js → ask-card-CLdlwd68.js} +1 -1
- package/web/dist/assets/{automations-route-D27bK2j6.js → automations-route-BVDO_Kai.js} +1 -1
- package/web/dist/assets/{commit-list-sFxchD2V.js → commit-list-Bdekr2K7.js} +1 -1
- package/web/dist/assets/{diff-C5-32cRp.js → diff-Du0FsqAK.js} +2 -2
- package/web/dist/assets/{diff-controls-Ci36iPlK.js → diff-controls-DTC_6oqk.js} +1 -1
- package/web/dist/assets/{diff-view-CCtuYJNL.js → diff-view-TKooupFV.js} +1 -1
- package/web/dist/assets/{discard-changes-dialog-BACqR1hj.js → discard-changes-dialog-Bg-3Xbox.js} +1 -1
- package/web/dist/assets/{file-preview-B7T7jFYo.js → file-preview-DMJCprVk.js} +1 -1
- package/web/dist/assets/{git-toolbar-UkRnjuDs.js → git-toolbar-COhBdctn.js} +1 -1
- package/web/dist/assets/{github-CkbZgMnJ.js → github-DUTSv2Hs.js} +1 -1
- package/web/dist/assets/{global-activity-route-j37l-BQU.js → global-activity-route-CypEKUv_.js} +1 -1
- package/web/dist/assets/{index-DkQ5xrLr.js → index-BV3EQb9T.js} +4 -4
- package/web/dist/assets/index-Bh7COq0B.css +1 -0
- package/web/dist/assets/{markdown-FIfZPsax.js → markdown-0uCxcToP.js} +1 -1
- package/web/dist/assets/{option-select-DylfDjGi.js → option-select-DQJEHmHf.js} +1 -1
- package/web/dist/assets/{preferences-section-DjWfc1i-.js → preferences-section-Cvl5vyfN.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-CfiPFvTH.js → preview-pane-connected-i3GJtDL3.js} +1 -1
- package/web/dist/assets/{project-location-CEX0-MZp.js → project-location-BcjOhqun.js} +1 -1
- package/web/dist/assets/{projects-section-Czmf0wFK.js → projects-section-CAOFPkDQ.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-DK4CV73w.js → prompt-templates-section-BXTfLET4.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-Dott-jyP.js → remote-settings-notice-CUK4ZFYF.js} +1 -1
- package/web/dist/assets/{repo-git-Djt3N2wP.js → repo-git-Dx85MEuK.js} +1 -1
- package/web/dist/assets/{report-reader-CrdDix7Z.js → report-reader-BDdY5kpz.js} +1 -1
- package/web/dist/assets/{reports-Iw4LUvz2.js → reports-DWKpm_us.js} +1 -1
- package/web/dist/assets/{resources-section-D3wUzdUQ.js → resources-section-D9tzbv9w.js} +1 -1
- package/web/dist/assets/{review-notes-drafts-xyC7GvRB.js → review-notes-drafts-BSkmq3Nj.js} +1 -1
- package/web/dist/assets/{review-panel-3x_2lbej.js → review-panel-C9UZjWFl.js} +1 -1
- package/web/dist/assets/{review-strip-CDYpq9_S.js → review-strip-qTG5JaOw.js} +1 -1
- package/web/dist/assets/{run-header-DZ0rkryR.js → run-header-BrUcSJu6.js} +1 -1
- package/web/dist/assets/{select-DC_G2no3.js → select-BUsS7uOZ.js} +1 -1
- package/web/dist/assets/{session-context-section-DEUv-ISr.js → session-context-section-Bgzou-NG.js} +1 -1
- package/web/dist/assets/{settings-agent-picker-BrFN2RaQ.js → settings-agent-picker-CH3CQhOh.js} +1 -1
- package/web/dist/assets/{settings-save-bar-C0pFHqte.js → settings-save-bar-cyvALSgW.js} +1 -1
- package/web/dist/assets/{settings-shell-BWWbVxv-.js → settings-shell-Cl-cu4r5.js} +1 -1
- package/web/dist/assets/{sidebar-section-BGo1zjJt.js → sidebar-section-Cj2fDrhV.js} +1 -1
- package/web/dist/assets/{skills-qFMQz6sm.js → skills-DLMbRR_5.js} +1 -1
- package/web/dist/assets/{task-changes-DKJHAtKC.js → task-changes-ito4fOGh.js} +1 -1
- package/web/dist/assets/{task-commits-Dtt60D0o.js → task-commits-BYOIU9zy.js} +1 -1
- package/web/dist/assets/{task-file-scope-FTt7SiGn.js → task-file-scope-B8EEJyHp.js} +1 -1
- package/web/dist/assets/{task-files-DVz4222z.js → task-files-CF0QKnm-.js} +1 -1
- package/web/dist/assets/{task-github-item-CJpKQ6cU.js → task-github-item-C6Fu8MvM.js} +1 -1
- package/web/dist/assets/{task-thread-DiYtqka4.js → task-thread-BWrvepxB.js} +1 -1
- package/web/dist/assets/{thread-state-pO7Wy_7R.js → thread-state-8E0eYXGu.js} +1 -1
- package/web/dist/assets/{use-finish-run-5S30Eu3d.js → use-finish-run-a2qZy6zr.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-BB_VmbF7.js → use-hand-to-agent-state-DT1ngmHe.js} +1 -1
- package/web/dist/assets/use-path-bases-CZ6F93wt.js +1 -0
- package/web/dist/assets/{workflows-DLuBawpi.js → workflows-2e0Sm6F1.js} +1 -1
- package/web/dist/assets/{workspace-tools-D4jshe-2.js → workspace-tools-D4DO9w12.js} +1 -1
- package/web/dist/assets/{worktrees-section-CESTBOem.js → worktrees-section-8-d6zWQ-.js} +1 -1
- package/web/dist/index.html +2 -2
- package/web/dist/assets/index-BVRdRJAN.css +0 -1
- package/web/dist/assets/use-path-bases-npA-uKvg.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
|
} & {
|
|
@@ -27,6 +27,18 @@ 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
|
+
} | {
|
|
30
42
|
output: {
|
|
31
43
|
workers: {
|
|
32
44
|
workerId: string;
|
|
@@ -79,18 +91,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
79
91
|
offset?: string | undefined;
|
|
80
92
|
};
|
|
81
93
|
};
|
|
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,6 +677,18 @@ 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
|
+
} | {
|
|
680
692
|
output: {
|
|
681
693
|
workerId: string;
|
|
682
694
|
settled: boolean;
|
|
@@ -801,7 +813,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
801
813
|
workerId: string;
|
|
802
814
|
};
|
|
803
815
|
};
|
|
804
|
-
}
|
|
816
|
+
};
|
|
817
|
+
};
|
|
818
|
+
} & {
|
|
819
|
+
"/:workerId/collect": {
|
|
820
|
+
$post: {
|
|
805
821
|
output: {
|
|
806
822
|
error: string;
|
|
807
823
|
code?: "invalid_input" | undefined;
|
|
@@ -812,12 +828,10 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
812
828
|
param: {
|
|
813
829
|
workerId: string;
|
|
814
830
|
};
|
|
831
|
+
} & {
|
|
832
|
+
json: Record<string, never>;
|
|
815
833
|
};
|
|
816
|
-
}
|
|
817
|
-
};
|
|
818
|
-
} & {
|
|
819
|
-
"/:workerId/collect": {
|
|
820
|
-
$post: {
|
|
834
|
+
} | {
|
|
821
835
|
output: {
|
|
822
836
|
workerId: string;
|
|
823
837
|
parentRunId: string;
|
|
@@ -942,7 +956,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
942
956
|
} & {
|
|
943
957
|
json: Record<string, never>;
|
|
944
958
|
};
|
|
945
|
-
}
|
|
959
|
+
};
|
|
960
|
+
};
|
|
961
|
+
} & {
|
|
962
|
+
"/:workerId/steer": {
|
|
963
|
+
$post: {
|
|
946
964
|
output: {
|
|
947
965
|
error: string;
|
|
948
966
|
code?: "invalid_input" | undefined;
|
|
@@ -954,13 +972,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
954
972
|
workerId: string;
|
|
955
973
|
};
|
|
956
974
|
} & {
|
|
957
|
-
json:
|
|
975
|
+
json: {
|
|
976
|
+
text: string;
|
|
977
|
+
};
|
|
958
978
|
};
|
|
959
|
-
}
|
|
960
|
-
};
|
|
961
|
-
} & {
|
|
962
|
-
"/:workerId/steer": {
|
|
963
|
-
$post: {
|
|
979
|
+
} | {
|
|
964
980
|
output: {
|
|
965
981
|
workerId: string;
|
|
966
982
|
state: "delivered" | "queued";
|
|
@@ -976,7 +992,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
976
992
|
text: string;
|
|
977
993
|
};
|
|
978
994
|
};
|
|
979
|
-
}
|
|
995
|
+
};
|
|
996
|
+
};
|
|
997
|
+
} & {
|
|
998
|
+
"/:workerId/stop": {
|
|
999
|
+
$post: {
|
|
980
1000
|
output: {
|
|
981
1001
|
error: string;
|
|
982
1002
|
code?: "invalid_input" | undefined;
|
|
@@ -988,15 +1008,9 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
988
1008
|
workerId: string;
|
|
989
1009
|
};
|
|
990
1010
|
} & {
|
|
991
|
-
json:
|
|
992
|
-
text: string;
|
|
993
|
-
};
|
|
1011
|
+
json: Record<string, never>;
|
|
994
1012
|
};
|
|
995
|
-
}
|
|
996
|
-
};
|
|
997
|
-
} & {
|
|
998
|
-
"/:workerId/stop": {
|
|
999
|
-
$post: {
|
|
1013
|
+
} | {
|
|
1000
1014
|
output: {
|
|
1001
1015
|
workerId: string;
|
|
1002
1016
|
state: "stopping" | "terminated";
|
|
@@ -1010,7 +1024,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1010
1024
|
} & {
|
|
1011
1025
|
json: Record<string, never>;
|
|
1012
1026
|
};
|
|
1013
|
-
}
|
|
1027
|
+
};
|
|
1028
|
+
};
|
|
1029
|
+
} & {
|
|
1030
|
+
"/:workerId/destroy": {
|
|
1031
|
+
$post: {
|
|
1014
1032
|
output: {
|
|
1015
1033
|
error: string;
|
|
1016
1034
|
code?: "invalid_input" | undefined;
|
|
@@ -1022,13 +1040,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1022
1040
|
workerId: string;
|
|
1023
1041
|
};
|
|
1024
1042
|
} & {
|
|
1025
|
-
json:
|
|
1043
|
+
json: {
|
|
1044
|
+
discardWork?: true | undefined;
|
|
1045
|
+
};
|
|
1026
1046
|
};
|
|
1027
|
-
}
|
|
1028
|
-
};
|
|
1029
|
-
} & {
|
|
1030
|
-
"/:workerId/destroy": {
|
|
1031
|
-
$post: {
|
|
1047
|
+
} | {
|
|
1032
1048
|
output: {
|
|
1033
1049
|
workerId: string;
|
|
1034
1050
|
state: "complete" | "incomplete";
|
|
@@ -1057,22 +1073,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1057
1073
|
discardWork?: true | undefined;
|
|
1058
1074
|
};
|
|
1059
1075
|
};
|
|
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,18 +1108,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1108
1108
|
"/:workerId/summary": {
|
|
1109
1109
|
$post: {
|
|
1110
1110
|
output: {
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
source: "assistant" | "failure";
|
|
1114
|
-
seq: number;
|
|
1115
|
-
totalLines: number;
|
|
1116
|
-
offset: number;
|
|
1117
|
-
lineCount: number;
|
|
1118
|
-
text: string;
|
|
1119
|
-
nextOffset?: number | undefined;
|
|
1111
|
+
error: string;
|
|
1112
|
+
code?: "invalid_input" | undefined;
|
|
1120
1113
|
};
|
|
1121
1114
|
outputFormat: "json";
|
|
1122
|
-
status:
|
|
1115
|
+
status: 400;
|
|
1123
1116
|
input: {
|
|
1124
1117
|
param: {
|
|
1125
1118
|
workerId: string;
|
|
@@ -1132,11 +1125,18 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1132
1125
|
};
|
|
1133
1126
|
} | {
|
|
1134
1127
|
output: {
|
|
1135
|
-
|
|
1136
|
-
|
|
1128
|
+
workerId: string;
|
|
1129
|
+
revision: number;
|
|
1130
|
+
source: "assistant" | "failure";
|
|
1131
|
+
seq: number;
|
|
1132
|
+
totalLines: number;
|
|
1133
|
+
offset: number;
|
|
1134
|
+
lineCount: number;
|
|
1135
|
+
text: string;
|
|
1136
|
+
nextOffset?: number | undefined;
|
|
1137
1137
|
};
|
|
1138
1138
|
outputFormat: "json";
|
|
1139
|
-
status:
|
|
1139
|
+
status: 200;
|
|
1140
1140
|
input: {
|
|
1141
1141
|
param: {
|
|
1142
1142
|
workerId: string;
|
|
@@ -1153,13 +1153,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1153
1153
|
"/:workerId/diff": {
|
|
1154
1154
|
$get: {
|
|
1155
1155
|
output: {
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
diff: string;
|
|
1159
|
-
truncated: boolean;
|
|
1156
|
+
error: string;
|
|
1157
|
+
code?: "invalid_input" | undefined;
|
|
1160
1158
|
};
|
|
1161
1159
|
outputFormat: "json";
|
|
1162
|
-
status:
|
|
1160
|
+
status: 400;
|
|
1163
1161
|
input: {
|
|
1164
1162
|
param: {
|
|
1165
1163
|
workerId: string;
|
|
@@ -1167,11 +1165,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1167
1165
|
};
|
|
1168
1166
|
} | {
|
|
1169
1167
|
output: {
|
|
1170
|
-
|
|
1171
|
-
|
|
1168
|
+
workerId: string;
|
|
1169
|
+
baselineSha: string;
|
|
1170
|
+
diff: string;
|
|
1171
|
+
truncated: boolean;
|
|
1172
1172
|
};
|
|
1173
1173
|
outputFormat: "json";
|
|
1174
|
-
status:
|
|
1174
|
+
status: 200;
|
|
1175
1175
|
input: {
|
|
1176
1176
|
param: {
|
|
1177
1177
|
workerId: string;
|
|
@@ -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;
|
|
@@ -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: 409;
|
|
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: 400;
|
|
59
59
|
input: {
|
|
60
60
|
query: {
|
|
61
61
|
q?: string | undefined;
|