@hearsay-tools/squawk 0.18.0-dev.8449 → 0.18.0-dev.8452
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 +65 -65
- package/dist/server/activity-routes.d.ts +23 -23
- package/dist/server/models-routes.d.ts +12 -12
- package/dist/server/project-settings-routes.d.ts +107 -107
- package/dist/server/provider-sign-in-routes.d.ts +2 -2
- 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/runs-routes.d.ts +16 -16
- package/dist/server/workspace-routes.d.ts +84 -84
- package/package.json +4 -4
|
@@ -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;
|
|
@@ -915,7 +929,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
915
929
|
} & {
|
|
916
930
|
json: Record<string, never>;
|
|
917
931
|
};
|
|
918
|
-
}
|
|
932
|
+
};
|
|
933
|
+
};
|
|
934
|
+
} & {
|
|
935
|
+
"/:workerId/steer": {
|
|
936
|
+
$post: {
|
|
919
937
|
output: {
|
|
920
938
|
error: string;
|
|
921
939
|
code?: "invalid_input" | undefined;
|
|
@@ -927,13 +945,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
927
945
|
workerId: string;
|
|
928
946
|
};
|
|
929
947
|
} & {
|
|
930
|
-
json:
|
|
948
|
+
json: {
|
|
949
|
+
text: string;
|
|
950
|
+
};
|
|
931
951
|
};
|
|
932
|
-
}
|
|
933
|
-
};
|
|
934
|
-
} & {
|
|
935
|
-
"/:workerId/steer": {
|
|
936
|
-
$post: {
|
|
952
|
+
} | {
|
|
937
953
|
output: {
|
|
938
954
|
workerId: string;
|
|
939
955
|
state: "delivered" | "queued";
|
|
@@ -949,7 +965,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
949
965
|
text: string;
|
|
950
966
|
};
|
|
951
967
|
};
|
|
952
|
-
}
|
|
968
|
+
};
|
|
969
|
+
};
|
|
970
|
+
} & {
|
|
971
|
+
"/:workerId/stop": {
|
|
972
|
+
$post: {
|
|
953
973
|
output: {
|
|
954
974
|
error: string;
|
|
955
975
|
code?: "invalid_input" | undefined;
|
|
@@ -961,15 +981,9 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
961
981
|
workerId: string;
|
|
962
982
|
};
|
|
963
983
|
} & {
|
|
964
|
-
json:
|
|
965
|
-
text: string;
|
|
966
|
-
};
|
|
984
|
+
json: Record<string, never>;
|
|
967
985
|
};
|
|
968
|
-
}
|
|
969
|
-
};
|
|
970
|
-
} & {
|
|
971
|
-
"/:workerId/stop": {
|
|
972
|
-
$post: {
|
|
986
|
+
} | {
|
|
973
987
|
output: {
|
|
974
988
|
workerId: string;
|
|
975
989
|
state: "stopping" | "terminated";
|
|
@@ -983,7 +997,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
983
997
|
} & {
|
|
984
998
|
json: Record<string, never>;
|
|
985
999
|
};
|
|
986
|
-
}
|
|
1000
|
+
};
|
|
1001
|
+
};
|
|
1002
|
+
} & {
|
|
1003
|
+
"/:workerId/destroy": {
|
|
1004
|
+
$post: {
|
|
987
1005
|
output: {
|
|
988
1006
|
error: string;
|
|
989
1007
|
code?: "invalid_input" | undefined;
|
|
@@ -995,13 +1013,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
995
1013
|
workerId: string;
|
|
996
1014
|
};
|
|
997
1015
|
} & {
|
|
998
|
-
json:
|
|
1016
|
+
json: {
|
|
1017
|
+
discardWork?: true | undefined;
|
|
1018
|
+
};
|
|
999
1019
|
};
|
|
1000
|
-
}
|
|
1001
|
-
};
|
|
1002
|
-
} & {
|
|
1003
|
-
"/:workerId/destroy": {
|
|
1004
|
-
$post: {
|
|
1020
|
+
} | {
|
|
1005
1021
|
output: {
|
|
1006
1022
|
workerId: string;
|
|
1007
1023
|
state: "complete" | "incomplete";
|
|
@@ -1030,22 +1046,6 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1030
1046
|
discardWork?: true | undefined;
|
|
1031
1047
|
};
|
|
1032
1048
|
};
|
|
1033
|
-
} | {
|
|
1034
|
-
output: {
|
|
1035
|
-
error: string;
|
|
1036
|
-
code?: "invalid_input" | undefined;
|
|
1037
|
-
};
|
|
1038
|
-
outputFormat: "json";
|
|
1039
|
-
status: 400;
|
|
1040
|
-
input: {
|
|
1041
|
-
param: {
|
|
1042
|
-
workerId: string;
|
|
1043
|
-
};
|
|
1044
|
-
} & {
|
|
1045
|
-
json: {
|
|
1046
|
-
discardWork?: true | undefined;
|
|
1047
|
-
};
|
|
1048
|
-
};
|
|
1049
1049
|
} | {
|
|
1050
1050
|
output: {
|
|
1051
1051
|
workerId: string;
|
|
@@ -1081,13 +1081,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1081
1081
|
"/:workerId/diff": {
|
|
1082
1082
|
$get: {
|
|
1083
1083
|
output: {
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
diff: string;
|
|
1087
|
-
truncated: boolean;
|
|
1084
|
+
error: string;
|
|
1085
|
+
code?: "invalid_input" | undefined;
|
|
1088
1086
|
};
|
|
1089
1087
|
outputFormat: "json";
|
|
1090
|
-
status:
|
|
1088
|
+
status: 400;
|
|
1091
1089
|
input: {
|
|
1092
1090
|
param: {
|
|
1093
1091
|
workerId: string;
|
|
@@ -1095,11 +1093,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1095
1093
|
};
|
|
1096
1094
|
} | {
|
|
1097
1095
|
output: {
|
|
1098
|
-
|
|
1099
|
-
|
|
1096
|
+
workerId: string;
|
|
1097
|
+
baselineSha: string;
|
|
1098
|
+
diff: string;
|
|
1099
|
+
truncated: boolean;
|
|
1100
1100
|
};
|
|
1101
1101
|
outputFormat: "json";
|
|
1102
|
-
status:
|
|
1102
|
+
status: 200;
|
|
1103
1103
|
input: {
|
|
1104
1104
|
param: {
|
|
1105
1105
|
workerId: string;
|
|
@@ -58,29 +58,6 @@ export declare function ciProgressPlugs(): {
|
|
|
58
58
|
export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, {
|
|
59
59
|
"/workspace/activity": {
|
|
60
60
|
$get: {
|
|
61
|
-
output: {
|
|
62
|
-
error: string;
|
|
63
|
-
code?: "invalid_input" | undefined;
|
|
64
|
-
};
|
|
65
|
-
outputFormat: "json";
|
|
66
|
-
status: 400;
|
|
67
|
-
input: {
|
|
68
|
-
query: {
|
|
69
|
-
project?: string | undefined;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
} | {
|
|
73
|
-
output: {
|
|
74
|
-
error: string;
|
|
75
|
-
};
|
|
76
|
-
outputFormat: "json";
|
|
77
|
-
status: 404 | 409 | 503;
|
|
78
|
-
input: {
|
|
79
|
-
query: {
|
|
80
|
-
project?: string | undefined;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
} | {
|
|
84
61
|
output: {
|
|
85
62
|
generatedAt: string;
|
|
86
63
|
projects: {
|
|
@@ -327,6 +304,29 @@ export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): impo
|
|
|
327
304
|
project?: string | undefined;
|
|
328
305
|
};
|
|
329
306
|
};
|
|
307
|
+
} | {
|
|
308
|
+
output: {
|
|
309
|
+
error: string;
|
|
310
|
+
code?: "invalid_input" | undefined;
|
|
311
|
+
};
|
|
312
|
+
outputFormat: "json";
|
|
313
|
+
status: 400;
|
|
314
|
+
input: {
|
|
315
|
+
query: {
|
|
316
|
+
project?: string | undefined;
|
|
317
|
+
};
|
|
318
|
+
};
|
|
319
|
+
} | {
|
|
320
|
+
output: {
|
|
321
|
+
error: string;
|
|
322
|
+
};
|
|
323
|
+
outputFormat: "json";
|
|
324
|
+
status: 404 | 409 | 503;
|
|
325
|
+
input: {
|
|
326
|
+
query: {
|
|
327
|
+
project?: string | undefined;
|
|
328
|
+
};
|
|
329
|
+
};
|
|
330
330
|
};
|
|
331
331
|
};
|
|
332
332
|
}, "/", "/workspace/activity">;
|
|
@@ -22,6 +22,18 @@ 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
|
+
};
|
|
25
37
|
} | {
|
|
26
38
|
output: {
|
|
27
39
|
runner: string;
|
|
@@ -43,18 +55,6 @@ export declare function createModelsRoutes(options: {
|
|
|
43
55
|
profileId?: string | undefined;
|
|
44
56
|
};
|
|
45
57
|
};
|
|
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">;
|
|
@@ -113,10 +113,42 @@ export declare function createUiStateRoutes(): import("hono/hono-base").HonoBase
|
|
|
113
113
|
"/ui-state": {
|
|
114
114
|
$put: {
|
|
115
115
|
output: {
|
|
116
|
-
|
|
116
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
117
|
+
sidebarLimits?: {
|
|
118
|
+
overall?: number | null | undefined;
|
|
119
|
+
needsYou?: number | null | undefined;
|
|
120
|
+
finished?: number | null | undefined;
|
|
121
|
+
working?: number | null | undefined;
|
|
122
|
+
} | undefined;
|
|
123
|
+
lastTask?: {
|
|
124
|
+
source: "skill" | "workflow";
|
|
125
|
+
ref: string;
|
|
126
|
+
} | null | undefined;
|
|
127
|
+
recentSources?: {
|
|
128
|
+
source: "skill" | "workflow";
|
|
129
|
+
ref: string;
|
|
130
|
+
}[] | undefined;
|
|
131
|
+
lastWorktree?: boolean | undefined;
|
|
132
|
+
lastAutonomous?: boolean | undefined;
|
|
133
|
+
skillUsage?: {
|
|
134
|
+
[x: string]: number;
|
|
135
|
+
} | undefined;
|
|
136
|
+
runsView?: "list" | "table" | undefined;
|
|
137
|
+
githubView?: "issues" | "prs" | undefined;
|
|
138
|
+
appearance?: {
|
|
139
|
+
accent?: "cezarion" | "lime" | "violet" | undefined;
|
|
140
|
+
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
141
|
+
width?: "narrow" | "wide" | undefined;
|
|
142
|
+
} | undefined;
|
|
143
|
+
promptTemplates?: {
|
|
144
|
+
id: string;
|
|
145
|
+
label: string;
|
|
146
|
+
text: string;
|
|
147
|
+
skills?: string[] | undefined;
|
|
148
|
+
}[] | undefined;
|
|
117
149
|
};
|
|
118
150
|
outputFormat: "json";
|
|
119
|
-
status:
|
|
151
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
120
152
|
input: {
|
|
121
153
|
json: {
|
|
122
154
|
[x: string]: unknown;
|
|
@@ -154,42 +186,10 @@ export declare function createUiStateRoutes(): import("hono/hono-base").HonoBase
|
|
|
154
186
|
};
|
|
155
187
|
} | {
|
|
156
188
|
output: {
|
|
157
|
-
|
|
158
|
-
sidebarLimits?: {
|
|
159
|
-
overall?: number | null | undefined;
|
|
160
|
-
needsYou?: number | null | undefined;
|
|
161
|
-
finished?: number | null | undefined;
|
|
162
|
-
working?: number | null | undefined;
|
|
163
|
-
} | undefined;
|
|
164
|
-
lastTask?: {
|
|
165
|
-
source: "skill" | "workflow";
|
|
166
|
-
ref: string;
|
|
167
|
-
} | null | undefined;
|
|
168
|
-
recentSources?: {
|
|
169
|
-
source: "skill" | "workflow";
|
|
170
|
-
ref: string;
|
|
171
|
-
}[] | undefined;
|
|
172
|
-
lastWorktree?: boolean | undefined;
|
|
173
|
-
lastAutonomous?: boolean | undefined;
|
|
174
|
-
skillUsage?: {
|
|
175
|
-
[x: string]: number;
|
|
176
|
-
} | undefined;
|
|
177
|
-
runsView?: "list" | "table" | undefined;
|
|
178
|
-
githubView?: "issues" | "prs" | undefined;
|
|
179
|
-
appearance?: {
|
|
180
|
-
accent?: "cezarion" | "lime" | "violet" | undefined;
|
|
181
|
-
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
182
|
-
width?: "narrow" | "wide" | undefined;
|
|
183
|
-
} | undefined;
|
|
184
|
-
promptTemplates?: {
|
|
185
|
-
id: string;
|
|
186
|
-
label: string;
|
|
187
|
-
text: string;
|
|
188
|
-
skills?: string[] | undefined;
|
|
189
|
-
}[] | undefined;
|
|
189
|
+
error: string;
|
|
190
190
|
};
|
|
191
191
|
outputFormat: "json";
|
|
192
|
-
status:
|
|
192
|
+
status: 500;
|
|
193
193
|
input: {
|
|
194
194
|
json: {
|
|
195
195
|
[x: string]: unknown;
|
|
@@ -275,11 +275,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
275
275
|
"/workflows": {
|
|
276
276
|
$post: {
|
|
277
277
|
output: {
|
|
278
|
-
|
|
279
|
-
name: string;
|
|
278
|
+
error: string;
|
|
280
279
|
};
|
|
281
280
|
outputFormat: "json";
|
|
282
|
-
status:
|
|
281
|
+
status: 400;
|
|
283
282
|
input: {
|
|
284
283
|
json: {
|
|
285
284
|
name: string;
|
|
@@ -312,9 +311,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
312
311
|
} | {
|
|
313
312
|
output: {
|
|
314
313
|
error: string;
|
|
314
|
+
exists: true;
|
|
315
315
|
};
|
|
316
316
|
outputFormat: "json";
|
|
317
|
-
status:
|
|
317
|
+
status: 409;
|
|
318
318
|
input: {
|
|
319
319
|
json: {
|
|
320
320
|
name: string;
|
|
@@ -347,10 +347,9 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
347
347
|
} | {
|
|
348
348
|
output: {
|
|
349
349
|
error: string;
|
|
350
|
-
exists: true;
|
|
351
350
|
};
|
|
352
351
|
outputFormat: "json";
|
|
353
|
-
status:
|
|
352
|
+
status: 500;
|
|
354
353
|
input: {
|
|
355
354
|
json: {
|
|
356
355
|
name: string;
|
|
@@ -382,10 +381,11 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
382
381
|
};
|
|
383
382
|
} | {
|
|
384
383
|
output: {
|
|
385
|
-
|
|
384
|
+
path: string;
|
|
385
|
+
name: string;
|
|
386
386
|
};
|
|
387
387
|
outputFormat: "json";
|
|
388
|
-
status:
|
|
388
|
+
status: 201;
|
|
389
389
|
input: {
|
|
390
390
|
json: {
|
|
391
391
|
name: string;
|
|
@@ -421,11 +421,10 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
421
421
|
"/workflows/:name": {
|
|
422
422
|
$delete: {
|
|
423
423
|
output: {
|
|
424
|
-
|
|
425
|
-
path: string;
|
|
424
|
+
error: string;
|
|
426
425
|
};
|
|
427
426
|
outputFormat: "json";
|
|
428
|
-
status:
|
|
427
|
+
status: 400 | 404 | 409 | 500;
|
|
429
428
|
input: {
|
|
430
429
|
param: {
|
|
431
430
|
name: string;
|
|
@@ -433,10 +432,11 @@ export declare function createWorkflowsRoutes(): import("hono/hono-base").HonoBa
|
|
|
433
432
|
};
|
|
434
433
|
} | {
|
|
435
434
|
output: {
|
|
436
|
-
|
|
435
|
+
ok: true;
|
|
436
|
+
path: string;
|
|
437
437
|
};
|
|
438
438
|
outputFormat: "json";
|
|
439
|
-
status:
|
|
439
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
440
440
|
input: {
|
|
441
441
|
param: {
|
|
442
442
|
name: string;
|
|
@@ -504,6 +504,18 @@ export interface PlanRouteDeps {
|
|
|
504
504
|
export declare function createPlanRoutes(deps: PlanRouteDeps): import("hono/hono-base").HonoBase<ProjectApiEnv, {
|
|
505
505
|
"/plan": {
|
|
506
506
|
$post: {
|
|
507
|
+
output: {
|
|
508
|
+
error: string;
|
|
509
|
+
};
|
|
510
|
+
outputFormat: "json";
|
|
511
|
+
status: 400 | 404 | 409;
|
|
512
|
+
input: {
|
|
513
|
+
json: {
|
|
514
|
+
task: string;
|
|
515
|
+
agentProfile?: string | undefined;
|
|
516
|
+
};
|
|
517
|
+
};
|
|
518
|
+
} | {
|
|
507
519
|
output: {
|
|
508
520
|
name?: string;
|
|
509
521
|
steps: {
|
|
@@ -540,18 +552,6 @@ export declare function createPlanRoutes(deps: PlanRouteDeps): import("hono/hono
|
|
|
540
552
|
agentProfile?: string | undefined;
|
|
541
553
|
};
|
|
542
554
|
};
|
|
543
|
-
} | {
|
|
544
|
-
output: {
|
|
545
|
-
error: string;
|
|
546
|
-
};
|
|
547
|
-
outputFormat: "json";
|
|
548
|
-
status: 400 | 404 | 409;
|
|
549
|
-
input: {
|
|
550
|
-
json: {
|
|
551
|
-
task: string;
|
|
552
|
-
agentProfile?: string | undefined;
|
|
553
|
-
};
|
|
554
|
-
};
|
|
555
555
|
};
|
|
556
556
|
};
|
|
557
557
|
}, "/", "/plan">;
|
|
@@ -599,10 +599,34 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
|
|
|
599
599
|
"/config": {
|
|
600
600
|
$put: {
|
|
601
601
|
output: {
|
|
602
|
-
|
|
602
|
+
archiveOnMerge: boolean | null;
|
|
603
|
+
effectiveArchiveOnMerge: boolean;
|
|
604
|
+
archiveOnMergeSource: "default" | "environment" | "global" | "project";
|
|
605
|
+
baseBranch: string | null;
|
|
606
|
+
defaultRunner: string;
|
|
607
|
+
systemPrompt: string | null;
|
|
608
|
+
defaultModels: {
|
|
609
|
+
[x: string]: string | undefined;
|
|
610
|
+
};
|
|
611
|
+
modelsLocked: boolean;
|
|
612
|
+
maxParallel: number;
|
|
613
|
+
memoryLimitMb: number | null;
|
|
614
|
+
worktreeRetention: number;
|
|
615
|
+
liveTitleUpdates: boolean | null;
|
|
616
|
+
reviewGate: boolean | null;
|
|
617
|
+
worktreeSetup: {
|
|
618
|
+
commands: string[];
|
|
619
|
+
timeoutSeconds: number;
|
|
620
|
+
} | null;
|
|
621
|
+
worktreeSetupIssue: string | null;
|
|
622
|
+
worktreeTeardown: {
|
|
623
|
+
commands: string[];
|
|
624
|
+
timeoutSeconds: number;
|
|
625
|
+
} | null;
|
|
626
|
+
worktreeTeardownIssue: string | null;
|
|
603
627
|
};
|
|
604
628
|
outputFormat: "json";
|
|
605
|
-
status:
|
|
629
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
606
630
|
input: {
|
|
607
631
|
json: {
|
|
608
632
|
archiveOnMerge?: boolean | null | undefined;
|
|
@@ -630,7 +654,7 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
|
|
|
630
654
|
error: string;
|
|
631
655
|
};
|
|
632
656
|
outputFormat: "json";
|
|
633
|
-
status:
|
|
657
|
+
status: 409;
|
|
634
658
|
input: {
|
|
635
659
|
json: {
|
|
636
660
|
archiveOnMerge?: boolean | null | undefined;
|
|
@@ -655,34 +679,10 @@ export declare function createConfigRoutes(deps: ConfigRouteDeps): import("hono/
|
|
|
655
679
|
};
|
|
656
680
|
} | {
|
|
657
681
|
output: {
|
|
658
|
-
|
|
659
|
-
effectiveArchiveOnMerge: boolean;
|
|
660
|
-
archiveOnMergeSource: "default" | "environment" | "global" | "project";
|
|
661
|
-
baseBranch: string | null;
|
|
662
|
-
defaultRunner: string;
|
|
663
|
-
systemPrompt: string | null;
|
|
664
|
-
defaultModels: {
|
|
665
|
-
[x: string]: string | undefined;
|
|
666
|
-
};
|
|
667
|
-
modelsLocked: boolean;
|
|
668
|
-
maxParallel: number;
|
|
669
|
-
memoryLimitMb: number | null;
|
|
670
|
-
worktreeRetention: number;
|
|
671
|
-
liveTitleUpdates: boolean | null;
|
|
672
|
-
reviewGate: boolean | null;
|
|
673
|
-
worktreeSetup: {
|
|
674
|
-
commands: string[];
|
|
675
|
-
timeoutSeconds: number;
|
|
676
|
-
} | null;
|
|
677
|
-
worktreeSetupIssue: string | null;
|
|
678
|
-
worktreeTeardown: {
|
|
679
|
-
commands: string[];
|
|
680
|
-
timeoutSeconds: number;
|
|
681
|
-
} | null;
|
|
682
|
-
worktreeTeardownIssue: string | null;
|
|
682
|
+
error: string;
|
|
683
683
|
};
|
|
684
684
|
outputFormat: "json";
|
|
685
|
-
status:
|
|
685
|
+
status: 500;
|
|
686
686
|
input: {
|
|
687
687
|
json: {
|
|
688
688
|
archiveOnMerge?: boolean | null | undefined;
|
|
@@ -796,10 +796,14 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
|
|
|
796
796
|
"/agent-config/:id": {
|
|
797
797
|
$put: {
|
|
798
798
|
output: {
|
|
799
|
-
|
|
799
|
+
id: string;
|
|
800
|
+
path: string;
|
|
801
|
+
exists: boolean;
|
|
802
|
+
content: string;
|
|
803
|
+
version: string | null;
|
|
800
804
|
};
|
|
801
805
|
outputFormat: "json";
|
|
802
|
-
status:
|
|
806
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
803
807
|
input: {
|
|
804
808
|
json: {
|
|
805
809
|
content: string;
|
|
@@ -812,14 +816,10 @@ export declare function createAgentConfigRoutes(capabilities: ServerCapabilities
|
|
|
812
816
|
};
|
|
813
817
|
} | {
|
|
814
818
|
output: {
|
|
815
|
-
|
|
816
|
-
path: string;
|
|
817
|
-
exists: boolean;
|
|
818
|
-
content: string;
|
|
819
|
-
version: string | null;
|
|
819
|
+
error: string;
|
|
820
820
|
};
|
|
821
821
|
outputFormat: "json";
|
|
822
|
-
status:
|
|
822
|
+
status: 404;
|
|
823
823
|
input: {
|
|
824
824
|
json: {
|
|
825
825
|
content: string;
|
|
@@ -941,12 +941,9 @@ export declare function createAgentWebhooksRoutes(deps: AgentWebhooksRouteDeps):
|
|
|
941
941
|
export declare function createSseRoutes(): import("hono/hono-base").HonoBase<ProjectApiEnv, {
|
|
942
942
|
"/runs/:id/events": {
|
|
943
943
|
$get: {
|
|
944
|
-
output: {
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
};
|
|
948
|
-
outputFormat: "json";
|
|
949
|
-
status: 400;
|
|
944
|
+
output: {};
|
|
945
|
+
outputFormat: string;
|
|
946
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
950
947
|
input: {
|
|
951
948
|
param: {
|
|
952
949
|
id: string;
|
|
@@ -958,9 +955,12 @@ export declare function createSseRoutes(): import("hono/hono-base").HonoBase<Pro
|
|
|
958
955
|
};
|
|
959
956
|
};
|
|
960
957
|
} | {
|
|
961
|
-
output: {
|
|
962
|
-
|
|
963
|
-
|
|
958
|
+
output: {
|
|
959
|
+
error: string;
|
|
960
|
+
code?: "invalid_input" | undefined;
|
|
961
|
+
};
|
|
962
|
+
outputFormat: "json";
|
|
963
|
+
status: 400;
|
|
964
964
|
input: {
|
|
965
965
|
param: {
|
|
966
966
|
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;
|