@hearsay-tools/squawk 0.18.0-dev.8367 → 0.18.0-dev.8373
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/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/server.d.ts +58 -58
- package/dist/server/workspace-routes.d.ts +84 -84
- package/package.json +4 -4
|
@@ -2,18 +2,6 @@ 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
|
-
} | {
|
|
17
5
|
output: {
|
|
18
6
|
workers: {
|
|
19
7
|
workerId: string;
|
|
@@ -66,6 +54,18 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
66
54
|
offset?: string | undefined;
|
|
67
55
|
};
|
|
68
56
|
};
|
|
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,18 +652,6 @@ 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
|
-
} | {
|
|
667
655
|
output: {
|
|
668
656
|
workerId: string;
|
|
669
657
|
settled: boolean;
|
|
@@ -788,11 +776,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
788
776
|
workerId: string;
|
|
789
777
|
};
|
|
790
778
|
};
|
|
791
|
-
}
|
|
792
|
-
};
|
|
793
|
-
} & {
|
|
794
|
-
"/:workerId/collect": {
|
|
795
|
-
$post: {
|
|
779
|
+
} | {
|
|
796
780
|
output: {
|
|
797
781
|
error: string;
|
|
798
782
|
code?: "invalid_input" | undefined;
|
|
@@ -803,10 +787,12 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
803
787
|
param: {
|
|
804
788
|
workerId: string;
|
|
805
789
|
};
|
|
806
|
-
} & {
|
|
807
|
-
json: Record<string, never>;
|
|
808
790
|
};
|
|
809
|
-
}
|
|
791
|
+
};
|
|
792
|
+
};
|
|
793
|
+
} & {
|
|
794
|
+
"/:workerId/collect": {
|
|
795
|
+
$post: {
|
|
810
796
|
output: {
|
|
811
797
|
workerId: string;
|
|
812
798
|
parentRunId: string;
|
|
@@ -929,11 +915,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
929
915
|
} & {
|
|
930
916
|
json: Record<string, never>;
|
|
931
917
|
};
|
|
932
|
-
}
|
|
933
|
-
};
|
|
934
|
-
} & {
|
|
935
|
-
"/:workerId/steer": {
|
|
936
|
-
$post: {
|
|
918
|
+
} | {
|
|
937
919
|
output: {
|
|
938
920
|
error: string;
|
|
939
921
|
code?: "invalid_input" | undefined;
|
|
@@ -945,11 +927,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
945
927
|
workerId: string;
|
|
946
928
|
};
|
|
947
929
|
} & {
|
|
948
|
-
json:
|
|
949
|
-
text: string;
|
|
950
|
-
};
|
|
930
|
+
json: Record<string, never>;
|
|
951
931
|
};
|
|
952
|
-
}
|
|
932
|
+
};
|
|
933
|
+
};
|
|
934
|
+
} & {
|
|
935
|
+
"/:workerId/steer": {
|
|
936
|
+
$post: {
|
|
953
937
|
output: {
|
|
954
938
|
workerId: string;
|
|
955
939
|
state: "delivered" | "queued";
|
|
@@ -965,11 +949,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
965
949
|
text: string;
|
|
966
950
|
};
|
|
967
951
|
};
|
|
968
|
-
}
|
|
969
|
-
};
|
|
970
|
-
} & {
|
|
971
|
-
"/:workerId/stop": {
|
|
972
|
-
$post: {
|
|
952
|
+
} | {
|
|
973
953
|
output: {
|
|
974
954
|
error: string;
|
|
975
955
|
code?: "invalid_input" | undefined;
|
|
@@ -981,9 +961,15 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
981
961
|
workerId: string;
|
|
982
962
|
};
|
|
983
963
|
} & {
|
|
984
|
-
json:
|
|
964
|
+
json: {
|
|
965
|
+
text: string;
|
|
966
|
+
};
|
|
985
967
|
};
|
|
986
|
-
}
|
|
968
|
+
};
|
|
969
|
+
};
|
|
970
|
+
} & {
|
|
971
|
+
"/:workerId/stop": {
|
|
972
|
+
$post: {
|
|
987
973
|
output: {
|
|
988
974
|
workerId: string;
|
|
989
975
|
state: "stopping" | "terminated";
|
|
@@ -997,11 +983,7 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
997
983
|
} & {
|
|
998
984
|
json: Record<string, never>;
|
|
999
985
|
};
|
|
1000
|
-
}
|
|
1001
|
-
};
|
|
1002
|
-
} & {
|
|
1003
|
-
"/:workerId/destroy": {
|
|
1004
|
-
$post: {
|
|
986
|
+
} | {
|
|
1005
987
|
output: {
|
|
1006
988
|
error: string;
|
|
1007
989
|
code?: "invalid_input" | undefined;
|
|
@@ -1013,11 +995,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1013
995
|
workerId: string;
|
|
1014
996
|
};
|
|
1015
997
|
} & {
|
|
1016
|
-
json:
|
|
1017
|
-
discardWork?: true | undefined;
|
|
1018
|
-
};
|
|
998
|
+
json: Record<string, never>;
|
|
1019
999
|
};
|
|
1020
|
-
}
|
|
1000
|
+
};
|
|
1001
|
+
};
|
|
1002
|
+
} & {
|
|
1003
|
+
"/:workerId/destroy": {
|
|
1004
|
+
$post: {
|
|
1021
1005
|
output: {
|
|
1022
1006
|
workerId: string;
|
|
1023
1007
|
state: "complete" | "incomplete";
|
|
@@ -1046,6 +1030,22 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1046
1030
|
discardWork?: true | undefined;
|
|
1047
1031
|
};
|
|
1048
1032
|
};
|
|
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,11 +1081,13 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1081
1081
|
"/:workerId/diff": {
|
|
1082
1082
|
$get: {
|
|
1083
1083
|
output: {
|
|
1084
|
-
|
|
1085
|
-
|
|
1084
|
+
workerId: string;
|
|
1085
|
+
baselineSha: string;
|
|
1086
|
+
diff: string;
|
|
1087
|
+
truncated: boolean;
|
|
1086
1088
|
};
|
|
1087
1089
|
outputFormat: "json";
|
|
1088
|
-
status:
|
|
1090
|
+
status: 200;
|
|
1089
1091
|
input: {
|
|
1090
1092
|
param: {
|
|
1091
1093
|
workerId: string;
|
|
@@ -1093,13 +1095,11 @@ export declare function createDelegationApp(routes: DelegationRoutes): import("h
|
|
|
1093
1095
|
};
|
|
1094
1096
|
} | {
|
|
1095
1097
|
output: {
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
diff: string;
|
|
1099
|
-
truncated: boolean;
|
|
1098
|
+
error: string;
|
|
1099
|
+
code?: "invalid_input" | undefined;
|
|
1100
1100
|
};
|
|
1101
1101
|
outputFormat: "json";
|
|
1102
|
-
status:
|
|
1102
|
+
status: 400;
|
|
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">;
|
|
@@ -70,18 +70,10 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
70
70
|
};
|
|
71
71
|
} | {
|
|
72
72
|
output: {
|
|
73
|
-
|
|
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
|
-
}[];
|
|
73
|
+
error: string;
|
|
82
74
|
};
|
|
83
75
|
outputFormat: "json";
|
|
84
|
-
status:
|
|
76
|
+
status: 500;
|
|
85
77
|
input: {
|
|
86
78
|
param: {
|
|
87
79
|
provider: string;
|
|
@@ -93,10 +85,18 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
93
85
|
};
|
|
94
86
|
} | {
|
|
95
87
|
output: {
|
|
96
|
-
|
|
88
|
+
providers: {
|
|
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
|
+
}[];
|
|
97
97
|
};
|
|
98
98
|
outputFormat: "json";
|
|
99
|
-
status:
|
|
99
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
100
100
|
input: {
|
|
101
101
|
param: {
|
|
102
102
|
provider: string;
|
|
@@ -128,18 +128,10 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
128
128
|
};
|
|
129
129
|
} | {
|
|
130
130
|
output: {
|
|
131
|
-
|
|
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
|
-
}[];
|
|
131
|
+
error: string;
|
|
140
132
|
};
|
|
141
133
|
outputFormat: "json";
|
|
142
|
-
status:
|
|
134
|
+
status: 409;
|
|
143
135
|
input: {
|
|
144
136
|
param: {
|
|
145
137
|
provider: string;
|
|
@@ -151,10 +143,18 @@ export declare function createProvidersRoutes(deps: ProvidersRouteDeps): import(
|
|
|
151
143
|
};
|
|
152
144
|
} | {
|
|
153
145
|
output: {
|
|
154
|
-
|
|
146
|
+
providers: {
|
|
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
|
+
}[];
|
|
155
155
|
};
|
|
156
156
|
outputFormat: "json";
|
|
157
|
-
status:
|
|
157
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
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: 400;
|
|
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: 409;
|
|
189
189
|
input: {
|
|
190
190
|
json: {
|
|
191
191
|
provider: string;
|
|
@@ -290,10 +290,28 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
290
290
|
"/workspace/agent-profiles": {
|
|
291
291
|
$post: {
|
|
292
292
|
output: {
|
|
293
|
-
|
|
293
|
+
profile: {
|
|
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
|
+
};
|
|
294
312
|
};
|
|
295
313
|
outputFormat: "json";
|
|
296
|
-
status:
|
|
314
|
+
status: 201;
|
|
297
315
|
input: {
|
|
298
316
|
json: {
|
|
299
317
|
provider: string;
|
|
@@ -319,7 +337,7 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
319
337
|
error: string;
|
|
320
338
|
};
|
|
321
339
|
outputFormat: "json";
|
|
322
|
-
status:
|
|
340
|
+
status: 409;
|
|
323
341
|
input: {
|
|
324
342
|
json: {
|
|
325
343
|
provider: string;
|
|
@@ -329,28 +347,10 @@ export declare function createAgentProfilesRoutes(deps: AgentProfilesRouteDeps):
|
|
|
329
347
|
};
|
|
330
348
|
} | {
|
|
331
349
|
output: {
|
|
332
|
-
|
|
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
|
-
};
|
|
350
|
+
error: string;
|
|
351
351
|
};
|
|
352
352
|
outputFormat: "json";
|
|
353
|
-
status:
|
|
353
|
+
status: 500;
|
|
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: 400;
|
|
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: 404;
|
|
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: 409;
|
|
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: 400;
|
|
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: 404;
|
|
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: 404;
|
|
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: 409;
|
|
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: 500;
|
|
647
647
|
input: {
|
|
648
648
|
param: {
|
|
649
649
|
id: string;
|
|
@@ -31,7 +31,7 @@ export declare function createOpenTargetsRoutes(deps: OpenTargetsRouteDeps): imp
|
|
|
31
31
|
error: string;
|
|
32
32
|
};
|
|
33
33
|
outputFormat: "json";
|
|
34
|
-
status:
|
|
34
|
+
status: 400;
|
|
35
35
|
input: {
|
|
36
36
|
json: {
|
|
37
37
|
target: string;
|
|
@@ -42,7 +42,7 @@ export declare function createOpenTargetsRoutes(deps: OpenTargetsRouteDeps): imp
|
|
|
42
42
|
error: string;
|
|
43
43
|
};
|
|
44
44
|
outputFormat: "json";
|
|
45
|
-
status:
|
|
45
|
+
status: 409;
|
|
46
46
|
input: {
|
|
47
47
|
json: {
|
|
48
48
|
target: string;
|
|
@@ -120,10 +120,11 @@ export declare function createWorktreesRoutes(deps: WorktreesRouteDeps): import(
|
|
|
120
120
|
};
|
|
121
121
|
} | {
|
|
122
122
|
output: {
|
|
123
|
-
|
|
123
|
+
runId: string;
|
|
124
|
+
worktreeReclaimedAt: string;
|
|
124
125
|
};
|
|
125
126
|
outputFormat: "json";
|
|
126
|
-
status:
|
|
127
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
127
128
|
input: {
|
|
128
129
|
param: {
|
|
129
130
|
runId: string;
|
|
@@ -131,11 +132,10 @@ export declare function createWorktreesRoutes(deps: WorktreesRouteDeps): import(
|
|
|
131
132
|
};
|
|
132
133
|
} | {
|
|
133
134
|
output: {
|
|
134
|
-
|
|
135
|
-
worktreeReclaimedAt: string;
|
|
135
|
+
error: string;
|
|
136
136
|
};
|
|
137
137
|
outputFormat: "json";
|
|
138
|
-
status:
|
|
138
|
+
status: 404 | 409;
|
|
139
139
|
input: {
|
|
140
140
|
param: {
|
|
141
141
|
runId: string;
|
|
@@ -267,14 +267,18 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
267
267
|
"/repo/branches/delete": {
|
|
268
268
|
$post: {
|
|
269
269
|
output: {
|
|
270
|
-
|
|
270
|
+
deleted: string[];
|
|
271
271
|
refused: {
|
|
272
272
|
name: string;
|
|
273
273
|
reason: string;
|
|
274
274
|
}[];
|
|
275
|
+
dropped?: {
|
|
276
|
+
sha: string;
|
|
277
|
+
subject: string;
|
|
278
|
+
}[] | undefined;
|
|
275
279
|
};
|
|
276
280
|
outputFormat: "json";
|
|
277
|
-
status:
|
|
281
|
+
status: 200;
|
|
278
282
|
input: {
|
|
279
283
|
json: {
|
|
280
284
|
names: string[];
|
|
@@ -283,18 +287,14 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
283
287
|
};
|
|
284
288
|
} | {
|
|
285
289
|
output: {
|
|
286
|
-
|
|
290
|
+
error: string;
|
|
287
291
|
refused: {
|
|
288
292
|
name: string;
|
|
289
293
|
reason: string;
|
|
290
294
|
}[];
|
|
291
|
-
dropped?: {
|
|
292
|
-
sha: string;
|
|
293
|
-
subject: string;
|
|
294
|
-
}[] | undefined;
|
|
295
295
|
};
|
|
296
296
|
outputFormat: "json";
|
|
297
|
-
status:
|
|
297
|
+
status: 409;
|
|
298
298
|
input: {
|
|
299
299
|
json: {
|
|
300
300
|
names: string[];
|
|
@@ -315,19 +315,6 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
315
315
|
} & {
|
|
316
316
|
"/repo/commit/:sha": {
|
|
317
317
|
$get: {
|
|
318
|
-
output: string;
|
|
319
|
-
outputFormat: "text";
|
|
320
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
321
|
-
input: {
|
|
322
|
-
query: {
|
|
323
|
-
structured?: string | undefined;
|
|
324
|
-
};
|
|
325
|
-
} & {
|
|
326
|
-
param: {
|
|
327
|
-
sha: string;
|
|
328
|
-
};
|
|
329
|
-
};
|
|
330
|
-
} | {
|
|
331
318
|
output: {
|
|
332
319
|
error: string;
|
|
333
320
|
code?: "invalid_input" | undefined;
|
|
@@ -391,6 +378,19 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
391
378
|
sha: string;
|
|
392
379
|
};
|
|
393
380
|
};
|
|
381
|
+
} | {
|
|
382
|
+
output: string;
|
|
383
|
+
outputFormat: "text";
|
|
384
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
385
|
+
input: {
|
|
386
|
+
query: {
|
|
387
|
+
structured?: string | undefined;
|
|
388
|
+
};
|
|
389
|
+
} & {
|
|
390
|
+
param: {
|
|
391
|
+
sha: string;
|
|
392
|
+
};
|
|
393
|
+
};
|
|
394
394
|
};
|
|
395
395
|
};
|
|
396
396
|
} & {
|
|
@@ -451,10 +451,12 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
451
451
|
"/repo/pull": {
|
|
452
452
|
$post: {
|
|
453
453
|
output: {
|
|
454
|
-
|
|
454
|
+
branch: string;
|
|
455
|
+
pulled: true;
|
|
456
|
+
summary: string;
|
|
455
457
|
};
|
|
456
458
|
outputFormat: "json";
|
|
457
|
-
status:
|
|
459
|
+
status: 200;
|
|
458
460
|
input: {
|
|
459
461
|
json: {
|
|
460
462
|
branch?: string | undefined;
|
|
@@ -463,12 +465,10 @@ export declare function createRepoRoutes(deps: RepoRouteDeps): import("hono/hono
|
|
|
463
465
|
};
|
|
464
466
|
} | {
|
|
465
467
|
output: {
|
|
466
|
-
|
|
467
|
-
pulled: true;
|
|
468
|
-
summary: string;
|
|
468
|
+
error: string;
|
|
469
469
|
};
|
|
470
470
|
outputFormat: "json";
|
|
471
|
-
status:
|
|
471
|
+
status: 409;
|
|
472
472
|
input: {
|
|
473
473
|
json: {
|
|
474
474
|
branch?: string | undefined;
|
|
@@ -40,7 +40,7 @@ export declare const reportsRoutes: import("hono/hono-base").HonoBase<ProjectApi
|
|
|
40
40
|
error: string;
|
|
41
41
|
};
|
|
42
42
|
outputFormat: "json";
|
|
43
|
-
status:
|
|
43
|
+
status: 400;
|
|
44
44
|
input: {
|
|
45
45
|
query: {
|
|
46
46
|
q?: string | undefined;
|
|
@@ -53,7 +53,7 @@ export declare const reportsRoutes: import("hono/hono-base").HonoBase<ProjectApi
|
|
|
53
53
|
error: string;
|
|
54
54
|
};
|
|
55
55
|
outputFormat: "json";
|
|
56
|
-
status:
|
|
56
|
+
status: 409;
|
|
57
57
|
input: {
|
|
58
58
|
query: {
|
|
59
59
|
q?: string | undefined;
|
|
@@ -12273,20 +12273,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12273
12273
|
} & {
|
|
12274
12274
|
"/runs/:id/handoff": {
|
|
12275
12275
|
$get: {
|
|
12276
|
-
output:
|
|
12277
|
-
|
|
12278
|
-
|
|
12279
|
-
outputFormat: "json";
|
|
12280
|
-
status: 404;
|
|
12276
|
+
output: string;
|
|
12277
|
+
outputFormat: "text";
|
|
12278
|
+
status: 200;
|
|
12281
12279
|
input: {
|
|
12282
12280
|
param: {
|
|
12283
12281
|
id: string;
|
|
12284
12282
|
};
|
|
12285
12283
|
};
|
|
12286
12284
|
} | {
|
|
12287
|
-
output:
|
|
12288
|
-
|
|
12289
|
-
|
|
12285
|
+
output: {
|
|
12286
|
+
error: string;
|
|
12287
|
+
};
|
|
12288
|
+
outputFormat: "json";
|
|
12289
|
+
status: 404;
|
|
12290
12290
|
input: {
|
|
12291
12291
|
param: {
|
|
12292
12292
|
id: string;
|
|
@@ -12324,20 +12324,20 @@ export declare function createRunsRoutes(deps: RunsRouteDeps): import("hono/hono
|
|
|
12324
12324
|
} & {
|
|
12325
12325
|
"/runs/:id/diff": {
|
|
12326
12326
|
$get: {
|
|
12327
|
-
output:
|
|
12328
|
-
|
|
12329
|
-
|
|
12330
|
-
outputFormat: "json";
|
|
12331
|
-
status: 404 | 409;
|
|
12327
|
+
output: string;
|
|
12328
|
+
outputFormat: "text";
|
|
12329
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
12332
12330
|
input: {
|
|
12333
12331
|
param: {
|
|
12334
12332
|
id: string;
|
|
12335
12333
|
};
|
|
12336
12334
|
};
|
|
12337
12335
|
} | {
|
|
12338
|
-
output:
|
|
12339
|
-
|
|
12340
|
-
|
|
12336
|
+
output: {
|
|
12337
|
+
error: string;
|
|
12338
|
+
};
|
|
12339
|
+
outputFormat: "json";
|
|
12340
|
+
status: 404 | 409;
|
|
12341
12341
|
input: {
|
|
12342
12342
|
param: {
|
|
12343
12343
|
id: string;
|
package/dist/server/server.d.ts
CHANGED
|
@@ -4609,6 +4609,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4609
4609
|
} & {
|
|
4610
4610
|
"/repo/commit/:sha": {
|
|
4611
4611
|
$get: {
|
|
4612
|
+
output: string;
|
|
4613
|
+
outputFormat: "text";
|
|
4614
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4615
|
+
input: {
|
|
4616
|
+
query: {
|
|
4617
|
+
structured?: string | undefined;
|
|
4618
|
+
};
|
|
4619
|
+
} & {
|
|
4620
|
+
param: {
|
|
4621
|
+
sha: string;
|
|
4622
|
+
};
|
|
4623
|
+
};
|
|
4624
|
+
} | {
|
|
4612
4625
|
output: {
|
|
4613
4626
|
error: string;
|
|
4614
4627
|
code?: "invalid_input" | undefined;
|
|
@@ -4672,19 +4685,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4672
4685
|
sha: string;
|
|
4673
4686
|
};
|
|
4674
4687
|
};
|
|
4675
|
-
} | {
|
|
4676
|
-
output: string;
|
|
4677
|
-
outputFormat: "text";
|
|
4678
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4679
|
-
input: {
|
|
4680
|
-
query: {
|
|
4681
|
-
structured?: string | undefined;
|
|
4682
|
-
};
|
|
4683
|
-
} & {
|
|
4684
|
-
param: {
|
|
4685
|
-
sha: string;
|
|
4686
|
-
};
|
|
4687
|
-
};
|
|
4688
4688
|
};
|
|
4689
4689
|
};
|
|
4690
4690
|
} & {
|
|
@@ -19152,20 +19152,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19152
19152
|
} & {
|
|
19153
19153
|
"/runs/:id/handoff": {
|
|
19154
19154
|
$get: {
|
|
19155
|
-
output:
|
|
19156
|
-
|
|
19157
|
-
|
|
19158
|
-
outputFormat: "json";
|
|
19159
|
-
status: 404;
|
|
19155
|
+
output: string;
|
|
19156
|
+
outputFormat: "text";
|
|
19157
|
+
status: 200;
|
|
19160
19158
|
input: {
|
|
19161
19159
|
param: {
|
|
19162
19160
|
id: string;
|
|
19163
19161
|
};
|
|
19164
19162
|
};
|
|
19165
19163
|
} | {
|
|
19166
|
-
output:
|
|
19167
|
-
|
|
19168
|
-
|
|
19164
|
+
output: {
|
|
19165
|
+
error: string;
|
|
19166
|
+
};
|
|
19167
|
+
outputFormat: "json";
|
|
19168
|
+
status: 404;
|
|
19169
19169
|
input: {
|
|
19170
19170
|
param: {
|
|
19171
19171
|
id: string;
|
|
@@ -19203,20 +19203,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19203
19203
|
} & {
|
|
19204
19204
|
"/runs/:id/diff": {
|
|
19205
19205
|
$get: {
|
|
19206
|
-
output:
|
|
19207
|
-
|
|
19208
|
-
|
|
19209
|
-
outputFormat: "json";
|
|
19210
|
-
status: 404 | 409;
|
|
19206
|
+
output: string;
|
|
19207
|
+
outputFormat: "text";
|
|
19208
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19211
19209
|
input: {
|
|
19212
19210
|
param: {
|
|
19213
19211
|
id: string;
|
|
19214
19212
|
};
|
|
19215
19213
|
};
|
|
19216
19214
|
} | {
|
|
19217
|
-
output:
|
|
19218
|
-
|
|
19219
|
-
|
|
19215
|
+
output: {
|
|
19216
|
+
error: string;
|
|
19217
|
+
};
|
|
19218
|
+
outputFormat: "json";
|
|
19219
|
+
status: 404 | 409;
|
|
19220
19220
|
input: {
|
|
19221
19221
|
param: {
|
|
19222
19222
|
id: string;
|
|
@@ -21250,6 +21250,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
21250
21250
|
} & {
|
|
21251
21251
|
"/repo/commit/:sha": {
|
|
21252
21252
|
$get: {
|
|
21253
|
+
output: string;
|
|
21254
|
+
outputFormat: "text";
|
|
21255
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21256
|
+
input: {
|
|
21257
|
+
query: {
|
|
21258
|
+
structured?: string | undefined;
|
|
21259
|
+
};
|
|
21260
|
+
} & {
|
|
21261
|
+
param: {
|
|
21262
|
+
sha: string;
|
|
21263
|
+
};
|
|
21264
|
+
};
|
|
21265
|
+
} | {
|
|
21253
21266
|
output: {
|
|
21254
21267
|
error: string;
|
|
21255
21268
|
code?: "invalid_input" | undefined;
|
|
@@ -21313,19 +21326,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
21313
21326
|
sha: string;
|
|
21314
21327
|
};
|
|
21315
21328
|
};
|
|
21316
|
-
} | {
|
|
21317
|
-
output: string;
|
|
21318
|
-
outputFormat: "text";
|
|
21319
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21320
|
-
input: {
|
|
21321
|
-
query: {
|
|
21322
|
-
structured?: string | undefined;
|
|
21323
|
-
};
|
|
21324
|
-
} & {
|
|
21325
|
-
param: {
|
|
21326
|
-
sha: string;
|
|
21327
|
-
};
|
|
21328
|
-
};
|
|
21329
21329
|
};
|
|
21330
21330
|
};
|
|
21331
21331
|
} & {
|
|
@@ -35793,20 +35793,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
35793
35793
|
} & {
|
|
35794
35794
|
"/runs/:id/handoff": {
|
|
35795
35795
|
$get: {
|
|
35796
|
-
output:
|
|
35797
|
-
|
|
35798
|
-
|
|
35799
|
-
outputFormat: "json";
|
|
35800
|
-
status: 404;
|
|
35796
|
+
output: string;
|
|
35797
|
+
outputFormat: "text";
|
|
35798
|
+
status: 200;
|
|
35801
35799
|
input: {
|
|
35802
35800
|
param: {
|
|
35803
35801
|
id: string;
|
|
35804
35802
|
};
|
|
35805
35803
|
};
|
|
35806
35804
|
} | {
|
|
35807
|
-
output:
|
|
35808
|
-
|
|
35809
|
-
|
|
35805
|
+
output: {
|
|
35806
|
+
error: string;
|
|
35807
|
+
};
|
|
35808
|
+
outputFormat: "json";
|
|
35809
|
+
status: 404;
|
|
35810
35810
|
input: {
|
|
35811
35811
|
param: {
|
|
35812
35812
|
id: string;
|
|
@@ -35844,20 +35844,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
35844
35844
|
} & {
|
|
35845
35845
|
"/runs/:id/diff": {
|
|
35846
35846
|
$get: {
|
|
35847
|
-
output:
|
|
35848
|
-
|
|
35849
|
-
|
|
35850
|
-
outputFormat: "json";
|
|
35851
|
-
status: 404 | 409;
|
|
35847
|
+
output: string;
|
|
35848
|
+
outputFormat: "text";
|
|
35849
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
35852
35850
|
input: {
|
|
35853
35851
|
param: {
|
|
35854
35852
|
id: string;
|
|
35855
35853
|
};
|
|
35856
35854
|
};
|
|
35857
35855
|
} | {
|
|
35858
|
-
output:
|
|
35859
|
-
|
|
35860
|
-
|
|
35856
|
+
output: {
|
|
35857
|
+
error: string;
|
|
35858
|
+
};
|
|
35859
|
+
outputFormat: "json";
|
|
35860
|
+
status: 404 | 409;
|
|
35861
35861
|
input: {
|
|
35862
35862
|
param: {
|
|
35863
35863
|
id: string;
|
|
@@ -51,34 +51,10 @@ export declare function createWorkspaceConfigRoutes(deps: WorkspaceConfigRouteDe
|
|
|
51
51
|
"/workspace/config": {
|
|
52
52
|
$put: {
|
|
53
53
|
output: {
|
|
54
|
-
|
|
55
|
-
projectsDir: string;
|
|
56
|
-
archiveOnMerge: boolean | null;
|
|
57
|
-
effectiveArchiveOnMerge: boolean;
|
|
58
|
-
archiveOnMergeSource: "default" | "environment" | "global";
|
|
59
|
-
composerDefaults: {
|
|
60
|
-
autonomous: boolean | null;
|
|
61
|
-
worktree: boolean | null;
|
|
62
|
-
inheritedAutonomous: "source-dependent" | boolean;
|
|
63
|
-
inheritedWorktree: boolean;
|
|
64
|
-
};
|
|
65
|
-
resources: {
|
|
66
|
-
maxParallel: number;
|
|
67
|
-
maxMonitoringSessions: number;
|
|
68
|
-
monitoringWakeIntervalMinutes: number | null;
|
|
69
|
-
autoResumeOnUsageLimit: boolean;
|
|
70
|
-
memoryLimitMb: number | null;
|
|
71
|
-
worktreeRetentionDefault: number;
|
|
72
|
-
};
|
|
73
|
-
agentDefaults: {
|
|
74
|
-
runner?: string | undefined;
|
|
75
|
-
models?: {
|
|
76
|
-
[x: string]: string | undefined;
|
|
77
|
-
} | undefined;
|
|
78
|
-
};
|
|
54
|
+
error: string;
|
|
79
55
|
};
|
|
80
56
|
outputFormat: "json";
|
|
81
|
-
status:
|
|
57
|
+
status: 400;
|
|
82
58
|
input: {
|
|
83
59
|
json: {
|
|
84
60
|
browseRoot?: string | undefined;
|
|
@@ -107,7 +83,7 @@ export declare function createWorkspaceConfigRoutes(deps: WorkspaceConfigRouteDe
|
|
|
107
83
|
error: string;
|
|
108
84
|
};
|
|
109
85
|
outputFormat: "json";
|
|
110
|
-
status:
|
|
86
|
+
status: 500;
|
|
111
87
|
input: {
|
|
112
88
|
json: {
|
|
113
89
|
browseRoot?: string | undefined;
|
|
@@ -133,10 +109,34 @@ export declare function createWorkspaceConfigRoutes(deps: WorkspaceConfigRouteDe
|
|
|
133
109
|
};
|
|
134
110
|
} | {
|
|
135
111
|
output: {
|
|
136
|
-
|
|
112
|
+
browseRoot: string;
|
|
113
|
+
projectsDir: string;
|
|
114
|
+
archiveOnMerge: boolean | null;
|
|
115
|
+
effectiveArchiveOnMerge: boolean;
|
|
116
|
+
archiveOnMergeSource: "default" | "environment" | "global";
|
|
117
|
+
composerDefaults: {
|
|
118
|
+
autonomous: boolean | null;
|
|
119
|
+
worktree: boolean | null;
|
|
120
|
+
inheritedAutonomous: "source-dependent" | boolean;
|
|
121
|
+
inheritedWorktree: boolean;
|
|
122
|
+
};
|
|
123
|
+
resources: {
|
|
124
|
+
maxParallel: number;
|
|
125
|
+
maxMonitoringSessions: number;
|
|
126
|
+
monitoringWakeIntervalMinutes: number | null;
|
|
127
|
+
autoResumeOnUsageLimit: boolean;
|
|
128
|
+
memoryLimitMb: number | null;
|
|
129
|
+
worktreeRetentionDefault: number;
|
|
130
|
+
};
|
|
131
|
+
agentDefaults: {
|
|
132
|
+
runner?: string | undefined;
|
|
133
|
+
models?: {
|
|
134
|
+
[x: string]: string | undefined;
|
|
135
|
+
} | undefined;
|
|
136
|
+
};
|
|
137
137
|
};
|
|
138
138
|
outputFormat: "json";
|
|
139
|
-
status:
|
|
139
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
140
140
|
input: {
|
|
141
141
|
json: {
|
|
142
142
|
browseRoot?: string | undefined;
|
|
@@ -208,41 +208,10 @@ export declare function createWorkspaceConfigRoutes(deps: WorkspaceConfigRouteDe
|
|
|
208
208
|
"/workspace/ui-state": {
|
|
209
209
|
$put: {
|
|
210
210
|
output: {
|
|
211
|
-
|
|
212
|
-
sidebar?: {
|
|
213
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
214
|
-
collapsed?: {
|
|
215
|
-
[x: string]: boolean;
|
|
216
|
-
} | undefined;
|
|
217
|
-
projectOrder?: string[] | undefined;
|
|
218
|
-
} | undefined;
|
|
219
|
-
dismissedProviderAuthFailures?: {
|
|
220
|
-
[x: string]: string | undefined;
|
|
221
|
-
} | undefined;
|
|
222
|
-
appearance?: {
|
|
223
|
-
accent?: "cezarion" | "lime" | "violet" | undefined;
|
|
224
|
-
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
225
|
-
width?: "narrow" | "wide" | undefined;
|
|
226
|
-
} | undefined;
|
|
227
|
-
notifications?: {
|
|
228
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
229
|
-
enabled?: boolean | undefined;
|
|
230
|
-
} | undefined;
|
|
231
|
-
taskTable?: {
|
|
232
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
233
|
-
expandedColumns?: {
|
|
234
|
-
[x: string]: boolean;
|
|
235
|
-
} | undefined;
|
|
236
|
-
} | undefined;
|
|
237
|
-
lastLocation?: {
|
|
238
|
-
projectId: string;
|
|
239
|
-
pathname: string;
|
|
240
|
-
search?: string | undefined;
|
|
241
|
-
hash?: string | undefined;
|
|
242
|
-
} | undefined;
|
|
211
|
+
error: string;
|
|
243
212
|
};
|
|
244
213
|
outputFormat: "json";
|
|
245
|
-
status:
|
|
214
|
+
status: 500;
|
|
246
215
|
input: {
|
|
247
216
|
json: {
|
|
248
217
|
[x: string]: unknown;
|
|
@@ -275,10 +244,41 @@ export declare function createWorkspaceConfigRoutes(deps: WorkspaceConfigRouteDe
|
|
|
275
244
|
};
|
|
276
245
|
} | {
|
|
277
246
|
output: {
|
|
278
|
-
|
|
247
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
248
|
+
sidebar?: {
|
|
249
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
250
|
+
collapsed?: {
|
|
251
|
+
[x: string]: boolean;
|
|
252
|
+
} | undefined;
|
|
253
|
+
projectOrder?: string[] | undefined;
|
|
254
|
+
} | undefined;
|
|
255
|
+
dismissedProviderAuthFailures?: {
|
|
256
|
+
[x: string]: string | undefined;
|
|
257
|
+
} | undefined;
|
|
258
|
+
appearance?: {
|
|
259
|
+
accent?: "cezarion" | "lime" | "violet" | undefined;
|
|
260
|
+
density?: "comfortable" | "compact" | "ultra" | undefined;
|
|
261
|
+
width?: "narrow" | "wide" | undefined;
|
|
262
|
+
} | undefined;
|
|
263
|
+
notifications?: {
|
|
264
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
265
|
+
enabled?: boolean | undefined;
|
|
266
|
+
} | undefined;
|
|
267
|
+
taskTable?: {
|
|
268
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
269
|
+
expandedColumns?: {
|
|
270
|
+
[x: string]: boolean;
|
|
271
|
+
} | undefined;
|
|
272
|
+
} | undefined;
|
|
273
|
+
lastLocation?: {
|
|
274
|
+
projectId: string;
|
|
275
|
+
pathname: string;
|
|
276
|
+
search?: string | undefined;
|
|
277
|
+
hash?: string | undefined;
|
|
278
|
+
} | undefined;
|
|
279
279
|
};
|
|
280
280
|
outputFormat: "json";
|
|
281
|
-
status:
|
|
281
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
282
282
|
input: {
|
|
283
283
|
json: {
|
|
284
284
|
[x: string]: unknown;
|
|
@@ -329,10 +329,17 @@ export declare function createFsBrowseRoutes(workspaceBrowseRoot: () => Promise<
|
|
|
329
329
|
};
|
|
330
330
|
} | {
|
|
331
331
|
output: {
|
|
332
|
-
|
|
332
|
+
path: string;
|
|
333
|
+
parent: string | null;
|
|
334
|
+
dirs: {
|
|
335
|
+
name: string;
|
|
336
|
+
path: string;
|
|
337
|
+
isRepo: boolean;
|
|
338
|
+
}[];
|
|
339
|
+
truncated: boolean;
|
|
333
340
|
};
|
|
334
341
|
outputFormat: "json";
|
|
335
|
-
status:
|
|
342
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
336
343
|
input: {
|
|
337
344
|
query: {
|
|
338
345
|
path?: string | undefined;
|
|
@@ -341,17 +348,10 @@ export declare function createFsBrowseRoutes(workspaceBrowseRoot: () => Promise<
|
|
|
341
348
|
};
|
|
342
349
|
} | {
|
|
343
350
|
output: {
|
|
344
|
-
|
|
345
|
-
parent: string | null;
|
|
346
|
-
dirs: {
|
|
347
|
-
name: string;
|
|
348
|
-
path: string;
|
|
349
|
-
isRepo: boolean;
|
|
350
|
-
}[];
|
|
351
|
-
truncated: boolean;
|
|
351
|
+
error: string;
|
|
352
352
|
};
|
|
353
353
|
outputFormat: "json";
|
|
354
|
-
status:
|
|
354
|
+
status: 400 | 403 | 404;
|
|
355
355
|
input: {
|
|
356
356
|
query: {
|
|
357
357
|
path?: string | undefined;
|
|
@@ -370,15 +370,6 @@ export interface WorkspaceEventsRouteDeps {
|
|
|
370
370
|
export declare function createWorkspaceEventsRoutes(deps: WorkspaceEventsRouteDeps): import("hono/hono-base").HonoBase<ProjectApiEnv, {
|
|
371
371
|
"/workspace/events": {
|
|
372
372
|
$get: {
|
|
373
|
-
output: {};
|
|
374
|
-
outputFormat: string;
|
|
375
|
-
status: import("hono/utils/http-status").StatusCode;
|
|
376
|
-
input: {
|
|
377
|
-
query: {
|
|
378
|
-
runs?: "summary" | undefined;
|
|
379
|
-
};
|
|
380
|
-
};
|
|
381
|
-
} | {
|
|
382
373
|
output: {
|
|
383
374
|
error: string;
|
|
384
375
|
code?: "invalid_input" | undefined;
|
|
@@ -390,6 +381,15 @@ export declare function createWorkspaceEventsRoutes(deps: WorkspaceEventsRouteDe
|
|
|
390
381
|
runs?: "summary" | undefined;
|
|
391
382
|
};
|
|
392
383
|
};
|
|
384
|
+
} | {
|
|
385
|
+
output: {};
|
|
386
|
+
outputFormat: string;
|
|
387
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
388
|
+
input: {
|
|
389
|
+
query: {
|
|
390
|
+
runs?: "summary" | undefined;
|
|
391
|
+
};
|
|
392
|
+
};
|
|
393
393
|
};
|
|
394
394
|
};
|
|
395
395
|
}, "/", "/workspace/events">;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hearsay-tools/squawk",
|
|
3
|
-
"version": "0.18.0-dev.
|
|
3
|
+
"version": "0.18.0-dev.8373",
|
|
4
4
|
"description": "Local cockpit for running and tracking AI agent tasks in your repo. Uses your logged-in `claude` CLI and `gh` — zero config, zero database.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@babel/parser": "^8.0.8",
|
|
70
70
|
"@babel/types": "^8.0.8",
|
|
71
|
-
"@open-mercato/cezar-api-client": "0.18.0-dev.
|
|
72
|
-
"@open-mercato/cezar-contract": "0.18.0-dev.
|
|
71
|
+
"@open-mercato/cezar-api-client": "0.18.0-dev.8373",
|
|
72
|
+
"@open-mercato/cezar-contract": "0.18.0-dev.8373",
|
|
73
73
|
"@types/node": "^24.19.1",
|
|
74
74
|
"@types/ws": "^8.18.1",
|
|
75
75
|
"esbuild": "^0.28.1",
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"publishConfig": {
|
|
87
87
|
"access": "public"
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "a1bfe21d25d160cdab57c82b20f0fe6187d2cdf5"
|
|
90
90
|
}
|