@deepraxis/sdk 0.1.0-dev.c01abef → 0.1.0-dev.c45414d
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/METHODS.md +119 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +261 -15
- package/dist/generated/sdk.gen.js +808 -14
- package/dist/generated/types.gen.d.ts +15809 -11594
- package/dist/operations.generated.d.ts +1213 -45
- package/dist/operations.generated.js +1524 -47
- package/dist/resources.generated.d.ts +574 -84
- package/dist/resources.generated.js +76 -0
- package/package.json +1 -1
|
@@ -27,23 +27,25 @@ export declare function createAgent(transport: Transport): {
|
|
|
27
27
|
type: "agent";
|
|
28
28
|
updated_at: string;
|
|
29
29
|
version: number;
|
|
30
|
-
|
|
30
|
+
active_version: number;
|
|
31
|
+
created_by: {
|
|
32
|
+
type: "user";
|
|
31
33
|
id: string;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}>;
|
|
36
|
-
vector_stores: Array<{
|
|
34
|
+
name?: string;
|
|
35
|
+
} | {
|
|
36
|
+
type: "api_key";
|
|
37
37
|
id: string;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
files: Array<{
|
|
38
|
+
} | null;
|
|
39
|
+
note: string | null;
|
|
40
|
+
bindings: Array<{
|
|
41
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
43
42
|
id: string;
|
|
44
|
-
access: "read_only";
|
|
43
|
+
access: "read_only" | "read_write" | "invoke";
|
|
45
44
|
instructions?: string;
|
|
46
45
|
enabled?: boolean;
|
|
46
|
+
} | {
|
|
47
|
+
type: "search" | "browser";
|
|
48
|
+
enabled?: boolean;
|
|
47
49
|
}>;
|
|
48
50
|
kind: "personal" | "service";
|
|
49
51
|
computer_id?: string;
|
|
@@ -150,6 +152,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
150
152
|
models?: {
|
|
151
153
|
allowed: Array<string>;
|
|
152
154
|
};
|
|
155
|
+
avatar: string | null;
|
|
153
156
|
status: "active" | "archived";
|
|
154
157
|
}>;
|
|
155
158
|
create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
|
|
@@ -176,23 +179,25 @@ export declare function createAgent(transport: Transport): {
|
|
|
176
179
|
type: "agent";
|
|
177
180
|
updated_at: string;
|
|
178
181
|
version: number;
|
|
179
|
-
|
|
182
|
+
active_version: number;
|
|
183
|
+
created_by: {
|
|
184
|
+
type: "user";
|
|
180
185
|
id: string;
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
}>;
|
|
185
|
-
vector_stores: Array<{
|
|
186
|
+
name?: string;
|
|
187
|
+
} | {
|
|
188
|
+
type: "api_key";
|
|
186
189
|
id: string;
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
files: Array<{
|
|
190
|
+
} | null;
|
|
191
|
+
note: string | null;
|
|
192
|
+
bindings: Array<{
|
|
193
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
192
194
|
id: string;
|
|
193
|
-
access: "read_only";
|
|
195
|
+
access: "read_only" | "read_write" | "invoke";
|
|
194
196
|
instructions?: string;
|
|
195
197
|
enabled?: boolean;
|
|
198
|
+
} | {
|
|
199
|
+
type: "search" | "browser";
|
|
200
|
+
enabled?: boolean;
|
|
196
201
|
}>;
|
|
197
202
|
kind: "personal" | "service";
|
|
198
203
|
computer_id?: string;
|
|
@@ -299,6 +304,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
299
304
|
models?: {
|
|
300
305
|
allowed: Array<string>;
|
|
301
306
|
};
|
|
307
|
+
avatar: string | null;
|
|
302
308
|
status: "active" | "archived";
|
|
303
309
|
}>;
|
|
304
310
|
endUsers: {
|
|
@@ -398,23 +404,25 @@ export declare function createAgent(transport: Transport): {
|
|
|
398
404
|
type: "agent";
|
|
399
405
|
updated_at: string;
|
|
400
406
|
version: number;
|
|
401
|
-
|
|
407
|
+
active_version: number;
|
|
408
|
+
created_by: {
|
|
409
|
+
type: "user";
|
|
402
410
|
id: string;
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
}>;
|
|
407
|
-
vector_stores: Array<{
|
|
411
|
+
name?: string;
|
|
412
|
+
} | {
|
|
413
|
+
type: "api_key";
|
|
408
414
|
id: string;
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
files: Array<{
|
|
415
|
+
} | null;
|
|
416
|
+
note: string | null;
|
|
417
|
+
bindings: Array<{
|
|
418
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
414
419
|
id: string;
|
|
415
|
-
access: "read_only";
|
|
420
|
+
access: "read_only" | "read_write" | "invoke";
|
|
416
421
|
instructions?: string;
|
|
417
422
|
enabled?: boolean;
|
|
423
|
+
} | {
|
|
424
|
+
type: "search" | "browser";
|
|
425
|
+
enabled?: boolean;
|
|
418
426
|
}>;
|
|
419
427
|
kind: "personal" | "service";
|
|
420
428
|
computer_id?: string;
|
|
@@ -521,6 +529,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
521
529
|
models?: {
|
|
522
530
|
allowed: Array<string>;
|
|
523
531
|
};
|
|
532
|
+
avatar: string | null;
|
|
524
533
|
status: "active" | "archived";
|
|
525
534
|
}>;
|
|
526
535
|
next_page: string | null;
|
|
@@ -549,23 +558,25 @@ export declare function createAgent(transport: Transport): {
|
|
|
549
558
|
type: "agent";
|
|
550
559
|
updated_at: string;
|
|
551
560
|
version: number;
|
|
552
|
-
|
|
561
|
+
active_version: number;
|
|
562
|
+
created_by: {
|
|
563
|
+
type: "user";
|
|
553
564
|
id: string;
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
}>;
|
|
558
|
-
vector_stores: Array<{
|
|
565
|
+
name?: string;
|
|
566
|
+
} | {
|
|
567
|
+
type: "api_key";
|
|
559
568
|
id: string;
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
files: Array<{
|
|
569
|
+
} | null;
|
|
570
|
+
note: string | null;
|
|
571
|
+
bindings: Array<{
|
|
572
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
565
573
|
id: string;
|
|
566
|
-
access: "read_only";
|
|
574
|
+
access: "read_only" | "read_write" | "invoke";
|
|
567
575
|
instructions?: string;
|
|
568
576
|
enabled?: boolean;
|
|
577
|
+
} | {
|
|
578
|
+
type: "search" | "browser";
|
|
579
|
+
enabled?: boolean;
|
|
569
580
|
}>;
|
|
570
581
|
kind: "personal" | "service";
|
|
571
582
|
computer_id?: string;
|
|
@@ -672,6 +683,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
672
683
|
models?: {
|
|
673
684
|
allowed: Array<string>;
|
|
674
685
|
};
|
|
686
|
+
avatar: string | null;
|
|
675
687
|
status: "active" | "archived";
|
|
676
688
|
}>;
|
|
677
689
|
unarchive: {
|
|
@@ -901,23 +913,25 @@ export declare function createAgent(transport: Transport): {
|
|
|
901
913
|
type: "agent";
|
|
902
914
|
updated_at: string;
|
|
903
915
|
version: number;
|
|
904
|
-
|
|
916
|
+
active_version: number;
|
|
917
|
+
created_by: {
|
|
918
|
+
type: "user";
|
|
905
919
|
id: string;
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
}>;
|
|
910
|
-
vector_stores: Array<{
|
|
920
|
+
name?: string;
|
|
921
|
+
} | {
|
|
922
|
+
type: "api_key";
|
|
911
923
|
id: string;
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
files: Array<{
|
|
924
|
+
} | null;
|
|
925
|
+
note: string | null;
|
|
926
|
+
bindings: Array<{
|
|
927
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
917
928
|
id: string;
|
|
918
|
-
access: "read_only";
|
|
929
|
+
access: "read_only" | "read_write" | "invoke";
|
|
919
930
|
instructions?: string;
|
|
920
931
|
enabled?: boolean;
|
|
932
|
+
} | {
|
|
933
|
+
type: "search" | "browser";
|
|
934
|
+
enabled?: boolean;
|
|
921
935
|
}>;
|
|
922
936
|
kind: "personal" | "service";
|
|
923
937
|
computer_id?: string;
|
|
@@ -1024,6 +1038,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1024
1038
|
models?: {
|
|
1025
1039
|
allowed: Array<string>;
|
|
1026
1040
|
};
|
|
1041
|
+
avatar: string | null;
|
|
1027
1042
|
status: "active" | "archived";
|
|
1028
1043
|
}>;
|
|
1029
1044
|
};
|
|
@@ -1051,23 +1066,25 @@ export declare function createAgent(transport: Transport): {
|
|
|
1051
1066
|
type: "agent";
|
|
1052
1067
|
updated_at: string;
|
|
1053
1068
|
version: number;
|
|
1054
|
-
|
|
1069
|
+
active_version: number;
|
|
1070
|
+
created_by: {
|
|
1071
|
+
type: "user";
|
|
1055
1072
|
id: string;
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
}>;
|
|
1060
|
-
vector_stores: Array<{
|
|
1073
|
+
name?: string;
|
|
1074
|
+
} | {
|
|
1075
|
+
type: "api_key";
|
|
1061
1076
|
id: string;
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
files: Array<{
|
|
1077
|
+
} | null;
|
|
1078
|
+
note: string | null;
|
|
1079
|
+
bindings: Array<{
|
|
1080
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1067
1081
|
id: string;
|
|
1068
|
-
access: "read_only";
|
|
1082
|
+
access: "read_only" | "read_write" | "invoke";
|
|
1069
1083
|
instructions?: string;
|
|
1070
1084
|
enabled?: boolean;
|
|
1085
|
+
} | {
|
|
1086
|
+
type: "search" | "browser";
|
|
1087
|
+
enabled?: boolean;
|
|
1071
1088
|
}>;
|
|
1072
1089
|
kind: "personal" | "service";
|
|
1073
1090
|
computer_id?: string;
|
|
@@ -1174,9 +1191,364 @@ export declare function createAgent(transport: Transport): {
|
|
|
1174
1191
|
models?: {
|
|
1175
1192
|
allowed: Array<string>;
|
|
1176
1193
|
};
|
|
1194
|
+
avatar: string | null;
|
|
1177
1195
|
status: "active" | "archived";
|
|
1178
1196
|
}>;
|
|
1179
1197
|
versions: {
|
|
1198
|
+
apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
|
|
1199
|
+
id: string;
|
|
1200
|
+
archived_at: null | string;
|
|
1201
|
+
created_at: string;
|
|
1202
|
+
description: null | string;
|
|
1203
|
+
mcp_servers: Array<{
|
|
1204
|
+
type: "url";
|
|
1205
|
+
name: string;
|
|
1206
|
+
url: string;
|
|
1207
|
+
headers?: {
|
|
1208
|
+
[key: string]: string;
|
|
1209
|
+
};
|
|
1210
|
+
timeout_ms?: number;
|
|
1211
|
+
} | {
|
|
1212
|
+
type: "sse";
|
|
1213
|
+
name: string;
|
|
1214
|
+
url: string;
|
|
1215
|
+
headers?: {
|
|
1216
|
+
[key: string]: string;
|
|
1217
|
+
};
|
|
1218
|
+
timeout_ms?: number;
|
|
1219
|
+
} | {
|
|
1220
|
+
type: "stdio";
|
|
1221
|
+
name: string;
|
|
1222
|
+
command: string;
|
|
1223
|
+
args?: Array<string>;
|
|
1224
|
+
env?: {
|
|
1225
|
+
[key: string]: string;
|
|
1226
|
+
};
|
|
1227
|
+
timeout_ms?: number;
|
|
1228
|
+
}>;
|
|
1229
|
+
metadata: {
|
|
1230
|
+
[key: string]: string;
|
|
1231
|
+
};
|
|
1232
|
+
model: {
|
|
1233
|
+
id: "claude-opus-5-5" | "claude-fable-5-1" | "claude-sonnet-5" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-5" | "claude-opus-4-5-20251101" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | string;
|
|
1234
|
+
effort?: {
|
|
1235
|
+
type: "low";
|
|
1236
|
+
} | {
|
|
1237
|
+
type: "medium";
|
|
1238
|
+
} | {
|
|
1239
|
+
type: "high";
|
|
1240
|
+
} | {
|
|
1241
|
+
type: "xhigh";
|
|
1242
|
+
} | {
|
|
1243
|
+
type: "max";
|
|
1244
|
+
};
|
|
1245
|
+
inference_geo?: string;
|
|
1246
|
+
speed?: "standard" | "fast";
|
|
1247
|
+
settings?: {
|
|
1248
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1249
|
+
};
|
|
1250
|
+
};
|
|
1251
|
+
multiagent: null | {
|
|
1252
|
+
agents: Array<{
|
|
1253
|
+
id: string;
|
|
1254
|
+
type: "agent";
|
|
1255
|
+
version: number;
|
|
1256
|
+
} | {
|
|
1257
|
+
model: string;
|
|
1258
|
+
type: "advisor";
|
|
1259
|
+
}>;
|
|
1260
|
+
type: "coordinator";
|
|
1261
|
+
};
|
|
1262
|
+
name: string;
|
|
1263
|
+
skills: Array<{
|
|
1264
|
+
skill_id: string;
|
|
1265
|
+
type: "anthropic";
|
|
1266
|
+
version: string;
|
|
1267
|
+
} | {
|
|
1268
|
+
skill_id: string;
|
|
1269
|
+
type: "custom";
|
|
1270
|
+
version: string;
|
|
1271
|
+
}>;
|
|
1272
|
+
system: null | string;
|
|
1273
|
+
tools: Array<{
|
|
1274
|
+
configs: Array<{
|
|
1275
|
+
enabled: boolean;
|
|
1276
|
+
name: "bash";
|
|
1277
|
+
permission_policy: {
|
|
1278
|
+
type: "always_allow";
|
|
1279
|
+
} | {
|
|
1280
|
+
type: "always_ask";
|
|
1281
|
+
} | {
|
|
1282
|
+
type: "auto";
|
|
1283
|
+
};
|
|
1284
|
+
type: "bash";
|
|
1285
|
+
} | {
|
|
1286
|
+
enabled: boolean;
|
|
1287
|
+
name: "edit";
|
|
1288
|
+
permission_policy: {
|
|
1289
|
+
type: "always_allow";
|
|
1290
|
+
} | {
|
|
1291
|
+
type: "always_ask";
|
|
1292
|
+
} | {
|
|
1293
|
+
type: "auto";
|
|
1294
|
+
};
|
|
1295
|
+
type: "edit";
|
|
1296
|
+
} | {
|
|
1297
|
+
enabled: boolean;
|
|
1298
|
+
name: "read";
|
|
1299
|
+
permission_policy: {
|
|
1300
|
+
type: "always_allow";
|
|
1301
|
+
} | {
|
|
1302
|
+
type: "always_ask";
|
|
1303
|
+
} | {
|
|
1304
|
+
type: "auto";
|
|
1305
|
+
};
|
|
1306
|
+
type: "read";
|
|
1307
|
+
} | {
|
|
1308
|
+
enabled: boolean;
|
|
1309
|
+
name: "write";
|
|
1310
|
+
permission_policy: {
|
|
1311
|
+
type: "always_allow";
|
|
1312
|
+
} | {
|
|
1313
|
+
type: "always_ask";
|
|
1314
|
+
} | {
|
|
1315
|
+
type: "auto";
|
|
1316
|
+
};
|
|
1317
|
+
type: "write";
|
|
1318
|
+
} | {
|
|
1319
|
+
enabled: boolean;
|
|
1320
|
+
name: "glob";
|
|
1321
|
+
permission_policy: {
|
|
1322
|
+
type: "always_allow";
|
|
1323
|
+
} | {
|
|
1324
|
+
type: "always_ask";
|
|
1325
|
+
} | {
|
|
1326
|
+
type: "auto";
|
|
1327
|
+
};
|
|
1328
|
+
type: "glob";
|
|
1329
|
+
} | {
|
|
1330
|
+
enabled: boolean;
|
|
1331
|
+
name: "grep";
|
|
1332
|
+
permission_policy: {
|
|
1333
|
+
type: "always_allow";
|
|
1334
|
+
} | {
|
|
1335
|
+
type: "always_ask";
|
|
1336
|
+
} | {
|
|
1337
|
+
type: "auto";
|
|
1338
|
+
};
|
|
1339
|
+
type: "grep";
|
|
1340
|
+
} | {
|
|
1341
|
+
enabled: boolean;
|
|
1342
|
+
name: "web_fetch";
|
|
1343
|
+
permission_policy: {
|
|
1344
|
+
type: "always_allow";
|
|
1345
|
+
} | {
|
|
1346
|
+
type: "always_ask";
|
|
1347
|
+
} | {
|
|
1348
|
+
type: "auto";
|
|
1349
|
+
};
|
|
1350
|
+
type: "web_fetch";
|
|
1351
|
+
allowed_domains?: Array<string>;
|
|
1352
|
+
blocked_domains?: Array<string>;
|
|
1353
|
+
max_content_tokens?: null | number;
|
|
1354
|
+
} | {
|
|
1355
|
+
enabled: boolean;
|
|
1356
|
+
name: "web_search";
|
|
1357
|
+
permission_policy: {
|
|
1358
|
+
type: "always_allow";
|
|
1359
|
+
} | {
|
|
1360
|
+
type: "always_ask";
|
|
1361
|
+
} | {
|
|
1362
|
+
type: "auto";
|
|
1363
|
+
};
|
|
1364
|
+
type: "web_search";
|
|
1365
|
+
allowed_domains?: Array<string>;
|
|
1366
|
+
blocked_domains?: Array<string>;
|
|
1367
|
+
user_location?: null | {
|
|
1368
|
+
type: "approximate";
|
|
1369
|
+
city?: null | string;
|
|
1370
|
+
country?: null | string;
|
|
1371
|
+
region?: null | string;
|
|
1372
|
+
timezone?: null | string;
|
|
1373
|
+
};
|
|
1374
|
+
} | {
|
|
1375
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
1376
|
+
enabled: boolean;
|
|
1377
|
+
permission_policy: {
|
|
1378
|
+
type: "always_allow" | "always_ask";
|
|
1379
|
+
};
|
|
1380
|
+
}>;
|
|
1381
|
+
default_config: {
|
|
1382
|
+
enabled: boolean;
|
|
1383
|
+
permission_policy: {
|
|
1384
|
+
type: "always_allow";
|
|
1385
|
+
} | {
|
|
1386
|
+
type: "always_ask";
|
|
1387
|
+
} | {
|
|
1388
|
+
type: "auto";
|
|
1389
|
+
};
|
|
1390
|
+
};
|
|
1391
|
+
type: "agent_toolset_20260401";
|
|
1392
|
+
} | {
|
|
1393
|
+
type: "mcp_toolset";
|
|
1394
|
+
mcp_server_name: string;
|
|
1395
|
+
default_config?: {
|
|
1396
|
+
enabled?: boolean | null;
|
|
1397
|
+
permission_policy?: null | {
|
|
1398
|
+
type: "always_allow" | "always_ask";
|
|
1399
|
+
};
|
|
1400
|
+
} | null;
|
|
1401
|
+
configs?: Array<{
|
|
1402
|
+
name: string;
|
|
1403
|
+
enabled?: boolean | null;
|
|
1404
|
+
permission_policy?: null | {
|
|
1405
|
+
type: "always_allow" | "always_ask";
|
|
1406
|
+
};
|
|
1407
|
+
}> | null;
|
|
1408
|
+
} | {
|
|
1409
|
+
description: string;
|
|
1410
|
+
input_schema: {
|
|
1411
|
+
type: "object";
|
|
1412
|
+
properties?: null | {
|
|
1413
|
+
[key: string]: unknown;
|
|
1414
|
+
};
|
|
1415
|
+
required?: null | Array<string>;
|
|
1416
|
+
[key: string]: unknown;
|
|
1417
|
+
};
|
|
1418
|
+
name: string;
|
|
1419
|
+
type: "custom";
|
|
1420
|
+
}>;
|
|
1421
|
+
type: "agent";
|
|
1422
|
+
updated_at: string;
|
|
1423
|
+
version: number;
|
|
1424
|
+
active_version: number;
|
|
1425
|
+
created_by: {
|
|
1426
|
+
type: "user";
|
|
1427
|
+
id: string;
|
|
1428
|
+
name?: string;
|
|
1429
|
+
} | {
|
|
1430
|
+
type: "api_key";
|
|
1431
|
+
id: string;
|
|
1432
|
+
} | null;
|
|
1433
|
+
note: string | null;
|
|
1434
|
+
bindings: Array<{
|
|
1435
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1436
|
+
id: string;
|
|
1437
|
+
access: "read_only" | "read_write" | "invoke";
|
|
1438
|
+
instructions?: string;
|
|
1439
|
+
enabled?: boolean;
|
|
1440
|
+
} | {
|
|
1441
|
+
type: "search" | "browser";
|
|
1442
|
+
enabled?: boolean;
|
|
1443
|
+
}>;
|
|
1444
|
+
kind: "personal" | "service";
|
|
1445
|
+
computer_id?: string;
|
|
1446
|
+
subagent_model?: string | null;
|
|
1447
|
+
subagents?: Array<{
|
|
1448
|
+
name: string;
|
|
1449
|
+
description: string;
|
|
1450
|
+
prompt: string;
|
|
1451
|
+
tools?: Array<string>;
|
|
1452
|
+
disallowed_tools?: Array<string>;
|
|
1453
|
+
model?: string;
|
|
1454
|
+
}> | null;
|
|
1455
|
+
commands?: Array<{
|
|
1456
|
+
name: string;
|
|
1457
|
+
description?: string;
|
|
1458
|
+
argument_hint?: string;
|
|
1459
|
+
prompt: string;
|
|
1460
|
+
}> | null;
|
|
1461
|
+
settings?: {
|
|
1462
|
+
hooks?: {
|
|
1463
|
+
SessionStart?: Array<{
|
|
1464
|
+
matcher?: string;
|
|
1465
|
+
hooks: Array<{
|
|
1466
|
+
type: "command";
|
|
1467
|
+
command: string;
|
|
1468
|
+
timeout?: number;
|
|
1469
|
+
async?: boolean;
|
|
1470
|
+
enabled?: boolean;
|
|
1471
|
+
}>;
|
|
1472
|
+
}>;
|
|
1473
|
+
UserPromptSubmit?: Array<{
|
|
1474
|
+
matcher?: string;
|
|
1475
|
+
hooks: Array<{
|
|
1476
|
+
type: "command";
|
|
1477
|
+
command: string;
|
|
1478
|
+
timeout?: number;
|
|
1479
|
+
async?: boolean;
|
|
1480
|
+
enabled?: boolean;
|
|
1481
|
+
}>;
|
|
1482
|
+
}>;
|
|
1483
|
+
PreToolUse?: Array<{
|
|
1484
|
+
matcher?: string;
|
|
1485
|
+
hooks: Array<{
|
|
1486
|
+
type: "command";
|
|
1487
|
+
command: string;
|
|
1488
|
+
timeout?: number;
|
|
1489
|
+
async?: boolean;
|
|
1490
|
+
enabled?: boolean;
|
|
1491
|
+
}>;
|
|
1492
|
+
}>;
|
|
1493
|
+
PermissionRequest?: Array<{
|
|
1494
|
+
matcher?: string;
|
|
1495
|
+
hooks: Array<{
|
|
1496
|
+
type: "command";
|
|
1497
|
+
command: string;
|
|
1498
|
+
timeout?: number;
|
|
1499
|
+
async?: boolean;
|
|
1500
|
+
enabled?: boolean;
|
|
1501
|
+
}>;
|
|
1502
|
+
}>;
|
|
1503
|
+
PostToolUse?: Array<{
|
|
1504
|
+
matcher?: string;
|
|
1505
|
+
hooks: Array<{
|
|
1506
|
+
type: "command";
|
|
1507
|
+
command: string;
|
|
1508
|
+
timeout?: number;
|
|
1509
|
+
async?: boolean;
|
|
1510
|
+
enabled?: boolean;
|
|
1511
|
+
}>;
|
|
1512
|
+
}>;
|
|
1513
|
+
PostToolUseFailure?: Array<{
|
|
1514
|
+
matcher?: string;
|
|
1515
|
+
hooks: Array<{
|
|
1516
|
+
type: "command";
|
|
1517
|
+
command: string;
|
|
1518
|
+
timeout?: number;
|
|
1519
|
+
async?: boolean;
|
|
1520
|
+
enabled?: boolean;
|
|
1521
|
+
}>;
|
|
1522
|
+
}>;
|
|
1523
|
+
Stop?: Array<{
|
|
1524
|
+
matcher?: string;
|
|
1525
|
+
hooks: Array<{
|
|
1526
|
+
type: "command";
|
|
1527
|
+
command: string;
|
|
1528
|
+
timeout?: number;
|
|
1529
|
+
async?: boolean;
|
|
1530
|
+
enabled?: boolean;
|
|
1531
|
+
}>;
|
|
1532
|
+
}>;
|
|
1533
|
+
};
|
|
1534
|
+
allowManagedHooksOnly?: boolean;
|
|
1535
|
+
allowManagedMcpServersOnly?: boolean;
|
|
1536
|
+
allowManagedPermissionRulesOnly?: boolean;
|
|
1537
|
+
autoMemoryEnabled?: boolean;
|
|
1538
|
+
disabled?: {
|
|
1539
|
+
subagents?: Array<string>;
|
|
1540
|
+
commands?: Array<string>;
|
|
1541
|
+
skills?: Array<string>;
|
|
1542
|
+
mcpServers?: Array<string>;
|
|
1543
|
+
hooks?: Array<string>;
|
|
1544
|
+
};
|
|
1545
|
+
} | null;
|
|
1546
|
+
models?: {
|
|
1547
|
+
allowed: Array<string>;
|
|
1548
|
+
};
|
|
1549
|
+
avatar: string | null;
|
|
1550
|
+
status: "active" | "archived";
|
|
1551
|
+
}>;
|
|
1180
1552
|
list: (options: import("./core/transport.js").CallOptions<Types.AgentsVersionsListData>) => Promise<{
|
|
1181
1553
|
data: Array<{
|
|
1182
1554
|
id: string;
|
|
@@ -1202,23 +1574,25 @@ export declare function createAgent(transport: Transport): {
|
|
|
1202
1574
|
type: "agent";
|
|
1203
1575
|
updated_at: string;
|
|
1204
1576
|
version: number;
|
|
1205
|
-
|
|
1577
|
+
active_version: number;
|
|
1578
|
+
created_by: {
|
|
1579
|
+
type: "user";
|
|
1206
1580
|
id: string;
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
}>;
|
|
1211
|
-
vector_stores: Array<{
|
|
1581
|
+
name?: string;
|
|
1582
|
+
} | {
|
|
1583
|
+
type: "api_key";
|
|
1212
1584
|
id: string;
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
files: Array<{
|
|
1585
|
+
} | null;
|
|
1586
|
+
note: string | null;
|
|
1587
|
+
bindings: Array<{
|
|
1588
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1218
1589
|
id: string;
|
|
1219
|
-
access: "read_only";
|
|
1590
|
+
access: "read_only" | "read_write" | "invoke";
|
|
1220
1591
|
instructions?: string;
|
|
1221
1592
|
enabled?: boolean;
|
|
1593
|
+
} | {
|
|
1594
|
+
type: "search" | "browser";
|
|
1595
|
+
enabled?: boolean;
|
|
1222
1596
|
}>;
|
|
1223
1597
|
kind: "personal" | "service";
|
|
1224
1598
|
computer_id?: string;
|
|
@@ -1325,6 +1699,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1325
1699
|
models?: {
|
|
1326
1700
|
allowed: Array<string>;
|
|
1327
1701
|
};
|
|
1702
|
+
avatar: string | null;
|
|
1328
1703
|
status: "active" | "archived";
|
|
1329
1704
|
}>;
|
|
1330
1705
|
next_page: string | null;
|
|
@@ -4632,6 +5007,120 @@ export declare function createSearch(transport: Transport): {
|
|
|
4632
5007
|
}>;
|
|
4633
5008
|
};
|
|
4634
5009
|
};
|
|
5010
|
+
export declare function createTicket(transport: Transport): {
|
|
5011
|
+
activity: {
|
|
5012
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.TicketGetActivityData> | undefined) => Promise<{
|
|
5013
|
+
activity: Array<Types.TicketActivity>;
|
|
5014
|
+
next_page_token: string;
|
|
5015
|
+
}>;
|
|
5016
|
+
};
|
|
5017
|
+
comments: {
|
|
5018
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteCommentsIdData>) => Promise<void>;
|
|
5019
|
+
reactions: {
|
|
5020
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostCommentsIdReactionsData>) => Promise<Types.TicketReactionSummary>;
|
|
5021
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteCommentsIdReactionsContentData>) => Promise<Types.TicketReactionSummary>;
|
|
5022
|
+
list: (options: import("./core/transport.js").CallOptions<Types.TicketGetCommentsIdReactionsData>) => Promise<{
|
|
5023
|
+
reactions: Array<Types.TicketReaction>;
|
|
5024
|
+
next_page_token: string;
|
|
5025
|
+
}>;
|
|
5026
|
+
};
|
|
5027
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.TicketGetCommentsIdData>) => Promise<Types.TicketComment>;
|
|
5028
|
+
update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchCommentsIdData>) => Promise<Types.TicketComment>;
|
|
5029
|
+
};
|
|
5030
|
+
labels: {
|
|
5031
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostLabelsData>) => Promise<Types.TicketLabel>;
|
|
5032
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteLabelsNameData>) => Promise<void>;
|
|
5033
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetLabelsData> | undefined) => Promise<{
|
|
5034
|
+
labels: Array<Types.TicketLabel>;
|
|
5035
|
+
next_page_token: string;
|
|
5036
|
+
}>;
|
|
5037
|
+
update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchLabelsNameData>) => Promise<Types.TicketLabel>;
|
|
5038
|
+
};
|
|
5039
|
+
milestones: {
|
|
5040
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostMilestonesData>) => Promise<Types.TicketMilestone>;
|
|
5041
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteMilestonesNumberData>) => Promise<void>;
|
|
5042
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetMilestonesData> | undefined) => Promise<{
|
|
5043
|
+
milestones: Array<Types.TicketMilestone>;
|
|
5044
|
+
next_page_token: string;
|
|
5045
|
+
}>;
|
|
5046
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.TicketGetMilestonesNumberData>) => Promise<Types.TicketMilestone>;
|
|
5047
|
+
update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchMilestonesNumberData>) => Promise<Types.TicketMilestone>;
|
|
5048
|
+
};
|
|
5049
|
+
repositories: {
|
|
5050
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetRepositoriesData> | undefined) => Promise<{
|
|
5051
|
+
repositories: Array<Types.TicketRepository>;
|
|
5052
|
+
next_page_token: string;
|
|
5053
|
+
}>;
|
|
5054
|
+
};
|
|
5055
|
+
tickets: {
|
|
5056
|
+
comments: {
|
|
5057
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberCommentsData>) => Promise<Types.TicketComment>;
|
|
5058
|
+
list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberCommentsData>) => Promise<{
|
|
5059
|
+
comments: Array<Types.TicketComment>;
|
|
5060
|
+
next_page_token: string;
|
|
5061
|
+
}>;
|
|
5062
|
+
};
|
|
5063
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsData>) => Promise<Types.TicketRecord>;
|
|
5064
|
+
deleteLock: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberLockData>) => Promise<void>;
|
|
5065
|
+
dependencies: {
|
|
5066
|
+
blockedBy: {
|
|
5067
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberDependenciesBlockedByData>) => Promise<Types.TicketRecord>;
|
|
5068
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberDependenciesBlockedByNData>) => Promise<Types.TicketRecord>;
|
|
5069
|
+
};
|
|
5070
|
+
retrieveBlockedBy: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberDependenciesBlockedByData>) => Promise<{
|
|
5071
|
+
tickets: Array<Types.TicketRecord>;
|
|
5072
|
+
next_page_token: string;
|
|
5073
|
+
}>;
|
|
5074
|
+
retrieveBlocking: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberDependenciesBlockingData>) => Promise<{
|
|
5075
|
+
tickets: Array<Types.TicketRecord>;
|
|
5076
|
+
next_page_token: string;
|
|
5077
|
+
}>;
|
|
5078
|
+
};
|
|
5079
|
+
events: {
|
|
5080
|
+
list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberEventsData>) => Promise<{
|
|
5081
|
+
events: Array<Types.TicketEvent>;
|
|
5082
|
+
next_page_token: string;
|
|
5083
|
+
}>;
|
|
5084
|
+
};
|
|
5085
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetTicketsData> | undefined) => Promise<{
|
|
5086
|
+
tickets: Array<Types.TicketRecord>;
|
|
5087
|
+
next_page_token: string;
|
|
5088
|
+
total_size?: number;
|
|
5089
|
+
}>;
|
|
5090
|
+
reactions: {
|
|
5091
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberReactionsData>) => Promise<Types.TicketReactionSummary>;
|
|
5092
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberReactionsContentData>) => Promise<Types.TicketReactionSummary>;
|
|
5093
|
+
list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberReactionsData>) => Promise<{
|
|
5094
|
+
reactions: Array<Types.TicketReaction>;
|
|
5095
|
+
next_page_token: string;
|
|
5096
|
+
}>;
|
|
5097
|
+
};
|
|
5098
|
+
relations: {
|
|
5099
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberRelationsData>) => Promise<Types.TicketRecord>;
|
|
5100
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberRelationsNData>) => Promise<Types.TicketRecord>;
|
|
5101
|
+
list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberRelationsData>) => Promise<{
|
|
5102
|
+
tickets: Array<Types.TicketRecord>;
|
|
5103
|
+
next_page_token: string;
|
|
5104
|
+
}>;
|
|
5105
|
+
};
|
|
5106
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberData>) => Promise<Types.TicketRecord>;
|
|
5107
|
+
subTickets: {
|
|
5108
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberSubTicketsData>) => Promise<Types.TicketRecord>;
|
|
5109
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberSubTicketsChildData>) => Promise<Types.TicketRecord>;
|
|
5110
|
+
list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberSubTicketsData>) => Promise<{
|
|
5111
|
+
tickets: Array<Types.TicketRecord>;
|
|
5112
|
+
next_page_token: string;
|
|
5113
|
+
}>;
|
|
5114
|
+
};
|
|
5115
|
+
update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchTicketsNumberData>) => Promise<Types.TicketRecord>;
|
|
5116
|
+
updateLock: (options: import("./core/transport.js").CallOptions<Types.TicketPutTicketsNumberLockData>) => Promise<void>;
|
|
5117
|
+
};
|
|
5118
|
+
types: {
|
|
5119
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetTypesData> | undefined) => Promise<{
|
|
5120
|
+
types: Array<Types.TicketType>;
|
|
5121
|
+
}>;
|
|
5122
|
+
};
|
|
5123
|
+
};
|
|
4635
5124
|
export declare function createVault(transport: Transport): {
|
|
4636
5125
|
authorizations: {
|
|
4637
5126
|
create: (options: import("./core/transport.js").CallOptions<Types.VaultCreateAuthorizationData>) => Promise<Types.VaultAuthorization>;
|
|
@@ -4701,5 +5190,6 @@ export declare const resourceFactories: {
|
|
|
4701
5190
|
organization: typeof createOrganization;
|
|
4702
5191
|
sandbox: typeof createSandbox;
|
|
4703
5192
|
search: typeof createSearch;
|
|
5193
|
+
ticket: typeof createTicket;
|
|
4704
5194
|
vault: typeof createVault;
|
|
4705
5195
|
};
|