@deepraxis/sdk 0.1.0 → 0.1.1-dev.0bd6238
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 +32 -43
- package/dist/core/client.d.ts +5 -1
- package/dist/core/client.js +10 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +122 -128
- package/dist/generated/sdk.gen.js +111 -120
- package/dist/generated/types.gen.d.ts +5574 -2967
- 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/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/operations.generated.d.ts +710 -278
- package/dist/operations.generated.js +1168 -740
- package/dist/resources.generated.d.ts +269 -370
- package/dist/resources.generated.js +21 -24
- 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";
|
|
@@ -42,14 +42,17 @@ 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
52
|
kind: "personal" | "service";
|
|
51
53
|
computer_id?: string;
|
|
52
54
|
subagent_model?: string | null;
|
|
55
|
+
image_model?: string | null;
|
|
53
56
|
subagents?: Array<{
|
|
54
57
|
name: string;
|
|
55
58
|
description: string;
|
|
@@ -153,6 +156,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
153
156
|
allowed: Array<string>;
|
|
154
157
|
};
|
|
155
158
|
avatar: string | null;
|
|
159
|
+
creation_source: string | null;
|
|
160
|
+
identity_number: string | null;
|
|
156
161
|
environment_id?: string | null;
|
|
157
162
|
vault_ids?: Array<string>;
|
|
158
163
|
status: "active" | "archived";
|
|
@@ -165,7 +170,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
165
170
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
166
171
|
metadata: Types.AgentManaged37;
|
|
167
172
|
model: {
|
|
168
|
-
id:
|
|
173
|
+
id: string;
|
|
169
174
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
170
175
|
inference_geo?: string;
|
|
171
176
|
speed?: "standard" | "fast";
|
|
@@ -196,14 +201,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
196
201
|
id: string;
|
|
197
202
|
access: "read_only" | "read_write" | "invoke";
|
|
198
203
|
instructions?: string;
|
|
204
|
+
readonly verified?: boolean;
|
|
199
205
|
enabled?: boolean;
|
|
200
206
|
} | {
|
|
201
207
|
type: "search" | "browser";
|
|
208
|
+
readonly verified?: boolean;
|
|
202
209
|
enabled?: boolean;
|
|
203
210
|
}>;
|
|
204
211
|
kind: "personal" | "service";
|
|
205
212
|
computer_id?: string;
|
|
206
213
|
subagent_model?: string | null;
|
|
214
|
+
image_model?: string | null;
|
|
207
215
|
subagents?: Array<{
|
|
208
216
|
name: string;
|
|
209
217
|
description: string;
|
|
@@ -307,43 +315,96 @@ export declare function createAgent(transport: Transport): {
|
|
|
307
315
|
allowed: Array<string>;
|
|
308
316
|
};
|
|
309
317
|
avatar: string | null;
|
|
318
|
+
creation_source: string | null;
|
|
319
|
+
identity_number: string | null;
|
|
310
320
|
environment_id?: string | null;
|
|
311
321
|
vault_ids?: Array<string>;
|
|
312
322
|
status: "active" | "archived";
|
|
313
323
|
}>;
|
|
314
|
-
|
|
324
|
+
customers: {
|
|
325
|
+
auth: {
|
|
326
|
+
accessTokens: {
|
|
327
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
|
|
328
|
+
type: "customer_access_token";
|
|
329
|
+
access_token: string;
|
|
330
|
+
expires_at: string;
|
|
331
|
+
session_expires_at: string;
|
|
332
|
+
customer: {
|
|
333
|
+
id: string;
|
|
334
|
+
type: "identified" | "anonymous";
|
|
335
|
+
};
|
|
336
|
+
}>;
|
|
337
|
+
deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
|
|
338
|
+
renew: {
|
|
339
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
|
|
340
|
+
type: "customer_access_token";
|
|
341
|
+
access_token: string;
|
|
342
|
+
expires_at: string;
|
|
343
|
+
session_expires_at: string;
|
|
344
|
+
customer: {
|
|
345
|
+
id: string;
|
|
346
|
+
type: "identified" | "anonymous";
|
|
347
|
+
};
|
|
348
|
+
}>;
|
|
349
|
+
};
|
|
350
|
+
};
|
|
351
|
+
grantCodes: {
|
|
352
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
|
|
353
|
+
type: "customer_grant_code";
|
|
354
|
+
code: string;
|
|
355
|
+
customer_id: string;
|
|
356
|
+
expires_at: string;
|
|
357
|
+
hosted_url?: string;
|
|
358
|
+
}>;
|
|
359
|
+
};
|
|
360
|
+
};
|
|
315
361
|
block: {
|
|
316
|
-
create: (options: import("./core/transport.js").CallOptions<Types.
|
|
317
|
-
|
|
362
|
+
create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
|
|
363
|
+
id: string;
|
|
364
|
+
type: "identified" | "anonymous";
|
|
365
|
+
merged_into: string | null;
|
|
366
|
+
blocked: boolean;
|
|
318
367
|
first_seen_at: string | null;
|
|
319
|
-
|
|
368
|
+
last_seen_at: string | null;
|
|
320
369
|
session_count: number;
|
|
321
|
-
|
|
322
|
-
|
|
370
|
+
cost: {
|
|
371
|
+
amount: string;
|
|
372
|
+
currency: "USD";
|
|
373
|
+
};
|
|
323
374
|
}>;
|
|
324
375
|
};
|
|
325
|
-
delete: (options: import("./core/transport.js").CallOptions<Types.
|
|
376
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteCustomerData>) => Promise<{
|
|
326
377
|
id: string;
|
|
327
378
|
status: "pending";
|
|
328
379
|
}>;
|
|
329
|
-
list: (options: import("./core/transport.js").CallOptions<Types.
|
|
380
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListCustomersData>) => Promise<{
|
|
330
381
|
data: Array<{
|
|
331
|
-
|
|
382
|
+
id: string;
|
|
383
|
+
type: "identified" | "anonymous";
|
|
384
|
+
merged_into: string | null;
|
|
385
|
+
blocked: boolean;
|
|
332
386
|
first_seen_at: string | null;
|
|
333
|
-
|
|
387
|
+
last_seen_at: string | null;
|
|
334
388
|
session_count: number;
|
|
335
|
-
|
|
336
|
-
|
|
389
|
+
cost: {
|
|
390
|
+
amount: string;
|
|
391
|
+
currency: "USD";
|
|
392
|
+
};
|
|
337
393
|
}>;
|
|
338
394
|
next_page: string | null;
|
|
339
395
|
}>;
|
|
340
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.
|
|
341
|
-
|
|
396
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetCustomerData>) => Promise<{
|
|
397
|
+
id: string;
|
|
398
|
+
type: "identified" | "anonymous";
|
|
399
|
+
merged_into: string | null;
|
|
400
|
+
blocked: boolean;
|
|
342
401
|
first_seen_at: string | null;
|
|
343
|
-
|
|
402
|
+
last_seen_at: string | null;
|
|
344
403
|
session_count: number;
|
|
345
|
-
|
|
346
|
-
|
|
404
|
+
cost: {
|
|
405
|
+
amount: string;
|
|
406
|
+
currency: "USD";
|
|
407
|
+
};
|
|
347
408
|
recent_sessions: Array<{
|
|
348
409
|
id: string;
|
|
349
410
|
title: string | null;
|
|
@@ -352,7 +413,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
352
413
|
updated_at: string;
|
|
353
414
|
}>;
|
|
354
415
|
}>;
|
|
355
|
-
retrieveDeletion: (options: import("./core/transport.js").CallOptions<Types.
|
|
416
|
+
retrieveDeletion: (options: import("./core/transport.js").CallOptions<Types.GetCustomerDeletionData>) => Promise<{
|
|
356
417
|
id: string;
|
|
357
418
|
status: "pending" | "snapshotting" | "deleting" | "done" | "failed";
|
|
358
419
|
counts: {
|
|
@@ -368,18 +429,23 @@ export declare function createAgent(transport: Transport): {
|
|
|
368
429
|
updated_at: string;
|
|
369
430
|
}>;
|
|
370
431
|
revokeTokens: {
|
|
371
|
-
create: (options: import("./core/transport.js").CallOptions<Types.
|
|
432
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RevokeCustomerTokensData>) => Promise<{
|
|
372
433
|
revoked: number;
|
|
373
434
|
}>;
|
|
374
435
|
};
|
|
375
436
|
unblock: {
|
|
376
|
-
create: (options: import("./core/transport.js").CallOptions<Types.
|
|
377
|
-
|
|
437
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UnblockCustomerData>) => Promise<{
|
|
438
|
+
id: string;
|
|
439
|
+
type: "identified" | "anonymous";
|
|
440
|
+
merged_into: string | null;
|
|
441
|
+
blocked: boolean;
|
|
378
442
|
first_seen_at: string | null;
|
|
379
|
-
|
|
443
|
+
last_seen_at: string | null;
|
|
380
444
|
session_count: number;
|
|
381
|
-
|
|
382
|
-
|
|
445
|
+
cost: {
|
|
446
|
+
amount: string;
|
|
447
|
+
currency: "USD";
|
|
448
|
+
};
|
|
383
449
|
}>;
|
|
384
450
|
};
|
|
385
451
|
};
|
|
@@ -392,7 +458,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
392
458
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
393
459
|
metadata: Types.AgentManaged37;
|
|
394
460
|
model: {
|
|
395
|
-
id:
|
|
461
|
+
id: string;
|
|
396
462
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
397
463
|
inference_geo?: string;
|
|
398
464
|
speed?: "standard" | "fast";
|
|
@@ -423,14 +489,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
423
489
|
id: string;
|
|
424
490
|
access: "read_only" | "read_write" | "invoke";
|
|
425
491
|
instructions?: string;
|
|
492
|
+
readonly verified?: boolean;
|
|
426
493
|
enabled?: boolean;
|
|
427
494
|
} | {
|
|
428
495
|
type: "search" | "browser";
|
|
496
|
+
readonly verified?: boolean;
|
|
429
497
|
enabled?: boolean;
|
|
430
498
|
}>;
|
|
431
499
|
kind: "personal" | "service";
|
|
432
500
|
computer_id?: string;
|
|
433
501
|
subagent_model?: string | null;
|
|
502
|
+
image_model?: string | null;
|
|
434
503
|
subagents?: Array<{
|
|
435
504
|
name: string;
|
|
436
505
|
description: string;
|
|
@@ -534,6 +603,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
534
603
|
allowed: Array<string>;
|
|
535
604
|
};
|
|
536
605
|
avatar: string | null;
|
|
606
|
+
creation_source: string | null;
|
|
607
|
+
identity_number: string | null;
|
|
537
608
|
environment_id?: string | null;
|
|
538
609
|
vault_ids?: Array<string>;
|
|
539
610
|
status: "active" | "archived";
|
|
@@ -548,7 +619,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
548
619
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
549
620
|
metadata: Types.AgentManaged37;
|
|
550
621
|
model: {
|
|
551
|
-
id:
|
|
622
|
+
id: string;
|
|
552
623
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
553
624
|
inference_geo?: string;
|
|
554
625
|
speed?: "standard" | "fast";
|
|
@@ -564,6 +635,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
564
635
|
type: "agent";
|
|
565
636
|
updated_at: string;
|
|
566
637
|
version: number;
|
|
638
|
+
latest_version?: number;
|
|
567
639
|
active_version: number;
|
|
568
640
|
created_by: {
|
|
569
641
|
type: "user";
|
|
@@ -579,14 +651,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
579
651
|
id: string;
|
|
580
652
|
access: "read_only" | "read_write" | "invoke";
|
|
581
653
|
instructions?: string;
|
|
654
|
+
readonly verified?: boolean;
|
|
582
655
|
enabled?: boolean;
|
|
583
656
|
} | {
|
|
584
657
|
type: "search" | "browser";
|
|
658
|
+
readonly verified?: boolean;
|
|
585
659
|
enabled?: boolean;
|
|
586
660
|
}>;
|
|
587
661
|
kind: "personal" | "service";
|
|
588
662
|
computer_id?: string;
|
|
589
663
|
subagent_model?: string | null;
|
|
664
|
+
image_model?: string | null;
|
|
590
665
|
subagents?: Array<{
|
|
591
666
|
name: string;
|
|
592
667
|
description: string;
|
|
@@ -690,10 +765,70 @@ export declare function createAgent(transport: Transport): {
|
|
|
690
765
|
allowed: Array<string>;
|
|
691
766
|
};
|
|
692
767
|
avatar: string | null;
|
|
768
|
+
creation_source: string | null;
|
|
769
|
+
identity_number: string | null;
|
|
693
770
|
environment_id?: string | null;
|
|
694
771
|
vault_ids?: Array<string>;
|
|
695
772
|
status: "active" | "archived";
|
|
696
773
|
}>;
|
|
774
|
+
retrieveAppearance: (options: import("./core/transport.js").CallOptions<Types.GetAgentAppearanceData>) => Promise<{
|
|
775
|
+
agent?: {
|
|
776
|
+
name?: string;
|
|
777
|
+
avatar?: string;
|
|
778
|
+
};
|
|
779
|
+
layout?: "inline" | "sidebar" | "popup" | "modal";
|
|
780
|
+
launcher?: {
|
|
781
|
+
type: "none" | "bubble" | "mascot";
|
|
782
|
+
pack?: {
|
|
783
|
+
preset?: "mint" | "cat" | "bot";
|
|
784
|
+
images?: {
|
|
785
|
+
idle: string;
|
|
786
|
+
greet?: string;
|
|
787
|
+
listening?: string;
|
|
788
|
+
thinking?: string;
|
|
789
|
+
talking?: string;
|
|
790
|
+
"talking-2"?: string;
|
|
791
|
+
sorry?: string;
|
|
792
|
+
sleep?: string;
|
|
793
|
+
};
|
|
794
|
+
};
|
|
795
|
+
image?: string;
|
|
796
|
+
motion?: "float" | "none";
|
|
797
|
+
position?: "bottom-right" | "bottom-left";
|
|
798
|
+
label?: string;
|
|
799
|
+
};
|
|
800
|
+
header?: {
|
|
801
|
+
title?: string;
|
|
802
|
+
subtitle?: string;
|
|
803
|
+
icon?: string;
|
|
804
|
+
};
|
|
805
|
+
theme?: {
|
|
806
|
+
colorScheme?: "light" | "dark" | "system";
|
|
807
|
+
accent?: string;
|
|
808
|
+
surface?: string;
|
|
809
|
+
grayscale?: "neutral" | "warm" | "cool";
|
|
810
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
811
|
+
density?: "compact" | "normal" | "spacious";
|
|
812
|
+
fontFamily?: string;
|
|
813
|
+
fontSize?: number;
|
|
814
|
+
};
|
|
815
|
+
locale?: "zh" | "en";
|
|
816
|
+
startScreen?: {
|
|
817
|
+
greeting?: string;
|
|
818
|
+
prompts?: Array<{
|
|
819
|
+
label: string;
|
|
820
|
+
prompt: string;
|
|
821
|
+
}>;
|
|
822
|
+
};
|
|
823
|
+
composer?: {
|
|
824
|
+
placeholder?: string;
|
|
825
|
+
};
|
|
826
|
+
disclaimer?: string;
|
|
827
|
+
footer?: string;
|
|
828
|
+
history?: {
|
|
829
|
+
enabled?: boolean;
|
|
830
|
+
};
|
|
831
|
+
}>;
|
|
697
832
|
unarchive: {
|
|
698
833
|
create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
|
|
699
834
|
id: string;
|
|
@@ -730,7 +865,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
730
865
|
[key: string]: string;
|
|
731
866
|
};
|
|
732
867
|
model: {
|
|
733
|
-
id:
|
|
868
|
+
id: string;
|
|
734
869
|
effort?: {
|
|
735
870
|
type: "low";
|
|
736
871
|
} | {
|
|
@@ -921,6 +1056,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
921
1056
|
type: "agent";
|
|
922
1057
|
updated_at: string;
|
|
923
1058
|
version: number;
|
|
1059
|
+
latest_version?: number;
|
|
924
1060
|
active_version: number;
|
|
925
1061
|
created_by: {
|
|
926
1062
|
type: "user";
|
|
@@ -936,14 +1072,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
936
1072
|
id: string;
|
|
937
1073
|
access: "read_only" | "read_write" | "invoke";
|
|
938
1074
|
instructions?: string;
|
|
1075
|
+
readonly verified?: boolean;
|
|
939
1076
|
enabled?: boolean;
|
|
940
1077
|
} | {
|
|
941
1078
|
type: "search" | "browser";
|
|
1079
|
+
readonly verified?: boolean;
|
|
942
1080
|
enabled?: boolean;
|
|
943
1081
|
}>;
|
|
944
1082
|
kind: "personal" | "service";
|
|
945
1083
|
computer_id?: string;
|
|
946
1084
|
subagent_model?: string | null;
|
|
1085
|
+
image_model?: string | null;
|
|
947
1086
|
subagents?: Array<{
|
|
948
1087
|
name: string;
|
|
949
1088
|
description: string;
|
|
@@ -1047,6 +1186,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1047
1186
|
allowed: Array<string>;
|
|
1048
1187
|
};
|
|
1049
1188
|
avatar: string | null;
|
|
1189
|
+
creation_source: string | null;
|
|
1190
|
+
identity_number: string | null;
|
|
1050
1191
|
environment_id?: string | null;
|
|
1051
1192
|
vault_ids?: Array<string>;
|
|
1052
1193
|
status: "active" | "archived";
|
|
@@ -1060,7 +1201,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1060
1201
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
1061
1202
|
metadata: Types.AgentManaged37;
|
|
1062
1203
|
model: {
|
|
1063
|
-
id:
|
|
1204
|
+
id: string;
|
|
1064
1205
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1065
1206
|
inference_geo?: string;
|
|
1066
1207
|
speed?: "standard" | "fast";
|
|
@@ -1076,6 +1217,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1076
1217
|
type: "agent";
|
|
1077
1218
|
updated_at: string;
|
|
1078
1219
|
version: number;
|
|
1220
|
+
latest_version?: number;
|
|
1079
1221
|
active_version: number;
|
|
1080
1222
|
created_by: {
|
|
1081
1223
|
type: "user";
|
|
@@ -1091,14 +1233,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
1091
1233
|
id: string;
|
|
1092
1234
|
access: "read_only" | "read_write" | "invoke";
|
|
1093
1235
|
instructions?: string;
|
|
1236
|
+
readonly verified?: boolean;
|
|
1094
1237
|
enabled?: boolean;
|
|
1095
1238
|
} | {
|
|
1096
1239
|
type: "search" | "browser";
|
|
1240
|
+
readonly verified?: boolean;
|
|
1097
1241
|
enabled?: boolean;
|
|
1098
1242
|
}>;
|
|
1099
1243
|
kind: "personal" | "service";
|
|
1100
1244
|
computer_id?: string;
|
|
1101
1245
|
subagent_model?: string | null;
|
|
1246
|
+
image_model?: string | null;
|
|
1102
1247
|
subagents?: Array<{
|
|
1103
1248
|
name: string;
|
|
1104
1249
|
description: string;
|
|
@@ -1202,6 +1347,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1202
1347
|
allowed: Array<string>;
|
|
1203
1348
|
};
|
|
1204
1349
|
avatar: string | null;
|
|
1350
|
+
creation_source: string | null;
|
|
1351
|
+
identity_number: string | null;
|
|
1205
1352
|
environment_id?: string | null;
|
|
1206
1353
|
vault_ids?: Array<string>;
|
|
1207
1354
|
status: "active" | "archived";
|
|
@@ -1212,227 +1359,26 @@ export declare function createAgent(transport: Transport): {
|
|
|
1212
1359
|
archived_at: null | string;
|
|
1213
1360
|
created_at: string;
|
|
1214
1361
|
description: null | string;
|
|
1215
|
-
mcp_servers: Array<
|
|
1216
|
-
|
|
1217
|
-
name: string;
|
|
1218
|
-
url: string;
|
|
1219
|
-
headers?: {
|
|
1220
|
-
[key: string]: string;
|
|
1221
|
-
};
|
|
1222
|
-
timeout_ms?: number;
|
|
1223
|
-
} | {
|
|
1224
|
-
type: "sse";
|
|
1225
|
-
name: string;
|
|
1226
|
-
url: string;
|
|
1227
|
-
headers?: {
|
|
1228
|
-
[key: string]: string;
|
|
1229
|
-
};
|
|
1230
|
-
timeout_ms?: number;
|
|
1231
|
-
} | {
|
|
1232
|
-
type: "stdio";
|
|
1233
|
-
name: string;
|
|
1234
|
-
command: string;
|
|
1235
|
-
args?: Array<string>;
|
|
1236
|
-
env?: {
|
|
1237
|
-
[key: string]: string;
|
|
1238
|
-
};
|
|
1239
|
-
timeout_ms?: number;
|
|
1240
|
-
}>;
|
|
1241
|
-
metadata: {
|
|
1242
|
-
[key: string]: string;
|
|
1243
|
-
};
|
|
1362
|
+
mcp_servers: Array<Types.AgentManaged36>;
|
|
1363
|
+
metadata: Types.AgentManaged37;
|
|
1244
1364
|
model: {
|
|
1245
|
-
id:
|
|
1246
|
-
effort?:
|
|
1247
|
-
type: "low";
|
|
1248
|
-
} | {
|
|
1249
|
-
type: "medium";
|
|
1250
|
-
} | {
|
|
1251
|
-
type: "high";
|
|
1252
|
-
} | {
|
|
1253
|
-
type: "xhigh";
|
|
1254
|
-
} | {
|
|
1255
|
-
type: "max";
|
|
1256
|
-
};
|
|
1365
|
+
id: string;
|
|
1366
|
+
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1257
1367
|
inference_geo?: string;
|
|
1258
1368
|
speed?: "standard" | "fast";
|
|
1259
1369
|
settings?: {
|
|
1260
1370
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1261
1371
|
};
|
|
1262
1372
|
};
|
|
1263
|
-
multiagent: null |
|
|
1264
|
-
agents: Array<{
|
|
1265
|
-
id: string;
|
|
1266
|
-
type: "agent";
|
|
1267
|
-
version: number;
|
|
1268
|
-
} | {
|
|
1269
|
-
model: string;
|
|
1270
|
-
type: "advisor";
|
|
1271
|
-
}>;
|
|
1272
|
-
type: "coordinator";
|
|
1273
|
-
};
|
|
1373
|
+
multiagent: null | Types.AgentManaged39;
|
|
1274
1374
|
name: string;
|
|
1275
|
-
skills: Array<
|
|
1276
|
-
skill_id: string;
|
|
1277
|
-
type: "anthropic";
|
|
1278
|
-
version: string;
|
|
1279
|
-
} | {
|
|
1280
|
-
skill_id: string;
|
|
1281
|
-
type: "custom";
|
|
1282
|
-
version: string;
|
|
1283
|
-
}>;
|
|
1375
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
1284
1376
|
system: null | string;
|
|
1285
|
-
tools: Array<
|
|
1286
|
-
configs: Array<{
|
|
1287
|
-
enabled: boolean;
|
|
1288
|
-
name: "bash";
|
|
1289
|
-
permission_policy: {
|
|
1290
|
-
type: "always_allow";
|
|
1291
|
-
} | {
|
|
1292
|
-
type: "always_ask";
|
|
1293
|
-
} | {
|
|
1294
|
-
type: "auto";
|
|
1295
|
-
};
|
|
1296
|
-
type: "bash";
|
|
1297
|
-
} | {
|
|
1298
|
-
enabled: boolean;
|
|
1299
|
-
name: "edit";
|
|
1300
|
-
permission_policy: {
|
|
1301
|
-
type: "always_allow";
|
|
1302
|
-
} | {
|
|
1303
|
-
type: "always_ask";
|
|
1304
|
-
} | {
|
|
1305
|
-
type: "auto";
|
|
1306
|
-
};
|
|
1307
|
-
type: "edit";
|
|
1308
|
-
} | {
|
|
1309
|
-
enabled: boolean;
|
|
1310
|
-
name: "read";
|
|
1311
|
-
permission_policy: {
|
|
1312
|
-
type: "always_allow";
|
|
1313
|
-
} | {
|
|
1314
|
-
type: "always_ask";
|
|
1315
|
-
} | {
|
|
1316
|
-
type: "auto";
|
|
1317
|
-
};
|
|
1318
|
-
type: "read";
|
|
1319
|
-
} | {
|
|
1320
|
-
enabled: boolean;
|
|
1321
|
-
name: "write";
|
|
1322
|
-
permission_policy: {
|
|
1323
|
-
type: "always_allow";
|
|
1324
|
-
} | {
|
|
1325
|
-
type: "always_ask";
|
|
1326
|
-
} | {
|
|
1327
|
-
type: "auto";
|
|
1328
|
-
};
|
|
1329
|
-
type: "write";
|
|
1330
|
-
} | {
|
|
1331
|
-
enabled: boolean;
|
|
1332
|
-
name: "glob";
|
|
1333
|
-
permission_policy: {
|
|
1334
|
-
type: "always_allow";
|
|
1335
|
-
} | {
|
|
1336
|
-
type: "always_ask";
|
|
1337
|
-
} | {
|
|
1338
|
-
type: "auto";
|
|
1339
|
-
};
|
|
1340
|
-
type: "glob";
|
|
1341
|
-
} | {
|
|
1342
|
-
enabled: boolean;
|
|
1343
|
-
name: "grep";
|
|
1344
|
-
permission_policy: {
|
|
1345
|
-
type: "always_allow";
|
|
1346
|
-
} | {
|
|
1347
|
-
type: "always_ask";
|
|
1348
|
-
} | {
|
|
1349
|
-
type: "auto";
|
|
1350
|
-
};
|
|
1351
|
-
type: "grep";
|
|
1352
|
-
} | {
|
|
1353
|
-
enabled: boolean;
|
|
1354
|
-
name: "web_fetch";
|
|
1355
|
-
permission_policy: {
|
|
1356
|
-
type: "always_allow";
|
|
1357
|
-
} | {
|
|
1358
|
-
type: "always_ask";
|
|
1359
|
-
} | {
|
|
1360
|
-
type: "auto";
|
|
1361
|
-
};
|
|
1362
|
-
type: "web_fetch";
|
|
1363
|
-
allowed_domains?: Array<string>;
|
|
1364
|
-
blocked_domains?: Array<string>;
|
|
1365
|
-
max_content_tokens?: null | number;
|
|
1366
|
-
} | {
|
|
1367
|
-
enabled: boolean;
|
|
1368
|
-
name: "web_search";
|
|
1369
|
-
permission_policy: {
|
|
1370
|
-
type: "always_allow";
|
|
1371
|
-
} | {
|
|
1372
|
-
type: "always_ask";
|
|
1373
|
-
} | {
|
|
1374
|
-
type: "auto";
|
|
1375
|
-
};
|
|
1376
|
-
type: "web_search";
|
|
1377
|
-
allowed_domains?: Array<string>;
|
|
1378
|
-
blocked_domains?: Array<string>;
|
|
1379
|
-
user_location?: null | {
|
|
1380
|
-
type: "approximate";
|
|
1381
|
-
city?: null | string;
|
|
1382
|
-
country?: null | string;
|
|
1383
|
-
region?: null | string;
|
|
1384
|
-
timezone?: null | string;
|
|
1385
|
-
};
|
|
1386
|
-
} | {
|
|
1387
|
-
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
1388
|
-
enabled: boolean;
|
|
1389
|
-
permission_policy: {
|
|
1390
|
-
type: "always_allow" | "always_ask";
|
|
1391
|
-
};
|
|
1392
|
-
}>;
|
|
1393
|
-
default_config: {
|
|
1394
|
-
enabled: boolean;
|
|
1395
|
-
permission_policy: {
|
|
1396
|
-
type: "always_allow";
|
|
1397
|
-
} | {
|
|
1398
|
-
type: "always_ask";
|
|
1399
|
-
} | {
|
|
1400
|
-
type: "auto";
|
|
1401
|
-
};
|
|
1402
|
-
};
|
|
1403
|
-
type: "agent_toolset_20260401";
|
|
1404
|
-
} | {
|
|
1405
|
-
type: "mcp_toolset";
|
|
1406
|
-
mcp_server_name: string;
|
|
1407
|
-
default_config?: {
|
|
1408
|
-
enabled?: boolean | null;
|
|
1409
|
-
permission_policy?: null | {
|
|
1410
|
-
type: "always_allow" | "always_ask";
|
|
1411
|
-
};
|
|
1412
|
-
} | null;
|
|
1413
|
-
configs?: Array<{
|
|
1414
|
-
name: string;
|
|
1415
|
-
enabled?: boolean | null;
|
|
1416
|
-
permission_policy?: null | {
|
|
1417
|
-
type: "always_allow" | "always_ask";
|
|
1418
|
-
};
|
|
1419
|
-
}> | null;
|
|
1420
|
-
} | {
|
|
1421
|
-
description: string;
|
|
1422
|
-
input_schema: {
|
|
1423
|
-
type: "object";
|
|
1424
|
-
properties?: null | {
|
|
1425
|
-
[key: string]: unknown;
|
|
1426
|
-
};
|
|
1427
|
-
required?: null | Array<string>;
|
|
1428
|
-
[key: string]: unknown;
|
|
1429
|
-
};
|
|
1430
|
-
name: string;
|
|
1431
|
-
type: "custom";
|
|
1432
|
-
}>;
|
|
1377
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
1433
1378
|
type: "agent";
|
|
1434
1379
|
updated_at: string;
|
|
1435
1380
|
version: number;
|
|
1381
|
+
latest_version?: number;
|
|
1436
1382
|
active_version: number;
|
|
1437
1383
|
created_by: {
|
|
1438
1384
|
type: "user";
|
|
@@ -1448,14 +1394,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
1448
1394
|
id: string;
|
|
1449
1395
|
access: "read_only" | "read_write" | "invoke";
|
|
1450
1396
|
instructions?: string;
|
|
1397
|
+
readonly verified?: boolean;
|
|
1451
1398
|
enabled?: boolean;
|
|
1452
1399
|
} | {
|
|
1453
1400
|
type: "search" | "browser";
|
|
1401
|
+
readonly verified?: boolean;
|
|
1454
1402
|
enabled?: boolean;
|
|
1455
1403
|
}>;
|
|
1456
1404
|
kind: "personal" | "service";
|
|
1457
1405
|
computer_id?: string;
|
|
1458
1406
|
subagent_model?: string | null;
|
|
1407
|
+
image_model?: string | null;
|
|
1459
1408
|
subagents?: Array<{
|
|
1460
1409
|
name: string;
|
|
1461
1410
|
description: string;
|
|
@@ -1559,6 +1508,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1559
1508
|
allowed: Array<string>;
|
|
1560
1509
|
};
|
|
1561
1510
|
avatar: string | null;
|
|
1511
|
+
creation_source: string | null;
|
|
1512
|
+
identity_number: string | null;
|
|
1562
1513
|
environment_id?: string | null;
|
|
1563
1514
|
vault_ids?: Array<string>;
|
|
1564
1515
|
status: "active" | "archived";
|
|
@@ -1572,7 +1523,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1572
1523
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
1573
1524
|
metadata: Types.AgentManaged37;
|
|
1574
1525
|
model: {
|
|
1575
|
-
id:
|
|
1526
|
+
id: string;
|
|
1576
1527
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1577
1528
|
inference_geo?: string;
|
|
1578
1529
|
speed?: "standard" | "fast";
|
|
@@ -1589,6 +1540,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1589
1540
|
updated_at: string;
|
|
1590
1541
|
version: number;
|
|
1591
1542
|
active_version: number;
|
|
1543
|
+
active: boolean;
|
|
1592
1544
|
created_by: {
|
|
1593
1545
|
type: "user";
|
|
1594
1546
|
id: string;
|
|
@@ -1603,14 +1555,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
1603
1555
|
id: string;
|
|
1604
1556
|
access: "read_only" | "read_write" | "invoke";
|
|
1605
1557
|
instructions?: string;
|
|
1558
|
+
readonly verified?: boolean;
|
|
1606
1559
|
enabled?: boolean;
|
|
1607
1560
|
} | {
|
|
1608
1561
|
type: "search" | "browser";
|
|
1562
|
+
readonly verified?: boolean;
|
|
1609
1563
|
enabled?: boolean;
|
|
1610
1564
|
}>;
|
|
1611
1565
|
kind: "personal" | "service";
|
|
1612
1566
|
computer_id?: string;
|
|
1613
1567
|
subagent_model?: string | null;
|
|
1568
|
+
image_model?: string | null;
|
|
1614
1569
|
subagents?: Array<{
|
|
1615
1570
|
name: string;
|
|
1616
1571
|
description: string;
|
|
@@ -1714,6 +1669,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1714
1669
|
allowed: Array<string>;
|
|
1715
1670
|
};
|
|
1716
1671
|
avatar: string | null;
|
|
1672
|
+
creation_source: string | null;
|
|
1673
|
+
identity_number: string | null;
|
|
1717
1674
|
environment_id?: string | null;
|
|
1718
1675
|
vault_ids?: Array<string>;
|
|
1719
1676
|
status: "active" | "archived";
|
|
@@ -1862,7 +1819,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1862
1819
|
} | {
|
|
1863
1820
|
id: string;
|
|
1864
1821
|
type: "agent_with_overrides";
|
|
1865
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1822
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
1866
1823
|
cwd?: string;
|
|
1867
1824
|
model?: string | {
|
|
1868
1825
|
id: string;
|
|
@@ -1899,7 +1856,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1899
1856
|
} | {
|
|
1900
1857
|
id: string;
|
|
1901
1858
|
type: "agent_with_overrides";
|
|
1902
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1859
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
1903
1860
|
cwd?: string;
|
|
1904
1861
|
model?: string | {
|
|
1905
1862
|
id: string;
|
|
@@ -1937,7 +1894,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1937
1894
|
} | {
|
|
1938
1895
|
id: string;
|
|
1939
1896
|
type: "agent_with_overrides";
|
|
1940
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1897
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
1941
1898
|
cwd?: string;
|
|
1942
1899
|
model?: string | {
|
|
1943
1900
|
id: string;
|
|
@@ -1976,7 +1933,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1976
1933
|
} | {
|
|
1977
1934
|
id: string;
|
|
1978
1935
|
type: "agent_with_overrides";
|
|
1979
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1936
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
1980
1937
|
cwd?: string;
|
|
1981
1938
|
model?: string | {
|
|
1982
1939
|
id: string;
|
|
@@ -2013,7 +1970,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2013
1970
|
} | {
|
|
2014
1971
|
id: string;
|
|
2015
1972
|
type: "agent_with_overrides";
|
|
2016
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1973
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2017
1974
|
cwd?: string;
|
|
2018
1975
|
model?: string | {
|
|
2019
1976
|
id: string;
|
|
@@ -2054,7 +2011,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2054
2011
|
} | {
|
|
2055
2012
|
id: string;
|
|
2056
2013
|
type: "agent_with_overrides";
|
|
2057
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
2014
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2058
2015
|
cwd?: string;
|
|
2059
2016
|
model?: string | {
|
|
2060
2017
|
id: string;
|
|
@@ -2092,7 +2049,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2092
2049
|
} | {
|
|
2093
2050
|
id: string;
|
|
2094
2051
|
type: "agent_with_overrides";
|
|
2095
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
2052
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2096
2053
|
cwd?: string;
|
|
2097
2054
|
model?: string | {
|
|
2098
2055
|
id: string;
|
|
@@ -2121,122 +2078,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2121
2078
|
};
|
|
2122
2079
|
}>;
|
|
2123
2080
|
};
|
|
2124
|
-
embed: {
|
|
2125
|
-
exchange: {
|
|
2126
|
-
create: (options: import("./core/transport.js").CallOptions<Types.ExchangeEmbedCodeData>) => Promise<{
|
|
2127
|
-
token: string;
|
|
2128
|
-
expires_at: string;
|
|
2129
|
-
}>;
|
|
2130
|
-
};
|
|
2131
|
-
retrieveAppearance: (options?: import("./core/transport.js").CallOptions<Types.GetEmbedAppearanceData> | undefined) => Promise<{
|
|
2132
|
-
agent?: {
|
|
2133
|
-
name?: string;
|
|
2134
|
-
avatar?: string;
|
|
2135
|
-
};
|
|
2136
|
-
layout?: "inline" | "sidebar" | "popup" | "modal";
|
|
2137
|
-
launcher?: {
|
|
2138
|
-
type: "none" | "bubble" | "mascot";
|
|
2139
|
-
pack?: {
|
|
2140
|
-
preset?: "mint" | "cat" | "bot";
|
|
2141
|
-
images?: {
|
|
2142
|
-
idle: string;
|
|
2143
|
-
greet?: string;
|
|
2144
|
-
listening?: string;
|
|
2145
|
-
thinking?: string;
|
|
2146
|
-
talking?: string;
|
|
2147
|
-
"talking-2"?: string;
|
|
2148
|
-
sorry?: string;
|
|
2149
|
-
sleep?: string;
|
|
2150
|
-
};
|
|
2151
|
-
};
|
|
2152
|
-
image?: string;
|
|
2153
|
-
motion?: "float" | "none";
|
|
2154
|
-
position?: "bottom-right" | "bottom-left";
|
|
2155
|
-
label?: string;
|
|
2156
|
-
};
|
|
2157
|
-
header?: {
|
|
2158
|
-
title?: string;
|
|
2159
|
-
subtitle?: string;
|
|
2160
|
-
icon?: string;
|
|
2161
|
-
};
|
|
2162
|
-
theme?: {
|
|
2163
|
-
colorScheme?: "light" | "dark" | "system";
|
|
2164
|
-
accent?: string;
|
|
2165
|
-
surface?: string;
|
|
2166
|
-
grayscale?: "neutral" | "warm" | "cool";
|
|
2167
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
2168
|
-
density?: "compact" | "normal" | "spacious";
|
|
2169
|
-
fontFamily?: string;
|
|
2170
|
-
fontSize?: number;
|
|
2171
|
-
};
|
|
2172
|
-
locale?: "zh" | "en";
|
|
2173
|
-
startScreen?: {
|
|
2174
|
-
greeting?: string;
|
|
2175
|
-
prompts?: Array<{
|
|
2176
|
-
label: string;
|
|
2177
|
-
prompt: string;
|
|
2178
|
-
}>;
|
|
2179
|
-
};
|
|
2180
|
-
composer?: {
|
|
2181
|
-
placeholder?: string;
|
|
2182
|
-
};
|
|
2183
|
-
disclaimer?: string;
|
|
2184
|
-
footer?: string;
|
|
2185
|
-
history?: {
|
|
2186
|
-
enabled?: boolean;
|
|
2187
|
-
};
|
|
2188
|
-
}>;
|
|
2189
|
-
};
|
|
2190
|
-
embedTokens: {
|
|
2191
|
-
anonymous: {
|
|
2192
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CreateAnonymousEmbedTokenData>) => Promise<{
|
|
2193
|
-
token: string;
|
|
2194
|
-
expires_at: string;
|
|
2195
|
-
visitor_secret?: string;
|
|
2196
|
-
}>;
|
|
2197
|
-
};
|
|
2198
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CreateEmbedTokenData>) => Promise<{
|
|
2199
|
-
hosted_url?: string;
|
|
2200
|
-
id: string;
|
|
2201
|
-
token: string;
|
|
2202
|
-
expires_at: string;
|
|
2203
|
-
}>;
|
|
2204
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListEmbedTokensData> | undefined) => Promise<{
|
|
2205
|
-
data: Array<{
|
|
2206
|
-
id: string;
|
|
2207
|
-
type: "embed_token";
|
|
2208
|
-
agent_id: string;
|
|
2209
|
-
agent_version: number;
|
|
2210
|
-
external_user_id: string;
|
|
2211
|
-
created_at: string;
|
|
2212
|
-
expires_at: string;
|
|
2213
|
-
revoked_at: string | null;
|
|
2214
|
-
host_origin: string | null;
|
|
2215
|
-
issued_by: {
|
|
2216
|
-
type: "user" | "api_key";
|
|
2217
|
-
id: string;
|
|
2218
|
-
};
|
|
2219
|
-
}>;
|
|
2220
|
-
next_page: string | null;
|
|
2221
|
-
}>;
|
|
2222
|
-
revoke: {
|
|
2223
|
-
create: (options: import("./core/transport.js").CallOptions<Types.RevokeEmbedTokenData>) => Promise<{
|
|
2224
|
-
id: string;
|
|
2225
|
-
type: "embed_token";
|
|
2226
|
-
agent_id: string;
|
|
2227
|
-
agent_version: number;
|
|
2228
|
-
external_user_id: string;
|
|
2229
|
-
created_at: string;
|
|
2230
|
-
expires_at: string;
|
|
2231
|
-
revoked_at: string | null;
|
|
2232
|
-
host_origin: string | null;
|
|
2233
|
-
issued_by: {
|
|
2234
|
-
type: "user" | "api_key";
|
|
2235
|
-
id: string;
|
|
2236
|
-
};
|
|
2237
|
-
}>;
|
|
2238
|
-
};
|
|
2239
|
-
};
|
|
2240
2081
|
environments: {
|
|
2241
2082
|
archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
|
|
2242
2083
|
create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
|
|
@@ -2255,7 +2096,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2255
2096
|
description: null | string;
|
|
2256
2097
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
2257
2098
|
model: {
|
|
2258
|
-
id:
|
|
2099
|
+
id: string;
|
|
2259
2100
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
2260
2101
|
inference_geo?: string;
|
|
2261
2102
|
speed?: "standard" | "fast";
|
|
@@ -2376,7 +2217,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2376
2217
|
description: null | string;
|
|
2377
2218
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
2378
2219
|
model: {
|
|
2379
|
-
id:
|
|
2220
|
+
id: string;
|
|
2380
2221
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
2381
2222
|
inference_geo?: string;
|
|
2382
2223
|
speed?: "standard" | "fast";
|
|
@@ -2468,6 +2309,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2468
2309
|
run_id: string | null;
|
|
2469
2310
|
message_id?: string;
|
|
2470
2311
|
} | {
|
|
2312
|
+
full_access_available?: boolean;
|
|
2471
2313
|
id: string;
|
|
2472
2314
|
input: Types.AgentManaged197;
|
|
2473
2315
|
mcp_server_name: string;
|
|
@@ -2490,6 +2332,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
2490
2332
|
};
|
|
2491
2333
|
source?: "app" | "codemode";
|
|
2492
2334
|
parent_tool_use_id?: string;
|
|
2335
|
+
user_once?: true;
|
|
2336
|
+
guarded_rule?: string;
|
|
2337
|
+
permission_suggestions?: Array<{
|
|
2338
|
+
type: "add_rules";
|
|
2339
|
+
behavior: "allow";
|
|
2340
|
+
destination: "agent" | "session";
|
|
2341
|
+
rules: Array<{
|
|
2342
|
+
tool_name: string;
|
|
2343
|
+
rule_content: string;
|
|
2344
|
+
}>;
|
|
2345
|
+
}>;
|
|
2493
2346
|
title?: string;
|
|
2494
2347
|
input_titles?: {
|
|
2495
2348
|
[key: string]: string;
|
|
@@ -2508,6 +2361,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2508
2361
|
};
|
|
2509
2362
|
source?: "app" | "codemode";
|
|
2510
2363
|
} | {
|
|
2364
|
+
full_access_available?: boolean;
|
|
2511
2365
|
id: string;
|
|
2512
2366
|
input: Types.AgentManaged206;
|
|
2513
2367
|
name: string;
|
|
@@ -2517,6 +2371,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
2517
2371
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
2518
2372
|
session_thread_id?: null | string;
|
|
2519
2373
|
run_id: string | null;
|
|
2374
|
+
user_once?: true;
|
|
2375
|
+
guarded_rule?: string;
|
|
2376
|
+
permission_suggestions?: Array<{
|
|
2377
|
+
type: "add_rules";
|
|
2378
|
+
behavior: "allow";
|
|
2379
|
+
destination: "agent" | "session";
|
|
2380
|
+
rules: Array<{
|
|
2381
|
+
tool_name: string;
|
|
2382
|
+
rule_content: string;
|
|
2383
|
+
}>;
|
|
2384
|
+
}>;
|
|
2520
2385
|
} | {
|
|
2521
2386
|
id: string;
|
|
2522
2387
|
processed_at: string;
|
|
@@ -2537,6 +2402,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
2537
2402
|
type: "session.status_idle";
|
|
2538
2403
|
run_id: string | null;
|
|
2539
2404
|
} | 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 | {
|
|
2405
|
+
permission_mode_version?: number;
|
|
2406
|
+
previous_permission_mode?: string | null;
|
|
2407
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2540
2408
|
id: string;
|
|
2541
2409
|
processed_at: string;
|
|
2542
2410
|
type: "session.updated";
|
|
@@ -2688,7 +2556,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2688
2556
|
timeout_ms?: number;
|
|
2689
2557
|
}>;
|
|
2690
2558
|
model: {
|
|
2691
|
-
id:
|
|
2559
|
+
id: string;
|
|
2692
2560
|
effort?: {
|
|
2693
2561
|
type: "low";
|
|
2694
2562
|
} | {
|
|
@@ -2740,7 +2608,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2740
2608
|
timeout_ms?: number;
|
|
2741
2609
|
}>;
|
|
2742
2610
|
model: {
|
|
2743
|
-
id:
|
|
2611
|
+
id: string;
|
|
2744
2612
|
effort?: {
|
|
2745
2613
|
type: "low";
|
|
2746
2614
|
} | {
|
|
@@ -3158,6 +3026,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
3158
3026
|
web_fetch_requests?: number;
|
|
3159
3027
|
web_search_requests?: number;
|
|
3160
3028
|
};
|
|
3029
|
+
cost_by_product?: {
|
|
3030
|
+
[key: string]: string;
|
|
3031
|
+
};
|
|
3032
|
+
subagent_cost_micro_usd?: number;
|
|
3161
3033
|
};
|
|
3162
3034
|
vault_ids: Array<string>;
|
|
3163
3035
|
deployment_id?: null | string;
|
|
@@ -3189,7 +3061,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3189
3061
|
description: null | string;
|
|
3190
3062
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
3191
3063
|
model: {
|
|
3192
|
-
id:
|
|
3064
|
+
id: string;
|
|
3193
3065
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
3194
3066
|
inference_geo?: string;
|
|
3195
3067
|
speed?: "standard" | "fast";
|
|
@@ -3266,7 +3138,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3266
3138
|
description: null | string;
|
|
3267
3139
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
3268
3140
|
model: {
|
|
3269
|
-
id:
|
|
3141
|
+
id: string;
|
|
3270
3142
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
3271
3143
|
inference_geo?: string;
|
|
3272
3144
|
speed?: "standard" | "fast";
|
|
@@ -3444,6 +3316,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3444
3316
|
run_id: string | null;
|
|
3445
3317
|
message_id?: string;
|
|
3446
3318
|
} | {
|
|
3319
|
+
full_access_available?: boolean;
|
|
3447
3320
|
id: string;
|
|
3448
3321
|
input: Types.AgentManaged197;
|
|
3449
3322
|
mcp_server_name: string;
|
|
@@ -3466,6 +3339,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
3466
3339
|
};
|
|
3467
3340
|
};
|
|
3468
3341
|
source?: "app" | "codemode";
|
|
3342
|
+
user_once?: true;
|
|
3343
|
+
guarded_rule?: string;
|
|
3344
|
+
permission_suggestions?: Array<{
|
|
3345
|
+
type: "add_rules";
|
|
3346
|
+
behavior: "allow";
|
|
3347
|
+
destination: "agent" | "session";
|
|
3348
|
+
rules: Array<{
|
|
3349
|
+
tool_name: string;
|
|
3350
|
+
rule_content: string;
|
|
3351
|
+
}>;
|
|
3352
|
+
}>;
|
|
3469
3353
|
title?: string;
|
|
3470
3354
|
input_titles?: {
|
|
3471
3355
|
[key: string]: string;
|
|
@@ -3484,6 +3368,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3484
3368
|
};
|
|
3485
3369
|
source?: "app" | "codemode";
|
|
3486
3370
|
} | {
|
|
3371
|
+
full_access_available?: boolean;
|
|
3487
3372
|
id: string;
|
|
3488
3373
|
input: Types.AgentManaged206;
|
|
3489
3374
|
name: string;
|
|
@@ -3493,6 +3378,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
3493
3378
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
3494
3379
|
session_thread_id?: null | string;
|
|
3495
3380
|
run_id: string | null;
|
|
3381
|
+
user_once?: true;
|
|
3382
|
+
guarded_rule?: string;
|
|
3383
|
+
permission_suggestions?: Array<{
|
|
3384
|
+
type: "add_rules";
|
|
3385
|
+
behavior: "allow";
|
|
3386
|
+
destination: "agent" | "session";
|
|
3387
|
+
rules: Array<{
|
|
3388
|
+
tool_name: string;
|
|
3389
|
+
rule_content: string;
|
|
3390
|
+
}>;
|
|
3391
|
+
}>;
|
|
3496
3392
|
} | {
|
|
3497
3393
|
id: string;
|
|
3498
3394
|
processed_at: string;
|
|
@@ -3513,6 +3409,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
3513
3409
|
type: "session.status_idle";
|
|
3514
3410
|
run_id: string | null;
|
|
3515
3411
|
} | 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 | {
|
|
3412
|
+
permission_mode_version?: number;
|
|
3413
|
+
previous_permission_mode?: string | null;
|
|
3414
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
3516
3415
|
id: string;
|
|
3517
3416
|
processed_at: string;
|
|
3518
3417
|
type: "session.updated";
|
|
@@ -3604,7 +3503,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3604
3503
|
description: null | string;
|
|
3605
3504
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
3606
3505
|
model: {
|
|
3607
|
-
id:
|
|
3506
|
+
id: string;
|
|
3608
3507
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
3609
3508
|
inference_geo?: string;
|
|
3610
3509
|
speed?: "standard" | "fast";
|