@deepraxis/sdk 0.1.0-dev.13103a0 → 0.1.0-dev.331f4e7
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 +133 -1
- package/dist/core/client.d.ts +9 -1
- package/dist/core/client.js +6 -0
- package/dist/core/transport.d.ts +5 -0
- package/dist/core/transport.js +6 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +295 -23
- package/dist/generated/sdk.gen.js +892 -23
- package/dist/generated/types.gen.d.ts +13158 -7848
- package/dist/helpers/database-count.d.ts +17 -0
- package/dist/helpers/database-count.js +11 -0
- package/dist/helpers/file-upload.d.ts +24 -0
- package/dist/helpers/file-upload.js +113 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +2 -0
- package/dist/operations.generated.d.ts +1389 -43
- package/dist/operations.generated.js +1740 -44
- package/dist/resources.generated.d.ts +681 -0
- package/dist/resources.generated.js +84 -0
- package/package.json +1 -1
|
@@ -27,6 +27,34 @@ export declare function createAgent(transport: Transport): {
|
|
|
27
27
|
type: "agent";
|
|
28
28
|
updated_at: string;
|
|
29
29
|
version: number;
|
|
30
|
+
active_version: number;
|
|
31
|
+
created_by: {
|
|
32
|
+
type: "user";
|
|
33
|
+
id: string;
|
|
34
|
+
name?: string;
|
|
35
|
+
} | {
|
|
36
|
+
type: "api_key";
|
|
37
|
+
id: string;
|
|
38
|
+
} | null;
|
|
39
|
+
note: string | null;
|
|
40
|
+
databases: Array<{
|
|
41
|
+
id: string;
|
|
42
|
+
access: "read_only" | "read_write";
|
|
43
|
+
instructions?: string;
|
|
44
|
+
enabled?: boolean;
|
|
45
|
+
}>;
|
|
46
|
+
vector_stores: Array<{
|
|
47
|
+
id: string;
|
|
48
|
+
access: "read_only" | "read_write";
|
|
49
|
+
instructions?: string;
|
|
50
|
+
enabled?: boolean;
|
|
51
|
+
}>;
|
|
52
|
+
files: Array<{
|
|
53
|
+
id: string;
|
|
54
|
+
access: "read_only";
|
|
55
|
+
instructions?: string;
|
|
56
|
+
enabled?: boolean;
|
|
57
|
+
}>;
|
|
30
58
|
kind: "personal" | "service";
|
|
31
59
|
computer_id?: string;
|
|
32
60
|
subagent_model?: string | null;
|
|
@@ -158,6 +186,34 @@ export declare function createAgent(transport: Transport): {
|
|
|
158
186
|
type: "agent";
|
|
159
187
|
updated_at: string;
|
|
160
188
|
version: number;
|
|
189
|
+
active_version: number;
|
|
190
|
+
created_by: {
|
|
191
|
+
type: "user";
|
|
192
|
+
id: string;
|
|
193
|
+
name?: string;
|
|
194
|
+
} | {
|
|
195
|
+
type: "api_key";
|
|
196
|
+
id: string;
|
|
197
|
+
} | null;
|
|
198
|
+
note: string | null;
|
|
199
|
+
databases: Array<{
|
|
200
|
+
id: string;
|
|
201
|
+
access: "read_only" | "read_write";
|
|
202
|
+
instructions?: string;
|
|
203
|
+
enabled?: boolean;
|
|
204
|
+
}>;
|
|
205
|
+
vector_stores: Array<{
|
|
206
|
+
id: string;
|
|
207
|
+
access: "read_only" | "read_write";
|
|
208
|
+
instructions?: string;
|
|
209
|
+
enabled?: boolean;
|
|
210
|
+
}>;
|
|
211
|
+
files: Array<{
|
|
212
|
+
id: string;
|
|
213
|
+
access: "read_only";
|
|
214
|
+
instructions?: string;
|
|
215
|
+
enabled?: boolean;
|
|
216
|
+
}>;
|
|
161
217
|
kind: "personal" | "service";
|
|
162
218
|
computer_id?: string;
|
|
163
219
|
subagent_model?: string | null;
|
|
@@ -362,6 +418,34 @@ export declare function createAgent(transport: Transport): {
|
|
|
362
418
|
type: "agent";
|
|
363
419
|
updated_at: string;
|
|
364
420
|
version: number;
|
|
421
|
+
active_version: number;
|
|
422
|
+
created_by: {
|
|
423
|
+
type: "user";
|
|
424
|
+
id: string;
|
|
425
|
+
name?: string;
|
|
426
|
+
} | {
|
|
427
|
+
type: "api_key";
|
|
428
|
+
id: string;
|
|
429
|
+
} | null;
|
|
430
|
+
note: string | null;
|
|
431
|
+
databases: Array<{
|
|
432
|
+
id: string;
|
|
433
|
+
access: "read_only" | "read_write";
|
|
434
|
+
instructions?: string;
|
|
435
|
+
enabled?: boolean;
|
|
436
|
+
}>;
|
|
437
|
+
vector_stores: Array<{
|
|
438
|
+
id: string;
|
|
439
|
+
access: "read_only" | "read_write";
|
|
440
|
+
instructions?: string;
|
|
441
|
+
enabled?: boolean;
|
|
442
|
+
}>;
|
|
443
|
+
files: Array<{
|
|
444
|
+
id: string;
|
|
445
|
+
access: "read_only";
|
|
446
|
+
instructions?: string;
|
|
447
|
+
enabled?: boolean;
|
|
448
|
+
}>;
|
|
365
449
|
kind: "personal" | "service";
|
|
366
450
|
computer_id?: string;
|
|
367
451
|
subagent_model?: string | null;
|
|
@@ -495,6 +579,34 @@ export declare function createAgent(transport: Transport): {
|
|
|
495
579
|
type: "agent";
|
|
496
580
|
updated_at: string;
|
|
497
581
|
version: number;
|
|
582
|
+
active_version: number;
|
|
583
|
+
created_by: {
|
|
584
|
+
type: "user";
|
|
585
|
+
id: string;
|
|
586
|
+
name?: string;
|
|
587
|
+
} | {
|
|
588
|
+
type: "api_key";
|
|
589
|
+
id: string;
|
|
590
|
+
} | null;
|
|
591
|
+
note: string | null;
|
|
592
|
+
databases: Array<{
|
|
593
|
+
id: string;
|
|
594
|
+
access: "read_only" | "read_write";
|
|
595
|
+
instructions?: string;
|
|
596
|
+
enabled?: boolean;
|
|
597
|
+
}>;
|
|
598
|
+
vector_stores: Array<{
|
|
599
|
+
id: string;
|
|
600
|
+
access: "read_only" | "read_write";
|
|
601
|
+
instructions?: string;
|
|
602
|
+
enabled?: boolean;
|
|
603
|
+
}>;
|
|
604
|
+
files: Array<{
|
|
605
|
+
id: string;
|
|
606
|
+
access: "read_only";
|
|
607
|
+
instructions?: string;
|
|
608
|
+
enabled?: boolean;
|
|
609
|
+
}>;
|
|
498
610
|
kind: "personal" | "service";
|
|
499
611
|
computer_id?: string;
|
|
500
612
|
subagent_model?: string | null;
|
|
@@ -829,6 +941,34 @@ export declare function createAgent(transport: Transport): {
|
|
|
829
941
|
type: "agent";
|
|
830
942
|
updated_at: string;
|
|
831
943
|
version: number;
|
|
944
|
+
active_version: number;
|
|
945
|
+
created_by: {
|
|
946
|
+
type: "user";
|
|
947
|
+
id: string;
|
|
948
|
+
name?: string;
|
|
949
|
+
} | {
|
|
950
|
+
type: "api_key";
|
|
951
|
+
id: string;
|
|
952
|
+
} | null;
|
|
953
|
+
note: string | null;
|
|
954
|
+
databases: Array<{
|
|
955
|
+
id: string;
|
|
956
|
+
access: "read_only" | "read_write";
|
|
957
|
+
instructions?: string;
|
|
958
|
+
enabled?: boolean;
|
|
959
|
+
}>;
|
|
960
|
+
vector_stores: Array<{
|
|
961
|
+
id: string;
|
|
962
|
+
access: "read_only" | "read_write";
|
|
963
|
+
instructions?: string;
|
|
964
|
+
enabled?: boolean;
|
|
965
|
+
}>;
|
|
966
|
+
files: Array<{
|
|
967
|
+
id: string;
|
|
968
|
+
access: "read_only";
|
|
969
|
+
instructions?: string;
|
|
970
|
+
enabled?: boolean;
|
|
971
|
+
}>;
|
|
832
972
|
kind: "personal" | "service";
|
|
833
973
|
computer_id?: string;
|
|
834
974
|
subagent_model?: string | null;
|
|
@@ -961,6 +1101,34 @@ export declare function createAgent(transport: Transport): {
|
|
|
961
1101
|
type: "agent";
|
|
962
1102
|
updated_at: string;
|
|
963
1103
|
version: number;
|
|
1104
|
+
active_version: number;
|
|
1105
|
+
created_by: {
|
|
1106
|
+
type: "user";
|
|
1107
|
+
id: string;
|
|
1108
|
+
name?: string;
|
|
1109
|
+
} | {
|
|
1110
|
+
type: "api_key";
|
|
1111
|
+
id: string;
|
|
1112
|
+
} | null;
|
|
1113
|
+
note: string | null;
|
|
1114
|
+
databases: Array<{
|
|
1115
|
+
id: string;
|
|
1116
|
+
access: "read_only" | "read_write";
|
|
1117
|
+
instructions?: string;
|
|
1118
|
+
enabled?: boolean;
|
|
1119
|
+
}>;
|
|
1120
|
+
vector_stores: Array<{
|
|
1121
|
+
id: string;
|
|
1122
|
+
access: "read_only" | "read_write";
|
|
1123
|
+
instructions?: string;
|
|
1124
|
+
enabled?: boolean;
|
|
1125
|
+
}>;
|
|
1126
|
+
files: Array<{
|
|
1127
|
+
id: string;
|
|
1128
|
+
access: "read_only";
|
|
1129
|
+
instructions?: string;
|
|
1130
|
+
enabled?: boolean;
|
|
1131
|
+
}>;
|
|
964
1132
|
kind: "personal" | "service";
|
|
965
1133
|
computer_id?: string;
|
|
966
1134
|
subagent_model?: string | null;
|
|
@@ -1069,6 +1237,367 @@ export declare function createAgent(transport: Transport): {
|
|
|
1069
1237
|
status: "active" | "archived";
|
|
1070
1238
|
}>;
|
|
1071
1239
|
versions: {
|
|
1240
|
+
apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
|
|
1241
|
+
id: string;
|
|
1242
|
+
archived_at: null | string;
|
|
1243
|
+
created_at: string;
|
|
1244
|
+
description: null | string;
|
|
1245
|
+
mcp_servers: Array<{
|
|
1246
|
+
type: "url";
|
|
1247
|
+
name: string;
|
|
1248
|
+
url: string;
|
|
1249
|
+
headers?: {
|
|
1250
|
+
[key: string]: string;
|
|
1251
|
+
};
|
|
1252
|
+
timeout_ms?: number;
|
|
1253
|
+
} | {
|
|
1254
|
+
type: "sse";
|
|
1255
|
+
name: string;
|
|
1256
|
+
url: string;
|
|
1257
|
+
headers?: {
|
|
1258
|
+
[key: string]: string;
|
|
1259
|
+
};
|
|
1260
|
+
timeout_ms?: number;
|
|
1261
|
+
} | {
|
|
1262
|
+
type: "stdio";
|
|
1263
|
+
name: string;
|
|
1264
|
+
command: string;
|
|
1265
|
+
args?: Array<string>;
|
|
1266
|
+
env?: {
|
|
1267
|
+
[key: string]: string;
|
|
1268
|
+
};
|
|
1269
|
+
timeout_ms?: number;
|
|
1270
|
+
}>;
|
|
1271
|
+
metadata: {
|
|
1272
|
+
[key: string]: string;
|
|
1273
|
+
};
|
|
1274
|
+
model: {
|
|
1275
|
+
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;
|
|
1276
|
+
effort?: {
|
|
1277
|
+
type: "low";
|
|
1278
|
+
} | {
|
|
1279
|
+
type: "medium";
|
|
1280
|
+
} | {
|
|
1281
|
+
type: "high";
|
|
1282
|
+
} | {
|
|
1283
|
+
type: "xhigh";
|
|
1284
|
+
} | {
|
|
1285
|
+
type: "max";
|
|
1286
|
+
};
|
|
1287
|
+
inference_geo?: string;
|
|
1288
|
+
speed?: "standard" | "fast";
|
|
1289
|
+
settings?: {
|
|
1290
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1291
|
+
};
|
|
1292
|
+
};
|
|
1293
|
+
multiagent: null | {
|
|
1294
|
+
agents: Array<{
|
|
1295
|
+
id: string;
|
|
1296
|
+
type: "agent";
|
|
1297
|
+
version: number;
|
|
1298
|
+
} | {
|
|
1299
|
+
model: string;
|
|
1300
|
+
type: "advisor";
|
|
1301
|
+
}>;
|
|
1302
|
+
type: "coordinator";
|
|
1303
|
+
};
|
|
1304
|
+
name: string;
|
|
1305
|
+
skills: Array<{
|
|
1306
|
+
skill_id: string;
|
|
1307
|
+
type: "anthropic";
|
|
1308
|
+
version: string;
|
|
1309
|
+
} | {
|
|
1310
|
+
skill_id: string;
|
|
1311
|
+
type: "custom";
|
|
1312
|
+
version: string;
|
|
1313
|
+
}>;
|
|
1314
|
+
system: null | string;
|
|
1315
|
+
tools: Array<{
|
|
1316
|
+
configs: Array<{
|
|
1317
|
+
enabled: boolean;
|
|
1318
|
+
name: "bash";
|
|
1319
|
+
permission_policy: {
|
|
1320
|
+
type: "always_allow";
|
|
1321
|
+
} | {
|
|
1322
|
+
type: "always_ask";
|
|
1323
|
+
} | {
|
|
1324
|
+
type: "auto";
|
|
1325
|
+
};
|
|
1326
|
+
type: "bash";
|
|
1327
|
+
} | {
|
|
1328
|
+
enabled: boolean;
|
|
1329
|
+
name: "edit";
|
|
1330
|
+
permission_policy: {
|
|
1331
|
+
type: "always_allow";
|
|
1332
|
+
} | {
|
|
1333
|
+
type: "always_ask";
|
|
1334
|
+
} | {
|
|
1335
|
+
type: "auto";
|
|
1336
|
+
};
|
|
1337
|
+
type: "edit";
|
|
1338
|
+
} | {
|
|
1339
|
+
enabled: boolean;
|
|
1340
|
+
name: "read";
|
|
1341
|
+
permission_policy: {
|
|
1342
|
+
type: "always_allow";
|
|
1343
|
+
} | {
|
|
1344
|
+
type: "always_ask";
|
|
1345
|
+
} | {
|
|
1346
|
+
type: "auto";
|
|
1347
|
+
};
|
|
1348
|
+
type: "read";
|
|
1349
|
+
} | {
|
|
1350
|
+
enabled: boolean;
|
|
1351
|
+
name: "write";
|
|
1352
|
+
permission_policy: {
|
|
1353
|
+
type: "always_allow";
|
|
1354
|
+
} | {
|
|
1355
|
+
type: "always_ask";
|
|
1356
|
+
} | {
|
|
1357
|
+
type: "auto";
|
|
1358
|
+
};
|
|
1359
|
+
type: "write";
|
|
1360
|
+
} | {
|
|
1361
|
+
enabled: boolean;
|
|
1362
|
+
name: "glob";
|
|
1363
|
+
permission_policy: {
|
|
1364
|
+
type: "always_allow";
|
|
1365
|
+
} | {
|
|
1366
|
+
type: "always_ask";
|
|
1367
|
+
} | {
|
|
1368
|
+
type: "auto";
|
|
1369
|
+
};
|
|
1370
|
+
type: "glob";
|
|
1371
|
+
} | {
|
|
1372
|
+
enabled: boolean;
|
|
1373
|
+
name: "grep";
|
|
1374
|
+
permission_policy: {
|
|
1375
|
+
type: "always_allow";
|
|
1376
|
+
} | {
|
|
1377
|
+
type: "always_ask";
|
|
1378
|
+
} | {
|
|
1379
|
+
type: "auto";
|
|
1380
|
+
};
|
|
1381
|
+
type: "grep";
|
|
1382
|
+
} | {
|
|
1383
|
+
enabled: boolean;
|
|
1384
|
+
name: "web_fetch";
|
|
1385
|
+
permission_policy: {
|
|
1386
|
+
type: "always_allow";
|
|
1387
|
+
} | {
|
|
1388
|
+
type: "always_ask";
|
|
1389
|
+
} | {
|
|
1390
|
+
type: "auto";
|
|
1391
|
+
};
|
|
1392
|
+
type: "web_fetch";
|
|
1393
|
+
allowed_domains?: Array<string>;
|
|
1394
|
+
blocked_domains?: Array<string>;
|
|
1395
|
+
max_content_tokens?: null | number;
|
|
1396
|
+
} | {
|
|
1397
|
+
enabled: boolean;
|
|
1398
|
+
name: "web_search";
|
|
1399
|
+
permission_policy: {
|
|
1400
|
+
type: "always_allow";
|
|
1401
|
+
} | {
|
|
1402
|
+
type: "always_ask";
|
|
1403
|
+
} | {
|
|
1404
|
+
type: "auto";
|
|
1405
|
+
};
|
|
1406
|
+
type: "web_search";
|
|
1407
|
+
allowed_domains?: Array<string>;
|
|
1408
|
+
blocked_domains?: Array<string>;
|
|
1409
|
+
user_location?: null | {
|
|
1410
|
+
type: "approximate";
|
|
1411
|
+
city?: null | string;
|
|
1412
|
+
country?: null | string;
|
|
1413
|
+
region?: null | string;
|
|
1414
|
+
timezone?: null | string;
|
|
1415
|
+
};
|
|
1416
|
+
} | {
|
|
1417
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
1418
|
+
enabled: boolean;
|
|
1419
|
+
permission_policy: {
|
|
1420
|
+
type: "always_allow" | "always_ask";
|
|
1421
|
+
};
|
|
1422
|
+
}>;
|
|
1423
|
+
default_config: {
|
|
1424
|
+
enabled: boolean;
|
|
1425
|
+
permission_policy: {
|
|
1426
|
+
type: "always_allow";
|
|
1427
|
+
} | {
|
|
1428
|
+
type: "always_ask";
|
|
1429
|
+
} | {
|
|
1430
|
+
type: "auto";
|
|
1431
|
+
};
|
|
1432
|
+
};
|
|
1433
|
+
type: "agent_toolset_20260401";
|
|
1434
|
+
} | {
|
|
1435
|
+
type: "mcp_toolset";
|
|
1436
|
+
mcp_server_name: string;
|
|
1437
|
+
default_config?: {
|
|
1438
|
+
enabled?: boolean | null;
|
|
1439
|
+
permission_policy?: null | {
|
|
1440
|
+
type: "always_allow" | "always_ask";
|
|
1441
|
+
};
|
|
1442
|
+
} | null;
|
|
1443
|
+
configs?: Array<{
|
|
1444
|
+
name: string;
|
|
1445
|
+
enabled?: boolean | null;
|
|
1446
|
+
permission_policy?: null | {
|
|
1447
|
+
type: "always_allow" | "always_ask";
|
|
1448
|
+
};
|
|
1449
|
+
}> | null;
|
|
1450
|
+
} | {
|
|
1451
|
+
description: string;
|
|
1452
|
+
input_schema: {
|
|
1453
|
+
type: "object";
|
|
1454
|
+
properties?: null | {
|
|
1455
|
+
[key: string]: unknown;
|
|
1456
|
+
};
|
|
1457
|
+
required?: null | Array<string>;
|
|
1458
|
+
[key: string]: unknown;
|
|
1459
|
+
};
|
|
1460
|
+
name: string;
|
|
1461
|
+
type: "custom";
|
|
1462
|
+
}>;
|
|
1463
|
+
type: "agent";
|
|
1464
|
+
updated_at: string;
|
|
1465
|
+
version: number;
|
|
1466
|
+
active_version: number;
|
|
1467
|
+
created_by: {
|
|
1468
|
+
type: "user";
|
|
1469
|
+
id: string;
|
|
1470
|
+
name?: string;
|
|
1471
|
+
} | {
|
|
1472
|
+
type: "api_key";
|
|
1473
|
+
id: string;
|
|
1474
|
+
} | null;
|
|
1475
|
+
note: string | null;
|
|
1476
|
+
databases: Array<{
|
|
1477
|
+
id: string;
|
|
1478
|
+
access: "read_only" | "read_write";
|
|
1479
|
+
instructions?: string;
|
|
1480
|
+
enabled?: boolean;
|
|
1481
|
+
}>;
|
|
1482
|
+
vector_stores: Array<{
|
|
1483
|
+
id: string;
|
|
1484
|
+
access: "read_only" | "read_write";
|
|
1485
|
+
instructions?: string;
|
|
1486
|
+
enabled?: boolean;
|
|
1487
|
+
}>;
|
|
1488
|
+
files: Array<{
|
|
1489
|
+
id: string;
|
|
1490
|
+
access: "read_only";
|
|
1491
|
+
instructions?: string;
|
|
1492
|
+
enabled?: boolean;
|
|
1493
|
+
}>;
|
|
1494
|
+
kind: "personal" | "service";
|
|
1495
|
+
computer_id?: string;
|
|
1496
|
+
subagent_model?: string | null;
|
|
1497
|
+
subagents?: Array<{
|
|
1498
|
+
name: string;
|
|
1499
|
+
description: string;
|
|
1500
|
+
prompt: string;
|
|
1501
|
+
tools?: Array<string>;
|
|
1502
|
+
disallowed_tools?: Array<string>;
|
|
1503
|
+
model?: string;
|
|
1504
|
+
}> | null;
|
|
1505
|
+
commands?: Array<{
|
|
1506
|
+
name: string;
|
|
1507
|
+
description?: string;
|
|
1508
|
+
argument_hint?: string;
|
|
1509
|
+
prompt: string;
|
|
1510
|
+
}> | null;
|
|
1511
|
+
settings?: {
|
|
1512
|
+
hooks?: {
|
|
1513
|
+
SessionStart?: 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
|
+
UserPromptSubmit?: 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
|
+
PreToolUse?: Array<{
|
|
1534
|
+
matcher?: string;
|
|
1535
|
+
hooks: Array<{
|
|
1536
|
+
type: "command";
|
|
1537
|
+
command: string;
|
|
1538
|
+
timeout?: number;
|
|
1539
|
+
async?: boolean;
|
|
1540
|
+
enabled?: boolean;
|
|
1541
|
+
}>;
|
|
1542
|
+
}>;
|
|
1543
|
+
PermissionRequest?: Array<{
|
|
1544
|
+
matcher?: string;
|
|
1545
|
+
hooks: Array<{
|
|
1546
|
+
type: "command";
|
|
1547
|
+
command: string;
|
|
1548
|
+
timeout?: number;
|
|
1549
|
+
async?: boolean;
|
|
1550
|
+
enabled?: boolean;
|
|
1551
|
+
}>;
|
|
1552
|
+
}>;
|
|
1553
|
+
PostToolUse?: Array<{
|
|
1554
|
+
matcher?: string;
|
|
1555
|
+
hooks: Array<{
|
|
1556
|
+
type: "command";
|
|
1557
|
+
command: string;
|
|
1558
|
+
timeout?: number;
|
|
1559
|
+
async?: boolean;
|
|
1560
|
+
enabled?: boolean;
|
|
1561
|
+
}>;
|
|
1562
|
+
}>;
|
|
1563
|
+
PostToolUseFailure?: Array<{
|
|
1564
|
+
matcher?: string;
|
|
1565
|
+
hooks: Array<{
|
|
1566
|
+
type: "command";
|
|
1567
|
+
command: string;
|
|
1568
|
+
timeout?: number;
|
|
1569
|
+
async?: boolean;
|
|
1570
|
+
enabled?: boolean;
|
|
1571
|
+
}>;
|
|
1572
|
+
}>;
|
|
1573
|
+
Stop?: Array<{
|
|
1574
|
+
matcher?: string;
|
|
1575
|
+
hooks: Array<{
|
|
1576
|
+
type: "command";
|
|
1577
|
+
command: string;
|
|
1578
|
+
timeout?: number;
|
|
1579
|
+
async?: boolean;
|
|
1580
|
+
enabled?: boolean;
|
|
1581
|
+
}>;
|
|
1582
|
+
}>;
|
|
1583
|
+
};
|
|
1584
|
+
allowManagedHooksOnly?: boolean;
|
|
1585
|
+
allowManagedMcpServersOnly?: boolean;
|
|
1586
|
+
allowManagedPermissionRulesOnly?: boolean;
|
|
1587
|
+
autoMemoryEnabled?: boolean;
|
|
1588
|
+
disabled?: {
|
|
1589
|
+
subagents?: Array<string>;
|
|
1590
|
+
commands?: Array<string>;
|
|
1591
|
+
skills?: Array<string>;
|
|
1592
|
+
mcpServers?: Array<string>;
|
|
1593
|
+
hooks?: Array<string>;
|
|
1594
|
+
};
|
|
1595
|
+
} | null;
|
|
1596
|
+
models?: {
|
|
1597
|
+
allowed: Array<string>;
|
|
1598
|
+
};
|
|
1599
|
+
status: "active" | "archived";
|
|
1600
|
+
}>;
|
|
1072
1601
|
list: (options: import("./core/transport.js").CallOptions<Types.AgentsVersionsListData>) => Promise<{
|
|
1073
1602
|
data: Array<{
|
|
1074
1603
|
id: string;
|
|
@@ -1094,6 +1623,34 @@ export declare function createAgent(transport: Transport): {
|
|
|
1094
1623
|
type: "agent";
|
|
1095
1624
|
updated_at: string;
|
|
1096
1625
|
version: number;
|
|
1626
|
+
active_version: number;
|
|
1627
|
+
created_by: {
|
|
1628
|
+
type: "user";
|
|
1629
|
+
id: string;
|
|
1630
|
+
name?: string;
|
|
1631
|
+
} | {
|
|
1632
|
+
type: "api_key";
|
|
1633
|
+
id: string;
|
|
1634
|
+
} | null;
|
|
1635
|
+
note: string | null;
|
|
1636
|
+
databases: Array<{
|
|
1637
|
+
id: string;
|
|
1638
|
+
access: "read_only" | "read_write";
|
|
1639
|
+
instructions?: string;
|
|
1640
|
+
enabled?: boolean;
|
|
1641
|
+
}>;
|
|
1642
|
+
vector_stores: Array<{
|
|
1643
|
+
id: string;
|
|
1644
|
+
access: "read_only" | "read_write";
|
|
1645
|
+
instructions?: string;
|
|
1646
|
+
enabled?: boolean;
|
|
1647
|
+
}>;
|
|
1648
|
+
files: Array<{
|
|
1649
|
+
id: string;
|
|
1650
|
+
access: "read_only";
|
|
1651
|
+
instructions?: string;
|
|
1652
|
+
enabled?: boolean;
|
|
1653
|
+
}>;
|
|
1097
1654
|
kind: "personal" | "service";
|
|
1098
1655
|
computer_id?: string;
|
|
1099
1656
|
subagent_model?: string | null;
|
|
@@ -1267,6 +1824,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1267
1824
|
updated_at: string | null;
|
|
1268
1825
|
}>;
|
|
1269
1826
|
has_more: false;
|
|
1827
|
+
tier: "light" | "heavy";
|
|
1270
1828
|
}>;
|
|
1271
1829
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
|
|
1272
1830
|
};
|
|
@@ -3454,6 +4012,14 @@ export declare function createFile(transport: Transport): {
|
|
|
3454
4012
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveFileData>) => Promise<Types.OwnFileOpenAiFile>;
|
|
3455
4013
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveFileContentData>) => Promise<Blob | File>;
|
|
3456
4014
|
};
|
|
4015
|
+
uploads: {
|
|
4016
|
+
cancel: (options: import("./core/transport.js").CallOptions<Types.FileCancelUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
4017
|
+
complete: (options: import("./core/transport.js").CallOptions<Types.FileCompleteUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
4018
|
+
create: (options: import("./core/transport.js").CallOptions<Types.FileCreateUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
4019
|
+
parts: {
|
|
4020
|
+
create: (options: import("./core/transport.js").CallOptions<Types.FileAddUploadPartData>) => Promise<Types.OwnFilePraxisUploadPart>;
|
|
4021
|
+
};
|
|
4022
|
+
};
|
|
3457
4023
|
};
|
|
3458
4024
|
export declare function createKnowledge(transport: Transport): {
|
|
3459
4025
|
vectorStores: {
|
|
@@ -4497,6 +5063,120 @@ export declare function createSearch(transport: Transport): {
|
|
|
4497
5063
|
}>;
|
|
4498
5064
|
};
|
|
4499
5065
|
};
|
|
5066
|
+
export declare function createTicket(transport: Transport): {
|
|
5067
|
+
activity: {
|
|
5068
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.TicketGetActivityData> | undefined) => Promise<{
|
|
5069
|
+
activity: Array<Types.TicketActivity>;
|
|
5070
|
+
next_page_token: string;
|
|
5071
|
+
}>;
|
|
5072
|
+
};
|
|
5073
|
+
comments: {
|
|
5074
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteCommentsIdData>) => Promise<void>;
|
|
5075
|
+
reactions: {
|
|
5076
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostCommentsIdReactionsData>) => Promise<Types.TicketReactionSummary>;
|
|
5077
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteCommentsIdReactionsContentData>) => Promise<Types.TicketReactionSummary>;
|
|
5078
|
+
list: (options: import("./core/transport.js").CallOptions<Types.TicketGetCommentsIdReactionsData>) => Promise<{
|
|
5079
|
+
reactions: Array<Types.TicketReaction>;
|
|
5080
|
+
next_page_token: string;
|
|
5081
|
+
}>;
|
|
5082
|
+
};
|
|
5083
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.TicketGetCommentsIdData>) => Promise<Types.TicketComment>;
|
|
5084
|
+
update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchCommentsIdData>) => Promise<Types.TicketComment>;
|
|
5085
|
+
};
|
|
5086
|
+
labels: {
|
|
5087
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostLabelsData>) => Promise<Types.TicketLabel>;
|
|
5088
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteLabelsNameData>) => Promise<void>;
|
|
5089
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetLabelsData> | undefined) => Promise<{
|
|
5090
|
+
labels: Array<Types.TicketLabel>;
|
|
5091
|
+
next_page_token: string;
|
|
5092
|
+
}>;
|
|
5093
|
+
update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchLabelsNameData>) => Promise<Types.TicketLabel>;
|
|
5094
|
+
};
|
|
5095
|
+
milestones: {
|
|
5096
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostMilestonesData>) => Promise<Types.TicketMilestone>;
|
|
5097
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteMilestonesNumberData>) => Promise<void>;
|
|
5098
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetMilestonesData> | undefined) => Promise<{
|
|
5099
|
+
milestones: Array<Types.TicketMilestone>;
|
|
5100
|
+
next_page_token: string;
|
|
5101
|
+
}>;
|
|
5102
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.TicketGetMilestonesNumberData>) => Promise<Types.TicketMilestone>;
|
|
5103
|
+
update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchMilestonesNumberData>) => Promise<Types.TicketMilestone>;
|
|
5104
|
+
};
|
|
5105
|
+
repositories: {
|
|
5106
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetRepositoriesData> | undefined) => Promise<{
|
|
5107
|
+
repositories: Array<Types.TicketRepository>;
|
|
5108
|
+
next_page_token: string;
|
|
5109
|
+
}>;
|
|
5110
|
+
};
|
|
5111
|
+
tickets: {
|
|
5112
|
+
comments: {
|
|
5113
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberCommentsData>) => Promise<Types.TicketComment>;
|
|
5114
|
+
list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberCommentsData>) => Promise<{
|
|
5115
|
+
comments: Array<Types.TicketComment>;
|
|
5116
|
+
next_page_token: string;
|
|
5117
|
+
}>;
|
|
5118
|
+
};
|
|
5119
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsData>) => Promise<Types.TicketRecord>;
|
|
5120
|
+
deleteLock: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberLockData>) => Promise<void>;
|
|
5121
|
+
dependencies: {
|
|
5122
|
+
blockedBy: {
|
|
5123
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberDependenciesBlockedByData>) => Promise<Types.TicketRecord>;
|
|
5124
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberDependenciesBlockedByNData>) => Promise<Types.TicketRecord>;
|
|
5125
|
+
};
|
|
5126
|
+
retrieveBlockedBy: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberDependenciesBlockedByData>) => Promise<{
|
|
5127
|
+
tickets: Array<Types.TicketRecord>;
|
|
5128
|
+
next_page_token: string;
|
|
5129
|
+
}>;
|
|
5130
|
+
retrieveBlocking: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberDependenciesBlockingData>) => Promise<{
|
|
5131
|
+
tickets: Array<Types.TicketRecord>;
|
|
5132
|
+
next_page_token: string;
|
|
5133
|
+
}>;
|
|
5134
|
+
};
|
|
5135
|
+
events: {
|
|
5136
|
+
list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberEventsData>) => Promise<{
|
|
5137
|
+
events: Array<Types.TicketEvent>;
|
|
5138
|
+
next_page_token: string;
|
|
5139
|
+
}>;
|
|
5140
|
+
};
|
|
5141
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetTicketsData> | undefined) => Promise<{
|
|
5142
|
+
tickets: Array<Types.TicketRecord>;
|
|
5143
|
+
next_page_token: string;
|
|
5144
|
+
total_size?: number;
|
|
5145
|
+
}>;
|
|
5146
|
+
reactions: {
|
|
5147
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberReactionsData>) => Promise<Types.TicketReactionSummary>;
|
|
5148
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberReactionsContentData>) => Promise<Types.TicketReactionSummary>;
|
|
5149
|
+
list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberReactionsData>) => Promise<{
|
|
5150
|
+
reactions: Array<Types.TicketReaction>;
|
|
5151
|
+
next_page_token: string;
|
|
5152
|
+
}>;
|
|
5153
|
+
};
|
|
5154
|
+
relations: {
|
|
5155
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberRelationsData>) => Promise<Types.TicketRecord>;
|
|
5156
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberRelationsNData>) => Promise<Types.TicketRecord>;
|
|
5157
|
+
list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberRelationsData>) => Promise<{
|
|
5158
|
+
tickets: Array<Types.TicketRecord>;
|
|
5159
|
+
next_page_token: string;
|
|
5160
|
+
}>;
|
|
5161
|
+
};
|
|
5162
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberData>) => Promise<Types.TicketRecord>;
|
|
5163
|
+
subTickets: {
|
|
5164
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberSubTicketsData>) => Promise<Types.TicketRecord>;
|
|
5165
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberSubTicketsChildData>) => Promise<Types.TicketRecord>;
|
|
5166
|
+
list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberSubTicketsData>) => Promise<{
|
|
5167
|
+
tickets: Array<Types.TicketRecord>;
|
|
5168
|
+
next_page_token: string;
|
|
5169
|
+
}>;
|
|
5170
|
+
};
|
|
5171
|
+
update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchTicketsNumberData>) => Promise<Types.TicketRecord>;
|
|
5172
|
+
updateLock: (options: import("./core/transport.js").CallOptions<Types.TicketPutTicketsNumberLockData>) => Promise<void>;
|
|
5173
|
+
};
|
|
5174
|
+
types: {
|
|
5175
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetTypesData> | undefined) => Promise<{
|
|
5176
|
+
types: Array<Types.TicketType>;
|
|
5177
|
+
}>;
|
|
5178
|
+
};
|
|
5179
|
+
};
|
|
4500
5180
|
export declare function createVault(transport: Transport): {
|
|
4501
5181
|
authorizations: {
|
|
4502
5182
|
create: (options: import("./core/transport.js").CallOptions<Types.VaultCreateAuthorizationData>) => Promise<Types.VaultAuthorization>;
|
|
@@ -4566,5 +5246,6 @@ export declare const resourceFactories: {
|
|
|
4566
5246
|
organization: typeof createOrganization;
|
|
4567
5247
|
sandbox: typeof createSandbox;
|
|
4568
5248
|
search: typeof createSearch;
|
|
5249
|
+
ticket: typeof createTicket;
|
|
4569
5250
|
vault: typeof createVault;
|
|
4570
5251
|
};
|