@deepraxis/sdk 0.1.0-dev.723d9cb → 0.1.0-dev.7ec6f84
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 +40 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +160 -68
- package/dist/generated/sdk.gen.js +299 -30
- package/dist/generated/types.gen.d.ts +5550 -1220
- package/dist/operations.generated.d.ts +404 -90
- package/dist/operations.generated.js +475 -101
- package/dist/resources.generated.d.ts +576 -98
- package/dist/resources.generated.js +28 -0
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
11
11
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
12
12
|
metadata: Types.AgentManaged37;
|
|
13
13
|
model: {
|
|
14
|
-
id:
|
|
14
|
+
id: string;
|
|
15
15
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
16
16
|
inference_geo?: string;
|
|
17
17
|
speed?: "standard" | "fast";
|
|
@@ -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,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
150
152
|
models?: {
|
|
151
153
|
allowed: Array<string>;
|
|
152
154
|
};
|
|
155
|
+
avatar: string | null;
|
|
156
|
+
creation_source: string | null;
|
|
157
|
+
identity_number: string | null;
|
|
158
|
+
environment_id?: string | null;
|
|
159
|
+
vault_ids?: Array<string>;
|
|
153
160
|
status: "active" | "archived";
|
|
154
161
|
}>;
|
|
155
162
|
create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
|
|
@@ -160,7 +167,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
160
167
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
161
168
|
metadata: Types.AgentManaged37;
|
|
162
169
|
model: {
|
|
163
|
-
id:
|
|
170
|
+
id: string;
|
|
164
171
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
165
172
|
inference_geo?: string;
|
|
166
173
|
speed?: "standard" | "fast";
|
|
@@ -176,23 +183,25 @@ export declare function createAgent(transport: Transport): {
|
|
|
176
183
|
type: "agent";
|
|
177
184
|
updated_at: string;
|
|
178
185
|
version: number;
|
|
179
|
-
|
|
186
|
+
active_version: number;
|
|
187
|
+
created_by: {
|
|
188
|
+
type: "user";
|
|
180
189
|
id: string;
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
}>;
|
|
185
|
-
vector_stores: Array<{
|
|
190
|
+
name?: string;
|
|
191
|
+
} | {
|
|
192
|
+
type: "api_key";
|
|
186
193
|
id: string;
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
files: Array<{
|
|
194
|
+
} | null;
|
|
195
|
+
note: string | null;
|
|
196
|
+
bindings: Array<{
|
|
197
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
192
198
|
id: string;
|
|
193
|
-
access: "read_only";
|
|
199
|
+
access: "read_only" | "read_write" | "invoke";
|
|
194
200
|
instructions?: string;
|
|
195
201
|
enabled?: boolean;
|
|
202
|
+
} | {
|
|
203
|
+
type: "search" | "browser";
|
|
204
|
+
enabled?: boolean;
|
|
196
205
|
}>;
|
|
197
206
|
kind: "personal" | "service";
|
|
198
207
|
computer_id?: string;
|
|
@@ -299,8 +308,50 @@ export declare function createAgent(transport: Transport): {
|
|
|
299
308
|
models?: {
|
|
300
309
|
allowed: Array<string>;
|
|
301
310
|
};
|
|
311
|
+
avatar: string | null;
|
|
312
|
+
creation_source: string | null;
|
|
313
|
+
identity_number: string | null;
|
|
314
|
+
environment_id?: string | null;
|
|
315
|
+
vault_ids?: Array<string>;
|
|
302
316
|
status: "active" | "archived";
|
|
303
317
|
}>;
|
|
318
|
+
customers: {
|
|
319
|
+
auth: {
|
|
320
|
+
accessTokens: {
|
|
321
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
|
|
322
|
+
type: "customer_access_token";
|
|
323
|
+
access_token: string;
|
|
324
|
+
expires_at: string;
|
|
325
|
+
session_expires_at: string;
|
|
326
|
+
customer: {
|
|
327
|
+
id: string;
|
|
328
|
+
type: "identified" | "anonymous";
|
|
329
|
+
};
|
|
330
|
+
}>;
|
|
331
|
+
deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
|
|
332
|
+
renew: {
|
|
333
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
|
|
334
|
+
type: "customer_access_token";
|
|
335
|
+
access_token: string;
|
|
336
|
+
expires_at: string;
|
|
337
|
+
session_expires_at: string;
|
|
338
|
+
customer: {
|
|
339
|
+
id: string;
|
|
340
|
+
type: "identified" | "anonymous";
|
|
341
|
+
};
|
|
342
|
+
}>;
|
|
343
|
+
};
|
|
344
|
+
};
|
|
345
|
+
grantCodes: {
|
|
346
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
|
|
347
|
+
type: "customer_grant_code";
|
|
348
|
+
code: string;
|
|
349
|
+
customer_id: string;
|
|
350
|
+
expires_at: string;
|
|
351
|
+
}>;
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
};
|
|
304
355
|
endUsers: {
|
|
305
356
|
block: {
|
|
306
357
|
create: (options: import("./core/transport.js").CallOptions<Types.BlockEndUserData>) => Promise<{
|
|
@@ -382,7 +433,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
382
433
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
383
434
|
metadata: Types.AgentManaged37;
|
|
384
435
|
model: {
|
|
385
|
-
id:
|
|
436
|
+
id: string;
|
|
386
437
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
387
438
|
inference_geo?: string;
|
|
388
439
|
speed?: "standard" | "fast";
|
|
@@ -398,23 +449,25 @@ export declare function createAgent(transport: Transport): {
|
|
|
398
449
|
type: "agent";
|
|
399
450
|
updated_at: string;
|
|
400
451
|
version: number;
|
|
401
|
-
|
|
452
|
+
active_version: number;
|
|
453
|
+
created_by: {
|
|
454
|
+
type: "user";
|
|
402
455
|
id: string;
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
}>;
|
|
407
|
-
vector_stores: Array<{
|
|
456
|
+
name?: string;
|
|
457
|
+
} | {
|
|
458
|
+
type: "api_key";
|
|
408
459
|
id: string;
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
files: Array<{
|
|
460
|
+
} | null;
|
|
461
|
+
note: string | null;
|
|
462
|
+
bindings: Array<{
|
|
463
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
414
464
|
id: string;
|
|
415
|
-
access: "read_only";
|
|
465
|
+
access: "read_only" | "read_write" | "invoke";
|
|
416
466
|
instructions?: string;
|
|
417
467
|
enabled?: boolean;
|
|
468
|
+
} | {
|
|
469
|
+
type: "search" | "browser";
|
|
470
|
+
enabled?: boolean;
|
|
418
471
|
}>;
|
|
419
472
|
kind: "personal" | "service";
|
|
420
473
|
computer_id?: string;
|
|
@@ -521,6 +574,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
521
574
|
models?: {
|
|
522
575
|
allowed: Array<string>;
|
|
523
576
|
};
|
|
577
|
+
avatar: string | null;
|
|
578
|
+
creation_source: string | null;
|
|
579
|
+
identity_number: string | null;
|
|
580
|
+
environment_id?: string | null;
|
|
581
|
+
vault_ids?: Array<string>;
|
|
524
582
|
status: "active" | "archived";
|
|
525
583
|
}>;
|
|
526
584
|
next_page: string | null;
|
|
@@ -533,7 +591,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
533
591
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
534
592
|
metadata: Types.AgentManaged37;
|
|
535
593
|
model: {
|
|
536
|
-
id:
|
|
594
|
+
id: string;
|
|
537
595
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
538
596
|
inference_geo?: string;
|
|
539
597
|
speed?: "standard" | "fast";
|
|
@@ -549,23 +607,25 @@ export declare function createAgent(transport: Transport): {
|
|
|
549
607
|
type: "agent";
|
|
550
608
|
updated_at: string;
|
|
551
609
|
version: number;
|
|
552
|
-
|
|
610
|
+
active_version: number;
|
|
611
|
+
created_by: {
|
|
612
|
+
type: "user";
|
|
553
613
|
id: string;
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
}>;
|
|
558
|
-
vector_stores: Array<{
|
|
614
|
+
name?: string;
|
|
615
|
+
} | {
|
|
616
|
+
type: "api_key";
|
|
559
617
|
id: string;
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
files: Array<{
|
|
618
|
+
} | null;
|
|
619
|
+
note: string | null;
|
|
620
|
+
bindings: Array<{
|
|
621
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
565
622
|
id: string;
|
|
566
|
-
access: "read_only";
|
|
623
|
+
access: "read_only" | "read_write" | "invoke";
|
|
567
624
|
instructions?: string;
|
|
568
625
|
enabled?: boolean;
|
|
626
|
+
} | {
|
|
627
|
+
type: "search" | "browser";
|
|
628
|
+
enabled?: boolean;
|
|
569
629
|
}>;
|
|
570
630
|
kind: "personal" | "service";
|
|
571
631
|
computer_id?: string;
|
|
@@ -672,6 +732,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
672
732
|
models?: {
|
|
673
733
|
allowed: Array<string>;
|
|
674
734
|
};
|
|
735
|
+
avatar: string | null;
|
|
736
|
+
creation_source: string | null;
|
|
737
|
+
identity_number: string | null;
|
|
738
|
+
environment_id?: string | null;
|
|
739
|
+
vault_ids?: Array<string>;
|
|
675
740
|
status: "active" | "archived";
|
|
676
741
|
}>;
|
|
677
742
|
unarchive: {
|
|
@@ -710,7 +775,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
710
775
|
[key: string]: string;
|
|
711
776
|
};
|
|
712
777
|
model: {
|
|
713
|
-
id:
|
|
778
|
+
id: string;
|
|
714
779
|
effort?: {
|
|
715
780
|
type: "low";
|
|
716
781
|
} | {
|
|
@@ -901,23 +966,25 @@ export declare function createAgent(transport: Transport): {
|
|
|
901
966
|
type: "agent";
|
|
902
967
|
updated_at: string;
|
|
903
968
|
version: number;
|
|
904
|
-
|
|
969
|
+
active_version: number;
|
|
970
|
+
created_by: {
|
|
971
|
+
type: "user";
|
|
905
972
|
id: string;
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
}>;
|
|
910
|
-
vector_stores: Array<{
|
|
973
|
+
name?: string;
|
|
974
|
+
} | {
|
|
975
|
+
type: "api_key";
|
|
911
976
|
id: string;
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
files: Array<{
|
|
977
|
+
} | null;
|
|
978
|
+
note: string | null;
|
|
979
|
+
bindings: Array<{
|
|
980
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
917
981
|
id: string;
|
|
918
|
-
access: "read_only";
|
|
982
|
+
access: "read_only" | "read_write" | "invoke";
|
|
919
983
|
instructions?: string;
|
|
920
984
|
enabled?: boolean;
|
|
985
|
+
} | {
|
|
986
|
+
type: "search" | "browser";
|
|
987
|
+
enabled?: boolean;
|
|
921
988
|
}>;
|
|
922
989
|
kind: "personal" | "service";
|
|
923
990
|
computer_id?: string;
|
|
@@ -1024,6 +1091,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
1024
1091
|
models?: {
|
|
1025
1092
|
allowed: Array<string>;
|
|
1026
1093
|
};
|
|
1094
|
+
avatar: string | null;
|
|
1095
|
+
creation_source: string | null;
|
|
1096
|
+
identity_number: string | null;
|
|
1097
|
+
environment_id?: string | null;
|
|
1098
|
+
vault_ids?: Array<string>;
|
|
1027
1099
|
status: "active" | "archived";
|
|
1028
1100
|
}>;
|
|
1029
1101
|
};
|
|
@@ -1035,7 +1107,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1035
1107
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
1036
1108
|
metadata: Types.AgentManaged37;
|
|
1037
1109
|
model: {
|
|
1038
|
-
id:
|
|
1110
|
+
id: string;
|
|
1039
1111
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1040
1112
|
inference_geo?: string;
|
|
1041
1113
|
speed?: "standard" | "fast";
|
|
@@ -1051,23 +1123,25 @@ export declare function createAgent(transport: Transport): {
|
|
|
1051
1123
|
type: "agent";
|
|
1052
1124
|
updated_at: string;
|
|
1053
1125
|
version: number;
|
|
1054
|
-
|
|
1126
|
+
active_version: number;
|
|
1127
|
+
created_by: {
|
|
1128
|
+
type: "user";
|
|
1055
1129
|
id: string;
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
}>;
|
|
1060
|
-
vector_stores: Array<{
|
|
1130
|
+
name?: string;
|
|
1131
|
+
} | {
|
|
1132
|
+
type: "api_key";
|
|
1061
1133
|
id: string;
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
files: Array<{
|
|
1134
|
+
} | null;
|
|
1135
|
+
note: string | null;
|
|
1136
|
+
bindings: Array<{
|
|
1137
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1067
1138
|
id: string;
|
|
1068
|
-
access: "read_only";
|
|
1139
|
+
access: "read_only" | "read_write" | "invoke";
|
|
1069
1140
|
instructions?: string;
|
|
1070
1141
|
enabled?: boolean;
|
|
1142
|
+
} | {
|
|
1143
|
+
type: "search" | "browser";
|
|
1144
|
+
enabled?: boolean;
|
|
1071
1145
|
}>;
|
|
1072
1146
|
kind: "personal" | "service";
|
|
1073
1147
|
computer_id?: string;
|
|
@@ -1174,9 +1248,372 @@ export declare function createAgent(transport: Transport): {
|
|
|
1174
1248
|
models?: {
|
|
1175
1249
|
allowed: Array<string>;
|
|
1176
1250
|
};
|
|
1251
|
+
avatar: string | null;
|
|
1252
|
+
creation_source: string | null;
|
|
1253
|
+
identity_number: string | null;
|
|
1254
|
+
environment_id?: string | null;
|
|
1255
|
+
vault_ids?: Array<string>;
|
|
1177
1256
|
status: "active" | "archived";
|
|
1178
1257
|
}>;
|
|
1179
1258
|
versions: {
|
|
1259
|
+
apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
|
|
1260
|
+
id: string;
|
|
1261
|
+
archived_at: null | string;
|
|
1262
|
+
created_at: string;
|
|
1263
|
+
description: null | string;
|
|
1264
|
+
mcp_servers: Array<{
|
|
1265
|
+
type: "url";
|
|
1266
|
+
name: string;
|
|
1267
|
+
url: string;
|
|
1268
|
+
headers?: {
|
|
1269
|
+
[key: string]: string;
|
|
1270
|
+
};
|
|
1271
|
+
timeout_ms?: number;
|
|
1272
|
+
} | {
|
|
1273
|
+
type: "sse";
|
|
1274
|
+
name: string;
|
|
1275
|
+
url: string;
|
|
1276
|
+
headers?: {
|
|
1277
|
+
[key: string]: string;
|
|
1278
|
+
};
|
|
1279
|
+
timeout_ms?: number;
|
|
1280
|
+
} | {
|
|
1281
|
+
type: "stdio";
|
|
1282
|
+
name: string;
|
|
1283
|
+
command: string;
|
|
1284
|
+
args?: Array<string>;
|
|
1285
|
+
env?: {
|
|
1286
|
+
[key: string]: string;
|
|
1287
|
+
};
|
|
1288
|
+
timeout_ms?: number;
|
|
1289
|
+
}>;
|
|
1290
|
+
metadata: {
|
|
1291
|
+
[key: string]: string;
|
|
1292
|
+
};
|
|
1293
|
+
model: {
|
|
1294
|
+
id: string;
|
|
1295
|
+
effort?: {
|
|
1296
|
+
type: "low";
|
|
1297
|
+
} | {
|
|
1298
|
+
type: "medium";
|
|
1299
|
+
} | {
|
|
1300
|
+
type: "high";
|
|
1301
|
+
} | {
|
|
1302
|
+
type: "xhigh";
|
|
1303
|
+
} | {
|
|
1304
|
+
type: "max";
|
|
1305
|
+
};
|
|
1306
|
+
inference_geo?: string;
|
|
1307
|
+
speed?: "standard" | "fast";
|
|
1308
|
+
settings?: {
|
|
1309
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1310
|
+
};
|
|
1311
|
+
};
|
|
1312
|
+
multiagent: null | {
|
|
1313
|
+
agents: Array<{
|
|
1314
|
+
id: string;
|
|
1315
|
+
type: "agent";
|
|
1316
|
+
version: number;
|
|
1317
|
+
} | {
|
|
1318
|
+
model: string;
|
|
1319
|
+
type: "advisor";
|
|
1320
|
+
}>;
|
|
1321
|
+
type: "coordinator";
|
|
1322
|
+
};
|
|
1323
|
+
name: string;
|
|
1324
|
+
skills: Array<{
|
|
1325
|
+
skill_id: string;
|
|
1326
|
+
type: "anthropic";
|
|
1327
|
+
version: string;
|
|
1328
|
+
} | {
|
|
1329
|
+
skill_id: string;
|
|
1330
|
+
type: "custom";
|
|
1331
|
+
version: string;
|
|
1332
|
+
}>;
|
|
1333
|
+
system: null | string;
|
|
1334
|
+
tools: Array<{
|
|
1335
|
+
configs: Array<{
|
|
1336
|
+
enabled: boolean;
|
|
1337
|
+
name: "bash";
|
|
1338
|
+
permission_policy: {
|
|
1339
|
+
type: "always_allow";
|
|
1340
|
+
} | {
|
|
1341
|
+
type: "always_ask";
|
|
1342
|
+
} | {
|
|
1343
|
+
type: "auto";
|
|
1344
|
+
};
|
|
1345
|
+
type: "bash";
|
|
1346
|
+
} | {
|
|
1347
|
+
enabled: boolean;
|
|
1348
|
+
name: "edit";
|
|
1349
|
+
permission_policy: {
|
|
1350
|
+
type: "always_allow";
|
|
1351
|
+
} | {
|
|
1352
|
+
type: "always_ask";
|
|
1353
|
+
} | {
|
|
1354
|
+
type: "auto";
|
|
1355
|
+
};
|
|
1356
|
+
type: "edit";
|
|
1357
|
+
} | {
|
|
1358
|
+
enabled: boolean;
|
|
1359
|
+
name: "read";
|
|
1360
|
+
permission_policy: {
|
|
1361
|
+
type: "always_allow";
|
|
1362
|
+
} | {
|
|
1363
|
+
type: "always_ask";
|
|
1364
|
+
} | {
|
|
1365
|
+
type: "auto";
|
|
1366
|
+
};
|
|
1367
|
+
type: "read";
|
|
1368
|
+
} | {
|
|
1369
|
+
enabled: boolean;
|
|
1370
|
+
name: "write";
|
|
1371
|
+
permission_policy: {
|
|
1372
|
+
type: "always_allow";
|
|
1373
|
+
} | {
|
|
1374
|
+
type: "always_ask";
|
|
1375
|
+
} | {
|
|
1376
|
+
type: "auto";
|
|
1377
|
+
};
|
|
1378
|
+
type: "write";
|
|
1379
|
+
} | {
|
|
1380
|
+
enabled: boolean;
|
|
1381
|
+
name: "glob";
|
|
1382
|
+
permission_policy: {
|
|
1383
|
+
type: "always_allow";
|
|
1384
|
+
} | {
|
|
1385
|
+
type: "always_ask";
|
|
1386
|
+
} | {
|
|
1387
|
+
type: "auto";
|
|
1388
|
+
};
|
|
1389
|
+
type: "glob";
|
|
1390
|
+
} | {
|
|
1391
|
+
enabled: boolean;
|
|
1392
|
+
name: "grep";
|
|
1393
|
+
permission_policy: {
|
|
1394
|
+
type: "always_allow";
|
|
1395
|
+
} | {
|
|
1396
|
+
type: "always_ask";
|
|
1397
|
+
} | {
|
|
1398
|
+
type: "auto";
|
|
1399
|
+
};
|
|
1400
|
+
type: "grep";
|
|
1401
|
+
} | {
|
|
1402
|
+
enabled: boolean;
|
|
1403
|
+
name: "web_fetch";
|
|
1404
|
+
permission_policy: {
|
|
1405
|
+
type: "always_allow";
|
|
1406
|
+
} | {
|
|
1407
|
+
type: "always_ask";
|
|
1408
|
+
} | {
|
|
1409
|
+
type: "auto";
|
|
1410
|
+
};
|
|
1411
|
+
type: "web_fetch";
|
|
1412
|
+
allowed_domains?: Array<string>;
|
|
1413
|
+
blocked_domains?: Array<string>;
|
|
1414
|
+
max_content_tokens?: null | number;
|
|
1415
|
+
} | {
|
|
1416
|
+
enabled: boolean;
|
|
1417
|
+
name: "web_search";
|
|
1418
|
+
permission_policy: {
|
|
1419
|
+
type: "always_allow";
|
|
1420
|
+
} | {
|
|
1421
|
+
type: "always_ask";
|
|
1422
|
+
} | {
|
|
1423
|
+
type: "auto";
|
|
1424
|
+
};
|
|
1425
|
+
type: "web_search";
|
|
1426
|
+
allowed_domains?: Array<string>;
|
|
1427
|
+
blocked_domains?: Array<string>;
|
|
1428
|
+
user_location?: null | {
|
|
1429
|
+
type: "approximate";
|
|
1430
|
+
city?: null | string;
|
|
1431
|
+
country?: null | string;
|
|
1432
|
+
region?: null | string;
|
|
1433
|
+
timezone?: null | string;
|
|
1434
|
+
};
|
|
1435
|
+
} | {
|
|
1436
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
1437
|
+
enabled: boolean;
|
|
1438
|
+
permission_policy: {
|
|
1439
|
+
type: "always_allow" | "always_ask";
|
|
1440
|
+
};
|
|
1441
|
+
}>;
|
|
1442
|
+
default_config: {
|
|
1443
|
+
enabled: boolean;
|
|
1444
|
+
permission_policy: {
|
|
1445
|
+
type: "always_allow";
|
|
1446
|
+
} | {
|
|
1447
|
+
type: "always_ask";
|
|
1448
|
+
} | {
|
|
1449
|
+
type: "auto";
|
|
1450
|
+
};
|
|
1451
|
+
};
|
|
1452
|
+
type: "agent_toolset_20260401";
|
|
1453
|
+
} | {
|
|
1454
|
+
type: "mcp_toolset";
|
|
1455
|
+
mcp_server_name: string;
|
|
1456
|
+
default_config?: {
|
|
1457
|
+
enabled?: boolean | null;
|
|
1458
|
+
permission_policy?: null | {
|
|
1459
|
+
type: "always_allow" | "always_ask";
|
|
1460
|
+
};
|
|
1461
|
+
} | null;
|
|
1462
|
+
configs?: Array<{
|
|
1463
|
+
name: string;
|
|
1464
|
+
enabled?: boolean | null;
|
|
1465
|
+
permission_policy?: null | {
|
|
1466
|
+
type: "always_allow" | "always_ask";
|
|
1467
|
+
};
|
|
1468
|
+
}> | null;
|
|
1469
|
+
} | {
|
|
1470
|
+
description: string;
|
|
1471
|
+
input_schema: {
|
|
1472
|
+
type: "object";
|
|
1473
|
+
properties?: null | {
|
|
1474
|
+
[key: string]: unknown;
|
|
1475
|
+
};
|
|
1476
|
+
required?: null | Array<string>;
|
|
1477
|
+
[key: string]: unknown;
|
|
1478
|
+
};
|
|
1479
|
+
name: string;
|
|
1480
|
+
type: "custom";
|
|
1481
|
+
}>;
|
|
1482
|
+
type: "agent";
|
|
1483
|
+
updated_at: string;
|
|
1484
|
+
version: number;
|
|
1485
|
+
active_version: number;
|
|
1486
|
+
created_by: {
|
|
1487
|
+
type: "user";
|
|
1488
|
+
id: string;
|
|
1489
|
+
name?: string;
|
|
1490
|
+
} | {
|
|
1491
|
+
type: "api_key";
|
|
1492
|
+
id: string;
|
|
1493
|
+
} | null;
|
|
1494
|
+
note: string | null;
|
|
1495
|
+
bindings: Array<{
|
|
1496
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1497
|
+
id: string;
|
|
1498
|
+
access: "read_only" | "read_write" | "invoke";
|
|
1499
|
+
instructions?: string;
|
|
1500
|
+
enabled?: boolean;
|
|
1501
|
+
} | {
|
|
1502
|
+
type: "search" | "browser";
|
|
1503
|
+
enabled?: boolean;
|
|
1504
|
+
}>;
|
|
1505
|
+
kind: "personal" | "service";
|
|
1506
|
+
computer_id?: string;
|
|
1507
|
+
subagent_model?: string | null;
|
|
1508
|
+
subagents?: Array<{
|
|
1509
|
+
name: string;
|
|
1510
|
+
description: string;
|
|
1511
|
+
prompt: string;
|
|
1512
|
+
tools?: Array<string>;
|
|
1513
|
+
disallowed_tools?: Array<string>;
|
|
1514
|
+
model?: string;
|
|
1515
|
+
}> | null;
|
|
1516
|
+
commands?: Array<{
|
|
1517
|
+
name: string;
|
|
1518
|
+
description?: string;
|
|
1519
|
+
argument_hint?: string;
|
|
1520
|
+
prompt: string;
|
|
1521
|
+
}> | null;
|
|
1522
|
+
settings?: {
|
|
1523
|
+
hooks?: {
|
|
1524
|
+
SessionStart?: Array<{
|
|
1525
|
+
matcher?: string;
|
|
1526
|
+
hooks: Array<{
|
|
1527
|
+
type: "command";
|
|
1528
|
+
command: string;
|
|
1529
|
+
timeout?: number;
|
|
1530
|
+
async?: boolean;
|
|
1531
|
+
enabled?: boolean;
|
|
1532
|
+
}>;
|
|
1533
|
+
}>;
|
|
1534
|
+
UserPromptSubmit?: Array<{
|
|
1535
|
+
matcher?: string;
|
|
1536
|
+
hooks: Array<{
|
|
1537
|
+
type: "command";
|
|
1538
|
+
command: string;
|
|
1539
|
+
timeout?: number;
|
|
1540
|
+
async?: boolean;
|
|
1541
|
+
enabled?: boolean;
|
|
1542
|
+
}>;
|
|
1543
|
+
}>;
|
|
1544
|
+
PreToolUse?: Array<{
|
|
1545
|
+
matcher?: string;
|
|
1546
|
+
hooks: Array<{
|
|
1547
|
+
type: "command";
|
|
1548
|
+
command: string;
|
|
1549
|
+
timeout?: number;
|
|
1550
|
+
async?: boolean;
|
|
1551
|
+
enabled?: boolean;
|
|
1552
|
+
}>;
|
|
1553
|
+
}>;
|
|
1554
|
+
PermissionRequest?: Array<{
|
|
1555
|
+
matcher?: string;
|
|
1556
|
+
hooks: Array<{
|
|
1557
|
+
type: "command";
|
|
1558
|
+
command: string;
|
|
1559
|
+
timeout?: number;
|
|
1560
|
+
async?: boolean;
|
|
1561
|
+
enabled?: boolean;
|
|
1562
|
+
}>;
|
|
1563
|
+
}>;
|
|
1564
|
+
PostToolUse?: Array<{
|
|
1565
|
+
matcher?: string;
|
|
1566
|
+
hooks: Array<{
|
|
1567
|
+
type: "command";
|
|
1568
|
+
command: string;
|
|
1569
|
+
timeout?: number;
|
|
1570
|
+
async?: boolean;
|
|
1571
|
+
enabled?: boolean;
|
|
1572
|
+
}>;
|
|
1573
|
+
}>;
|
|
1574
|
+
PostToolUseFailure?: Array<{
|
|
1575
|
+
matcher?: string;
|
|
1576
|
+
hooks: Array<{
|
|
1577
|
+
type: "command";
|
|
1578
|
+
command: string;
|
|
1579
|
+
timeout?: number;
|
|
1580
|
+
async?: boolean;
|
|
1581
|
+
enabled?: boolean;
|
|
1582
|
+
}>;
|
|
1583
|
+
}>;
|
|
1584
|
+
Stop?: Array<{
|
|
1585
|
+
matcher?: string;
|
|
1586
|
+
hooks: Array<{
|
|
1587
|
+
type: "command";
|
|
1588
|
+
command: string;
|
|
1589
|
+
timeout?: number;
|
|
1590
|
+
async?: boolean;
|
|
1591
|
+
enabled?: boolean;
|
|
1592
|
+
}>;
|
|
1593
|
+
}>;
|
|
1594
|
+
};
|
|
1595
|
+
allowManagedHooksOnly?: boolean;
|
|
1596
|
+
allowManagedMcpServersOnly?: boolean;
|
|
1597
|
+
allowManagedPermissionRulesOnly?: boolean;
|
|
1598
|
+
autoMemoryEnabled?: boolean;
|
|
1599
|
+
disabled?: {
|
|
1600
|
+
subagents?: Array<string>;
|
|
1601
|
+
commands?: Array<string>;
|
|
1602
|
+
skills?: Array<string>;
|
|
1603
|
+
mcpServers?: Array<string>;
|
|
1604
|
+
hooks?: Array<string>;
|
|
1605
|
+
};
|
|
1606
|
+
} | null;
|
|
1607
|
+
models?: {
|
|
1608
|
+
allowed: Array<string>;
|
|
1609
|
+
};
|
|
1610
|
+
avatar: string | null;
|
|
1611
|
+
creation_source: string | null;
|
|
1612
|
+
identity_number: string | null;
|
|
1613
|
+
environment_id?: string | null;
|
|
1614
|
+
vault_ids?: Array<string>;
|
|
1615
|
+
status: "active" | "archived";
|
|
1616
|
+
}>;
|
|
1180
1617
|
list: (options: import("./core/transport.js").CallOptions<Types.AgentsVersionsListData>) => Promise<{
|
|
1181
1618
|
data: Array<{
|
|
1182
1619
|
id: string;
|
|
@@ -1186,7 +1623,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1186
1623
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
1187
1624
|
metadata: Types.AgentManaged37;
|
|
1188
1625
|
model: {
|
|
1189
|
-
id:
|
|
1626
|
+
id: string;
|
|
1190
1627
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1191
1628
|
inference_geo?: string;
|
|
1192
1629
|
speed?: "standard" | "fast";
|
|
@@ -1202,23 +1639,26 @@ export declare function createAgent(transport: Transport): {
|
|
|
1202
1639
|
type: "agent";
|
|
1203
1640
|
updated_at: string;
|
|
1204
1641
|
version: number;
|
|
1205
|
-
|
|
1642
|
+
active_version: number;
|
|
1643
|
+
active: boolean;
|
|
1644
|
+
created_by: {
|
|
1645
|
+
type: "user";
|
|
1206
1646
|
id: string;
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
}>;
|
|
1211
|
-
vector_stores: Array<{
|
|
1647
|
+
name?: string;
|
|
1648
|
+
} | {
|
|
1649
|
+
type: "api_key";
|
|
1212
1650
|
id: string;
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
files: Array<{
|
|
1651
|
+
} | null;
|
|
1652
|
+
note: string | null;
|
|
1653
|
+
bindings: Array<{
|
|
1654
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1218
1655
|
id: string;
|
|
1219
|
-
access: "read_only";
|
|
1656
|
+
access: "read_only" | "read_write" | "invoke";
|
|
1220
1657
|
instructions?: string;
|
|
1221
1658
|
enabled?: boolean;
|
|
1659
|
+
} | {
|
|
1660
|
+
type: "search" | "browser";
|
|
1661
|
+
enabled?: boolean;
|
|
1222
1662
|
}>;
|
|
1223
1663
|
kind: "personal" | "service";
|
|
1224
1664
|
computer_id?: string;
|
|
@@ -1325,6 +1765,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
1325
1765
|
models?: {
|
|
1326
1766
|
allowed: Array<string>;
|
|
1327
1767
|
};
|
|
1768
|
+
avatar: string | null;
|
|
1769
|
+
creation_source: string | null;
|
|
1770
|
+
identity_number: string | null;
|
|
1771
|
+
environment_id?: string | null;
|
|
1772
|
+
vault_ids?: Array<string>;
|
|
1328
1773
|
status: "active" | "archived";
|
|
1329
1774
|
}>;
|
|
1330
1775
|
next_page: string | null;
|
|
@@ -1745,7 +2190,21 @@ export declare function createAgent(transport: Transport): {
|
|
|
1745
2190
|
layout?: "inline" | "sidebar" | "popup" | "modal";
|
|
1746
2191
|
launcher?: {
|
|
1747
2192
|
type: "none" | "bubble" | "mascot";
|
|
2193
|
+
pack?: {
|
|
2194
|
+
preset?: "mint" | "cat" | "bot";
|
|
2195
|
+
images?: {
|
|
2196
|
+
idle: string;
|
|
2197
|
+
greet?: string;
|
|
2198
|
+
listening?: string;
|
|
2199
|
+
thinking?: string;
|
|
2200
|
+
talking?: string;
|
|
2201
|
+
"talking-2"?: string;
|
|
2202
|
+
sorry?: string;
|
|
2203
|
+
sleep?: string;
|
|
2204
|
+
};
|
|
2205
|
+
};
|
|
1748
2206
|
image?: string;
|
|
2207
|
+
motion?: "float" | "none";
|
|
1749
2208
|
position?: "bottom-right" | "bottom-left";
|
|
1750
2209
|
label?: string;
|
|
1751
2210
|
};
|
|
@@ -1850,7 +2309,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1850
2309
|
description: null | string;
|
|
1851
2310
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
1852
2311
|
model: {
|
|
1853
|
-
id:
|
|
2312
|
+
id: string;
|
|
1854
2313
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1855
2314
|
inference_geo?: string;
|
|
1856
2315
|
speed?: "standard" | "fast";
|
|
@@ -1971,7 +2430,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1971
2430
|
description: null | string;
|
|
1972
2431
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
1973
2432
|
model: {
|
|
1974
|
-
id:
|
|
2433
|
+
id: string;
|
|
1975
2434
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1976
2435
|
inference_geo?: string;
|
|
1977
2436
|
speed?: "standard" | "fast";
|
|
@@ -2283,7 +2742,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2283
2742
|
timeout_ms?: number;
|
|
2284
2743
|
}>;
|
|
2285
2744
|
model: {
|
|
2286
|
-
id:
|
|
2745
|
+
id: string;
|
|
2287
2746
|
effort?: {
|
|
2288
2747
|
type: "low";
|
|
2289
2748
|
} | {
|
|
@@ -2335,7 +2794,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2335
2794
|
timeout_ms?: number;
|
|
2336
2795
|
}>;
|
|
2337
2796
|
model: {
|
|
2338
|
-
id:
|
|
2797
|
+
id: string;
|
|
2339
2798
|
effort?: {
|
|
2340
2799
|
type: "low";
|
|
2341
2800
|
} | {
|
|
@@ -2784,7 +3243,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2784
3243
|
description: null | string;
|
|
2785
3244
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
2786
3245
|
model: {
|
|
2787
|
-
id:
|
|
3246
|
+
id: string;
|
|
2788
3247
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
2789
3248
|
inference_geo?: string;
|
|
2790
3249
|
speed?: "standard" | "fast";
|
|
@@ -2861,7 +3320,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2861
3320
|
description: null | string;
|
|
2862
3321
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
2863
3322
|
model: {
|
|
2864
|
-
id:
|
|
3323
|
+
id: string;
|
|
2865
3324
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
2866
3325
|
inference_geo?: string;
|
|
2867
3326
|
speed?: "standard" | "fast";
|
|
@@ -3199,7 +3658,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3199
3658
|
description: null | string;
|
|
3200
3659
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
3201
3660
|
model: {
|
|
3202
|
-
id:
|
|
3661
|
+
id: string;
|
|
3203
3662
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
3204
3663
|
inference_geo?: string;
|
|
3205
3664
|
speed?: "standard" | "fast";
|
|
@@ -3251,6 +3710,25 @@ export declare function createAgent(transport: Transport): {
|
|
|
3251
3710
|
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
3252
3711
|
}>;
|
|
3253
3712
|
};
|
|
3713
|
+
skills: {
|
|
3714
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SkillsCreateData>) => Promise<Types.AgentManaged308>;
|
|
3715
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.SkillsDeleteData>) => Promise<Types.AgentManaged310>;
|
|
3716
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.SkillsListData> | undefined) => Promise<{
|
|
3717
|
+
data: Array<Types.AgentManaged308>;
|
|
3718
|
+
next_page: string | null;
|
|
3719
|
+
}>;
|
|
3720
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.SkillsRetrieveData>) => Promise<Types.AgentManaged308>;
|
|
3721
|
+
versions: {
|
|
3722
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsCreateData>) => Promise<Types.AgentManaged311>;
|
|
3723
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsDeleteData>) => Promise<Types.AgentManaged312>;
|
|
3724
|
+
list: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsListData>) => Promise<{
|
|
3725
|
+
data: Array<Types.AgentManaged311>;
|
|
3726
|
+
next_page: string | null;
|
|
3727
|
+
}>;
|
|
3728
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsRetrieveData>) => Promise<Types.AgentManaged311>;
|
|
3729
|
+
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsDownloadData>) => Promise<Blob | File>;
|
|
3730
|
+
};
|
|
3731
|
+
};
|
|
3254
3732
|
toolsets: {
|
|
3255
3733
|
list: (options?: import("./core/transport.js").CallOptions<Types.ListToolsetsData> | undefined) => Promise<{
|
|
3256
3734
|
data: Array<{
|