@deepraxis/sdk 0.1.0 → 0.1.1-dev.1538445
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/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +121 -127
- package/dist/generated/sdk.gen.js +110 -119
- package/dist/generated/types.gen.d.ts +3683 -1241
- package/dist/operations.generated.d.ts +702 -271
- package/dist/operations.generated.js +1159 -732
- package/dist/resources.generated.d.ts +198 -155
- 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";
|
|
@@ -579,14 +650,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
579
650
|
id: string;
|
|
580
651
|
access: "read_only" | "read_write" | "invoke";
|
|
581
652
|
instructions?: string;
|
|
653
|
+
readonly verified?: boolean;
|
|
582
654
|
enabled?: boolean;
|
|
583
655
|
} | {
|
|
584
656
|
type: "search" | "browser";
|
|
657
|
+
readonly verified?: boolean;
|
|
585
658
|
enabled?: boolean;
|
|
586
659
|
}>;
|
|
587
660
|
kind: "personal" | "service";
|
|
588
661
|
computer_id?: string;
|
|
589
662
|
subagent_model?: string | null;
|
|
663
|
+
image_model?: string | null;
|
|
590
664
|
subagents?: Array<{
|
|
591
665
|
name: string;
|
|
592
666
|
description: string;
|
|
@@ -690,10 +764,70 @@ export declare function createAgent(transport: Transport): {
|
|
|
690
764
|
allowed: Array<string>;
|
|
691
765
|
};
|
|
692
766
|
avatar: string | null;
|
|
767
|
+
creation_source: string | null;
|
|
768
|
+
identity_number: string | null;
|
|
693
769
|
environment_id?: string | null;
|
|
694
770
|
vault_ids?: Array<string>;
|
|
695
771
|
status: "active" | "archived";
|
|
696
772
|
}>;
|
|
773
|
+
retrieveAppearance: (options: import("./core/transport.js").CallOptions<Types.GetAgentAppearanceData>) => Promise<{
|
|
774
|
+
agent?: {
|
|
775
|
+
name?: string;
|
|
776
|
+
avatar?: string;
|
|
777
|
+
};
|
|
778
|
+
layout?: "inline" | "sidebar" | "popup" | "modal";
|
|
779
|
+
launcher?: {
|
|
780
|
+
type: "none" | "bubble" | "mascot";
|
|
781
|
+
pack?: {
|
|
782
|
+
preset?: "mint" | "cat" | "bot";
|
|
783
|
+
images?: {
|
|
784
|
+
idle: string;
|
|
785
|
+
greet?: string;
|
|
786
|
+
listening?: string;
|
|
787
|
+
thinking?: string;
|
|
788
|
+
talking?: string;
|
|
789
|
+
"talking-2"?: string;
|
|
790
|
+
sorry?: string;
|
|
791
|
+
sleep?: string;
|
|
792
|
+
};
|
|
793
|
+
};
|
|
794
|
+
image?: string;
|
|
795
|
+
motion?: "float" | "none";
|
|
796
|
+
position?: "bottom-right" | "bottom-left";
|
|
797
|
+
label?: string;
|
|
798
|
+
};
|
|
799
|
+
header?: {
|
|
800
|
+
title?: string;
|
|
801
|
+
subtitle?: string;
|
|
802
|
+
icon?: string;
|
|
803
|
+
};
|
|
804
|
+
theme?: {
|
|
805
|
+
colorScheme?: "light" | "dark" | "system";
|
|
806
|
+
accent?: string;
|
|
807
|
+
surface?: string;
|
|
808
|
+
grayscale?: "neutral" | "warm" | "cool";
|
|
809
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
810
|
+
density?: "compact" | "normal" | "spacious";
|
|
811
|
+
fontFamily?: string;
|
|
812
|
+
fontSize?: number;
|
|
813
|
+
};
|
|
814
|
+
locale?: "zh" | "en";
|
|
815
|
+
startScreen?: {
|
|
816
|
+
greeting?: string;
|
|
817
|
+
prompts?: Array<{
|
|
818
|
+
label: string;
|
|
819
|
+
prompt: string;
|
|
820
|
+
}>;
|
|
821
|
+
};
|
|
822
|
+
composer?: {
|
|
823
|
+
placeholder?: string;
|
|
824
|
+
};
|
|
825
|
+
disclaimer?: string;
|
|
826
|
+
footer?: string;
|
|
827
|
+
history?: {
|
|
828
|
+
enabled?: boolean;
|
|
829
|
+
};
|
|
830
|
+
}>;
|
|
697
831
|
unarchive: {
|
|
698
832
|
create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
|
|
699
833
|
id: string;
|
|
@@ -730,7 +864,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
730
864
|
[key: string]: string;
|
|
731
865
|
};
|
|
732
866
|
model: {
|
|
733
|
-
id:
|
|
867
|
+
id: string;
|
|
734
868
|
effort?: {
|
|
735
869
|
type: "low";
|
|
736
870
|
} | {
|
|
@@ -936,14 +1070,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
936
1070
|
id: string;
|
|
937
1071
|
access: "read_only" | "read_write" | "invoke";
|
|
938
1072
|
instructions?: string;
|
|
1073
|
+
readonly verified?: boolean;
|
|
939
1074
|
enabled?: boolean;
|
|
940
1075
|
} | {
|
|
941
1076
|
type: "search" | "browser";
|
|
1077
|
+
readonly verified?: boolean;
|
|
942
1078
|
enabled?: boolean;
|
|
943
1079
|
}>;
|
|
944
1080
|
kind: "personal" | "service";
|
|
945
1081
|
computer_id?: string;
|
|
946
1082
|
subagent_model?: string | null;
|
|
1083
|
+
image_model?: string | null;
|
|
947
1084
|
subagents?: Array<{
|
|
948
1085
|
name: string;
|
|
949
1086
|
description: string;
|
|
@@ -1047,6 +1184,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1047
1184
|
allowed: Array<string>;
|
|
1048
1185
|
};
|
|
1049
1186
|
avatar: string | null;
|
|
1187
|
+
creation_source: string | null;
|
|
1188
|
+
identity_number: string | null;
|
|
1050
1189
|
environment_id?: string | null;
|
|
1051
1190
|
vault_ids?: Array<string>;
|
|
1052
1191
|
status: "active" | "archived";
|
|
@@ -1060,7 +1199,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1060
1199
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
1061
1200
|
metadata: Types.AgentManaged37;
|
|
1062
1201
|
model: {
|
|
1063
|
-
id:
|
|
1202
|
+
id: string;
|
|
1064
1203
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1065
1204
|
inference_geo?: string;
|
|
1066
1205
|
speed?: "standard" | "fast";
|
|
@@ -1091,14 +1230,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
1091
1230
|
id: string;
|
|
1092
1231
|
access: "read_only" | "read_write" | "invoke";
|
|
1093
1232
|
instructions?: string;
|
|
1233
|
+
readonly verified?: boolean;
|
|
1094
1234
|
enabled?: boolean;
|
|
1095
1235
|
} | {
|
|
1096
1236
|
type: "search" | "browser";
|
|
1237
|
+
readonly verified?: boolean;
|
|
1097
1238
|
enabled?: boolean;
|
|
1098
1239
|
}>;
|
|
1099
1240
|
kind: "personal" | "service";
|
|
1100
1241
|
computer_id?: string;
|
|
1101
1242
|
subagent_model?: string | null;
|
|
1243
|
+
image_model?: string | null;
|
|
1102
1244
|
subagents?: Array<{
|
|
1103
1245
|
name: string;
|
|
1104
1246
|
description: string;
|
|
@@ -1202,6 +1344,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1202
1344
|
allowed: Array<string>;
|
|
1203
1345
|
};
|
|
1204
1346
|
avatar: string | null;
|
|
1347
|
+
creation_source: string | null;
|
|
1348
|
+
identity_number: string | null;
|
|
1205
1349
|
environment_id?: string | null;
|
|
1206
1350
|
vault_ids?: Array<string>;
|
|
1207
1351
|
status: "active" | "archived";
|
|
@@ -1242,7 +1386,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1242
1386
|
[key: string]: string;
|
|
1243
1387
|
};
|
|
1244
1388
|
model: {
|
|
1245
|
-
id:
|
|
1389
|
+
id: string;
|
|
1246
1390
|
effort?: {
|
|
1247
1391
|
type: "low";
|
|
1248
1392
|
} | {
|
|
@@ -1448,14 +1592,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
1448
1592
|
id: string;
|
|
1449
1593
|
access: "read_only" | "read_write" | "invoke";
|
|
1450
1594
|
instructions?: string;
|
|
1595
|
+
readonly verified?: boolean;
|
|
1451
1596
|
enabled?: boolean;
|
|
1452
1597
|
} | {
|
|
1453
1598
|
type: "search" | "browser";
|
|
1599
|
+
readonly verified?: boolean;
|
|
1454
1600
|
enabled?: boolean;
|
|
1455
1601
|
}>;
|
|
1456
1602
|
kind: "personal" | "service";
|
|
1457
1603
|
computer_id?: string;
|
|
1458
1604
|
subagent_model?: string | null;
|
|
1605
|
+
image_model?: string | null;
|
|
1459
1606
|
subagents?: Array<{
|
|
1460
1607
|
name: string;
|
|
1461
1608
|
description: string;
|
|
@@ -1559,6 +1706,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1559
1706
|
allowed: Array<string>;
|
|
1560
1707
|
};
|
|
1561
1708
|
avatar: string | null;
|
|
1709
|
+
creation_source: string | null;
|
|
1710
|
+
identity_number: string | null;
|
|
1562
1711
|
environment_id?: string | null;
|
|
1563
1712
|
vault_ids?: Array<string>;
|
|
1564
1713
|
status: "active" | "archived";
|
|
@@ -1572,7 +1721,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1572
1721
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
1573
1722
|
metadata: Types.AgentManaged37;
|
|
1574
1723
|
model: {
|
|
1575
|
-
id:
|
|
1724
|
+
id: string;
|
|
1576
1725
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1577
1726
|
inference_geo?: string;
|
|
1578
1727
|
speed?: "standard" | "fast";
|
|
@@ -1589,6 +1738,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1589
1738
|
updated_at: string;
|
|
1590
1739
|
version: number;
|
|
1591
1740
|
active_version: number;
|
|
1741
|
+
active: boolean;
|
|
1592
1742
|
created_by: {
|
|
1593
1743
|
type: "user";
|
|
1594
1744
|
id: string;
|
|
@@ -1603,14 +1753,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
1603
1753
|
id: string;
|
|
1604
1754
|
access: "read_only" | "read_write" | "invoke";
|
|
1605
1755
|
instructions?: string;
|
|
1756
|
+
readonly verified?: boolean;
|
|
1606
1757
|
enabled?: boolean;
|
|
1607
1758
|
} | {
|
|
1608
1759
|
type: "search" | "browser";
|
|
1760
|
+
readonly verified?: boolean;
|
|
1609
1761
|
enabled?: boolean;
|
|
1610
1762
|
}>;
|
|
1611
1763
|
kind: "personal" | "service";
|
|
1612
1764
|
computer_id?: string;
|
|
1613
1765
|
subagent_model?: string | null;
|
|
1766
|
+
image_model?: string | null;
|
|
1614
1767
|
subagents?: Array<{
|
|
1615
1768
|
name: string;
|
|
1616
1769
|
description: string;
|
|
@@ -1714,6 +1867,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1714
1867
|
allowed: Array<string>;
|
|
1715
1868
|
};
|
|
1716
1869
|
avatar: string | null;
|
|
1870
|
+
creation_source: string | null;
|
|
1871
|
+
identity_number: string | null;
|
|
1717
1872
|
environment_id?: string | null;
|
|
1718
1873
|
vault_ids?: Array<string>;
|
|
1719
1874
|
status: "active" | "archived";
|
|
@@ -2121,122 +2276,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2121
2276
|
};
|
|
2122
2277
|
}>;
|
|
2123
2278
|
};
|
|
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
2279
|
environments: {
|
|
2241
2280
|
archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
|
|
2242
2281
|
create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
|
|
@@ -2255,7 +2294,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2255
2294
|
description: null | string;
|
|
2256
2295
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
2257
2296
|
model: {
|
|
2258
|
-
id:
|
|
2297
|
+
id: string;
|
|
2259
2298
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
2260
2299
|
inference_geo?: string;
|
|
2261
2300
|
speed?: "standard" | "fast";
|
|
@@ -2376,7 +2415,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2376
2415
|
description: null | string;
|
|
2377
2416
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
2378
2417
|
model: {
|
|
2379
|
-
id:
|
|
2418
|
+
id: string;
|
|
2380
2419
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
2381
2420
|
inference_geo?: string;
|
|
2382
2421
|
speed?: "standard" | "fast";
|
|
@@ -2688,7 +2727,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2688
2727
|
timeout_ms?: number;
|
|
2689
2728
|
}>;
|
|
2690
2729
|
model: {
|
|
2691
|
-
id:
|
|
2730
|
+
id: string;
|
|
2692
2731
|
effort?: {
|
|
2693
2732
|
type: "low";
|
|
2694
2733
|
} | {
|
|
@@ -2740,7 +2779,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2740
2779
|
timeout_ms?: number;
|
|
2741
2780
|
}>;
|
|
2742
2781
|
model: {
|
|
2743
|
-
id:
|
|
2782
|
+
id: string;
|
|
2744
2783
|
effort?: {
|
|
2745
2784
|
type: "low";
|
|
2746
2785
|
} | {
|
|
@@ -3158,6 +3197,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
3158
3197
|
web_fetch_requests?: number;
|
|
3159
3198
|
web_search_requests?: number;
|
|
3160
3199
|
};
|
|
3200
|
+
runtime_cost?: {
|
|
3201
|
+
amount: string;
|
|
3202
|
+
currency: "USD";
|
|
3203
|
+
};
|
|
3161
3204
|
};
|
|
3162
3205
|
vault_ids: Array<string>;
|
|
3163
3206
|
deployment_id?: null | string;
|
|
@@ -3189,7 +3232,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3189
3232
|
description: null | string;
|
|
3190
3233
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
3191
3234
|
model: {
|
|
3192
|
-
id:
|
|
3235
|
+
id: string;
|
|
3193
3236
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
3194
3237
|
inference_geo?: string;
|
|
3195
3238
|
speed?: "standard" | "fast";
|
|
@@ -3266,7 +3309,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3266
3309
|
description: null | string;
|
|
3267
3310
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
3268
3311
|
model: {
|
|
3269
|
-
id:
|
|
3312
|
+
id: string;
|
|
3270
3313
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
3271
3314
|
inference_geo?: string;
|
|
3272
3315
|
speed?: "standard" | "fast";
|
|
@@ -3604,7 +3647,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3604
3647
|
description: null | string;
|
|
3605
3648
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
3606
3649
|
model: {
|
|
3607
|
-
id:
|
|
3650
|
+
id: string;
|
|
3608
3651
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
3609
3652
|
inference_geo?: string;
|
|
3610
3653
|
speed?: "standard" | "fast";
|