@deepraxis/sdk 0.1.1-dev.b176367 → 0.1.1-dev.b9bc446
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 +59 -47
- package/README.md +1 -1
- package/dist/automation.d.ts +7 -0
- package/dist/core/client.d.ts +5 -1
- package/dist/core/client.js +10 -0
- package/dist/core/transport.js +1 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +154 -97
- package/dist/generated/sdk.gen.js +309 -165
- package/dist/generated/types.gen.d.ts +3519 -2260
- package/dist/helpers/application-build.d.ts +10 -0
- package/dist/helpers/application-build.js +98 -0
- package/dist/helpers/application-publish.d.ts +8 -0
- package/dist/helpers/application-publish.js +26 -9
- package/dist/helpers/browser-connect.d.ts +78 -0
- package/dist/helpers/browser-connect.js +161 -0
- package/dist/helpers/browser-decisions.d.ts +44 -0
- package/dist/helpers/browser-decisions.js +84 -0
- package/dist/helpers/browser-documentation.d.ts +2 -0
- package/dist/helpers/browser-documentation.js +47 -0
- package/dist/helpers/file-upload.d.ts +2 -2
- package/dist/index.d.ts +4 -0
- package/dist/index.js +2 -0
- package/dist/operations.generated.d.ts +531 -317
- package/dist/operations.generated.js +677 -392
- package/dist/resources.generated.d.ts +278 -383
- package/dist/resources.generated.js +37 -25
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
10
10
|
description: null | string;
|
|
11
11
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
12
12
|
metadata: Types.AgentManaged37;
|
|
13
|
-
model
|
|
13
|
+
model?: {
|
|
14
14
|
id: string;
|
|
15
15
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
16
16
|
inference_geo?: string;
|
|
@@ -19,7 +19,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
19
19
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
|
-
multiagent
|
|
22
|
+
multiagent?: null | Types.AgentManaged39;
|
|
23
23
|
name: string;
|
|
24
24
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
25
25
|
system: null | string;
|
|
@@ -42,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
|
-
kind: "personal" | "service";
|
|
52
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
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;
|
|
@@ -148,6 +151,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
148
151
|
mcpServers?: Array<string>;
|
|
149
152
|
hooks?: Array<string>;
|
|
150
153
|
};
|
|
154
|
+
idleCompaction?: boolean;
|
|
151
155
|
} | null;
|
|
152
156
|
models?: {
|
|
153
157
|
allowed: Array<string>;
|
|
@@ -166,7 +170,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
166
170
|
description: null | string;
|
|
167
171
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
168
172
|
metadata: Types.AgentManaged37;
|
|
169
|
-
model
|
|
173
|
+
model?: {
|
|
170
174
|
id: string;
|
|
171
175
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
172
176
|
inference_geo?: string;
|
|
@@ -175,7 +179,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
175
179
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
176
180
|
};
|
|
177
181
|
};
|
|
178
|
-
multiagent
|
|
182
|
+
multiagent?: null | Types.AgentManaged39;
|
|
179
183
|
name: string;
|
|
180
184
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
181
185
|
system: null | string;
|
|
@@ -198,14 +202,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
198
202
|
id: string;
|
|
199
203
|
access: "read_only" | "read_write" | "invoke";
|
|
200
204
|
instructions?: string;
|
|
205
|
+
readonly verified?: boolean;
|
|
201
206
|
enabled?: boolean;
|
|
202
207
|
} | {
|
|
203
208
|
type: "search" | "browser";
|
|
209
|
+
readonly verified?: boolean;
|
|
204
210
|
enabled?: boolean;
|
|
205
211
|
}>;
|
|
206
|
-
kind: "personal" | "service";
|
|
212
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
207
213
|
computer_id?: string;
|
|
208
214
|
subagent_model?: string | null;
|
|
215
|
+
image_model?: string | null;
|
|
209
216
|
subagents?: Array<{
|
|
210
217
|
name: string;
|
|
211
218
|
description: string;
|
|
@@ -304,6 +311,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
304
311
|
mcpServers?: Array<string>;
|
|
305
312
|
hooks?: Array<string>;
|
|
306
313
|
};
|
|
314
|
+
idleCompaction?: boolean;
|
|
307
315
|
} | null;
|
|
308
316
|
models?: {
|
|
309
317
|
allowed: Array<string>;
|
|
@@ -352,40 +360,53 @@ export declare function createAgent(transport: Transport): {
|
|
|
352
360
|
}>;
|
|
353
361
|
};
|
|
354
362
|
};
|
|
355
|
-
};
|
|
356
|
-
endUsers: {
|
|
357
363
|
block: {
|
|
358
|
-
create: (options: import("./core/transport.js").CallOptions<Types.
|
|
359
|
-
|
|
364
|
+
create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
|
|
365
|
+
id: string;
|
|
366
|
+
type: "identified" | "anonymous";
|
|
367
|
+
merged_into: string | null;
|
|
368
|
+
blocked: boolean;
|
|
360
369
|
first_seen_at: string | null;
|
|
361
|
-
|
|
370
|
+
last_seen_at: string | null;
|
|
362
371
|
session_count: number;
|
|
363
|
-
|
|
364
|
-
|
|
372
|
+
cost: {
|
|
373
|
+
amount: string;
|
|
374
|
+
currency: "USD";
|
|
375
|
+
};
|
|
365
376
|
}>;
|
|
366
377
|
};
|
|
367
|
-
delete: (options: import("./core/transport.js").CallOptions<Types.
|
|
378
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteCustomerData>) => Promise<{
|
|
368
379
|
id: string;
|
|
369
380
|
status: "pending";
|
|
370
381
|
}>;
|
|
371
|
-
list: (options: import("./core/transport.js").CallOptions<Types.
|
|
382
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListCustomersData>) => Promise<{
|
|
372
383
|
data: Array<{
|
|
373
|
-
|
|
384
|
+
id: string;
|
|
385
|
+
type: "identified" | "anonymous";
|
|
386
|
+
merged_into: string | null;
|
|
387
|
+
blocked: boolean;
|
|
374
388
|
first_seen_at: string | null;
|
|
375
|
-
|
|
389
|
+
last_seen_at: string | null;
|
|
376
390
|
session_count: number;
|
|
377
|
-
|
|
378
|
-
|
|
391
|
+
cost: {
|
|
392
|
+
amount: string;
|
|
393
|
+
currency: "USD";
|
|
394
|
+
};
|
|
379
395
|
}>;
|
|
380
396
|
next_page: string | null;
|
|
381
397
|
}>;
|
|
382
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.
|
|
383
|
-
|
|
398
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetCustomerData>) => Promise<{
|
|
399
|
+
id: string;
|
|
400
|
+
type: "identified" | "anonymous";
|
|
401
|
+
merged_into: string | null;
|
|
402
|
+
blocked: boolean;
|
|
384
403
|
first_seen_at: string | null;
|
|
385
|
-
|
|
404
|
+
last_seen_at: string | null;
|
|
386
405
|
session_count: number;
|
|
387
|
-
|
|
388
|
-
|
|
406
|
+
cost: {
|
|
407
|
+
amount: string;
|
|
408
|
+
currency: "USD";
|
|
409
|
+
};
|
|
389
410
|
recent_sessions: Array<{
|
|
390
411
|
id: string;
|
|
391
412
|
title: string | null;
|
|
@@ -394,7 +415,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
394
415
|
updated_at: string;
|
|
395
416
|
}>;
|
|
396
417
|
}>;
|
|
397
|
-
retrieveDeletion: (options: import("./core/transport.js").CallOptions<Types.
|
|
418
|
+
retrieveDeletion: (options: import("./core/transport.js").CallOptions<Types.GetCustomerDeletionData>) => Promise<{
|
|
398
419
|
id: string;
|
|
399
420
|
status: "pending" | "snapshotting" | "deleting" | "done" | "failed";
|
|
400
421
|
counts: {
|
|
@@ -410,18 +431,23 @@ export declare function createAgent(transport: Transport): {
|
|
|
410
431
|
updated_at: string;
|
|
411
432
|
}>;
|
|
412
433
|
revokeTokens: {
|
|
413
|
-
create: (options: import("./core/transport.js").CallOptions<Types.
|
|
434
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RevokeCustomerTokensData>) => Promise<{
|
|
414
435
|
revoked: number;
|
|
415
436
|
}>;
|
|
416
437
|
};
|
|
417
438
|
unblock: {
|
|
418
|
-
create: (options: import("./core/transport.js").CallOptions<Types.
|
|
419
|
-
|
|
439
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UnblockCustomerData>) => Promise<{
|
|
440
|
+
id: string;
|
|
441
|
+
type: "identified" | "anonymous";
|
|
442
|
+
merged_into: string | null;
|
|
443
|
+
blocked: boolean;
|
|
420
444
|
first_seen_at: string | null;
|
|
421
|
-
|
|
445
|
+
last_seen_at: string | null;
|
|
422
446
|
session_count: number;
|
|
423
|
-
|
|
424
|
-
|
|
447
|
+
cost: {
|
|
448
|
+
amount: string;
|
|
449
|
+
currency: "USD";
|
|
450
|
+
};
|
|
425
451
|
}>;
|
|
426
452
|
};
|
|
427
453
|
};
|
|
@@ -433,7 +459,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
433
459
|
description: null | string;
|
|
434
460
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
435
461
|
metadata: Types.AgentManaged37;
|
|
436
|
-
model
|
|
462
|
+
model?: {
|
|
437
463
|
id: string;
|
|
438
464
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
439
465
|
inference_geo?: string;
|
|
@@ -442,7 +468,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
442
468
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
443
469
|
};
|
|
444
470
|
};
|
|
445
|
-
multiagent
|
|
471
|
+
multiagent?: null | Types.AgentManaged39;
|
|
446
472
|
name: string;
|
|
447
473
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
448
474
|
system: null | string;
|
|
@@ -465,14 +491,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
465
491
|
id: string;
|
|
466
492
|
access: "read_only" | "read_write" | "invoke";
|
|
467
493
|
instructions?: string;
|
|
494
|
+
readonly verified?: boolean;
|
|
468
495
|
enabled?: boolean;
|
|
469
496
|
} | {
|
|
470
497
|
type: "search" | "browser";
|
|
498
|
+
readonly verified?: boolean;
|
|
471
499
|
enabled?: boolean;
|
|
472
500
|
}>;
|
|
473
|
-
kind: "personal" | "service";
|
|
501
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
474
502
|
computer_id?: string;
|
|
475
503
|
subagent_model?: string | null;
|
|
504
|
+
image_model?: string | null;
|
|
476
505
|
subagents?: Array<{
|
|
477
506
|
name: string;
|
|
478
507
|
description: string;
|
|
@@ -571,6 +600,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
571
600
|
mcpServers?: Array<string>;
|
|
572
601
|
hooks?: Array<string>;
|
|
573
602
|
};
|
|
603
|
+
idleCompaction?: boolean;
|
|
574
604
|
} | null;
|
|
575
605
|
models?: {
|
|
576
606
|
allowed: Array<string>;
|
|
@@ -591,7 +621,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
591
621
|
description: null | string;
|
|
592
622
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
593
623
|
metadata: Types.AgentManaged37;
|
|
594
|
-
model
|
|
624
|
+
model?: {
|
|
595
625
|
id: string;
|
|
596
626
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
597
627
|
inference_geo?: string;
|
|
@@ -600,7 +630,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
600
630
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
601
631
|
};
|
|
602
632
|
};
|
|
603
|
-
multiagent
|
|
633
|
+
multiagent?: null | Types.AgentManaged39;
|
|
604
634
|
name: string;
|
|
605
635
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
606
636
|
system: null | string;
|
|
@@ -608,6 +638,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
608
638
|
type: "agent";
|
|
609
639
|
updated_at: string;
|
|
610
640
|
version: number;
|
|
641
|
+
latest_version?: number;
|
|
611
642
|
active_version: number;
|
|
612
643
|
created_by: {
|
|
613
644
|
type: "user";
|
|
@@ -623,14 +654,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
623
654
|
id: string;
|
|
624
655
|
access: "read_only" | "read_write" | "invoke";
|
|
625
656
|
instructions?: string;
|
|
657
|
+
readonly verified?: boolean;
|
|
626
658
|
enabled?: boolean;
|
|
627
659
|
} | {
|
|
628
660
|
type: "search" | "browser";
|
|
661
|
+
readonly verified?: boolean;
|
|
629
662
|
enabled?: boolean;
|
|
630
663
|
}>;
|
|
631
|
-
kind: "personal" | "service";
|
|
664
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
632
665
|
computer_id?: string;
|
|
633
666
|
subagent_model?: string | null;
|
|
667
|
+
image_model?: string | null;
|
|
634
668
|
subagents?: Array<{
|
|
635
669
|
name: string;
|
|
636
670
|
description: string;
|
|
@@ -729,6 +763,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
729
763
|
mcpServers?: Array<string>;
|
|
730
764
|
hooks?: Array<string>;
|
|
731
765
|
};
|
|
766
|
+
idleCompaction?: boolean;
|
|
732
767
|
} | null;
|
|
733
768
|
models?: {
|
|
734
769
|
allowed: Array<string>;
|
|
@@ -740,6 +775,64 @@ export declare function createAgent(transport: Transport): {
|
|
|
740
775
|
vault_ids?: Array<string>;
|
|
741
776
|
status: "active" | "archived";
|
|
742
777
|
}>;
|
|
778
|
+
retrieveAppearance: (options: import("./core/transport.js").CallOptions<Types.GetAgentAppearanceData>) => Promise<{
|
|
779
|
+
agent?: {
|
|
780
|
+
name?: string;
|
|
781
|
+
avatar?: string;
|
|
782
|
+
};
|
|
783
|
+
layout?: "inline" | "sidebar" | "popup" | "modal";
|
|
784
|
+
launcher?: {
|
|
785
|
+
type: "none" | "bubble" | "mascot";
|
|
786
|
+
pack?: {
|
|
787
|
+
preset?: "mint" | "cat" | "bot";
|
|
788
|
+
images?: {
|
|
789
|
+
idle: string;
|
|
790
|
+
greet?: string;
|
|
791
|
+
listening?: string;
|
|
792
|
+
thinking?: string;
|
|
793
|
+
talking?: string;
|
|
794
|
+
"talking-2"?: string;
|
|
795
|
+
sorry?: string;
|
|
796
|
+
sleep?: string;
|
|
797
|
+
};
|
|
798
|
+
};
|
|
799
|
+
image?: string;
|
|
800
|
+
motion?: "float" | "none";
|
|
801
|
+
position?: "bottom-right" | "bottom-left";
|
|
802
|
+
label?: string;
|
|
803
|
+
};
|
|
804
|
+
header?: {
|
|
805
|
+
title?: string;
|
|
806
|
+
subtitle?: string;
|
|
807
|
+
icon?: string;
|
|
808
|
+
};
|
|
809
|
+
theme?: {
|
|
810
|
+
colorScheme?: "light" | "dark" | "system";
|
|
811
|
+
accent?: string;
|
|
812
|
+
surface?: string;
|
|
813
|
+
grayscale?: "neutral" | "warm" | "cool";
|
|
814
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
815
|
+
density?: "compact" | "normal" | "spacious";
|
|
816
|
+
fontFamily?: string;
|
|
817
|
+
fontSize?: number;
|
|
818
|
+
};
|
|
819
|
+
locale?: "zh" | "en";
|
|
820
|
+
startScreen?: {
|
|
821
|
+
greeting?: string;
|
|
822
|
+
prompts?: Array<{
|
|
823
|
+
label: string;
|
|
824
|
+
prompt: string;
|
|
825
|
+
}>;
|
|
826
|
+
};
|
|
827
|
+
composer?: {
|
|
828
|
+
placeholder?: string;
|
|
829
|
+
};
|
|
830
|
+
disclaimer?: string;
|
|
831
|
+
footer?: string;
|
|
832
|
+
history?: {
|
|
833
|
+
enabled?: boolean;
|
|
834
|
+
};
|
|
835
|
+
}>;
|
|
743
836
|
unarchive: {
|
|
744
837
|
create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
|
|
745
838
|
id: string;
|
|
@@ -775,7 +868,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
775
868
|
metadata: {
|
|
776
869
|
[key: string]: string;
|
|
777
870
|
};
|
|
778
|
-
model
|
|
871
|
+
model?: {
|
|
779
872
|
id: string;
|
|
780
873
|
effort?: {
|
|
781
874
|
type: "low";
|
|
@@ -794,7 +887,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
794
887
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
795
888
|
};
|
|
796
889
|
};
|
|
797
|
-
multiagent
|
|
890
|
+
multiagent?: null | {
|
|
798
891
|
agents: Array<{
|
|
799
892
|
id: string;
|
|
800
893
|
type: "agent";
|
|
@@ -967,6 +1060,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
967
1060
|
type: "agent";
|
|
968
1061
|
updated_at: string;
|
|
969
1062
|
version: number;
|
|
1063
|
+
latest_version?: number;
|
|
970
1064
|
active_version: number;
|
|
971
1065
|
created_by: {
|
|
972
1066
|
type: "user";
|
|
@@ -982,14 +1076,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
982
1076
|
id: string;
|
|
983
1077
|
access: "read_only" | "read_write" | "invoke";
|
|
984
1078
|
instructions?: string;
|
|
1079
|
+
readonly verified?: boolean;
|
|
985
1080
|
enabled?: boolean;
|
|
986
1081
|
} | {
|
|
987
1082
|
type: "search" | "browser";
|
|
1083
|
+
readonly verified?: boolean;
|
|
988
1084
|
enabled?: boolean;
|
|
989
1085
|
}>;
|
|
990
|
-
kind: "personal" | "service";
|
|
1086
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
991
1087
|
computer_id?: string;
|
|
992
1088
|
subagent_model?: string | null;
|
|
1089
|
+
image_model?: string | null;
|
|
993
1090
|
subagents?: Array<{
|
|
994
1091
|
name: string;
|
|
995
1092
|
description: string;
|
|
@@ -1088,6 +1185,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1088
1185
|
mcpServers?: Array<string>;
|
|
1089
1186
|
hooks?: Array<string>;
|
|
1090
1187
|
};
|
|
1188
|
+
idleCompaction?: boolean;
|
|
1091
1189
|
} | null;
|
|
1092
1190
|
models?: {
|
|
1093
1191
|
allowed: Array<string>;
|
|
@@ -1107,7 +1205,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1107
1205
|
description: null | string;
|
|
1108
1206
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
1109
1207
|
metadata: Types.AgentManaged37;
|
|
1110
|
-
model
|
|
1208
|
+
model?: {
|
|
1111
1209
|
id: string;
|
|
1112
1210
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1113
1211
|
inference_geo?: string;
|
|
@@ -1116,7 +1214,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1116
1214
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1117
1215
|
};
|
|
1118
1216
|
};
|
|
1119
|
-
multiagent
|
|
1217
|
+
multiagent?: null | Types.AgentManaged39;
|
|
1120
1218
|
name: string;
|
|
1121
1219
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
1122
1220
|
system: null | string;
|
|
@@ -1124,6 +1222,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1124
1222
|
type: "agent";
|
|
1125
1223
|
updated_at: string;
|
|
1126
1224
|
version: number;
|
|
1225
|
+
latest_version?: number;
|
|
1127
1226
|
active_version: number;
|
|
1128
1227
|
created_by: {
|
|
1129
1228
|
type: "user";
|
|
@@ -1139,14 +1238,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
1139
1238
|
id: string;
|
|
1140
1239
|
access: "read_only" | "read_write" | "invoke";
|
|
1141
1240
|
instructions?: string;
|
|
1241
|
+
readonly verified?: boolean;
|
|
1142
1242
|
enabled?: boolean;
|
|
1143
1243
|
} | {
|
|
1144
1244
|
type: "search" | "browser";
|
|
1245
|
+
readonly verified?: boolean;
|
|
1145
1246
|
enabled?: boolean;
|
|
1146
1247
|
}>;
|
|
1147
|
-
kind: "personal" | "service";
|
|
1248
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
1148
1249
|
computer_id?: string;
|
|
1149
1250
|
subagent_model?: string | null;
|
|
1251
|
+
image_model?: string | null;
|
|
1150
1252
|
subagents?: Array<{
|
|
1151
1253
|
name: string;
|
|
1152
1254
|
description: string;
|
|
@@ -1245,6 +1347,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1245
1347
|
mcpServers?: Array<string>;
|
|
1246
1348
|
hooks?: Array<string>;
|
|
1247
1349
|
};
|
|
1350
|
+
idleCompaction?: boolean;
|
|
1248
1351
|
} | null;
|
|
1249
1352
|
models?: {
|
|
1250
1353
|
allowed: Array<string>;
|
|
@@ -1262,227 +1365,26 @@ export declare function createAgent(transport: Transport): {
|
|
|
1262
1365
|
archived_at: null | string;
|
|
1263
1366
|
created_at: string;
|
|
1264
1367
|
description: null | string;
|
|
1265
|
-
mcp_servers: Array<
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
url: string;
|
|
1269
|
-
headers?: {
|
|
1270
|
-
[key: string]: string;
|
|
1271
|
-
};
|
|
1272
|
-
timeout_ms?: number;
|
|
1273
|
-
} | {
|
|
1274
|
-
type: "sse";
|
|
1275
|
-
name: string;
|
|
1276
|
-
url: string;
|
|
1277
|
-
headers?: {
|
|
1278
|
-
[key: string]: string;
|
|
1279
|
-
};
|
|
1280
|
-
timeout_ms?: number;
|
|
1281
|
-
} | {
|
|
1282
|
-
type: "stdio";
|
|
1283
|
-
name: string;
|
|
1284
|
-
command: string;
|
|
1285
|
-
args?: Array<string>;
|
|
1286
|
-
env?: {
|
|
1287
|
-
[key: string]: string;
|
|
1288
|
-
};
|
|
1289
|
-
timeout_ms?: number;
|
|
1290
|
-
}>;
|
|
1291
|
-
metadata: {
|
|
1292
|
-
[key: string]: string;
|
|
1293
|
-
};
|
|
1294
|
-
model: {
|
|
1368
|
+
mcp_servers: Array<Types.AgentManaged36>;
|
|
1369
|
+
metadata: Types.AgentManaged37;
|
|
1370
|
+
model?: {
|
|
1295
1371
|
id: string;
|
|
1296
|
-
effort?:
|
|
1297
|
-
type: "low";
|
|
1298
|
-
} | {
|
|
1299
|
-
type: "medium";
|
|
1300
|
-
} | {
|
|
1301
|
-
type: "high";
|
|
1302
|
-
} | {
|
|
1303
|
-
type: "xhigh";
|
|
1304
|
-
} | {
|
|
1305
|
-
type: "max";
|
|
1306
|
-
};
|
|
1372
|
+
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1307
1373
|
inference_geo?: string;
|
|
1308
1374
|
speed?: "standard" | "fast";
|
|
1309
1375
|
settings?: {
|
|
1310
1376
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1311
1377
|
};
|
|
1312
1378
|
};
|
|
1313
|
-
multiagent
|
|
1314
|
-
agents: Array<{
|
|
1315
|
-
id: string;
|
|
1316
|
-
type: "agent";
|
|
1317
|
-
version: number;
|
|
1318
|
-
} | {
|
|
1319
|
-
model: string;
|
|
1320
|
-
type: "advisor";
|
|
1321
|
-
}>;
|
|
1322
|
-
type: "coordinator";
|
|
1323
|
-
};
|
|
1379
|
+
multiagent?: null | Types.AgentManaged39;
|
|
1324
1380
|
name: string;
|
|
1325
|
-
skills: Array<
|
|
1326
|
-
skill_id: string;
|
|
1327
|
-
type: "anthropic";
|
|
1328
|
-
version: string;
|
|
1329
|
-
} | {
|
|
1330
|
-
skill_id: string;
|
|
1331
|
-
type: "custom";
|
|
1332
|
-
version: string;
|
|
1333
|
-
}>;
|
|
1381
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
1334
1382
|
system: null | string;
|
|
1335
|
-
tools: Array<
|
|
1336
|
-
configs: Array<{
|
|
1337
|
-
enabled: boolean;
|
|
1338
|
-
name: "bash";
|
|
1339
|
-
permission_policy: {
|
|
1340
|
-
type: "always_allow";
|
|
1341
|
-
} | {
|
|
1342
|
-
type: "always_ask";
|
|
1343
|
-
} | {
|
|
1344
|
-
type: "auto";
|
|
1345
|
-
};
|
|
1346
|
-
type: "bash";
|
|
1347
|
-
} | {
|
|
1348
|
-
enabled: boolean;
|
|
1349
|
-
name: "edit";
|
|
1350
|
-
permission_policy: {
|
|
1351
|
-
type: "always_allow";
|
|
1352
|
-
} | {
|
|
1353
|
-
type: "always_ask";
|
|
1354
|
-
} | {
|
|
1355
|
-
type: "auto";
|
|
1356
|
-
};
|
|
1357
|
-
type: "edit";
|
|
1358
|
-
} | {
|
|
1359
|
-
enabled: boolean;
|
|
1360
|
-
name: "read";
|
|
1361
|
-
permission_policy: {
|
|
1362
|
-
type: "always_allow";
|
|
1363
|
-
} | {
|
|
1364
|
-
type: "always_ask";
|
|
1365
|
-
} | {
|
|
1366
|
-
type: "auto";
|
|
1367
|
-
};
|
|
1368
|
-
type: "read";
|
|
1369
|
-
} | {
|
|
1370
|
-
enabled: boolean;
|
|
1371
|
-
name: "write";
|
|
1372
|
-
permission_policy: {
|
|
1373
|
-
type: "always_allow";
|
|
1374
|
-
} | {
|
|
1375
|
-
type: "always_ask";
|
|
1376
|
-
} | {
|
|
1377
|
-
type: "auto";
|
|
1378
|
-
};
|
|
1379
|
-
type: "write";
|
|
1380
|
-
} | {
|
|
1381
|
-
enabled: boolean;
|
|
1382
|
-
name: "glob";
|
|
1383
|
-
permission_policy: {
|
|
1384
|
-
type: "always_allow";
|
|
1385
|
-
} | {
|
|
1386
|
-
type: "always_ask";
|
|
1387
|
-
} | {
|
|
1388
|
-
type: "auto";
|
|
1389
|
-
};
|
|
1390
|
-
type: "glob";
|
|
1391
|
-
} | {
|
|
1392
|
-
enabled: boolean;
|
|
1393
|
-
name: "grep";
|
|
1394
|
-
permission_policy: {
|
|
1395
|
-
type: "always_allow";
|
|
1396
|
-
} | {
|
|
1397
|
-
type: "always_ask";
|
|
1398
|
-
} | {
|
|
1399
|
-
type: "auto";
|
|
1400
|
-
};
|
|
1401
|
-
type: "grep";
|
|
1402
|
-
} | {
|
|
1403
|
-
enabled: boolean;
|
|
1404
|
-
name: "web_fetch";
|
|
1405
|
-
permission_policy: {
|
|
1406
|
-
type: "always_allow";
|
|
1407
|
-
} | {
|
|
1408
|
-
type: "always_ask";
|
|
1409
|
-
} | {
|
|
1410
|
-
type: "auto";
|
|
1411
|
-
};
|
|
1412
|
-
type: "web_fetch";
|
|
1413
|
-
allowed_domains?: Array<string>;
|
|
1414
|
-
blocked_domains?: Array<string>;
|
|
1415
|
-
max_content_tokens?: null | number;
|
|
1416
|
-
} | {
|
|
1417
|
-
enabled: boolean;
|
|
1418
|
-
name: "web_search";
|
|
1419
|
-
permission_policy: {
|
|
1420
|
-
type: "always_allow";
|
|
1421
|
-
} | {
|
|
1422
|
-
type: "always_ask";
|
|
1423
|
-
} | {
|
|
1424
|
-
type: "auto";
|
|
1425
|
-
};
|
|
1426
|
-
type: "web_search";
|
|
1427
|
-
allowed_domains?: Array<string>;
|
|
1428
|
-
blocked_domains?: Array<string>;
|
|
1429
|
-
user_location?: null | {
|
|
1430
|
-
type: "approximate";
|
|
1431
|
-
city?: null | string;
|
|
1432
|
-
country?: null | string;
|
|
1433
|
-
region?: null | string;
|
|
1434
|
-
timezone?: null | string;
|
|
1435
|
-
};
|
|
1436
|
-
} | {
|
|
1437
|
-
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
1438
|
-
enabled: boolean;
|
|
1439
|
-
permission_policy: {
|
|
1440
|
-
type: "always_allow" | "always_ask";
|
|
1441
|
-
};
|
|
1442
|
-
}>;
|
|
1443
|
-
default_config: {
|
|
1444
|
-
enabled: boolean;
|
|
1445
|
-
permission_policy: {
|
|
1446
|
-
type: "always_allow";
|
|
1447
|
-
} | {
|
|
1448
|
-
type: "always_ask";
|
|
1449
|
-
} | {
|
|
1450
|
-
type: "auto";
|
|
1451
|
-
};
|
|
1452
|
-
};
|
|
1453
|
-
type: "agent_toolset_20260401";
|
|
1454
|
-
} | {
|
|
1455
|
-
type: "mcp_toolset";
|
|
1456
|
-
mcp_server_name: string;
|
|
1457
|
-
default_config?: {
|
|
1458
|
-
enabled?: boolean | null;
|
|
1459
|
-
permission_policy?: null | {
|
|
1460
|
-
type: "always_allow" | "always_ask";
|
|
1461
|
-
};
|
|
1462
|
-
} | null;
|
|
1463
|
-
configs?: Array<{
|
|
1464
|
-
name: string;
|
|
1465
|
-
enabled?: boolean | null;
|
|
1466
|
-
permission_policy?: null | {
|
|
1467
|
-
type: "always_allow" | "always_ask";
|
|
1468
|
-
};
|
|
1469
|
-
}> | null;
|
|
1470
|
-
} | {
|
|
1471
|
-
description: string;
|
|
1472
|
-
input_schema: {
|
|
1473
|
-
type: "object";
|
|
1474
|
-
properties?: null | {
|
|
1475
|
-
[key: string]: unknown;
|
|
1476
|
-
};
|
|
1477
|
-
required?: null | Array<string>;
|
|
1478
|
-
[key: string]: unknown;
|
|
1479
|
-
};
|
|
1480
|
-
name: string;
|
|
1481
|
-
type: "custom";
|
|
1482
|
-
}>;
|
|
1383
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
1483
1384
|
type: "agent";
|
|
1484
1385
|
updated_at: string;
|
|
1485
1386
|
version: number;
|
|
1387
|
+
latest_version?: number;
|
|
1486
1388
|
active_version: number;
|
|
1487
1389
|
created_by: {
|
|
1488
1390
|
type: "user";
|
|
@@ -1498,14 +1400,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
1498
1400
|
id: string;
|
|
1499
1401
|
access: "read_only" | "read_write" | "invoke";
|
|
1500
1402
|
instructions?: string;
|
|
1403
|
+
readonly verified?: boolean;
|
|
1501
1404
|
enabled?: boolean;
|
|
1502
1405
|
} | {
|
|
1503
1406
|
type: "search" | "browser";
|
|
1407
|
+
readonly verified?: boolean;
|
|
1504
1408
|
enabled?: boolean;
|
|
1505
1409
|
}>;
|
|
1506
|
-
kind: "personal" | "service";
|
|
1410
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
1507
1411
|
computer_id?: string;
|
|
1508
1412
|
subagent_model?: string | null;
|
|
1413
|
+
image_model?: string | null;
|
|
1509
1414
|
subagents?: Array<{
|
|
1510
1415
|
name: string;
|
|
1511
1416
|
description: string;
|
|
@@ -1604,6 +1509,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1604
1509
|
mcpServers?: Array<string>;
|
|
1605
1510
|
hooks?: Array<string>;
|
|
1606
1511
|
};
|
|
1512
|
+
idleCompaction?: boolean;
|
|
1607
1513
|
} | null;
|
|
1608
1514
|
models?: {
|
|
1609
1515
|
allowed: Array<string>;
|
|
@@ -1623,7 +1529,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1623
1529
|
description: null | string;
|
|
1624
1530
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
1625
1531
|
metadata: Types.AgentManaged37;
|
|
1626
|
-
model
|
|
1532
|
+
model?: {
|
|
1627
1533
|
id: string;
|
|
1628
1534
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1629
1535
|
inference_geo?: string;
|
|
@@ -1632,7 +1538,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1632
1538
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1633
1539
|
};
|
|
1634
1540
|
};
|
|
1635
|
-
multiagent
|
|
1541
|
+
multiagent?: null | Types.AgentManaged39;
|
|
1636
1542
|
name: string;
|
|
1637
1543
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
1638
1544
|
system: null | string;
|
|
@@ -1656,14 +1562,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
1656
1562
|
id: string;
|
|
1657
1563
|
access: "read_only" | "read_write" | "invoke";
|
|
1658
1564
|
instructions?: string;
|
|
1565
|
+
readonly verified?: boolean;
|
|
1659
1566
|
enabled?: boolean;
|
|
1660
1567
|
} | {
|
|
1661
1568
|
type: "search" | "browser";
|
|
1569
|
+
readonly verified?: boolean;
|
|
1662
1570
|
enabled?: boolean;
|
|
1663
1571
|
}>;
|
|
1664
|
-
kind: "personal" | "service";
|
|
1572
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
1665
1573
|
computer_id?: string;
|
|
1666
1574
|
subagent_model?: string | null;
|
|
1575
|
+
image_model?: string | null;
|
|
1667
1576
|
subagents?: Array<{
|
|
1668
1577
|
name: string;
|
|
1669
1578
|
description: string;
|
|
@@ -1762,6 +1671,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1762
1671
|
mcpServers?: Array<string>;
|
|
1763
1672
|
hooks?: Array<string>;
|
|
1764
1673
|
};
|
|
1674
|
+
idleCompaction?: boolean;
|
|
1765
1675
|
} | null;
|
|
1766
1676
|
models?: {
|
|
1767
1677
|
allowed: Array<string>;
|
|
@@ -1917,7 +1827,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1917
1827
|
} | {
|
|
1918
1828
|
id: string;
|
|
1919
1829
|
type: "agent_with_overrides";
|
|
1920
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1830
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
1921
1831
|
cwd?: string;
|
|
1922
1832
|
model?: string | {
|
|
1923
1833
|
id: string;
|
|
@@ -1954,7 +1864,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1954
1864
|
} | {
|
|
1955
1865
|
id: string;
|
|
1956
1866
|
type: "agent_with_overrides";
|
|
1957
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1867
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
1958
1868
|
cwd?: string;
|
|
1959
1869
|
model?: string | {
|
|
1960
1870
|
id: string;
|
|
@@ -1992,7 +1902,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1992
1902
|
} | {
|
|
1993
1903
|
id: string;
|
|
1994
1904
|
type: "agent_with_overrides";
|
|
1995
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1905
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
1996
1906
|
cwd?: string;
|
|
1997
1907
|
model?: string | {
|
|
1998
1908
|
id: string;
|
|
@@ -2031,7 +1941,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2031
1941
|
} | {
|
|
2032
1942
|
id: string;
|
|
2033
1943
|
type: "agent_with_overrides";
|
|
2034
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1944
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2035
1945
|
cwd?: string;
|
|
2036
1946
|
model?: string | {
|
|
2037
1947
|
id: string;
|
|
@@ -2068,7 +1978,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2068
1978
|
} | {
|
|
2069
1979
|
id: string;
|
|
2070
1980
|
type: "agent_with_overrides";
|
|
2071
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1981
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2072
1982
|
cwd?: string;
|
|
2073
1983
|
model?: string | {
|
|
2074
1984
|
id: string;
|
|
@@ -2109,7 +2019,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2109
2019
|
} | {
|
|
2110
2020
|
id: string;
|
|
2111
2021
|
type: "agent_with_overrides";
|
|
2112
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
2022
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2113
2023
|
cwd?: string;
|
|
2114
2024
|
model?: string | {
|
|
2115
2025
|
id: string;
|
|
@@ -2147,7 +2057,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2147
2057
|
} | {
|
|
2148
2058
|
id: string;
|
|
2149
2059
|
type: "agent_with_overrides";
|
|
2150
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
2060
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2151
2061
|
cwd?: string;
|
|
2152
2062
|
model?: string | {
|
|
2153
2063
|
id: string;
|
|
@@ -2176,122 +2086,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2176
2086
|
};
|
|
2177
2087
|
}>;
|
|
2178
2088
|
};
|
|
2179
|
-
embed: {
|
|
2180
|
-
exchange: {
|
|
2181
|
-
create: (options: import("./core/transport.js").CallOptions<Types.ExchangeEmbedCodeData>) => Promise<{
|
|
2182
|
-
token: string;
|
|
2183
|
-
expires_at: string;
|
|
2184
|
-
}>;
|
|
2185
|
-
};
|
|
2186
|
-
retrieveAppearance: (options?: import("./core/transport.js").CallOptions<Types.GetEmbedAppearanceData> | undefined) => Promise<{
|
|
2187
|
-
agent?: {
|
|
2188
|
-
name?: string;
|
|
2189
|
-
avatar?: string;
|
|
2190
|
-
};
|
|
2191
|
-
layout?: "inline" | "sidebar" | "popup" | "modal";
|
|
2192
|
-
launcher?: {
|
|
2193
|
-
type: "none" | "bubble" | "mascot";
|
|
2194
|
-
pack?: {
|
|
2195
|
-
preset?: "mint" | "cat" | "bot";
|
|
2196
|
-
images?: {
|
|
2197
|
-
idle: string;
|
|
2198
|
-
greet?: string;
|
|
2199
|
-
listening?: string;
|
|
2200
|
-
thinking?: string;
|
|
2201
|
-
talking?: string;
|
|
2202
|
-
"talking-2"?: string;
|
|
2203
|
-
sorry?: string;
|
|
2204
|
-
sleep?: string;
|
|
2205
|
-
};
|
|
2206
|
-
};
|
|
2207
|
-
image?: string;
|
|
2208
|
-
motion?: "float" | "none";
|
|
2209
|
-
position?: "bottom-right" | "bottom-left";
|
|
2210
|
-
label?: string;
|
|
2211
|
-
};
|
|
2212
|
-
header?: {
|
|
2213
|
-
title?: string;
|
|
2214
|
-
subtitle?: string;
|
|
2215
|
-
icon?: string;
|
|
2216
|
-
};
|
|
2217
|
-
theme?: {
|
|
2218
|
-
colorScheme?: "light" | "dark" | "system";
|
|
2219
|
-
accent?: string;
|
|
2220
|
-
surface?: string;
|
|
2221
|
-
grayscale?: "neutral" | "warm" | "cool";
|
|
2222
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
2223
|
-
density?: "compact" | "normal" | "spacious";
|
|
2224
|
-
fontFamily?: string;
|
|
2225
|
-
fontSize?: number;
|
|
2226
|
-
};
|
|
2227
|
-
locale?: "zh" | "en";
|
|
2228
|
-
startScreen?: {
|
|
2229
|
-
greeting?: string;
|
|
2230
|
-
prompts?: Array<{
|
|
2231
|
-
label: string;
|
|
2232
|
-
prompt: string;
|
|
2233
|
-
}>;
|
|
2234
|
-
};
|
|
2235
|
-
composer?: {
|
|
2236
|
-
placeholder?: string;
|
|
2237
|
-
};
|
|
2238
|
-
disclaimer?: string;
|
|
2239
|
-
footer?: string;
|
|
2240
|
-
history?: {
|
|
2241
|
-
enabled?: boolean;
|
|
2242
|
-
};
|
|
2243
|
-
}>;
|
|
2244
|
-
};
|
|
2245
|
-
embedTokens: {
|
|
2246
|
-
anonymous: {
|
|
2247
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CreateAnonymousEmbedTokenData>) => Promise<{
|
|
2248
|
-
token: string;
|
|
2249
|
-
expires_at: string;
|
|
2250
|
-
visitor_secret?: string;
|
|
2251
|
-
}>;
|
|
2252
|
-
};
|
|
2253
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CreateEmbedTokenData>) => Promise<{
|
|
2254
|
-
hosted_url?: string;
|
|
2255
|
-
id: string;
|
|
2256
|
-
token: string;
|
|
2257
|
-
expires_at: string;
|
|
2258
|
-
}>;
|
|
2259
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListEmbedTokensData> | undefined) => Promise<{
|
|
2260
|
-
data: Array<{
|
|
2261
|
-
id: string;
|
|
2262
|
-
type: "embed_token";
|
|
2263
|
-
agent_id: string;
|
|
2264
|
-
agent_version: number;
|
|
2265
|
-
external_user_id: string;
|
|
2266
|
-
created_at: string;
|
|
2267
|
-
expires_at: string;
|
|
2268
|
-
revoked_at: string | null;
|
|
2269
|
-
host_origin: string | null;
|
|
2270
|
-
issued_by: {
|
|
2271
|
-
type: "user" | "api_key";
|
|
2272
|
-
id: string;
|
|
2273
|
-
};
|
|
2274
|
-
}>;
|
|
2275
|
-
next_page: string | null;
|
|
2276
|
-
}>;
|
|
2277
|
-
revoke: {
|
|
2278
|
-
create: (options: import("./core/transport.js").CallOptions<Types.RevokeEmbedTokenData>) => Promise<{
|
|
2279
|
-
id: string;
|
|
2280
|
-
type: "embed_token";
|
|
2281
|
-
agent_id: string;
|
|
2282
|
-
agent_version: number;
|
|
2283
|
-
external_user_id: string;
|
|
2284
|
-
created_at: string;
|
|
2285
|
-
expires_at: string;
|
|
2286
|
-
revoked_at: string | null;
|
|
2287
|
-
host_origin: string | null;
|
|
2288
|
-
issued_by: {
|
|
2289
|
-
type: "user" | "api_key";
|
|
2290
|
-
id: string;
|
|
2291
|
-
};
|
|
2292
|
-
}>;
|
|
2293
|
-
};
|
|
2294
|
-
};
|
|
2295
2089
|
environments: {
|
|
2296
2090
|
archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
|
|
2297
2091
|
create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
|
|
@@ -2398,21 +2192,27 @@ export declare function createAgent(transport: Transport): {
|
|
|
2398
2192
|
compact: (options: import("./core/transport.js").CallOptions<Types.CompactSessionData>) => Promise<{
|
|
2399
2193
|
type: "session_compaction";
|
|
2400
2194
|
id: string;
|
|
2401
|
-
status: "queued" | "running" | "skipped" | "succeeded" | "failed";
|
|
2195
|
+
status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
|
|
2402
2196
|
reason?: string;
|
|
2403
2197
|
} | {
|
|
2404
2198
|
type: "session_compaction";
|
|
2405
2199
|
id: string;
|
|
2406
|
-
status: "queued" | "running" | "skipped" | "succeeded" | "failed";
|
|
2200
|
+
status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
|
|
2407
2201
|
reason?: string;
|
|
2408
2202
|
}>;
|
|
2409
2203
|
compactions: {
|
|
2410
2204
|
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionCompactionsData>) => Promise<{
|
|
2205
|
+
active: {
|
|
2206
|
+
type: "session_compaction";
|
|
2207
|
+
id: string;
|
|
2208
|
+
status: "queued" | "running";
|
|
2209
|
+
trigger: "manual" | "auto" | "idle";
|
|
2210
|
+
} | null;
|
|
2411
2211
|
data: Array<{
|
|
2412
2212
|
type: "context_compaction";
|
|
2413
2213
|
id: string;
|
|
2414
2214
|
event_id: string | null;
|
|
2415
|
-
trigger: "auto" | "manual" | "model_downshift";
|
|
2215
|
+
trigger: "auto" | "manual" | "model_downshift" | "idle";
|
|
2416
2216
|
status: "succeeded" | "failed";
|
|
2417
2217
|
model: string;
|
|
2418
2218
|
compacted_message_count: number;
|
|
@@ -2523,6 +2323,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2523
2323
|
run_id: string | null;
|
|
2524
2324
|
message_id?: string;
|
|
2525
2325
|
} | {
|
|
2326
|
+
full_access_available?: boolean;
|
|
2526
2327
|
id: string;
|
|
2527
2328
|
input: Types.AgentManaged197;
|
|
2528
2329
|
mcp_server_name: string;
|
|
@@ -2545,6 +2346,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
2545
2346
|
};
|
|
2546
2347
|
source?: "app" | "codemode";
|
|
2547
2348
|
parent_tool_use_id?: string;
|
|
2349
|
+
user_once?: true;
|
|
2350
|
+
guarded_rule?: string;
|
|
2351
|
+
permission_suggestions?: Array<{
|
|
2352
|
+
type: "add_rules";
|
|
2353
|
+
behavior: "allow";
|
|
2354
|
+
destination: "agent" | "session";
|
|
2355
|
+
rules: Array<{
|
|
2356
|
+
tool_name: string;
|
|
2357
|
+
rule_content: string;
|
|
2358
|
+
}>;
|
|
2359
|
+
}>;
|
|
2548
2360
|
title?: string;
|
|
2549
2361
|
input_titles?: {
|
|
2550
2362
|
[key: string]: string;
|
|
@@ -2563,6 +2375,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2563
2375
|
};
|
|
2564
2376
|
source?: "app" | "codemode";
|
|
2565
2377
|
} | {
|
|
2378
|
+
full_access_available?: boolean;
|
|
2566
2379
|
id: string;
|
|
2567
2380
|
input: Types.AgentManaged206;
|
|
2568
2381
|
name: string;
|
|
@@ -2572,6 +2385,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
2572
2385
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
2573
2386
|
session_thread_id?: null | string;
|
|
2574
2387
|
run_id: string | null;
|
|
2388
|
+
user_once?: true;
|
|
2389
|
+
guarded_rule?: string;
|
|
2390
|
+
permission_suggestions?: Array<{
|
|
2391
|
+
type: "add_rules";
|
|
2392
|
+
behavior: "allow";
|
|
2393
|
+
destination: "agent" | "session";
|
|
2394
|
+
rules: Array<{
|
|
2395
|
+
tool_name: string;
|
|
2396
|
+
rule_content: string;
|
|
2397
|
+
}>;
|
|
2398
|
+
}>;
|
|
2575
2399
|
} | {
|
|
2576
2400
|
id: string;
|
|
2577
2401
|
processed_at: string;
|
|
@@ -2592,6 +2416,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
2592
2416
|
type: "session.status_idle";
|
|
2593
2417
|
run_id: string | null;
|
|
2594
2418
|
} | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
|
|
2419
|
+
permission_mode_version?: number;
|
|
2420
|
+
previous_permission_mode?: string | null;
|
|
2421
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2595
2422
|
id: string;
|
|
2596
2423
|
processed_at: string;
|
|
2597
2424
|
type: "session.updated";
|
|
@@ -3213,6 +3040,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
3213
3040
|
web_fetch_requests?: number;
|
|
3214
3041
|
web_search_requests?: number;
|
|
3215
3042
|
};
|
|
3043
|
+
cost_by_product?: {
|
|
3044
|
+
[key: string]: string;
|
|
3045
|
+
};
|
|
3046
|
+
subagent_cost_micro_usd?: number;
|
|
3216
3047
|
};
|
|
3217
3048
|
vault_ids: Array<string>;
|
|
3218
3049
|
deployment_id?: null | string;
|
|
@@ -3375,7 +3206,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3375
3206
|
retrieveCompact: (options: import("./core/transport.js").CallOptions<Types.GetSessionCompactionData>) => Promise<{
|
|
3376
3207
|
type: "session_compaction";
|
|
3377
3208
|
id: string;
|
|
3378
|
-
status: "queued" | "running" | "skipped" | "succeeded" | "failed";
|
|
3209
|
+
status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
|
|
3379
3210
|
reason?: string;
|
|
3380
3211
|
}>;
|
|
3381
3212
|
retrieveContext: (options: import("./core/transport.js").CallOptions<Types.GetSessionContextData>) => Promise<{
|
|
@@ -3499,6 +3330,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3499
3330
|
run_id: string | null;
|
|
3500
3331
|
message_id?: string;
|
|
3501
3332
|
} | {
|
|
3333
|
+
full_access_available?: boolean;
|
|
3502
3334
|
id: string;
|
|
3503
3335
|
input: Types.AgentManaged197;
|
|
3504
3336
|
mcp_server_name: string;
|
|
@@ -3521,6 +3353,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
3521
3353
|
};
|
|
3522
3354
|
};
|
|
3523
3355
|
source?: "app" | "codemode";
|
|
3356
|
+
user_once?: true;
|
|
3357
|
+
guarded_rule?: string;
|
|
3358
|
+
permission_suggestions?: Array<{
|
|
3359
|
+
type: "add_rules";
|
|
3360
|
+
behavior: "allow";
|
|
3361
|
+
destination: "agent" | "session";
|
|
3362
|
+
rules: Array<{
|
|
3363
|
+
tool_name: string;
|
|
3364
|
+
rule_content: string;
|
|
3365
|
+
}>;
|
|
3366
|
+
}>;
|
|
3524
3367
|
title?: string;
|
|
3525
3368
|
input_titles?: {
|
|
3526
3369
|
[key: string]: string;
|
|
@@ -3539,6 +3382,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3539
3382
|
};
|
|
3540
3383
|
source?: "app" | "codemode";
|
|
3541
3384
|
} | {
|
|
3385
|
+
full_access_available?: boolean;
|
|
3542
3386
|
id: string;
|
|
3543
3387
|
input: Types.AgentManaged206;
|
|
3544
3388
|
name: string;
|
|
@@ -3548,6 +3392,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
3548
3392
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
3549
3393
|
session_thread_id?: null | string;
|
|
3550
3394
|
run_id: string | null;
|
|
3395
|
+
user_once?: true;
|
|
3396
|
+
guarded_rule?: string;
|
|
3397
|
+
permission_suggestions?: Array<{
|
|
3398
|
+
type: "add_rules";
|
|
3399
|
+
behavior: "allow";
|
|
3400
|
+
destination: "agent" | "session";
|
|
3401
|
+
rules: Array<{
|
|
3402
|
+
tool_name: string;
|
|
3403
|
+
rule_content: string;
|
|
3404
|
+
}>;
|
|
3405
|
+
}>;
|
|
3551
3406
|
} | {
|
|
3552
3407
|
id: string;
|
|
3553
3408
|
processed_at: string;
|
|
@@ -3568,6 +3423,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
3568
3423
|
type: "session.status_idle";
|
|
3569
3424
|
run_id: string | null;
|
|
3570
3425
|
} | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
|
|
3426
|
+
permission_mode_version?: number;
|
|
3427
|
+
previous_permission_mode?: string | null;
|
|
3428
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
3571
3429
|
id: string;
|
|
3572
3430
|
processed_at: string;
|
|
3573
3431
|
type: "session.updated";
|
|
@@ -3836,6 +3694,13 @@ export declare function createAutomation(transport: Transport): {
|
|
|
3836
3694
|
hooks: {
|
|
3837
3695
|
send: (options: import("./core/transport.js").CallOptions<Types.AutomationHooksReceiveData>) => Promise<Types.AutomationFiring>;
|
|
3838
3696
|
};
|
|
3697
|
+
humanTasks: {
|
|
3698
|
+
cancel: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksCancelData>) => Promise<Types.AutomationHumanTask>;
|
|
3699
|
+
delegate: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksDelegateData>) => Promise<Types.AutomationHumanTask>;
|
|
3700
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksListData> | undefined) => Promise<import("./automation.js").Page<Types.AutomationHumanTask>>;
|
|
3701
|
+
respond: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksRespondData>) => Promise<Types.AutomationHumanTask>;
|
|
3702
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksGetData>) => Promise<Types.AutomationHumanTask>;
|
|
3703
|
+
};
|
|
3839
3704
|
resolve: {
|
|
3840
3705
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationResolveResolveData>) => Promise<Types.AutomationResolveResult>;
|
|
3841
3706
|
};
|
|
@@ -4007,6 +3872,21 @@ export declare function createBrowser(transport: Transport): {
|
|
|
4007
3872
|
};
|
|
4008
3873
|
};
|
|
4009
3874
|
};
|
|
3875
|
+
export declare function createCanvas(transport: Transport): {
|
|
3876
|
+
canvases: {
|
|
3877
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.CanvasCreateCanvasData> | undefined) => Promise<Types.CanvasCanvas>;
|
|
3878
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CanvasDeleteCanvasData>) => Promise<Types.CanvasDeletedCanvas>;
|
|
3879
|
+
execute: (options: import("./core/transport.js").CallOptions<Types.CanvasExecuteData>) => Promise<Types.CanvasExecuteResult>;
|
|
3880
|
+
images: {
|
|
3881
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListImagesData>) => Promise<Types.CanvasImagesResult>;
|
|
3882
|
+
};
|
|
3883
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListCanvasesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasCanvas>>;
|
|
3884
|
+
nodes: {
|
|
3885
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListNodesData>) => Promise<Types.CanvasNodesResult>;
|
|
3886
|
+
};
|
|
3887
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCanvasData>) => Promise<Types.CanvasCanvasDetail>;
|
|
3888
|
+
};
|
|
3889
|
+
};
|
|
4010
3890
|
export declare function createDatabase(transport: Transport): {
|
|
4011
3891
|
databases: {
|
|
4012
3892
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
@@ -4169,6 +4049,20 @@ export declare function createMedia(transport: Transport): {
|
|
|
4169
4049
|
};
|
|
4170
4050
|
};
|
|
4171
4051
|
export declare function createMeta(transport: Transport): {
|
|
4052
|
+
docs: {
|
|
4053
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.MetaDocsRetrieveData>) => Promise<{
|
|
4054
|
+
path: string;
|
|
4055
|
+
title: string;
|
|
4056
|
+
url: string;
|
|
4057
|
+
markdown: string;
|
|
4058
|
+
}>;
|
|
4059
|
+
search: (options: import("./core/transport.js").CallOptions<Types.MetaDocsSearchData>) => Promise<{
|
|
4060
|
+
path: string;
|
|
4061
|
+
title: string;
|
|
4062
|
+
url: string;
|
|
4063
|
+
snippet: string;
|
|
4064
|
+
}[]>;
|
|
4065
|
+
};
|
|
4172
4066
|
health: {
|
|
4173
4067
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.HealthCheckData> | undefined) => Promise<string>;
|
|
4174
4068
|
};
|
|
@@ -5285,6 +5179,7 @@ export declare const resourceFactories: {
|
|
|
5285
5179
|
application: typeof createApplication;
|
|
5286
5180
|
automation: typeof createAutomation;
|
|
5287
5181
|
browser: typeof createBrowser;
|
|
5182
|
+
canvas: typeof createCanvas;
|
|
5288
5183
|
database: typeof createDatabase;
|
|
5289
5184
|
file: typeof createFile;
|
|
5290
5185
|
knowledge: typeof createKnowledge;
|