@deepraxis/sdk 0.1.1-dev.0a48184 → 0.1.1-dev.0b2b6b3
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 +291 -20
- package/dist/core/binary-operations.d.ts +3 -0
- package/dist/core/binary-operations.js +14 -0
- package/dist/core/credentials.d.ts +16 -6
- package/dist/core/credentials.js +24 -5
- package/dist/core/transport.js +8 -4
- package/dist/generated/binary-operations.gen.d.ts +3 -0
- package/dist/generated/binary-operations.gen.js +14 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +533 -66
- package/dist/generated/sdk.gen.js +1724 -424
- package/dist/generated/types.gen.d.ts +38761 -27271
- package/dist/helpers/application-publish.js +16 -2
- package/dist/helpers/browser-connect-error.d.ts +28 -0
- package/dist/helpers/browser-connect-error.js +74 -0
- package/dist/helpers/browser-connect.d.ts +2 -0
- package/dist/helpers/browser-connect.js +36 -42
- package/dist/helpers/browser-decisions.d.ts +13 -0
- package/dist/helpers/browser-decisions.js +11 -0
- package/dist/helpers/browser-documentation.d.ts +1 -1
- package/dist/helpers/browser-documentation.js +4 -2
- package/dist/operations.generated.js +3456 -1083
- package/dist/resources.generated.d.ts +1982 -283
- package/dist/resources.generated.js +183 -12
- package/package.json +1 -1
|
@@ -17,6 +17,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
17
17
|
speed?: "standard" | "fast";
|
|
18
18
|
settings?: {
|
|
19
19
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
20
|
+
max_output_tokens?: number;
|
|
20
21
|
};
|
|
21
22
|
};
|
|
22
23
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -41,6 +42,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
41
42
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
42
43
|
id: string;
|
|
43
44
|
access: "read_only" | "read_write" | "invoke";
|
|
45
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
44
46
|
instructions?: string;
|
|
45
47
|
readonly verified?: boolean;
|
|
46
48
|
enabled?: boolean;
|
|
@@ -49,7 +51,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
49
51
|
readonly verified?: boolean;
|
|
50
52
|
enabled?: boolean;
|
|
51
53
|
}>;
|
|
52
|
-
kind: "general" | "
|
|
54
|
+
kind: "general" | "service" | "assume";
|
|
53
55
|
computer_id?: string;
|
|
54
56
|
subagent_model?: string | null;
|
|
55
57
|
subagents?: Array<{
|
|
@@ -142,6 +144,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
142
144
|
allowManagedHooksOnly?: boolean;
|
|
143
145
|
allowManagedMcpServersOnly?: boolean;
|
|
144
146
|
allowManagedPermissionRulesOnly?: boolean;
|
|
147
|
+
idleCompaction?: boolean;
|
|
145
148
|
autoMemoryEnabled?: boolean;
|
|
146
149
|
disabled?: {
|
|
147
150
|
subagents?: Array<string>;
|
|
@@ -150,7 +153,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
150
153
|
mcpServers?: Array<string>;
|
|
151
154
|
hooks?: Array<string>;
|
|
152
155
|
};
|
|
153
|
-
idleCompaction?: boolean;
|
|
154
156
|
outputStyle?: string;
|
|
155
157
|
} | null;
|
|
156
158
|
models?: {
|
|
@@ -158,6 +160,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
158
160
|
};
|
|
159
161
|
avatar: string | null;
|
|
160
162
|
creation_source: string | null;
|
|
163
|
+
managed_by: string | null;
|
|
161
164
|
identity_number: string | null;
|
|
162
165
|
environment_id?: string | null;
|
|
163
166
|
vault_ids?: Array<string>;
|
|
@@ -199,6 +202,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
199
202
|
speed?: "standard" | "fast";
|
|
200
203
|
settings?: {
|
|
201
204
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
205
|
+
max_output_tokens?: number;
|
|
202
206
|
};
|
|
203
207
|
};
|
|
204
208
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -223,6 +227,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
223
227
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
224
228
|
id: string;
|
|
225
229
|
access: "read_only" | "read_write" | "invoke";
|
|
230
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
226
231
|
instructions?: string;
|
|
227
232
|
readonly verified?: boolean;
|
|
228
233
|
enabled?: boolean;
|
|
@@ -231,7 +236,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
231
236
|
readonly verified?: boolean;
|
|
232
237
|
enabled?: boolean;
|
|
233
238
|
}>;
|
|
234
|
-
kind: "general" | "
|
|
239
|
+
kind: "general" | "service" | "assume";
|
|
240
|
+
computers?: {
|
|
241
|
+
default: string;
|
|
242
|
+
allowed: Array<{
|
|
243
|
+
template: string;
|
|
244
|
+
name: string;
|
|
245
|
+
}>;
|
|
246
|
+
};
|
|
235
247
|
computer_id?: string;
|
|
236
248
|
subagent_model?: string | null;
|
|
237
249
|
subagents?: Array<{
|
|
@@ -324,6 +336,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
324
336
|
allowManagedHooksOnly?: boolean;
|
|
325
337
|
allowManagedMcpServersOnly?: boolean;
|
|
326
338
|
allowManagedPermissionRulesOnly?: boolean;
|
|
339
|
+
idleCompaction?: boolean;
|
|
327
340
|
autoMemoryEnabled?: boolean;
|
|
328
341
|
disabled?: {
|
|
329
342
|
subagents?: Array<string>;
|
|
@@ -332,7 +345,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
332
345
|
mcpServers?: Array<string>;
|
|
333
346
|
hooks?: Array<string>;
|
|
334
347
|
};
|
|
335
|
-
idleCompaction?: boolean;
|
|
336
348
|
outputStyle?: string;
|
|
337
349
|
} | null;
|
|
338
350
|
models?: {
|
|
@@ -340,6 +352,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
340
352
|
};
|
|
341
353
|
avatar: string | null;
|
|
342
354
|
creation_source: string | null;
|
|
355
|
+
managed_by: string | null;
|
|
343
356
|
identity_number: string | null;
|
|
344
357
|
environment_id?: string | null;
|
|
345
358
|
vault_ids?: Array<string>;
|
|
@@ -352,42 +365,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
352
365
|
}> | null;
|
|
353
366
|
}>;
|
|
354
367
|
customers: {
|
|
355
|
-
auth: {
|
|
356
|
-
accessTokens: {
|
|
357
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
|
|
358
|
-
type: "customer_access_token";
|
|
359
|
-
access_token: string;
|
|
360
|
-
expires_at: string;
|
|
361
|
-
session_expires_at: string;
|
|
362
|
-
customer: {
|
|
363
|
-
id: string;
|
|
364
|
-
type: "identified" | "anonymous";
|
|
365
|
-
};
|
|
366
|
-
}>;
|
|
367
|
-
deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
|
|
368
|
-
renew: {
|
|
369
|
-
create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
|
|
370
|
-
type: "customer_access_token";
|
|
371
|
-
access_token: string;
|
|
372
|
-
expires_at: string;
|
|
373
|
-
session_expires_at: string;
|
|
374
|
-
customer: {
|
|
375
|
-
id: string;
|
|
376
|
-
type: "identified" | "anonymous";
|
|
377
|
-
};
|
|
378
|
-
}>;
|
|
379
|
-
};
|
|
380
|
-
};
|
|
381
|
-
grantCodes: {
|
|
382
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
|
|
383
|
-
type: "customer_grant_code";
|
|
384
|
-
code: string;
|
|
385
|
-
customer_id: string;
|
|
386
|
-
expires_at: string;
|
|
387
|
-
hosted_url?: string;
|
|
388
|
-
}>;
|
|
389
|
-
};
|
|
390
|
-
};
|
|
391
368
|
block: {
|
|
392
369
|
create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
|
|
393
370
|
id: string;
|
|
@@ -519,7 +496,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
519
496
|
run_id: string | null;
|
|
520
497
|
message_id?: string;
|
|
521
498
|
} | {
|
|
522
|
-
full_access_available?: boolean;
|
|
523
499
|
id: string;
|
|
524
500
|
input: Types.AgentManaged197;
|
|
525
501
|
mcp_server_name: string;
|
|
@@ -529,6 +505,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
529
505
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
530
506
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
531
507
|
session_thread_id?: null | string;
|
|
508
|
+
permission_suggestions?: Array<{
|
|
509
|
+
type: "add_rules";
|
|
510
|
+
behavior: "allow";
|
|
511
|
+
destination: "agent" | "session";
|
|
512
|
+
rules: Array<{
|
|
513
|
+
tool_name: string;
|
|
514
|
+
rule_content: string;
|
|
515
|
+
}>;
|
|
516
|
+
}>;
|
|
517
|
+
full_access_available?: boolean;
|
|
518
|
+
user_once?: true;
|
|
519
|
+
guarded_rule?: string;
|
|
532
520
|
run_id: string | null;
|
|
533
521
|
_meta?: {
|
|
534
522
|
ui?: {
|
|
@@ -542,17 +530,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
542
530
|
};
|
|
543
531
|
source?: "app" | "codemode";
|
|
544
532
|
parent_tool_use_id?: string;
|
|
545
|
-
user_once?: true;
|
|
546
|
-
guarded_rule?: string;
|
|
547
|
-
permission_suggestions?: Array<{
|
|
548
|
-
type: "add_rules";
|
|
549
|
-
behavior: "allow";
|
|
550
|
-
destination: "agent" | "session";
|
|
551
|
-
rules: Array<{
|
|
552
|
-
tool_name: string;
|
|
553
|
-
rule_content: string;
|
|
554
|
-
}>;
|
|
555
|
-
}>;
|
|
556
533
|
title?: string;
|
|
557
534
|
input_titles?: {
|
|
558
535
|
[key: string]: string;
|
|
@@ -571,7 +548,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
571
548
|
};
|
|
572
549
|
source?: "app" | "codemode";
|
|
573
550
|
} | {
|
|
574
|
-
full_access_available?: boolean;
|
|
575
551
|
id: string;
|
|
576
552
|
input: Types.AgentManaged206;
|
|
577
553
|
name: string;
|
|
@@ -580,9 +556,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
580
556
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
581
557
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
582
558
|
session_thread_id?: null | string;
|
|
583
|
-
run_id: string | null;
|
|
584
|
-
user_once?: true;
|
|
585
|
-
guarded_rule?: string;
|
|
586
559
|
permission_suggestions?: Array<{
|
|
587
560
|
type: "add_rules";
|
|
588
561
|
behavior: "allow";
|
|
@@ -592,6 +565,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
592
565
|
rule_content: string;
|
|
593
566
|
}>;
|
|
594
567
|
}>;
|
|
568
|
+
full_access_available?: boolean;
|
|
569
|
+
user_once?: true;
|
|
570
|
+
guarded_rule?: string;
|
|
571
|
+
run_id: string | null;
|
|
595
572
|
} | {
|
|
596
573
|
id: string;
|
|
597
574
|
processed_at: string;
|
|
@@ -612,9 +589,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
612
589
|
type: "session.status_idle";
|
|
613
590
|
run_id: string | null;
|
|
614
591
|
} | 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 | {
|
|
615
|
-
permission_mode_version?: number;
|
|
616
|
-
previous_permission_mode?: string | null;
|
|
617
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
618
592
|
id: string;
|
|
619
593
|
processed_at: string;
|
|
620
594
|
type: "session.updated";
|
|
@@ -622,6 +596,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
622
596
|
budget?: null | Types.AgentManaged76;
|
|
623
597
|
metadata?: Types.AgentManaged246;
|
|
624
598
|
title?: null | string;
|
|
599
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
600
|
+
previous_permission_mode?: string | null;
|
|
601
|
+
permission_mode_version?: number;
|
|
625
602
|
model?: {
|
|
626
603
|
id: string;
|
|
627
604
|
};
|
|
@@ -734,6 +711,20 @@ export declare function createAgent(transport: Transport): {
|
|
|
734
711
|
}>;
|
|
735
712
|
stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
736
713
|
};
|
|
714
|
+
inbox: {
|
|
715
|
+
letters: {
|
|
716
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListAgentInboxLettersData>) => Promise<{
|
|
717
|
+
unread: number;
|
|
718
|
+
letters: Array<{
|
|
719
|
+
id: string;
|
|
720
|
+
sender: string;
|
|
721
|
+
summary: string;
|
|
722
|
+
thread: string | null;
|
|
723
|
+
create_time: string;
|
|
724
|
+
}>;
|
|
725
|
+
}>;
|
|
726
|
+
};
|
|
727
|
+
};
|
|
737
728
|
list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
|
|
738
729
|
data: Array<{
|
|
739
730
|
id: string;
|
|
@@ -749,6 +740,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
749
740
|
speed?: "standard" | "fast";
|
|
750
741
|
settings?: {
|
|
751
742
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
743
|
+
max_output_tokens?: number;
|
|
752
744
|
};
|
|
753
745
|
};
|
|
754
746
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -773,6 +765,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
773
765
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
774
766
|
id: string;
|
|
775
767
|
access: "read_only" | "read_write" | "invoke";
|
|
768
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
776
769
|
instructions?: string;
|
|
777
770
|
readonly verified?: boolean;
|
|
778
771
|
enabled?: boolean;
|
|
@@ -781,7 +774,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
781
774
|
readonly verified?: boolean;
|
|
782
775
|
enabled?: boolean;
|
|
783
776
|
}>;
|
|
784
|
-
kind: "general" | "
|
|
777
|
+
kind: "general" | "service" | "assume";
|
|
778
|
+
computers?: {
|
|
779
|
+
default: string;
|
|
780
|
+
allowed: Array<{
|
|
781
|
+
template: string;
|
|
782
|
+
name: string;
|
|
783
|
+
}>;
|
|
784
|
+
};
|
|
785
785
|
computer_id?: string;
|
|
786
786
|
subagent_model?: string | null;
|
|
787
787
|
subagents?: Array<{
|
|
@@ -874,6 +874,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
874
874
|
allowManagedHooksOnly?: boolean;
|
|
875
875
|
allowManagedMcpServersOnly?: boolean;
|
|
876
876
|
allowManagedPermissionRulesOnly?: boolean;
|
|
877
|
+
idleCompaction?: boolean;
|
|
877
878
|
autoMemoryEnabled?: boolean;
|
|
878
879
|
disabled?: {
|
|
879
880
|
subagents?: Array<string>;
|
|
@@ -882,7 +883,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
882
883
|
mcpServers?: Array<string>;
|
|
883
884
|
hooks?: Array<string>;
|
|
884
885
|
};
|
|
885
|
-
idleCompaction?: boolean;
|
|
886
886
|
outputStyle?: string;
|
|
887
887
|
} | null;
|
|
888
888
|
models?: {
|
|
@@ -890,6 +890,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
890
890
|
};
|
|
891
891
|
avatar: string | null;
|
|
892
892
|
creation_source: string | null;
|
|
893
|
+
managed_by: string | null;
|
|
893
894
|
identity_number: string | null;
|
|
894
895
|
environment_id?: string | null;
|
|
895
896
|
vault_ids?: Array<string>;
|
|
@@ -903,6 +904,34 @@ export declare function createAgent(transport: Transport): {
|
|
|
903
904
|
}>;
|
|
904
905
|
next_page: string | null;
|
|
905
906
|
}>;
|
|
907
|
+
phone: {
|
|
908
|
+
release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
|
|
909
|
+
object: "agent_phone";
|
|
910
|
+
agent_id: string;
|
|
911
|
+
configured: boolean;
|
|
912
|
+
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
|
|
913
|
+
sku: string | null;
|
|
914
|
+
byod_device: string | null;
|
|
915
|
+
name: string | null;
|
|
916
|
+
sandbox_id: string | null;
|
|
917
|
+
lease_ends_at: string | null;
|
|
918
|
+
archived_at: string | null;
|
|
919
|
+
archive_error: string | null;
|
|
920
|
+
}>;
|
|
921
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
|
|
922
|
+
object: "agent_phone";
|
|
923
|
+
agent_id: string;
|
|
924
|
+
configured: boolean;
|
|
925
|
+
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
|
|
926
|
+
sku: string | null;
|
|
927
|
+
byod_device: string | null;
|
|
928
|
+
name: string | null;
|
|
929
|
+
sandbox_id: string | null;
|
|
930
|
+
lease_ends_at: string | null;
|
|
931
|
+
archived_at: string | null;
|
|
932
|
+
archive_error: string | null;
|
|
933
|
+
}>;
|
|
934
|
+
};
|
|
906
935
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
|
|
907
936
|
id: string;
|
|
908
937
|
archived_at: null | string;
|
|
@@ -917,6 +946,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
917
946
|
speed?: "standard" | "fast";
|
|
918
947
|
settings?: {
|
|
919
948
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
949
|
+
max_output_tokens?: number;
|
|
920
950
|
};
|
|
921
951
|
};
|
|
922
952
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -942,6 +972,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
942
972
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
943
973
|
id: string;
|
|
944
974
|
access: "read_only" | "read_write" | "invoke";
|
|
975
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
945
976
|
instructions?: string;
|
|
946
977
|
readonly verified?: boolean;
|
|
947
978
|
enabled?: boolean;
|
|
@@ -950,7 +981,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
950
981
|
readonly verified?: boolean;
|
|
951
982
|
enabled?: boolean;
|
|
952
983
|
}>;
|
|
953
|
-
kind: "general" | "
|
|
984
|
+
kind: "general" | "service" | "assume";
|
|
985
|
+
computers?: {
|
|
986
|
+
default: string;
|
|
987
|
+
allowed: Array<{
|
|
988
|
+
template: string;
|
|
989
|
+
name: string;
|
|
990
|
+
}>;
|
|
991
|
+
};
|
|
954
992
|
computer_id?: string;
|
|
955
993
|
subagent_model?: string | null;
|
|
956
994
|
subagents?: Array<{
|
|
@@ -1043,6 +1081,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1043
1081
|
allowManagedHooksOnly?: boolean;
|
|
1044
1082
|
allowManagedMcpServersOnly?: boolean;
|
|
1045
1083
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1084
|
+
idleCompaction?: boolean;
|
|
1046
1085
|
autoMemoryEnabled?: boolean;
|
|
1047
1086
|
disabled?: {
|
|
1048
1087
|
subagents?: Array<string>;
|
|
@@ -1051,7 +1090,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1051
1090
|
mcpServers?: Array<string>;
|
|
1052
1091
|
hooks?: Array<string>;
|
|
1053
1092
|
};
|
|
1054
|
-
idleCompaction?: boolean;
|
|
1055
1093
|
outputStyle?: string;
|
|
1056
1094
|
} | null;
|
|
1057
1095
|
models?: {
|
|
@@ -1059,6 +1097,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1059
1097
|
};
|
|
1060
1098
|
avatar: string | null;
|
|
1061
1099
|
creation_source: string | null;
|
|
1100
|
+
managed_by: string | null;
|
|
1062
1101
|
identity_number: string | null;
|
|
1063
1102
|
environment_id?: string | null;
|
|
1064
1103
|
vault_ids?: Array<string>;
|
|
@@ -1127,6 +1166,25 @@ export declare function createAgent(transport: Transport): {
|
|
|
1127
1166
|
history?: {
|
|
1128
1167
|
enabled?: boolean;
|
|
1129
1168
|
};
|
|
1169
|
+
uploads?: {
|
|
1170
|
+
enabled: boolean;
|
|
1171
|
+
max_file_bytes: number;
|
|
1172
|
+
max_files_per_session: number;
|
|
1173
|
+
};
|
|
1174
|
+
}>;
|
|
1175
|
+
retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
|
|
1176
|
+
allowed_origins: Array<string>;
|
|
1177
|
+
allow_localhost: boolean;
|
|
1178
|
+
uploads: {
|
|
1179
|
+
enabled: boolean;
|
|
1180
|
+
max_file_bytes: number;
|
|
1181
|
+
max_files_per_session: number;
|
|
1182
|
+
};
|
|
1183
|
+
share_links: {
|
|
1184
|
+
enabled: boolean;
|
|
1185
|
+
daily_session_cap: number | null;
|
|
1186
|
+
daily_spend_cap_micro_usd: number | null;
|
|
1187
|
+
};
|
|
1130
1188
|
}>;
|
|
1131
1189
|
unarchive: {
|
|
1132
1190
|
create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
|
|
@@ -1180,6 +1238,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1180
1238
|
speed?: "standard" | "fast";
|
|
1181
1239
|
settings?: {
|
|
1182
1240
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1241
|
+
max_output_tokens?: number;
|
|
1183
1242
|
};
|
|
1184
1243
|
};
|
|
1185
1244
|
multiagent?: null | {
|
|
@@ -1370,6 +1429,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1370
1429
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1371
1430
|
id: string;
|
|
1372
1431
|
access: "read_only" | "read_write" | "invoke";
|
|
1432
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1373
1433
|
instructions?: string;
|
|
1374
1434
|
readonly verified?: boolean;
|
|
1375
1435
|
enabled?: boolean;
|
|
@@ -1378,7 +1438,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
1378
1438
|
readonly verified?: boolean;
|
|
1379
1439
|
enabled?: boolean;
|
|
1380
1440
|
}>;
|
|
1381
|
-
kind: "general" | "
|
|
1441
|
+
kind: "general" | "service" | "assume";
|
|
1442
|
+
computers?: {
|
|
1443
|
+
default: string;
|
|
1444
|
+
allowed: Array<{
|
|
1445
|
+
template: string;
|
|
1446
|
+
name: string;
|
|
1447
|
+
}>;
|
|
1448
|
+
};
|
|
1382
1449
|
computer_id?: string;
|
|
1383
1450
|
subagent_model?: string | null;
|
|
1384
1451
|
subagents?: Array<{
|
|
@@ -1471,6 +1538,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1471
1538
|
allowManagedHooksOnly?: boolean;
|
|
1472
1539
|
allowManagedMcpServersOnly?: boolean;
|
|
1473
1540
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1541
|
+
idleCompaction?: boolean;
|
|
1474
1542
|
autoMemoryEnabled?: boolean;
|
|
1475
1543
|
disabled?: {
|
|
1476
1544
|
subagents?: Array<string>;
|
|
@@ -1479,7 +1547,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1479
1547
|
mcpServers?: Array<string>;
|
|
1480
1548
|
hooks?: Array<string>;
|
|
1481
1549
|
};
|
|
1482
|
-
idleCompaction?: boolean;
|
|
1483
1550
|
outputStyle?: string;
|
|
1484
1551
|
} | null;
|
|
1485
1552
|
models?: {
|
|
@@ -1487,6 +1554,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1487
1554
|
};
|
|
1488
1555
|
avatar: string | null;
|
|
1489
1556
|
creation_source: string | null;
|
|
1557
|
+
managed_by: string | null;
|
|
1490
1558
|
identity_number: string | null;
|
|
1491
1559
|
environment_id?: string | null;
|
|
1492
1560
|
vault_ids?: Array<string>;
|
|
@@ -1513,6 +1581,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1513
1581
|
speed?: "standard" | "fast";
|
|
1514
1582
|
settings?: {
|
|
1515
1583
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1584
|
+
max_output_tokens?: number;
|
|
1516
1585
|
};
|
|
1517
1586
|
};
|
|
1518
1587
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -1538,6 +1607,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1538
1607
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1539
1608
|
id: string;
|
|
1540
1609
|
access: "read_only" | "read_write" | "invoke";
|
|
1610
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1541
1611
|
instructions?: string;
|
|
1542
1612
|
readonly verified?: boolean;
|
|
1543
1613
|
enabled?: boolean;
|
|
@@ -1546,7 +1616,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
1546
1616
|
readonly verified?: boolean;
|
|
1547
1617
|
enabled?: boolean;
|
|
1548
1618
|
}>;
|
|
1549
|
-
kind: "general" | "
|
|
1619
|
+
kind: "general" | "service" | "assume";
|
|
1620
|
+
computers?: {
|
|
1621
|
+
default: string;
|
|
1622
|
+
allowed: Array<{
|
|
1623
|
+
template: string;
|
|
1624
|
+
name: string;
|
|
1625
|
+
}>;
|
|
1626
|
+
};
|
|
1550
1627
|
computer_id?: string;
|
|
1551
1628
|
subagent_model?: string | null;
|
|
1552
1629
|
subagents?: Array<{
|
|
@@ -1639,6 +1716,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1639
1716
|
allowManagedHooksOnly?: boolean;
|
|
1640
1717
|
allowManagedMcpServersOnly?: boolean;
|
|
1641
1718
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1719
|
+
idleCompaction?: boolean;
|
|
1642
1720
|
autoMemoryEnabled?: boolean;
|
|
1643
1721
|
disabled?: {
|
|
1644
1722
|
subagents?: Array<string>;
|
|
@@ -1647,7 +1725,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1647
1725
|
mcpServers?: Array<string>;
|
|
1648
1726
|
hooks?: Array<string>;
|
|
1649
1727
|
};
|
|
1650
|
-
idleCompaction?: boolean;
|
|
1651
1728
|
outputStyle?: string;
|
|
1652
1729
|
} | null;
|
|
1653
1730
|
models?: {
|
|
@@ -1655,6 +1732,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1655
1732
|
};
|
|
1656
1733
|
avatar: string | null;
|
|
1657
1734
|
creation_source: string | null;
|
|
1735
|
+
managed_by: string | null;
|
|
1658
1736
|
identity_number: string | null;
|
|
1659
1737
|
environment_id?: string | null;
|
|
1660
1738
|
vault_ids?: Array<string>;
|
|
@@ -1666,125 +1744,350 @@ export declare function createAgent(transport: Transport): {
|
|
|
1666
1744
|
keep_coding_instructions?: boolean;
|
|
1667
1745
|
}> | null;
|
|
1668
1746
|
}>;
|
|
1747
|
+
updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
|
|
1748
|
+
allowed_origins: Array<string>;
|
|
1749
|
+
allow_localhost: boolean;
|
|
1750
|
+
uploads: {
|
|
1751
|
+
enabled: boolean;
|
|
1752
|
+
max_file_bytes: number;
|
|
1753
|
+
max_files_per_session: number;
|
|
1754
|
+
};
|
|
1755
|
+
share_links: {
|
|
1756
|
+
enabled: boolean;
|
|
1757
|
+
daily_session_cap: number | null;
|
|
1758
|
+
daily_spend_cap_micro_usd: number | null;
|
|
1759
|
+
};
|
|
1760
|
+
}>;
|
|
1669
1761
|
versions: {
|
|
1670
1762
|
apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
|
|
1671
1763
|
id: string;
|
|
1672
1764
|
archived_at: null | string;
|
|
1673
1765
|
created_at: string;
|
|
1674
1766
|
description: null | string;
|
|
1675
|
-
mcp_servers: Array<
|
|
1676
|
-
|
|
1767
|
+
mcp_servers: Array<{
|
|
1768
|
+
type: "url";
|
|
1769
|
+
name: string;
|
|
1770
|
+
url: string;
|
|
1771
|
+
headers?: {
|
|
1772
|
+
[key: string]: string;
|
|
1773
|
+
};
|
|
1774
|
+
timeout_ms?: number;
|
|
1775
|
+
} | {
|
|
1776
|
+
type: "sse";
|
|
1777
|
+
name: string;
|
|
1778
|
+
url: string;
|
|
1779
|
+
headers?: {
|
|
1780
|
+
[key: string]: string;
|
|
1781
|
+
};
|
|
1782
|
+
timeout_ms?: number;
|
|
1783
|
+
} | {
|
|
1784
|
+
type: "stdio";
|
|
1785
|
+
name: string;
|
|
1786
|
+
command: string;
|
|
1787
|
+
args?: Array<string>;
|
|
1788
|
+
env?: {
|
|
1789
|
+
[key: string]: string;
|
|
1790
|
+
};
|
|
1791
|
+
timeout_ms?: number;
|
|
1792
|
+
}>;
|
|
1793
|
+
metadata: {
|
|
1794
|
+
[key: string]: string;
|
|
1795
|
+
};
|
|
1677
1796
|
model?: {
|
|
1678
1797
|
id: string;
|
|
1679
|
-
effort?:
|
|
1798
|
+
effort?: {
|
|
1799
|
+
type: "low";
|
|
1800
|
+
} | {
|
|
1801
|
+
type: "medium";
|
|
1802
|
+
} | {
|
|
1803
|
+
type: "high";
|
|
1804
|
+
} | {
|
|
1805
|
+
type: "xhigh";
|
|
1806
|
+
} | {
|
|
1807
|
+
type: "max";
|
|
1808
|
+
};
|
|
1680
1809
|
inference_geo?: string;
|
|
1681
1810
|
speed?: "standard" | "fast";
|
|
1682
1811
|
settings?: {
|
|
1683
1812
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1813
|
+
max_output_tokens?: number;
|
|
1684
1814
|
};
|
|
1685
1815
|
};
|
|
1686
|
-
multiagent?: null |
|
|
1816
|
+
multiagent?: null | {
|
|
1817
|
+
agents: Array<{
|
|
1818
|
+
id: string;
|
|
1819
|
+
type: "agent";
|
|
1820
|
+
version: number;
|
|
1821
|
+
} | {
|
|
1822
|
+
model: string;
|
|
1823
|
+
type: "advisor";
|
|
1824
|
+
}>;
|
|
1825
|
+
type: "coordinator";
|
|
1826
|
+
};
|
|
1687
1827
|
name: string;
|
|
1688
|
-
skills: Array<
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
updated_at: string;
|
|
1693
|
-
version: number;
|
|
1694
|
-
latest_version?: number;
|
|
1695
|
-
active_version: number;
|
|
1696
|
-
created_by: {
|
|
1697
|
-
type: "user";
|
|
1698
|
-
id: string;
|
|
1699
|
-
name?: string;
|
|
1700
|
-
} | {
|
|
1701
|
-
type: "api_key";
|
|
1702
|
-
id: string;
|
|
1703
|
-
} | null;
|
|
1704
|
-
note: string | null;
|
|
1705
|
-
bindings: Array<{
|
|
1706
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1707
|
-
id: string;
|
|
1708
|
-
access: "read_only" | "read_write" | "invoke";
|
|
1709
|
-
instructions?: string;
|
|
1710
|
-
readonly verified?: boolean;
|
|
1711
|
-
enabled?: boolean;
|
|
1828
|
+
skills: Array<{
|
|
1829
|
+
skill_id: string;
|
|
1830
|
+
type: "anthropic";
|
|
1831
|
+
version: string;
|
|
1712
1832
|
} | {
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1833
|
+
skill_id: string;
|
|
1834
|
+
type: "custom";
|
|
1835
|
+
version: string;
|
|
1716
1836
|
}>;
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1837
|
+
system: null | string;
|
|
1838
|
+
tools: Array<{
|
|
1839
|
+
configs: Array<{
|
|
1840
|
+
enabled: boolean;
|
|
1841
|
+
name: "bash";
|
|
1842
|
+
permission_policy: {
|
|
1843
|
+
type: "always_allow";
|
|
1844
|
+
} | {
|
|
1845
|
+
type: "always_ask";
|
|
1846
|
+
} | {
|
|
1847
|
+
type: "auto";
|
|
1848
|
+
};
|
|
1849
|
+
type: "bash";
|
|
1850
|
+
} | {
|
|
1851
|
+
enabled: boolean;
|
|
1852
|
+
name: "edit";
|
|
1853
|
+
permission_policy: {
|
|
1854
|
+
type: "always_allow";
|
|
1855
|
+
} | {
|
|
1856
|
+
type: "always_ask";
|
|
1857
|
+
} | {
|
|
1858
|
+
type: "auto";
|
|
1859
|
+
};
|
|
1860
|
+
type: "edit";
|
|
1861
|
+
} | {
|
|
1862
|
+
enabled: boolean;
|
|
1863
|
+
name: "read";
|
|
1864
|
+
permission_policy: {
|
|
1865
|
+
type: "always_allow";
|
|
1866
|
+
} | {
|
|
1867
|
+
type: "always_ask";
|
|
1868
|
+
} | {
|
|
1869
|
+
type: "auto";
|
|
1870
|
+
};
|
|
1871
|
+
type: "read";
|
|
1872
|
+
} | {
|
|
1873
|
+
enabled: boolean;
|
|
1874
|
+
name: "write";
|
|
1875
|
+
permission_policy: {
|
|
1876
|
+
type: "always_allow";
|
|
1877
|
+
} | {
|
|
1878
|
+
type: "always_ask";
|
|
1879
|
+
} | {
|
|
1880
|
+
type: "auto";
|
|
1881
|
+
};
|
|
1882
|
+
type: "write";
|
|
1883
|
+
} | {
|
|
1884
|
+
enabled: boolean;
|
|
1885
|
+
name: "glob";
|
|
1886
|
+
permission_policy: {
|
|
1887
|
+
type: "always_allow";
|
|
1888
|
+
} | {
|
|
1889
|
+
type: "always_ask";
|
|
1890
|
+
} | {
|
|
1891
|
+
type: "auto";
|
|
1892
|
+
};
|
|
1893
|
+
type: "glob";
|
|
1894
|
+
} | {
|
|
1895
|
+
enabled: boolean;
|
|
1896
|
+
name: "grep";
|
|
1897
|
+
permission_policy: {
|
|
1898
|
+
type: "always_allow";
|
|
1899
|
+
} | {
|
|
1900
|
+
type: "always_ask";
|
|
1901
|
+
} | {
|
|
1902
|
+
type: "auto";
|
|
1903
|
+
};
|
|
1904
|
+
type: "grep";
|
|
1905
|
+
} | {
|
|
1906
|
+
enabled: boolean;
|
|
1907
|
+
name: "web_fetch";
|
|
1908
|
+
permission_policy: {
|
|
1909
|
+
type: "always_allow";
|
|
1910
|
+
} | {
|
|
1911
|
+
type: "always_ask";
|
|
1912
|
+
} | {
|
|
1913
|
+
type: "auto";
|
|
1914
|
+
};
|
|
1915
|
+
type: "web_fetch";
|
|
1916
|
+
allowed_domains?: Array<string>;
|
|
1917
|
+
blocked_domains?: Array<string>;
|
|
1918
|
+
max_content_tokens?: null | number;
|
|
1919
|
+
} | {
|
|
1920
|
+
enabled: boolean;
|
|
1921
|
+
name: "web_search";
|
|
1922
|
+
permission_policy: {
|
|
1923
|
+
type: "always_allow";
|
|
1924
|
+
} | {
|
|
1925
|
+
type: "always_ask";
|
|
1926
|
+
} | {
|
|
1927
|
+
type: "auto";
|
|
1928
|
+
};
|
|
1929
|
+
type: "web_search";
|
|
1930
|
+
allowed_domains?: Array<string>;
|
|
1931
|
+
blocked_domains?: Array<string>;
|
|
1932
|
+
user_location?: null | {
|
|
1933
|
+
type: "approximate";
|
|
1934
|
+
city?: null | string;
|
|
1935
|
+
country?: null | string;
|
|
1936
|
+
region?: null | string;
|
|
1937
|
+
timezone?: null | string;
|
|
1938
|
+
};
|
|
1939
|
+
} | {
|
|
1940
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
1941
|
+
enabled: boolean;
|
|
1942
|
+
permission_policy: {
|
|
1943
|
+
type: "always_allow" | "always_ask";
|
|
1944
|
+
};
|
|
1945
|
+
}>;
|
|
1946
|
+
default_config: {
|
|
1947
|
+
enabled: boolean;
|
|
1948
|
+
permission_policy: {
|
|
1949
|
+
type: "always_allow";
|
|
1950
|
+
} | {
|
|
1951
|
+
type: "always_ask";
|
|
1952
|
+
} | {
|
|
1953
|
+
type: "auto";
|
|
1954
|
+
};
|
|
1955
|
+
};
|
|
1956
|
+
type: "agent_toolset_20260401";
|
|
1957
|
+
} | {
|
|
1958
|
+
type: "mcp_toolset";
|
|
1959
|
+
mcp_server_name: string;
|
|
1960
|
+
default_config?: {
|
|
1961
|
+
enabled?: boolean | null;
|
|
1962
|
+
permission_policy?: null | {
|
|
1963
|
+
type: "always_allow" | "always_ask";
|
|
1964
|
+
};
|
|
1965
|
+
} | null;
|
|
1966
|
+
configs?: Array<{
|
|
1967
|
+
name: string;
|
|
1968
|
+
enabled?: boolean | null;
|
|
1969
|
+
permission_policy?: null | {
|
|
1970
|
+
type: "always_allow" | "always_ask";
|
|
1971
|
+
};
|
|
1972
|
+
}> | null;
|
|
1973
|
+
} | {
|
|
1974
|
+
description: string;
|
|
1975
|
+
input_schema: {
|
|
1976
|
+
type: "object";
|
|
1977
|
+
properties?: null | {
|
|
1978
|
+
[key: string]: unknown;
|
|
1979
|
+
};
|
|
1980
|
+
required?: null | Array<string>;
|
|
1981
|
+
[key: string]: unknown;
|
|
1982
|
+
};
|
|
1983
|
+
name: string;
|
|
1984
|
+
type: "custom";
|
|
1985
|
+
}>;
|
|
1986
|
+
type: "agent";
|
|
1987
|
+
updated_at: string;
|
|
1988
|
+
version: number;
|
|
1989
|
+
latest_version?: number;
|
|
1990
|
+
active_version: number;
|
|
1991
|
+
created_by: {
|
|
1992
|
+
type: "user";
|
|
1993
|
+
id: string;
|
|
1994
|
+
name?: string;
|
|
1995
|
+
} | {
|
|
1996
|
+
type: "api_key";
|
|
1997
|
+
id: string;
|
|
1998
|
+
} | null;
|
|
1999
|
+
note: string | null;
|
|
2000
|
+
bindings: Array<{
|
|
2001
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
2002
|
+
id: string;
|
|
2003
|
+
access: "read_only" | "read_write" | "invoke";
|
|
2004
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
2005
|
+
instructions?: string;
|
|
2006
|
+
readonly verified?: boolean;
|
|
2007
|
+
enabled?: boolean;
|
|
2008
|
+
} | {
|
|
2009
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
|
|
2010
|
+
readonly verified?: boolean;
|
|
2011
|
+
enabled?: boolean;
|
|
2012
|
+
}>;
|
|
2013
|
+
kind: "general" | "service" | "assume";
|
|
2014
|
+
computers?: {
|
|
2015
|
+
default: string;
|
|
2016
|
+
allowed: Array<{
|
|
2017
|
+
template: string;
|
|
2018
|
+
name: string;
|
|
2019
|
+
}>;
|
|
2020
|
+
};
|
|
2021
|
+
computer_id?: string;
|
|
2022
|
+
subagent_model?: string | null;
|
|
2023
|
+
subagents?: Array<{
|
|
2024
|
+
name: string;
|
|
2025
|
+
description: string;
|
|
2026
|
+
prompt: string;
|
|
2027
|
+
tools?: Array<string>;
|
|
2028
|
+
disallowed_tools?: Array<string>;
|
|
2029
|
+
model?: string;
|
|
2030
|
+
}> | null;
|
|
2031
|
+
commands?: Array<{
|
|
2032
|
+
name: string;
|
|
2033
|
+
description?: string;
|
|
2034
|
+
argument_hint?: string;
|
|
2035
|
+
prompt: string;
|
|
2036
|
+
}> | null;
|
|
2037
|
+
settings?: {
|
|
2038
|
+
hooks?: {
|
|
2039
|
+
SessionStart?: Array<{
|
|
2040
|
+
matcher?: string;
|
|
2041
|
+
hooks: Array<{
|
|
2042
|
+
type: "command";
|
|
2043
|
+
command: string;
|
|
2044
|
+
timeout?: number;
|
|
2045
|
+
async?: boolean;
|
|
2046
|
+
enabled?: boolean;
|
|
2047
|
+
}>;
|
|
2048
|
+
}>;
|
|
2049
|
+
UserPromptSubmit?: Array<{
|
|
2050
|
+
matcher?: string;
|
|
2051
|
+
hooks: Array<{
|
|
2052
|
+
type: "command";
|
|
2053
|
+
command: string;
|
|
2054
|
+
timeout?: number;
|
|
2055
|
+
async?: boolean;
|
|
2056
|
+
enabled?: boolean;
|
|
2057
|
+
}>;
|
|
2058
|
+
}>;
|
|
2059
|
+
PreToolUse?: Array<{
|
|
2060
|
+
matcher?: string;
|
|
2061
|
+
hooks: Array<{
|
|
2062
|
+
type: "command";
|
|
2063
|
+
command: string;
|
|
2064
|
+
timeout?: number;
|
|
2065
|
+
async?: boolean;
|
|
2066
|
+
enabled?: boolean;
|
|
2067
|
+
}>;
|
|
2068
|
+
}>;
|
|
2069
|
+
PermissionRequest?: Array<{
|
|
2070
|
+
matcher?: string;
|
|
2071
|
+
hooks: Array<{
|
|
2072
|
+
type: "command";
|
|
2073
|
+
command: string;
|
|
2074
|
+
timeout?: number;
|
|
2075
|
+
async?: boolean;
|
|
2076
|
+
enabled?: boolean;
|
|
2077
|
+
}>;
|
|
2078
|
+
}>;
|
|
2079
|
+
PostToolUse?: Array<{
|
|
2080
|
+
matcher?: string;
|
|
2081
|
+
hooks: Array<{
|
|
2082
|
+
type: "command";
|
|
2083
|
+
command: string;
|
|
2084
|
+
timeout?: number;
|
|
2085
|
+
async?: boolean;
|
|
2086
|
+
enabled?: boolean;
|
|
2087
|
+
}>;
|
|
2088
|
+
}>;
|
|
2089
|
+
PostToolUseFailure?: Array<{
|
|
2090
|
+
matcher?: string;
|
|
1788
2091
|
hooks: Array<{
|
|
1789
2092
|
type: "command";
|
|
1790
2093
|
command: string;
|
|
@@ -1807,6 +2110,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1807
2110
|
allowManagedHooksOnly?: boolean;
|
|
1808
2111
|
allowManagedMcpServersOnly?: boolean;
|
|
1809
2112
|
allowManagedPermissionRulesOnly?: boolean;
|
|
2113
|
+
idleCompaction?: boolean;
|
|
1810
2114
|
autoMemoryEnabled?: boolean;
|
|
1811
2115
|
disabled?: {
|
|
1812
2116
|
subagents?: Array<string>;
|
|
@@ -1815,7 +2119,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1815
2119
|
mcpServers?: Array<string>;
|
|
1816
2120
|
hooks?: Array<string>;
|
|
1817
2121
|
};
|
|
1818
|
-
idleCompaction?: boolean;
|
|
1819
2122
|
outputStyle?: string;
|
|
1820
2123
|
} | null;
|
|
1821
2124
|
models?: {
|
|
@@ -1823,6 +2126,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1823
2126
|
};
|
|
1824
2127
|
avatar: string | null;
|
|
1825
2128
|
creation_source: string | null;
|
|
2129
|
+
managed_by: string | null;
|
|
1826
2130
|
identity_number: string | null;
|
|
1827
2131
|
environment_id?: string | null;
|
|
1828
2132
|
vault_ids?: Array<string>;
|
|
@@ -1849,6 +2153,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1849
2153
|
speed?: "standard" | "fast";
|
|
1850
2154
|
settings?: {
|
|
1851
2155
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
2156
|
+
max_output_tokens?: number;
|
|
1852
2157
|
};
|
|
1853
2158
|
};
|
|
1854
2159
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -1874,6 +2179,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1874
2179
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1875
2180
|
id: string;
|
|
1876
2181
|
access: "read_only" | "read_write" | "invoke";
|
|
2182
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1877
2183
|
instructions?: string;
|
|
1878
2184
|
readonly verified?: boolean;
|
|
1879
2185
|
enabled?: boolean;
|
|
@@ -1882,7 +2188,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
1882
2188
|
readonly verified?: boolean;
|
|
1883
2189
|
enabled?: boolean;
|
|
1884
2190
|
}>;
|
|
1885
|
-
kind: "general" | "
|
|
2191
|
+
kind: "general" | "service" | "assume";
|
|
2192
|
+
computers?: {
|
|
2193
|
+
default: string;
|
|
2194
|
+
allowed: Array<{
|
|
2195
|
+
template: string;
|
|
2196
|
+
name: string;
|
|
2197
|
+
}>;
|
|
2198
|
+
};
|
|
1886
2199
|
computer_id?: string;
|
|
1887
2200
|
subagent_model?: string | null;
|
|
1888
2201
|
subagents?: Array<{
|
|
@@ -1975,6 +2288,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1975
2288
|
allowManagedHooksOnly?: boolean;
|
|
1976
2289
|
allowManagedMcpServersOnly?: boolean;
|
|
1977
2290
|
allowManagedPermissionRulesOnly?: boolean;
|
|
2291
|
+
idleCompaction?: boolean;
|
|
1978
2292
|
autoMemoryEnabled?: boolean;
|
|
1979
2293
|
disabled?: {
|
|
1980
2294
|
subagents?: Array<string>;
|
|
@@ -1983,7 +2297,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1983
2297
|
mcpServers?: Array<string>;
|
|
1984
2298
|
hooks?: Array<string>;
|
|
1985
2299
|
};
|
|
1986
|
-
idleCompaction?: boolean;
|
|
1987
2300
|
outputStyle?: string;
|
|
1988
2301
|
} | null;
|
|
1989
2302
|
models?: {
|
|
@@ -1991,6 +2304,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1991
2304
|
};
|
|
1992
2305
|
avatar: string | null;
|
|
1993
2306
|
creation_source: string | null;
|
|
2307
|
+
managed_by: string | null;
|
|
1994
2308
|
identity_number: string | null;
|
|
1995
2309
|
environment_id?: string | null;
|
|
1996
2310
|
vault_ids?: Array<string>;
|
|
@@ -2078,6 +2392,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
2078
2392
|
tier: "light" | "heavy";
|
|
2079
2393
|
}>;
|
|
2080
2394
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
|
|
2395
|
+
retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
|
|
2396
|
+
variant: "image" | "pdf" | "text" | "original";
|
|
2397
|
+
version?: string;
|
|
2398
|
+
mime_type?: string;
|
|
2399
|
+
size?: number;
|
|
2400
|
+
file_id?: string;
|
|
2401
|
+
url?: string;
|
|
2402
|
+
expires_at?: string;
|
|
2403
|
+
cached: boolean;
|
|
2404
|
+
fallback?: "content";
|
|
2405
|
+
skipped?: boolean;
|
|
2406
|
+
}>;
|
|
2081
2407
|
};
|
|
2082
2408
|
leases: {
|
|
2083
2409
|
delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
|
|
@@ -2357,73 +2683,610 @@ export declare function createAgent(transport: Transport): {
|
|
|
2357
2683
|
};
|
|
2358
2684
|
archived_at: null | string;
|
|
2359
2685
|
created_at: string;
|
|
2360
|
-
description: null | string;
|
|
2361
|
-
environment_id?: string | null;
|
|
2362
|
-
initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
|
|
2363
|
-
metadata: Types.AgentManaged91;
|
|
2364
|
-
name: string;
|
|
2365
|
-
paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
|
|
2366
|
-
resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
|
|
2367
|
-
schedule: null | Types.AgentManaged111;
|
|
2368
|
-
status: "active" | "paused";
|
|
2369
|
-
type: "deployment";
|
|
2686
|
+
description: null | string;
|
|
2687
|
+
environment_id?: string | null;
|
|
2688
|
+
initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
|
|
2689
|
+
metadata: Types.AgentManaged91;
|
|
2690
|
+
name: string;
|
|
2691
|
+
paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
|
|
2692
|
+
resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
|
|
2693
|
+
schedule: null | Types.AgentManaged111;
|
|
2694
|
+
status: "active" | "paused";
|
|
2695
|
+
type: "deployment";
|
|
2696
|
+
updated_at: string;
|
|
2697
|
+
vault_ids: Array<string>;
|
|
2698
|
+
budget?: null | Types.AgentManaged76;
|
|
2699
|
+
target: {
|
|
2700
|
+
type: "environment" | "computer";
|
|
2701
|
+
};
|
|
2702
|
+
}>;
|
|
2703
|
+
};
|
|
2704
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
|
|
2705
|
+
id: string;
|
|
2706
|
+
agent: {
|
|
2707
|
+
id: string;
|
|
2708
|
+
type: "agent";
|
|
2709
|
+
version: number;
|
|
2710
|
+
} | {
|
|
2711
|
+
id: string;
|
|
2712
|
+
type: "agent_with_overrides";
|
|
2713
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2714
|
+
cwd?: string;
|
|
2715
|
+
model?: string | {
|
|
2716
|
+
id: string;
|
|
2717
|
+
effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
2718
|
+
speed?: null | "standard" | "fast";
|
|
2719
|
+
};
|
|
2720
|
+
version: number;
|
|
2721
|
+
};
|
|
2722
|
+
archived_at: null | string;
|
|
2723
|
+
created_at: string;
|
|
2724
|
+
description: null | string;
|
|
2725
|
+
environment_id?: string | null;
|
|
2726
|
+
initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
|
|
2727
|
+
metadata: Types.AgentManaged91;
|
|
2728
|
+
name: string;
|
|
2729
|
+
paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
|
|
2730
|
+
resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
|
|
2731
|
+
schedule: null | Types.AgentManaged111;
|
|
2732
|
+
status: "active" | "paused";
|
|
2733
|
+
type: "deployment";
|
|
2734
|
+
updated_at: string;
|
|
2735
|
+
vault_ids: Array<string>;
|
|
2736
|
+
budget?: null | Types.AgentManaged76;
|
|
2737
|
+
target: {
|
|
2738
|
+
type: "environment" | "computer";
|
|
2739
|
+
};
|
|
2740
|
+
}>;
|
|
2741
|
+
};
|
|
2742
|
+
environments: {
|
|
2743
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
|
|
2744
|
+
create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
|
|
2745
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
|
|
2746
|
+
data: Array<Types.AgentManaged138>;
|
|
2747
|
+
next_page: string | null;
|
|
2748
|
+
}>;
|
|
2749
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
|
|
2750
|
+
update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
|
|
2751
|
+
};
|
|
2752
|
+
sessions: {
|
|
2753
|
+
agentVersion: {
|
|
2754
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
|
|
2755
|
+
id: string;
|
|
2756
|
+
agent: {
|
|
2757
|
+
id: string;
|
|
2758
|
+
description: null | string;
|
|
2759
|
+
mcp_servers: Array<{
|
|
2760
|
+
type: "url";
|
|
2761
|
+
name: string;
|
|
2762
|
+
url: string;
|
|
2763
|
+
headers?: {
|
|
2764
|
+
[key: string]: string;
|
|
2765
|
+
};
|
|
2766
|
+
timeout_ms?: number;
|
|
2767
|
+
} | {
|
|
2768
|
+
type: "sse";
|
|
2769
|
+
name: string;
|
|
2770
|
+
url: string;
|
|
2771
|
+
headers?: {
|
|
2772
|
+
[key: string]: string;
|
|
2773
|
+
};
|
|
2774
|
+
timeout_ms?: number;
|
|
2775
|
+
} | {
|
|
2776
|
+
type: "stdio";
|
|
2777
|
+
name: string;
|
|
2778
|
+
command: string;
|
|
2779
|
+
args?: Array<string>;
|
|
2780
|
+
env?: {
|
|
2781
|
+
[key: string]: string;
|
|
2782
|
+
};
|
|
2783
|
+
timeout_ms?: number;
|
|
2784
|
+
}>;
|
|
2785
|
+
model: {
|
|
2786
|
+
id: string;
|
|
2787
|
+
effort?: {
|
|
2788
|
+
type: "low";
|
|
2789
|
+
} | {
|
|
2790
|
+
type: "medium";
|
|
2791
|
+
} | {
|
|
2792
|
+
type: "high";
|
|
2793
|
+
} | {
|
|
2794
|
+
type: "xhigh";
|
|
2795
|
+
} | {
|
|
2796
|
+
type: "max";
|
|
2797
|
+
};
|
|
2798
|
+
inference_geo?: string;
|
|
2799
|
+
speed?: "standard" | "fast";
|
|
2800
|
+
settings?: {
|
|
2801
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
2802
|
+
max_output_tokens?: number;
|
|
2803
|
+
};
|
|
2804
|
+
};
|
|
2805
|
+
multiagent: null | {
|
|
2806
|
+
agents: Array<{
|
|
2807
|
+
model: string;
|
|
2808
|
+
type: "advisor";
|
|
2809
|
+
} | {
|
|
2810
|
+
id: string;
|
|
2811
|
+
description: null | string;
|
|
2812
|
+
mcp_servers: Array<{
|
|
2813
|
+
type: "url";
|
|
2814
|
+
name: string;
|
|
2815
|
+
url: string;
|
|
2816
|
+
headers?: {
|
|
2817
|
+
[key: string]: string;
|
|
2818
|
+
};
|
|
2819
|
+
timeout_ms?: number;
|
|
2820
|
+
} | {
|
|
2821
|
+
type: "sse";
|
|
2822
|
+
name: string;
|
|
2823
|
+
url: string;
|
|
2824
|
+
headers?: {
|
|
2825
|
+
[key: string]: string;
|
|
2826
|
+
};
|
|
2827
|
+
timeout_ms?: number;
|
|
2828
|
+
} | {
|
|
2829
|
+
type: "stdio";
|
|
2830
|
+
name: string;
|
|
2831
|
+
command: string;
|
|
2832
|
+
args?: Array<string>;
|
|
2833
|
+
env?: {
|
|
2834
|
+
[key: string]: string;
|
|
2835
|
+
};
|
|
2836
|
+
timeout_ms?: number;
|
|
2837
|
+
}>;
|
|
2838
|
+
model: {
|
|
2839
|
+
id: string;
|
|
2840
|
+
effort?: {
|
|
2841
|
+
type: "low";
|
|
2842
|
+
} | {
|
|
2843
|
+
type: "medium";
|
|
2844
|
+
} | {
|
|
2845
|
+
type: "high";
|
|
2846
|
+
} | {
|
|
2847
|
+
type: "xhigh";
|
|
2848
|
+
} | {
|
|
2849
|
+
type: "max";
|
|
2850
|
+
};
|
|
2851
|
+
inference_geo?: string;
|
|
2852
|
+
speed?: "standard" | "fast";
|
|
2853
|
+
};
|
|
2854
|
+
name: string;
|
|
2855
|
+
skills: Array<{
|
|
2856
|
+
skill_id: string;
|
|
2857
|
+
type: "anthropic";
|
|
2858
|
+
version: string;
|
|
2859
|
+
} | {
|
|
2860
|
+
skill_id: string;
|
|
2861
|
+
type: "custom";
|
|
2862
|
+
version: string;
|
|
2863
|
+
}>;
|
|
2864
|
+
system: null | string;
|
|
2865
|
+
tools: Array<{
|
|
2866
|
+
configs: Array<{
|
|
2867
|
+
enabled: boolean;
|
|
2868
|
+
name: "bash";
|
|
2869
|
+
permission_policy: {
|
|
2870
|
+
type: "always_allow";
|
|
2871
|
+
} | {
|
|
2872
|
+
type: "always_ask";
|
|
2873
|
+
} | {
|
|
2874
|
+
type: "auto";
|
|
2875
|
+
};
|
|
2876
|
+
type: "bash";
|
|
2877
|
+
} | {
|
|
2878
|
+
enabled: boolean;
|
|
2879
|
+
name: "edit";
|
|
2880
|
+
permission_policy: {
|
|
2881
|
+
type: "always_allow";
|
|
2882
|
+
} | {
|
|
2883
|
+
type: "always_ask";
|
|
2884
|
+
} | {
|
|
2885
|
+
type: "auto";
|
|
2886
|
+
};
|
|
2887
|
+
type: "edit";
|
|
2888
|
+
} | {
|
|
2889
|
+
enabled: boolean;
|
|
2890
|
+
name: "read";
|
|
2891
|
+
permission_policy: {
|
|
2892
|
+
type: "always_allow";
|
|
2893
|
+
} | {
|
|
2894
|
+
type: "always_ask";
|
|
2895
|
+
} | {
|
|
2896
|
+
type: "auto";
|
|
2897
|
+
};
|
|
2898
|
+
type: "read";
|
|
2899
|
+
} | {
|
|
2900
|
+
enabled: boolean;
|
|
2901
|
+
name: "write";
|
|
2902
|
+
permission_policy: {
|
|
2903
|
+
type: "always_allow";
|
|
2904
|
+
} | {
|
|
2905
|
+
type: "always_ask";
|
|
2906
|
+
} | {
|
|
2907
|
+
type: "auto";
|
|
2908
|
+
};
|
|
2909
|
+
type: "write";
|
|
2910
|
+
} | {
|
|
2911
|
+
enabled: boolean;
|
|
2912
|
+
name: "glob";
|
|
2913
|
+
permission_policy: {
|
|
2914
|
+
type: "always_allow";
|
|
2915
|
+
} | {
|
|
2916
|
+
type: "always_ask";
|
|
2917
|
+
} | {
|
|
2918
|
+
type: "auto";
|
|
2919
|
+
};
|
|
2920
|
+
type: "glob";
|
|
2921
|
+
} | {
|
|
2922
|
+
enabled: boolean;
|
|
2923
|
+
name: "grep";
|
|
2924
|
+
permission_policy: {
|
|
2925
|
+
type: "always_allow";
|
|
2926
|
+
} | {
|
|
2927
|
+
type: "always_ask";
|
|
2928
|
+
} | {
|
|
2929
|
+
type: "auto";
|
|
2930
|
+
};
|
|
2931
|
+
type: "grep";
|
|
2932
|
+
} | {
|
|
2933
|
+
enabled: boolean;
|
|
2934
|
+
name: "web_fetch";
|
|
2935
|
+
permission_policy: {
|
|
2936
|
+
type: "always_allow";
|
|
2937
|
+
} | {
|
|
2938
|
+
type: "always_ask";
|
|
2939
|
+
} | {
|
|
2940
|
+
type: "auto";
|
|
2941
|
+
};
|
|
2942
|
+
type: "web_fetch";
|
|
2943
|
+
allowed_domains?: Array<string>;
|
|
2944
|
+
blocked_domains?: Array<string>;
|
|
2945
|
+
max_content_tokens?: null | number;
|
|
2946
|
+
} | {
|
|
2947
|
+
enabled: boolean;
|
|
2948
|
+
name: "web_search";
|
|
2949
|
+
permission_policy: {
|
|
2950
|
+
type: "always_allow";
|
|
2951
|
+
} | {
|
|
2952
|
+
type: "always_ask";
|
|
2953
|
+
} | {
|
|
2954
|
+
type: "auto";
|
|
2955
|
+
};
|
|
2956
|
+
type: "web_search";
|
|
2957
|
+
allowed_domains?: Array<string>;
|
|
2958
|
+
blocked_domains?: Array<string>;
|
|
2959
|
+
user_location?: null | {
|
|
2960
|
+
type: "approximate";
|
|
2961
|
+
city?: null | string;
|
|
2962
|
+
country?: null | string;
|
|
2963
|
+
region?: null | string;
|
|
2964
|
+
timezone?: null | string;
|
|
2965
|
+
};
|
|
2966
|
+
} | {
|
|
2967
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
2968
|
+
enabled: boolean;
|
|
2969
|
+
permission_policy: {
|
|
2970
|
+
type: "always_allow" | "always_ask";
|
|
2971
|
+
};
|
|
2972
|
+
}>;
|
|
2973
|
+
default_config: {
|
|
2974
|
+
enabled: boolean;
|
|
2975
|
+
permission_policy: {
|
|
2976
|
+
type: "always_allow";
|
|
2977
|
+
} | {
|
|
2978
|
+
type: "always_ask";
|
|
2979
|
+
} | {
|
|
2980
|
+
type: "auto";
|
|
2981
|
+
};
|
|
2982
|
+
};
|
|
2983
|
+
type: "agent_toolset_20260401";
|
|
2984
|
+
} | {
|
|
2985
|
+
type: "mcp_toolset";
|
|
2986
|
+
mcp_server_name: string;
|
|
2987
|
+
default_config?: {
|
|
2988
|
+
enabled?: boolean | null;
|
|
2989
|
+
permission_policy?: null | {
|
|
2990
|
+
type: "always_allow" | "always_ask";
|
|
2991
|
+
};
|
|
2992
|
+
} | null;
|
|
2993
|
+
configs?: Array<{
|
|
2994
|
+
name: string;
|
|
2995
|
+
enabled?: boolean | null;
|
|
2996
|
+
permission_policy?: null | {
|
|
2997
|
+
type: "always_allow" | "always_ask";
|
|
2998
|
+
};
|
|
2999
|
+
}> | null;
|
|
3000
|
+
} | {
|
|
3001
|
+
description: string;
|
|
3002
|
+
input_schema: {
|
|
3003
|
+
type: "object";
|
|
3004
|
+
properties?: null | {
|
|
3005
|
+
[key: string]: unknown;
|
|
3006
|
+
};
|
|
3007
|
+
required?: null | Array<string>;
|
|
3008
|
+
[key: string]: unknown;
|
|
3009
|
+
};
|
|
3010
|
+
name: string;
|
|
3011
|
+
type: "custom";
|
|
3012
|
+
}>;
|
|
3013
|
+
type: "agent";
|
|
3014
|
+
version: number;
|
|
3015
|
+
}>;
|
|
3016
|
+
type: "coordinator";
|
|
3017
|
+
};
|
|
3018
|
+
name: string;
|
|
3019
|
+
skills: Array<{
|
|
3020
|
+
skill_id: string;
|
|
3021
|
+
type: "anthropic";
|
|
3022
|
+
version: string;
|
|
3023
|
+
} | {
|
|
3024
|
+
skill_id: string;
|
|
3025
|
+
type: "custom";
|
|
3026
|
+
version: string;
|
|
3027
|
+
}>;
|
|
3028
|
+
system: null | string;
|
|
3029
|
+
tools: Array<{
|
|
3030
|
+
configs: Array<{
|
|
3031
|
+
enabled: boolean;
|
|
3032
|
+
name: "bash";
|
|
3033
|
+
permission_policy: {
|
|
3034
|
+
type: "always_allow";
|
|
3035
|
+
} | {
|
|
3036
|
+
type: "always_ask";
|
|
3037
|
+
} | {
|
|
3038
|
+
type: "auto";
|
|
3039
|
+
};
|
|
3040
|
+
type: "bash";
|
|
3041
|
+
} | {
|
|
3042
|
+
enabled: boolean;
|
|
3043
|
+
name: "edit";
|
|
3044
|
+
permission_policy: {
|
|
3045
|
+
type: "always_allow";
|
|
3046
|
+
} | {
|
|
3047
|
+
type: "always_ask";
|
|
3048
|
+
} | {
|
|
3049
|
+
type: "auto";
|
|
3050
|
+
};
|
|
3051
|
+
type: "edit";
|
|
3052
|
+
} | {
|
|
3053
|
+
enabled: boolean;
|
|
3054
|
+
name: "read";
|
|
3055
|
+
permission_policy: {
|
|
3056
|
+
type: "always_allow";
|
|
3057
|
+
} | {
|
|
3058
|
+
type: "always_ask";
|
|
3059
|
+
} | {
|
|
3060
|
+
type: "auto";
|
|
3061
|
+
};
|
|
3062
|
+
type: "read";
|
|
3063
|
+
} | {
|
|
3064
|
+
enabled: boolean;
|
|
3065
|
+
name: "write";
|
|
3066
|
+
permission_policy: {
|
|
3067
|
+
type: "always_allow";
|
|
3068
|
+
} | {
|
|
3069
|
+
type: "always_ask";
|
|
3070
|
+
} | {
|
|
3071
|
+
type: "auto";
|
|
3072
|
+
};
|
|
3073
|
+
type: "write";
|
|
3074
|
+
} | {
|
|
3075
|
+
enabled: boolean;
|
|
3076
|
+
name: "glob";
|
|
3077
|
+
permission_policy: {
|
|
3078
|
+
type: "always_allow";
|
|
3079
|
+
} | {
|
|
3080
|
+
type: "always_ask";
|
|
3081
|
+
} | {
|
|
3082
|
+
type: "auto";
|
|
3083
|
+
};
|
|
3084
|
+
type: "glob";
|
|
3085
|
+
} | {
|
|
3086
|
+
enabled: boolean;
|
|
3087
|
+
name: "grep";
|
|
3088
|
+
permission_policy: {
|
|
3089
|
+
type: "always_allow";
|
|
3090
|
+
} | {
|
|
3091
|
+
type: "always_ask";
|
|
3092
|
+
} | {
|
|
3093
|
+
type: "auto";
|
|
3094
|
+
};
|
|
3095
|
+
type: "grep";
|
|
3096
|
+
} | {
|
|
3097
|
+
enabled: boolean;
|
|
3098
|
+
name: "web_fetch";
|
|
3099
|
+
permission_policy: {
|
|
3100
|
+
type: "always_allow";
|
|
3101
|
+
} | {
|
|
3102
|
+
type: "always_ask";
|
|
3103
|
+
} | {
|
|
3104
|
+
type: "auto";
|
|
3105
|
+
};
|
|
3106
|
+
type: "web_fetch";
|
|
3107
|
+
allowed_domains?: Array<string>;
|
|
3108
|
+
blocked_domains?: Array<string>;
|
|
3109
|
+
max_content_tokens?: null | number;
|
|
3110
|
+
} | {
|
|
3111
|
+
enabled: boolean;
|
|
3112
|
+
name: "web_search";
|
|
3113
|
+
permission_policy: {
|
|
3114
|
+
type: "always_allow";
|
|
3115
|
+
} | {
|
|
3116
|
+
type: "always_ask";
|
|
3117
|
+
} | {
|
|
3118
|
+
type: "auto";
|
|
3119
|
+
};
|
|
3120
|
+
type: "web_search";
|
|
3121
|
+
allowed_domains?: Array<string>;
|
|
3122
|
+
blocked_domains?: Array<string>;
|
|
3123
|
+
user_location?: null | {
|
|
3124
|
+
type: "approximate";
|
|
3125
|
+
city?: null | string;
|
|
3126
|
+
country?: null | string;
|
|
3127
|
+
region?: null | string;
|
|
3128
|
+
timezone?: null | string;
|
|
3129
|
+
};
|
|
3130
|
+
} | {
|
|
3131
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
3132
|
+
enabled: boolean;
|
|
3133
|
+
permission_policy: {
|
|
3134
|
+
type: "always_allow" | "always_ask";
|
|
3135
|
+
};
|
|
3136
|
+
}>;
|
|
3137
|
+
default_config: {
|
|
3138
|
+
enabled: boolean;
|
|
3139
|
+
permission_policy: {
|
|
3140
|
+
type: "always_allow";
|
|
3141
|
+
} | {
|
|
3142
|
+
type: "always_ask";
|
|
3143
|
+
} | {
|
|
3144
|
+
type: "auto";
|
|
3145
|
+
};
|
|
3146
|
+
};
|
|
3147
|
+
type: "agent_toolset_20260401";
|
|
3148
|
+
} | {
|
|
3149
|
+
type: "mcp_toolset";
|
|
3150
|
+
mcp_server_name: string;
|
|
3151
|
+
default_config?: {
|
|
3152
|
+
enabled?: boolean | null;
|
|
3153
|
+
permission_policy?: null | {
|
|
3154
|
+
type: "always_allow" | "always_ask";
|
|
3155
|
+
};
|
|
3156
|
+
} | null;
|
|
3157
|
+
configs?: Array<{
|
|
3158
|
+
name: string;
|
|
3159
|
+
enabled?: boolean | null;
|
|
3160
|
+
permission_policy?: null | {
|
|
3161
|
+
type: "always_allow" | "always_ask";
|
|
3162
|
+
};
|
|
3163
|
+
}> | null;
|
|
3164
|
+
} | {
|
|
3165
|
+
description: string;
|
|
3166
|
+
input_schema: {
|
|
3167
|
+
type: "object";
|
|
3168
|
+
properties?: null | {
|
|
3169
|
+
[key: string]: unknown;
|
|
3170
|
+
};
|
|
3171
|
+
required?: null | Array<string>;
|
|
3172
|
+
[key: string]: unknown;
|
|
3173
|
+
};
|
|
3174
|
+
name: string;
|
|
3175
|
+
type: "custom";
|
|
3176
|
+
}>;
|
|
3177
|
+
type: "agent";
|
|
3178
|
+
version: number;
|
|
3179
|
+
};
|
|
3180
|
+
archived_at: null | string;
|
|
3181
|
+
budget: null | {
|
|
3182
|
+
max_list_cost: {
|
|
3183
|
+
amount: string;
|
|
3184
|
+
currency: "USD";
|
|
3185
|
+
};
|
|
3186
|
+
type: "limit";
|
|
3187
|
+
};
|
|
3188
|
+
created_at: string;
|
|
3189
|
+
environment_id?: string;
|
|
3190
|
+
metadata: {
|
|
3191
|
+
[key: string]: string;
|
|
3192
|
+
};
|
|
3193
|
+
outcome_evaluations: Array<{
|
|
3194
|
+
completed_at: null | string;
|
|
3195
|
+
description: string;
|
|
3196
|
+
explanation: null | string;
|
|
3197
|
+
iteration: number;
|
|
3198
|
+
outcome_id: string;
|
|
3199
|
+
result: string;
|
|
3200
|
+
type: "outcome_evaluation";
|
|
3201
|
+
}>;
|
|
3202
|
+
resources: Array<{
|
|
3203
|
+
id: string;
|
|
3204
|
+
created_at: string;
|
|
3205
|
+
mount_path: string;
|
|
3206
|
+
type: "github_repository";
|
|
3207
|
+
updated_at: string;
|
|
3208
|
+
url: string;
|
|
3209
|
+
checkout?: null | {
|
|
3210
|
+
name: string;
|
|
3211
|
+
type: "branch";
|
|
3212
|
+
} | {
|
|
3213
|
+
sha: string;
|
|
3214
|
+
type: "commit";
|
|
3215
|
+
};
|
|
3216
|
+
} | {
|
|
3217
|
+
id: string;
|
|
3218
|
+
created_at: string;
|
|
3219
|
+
file_id: string;
|
|
3220
|
+
mount_path: string;
|
|
3221
|
+
type: "file";
|
|
3222
|
+
updated_at: string;
|
|
3223
|
+
} | {
|
|
3224
|
+
memory_store_id: string;
|
|
3225
|
+
type: "memory_store";
|
|
3226
|
+
access?: null | "read_write" | "read_only";
|
|
3227
|
+
description?: string;
|
|
3228
|
+
instructions?: null | string;
|
|
3229
|
+
mount_path?: null | string;
|
|
3230
|
+
name?: null | string;
|
|
3231
|
+
}>;
|
|
3232
|
+
stats: {
|
|
3233
|
+
active_seconds?: number;
|
|
3234
|
+
duration_seconds?: number;
|
|
3235
|
+
};
|
|
3236
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
3237
|
+
title: null | string;
|
|
3238
|
+
type: "session";
|
|
2370
3239
|
updated_at: string;
|
|
3240
|
+
usage: {
|
|
3241
|
+
active_seconds?: number;
|
|
3242
|
+
cache_creation?: {
|
|
3243
|
+
ephemeral_1h_input_tokens?: number;
|
|
3244
|
+
ephemeral_5m_input_tokens?: number;
|
|
3245
|
+
};
|
|
3246
|
+
cache_read_input_tokens?: number;
|
|
3247
|
+
input_tokens?: number;
|
|
3248
|
+
list_cost?: null | {
|
|
3249
|
+
amount: string;
|
|
3250
|
+
currency: "USD";
|
|
3251
|
+
};
|
|
3252
|
+
output_tokens?: number;
|
|
3253
|
+
server_tool_use?: null | {
|
|
3254
|
+
web_fetch_requests?: number;
|
|
3255
|
+
web_search_requests?: number;
|
|
3256
|
+
};
|
|
3257
|
+
cost_by_product?: {
|
|
3258
|
+
[key: string]: string;
|
|
3259
|
+
};
|
|
3260
|
+
subagent_cost_micro_usd?: number;
|
|
3261
|
+
};
|
|
2371
3262
|
vault_ids: Array<string>;
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
3263
|
+
deployment_id?: null | string;
|
|
3264
|
+
cwd: string;
|
|
3265
|
+
workspace?: {
|
|
3266
|
+
kind: "shared" | "isolated";
|
|
3267
|
+
path?: string;
|
|
3268
|
+
branch?: string;
|
|
2375
3269
|
};
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
|
|
2379
|
-
id: string;
|
|
2380
|
-
agent: {
|
|
2381
|
-
id: string;
|
|
2382
|
-
type: "agent";
|
|
2383
|
-
version: number;
|
|
2384
|
-
} | {
|
|
2385
|
-
id: string;
|
|
2386
|
-
type: "agent_with_overrides";
|
|
2387
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2388
|
-
cwd?: string;
|
|
2389
|
-
model?: string | {
|
|
3270
|
+
computer_id?: string;
|
|
3271
|
+
model?: {
|
|
2390
3272
|
id: string;
|
|
2391
|
-
|
|
2392
|
-
|
|
3273
|
+
thinking: {
|
|
3274
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
3275
|
+
can_disable: boolean;
|
|
3276
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
3277
|
+
} | null;
|
|
2393
3278
|
};
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
schedule: null | Types.AgentManaged111;
|
|
2406
|
-
status: "active" | "paused";
|
|
2407
|
-
type: "deployment";
|
|
2408
|
-
updated_at: string;
|
|
2409
|
-
vault_ids: Array<string>;
|
|
2410
|
-
budget?: null | Types.AgentManaged76;
|
|
2411
|
-
target: {
|
|
2412
|
-
type: "environment" | "computer";
|
|
2413
|
-
};
|
|
2414
|
-
}>;
|
|
2415
|
-
};
|
|
2416
|
-
environments: {
|
|
2417
|
-
archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
|
|
2418
|
-
create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
|
|
2419
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
|
|
2420
|
-
data: Array<Types.AgentManaged138>;
|
|
2421
|
-
next_page: string | null;
|
|
2422
|
-
}>;
|
|
2423
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
|
|
2424
|
-
update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
|
|
2425
|
-
};
|
|
2426
|
-
sessions: {
|
|
3279
|
+
thinking?: {
|
|
3280
|
+
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3281
|
+
} | null;
|
|
3282
|
+
forked_from?: {
|
|
3283
|
+
session_id: string;
|
|
3284
|
+
message_id: string;
|
|
3285
|
+
} | null;
|
|
3286
|
+
readonly external_user_id: string | null;
|
|
3287
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
3288
|
+
}>;
|
|
3289
|
+
};
|
|
2427
3290
|
archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
|
|
2428
3291
|
id: string;
|
|
2429
3292
|
agent: {
|
|
@@ -2437,6 +3300,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2437
3300
|
speed?: "standard" | "fast";
|
|
2438
3301
|
settings?: {
|
|
2439
3302
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3303
|
+
max_output_tokens?: number;
|
|
2440
3304
|
};
|
|
2441
3305
|
};
|
|
2442
3306
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -2463,6 +3327,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
2463
3327
|
vault_ids: Array<string>;
|
|
2464
3328
|
deployment_id?: null | string;
|
|
2465
3329
|
cwd: string;
|
|
3330
|
+
workspace?: {
|
|
3331
|
+
kind: "shared" | "isolated";
|
|
3332
|
+
path?: string;
|
|
3333
|
+
branch?: string;
|
|
3334
|
+
};
|
|
2466
3335
|
computer_id?: string;
|
|
2467
3336
|
model?: {
|
|
2468
3337
|
id: string;
|
|
@@ -2503,6 +3372,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
2503
3372
|
filename: string;
|
|
2504
3373
|
mime_type: string;
|
|
2505
3374
|
bytes: number;
|
|
3375
|
+
} | {
|
|
3376
|
+
kind: "object";
|
|
3377
|
+
object_type: "canvas" | "media_asset";
|
|
3378
|
+
object_id: string;
|
|
3379
|
+
href: string;
|
|
3380
|
+
title: string | null;
|
|
2506
3381
|
}>;
|
|
2507
3382
|
source_hrefs: Array<string>;
|
|
2508
3383
|
create_time: string;
|
|
@@ -2592,6 +3467,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2592
3467
|
speed?: "standard" | "fast";
|
|
2593
3468
|
settings?: {
|
|
2594
3469
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3470
|
+
max_output_tokens?: number;
|
|
2595
3471
|
};
|
|
2596
3472
|
};
|
|
2597
3473
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -2618,6 +3494,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
2618
3494
|
vault_ids: Array<string>;
|
|
2619
3495
|
deployment_id?: null | string;
|
|
2620
3496
|
cwd: string;
|
|
3497
|
+
workspace?: {
|
|
3498
|
+
kind: "shared" | "isolated";
|
|
3499
|
+
path?: string;
|
|
3500
|
+
branch?: string;
|
|
3501
|
+
};
|
|
2621
3502
|
computer_id?: string;
|
|
2622
3503
|
model?: {
|
|
2623
3504
|
id: string;
|
|
@@ -2678,7 +3559,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2678
3559
|
run_id: string | null;
|
|
2679
3560
|
message_id?: string;
|
|
2680
3561
|
} | {
|
|
2681
|
-
full_access_available?: boolean;
|
|
2682
3562
|
id: string;
|
|
2683
3563
|
input: Types.AgentManaged197;
|
|
2684
3564
|
mcp_server_name: string;
|
|
@@ -2688,6 +3568,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
2688
3568
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
2689
3569
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
2690
3570
|
session_thread_id?: null | string;
|
|
3571
|
+
permission_suggestions?: Array<{
|
|
3572
|
+
type: "add_rules";
|
|
3573
|
+
behavior: "allow";
|
|
3574
|
+
destination: "agent" | "session";
|
|
3575
|
+
rules: Array<{
|
|
3576
|
+
tool_name: string;
|
|
3577
|
+
rule_content: string;
|
|
3578
|
+
}>;
|
|
3579
|
+
}>;
|
|
3580
|
+
full_access_available?: boolean;
|
|
3581
|
+
user_once?: true;
|
|
3582
|
+
guarded_rule?: string;
|
|
2691
3583
|
run_id: string | null;
|
|
2692
3584
|
_meta?: {
|
|
2693
3585
|
ui?: {
|
|
@@ -2701,17 +3593,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2701
3593
|
};
|
|
2702
3594
|
source?: "app" | "codemode";
|
|
2703
3595
|
parent_tool_use_id?: string;
|
|
2704
|
-
user_once?: true;
|
|
2705
|
-
guarded_rule?: string;
|
|
2706
|
-
permission_suggestions?: Array<{
|
|
2707
|
-
type: "add_rules";
|
|
2708
|
-
behavior: "allow";
|
|
2709
|
-
destination: "agent" | "session";
|
|
2710
|
-
rules: Array<{
|
|
2711
|
-
tool_name: string;
|
|
2712
|
-
rule_content: string;
|
|
2713
|
-
}>;
|
|
2714
|
-
}>;
|
|
2715
3596
|
title?: string;
|
|
2716
3597
|
input_titles?: {
|
|
2717
3598
|
[key: string]: string;
|
|
@@ -2730,7 +3611,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2730
3611
|
};
|
|
2731
3612
|
source?: "app" | "codemode";
|
|
2732
3613
|
} | {
|
|
2733
|
-
full_access_available?: boolean;
|
|
2734
3614
|
id: string;
|
|
2735
3615
|
input: Types.AgentManaged206;
|
|
2736
3616
|
name: string;
|
|
@@ -2739,9 +3619,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2739
3619
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
2740
3620
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
2741
3621
|
session_thread_id?: null | string;
|
|
2742
|
-
run_id: string | null;
|
|
2743
|
-
user_once?: true;
|
|
2744
|
-
guarded_rule?: string;
|
|
2745
3622
|
permission_suggestions?: Array<{
|
|
2746
3623
|
type: "add_rules";
|
|
2747
3624
|
behavior: "allow";
|
|
@@ -2751,6 +3628,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
2751
3628
|
rule_content: string;
|
|
2752
3629
|
}>;
|
|
2753
3630
|
}>;
|
|
3631
|
+
full_access_available?: boolean;
|
|
3632
|
+
user_once?: true;
|
|
3633
|
+
guarded_rule?: string;
|
|
3634
|
+
run_id: string | null;
|
|
2754
3635
|
} | {
|
|
2755
3636
|
id: string;
|
|
2756
3637
|
processed_at: string;
|
|
@@ -2771,9 +3652,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2771
3652
|
type: "session.status_idle";
|
|
2772
3653
|
run_id: string | null;
|
|
2773
3654
|
} | 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 | {
|
|
2774
|
-
permission_mode_version?: number;
|
|
2775
|
-
previous_permission_mode?: string | null;
|
|
2776
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2777
3655
|
id: string;
|
|
2778
3656
|
processed_at: string;
|
|
2779
3657
|
type: "session.updated";
|
|
@@ -2781,6 +3659,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
2781
3659
|
budget?: null | Types.AgentManaged76;
|
|
2782
3660
|
metadata?: Types.AgentManaged246;
|
|
2783
3661
|
title?: null | string;
|
|
3662
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
3663
|
+
previous_permission_mode?: string | null;
|
|
3664
|
+
permission_mode_version?: number;
|
|
2784
3665
|
model?: {
|
|
2785
3666
|
id: string;
|
|
2786
3667
|
};
|
|
@@ -2941,6 +3822,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2941
3822
|
speed?: "standard" | "fast";
|
|
2942
3823
|
settings?: {
|
|
2943
3824
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3825
|
+
max_output_tokens?: number;
|
|
2944
3826
|
};
|
|
2945
3827
|
};
|
|
2946
3828
|
multiagent: null | {
|
|
@@ -3403,6 +4285,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3403
4285
|
vault_ids: Array<string>;
|
|
3404
4286
|
deployment_id?: null | string;
|
|
3405
4287
|
cwd: string;
|
|
4288
|
+
workspace?: {
|
|
4289
|
+
kind: "shared" | "isolated";
|
|
4290
|
+
path?: string;
|
|
4291
|
+
branch?: string;
|
|
4292
|
+
};
|
|
3406
4293
|
computer_id?: string;
|
|
3407
4294
|
model?: {
|
|
3408
4295
|
id: string;
|
|
@@ -3436,32 +4323,576 @@ export declare function createAgent(transport: Transport): {
|
|
|
3436
4323
|
speed?: "standard" | "fast";
|
|
3437
4324
|
settings?: {
|
|
3438
4325
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4326
|
+
max_output_tokens?: number;
|
|
4327
|
+
};
|
|
4328
|
+
};
|
|
4329
|
+
multiagent: null | Types.AgentManaged171;
|
|
4330
|
+
name: string;
|
|
4331
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
4332
|
+
system: null | string;
|
|
4333
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
4334
|
+
type: "agent";
|
|
4335
|
+
version: number;
|
|
4336
|
+
};
|
|
4337
|
+
archived_at: null | string;
|
|
4338
|
+
budget: null | Types.AgentManaged76;
|
|
4339
|
+
created_at: string;
|
|
4340
|
+
environment_id?: string;
|
|
4341
|
+
metadata: Types.AgentManaged173;
|
|
4342
|
+
outcome_evaluations: Array<Types.AgentManaged174>;
|
|
4343
|
+
resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
4344
|
+
stats: Types.AgentManaged178;
|
|
4345
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
4346
|
+
title: null | string;
|
|
4347
|
+
type: "session";
|
|
4348
|
+
updated_at: string;
|
|
4349
|
+
usage: Types.AgentManaged179;
|
|
4350
|
+
vault_ids: Array<string>;
|
|
4351
|
+
deployment_id?: null | string;
|
|
4352
|
+
cwd: string;
|
|
4353
|
+
workspace?: {
|
|
4354
|
+
kind: "shared" | "isolated";
|
|
4355
|
+
path?: string;
|
|
4356
|
+
branch?: string;
|
|
4357
|
+
};
|
|
4358
|
+
computer_id?: string;
|
|
4359
|
+
model?: {
|
|
4360
|
+
id: string;
|
|
4361
|
+
thinking: {
|
|
4362
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
4363
|
+
can_disable: boolean;
|
|
4364
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
4365
|
+
} | null;
|
|
4366
|
+
};
|
|
4367
|
+
thinking?: {
|
|
4368
|
+
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4369
|
+
} | null;
|
|
4370
|
+
forked_from?: {
|
|
4371
|
+
session_id: string;
|
|
4372
|
+
message_id: string;
|
|
4373
|
+
} | null;
|
|
4374
|
+
readonly external_user_id: string | null;
|
|
4375
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
4376
|
+
}>;
|
|
4377
|
+
next_page: string | null;
|
|
4378
|
+
}>;
|
|
4379
|
+
name: {
|
|
4380
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
|
|
4381
|
+
id: string;
|
|
4382
|
+
agent: {
|
|
4383
|
+
id: string;
|
|
4384
|
+
description: null | string;
|
|
4385
|
+
mcp_servers: Array<{
|
|
4386
|
+
type: "url";
|
|
4387
|
+
name: string;
|
|
4388
|
+
url: string;
|
|
4389
|
+
headers?: {
|
|
4390
|
+
[key: string]: string;
|
|
4391
|
+
};
|
|
4392
|
+
timeout_ms?: number;
|
|
4393
|
+
} | {
|
|
4394
|
+
type: "sse";
|
|
4395
|
+
name: string;
|
|
4396
|
+
url: string;
|
|
4397
|
+
headers?: {
|
|
4398
|
+
[key: string]: string;
|
|
4399
|
+
};
|
|
4400
|
+
timeout_ms?: number;
|
|
4401
|
+
} | {
|
|
4402
|
+
type: "stdio";
|
|
4403
|
+
name: string;
|
|
4404
|
+
command: string;
|
|
4405
|
+
args?: Array<string>;
|
|
4406
|
+
env?: {
|
|
4407
|
+
[key: string]: string;
|
|
4408
|
+
};
|
|
4409
|
+
timeout_ms?: number;
|
|
4410
|
+
}>;
|
|
4411
|
+
model: {
|
|
4412
|
+
id: string;
|
|
4413
|
+
effort?: {
|
|
4414
|
+
type: "low";
|
|
4415
|
+
} | {
|
|
4416
|
+
type: "medium";
|
|
4417
|
+
} | {
|
|
4418
|
+
type: "high";
|
|
4419
|
+
} | {
|
|
4420
|
+
type: "xhigh";
|
|
4421
|
+
} | {
|
|
4422
|
+
type: "max";
|
|
4423
|
+
};
|
|
4424
|
+
inference_geo?: string;
|
|
4425
|
+
speed?: "standard" | "fast";
|
|
4426
|
+
settings?: {
|
|
4427
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4428
|
+
max_output_tokens?: number;
|
|
3439
4429
|
};
|
|
3440
4430
|
};
|
|
3441
|
-
multiagent: null |
|
|
4431
|
+
multiagent: null | {
|
|
4432
|
+
agents: Array<{
|
|
4433
|
+
model: string;
|
|
4434
|
+
type: "advisor";
|
|
4435
|
+
} | {
|
|
4436
|
+
id: string;
|
|
4437
|
+
description: null | string;
|
|
4438
|
+
mcp_servers: Array<{
|
|
4439
|
+
type: "url";
|
|
4440
|
+
name: string;
|
|
4441
|
+
url: string;
|
|
4442
|
+
headers?: {
|
|
4443
|
+
[key: string]: string;
|
|
4444
|
+
};
|
|
4445
|
+
timeout_ms?: number;
|
|
4446
|
+
} | {
|
|
4447
|
+
type: "sse";
|
|
4448
|
+
name: string;
|
|
4449
|
+
url: string;
|
|
4450
|
+
headers?: {
|
|
4451
|
+
[key: string]: string;
|
|
4452
|
+
};
|
|
4453
|
+
timeout_ms?: number;
|
|
4454
|
+
} | {
|
|
4455
|
+
type: "stdio";
|
|
4456
|
+
name: string;
|
|
4457
|
+
command: string;
|
|
4458
|
+
args?: Array<string>;
|
|
4459
|
+
env?: {
|
|
4460
|
+
[key: string]: string;
|
|
4461
|
+
};
|
|
4462
|
+
timeout_ms?: number;
|
|
4463
|
+
}>;
|
|
4464
|
+
model: {
|
|
4465
|
+
id: string;
|
|
4466
|
+
effort?: {
|
|
4467
|
+
type: "low";
|
|
4468
|
+
} | {
|
|
4469
|
+
type: "medium";
|
|
4470
|
+
} | {
|
|
4471
|
+
type: "high";
|
|
4472
|
+
} | {
|
|
4473
|
+
type: "xhigh";
|
|
4474
|
+
} | {
|
|
4475
|
+
type: "max";
|
|
4476
|
+
};
|
|
4477
|
+
inference_geo?: string;
|
|
4478
|
+
speed?: "standard" | "fast";
|
|
4479
|
+
};
|
|
4480
|
+
name: string;
|
|
4481
|
+
skills: Array<{
|
|
4482
|
+
skill_id: string;
|
|
4483
|
+
type: "anthropic";
|
|
4484
|
+
version: string;
|
|
4485
|
+
} | {
|
|
4486
|
+
skill_id: string;
|
|
4487
|
+
type: "custom";
|
|
4488
|
+
version: string;
|
|
4489
|
+
}>;
|
|
4490
|
+
system: null | string;
|
|
4491
|
+
tools: Array<{
|
|
4492
|
+
configs: Array<{
|
|
4493
|
+
enabled: boolean;
|
|
4494
|
+
name: "bash";
|
|
4495
|
+
permission_policy: {
|
|
4496
|
+
type: "always_allow";
|
|
4497
|
+
} | {
|
|
4498
|
+
type: "always_ask";
|
|
4499
|
+
} | {
|
|
4500
|
+
type: "auto";
|
|
4501
|
+
};
|
|
4502
|
+
type: "bash";
|
|
4503
|
+
} | {
|
|
4504
|
+
enabled: boolean;
|
|
4505
|
+
name: "edit";
|
|
4506
|
+
permission_policy: {
|
|
4507
|
+
type: "always_allow";
|
|
4508
|
+
} | {
|
|
4509
|
+
type: "always_ask";
|
|
4510
|
+
} | {
|
|
4511
|
+
type: "auto";
|
|
4512
|
+
};
|
|
4513
|
+
type: "edit";
|
|
4514
|
+
} | {
|
|
4515
|
+
enabled: boolean;
|
|
4516
|
+
name: "read";
|
|
4517
|
+
permission_policy: {
|
|
4518
|
+
type: "always_allow";
|
|
4519
|
+
} | {
|
|
4520
|
+
type: "always_ask";
|
|
4521
|
+
} | {
|
|
4522
|
+
type: "auto";
|
|
4523
|
+
};
|
|
4524
|
+
type: "read";
|
|
4525
|
+
} | {
|
|
4526
|
+
enabled: boolean;
|
|
4527
|
+
name: "write";
|
|
4528
|
+
permission_policy: {
|
|
4529
|
+
type: "always_allow";
|
|
4530
|
+
} | {
|
|
4531
|
+
type: "always_ask";
|
|
4532
|
+
} | {
|
|
4533
|
+
type: "auto";
|
|
4534
|
+
};
|
|
4535
|
+
type: "write";
|
|
4536
|
+
} | {
|
|
4537
|
+
enabled: boolean;
|
|
4538
|
+
name: "glob";
|
|
4539
|
+
permission_policy: {
|
|
4540
|
+
type: "always_allow";
|
|
4541
|
+
} | {
|
|
4542
|
+
type: "always_ask";
|
|
4543
|
+
} | {
|
|
4544
|
+
type: "auto";
|
|
4545
|
+
};
|
|
4546
|
+
type: "glob";
|
|
4547
|
+
} | {
|
|
4548
|
+
enabled: boolean;
|
|
4549
|
+
name: "grep";
|
|
4550
|
+
permission_policy: {
|
|
4551
|
+
type: "always_allow";
|
|
4552
|
+
} | {
|
|
4553
|
+
type: "always_ask";
|
|
4554
|
+
} | {
|
|
4555
|
+
type: "auto";
|
|
4556
|
+
};
|
|
4557
|
+
type: "grep";
|
|
4558
|
+
} | {
|
|
4559
|
+
enabled: boolean;
|
|
4560
|
+
name: "web_fetch";
|
|
4561
|
+
permission_policy: {
|
|
4562
|
+
type: "always_allow";
|
|
4563
|
+
} | {
|
|
4564
|
+
type: "always_ask";
|
|
4565
|
+
} | {
|
|
4566
|
+
type: "auto";
|
|
4567
|
+
};
|
|
4568
|
+
type: "web_fetch";
|
|
4569
|
+
allowed_domains?: Array<string>;
|
|
4570
|
+
blocked_domains?: Array<string>;
|
|
4571
|
+
max_content_tokens?: null | number;
|
|
4572
|
+
} | {
|
|
4573
|
+
enabled: boolean;
|
|
4574
|
+
name: "web_search";
|
|
4575
|
+
permission_policy: {
|
|
4576
|
+
type: "always_allow";
|
|
4577
|
+
} | {
|
|
4578
|
+
type: "always_ask";
|
|
4579
|
+
} | {
|
|
4580
|
+
type: "auto";
|
|
4581
|
+
};
|
|
4582
|
+
type: "web_search";
|
|
4583
|
+
allowed_domains?: Array<string>;
|
|
4584
|
+
blocked_domains?: Array<string>;
|
|
4585
|
+
user_location?: null | {
|
|
4586
|
+
type: "approximate";
|
|
4587
|
+
city?: null | string;
|
|
4588
|
+
country?: null | string;
|
|
4589
|
+
region?: null | string;
|
|
4590
|
+
timezone?: null | string;
|
|
4591
|
+
};
|
|
4592
|
+
} | {
|
|
4593
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
4594
|
+
enabled: boolean;
|
|
4595
|
+
permission_policy: {
|
|
4596
|
+
type: "always_allow" | "always_ask";
|
|
4597
|
+
};
|
|
4598
|
+
}>;
|
|
4599
|
+
default_config: {
|
|
4600
|
+
enabled: boolean;
|
|
4601
|
+
permission_policy: {
|
|
4602
|
+
type: "always_allow";
|
|
4603
|
+
} | {
|
|
4604
|
+
type: "always_ask";
|
|
4605
|
+
} | {
|
|
4606
|
+
type: "auto";
|
|
4607
|
+
};
|
|
4608
|
+
};
|
|
4609
|
+
type: "agent_toolset_20260401";
|
|
4610
|
+
} | {
|
|
4611
|
+
type: "mcp_toolset";
|
|
4612
|
+
mcp_server_name: string;
|
|
4613
|
+
default_config?: {
|
|
4614
|
+
enabled?: boolean | null;
|
|
4615
|
+
permission_policy?: null | {
|
|
4616
|
+
type: "always_allow" | "always_ask";
|
|
4617
|
+
};
|
|
4618
|
+
} | null;
|
|
4619
|
+
configs?: Array<{
|
|
4620
|
+
name: string;
|
|
4621
|
+
enabled?: boolean | null;
|
|
4622
|
+
permission_policy?: null | {
|
|
4623
|
+
type: "always_allow" | "always_ask";
|
|
4624
|
+
};
|
|
4625
|
+
}> | null;
|
|
4626
|
+
} | {
|
|
4627
|
+
description: string;
|
|
4628
|
+
input_schema: {
|
|
4629
|
+
type: "object";
|
|
4630
|
+
properties?: null | {
|
|
4631
|
+
[key: string]: unknown;
|
|
4632
|
+
};
|
|
4633
|
+
required?: null | Array<string>;
|
|
4634
|
+
[key: string]: unknown;
|
|
4635
|
+
};
|
|
4636
|
+
name: string;
|
|
4637
|
+
type: "custom";
|
|
4638
|
+
}>;
|
|
4639
|
+
type: "agent";
|
|
4640
|
+
version: number;
|
|
4641
|
+
}>;
|
|
4642
|
+
type: "coordinator";
|
|
4643
|
+
};
|
|
3442
4644
|
name: string;
|
|
3443
|
-
skills: Array<
|
|
4645
|
+
skills: Array<{
|
|
4646
|
+
skill_id: string;
|
|
4647
|
+
type: "anthropic";
|
|
4648
|
+
version: string;
|
|
4649
|
+
} | {
|
|
4650
|
+
skill_id: string;
|
|
4651
|
+
type: "custom";
|
|
4652
|
+
version: string;
|
|
4653
|
+
}>;
|
|
3444
4654
|
system: null | string;
|
|
3445
|
-
tools: Array<
|
|
4655
|
+
tools: Array<{
|
|
4656
|
+
configs: Array<{
|
|
4657
|
+
enabled: boolean;
|
|
4658
|
+
name: "bash";
|
|
4659
|
+
permission_policy: {
|
|
4660
|
+
type: "always_allow";
|
|
4661
|
+
} | {
|
|
4662
|
+
type: "always_ask";
|
|
4663
|
+
} | {
|
|
4664
|
+
type: "auto";
|
|
4665
|
+
};
|
|
4666
|
+
type: "bash";
|
|
4667
|
+
} | {
|
|
4668
|
+
enabled: boolean;
|
|
4669
|
+
name: "edit";
|
|
4670
|
+
permission_policy: {
|
|
4671
|
+
type: "always_allow";
|
|
4672
|
+
} | {
|
|
4673
|
+
type: "always_ask";
|
|
4674
|
+
} | {
|
|
4675
|
+
type: "auto";
|
|
4676
|
+
};
|
|
4677
|
+
type: "edit";
|
|
4678
|
+
} | {
|
|
4679
|
+
enabled: boolean;
|
|
4680
|
+
name: "read";
|
|
4681
|
+
permission_policy: {
|
|
4682
|
+
type: "always_allow";
|
|
4683
|
+
} | {
|
|
4684
|
+
type: "always_ask";
|
|
4685
|
+
} | {
|
|
4686
|
+
type: "auto";
|
|
4687
|
+
};
|
|
4688
|
+
type: "read";
|
|
4689
|
+
} | {
|
|
4690
|
+
enabled: boolean;
|
|
4691
|
+
name: "write";
|
|
4692
|
+
permission_policy: {
|
|
4693
|
+
type: "always_allow";
|
|
4694
|
+
} | {
|
|
4695
|
+
type: "always_ask";
|
|
4696
|
+
} | {
|
|
4697
|
+
type: "auto";
|
|
4698
|
+
};
|
|
4699
|
+
type: "write";
|
|
4700
|
+
} | {
|
|
4701
|
+
enabled: boolean;
|
|
4702
|
+
name: "glob";
|
|
4703
|
+
permission_policy: {
|
|
4704
|
+
type: "always_allow";
|
|
4705
|
+
} | {
|
|
4706
|
+
type: "always_ask";
|
|
4707
|
+
} | {
|
|
4708
|
+
type: "auto";
|
|
4709
|
+
};
|
|
4710
|
+
type: "glob";
|
|
4711
|
+
} | {
|
|
4712
|
+
enabled: boolean;
|
|
4713
|
+
name: "grep";
|
|
4714
|
+
permission_policy: {
|
|
4715
|
+
type: "always_allow";
|
|
4716
|
+
} | {
|
|
4717
|
+
type: "always_ask";
|
|
4718
|
+
} | {
|
|
4719
|
+
type: "auto";
|
|
4720
|
+
};
|
|
4721
|
+
type: "grep";
|
|
4722
|
+
} | {
|
|
4723
|
+
enabled: boolean;
|
|
4724
|
+
name: "web_fetch";
|
|
4725
|
+
permission_policy: {
|
|
4726
|
+
type: "always_allow";
|
|
4727
|
+
} | {
|
|
4728
|
+
type: "always_ask";
|
|
4729
|
+
} | {
|
|
4730
|
+
type: "auto";
|
|
4731
|
+
};
|
|
4732
|
+
type: "web_fetch";
|
|
4733
|
+
allowed_domains?: Array<string>;
|
|
4734
|
+
blocked_domains?: Array<string>;
|
|
4735
|
+
max_content_tokens?: null | number;
|
|
4736
|
+
} | {
|
|
4737
|
+
enabled: boolean;
|
|
4738
|
+
name: "web_search";
|
|
4739
|
+
permission_policy: {
|
|
4740
|
+
type: "always_allow";
|
|
4741
|
+
} | {
|
|
4742
|
+
type: "always_ask";
|
|
4743
|
+
} | {
|
|
4744
|
+
type: "auto";
|
|
4745
|
+
};
|
|
4746
|
+
type: "web_search";
|
|
4747
|
+
allowed_domains?: Array<string>;
|
|
4748
|
+
blocked_domains?: Array<string>;
|
|
4749
|
+
user_location?: null | {
|
|
4750
|
+
type: "approximate";
|
|
4751
|
+
city?: null | string;
|
|
4752
|
+
country?: null | string;
|
|
4753
|
+
region?: null | string;
|
|
4754
|
+
timezone?: null | string;
|
|
4755
|
+
};
|
|
4756
|
+
} | {
|
|
4757
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
4758
|
+
enabled: boolean;
|
|
4759
|
+
permission_policy: {
|
|
4760
|
+
type: "always_allow" | "always_ask";
|
|
4761
|
+
};
|
|
4762
|
+
}>;
|
|
4763
|
+
default_config: {
|
|
4764
|
+
enabled: boolean;
|
|
4765
|
+
permission_policy: {
|
|
4766
|
+
type: "always_allow";
|
|
4767
|
+
} | {
|
|
4768
|
+
type: "always_ask";
|
|
4769
|
+
} | {
|
|
4770
|
+
type: "auto";
|
|
4771
|
+
};
|
|
4772
|
+
};
|
|
4773
|
+
type: "agent_toolset_20260401";
|
|
4774
|
+
} | {
|
|
4775
|
+
type: "mcp_toolset";
|
|
4776
|
+
mcp_server_name: string;
|
|
4777
|
+
default_config?: {
|
|
4778
|
+
enabled?: boolean | null;
|
|
4779
|
+
permission_policy?: null | {
|
|
4780
|
+
type: "always_allow" | "always_ask";
|
|
4781
|
+
};
|
|
4782
|
+
} | null;
|
|
4783
|
+
configs?: Array<{
|
|
4784
|
+
name: string;
|
|
4785
|
+
enabled?: boolean | null;
|
|
4786
|
+
permission_policy?: null | {
|
|
4787
|
+
type: "always_allow" | "always_ask";
|
|
4788
|
+
};
|
|
4789
|
+
}> | null;
|
|
4790
|
+
} | {
|
|
4791
|
+
description: string;
|
|
4792
|
+
input_schema: {
|
|
4793
|
+
type: "object";
|
|
4794
|
+
properties?: null | {
|
|
4795
|
+
[key: string]: unknown;
|
|
4796
|
+
};
|
|
4797
|
+
required?: null | Array<string>;
|
|
4798
|
+
[key: string]: unknown;
|
|
4799
|
+
};
|
|
4800
|
+
name: string;
|
|
4801
|
+
type: "custom";
|
|
4802
|
+
}>;
|
|
3446
4803
|
type: "agent";
|
|
3447
4804
|
version: number;
|
|
3448
4805
|
};
|
|
3449
4806
|
archived_at: null | string;
|
|
3450
|
-
budget: null |
|
|
4807
|
+
budget: null | {
|
|
4808
|
+
max_list_cost: {
|
|
4809
|
+
amount: string;
|
|
4810
|
+
currency: "USD";
|
|
4811
|
+
};
|
|
4812
|
+
type: "limit";
|
|
4813
|
+
};
|
|
3451
4814
|
created_at: string;
|
|
3452
4815
|
environment_id?: string;
|
|
3453
|
-
metadata:
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
4816
|
+
metadata: {
|
|
4817
|
+
[key: string]: string;
|
|
4818
|
+
};
|
|
4819
|
+
outcome_evaluations: Array<{
|
|
4820
|
+
completed_at: null | string;
|
|
4821
|
+
description: string;
|
|
4822
|
+
explanation: null | string;
|
|
4823
|
+
iteration: number;
|
|
4824
|
+
outcome_id: string;
|
|
4825
|
+
result: string;
|
|
4826
|
+
type: "outcome_evaluation";
|
|
4827
|
+
}>;
|
|
4828
|
+
resources: Array<{
|
|
4829
|
+
id: string;
|
|
4830
|
+
created_at: string;
|
|
4831
|
+
mount_path: string;
|
|
4832
|
+
type: "github_repository";
|
|
4833
|
+
updated_at: string;
|
|
4834
|
+
url: string;
|
|
4835
|
+
checkout?: null | {
|
|
4836
|
+
name: string;
|
|
4837
|
+
type: "branch";
|
|
4838
|
+
} | {
|
|
4839
|
+
sha: string;
|
|
4840
|
+
type: "commit";
|
|
4841
|
+
};
|
|
4842
|
+
} | {
|
|
4843
|
+
id: string;
|
|
4844
|
+
created_at: string;
|
|
4845
|
+
file_id: string;
|
|
4846
|
+
mount_path: string;
|
|
4847
|
+
type: "file";
|
|
4848
|
+
updated_at: string;
|
|
4849
|
+
} | {
|
|
4850
|
+
memory_store_id: string;
|
|
4851
|
+
type: "memory_store";
|
|
4852
|
+
access?: null | "read_write" | "read_only";
|
|
4853
|
+
description?: string;
|
|
4854
|
+
instructions?: null | string;
|
|
4855
|
+
mount_path?: null | string;
|
|
4856
|
+
name?: null | string;
|
|
4857
|
+
}>;
|
|
4858
|
+
stats: {
|
|
4859
|
+
active_seconds?: number;
|
|
4860
|
+
duration_seconds?: number;
|
|
4861
|
+
};
|
|
3457
4862
|
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
3458
4863
|
title: null | string;
|
|
3459
4864
|
type: "session";
|
|
3460
4865
|
updated_at: string;
|
|
3461
|
-
usage:
|
|
4866
|
+
usage: {
|
|
4867
|
+
active_seconds?: number;
|
|
4868
|
+
cache_creation?: {
|
|
4869
|
+
ephemeral_1h_input_tokens?: number;
|
|
4870
|
+
ephemeral_5m_input_tokens?: number;
|
|
4871
|
+
};
|
|
4872
|
+
cache_read_input_tokens?: number;
|
|
4873
|
+
input_tokens?: number;
|
|
4874
|
+
list_cost?: null | {
|
|
4875
|
+
amount: string;
|
|
4876
|
+
currency: "USD";
|
|
4877
|
+
};
|
|
4878
|
+
output_tokens?: number;
|
|
4879
|
+
server_tool_use?: null | {
|
|
4880
|
+
web_fetch_requests?: number;
|
|
4881
|
+
web_search_requests?: number;
|
|
4882
|
+
};
|
|
4883
|
+
cost_by_product?: {
|
|
4884
|
+
[key: string]: string;
|
|
4885
|
+
};
|
|
4886
|
+
subagent_cost_micro_usd?: number;
|
|
4887
|
+
};
|
|
3462
4888
|
vault_ids: Array<string>;
|
|
3463
4889
|
deployment_id?: null | string;
|
|
3464
4890
|
cwd: string;
|
|
4891
|
+
workspace?: {
|
|
4892
|
+
kind: "shared" | "isolated";
|
|
4893
|
+
path?: string;
|
|
4894
|
+
branch?: string;
|
|
4895
|
+
};
|
|
3465
4896
|
computer_id?: string;
|
|
3466
4897
|
model?: {
|
|
3467
4898
|
id: string;
|
|
@@ -3481,8 +4912,21 @@ export declare function createAgent(transport: Transport): {
|
|
|
3481
4912
|
readonly external_user_id: string | null;
|
|
3482
4913
|
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
3483
4914
|
}>;
|
|
3484
|
-
|
|
3485
|
-
|
|
4915
|
+
};
|
|
4916
|
+
requests: {
|
|
4917
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
|
|
4918
|
+
data: Array<{
|
|
4919
|
+
id: string;
|
|
4920
|
+
object: "request";
|
|
4921
|
+
kind: "question" | "approval";
|
|
4922
|
+
status: "pending";
|
|
4923
|
+
tool_name: string;
|
|
4924
|
+
input: unknown;
|
|
4925
|
+
create_time: string;
|
|
4926
|
+
expire_time: string | null;
|
|
4927
|
+
}>;
|
|
4928
|
+
}>;
|
|
4929
|
+
};
|
|
3486
4930
|
resources: {
|
|
3487
4931
|
create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
|
|
3488
4932
|
delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
|
|
@@ -3513,6 +4957,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3513
4957
|
speed?: "standard" | "fast";
|
|
3514
4958
|
settings?: {
|
|
3515
4959
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4960
|
+
max_output_tokens?: number;
|
|
3516
4961
|
};
|
|
3517
4962
|
};
|
|
3518
4963
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -3539,6 +4984,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3539
4984
|
vault_ids: Array<string>;
|
|
3540
4985
|
deployment_id?: null | string;
|
|
3541
4986
|
cwd: string;
|
|
4987
|
+
workspace?: {
|
|
4988
|
+
kind: "shared" | "isolated";
|
|
4989
|
+
path?: string;
|
|
4990
|
+
branch?: string;
|
|
4991
|
+
};
|
|
3542
4992
|
computer_id?: string;
|
|
3543
4993
|
model?: {
|
|
3544
4994
|
id: string;
|
|
@@ -3685,7 +5135,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3685
5135
|
run_id: string | null;
|
|
3686
5136
|
message_id?: string;
|
|
3687
5137
|
} | {
|
|
3688
|
-
full_access_available?: boolean;
|
|
3689
5138
|
id: string;
|
|
3690
5139
|
input: Types.AgentManaged197;
|
|
3691
5140
|
mcp_server_name: string;
|
|
@@ -3695,6 +5144,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
3695
5144
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
3696
5145
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
3697
5146
|
session_thread_id?: null | string;
|
|
5147
|
+
permission_suggestions?: Array<{
|
|
5148
|
+
type: "add_rules";
|
|
5149
|
+
behavior: "allow";
|
|
5150
|
+
destination: "agent" | "session";
|
|
5151
|
+
rules: Array<{
|
|
5152
|
+
tool_name: string;
|
|
5153
|
+
rule_content: string;
|
|
5154
|
+
}>;
|
|
5155
|
+
}>;
|
|
5156
|
+
full_access_available?: boolean;
|
|
5157
|
+
user_once?: true;
|
|
5158
|
+
guarded_rule?: string;
|
|
3698
5159
|
run_id: string | null;
|
|
3699
5160
|
parent_tool_use_id?: string;
|
|
3700
5161
|
_meta?: {
|
|
@@ -3708,17 +5169,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3708
5169
|
};
|
|
3709
5170
|
};
|
|
3710
5171
|
source?: "app" | "codemode";
|
|
3711
|
-
user_once?: true;
|
|
3712
|
-
guarded_rule?: string;
|
|
3713
|
-
permission_suggestions?: Array<{
|
|
3714
|
-
type: "add_rules";
|
|
3715
|
-
behavior: "allow";
|
|
3716
|
-
destination: "agent" | "session";
|
|
3717
|
-
rules: Array<{
|
|
3718
|
-
tool_name: string;
|
|
3719
|
-
rule_content: string;
|
|
3720
|
-
}>;
|
|
3721
|
-
}>;
|
|
3722
5172
|
title?: string;
|
|
3723
5173
|
input_titles?: {
|
|
3724
5174
|
[key: string]: string;
|
|
@@ -3737,7 +5187,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3737
5187
|
};
|
|
3738
5188
|
source?: "app" | "codemode";
|
|
3739
5189
|
} | {
|
|
3740
|
-
full_access_available?: boolean;
|
|
3741
5190
|
id: string;
|
|
3742
5191
|
input: Types.AgentManaged206;
|
|
3743
5192
|
name: string;
|
|
@@ -3746,9 +5195,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3746
5195
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
3747
5196
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
3748
5197
|
session_thread_id?: null | string;
|
|
3749
|
-
run_id: string | null;
|
|
3750
|
-
user_once?: true;
|
|
3751
|
-
guarded_rule?: string;
|
|
3752
5198
|
permission_suggestions?: Array<{
|
|
3753
5199
|
type: "add_rules";
|
|
3754
5200
|
behavior: "allow";
|
|
@@ -3758,6 +5204,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
3758
5204
|
rule_content: string;
|
|
3759
5205
|
}>;
|
|
3760
5206
|
}>;
|
|
5207
|
+
full_access_available?: boolean;
|
|
5208
|
+
user_once?: true;
|
|
5209
|
+
guarded_rule?: string;
|
|
5210
|
+
run_id: string | null;
|
|
3761
5211
|
} | {
|
|
3762
5212
|
id: string;
|
|
3763
5213
|
processed_at: string;
|
|
@@ -3778,9 +5228,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3778
5228
|
type: "session.status_idle";
|
|
3779
5229
|
run_id: string | null;
|
|
3780
5230
|
} | 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 | {
|
|
3781
|
-
permission_mode_version?: number;
|
|
3782
|
-
previous_permission_mode?: string | null;
|
|
3783
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
3784
5231
|
id: string;
|
|
3785
5232
|
processed_at: string;
|
|
3786
5233
|
type: "session.updated";
|
|
@@ -3788,6 +5235,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
3788
5235
|
budget?: null | Types.AgentManaged76;
|
|
3789
5236
|
metadata?: Types.AgentManaged246;
|
|
3790
5237
|
title?: null | string;
|
|
5238
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
5239
|
+
previous_permission_mode?: string | null;
|
|
5240
|
+
permission_mode_version?: number;
|
|
3791
5241
|
model?: {
|
|
3792
5242
|
id: string;
|
|
3793
5243
|
};
|
|
@@ -3878,6 +5328,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3878
5328
|
speed?: "standard" | "fast";
|
|
3879
5329
|
settings?: {
|
|
3880
5330
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
5331
|
+
max_output_tokens?: number;
|
|
3881
5332
|
};
|
|
3882
5333
|
};
|
|
3883
5334
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -3904,6 +5355,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3904
5355
|
vault_ids: Array<string>;
|
|
3905
5356
|
deployment_id?: null | string;
|
|
3906
5357
|
cwd: string;
|
|
5358
|
+
workspace?: {
|
|
5359
|
+
kind: "shared" | "isolated";
|
|
5360
|
+
path?: string;
|
|
5361
|
+
branch?: string;
|
|
5362
|
+
};
|
|
3907
5363
|
computer_id?: string;
|
|
3908
5364
|
model?: {
|
|
3909
5365
|
id: string;
|
|
@@ -3968,6 +5424,29 @@ export declare function createAgent(transport: Transport): {
|
|
|
3968
5424
|
next_page: null;
|
|
3969
5425
|
}>;
|
|
3970
5426
|
};
|
|
5427
|
+
uploads: {
|
|
5428
|
+
contentUrl: {
|
|
5429
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
|
|
5430
|
+
url: string;
|
|
5431
|
+
expires_at: string;
|
|
5432
|
+
}>;
|
|
5433
|
+
};
|
|
5434
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
|
|
5435
|
+
upload_id: string;
|
|
5436
|
+
expires_at: string;
|
|
5437
|
+
url: string;
|
|
5438
|
+
} | {
|
|
5439
|
+
upload_id: string;
|
|
5440
|
+
expires_at: string;
|
|
5441
|
+
part_size: number;
|
|
5442
|
+
parts: Array<{
|
|
5443
|
+
part_number: number;
|
|
5444
|
+
url: string;
|
|
5445
|
+
}>;
|
|
5446
|
+
complete_url: string;
|
|
5447
|
+
status_url: string;
|
|
5448
|
+
}>;
|
|
5449
|
+
};
|
|
3971
5450
|
};
|
|
3972
5451
|
export declare function createApplication(transport: Transport): {
|
|
3973
5452
|
assets: {
|
|
@@ -4232,6 +5711,11 @@ export declare function createAutomation(transport: Transport): {
|
|
|
4232
5711
|
};
|
|
4233
5712
|
};
|
|
4234
5713
|
};
|
|
5714
|
+
export declare function createBilling(transport: Transport): {
|
|
5715
|
+
prices: {
|
|
5716
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
|
|
5717
|
+
};
|
|
5718
|
+
};
|
|
4235
5719
|
export declare function createBrowser(transport: Transport): {
|
|
4236
5720
|
connect: {
|
|
4237
5721
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
|
|
@@ -4291,6 +5775,11 @@ export declare function createBrowser(transport: Transport): {
|
|
|
4291
5775
|
type: "evaluate";
|
|
4292
5776
|
tab: string;
|
|
4293
5777
|
value: unknown;
|
|
5778
|
+
} | {
|
|
5779
|
+
type: "set_cookie";
|
|
5780
|
+
tab: string;
|
|
5781
|
+
name: string;
|
|
5782
|
+
domain: string;
|
|
4294
5783
|
}>;
|
|
4295
5784
|
};
|
|
4296
5785
|
create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
|
|
@@ -4348,6 +5837,24 @@ export declare function createCanvas(transport: Transport): {
|
|
|
4348
5837
|
update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
|
|
4349
5838
|
};
|
|
4350
5839
|
};
|
|
5840
|
+
export declare function createContent(transport: Transport): {
|
|
5841
|
+
contents: {
|
|
5842
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
|
|
5843
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
|
|
5844
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
|
|
5845
|
+
publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
|
|
5846
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
|
|
5847
|
+
unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
|
|
5848
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
|
|
5849
|
+
};
|
|
5850
|
+
playbackSessions: {
|
|
5851
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
|
|
5852
|
+
};
|
|
5853
|
+
versions: {
|
|
5854
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
|
|
5855
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
|
|
5856
|
+
};
|
|
5857
|
+
};
|
|
4351
5858
|
export declare function createCrm(transport: Transport): {
|
|
4352
5859
|
associations: {
|
|
4353
5860
|
create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
|
|
@@ -4408,6 +5915,32 @@ export declare function createCrm(transport: Transport): {
|
|
|
4408
5915
|
list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
|
|
4409
5916
|
};
|
|
4410
5917
|
};
|
|
5918
|
+
export declare function createCustomer(transport: Transport): {
|
|
5919
|
+
accessTokens: {
|
|
5920
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
|
|
5921
|
+
renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
|
|
5922
|
+
revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
|
|
5923
|
+
};
|
|
5924
|
+
customers: {
|
|
5925
|
+
block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
|
|
5926
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
|
|
5927
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
|
|
5928
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
|
|
5929
|
+
revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
|
|
5930
|
+
unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
|
|
5931
|
+
};
|
|
5932
|
+
grantCodes: {
|
|
5933
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
|
|
5934
|
+
};
|
|
5935
|
+
publishableKeys: {
|
|
5936
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
|
|
5937
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
|
|
5938
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
|
|
5939
|
+
};
|
|
5940
|
+
usage: {
|
|
5941
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
|
|
5942
|
+
};
|
|
5943
|
+
};
|
|
4411
5944
|
export declare function createCut(transport: Transport): {
|
|
4412
5945
|
exports: {
|
|
4413
5946
|
cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
|
|
@@ -4506,7 +6039,9 @@ export declare function createDatabase(transport: Transport): {
|
|
|
4506
6039
|
export declare function createDevops(transport: Transport): {
|
|
4507
6040
|
changes: {
|
|
4508
6041
|
abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
|
|
6042
|
+
gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
|
|
4509
6043
|
markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
|
|
6044
|
+
openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
|
|
4510
6045
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
|
|
4511
6046
|
};
|
|
4512
6047
|
connections: {
|
|
@@ -4563,6 +6098,7 @@ export declare function createDevops(transport: Transport): {
|
|
|
4563
6098
|
flags: {
|
|
4564
6099
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
|
|
4565
6100
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsListData>) => Promise<Types.DevopsFlagPage>;
|
|
6101
|
+
reportCodeRefs: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsReportCodeRefsData>) => Promise<Types.DevopsFlagCodeRefsReportResult>;
|
|
4566
6102
|
};
|
|
4567
6103
|
list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
|
|
4568
6104
|
promotions: {
|
|
@@ -4577,6 +6113,7 @@ export declare function createDevops(transport: Transport): {
|
|
|
4577
6113
|
};
|
|
4578
6114
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
|
|
4579
6115
|
retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
|
|
6116
|
+
retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
|
|
4580
6117
|
segments: {
|
|
4581
6118
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
|
|
4582
6119
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
|
|
@@ -4625,6 +6162,7 @@ export declare function createDevops(transport: Transport): {
|
|
|
4625
6162
|
};
|
|
4626
6163
|
};
|
|
4627
6164
|
pullRequests: {
|
|
6165
|
+
close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
|
|
4628
6166
|
merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
|
|
4629
6167
|
recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
|
|
4630
6168
|
rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
|
|
@@ -4765,12 +6303,19 @@ export declare function createMedia(transport: Transport): {
|
|
|
4765
6303
|
};
|
|
4766
6304
|
libraries: {
|
|
4767
6305
|
assets: {
|
|
6306
|
+
align: {
|
|
6307
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
|
|
6308
|
+
};
|
|
4768
6309
|
batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
|
|
4769
6310
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
|
|
4770
6311
|
delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
|
|
4771
6312
|
frames: {
|
|
4772
6313
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
|
|
4773
6314
|
};
|
|
6315
|
+
hls: {
|
|
6316
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
|
|
6317
|
+
list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
|
|
6318
|
+
};
|
|
4774
6319
|
import: {
|
|
4775
6320
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
|
|
4776
6321
|
};
|
|
@@ -4837,6 +6382,12 @@ export declare function createMedia(transport: Transport): {
|
|
|
4837
6382
|
retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
|
|
4838
6383
|
};
|
|
4839
6384
|
update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
|
|
6385
|
+
voices: {
|
|
6386
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
|
|
6387
|
+
designs: {
|
|
6388
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
|
|
6389
|
+
};
|
|
6390
|
+
};
|
|
4840
6391
|
};
|
|
4841
6392
|
speech: {
|
|
4842
6393
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
|
|
@@ -5360,6 +6911,7 @@ export declare function createModel(transport: Transport): {
|
|
|
5360
6911
|
unsigned_urls: Array<string>;
|
|
5361
6912
|
usage?: {
|
|
5362
6913
|
cost: number;
|
|
6914
|
+
billed_seconds?: number;
|
|
5363
6915
|
};
|
|
5364
6916
|
}>;
|
|
5365
6917
|
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
|
|
@@ -5390,6 +6942,7 @@ export declare function createModel(transport: Transport): {
|
|
|
5390
6942
|
unsigned_urls: Array<string>;
|
|
5391
6943
|
usage?: {
|
|
5392
6944
|
cost: number;
|
|
6945
|
+
billed_seconds?: number;
|
|
5393
6946
|
};
|
|
5394
6947
|
}>;
|
|
5395
6948
|
has_more: boolean;
|
|
@@ -5418,6 +6971,7 @@ export declare function createModel(transport: Transport): {
|
|
|
5418
6971
|
unsigned_urls: Array<string>;
|
|
5419
6972
|
usage?: {
|
|
5420
6973
|
cost: number;
|
|
6974
|
+
billed_seconds?: number;
|
|
5421
6975
|
};
|
|
5422
6976
|
}>;
|
|
5423
6977
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
|
|
@@ -5828,13 +7382,145 @@ export declare function createOrganization(transport: Transport): {
|
|
|
5828
7382
|
}>;
|
|
5829
7383
|
};
|
|
5830
7384
|
};
|
|
7385
|
+
export declare function createRegistry(transport: Transport): {
|
|
7386
|
+
installations: {
|
|
7387
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
|
|
7388
|
+
update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
|
|
7389
|
+
};
|
|
7390
|
+
packages: {
|
|
7391
|
+
git: {
|
|
7392
|
+
commits: {
|
|
7393
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommit>;
|
|
7394
|
+
};
|
|
7395
|
+
files: {
|
|
7396
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
|
|
7397
|
+
};
|
|
7398
|
+
retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
|
|
7399
|
+
trees: {
|
|
7400
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
|
|
7401
|
+
};
|
|
7402
|
+
};
|
|
7403
|
+
installations: {
|
|
7404
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
|
|
7405
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
|
|
7406
|
+
};
|
|
7407
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
|
|
7408
|
+
versions: {
|
|
7409
|
+
contents: {
|
|
7410
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
|
|
7411
|
+
};
|
|
7412
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
|
|
7413
|
+
files: {
|
|
7414
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
|
|
7415
|
+
};
|
|
7416
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
|
|
7417
|
+
retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
|
|
7418
|
+
withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
|
|
7419
|
+
};
|
|
7420
|
+
};
|
|
7421
|
+
repositories: {
|
|
7422
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
|
|
7423
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
|
|
7424
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
|
|
7425
|
+
packages: {
|
|
7426
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
|
|
7427
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
|
|
7428
|
+
};
|
|
7429
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
|
|
7430
|
+
update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
|
|
7431
|
+
};
|
|
7432
|
+
};
|
|
5831
7433
|
export declare function createSandbox(transport: Transport): {
|
|
7434
|
+
byod: {
|
|
7435
|
+
devices: {
|
|
7436
|
+
disconnect: {
|
|
7437
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
|
|
7438
|
+
id: string;
|
|
7439
|
+
object: "byod_device";
|
|
7440
|
+
disconnected: true;
|
|
7441
|
+
}>;
|
|
7442
|
+
};
|
|
7443
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
|
|
7444
|
+
data: Array<{
|
|
7445
|
+
object: "byod_device";
|
|
7446
|
+
id: string;
|
|
7447
|
+
platform: "android";
|
|
7448
|
+
name: string;
|
|
7449
|
+
model: string;
|
|
7450
|
+
os_version: string;
|
|
7451
|
+
online: boolean;
|
|
7452
|
+
last_seen_at: string | null;
|
|
7453
|
+
created_at: string;
|
|
7454
|
+
}>;
|
|
7455
|
+
}>;
|
|
7456
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
|
|
7457
|
+
object: "byod_device";
|
|
7458
|
+
id: string;
|
|
7459
|
+
platform: "android";
|
|
7460
|
+
name: string;
|
|
7461
|
+
model: string;
|
|
7462
|
+
os_version: string;
|
|
7463
|
+
online: boolean;
|
|
7464
|
+
last_seen_at: string | null;
|
|
7465
|
+
created_at: string;
|
|
7466
|
+
}>;
|
|
7467
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
|
|
7468
|
+
object: "byod_device";
|
|
7469
|
+
id: string;
|
|
7470
|
+
platform: "android";
|
|
7471
|
+
name: string;
|
|
7472
|
+
model: string;
|
|
7473
|
+
os_version: string;
|
|
7474
|
+
online: boolean;
|
|
7475
|
+
last_seen_at: string | null;
|
|
7476
|
+
created_at: string;
|
|
7477
|
+
}>;
|
|
7478
|
+
};
|
|
7479
|
+
pairings: {
|
|
7480
|
+
claim: {
|
|
7481
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
|
|
7482
|
+
device_id: string;
|
|
7483
|
+
credential: string;
|
|
7484
|
+
socket_url: string;
|
|
7485
|
+
}>;
|
|
7486
|
+
};
|
|
7487
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
|
|
7488
|
+
code: string;
|
|
7489
|
+
expires_at: string;
|
|
7490
|
+
qr: string;
|
|
7491
|
+
}>;
|
|
7492
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
|
|
7493
|
+
organization_name: string;
|
|
7494
|
+
expires_at: string;
|
|
7495
|
+
}>;
|
|
7496
|
+
};
|
|
7497
|
+
};
|
|
5832
7498
|
events: {
|
|
5833
7499
|
sandboxes: {
|
|
5834
7500
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
|
|
5835
7501
|
};
|
|
5836
7502
|
};
|
|
5837
7503
|
sandboxes: {
|
|
7504
|
+
act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
|
|
7505
|
+
type: "snapshot";
|
|
7506
|
+
snapshot: string;
|
|
7507
|
+
refs: number;
|
|
7508
|
+
truncated: boolean;
|
|
7509
|
+
package: string;
|
|
7510
|
+
} | {
|
|
7511
|
+
type: "screenshot";
|
|
7512
|
+
mediaType: string;
|
|
7513
|
+
data: string;
|
|
7514
|
+
width: number;
|
|
7515
|
+
height: number;
|
|
7516
|
+
bytes: number;
|
|
7517
|
+
} | {
|
|
7518
|
+
type: "ok";
|
|
7519
|
+
ms?: number;
|
|
7520
|
+
} | {
|
|
7521
|
+
type: "wait";
|
|
7522
|
+
ms: number;
|
|
7523
|
+
}>;
|
|
5838
7524
|
commands: {
|
|
5839
7525
|
run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
|
|
5840
7526
|
stdout: string;
|
|
@@ -6064,6 +7750,14 @@ export declare function createSearch(transport: Transport): {
|
|
|
6064
7750
|
}>;
|
|
6065
7751
|
};
|
|
6066
7752
|
};
|
|
7753
|
+
export declare function createShare(transport: Transport): {
|
|
7754
|
+
permissions: {
|
|
7755
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
|
|
7756
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
|
|
7757
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
|
|
7758
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
|
|
7759
|
+
};
|
|
7760
|
+
};
|
|
6067
7761
|
export declare function createStudio(transport: Transport): {
|
|
6068
7762
|
codexes: {
|
|
6069
7763
|
create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
|
|
@@ -6355,9 +8049,12 @@ export declare const resourceFactories: {
|
|
|
6355
8049
|
agent: typeof createAgent;
|
|
6356
8050
|
application: typeof createApplication;
|
|
6357
8051
|
automation: typeof createAutomation;
|
|
8052
|
+
billing: typeof createBilling;
|
|
6358
8053
|
browser: typeof createBrowser;
|
|
6359
8054
|
canvas: typeof createCanvas;
|
|
8055
|
+
content: typeof createContent;
|
|
6360
8056
|
crm: typeof createCrm;
|
|
8057
|
+
customer: typeof createCustomer;
|
|
6361
8058
|
cut: typeof createCut;
|
|
6362
8059
|
database: typeof createDatabase;
|
|
6363
8060
|
devops: typeof createDevops;
|
|
@@ -6368,8 +8065,10 @@ export declare const resourceFactories: {
|
|
|
6368
8065
|
model: typeof createModel;
|
|
6369
8066
|
ontology: typeof createOntology;
|
|
6370
8067
|
organization: typeof createOrganization;
|
|
8068
|
+
registry: typeof createRegistry;
|
|
6371
8069
|
sandbox: typeof createSandbox;
|
|
6372
8070
|
search: typeof createSearch;
|
|
8071
|
+
share: typeof createShare;
|
|
6373
8072
|
studio: typeof createStudio;
|
|
6374
8073
|
ticket: typeof createTicket;
|
|
6375
8074
|
vault: typeof createVault;
|