@hearsay-tools/squawk 0.19.0-dev.9069 → 0.19.0-dev.9071
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/delegation/transport.d.ts +78 -78
- package/dist/features/hosts/routes.d.ts +44 -44
- package/dist/server/provider-sign-in-routes.d.ts +2 -2
- package/dist/server/repo-routes.d.ts +52 -52
- package/dist/server/reports-api.d.ts +2 -2
- package/dist/server/runners-routes.d.ts +10 -10
- package/dist/server/runs-routes.d.ts +309 -309
- package/dist/server/workspace-routes.d.ts +85 -85
- package/package.json +4 -4
- package/web/dist/assets/accounts-section-DrA0kndh.js +1 -0
- package/web/dist/assets/activity-motion-C23PnhhH.js +1 -0
- package/web/dist/assets/{activity-route-D7WKghms.js → activity-route-CWGPbwtG.js} +1 -1
- package/web/dist/assets/{agent-config-section-DW7oAwLi.js → agent-config-section-DWZQ2DSW.js} +1 -1
- package/web/dist/assets/{agent-defaults-section-BsfycjfC.js → agent-defaults-section-Da4tKbp7.js} +1 -1
- package/web/dist/assets/{appearance-D-a_UJUm.js → appearance-Bm4ePfiH.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-RMn227ry.js → archive-on-merge-field-DuRmMR6k.js} +1 -1
- package/web/dist/assets/ask-card-vM_Z-WAg.js +9 -0
- package/web/dist/assets/automations-route-B8zD3wux.js +2 -0
- package/web/dist/assets/{badge-B6B-xYQQ.js → badge-DVxxThpb.js} +1 -1
- package/web/dist/assets/{button-C8jUIs8Q.js → button-B22ANdCY.js} +1 -1
- package/web/dist/assets/{command-BiBq24zL.js → command-B2Y0By1v.js} +1 -1
- package/web/dist/assets/{commit-list-FjUd56tK.js → commit-list-lwVhwbS8.js} +1 -1
- package/web/dist/assets/{dialog-DRZuXvul.js → dialog-rpNyAWGb.js} +1 -1
- package/web/dist/assets/{diff-ZyKzQmlr.js → diff-CC5UqjNZ.js} +2 -2
- package/web/dist/assets/diff-controls-C8KWZ5S-.js +1 -0
- package/web/dist/assets/{diff-view-wHArQrRv.js → diff-view-DiuQQoKq.js} +2 -2
- package/web/dist/assets/{discard-changes-dialog-u_8VAiFD.js → discard-changes-dialog-CX7M4k9n.js} +1 -1
- package/web/dist/assets/{file-preview-DbDhvIx2.js → file-preview-C_0CRYAr.js} +1 -1
- package/web/dist/assets/{git-toolbar-Bjvqzoo_.js → git-toolbar-PM540i_A.js} +1 -1
- package/web/dist/assets/github-CeBvZzjo.js +1 -0
- package/web/dist/assets/{global-activity-route-B20p5-qQ.js → global-activity-route-CiTt7W6o.js} +2 -2
- package/web/dist/assets/index-CSgBel_0.css +1 -0
- package/web/dist/assets/index-UFO7Bk2I.js +21 -0
- package/web/dist/assets/{markdown-Ce0jEzBL.js → markdown-CqzDs1kO.js} +1 -1
- package/web/dist/assets/{open-in-menu-Bzca0KPF.js → open-in-menu-CbQWVBD0.js} +1 -1
- package/web/dist/assets/{option-select-BUpASY9Q.js → option-select-CDOKbUov.js} +1 -1
- package/web/dist/assets/page-shell-BgabWJ3w.js +1 -0
- package/web/dist/assets/{page-shell-DQPYcKyL.css → page-shell-CEIoW56O.css} +1 -1
- package/web/dist/assets/{preferences-section-Cayq_QJk.js → preferences-section-cdbIMfEU.js} +1 -1
- package/web/dist/assets/preview-pane-connected-BcU9ryyW.js +3 -0
- package/web/dist/assets/{project-location-QEQeyIDW.js → project-location-BpBbcl3v.js} +1 -1
- package/web/dist/assets/{projects-section-Ws3Kp5ky.js → projects-section-CX1WJq4d.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-CfyNaD_K.js → prompt-templates-section-DrQthAY7.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-DEs9jV72.js → remote-settings-notice-_MtFnktv.js} +1 -1
- package/web/dist/assets/repo-git-5JS3oL12.js +1 -0
- package/web/dist/assets/{report-reader-mwLAF_a8.js → report-reader-iboN3k6l.js} +1 -1
- package/web/dist/assets/{reports-CN8KHXFF.js → reports-Cn3kWlK7.js} +1 -1
- package/web/dist/assets/{resources-section-BzYmdxRV.js → resources-section-BmDbIpaO.js} +1 -1
- package/web/dist/assets/{review-notes-drafts-D9s8XFRQ.js → review-notes-drafts-DXxIudVB.js} +1 -1
- package/web/dist/assets/{review-panel-Ds3S11Go.js → review-panel-BjWbFGev.js} +1 -1
- package/web/dist/assets/review-strip-QIghY88F.js +1 -0
- package/web/dist/assets/{run-diff-BvGvPk3g.js → run-diff-BDMdnSv7.js} +1 -1
- package/web/dist/assets/run-header-BWLcG57S.js +2 -0
- package/web/dist/assets/{select-CGjqNwut.js → select-BxuV2GlN.js} +1 -1
- package/web/dist/assets/{session-context-section-D0e8HLzL.js → session-context-section-OLW5UTvx.js} +2 -2
- package/web/dist/assets/{settings-agent-picker-hFnntaW2.js → settings-agent-picker-Dasyc6Qo.js} +1 -1
- package/web/dist/assets/{settings-list-detail-Dn5CWzHj.js → settings-list-detail-D3ibaYUj.js} +1 -1
- package/web/dist/assets/{settings-save-bar-DmONROMw.js → settings-save-bar-Mrc6Vm7P.js} +1 -1
- package/web/dist/assets/settings-shell-Bvje3VDf.css +1 -0
- package/web/dist/assets/settings-shell-DWRk12-i.js +1 -0
- package/web/dist/assets/sidebar-section-CVNvjM29.js +1 -0
- package/web/dist/assets/{skills-CFRO_xLW.js → skills-7MwCp2i_.js} +1 -1
- package/web/dist/assets/{status-dot-BXf-Ubd0.js → status-dot-Drd4-nfa.js} +1 -1
- package/web/dist/assets/{task-changes-BuNxS6PG.js → task-changes-DSZjztX7.js} +1 -1
- package/web/dist/assets/{task-commits--1qJdD-O.js → task-commits-P_ElCQ4M.js} +1 -1
- package/web/dist/assets/{task-file-scope-CFMwJrto.js → task-file-scope-B63NmSov.js} +1 -1
- package/web/dist/assets/{task-files-CwH0b_vv.js → task-files-CSFB6sG7.js} +1 -1
- package/web/dist/assets/{task-github-item-BezEGvZC.js → task-github-item-BJ1rGyc6.js} +1 -1
- package/web/dist/assets/task-thread-C0DbAGi_.js +2 -0
- package/web/dist/assets/task-thread-i16nxSQv.css +1 -0
- package/web/dist/assets/thread-state-B7pyjJYO.js +4 -0
- package/web/dist/assets/{use-finish-run-CyV1CCkZ.js → use-finish-run-B1Gy5JPt.js} +1 -1
- package/web/dist/assets/use-hand-to-agent-state-BSM9EGsW.css +1 -0
- package/web/dist/assets/use-hand-to-agent-state-CMyKCFeb.js +1 -0
- package/web/dist/assets/use-path-bases-wGc__G57.js +1 -0
- package/web/dist/assets/workflows-D7bXUmGa.css +1 -0
- package/web/dist/assets/workflows-seQiL2pi.js +7 -0
- package/web/dist/assets/workspace-tools-BDf7nsE5.js +1 -0
- package/web/dist/assets/{worktrees-section-D48xLdpr.js → worktrees-section-x7r5wRhx.js} +1 -1
- package/web/dist/index.html +10 -10
- package/web/dist/assets/accounts-section-CiO5OMkx.js +0 -1
- package/web/dist/assets/activity-motion-D2RZtcZk.js +0 -1
- package/web/dist/assets/ask-card-DP9b-lI-.js +0 -9
- package/web/dist/assets/automations-route-_Pv3FEnT.js +0 -2
- package/web/dist/assets/diff-controls-DHvk5BOR.js +0 -1
- package/web/dist/assets/github-DZyhI-94.js +0 -1
- package/web/dist/assets/index-C8nM086t.css +0 -1
- package/web/dist/assets/index-TOx-AA67.js +0 -21
- package/web/dist/assets/page-shell-Dky5crRl.js +0 -1
- package/web/dist/assets/preview-pane-connected-C6q9f2y-.js +0 -3
- package/web/dist/assets/repo-git-DpqwxFN6.js +0 -1
- package/web/dist/assets/review-strip-BFq2VP2u.js +0 -1
- package/web/dist/assets/run-header-Bedua8do.js +0 -2
- package/web/dist/assets/settings-shell-Ct_qn_MM.css +0 -1
- package/web/dist/assets/settings-shell-DjfeA3BW.js +0 -1
- package/web/dist/assets/sidebar-section-DHJR37sv.js +0 -1
- package/web/dist/assets/task-thread-DxVehGLy.css +0 -1
- package/web/dist/assets/task-thread-T_RG916v.js +0 -2
- package/web/dist/assets/thread-state-zzV37Hgs.js +0 -4
- package/web/dist/assets/use-hand-to-agent-state-Ci2rVhws.js +0 -1
- package/web/dist/assets/use-hand-to-agent-state-DZZUsUAd.css +0 -1
- package/web/dist/assets/use-path-bases-Cimv7R-0.js +0 -1
- package/web/dist/assets/workflows-B2Sw8qQa.css +0 -1
- package/web/dist/assets/workflows-B9NzpaaA.js +0 -7
- package/web/dist/assets/workspace-tools-C0K5dFxy.js +0 -1
|
@@ -2,6 +2,18 @@ import type { DelegationRoutes } from './routes.ts';
|
|
|
2
2
|
export declare function createDelegationApp(routes: DelegationRoutes): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
3
3
|
"/list": {
|
|
4
4
|
$get: {
|
|
5
|
+
output: {
|
|
6
|
+
error: string;
|
|
7
|
+
code?: "invalid_input" | undefined;
|
|
8
|
+
};
|
|
9
|
+
outputFormat: "json";
|
|
10
|
+
status: 400;
|
|
11
|
+
input: {
|
|
12
|
+
query: {
|
|
13
|
+
offset?: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
} | {
|
|
5
17
|
output: {
|
|
6
18
|
workers: {
|
|
7
19
|
workerId: string;
|
|
@@ -54,18 +66,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
54
66
|
offset?: string | undefined;
|
|
55
67
|
};
|
|
56
68
|
};
|
|
57
|
-
} | {
|
|
58
|
-
output: {
|
|
59
|
-
error: string;
|
|
60
|
-
code?: "invalid_input" | undefined;
|
|
61
|
-
};
|
|
62
|
-
outputFormat: "json";
|
|
63
|
-
status: 400;
|
|
64
|
-
input: {
|
|
65
|
-
query: {
|
|
66
|
-
offset?: string | undefined;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
69
|
};
|
|
70
70
|
};
|
|
71
71
|
} & {
|
|
@@ -652,6 +652,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
652
652
|
} & {
|
|
653
653
|
"/:workerId": {
|
|
654
654
|
$get: {
|
|
655
|
+
output: {
|
|
656
|
+
error: string;
|
|
657
|
+
code?: "invalid_input" | undefined;
|
|
658
|
+
};
|
|
659
|
+
outputFormat: "json";
|
|
660
|
+
status: 400;
|
|
661
|
+
input: {
|
|
662
|
+
param: {
|
|
663
|
+
workerId: string;
|
|
664
|
+
};
|
|
665
|
+
};
|
|
666
|
+
} | {
|
|
655
667
|
output: {
|
|
656
668
|
workerId: string;
|
|
657
669
|
settled: boolean;
|
|
@@ -776,7 +788,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
776
788
|
workerId: string;
|
|
777
789
|
};
|
|
778
790
|
};
|
|
779
|
-
}
|
|
791
|
+
};
|
|
792
|
+
};
|
|
793
|
+
} & {
|
|
794
|
+
"/:workerId/collect": {
|
|
795
|
+
$post: {
|
|
780
796
|
output: {
|
|
781
797
|
error: string;
|
|
782
798
|
code?: "invalid_input" | undefined;
|
|
@@ -787,12 +803,10 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
787
803
|
param: {
|
|
788
804
|
workerId: string;
|
|
789
805
|
};
|
|
806
|
+
} & {
|
|
807
|
+
json: Record<string, never>;
|
|
790
808
|
};
|
|
791
|
-
}
|
|
792
|
-
};
|
|
793
|
-
} & {
|
|
794
|
-
"/:workerId/collect": {
|
|
795
|
-
$post: {
|
|
809
|
+
} | {
|
|
796
810
|
output: {
|
|
797
811
|
workerId: string;
|
|
798
812
|
parentRunId: string;
|
|
@@ -917,7 +931,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
917
931
|
} & {
|
|
918
932
|
json: Record<string, never>;
|
|
919
933
|
};
|
|
920
|
-
}
|
|
934
|
+
};
|
|
935
|
+
};
|
|
936
|
+
} & {
|
|
937
|
+
"/:workerId/steer": {
|
|
938
|
+
$post: {
|
|
921
939
|
output: {
|
|
922
940
|
error: string;
|
|
923
941
|
code?: "invalid_input" | undefined;
|
|
@@ -929,13 +947,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
929
947
|
workerId: string;
|
|
930
948
|
};
|
|
931
949
|
} & {
|
|
932
|
-
json:
|
|
950
|
+
json: {
|
|
951
|
+
text: string;
|
|
952
|
+
};
|
|
933
953
|
};
|
|
934
|
-
}
|
|
935
|
-
};
|
|
936
|
-
} & {
|
|
937
|
-
"/:workerId/steer": {
|
|
938
|
-
$post: {
|
|
954
|
+
} | {
|
|
939
955
|
output: {
|
|
940
956
|
workerId: string;
|
|
941
957
|
state: "delivered" | "queued";
|
|
@@ -951,7 +967,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
951
967
|
text: string;
|
|
952
968
|
};
|
|
953
969
|
};
|
|
954
|
-
}
|
|
970
|
+
};
|
|
971
|
+
};
|
|
972
|
+
} & {
|
|
973
|
+
"/:workerId/stop": {
|
|
974
|
+
$post: {
|
|
955
975
|
output: {
|
|
956
976
|
error: string;
|
|
957
977
|
code?: "invalid_input" | undefined;
|
|
@@ -963,15 +983,9 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
963
983
|
workerId: string;
|
|
964
984
|
};
|
|
965
985
|
} & {
|
|
966
|
-
json:
|
|
967
|
-
text: string;
|
|
968
|
-
};
|
|
986
|
+
json: Record<string, never>;
|
|
969
987
|
};
|
|
970
|
-
}
|
|
971
|
-
};
|
|
972
|
-
} & {
|
|
973
|
-
"/:workerId/stop": {
|
|
974
|
-
$post: {
|
|
988
|
+
} | {
|
|
975
989
|
output: {
|
|
976
990
|
workerId: string;
|
|
977
991
|
state: "stopping" | "terminated";
|
|
@@ -985,7 +999,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
985
999
|
} & {
|
|
986
1000
|
json: Record<string, never>;
|
|
987
1001
|
};
|
|
988
|
-
}
|
|
1002
|
+
};
|
|
1003
|
+
};
|
|
1004
|
+
} & {
|
|
1005
|
+
"/:workerId/destroy": {
|
|
1006
|
+
$post: {
|
|
989
1007
|
output: {
|
|
990
1008
|
error: string;
|
|
991
1009
|
code?: "invalid_input" | undefined;
|
|
@@ -997,13 +1015,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
997
1015
|
workerId: string;
|
|
998
1016
|
};
|
|
999
1017
|
} & {
|
|
1000
|
-
json:
|
|
1018
|
+
json: {
|
|
1019
|
+
discardWork?: true | undefined;
|
|
1020
|
+
};
|
|
1001
1021
|
};
|
|
1002
|
-
}
|
|
1003
|
-
};
|
|
1004
|
-
} & {
|
|
1005
|
-
"/:workerId/destroy": {
|
|
1006
|
-
$post: {
|
|
1022
|
+
} | {
|
|
1007
1023
|
output: {
|
|
1008
1024
|
workerId: string;
|
|
1009
1025
|
state: "complete" | "incomplete";
|
|
@@ -1032,22 +1048,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1032
1048
|
discardWork?: true | undefined;
|
|
1033
1049
|
};
|
|
1034
1050
|
};
|
|
1035
|
-
} | {
|
|
1036
|
-
output: {
|
|
1037
|
-
error: string;
|
|
1038
|
-
code?: "invalid_input" | undefined;
|
|
1039
|
-
};
|
|
1040
|
-
outputFormat: "json";
|
|
1041
|
-
status: 400;
|
|
1042
|
-
input: {
|
|
1043
|
-
param: {
|
|
1044
|
-
workerId: string;
|
|
1045
|
-
};
|
|
1046
|
-
} & {
|
|
1047
|
-
json: {
|
|
1048
|
-
discardWork?: true | undefined;
|
|
1049
|
-
};
|
|
1050
|
-
};
|
|
1051
1051
|
} | {
|
|
1052
1052
|
output: {
|
|
1053
1053
|
workerId: string;
|
|
@@ -1083,18 +1083,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1083
1083
|
"/:workerId/summary": {
|
|
1084
1084
|
$post: {
|
|
1085
1085
|
output: {
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
source: "assistant" | "failure";
|
|
1089
|
-
seq: number;
|
|
1090
|
-
totalLines: number;
|
|
1091
|
-
offset: number;
|
|
1092
|
-
lineCount: number;
|
|
1093
|
-
text: string;
|
|
1094
|
-
nextOffset?: number | undefined;
|
|
1086
|
+
error: string;
|
|
1087
|
+
code?: "invalid_input" | undefined;
|
|
1095
1088
|
};
|
|
1096
1089
|
outputFormat: "json";
|
|
1097
|
-
status:
|
|
1090
|
+
status: 400;
|
|
1098
1091
|
input: {
|
|
1099
1092
|
param: {
|
|
1100
1093
|
workerId: string;
|
|
@@ -1107,11 +1100,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1107
1100
|
};
|
|
1108
1101
|
} | {
|
|
1109
1102
|
output: {
|
|
1110
|
-
|
|
1111
|
-
|
|
1103
|
+
workerId: string;
|
|
1104
|
+
revision: number;
|
|
1105
|
+
source: "assistant" | "failure";
|
|
1106
|
+
seq: number;
|
|
1107
|
+
totalLines: number;
|
|
1108
|
+
offset: number;
|
|
1109
|
+
lineCount: number;
|
|
1110
|
+
text: string;
|
|
1111
|
+
nextOffset?: number | undefined;
|
|
1112
1112
|
};
|
|
1113
1113
|
outputFormat: "json";
|
|
1114
|
-
status:
|
|
1114
|
+
status: 200;
|
|
1115
1115
|
input: {
|
|
1116
1116
|
param: {
|
|
1117
1117
|
workerId: string;
|
|
@@ -1128,13 +1128,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1128
1128
|
"/:workerId/diff": {
|
|
1129
1129
|
$get: {
|
|
1130
1130
|
output: {
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
diff: string;
|
|
1134
|
-
truncated: boolean;
|
|
1131
|
+
error: string;
|
|
1132
|
+
code?: "invalid_input" | undefined;
|
|
1135
1133
|
};
|
|
1136
1134
|
outputFormat: "json";
|
|
1137
|
-
status:
|
|
1135
|
+
status: 400;
|
|
1138
1136
|
input: {
|
|
1139
1137
|
param: {
|
|
1140
1138
|
workerId: string;
|
|
@@ -1142,11 +1140,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1142
1140
|
};
|
|
1143
1141
|
} | {
|
|
1144
1142
|
output: {
|
|
1145
|
-
|
|
1146
|
-
|
|
1143
|
+
workerId: string;
|
|
1144
|
+
baselineSha: string;
|
|
1145
|
+
diff: string;
|
|
1146
|
+
truncated: boolean;
|
|
1147
1147
|
};
|
|
1148
1148
|
outputFormat: "json";
|
|
1149
|
-
status:
|
|
1149
|
+
status: 200;
|
|
1150
1150
|
input: {
|
|
1151
1151
|
param: {
|
|
1152
1152
|
workerId: string;
|
|
@@ -34,20 +34,10 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
34
34
|
"/hosts": {
|
|
35
35
|
$post: {
|
|
36
36
|
output: {
|
|
37
|
-
|
|
38
|
-
id: string;
|
|
39
|
-
label: string;
|
|
40
|
-
state: "unreachable";
|
|
41
|
-
reason?: string | undefined;
|
|
42
|
-
kind?: "ssh" | undefined;
|
|
43
|
-
sshAlias?: string | undefined;
|
|
44
|
-
installId?: string | undefined;
|
|
45
|
-
port?: number | undefined;
|
|
46
|
-
addedAt?: string | undefined;
|
|
47
|
-
};
|
|
37
|
+
error: string;
|
|
48
38
|
};
|
|
49
39
|
outputFormat: "json";
|
|
50
|
-
status:
|
|
40
|
+
status: 404;
|
|
51
41
|
input: {
|
|
52
42
|
json: {
|
|
53
43
|
sshAlias: string;
|
|
@@ -75,7 +65,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
75
65
|
error: string;
|
|
76
66
|
};
|
|
77
67
|
outputFormat: "json";
|
|
78
|
-
status:
|
|
68
|
+
status: 409;
|
|
79
69
|
input: {
|
|
80
70
|
json: {
|
|
81
71
|
sshAlias: string;
|
|
@@ -89,7 +79,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
89
79
|
error: string;
|
|
90
80
|
};
|
|
91
81
|
outputFormat: "json";
|
|
92
|
-
status:
|
|
82
|
+
status: 500;
|
|
93
83
|
input: {
|
|
94
84
|
json: {
|
|
95
85
|
sshAlias: string;
|
|
@@ -100,10 +90,20 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
100
90
|
};
|
|
101
91
|
} | {
|
|
102
92
|
output: {
|
|
103
|
-
|
|
93
|
+
host: {
|
|
94
|
+
id: string;
|
|
95
|
+
label: string;
|
|
96
|
+
state: "unreachable";
|
|
97
|
+
reason?: string | undefined;
|
|
98
|
+
kind?: "ssh" | undefined;
|
|
99
|
+
sshAlias?: string | undefined;
|
|
100
|
+
installId?: string | undefined;
|
|
101
|
+
port?: number | undefined;
|
|
102
|
+
addedAt?: string | undefined;
|
|
103
|
+
};
|
|
104
104
|
};
|
|
105
105
|
outputFormat: "json";
|
|
106
|
-
status:
|
|
106
|
+
status: 201;
|
|
107
107
|
input: {
|
|
108
108
|
json: {
|
|
109
109
|
sshAlias: string;
|
|
@@ -117,7 +117,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
117
117
|
error: string;
|
|
118
118
|
};
|
|
119
119
|
outputFormat: "json";
|
|
120
|
-
status:
|
|
120
|
+
status: 409;
|
|
121
121
|
input: {
|
|
122
122
|
json: {
|
|
123
123
|
sshAlias: string;
|
|
@@ -132,20 +132,11 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
132
132
|
"/hosts/:id": {
|
|
133
133
|
$patch: {
|
|
134
134
|
output: {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
label: string;
|
|
138
|
-
state: "unreachable";
|
|
139
|
-
reason?: string | undefined;
|
|
140
|
-
kind?: "ssh" | undefined;
|
|
141
|
-
sshAlias?: string | undefined;
|
|
142
|
-
installId?: string | undefined;
|
|
143
|
-
port?: number | undefined;
|
|
144
|
-
addedAt?: string | undefined;
|
|
145
|
-
};
|
|
135
|
+
error: string;
|
|
136
|
+
code?: "invalid_input" | undefined;
|
|
146
137
|
};
|
|
147
138
|
outputFormat: "json";
|
|
148
|
-
status:
|
|
139
|
+
status: 400;
|
|
149
140
|
input: {
|
|
150
141
|
param: {
|
|
151
142
|
id: string;
|
|
@@ -160,10 +151,9 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
160
151
|
} | {
|
|
161
152
|
output: {
|
|
162
153
|
error: string;
|
|
163
|
-
code?: "invalid_input" | undefined;
|
|
164
154
|
};
|
|
165
155
|
outputFormat: "json";
|
|
166
|
-
status:
|
|
156
|
+
status: 404;
|
|
167
157
|
input: {
|
|
168
158
|
param: {
|
|
169
159
|
id: string;
|
|
@@ -197,7 +187,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
197
187
|
error: string;
|
|
198
188
|
};
|
|
199
189
|
outputFormat: "json";
|
|
200
|
-
status:
|
|
190
|
+
status: 409;
|
|
201
191
|
input: {
|
|
202
192
|
param: {
|
|
203
193
|
id: string;
|
|
@@ -214,7 +204,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
214
204
|
error: string;
|
|
215
205
|
};
|
|
216
206
|
outputFormat: "json";
|
|
217
|
-
status:
|
|
207
|
+
status: 500;
|
|
218
208
|
input: {
|
|
219
209
|
param: {
|
|
220
210
|
id: string;
|
|
@@ -245,10 +235,20 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
245
235
|
};
|
|
246
236
|
} | {
|
|
247
237
|
output: {
|
|
248
|
-
|
|
238
|
+
host: {
|
|
239
|
+
id: string;
|
|
240
|
+
label: string;
|
|
241
|
+
state: "unreachable";
|
|
242
|
+
reason?: string | undefined;
|
|
243
|
+
kind?: "ssh" | undefined;
|
|
244
|
+
sshAlias?: string | undefined;
|
|
245
|
+
installId?: string | undefined;
|
|
246
|
+
port?: number | undefined;
|
|
247
|
+
addedAt?: string | undefined;
|
|
248
|
+
};
|
|
249
249
|
};
|
|
250
250
|
outputFormat: "json";
|
|
251
|
-
status:
|
|
251
|
+
status: 200;
|
|
252
252
|
input: {
|
|
253
253
|
param: {
|
|
254
254
|
id: string;
|
|
@@ -266,11 +266,11 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
266
266
|
"/hosts/:id": {
|
|
267
267
|
$delete: {
|
|
268
268
|
output: {
|
|
269
|
-
|
|
270
|
-
|
|
269
|
+
error: string;
|
|
270
|
+
code?: "invalid_input" | undefined;
|
|
271
271
|
};
|
|
272
272
|
outputFormat: "json";
|
|
273
|
-
status:
|
|
273
|
+
status: 400;
|
|
274
274
|
input: {
|
|
275
275
|
param: {
|
|
276
276
|
id: string;
|
|
@@ -279,10 +279,9 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
279
279
|
} | {
|
|
280
280
|
output: {
|
|
281
281
|
error: string;
|
|
282
|
-
code?: "invalid_input" | undefined;
|
|
283
282
|
};
|
|
284
283
|
outputFormat: "json";
|
|
285
|
-
status:
|
|
284
|
+
status: 404;
|
|
286
285
|
input: {
|
|
287
286
|
param: {
|
|
288
287
|
id: string;
|
|
@@ -304,7 +303,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
304
303
|
error: string;
|
|
305
304
|
};
|
|
306
305
|
outputFormat: "json";
|
|
307
|
-
status:
|
|
306
|
+
status: 409;
|
|
308
307
|
input: {
|
|
309
308
|
param: {
|
|
310
309
|
id: string;
|
|
@@ -315,7 +314,7 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
315
314
|
error: string;
|
|
316
315
|
};
|
|
317
316
|
outputFormat: "json";
|
|
318
|
-
status:
|
|
317
|
+
status: 500;
|
|
319
318
|
input: {
|
|
320
319
|
param: {
|
|
321
320
|
id: string;
|
|
@@ -334,10 +333,11 @@ export declare function createHostsRoutes(deps: HostsRouteDeps): import("hono/ho
|
|
|
334
333
|
};
|
|
335
334
|
} | {
|
|
336
335
|
output: {
|
|
337
|
-
|
|
336
|
+
removed: true;
|
|
337
|
+
id: string;
|
|
338
338
|
};
|
|
339
339
|
outputFormat: "json";
|
|
340
|
-
status:
|
|
340
|
+
status: 200;
|
|
341
341
|
input: {
|
|
342
342
|
param: {
|
|
343
343
|
id: string;
|
|
@@ -18,7 +18,7 @@ export declare function createProviderSignInRoutes(options: {
|
|
|
18
18
|
error: string;
|
|
19
19
|
};
|
|
20
20
|
outputFormat: "json";
|
|
21
|
-
status:
|
|
21
|
+
status: 409;
|
|
22
22
|
input: {
|
|
23
23
|
json: {
|
|
24
24
|
provider: string;
|
|
@@ -30,7 +30,7 @@ export declare function createProviderSignInRoutes(options: {
|
|
|
30
30
|
error: string;
|
|
31
31
|
};
|
|
32
32
|
outputFormat: "json";
|
|
33
|
-
status:
|
|
33
|
+
status: 400;
|
|
34
34
|
input: {
|
|
35
35
|
json: {
|
|
36
36
|
provider: string;
|