@deepraxis/sdk 0.1.1-dev.d25d171 → 0.1.1-dev.de0a917
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 +219 -47
- package/README.md +1 -1
- package/dist/automation.d.ts +61 -0
- package/dist/core/client.d.ts +11 -1
- package/dist/core/client.js +13 -0
- package/dist/core/transport.d.ts +9 -0
- package/dist/core/transport.js +13 -2
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +482 -108
- package/dist/generated/sdk.gen.js +1991 -671
- package/dist/generated/types.gen.d.ts +34106 -28059
- 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/helpers/sandbox-templates.d.ts +121 -0
- package/dist/helpers/sandbox-templates.js +60 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +3 -0
- package/dist/operations.generated.d.ts +2054 -469
- package/dist/operations.generated.js +2421 -464
- package/dist/resources.generated.d.ts +511 -383
- package/dist/resources.generated.js +135 -26
- 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,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
148
151
|
mcpServers?: Array<string>;
|
|
149
152
|
hooks?: Array<string>;
|
|
150
153
|
};
|
|
154
|
+
idleCompaction?: boolean;
|
|
155
|
+
outputStyle?: string;
|
|
151
156
|
} | null;
|
|
152
157
|
models?: {
|
|
153
158
|
allowed: Array<string>;
|
|
@@ -158,6 +163,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
158
163
|
environment_id?: string | null;
|
|
159
164
|
vault_ids?: Array<string>;
|
|
160
165
|
status: "active" | "archived";
|
|
166
|
+
output_styles?: Array<{
|
|
167
|
+
name: string;
|
|
168
|
+
description?: string;
|
|
169
|
+
prompt: string;
|
|
170
|
+
keep_coding_instructions?: boolean;
|
|
171
|
+
}> | null;
|
|
161
172
|
}>;
|
|
162
173
|
create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
|
|
163
174
|
id: string;
|
|
@@ -166,7 +177,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
166
177
|
description: null | string;
|
|
167
178
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
168
179
|
metadata: Types.AgentManaged37;
|
|
169
|
-
model
|
|
180
|
+
model?: {
|
|
170
181
|
id: string;
|
|
171
182
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
172
183
|
inference_geo?: string;
|
|
@@ -175,7 +186,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
175
186
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
176
187
|
};
|
|
177
188
|
};
|
|
178
|
-
multiagent
|
|
189
|
+
multiagent?: null | Types.AgentManaged39;
|
|
179
190
|
name: string;
|
|
180
191
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
181
192
|
system: null | string;
|
|
@@ -198,14 +209,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
198
209
|
id: string;
|
|
199
210
|
access: "read_only" | "read_write" | "invoke";
|
|
200
211
|
instructions?: string;
|
|
212
|
+
readonly verified?: boolean;
|
|
201
213
|
enabled?: boolean;
|
|
202
214
|
} | {
|
|
203
215
|
type: "search" | "browser";
|
|
216
|
+
readonly verified?: boolean;
|
|
204
217
|
enabled?: boolean;
|
|
205
218
|
}>;
|
|
206
|
-
kind: "personal" | "service";
|
|
219
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
207
220
|
computer_id?: string;
|
|
208
221
|
subagent_model?: string | null;
|
|
222
|
+
image_model?: string | null;
|
|
209
223
|
subagents?: Array<{
|
|
210
224
|
name: string;
|
|
211
225
|
description: string;
|
|
@@ -304,6 +318,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
304
318
|
mcpServers?: Array<string>;
|
|
305
319
|
hooks?: Array<string>;
|
|
306
320
|
};
|
|
321
|
+
idleCompaction?: boolean;
|
|
322
|
+
outputStyle?: string;
|
|
307
323
|
} | null;
|
|
308
324
|
models?: {
|
|
309
325
|
allowed: Array<string>;
|
|
@@ -314,6 +330,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
314
330
|
environment_id?: string | null;
|
|
315
331
|
vault_ids?: Array<string>;
|
|
316
332
|
status: "active" | "archived";
|
|
333
|
+
output_styles?: Array<{
|
|
334
|
+
name: string;
|
|
335
|
+
description?: string;
|
|
336
|
+
prompt: string;
|
|
337
|
+
keep_coding_instructions?: boolean;
|
|
338
|
+
}> | null;
|
|
317
339
|
}>;
|
|
318
340
|
customers: {
|
|
319
341
|
auth: {
|
|
@@ -352,49 +374,53 @@ export declare function createAgent(transport: Transport): {
|
|
|
352
374
|
}>;
|
|
353
375
|
};
|
|
354
376
|
};
|
|
355
|
-
};
|
|
356
|
-
endUsers: {
|
|
357
377
|
block: {
|
|
358
|
-
create: (options: import("./core/transport.js").CallOptions<Types.
|
|
359
|
-
|
|
378
|
+
create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
|
|
379
|
+
id: string;
|
|
380
|
+
type: "identified" | "anonymous";
|
|
381
|
+
merged_into: string | null;
|
|
382
|
+
blocked: boolean;
|
|
360
383
|
first_seen_at: string | null;
|
|
361
|
-
|
|
384
|
+
last_seen_at: string | null;
|
|
362
385
|
session_count: number;
|
|
363
386
|
cost: {
|
|
364
387
|
amount: string;
|
|
365
388
|
currency: "USD";
|
|
366
389
|
};
|
|
367
|
-
blocked: boolean;
|
|
368
390
|
}>;
|
|
369
391
|
};
|
|
370
|
-
delete: (options: import("./core/transport.js").CallOptions<Types.
|
|
392
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteCustomerData>) => Promise<{
|
|
371
393
|
id: string;
|
|
372
394
|
status: "pending";
|
|
373
395
|
}>;
|
|
374
|
-
list: (options: import("./core/transport.js").CallOptions<Types.
|
|
396
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListCustomersData>) => Promise<{
|
|
375
397
|
data: Array<{
|
|
376
|
-
|
|
398
|
+
id: string;
|
|
399
|
+
type: "identified" | "anonymous";
|
|
400
|
+
merged_into: string | null;
|
|
401
|
+
blocked: boolean;
|
|
377
402
|
first_seen_at: string | null;
|
|
378
|
-
|
|
403
|
+
last_seen_at: string | null;
|
|
379
404
|
session_count: number;
|
|
380
405
|
cost: {
|
|
381
406
|
amount: string;
|
|
382
407
|
currency: "USD";
|
|
383
408
|
};
|
|
384
|
-
blocked: boolean;
|
|
385
409
|
}>;
|
|
386
410
|
next_page: string | null;
|
|
387
411
|
}>;
|
|
388
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.
|
|
389
|
-
|
|
412
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetCustomerData>) => Promise<{
|
|
413
|
+
id: string;
|
|
414
|
+
type: "identified" | "anonymous";
|
|
415
|
+
merged_into: string | null;
|
|
416
|
+
blocked: boolean;
|
|
390
417
|
first_seen_at: string | null;
|
|
391
|
-
|
|
418
|
+
last_seen_at: string | null;
|
|
392
419
|
session_count: number;
|
|
393
420
|
cost: {
|
|
394
421
|
amount: string;
|
|
395
422
|
currency: "USD";
|
|
396
423
|
};
|
|
397
|
-
blocked: boolean;
|
|
398
424
|
recent_sessions: Array<{
|
|
399
425
|
id: string;
|
|
400
426
|
title: string | null;
|
|
@@ -403,7 +429,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
403
429
|
updated_at: string;
|
|
404
430
|
}>;
|
|
405
431
|
}>;
|
|
406
|
-
retrieveDeletion: (options: import("./core/transport.js").CallOptions<Types.
|
|
432
|
+
retrieveDeletion: (options: import("./core/transport.js").CallOptions<Types.GetCustomerDeletionData>) => Promise<{
|
|
407
433
|
id: string;
|
|
408
434
|
status: "pending" | "snapshotting" | "deleting" | "done" | "failed";
|
|
409
435
|
counts: {
|
|
@@ -419,21 +445,23 @@ export declare function createAgent(transport: Transport): {
|
|
|
419
445
|
updated_at: string;
|
|
420
446
|
}>;
|
|
421
447
|
revokeTokens: {
|
|
422
|
-
create: (options: import("./core/transport.js").CallOptions<Types.
|
|
448
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RevokeCustomerTokensData>) => Promise<{
|
|
423
449
|
revoked: number;
|
|
424
450
|
}>;
|
|
425
451
|
};
|
|
426
452
|
unblock: {
|
|
427
|
-
create: (options: import("./core/transport.js").CallOptions<Types.
|
|
428
|
-
|
|
453
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UnblockCustomerData>) => Promise<{
|
|
454
|
+
id: string;
|
|
455
|
+
type: "identified" | "anonymous";
|
|
456
|
+
merged_into: string | null;
|
|
457
|
+
blocked: boolean;
|
|
429
458
|
first_seen_at: string | null;
|
|
430
|
-
|
|
459
|
+
last_seen_at: string | null;
|
|
431
460
|
session_count: number;
|
|
432
461
|
cost: {
|
|
433
462
|
amount: string;
|
|
434
463
|
currency: "USD";
|
|
435
464
|
};
|
|
436
|
-
blocked: boolean;
|
|
437
465
|
}>;
|
|
438
466
|
};
|
|
439
467
|
};
|
|
@@ -445,7 +473,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
445
473
|
description: null | string;
|
|
446
474
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
447
475
|
metadata: Types.AgentManaged37;
|
|
448
|
-
model
|
|
476
|
+
model?: {
|
|
449
477
|
id: string;
|
|
450
478
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
451
479
|
inference_geo?: string;
|
|
@@ -454,7 +482,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
454
482
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
455
483
|
};
|
|
456
484
|
};
|
|
457
|
-
multiagent
|
|
485
|
+
multiagent?: null | Types.AgentManaged39;
|
|
458
486
|
name: string;
|
|
459
487
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
460
488
|
system: null | string;
|
|
@@ -477,14 +505,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
477
505
|
id: string;
|
|
478
506
|
access: "read_only" | "read_write" | "invoke";
|
|
479
507
|
instructions?: string;
|
|
508
|
+
readonly verified?: boolean;
|
|
480
509
|
enabled?: boolean;
|
|
481
510
|
} | {
|
|
482
511
|
type: "search" | "browser";
|
|
512
|
+
readonly verified?: boolean;
|
|
483
513
|
enabled?: boolean;
|
|
484
514
|
}>;
|
|
485
|
-
kind: "personal" | "service";
|
|
515
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
486
516
|
computer_id?: string;
|
|
487
517
|
subagent_model?: string | null;
|
|
518
|
+
image_model?: string | null;
|
|
488
519
|
subagents?: Array<{
|
|
489
520
|
name: string;
|
|
490
521
|
description: string;
|
|
@@ -583,6 +614,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
583
614
|
mcpServers?: Array<string>;
|
|
584
615
|
hooks?: Array<string>;
|
|
585
616
|
};
|
|
617
|
+
idleCompaction?: boolean;
|
|
618
|
+
outputStyle?: string;
|
|
586
619
|
} | null;
|
|
587
620
|
models?: {
|
|
588
621
|
allowed: Array<string>;
|
|
@@ -593,6 +626,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
593
626
|
environment_id?: string | null;
|
|
594
627
|
vault_ids?: Array<string>;
|
|
595
628
|
status: "active" | "archived";
|
|
629
|
+
output_styles?: Array<{
|
|
630
|
+
name: string;
|
|
631
|
+
description?: string;
|
|
632
|
+
prompt: string;
|
|
633
|
+
keep_coding_instructions?: boolean;
|
|
634
|
+
}> | null;
|
|
596
635
|
}>;
|
|
597
636
|
next_page: string | null;
|
|
598
637
|
}>;
|
|
@@ -603,7 +642,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
603
642
|
description: null | string;
|
|
604
643
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
605
644
|
metadata: Types.AgentManaged37;
|
|
606
|
-
model
|
|
645
|
+
model?: {
|
|
607
646
|
id: string;
|
|
608
647
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
609
648
|
inference_geo?: string;
|
|
@@ -612,7 +651,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
612
651
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
613
652
|
};
|
|
614
653
|
};
|
|
615
|
-
multiagent
|
|
654
|
+
multiagent?: null | Types.AgentManaged39;
|
|
616
655
|
name: string;
|
|
617
656
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
618
657
|
system: null | string;
|
|
@@ -620,6 +659,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
620
659
|
type: "agent";
|
|
621
660
|
updated_at: string;
|
|
622
661
|
version: number;
|
|
662
|
+
latest_version?: number;
|
|
623
663
|
active_version: number;
|
|
624
664
|
created_by: {
|
|
625
665
|
type: "user";
|
|
@@ -635,14 +675,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
635
675
|
id: string;
|
|
636
676
|
access: "read_only" | "read_write" | "invoke";
|
|
637
677
|
instructions?: string;
|
|
678
|
+
readonly verified?: boolean;
|
|
638
679
|
enabled?: boolean;
|
|
639
680
|
} | {
|
|
640
681
|
type: "search" | "browser";
|
|
682
|
+
readonly verified?: boolean;
|
|
641
683
|
enabled?: boolean;
|
|
642
684
|
}>;
|
|
643
|
-
kind: "personal" | "service";
|
|
685
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
644
686
|
computer_id?: string;
|
|
645
687
|
subagent_model?: string | null;
|
|
688
|
+
image_model?: string | null;
|
|
646
689
|
subagents?: Array<{
|
|
647
690
|
name: string;
|
|
648
691
|
description: string;
|
|
@@ -741,6 +784,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
741
784
|
mcpServers?: Array<string>;
|
|
742
785
|
hooks?: Array<string>;
|
|
743
786
|
};
|
|
787
|
+
idleCompaction?: boolean;
|
|
788
|
+
outputStyle?: string;
|
|
744
789
|
} | null;
|
|
745
790
|
models?: {
|
|
746
791
|
allowed: Array<string>;
|
|
@@ -751,6 +796,70 @@ export declare function createAgent(transport: Transport): {
|
|
|
751
796
|
environment_id?: string | null;
|
|
752
797
|
vault_ids?: Array<string>;
|
|
753
798
|
status: "active" | "archived";
|
|
799
|
+
output_styles?: Array<{
|
|
800
|
+
name: string;
|
|
801
|
+
description?: string;
|
|
802
|
+
prompt: string;
|
|
803
|
+
keep_coding_instructions?: boolean;
|
|
804
|
+
}> | null;
|
|
805
|
+
}>;
|
|
806
|
+
retrieveAppearance: (options: import("./core/transport.js").CallOptions<Types.GetAgentAppearanceData>) => Promise<{
|
|
807
|
+
agent?: {
|
|
808
|
+
name?: string;
|
|
809
|
+
avatar?: string;
|
|
810
|
+
};
|
|
811
|
+
layout?: "inline" | "sidebar" | "popup" | "modal";
|
|
812
|
+
launcher?: {
|
|
813
|
+
type: "none" | "bubble" | "mascot";
|
|
814
|
+
pack?: {
|
|
815
|
+
preset?: "mint" | "cat" | "bot";
|
|
816
|
+
images?: {
|
|
817
|
+
idle: string;
|
|
818
|
+
greet?: string;
|
|
819
|
+
listening?: string;
|
|
820
|
+
thinking?: string;
|
|
821
|
+
talking?: string;
|
|
822
|
+
"talking-2"?: string;
|
|
823
|
+
sorry?: string;
|
|
824
|
+
sleep?: string;
|
|
825
|
+
};
|
|
826
|
+
};
|
|
827
|
+
image?: string;
|
|
828
|
+
motion?: "float" | "none";
|
|
829
|
+
position?: "bottom-right" | "bottom-left";
|
|
830
|
+
label?: string;
|
|
831
|
+
};
|
|
832
|
+
header?: {
|
|
833
|
+
title?: string;
|
|
834
|
+
subtitle?: string;
|
|
835
|
+
icon?: string;
|
|
836
|
+
};
|
|
837
|
+
theme?: {
|
|
838
|
+
colorScheme?: "light" | "dark" | "system";
|
|
839
|
+
accent?: string;
|
|
840
|
+
surface?: string;
|
|
841
|
+
grayscale?: "neutral" | "warm" | "cool";
|
|
842
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
843
|
+
density?: "compact" | "normal" | "spacious";
|
|
844
|
+
fontFamily?: string;
|
|
845
|
+
fontSize?: number;
|
|
846
|
+
};
|
|
847
|
+
locale?: "zh" | "en";
|
|
848
|
+
startScreen?: {
|
|
849
|
+
greeting?: string;
|
|
850
|
+
prompts?: Array<{
|
|
851
|
+
label: string;
|
|
852
|
+
prompt: string;
|
|
853
|
+
}>;
|
|
854
|
+
};
|
|
855
|
+
composer?: {
|
|
856
|
+
placeholder?: string;
|
|
857
|
+
};
|
|
858
|
+
disclaimer?: string;
|
|
859
|
+
footer?: string;
|
|
860
|
+
history?: {
|
|
861
|
+
enabled?: boolean;
|
|
862
|
+
};
|
|
754
863
|
}>;
|
|
755
864
|
unarchive: {
|
|
756
865
|
create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
|
|
@@ -787,7 +896,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
787
896
|
metadata: {
|
|
788
897
|
[key: string]: string;
|
|
789
898
|
};
|
|
790
|
-
model
|
|
899
|
+
model?: {
|
|
791
900
|
id: string;
|
|
792
901
|
effort?: {
|
|
793
902
|
type: "low";
|
|
@@ -806,7 +915,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
806
915
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
807
916
|
};
|
|
808
917
|
};
|
|
809
|
-
multiagent
|
|
918
|
+
multiagent?: null | {
|
|
810
919
|
agents: Array<{
|
|
811
920
|
id: string;
|
|
812
921
|
type: "agent";
|
|
@@ -979,6 +1088,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
979
1088
|
type: "agent";
|
|
980
1089
|
updated_at: string;
|
|
981
1090
|
version: number;
|
|
1091
|
+
latest_version?: number;
|
|
982
1092
|
active_version: number;
|
|
983
1093
|
created_by: {
|
|
984
1094
|
type: "user";
|
|
@@ -994,14 +1104,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
994
1104
|
id: string;
|
|
995
1105
|
access: "read_only" | "read_write" | "invoke";
|
|
996
1106
|
instructions?: string;
|
|
1107
|
+
readonly verified?: boolean;
|
|
997
1108
|
enabled?: boolean;
|
|
998
1109
|
} | {
|
|
999
1110
|
type: "search" | "browser";
|
|
1111
|
+
readonly verified?: boolean;
|
|
1000
1112
|
enabled?: boolean;
|
|
1001
1113
|
}>;
|
|
1002
|
-
kind: "personal" | "service";
|
|
1114
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
1003
1115
|
computer_id?: string;
|
|
1004
1116
|
subagent_model?: string | null;
|
|
1117
|
+
image_model?: string | null;
|
|
1005
1118
|
subagents?: Array<{
|
|
1006
1119
|
name: string;
|
|
1007
1120
|
description: string;
|
|
@@ -1100,6 +1213,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1100
1213
|
mcpServers?: Array<string>;
|
|
1101
1214
|
hooks?: Array<string>;
|
|
1102
1215
|
};
|
|
1216
|
+
idleCompaction?: boolean;
|
|
1217
|
+
outputStyle?: string;
|
|
1103
1218
|
} | null;
|
|
1104
1219
|
models?: {
|
|
1105
1220
|
allowed: Array<string>;
|
|
@@ -1110,6 +1225,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
1110
1225
|
environment_id?: string | null;
|
|
1111
1226
|
vault_ids?: Array<string>;
|
|
1112
1227
|
status: "active" | "archived";
|
|
1228
|
+
output_styles?: Array<{
|
|
1229
|
+
name: string;
|
|
1230
|
+
description?: string;
|
|
1231
|
+
prompt: string;
|
|
1232
|
+
keep_coding_instructions?: boolean;
|
|
1233
|
+
}> | null;
|
|
1113
1234
|
}>;
|
|
1114
1235
|
};
|
|
1115
1236
|
update: (options: import("./core/transport.js").CallOptions<Types.AgentsUpdateData>) => Promise<{
|
|
@@ -1119,7 +1240,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1119
1240
|
description: null | string;
|
|
1120
1241
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
1121
1242
|
metadata: Types.AgentManaged37;
|
|
1122
|
-
model
|
|
1243
|
+
model?: {
|
|
1123
1244
|
id: string;
|
|
1124
1245
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1125
1246
|
inference_geo?: string;
|
|
@@ -1128,7 +1249,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1128
1249
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1129
1250
|
};
|
|
1130
1251
|
};
|
|
1131
|
-
multiagent
|
|
1252
|
+
multiagent?: null | Types.AgentManaged39;
|
|
1132
1253
|
name: string;
|
|
1133
1254
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
1134
1255
|
system: null | string;
|
|
@@ -1136,6 +1257,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1136
1257
|
type: "agent";
|
|
1137
1258
|
updated_at: string;
|
|
1138
1259
|
version: number;
|
|
1260
|
+
latest_version?: number;
|
|
1139
1261
|
active_version: number;
|
|
1140
1262
|
created_by: {
|
|
1141
1263
|
type: "user";
|
|
@@ -1151,14 +1273,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
1151
1273
|
id: string;
|
|
1152
1274
|
access: "read_only" | "read_write" | "invoke";
|
|
1153
1275
|
instructions?: string;
|
|
1276
|
+
readonly verified?: boolean;
|
|
1154
1277
|
enabled?: boolean;
|
|
1155
1278
|
} | {
|
|
1156
1279
|
type: "search" | "browser";
|
|
1280
|
+
readonly verified?: boolean;
|
|
1157
1281
|
enabled?: boolean;
|
|
1158
1282
|
}>;
|
|
1159
|
-
kind: "personal" | "service";
|
|
1283
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
1160
1284
|
computer_id?: string;
|
|
1161
1285
|
subagent_model?: string | null;
|
|
1286
|
+
image_model?: string | null;
|
|
1162
1287
|
subagents?: Array<{
|
|
1163
1288
|
name: string;
|
|
1164
1289
|
description: string;
|
|
@@ -1257,6 +1382,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1257
1382
|
mcpServers?: Array<string>;
|
|
1258
1383
|
hooks?: Array<string>;
|
|
1259
1384
|
};
|
|
1385
|
+
idleCompaction?: boolean;
|
|
1386
|
+
outputStyle?: string;
|
|
1260
1387
|
} | null;
|
|
1261
1388
|
models?: {
|
|
1262
1389
|
allowed: Array<string>;
|
|
@@ -1267,6 +1394,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
1267
1394
|
environment_id?: string | null;
|
|
1268
1395
|
vault_ids?: Array<string>;
|
|
1269
1396
|
status: "active" | "archived";
|
|
1397
|
+
output_styles?: Array<{
|
|
1398
|
+
name: string;
|
|
1399
|
+
description?: string;
|
|
1400
|
+
prompt: string;
|
|
1401
|
+
keep_coding_instructions?: boolean;
|
|
1402
|
+
}> | null;
|
|
1270
1403
|
}>;
|
|
1271
1404
|
versions: {
|
|
1272
1405
|
apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
|
|
@@ -1274,227 +1407,26 @@ export declare function createAgent(transport: Transport): {
|
|
|
1274
1407
|
archived_at: null | string;
|
|
1275
1408
|
created_at: string;
|
|
1276
1409
|
description: null | string;
|
|
1277
|
-
mcp_servers: Array<
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
url: string;
|
|
1281
|
-
headers?: {
|
|
1282
|
-
[key: string]: string;
|
|
1283
|
-
};
|
|
1284
|
-
timeout_ms?: number;
|
|
1285
|
-
} | {
|
|
1286
|
-
type: "sse";
|
|
1287
|
-
name: string;
|
|
1288
|
-
url: string;
|
|
1289
|
-
headers?: {
|
|
1290
|
-
[key: string]: string;
|
|
1291
|
-
};
|
|
1292
|
-
timeout_ms?: number;
|
|
1293
|
-
} | {
|
|
1294
|
-
type: "stdio";
|
|
1295
|
-
name: string;
|
|
1296
|
-
command: string;
|
|
1297
|
-
args?: Array<string>;
|
|
1298
|
-
env?: {
|
|
1299
|
-
[key: string]: string;
|
|
1300
|
-
};
|
|
1301
|
-
timeout_ms?: number;
|
|
1302
|
-
}>;
|
|
1303
|
-
metadata: {
|
|
1304
|
-
[key: string]: string;
|
|
1305
|
-
};
|
|
1306
|
-
model: {
|
|
1410
|
+
mcp_servers: Array<Types.AgentManaged36>;
|
|
1411
|
+
metadata: Types.AgentManaged37;
|
|
1412
|
+
model?: {
|
|
1307
1413
|
id: string;
|
|
1308
|
-
effort?:
|
|
1309
|
-
type: "low";
|
|
1310
|
-
} | {
|
|
1311
|
-
type: "medium";
|
|
1312
|
-
} | {
|
|
1313
|
-
type: "high";
|
|
1314
|
-
} | {
|
|
1315
|
-
type: "xhigh";
|
|
1316
|
-
} | {
|
|
1317
|
-
type: "max";
|
|
1318
|
-
};
|
|
1414
|
+
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1319
1415
|
inference_geo?: string;
|
|
1320
1416
|
speed?: "standard" | "fast";
|
|
1321
1417
|
settings?: {
|
|
1322
1418
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1323
1419
|
};
|
|
1324
1420
|
};
|
|
1325
|
-
multiagent
|
|
1326
|
-
agents: Array<{
|
|
1327
|
-
id: string;
|
|
1328
|
-
type: "agent";
|
|
1329
|
-
version: number;
|
|
1330
|
-
} | {
|
|
1331
|
-
model: string;
|
|
1332
|
-
type: "advisor";
|
|
1333
|
-
}>;
|
|
1334
|
-
type: "coordinator";
|
|
1335
|
-
};
|
|
1421
|
+
multiagent?: null | Types.AgentManaged39;
|
|
1336
1422
|
name: string;
|
|
1337
|
-
skills: Array<
|
|
1338
|
-
skill_id: string;
|
|
1339
|
-
type: "anthropic";
|
|
1340
|
-
version: string;
|
|
1341
|
-
} | {
|
|
1342
|
-
skill_id: string;
|
|
1343
|
-
type: "custom";
|
|
1344
|
-
version: string;
|
|
1345
|
-
}>;
|
|
1423
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
1346
1424
|
system: null | string;
|
|
1347
|
-
tools: Array<
|
|
1348
|
-
configs: Array<{
|
|
1349
|
-
enabled: boolean;
|
|
1350
|
-
name: "bash";
|
|
1351
|
-
permission_policy: {
|
|
1352
|
-
type: "always_allow";
|
|
1353
|
-
} | {
|
|
1354
|
-
type: "always_ask";
|
|
1355
|
-
} | {
|
|
1356
|
-
type: "auto";
|
|
1357
|
-
};
|
|
1358
|
-
type: "bash";
|
|
1359
|
-
} | {
|
|
1360
|
-
enabled: boolean;
|
|
1361
|
-
name: "edit";
|
|
1362
|
-
permission_policy: {
|
|
1363
|
-
type: "always_allow";
|
|
1364
|
-
} | {
|
|
1365
|
-
type: "always_ask";
|
|
1366
|
-
} | {
|
|
1367
|
-
type: "auto";
|
|
1368
|
-
};
|
|
1369
|
-
type: "edit";
|
|
1370
|
-
} | {
|
|
1371
|
-
enabled: boolean;
|
|
1372
|
-
name: "read";
|
|
1373
|
-
permission_policy: {
|
|
1374
|
-
type: "always_allow";
|
|
1375
|
-
} | {
|
|
1376
|
-
type: "always_ask";
|
|
1377
|
-
} | {
|
|
1378
|
-
type: "auto";
|
|
1379
|
-
};
|
|
1380
|
-
type: "read";
|
|
1381
|
-
} | {
|
|
1382
|
-
enabled: boolean;
|
|
1383
|
-
name: "write";
|
|
1384
|
-
permission_policy: {
|
|
1385
|
-
type: "always_allow";
|
|
1386
|
-
} | {
|
|
1387
|
-
type: "always_ask";
|
|
1388
|
-
} | {
|
|
1389
|
-
type: "auto";
|
|
1390
|
-
};
|
|
1391
|
-
type: "write";
|
|
1392
|
-
} | {
|
|
1393
|
-
enabled: boolean;
|
|
1394
|
-
name: "glob";
|
|
1395
|
-
permission_policy: {
|
|
1396
|
-
type: "always_allow";
|
|
1397
|
-
} | {
|
|
1398
|
-
type: "always_ask";
|
|
1399
|
-
} | {
|
|
1400
|
-
type: "auto";
|
|
1401
|
-
};
|
|
1402
|
-
type: "glob";
|
|
1403
|
-
} | {
|
|
1404
|
-
enabled: boolean;
|
|
1405
|
-
name: "grep";
|
|
1406
|
-
permission_policy: {
|
|
1407
|
-
type: "always_allow";
|
|
1408
|
-
} | {
|
|
1409
|
-
type: "always_ask";
|
|
1410
|
-
} | {
|
|
1411
|
-
type: "auto";
|
|
1412
|
-
};
|
|
1413
|
-
type: "grep";
|
|
1414
|
-
} | {
|
|
1415
|
-
enabled: boolean;
|
|
1416
|
-
name: "web_fetch";
|
|
1417
|
-
permission_policy: {
|
|
1418
|
-
type: "always_allow";
|
|
1419
|
-
} | {
|
|
1420
|
-
type: "always_ask";
|
|
1421
|
-
} | {
|
|
1422
|
-
type: "auto";
|
|
1423
|
-
};
|
|
1424
|
-
type: "web_fetch";
|
|
1425
|
-
allowed_domains?: Array<string>;
|
|
1426
|
-
blocked_domains?: Array<string>;
|
|
1427
|
-
max_content_tokens?: null | number;
|
|
1428
|
-
} | {
|
|
1429
|
-
enabled: boolean;
|
|
1430
|
-
name: "web_search";
|
|
1431
|
-
permission_policy: {
|
|
1432
|
-
type: "always_allow";
|
|
1433
|
-
} | {
|
|
1434
|
-
type: "always_ask";
|
|
1435
|
-
} | {
|
|
1436
|
-
type: "auto";
|
|
1437
|
-
};
|
|
1438
|
-
type: "web_search";
|
|
1439
|
-
allowed_domains?: Array<string>;
|
|
1440
|
-
blocked_domains?: Array<string>;
|
|
1441
|
-
user_location?: null | {
|
|
1442
|
-
type: "approximate";
|
|
1443
|
-
city?: null | string;
|
|
1444
|
-
country?: null | string;
|
|
1445
|
-
region?: null | string;
|
|
1446
|
-
timezone?: null | string;
|
|
1447
|
-
};
|
|
1448
|
-
} | {
|
|
1449
|
-
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
1450
|
-
enabled: boolean;
|
|
1451
|
-
permission_policy: {
|
|
1452
|
-
type: "always_allow" | "always_ask";
|
|
1453
|
-
};
|
|
1454
|
-
}>;
|
|
1455
|
-
default_config: {
|
|
1456
|
-
enabled: boolean;
|
|
1457
|
-
permission_policy: {
|
|
1458
|
-
type: "always_allow";
|
|
1459
|
-
} | {
|
|
1460
|
-
type: "always_ask";
|
|
1461
|
-
} | {
|
|
1462
|
-
type: "auto";
|
|
1463
|
-
};
|
|
1464
|
-
};
|
|
1465
|
-
type: "agent_toolset_20260401";
|
|
1466
|
-
} | {
|
|
1467
|
-
type: "mcp_toolset";
|
|
1468
|
-
mcp_server_name: string;
|
|
1469
|
-
default_config?: {
|
|
1470
|
-
enabled?: boolean | null;
|
|
1471
|
-
permission_policy?: null | {
|
|
1472
|
-
type: "always_allow" | "always_ask";
|
|
1473
|
-
};
|
|
1474
|
-
} | null;
|
|
1475
|
-
configs?: Array<{
|
|
1476
|
-
name: string;
|
|
1477
|
-
enabled?: boolean | null;
|
|
1478
|
-
permission_policy?: null | {
|
|
1479
|
-
type: "always_allow" | "always_ask";
|
|
1480
|
-
};
|
|
1481
|
-
}> | null;
|
|
1482
|
-
} | {
|
|
1483
|
-
description: string;
|
|
1484
|
-
input_schema: {
|
|
1485
|
-
type: "object";
|
|
1486
|
-
properties?: null | {
|
|
1487
|
-
[key: string]: unknown;
|
|
1488
|
-
};
|
|
1489
|
-
required?: null | Array<string>;
|
|
1490
|
-
[key: string]: unknown;
|
|
1491
|
-
};
|
|
1492
|
-
name: string;
|
|
1493
|
-
type: "custom";
|
|
1494
|
-
}>;
|
|
1425
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
1495
1426
|
type: "agent";
|
|
1496
1427
|
updated_at: string;
|
|
1497
1428
|
version: number;
|
|
1429
|
+
latest_version?: number;
|
|
1498
1430
|
active_version: number;
|
|
1499
1431
|
created_by: {
|
|
1500
1432
|
type: "user";
|
|
@@ -1510,14 +1442,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
1510
1442
|
id: string;
|
|
1511
1443
|
access: "read_only" | "read_write" | "invoke";
|
|
1512
1444
|
instructions?: string;
|
|
1445
|
+
readonly verified?: boolean;
|
|
1513
1446
|
enabled?: boolean;
|
|
1514
1447
|
} | {
|
|
1515
1448
|
type: "search" | "browser";
|
|
1449
|
+
readonly verified?: boolean;
|
|
1516
1450
|
enabled?: boolean;
|
|
1517
1451
|
}>;
|
|
1518
|
-
kind: "personal" | "service";
|
|
1452
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
1519
1453
|
computer_id?: string;
|
|
1520
1454
|
subagent_model?: string | null;
|
|
1455
|
+
image_model?: string | null;
|
|
1521
1456
|
subagents?: Array<{
|
|
1522
1457
|
name: string;
|
|
1523
1458
|
description: string;
|
|
@@ -1616,6 +1551,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1616
1551
|
mcpServers?: Array<string>;
|
|
1617
1552
|
hooks?: Array<string>;
|
|
1618
1553
|
};
|
|
1554
|
+
idleCompaction?: boolean;
|
|
1555
|
+
outputStyle?: string;
|
|
1619
1556
|
} | null;
|
|
1620
1557
|
models?: {
|
|
1621
1558
|
allowed: Array<string>;
|
|
@@ -1626,6 +1563,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
1626
1563
|
environment_id?: string | null;
|
|
1627
1564
|
vault_ids?: Array<string>;
|
|
1628
1565
|
status: "active" | "archived";
|
|
1566
|
+
output_styles?: Array<{
|
|
1567
|
+
name: string;
|
|
1568
|
+
description?: string;
|
|
1569
|
+
prompt: string;
|
|
1570
|
+
keep_coding_instructions?: boolean;
|
|
1571
|
+
}> | null;
|
|
1629
1572
|
}>;
|
|
1630
1573
|
list: (options: import("./core/transport.js").CallOptions<Types.AgentsVersionsListData>) => Promise<{
|
|
1631
1574
|
data: Array<{
|
|
@@ -1635,7 +1578,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1635
1578
|
description: null | string;
|
|
1636
1579
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
1637
1580
|
metadata: Types.AgentManaged37;
|
|
1638
|
-
model
|
|
1581
|
+
model?: {
|
|
1639
1582
|
id: string;
|
|
1640
1583
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1641
1584
|
inference_geo?: string;
|
|
@@ -1644,7 +1587,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1644
1587
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1645
1588
|
};
|
|
1646
1589
|
};
|
|
1647
|
-
multiagent
|
|
1590
|
+
multiagent?: null | Types.AgentManaged39;
|
|
1648
1591
|
name: string;
|
|
1649
1592
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
1650
1593
|
system: null | string;
|
|
@@ -1668,14 +1611,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
1668
1611
|
id: string;
|
|
1669
1612
|
access: "read_only" | "read_write" | "invoke";
|
|
1670
1613
|
instructions?: string;
|
|
1614
|
+
readonly verified?: boolean;
|
|
1671
1615
|
enabled?: boolean;
|
|
1672
1616
|
} | {
|
|
1673
1617
|
type: "search" | "browser";
|
|
1618
|
+
readonly verified?: boolean;
|
|
1674
1619
|
enabled?: boolean;
|
|
1675
1620
|
}>;
|
|
1676
|
-
kind: "personal" | "service";
|
|
1621
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
1677
1622
|
computer_id?: string;
|
|
1678
1623
|
subagent_model?: string | null;
|
|
1624
|
+
image_model?: string | null;
|
|
1679
1625
|
subagents?: Array<{
|
|
1680
1626
|
name: string;
|
|
1681
1627
|
description: string;
|
|
@@ -1774,6 +1720,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1774
1720
|
mcpServers?: Array<string>;
|
|
1775
1721
|
hooks?: Array<string>;
|
|
1776
1722
|
};
|
|
1723
|
+
idleCompaction?: boolean;
|
|
1724
|
+
outputStyle?: string;
|
|
1777
1725
|
} | null;
|
|
1778
1726
|
models?: {
|
|
1779
1727
|
allowed: Array<string>;
|
|
@@ -1784,6 +1732,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
1784
1732
|
environment_id?: string | null;
|
|
1785
1733
|
vault_ids?: Array<string>;
|
|
1786
1734
|
status: "active" | "archived";
|
|
1735
|
+
output_styles?: Array<{
|
|
1736
|
+
name: string;
|
|
1737
|
+
description?: string;
|
|
1738
|
+
prompt: string;
|
|
1739
|
+
keep_coding_instructions?: boolean;
|
|
1740
|
+
}> | null;
|
|
1787
1741
|
}>;
|
|
1788
1742
|
next_page: string | null;
|
|
1789
1743
|
}>;
|
|
@@ -1929,7 +1883,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1929
1883
|
} | {
|
|
1930
1884
|
id: string;
|
|
1931
1885
|
type: "agent_with_overrides";
|
|
1932
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1886
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
1933
1887
|
cwd?: string;
|
|
1934
1888
|
model?: string | {
|
|
1935
1889
|
id: string;
|
|
@@ -1966,7 +1920,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1966
1920
|
} | {
|
|
1967
1921
|
id: string;
|
|
1968
1922
|
type: "agent_with_overrides";
|
|
1969
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1923
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
1970
1924
|
cwd?: string;
|
|
1971
1925
|
model?: string | {
|
|
1972
1926
|
id: string;
|
|
@@ -2004,7 +1958,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2004
1958
|
} | {
|
|
2005
1959
|
id: string;
|
|
2006
1960
|
type: "agent_with_overrides";
|
|
2007
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1961
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2008
1962
|
cwd?: string;
|
|
2009
1963
|
model?: string | {
|
|
2010
1964
|
id: string;
|
|
@@ -2043,7 +1997,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2043
1997
|
} | {
|
|
2044
1998
|
id: string;
|
|
2045
1999
|
type: "agent_with_overrides";
|
|
2046
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
2000
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2047
2001
|
cwd?: string;
|
|
2048
2002
|
model?: string | {
|
|
2049
2003
|
id: string;
|
|
@@ -2080,7 +2034,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2080
2034
|
} | {
|
|
2081
2035
|
id: string;
|
|
2082
2036
|
type: "agent_with_overrides";
|
|
2083
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
2037
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2084
2038
|
cwd?: string;
|
|
2085
2039
|
model?: string | {
|
|
2086
2040
|
id: string;
|
|
@@ -2121,7 +2075,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2121
2075
|
} | {
|
|
2122
2076
|
id: string;
|
|
2123
2077
|
type: "agent_with_overrides";
|
|
2124
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
2078
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2125
2079
|
cwd?: string;
|
|
2126
2080
|
model?: string | {
|
|
2127
2081
|
id: string;
|
|
@@ -2159,7 +2113,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2159
2113
|
} | {
|
|
2160
2114
|
id: string;
|
|
2161
2115
|
type: "agent_with_overrides";
|
|
2162
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
2116
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2163
2117
|
cwd?: string;
|
|
2164
2118
|
model?: string | {
|
|
2165
2119
|
id: string;
|
|
@@ -2188,122 +2142,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2188
2142
|
};
|
|
2189
2143
|
}>;
|
|
2190
2144
|
};
|
|
2191
|
-
embed: {
|
|
2192
|
-
exchange: {
|
|
2193
|
-
create: (options: import("./core/transport.js").CallOptions<Types.ExchangeEmbedCodeData>) => Promise<{
|
|
2194
|
-
token: string;
|
|
2195
|
-
expires_at: string;
|
|
2196
|
-
}>;
|
|
2197
|
-
};
|
|
2198
|
-
retrieveAppearance: (options?: import("./core/transport.js").CallOptions<Types.GetEmbedAppearanceData> | undefined) => Promise<{
|
|
2199
|
-
agent?: {
|
|
2200
|
-
name?: string;
|
|
2201
|
-
avatar?: string;
|
|
2202
|
-
};
|
|
2203
|
-
layout?: "inline" | "sidebar" | "popup" | "modal";
|
|
2204
|
-
launcher?: {
|
|
2205
|
-
type: "none" | "bubble" | "mascot";
|
|
2206
|
-
pack?: {
|
|
2207
|
-
preset?: "mint" | "cat" | "bot";
|
|
2208
|
-
images?: {
|
|
2209
|
-
idle: string;
|
|
2210
|
-
greet?: string;
|
|
2211
|
-
listening?: string;
|
|
2212
|
-
thinking?: string;
|
|
2213
|
-
talking?: string;
|
|
2214
|
-
"talking-2"?: string;
|
|
2215
|
-
sorry?: string;
|
|
2216
|
-
sleep?: string;
|
|
2217
|
-
};
|
|
2218
|
-
};
|
|
2219
|
-
image?: string;
|
|
2220
|
-
motion?: "float" | "none";
|
|
2221
|
-
position?: "bottom-right" | "bottom-left";
|
|
2222
|
-
label?: string;
|
|
2223
|
-
};
|
|
2224
|
-
header?: {
|
|
2225
|
-
title?: string;
|
|
2226
|
-
subtitle?: string;
|
|
2227
|
-
icon?: string;
|
|
2228
|
-
};
|
|
2229
|
-
theme?: {
|
|
2230
|
-
colorScheme?: "light" | "dark" | "system";
|
|
2231
|
-
accent?: string;
|
|
2232
|
-
surface?: string;
|
|
2233
|
-
grayscale?: "neutral" | "warm" | "cool";
|
|
2234
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
2235
|
-
density?: "compact" | "normal" | "spacious";
|
|
2236
|
-
fontFamily?: string;
|
|
2237
|
-
fontSize?: number;
|
|
2238
|
-
};
|
|
2239
|
-
locale?: "zh" | "en";
|
|
2240
|
-
startScreen?: {
|
|
2241
|
-
greeting?: string;
|
|
2242
|
-
prompts?: Array<{
|
|
2243
|
-
label: string;
|
|
2244
|
-
prompt: string;
|
|
2245
|
-
}>;
|
|
2246
|
-
};
|
|
2247
|
-
composer?: {
|
|
2248
|
-
placeholder?: string;
|
|
2249
|
-
};
|
|
2250
|
-
disclaimer?: string;
|
|
2251
|
-
footer?: string;
|
|
2252
|
-
history?: {
|
|
2253
|
-
enabled?: boolean;
|
|
2254
|
-
};
|
|
2255
|
-
}>;
|
|
2256
|
-
};
|
|
2257
|
-
embedTokens: {
|
|
2258
|
-
anonymous: {
|
|
2259
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CreateAnonymousEmbedTokenData>) => Promise<{
|
|
2260
|
-
token: string;
|
|
2261
|
-
expires_at: string;
|
|
2262
|
-
visitor_secret?: string;
|
|
2263
|
-
}>;
|
|
2264
|
-
};
|
|
2265
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CreateEmbedTokenData>) => Promise<{
|
|
2266
|
-
hosted_url?: string;
|
|
2267
|
-
id: string;
|
|
2268
|
-
token: string;
|
|
2269
|
-
expires_at: string;
|
|
2270
|
-
}>;
|
|
2271
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListEmbedTokensData> | undefined) => Promise<{
|
|
2272
|
-
data: Array<{
|
|
2273
|
-
id: string;
|
|
2274
|
-
type: "embed_token";
|
|
2275
|
-
agent_id: string;
|
|
2276
|
-
agent_version: number;
|
|
2277
|
-
external_user_id: string;
|
|
2278
|
-
created_at: string;
|
|
2279
|
-
expires_at: string;
|
|
2280
|
-
revoked_at: string | null;
|
|
2281
|
-
host_origin: string | null;
|
|
2282
|
-
issued_by: {
|
|
2283
|
-
type: "user" | "api_key";
|
|
2284
|
-
id: string;
|
|
2285
|
-
};
|
|
2286
|
-
}>;
|
|
2287
|
-
next_page: string | null;
|
|
2288
|
-
}>;
|
|
2289
|
-
revoke: {
|
|
2290
|
-
create: (options: import("./core/transport.js").CallOptions<Types.RevokeEmbedTokenData>) => Promise<{
|
|
2291
|
-
id: string;
|
|
2292
|
-
type: "embed_token";
|
|
2293
|
-
agent_id: string;
|
|
2294
|
-
agent_version: number;
|
|
2295
|
-
external_user_id: string;
|
|
2296
|
-
created_at: string;
|
|
2297
|
-
expires_at: string;
|
|
2298
|
-
revoked_at: string | null;
|
|
2299
|
-
host_origin: string | null;
|
|
2300
|
-
issued_by: {
|
|
2301
|
-
type: "user" | "api_key";
|
|
2302
|
-
id: string;
|
|
2303
|
-
};
|
|
2304
|
-
}>;
|
|
2305
|
-
};
|
|
2306
|
-
};
|
|
2307
2145
|
environments: {
|
|
2308
2146
|
archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
|
|
2309
2147
|
create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
|
|
@@ -2410,21 +2248,27 @@ export declare function createAgent(transport: Transport): {
|
|
|
2410
2248
|
compact: (options: import("./core/transport.js").CallOptions<Types.CompactSessionData>) => Promise<{
|
|
2411
2249
|
type: "session_compaction";
|
|
2412
2250
|
id: string;
|
|
2413
|
-
status: "queued" | "running" | "skipped" | "succeeded" | "failed";
|
|
2251
|
+
status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
|
|
2414
2252
|
reason?: string;
|
|
2415
2253
|
} | {
|
|
2416
2254
|
type: "session_compaction";
|
|
2417
2255
|
id: string;
|
|
2418
|
-
status: "queued" | "running" | "skipped" | "succeeded" | "failed";
|
|
2256
|
+
status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
|
|
2419
2257
|
reason?: string;
|
|
2420
2258
|
}>;
|
|
2421
2259
|
compactions: {
|
|
2422
2260
|
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionCompactionsData>) => Promise<{
|
|
2261
|
+
active: {
|
|
2262
|
+
type: "session_compaction";
|
|
2263
|
+
id: string;
|
|
2264
|
+
status: "queued" | "running";
|
|
2265
|
+
trigger: "manual" | "auto" | "idle";
|
|
2266
|
+
} | null;
|
|
2423
2267
|
data: Array<{
|
|
2424
2268
|
type: "context_compaction";
|
|
2425
2269
|
id: string;
|
|
2426
2270
|
event_id: string | null;
|
|
2427
|
-
trigger: "auto" | "manual" | "model_downshift";
|
|
2271
|
+
trigger: "auto" | "manual" | "model_downshift" | "idle";
|
|
2428
2272
|
status: "succeeded" | "failed";
|
|
2429
2273
|
model: string;
|
|
2430
2274
|
compacted_message_count: number;
|
|
@@ -2535,6 +2379,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2535
2379
|
run_id: string | null;
|
|
2536
2380
|
message_id?: string;
|
|
2537
2381
|
} | {
|
|
2382
|
+
full_access_available?: boolean;
|
|
2538
2383
|
id: string;
|
|
2539
2384
|
input: Types.AgentManaged197;
|
|
2540
2385
|
mcp_server_name: string;
|
|
@@ -2557,6 +2402,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
2557
2402
|
};
|
|
2558
2403
|
source?: "app" | "codemode";
|
|
2559
2404
|
parent_tool_use_id?: string;
|
|
2405
|
+
user_once?: true;
|
|
2406
|
+
guarded_rule?: string;
|
|
2407
|
+
permission_suggestions?: Array<{
|
|
2408
|
+
type: "add_rules";
|
|
2409
|
+
behavior: "allow";
|
|
2410
|
+
destination: "agent" | "session";
|
|
2411
|
+
rules: Array<{
|
|
2412
|
+
tool_name: string;
|
|
2413
|
+
rule_content: string;
|
|
2414
|
+
}>;
|
|
2415
|
+
}>;
|
|
2560
2416
|
title?: string;
|
|
2561
2417
|
input_titles?: {
|
|
2562
2418
|
[key: string]: string;
|
|
@@ -2575,6 +2431,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2575
2431
|
};
|
|
2576
2432
|
source?: "app" | "codemode";
|
|
2577
2433
|
} | {
|
|
2434
|
+
full_access_available?: boolean;
|
|
2578
2435
|
id: string;
|
|
2579
2436
|
input: Types.AgentManaged206;
|
|
2580
2437
|
name: string;
|
|
@@ -2584,6 +2441,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
2584
2441
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
2585
2442
|
session_thread_id?: null | string;
|
|
2586
2443
|
run_id: string | null;
|
|
2444
|
+
user_once?: true;
|
|
2445
|
+
guarded_rule?: string;
|
|
2446
|
+
permission_suggestions?: Array<{
|
|
2447
|
+
type: "add_rules";
|
|
2448
|
+
behavior: "allow";
|
|
2449
|
+
destination: "agent" | "session";
|
|
2450
|
+
rules: Array<{
|
|
2451
|
+
tool_name: string;
|
|
2452
|
+
rule_content: string;
|
|
2453
|
+
}>;
|
|
2454
|
+
}>;
|
|
2587
2455
|
} | {
|
|
2588
2456
|
id: string;
|
|
2589
2457
|
processed_at: string;
|
|
@@ -2604,6 +2472,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
2604
2472
|
type: "session.status_idle";
|
|
2605
2473
|
run_id: string | null;
|
|
2606
2474
|
} | 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 | {
|
|
2475
|
+
permission_mode_version?: number;
|
|
2476
|
+
previous_permission_mode?: string | null;
|
|
2477
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2607
2478
|
id: string;
|
|
2608
2479
|
processed_at: string;
|
|
2609
2480
|
type: "session.updated";
|
|
@@ -3225,10 +3096,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
3225
3096
|
web_fetch_requests?: number;
|
|
3226
3097
|
web_search_requests?: number;
|
|
3227
3098
|
};
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
currency: "USD";
|
|
3099
|
+
cost_by_product?: {
|
|
3100
|
+
[key: string]: string;
|
|
3231
3101
|
};
|
|
3102
|
+
subagent_cost_micro_usd?: number;
|
|
3232
3103
|
};
|
|
3233
3104
|
vault_ids: Array<string>;
|
|
3234
3105
|
deployment_id?: null | string;
|
|
@@ -3391,7 +3262,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3391
3262
|
retrieveCompact: (options: import("./core/transport.js").CallOptions<Types.GetSessionCompactionData>) => Promise<{
|
|
3392
3263
|
type: "session_compaction";
|
|
3393
3264
|
id: string;
|
|
3394
|
-
status: "queued" | "running" | "skipped" | "succeeded" | "failed";
|
|
3265
|
+
status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
|
|
3395
3266
|
reason?: string;
|
|
3396
3267
|
}>;
|
|
3397
3268
|
retrieveContext: (options: import("./core/transport.js").CallOptions<Types.GetSessionContextData>) => Promise<{
|
|
@@ -3515,6 +3386,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3515
3386
|
run_id: string | null;
|
|
3516
3387
|
message_id?: string;
|
|
3517
3388
|
} | {
|
|
3389
|
+
full_access_available?: boolean;
|
|
3518
3390
|
id: string;
|
|
3519
3391
|
input: Types.AgentManaged197;
|
|
3520
3392
|
mcp_server_name: string;
|
|
@@ -3537,6 +3409,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
3537
3409
|
};
|
|
3538
3410
|
};
|
|
3539
3411
|
source?: "app" | "codemode";
|
|
3412
|
+
user_once?: true;
|
|
3413
|
+
guarded_rule?: string;
|
|
3414
|
+
permission_suggestions?: Array<{
|
|
3415
|
+
type: "add_rules";
|
|
3416
|
+
behavior: "allow";
|
|
3417
|
+
destination: "agent" | "session";
|
|
3418
|
+
rules: Array<{
|
|
3419
|
+
tool_name: string;
|
|
3420
|
+
rule_content: string;
|
|
3421
|
+
}>;
|
|
3422
|
+
}>;
|
|
3540
3423
|
title?: string;
|
|
3541
3424
|
input_titles?: {
|
|
3542
3425
|
[key: string]: string;
|
|
@@ -3555,6 +3438,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3555
3438
|
};
|
|
3556
3439
|
source?: "app" | "codemode";
|
|
3557
3440
|
} | {
|
|
3441
|
+
full_access_available?: boolean;
|
|
3558
3442
|
id: string;
|
|
3559
3443
|
input: Types.AgentManaged206;
|
|
3560
3444
|
name: string;
|
|
@@ -3564,6 +3448,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
3564
3448
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
3565
3449
|
session_thread_id?: null | string;
|
|
3566
3450
|
run_id: string | null;
|
|
3451
|
+
user_once?: true;
|
|
3452
|
+
guarded_rule?: string;
|
|
3453
|
+
permission_suggestions?: Array<{
|
|
3454
|
+
type: "add_rules";
|
|
3455
|
+
behavior: "allow";
|
|
3456
|
+
destination: "agent" | "session";
|
|
3457
|
+
rules: Array<{
|
|
3458
|
+
tool_name: string;
|
|
3459
|
+
rule_content: string;
|
|
3460
|
+
}>;
|
|
3461
|
+
}>;
|
|
3567
3462
|
} | {
|
|
3568
3463
|
id: string;
|
|
3569
3464
|
processed_at: string;
|
|
@@ -3584,6 +3479,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
3584
3479
|
type: "session.status_idle";
|
|
3585
3480
|
run_id: string | null;
|
|
3586
3481
|
} | 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 | {
|
|
3482
|
+
permission_mode_version?: number;
|
|
3483
|
+
previous_permission_mode?: string | null;
|
|
3484
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
3587
3485
|
id: string;
|
|
3588
3486
|
processed_at: string;
|
|
3589
3487
|
type: "session.updated";
|
|
@@ -3852,6 +3750,13 @@ export declare function createAutomation(transport: Transport): {
|
|
|
3852
3750
|
hooks: {
|
|
3853
3751
|
send: (options: import("./core/transport.js").CallOptions<Types.AutomationHooksReceiveData>) => Promise<Types.AutomationFiring>;
|
|
3854
3752
|
};
|
|
3753
|
+
humanTasks: {
|
|
3754
|
+
cancel: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksCancelData>) => Promise<Types.AutomationHumanTask>;
|
|
3755
|
+
delegate: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksDelegateData>) => Promise<Types.AutomationHumanTask>;
|
|
3756
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksListData> | undefined) => Promise<import("./automation.js").Page<Types.AutomationHumanTask>>;
|
|
3757
|
+
respond: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksRespondData>) => Promise<Types.AutomationHumanTask>;
|
|
3758
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksGetData>) => Promise<Types.AutomationHumanTask>;
|
|
3759
|
+
};
|
|
3855
3760
|
resolve: {
|
|
3856
3761
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationResolveResolveData>) => Promise<Types.AutomationResolveResult>;
|
|
3857
3762
|
};
|
|
@@ -3918,6 +3823,33 @@ export declare function createAutomation(transport: Transport): {
|
|
|
3918
3823
|
restore: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsRestoreData>) => Promise<Types.AutomationDefinition>;
|
|
3919
3824
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsGetData>) => Promise<Types.AutomationDefinitionDetail>;
|
|
3920
3825
|
update: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsPatchData>) => Promise<Types.AutomationDefinitionDetail>;
|
|
3826
|
+
vaults: {
|
|
3827
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsDeleteData>) => Promise<void>;
|
|
3828
|
+
list: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsListData>) => Promise<{
|
|
3829
|
+
data: Array<{
|
|
3830
|
+
alias: string;
|
|
3831
|
+
vault: {
|
|
3832
|
+
id: string;
|
|
3833
|
+
name: string;
|
|
3834
|
+
};
|
|
3835
|
+
secrets: Array<{
|
|
3836
|
+
name: string;
|
|
3837
|
+
}>;
|
|
3838
|
+
secrets_unavailable?: true;
|
|
3839
|
+
}>;
|
|
3840
|
+
}>;
|
|
3841
|
+
set: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsSetData>) => Promise<{
|
|
3842
|
+
alias: string;
|
|
3843
|
+
vault: {
|
|
3844
|
+
id: string;
|
|
3845
|
+
name: string;
|
|
3846
|
+
};
|
|
3847
|
+
secrets: Array<{
|
|
3848
|
+
name: string;
|
|
3849
|
+
}>;
|
|
3850
|
+
secrets_unavailable?: true;
|
|
3851
|
+
}>;
|
|
3852
|
+
};
|
|
3921
3853
|
versions: {
|
|
3922
3854
|
create: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsPublishData>) => Promise<Types.AutomationVersion>;
|
|
3923
3855
|
deprecate: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsDeprecateData>) => Promise<Types.AutomationVersion>;
|
|
@@ -3965,6 +3897,33 @@ export declare function createAutomation(transport: Transport): {
|
|
|
3965
3897
|
restore: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsRestoreData>) => Promise<Types.AutomationDefinition>;
|
|
3966
3898
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsGetData>) => Promise<Types.AutomationDefinitionDetail>;
|
|
3967
3899
|
update: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsPatchData>) => Promise<Types.AutomationDefinitionDetail>;
|
|
3900
|
+
vaults: {
|
|
3901
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsDeleteData>) => Promise<void>;
|
|
3902
|
+
list: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsListData>) => Promise<{
|
|
3903
|
+
data: Array<{
|
|
3904
|
+
alias: string;
|
|
3905
|
+
vault: {
|
|
3906
|
+
id: string;
|
|
3907
|
+
name: string;
|
|
3908
|
+
};
|
|
3909
|
+
secrets: Array<{
|
|
3910
|
+
name: string;
|
|
3911
|
+
}>;
|
|
3912
|
+
secrets_unavailable?: true;
|
|
3913
|
+
}>;
|
|
3914
|
+
}>;
|
|
3915
|
+
set: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsSetData>) => Promise<{
|
|
3916
|
+
alias: string;
|
|
3917
|
+
vault: {
|
|
3918
|
+
id: string;
|
|
3919
|
+
name: string;
|
|
3920
|
+
};
|
|
3921
|
+
secrets: Array<{
|
|
3922
|
+
name: string;
|
|
3923
|
+
}>;
|
|
3924
|
+
secrets_unavailable?: true;
|
|
3925
|
+
}>;
|
|
3926
|
+
};
|
|
3968
3927
|
versions: {
|
|
3969
3928
|
create: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsPublishData>) => Promise<Types.AutomationVersion>;
|
|
3970
3929
|
deprecate: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsDeprecateData>) => Promise<Types.AutomationVersion>;
|
|
@@ -4023,6 +3982,75 @@ export declare function createBrowser(transport: Transport): {
|
|
|
4023
3982
|
};
|
|
4024
3983
|
};
|
|
4025
3984
|
};
|
|
3985
|
+
export declare function createCanvas(transport: Transport): {
|
|
3986
|
+
canvases: {
|
|
3987
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.CanvasCreateCanvasData> | undefined) => Promise<Types.CanvasCanvas>;
|
|
3988
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CanvasDeleteCanvasData>) => Promise<Types.CanvasDeletedCanvas>;
|
|
3989
|
+
execute: (options: import("./core/transport.js").CallOptions<Types.CanvasExecuteData>) => Promise<Types.CanvasExecuteResult>;
|
|
3990
|
+
images: {
|
|
3991
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListImagesData>) => Promise<Types.CanvasImagesResult>;
|
|
3992
|
+
};
|
|
3993
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListCanvasesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasCanvas>>;
|
|
3994
|
+
nodes: {
|
|
3995
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListNodesData>) => Promise<Types.CanvasNodesResult>;
|
|
3996
|
+
};
|
|
3997
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.CanvasRestoreCanvasData>) => Promise<Types.CanvasRestoreResult>;
|
|
3998
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCanvasData>) => Promise<Types.CanvasCanvasDetail>;
|
|
3999
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCanvasData>) => Promise<Types.CanvasCanvas>;
|
|
4000
|
+
versions: {
|
|
4001
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListVersionsData>) => Promise<Types.CanvasVersionPage>;
|
|
4002
|
+
};
|
|
4003
|
+
};
|
|
4004
|
+
collections: {
|
|
4005
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CanvasCreateCollectionData>) => Promise<Types.CanvasCollection>;
|
|
4006
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CanvasDeleteCollectionData>) => Promise<Types.CanvasDeletedCollection>;
|
|
4007
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListCollectionsData> | undefined) => Promise<Types.CanvasCollectionPage>;
|
|
4008
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCollectionData>) => Promise<Types.CanvasCollection>;
|
|
4009
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
|
|
4010
|
+
};
|
|
4011
|
+
};
|
|
4012
|
+
export declare function createCut(transport: Transport): {
|
|
4013
|
+
exports: {
|
|
4014
|
+
cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
|
|
4015
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveExportData>) => Promise<Types.CutExport>;
|
|
4016
|
+
};
|
|
4017
|
+
projects: {
|
|
4018
|
+
analysis: {
|
|
4019
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateAnalysisData>) => Promise<Types.CutAnalysisResult>;
|
|
4020
|
+
};
|
|
4021
|
+
bindings: {
|
|
4022
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateBindingData>) => Promise<Types.CutBinding>;
|
|
4023
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CutDeleteBindingData>) => Promise<Types.CutDeletedBinding>;
|
|
4024
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CutListBindingsData>) => Promise<Types.CutBindingsResult>;
|
|
4025
|
+
};
|
|
4026
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateProjectData>) => Promise<Types.CutProject>;
|
|
4027
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CutDeleteProjectData>) => Promise<Types.CutProject>;
|
|
4028
|
+
execute: (options: import("./core/transport.js").CallOptions<Types.CutExecuteData>) => Promise<Types.CutExecuteResult>;
|
|
4029
|
+
exports: {
|
|
4030
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateExportData>) => Promise<Types.CutExport>;
|
|
4031
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CutListExportsData>) => Promise<Types.CutExportPage>;
|
|
4032
|
+
};
|
|
4033
|
+
frames: {
|
|
4034
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CutListFramesData>) => Promise<Types.CutFramesResult>;
|
|
4035
|
+
};
|
|
4036
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CutListProjectsData> | undefined) => Promise<Types.CutProjectPage>;
|
|
4037
|
+
media: {
|
|
4038
|
+
import: (options: import("./core/transport.js").CallOptions<Types.CutImportMediaData>) => Promise<Types.CutImportedMedia>;
|
|
4039
|
+
};
|
|
4040
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveProjectData>) => Promise<Types.CutProjectDetail>;
|
|
4041
|
+
retrieveState: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveStateData>) => Promise<Types.CutState>;
|
|
4042
|
+
retrieveTimeline: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveTimelineData>) => Promise<Types.CutTimelineResult>;
|
|
4043
|
+
undelete: (options: import("./core/transport.js").CallOptions<Types.CutUndeleteProjectData>) => Promise<Types.CutProject>;
|
|
4044
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CutUpdateProjectData>) => Promise<Types.CutProject>;
|
|
4045
|
+
versions: {
|
|
4046
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateVersionData>) => Promise<Types.CutVersion>;
|
|
4047
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CutListVersionsData>) => Promise<Types.CutVersionPage>;
|
|
4048
|
+
};
|
|
4049
|
+
};
|
|
4050
|
+
versions: {
|
|
4051
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.CutRestoreVersionData>) => Promise<Types.CutTransaction>;
|
|
4052
|
+
};
|
|
4053
|
+
};
|
|
4026
4054
|
export declare function createDatabase(transport: Transport): {
|
|
4027
4055
|
databases: {
|
|
4028
4056
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
@@ -4070,6 +4098,17 @@ export declare function createDatabase(transport: Transport): {
|
|
|
4070
4098
|
};
|
|
4071
4099
|
export declare function createFile(transport: Transport): {
|
|
4072
4100
|
files: {
|
|
4101
|
+
contentLinks: {
|
|
4102
|
+
revoke: (options: import("./core/transport.js").CallOptions<Types.FileRevokeContentLinkData>) => Promise<{
|
|
4103
|
+
revoked: true;
|
|
4104
|
+
}>;
|
|
4105
|
+
};
|
|
4106
|
+
contentUrl: {
|
|
4107
|
+
create: (options: import("./core/transport.js").CallOptions<Types.FileCreateContentUrlData>) => Promise<{
|
|
4108
|
+
url: string;
|
|
4109
|
+
expires_at: string;
|
|
4110
|
+
}>;
|
|
4111
|
+
};
|
|
4073
4112
|
create: (options: import("./core/transport.js").CallOptions<Types.FileCreateFileData>) => Promise<Types.OwnFileOpenAiFile>;
|
|
4074
4113
|
delete: (options: import("./core/transport.js").CallOptions<Types.FileDeleteFileData>) => Promise<Types.OwnFileDeleteFileResponse>;
|
|
4075
4114
|
list: (options?: import("./core/transport.js").CallOptions<Types.FileListFilesData> | undefined) => Promise<Types.OwnFileListFilesResponse>;
|
|
@@ -4080,6 +4119,7 @@ export declare function createFile(transport: Transport): {
|
|
|
4080
4119
|
cancel: (options: import("./core/transport.js").CallOptions<Types.FileCancelUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
4081
4120
|
complete: (options: import("./core/transport.js").CallOptions<Types.FileCompleteUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
4082
4121
|
create: (options: import("./core/transport.js").CallOptions<Types.FileCreateUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
4122
|
+
createSigned: (options: import("./core/transport.js").CallOptions<Types.FileCreateSignedUploadData>) => Promise<Types.OwnFileSignedUploadResponse>;
|
|
4083
4123
|
parts: {
|
|
4084
4124
|
create: (options: import("./core/transport.js").CallOptions<Types.FileAddUploadPartData>) => Promise<Types.OwnFilePraxisUploadPart>;
|
|
4085
4125
|
};
|
|
@@ -4154,6 +4194,9 @@ export declare function createMedia(transport: Transport): {
|
|
|
4154
4194
|
};
|
|
4155
4195
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateLibraryData>) => Promise<Types.MediaLibrary>;
|
|
4156
4196
|
delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteLibraryData>) => Promise<Types.MediaLibrary>;
|
|
4197
|
+
deliveryTokens: {
|
|
4198
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateDeliveryTokenData>) => Promise<Types.MediaDeliveryToken>;
|
|
4199
|
+
};
|
|
4157
4200
|
events: {
|
|
4158
4201
|
list: (options: import("./core/transport.js").CallOptions<Types.MediaListEventsData>) => Promise<Types.MediaMediaEventPage>;
|
|
4159
4202
|
};
|
|
@@ -4185,6 +4228,20 @@ export declare function createMedia(transport: Transport): {
|
|
|
4185
4228
|
};
|
|
4186
4229
|
};
|
|
4187
4230
|
export declare function createMeta(transport: Transport): {
|
|
4231
|
+
docs: {
|
|
4232
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.MetaDocsRetrieveData>) => Promise<{
|
|
4233
|
+
path: string;
|
|
4234
|
+
title: string;
|
|
4235
|
+
url: string;
|
|
4236
|
+
markdown: string;
|
|
4237
|
+
}>;
|
|
4238
|
+
search: (options: import("./core/transport.js").CallOptions<Types.MetaDocsSearchData>) => Promise<{
|
|
4239
|
+
path: string;
|
|
4240
|
+
title: string;
|
|
4241
|
+
url: string;
|
|
4242
|
+
snippet: string;
|
|
4243
|
+
}[]>;
|
|
4244
|
+
};
|
|
4188
4245
|
health: {
|
|
4189
4246
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.HealthCheckData> | undefined) => Promise<string>;
|
|
4190
4247
|
};
|
|
@@ -4594,6 +4651,39 @@ export declare function createModel(transport: Transport): {
|
|
|
4594
4651
|
[key: string]: unknown;
|
|
4595
4652
|
}>;
|
|
4596
4653
|
};
|
|
4654
|
+
systemone: {
|
|
4655
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateSystemoneData>) => Promise<{
|
|
4656
|
+
model: string;
|
|
4657
|
+
answers: {
|
|
4658
|
+
[key: string]: {
|
|
4659
|
+
type: "noul";
|
|
4660
|
+
noul: number;
|
|
4661
|
+
} | {
|
|
4662
|
+
type: "choice";
|
|
4663
|
+
choice: string;
|
|
4664
|
+
confidence: number;
|
|
4665
|
+
probabilities: {
|
|
4666
|
+
[key: string]: number;
|
|
4667
|
+
};
|
|
4668
|
+
} | {
|
|
4669
|
+
type: "score";
|
|
4670
|
+
score: number;
|
|
4671
|
+
confidence: number;
|
|
4672
|
+
legend: {
|
|
4673
|
+
[key: string]: unknown;
|
|
4674
|
+
};
|
|
4675
|
+
probabilities: {
|
|
4676
|
+
[key: string]: number;
|
|
4677
|
+
};
|
|
4678
|
+
};
|
|
4679
|
+
};
|
|
4680
|
+
usage: {
|
|
4681
|
+
input_tokens: number;
|
|
4682
|
+
output_tokens: number;
|
|
4683
|
+
cost: number;
|
|
4684
|
+
};
|
|
4685
|
+
}>;
|
|
4686
|
+
};
|
|
4597
4687
|
videos: {
|
|
4598
4688
|
create: (options: import("./core/transport.js").CallOptions<Types.CreateVideoData>) => Promise<{
|
|
4599
4689
|
id: string;
|
|
@@ -5039,7 +5129,43 @@ export declare function createSandbox(transport: Transport): {
|
|
|
5039
5129
|
list: (options?: import("./core/transport.js").CallOptions<Types.GetSandboxV1SnapshotsData> | undefined) => Promise<Types.SandboxSnapshotInfo[]>;
|
|
5040
5130
|
};
|
|
5041
5131
|
templates: {
|
|
5042
|
-
|
|
5132
|
+
aliases: {
|
|
5133
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ResolveTemplateAliasData>) => Promise<Types.SandboxTemplateAliasResponse>;
|
|
5134
|
+
};
|
|
5135
|
+
builds: {
|
|
5136
|
+
status: {
|
|
5137
|
+
list: (options: import("./core/transport.js").CallOptions<Types.GetTemplateBuildStatusData>) => Promise<Types.SandboxTemplateBuildInfo>;
|
|
5138
|
+
};
|
|
5139
|
+
update: (options: import("./core/transport.js").CallOptions<Types.StartTemplateBuildData>) => Promise<unknown>;
|
|
5140
|
+
};
|
|
5141
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RequestTemplateBuildData>) => Promise<Types.SandboxTemplateRequestResponseV3>;
|
|
5142
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteUserTemplateData>) => Promise<void>;
|
|
5143
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListSandboxTemplatesData> | undefined) => Promise<{
|
|
5144
|
+
templateID: string;
|
|
5145
|
+
buildID: string;
|
|
5146
|
+
cpuCount: Types.SandboxCpuCount;
|
|
5147
|
+
memoryMB: Types.SandboxMemoryMb;
|
|
5148
|
+
diskSizeMB: Types.SandboxDiskSizeMb;
|
|
5149
|
+
public: boolean;
|
|
5150
|
+
aliases: Array<string>;
|
|
5151
|
+
names: Array<string>;
|
|
5152
|
+
createdAt: string;
|
|
5153
|
+
updatedAt: string;
|
|
5154
|
+
createdBy: Types.SandboxTeamUser;
|
|
5155
|
+
lastSpawnedAt: string;
|
|
5156
|
+
spawnCount: number;
|
|
5157
|
+
buildCount: number;
|
|
5158
|
+
envdVersion: Types.SandboxEnvdVersion;
|
|
5159
|
+
buildStatus: Types.SandboxTemplateBuildStatus;
|
|
5160
|
+
official: boolean;
|
|
5161
|
+
sourceKind?: "dockerfile" | "image" | "snapshot";
|
|
5162
|
+
}[]>;
|
|
5163
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetTemplateWithBuildsData>) => Promise<Types.SandboxTemplateWithBuilds>;
|
|
5164
|
+
tags: {
|
|
5165
|
+
create: (options: import("./core/transport.js").CallOptions<Types.AssignTemplateTagsData>) => Promise<Types.SandboxAssignedTemplateTags>;
|
|
5166
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteTemplateTagsData>) => Promise<void>;
|
|
5167
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListTemplateTagsData>) => Promise<Types.SandboxTemplateTag[]>;
|
|
5168
|
+
};
|
|
5043
5169
|
};
|
|
5044
5170
|
volumes: {
|
|
5045
5171
|
create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1VolumesData>) => Promise<Types.SandboxVolumeAndToken>;
|
|
@@ -5301,6 +5427,8 @@ export declare const resourceFactories: {
|
|
|
5301
5427
|
application: typeof createApplication;
|
|
5302
5428
|
automation: typeof createAutomation;
|
|
5303
5429
|
browser: typeof createBrowser;
|
|
5430
|
+
canvas: typeof createCanvas;
|
|
5431
|
+
cut: typeof createCut;
|
|
5304
5432
|
database: typeof createDatabase;
|
|
5305
5433
|
file: typeof createFile;
|
|
5306
5434
|
knowledge: typeof createKnowledge;
|