@deepraxis/sdk 0.1.1-dev.13dab28 → 0.1.1-dev.266ca7d
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 +19 -59
- package/README.md +1 -1
- package/dist/automation.d.ts +7 -0
- package/dist/core/client.d.ts +5 -1
- package/dist/core/client.js +10 -0
- package/dist/core/transport.js +1 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +64 -124
- package/dist/generated/sdk.gen.js +136 -269
- package/dist/generated/types.gen.d.ts +2401 -2667
- package/dist/helpers/application-build.d.ts +10 -0
- package/dist/helpers/application-build.js +98 -0
- package/dist/helpers/application-publish.d.ts +8 -0
- package/dist/helpers/application-publish.js +26 -9
- package/dist/helpers/browser-connect.d.ts +78 -0
- package/dist/helpers/browser-connect.js +161 -0
- package/dist/helpers/browser-decisions.d.ts +44 -0
- package/dist/helpers/browser-decisions.js +84 -0
- package/dist/helpers/browser-documentation.d.ts +2 -0
- package/dist/helpers/browser-documentation.js +47 -0
- package/dist/helpers/file-upload.d.ts +2 -2
- package/dist/index.d.ts +4 -0
- package/dist/index.js +2 -0
- package/dist/operations.generated.d.ts +252 -390
- package/dist/operations.generated.js +308 -454
- package/dist/resources.generated.d.ts +152 -445
- package/dist/resources.generated.js +11 -31
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
10
10
|
description: null | string;
|
|
11
11
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
12
12
|
metadata: Types.AgentManaged37;
|
|
13
|
-
model
|
|
13
|
+
model?: {
|
|
14
14
|
id: string;
|
|
15
15
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
16
16
|
inference_geo?: string;
|
|
@@ -19,7 +19,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
19
19
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
|
-
multiagent
|
|
22
|
+
multiagent?: null | Types.AgentManaged39;
|
|
23
23
|
name: string;
|
|
24
24
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
25
25
|
system: null | string;
|
|
@@ -42,12 +42,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
42
42
|
id: string;
|
|
43
43
|
access: "read_only" | "read_write" | "invoke";
|
|
44
44
|
instructions?: string;
|
|
45
|
+
readonly verified?: boolean;
|
|
45
46
|
enabled?: boolean;
|
|
46
47
|
} | {
|
|
47
48
|
type: "search" | "browser";
|
|
49
|
+
readonly verified?: boolean;
|
|
48
50
|
enabled?: boolean;
|
|
49
51
|
}>;
|
|
50
|
-
kind: "personal" | "service";
|
|
52
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
51
53
|
computer_id?: string;
|
|
52
54
|
subagent_model?: string | null;
|
|
53
55
|
image_model?: string | null;
|
|
@@ -149,6 +151,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
149
151
|
mcpServers?: Array<string>;
|
|
150
152
|
hooks?: Array<string>;
|
|
151
153
|
};
|
|
154
|
+
idleCompaction?: boolean;
|
|
152
155
|
} | null;
|
|
153
156
|
models?: {
|
|
154
157
|
allowed: Array<string>;
|
|
@@ -167,7 +170,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
167
170
|
description: null | string;
|
|
168
171
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
169
172
|
metadata: Types.AgentManaged37;
|
|
170
|
-
model
|
|
173
|
+
model?: {
|
|
171
174
|
id: string;
|
|
172
175
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
173
176
|
inference_geo?: string;
|
|
@@ -176,7 +179,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
176
179
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
177
180
|
};
|
|
178
181
|
};
|
|
179
|
-
multiagent
|
|
182
|
+
multiagent?: null | Types.AgentManaged39;
|
|
180
183
|
name: string;
|
|
181
184
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
182
185
|
system: null | string;
|
|
@@ -199,12 +202,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
199
202
|
id: string;
|
|
200
203
|
access: "read_only" | "read_write" | "invoke";
|
|
201
204
|
instructions?: string;
|
|
205
|
+
readonly verified?: boolean;
|
|
202
206
|
enabled?: boolean;
|
|
203
207
|
} | {
|
|
204
208
|
type: "search" | "browser";
|
|
209
|
+
readonly verified?: boolean;
|
|
205
210
|
enabled?: boolean;
|
|
206
211
|
}>;
|
|
207
|
-
kind: "personal" | "service";
|
|
212
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
208
213
|
computer_id?: string;
|
|
209
214
|
subagent_model?: string | null;
|
|
210
215
|
image_model?: string | null;
|
|
@@ -306,6 +311,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
306
311
|
mcpServers?: Array<string>;
|
|
307
312
|
hooks?: Array<string>;
|
|
308
313
|
};
|
|
314
|
+
idleCompaction?: boolean;
|
|
309
315
|
} | null;
|
|
310
316
|
models?: {
|
|
311
317
|
allowed: Array<string>;
|
|
@@ -445,90 +451,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
445
451
|
}>;
|
|
446
452
|
};
|
|
447
453
|
};
|
|
448
|
-
endUsers: {
|
|
449
|
-
block: {
|
|
450
|
-
create: (options: import("./core/transport.js").CallOptions<Types.BlockEndUserData>) => Promise<{
|
|
451
|
-
external_user_id: string;
|
|
452
|
-
first_seen_at: string | null;
|
|
453
|
-
last_active_at: string | null;
|
|
454
|
-
session_count: number;
|
|
455
|
-
cost: {
|
|
456
|
-
amount: string;
|
|
457
|
-
currency: "USD";
|
|
458
|
-
};
|
|
459
|
-
blocked: boolean;
|
|
460
|
-
}>;
|
|
461
|
-
};
|
|
462
|
-
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteEndUserData>) => Promise<{
|
|
463
|
-
id: string;
|
|
464
|
-
status: "pending";
|
|
465
|
-
}>;
|
|
466
|
-
list: (options: import("./core/transport.js").CallOptions<Types.ListEndUsersData>) => Promise<{
|
|
467
|
-
data: Array<{
|
|
468
|
-
external_user_id: string;
|
|
469
|
-
first_seen_at: string | null;
|
|
470
|
-
last_active_at: string | null;
|
|
471
|
-
session_count: number;
|
|
472
|
-
cost: {
|
|
473
|
-
amount: string;
|
|
474
|
-
currency: "USD";
|
|
475
|
-
};
|
|
476
|
-
blocked: boolean;
|
|
477
|
-
}>;
|
|
478
|
-
next_page: string | null;
|
|
479
|
-
}>;
|
|
480
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetEndUserData>) => Promise<{
|
|
481
|
-
external_user_id: string;
|
|
482
|
-
first_seen_at: string | null;
|
|
483
|
-
last_active_at: string | null;
|
|
484
|
-
session_count: number;
|
|
485
|
-
cost: {
|
|
486
|
-
amount: string;
|
|
487
|
-
currency: "USD";
|
|
488
|
-
};
|
|
489
|
-
blocked: boolean;
|
|
490
|
-
recent_sessions: Array<{
|
|
491
|
-
id: string;
|
|
492
|
-
title: string | null;
|
|
493
|
-
source: string | null;
|
|
494
|
-
created_at: string;
|
|
495
|
-
updated_at: string;
|
|
496
|
-
}>;
|
|
497
|
-
}>;
|
|
498
|
-
retrieveDeletion: (options: import("./core/transport.js").CallOptions<Types.GetEndUserDeletionData>) => Promise<{
|
|
499
|
-
id: string;
|
|
500
|
-
status: "pending" | "snapshotting" | "deleting" | "done" | "failed";
|
|
501
|
-
counts: {
|
|
502
|
-
sessions?: number;
|
|
503
|
-
events?: number;
|
|
504
|
-
messages?: number;
|
|
505
|
-
d1_rows?: number;
|
|
506
|
-
attachments?: number;
|
|
507
|
-
};
|
|
508
|
-
snapshot_key?: string;
|
|
509
|
-
error?: string;
|
|
510
|
-
created_at: string;
|
|
511
|
-
updated_at: string;
|
|
512
|
-
}>;
|
|
513
|
-
revokeTokens: {
|
|
514
|
-
create: (options: import("./core/transport.js").CallOptions<Types.RevokeEndUserTokensData>) => Promise<{
|
|
515
|
-
revoked: number;
|
|
516
|
-
}>;
|
|
517
|
-
};
|
|
518
|
-
unblock: {
|
|
519
|
-
create: (options: import("./core/transport.js").CallOptions<Types.UnblockEndUserData>) => Promise<{
|
|
520
|
-
external_user_id: string;
|
|
521
|
-
first_seen_at: string | null;
|
|
522
|
-
last_active_at: string | null;
|
|
523
|
-
session_count: number;
|
|
524
|
-
cost: {
|
|
525
|
-
amount: string;
|
|
526
|
-
currency: "USD";
|
|
527
|
-
};
|
|
528
|
-
blocked: boolean;
|
|
529
|
-
}>;
|
|
530
|
-
};
|
|
531
|
-
};
|
|
532
454
|
list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
|
|
533
455
|
data: Array<{
|
|
534
456
|
id: string;
|
|
@@ -537,7 +459,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
537
459
|
description: null | string;
|
|
538
460
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
539
461
|
metadata: Types.AgentManaged37;
|
|
540
|
-
model
|
|
462
|
+
model?: {
|
|
541
463
|
id: string;
|
|
542
464
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
543
465
|
inference_geo?: string;
|
|
@@ -546,7 +468,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
546
468
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
547
469
|
};
|
|
548
470
|
};
|
|
549
|
-
multiagent
|
|
471
|
+
multiagent?: null | Types.AgentManaged39;
|
|
550
472
|
name: string;
|
|
551
473
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
552
474
|
system: null | string;
|
|
@@ -569,12 +491,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
569
491
|
id: string;
|
|
570
492
|
access: "read_only" | "read_write" | "invoke";
|
|
571
493
|
instructions?: string;
|
|
494
|
+
readonly verified?: boolean;
|
|
572
495
|
enabled?: boolean;
|
|
573
496
|
} | {
|
|
574
497
|
type: "search" | "browser";
|
|
498
|
+
readonly verified?: boolean;
|
|
575
499
|
enabled?: boolean;
|
|
576
500
|
}>;
|
|
577
|
-
kind: "personal" | "service";
|
|
501
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
578
502
|
computer_id?: string;
|
|
579
503
|
subagent_model?: string | null;
|
|
580
504
|
image_model?: string | null;
|
|
@@ -676,6 +600,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
676
600
|
mcpServers?: Array<string>;
|
|
677
601
|
hooks?: Array<string>;
|
|
678
602
|
};
|
|
603
|
+
idleCompaction?: boolean;
|
|
679
604
|
} | null;
|
|
680
605
|
models?: {
|
|
681
606
|
allowed: Array<string>;
|
|
@@ -696,7 +621,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
696
621
|
description: null | string;
|
|
697
622
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
698
623
|
metadata: Types.AgentManaged37;
|
|
699
|
-
model
|
|
624
|
+
model?: {
|
|
700
625
|
id: string;
|
|
701
626
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
702
627
|
inference_geo?: string;
|
|
@@ -705,7 +630,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
705
630
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
706
631
|
};
|
|
707
632
|
};
|
|
708
|
-
multiagent
|
|
633
|
+
multiagent?: null | Types.AgentManaged39;
|
|
709
634
|
name: string;
|
|
710
635
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
711
636
|
system: null | string;
|
|
@@ -713,6 +638,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
713
638
|
type: "agent";
|
|
714
639
|
updated_at: string;
|
|
715
640
|
version: number;
|
|
641
|
+
latest_version?: number;
|
|
716
642
|
active_version: number;
|
|
717
643
|
created_by: {
|
|
718
644
|
type: "user";
|
|
@@ -728,12 +654,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
728
654
|
id: string;
|
|
729
655
|
access: "read_only" | "read_write" | "invoke";
|
|
730
656
|
instructions?: string;
|
|
657
|
+
readonly verified?: boolean;
|
|
731
658
|
enabled?: boolean;
|
|
732
659
|
} | {
|
|
733
660
|
type: "search" | "browser";
|
|
661
|
+
readonly verified?: boolean;
|
|
734
662
|
enabled?: boolean;
|
|
735
663
|
}>;
|
|
736
|
-
kind: "personal" | "service";
|
|
664
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
737
665
|
computer_id?: string;
|
|
738
666
|
subagent_model?: string | null;
|
|
739
667
|
image_model?: string | null;
|
|
@@ -835,6 +763,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
835
763
|
mcpServers?: Array<string>;
|
|
836
764
|
hooks?: Array<string>;
|
|
837
765
|
};
|
|
766
|
+
idleCompaction?: boolean;
|
|
838
767
|
} | null;
|
|
839
768
|
models?: {
|
|
840
769
|
allowed: Array<string>;
|
|
@@ -939,7 +868,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
939
868
|
metadata: {
|
|
940
869
|
[key: string]: string;
|
|
941
870
|
};
|
|
942
|
-
model
|
|
871
|
+
model?: {
|
|
943
872
|
id: string;
|
|
944
873
|
effort?: {
|
|
945
874
|
type: "low";
|
|
@@ -958,7 +887,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
958
887
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
959
888
|
};
|
|
960
889
|
};
|
|
961
|
-
multiagent
|
|
890
|
+
multiagent?: null | {
|
|
962
891
|
agents: Array<{
|
|
963
892
|
id: string;
|
|
964
893
|
type: "agent";
|
|
@@ -1131,6 +1060,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1131
1060
|
type: "agent";
|
|
1132
1061
|
updated_at: string;
|
|
1133
1062
|
version: number;
|
|
1063
|
+
latest_version?: number;
|
|
1134
1064
|
active_version: number;
|
|
1135
1065
|
created_by: {
|
|
1136
1066
|
type: "user";
|
|
@@ -1146,12 +1076,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
1146
1076
|
id: string;
|
|
1147
1077
|
access: "read_only" | "read_write" | "invoke";
|
|
1148
1078
|
instructions?: string;
|
|
1079
|
+
readonly verified?: boolean;
|
|
1149
1080
|
enabled?: boolean;
|
|
1150
1081
|
} | {
|
|
1151
1082
|
type: "search" | "browser";
|
|
1083
|
+
readonly verified?: boolean;
|
|
1152
1084
|
enabled?: boolean;
|
|
1153
1085
|
}>;
|
|
1154
|
-
kind: "personal" | "service";
|
|
1086
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
1155
1087
|
computer_id?: string;
|
|
1156
1088
|
subagent_model?: string | null;
|
|
1157
1089
|
image_model?: string | null;
|
|
@@ -1253,6 +1185,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1253
1185
|
mcpServers?: Array<string>;
|
|
1254
1186
|
hooks?: Array<string>;
|
|
1255
1187
|
};
|
|
1188
|
+
idleCompaction?: boolean;
|
|
1256
1189
|
} | null;
|
|
1257
1190
|
models?: {
|
|
1258
1191
|
allowed: Array<string>;
|
|
@@ -1272,7 +1205,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1272
1205
|
description: null | string;
|
|
1273
1206
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
1274
1207
|
metadata: Types.AgentManaged37;
|
|
1275
|
-
model
|
|
1208
|
+
model?: {
|
|
1276
1209
|
id: string;
|
|
1277
1210
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1278
1211
|
inference_geo?: string;
|
|
@@ -1281,7 +1214,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1281
1214
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1282
1215
|
};
|
|
1283
1216
|
};
|
|
1284
|
-
multiagent
|
|
1217
|
+
multiagent?: null | Types.AgentManaged39;
|
|
1285
1218
|
name: string;
|
|
1286
1219
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
1287
1220
|
system: null | string;
|
|
@@ -1289,6 +1222,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1289
1222
|
type: "agent";
|
|
1290
1223
|
updated_at: string;
|
|
1291
1224
|
version: number;
|
|
1225
|
+
latest_version?: number;
|
|
1292
1226
|
active_version: number;
|
|
1293
1227
|
created_by: {
|
|
1294
1228
|
type: "user";
|
|
@@ -1304,12 +1238,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
1304
1238
|
id: string;
|
|
1305
1239
|
access: "read_only" | "read_write" | "invoke";
|
|
1306
1240
|
instructions?: string;
|
|
1241
|
+
readonly verified?: boolean;
|
|
1307
1242
|
enabled?: boolean;
|
|
1308
1243
|
} | {
|
|
1309
1244
|
type: "search" | "browser";
|
|
1245
|
+
readonly verified?: boolean;
|
|
1310
1246
|
enabled?: boolean;
|
|
1311
1247
|
}>;
|
|
1312
|
-
kind: "personal" | "service";
|
|
1248
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
1313
1249
|
computer_id?: string;
|
|
1314
1250
|
subagent_model?: string | null;
|
|
1315
1251
|
image_model?: string | null;
|
|
@@ -1411,6 +1347,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1411
1347
|
mcpServers?: Array<string>;
|
|
1412
1348
|
hooks?: Array<string>;
|
|
1413
1349
|
};
|
|
1350
|
+
idleCompaction?: boolean;
|
|
1414
1351
|
} | null;
|
|
1415
1352
|
models?: {
|
|
1416
1353
|
allowed: Array<string>;
|
|
@@ -1428,227 +1365,26 @@ export declare function createAgent(transport: Transport): {
|
|
|
1428
1365
|
archived_at: null | string;
|
|
1429
1366
|
created_at: string;
|
|
1430
1367
|
description: null | string;
|
|
1431
|
-
mcp_servers: Array<
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
url: string;
|
|
1435
|
-
headers?: {
|
|
1436
|
-
[key: string]: string;
|
|
1437
|
-
};
|
|
1438
|
-
timeout_ms?: number;
|
|
1439
|
-
} | {
|
|
1440
|
-
type: "sse";
|
|
1441
|
-
name: string;
|
|
1442
|
-
url: string;
|
|
1443
|
-
headers?: {
|
|
1444
|
-
[key: string]: string;
|
|
1445
|
-
};
|
|
1446
|
-
timeout_ms?: number;
|
|
1447
|
-
} | {
|
|
1448
|
-
type: "stdio";
|
|
1449
|
-
name: string;
|
|
1450
|
-
command: string;
|
|
1451
|
-
args?: Array<string>;
|
|
1452
|
-
env?: {
|
|
1453
|
-
[key: string]: string;
|
|
1454
|
-
};
|
|
1455
|
-
timeout_ms?: number;
|
|
1456
|
-
}>;
|
|
1457
|
-
metadata: {
|
|
1458
|
-
[key: string]: string;
|
|
1459
|
-
};
|
|
1460
|
-
model: {
|
|
1368
|
+
mcp_servers: Array<Types.AgentManaged36>;
|
|
1369
|
+
metadata: Types.AgentManaged37;
|
|
1370
|
+
model?: {
|
|
1461
1371
|
id: string;
|
|
1462
|
-
effort?:
|
|
1463
|
-
type: "low";
|
|
1464
|
-
} | {
|
|
1465
|
-
type: "medium";
|
|
1466
|
-
} | {
|
|
1467
|
-
type: "high";
|
|
1468
|
-
} | {
|
|
1469
|
-
type: "xhigh";
|
|
1470
|
-
} | {
|
|
1471
|
-
type: "max";
|
|
1472
|
-
};
|
|
1372
|
+
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1473
1373
|
inference_geo?: string;
|
|
1474
1374
|
speed?: "standard" | "fast";
|
|
1475
1375
|
settings?: {
|
|
1476
1376
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1477
1377
|
};
|
|
1478
1378
|
};
|
|
1479
|
-
multiagent
|
|
1480
|
-
agents: Array<{
|
|
1481
|
-
id: string;
|
|
1482
|
-
type: "agent";
|
|
1483
|
-
version: number;
|
|
1484
|
-
} | {
|
|
1485
|
-
model: string;
|
|
1486
|
-
type: "advisor";
|
|
1487
|
-
}>;
|
|
1488
|
-
type: "coordinator";
|
|
1489
|
-
};
|
|
1379
|
+
multiagent?: null | Types.AgentManaged39;
|
|
1490
1380
|
name: string;
|
|
1491
|
-
skills: Array<
|
|
1492
|
-
skill_id: string;
|
|
1493
|
-
type: "anthropic";
|
|
1494
|
-
version: string;
|
|
1495
|
-
} | {
|
|
1496
|
-
skill_id: string;
|
|
1497
|
-
type: "custom";
|
|
1498
|
-
version: string;
|
|
1499
|
-
}>;
|
|
1381
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
1500
1382
|
system: null | string;
|
|
1501
|
-
tools: Array<
|
|
1502
|
-
configs: Array<{
|
|
1503
|
-
enabled: boolean;
|
|
1504
|
-
name: "bash";
|
|
1505
|
-
permission_policy: {
|
|
1506
|
-
type: "always_allow";
|
|
1507
|
-
} | {
|
|
1508
|
-
type: "always_ask";
|
|
1509
|
-
} | {
|
|
1510
|
-
type: "auto";
|
|
1511
|
-
};
|
|
1512
|
-
type: "bash";
|
|
1513
|
-
} | {
|
|
1514
|
-
enabled: boolean;
|
|
1515
|
-
name: "edit";
|
|
1516
|
-
permission_policy: {
|
|
1517
|
-
type: "always_allow";
|
|
1518
|
-
} | {
|
|
1519
|
-
type: "always_ask";
|
|
1520
|
-
} | {
|
|
1521
|
-
type: "auto";
|
|
1522
|
-
};
|
|
1523
|
-
type: "edit";
|
|
1524
|
-
} | {
|
|
1525
|
-
enabled: boolean;
|
|
1526
|
-
name: "read";
|
|
1527
|
-
permission_policy: {
|
|
1528
|
-
type: "always_allow";
|
|
1529
|
-
} | {
|
|
1530
|
-
type: "always_ask";
|
|
1531
|
-
} | {
|
|
1532
|
-
type: "auto";
|
|
1533
|
-
};
|
|
1534
|
-
type: "read";
|
|
1535
|
-
} | {
|
|
1536
|
-
enabled: boolean;
|
|
1537
|
-
name: "write";
|
|
1538
|
-
permission_policy: {
|
|
1539
|
-
type: "always_allow";
|
|
1540
|
-
} | {
|
|
1541
|
-
type: "always_ask";
|
|
1542
|
-
} | {
|
|
1543
|
-
type: "auto";
|
|
1544
|
-
};
|
|
1545
|
-
type: "write";
|
|
1546
|
-
} | {
|
|
1547
|
-
enabled: boolean;
|
|
1548
|
-
name: "glob";
|
|
1549
|
-
permission_policy: {
|
|
1550
|
-
type: "always_allow";
|
|
1551
|
-
} | {
|
|
1552
|
-
type: "always_ask";
|
|
1553
|
-
} | {
|
|
1554
|
-
type: "auto";
|
|
1555
|
-
};
|
|
1556
|
-
type: "glob";
|
|
1557
|
-
} | {
|
|
1558
|
-
enabled: boolean;
|
|
1559
|
-
name: "grep";
|
|
1560
|
-
permission_policy: {
|
|
1561
|
-
type: "always_allow";
|
|
1562
|
-
} | {
|
|
1563
|
-
type: "always_ask";
|
|
1564
|
-
} | {
|
|
1565
|
-
type: "auto";
|
|
1566
|
-
};
|
|
1567
|
-
type: "grep";
|
|
1568
|
-
} | {
|
|
1569
|
-
enabled: boolean;
|
|
1570
|
-
name: "web_fetch";
|
|
1571
|
-
permission_policy: {
|
|
1572
|
-
type: "always_allow";
|
|
1573
|
-
} | {
|
|
1574
|
-
type: "always_ask";
|
|
1575
|
-
} | {
|
|
1576
|
-
type: "auto";
|
|
1577
|
-
};
|
|
1578
|
-
type: "web_fetch";
|
|
1579
|
-
allowed_domains?: Array<string>;
|
|
1580
|
-
blocked_domains?: Array<string>;
|
|
1581
|
-
max_content_tokens?: null | number;
|
|
1582
|
-
} | {
|
|
1583
|
-
enabled: boolean;
|
|
1584
|
-
name: "web_search";
|
|
1585
|
-
permission_policy: {
|
|
1586
|
-
type: "always_allow";
|
|
1587
|
-
} | {
|
|
1588
|
-
type: "always_ask";
|
|
1589
|
-
} | {
|
|
1590
|
-
type: "auto";
|
|
1591
|
-
};
|
|
1592
|
-
type: "web_search";
|
|
1593
|
-
allowed_domains?: Array<string>;
|
|
1594
|
-
blocked_domains?: Array<string>;
|
|
1595
|
-
user_location?: null | {
|
|
1596
|
-
type: "approximate";
|
|
1597
|
-
city?: null | string;
|
|
1598
|
-
country?: null | string;
|
|
1599
|
-
region?: null | string;
|
|
1600
|
-
timezone?: null | string;
|
|
1601
|
-
};
|
|
1602
|
-
} | {
|
|
1603
|
-
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
1604
|
-
enabled: boolean;
|
|
1605
|
-
permission_policy: {
|
|
1606
|
-
type: "always_allow" | "always_ask";
|
|
1607
|
-
};
|
|
1608
|
-
}>;
|
|
1609
|
-
default_config: {
|
|
1610
|
-
enabled: boolean;
|
|
1611
|
-
permission_policy: {
|
|
1612
|
-
type: "always_allow";
|
|
1613
|
-
} | {
|
|
1614
|
-
type: "always_ask";
|
|
1615
|
-
} | {
|
|
1616
|
-
type: "auto";
|
|
1617
|
-
};
|
|
1618
|
-
};
|
|
1619
|
-
type: "agent_toolset_20260401";
|
|
1620
|
-
} | {
|
|
1621
|
-
type: "mcp_toolset";
|
|
1622
|
-
mcp_server_name: string;
|
|
1623
|
-
default_config?: {
|
|
1624
|
-
enabled?: boolean | null;
|
|
1625
|
-
permission_policy?: null | {
|
|
1626
|
-
type: "always_allow" | "always_ask";
|
|
1627
|
-
};
|
|
1628
|
-
} | null;
|
|
1629
|
-
configs?: Array<{
|
|
1630
|
-
name: string;
|
|
1631
|
-
enabled?: boolean | null;
|
|
1632
|
-
permission_policy?: null | {
|
|
1633
|
-
type: "always_allow" | "always_ask";
|
|
1634
|
-
};
|
|
1635
|
-
}> | null;
|
|
1636
|
-
} | {
|
|
1637
|
-
description: string;
|
|
1638
|
-
input_schema: {
|
|
1639
|
-
type: "object";
|
|
1640
|
-
properties?: null | {
|
|
1641
|
-
[key: string]: unknown;
|
|
1642
|
-
};
|
|
1643
|
-
required?: null | Array<string>;
|
|
1644
|
-
[key: string]: unknown;
|
|
1645
|
-
};
|
|
1646
|
-
name: string;
|
|
1647
|
-
type: "custom";
|
|
1648
|
-
}>;
|
|
1383
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
1649
1384
|
type: "agent";
|
|
1650
1385
|
updated_at: string;
|
|
1651
1386
|
version: number;
|
|
1387
|
+
latest_version?: number;
|
|
1652
1388
|
active_version: number;
|
|
1653
1389
|
created_by: {
|
|
1654
1390
|
type: "user";
|
|
@@ -1664,12 +1400,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
1664
1400
|
id: string;
|
|
1665
1401
|
access: "read_only" | "read_write" | "invoke";
|
|
1666
1402
|
instructions?: string;
|
|
1403
|
+
readonly verified?: boolean;
|
|
1667
1404
|
enabled?: boolean;
|
|
1668
1405
|
} | {
|
|
1669
1406
|
type: "search" | "browser";
|
|
1407
|
+
readonly verified?: boolean;
|
|
1670
1408
|
enabled?: boolean;
|
|
1671
1409
|
}>;
|
|
1672
|
-
kind: "personal" | "service";
|
|
1410
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
1673
1411
|
computer_id?: string;
|
|
1674
1412
|
subagent_model?: string | null;
|
|
1675
1413
|
image_model?: string | null;
|
|
@@ -1771,6 +1509,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1771
1509
|
mcpServers?: Array<string>;
|
|
1772
1510
|
hooks?: Array<string>;
|
|
1773
1511
|
};
|
|
1512
|
+
idleCompaction?: boolean;
|
|
1774
1513
|
} | null;
|
|
1775
1514
|
models?: {
|
|
1776
1515
|
allowed: Array<string>;
|
|
@@ -1790,7 +1529,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1790
1529
|
description: null | string;
|
|
1791
1530
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
1792
1531
|
metadata: Types.AgentManaged37;
|
|
1793
|
-
model
|
|
1532
|
+
model?: {
|
|
1794
1533
|
id: string;
|
|
1795
1534
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1796
1535
|
inference_geo?: string;
|
|
@@ -1799,7 +1538,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1799
1538
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1800
1539
|
};
|
|
1801
1540
|
};
|
|
1802
|
-
multiagent
|
|
1541
|
+
multiagent?: null | Types.AgentManaged39;
|
|
1803
1542
|
name: string;
|
|
1804
1543
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
1805
1544
|
system: null | string;
|
|
@@ -1823,12 +1562,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
1823
1562
|
id: string;
|
|
1824
1563
|
access: "read_only" | "read_write" | "invoke";
|
|
1825
1564
|
instructions?: string;
|
|
1565
|
+
readonly verified?: boolean;
|
|
1826
1566
|
enabled?: boolean;
|
|
1827
1567
|
} | {
|
|
1828
1568
|
type: "search" | "browser";
|
|
1569
|
+
readonly verified?: boolean;
|
|
1829
1570
|
enabled?: boolean;
|
|
1830
1571
|
}>;
|
|
1831
|
-
kind: "personal" | "service";
|
|
1572
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
1832
1573
|
computer_id?: string;
|
|
1833
1574
|
subagent_model?: string | null;
|
|
1834
1575
|
image_model?: string | null;
|
|
@@ -1930,6 +1671,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1930
1671
|
mcpServers?: Array<string>;
|
|
1931
1672
|
hooks?: Array<string>;
|
|
1932
1673
|
};
|
|
1674
|
+
idleCompaction?: boolean;
|
|
1933
1675
|
} | null;
|
|
1934
1676
|
models?: {
|
|
1935
1677
|
allowed: Array<string>;
|
|
@@ -2085,7 +1827,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2085
1827
|
} | {
|
|
2086
1828
|
id: string;
|
|
2087
1829
|
type: "agent_with_overrides";
|
|
2088
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1830
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2089
1831
|
cwd?: string;
|
|
2090
1832
|
model?: string | {
|
|
2091
1833
|
id: string;
|
|
@@ -2122,7 +1864,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2122
1864
|
} | {
|
|
2123
1865
|
id: string;
|
|
2124
1866
|
type: "agent_with_overrides";
|
|
2125
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1867
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2126
1868
|
cwd?: string;
|
|
2127
1869
|
model?: string | {
|
|
2128
1870
|
id: string;
|
|
@@ -2160,7 +1902,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2160
1902
|
} | {
|
|
2161
1903
|
id: string;
|
|
2162
1904
|
type: "agent_with_overrides";
|
|
2163
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1905
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2164
1906
|
cwd?: string;
|
|
2165
1907
|
model?: string | {
|
|
2166
1908
|
id: string;
|
|
@@ -2199,7 +1941,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2199
1941
|
} | {
|
|
2200
1942
|
id: string;
|
|
2201
1943
|
type: "agent_with_overrides";
|
|
2202
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1944
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2203
1945
|
cwd?: string;
|
|
2204
1946
|
model?: string | {
|
|
2205
1947
|
id: string;
|
|
@@ -2236,7 +1978,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2236
1978
|
} | {
|
|
2237
1979
|
id: string;
|
|
2238
1980
|
type: "agent_with_overrides";
|
|
2239
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1981
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2240
1982
|
cwd?: string;
|
|
2241
1983
|
model?: string | {
|
|
2242
1984
|
id: string;
|
|
@@ -2277,7 +2019,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2277
2019
|
} | {
|
|
2278
2020
|
id: string;
|
|
2279
2021
|
type: "agent_with_overrides";
|
|
2280
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
2022
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2281
2023
|
cwd?: string;
|
|
2282
2024
|
model?: string | {
|
|
2283
2025
|
id: string;
|
|
@@ -2315,7 +2057,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2315
2057
|
} | {
|
|
2316
2058
|
id: string;
|
|
2317
2059
|
type: "agent_with_overrides";
|
|
2318
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
2060
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2319
2061
|
cwd?: string;
|
|
2320
2062
|
model?: string | {
|
|
2321
2063
|
id: string;
|
|
@@ -2344,122 +2086,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2344
2086
|
};
|
|
2345
2087
|
}>;
|
|
2346
2088
|
};
|
|
2347
|
-
embed: {
|
|
2348
|
-
exchange: {
|
|
2349
|
-
create: (options: import("./core/transport.js").CallOptions<Types.ExchangeEmbedCodeData>) => Promise<{
|
|
2350
|
-
token: string;
|
|
2351
|
-
expires_at: string;
|
|
2352
|
-
}>;
|
|
2353
|
-
};
|
|
2354
|
-
retrieveAppearance: (options?: import("./core/transport.js").CallOptions<Types.GetEmbedAppearanceData> | undefined) => Promise<{
|
|
2355
|
-
agent?: {
|
|
2356
|
-
name?: string;
|
|
2357
|
-
avatar?: string;
|
|
2358
|
-
};
|
|
2359
|
-
layout?: "inline" | "sidebar" | "popup" | "modal";
|
|
2360
|
-
launcher?: {
|
|
2361
|
-
type: "none" | "bubble" | "mascot";
|
|
2362
|
-
pack?: {
|
|
2363
|
-
preset?: "mint" | "cat" | "bot";
|
|
2364
|
-
images?: {
|
|
2365
|
-
idle: string;
|
|
2366
|
-
greet?: string;
|
|
2367
|
-
listening?: string;
|
|
2368
|
-
thinking?: string;
|
|
2369
|
-
talking?: string;
|
|
2370
|
-
"talking-2"?: string;
|
|
2371
|
-
sorry?: string;
|
|
2372
|
-
sleep?: string;
|
|
2373
|
-
};
|
|
2374
|
-
};
|
|
2375
|
-
image?: string;
|
|
2376
|
-
motion?: "float" | "none";
|
|
2377
|
-
position?: "bottom-right" | "bottom-left";
|
|
2378
|
-
label?: string;
|
|
2379
|
-
};
|
|
2380
|
-
header?: {
|
|
2381
|
-
title?: string;
|
|
2382
|
-
subtitle?: string;
|
|
2383
|
-
icon?: string;
|
|
2384
|
-
};
|
|
2385
|
-
theme?: {
|
|
2386
|
-
colorScheme?: "light" | "dark" | "system";
|
|
2387
|
-
accent?: string;
|
|
2388
|
-
surface?: string;
|
|
2389
|
-
grayscale?: "neutral" | "warm" | "cool";
|
|
2390
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
2391
|
-
density?: "compact" | "normal" | "spacious";
|
|
2392
|
-
fontFamily?: string;
|
|
2393
|
-
fontSize?: number;
|
|
2394
|
-
};
|
|
2395
|
-
locale?: "zh" | "en";
|
|
2396
|
-
startScreen?: {
|
|
2397
|
-
greeting?: string;
|
|
2398
|
-
prompts?: Array<{
|
|
2399
|
-
label: string;
|
|
2400
|
-
prompt: string;
|
|
2401
|
-
}>;
|
|
2402
|
-
};
|
|
2403
|
-
composer?: {
|
|
2404
|
-
placeholder?: string;
|
|
2405
|
-
};
|
|
2406
|
-
disclaimer?: string;
|
|
2407
|
-
footer?: string;
|
|
2408
|
-
history?: {
|
|
2409
|
-
enabled?: boolean;
|
|
2410
|
-
};
|
|
2411
|
-
}>;
|
|
2412
|
-
};
|
|
2413
|
-
embedTokens: {
|
|
2414
|
-
anonymous: {
|
|
2415
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CreateAnonymousEmbedTokenData>) => Promise<{
|
|
2416
|
-
token: string;
|
|
2417
|
-
expires_at: string;
|
|
2418
|
-
visitor_secret?: string;
|
|
2419
|
-
}>;
|
|
2420
|
-
};
|
|
2421
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CreateEmbedTokenData>) => Promise<{
|
|
2422
|
-
hosted_url?: string;
|
|
2423
|
-
id: string;
|
|
2424
|
-
token: string;
|
|
2425
|
-
expires_at: string;
|
|
2426
|
-
}>;
|
|
2427
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListEmbedTokensData> | undefined) => Promise<{
|
|
2428
|
-
data: Array<{
|
|
2429
|
-
id: string;
|
|
2430
|
-
type: "embed_token";
|
|
2431
|
-
agent_id: string;
|
|
2432
|
-
agent_version: number;
|
|
2433
|
-
external_user_id: string;
|
|
2434
|
-
created_at: string;
|
|
2435
|
-
expires_at: string;
|
|
2436
|
-
revoked_at: string | null;
|
|
2437
|
-
host_origin: string | null;
|
|
2438
|
-
issued_by: {
|
|
2439
|
-
type: "user" | "api_key";
|
|
2440
|
-
id: string;
|
|
2441
|
-
};
|
|
2442
|
-
}>;
|
|
2443
|
-
next_page: string | null;
|
|
2444
|
-
}>;
|
|
2445
|
-
revoke: {
|
|
2446
|
-
create: (options: import("./core/transport.js").CallOptions<Types.RevokeEmbedTokenData>) => Promise<{
|
|
2447
|
-
id: string;
|
|
2448
|
-
type: "embed_token";
|
|
2449
|
-
agent_id: string;
|
|
2450
|
-
agent_version: number;
|
|
2451
|
-
external_user_id: string;
|
|
2452
|
-
created_at: string;
|
|
2453
|
-
expires_at: string;
|
|
2454
|
-
revoked_at: string | null;
|
|
2455
|
-
host_origin: string | null;
|
|
2456
|
-
issued_by: {
|
|
2457
|
-
type: "user" | "api_key";
|
|
2458
|
-
id: string;
|
|
2459
|
-
};
|
|
2460
|
-
}>;
|
|
2461
|
-
};
|
|
2462
|
-
};
|
|
2463
2089
|
environments: {
|
|
2464
2090
|
archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
|
|
2465
2091
|
create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
|
|
@@ -2566,21 +2192,27 @@ export declare function createAgent(transport: Transport): {
|
|
|
2566
2192
|
compact: (options: import("./core/transport.js").CallOptions<Types.CompactSessionData>) => Promise<{
|
|
2567
2193
|
type: "session_compaction";
|
|
2568
2194
|
id: string;
|
|
2569
|
-
status: "queued" | "running" | "skipped" | "succeeded" | "failed";
|
|
2195
|
+
status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
|
|
2570
2196
|
reason?: string;
|
|
2571
2197
|
} | {
|
|
2572
2198
|
type: "session_compaction";
|
|
2573
2199
|
id: string;
|
|
2574
|
-
status: "queued" | "running" | "skipped" | "succeeded" | "failed";
|
|
2200
|
+
status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
|
|
2575
2201
|
reason?: string;
|
|
2576
2202
|
}>;
|
|
2577
2203
|
compactions: {
|
|
2578
2204
|
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionCompactionsData>) => Promise<{
|
|
2205
|
+
active: {
|
|
2206
|
+
type: "session_compaction";
|
|
2207
|
+
id: string;
|
|
2208
|
+
status: "queued" | "running";
|
|
2209
|
+
trigger: "manual" | "auto" | "idle";
|
|
2210
|
+
} | null;
|
|
2579
2211
|
data: Array<{
|
|
2580
2212
|
type: "context_compaction";
|
|
2581
2213
|
id: string;
|
|
2582
2214
|
event_id: string | null;
|
|
2583
|
-
trigger: "auto" | "manual" | "model_downshift";
|
|
2215
|
+
trigger: "auto" | "manual" | "model_downshift" | "idle";
|
|
2584
2216
|
status: "succeeded" | "failed";
|
|
2585
2217
|
model: string;
|
|
2586
2218
|
compacted_message_count: number;
|
|
@@ -2691,6 +2323,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2691
2323
|
run_id: string | null;
|
|
2692
2324
|
message_id?: string;
|
|
2693
2325
|
} | {
|
|
2326
|
+
full_access_available?: boolean;
|
|
2694
2327
|
id: string;
|
|
2695
2328
|
input: Types.AgentManaged197;
|
|
2696
2329
|
mcp_server_name: string;
|
|
@@ -2713,6 +2346,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
2713
2346
|
};
|
|
2714
2347
|
source?: "app" | "codemode";
|
|
2715
2348
|
parent_tool_use_id?: string;
|
|
2349
|
+
user_once?: true;
|
|
2350
|
+
guarded_rule?: string;
|
|
2351
|
+
permission_suggestions?: Array<{
|
|
2352
|
+
type: "add_rules";
|
|
2353
|
+
behavior: "allow";
|
|
2354
|
+
destination: "agent" | "session";
|
|
2355
|
+
rules: Array<{
|
|
2356
|
+
tool_name: string;
|
|
2357
|
+
rule_content: string;
|
|
2358
|
+
}>;
|
|
2359
|
+
}>;
|
|
2716
2360
|
title?: string;
|
|
2717
2361
|
input_titles?: {
|
|
2718
2362
|
[key: string]: string;
|
|
@@ -2731,6 +2375,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2731
2375
|
};
|
|
2732
2376
|
source?: "app" | "codemode";
|
|
2733
2377
|
} | {
|
|
2378
|
+
full_access_available?: boolean;
|
|
2734
2379
|
id: string;
|
|
2735
2380
|
input: Types.AgentManaged206;
|
|
2736
2381
|
name: string;
|
|
@@ -2740,6 +2385,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
2740
2385
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
2741
2386
|
session_thread_id?: null | string;
|
|
2742
2387
|
run_id: string | null;
|
|
2388
|
+
user_once?: true;
|
|
2389
|
+
guarded_rule?: string;
|
|
2390
|
+
permission_suggestions?: Array<{
|
|
2391
|
+
type: "add_rules";
|
|
2392
|
+
behavior: "allow";
|
|
2393
|
+
destination: "agent" | "session";
|
|
2394
|
+
rules: Array<{
|
|
2395
|
+
tool_name: string;
|
|
2396
|
+
rule_content: string;
|
|
2397
|
+
}>;
|
|
2398
|
+
}>;
|
|
2743
2399
|
} | {
|
|
2744
2400
|
id: string;
|
|
2745
2401
|
processed_at: string;
|
|
@@ -2760,6 +2416,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
2760
2416
|
type: "session.status_idle";
|
|
2761
2417
|
run_id: string | null;
|
|
2762
2418
|
} | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
|
|
2419
|
+
permission_mode_version?: number;
|
|
2420
|
+
previous_permission_mode?: string | null;
|
|
2421
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2763
2422
|
id: string;
|
|
2764
2423
|
processed_at: string;
|
|
2765
2424
|
type: "session.updated";
|
|
@@ -3381,10 +3040,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
3381
3040
|
web_fetch_requests?: number;
|
|
3382
3041
|
web_search_requests?: number;
|
|
3383
3042
|
};
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
currency: "USD";
|
|
3043
|
+
cost_by_product?: {
|
|
3044
|
+
[key: string]: string;
|
|
3387
3045
|
};
|
|
3046
|
+
subagent_cost_micro_usd?: number;
|
|
3388
3047
|
};
|
|
3389
3048
|
vault_ids: Array<string>;
|
|
3390
3049
|
deployment_id?: null | string;
|
|
@@ -3547,7 +3206,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3547
3206
|
retrieveCompact: (options: import("./core/transport.js").CallOptions<Types.GetSessionCompactionData>) => Promise<{
|
|
3548
3207
|
type: "session_compaction";
|
|
3549
3208
|
id: string;
|
|
3550
|
-
status: "queued" | "running" | "skipped" | "succeeded" | "failed";
|
|
3209
|
+
status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
|
|
3551
3210
|
reason?: string;
|
|
3552
3211
|
}>;
|
|
3553
3212
|
retrieveContext: (options: import("./core/transport.js").CallOptions<Types.GetSessionContextData>) => Promise<{
|
|
@@ -3671,6 +3330,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3671
3330
|
run_id: string | null;
|
|
3672
3331
|
message_id?: string;
|
|
3673
3332
|
} | {
|
|
3333
|
+
full_access_available?: boolean;
|
|
3674
3334
|
id: string;
|
|
3675
3335
|
input: Types.AgentManaged197;
|
|
3676
3336
|
mcp_server_name: string;
|
|
@@ -3693,6 +3353,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
3693
3353
|
};
|
|
3694
3354
|
};
|
|
3695
3355
|
source?: "app" | "codemode";
|
|
3356
|
+
user_once?: true;
|
|
3357
|
+
guarded_rule?: string;
|
|
3358
|
+
permission_suggestions?: Array<{
|
|
3359
|
+
type: "add_rules";
|
|
3360
|
+
behavior: "allow";
|
|
3361
|
+
destination: "agent" | "session";
|
|
3362
|
+
rules: Array<{
|
|
3363
|
+
tool_name: string;
|
|
3364
|
+
rule_content: string;
|
|
3365
|
+
}>;
|
|
3366
|
+
}>;
|
|
3696
3367
|
title?: string;
|
|
3697
3368
|
input_titles?: {
|
|
3698
3369
|
[key: string]: string;
|
|
@@ -3711,6 +3382,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3711
3382
|
};
|
|
3712
3383
|
source?: "app" | "codemode";
|
|
3713
3384
|
} | {
|
|
3385
|
+
full_access_available?: boolean;
|
|
3714
3386
|
id: string;
|
|
3715
3387
|
input: Types.AgentManaged206;
|
|
3716
3388
|
name: string;
|
|
@@ -3720,6 +3392,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
3720
3392
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
3721
3393
|
session_thread_id?: null | string;
|
|
3722
3394
|
run_id: string | null;
|
|
3395
|
+
user_once?: true;
|
|
3396
|
+
guarded_rule?: string;
|
|
3397
|
+
permission_suggestions?: Array<{
|
|
3398
|
+
type: "add_rules";
|
|
3399
|
+
behavior: "allow";
|
|
3400
|
+
destination: "agent" | "session";
|
|
3401
|
+
rules: Array<{
|
|
3402
|
+
tool_name: string;
|
|
3403
|
+
rule_content: string;
|
|
3404
|
+
}>;
|
|
3405
|
+
}>;
|
|
3723
3406
|
} | {
|
|
3724
3407
|
id: string;
|
|
3725
3408
|
processed_at: string;
|
|
@@ -3740,6 +3423,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
3740
3423
|
type: "session.status_idle";
|
|
3741
3424
|
run_id: string | null;
|
|
3742
3425
|
} | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
|
|
3426
|
+
permission_mode_version?: number;
|
|
3427
|
+
previous_permission_mode?: string | null;
|
|
3428
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
3743
3429
|
id: string;
|
|
3744
3430
|
processed_at: string;
|
|
3745
3431
|
type: "session.updated";
|
|
@@ -4008,6 +3694,13 @@ export declare function createAutomation(transport: Transport): {
|
|
|
4008
3694
|
hooks: {
|
|
4009
3695
|
send: (options: import("./core/transport.js").CallOptions<Types.AutomationHooksReceiveData>) => Promise<Types.AutomationFiring>;
|
|
4010
3696
|
};
|
|
3697
|
+
humanTasks: {
|
|
3698
|
+
cancel: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksCancelData>) => Promise<Types.AutomationHumanTask>;
|
|
3699
|
+
delegate: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksDelegateData>) => Promise<Types.AutomationHumanTask>;
|
|
3700
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksListData> | undefined) => Promise<import("./automation.js").Page<Types.AutomationHumanTask>>;
|
|
3701
|
+
respond: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksRespondData>) => Promise<Types.AutomationHumanTask>;
|
|
3702
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksGetData>) => Promise<Types.AutomationHumanTask>;
|
|
3703
|
+
};
|
|
4011
3704
|
resolve: {
|
|
4012
3705
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationResolveResolveData>) => Promise<Types.AutomationResolveResult>;
|
|
4013
3706
|
};
|
|
@@ -4341,6 +4034,20 @@ export declare function createMedia(transport: Transport): {
|
|
|
4341
4034
|
};
|
|
4342
4035
|
};
|
|
4343
4036
|
export declare function createMeta(transport: Transport): {
|
|
4037
|
+
docs: {
|
|
4038
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.MetaDocsRetrieveData>) => Promise<{
|
|
4039
|
+
path: string;
|
|
4040
|
+
title: string;
|
|
4041
|
+
url: string;
|
|
4042
|
+
markdown: string;
|
|
4043
|
+
}>;
|
|
4044
|
+
search: (options: import("./core/transport.js").CallOptions<Types.MetaDocsSearchData>) => Promise<{
|
|
4045
|
+
path: string;
|
|
4046
|
+
title: string;
|
|
4047
|
+
url: string;
|
|
4048
|
+
snippet: string;
|
|
4049
|
+
}[]>;
|
|
4050
|
+
};
|
|
4344
4051
|
health: {
|
|
4345
4052
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.HealthCheckData> | undefined) => Promise<string>;
|
|
4346
4053
|
};
|