@hearsay-tools/squawk 0.19.0-dev.9310 → 0.19.0-dev.9312
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 +335 -335
- 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-DJ_M9Wt5.js → accounts-section-DJZGR40a.js} +1 -1
- package/web/dist/assets/{activity-motion-CeNmzIIs.js → activity-motion-DVWv1LWp.js} +1 -1
- package/web/dist/assets/{activity-route-CYn-qQq2.js → activity-route-DMPNYHU5.js} +1 -1
- package/web/dist/assets/{agent-config-section-C89KQhYI.js → agent-config-section-C_t-bwgG.js} +1 -1
- package/web/dist/assets/{agent-defaults-section-CsIHvRnd.js → agent-defaults-section-CAKBBj8M.js} +1 -1
- package/web/dist/assets/{appearance-xdlVXLZN.js → appearance-AOuIJ2w_.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-vYZF1Wln.js → archive-on-merge-field-F19mH1Cx.js} +1 -1
- package/web/dist/assets/{ask-card-CTkwopg6.js → ask-card-D2OlZhlG.js} +1 -1
- package/web/dist/assets/{automations-route-DhkRC_XY.js → automations-route-6FbD9CyG.js} +1 -1
- package/web/dist/assets/{commit-list-B3px5blI.js → commit-list-BmlGBopy.js} +1 -1
- package/web/dist/assets/{diff-4OKh2896.js → diff-DorDVWlK.js} +2 -2
- package/web/dist/assets/{diff-controls-CQuYWKK_.js → diff-controls-DfEpeRPY.js} +1 -1
- package/web/dist/assets/{diff-view-BZi9U7Rt.js → diff-view-DfcA50Ve.js} +1 -1
- package/web/dist/assets/{discard-changes-dialog-DRLVQrRX.js → discard-changes-dialog-DrybJMqX.js} +1 -1
- package/web/dist/assets/{file-preview-DwDnEbjs.js → file-preview-OU30gliG.js} +1 -1
- package/web/dist/assets/{git-toolbar-CnbRMfPP.js → git-toolbar-BtoPsVhd.js} +1 -1
- package/web/dist/assets/{github-BFdjku0b.js → github-CkP8sT6S.js} +1 -1
- package/web/dist/assets/{global-activity-route-CYV5tNqR.js → global-activity-route-ClYUIuHc.js} +1 -1
- package/web/dist/assets/index-BXLHv7v7.js +21 -0
- package/web/dist/assets/index-CkUVDX7y.css +1 -0
- package/web/dist/assets/{markdown-BA-2Hv-H.js → markdown-DqrfbKgI.js} +1 -1
- package/web/dist/assets/{option-select-Bz-6fs6-.js → option-select-SF2wJ1Vg.js} +1 -1
- package/web/dist/assets/{preferences-section-CGPTMvPb.js → preferences-section-CgnAAd2V.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-Km1_yTQu.js → preview-pane-connected-HUGHnlxv.js} +1 -1
- package/web/dist/assets/{project-location-DgWnz24i.js → project-location-DYf-3EIp.js} +1 -1
- package/web/dist/assets/{projects-section-C5Lm9E1X.js → projects-section-BznUB9Ct.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-BSqqmMzn.js → prompt-templates-section-CQ6WjA40.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-CPMHtuyk.js → remote-settings-notice-DjVY7DcC.js} +1 -1
- package/web/dist/assets/{repo-git-Dr-LPs33.js → repo-git-Cuw_pLCs.js} +1 -1
- package/web/dist/assets/{report-reader-BXPtT3jw.js → report-reader-C2kdycl-.js} +1 -1
- package/web/dist/assets/{reports-BztUxdF1.js → reports-CFc_ndM5.js} +1 -1
- package/web/dist/assets/{resources-section-CKxYxZlu.js → resources-section-D2dFBCgP.js} +1 -1
- package/web/dist/assets/{review-notes-drafts-B7QtBlMK.js → review-notes-drafts-CyP_QlLR.js} +1 -1
- package/web/dist/assets/{review-panel-WjhjBT-O.js → review-panel-6KCh_w-L.js} +1 -1
- package/web/dist/assets/{review-strip-lK-KV-Bh.js → review-strip-D29CDoIQ.js} +1 -1
- package/web/dist/assets/{run-diff-BzL5y9aa.js → run-diff-DIQMkVAQ.js} +1 -1
- package/web/dist/assets/{run-header-D_I9i1FK.js → run-header-BHcYGnlQ.js} +1 -1
- package/web/dist/assets/{select-C3I9ZinR.js → select-CCwTB_FH.js} +1 -1
- package/web/dist/assets/{session-context-section-Bko3JFzB.js → session-context-section-B8kQc5c-.js} +1 -1
- package/web/dist/assets/{settings-agent-picker-CA5KEY0b.js → settings-agent-picker-BJiT0W0z.js} +1 -1
- package/web/dist/assets/{settings-save-bar-DXlarWtq.js → settings-save-bar-DRsg3EVh.js} +1 -1
- package/web/dist/assets/{settings-shell-BvkTyfyu.js → settings-shell-D5Bu4UKN.js} +1 -1
- package/web/dist/assets/{sidebar-section-BWGMQzwD.js → sidebar-section-fiYxYAVh.js} +1 -1
- package/web/dist/assets/{skills-khuz63Be.js → skills-CbWWnm4C.js} +1 -1
- package/web/dist/assets/{task-changes-BZiv3oW9.js → task-changes-BtD7QYqi.js} +1 -1
- package/web/dist/assets/{task-commits-C319iu69.js → task-commits-BPotek17.js} +1 -1
- package/web/dist/assets/{task-file-scope-CVzNnBlI.js → task-file-scope-DN7I_oCc.js} +1 -1
- package/web/dist/assets/{task-files-BwWE5iwD.js → task-files-CTHvtqn_.js} +1 -1
- package/web/dist/assets/{task-github-item--JaIohoc.js → task-github-item-DANdCKqo.js} +1 -1
- package/web/dist/assets/{task-thread-D_Yc4SUV.js → task-thread-BODLmvoF.js} +1 -1
- package/web/dist/assets/task-thread-Bm4WUqtr.css +1 -0
- package/web/dist/assets/{thread-state-DAlHXYiH.js → thread-state-CaYjm7w6.js} +1 -1
- package/web/dist/assets/{unified-diff-C46MIUZz.js → unified-diff-BEfAsHSN.js} +1 -1
- package/web/dist/assets/{use-finish-run-0YNEOl4g.js → use-finish-run-9-3L96GZ.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-CkqtX66f.js → use-hand-to-agent-state-CSvF6Zvv.js} +1 -1
- package/web/dist/assets/use-path-bases-BPqc-LMg.js +1 -0
- package/web/dist/assets/{workflows-D5gUtDwQ.js → workflows-ZD4ExJYR.js} +1 -1
- package/web/dist/assets/{workspace-tools-CCQ42oji.js → workspace-tools-BtZJsLKe.js} +1 -1
- package/web/dist/assets/{worktrees-section-B_8wVdPI.js → worktrees-section-HJwlfzIO.js} +1 -1
- package/web/dist/index.html +2 -2
- package/web/dist/assets/index-BlqAIDwd.js +0 -21
- package/web/dist/assets/index-DrL3MqE4.css +0 -1
- package/web/dist/assets/task-thread-BObu0KsD.css +0 -1
- package/web/dist/assets/use-path-bases-Dpl3ksiL.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;
|
|
@@ -185,18 +185,6 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
185
185
|
} & {
|
|
186
186
|
"/hosts/runs-index": {
|
|
187
187
|
$get: {
|
|
188
|
-
output: {
|
|
189
|
-
error: string;
|
|
190
|
-
code?: "invalid_input" | undefined;
|
|
191
|
-
};
|
|
192
|
-
outputFormat: "json";
|
|
193
|
-
status: 400;
|
|
194
|
-
input: {
|
|
195
|
-
query: {
|
|
196
|
-
hostId?: string | undefined;
|
|
197
|
-
};
|
|
198
|
-
};
|
|
199
|
-
} | {
|
|
200
188
|
output: {
|
|
201
189
|
runs: {
|
|
202
190
|
id: string;
|
|
@@ -360,11 +348,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
360
348
|
hostId?: string | undefined;
|
|
361
349
|
};
|
|
362
350
|
};
|
|
363
|
-
}
|
|
364
|
-
};
|
|
365
|
-
} & {
|
|
366
|
-
"/hosts/runs-search": {
|
|
367
|
-
$get: {
|
|
351
|
+
} | {
|
|
368
352
|
output: {
|
|
369
353
|
error: string;
|
|
370
354
|
code?: "invalid_input" | undefined;
|
|
@@ -373,11 +357,14 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
373
357
|
status: 400;
|
|
374
358
|
input: {
|
|
375
359
|
query: {
|
|
376
|
-
|
|
377
|
-
limit?: number | undefined;
|
|
360
|
+
hostId?: string | undefined;
|
|
378
361
|
};
|
|
379
362
|
};
|
|
380
|
-
}
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
} & {
|
|
366
|
+
"/hosts/runs-search": {
|
|
367
|
+
$get: {
|
|
381
368
|
output: {
|
|
382
369
|
runs: {
|
|
383
370
|
id: string;
|
|
@@ -531,16 +518,39 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
531
518
|
limit?: number | undefined;
|
|
532
519
|
};
|
|
533
520
|
};
|
|
521
|
+
} | {
|
|
522
|
+
output: {
|
|
523
|
+
error: string;
|
|
524
|
+
code?: "invalid_input" | undefined;
|
|
525
|
+
};
|
|
526
|
+
outputFormat: "json";
|
|
527
|
+
status: 400;
|
|
528
|
+
input: {
|
|
529
|
+
query: {
|
|
530
|
+
q: string | string[];
|
|
531
|
+
limit?: number | undefined;
|
|
532
|
+
};
|
|
533
|
+
};
|
|
534
534
|
};
|
|
535
535
|
};
|
|
536
536
|
} & {
|
|
537
537
|
"/hosts": {
|
|
538
538
|
$post: {
|
|
539
539
|
output: {
|
|
540
|
-
|
|
540
|
+
host: {
|
|
541
|
+
id: string;
|
|
542
|
+
label: string;
|
|
543
|
+
state: "cannot-persist" | "connected" | "connecting" | "identity-changed" | "needs-node" | "not-hosted" | "paused" | "several-servers" | "unreachable" | "version-mismatch";
|
|
544
|
+
reason?: string | undefined;
|
|
545
|
+
kind?: "ssh" | undefined;
|
|
546
|
+
sshAlias?: string | undefined;
|
|
547
|
+
installId?: string | undefined;
|
|
548
|
+
port?: number | undefined;
|
|
549
|
+
addedAt?: string | undefined;
|
|
550
|
+
};
|
|
541
551
|
};
|
|
542
552
|
outputFormat: "json";
|
|
543
|
-
status:
|
|
553
|
+
status: 201;
|
|
544
554
|
input: {
|
|
545
555
|
json: {
|
|
546
556
|
sshAlias: string;
|
|
@@ -568,7 +578,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
568
578
|
error: string;
|
|
569
579
|
};
|
|
570
580
|
outputFormat: "json";
|
|
571
|
-
status:
|
|
581
|
+
status: 404;
|
|
572
582
|
input: {
|
|
573
583
|
json: {
|
|
574
584
|
sshAlias: string;
|
|
@@ -582,7 +592,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
582
592
|
error: string;
|
|
583
593
|
};
|
|
584
594
|
outputFormat: "json";
|
|
585
|
-
status:
|
|
595
|
+
status: 409;
|
|
586
596
|
input: {
|
|
587
597
|
json: {
|
|
588
598
|
sshAlias: string;
|
|
@@ -593,20 +603,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
593
603
|
};
|
|
594
604
|
} | {
|
|
595
605
|
output: {
|
|
596
|
-
|
|
597
|
-
id: string;
|
|
598
|
-
label: string;
|
|
599
|
-
state: "cannot-persist" | "connected" | "connecting" | "identity-changed" | "needs-node" | "not-hosted" | "paused" | "several-servers" | "unreachable" | "version-mismatch";
|
|
600
|
-
reason?: string | undefined;
|
|
601
|
-
kind?: "ssh" | undefined;
|
|
602
|
-
sshAlias?: string | undefined;
|
|
603
|
-
installId?: string | undefined;
|
|
604
|
-
port?: number | undefined;
|
|
605
|
-
addedAt?: string | undefined;
|
|
606
|
-
};
|
|
606
|
+
error: string;
|
|
607
607
|
};
|
|
608
608
|
outputFormat: "json";
|
|
609
|
-
status:
|
|
609
|
+
status: 409;
|
|
610
610
|
input: {
|
|
611
611
|
json: {
|
|
612
612
|
sshAlias: string;
|
|
@@ -620,7 +620,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
620
620
|
error: string;
|
|
621
621
|
};
|
|
622
622
|
outputFormat: "json";
|
|
623
|
-
status:
|
|
623
|
+
status: 500;
|
|
624
624
|
input: {
|
|
625
625
|
json: {
|
|
626
626
|
sshAlias: string;
|
|
@@ -635,11 +635,20 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
635
635
|
"/hosts/:id": {
|
|
636
636
|
$patch: {
|
|
637
637
|
output: {
|
|
638
|
-
|
|
639
|
-
|
|
638
|
+
host: {
|
|
639
|
+
id: string;
|
|
640
|
+
label: string;
|
|
641
|
+
state: "cannot-persist" | "connected" | "connecting" | "identity-changed" | "needs-node" | "not-hosted" | "paused" | "several-servers" | "unreachable" | "version-mismatch";
|
|
642
|
+
reason?: string | undefined;
|
|
643
|
+
kind?: "ssh" | undefined;
|
|
644
|
+
sshAlias?: string | undefined;
|
|
645
|
+
installId?: string | undefined;
|
|
646
|
+
port?: number | undefined;
|
|
647
|
+
addedAt?: string | undefined;
|
|
648
|
+
};
|
|
640
649
|
};
|
|
641
650
|
outputFormat: "json";
|
|
642
|
-
status:
|
|
651
|
+
status: 200;
|
|
643
652
|
input: {
|
|
644
653
|
param: {
|
|
645
654
|
id: string;
|
|
@@ -654,9 +663,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
654
663
|
} | {
|
|
655
664
|
output: {
|
|
656
665
|
error: string;
|
|
666
|
+
code?: "invalid_input" | undefined;
|
|
657
667
|
};
|
|
658
668
|
outputFormat: "json";
|
|
659
|
-
status:
|
|
669
|
+
status: 400;
|
|
660
670
|
input: {
|
|
661
671
|
param: {
|
|
662
672
|
id: string;
|
|
@@ -690,7 +700,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
690
700
|
error: string;
|
|
691
701
|
};
|
|
692
702
|
outputFormat: "json";
|
|
693
|
-
status:
|
|
703
|
+
status: 404;
|
|
694
704
|
input: {
|
|
695
705
|
param: {
|
|
696
706
|
id: string;
|
|
@@ -707,7 +717,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
707
717
|
error: string;
|
|
708
718
|
};
|
|
709
719
|
outputFormat: "json";
|
|
710
|
-
status:
|
|
720
|
+
status: 409;
|
|
711
721
|
input: {
|
|
712
722
|
param: {
|
|
713
723
|
id: string;
|
|
@@ -738,20 +748,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
738
748
|
};
|
|
739
749
|
} | {
|
|
740
750
|
output: {
|
|
741
|
-
|
|
742
|
-
id: string;
|
|
743
|
-
label: string;
|
|
744
|
-
state: "cannot-persist" | "connected" | "connecting" | "identity-changed" | "needs-node" | "not-hosted" | "paused" | "several-servers" | "unreachable" | "version-mismatch";
|
|
745
|
-
reason?: string | undefined;
|
|
746
|
-
kind?: "ssh" | undefined;
|
|
747
|
-
sshAlias?: string | undefined;
|
|
748
|
-
installId?: string | undefined;
|
|
749
|
-
port?: number | undefined;
|
|
750
|
-
addedAt?: string | undefined;
|
|
751
|
-
};
|
|
751
|
+
error: string;
|
|
752
752
|
};
|
|
753
753
|
outputFormat: "json";
|
|
754
|
-
status:
|
|
754
|
+
status: 500;
|
|
755
755
|
input: {
|
|
756
756
|
param: {
|
|
757
757
|
id: string;
|
|
@@ -769,11 +769,11 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
769
769
|
"/hosts/:id": {
|
|
770
770
|
$delete: {
|
|
771
771
|
output: {
|
|
772
|
-
|
|
773
|
-
|
|
772
|
+
removed: true;
|
|
773
|
+
id: string;
|
|
774
774
|
};
|
|
775
775
|
outputFormat: "json";
|
|
776
|
-
status:
|
|
776
|
+
status: 200;
|
|
777
777
|
input: {
|
|
778
778
|
param: {
|
|
779
779
|
id: string;
|
|
@@ -782,9 +782,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
782
782
|
} | {
|
|
783
783
|
output: {
|
|
784
784
|
error: string;
|
|
785
|
+
code?: "invalid_input" | undefined;
|
|
785
786
|
};
|
|
786
787
|
outputFormat: "json";
|
|
787
|
-
status:
|
|
788
|
+
status: 400;
|
|
788
789
|
input: {
|
|
789
790
|
param: {
|
|
790
791
|
id: string;
|
|
@@ -806,7 +807,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
806
807
|
error: string;
|
|
807
808
|
};
|
|
808
809
|
outputFormat: "json";
|
|
809
|
-
status:
|
|
810
|
+
status: 404;
|
|
810
811
|
input: {
|
|
811
812
|
param: {
|
|
812
813
|
id: string;
|
|
@@ -817,7 +818,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
817
818
|
error: string;
|
|
818
819
|
};
|
|
819
820
|
outputFormat: "json";
|
|
820
|
-
status:
|
|
821
|
+
status: 409;
|
|
821
822
|
input: {
|
|
822
823
|
param: {
|
|
823
824
|
id: string;
|
|
@@ -836,11 +837,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
836
837
|
};
|
|
837
838
|
} | {
|
|
838
839
|
output: {
|
|
839
|
-
|
|
840
|
-
id: string;
|
|
840
|
+
error: string;
|
|
841
841
|
};
|
|
842
842
|
outputFormat: "json";
|
|
843
|
-
status:
|
|
843
|
+
status: 500;
|
|
844
844
|
input: {
|
|
845
845
|
param: {
|
|
846
846
|
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;
|