@hearsay-tools/squawk 0.19.0-dev.8946 → 0.19.0-dev.8956
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/routes.d.ts +65 -65
- package/dist/server/models-routes.d.ts +12 -12
- package/dist/server/projects-routes.d.ts +45 -45
- package/dist/server/providers-routes.d.ts +57 -57
- package/dist/server/repo-routes.d.ts +34 -34
- package/dist/server/reports-api.d.ts +2 -2
- package/dist/server/runner-install-routes.d.ts +10 -10
- package/dist/server/runs-routes.d.ts +278 -278
- package/dist/server/workspace-routes.d.ts +85 -85
- package/package.json +4 -4
- package/web/dist/assets/{accounts-section-WIehcyGw.js → accounts-section-DQNWKGdd.js} +1 -1
- package/web/dist/assets/{activity-motion-C6MkKVNw.js → activity-motion-dg8xQovm.js} +1 -1
- package/web/dist/assets/{activity-route-DnkJg2yC.js → activity-route-pAplJbQ-.js} +1 -1
- package/web/dist/assets/{agent-config-section-D9CmEBGB.js → agent-config-section-DXLK8TWx.js} +1 -1
- package/web/dist/assets/{agent-defaults-section-Dpo7uqt7.js → agent-defaults-section-CHo6SV_E.js} +1 -1
- package/web/dist/assets/{appearance-C4ZeV0d7.js → appearance-BBm_1-0d.js} +1 -1
- package/web/dist/assets/{archive-on-merge-field-CLz5wdcX.js → archive-on-merge-field-BpxWzA-s.js} +1 -1
- package/web/dist/assets/automations-route-Bgz1q3d_.js +2 -0
- package/web/dist/assets/{commit-list-BBOPi-5c.js → commit-list-DsQ8tZV9.js} +1 -1
- package/web/dist/assets/{diff-o1vDSmjJ.js → diff-H-hamhtW.js} +2 -2
- package/web/dist/assets/{diff-controls-RoNLKGo8.js → diff-controls-BvvrHTu_.js} +1 -1
- package/web/dist/assets/{diff-view--upGtYuH.js → diff-view-Deq7mb3J.js} +1 -1
- package/web/dist/assets/{discard-changes-dialog-C4edQj7U.js → discard-changes-dialog-C06t2BR5.js} +1 -1
- package/web/dist/assets/{file-preview-Ba2kwvIA.js → file-preview-D8pCQdne.js} +1 -1
- package/web/dist/assets/{git-toolbar-DXDZQtTO.js → git-toolbar-DvMZegJ7.js} +1 -1
- package/web/dist/assets/{github-CZrdkYl7.js → github-BDRo8fXv.js} +1 -1
- package/web/dist/assets/{global-activity-route-H0_KUbFo.js → global-activity-route-Dm_kAVcm.js} +1 -1
- package/web/dist/assets/{index-BdwJdyhu.js → index-Byw2yW7N.js} +4 -4
- package/web/dist/assets/{markdown-BrCnMalC.js → markdown-BQab8jF1.js} +1 -1
- package/web/dist/assets/{option-select-DYOZPdHh.js → option-select-JTiDFrqF.js} +1 -1
- package/web/dist/assets/{preferences-section-DAHLqdBx.js → preferences-section-C-j7m5yZ.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-CZ8K6fgu.js → preview-pane-connected-BnuUrbmD.js} +1 -1
- package/web/dist/assets/{project-location-BtpH7PdN.js → project-location-Dyn7zI6j.js} +1 -1
- package/web/dist/assets/{projects-section-C3uSUuUa.js → projects-section-DzIrNvrh.js} +1 -1
- package/web/dist/assets/{prompt-templates-section-BqTyw9qv.js → prompt-templates-section-DtNo6kjG.js} +1 -1
- package/web/dist/assets/{remote-settings-notice-C8ISDWAZ.js → remote-settings-notice-C7V8JZt9.js} +1 -1
- package/web/dist/assets/{repo-git-op-Z42-r.js → repo-git-DBnTvj5D.js} +1 -1
- package/web/dist/assets/{report-reader-Czn67eDi.js → report-reader-C7MtQlUw.js} +1 -1
- package/web/dist/assets/{reports-CUTmDw8a.js → reports-BfqPAwGI.js} +1 -1
- package/web/dist/assets/{resources-section-CrFBkbzV.js → resources-section-C2Dw4VR6.js} +1 -1
- package/web/dist/assets/{review-panel-DnKKu0ED.js → review-panel--h2qOZ5y.js} +1 -1
- package/web/dist/assets/{run-header-BuWI-Izb.js → run-header-D_xptiSf.js} +1 -1
- package/web/dist/assets/{select-BNkI-J23.js → select-1ZfHanpO.js} +1 -1
- package/web/dist/assets/{session-context-section-Cbnd7mET.js → session-context-section-CD_o7uNM.js} +1 -1
- package/web/dist/assets/{settings-agent-picker-Cc9EbxOn.js → settings-agent-picker-CaGxQRTa.js} +1 -1
- package/web/dist/assets/{settings-save-bar-CXPbykSw.js → settings-save-bar-BA6YnLcP.js} +1 -1
- package/web/dist/assets/{settings-shell-he41aRWc.js → settings-shell-CG1-kWWp.js} +1 -1
- package/web/dist/assets/{sidebar-section-DnBL1i6S.js → sidebar-section-kWgmwFom.js} +1 -1
- package/web/dist/assets/{skills-C0ExMlKn.js → skills-D-ZXx_Db.js} +1 -1
- package/web/dist/assets/{task-changes-CkZAXYzq.js → task-changes-CIrkn5L8.js} +1 -1
- package/web/dist/assets/{task-commits-DvbEh5Ej.js → task-commits-BZj5bFmc.js} +1 -1
- package/web/dist/assets/{task-file-scope-u9ReDUkm.js → task-file-scope-CkTckRi_.js} +1 -1
- package/web/dist/assets/{task-files-_ViDE2KM.js → task-files-CVija0D3.js} +1 -1
- package/web/dist/assets/{task-github-item-D6HlV5w7.js → task-github-item-C_7h7vWI.js} +1 -1
- package/web/dist/assets/{task-thread-DufVSXBG.js → task-thread-B5wy_92u.js} +1 -1
- package/web/dist/assets/{thread-state-DyL-5CT_.js → thread-state-c_QiK_1p.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-Bbno11XR.js → use-hand-to-agent-state-D7BytpdB.js} +1 -1
- package/web/dist/assets/use-path-bases-B7RXNQ5t.js +1 -0
- package/web/dist/assets/{workflows-OsxhDzG9.js → workflows-DUFAcnv8.js} +1 -1
- package/web/dist/assets/{workspace-tools-D6uFs3zu.js → workspace-tools-C7-39mKv.js} +1 -1
- package/web/dist/assets/{worktrees-section-CzM3pU2A.js → worktrees-section-B9ifd22S.js} +1 -1
- package/web/dist/index.html +1 -1
- package/web/dist/assets/automations-route-dvKhqCE2.js +0 -2
- package/web/dist/assets/use-path-bases-DqgqcOdM.js +0 -1
|
@@ -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;
|
|
@@ -940,7 +954,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
940
954
|
} & {
|
|
941
955
|
json: Record<string, never>;
|
|
942
956
|
};
|
|
943
|
-
}
|
|
957
|
+
};
|
|
958
|
+
};
|
|
959
|
+
} & {
|
|
960
|
+
"/:workerId/steer": {
|
|
961
|
+
$post: {
|
|
944
962
|
output: {
|
|
945
963
|
error: string;
|
|
946
964
|
code?: "invalid_input" | undefined;
|
|
@@ -952,13 +970,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
952
970
|
workerId: string;
|
|
953
971
|
};
|
|
954
972
|
} & {
|
|
955
|
-
json:
|
|
973
|
+
json: {
|
|
974
|
+
text: string;
|
|
975
|
+
};
|
|
956
976
|
};
|
|
957
|
-
}
|
|
958
|
-
};
|
|
959
|
-
} & {
|
|
960
|
-
"/:workerId/steer": {
|
|
961
|
-
$post: {
|
|
977
|
+
} | {
|
|
962
978
|
output: {
|
|
963
979
|
workerId: string;
|
|
964
980
|
state: "delivered" | "queued";
|
|
@@ -974,7 +990,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
974
990
|
text: string;
|
|
975
991
|
};
|
|
976
992
|
};
|
|
977
|
-
}
|
|
993
|
+
};
|
|
994
|
+
};
|
|
995
|
+
} & {
|
|
996
|
+
"/:workerId/stop": {
|
|
997
|
+
$post: {
|
|
978
998
|
output: {
|
|
979
999
|
error: string;
|
|
980
1000
|
code?: "invalid_input" | undefined;
|
|
@@ -986,15 +1006,9 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
986
1006
|
workerId: string;
|
|
987
1007
|
};
|
|
988
1008
|
} & {
|
|
989
|
-
json:
|
|
990
|
-
text: string;
|
|
991
|
-
};
|
|
1009
|
+
json: Record<string, never>;
|
|
992
1010
|
};
|
|
993
|
-
}
|
|
994
|
-
};
|
|
995
|
-
} & {
|
|
996
|
-
"/:workerId/stop": {
|
|
997
|
-
$post: {
|
|
1011
|
+
} | {
|
|
998
1012
|
output: {
|
|
999
1013
|
workerId: string;
|
|
1000
1014
|
state: "stopping" | "terminated";
|
|
@@ -1008,7 +1022,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1008
1022
|
} & {
|
|
1009
1023
|
json: Record<string, never>;
|
|
1010
1024
|
};
|
|
1011
|
-
}
|
|
1025
|
+
};
|
|
1026
|
+
};
|
|
1027
|
+
} & {
|
|
1028
|
+
"/:workerId/destroy": {
|
|
1029
|
+
$post: {
|
|
1012
1030
|
output: {
|
|
1013
1031
|
error: string;
|
|
1014
1032
|
code?: "invalid_input" | undefined;
|
|
@@ -1020,13 +1038,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1020
1038
|
workerId: string;
|
|
1021
1039
|
};
|
|
1022
1040
|
} & {
|
|
1023
|
-
json:
|
|
1041
|
+
json: {
|
|
1042
|
+
discardWork?: true | undefined;
|
|
1043
|
+
};
|
|
1024
1044
|
};
|
|
1025
|
-
}
|
|
1026
|
-
};
|
|
1027
|
-
} & {
|
|
1028
|
-
"/:workerId/destroy": {
|
|
1029
|
-
$post: {
|
|
1045
|
+
} | {
|
|
1030
1046
|
output: {
|
|
1031
1047
|
workerId: string;
|
|
1032
1048
|
state: "complete" | "incomplete";
|
|
@@ -1055,22 +1071,6 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1055
1071
|
discardWork?: true | undefined;
|
|
1056
1072
|
};
|
|
1057
1073
|
};
|
|
1058
|
-
} | {
|
|
1059
|
-
output: {
|
|
1060
|
-
error: string;
|
|
1061
|
-
code?: "invalid_input" | undefined;
|
|
1062
|
-
};
|
|
1063
|
-
outputFormat: "json";
|
|
1064
|
-
status: 400;
|
|
1065
|
-
input: {
|
|
1066
|
-
param: {
|
|
1067
|
-
workerId: string;
|
|
1068
|
-
};
|
|
1069
|
-
} & {
|
|
1070
|
-
json: {
|
|
1071
|
-
discardWork?: true | undefined;
|
|
1072
|
-
};
|
|
1073
|
-
};
|
|
1074
1074
|
} | {
|
|
1075
1075
|
output: {
|
|
1076
1076
|
workerId: string;
|
|
@@ -1106,13 +1106,11 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1106
1106
|
"/:workerId/diff": {
|
|
1107
1107
|
$get: {
|
|
1108
1108
|
output: {
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
diff: string;
|
|
1112
|
-
truncated: boolean;
|
|
1109
|
+
error: string;
|
|
1110
|
+
code?: "invalid_input" | undefined;
|
|
1113
1111
|
};
|
|
1114
1112
|
outputFormat: "json";
|
|
1115
|
-
status:
|
|
1113
|
+
status: 400;
|
|
1116
1114
|
input: {
|
|
1117
1115
|
param: {
|
|
1118
1116
|
workerId: string;
|
|
@@ -1120,11 +1118,13 @@ export declare function createDelegationRoutes(service: DelegationService, crede
|
|
|
1120
1118
|
};
|
|
1121
1119
|
} | {
|
|
1122
1120
|
output: {
|
|
1123
|
-
|
|
1124
|
-
|
|
1121
|
+
workerId: string;
|
|
1122
|
+
baselineSha: string;
|
|
1123
|
+
diff: string;
|
|
1124
|
+
truncated: boolean;
|
|
1125
1125
|
};
|
|
1126
1126
|
outputFormat: "json";
|
|
1127
|
-
status:
|
|
1127
|
+
status: 200;
|
|
1128
1128
|
input: {
|
|
1129
1129
|
param: {
|
|
1130
1130
|
workerId: string;
|
|
@@ -22,18 +22,6 @@ export declare function createModelsRoutes(options: {
|
|
|
22
22
|
profileId?: string | undefined;
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
-
} | {
|
|
26
|
-
output: {
|
|
27
|
-
error: string;
|
|
28
|
-
};
|
|
29
|
-
outputFormat: "json";
|
|
30
|
-
status: 400;
|
|
31
|
-
input: {
|
|
32
|
-
query: {
|
|
33
|
-
runner: string | string[];
|
|
34
|
-
profileId?: string | undefined;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
25
|
} | {
|
|
38
26
|
output: {
|
|
39
27
|
runner: string;
|
|
@@ -55,6 +43,18 @@ export declare function createModelsRoutes(options: {
|
|
|
55
43
|
profileId?: string | undefined;
|
|
56
44
|
};
|
|
57
45
|
};
|
|
46
|
+
} | {
|
|
47
|
+
output: {
|
|
48
|
+
error: string;
|
|
49
|
+
};
|
|
50
|
+
outputFormat: "json";
|
|
51
|
+
status: 400;
|
|
52
|
+
input: {
|
|
53
|
+
query: {
|
|
54
|
+
runner: string | string[];
|
|
55
|
+
profileId?: string | undefined;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
58
|
};
|
|
59
59
|
};
|
|
60
60
|
}, "/", "/models">;
|
|
@@ -63,6 +63,17 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
63
63
|
} & {
|
|
64
64
|
"/projects": {
|
|
65
65
|
$post: {
|
|
66
|
+
output: {
|
|
67
|
+
error: string;
|
|
68
|
+
};
|
|
69
|
+
outputFormat: "json";
|
|
70
|
+
status: 400 | 500;
|
|
71
|
+
input: {
|
|
72
|
+
json: {
|
|
73
|
+
root: string;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
} | {
|
|
66
77
|
output: {
|
|
67
78
|
project: {
|
|
68
79
|
id: string;
|
|
@@ -93,10 +104,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
93
104
|
agent: boolean;
|
|
94
105
|
}[] | undefined;
|
|
95
106
|
};
|
|
96
|
-
error
|
|
107
|
+
error: string;
|
|
97
108
|
};
|
|
98
109
|
outputFormat: "json";
|
|
99
|
-
status:
|
|
110
|
+
status: 409;
|
|
100
111
|
input: {
|
|
101
112
|
json: {
|
|
102
113
|
root: string;
|
|
@@ -133,21 +144,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
133
144
|
agent: boolean;
|
|
134
145
|
}[] | undefined;
|
|
135
146
|
};
|
|
136
|
-
error
|
|
137
|
-
};
|
|
138
|
-
outputFormat: "json";
|
|
139
|
-
status: 409;
|
|
140
|
-
input: {
|
|
141
|
-
json: {
|
|
142
|
-
root: string;
|
|
143
|
-
};
|
|
144
|
-
};
|
|
145
|
-
} | {
|
|
146
|
-
output: {
|
|
147
|
-
error: string;
|
|
147
|
+
error?: string | undefined;
|
|
148
148
|
};
|
|
149
149
|
outputFormat: "json";
|
|
150
|
-
status:
|
|
150
|
+
status: 200;
|
|
151
151
|
input: {
|
|
152
152
|
json: {
|
|
153
153
|
root: string;
|
|
@@ -306,7 +306,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
306
306
|
error: string;
|
|
307
307
|
};
|
|
308
308
|
outputFormat: "json";
|
|
309
|
-
status:
|
|
309
|
+
status: 404;
|
|
310
310
|
input: {
|
|
311
311
|
param: {
|
|
312
312
|
projectId: string;
|
|
@@ -317,7 +317,7 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
317
317
|
error: string;
|
|
318
318
|
};
|
|
319
319
|
outputFormat: "json";
|
|
320
|
-
status:
|
|
320
|
+
status: 400;
|
|
321
321
|
input: {
|
|
322
322
|
param: {
|
|
323
323
|
projectId: string;
|
|
@@ -342,6 +342,27 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
342
342
|
} & {
|
|
343
343
|
"/projects/:projectId/webhooks": {
|
|
344
344
|
$post: {
|
|
345
|
+
output: {
|
|
346
|
+
error: string;
|
|
347
|
+
};
|
|
348
|
+
outputFormat: "json";
|
|
349
|
+
status: 400 | 404 | 409 | 500;
|
|
350
|
+
input: {
|
|
351
|
+
json: {
|
|
352
|
+
name: string;
|
|
353
|
+
description?: string | undefined;
|
|
354
|
+
url: string;
|
|
355
|
+
token?: string | undefined;
|
|
356
|
+
tasks?: boolean | undefined;
|
|
357
|
+
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
358
|
+
agent?: boolean | undefined;
|
|
359
|
+
};
|
|
360
|
+
} & {
|
|
361
|
+
param: {
|
|
362
|
+
projectId: string;
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
} | {
|
|
345
366
|
output: {
|
|
346
367
|
project: {
|
|
347
368
|
id: string;
|
|
@@ -400,27 +421,6 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
400
421
|
projectId: string;
|
|
401
422
|
};
|
|
402
423
|
};
|
|
403
|
-
} | {
|
|
404
|
-
output: {
|
|
405
|
-
error: string;
|
|
406
|
-
};
|
|
407
|
-
outputFormat: "json";
|
|
408
|
-
status: 400 | 404 | 409 | 500;
|
|
409
|
-
input: {
|
|
410
|
-
json: {
|
|
411
|
-
name: string;
|
|
412
|
-
description?: string | undefined;
|
|
413
|
-
url: string;
|
|
414
|
-
token?: string | undefined;
|
|
415
|
-
tasks?: boolean | undefined;
|
|
416
|
-
triggers?: ("cancelled" | "done" | "failed" | "needs-you" | "running" | "waiting-ci" | "waiting-other" | "waiting-timer" | "waiting-workers")[] | undefined;
|
|
417
|
-
agent?: boolean | undefined;
|
|
418
|
-
};
|
|
419
|
-
} & {
|
|
420
|
-
param: {
|
|
421
|
-
projectId: string;
|
|
422
|
-
};
|
|
423
|
-
};
|
|
424
424
|
};
|
|
425
425
|
};
|
|
426
426
|
} & {
|
|
@@ -618,10 +618,13 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
618
618
|
};
|
|
619
619
|
} | {
|
|
620
620
|
output: {
|
|
621
|
-
|
|
621
|
+
ok: boolean;
|
|
622
|
+
status?: number | undefined;
|
|
623
|
+
error?: string | undefined;
|
|
624
|
+
dryRun?: boolean | undefined;
|
|
622
625
|
};
|
|
623
626
|
outputFormat: "json";
|
|
624
|
-
status:
|
|
627
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
625
628
|
input: {
|
|
626
629
|
param: {
|
|
627
630
|
projectId: string;
|
|
@@ -630,13 +633,10 @@ export declare function createProjectsRoutes(deps: ProjectsRouteDeps): import("h
|
|
|
630
633
|
};
|
|
631
634
|
} | {
|
|
632
635
|
output: {
|
|
633
|
-
|
|
634
|
-
status?: number | undefined;
|
|
635
|
-
error?: string | undefined;
|
|
636
|
-
dryRun?: boolean | undefined;
|
|
636
|
+
error: string;
|
|
637
637
|
};
|
|
638
638
|
outputFormat: "json";
|
|
639
|
-
status:
|
|
639
|
+
status: 404;
|
|
640
640
|
input: {
|
|
641
641
|
param: {
|
|
642
642
|
projectId: string;
|
|
@@ -70,10 +70,18 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
70
70
|
};
|
|
71
71
|
} | {
|
|
72
72
|
output: {
|
|
73
|
-
|
|
73
|
+
providers: {
|
|
74
|
+
requiresAccountHome?: boolean | undefined;
|
|
75
|
+
provider: string;
|
|
76
|
+
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
77
|
+
enabled?: boolean | undefined;
|
|
78
|
+
hint?: string | undefined;
|
|
79
|
+
authFailureId?: string | undefined;
|
|
80
|
+
profileId?: string | undefined;
|
|
81
|
+
}[];
|
|
74
82
|
};
|
|
75
83
|
outputFormat: "json";
|
|
76
|
-
status:
|
|
84
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
77
85
|
input: {
|
|
78
86
|
param: {
|
|
79
87
|
provider: string;
|
|
@@ -85,18 +93,10 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
85
93
|
};
|
|
86
94
|
} | {
|
|
87
95
|
output: {
|
|
88
|
-
|
|
89
|
-
requiresAccountHome?: boolean | undefined;
|
|
90
|
-
provider: string;
|
|
91
|
-
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
92
|
-
enabled?: boolean | undefined;
|
|
93
|
-
hint?: string | undefined;
|
|
94
|
-
authFailureId?: string | undefined;
|
|
95
|
-
profileId?: string | undefined;
|
|
96
|
-
}[];
|
|
96
|
+
error: string;
|
|
97
97
|
};
|
|
98
98
|
outputFormat: "json";
|
|
99
|
-
status:
|
|
99
|
+
status: 500;
|
|
100
100
|
input: {
|
|
101
101
|
param: {
|
|
102
102
|
provider: string;
|
|
@@ -128,10 +128,18 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
128
128
|
};
|
|
129
129
|
} | {
|
|
130
130
|
output: {
|
|
131
|
-
|
|
131
|
+
providers: {
|
|
132
|
+
requiresAccountHome?: boolean | undefined;
|
|
133
|
+
provider: string;
|
|
134
|
+
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
135
|
+
enabled?: boolean | undefined;
|
|
136
|
+
hint?: string | undefined;
|
|
137
|
+
authFailureId?: string | undefined;
|
|
138
|
+
profileId?: string | undefined;
|
|
139
|
+
}[];
|
|
132
140
|
};
|
|
133
141
|
outputFormat: "json";
|
|
134
|
-
status:
|
|
142
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
135
143
|
input: {
|
|
136
144
|
param: {
|
|
137
145
|
provider: string;
|
|
@@ -143,18 +151,10 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
143
151
|
};
|
|
144
152
|
} | {
|
|
145
153
|
output: {
|
|
146
|
-
|
|
147
|
-
requiresAccountHome?: boolean | undefined;
|
|
148
|
-
provider: string;
|
|
149
|
-
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
150
|
-
enabled?: boolean | undefined;
|
|
151
|
-
hint?: string | undefined;
|
|
152
|
-
authFailureId?: string | undefined;
|
|
153
|
-
profileId?: string | undefined;
|
|
154
|
-
}[];
|
|
154
|
+
error: string;
|
|
155
155
|
};
|
|
156
156
|
outputFormat: "json";
|
|
157
|
-
status:
|
|
157
|
+
status: 409;
|
|
158
158
|
input: {
|
|
159
159
|
param: {
|
|
160
160
|
provider: string;
|
|
@@ -173,7 +173,7 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
173
173
|
error: string;
|
|
174
174
|
};
|
|
175
175
|
outputFormat: "json";
|
|
176
|
-
status:
|
|
176
|
+
status: 409;
|
|
177
177
|
input: {
|
|
178
178
|
json: {
|
|
179
179
|
provider: string;
|
|
@@ -185,7 +185,7 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
185
185
|
error: string;
|
|
186
186
|
};
|
|
187
187
|
outputFormat: "json";
|
|
188
|
-
status:
|
|
188
|
+
status: 400;
|
|
189
189
|
input: {
|
|
190
190
|
json: {
|
|
191
191
|
provider: string;
|
|
@@ -290,28 +290,10 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
290
290
|
"/workspace/agent-profiles": {
|
|
291
291
|
$post: {
|
|
292
292
|
output: {
|
|
293
|
-
|
|
294
|
-
id: string;
|
|
295
|
-
provider: string;
|
|
296
|
-
label: string;
|
|
297
|
-
configDir?: string | undefined;
|
|
298
|
-
path?: string | undefined;
|
|
299
|
-
exists: boolean;
|
|
300
|
-
looksValid: boolean;
|
|
301
|
-
isDefault: boolean;
|
|
302
|
-
status?: {
|
|
303
|
-
requiresAccountHome?: boolean | undefined;
|
|
304
|
-
provider: string;
|
|
305
|
-
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
306
|
-
enabled?: boolean | undefined;
|
|
307
|
-
hint?: string | undefined;
|
|
308
|
-
authFailureId?: string | undefined;
|
|
309
|
-
profileId?: string | undefined;
|
|
310
|
-
} | undefined;
|
|
311
|
-
};
|
|
293
|
+
error: string;
|
|
312
294
|
};
|
|
313
295
|
outputFormat: "json";
|
|
314
|
-
status:
|
|
296
|
+
status: 409;
|
|
315
297
|
input: {
|
|
316
298
|
json: {
|
|
317
299
|
provider: string;
|
|
@@ -337,7 +319,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
337
319
|
error: string;
|
|
338
320
|
};
|
|
339
321
|
outputFormat: "json";
|
|
340
|
-
status:
|
|
322
|
+
status: 500;
|
|
341
323
|
input: {
|
|
342
324
|
json: {
|
|
343
325
|
provider: string;
|
|
@@ -347,10 +329,28 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
347
329
|
};
|
|
348
330
|
} | {
|
|
349
331
|
output: {
|
|
350
|
-
|
|
332
|
+
profile: {
|
|
333
|
+
id: string;
|
|
334
|
+
provider: string;
|
|
335
|
+
label: string;
|
|
336
|
+
configDir?: string | undefined;
|
|
337
|
+
path?: string | undefined;
|
|
338
|
+
exists: boolean;
|
|
339
|
+
looksValid: boolean;
|
|
340
|
+
isDefault: boolean;
|
|
341
|
+
status?: {
|
|
342
|
+
requiresAccountHome?: boolean | undefined;
|
|
343
|
+
provider: string;
|
|
344
|
+
status: "connected" | "disconnected" | "not-installed" | "unknown";
|
|
345
|
+
enabled?: boolean | undefined;
|
|
346
|
+
hint?: string | undefined;
|
|
347
|
+
authFailureId?: string | undefined;
|
|
348
|
+
profileId?: string | undefined;
|
|
349
|
+
} | undefined;
|
|
350
|
+
};
|
|
351
351
|
};
|
|
352
352
|
outputFormat: "json";
|
|
353
|
-
status:
|
|
353
|
+
status: 201;
|
|
354
354
|
input: {
|
|
355
355
|
json: {
|
|
356
356
|
provider: string;
|
|
@@ -384,7 +384,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
384
384
|
error: string;
|
|
385
385
|
};
|
|
386
386
|
outputFormat: "json";
|
|
387
|
-
status:
|
|
387
|
+
status: 409;
|
|
388
388
|
input: {
|
|
389
389
|
param: {
|
|
390
390
|
id: string;
|
|
@@ -400,7 +400,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
400
400
|
error: string;
|
|
401
401
|
};
|
|
402
402
|
outputFormat: "json";
|
|
403
|
-
status:
|
|
403
|
+
status: 400;
|
|
404
404
|
input: {
|
|
405
405
|
param: {
|
|
406
406
|
id: string;
|
|
@@ -416,7 +416,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
416
416
|
error: string;
|
|
417
417
|
};
|
|
418
418
|
outputFormat: "json";
|
|
419
|
-
status:
|
|
419
|
+
status: 404;
|
|
420
420
|
input: {
|
|
421
421
|
param: {
|
|
422
422
|
id: string;
|
|
@@ -544,7 +544,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
544
544
|
error: string;
|
|
545
545
|
};
|
|
546
546
|
outputFormat: "json";
|
|
547
|
-
status:
|
|
547
|
+
status: 404;
|
|
548
548
|
input: {
|
|
549
549
|
json: {
|
|
550
550
|
projectId: string;
|
|
@@ -557,7 +557,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
557
557
|
error: string;
|
|
558
558
|
};
|
|
559
559
|
outputFormat: "json";
|
|
560
|
-
status:
|
|
560
|
+
status: 400;
|
|
561
561
|
input: {
|
|
562
562
|
json: {
|
|
563
563
|
projectId: string;
|
|
@@ -621,7 +621,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
621
621
|
error: string;
|
|
622
622
|
};
|
|
623
623
|
outputFormat: "json";
|
|
624
|
-
status:
|
|
624
|
+
status: 409;
|
|
625
625
|
input: {
|
|
626
626
|
param: {
|
|
627
627
|
id: string;
|
|
@@ -632,7 +632,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
632
632
|
error: string;
|
|
633
633
|
};
|
|
634
634
|
outputFormat: "json";
|
|
635
|
-
status:
|
|
635
|
+
status: 500;
|
|
636
636
|
input: {
|
|
637
637
|
param: {
|
|
638
638
|
id: string;
|
|
@@ -643,7 +643,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
643
643
|
error: string;
|
|
644
644
|
};
|
|
645
645
|
outputFormat: "json";
|
|
646
|
-
status:
|
|
646
|
+
status: 404;
|
|
647
647
|
input: {
|
|
648
648
|
param: {
|
|
649
649
|
id: string;
|