@agentrix/shared 1.0.10 → 1.0.12
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/index.cjs +11 -0
- package/dist/index.d.cts +345 -108
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -16,12 +16,12 @@ declare const ApiErrorSchema: z.ZodObject<{
|
|
|
16
16
|
message: z.ZodString;
|
|
17
17
|
details: z.ZodOptional<z.ZodAny>;
|
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
|
19
|
-
error: string;
|
|
20
19
|
message: string;
|
|
20
|
+
error: string;
|
|
21
21
|
details?: any;
|
|
22
22
|
}, {
|
|
23
|
-
error: string;
|
|
24
23
|
message: string;
|
|
24
|
+
error: string;
|
|
25
25
|
details?: any;
|
|
26
26
|
}>;
|
|
27
27
|
type ApiError = z.infer<typeof ApiErrorSchema>;
|
|
@@ -1005,6 +1005,7 @@ declare const TaskItemSchema: z.ZodObject<{
|
|
|
1005
1005
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
1006
1006
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
1007
1007
|
title: z.ZodNullable<z.ZodString>;
|
|
1008
|
+
customTitle: z.ZodNullable<z.ZodString>;
|
|
1008
1009
|
agentSessionId: z.ZodNullable<z.ZodString>;
|
|
1009
1010
|
dataEncryptionKey: z.ZodNullable<z.ZodString>;
|
|
1010
1011
|
cwd: z.ZodNullable<z.ZodString>;
|
|
@@ -1066,6 +1067,7 @@ declare const TaskItemSchema: z.ZodObject<{
|
|
|
1066
1067
|
title: string | null;
|
|
1067
1068
|
updatedAt: string;
|
|
1068
1069
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1070
|
+
customTitle: string | null;
|
|
1069
1071
|
agentSessionId: string | null;
|
|
1070
1072
|
pullRequestNumber: number | null;
|
|
1071
1073
|
pullRequestUrl: string | null;
|
|
@@ -1098,6 +1100,7 @@ declare const TaskItemSchema: z.ZodObject<{
|
|
|
1098
1100
|
title: string | null;
|
|
1099
1101
|
updatedAt: string;
|
|
1100
1102
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1103
|
+
customTitle: string | null;
|
|
1101
1104
|
agentSessionId: string | null;
|
|
1102
1105
|
pullRequestNumber: number | null;
|
|
1103
1106
|
pullRequestUrl: string | null;
|
|
@@ -1151,6 +1154,7 @@ declare const ListTasksResponseSchema: z.ZodObject<{
|
|
|
1151
1154
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
1152
1155
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
1153
1156
|
title: z.ZodNullable<z.ZodString>;
|
|
1157
|
+
customTitle: z.ZodNullable<z.ZodString>;
|
|
1154
1158
|
agentSessionId: z.ZodNullable<z.ZodString>;
|
|
1155
1159
|
dataEncryptionKey: z.ZodNullable<z.ZodString>;
|
|
1156
1160
|
cwd: z.ZodNullable<z.ZodString>;
|
|
@@ -1212,6 +1216,7 @@ declare const ListTasksResponseSchema: z.ZodObject<{
|
|
|
1212
1216
|
title: string | null;
|
|
1213
1217
|
updatedAt: string;
|
|
1214
1218
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1219
|
+
customTitle: string | null;
|
|
1215
1220
|
agentSessionId: string | null;
|
|
1216
1221
|
pullRequestNumber: number | null;
|
|
1217
1222
|
pullRequestUrl: string | null;
|
|
@@ -1244,6 +1249,7 @@ declare const ListTasksResponseSchema: z.ZodObject<{
|
|
|
1244
1249
|
title: string | null;
|
|
1245
1250
|
updatedAt: string;
|
|
1246
1251
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1252
|
+
customTitle: string | null;
|
|
1247
1253
|
agentSessionId: string | null;
|
|
1248
1254
|
pullRequestNumber: number | null;
|
|
1249
1255
|
pullRequestUrl: string | null;
|
|
@@ -1280,6 +1286,7 @@ declare const ListTasksResponseSchema: z.ZodObject<{
|
|
|
1280
1286
|
title: string | null;
|
|
1281
1287
|
updatedAt: string;
|
|
1282
1288
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1289
|
+
customTitle: string | null;
|
|
1283
1290
|
agentSessionId: string | null;
|
|
1284
1291
|
pullRequestNumber: number | null;
|
|
1285
1292
|
pullRequestUrl: string | null;
|
|
@@ -1316,6 +1323,7 @@ declare const ListTasksResponseSchema: z.ZodObject<{
|
|
|
1316
1323
|
title: string | null;
|
|
1317
1324
|
updatedAt: string;
|
|
1318
1325
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1326
|
+
customTitle: string | null;
|
|
1319
1327
|
agentSessionId: string | null;
|
|
1320
1328
|
pullRequestNumber: number | null;
|
|
1321
1329
|
pullRequestUrl: string | null;
|
|
@@ -1788,6 +1796,7 @@ declare const ArchiveTaskResponseSchema: z.ZodObject<{
|
|
|
1788
1796
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
1789
1797
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
1790
1798
|
title: z.ZodNullable<z.ZodString>;
|
|
1799
|
+
customTitle: z.ZodNullable<z.ZodString>;
|
|
1791
1800
|
agentSessionId: z.ZodNullable<z.ZodString>;
|
|
1792
1801
|
dataEncryptionKey: z.ZodNullable<z.ZodString>;
|
|
1793
1802
|
cwd: z.ZodNullable<z.ZodString>;
|
|
@@ -1849,6 +1858,7 @@ declare const ArchiveTaskResponseSchema: z.ZodObject<{
|
|
|
1849
1858
|
title: string | null;
|
|
1850
1859
|
updatedAt: string;
|
|
1851
1860
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1861
|
+
customTitle: string | null;
|
|
1852
1862
|
agentSessionId: string | null;
|
|
1853
1863
|
pullRequestNumber: number | null;
|
|
1854
1864
|
pullRequestUrl: string | null;
|
|
@@ -1881,6 +1891,7 @@ declare const ArchiveTaskResponseSchema: z.ZodObject<{
|
|
|
1881
1891
|
title: string | null;
|
|
1882
1892
|
updatedAt: string;
|
|
1883
1893
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1894
|
+
customTitle: string | null;
|
|
1884
1895
|
agentSessionId: string | null;
|
|
1885
1896
|
pullRequestNumber: number | null;
|
|
1886
1897
|
pullRequestUrl: string | null;
|
|
@@ -1916,6 +1927,7 @@ declare const ArchiveTaskResponseSchema: z.ZodObject<{
|
|
|
1916
1927
|
title: string | null;
|
|
1917
1928
|
updatedAt: string;
|
|
1918
1929
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1930
|
+
customTitle: string | null;
|
|
1919
1931
|
agentSessionId: string | null;
|
|
1920
1932
|
pullRequestNumber: number | null;
|
|
1921
1933
|
pullRequestUrl: string | null;
|
|
@@ -1951,6 +1963,7 @@ declare const ArchiveTaskResponseSchema: z.ZodObject<{
|
|
|
1951
1963
|
title: string | null;
|
|
1952
1964
|
updatedAt: string;
|
|
1953
1965
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
1966
|
+
customTitle: string | null;
|
|
1954
1967
|
agentSessionId: string | null;
|
|
1955
1968
|
pullRequestNumber: number | null;
|
|
1956
1969
|
pullRequestUrl: string | null;
|
|
@@ -1991,6 +2004,7 @@ declare const UnarchiveTaskResponseSchema: z.ZodObject<{
|
|
|
1991
2004
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
1992
2005
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
1993
2006
|
title: z.ZodNullable<z.ZodString>;
|
|
2007
|
+
customTitle: z.ZodNullable<z.ZodString>;
|
|
1994
2008
|
agentSessionId: z.ZodNullable<z.ZodString>;
|
|
1995
2009
|
dataEncryptionKey: z.ZodNullable<z.ZodString>;
|
|
1996
2010
|
cwd: z.ZodNullable<z.ZodString>;
|
|
@@ -2052,6 +2066,7 @@ declare const UnarchiveTaskResponseSchema: z.ZodObject<{
|
|
|
2052
2066
|
title: string | null;
|
|
2053
2067
|
updatedAt: string;
|
|
2054
2068
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
2069
|
+
customTitle: string | null;
|
|
2055
2070
|
agentSessionId: string | null;
|
|
2056
2071
|
pullRequestNumber: number | null;
|
|
2057
2072
|
pullRequestUrl: string | null;
|
|
@@ -2084,6 +2099,7 @@ declare const UnarchiveTaskResponseSchema: z.ZodObject<{
|
|
|
2084
2099
|
title: string | null;
|
|
2085
2100
|
updatedAt: string;
|
|
2086
2101
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
2102
|
+
customTitle: string | null;
|
|
2087
2103
|
agentSessionId: string | null;
|
|
2088
2104
|
pullRequestNumber: number | null;
|
|
2089
2105
|
pullRequestUrl: string | null;
|
|
@@ -2119,6 +2135,7 @@ declare const UnarchiveTaskResponseSchema: z.ZodObject<{
|
|
|
2119
2135
|
title: string | null;
|
|
2120
2136
|
updatedAt: string;
|
|
2121
2137
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
2138
|
+
customTitle: string | null;
|
|
2122
2139
|
agentSessionId: string | null;
|
|
2123
2140
|
pullRequestNumber: number | null;
|
|
2124
2141
|
pullRequestUrl: string | null;
|
|
@@ -2154,6 +2171,7 @@ declare const UnarchiveTaskResponseSchema: z.ZodObject<{
|
|
|
2154
2171
|
title: string | null;
|
|
2155
2172
|
updatedAt: string;
|
|
2156
2173
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
2174
|
+
customTitle: string | null;
|
|
2157
2175
|
agentSessionId: string | null;
|
|
2158
2176
|
pullRequestNumber: number | null;
|
|
2159
2177
|
pullRequestUrl: string | null;
|
|
@@ -2172,6 +2190,220 @@ declare const UnarchiveTaskResponseSchema: z.ZodObject<{
|
|
|
2172
2190
|
};
|
|
2173
2191
|
}>;
|
|
2174
2192
|
type UnarchiveTaskResponse = z.infer<typeof UnarchiveTaskResponseSchema>;
|
|
2193
|
+
/**
|
|
2194
|
+
* PUT /v1/tasks/:taskId/title - Request schema
|
|
2195
|
+
*/
|
|
2196
|
+
declare const UpdateTaskTitleRequestSchema: z.ZodObject<{
|
|
2197
|
+
customTitle: z.ZodString;
|
|
2198
|
+
}, "strip", z.ZodTypeAny, {
|
|
2199
|
+
customTitle: string;
|
|
2200
|
+
}, {
|
|
2201
|
+
customTitle: string;
|
|
2202
|
+
}>;
|
|
2203
|
+
type UpdateTaskTitleRequest = z.infer<typeof UpdateTaskTitleRequestSchema>;
|
|
2204
|
+
/**
|
|
2205
|
+
* PUT /v1/tasks/:taskId/title - Response schema
|
|
2206
|
+
*/
|
|
2207
|
+
declare const UpdateTaskTitleResponseSchema: z.ZodObject<{
|
|
2208
|
+
success: z.ZodBoolean;
|
|
2209
|
+
task: z.ZodObject<{
|
|
2210
|
+
id: z.ZodString;
|
|
2211
|
+
chatId: z.ZodString;
|
|
2212
|
+
userId: z.ZodString;
|
|
2213
|
+
state: z.ZodString;
|
|
2214
|
+
workerStatus: z.ZodNullable<z.ZodEnum<["initializing", "ready", "running"]>>;
|
|
2215
|
+
agentId: z.ZodString;
|
|
2216
|
+
machineId: z.ZodNullable<z.ZodString>;
|
|
2217
|
+
cloudId: z.ZodNullable<z.ZodString>;
|
|
2218
|
+
repositoryId: z.ZodNullable<z.ZodString>;
|
|
2219
|
+
baseBranch: z.ZodNullable<z.ZodString>;
|
|
2220
|
+
title: z.ZodNullable<z.ZodString>;
|
|
2221
|
+
customTitle: z.ZodNullable<z.ZodString>;
|
|
2222
|
+
agentSessionId: z.ZodNullable<z.ZodString>;
|
|
2223
|
+
dataEncryptionKey: z.ZodNullable<z.ZodString>;
|
|
2224
|
+
cwd: z.ZodNullable<z.ZodString>;
|
|
2225
|
+
repositorySourceType: z.ZodNullable<z.ZodEnum<["temporary", "directory", "git-server"]>>;
|
|
2226
|
+
pullRequestNumber: z.ZodNullable<z.ZodNumber>;
|
|
2227
|
+
pullRequestUrl: z.ZodNullable<z.ZodString>;
|
|
2228
|
+
pullRequestState: z.ZodNullable<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
2229
|
+
pullRequestStateChangedAt: z.ZodNullable<z.ZodString>;
|
|
2230
|
+
gitStats: z.ZodNullable<z.ZodObject<{
|
|
2231
|
+
totalInsertions: z.ZodNumber;
|
|
2232
|
+
totalDeletions: z.ZodNumber;
|
|
2233
|
+
files: z.ZodArray<z.ZodObject<{
|
|
2234
|
+
path: z.ZodString;
|
|
2235
|
+
insertions: z.ZodNumber;
|
|
2236
|
+
deletions: z.ZodNumber;
|
|
2237
|
+
}, "strip", z.ZodTypeAny, {
|
|
2238
|
+
path: string;
|
|
2239
|
+
insertions: number;
|
|
2240
|
+
deletions: number;
|
|
2241
|
+
}, {
|
|
2242
|
+
path: string;
|
|
2243
|
+
insertions: number;
|
|
2244
|
+
deletions: number;
|
|
2245
|
+
}>, "many">;
|
|
2246
|
+
}, "strip", z.ZodTypeAny, {
|
|
2247
|
+
totalInsertions: number;
|
|
2248
|
+
totalDeletions: number;
|
|
2249
|
+
files: {
|
|
2250
|
+
path: string;
|
|
2251
|
+
insertions: number;
|
|
2252
|
+
deletions: number;
|
|
2253
|
+
}[];
|
|
2254
|
+
}, {
|
|
2255
|
+
totalInsertions: number;
|
|
2256
|
+
totalDeletions: number;
|
|
2257
|
+
files: {
|
|
2258
|
+
path: string;
|
|
2259
|
+
insertions: number;
|
|
2260
|
+
deletions: number;
|
|
2261
|
+
}[];
|
|
2262
|
+
}>>;
|
|
2263
|
+
totalDuration: z.ZodNullable<z.ZodNumber>;
|
|
2264
|
+
createdAt: z.ZodString;
|
|
2265
|
+
updatedAt: z.ZodString;
|
|
2266
|
+
}, "strip", z.ZodTypeAny, {
|
|
2267
|
+
id: string;
|
|
2268
|
+
createdAt: string;
|
|
2269
|
+
state: string;
|
|
2270
|
+
machineId: string | null;
|
|
2271
|
+
cloudId: string | null;
|
|
2272
|
+
userId: string;
|
|
2273
|
+
chatId: string;
|
|
2274
|
+
cwd: string | null;
|
|
2275
|
+
repositoryId: string | null;
|
|
2276
|
+
baseBranch: string | null;
|
|
2277
|
+
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
2278
|
+
dataEncryptionKey: string | null;
|
|
2279
|
+
agentId: string;
|
|
2280
|
+
title: string | null;
|
|
2281
|
+
updatedAt: string;
|
|
2282
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
2283
|
+
customTitle: string | null;
|
|
2284
|
+
agentSessionId: string | null;
|
|
2285
|
+
pullRequestNumber: number | null;
|
|
2286
|
+
pullRequestUrl: string | null;
|
|
2287
|
+
pullRequestState: "open" | "closed" | "merged" | null;
|
|
2288
|
+
pullRequestStateChangedAt: string | null;
|
|
2289
|
+
gitStats: {
|
|
2290
|
+
totalInsertions: number;
|
|
2291
|
+
totalDeletions: number;
|
|
2292
|
+
files: {
|
|
2293
|
+
path: string;
|
|
2294
|
+
insertions: number;
|
|
2295
|
+
deletions: number;
|
|
2296
|
+
}[];
|
|
2297
|
+
} | null;
|
|
2298
|
+
totalDuration: number | null;
|
|
2299
|
+
}, {
|
|
2300
|
+
id: string;
|
|
2301
|
+
createdAt: string;
|
|
2302
|
+
state: string;
|
|
2303
|
+
machineId: string | null;
|
|
2304
|
+
cloudId: string | null;
|
|
2305
|
+
userId: string;
|
|
2306
|
+
chatId: string;
|
|
2307
|
+
cwd: string | null;
|
|
2308
|
+
repositoryId: string | null;
|
|
2309
|
+
baseBranch: string | null;
|
|
2310
|
+
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
2311
|
+
dataEncryptionKey: string | null;
|
|
2312
|
+
agentId: string;
|
|
2313
|
+
title: string | null;
|
|
2314
|
+
updatedAt: string;
|
|
2315
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
2316
|
+
customTitle: string | null;
|
|
2317
|
+
agentSessionId: string | null;
|
|
2318
|
+
pullRequestNumber: number | null;
|
|
2319
|
+
pullRequestUrl: string | null;
|
|
2320
|
+
pullRequestState: "open" | "closed" | "merged" | null;
|
|
2321
|
+
pullRequestStateChangedAt: string | null;
|
|
2322
|
+
gitStats: {
|
|
2323
|
+
totalInsertions: number;
|
|
2324
|
+
totalDeletions: number;
|
|
2325
|
+
files: {
|
|
2326
|
+
path: string;
|
|
2327
|
+
insertions: number;
|
|
2328
|
+
deletions: number;
|
|
2329
|
+
}[];
|
|
2330
|
+
} | null;
|
|
2331
|
+
totalDuration: number | null;
|
|
2332
|
+
}>;
|
|
2333
|
+
}, "strip", z.ZodTypeAny, {
|
|
2334
|
+
success: boolean;
|
|
2335
|
+
task: {
|
|
2336
|
+
id: string;
|
|
2337
|
+
createdAt: string;
|
|
2338
|
+
state: string;
|
|
2339
|
+
machineId: string | null;
|
|
2340
|
+
cloudId: string | null;
|
|
2341
|
+
userId: string;
|
|
2342
|
+
chatId: string;
|
|
2343
|
+
cwd: string | null;
|
|
2344
|
+
repositoryId: string | null;
|
|
2345
|
+
baseBranch: string | null;
|
|
2346
|
+
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
2347
|
+
dataEncryptionKey: string | null;
|
|
2348
|
+
agentId: string;
|
|
2349
|
+
title: string | null;
|
|
2350
|
+
updatedAt: string;
|
|
2351
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
2352
|
+
customTitle: string | null;
|
|
2353
|
+
agentSessionId: string | null;
|
|
2354
|
+
pullRequestNumber: number | null;
|
|
2355
|
+
pullRequestUrl: string | null;
|
|
2356
|
+
pullRequestState: "open" | "closed" | "merged" | null;
|
|
2357
|
+
pullRequestStateChangedAt: string | null;
|
|
2358
|
+
gitStats: {
|
|
2359
|
+
totalInsertions: number;
|
|
2360
|
+
totalDeletions: number;
|
|
2361
|
+
files: {
|
|
2362
|
+
path: string;
|
|
2363
|
+
insertions: number;
|
|
2364
|
+
deletions: number;
|
|
2365
|
+
}[];
|
|
2366
|
+
} | null;
|
|
2367
|
+
totalDuration: number | null;
|
|
2368
|
+
};
|
|
2369
|
+
}, {
|
|
2370
|
+
success: boolean;
|
|
2371
|
+
task: {
|
|
2372
|
+
id: string;
|
|
2373
|
+
createdAt: string;
|
|
2374
|
+
state: string;
|
|
2375
|
+
machineId: string | null;
|
|
2376
|
+
cloudId: string | null;
|
|
2377
|
+
userId: string;
|
|
2378
|
+
chatId: string;
|
|
2379
|
+
cwd: string | null;
|
|
2380
|
+
repositoryId: string | null;
|
|
2381
|
+
baseBranch: string | null;
|
|
2382
|
+
repositorySourceType: "temporary" | "directory" | "git-server" | null;
|
|
2383
|
+
dataEncryptionKey: string | null;
|
|
2384
|
+
agentId: string;
|
|
2385
|
+
title: string | null;
|
|
2386
|
+
updatedAt: string;
|
|
2387
|
+
workerStatus: "initializing" | "ready" | "running" | null;
|
|
2388
|
+
customTitle: string | null;
|
|
2389
|
+
agentSessionId: string | null;
|
|
2390
|
+
pullRequestNumber: number | null;
|
|
2391
|
+
pullRequestUrl: string | null;
|
|
2392
|
+
pullRequestState: "open" | "closed" | "merged" | null;
|
|
2393
|
+
pullRequestStateChangedAt: string | null;
|
|
2394
|
+
gitStats: {
|
|
2395
|
+
totalInsertions: number;
|
|
2396
|
+
totalDeletions: number;
|
|
2397
|
+
files: {
|
|
2398
|
+
path: string;
|
|
2399
|
+
insertions: number;
|
|
2400
|
+
deletions: number;
|
|
2401
|
+
}[];
|
|
2402
|
+
} | null;
|
|
2403
|
+
totalDuration: number | null;
|
|
2404
|
+
};
|
|
2405
|
+
}>;
|
|
2406
|
+
type UpdateTaskTitleResponse = z.infer<typeof UpdateTaskTitleResponseSchema>;
|
|
2175
2407
|
|
|
2176
2408
|
/**
|
|
2177
2409
|
* Chat HTTP request/response schemas
|
|
@@ -2190,16 +2422,16 @@ declare const ChatMemberSchema: z.ZodObject<{
|
|
|
2190
2422
|
createdAt: z.ZodString;
|
|
2191
2423
|
updatedAt: z.ZodString;
|
|
2192
2424
|
}, "strip", z.ZodTypeAny, {
|
|
2193
|
-
type: "human" | "agent";
|
|
2194
2425
|
id: string;
|
|
2426
|
+
type: "human" | "agent";
|
|
2195
2427
|
createdAt: string;
|
|
2196
2428
|
chatId: string;
|
|
2197
2429
|
updatedAt: string;
|
|
2198
2430
|
memberCode: string;
|
|
2199
2431
|
role: string;
|
|
2200
2432
|
}, {
|
|
2201
|
-
type: "human" | "agent";
|
|
2202
2433
|
id: string;
|
|
2434
|
+
type: "human" | "agent";
|
|
2203
2435
|
createdAt: string;
|
|
2204
2436
|
chatId: string;
|
|
2205
2437
|
updatedAt: string;
|
|
@@ -2222,14 +2454,14 @@ declare const ChatSchema: z.ZodObject<{
|
|
|
2222
2454
|
createdAt: z.ZodString;
|
|
2223
2455
|
updatedAt: z.ZodString;
|
|
2224
2456
|
}, "strip", z.ZodTypeAny, {
|
|
2225
|
-
type: "direct" | "group";
|
|
2226
2457
|
id: string;
|
|
2458
|
+
type: "direct" | "group";
|
|
2227
2459
|
createdAt: string;
|
|
2228
2460
|
updatedAt: string;
|
|
2229
2461
|
owner: string;
|
|
2230
2462
|
}, {
|
|
2231
|
-
type: "direct" | "group";
|
|
2232
2463
|
id: string;
|
|
2464
|
+
type: "direct" | "group";
|
|
2233
2465
|
createdAt: string;
|
|
2234
2466
|
updatedAt: string;
|
|
2235
2467
|
owner: string;
|
|
@@ -2254,16 +2486,16 @@ declare const ChatWithMembersSchema: z.ZodObject<{
|
|
|
2254
2486
|
createdAt: z.ZodString;
|
|
2255
2487
|
updatedAt: z.ZodString;
|
|
2256
2488
|
}, "strip", z.ZodTypeAny, {
|
|
2257
|
-
type: "human" | "agent";
|
|
2258
2489
|
id: string;
|
|
2490
|
+
type: "human" | "agent";
|
|
2259
2491
|
createdAt: string;
|
|
2260
2492
|
chatId: string;
|
|
2261
2493
|
updatedAt: string;
|
|
2262
2494
|
memberCode: string;
|
|
2263
2495
|
role: string;
|
|
2264
2496
|
}, {
|
|
2265
|
-
type: "human" | "agent";
|
|
2266
2497
|
id: string;
|
|
2498
|
+
type: "human" | "agent";
|
|
2267
2499
|
createdAt: string;
|
|
2268
2500
|
chatId: string;
|
|
2269
2501
|
updatedAt: string;
|
|
@@ -2271,14 +2503,14 @@ declare const ChatWithMembersSchema: z.ZodObject<{
|
|
|
2271
2503
|
role: string;
|
|
2272
2504
|
}>, "many">;
|
|
2273
2505
|
}, "strip", z.ZodTypeAny, {
|
|
2274
|
-
type: "direct" | "group";
|
|
2275
2506
|
id: string;
|
|
2507
|
+
type: "direct" | "group";
|
|
2276
2508
|
createdAt: string;
|
|
2277
2509
|
updatedAt: string;
|
|
2278
2510
|
owner: string;
|
|
2279
2511
|
members: {
|
|
2280
|
-
type: "human" | "agent";
|
|
2281
2512
|
id: string;
|
|
2513
|
+
type: "human" | "agent";
|
|
2282
2514
|
createdAt: string;
|
|
2283
2515
|
chatId: string;
|
|
2284
2516
|
updatedAt: string;
|
|
@@ -2286,14 +2518,14 @@ declare const ChatWithMembersSchema: z.ZodObject<{
|
|
|
2286
2518
|
role: string;
|
|
2287
2519
|
}[];
|
|
2288
2520
|
}, {
|
|
2289
|
-
type: "direct" | "group";
|
|
2290
2521
|
id: string;
|
|
2522
|
+
type: "direct" | "group";
|
|
2291
2523
|
createdAt: string;
|
|
2292
2524
|
updatedAt: string;
|
|
2293
2525
|
owner: string;
|
|
2294
2526
|
members: {
|
|
2295
|
-
type: "human" | "agent";
|
|
2296
2527
|
id: string;
|
|
2528
|
+
type: "human" | "agent";
|
|
2297
2529
|
createdAt: string;
|
|
2298
2530
|
chatId: string;
|
|
2299
2531
|
updatedAt: string;
|
|
@@ -2364,16 +2596,16 @@ declare const CreateChatResponseSchema: z.ZodObject<{
|
|
|
2364
2596
|
createdAt: z.ZodString;
|
|
2365
2597
|
updatedAt: z.ZodString;
|
|
2366
2598
|
}, "strip", z.ZodTypeAny, {
|
|
2367
|
-
type: "human" | "agent";
|
|
2368
2599
|
id: string;
|
|
2600
|
+
type: "human" | "agent";
|
|
2369
2601
|
createdAt: string;
|
|
2370
2602
|
chatId: string;
|
|
2371
2603
|
updatedAt: string;
|
|
2372
2604
|
memberCode: string;
|
|
2373
2605
|
role: string;
|
|
2374
2606
|
}, {
|
|
2375
|
-
type: "human" | "agent";
|
|
2376
2607
|
id: string;
|
|
2608
|
+
type: "human" | "agent";
|
|
2377
2609
|
createdAt: string;
|
|
2378
2610
|
chatId: string;
|
|
2379
2611
|
updatedAt: string;
|
|
@@ -2381,14 +2613,14 @@ declare const CreateChatResponseSchema: z.ZodObject<{
|
|
|
2381
2613
|
role: string;
|
|
2382
2614
|
}>, "many">;
|
|
2383
2615
|
}, "strip", z.ZodTypeAny, {
|
|
2384
|
-
type: "direct" | "group";
|
|
2385
2616
|
id: string;
|
|
2617
|
+
type: "direct" | "group";
|
|
2386
2618
|
createdAt: string;
|
|
2387
2619
|
updatedAt: string;
|
|
2388
2620
|
owner: string;
|
|
2389
2621
|
members: {
|
|
2390
|
-
type: "human" | "agent";
|
|
2391
2622
|
id: string;
|
|
2623
|
+
type: "human" | "agent";
|
|
2392
2624
|
createdAt: string;
|
|
2393
2625
|
chatId: string;
|
|
2394
2626
|
updatedAt: string;
|
|
@@ -2396,14 +2628,14 @@ declare const CreateChatResponseSchema: z.ZodObject<{
|
|
|
2396
2628
|
role: string;
|
|
2397
2629
|
}[];
|
|
2398
2630
|
}, {
|
|
2399
|
-
type: "direct" | "group";
|
|
2400
2631
|
id: string;
|
|
2632
|
+
type: "direct" | "group";
|
|
2401
2633
|
createdAt: string;
|
|
2402
2634
|
updatedAt: string;
|
|
2403
2635
|
owner: string;
|
|
2404
2636
|
members: {
|
|
2405
|
-
type: "human" | "agent";
|
|
2406
2637
|
id: string;
|
|
2638
|
+
type: "human" | "agent";
|
|
2407
2639
|
createdAt: string;
|
|
2408
2640
|
chatId: string;
|
|
2409
2641
|
updatedAt: string;
|
|
@@ -2432,16 +2664,16 @@ declare const ListChatsResponseSchema: z.ZodObject<{
|
|
|
2432
2664
|
createdAt: z.ZodString;
|
|
2433
2665
|
updatedAt: z.ZodString;
|
|
2434
2666
|
}, "strip", z.ZodTypeAny, {
|
|
2435
|
-
type: "human" | "agent";
|
|
2436
2667
|
id: string;
|
|
2668
|
+
type: "human" | "agent";
|
|
2437
2669
|
createdAt: string;
|
|
2438
2670
|
chatId: string;
|
|
2439
2671
|
updatedAt: string;
|
|
2440
2672
|
memberCode: string;
|
|
2441
2673
|
role: string;
|
|
2442
2674
|
}, {
|
|
2443
|
-
type: "human" | "agent";
|
|
2444
2675
|
id: string;
|
|
2676
|
+
type: "human" | "agent";
|
|
2445
2677
|
createdAt: string;
|
|
2446
2678
|
chatId: string;
|
|
2447
2679
|
updatedAt: string;
|
|
@@ -2449,14 +2681,14 @@ declare const ListChatsResponseSchema: z.ZodObject<{
|
|
|
2449
2681
|
role: string;
|
|
2450
2682
|
}>, "many">;
|
|
2451
2683
|
}, "strip", z.ZodTypeAny, {
|
|
2452
|
-
type: "direct" | "group";
|
|
2453
2684
|
id: string;
|
|
2685
|
+
type: "direct" | "group";
|
|
2454
2686
|
createdAt: string;
|
|
2455
2687
|
updatedAt: string;
|
|
2456
2688
|
owner: string;
|
|
2457
2689
|
members: {
|
|
2458
|
-
type: "human" | "agent";
|
|
2459
2690
|
id: string;
|
|
2691
|
+
type: "human" | "agent";
|
|
2460
2692
|
createdAt: string;
|
|
2461
2693
|
chatId: string;
|
|
2462
2694
|
updatedAt: string;
|
|
@@ -2464,14 +2696,14 @@ declare const ListChatsResponseSchema: z.ZodObject<{
|
|
|
2464
2696
|
role: string;
|
|
2465
2697
|
}[];
|
|
2466
2698
|
}, {
|
|
2467
|
-
type: "direct" | "group";
|
|
2468
2699
|
id: string;
|
|
2700
|
+
type: "direct" | "group";
|
|
2469
2701
|
createdAt: string;
|
|
2470
2702
|
updatedAt: string;
|
|
2471
2703
|
owner: string;
|
|
2472
2704
|
members: {
|
|
2473
|
-
type: "human" | "agent";
|
|
2474
2705
|
id: string;
|
|
2706
|
+
type: "human" | "agent";
|
|
2475
2707
|
createdAt: string;
|
|
2476
2708
|
chatId: string;
|
|
2477
2709
|
updatedAt: string;
|
|
@@ -2481,14 +2713,14 @@ declare const ListChatsResponseSchema: z.ZodObject<{
|
|
|
2481
2713
|
}>, "many">;
|
|
2482
2714
|
}, "strip", z.ZodTypeAny, {
|
|
2483
2715
|
chats: {
|
|
2484
|
-
type: "direct" | "group";
|
|
2485
2716
|
id: string;
|
|
2717
|
+
type: "direct" | "group";
|
|
2486
2718
|
createdAt: string;
|
|
2487
2719
|
updatedAt: string;
|
|
2488
2720
|
owner: string;
|
|
2489
2721
|
members: {
|
|
2490
|
-
type: "human" | "agent";
|
|
2491
2722
|
id: string;
|
|
2723
|
+
type: "human" | "agent";
|
|
2492
2724
|
createdAt: string;
|
|
2493
2725
|
chatId: string;
|
|
2494
2726
|
updatedAt: string;
|
|
@@ -2498,14 +2730,14 @@ declare const ListChatsResponseSchema: z.ZodObject<{
|
|
|
2498
2730
|
}[];
|
|
2499
2731
|
}, {
|
|
2500
2732
|
chats: {
|
|
2501
|
-
type: "direct" | "group";
|
|
2502
2733
|
id: string;
|
|
2734
|
+
type: "direct" | "group";
|
|
2503
2735
|
createdAt: string;
|
|
2504
2736
|
updatedAt: string;
|
|
2505
2737
|
owner: string;
|
|
2506
2738
|
members: {
|
|
2507
|
-
type: "human" | "agent";
|
|
2508
2739
|
id: string;
|
|
2740
|
+
type: "human" | "agent";
|
|
2509
2741
|
createdAt: string;
|
|
2510
2742
|
chatId: string;
|
|
2511
2743
|
updatedAt: string;
|
|
@@ -2534,16 +2766,16 @@ declare const GetChatResponseSchema: z.ZodObject<{
|
|
|
2534
2766
|
createdAt: z.ZodString;
|
|
2535
2767
|
updatedAt: z.ZodString;
|
|
2536
2768
|
}, "strip", z.ZodTypeAny, {
|
|
2537
|
-
type: "human" | "agent";
|
|
2538
2769
|
id: string;
|
|
2770
|
+
type: "human" | "agent";
|
|
2539
2771
|
createdAt: string;
|
|
2540
2772
|
chatId: string;
|
|
2541
2773
|
updatedAt: string;
|
|
2542
2774
|
memberCode: string;
|
|
2543
2775
|
role: string;
|
|
2544
2776
|
}, {
|
|
2545
|
-
type: "human" | "agent";
|
|
2546
2777
|
id: string;
|
|
2778
|
+
type: "human" | "agent";
|
|
2547
2779
|
createdAt: string;
|
|
2548
2780
|
chatId: string;
|
|
2549
2781
|
updatedAt: string;
|
|
@@ -2551,14 +2783,14 @@ declare const GetChatResponseSchema: z.ZodObject<{
|
|
|
2551
2783
|
role: string;
|
|
2552
2784
|
}>, "many">;
|
|
2553
2785
|
}, "strip", z.ZodTypeAny, {
|
|
2554
|
-
type: "direct" | "group";
|
|
2555
2786
|
id: string;
|
|
2787
|
+
type: "direct" | "group";
|
|
2556
2788
|
createdAt: string;
|
|
2557
2789
|
updatedAt: string;
|
|
2558
2790
|
owner: string;
|
|
2559
2791
|
members: {
|
|
2560
|
-
type: "human" | "agent";
|
|
2561
2792
|
id: string;
|
|
2793
|
+
type: "human" | "agent";
|
|
2562
2794
|
createdAt: string;
|
|
2563
2795
|
chatId: string;
|
|
2564
2796
|
updatedAt: string;
|
|
@@ -2566,14 +2798,14 @@ declare const GetChatResponseSchema: z.ZodObject<{
|
|
|
2566
2798
|
role: string;
|
|
2567
2799
|
}[];
|
|
2568
2800
|
}, {
|
|
2569
|
-
type: "direct" | "group";
|
|
2570
2801
|
id: string;
|
|
2802
|
+
type: "direct" | "group";
|
|
2571
2803
|
createdAt: string;
|
|
2572
2804
|
updatedAt: string;
|
|
2573
2805
|
owner: string;
|
|
2574
2806
|
members: {
|
|
2575
|
-
type: "human" | "agent";
|
|
2576
2807
|
id: string;
|
|
2808
|
+
type: "human" | "agent";
|
|
2577
2809
|
createdAt: string;
|
|
2578
2810
|
chatId: string;
|
|
2579
2811
|
updatedAt: string;
|
|
@@ -2595,16 +2827,16 @@ declare const ListChatMembersResponseSchema: z.ZodObject<{
|
|
|
2595
2827
|
createdAt: z.ZodString;
|
|
2596
2828
|
updatedAt: z.ZodString;
|
|
2597
2829
|
}, "strip", z.ZodTypeAny, {
|
|
2598
|
-
type: "human" | "agent";
|
|
2599
2830
|
id: string;
|
|
2831
|
+
type: "human" | "agent";
|
|
2600
2832
|
createdAt: string;
|
|
2601
2833
|
chatId: string;
|
|
2602
2834
|
updatedAt: string;
|
|
2603
2835
|
memberCode: string;
|
|
2604
2836
|
role: string;
|
|
2605
2837
|
}, {
|
|
2606
|
-
type: "human" | "agent";
|
|
2607
2838
|
id: string;
|
|
2839
|
+
type: "human" | "agent";
|
|
2608
2840
|
createdAt: string;
|
|
2609
2841
|
chatId: string;
|
|
2610
2842
|
updatedAt: string;
|
|
@@ -2613,8 +2845,8 @@ declare const ListChatMembersResponseSchema: z.ZodObject<{
|
|
|
2613
2845
|
}>, "many">;
|
|
2614
2846
|
}, "strip", z.ZodTypeAny, {
|
|
2615
2847
|
members: {
|
|
2616
|
-
type: "human" | "agent";
|
|
2617
2848
|
id: string;
|
|
2849
|
+
type: "human" | "agent";
|
|
2618
2850
|
createdAt: string;
|
|
2619
2851
|
chatId: string;
|
|
2620
2852
|
updatedAt: string;
|
|
@@ -2623,8 +2855,8 @@ declare const ListChatMembersResponseSchema: z.ZodObject<{
|
|
|
2623
2855
|
}[];
|
|
2624
2856
|
}, {
|
|
2625
2857
|
members: {
|
|
2626
|
-
type: "human" | "agent";
|
|
2627
2858
|
id: string;
|
|
2859
|
+
type: "human" | "agent";
|
|
2628
2860
|
createdAt: string;
|
|
2629
2861
|
chatId: string;
|
|
2630
2862
|
updatedAt: string;
|
|
@@ -2673,16 +2905,16 @@ declare const AddChatMemberResponseSchema: z.ZodObject<{
|
|
|
2673
2905
|
createdAt: z.ZodString;
|
|
2674
2906
|
updatedAt: z.ZodString;
|
|
2675
2907
|
}, "strip", z.ZodTypeAny, {
|
|
2676
|
-
type: "human" | "agent";
|
|
2677
2908
|
id: string;
|
|
2909
|
+
type: "human" | "agent";
|
|
2678
2910
|
createdAt: string;
|
|
2679
2911
|
chatId: string;
|
|
2680
2912
|
updatedAt: string;
|
|
2681
2913
|
memberCode: string;
|
|
2682
2914
|
role: string;
|
|
2683
2915
|
}, {
|
|
2684
|
-
type: "human" | "agent";
|
|
2685
2916
|
id: string;
|
|
2917
|
+
type: "human" | "agent";
|
|
2686
2918
|
createdAt: string;
|
|
2687
2919
|
chatId: string;
|
|
2688
2920
|
updatedAt: string;
|
|
@@ -2691,8 +2923,8 @@ declare const AddChatMemberResponseSchema: z.ZodObject<{
|
|
|
2691
2923
|
}>, "many">;
|
|
2692
2924
|
}, "strip", z.ZodTypeAny, {
|
|
2693
2925
|
members: {
|
|
2694
|
-
type: "human" | "agent";
|
|
2695
2926
|
id: string;
|
|
2927
|
+
type: "human" | "agent";
|
|
2696
2928
|
createdAt: string;
|
|
2697
2929
|
chatId: string;
|
|
2698
2930
|
updatedAt: string;
|
|
@@ -2701,8 +2933,8 @@ declare const AddChatMemberResponseSchema: z.ZodObject<{
|
|
|
2701
2933
|
}[];
|
|
2702
2934
|
}, {
|
|
2703
2935
|
members: {
|
|
2704
|
-
type: "human" | "agent";
|
|
2705
2936
|
id: string;
|
|
2937
|
+
type: "human" | "agent";
|
|
2706
2938
|
createdAt: string;
|
|
2707
2939
|
chatId: string;
|
|
2708
2940
|
updatedAt: string;
|
|
@@ -2757,6 +2989,7 @@ declare const ListChatTasksResponseSchema: z.ZodObject<{
|
|
|
2757
2989
|
repositoryId: z.ZodNullable<z.ZodString>;
|
|
2758
2990
|
baseBranch: z.ZodNullable<z.ZodString>;
|
|
2759
2991
|
title: z.ZodNullable<z.ZodString>;
|
|
2992
|
+
customTitle: z.ZodNullable<z.ZodString>;
|
|
2760
2993
|
agentSessionId: z.ZodNullable<z.ZodString>;
|
|
2761
2994
|
dataEncryptionKey: z.ZodNullable<z.ZodString>;
|
|
2762
2995
|
cwd: z.ZodNullable<z.ZodString>;
|
|
@@ -2818,6 +3051,7 @@ declare const ListChatTasksResponseSchema: z.ZodObject<{
|
|
|
2818
3051
|
title: string | null;
|
|
2819
3052
|
updatedAt: string;
|
|
2820
3053
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
3054
|
+
customTitle: string | null;
|
|
2821
3055
|
agentSessionId: string | null;
|
|
2822
3056
|
pullRequestNumber: number | null;
|
|
2823
3057
|
pullRequestUrl: string | null;
|
|
@@ -2850,6 +3084,7 @@ declare const ListChatTasksResponseSchema: z.ZodObject<{
|
|
|
2850
3084
|
title: string | null;
|
|
2851
3085
|
updatedAt: string;
|
|
2852
3086
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
3087
|
+
customTitle: string | null;
|
|
2853
3088
|
agentSessionId: string | null;
|
|
2854
3089
|
pullRequestNumber: number | null;
|
|
2855
3090
|
pullRequestUrl: string | null;
|
|
@@ -2884,6 +3119,7 @@ declare const ListChatTasksResponseSchema: z.ZodObject<{
|
|
|
2884
3119
|
title: string | null;
|
|
2885
3120
|
updatedAt: string;
|
|
2886
3121
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
3122
|
+
customTitle: string | null;
|
|
2887
3123
|
agentSessionId: string | null;
|
|
2888
3124
|
pullRequestNumber: number | null;
|
|
2889
3125
|
pullRequestUrl: string | null;
|
|
@@ -2918,6 +3154,7 @@ declare const ListChatTasksResponseSchema: z.ZodObject<{
|
|
|
2918
3154
|
title: string | null;
|
|
2919
3155
|
updatedAt: string;
|
|
2920
3156
|
workerStatus: "initializing" | "ready" | "running" | null;
|
|
3157
|
+
customTitle: string | null;
|
|
2921
3158
|
agentSessionId: string | null;
|
|
2922
3159
|
pullRequestNumber: number | null;
|
|
2923
3160
|
pullRequestUrl: string | null;
|
|
@@ -3282,9 +3519,9 @@ declare const AgentSchema: z.ZodObject<{
|
|
|
3282
3519
|
}> | undefined;
|
|
3283
3520
|
}>>;
|
|
3284
3521
|
}, "strip", z.ZodTypeAny, {
|
|
3285
|
-
type: "claude" | "codex";
|
|
3286
3522
|
id: string;
|
|
3287
3523
|
avatar: string | null;
|
|
3524
|
+
type: "claude" | "codex";
|
|
3288
3525
|
signature: string | null;
|
|
3289
3526
|
userId: string;
|
|
3290
3527
|
name: string;
|
|
@@ -3318,9 +3555,9 @@ declare const AgentSchema: z.ZodObject<{
|
|
|
3318
3555
|
}> | undefined;
|
|
3319
3556
|
} | null;
|
|
3320
3557
|
}, {
|
|
3321
|
-
type: "claude" | "codex";
|
|
3322
3558
|
id: string;
|
|
3323
3559
|
avatar: string | null;
|
|
3560
|
+
type: "claude" | "codex";
|
|
3324
3561
|
signature: string | null;
|
|
3325
3562
|
userId: string;
|
|
3326
3563
|
name: string;
|
|
@@ -3472,9 +3709,9 @@ declare const ListAgentsResponseSchema: z.ZodObject<{
|
|
|
3472
3709
|
}> | undefined;
|
|
3473
3710
|
}>>;
|
|
3474
3711
|
}, "strip", z.ZodTypeAny, {
|
|
3475
|
-
type: "claude" | "codex";
|
|
3476
3712
|
id: string;
|
|
3477
3713
|
avatar: string | null;
|
|
3714
|
+
type: "claude" | "codex";
|
|
3478
3715
|
signature: string | null;
|
|
3479
3716
|
userId: string;
|
|
3480
3717
|
name: string;
|
|
@@ -3508,9 +3745,9 @@ declare const ListAgentsResponseSchema: z.ZodObject<{
|
|
|
3508
3745
|
}> | undefined;
|
|
3509
3746
|
} | null;
|
|
3510
3747
|
}, {
|
|
3511
|
-
type: "claude" | "codex";
|
|
3512
3748
|
id: string;
|
|
3513
3749
|
avatar: string | null;
|
|
3750
|
+
type: "claude" | "codex";
|
|
3514
3751
|
signature: string | null;
|
|
3515
3752
|
userId: string;
|
|
3516
3753
|
name: string;
|
|
@@ -3546,9 +3783,9 @@ declare const ListAgentsResponseSchema: z.ZodObject<{
|
|
|
3546
3783
|
}>, "many">;
|
|
3547
3784
|
}, "strip", z.ZodTypeAny, {
|
|
3548
3785
|
agents: {
|
|
3549
|
-
type: "claude" | "codex";
|
|
3550
3786
|
id: string;
|
|
3551
3787
|
avatar: string | null;
|
|
3788
|
+
type: "claude" | "codex";
|
|
3552
3789
|
signature: string | null;
|
|
3553
3790
|
userId: string;
|
|
3554
3791
|
name: string;
|
|
@@ -3584,9 +3821,9 @@ declare const ListAgentsResponseSchema: z.ZodObject<{
|
|
|
3584
3821
|
}[];
|
|
3585
3822
|
}, {
|
|
3586
3823
|
agents: {
|
|
3587
|
-
type: "claude" | "codex";
|
|
3588
3824
|
id: string;
|
|
3589
3825
|
avatar: string | null;
|
|
3826
|
+
type: "claude" | "codex";
|
|
3590
3827
|
signature: string | null;
|
|
3591
3828
|
userId: string;
|
|
3592
3829
|
name: string;
|
|
@@ -3738,9 +3975,9 @@ declare const GetAgentResponseSchema: z.ZodObject<{
|
|
|
3738
3975
|
}> | undefined;
|
|
3739
3976
|
}>>;
|
|
3740
3977
|
}, "strip", z.ZodTypeAny, {
|
|
3741
|
-
type: "claude" | "codex";
|
|
3742
3978
|
id: string;
|
|
3743
3979
|
avatar: string | null;
|
|
3980
|
+
type: "claude" | "codex";
|
|
3744
3981
|
signature: string | null;
|
|
3745
3982
|
userId: string;
|
|
3746
3983
|
name: string;
|
|
@@ -3774,9 +4011,9 @@ declare const GetAgentResponseSchema: z.ZodObject<{
|
|
|
3774
4011
|
}> | undefined;
|
|
3775
4012
|
} | null;
|
|
3776
4013
|
}, {
|
|
3777
|
-
type: "claude" | "codex";
|
|
3778
4014
|
id: string;
|
|
3779
4015
|
avatar: string | null;
|
|
4016
|
+
type: "claude" | "codex";
|
|
3780
4017
|
signature: string | null;
|
|
3781
4018
|
userId: string;
|
|
3782
4019
|
name: string;
|
|
@@ -4101,9 +4338,9 @@ declare const CreateAgentResponseSchema: z.ZodObject<{
|
|
|
4101
4338
|
}> | undefined;
|
|
4102
4339
|
}>>;
|
|
4103
4340
|
}, "strip", z.ZodTypeAny, {
|
|
4104
|
-
type: "claude" | "codex";
|
|
4105
4341
|
id: string;
|
|
4106
4342
|
avatar: string | null;
|
|
4343
|
+
type: "claude" | "codex";
|
|
4107
4344
|
signature: string | null;
|
|
4108
4345
|
userId: string;
|
|
4109
4346
|
name: string;
|
|
@@ -4137,9 +4374,9 @@ declare const CreateAgentResponseSchema: z.ZodObject<{
|
|
|
4137
4374
|
}> | undefined;
|
|
4138
4375
|
} | null;
|
|
4139
4376
|
}, {
|
|
4140
|
-
type: "claude" | "codex";
|
|
4141
4377
|
id: string;
|
|
4142
4378
|
avatar: string | null;
|
|
4379
|
+
type: "claude" | "codex";
|
|
4143
4380
|
signature: string | null;
|
|
4144
4381
|
userId: string;
|
|
4145
4382
|
name: string;
|
|
@@ -4285,8 +4522,8 @@ declare const UpdateAgentRequestSchema: z.ZodObject<{
|
|
|
4285
4522
|
}> | undefined;
|
|
4286
4523
|
}>>>;
|
|
4287
4524
|
}, "strip", z.ZodTypeAny, {
|
|
4288
|
-
type?: "claude" | "codex" | undefined;
|
|
4289
4525
|
avatar?: string | null | undefined;
|
|
4526
|
+
type?: "claude" | "codex" | undefined;
|
|
4290
4527
|
signature?: string | null | undefined;
|
|
4291
4528
|
name?: string | undefined;
|
|
4292
4529
|
description?: string | null | undefined;
|
|
@@ -4316,8 +4553,8 @@ declare const UpdateAgentRequestSchema: z.ZodObject<{
|
|
|
4316
4553
|
}> | undefined;
|
|
4317
4554
|
} | null | undefined;
|
|
4318
4555
|
}, {
|
|
4319
|
-
type?: "claude" | "codex" | undefined;
|
|
4320
4556
|
avatar?: string | null | undefined;
|
|
4557
|
+
type?: "claude" | "codex" | undefined;
|
|
4321
4558
|
signature?: string | null | undefined;
|
|
4322
4559
|
name?: string | undefined;
|
|
4323
4560
|
description?: string | null | undefined;
|
|
@@ -4464,9 +4701,9 @@ declare const UpdateAgentResponseSchema: z.ZodObject<{
|
|
|
4464
4701
|
}> | undefined;
|
|
4465
4702
|
}>>;
|
|
4466
4703
|
}, "strip", z.ZodTypeAny, {
|
|
4467
|
-
type: "claude" | "codex";
|
|
4468
4704
|
id: string;
|
|
4469
4705
|
avatar: string | null;
|
|
4706
|
+
type: "claude" | "codex";
|
|
4470
4707
|
signature: string | null;
|
|
4471
4708
|
userId: string;
|
|
4472
4709
|
name: string;
|
|
@@ -4500,9 +4737,9 @@ declare const UpdateAgentResponseSchema: z.ZodObject<{
|
|
|
4500
4737
|
}> | undefined;
|
|
4501
4738
|
} | null;
|
|
4502
4739
|
}, {
|
|
4503
|
-
type: "claude" | "codex";
|
|
4504
4740
|
id: string;
|
|
4505
4741
|
avatar: string | null;
|
|
4742
|
+
type: "claude" | "codex";
|
|
4506
4743
|
signature: string | null;
|
|
4507
4744
|
userId: string;
|
|
4508
4745
|
name: string;
|
|
@@ -4571,8 +4808,8 @@ declare const LocalMachineSchema: z.ZodObject<{
|
|
|
4571
4808
|
createdAt: z.ZodString;
|
|
4572
4809
|
updatedAt: z.ZodString;
|
|
4573
4810
|
}, "strip", z.ZodTypeAny, {
|
|
4574
|
-
status: string;
|
|
4575
4811
|
id: string;
|
|
4812
|
+
status: string;
|
|
4576
4813
|
createdAt: string;
|
|
4577
4814
|
dataEncryptionKey: string;
|
|
4578
4815
|
updatedAt: string;
|
|
@@ -4581,8 +4818,8 @@ declare const LocalMachineSchema: z.ZodObject<{
|
|
|
4581
4818
|
approval: string;
|
|
4582
4819
|
controlPort: number | null;
|
|
4583
4820
|
}, {
|
|
4584
|
-
status: string;
|
|
4585
4821
|
id: string;
|
|
4822
|
+
status: string;
|
|
4586
4823
|
createdAt: string;
|
|
4587
4824
|
dataEncryptionKey: string;
|
|
4588
4825
|
updatedAt: string;
|
|
@@ -4604,16 +4841,16 @@ declare const CloudMachineSchema: z.ZodObject<{
|
|
|
4604
4841
|
createdAt: z.ZodString;
|
|
4605
4842
|
updatedAt: z.ZodString;
|
|
4606
4843
|
}, "strip", z.ZodTypeAny, {
|
|
4607
|
-
status: string;
|
|
4608
4844
|
id: string;
|
|
4845
|
+
status: string;
|
|
4609
4846
|
createdAt: string;
|
|
4610
4847
|
cloudId: string;
|
|
4611
4848
|
updatedAt: string;
|
|
4612
4849
|
metadata: string | null;
|
|
4613
4850
|
deviceId: string;
|
|
4614
4851
|
}, {
|
|
4615
|
-
status: string;
|
|
4616
4852
|
id: string;
|
|
4853
|
+
status: string;
|
|
4617
4854
|
createdAt: string;
|
|
4618
4855
|
cloudId: string;
|
|
4619
4856
|
updatedAt: string;
|
|
@@ -4640,16 +4877,16 @@ declare const CloudSchema: z.ZodObject<{
|
|
|
4640
4877
|
createdAt: z.ZodString;
|
|
4641
4878
|
updatedAt: z.ZodString;
|
|
4642
4879
|
}, "strip", z.ZodTypeAny, {
|
|
4643
|
-
status: string;
|
|
4644
4880
|
id: string;
|
|
4881
|
+
status: string;
|
|
4645
4882
|
createdAt: string;
|
|
4646
4883
|
cloudId: string;
|
|
4647
4884
|
updatedAt: string;
|
|
4648
4885
|
metadata: string | null;
|
|
4649
4886
|
deviceId: string;
|
|
4650
4887
|
}, {
|
|
4651
|
-
status: string;
|
|
4652
4888
|
id: string;
|
|
4889
|
+
status: string;
|
|
4653
4890
|
createdAt: string;
|
|
4654
4891
|
cloudId: string;
|
|
4655
4892
|
updatedAt: string;
|
|
@@ -4657,15 +4894,15 @@ declare const CloudSchema: z.ZodObject<{
|
|
|
4657
4894
|
deviceId: string;
|
|
4658
4895
|
}>, "many">>;
|
|
4659
4896
|
}, "strip", z.ZodTypeAny, {
|
|
4660
|
-
type: "public" | "private";
|
|
4661
4897
|
id: string;
|
|
4898
|
+
type: "public" | "private";
|
|
4662
4899
|
createdAt: string;
|
|
4663
4900
|
updatedAt: string;
|
|
4664
4901
|
name: string;
|
|
4665
4902
|
owner: string;
|
|
4666
4903
|
machines?: {
|
|
4667
|
-
status: string;
|
|
4668
4904
|
id: string;
|
|
4905
|
+
status: string;
|
|
4669
4906
|
createdAt: string;
|
|
4670
4907
|
cloudId: string;
|
|
4671
4908
|
updatedAt: string;
|
|
@@ -4673,15 +4910,15 @@ declare const CloudSchema: z.ZodObject<{
|
|
|
4673
4910
|
deviceId: string;
|
|
4674
4911
|
}[] | undefined;
|
|
4675
4912
|
}, {
|
|
4676
|
-
type: "public" | "private";
|
|
4677
4913
|
id: string;
|
|
4914
|
+
type: "public" | "private";
|
|
4678
4915
|
createdAt: string;
|
|
4679
4916
|
updatedAt: string;
|
|
4680
4917
|
name: string;
|
|
4681
4918
|
owner: string;
|
|
4682
4919
|
machines?: {
|
|
4683
|
-
status: string;
|
|
4684
4920
|
id: string;
|
|
4921
|
+
status: string;
|
|
4685
4922
|
createdAt: string;
|
|
4686
4923
|
cloudId: string;
|
|
4687
4924
|
updatedAt: string;
|
|
@@ -4710,16 +4947,16 @@ declare const ListMachinesResponseSchema: z.ZodObject<{
|
|
|
4710
4947
|
createdAt: z.ZodString;
|
|
4711
4948
|
updatedAt: z.ZodString;
|
|
4712
4949
|
}, "strip", z.ZodTypeAny, {
|
|
4713
|
-
status: string;
|
|
4714
4950
|
id: string;
|
|
4951
|
+
status: string;
|
|
4715
4952
|
createdAt: string;
|
|
4716
4953
|
cloudId: string;
|
|
4717
4954
|
updatedAt: string;
|
|
4718
4955
|
metadata: string | null;
|
|
4719
4956
|
deviceId: string;
|
|
4720
4957
|
}, {
|
|
4721
|
-
status: string;
|
|
4722
4958
|
id: string;
|
|
4959
|
+
status: string;
|
|
4723
4960
|
createdAt: string;
|
|
4724
4961
|
cloudId: string;
|
|
4725
4962
|
updatedAt: string;
|
|
@@ -4727,15 +4964,15 @@ declare const ListMachinesResponseSchema: z.ZodObject<{
|
|
|
4727
4964
|
deviceId: string;
|
|
4728
4965
|
}>, "many">>;
|
|
4729
4966
|
}, "strip", z.ZodTypeAny, {
|
|
4730
|
-
type: "public" | "private";
|
|
4731
4967
|
id: string;
|
|
4968
|
+
type: "public" | "private";
|
|
4732
4969
|
createdAt: string;
|
|
4733
4970
|
updatedAt: string;
|
|
4734
4971
|
name: string;
|
|
4735
4972
|
owner: string;
|
|
4736
4973
|
machines?: {
|
|
4737
|
-
status: string;
|
|
4738
4974
|
id: string;
|
|
4975
|
+
status: string;
|
|
4739
4976
|
createdAt: string;
|
|
4740
4977
|
cloudId: string;
|
|
4741
4978
|
updatedAt: string;
|
|
@@ -4743,15 +4980,15 @@ declare const ListMachinesResponseSchema: z.ZodObject<{
|
|
|
4743
4980
|
deviceId: string;
|
|
4744
4981
|
}[] | undefined;
|
|
4745
4982
|
}, {
|
|
4746
|
-
type: "public" | "private";
|
|
4747
4983
|
id: string;
|
|
4984
|
+
type: "public" | "private";
|
|
4748
4985
|
createdAt: string;
|
|
4749
4986
|
updatedAt: string;
|
|
4750
4987
|
name: string;
|
|
4751
4988
|
owner: string;
|
|
4752
4989
|
machines?: {
|
|
4753
|
-
status: string;
|
|
4754
4990
|
id: string;
|
|
4991
|
+
status: string;
|
|
4755
4992
|
createdAt: string;
|
|
4756
4993
|
cloudId: string;
|
|
4757
4994
|
updatedAt: string;
|
|
@@ -4770,8 +5007,8 @@ declare const ListMachinesResponseSchema: z.ZodObject<{
|
|
|
4770
5007
|
createdAt: z.ZodString;
|
|
4771
5008
|
updatedAt: z.ZodString;
|
|
4772
5009
|
}, "strip", z.ZodTypeAny, {
|
|
4773
|
-
status: string;
|
|
4774
5010
|
id: string;
|
|
5011
|
+
status: string;
|
|
4775
5012
|
createdAt: string;
|
|
4776
5013
|
dataEncryptionKey: string;
|
|
4777
5014
|
updatedAt: string;
|
|
@@ -4780,8 +5017,8 @@ declare const ListMachinesResponseSchema: z.ZodObject<{
|
|
|
4780
5017
|
approval: string;
|
|
4781
5018
|
controlPort: number | null;
|
|
4782
5019
|
}, {
|
|
4783
|
-
status: string;
|
|
4784
5020
|
id: string;
|
|
5021
|
+
status: string;
|
|
4785
5022
|
createdAt: string;
|
|
4786
5023
|
dataEncryptionKey: string;
|
|
4787
5024
|
updatedAt: string;
|
|
@@ -4792,15 +5029,15 @@ declare const ListMachinesResponseSchema: z.ZodObject<{
|
|
|
4792
5029
|
}>, "many">;
|
|
4793
5030
|
}, "strip", z.ZodTypeAny, {
|
|
4794
5031
|
clouds: {
|
|
4795
|
-
type: "public" | "private";
|
|
4796
5032
|
id: string;
|
|
5033
|
+
type: "public" | "private";
|
|
4797
5034
|
createdAt: string;
|
|
4798
5035
|
updatedAt: string;
|
|
4799
5036
|
name: string;
|
|
4800
5037
|
owner: string;
|
|
4801
5038
|
machines?: {
|
|
4802
|
-
status: string;
|
|
4803
5039
|
id: string;
|
|
5040
|
+
status: string;
|
|
4804
5041
|
createdAt: string;
|
|
4805
5042
|
cloudId: string;
|
|
4806
5043
|
updatedAt: string;
|
|
@@ -4809,8 +5046,8 @@ declare const ListMachinesResponseSchema: z.ZodObject<{
|
|
|
4809
5046
|
}[] | undefined;
|
|
4810
5047
|
}[];
|
|
4811
5048
|
localMachines: {
|
|
4812
|
-
status: string;
|
|
4813
5049
|
id: string;
|
|
5050
|
+
status: string;
|
|
4814
5051
|
createdAt: string;
|
|
4815
5052
|
dataEncryptionKey: string;
|
|
4816
5053
|
updatedAt: string;
|
|
@@ -4821,15 +5058,15 @@ declare const ListMachinesResponseSchema: z.ZodObject<{
|
|
|
4821
5058
|
}[];
|
|
4822
5059
|
}, {
|
|
4823
5060
|
clouds: {
|
|
4824
|
-
type: "public" | "private";
|
|
4825
5061
|
id: string;
|
|
5062
|
+
type: "public" | "private";
|
|
4826
5063
|
createdAt: string;
|
|
4827
5064
|
updatedAt: string;
|
|
4828
5065
|
name: string;
|
|
4829
5066
|
owner: string;
|
|
4830
5067
|
machines?: {
|
|
4831
|
-
status: string;
|
|
4832
5068
|
id: string;
|
|
5069
|
+
status: string;
|
|
4833
5070
|
createdAt: string;
|
|
4834
5071
|
cloudId: string;
|
|
4835
5072
|
updatedAt: string;
|
|
@@ -4838,8 +5075,8 @@ declare const ListMachinesResponseSchema: z.ZodObject<{
|
|
|
4838
5075
|
}[] | undefined;
|
|
4839
5076
|
}[];
|
|
4840
5077
|
localMachines: {
|
|
4841
|
-
status: string;
|
|
4842
5078
|
id: string;
|
|
5079
|
+
status: string;
|
|
4843
5080
|
createdAt: string;
|
|
4844
5081
|
dataEncryptionKey: string;
|
|
4845
5082
|
updatedAt: string;
|
|
@@ -6284,8 +6521,8 @@ declare const ChargeTransactionSchema: z.ZodObject<{
|
|
|
6284
6521
|
createdAt: z.ZodString;
|
|
6285
6522
|
transactionType: z.ZodLiteral<"charge">;
|
|
6286
6523
|
}, "strip", z.ZodTypeAny, {
|
|
6287
|
-
type: "user_recharge" | "system_bonus" | "refund";
|
|
6288
6524
|
id: string;
|
|
6525
|
+
type: "user_recharge" | "system_bonus" | "refund";
|
|
6289
6526
|
createdAt: string;
|
|
6290
6527
|
userId: string;
|
|
6291
6528
|
creditsPackageId: string;
|
|
@@ -6298,8 +6535,8 @@ declare const ChargeTransactionSchema: z.ZodObject<{
|
|
|
6298
6535
|
metadata?: any;
|
|
6299
6536
|
packageName?: string | undefined;
|
|
6300
6537
|
}, {
|
|
6301
|
-
type: "user_recharge" | "system_bonus" | "refund";
|
|
6302
6538
|
id: string;
|
|
6539
|
+
type: "user_recharge" | "system_bonus" | "refund";
|
|
6303
6540
|
createdAt: string;
|
|
6304
6541
|
userId: string;
|
|
6305
6542
|
creditsPackageId: string;
|
|
@@ -6375,8 +6612,8 @@ declare const TransactionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6375
6612
|
createdAt: z.ZodString;
|
|
6376
6613
|
transactionType: z.ZodLiteral<"charge">;
|
|
6377
6614
|
}, "strip", z.ZodTypeAny, {
|
|
6378
|
-
type: "user_recharge" | "system_bonus" | "refund";
|
|
6379
6615
|
id: string;
|
|
6616
|
+
type: "user_recharge" | "system_bonus" | "refund";
|
|
6380
6617
|
createdAt: string;
|
|
6381
6618
|
userId: string;
|
|
6382
6619
|
creditsPackageId: string;
|
|
@@ -6389,8 +6626,8 @@ declare const TransactionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
6389
6626
|
metadata?: any;
|
|
6390
6627
|
packageName?: string | undefined;
|
|
6391
6628
|
}, {
|
|
6392
|
-
type: "user_recharge" | "system_bonus" | "refund";
|
|
6393
6629
|
id: string;
|
|
6630
|
+
type: "user_recharge" | "system_bonus" | "refund";
|
|
6394
6631
|
createdAt: string;
|
|
6395
6632
|
userId: string;
|
|
6396
6633
|
creditsPackageId: string;
|
|
@@ -6485,8 +6722,8 @@ declare const ListTransactionsResponseSchema: z.ZodObject<{
|
|
|
6485
6722
|
createdAt: z.ZodString;
|
|
6486
6723
|
transactionType: z.ZodLiteral<"charge">;
|
|
6487
6724
|
}, "strip", z.ZodTypeAny, {
|
|
6488
|
-
type: "user_recharge" | "system_bonus" | "refund";
|
|
6489
6725
|
id: string;
|
|
6726
|
+
type: "user_recharge" | "system_bonus" | "refund";
|
|
6490
6727
|
createdAt: string;
|
|
6491
6728
|
userId: string;
|
|
6492
6729
|
creditsPackageId: string;
|
|
@@ -6499,8 +6736,8 @@ declare const ListTransactionsResponseSchema: z.ZodObject<{
|
|
|
6499
6736
|
metadata?: any;
|
|
6500
6737
|
packageName?: string | undefined;
|
|
6501
6738
|
}, {
|
|
6502
|
-
type: "user_recharge" | "system_bonus" | "refund";
|
|
6503
6739
|
id: string;
|
|
6740
|
+
type: "user_recharge" | "system_bonus" | "refund";
|
|
6504
6741
|
createdAt: string;
|
|
6505
6742
|
userId: string;
|
|
6506
6743
|
creditsPackageId: string;
|
|
@@ -6556,8 +6793,8 @@ declare const ListTransactionsResponseSchema: z.ZodObject<{
|
|
|
6556
6793
|
}, "strip", z.ZodTypeAny, {
|
|
6557
6794
|
total: number;
|
|
6558
6795
|
transactions: ({
|
|
6559
|
-
type: "user_recharge" | "system_bonus" | "refund";
|
|
6560
6796
|
id: string;
|
|
6797
|
+
type: "user_recharge" | "system_bonus" | "refund";
|
|
6561
6798
|
createdAt: string;
|
|
6562
6799
|
userId: string;
|
|
6563
6800
|
creditsPackageId: string;
|
|
@@ -6586,8 +6823,8 @@ declare const ListTransactionsResponseSchema: z.ZodObject<{
|
|
|
6586
6823
|
}, {
|
|
6587
6824
|
total: number;
|
|
6588
6825
|
transactions: ({
|
|
6589
|
-
type: "user_recharge" | "system_bonus" | "refund";
|
|
6590
6826
|
id: string;
|
|
6827
|
+
type: "user_recharge" | "system_bonus" | "refund";
|
|
6591
6828
|
createdAt: string;
|
|
6592
6829
|
userId: string;
|
|
6593
6830
|
creditsPackageId: string;
|
|
@@ -6751,8 +6988,8 @@ declare const GitServerSchema: z.ZodObject<{
|
|
|
6751
6988
|
createdAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
6752
6989
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
6753
6990
|
}, "strip", z.ZodTypeAny, {
|
|
6754
|
-
type: string;
|
|
6755
6991
|
id: string;
|
|
6992
|
+
type: string;
|
|
6756
6993
|
createdAt: string;
|
|
6757
6994
|
updatedAt: string;
|
|
6758
6995
|
name: string;
|
|
@@ -6761,8 +6998,8 @@ declare const GitServerSchema: z.ZodObject<{
|
|
|
6761
6998
|
apiUrl: string;
|
|
6762
6999
|
oauthServerId: string | null;
|
|
6763
7000
|
}, {
|
|
6764
|
-
type: string;
|
|
6765
7001
|
id: string;
|
|
7002
|
+
type: string;
|
|
6766
7003
|
createdAt: string | Date;
|
|
6767
7004
|
updatedAt: string | Date;
|
|
6768
7005
|
name: string;
|
|
@@ -6786,8 +7023,8 @@ declare const ListGitServersResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
6786
7023
|
createdAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
6787
7024
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
6788
7025
|
}, "strip", z.ZodTypeAny, {
|
|
6789
|
-
type: string;
|
|
6790
7026
|
id: string;
|
|
7027
|
+
type: string;
|
|
6791
7028
|
createdAt: string;
|
|
6792
7029
|
updatedAt: string;
|
|
6793
7030
|
name: string;
|
|
@@ -6796,8 +7033,8 @@ declare const ListGitServersResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
6796
7033
|
apiUrl: string;
|
|
6797
7034
|
oauthServerId: string | null;
|
|
6798
7035
|
}, {
|
|
6799
|
-
type: string;
|
|
6800
7036
|
id: string;
|
|
7037
|
+
type: string;
|
|
6801
7038
|
createdAt: string | Date;
|
|
6802
7039
|
updatedAt: string | Date;
|
|
6803
7040
|
name: string;
|
|
@@ -6821,8 +7058,8 @@ declare const GetGitServerResponseSchema: z.ZodObject<{
|
|
|
6821
7058
|
createdAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
6822
7059
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodDate, string, Date>]>;
|
|
6823
7060
|
}, "strip", z.ZodTypeAny, {
|
|
6824
|
-
type: string;
|
|
6825
7061
|
id: string;
|
|
7062
|
+
type: string;
|
|
6826
7063
|
createdAt: string;
|
|
6827
7064
|
updatedAt: string;
|
|
6828
7065
|
name: string;
|
|
@@ -6831,8 +7068,8 @@ declare const GetGitServerResponseSchema: z.ZodObject<{
|
|
|
6831
7068
|
apiUrl: string;
|
|
6832
7069
|
oauthServerId: string | null;
|
|
6833
7070
|
}, {
|
|
6834
|
-
type: string;
|
|
6835
7071
|
id: string;
|
|
7072
|
+
type: string;
|
|
6836
7073
|
createdAt: string | Date;
|
|
6837
7074
|
updatedAt: string | Date;
|
|
6838
7075
|
name: string;
|
|
@@ -7715,11 +7952,11 @@ declare const WorkspaceFileResponseSchema: z.ZodObject<{
|
|
|
7715
7952
|
code: z.ZodString;
|
|
7716
7953
|
message: z.ZodString;
|
|
7717
7954
|
}, "strip", z.ZodTypeAny, {
|
|
7718
|
-
message: string;
|
|
7719
7955
|
code: string;
|
|
7720
|
-
}, {
|
|
7721
7956
|
message: string;
|
|
7957
|
+
}, {
|
|
7722
7958
|
code: string;
|
|
7959
|
+
message: string;
|
|
7723
7960
|
}>>;
|
|
7724
7961
|
}, "strip", z.ZodTypeAny, {
|
|
7725
7962
|
success: boolean;
|
|
@@ -7727,8 +7964,8 @@ declare const WorkspaceFileResponseSchema: z.ZodObject<{
|
|
|
7727
7964
|
eventId: string;
|
|
7728
7965
|
requestId: string;
|
|
7729
7966
|
error?: {
|
|
7730
|
-
message: string;
|
|
7731
7967
|
code: string;
|
|
7968
|
+
message: string;
|
|
7732
7969
|
} | undefined;
|
|
7733
7970
|
data?: {
|
|
7734
7971
|
type: "directory" | "file";
|
|
@@ -7755,8 +7992,8 @@ declare const WorkspaceFileResponseSchema: z.ZodObject<{
|
|
|
7755
7992
|
eventId: string;
|
|
7756
7993
|
requestId: string;
|
|
7757
7994
|
error?: {
|
|
7758
|
-
message: string;
|
|
7759
7995
|
code: string;
|
|
7996
|
+
message: string;
|
|
7760
7997
|
} | undefined;
|
|
7761
7998
|
data?: {
|
|
7762
7999
|
type: "directory" | "file";
|
|
@@ -7937,14 +8174,14 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
7937
8174
|
createdAt: z.ZodString;
|
|
7938
8175
|
updatedAt: z.ZodString;
|
|
7939
8176
|
}, "strip", z.ZodTypeAny, {
|
|
7940
|
-
type: "direct" | "group";
|
|
7941
8177
|
id: string;
|
|
8178
|
+
type: "direct" | "group";
|
|
7942
8179
|
createdAt: string;
|
|
7943
8180
|
updatedAt: string;
|
|
7944
8181
|
owner: string;
|
|
7945
8182
|
}, {
|
|
7946
|
-
type: "direct" | "group";
|
|
7947
8183
|
id: string;
|
|
8184
|
+
type: "direct" | "group";
|
|
7948
8185
|
createdAt: string;
|
|
7949
8186
|
updatedAt: string;
|
|
7950
8187
|
owner: string;
|
|
@@ -7957,16 +8194,16 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
7957
8194
|
createdAt: z.ZodString;
|
|
7958
8195
|
updatedAt: z.ZodString;
|
|
7959
8196
|
}, "strip", z.ZodTypeAny, {
|
|
7960
|
-
type: "human" | "agent";
|
|
7961
8197
|
id: string;
|
|
8198
|
+
type: "human" | "agent";
|
|
7962
8199
|
createdAt: string;
|
|
7963
8200
|
chatId: string;
|
|
7964
8201
|
updatedAt: string;
|
|
7965
8202
|
memberCode: string;
|
|
7966
8203
|
role: string;
|
|
7967
8204
|
}, {
|
|
7968
|
-
type: "human" | "agent";
|
|
7969
8205
|
id: string;
|
|
8206
|
+
type: "human" | "agent";
|
|
7970
8207
|
createdAt: string;
|
|
7971
8208
|
chatId: string;
|
|
7972
8209
|
updatedAt: string;
|
|
@@ -8040,14 +8277,14 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
8040
8277
|
}, "strip", z.ZodTypeAny, {
|
|
8041
8278
|
type: "machine-online" | "machine-offline" | "chat-added" | "chat-removed" | "chat-member-added" | "chat-member-removed" | "repo-added" | "repo-removed" | "pr-state-changed";
|
|
8042
8279
|
data: {
|
|
8043
|
-
type: "direct" | "group";
|
|
8044
8280
|
id: string;
|
|
8281
|
+
type: "direct" | "group";
|
|
8045
8282
|
createdAt: string;
|
|
8046
8283
|
updatedAt: string;
|
|
8047
8284
|
owner: string;
|
|
8048
8285
|
} | {
|
|
8049
|
-
type: "human" | "agent";
|
|
8050
8286
|
id: string;
|
|
8287
|
+
type: "human" | "agent";
|
|
8051
8288
|
createdAt: string;
|
|
8052
8289
|
chatId: string;
|
|
8053
8290
|
updatedAt: string;
|
|
@@ -8082,14 +8319,14 @@ declare const SystemMessageSchema: z.ZodObject<{
|
|
|
8082
8319
|
}, {
|
|
8083
8320
|
type: "machine-online" | "machine-offline" | "chat-added" | "chat-removed" | "chat-member-added" | "chat-member-removed" | "repo-added" | "repo-removed" | "pr-state-changed";
|
|
8084
8321
|
data: {
|
|
8085
|
-
type: "direct" | "group";
|
|
8086
8322
|
id: string;
|
|
8323
|
+
type: "direct" | "group";
|
|
8087
8324
|
createdAt: string;
|
|
8088
8325
|
updatedAt: string;
|
|
8089
8326
|
owner: string;
|
|
8090
8327
|
} | {
|
|
8091
|
-
type: "human" | "agent";
|
|
8092
8328
|
id: string;
|
|
8329
|
+
type: "human" | "agent";
|
|
8093
8330
|
createdAt: string;
|
|
8094
8331
|
chatId: string;
|
|
8095
8332
|
updatedAt: string;
|
|
@@ -8531,5 +8768,5 @@ declare function encryptFileContent(fileContentBase64: string, dataKey: Uint8Arr
|
|
|
8531
8768
|
*/
|
|
8532
8769
|
declare function decryptFileContent(encryptedContent: string, dataKey: Uint8Array): string | null;
|
|
8533
8770
|
|
|
8534
|
-
export { AddChatMemberRequestSchema, AddChatMemberResponseSchema, AgentConfigValidationError, AgentCustomConfigSchema, AgentError, AgentLoadError, AgentMetadataSchema, AgentNotFoundError, AgentSchema, AgentTypeSchema, ApiErrorSchema, ApiServerAliveEventSchema, AppAliveEventSchema, ApprovalStatusResponseSchema, ApprovePrRequestSchema, ApprovePrResponseSchema, ArchiveTaskRequestSchema, ArchiveTaskResponseSchema, AskUserMessageSchema, AskUserOptionSchema, AskUserQuestionSchema, AskUserResponseMessageSchema, AssociateRepoEventDataSchema, BillingStatsResponseSchema, BranchSchema, CancelTaskRequestSchema, CancelTaskResponseSchema, ChangeTaskTitleEventSchema, ChargeTransactionSchema, ChatMemberInputSchema, ChatMemberSchema, ChatSchema, ChatTypeSchema, ChatWithMembersSchema, ClaudeConfigSchema, CloudJoinApprovalRequestSchema, CloudJoinRequestSchema, CloudJoinResultQuerySchema, CloudJoinStatusQuerySchema, CloudMachineSchema, CloudSchema, ConfirmUploadRequestSchema, ConfirmUploadResponseSchema, ConsumeTransactionSchema, CreateAgentRequestSchema, CreateAgentResponseSchema, CreateChatRequestSchema, CreateChatResponseSchema, CreateCloudRequestSchema, CreateCloudResponseSchema, CreateMergeRequestResponseSchema, CreateMergeRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreateTaskShareResponseSchema, CreateTaskShareSchema, CreditExhaustedEventSchema, CreditsPackageSchema, DateSchema, DeleteAgentResponseSchema, DeleteOAuthServerResponseSchema, DisplayConfigKeysSchema, DisplayConfigSchema, EventAckSchema, EventSchemaMap, FRAMEWORK_TYPES, FileItemSchema, FileStatsSchema, FileVisibilitySchema, FrameworkNotSupportedError, GetAgentResponseSchema, GetChatResponseSchema, GetGitServerResponseSchema, GetGitUrlQuerySchema, GetGitUrlResponseSchema, GetInstallUrlResponseSchema, GetOAuthServerResponseSchema, GetRepositoryResponseSchema, GetUploadUrlsRequestSchema, GetUploadUrlsResponseSchema, GitHubIssueListItemSchema, GitHubIssueSchema, GitServerSchema, IdSchema, ListAgentsResponseSchema, ListBranchesResponseSchema, ListChatMembersResponseSchema, ListChatTasksResponseSchema, ListChatsResponseSchema, ListFilesQuerySchema, ListFilesResponseSchema, ListGitServersResponseSchema, ListIssuesQuerySchema, ListIssuesResponseSchema, ListMachinesResponseSchema, ListOAuthServersPublicResponseSchema, ListOAuthServersQuerySchema, ListOAuthServersResponseSchema, ListPackagesQuerySchema, ListPackagesResponseSchema, ListRepositoriesResponseSchema, ListTasksRequestSchema, ListTasksResponseSchema, ListTransactionsQuerySchema, ListTransactionsResponseSchema, LocalMachineSchema, LogoutResponseSchema, MachineAliveEventSchema, MachineApprovalRequestSchema, MachineApprovalStatusQuerySchema, MachineAuthAuthorizedResponseSchema, MachineAuthRequestSchema, MachineAuthResultQuerySchema, MergePullRequestEventSchema, MergeRequestEventSchema, MissingAgentFileError, OAuthAccountInfoSchema, OAuthBindCallbackResponseSchema, OAuthBindQuerySchema, OAuthBindResponseSchema, OAuthCallbackQuerySchema, OAuthCallbackResponseSchema, OAuthLoginQuerySchema, OAuthServerPublicSchema, OAuthServerSchema, OAuthUnbindResponseSchema, PaginatedResponseSchema, PermissionResponseRequestSchema, PermissionResponseResponseSchema, ProjectDirectoryResponseSchema, ProjectEntrySchema, QueryEventsRequestSchema, RechargeResponseSchema, RemoveChatMemberRequestSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, ResumeTaskRequestSchema, ResumeTaskResponseSchema, ShareAuthQuerySchema, ShareAuthResponseSchema, ShutdownMachineSchema, SignatureAuthRequestSchema, SignatureAuthResponseSchema, SimpleSuccessSchema, StartTaskRequestSchema, StartTaskResponseSchema, StatsQuerySchema, StopTaskRequestSchema, StopTaskResponseSchema, StopTaskSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineRequestSchema, SystemMessageSchema, TaskArtifactsUpdatedEventSchema, TaskInfoUpdateEventDataSchema, TaskItemSchema, TaskMessageSchema, TaskSharePermissionsSchema, TaskStateChangeEventSchema, TaskTransactionsResponseSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UnarchiveTaskRequestSchema, UnarchiveTaskResponseSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdateTaskAgentSessionIdEventSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, UserProfileResponseSchema, UserWithOAuthAccountsSchema, WorkerAliveEventSchema, WorkerExitSchema, WorkerInitializingSchema, WorkerReadySchema, WorkerRunningSchema, WorkspaceFileRequestSchema, WorkspaceFileResponseSchema, assertAgentExists, assertFileExists, baseTaskSchema, cancelTaskRequestSchema, cancelTaskSchema, createEventId, createKeyPair, createKeyPairWithUit8Array, createMergeRequestSchema, createTaskSchema, decodeBase64, decryptAES, decryptFileContent, decryptMachineEncryptionKey, decryptSdkMessage, decryptWithEphemeralKey, discoverPlugins, encodeBase64, encodeBase64Url, encryptAES, encryptFileContent, encryptMachineEncryptionKey, encryptSdkMessage, encryptWithEphemeralKey, generateAESKey, generateAESKeyBase64, getAgentContext, getRandomBytes, isAskUserMessage, isAskUserResponseMessage, isSDKMessage, loadAgentConfig, machineAuth, permissionResponseRequestSchema, replacePromptPlaceholders, resumeTaskRequestSchema, resumeTaskSchema, setAgentContext, startTaskSchema, stopTaskRequestSchema, userAuth, validateAgentDirectory, validateFrameworkDirectory, workerAuth, workerTaskEvents };
|
|
8535
|
-
export type { AddChatMemberRequest, AddChatMemberResponse, Agent, AgentConfig, AgentContext, AgentCustomConfig, AgentMetadata, AgentType, ApiError, ApiServerAliveEventData, AppAliveEventData, ApprovalStatusResponse, ApprovePrRequest, ApprovePrResponse, ArchiveTaskRequest, ArchiveTaskResponse, AskUserMessage, AskUserOption, AskUserQuestion, AskUserResponseMessage, AssociateRepoEventData, AuthPayload, BillingStatsResponse, Branch, CancelTaskEventData, CancelTaskRequest, CancelTaskResponse, ChangeTaskTitleEventData, ChargeTransaction, Chat, ChatMember, ChatMemberInput, ChatType, ChatWithMembers, ClaudeAgentConfig, ClientType, Cloud, CloudJoinApprovalRequest, CloudJoinRequest, CloudJoinResultQuery, CloudJoinStatusQuery, CloudMachine, ConfirmUploadRequest, ConfirmUploadResponse, ConsumeTransaction, CreateAgentRequest, CreateAgentResponse, CreateChatRequest, CreateChatResponse, CreateCloudRequest, CreateCloudResponse, CreateMergeRequestRequest, CreateMergeRequestResponse, CreateOAuthServerRequest, CreateOAuthServerResponse, CreateTaskEventData, CreateTaskShareRequest, CreateTaskShareResponse, CreditExhaustedEventData, CreditsPackage, DeleteAgentResponse, DeleteOAuthServerResponse, DisplayConfig, DisplayConfigKeys, EventAckData, EventData, EventMap, EventName, FileItem, FileStats, FileVisibility, FrameworkType, GetAgentResponse, GetChatResponse, GetGitServerResponse, GetGitUrlQuery, GetGitUrlResponse, GetInstallUrlResponse, GetOAuthServerResponse, GetRepositoryResponse, GetUploadUrlsRequest, GetUploadUrlsResponse, GitHubIssue, GitHubIssueListItem, GitServer, ListAgentsResponse, ListBranchesResponse, ListChatMembersResponse, ListChatTasksResponse, ListChatsResponse, ListFilesQuery, ListFilesResponse, ListGitServersResponse, ListIssuesQuery, ListIssuesResponse, ListMachinesResponse, ListOAuthServersPublicResponse, ListOAuthServersQuery, ListOAuthServersResponse, ListPackagesQuery, ListPackagesResponse, ListRepositoriesResponse, ListTasksRequest, ListTasksResponse, ListTransactionsQuery, ListTransactionsResponse, LoadAgentOptions, LocalMachine, LogoutResponse, MachineAliveEventData, MachineApprovalRequest, MachineApprovalStatusQuery, MachineAuthAuthorizedResponse, MachineAuthRequest, MachineAuthResultQuery, MachineEncryptionKey, MergePullRequestAck, MergePullRequestEventData, MergeRequestEventData, OAuthAccountInfo, OAuthBindCallbackResponse, OAuthBindQuery, OAuthBindResponse, OAuthCallbackQuery, OAuthCallbackResponse, OAuthLoginQuery, OAuthServer, OAuthServerPublic, OAuthUnbindResponse, PermissionResponseRequest, PermissionResponseResponse, PrStateChangedData, ProjectDirectoryResponse, ProjectEntry, QueryEventsRequest, QueryEventsResponse, RechargeResponse, RemoveChatMemberRequest, Repository, RepositoryInitHookInput, ResetSecretRequest, ResetSecretResponse, ResumeTaskEventData, ResumeTaskRequest, ResumeTaskResponse, ShareAuthQuery, ShareAuthResponse, ShutdownMachineData, SignatureAuthRequest, SignatureAuthResponse, SimpleSuccess, StartTaskRequest, StartTaskResponse, StatsQuery, StopTaskEventData, StopTaskRequest, StopTaskResponse, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineRequest, SystemMessageEventData, SystemMessageType, TaskArtifactsUpdatedEventData, TaskEvent, TaskInfoUpdateEventData, TaskItem, TaskMessageEventData, TaskMessagePayload, TaskSharePermissions, TaskState, TaskStateChangeEventData, TaskTransactionsResponse, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UnarchiveTaskRequest, UnarchiveTaskResponse, UpdateAgentRequest, UpdateAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdateTaskAgentSessionIdEventData, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserProfileResponse, UserWithOAuthAccounts, ValidationResult, WorkerAliveEventData, WorkerExitEventData, WorkerInitializingEventData, WorkerReadyEventData, WorkerRunningEventData, WorkerTaskEvent, WorkspaceFileRequestEventData, WorkspaceFileResponseEventData };
|
|
8771
|
+
export { AddChatMemberRequestSchema, AddChatMemberResponseSchema, AgentConfigValidationError, AgentCustomConfigSchema, AgentError, AgentLoadError, AgentMetadataSchema, AgentNotFoundError, AgentSchema, AgentTypeSchema, ApiErrorSchema, ApiServerAliveEventSchema, AppAliveEventSchema, ApprovalStatusResponseSchema, ApprovePrRequestSchema, ApprovePrResponseSchema, ArchiveTaskRequestSchema, ArchiveTaskResponseSchema, AskUserMessageSchema, AskUserOptionSchema, AskUserQuestionSchema, AskUserResponseMessageSchema, AssociateRepoEventDataSchema, BillingStatsResponseSchema, BranchSchema, CancelTaskRequestSchema, CancelTaskResponseSchema, ChangeTaskTitleEventSchema, ChargeTransactionSchema, ChatMemberInputSchema, ChatMemberSchema, ChatSchema, ChatTypeSchema, ChatWithMembersSchema, ClaudeConfigSchema, CloudJoinApprovalRequestSchema, CloudJoinRequestSchema, CloudJoinResultQuerySchema, CloudJoinStatusQuerySchema, CloudMachineSchema, CloudSchema, ConfirmUploadRequestSchema, ConfirmUploadResponseSchema, ConsumeTransactionSchema, CreateAgentRequestSchema, CreateAgentResponseSchema, CreateChatRequestSchema, CreateChatResponseSchema, CreateCloudRequestSchema, CreateCloudResponseSchema, CreateMergeRequestResponseSchema, CreateMergeRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreateTaskShareResponseSchema, CreateTaskShareSchema, CreditExhaustedEventSchema, CreditsPackageSchema, DateSchema, DeleteAgentResponseSchema, DeleteOAuthServerResponseSchema, DisplayConfigKeysSchema, DisplayConfigSchema, EventAckSchema, EventSchemaMap, FRAMEWORK_TYPES, FileItemSchema, FileStatsSchema, FileVisibilitySchema, FrameworkNotSupportedError, GetAgentResponseSchema, GetChatResponseSchema, GetGitServerResponseSchema, GetGitUrlQuerySchema, GetGitUrlResponseSchema, GetInstallUrlResponseSchema, GetOAuthServerResponseSchema, GetRepositoryResponseSchema, GetUploadUrlsRequestSchema, GetUploadUrlsResponseSchema, GitHubIssueListItemSchema, GitHubIssueSchema, GitServerSchema, IdSchema, ListAgentsResponseSchema, ListBranchesResponseSchema, ListChatMembersResponseSchema, ListChatTasksResponseSchema, ListChatsResponseSchema, ListFilesQuerySchema, ListFilesResponseSchema, ListGitServersResponseSchema, ListIssuesQuerySchema, ListIssuesResponseSchema, ListMachinesResponseSchema, ListOAuthServersPublicResponseSchema, ListOAuthServersQuerySchema, ListOAuthServersResponseSchema, ListPackagesQuerySchema, ListPackagesResponseSchema, ListRepositoriesResponseSchema, ListTasksRequestSchema, ListTasksResponseSchema, ListTransactionsQuerySchema, ListTransactionsResponseSchema, LocalMachineSchema, LogoutResponseSchema, MachineAliveEventSchema, MachineApprovalRequestSchema, MachineApprovalStatusQuerySchema, MachineAuthAuthorizedResponseSchema, MachineAuthRequestSchema, MachineAuthResultQuerySchema, MergePullRequestEventSchema, MergeRequestEventSchema, MissingAgentFileError, OAuthAccountInfoSchema, OAuthBindCallbackResponseSchema, OAuthBindQuerySchema, OAuthBindResponseSchema, OAuthCallbackQuerySchema, OAuthCallbackResponseSchema, OAuthLoginQuerySchema, OAuthServerPublicSchema, OAuthServerSchema, OAuthUnbindResponseSchema, PaginatedResponseSchema, PermissionResponseRequestSchema, PermissionResponseResponseSchema, ProjectDirectoryResponseSchema, ProjectEntrySchema, QueryEventsRequestSchema, RechargeResponseSchema, RemoveChatMemberRequestSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, ResumeTaskRequestSchema, ResumeTaskResponseSchema, ShareAuthQuerySchema, ShareAuthResponseSchema, ShutdownMachineSchema, SignatureAuthRequestSchema, SignatureAuthResponseSchema, SimpleSuccessSchema, StartTaskRequestSchema, StartTaskResponseSchema, StatsQuerySchema, StopTaskRequestSchema, StopTaskResponseSchema, StopTaskSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineRequestSchema, SystemMessageSchema, TaskArtifactsUpdatedEventSchema, TaskInfoUpdateEventDataSchema, TaskItemSchema, TaskMessageSchema, TaskSharePermissionsSchema, TaskStateChangeEventSchema, TaskTransactionsResponseSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UnarchiveTaskRequestSchema, UnarchiveTaskResponseSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdateTaskAgentSessionIdEventSchema, UpdateTaskTitleRequestSchema, UpdateTaskTitleResponseSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, UserProfileResponseSchema, UserWithOAuthAccountsSchema, WorkerAliveEventSchema, WorkerExitSchema, WorkerInitializingSchema, WorkerReadySchema, WorkerRunningSchema, WorkspaceFileRequestSchema, WorkspaceFileResponseSchema, assertAgentExists, assertFileExists, baseTaskSchema, cancelTaskRequestSchema, cancelTaskSchema, createEventId, createKeyPair, createKeyPairWithUit8Array, createMergeRequestSchema, createTaskSchema, decodeBase64, decryptAES, decryptFileContent, decryptMachineEncryptionKey, decryptSdkMessage, decryptWithEphemeralKey, discoverPlugins, encodeBase64, encodeBase64Url, encryptAES, encryptFileContent, encryptMachineEncryptionKey, encryptSdkMessage, encryptWithEphemeralKey, generateAESKey, generateAESKeyBase64, getAgentContext, getRandomBytes, isAskUserMessage, isAskUserResponseMessage, isSDKMessage, loadAgentConfig, machineAuth, permissionResponseRequestSchema, replacePromptPlaceholders, resumeTaskRequestSchema, resumeTaskSchema, setAgentContext, startTaskSchema, stopTaskRequestSchema, userAuth, validateAgentDirectory, validateFrameworkDirectory, workerAuth, workerTaskEvents };
|
|
8772
|
+
export type { AddChatMemberRequest, AddChatMemberResponse, Agent, AgentConfig, AgentContext, AgentCustomConfig, AgentMetadata, AgentType, ApiError, ApiServerAliveEventData, AppAliveEventData, ApprovalStatusResponse, ApprovePrRequest, ApprovePrResponse, ArchiveTaskRequest, ArchiveTaskResponse, AskUserMessage, AskUserOption, AskUserQuestion, AskUserResponseMessage, AssociateRepoEventData, AuthPayload, BillingStatsResponse, Branch, CancelTaskEventData, CancelTaskRequest, CancelTaskResponse, ChangeTaskTitleEventData, ChargeTransaction, Chat, ChatMember, ChatMemberInput, ChatType, ChatWithMembers, ClaudeAgentConfig, ClientType, Cloud, CloudJoinApprovalRequest, CloudJoinRequest, CloudJoinResultQuery, CloudJoinStatusQuery, CloudMachine, ConfirmUploadRequest, ConfirmUploadResponse, ConsumeTransaction, CreateAgentRequest, CreateAgentResponse, CreateChatRequest, CreateChatResponse, CreateCloudRequest, CreateCloudResponse, CreateMergeRequestRequest, CreateMergeRequestResponse, CreateOAuthServerRequest, CreateOAuthServerResponse, CreateTaskEventData, CreateTaskShareRequest, CreateTaskShareResponse, CreditExhaustedEventData, CreditsPackage, DeleteAgentResponse, DeleteOAuthServerResponse, DisplayConfig, DisplayConfigKeys, EventAckData, EventData, EventMap, EventName, FileItem, FileStats, FileVisibility, FrameworkType, GetAgentResponse, GetChatResponse, GetGitServerResponse, GetGitUrlQuery, GetGitUrlResponse, GetInstallUrlResponse, GetOAuthServerResponse, GetRepositoryResponse, GetUploadUrlsRequest, GetUploadUrlsResponse, GitHubIssue, GitHubIssueListItem, GitServer, ListAgentsResponse, ListBranchesResponse, ListChatMembersResponse, ListChatTasksResponse, ListChatsResponse, ListFilesQuery, ListFilesResponse, ListGitServersResponse, ListIssuesQuery, ListIssuesResponse, ListMachinesResponse, ListOAuthServersPublicResponse, ListOAuthServersQuery, ListOAuthServersResponse, ListPackagesQuery, ListPackagesResponse, ListRepositoriesResponse, ListTasksRequest, ListTasksResponse, ListTransactionsQuery, ListTransactionsResponse, LoadAgentOptions, LocalMachine, LogoutResponse, MachineAliveEventData, MachineApprovalRequest, MachineApprovalStatusQuery, MachineAuthAuthorizedResponse, MachineAuthRequest, MachineAuthResultQuery, MachineEncryptionKey, MergePullRequestAck, MergePullRequestEventData, MergeRequestEventData, OAuthAccountInfo, OAuthBindCallbackResponse, OAuthBindQuery, OAuthBindResponse, OAuthCallbackQuery, OAuthCallbackResponse, OAuthLoginQuery, OAuthServer, OAuthServerPublic, OAuthUnbindResponse, PermissionResponseRequest, PermissionResponseResponse, PrStateChangedData, ProjectDirectoryResponse, ProjectEntry, QueryEventsRequest, QueryEventsResponse, RechargeResponse, RemoveChatMemberRequest, Repository, RepositoryInitHookInput, ResetSecretRequest, ResetSecretResponse, ResumeTaskEventData, ResumeTaskRequest, ResumeTaskResponse, ShareAuthQuery, ShareAuthResponse, ShutdownMachineData, SignatureAuthRequest, SignatureAuthResponse, SimpleSuccess, StartTaskRequest, StartTaskResponse, StatsQuery, StopTaskEventData, StopTaskRequest, StopTaskResponse, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineRequest, SystemMessageEventData, SystemMessageType, TaskArtifactsUpdatedEventData, TaskEvent, TaskInfoUpdateEventData, TaskItem, TaskMessageEventData, TaskMessagePayload, TaskSharePermissions, TaskState, TaskStateChangeEventData, TaskTransactionsResponse, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UnarchiveTaskRequest, UnarchiveTaskResponse, UpdateAgentRequest, UpdateAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdateTaskAgentSessionIdEventData, UpdateTaskTitleRequest, UpdateTaskTitleResponse, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserProfileResponse, UserWithOAuthAccounts, ValidationResult, WorkerAliveEventData, WorkerExitEventData, WorkerInitializingEventData, WorkerReadyEventData, WorkerRunningEventData, WorkerTaskEvent, WorkspaceFileRequestEventData, WorkspaceFileResponseEventData };
|