@deepraxis/sdk 0.1.0-dev.ff6425a → 0.1.1-dev.07df50c
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 +4639 -2648
- 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 +707 -276
- package/dist/operations.generated.js +1164 -737
- package/dist/resources.generated.d.ts +232 -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
|
} | {
|
|
@@ -936,14 +1071,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
936
1071
|
id: string;
|
|
937
1072
|
access: "read_only" | "read_write" | "invoke";
|
|
938
1073
|
instructions?: string;
|
|
1074
|
+
readonly verified?: boolean;
|
|
939
1075
|
enabled?: boolean;
|
|
940
1076
|
} | {
|
|
941
1077
|
type: "search" | "browser";
|
|
1078
|
+
readonly verified?: boolean;
|
|
942
1079
|
enabled?: boolean;
|
|
943
1080
|
}>;
|
|
944
1081
|
kind: "personal" | "service";
|
|
945
1082
|
computer_id?: string;
|
|
946
1083
|
subagent_model?: string | null;
|
|
1084
|
+
image_model?: string | null;
|
|
947
1085
|
subagents?: Array<{
|
|
948
1086
|
name: string;
|
|
949
1087
|
description: string;
|
|
@@ -1047,6 +1185,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1047
1185
|
allowed: Array<string>;
|
|
1048
1186
|
};
|
|
1049
1187
|
avatar: string | null;
|
|
1188
|
+
creation_source: string | null;
|
|
1189
|
+
identity_number: string | null;
|
|
1050
1190
|
environment_id?: string | null;
|
|
1051
1191
|
vault_ids?: Array<string>;
|
|
1052
1192
|
status: "active" | "archived";
|
|
@@ -1060,7 +1200,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1060
1200
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
1061
1201
|
metadata: Types.AgentManaged37;
|
|
1062
1202
|
model: {
|
|
1063
|
-
id:
|
|
1203
|
+
id: string;
|
|
1064
1204
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1065
1205
|
inference_geo?: string;
|
|
1066
1206
|
speed?: "standard" | "fast";
|
|
@@ -1076,6 +1216,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1076
1216
|
type: "agent";
|
|
1077
1217
|
updated_at: string;
|
|
1078
1218
|
version: number;
|
|
1219
|
+
latest_version?: number;
|
|
1079
1220
|
active_version: number;
|
|
1080
1221
|
created_by: {
|
|
1081
1222
|
type: "user";
|
|
@@ -1091,14 +1232,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
1091
1232
|
id: string;
|
|
1092
1233
|
access: "read_only" | "read_write" | "invoke";
|
|
1093
1234
|
instructions?: string;
|
|
1235
|
+
readonly verified?: boolean;
|
|
1094
1236
|
enabled?: boolean;
|
|
1095
1237
|
} | {
|
|
1096
1238
|
type: "search" | "browser";
|
|
1239
|
+
readonly verified?: boolean;
|
|
1097
1240
|
enabled?: boolean;
|
|
1098
1241
|
}>;
|
|
1099
1242
|
kind: "personal" | "service";
|
|
1100
1243
|
computer_id?: string;
|
|
1101
1244
|
subagent_model?: string | null;
|
|
1245
|
+
image_model?: string | null;
|
|
1102
1246
|
subagents?: Array<{
|
|
1103
1247
|
name: string;
|
|
1104
1248
|
description: string;
|
|
@@ -1202,6 +1346,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1202
1346
|
allowed: Array<string>;
|
|
1203
1347
|
};
|
|
1204
1348
|
avatar: string | null;
|
|
1349
|
+
creation_source: string | null;
|
|
1350
|
+
identity_number: string | null;
|
|
1205
1351
|
environment_id?: string | null;
|
|
1206
1352
|
vault_ids?: Array<string>;
|
|
1207
1353
|
status: "active" | "archived";
|
|
@@ -1212,227 +1358,26 @@ export declare function createAgent(transport: Transport): {
|
|
|
1212
1358
|
archived_at: null | string;
|
|
1213
1359
|
created_at: string;
|
|
1214
1360
|
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
|
-
};
|
|
1361
|
+
mcp_servers: Array<Types.AgentManaged36>;
|
|
1362
|
+
metadata: Types.AgentManaged37;
|
|
1244
1363
|
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
|
-
};
|
|
1364
|
+
id: string;
|
|
1365
|
+
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1257
1366
|
inference_geo?: string;
|
|
1258
1367
|
speed?: "standard" | "fast";
|
|
1259
1368
|
settings?: {
|
|
1260
1369
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1261
1370
|
};
|
|
1262
1371
|
};
|
|
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
|
-
};
|
|
1372
|
+
multiagent: null | Types.AgentManaged39;
|
|
1274
1373
|
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
|
-
}>;
|
|
1374
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
1284
1375
|
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
|
-
}>;
|
|
1376
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
1433
1377
|
type: "agent";
|
|
1434
1378
|
updated_at: string;
|
|
1435
1379
|
version: number;
|
|
1380
|
+
latest_version?: number;
|
|
1436
1381
|
active_version: number;
|
|
1437
1382
|
created_by: {
|
|
1438
1383
|
type: "user";
|
|
@@ -1448,14 +1393,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
1448
1393
|
id: string;
|
|
1449
1394
|
access: "read_only" | "read_write" | "invoke";
|
|
1450
1395
|
instructions?: string;
|
|
1396
|
+
readonly verified?: boolean;
|
|
1451
1397
|
enabled?: boolean;
|
|
1452
1398
|
} | {
|
|
1453
1399
|
type: "search" | "browser";
|
|
1400
|
+
readonly verified?: boolean;
|
|
1454
1401
|
enabled?: boolean;
|
|
1455
1402
|
}>;
|
|
1456
1403
|
kind: "personal" | "service";
|
|
1457
1404
|
computer_id?: string;
|
|
1458
1405
|
subagent_model?: string | null;
|
|
1406
|
+
image_model?: string | null;
|
|
1459
1407
|
subagents?: Array<{
|
|
1460
1408
|
name: string;
|
|
1461
1409
|
description: string;
|
|
@@ -1559,6 +1507,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1559
1507
|
allowed: Array<string>;
|
|
1560
1508
|
};
|
|
1561
1509
|
avatar: string | null;
|
|
1510
|
+
creation_source: string | null;
|
|
1511
|
+
identity_number: string | null;
|
|
1562
1512
|
environment_id?: string | null;
|
|
1563
1513
|
vault_ids?: Array<string>;
|
|
1564
1514
|
status: "active" | "archived";
|
|
@@ -1572,7 +1522,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1572
1522
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
1573
1523
|
metadata: Types.AgentManaged37;
|
|
1574
1524
|
model: {
|
|
1575
|
-
id:
|
|
1525
|
+
id: string;
|
|
1576
1526
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1577
1527
|
inference_geo?: string;
|
|
1578
1528
|
speed?: "standard" | "fast";
|
|
@@ -1589,6 +1539,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1589
1539
|
updated_at: string;
|
|
1590
1540
|
version: number;
|
|
1591
1541
|
active_version: number;
|
|
1542
|
+
active: boolean;
|
|
1592
1543
|
created_by: {
|
|
1593
1544
|
type: "user";
|
|
1594
1545
|
id: string;
|
|
@@ -1603,14 +1554,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
1603
1554
|
id: string;
|
|
1604
1555
|
access: "read_only" | "read_write" | "invoke";
|
|
1605
1556
|
instructions?: string;
|
|
1557
|
+
readonly verified?: boolean;
|
|
1606
1558
|
enabled?: boolean;
|
|
1607
1559
|
} | {
|
|
1608
1560
|
type: "search" | "browser";
|
|
1561
|
+
readonly verified?: boolean;
|
|
1609
1562
|
enabled?: boolean;
|
|
1610
1563
|
}>;
|
|
1611
1564
|
kind: "personal" | "service";
|
|
1612
1565
|
computer_id?: string;
|
|
1613
1566
|
subagent_model?: string | null;
|
|
1567
|
+
image_model?: string | null;
|
|
1614
1568
|
subagents?: Array<{
|
|
1615
1569
|
name: string;
|
|
1616
1570
|
description: string;
|
|
@@ -1714,6 +1668,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1714
1668
|
allowed: Array<string>;
|
|
1715
1669
|
};
|
|
1716
1670
|
avatar: string | null;
|
|
1671
|
+
creation_source: string | null;
|
|
1672
|
+
identity_number: string | null;
|
|
1717
1673
|
environment_id?: string | null;
|
|
1718
1674
|
vault_ids?: Array<string>;
|
|
1719
1675
|
status: "active" | "archived";
|
|
@@ -1862,7 +1818,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1862
1818
|
} | {
|
|
1863
1819
|
id: string;
|
|
1864
1820
|
type: "agent_with_overrides";
|
|
1865
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1821
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
1866
1822
|
cwd?: string;
|
|
1867
1823
|
model?: string | {
|
|
1868
1824
|
id: string;
|
|
@@ -1899,7 +1855,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1899
1855
|
} | {
|
|
1900
1856
|
id: string;
|
|
1901
1857
|
type: "agent_with_overrides";
|
|
1902
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1858
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
1903
1859
|
cwd?: string;
|
|
1904
1860
|
model?: string | {
|
|
1905
1861
|
id: string;
|
|
@@ -1937,7 +1893,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1937
1893
|
} | {
|
|
1938
1894
|
id: string;
|
|
1939
1895
|
type: "agent_with_overrides";
|
|
1940
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1896
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
1941
1897
|
cwd?: string;
|
|
1942
1898
|
model?: string | {
|
|
1943
1899
|
id: string;
|
|
@@ -1976,7 +1932,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1976
1932
|
} | {
|
|
1977
1933
|
id: string;
|
|
1978
1934
|
type: "agent_with_overrides";
|
|
1979
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1935
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
1980
1936
|
cwd?: string;
|
|
1981
1937
|
model?: string | {
|
|
1982
1938
|
id: string;
|
|
@@ -2013,7 +1969,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2013
1969
|
} | {
|
|
2014
1970
|
id: string;
|
|
2015
1971
|
type: "agent_with_overrides";
|
|
2016
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1972
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2017
1973
|
cwd?: string;
|
|
2018
1974
|
model?: string | {
|
|
2019
1975
|
id: string;
|
|
@@ -2054,7 +2010,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2054
2010
|
} | {
|
|
2055
2011
|
id: string;
|
|
2056
2012
|
type: "agent_with_overrides";
|
|
2057
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
2013
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2058
2014
|
cwd?: string;
|
|
2059
2015
|
model?: string | {
|
|
2060
2016
|
id: string;
|
|
@@ -2092,7 +2048,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2092
2048
|
} | {
|
|
2093
2049
|
id: string;
|
|
2094
2050
|
type: "agent_with_overrides";
|
|
2095
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
2051
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2096
2052
|
cwd?: string;
|
|
2097
2053
|
model?: string | {
|
|
2098
2054
|
id: string;
|
|
@@ -2121,122 +2077,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2121
2077
|
};
|
|
2122
2078
|
}>;
|
|
2123
2079
|
};
|
|
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
2080
|
environments: {
|
|
2241
2081
|
archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
|
|
2242
2082
|
create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
|
|
@@ -2255,7 +2095,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2255
2095
|
description: null | string;
|
|
2256
2096
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
2257
2097
|
model: {
|
|
2258
|
-
id:
|
|
2098
|
+
id: string;
|
|
2259
2099
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
2260
2100
|
inference_geo?: string;
|
|
2261
2101
|
speed?: "standard" | "fast";
|
|
@@ -2376,7 +2216,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2376
2216
|
description: null | string;
|
|
2377
2217
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
2378
2218
|
model: {
|
|
2379
|
-
id:
|
|
2219
|
+
id: string;
|
|
2380
2220
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
2381
2221
|
inference_geo?: string;
|
|
2382
2222
|
speed?: "standard" | "fast";
|
|
@@ -2468,6 +2308,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2468
2308
|
run_id: string | null;
|
|
2469
2309
|
message_id?: string;
|
|
2470
2310
|
} | {
|
|
2311
|
+
full_access_available?: boolean;
|
|
2471
2312
|
id: string;
|
|
2472
2313
|
input: Types.AgentManaged197;
|
|
2473
2314
|
mcp_server_name: string;
|
|
@@ -2490,6 +2331,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2490
2331
|
};
|
|
2491
2332
|
source?: "app" | "codemode";
|
|
2492
2333
|
parent_tool_use_id?: string;
|
|
2334
|
+
user_once?: true;
|
|
2335
|
+
guarded_rule?: string;
|
|
2493
2336
|
title?: string;
|
|
2494
2337
|
input_titles?: {
|
|
2495
2338
|
[key: string]: string;
|
|
@@ -2508,6 +2351,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2508
2351
|
};
|
|
2509
2352
|
source?: "app" | "codemode";
|
|
2510
2353
|
} | {
|
|
2354
|
+
full_access_available?: boolean;
|
|
2511
2355
|
id: string;
|
|
2512
2356
|
input: Types.AgentManaged206;
|
|
2513
2357
|
name: string;
|
|
@@ -2517,6 +2361,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2517
2361
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
2518
2362
|
session_thread_id?: null | string;
|
|
2519
2363
|
run_id: string | null;
|
|
2364
|
+
user_once?: true;
|
|
2365
|
+
guarded_rule?: string;
|
|
2520
2366
|
} | {
|
|
2521
2367
|
id: string;
|
|
2522
2368
|
processed_at: string;
|
|
@@ -2537,6 +2383,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
2537
2383
|
type: "session.status_idle";
|
|
2538
2384
|
run_id: string | null;
|
|
2539
2385
|
} | 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 | {
|
|
2386
|
+
permission_mode_version?: number;
|
|
2387
|
+
previous_permission_mode?: string | null;
|
|
2388
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2540
2389
|
id: string;
|
|
2541
2390
|
processed_at: string;
|
|
2542
2391
|
type: "session.updated";
|
|
@@ -2688,7 +2537,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2688
2537
|
timeout_ms?: number;
|
|
2689
2538
|
}>;
|
|
2690
2539
|
model: {
|
|
2691
|
-
id:
|
|
2540
|
+
id: string;
|
|
2692
2541
|
effort?: {
|
|
2693
2542
|
type: "low";
|
|
2694
2543
|
} | {
|
|
@@ -2740,7 +2589,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2740
2589
|
timeout_ms?: number;
|
|
2741
2590
|
}>;
|
|
2742
2591
|
model: {
|
|
2743
|
-
id:
|
|
2592
|
+
id: string;
|
|
2744
2593
|
effort?: {
|
|
2745
2594
|
type: "low";
|
|
2746
2595
|
} | {
|
|
@@ -3158,6 +3007,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
3158
3007
|
web_fetch_requests?: number;
|
|
3159
3008
|
web_search_requests?: number;
|
|
3160
3009
|
};
|
|
3010
|
+
runtime_cost?: {
|
|
3011
|
+
amount: string;
|
|
3012
|
+
currency: "USD";
|
|
3013
|
+
};
|
|
3161
3014
|
};
|
|
3162
3015
|
vault_ids: Array<string>;
|
|
3163
3016
|
deployment_id?: null | string;
|
|
@@ -3189,7 +3042,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3189
3042
|
description: null | string;
|
|
3190
3043
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
3191
3044
|
model: {
|
|
3192
|
-
id:
|
|
3045
|
+
id: string;
|
|
3193
3046
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
3194
3047
|
inference_geo?: string;
|
|
3195
3048
|
speed?: "standard" | "fast";
|
|
@@ -3266,7 +3119,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3266
3119
|
description: null | string;
|
|
3267
3120
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
3268
3121
|
model: {
|
|
3269
|
-
id:
|
|
3122
|
+
id: string;
|
|
3270
3123
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
3271
3124
|
inference_geo?: string;
|
|
3272
3125
|
speed?: "standard" | "fast";
|
|
@@ -3444,6 +3297,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3444
3297
|
run_id: string | null;
|
|
3445
3298
|
message_id?: string;
|
|
3446
3299
|
} | {
|
|
3300
|
+
full_access_available?: boolean;
|
|
3447
3301
|
id: string;
|
|
3448
3302
|
input: Types.AgentManaged197;
|
|
3449
3303
|
mcp_server_name: string;
|
|
@@ -3466,6 +3320,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
3466
3320
|
};
|
|
3467
3321
|
};
|
|
3468
3322
|
source?: "app" | "codemode";
|
|
3323
|
+
user_once?: true;
|
|
3324
|
+
guarded_rule?: string;
|
|
3469
3325
|
title?: string;
|
|
3470
3326
|
input_titles?: {
|
|
3471
3327
|
[key: string]: string;
|
|
@@ -3484,6 +3340,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3484
3340
|
};
|
|
3485
3341
|
source?: "app" | "codemode";
|
|
3486
3342
|
} | {
|
|
3343
|
+
full_access_available?: boolean;
|
|
3487
3344
|
id: string;
|
|
3488
3345
|
input: Types.AgentManaged206;
|
|
3489
3346
|
name: string;
|
|
@@ -3493,6 +3350,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
3493
3350
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
3494
3351
|
session_thread_id?: null | string;
|
|
3495
3352
|
run_id: string | null;
|
|
3353
|
+
user_once?: true;
|
|
3354
|
+
guarded_rule?: string;
|
|
3496
3355
|
} | {
|
|
3497
3356
|
id: string;
|
|
3498
3357
|
processed_at: string;
|
|
@@ -3513,6 +3372,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
3513
3372
|
type: "session.status_idle";
|
|
3514
3373
|
run_id: string | null;
|
|
3515
3374
|
} | 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 | {
|
|
3375
|
+
permission_mode_version?: number;
|
|
3376
|
+
previous_permission_mode?: string | null;
|
|
3377
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
3516
3378
|
id: string;
|
|
3517
3379
|
processed_at: string;
|
|
3518
3380
|
type: "session.updated";
|
|
@@ -3604,7 +3466,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3604
3466
|
description: null | string;
|
|
3605
3467
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
3606
3468
|
model: {
|
|
3607
|
-
id:
|
|
3469
|
+
id: string;
|
|
3608
3470
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
3609
3471
|
inference_geo?: string;
|
|
3610
3472
|
speed?: "standard" | "fast";
|