@deepraxis/sdk 0.1.1-dev.604ca9a → 0.1.1-dev.61176d7

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.
@@ -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;
@@ -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;
@@ -232,6 +237,13 @@ export declare function createAgent(transport: Transport): {
232
237
  enabled?: boolean;
233
238
  }>;
234
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
  };
@@ -680,21 +657,6 @@ export declare function createAgent(transport: Transport): {
680
657
  type: "user.steer";
681
658
  event_id: string;
682
659
  processed_at: string;
683
- } | {
684
- id: string;
685
- type: "user.tool_confirmation";
686
- processed_at: string;
687
- tool_use_id: string;
688
- result: "allow";
689
- answers: {
690
- [key: string]: string;
691
- };
692
- annotations?: {
693
- [key: string]: {
694
- preview?: string;
695
- notes?: string;
696
- };
697
- };
698
660
  }>;
699
661
  next_page: string | null;
700
662
  }>;
@@ -715,21 +677,6 @@ export declare function createAgent(transport: Transport): {
715
677
  type: "user.steer";
716
678
  event_id: string;
717
679
  processed_at: string;
718
- } | {
719
- id: string;
720
- type: "user.tool_confirmation";
721
- processed_at: string;
722
- tool_use_id: string;
723
- result: "allow";
724
- answers: {
725
- [key: string]: string;
726
- };
727
- annotations?: {
728
- [key: string]: {
729
- preview?: string;
730
- notes?: string;
731
- };
732
- };
733
680
  }>;
734
681
  }>;
735
682
  stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -763,6 +710,7 @@ export declare function createAgent(transport: Transport): {
763
710
  speed?: "standard" | "fast";
764
711
  settings?: {
765
712
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
713
+ max_output_tokens?: number;
766
714
  };
767
715
  };
768
716
  multiagent?: null | Types.AgentManaged39;
@@ -787,6 +735,7 @@ export declare function createAgent(transport: Transport): {
787
735
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
788
736
  id: string;
789
737
  access: "read_only" | "read_write" | "invoke";
738
+ customer_access?: "read_only" | "read_write" | "invoke";
790
739
  instructions?: string;
791
740
  readonly verified?: boolean;
792
741
  enabled?: boolean;
@@ -796,6 +745,13 @@ export declare function createAgent(transport: Transport): {
796
745
  enabled?: boolean;
797
746
  }>;
798
747
  kind: "general" | "service" | "assume";
748
+ computers?: {
749
+ default: string;
750
+ allowed: Array<{
751
+ template: string;
752
+ name: string;
753
+ }>;
754
+ };
799
755
  computer_id?: string;
800
756
  subagent_model?: string | null;
801
757
  subagents?: Array<{
@@ -888,6 +844,7 @@ export declare function createAgent(transport: Transport): {
888
844
  allowManagedHooksOnly?: boolean;
889
845
  allowManagedMcpServersOnly?: boolean;
890
846
  allowManagedPermissionRulesOnly?: boolean;
847
+ idleCompaction?: boolean;
891
848
  autoMemoryEnabled?: boolean;
892
849
  disabled?: {
893
850
  subagents?: Array<string>;
@@ -896,7 +853,6 @@ export declare function createAgent(transport: Transport): {
896
853
  mcpServers?: Array<string>;
897
854
  hooks?: Array<string>;
898
855
  };
899
- idleCompaction?: boolean;
900
856
  outputStyle?: string;
901
857
  } | null;
902
858
  models?: {
@@ -904,6 +860,7 @@ export declare function createAgent(transport: Transport): {
904
860
  };
905
861
  avatar: string | null;
906
862
  creation_source: string | null;
863
+ managed_by: string | null;
907
864
  identity_number: string | null;
908
865
  environment_id?: string | null;
909
866
  vault_ids?: Array<string>;
@@ -917,6 +874,34 @@ export declare function createAgent(transport: Transport): {
917
874
  }>;
918
875
  next_page: string | null;
919
876
  }>;
877
+ phone: {
878
+ release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
879
+ object: "agent_phone";
880
+ agent_id: string;
881
+ configured: boolean;
882
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
883
+ sku: string | null;
884
+ byod_device: string | null;
885
+ name: string | null;
886
+ sandbox_id: string | null;
887
+ lease_ends_at: string | null;
888
+ archived_at: string | null;
889
+ archive_error: string | null;
890
+ }>;
891
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
892
+ object: "agent_phone";
893
+ agent_id: string;
894
+ configured: boolean;
895
+ state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
896
+ sku: string | null;
897
+ byod_device: string | null;
898
+ name: string | null;
899
+ sandbox_id: string | null;
900
+ lease_ends_at: string | null;
901
+ archived_at: string | null;
902
+ archive_error: string | null;
903
+ }>;
904
+ };
920
905
  retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
921
906
  id: string;
922
907
  archived_at: null | string;
@@ -931,6 +916,7 @@ export declare function createAgent(transport: Transport): {
931
916
  speed?: "standard" | "fast";
932
917
  settings?: {
933
918
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
919
+ max_output_tokens?: number;
934
920
  };
935
921
  };
936
922
  multiagent?: null | Types.AgentManaged39;
@@ -956,6 +942,7 @@ export declare function createAgent(transport: Transport): {
956
942
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
957
943
  id: string;
958
944
  access: "read_only" | "read_write" | "invoke";
945
+ customer_access?: "read_only" | "read_write" | "invoke";
959
946
  instructions?: string;
960
947
  readonly verified?: boolean;
961
948
  enabled?: boolean;
@@ -965,6 +952,13 @@ export declare function createAgent(transport: Transport): {
965
952
  enabled?: boolean;
966
953
  }>;
967
954
  kind: "general" | "service" | "assume";
955
+ computers?: {
956
+ default: string;
957
+ allowed: Array<{
958
+ template: string;
959
+ name: string;
960
+ }>;
961
+ };
968
962
  computer_id?: string;
969
963
  subagent_model?: string | null;
970
964
  subagents?: Array<{
@@ -1057,6 +1051,7 @@ export declare function createAgent(transport: Transport): {
1057
1051
  allowManagedHooksOnly?: boolean;
1058
1052
  allowManagedMcpServersOnly?: boolean;
1059
1053
  allowManagedPermissionRulesOnly?: boolean;
1054
+ idleCompaction?: boolean;
1060
1055
  autoMemoryEnabled?: boolean;
1061
1056
  disabled?: {
1062
1057
  subagents?: Array<string>;
@@ -1065,7 +1060,6 @@ export declare function createAgent(transport: Transport): {
1065
1060
  mcpServers?: Array<string>;
1066
1061
  hooks?: Array<string>;
1067
1062
  };
1068
- idleCompaction?: boolean;
1069
1063
  outputStyle?: string;
1070
1064
  } | null;
1071
1065
  models?: {
@@ -1073,6 +1067,7 @@ export declare function createAgent(transport: Transport): {
1073
1067
  };
1074
1068
  avatar: string | null;
1075
1069
  creation_source: string | null;
1070
+ managed_by: string | null;
1076
1071
  identity_number: string | null;
1077
1072
  environment_id?: string | null;
1078
1073
  vault_ids?: Array<string>;
@@ -1141,6 +1136,25 @@ export declare function createAgent(transport: Transport): {
1141
1136
  history?: {
1142
1137
  enabled?: boolean;
1143
1138
  };
1139
+ uploads?: {
1140
+ enabled: boolean;
1141
+ max_file_bytes: number;
1142
+ max_files_per_session: number;
1143
+ };
1144
+ }>;
1145
+ retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
1146
+ allowed_origins: Array<string>;
1147
+ allow_localhost: boolean;
1148
+ uploads: {
1149
+ enabled: boolean;
1150
+ max_file_bytes: number;
1151
+ max_files_per_session: number;
1152
+ };
1153
+ share_links: {
1154
+ enabled: boolean;
1155
+ daily_session_cap: number | null;
1156
+ daily_spend_cap_micro_usd: number | null;
1157
+ };
1144
1158
  }>;
1145
1159
  unarchive: {
1146
1160
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -1194,6 +1208,7 @@ export declare function createAgent(transport: Transport): {
1194
1208
  speed?: "standard" | "fast";
1195
1209
  settings?: {
1196
1210
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1211
+ max_output_tokens?: number;
1197
1212
  };
1198
1213
  };
1199
1214
  multiagent?: null | {
@@ -1384,6 +1399,7 @@ export declare function createAgent(transport: Transport): {
1384
1399
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1385
1400
  id: string;
1386
1401
  access: "read_only" | "read_write" | "invoke";
1402
+ customer_access?: "read_only" | "read_write" | "invoke";
1387
1403
  instructions?: string;
1388
1404
  readonly verified?: boolean;
1389
1405
  enabled?: boolean;
@@ -1393,6 +1409,13 @@ export declare function createAgent(transport: Transport): {
1393
1409
  enabled?: boolean;
1394
1410
  }>;
1395
1411
  kind: "general" | "service" | "assume";
1412
+ computers?: {
1413
+ default: string;
1414
+ allowed: Array<{
1415
+ template: string;
1416
+ name: string;
1417
+ }>;
1418
+ };
1396
1419
  computer_id?: string;
1397
1420
  subagent_model?: string | null;
1398
1421
  subagents?: Array<{
@@ -1485,6 +1508,7 @@ export declare function createAgent(transport: Transport): {
1485
1508
  allowManagedHooksOnly?: boolean;
1486
1509
  allowManagedMcpServersOnly?: boolean;
1487
1510
  allowManagedPermissionRulesOnly?: boolean;
1511
+ idleCompaction?: boolean;
1488
1512
  autoMemoryEnabled?: boolean;
1489
1513
  disabled?: {
1490
1514
  subagents?: Array<string>;
@@ -1493,7 +1517,6 @@ export declare function createAgent(transport: Transport): {
1493
1517
  mcpServers?: Array<string>;
1494
1518
  hooks?: Array<string>;
1495
1519
  };
1496
- idleCompaction?: boolean;
1497
1520
  outputStyle?: string;
1498
1521
  } | null;
1499
1522
  models?: {
@@ -1501,6 +1524,7 @@ export declare function createAgent(transport: Transport): {
1501
1524
  };
1502
1525
  avatar: string | null;
1503
1526
  creation_source: string | null;
1527
+ managed_by: string | null;
1504
1528
  identity_number: string | null;
1505
1529
  environment_id?: string | null;
1506
1530
  vault_ids?: Array<string>;
@@ -1527,6 +1551,7 @@ export declare function createAgent(transport: Transport): {
1527
1551
  speed?: "standard" | "fast";
1528
1552
  settings?: {
1529
1553
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1554
+ max_output_tokens?: number;
1530
1555
  };
1531
1556
  };
1532
1557
  multiagent?: null | Types.AgentManaged39;
@@ -1552,6 +1577,7 @@ export declare function createAgent(transport: Transport): {
1552
1577
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1553
1578
  id: string;
1554
1579
  access: "read_only" | "read_write" | "invoke";
1580
+ customer_access?: "read_only" | "read_write" | "invoke";
1555
1581
  instructions?: string;
1556
1582
  readonly verified?: boolean;
1557
1583
  enabled?: boolean;
@@ -1561,6 +1587,13 @@ export declare function createAgent(transport: Transport): {
1561
1587
  enabled?: boolean;
1562
1588
  }>;
1563
1589
  kind: "general" | "service" | "assume";
1590
+ computers?: {
1591
+ default: string;
1592
+ allowed: Array<{
1593
+ template: string;
1594
+ name: string;
1595
+ }>;
1596
+ };
1564
1597
  computer_id?: string;
1565
1598
  subagent_model?: string | null;
1566
1599
  subagents?: Array<{
@@ -1653,6 +1686,7 @@ export declare function createAgent(transport: Transport): {
1653
1686
  allowManagedHooksOnly?: boolean;
1654
1687
  allowManagedMcpServersOnly?: boolean;
1655
1688
  allowManagedPermissionRulesOnly?: boolean;
1689
+ idleCompaction?: boolean;
1656
1690
  autoMemoryEnabled?: boolean;
1657
1691
  disabled?: {
1658
1692
  subagents?: Array<string>;
@@ -1661,7 +1695,6 @@ export declare function createAgent(transport: Transport): {
1661
1695
  mcpServers?: Array<string>;
1662
1696
  hooks?: Array<string>;
1663
1697
  };
1664
- idleCompaction?: boolean;
1665
1698
  outputStyle?: string;
1666
1699
  } | null;
1667
1700
  models?: {
@@ -1669,6 +1702,7 @@ export declare function createAgent(transport: Transport): {
1669
1702
  };
1670
1703
  avatar: string | null;
1671
1704
  creation_source: string | null;
1705
+ managed_by: string | null;
1672
1706
  identity_number: string | null;
1673
1707
  environment_id?: string | null;
1674
1708
  vault_ids?: Array<string>;
@@ -1680,113 +1714,338 @@ export declare function createAgent(transport: Transport): {
1680
1714
  keep_coding_instructions?: boolean;
1681
1715
  }> | null;
1682
1716
  }>;
1717
+ updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
1718
+ allowed_origins: Array<string>;
1719
+ allow_localhost: boolean;
1720
+ uploads: {
1721
+ enabled: boolean;
1722
+ max_file_bytes: number;
1723
+ max_files_per_session: number;
1724
+ };
1725
+ share_links: {
1726
+ enabled: boolean;
1727
+ daily_session_cap: number | null;
1728
+ daily_spend_cap_micro_usd: number | null;
1729
+ };
1730
+ }>;
1683
1731
  versions: {
1684
1732
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1685
1733
  id: string;
1686
1734
  archived_at: null | string;
1687
1735
  created_at: string;
1688
1736
  description: null | string;
1689
- mcp_servers: Array<Types.AgentManaged36>;
1690
- metadata: Types.AgentManaged37;
1737
+ mcp_servers: Array<{
1738
+ type: "url";
1739
+ name: string;
1740
+ url: string;
1741
+ headers?: {
1742
+ [key: string]: string;
1743
+ };
1744
+ timeout_ms?: number;
1745
+ } | {
1746
+ type: "sse";
1747
+ name: string;
1748
+ url: string;
1749
+ headers?: {
1750
+ [key: string]: string;
1751
+ };
1752
+ timeout_ms?: number;
1753
+ } | {
1754
+ type: "stdio";
1755
+ name: string;
1756
+ command: string;
1757
+ args?: Array<string>;
1758
+ env?: {
1759
+ [key: string]: string;
1760
+ };
1761
+ timeout_ms?: number;
1762
+ }>;
1763
+ metadata: {
1764
+ [key: string]: string;
1765
+ };
1691
1766
  model?: {
1692
1767
  id: string;
1693
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1768
+ effort?: {
1769
+ type: "low";
1770
+ } | {
1771
+ type: "medium";
1772
+ } | {
1773
+ type: "high";
1774
+ } | {
1775
+ type: "xhigh";
1776
+ } | {
1777
+ type: "max";
1778
+ };
1694
1779
  inference_geo?: string;
1695
1780
  speed?: "standard" | "fast";
1696
1781
  settings?: {
1697
1782
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1783
+ max_output_tokens?: number;
1698
1784
  };
1699
1785
  };
1700
- multiagent?: null | Types.AgentManaged39;
1786
+ multiagent?: null | {
1787
+ agents: Array<{
1788
+ id: string;
1789
+ type: "agent";
1790
+ version: number;
1791
+ } | {
1792
+ model: string;
1793
+ type: "advisor";
1794
+ }>;
1795
+ type: "coordinator";
1796
+ };
1701
1797
  name: string;
1702
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1703
- system: null | string;
1704
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1705
- type: "agent";
1706
- updated_at: string;
1707
- version: number;
1708
- latest_version?: number;
1709
- active_version: number;
1710
- created_by: {
1711
- type: "user";
1712
- id: string;
1713
- name?: string;
1714
- } | {
1715
- type: "api_key";
1716
- id: string;
1717
- } | null;
1718
- note: string | null;
1719
- bindings: Array<{
1720
- type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1721
- id: string;
1722
- access: "read_only" | "read_write" | "invoke";
1723
- instructions?: string;
1724
- readonly verified?: boolean;
1725
- enabled?: boolean;
1798
+ skills: Array<{
1799
+ skill_id: string;
1800
+ type: "anthropic";
1801
+ version: string;
1726
1802
  } | {
1727
- type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1728
- readonly verified?: boolean;
1729
- enabled?: boolean;
1803
+ skill_id: string;
1804
+ type: "custom";
1805
+ version: string;
1730
1806
  }>;
1731
- kind: "general" | "service" | "assume";
1732
- computer_id?: string;
1733
- subagent_model?: string | null;
1734
- subagents?: Array<{
1735
- name: string;
1736
- description: string;
1737
- prompt: string;
1738
- tools?: Array<string>;
1739
- disallowed_tools?: Array<string>;
1740
- model?: string;
1741
- }> | null;
1742
- commands?: Array<{
1743
- name: string;
1744
- description?: string;
1745
- argument_hint?: string;
1746
- prompt: string;
1747
- }> | null;
1748
- settings?: {
1749
- hooks?: {
1750
- SessionStart?: Array<{
1751
- matcher?: string;
1752
- hooks: Array<{
1753
- type: "command";
1754
- command: string;
1755
- timeout?: number;
1756
- async?: boolean;
1757
- enabled?: boolean;
1758
- }>;
1759
- }>;
1760
- UserPromptSubmit?: Array<{
1761
- matcher?: string;
1762
- hooks: Array<{
1763
- type: "command";
1764
- command: string;
1765
- timeout?: number;
1766
- async?: boolean;
1767
- enabled?: boolean;
1768
- }>;
1769
- }>;
1770
- PreToolUse?: Array<{
1771
- matcher?: string;
1772
- hooks: Array<{
1773
- type: "command";
1774
- command: string;
1775
- timeout?: number;
1776
- async?: boolean;
1777
- enabled?: boolean;
1778
- }>;
1779
- }>;
1780
- PermissionRequest?: Array<{
1781
- matcher?: string;
1782
- hooks: Array<{
1783
- type: "command";
1784
- command: string;
1785
- timeout?: number;
1786
- async?: boolean;
1787
- enabled?: boolean;
1788
- }>;
1789
- }>;
1807
+ system: null | string;
1808
+ tools: Array<{
1809
+ configs: Array<{
1810
+ enabled: boolean;
1811
+ name: "bash";
1812
+ permission_policy: {
1813
+ type: "always_allow";
1814
+ } | {
1815
+ type: "always_ask";
1816
+ } | {
1817
+ type: "auto";
1818
+ };
1819
+ type: "bash";
1820
+ } | {
1821
+ enabled: boolean;
1822
+ name: "edit";
1823
+ permission_policy: {
1824
+ type: "always_allow";
1825
+ } | {
1826
+ type: "always_ask";
1827
+ } | {
1828
+ type: "auto";
1829
+ };
1830
+ type: "edit";
1831
+ } | {
1832
+ enabled: boolean;
1833
+ name: "read";
1834
+ permission_policy: {
1835
+ type: "always_allow";
1836
+ } | {
1837
+ type: "always_ask";
1838
+ } | {
1839
+ type: "auto";
1840
+ };
1841
+ type: "read";
1842
+ } | {
1843
+ enabled: boolean;
1844
+ name: "write";
1845
+ permission_policy: {
1846
+ type: "always_allow";
1847
+ } | {
1848
+ type: "always_ask";
1849
+ } | {
1850
+ type: "auto";
1851
+ };
1852
+ type: "write";
1853
+ } | {
1854
+ enabled: boolean;
1855
+ name: "glob";
1856
+ permission_policy: {
1857
+ type: "always_allow";
1858
+ } | {
1859
+ type: "always_ask";
1860
+ } | {
1861
+ type: "auto";
1862
+ };
1863
+ type: "glob";
1864
+ } | {
1865
+ enabled: boolean;
1866
+ name: "grep";
1867
+ permission_policy: {
1868
+ type: "always_allow";
1869
+ } | {
1870
+ type: "always_ask";
1871
+ } | {
1872
+ type: "auto";
1873
+ };
1874
+ type: "grep";
1875
+ } | {
1876
+ enabled: boolean;
1877
+ name: "web_fetch";
1878
+ permission_policy: {
1879
+ type: "always_allow";
1880
+ } | {
1881
+ type: "always_ask";
1882
+ } | {
1883
+ type: "auto";
1884
+ };
1885
+ type: "web_fetch";
1886
+ allowed_domains?: Array<string>;
1887
+ blocked_domains?: Array<string>;
1888
+ max_content_tokens?: null | number;
1889
+ } | {
1890
+ enabled: boolean;
1891
+ name: "web_search";
1892
+ permission_policy: {
1893
+ type: "always_allow";
1894
+ } | {
1895
+ type: "always_ask";
1896
+ } | {
1897
+ type: "auto";
1898
+ };
1899
+ type: "web_search";
1900
+ allowed_domains?: Array<string>;
1901
+ blocked_domains?: Array<string>;
1902
+ user_location?: null | {
1903
+ type: "approximate";
1904
+ city?: null | string;
1905
+ country?: null | string;
1906
+ region?: null | string;
1907
+ timezone?: null | string;
1908
+ };
1909
+ } | {
1910
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
1911
+ enabled: boolean;
1912
+ permission_policy: {
1913
+ type: "always_allow" | "always_ask";
1914
+ };
1915
+ }>;
1916
+ default_config: {
1917
+ enabled: boolean;
1918
+ permission_policy: {
1919
+ type: "always_allow";
1920
+ } | {
1921
+ type: "always_ask";
1922
+ } | {
1923
+ type: "auto";
1924
+ };
1925
+ };
1926
+ type: "agent_toolset_20260401";
1927
+ } | {
1928
+ type: "mcp_toolset";
1929
+ mcp_server_name: string;
1930
+ default_config?: {
1931
+ enabled?: boolean | null;
1932
+ permission_policy?: null | {
1933
+ type: "always_allow" | "always_ask";
1934
+ };
1935
+ } | null;
1936
+ configs?: Array<{
1937
+ name: string;
1938
+ enabled?: boolean | null;
1939
+ permission_policy?: null | {
1940
+ type: "always_allow" | "always_ask";
1941
+ };
1942
+ }> | null;
1943
+ } | {
1944
+ description: string;
1945
+ input_schema: {
1946
+ type: "object";
1947
+ properties?: null | {
1948
+ [key: string]: unknown;
1949
+ };
1950
+ required?: null | Array<string>;
1951
+ [key: string]: unknown;
1952
+ };
1953
+ name: string;
1954
+ type: "custom";
1955
+ }>;
1956
+ type: "agent";
1957
+ updated_at: string;
1958
+ version: number;
1959
+ latest_version?: number;
1960
+ active_version: number;
1961
+ created_by: {
1962
+ type: "user";
1963
+ id: string;
1964
+ name?: string;
1965
+ } | {
1966
+ type: "api_key";
1967
+ id: string;
1968
+ } | null;
1969
+ note: string | null;
1970
+ bindings: Array<{
1971
+ type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1972
+ id: string;
1973
+ access: "read_only" | "read_write" | "invoke";
1974
+ customer_access?: "read_only" | "read_write" | "invoke";
1975
+ instructions?: string;
1976
+ readonly verified?: boolean;
1977
+ enabled?: boolean;
1978
+ } | {
1979
+ type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
1980
+ readonly verified?: boolean;
1981
+ enabled?: boolean;
1982
+ }>;
1983
+ kind: "general" | "service" | "assume";
1984
+ computers?: {
1985
+ default: string;
1986
+ allowed: Array<{
1987
+ template: string;
1988
+ name: string;
1989
+ }>;
1990
+ };
1991
+ computer_id?: string;
1992
+ subagent_model?: string | null;
1993
+ subagents?: Array<{
1994
+ name: string;
1995
+ description: string;
1996
+ prompt: string;
1997
+ tools?: Array<string>;
1998
+ disallowed_tools?: Array<string>;
1999
+ model?: string;
2000
+ }> | null;
2001
+ commands?: Array<{
2002
+ name: string;
2003
+ description?: string;
2004
+ argument_hint?: string;
2005
+ prompt: string;
2006
+ }> | null;
2007
+ settings?: {
2008
+ hooks?: {
2009
+ SessionStart?: Array<{
2010
+ matcher?: string;
2011
+ hooks: Array<{
2012
+ type: "command";
2013
+ command: string;
2014
+ timeout?: number;
2015
+ async?: boolean;
2016
+ enabled?: boolean;
2017
+ }>;
2018
+ }>;
2019
+ UserPromptSubmit?: Array<{
2020
+ matcher?: string;
2021
+ hooks: Array<{
2022
+ type: "command";
2023
+ command: string;
2024
+ timeout?: number;
2025
+ async?: boolean;
2026
+ enabled?: boolean;
2027
+ }>;
2028
+ }>;
2029
+ PreToolUse?: Array<{
2030
+ matcher?: string;
2031
+ hooks: Array<{
2032
+ type: "command";
2033
+ command: string;
2034
+ timeout?: number;
2035
+ async?: boolean;
2036
+ enabled?: boolean;
2037
+ }>;
2038
+ }>;
2039
+ PermissionRequest?: Array<{
2040
+ matcher?: string;
2041
+ hooks: Array<{
2042
+ type: "command";
2043
+ command: string;
2044
+ timeout?: number;
2045
+ async?: boolean;
2046
+ enabled?: boolean;
2047
+ }>;
2048
+ }>;
1790
2049
  PostToolUse?: Array<{
1791
2050
  matcher?: string;
1792
2051
  hooks: Array<{
@@ -1821,6 +2080,7 @@ export declare function createAgent(transport: Transport): {
1821
2080
  allowManagedHooksOnly?: boolean;
1822
2081
  allowManagedMcpServersOnly?: boolean;
1823
2082
  allowManagedPermissionRulesOnly?: boolean;
2083
+ idleCompaction?: boolean;
1824
2084
  autoMemoryEnabled?: boolean;
1825
2085
  disabled?: {
1826
2086
  subagents?: Array<string>;
@@ -1829,7 +2089,6 @@ export declare function createAgent(transport: Transport): {
1829
2089
  mcpServers?: Array<string>;
1830
2090
  hooks?: Array<string>;
1831
2091
  };
1832
- idleCompaction?: boolean;
1833
2092
  outputStyle?: string;
1834
2093
  } | null;
1835
2094
  models?: {
@@ -1837,6 +2096,7 @@ export declare function createAgent(transport: Transport): {
1837
2096
  };
1838
2097
  avatar: string | null;
1839
2098
  creation_source: string | null;
2099
+ managed_by: string | null;
1840
2100
  identity_number: string | null;
1841
2101
  environment_id?: string | null;
1842
2102
  vault_ids?: Array<string>;
@@ -1863,6 +2123,7 @@ export declare function createAgent(transport: Transport): {
1863
2123
  speed?: "standard" | "fast";
1864
2124
  settings?: {
1865
2125
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2126
+ max_output_tokens?: number;
1866
2127
  };
1867
2128
  };
1868
2129
  multiagent?: null | Types.AgentManaged39;
@@ -1888,6 +2149,7 @@ export declare function createAgent(transport: Transport): {
1888
2149
  type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
1889
2150
  id: string;
1890
2151
  access: "read_only" | "read_write" | "invoke";
2152
+ customer_access?: "read_only" | "read_write" | "invoke";
1891
2153
  instructions?: string;
1892
2154
  readonly verified?: boolean;
1893
2155
  enabled?: boolean;
@@ -1897,6 +2159,13 @@ export declare function createAgent(transport: Transport): {
1897
2159
  enabled?: boolean;
1898
2160
  }>;
1899
2161
  kind: "general" | "service" | "assume";
2162
+ computers?: {
2163
+ default: string;
2164
+ allowed: Array<{
2165
+ template: string;
2166
+ name: string;
2167
+ }>;
2168
+ };
1900
2169
  computer_id?: string;
1901
2170
  subagent_model?: string | null;
1902
2171
  subagents?: Array<{
@@ -1989,6 +2258,7 @@ export declare function createAgent(transport: Transport): {
1989
2258
  allowManagedHooksOnly?: boolean;
1990
2259
  allowManagedMcpServersOnly?: boolean;
1991
2260
  allowManagedPermissionRulesOnly?: boolean;
2261
+ idleCompaction?: boolean;
1992
2262
  autoMemoryEnabled?: boolean;
1993
2263
  disabled?: {
1994
2264
  subagents?: Array<string>;
@@ -1997,7 +2267,6 @@ export declare function createAgent(transport: Transport): {
1997
2267
  mcpServers?: Array<string>;
1998
2268
  hooks?: Array<string>;
1999
2269
  };
2000
- idleCompaction?: boolean;
2001
2270
  outputStyle?: string;
2002
2271
  } | null;
2003
2272
  models?: {
@@ -2005,6 +2274,7 @@ export declare function createAgent(transport: Transport): {
2005
2274
  };
2006
2275
  avatar: string | null;
2007
2276
  creation_source: string | null;
2277
+ managed_by: string | null;
2008
2278
  identity_number: string | null;
2009
2279
  environment_id?: string | null;
2010
2280
  vault_ids?: Array<string>;
@@ -2092,6 +2362,24 @@ export declare function createAgent(transport: Transport): {
2092
2362
  tier: "light" | "heavy";
2093
2363
  }>;
2094
2364
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
2365
+ retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
2366
+ variant: "image" | "pdf" | "text" | "original";
2367
+ version?: string;
2368
+ mime_type?: string;
2369
+ size?: number;
2370
+ file_id?: string;
2371
+ url?: string;
2372
+ expires_at?: string;
2373
+ cached: boolean;
2374
+ fallback?: "content";
2375
+ skipped?: boolean;
2376
+ }>;
2377
+ updateContent: (options: import("./core/transport.js").CallOptions<Types.UpdateComputerFileContentData>) => Promise<{
2378
+ path: string;
2379
+ size: number;
2380
+ mtime: string | null;
2381
+ version: string;
2382
+ }>;
2095
2383
  };
2096
2384
  leases: {
2097
2385
  delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
@@ -2371,73 +2659,610 @@ export declare function createAgent(transport: Transport): {
2371
2659
  };
2372
2660
  archived_at: null | string;
2373
2661
  created_at: string;
2374
- description: null | string;
2375
- environment_id?: string | null;
2376
- initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2377
- metadata: Types.AgentManaged91;
2378
- name: string;
2379
- paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2380
- resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2381
- schedule: null | Types.AgentManaged111;
2382
- status: "active" | "paused";
2383
- type: "deployment";
2662
+ description: null | string;
2663
+ environment_id?: string | null;
2664
+ initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2665
+ metadata: Types.AgentManaged91;
2666
+ name: string;
2667
+ paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2668
+ resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2669
+ schedule: null | Types.AgentManaged111;
2670
+ status: "active" | "paused";
2671
+ type: "deployment";
2672
+ updated_at: string;
2673
+ vault_ids: Array<string>;
2674
+ budget?: null | Types.AgentManaged76;
2675
+ target: {
2676
+ type: "environment" | "computer";
2677
+ };
2678
+ }>;
2679
+ };
2680
+ update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2681
+ id: string;
2682
+ agent: {
2683
+ id: string;
2684
+ type: "agent";
2685
+ version: number;
2686
+ } | {
2687
+ id: string;
2688
+ type: "agent_with_overrides";
2689
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2690
+ cwd?: string;
2691
+ model?: string | {
2692
+ id: string;
2693
+ effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2694
+ speed?: null | "standard" | "fast";
2695
+ };
2696
+ version: number;
2697
+ };
2698
+ archived_at: null | string;
2699
+ created_at: string;
2700
+ description: null | string;
2701
+ environment_id?: string | null;
2702
+ initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2703
+ metadata: Types.AgentManaged91;
2704
+ name: string;
2705
+ paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2706
+ resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2707
+ schedule: null | Types.AgentManaged111;
2708
+ status: "active" | "paused";
2709
+ type: "deployment";
2710
+ updated_at: string;
2711
+ vault_ids: Array<string>;
2712
+ budget?: null | Types.AgentManaged76;
2713
+ target: {
2714
+ type: "environment" | "computer";
2715
+ };
2716
+ }>;
2717
+ };
2718
+ environments: {
2719
+ archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2720
+ create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2721
+ list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2722
+ data: Array<Types.AgentManaged138>;
2723
+ next_page: string | null;
2724
+ }>;
2725
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2726
+ update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2727
+ };
2728
+ sessions: {
2729
+ agentVersion: {
2730
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2731
+ id: string;
2732
+ agent: {
2733
+ id: string;
2734
+ description: null | string;
2735
+ mcp_servers: Array<{
2736
+ type: "url";
2737
+ name: string;
2738
+ url: string;
2739
+ headers?: {
2740
+ [key: string]: string;
2741
+ };
2742
+ timeout_ms?: number;
2743
+ } | {
2744
+ type: "sse";
2745
+ name: string;
2746
+ url: string;
2747
+ headers?: {
2748
+ [key: string]: string;
2749
+ };
2750
+ timeout_ms?: number;
2751
+ } | {
2752
+ type: "stdio";
2753
+ name: string;
2754
+ command: string;
2755
+ args?: Array<string>;
2756
+ env?: {
2757
+ [key: string]: string;
2758
+ };
2759
+ timeout_ms?: number;
2760
+ }>;
2761
+ model: {
2762
+ id: string;
2763
+ effort?: {
2764
+ type: "low";
2765
+ } | {
2766
+ type: "medium";
2767
+ } | {
2768
+ type: "high";
2769
+ } | {
2770
+ type: "xhigh";
2771
+ } | {
2772
+ type: "max";
2773
+ };
2774
+ inference_geo?: string;
2775
+ speed?: "standard" | "fast";
2776
+ settings?: {
2777
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2778
+ max_output_tokens?: number;
2779
+ };
2780
+ };
2781
+ multiagent: null | {
2782
+ agents: Array<{
2783
+ model: string;
2784
+ type: "advisor";
2785
+ } | {
2786
+ id: string;
2787
+ description: null | string;
2788
+ mcp_servers: Array<{
2789
+ type: "url";
2790
+ name: string;
2791
+ url: string;
2792
+ headers?: {
2793
+ [key: string]: string;
2794
+ };
2795
+ timeout_ms?: number;
2796
+ } | {
2797
+ type: "sse";
2798
+ name: string;
2799
+ url: string;
2800
+ headers?: {
2801
+ [key: string]: string;
2802
+ };
2803
+ timeout_ms?: number;
2804
+ } | {
2805
+ type: "stdio";
2806
+ name: string;
2807
+ command: string;
2808
+ args?: Array<string>;
2809
+ env?: {
2810
+ [key: string]: string;
2811
+ };
2812
+ timeout_ms?: number;
2813
+ }>;
2814
+ model: {
2815
+ id: string;
2816
+ effort?: {
2817
+ type: "low";
2818
+ } | {
2819
+ type: "medium";
2820
+ } | {
2821
+ type: "high";
2822
+ } | {
2823
+ type: "xhigh";
2824
+ } | {
2825
+ type: "max";
2826
+ };
2827
+ inference_geo?: string;
2828
+ speed?: "standard" | "fast";
2829
+ };
2830
+ name: string;
2831
+ skills: Array<{
2832
+ skill_id: string;
2833
+ type: "anthropic";
2834
+ version: string;
2835
+ } | {
2836
+ skill_id: string;
2837
+ type: "custom";
2838
+ version: string;
2839
+ }>;
2840
+ system: null | string;
2841
+ tools: Array<{
2842
+ configs: Array<{
2843
+ enabled: boolean;
2844
+ name: "bash";
2845
+ permission_policy: {
2846
+ type: "always_allow";
2847
+ } | {
2848
+ type: "always_ask";
2849
+ } | {
2850
+ type: "auto";
2851
+ };
2852
+ type: "bash";
2853
+ } | {
2854
+ enabled: boolean;
2855
+ name: "edit";
2856
+ permission_policy: {
2857
+ type: "always_allow";
2858
+ } | {
2859
+ type: "always_ask";
2860
+ } | {
2861
+ type: "auto";
2862
+ };
2863
+ type: "edit";
2864
+ } | {
2865
+ enabled: boolean;
2866
+ name: "read";
2867
+ permission_policy: {
2868
+ type: "always_allow";
2869
+ } | {
2870
+ type: "always_ask";
2871
+ } | {
2872
+ type: "auto";
2873
+ };
2874
+ type: "read";
2875
+ } | {
2876
+ enabled: boolean;
2877
+ name: "write";
2878
+ permission_policy: {
2879
+ type: "always_allow";
2880
+ } | {
2881
+ type: "always_ask";
2882
+ } | {
2883
+ type: "auto";
2884
+ };
2885
+ type: "write";
2886
+ } | {
2887
+ enabled: boolean;
2888
+ name: "glob";
2889
+ permission_policy: {
2890
+ type: "always_allow";
2891
+ } | {
2892
+ type: "always_ask";
2893
+ } | {
2894
+ type: "auto";
2895
+ };
2896
+ type: "glob";
2897
+ } | {
2898
+ enabled: boolean;
2899
+ name: "grep";
2900
+ permission_policy: {
2901
+ type: "always_allow";
2902
+ } | {
2903
+ type: "always_ask";
2904
+ } | {
2905
+ type: "auto";
2906
+ };
2907
+ type: "grep";
2908
+ } | {
2909
+ enabled: boolean;
2910
+ name: "web_fetch";
2911
+ permission_policy: {
2912
+ type: "always_allow";
2913
+ } | {
2914
+ type: "always_ask";
2915
+ } | {
2916
+ type: "auto";
2917
+ };
2918
+ type: "web_fetch";
2919
+ allowed_domains?: Array<string>;
2920
+ blocked_domains?: Array<string>;
2921
+ max_content_tokens?: null | number;
2922
+ } | {
2923
+ enabled: boolean;
2924
+ name: "web_search";
2925
+ permission_policy: {
2926
+ type: "always_allow";
2927
+ } | {
2928
+ type: "always_ask";
2929
+ } | {
2930
+ type: "auto";
2931
+ };
2932
+ type: "web_search";
2933
+ allowed_domains?: Array<string>;
2934
+ blocked_domains?: Array<string>;
2935
+ user_location?: null | {
2936
+ type: "approximate";
2937
+ city?: null | string;
2938
+ country?: null | string;
2939
+ region?: null | string;
2940
+ timezone?: null | string;
2941
+ };
2942
+ } | {
2943
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2944
+ enabled: boolean;
2945
+ permission_policy: {
2946
+ type: "always_allow" | "always_ask";
2947
+ };
2948
+ }>;
2949
+ default_config: {
2950
+ enabled: boolean;
2951
+ permission_policy: {
2952
+ type: "always_allow";
2953
+ } | {
2954
+ type: "always_ask";
2955
+ } | {
2956
+ type: "auto";
2957
+ };
2958
+ };
2959
+ type: "agent_toolset_20260401";
2960
+ } | {
2961
+ type: "mcp_toolset";
2962
+ mcp_server_name: string;
2963
+ default_config?: {
2964
+ enabled?: boolean | null;
2965
+ permission_policy?: null | {
2966
+ type: "always_allow" | "always_ask";
2967
+ };
2968
+ } | null;
2969
+ configs?: Array<{
2970
+ name: string;
2971
+ enabled?: boolean | null;
2972
+ permission_policy?: null | {
2973
+ type: "always_allow" | "always_ask";
2974
+ };
2975
+ }> | null;
2976
+ } | {
2977
+ description: string;
2978
+ input_schema: {
2979
+ type: "object";
2980
+ properties?: null | {
2981
+ [key: string]: unknown;
2982
+ };
2983
+ required?: null | Array<string>;
2984
+ [key: string]: unknown;
2985
+ };
2986
+ name: string;
2987
+ type: "custom";
2988
+ }>;
2989
+ type: "agent";
2990
+ version: number;
2991
+ }>;
2992
+ type: "coordinator";
2993
+ };
2994
+ name: string;
2995
+ skills: Array<{
2996
+ skill_id: string;
2997
+ type: "anthropic";
2998
+ version: string;
2999
+ } | {
3000
+ skill_id: string;
3001
+ type: "custom";
3002
+ version: string;
3003
+ }>;
3004
+ system: null | string;
3005
+ tools: Array<{
3006
+ configs: Array<{
3007
+ enabled: boolean;
3008
+ name: "bash";
3009
+ permission_policy: {
3010
+ type: "always_allow";
3011
+ } | {
3012
+ type: "always_ask";
3013
+ } | {
3014
+ type: "auto";
3015
+ };
3016
+ type: "bash";
3017
+ } | {
3018
+ enabled: boolean;
3019
+ name: "edit";
3020
+ permission_policy: {
3021
+ type: "always_allow";
3022
+ } | {
3023
+ type: "always_ask";
3024
+ } | {
3025
+ type: "auto";
3026
+ };
3027
+ type: "edit";
3028
+ } | {
3029
+ enabled: boolean;
3030
+ name: "read";
3031
+ permission_policy: {
3032
+ type: "always_allow";
3033
+ } | {
3034
+ type: "always_ask";
3035
+ } | {
3036
+ type: "auto";
3037
+ };
3038
+ type: "read";
3039
+ } | {
3040
+ enabled: boolean;
3041
+ name: "write";
3042
+ permission_policy: {
3043
+ type: "always_allow";
3044
+ } | {
3045
+ type: "always_ask";
3046
+ } | {
3047
+ type: "auto";
3048
+ };
3049
+ type: "write";
3050
+ } | {
3051
+ enabled: boolean;
3052
+ name: "glob";
3053
+ permission_policy: {
3054
+ type: "always_allow";
3055
+ } | {
3056
+ type: "always_ask";
3057
+ } | {
3058
+ type: "auto";
3059
+ };
3060
+ type: "glob";
3061
+ } | {
3062
+ enabled: boolean;
3063
+ name: "grep";
3064
+ permission_policy: {
3065
+ type: "always_allow";
3066
+ } | {
3067
+ type: "always_ask";
3068
+ } | {
3069
+ type: "auto";
3070
+ };
3071
+ type: "grep";
3072
+ } | {
3073
+ enabled: boolean;
3074
+ name: "web_fetch";
3075
+ permission_policy: {
3076
+ type: "always_allow";
3077
+ } | {
3078
+ type: "always_ask";
3079
+ } | {
3080
+ type: "auto";
3081
+ };
3082
+ type: "web_fetch";
3083
+ allowed_domains?: Array<string>;
3084
+ blocked_domains?: Array<string>;
3085
+ max_content_tokens?: null | number;
3086
+ } | {
3087
+ enabled: boolean;
3088
+ name: "web_search";
3089
+ permission_policy: {
3090
+ type: "always_allow";
3091
+ } | {
3092
+ type: "always_ask";
3093
+ } | {
3094
+ type: "auto";
3095
+ };
3096
+ type: "web_search";
3097
+ allowed_domains?: Array<string>;
3098
+ blocked_domains?: Array<string>;
3099
+ user_location?: null | {
3100
+ type: "approximate";
3101
+ city?: null | string;
3102
+ country?: null | string;
3103
+ region?: null | string;
3104
+ timezone?: null | string;
3105
+ };
3106
+ } | {
3107
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3108
+ enabled: boolean;
3109
+ permission_policy: {
3110
+ type: "always_allow" | "always_ask";
3111
+ };
3112
+ }>;
3113
+ default_config: {
3114
+ enabled: boolean;
3115
+ permission_policy: {
3116
+ type: "always_allow";
3117
+ } | {
3118
+ type: "always_ask";
3119
+ } | {
3120
+ type: "auto";
3121
+ };
3122
+ };
3123
+ type: "agent_toolset_20260401";
3124
+ } | {
3125
+ type: "mcp_toolset";
3126
+ mcp_server_name: string;
3127
+ default_config?: {
3128
+ enabled?: boolean | null;
3129
+ permission_policy?: null | {
3130
+ type: "always_allow" | "always_ask";
3131
+ };
3132
+ } | null;
3133
+ configs?: Array<{
3134
+ name: string;
3135
+ enabled?: boolean | null;
3136
+ permission_policy?: null | {
3137
+ type: "always_allow" | "always_ask";
3138
+ };
3139
+ }> | null;
3140
+ } | {
3141
+ description: string;
3142
+ input_schema: {
3143
+ type: "object";
3144
+ properties?: null | {
3145
+ [key: string]: unknown;
3146
+ };
3147
+ required?: null | Array<string>;
3148
+ [key: string]: unknown;
3149
+ };
3150
+ name: string;
3151
+ type: "custom";
3152
+ }>;
3153
+ type: "agent";
3154
+ version: number;
3155
+ };
3156
+ archived_at: null | string;
3157
+ budget: null | {
3158
+ max_list_cost: {
3159
+ amount: string;
3160
+ currency: "USD";
3161
+ };
3162
+ type: "limit";
3163
+ };
3164
+ created_at: string;
3165
+ environment_id?: string;
3166
+ metadata: {
3167
+ [key: string]: string;
3168
+ };
3169
+ outcome_evaluations: Array<{
3170
+ completed_at: null | string;
3171
+ description: string;
3172
+ explanation: null | string;
3173
+ iteration: number;
3174
+ outcome_id: string;
3175
+ result: string;
3176
+ type: "outcome_evaluation";
3177
+ }>;
3178
+ resources: Array<{
3179
+ id: string;
3180
+ created_at: string;
3181
+ mount_path: string;
3182
+ type: "github_repository";
3183
+ updated_at: string;
3184
+ url: string;
3185
+ checkout?: null | {
3186
+ name: string;
3187
+ type: "branch";
3188
+ } | {
3189
+ sha: string;
3190
+ type: "commit";
3191
+ };
3192
+ } | {
3193
+ id: string;
3194
+ created_at: string;
3195
+ file_id: string;
3196
+ mount_path: string;
3197
+ type: "file";
3198
+ updated_at: string;
3199
+ } | {
3200
+ memory_store_id: string;
3201
+ type: "memory_store";
3202
+ access?: null | "read_write" | "read_only";
3203
+ description?: string;
3204
+ instructions?: null | string;
3205
+ mount_path?: null | string;
3206
+ name?: null | string;
3207
+ }>;
3208
+ stats: {
3209
+ active_seconds?: number;
3210
+ duration_seconds?: number;
3211
+ };
3212
+ status: "rescheduling" | "running" | "idle" | "terminated";
3213
+ title: null | string;
3214
+ type: "session";
2384
3215
  updated_at: string;
3216
+ usage: {
3217
+ active_seconds?: number;
3218
+ cache_creation?: {
3219
+ ephemeral_1h_input_tokens?: number;
3220
+ ephemeral_5m_input_tokens?: number;
3221
+ };
3222
+ cache_read_input_tokens?: number;
3223
+ input_tokens?: number;
3224
+ list_cost?: null | {
3225
+ amount: string;
3226
+ currency: "USD";
3227
+ };
3228
+ output_tokens?: number;
3229
+ server_tool_use?: null | {
3230
+ web_fetch_requests?: number;
3231
+ web_search_requests?: number;
3232
+ };
3233
+ cost_by_product?: {
3234
+ [key: string]: string;
3235
+ };
3236
+ subagent_cost_micro_usd?: number;
3237
+ };
2385
3238
  vault_ids: Array<string>;
2386
- budget?: null | Types.AgentManaged76;
2387
- target: {
2388
- type: "environment" | "computer";
3239
+ deployment_id?: null | string;
3240
+ cwd: string;
3241
+ workspace?: {
3242
+ kind: "shared" | "isolated";
3243
+ path?: string;
3244
+ branch?: string;
2389
3245
  };
2390
- }>;
2391
- };
2392
- update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2393
- id: string;
2394
- agent: {
2395
- id: string;
2396
- type: "agent";
2397
- version: number;
2398
- } | {
2399
- id: string;
2400
- type: "agent_with_overrides";
2401
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2402
- cwd?: string;
2403
- model?: string | {
3246
+ computer_id?: string;
3247
+ model?: {
2404
3248
  id: string;
2405
- effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2406
- speed?: null | "standard" | "fast";
3249
+ thinking: {
3250
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3251
+ can_disable: boolean;
3252
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3253
+ } | null;
2407
3254
  };
2408
- version: number;
2409
- };
2410
- archived_at: null | string;
2411
- created_at: string;
2412
- description: null | string;
2413
- environment_id?: string | null;
2414
- initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2415
- metadata: Types.AgentManaged91;
2416
- name: string;
2417
- paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2418
- resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2419
- schedule: null | Types.AgentManaged111;
2420
- status: "active" | "paused";
2421
- type: "deployment";
2422
- updated_at: string;
2423
- vault_ids: Array<string>;
2424
- budget?: null | Types.AgentManaged76;
2425
- target: {
2426
- type: "environment" | "computer";
2427
- };
2428
- }>;
2429
- };
2430
- environments: {
2431
- archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2432
- create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2433
- list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2434
- data: Array<Types.AgentManaged138>;
2435
- next_page: string | null;
2436
- }>;
2437
- retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2438
- update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2439
- };
2440
- sessions: {
3255
+ thinking?: {
3256
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3257
+ } | null;
3258
+ forked_from?: {
3259
+ session_id: string;
3260
+ message_id: string;
3261
+ } | null;
3262
+ readonly external_user_id: string | null;
3263
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3264
+ }>;
3265
+ };
2441
3266
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2442
3267
  id: string;
2443
3268
  agent: {
@@ -2451,6 +3276,7 @@ export declare function createAgent(transport: Transport): {
2451
3276
  speed?: "standard" | "fast";
2452
3277
  settings?: {
2453
3278
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3279
+ max_output_tokens?: number;
2454
3280
  };
2455
3281
  };
2456
3282
  multiagent: null | Types.AgentManaged171;
@@ -2477,6 +3303,11 @@ export declare function createAgent(transport: Transport): {
2477
3303
  vault_ids: Array<string>;
2478
3304
  deployment_id?: null | string;
2479
3305
  cwd: string;
3306
+ workspace?: {
3307
+ kind: "shared" | "isolated";
3308
+ path?: string;
3309
+ branch?: string;
3310
+ };
2480
3311
  computer_id?: string;
2481
3312
  model?: {
2482
3313
  id: string;
@@ -2612,6 +3443,7 @@ export declare function createAgent(transport: Transport): {
2612
3443
  speed?: "standard" | "fast";
2613
3444
  settings?: {
2614
3445
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3446
+ max_output_tokens?: number;
2615
3447
  };
2616
3448
  };
2617
3449
  multiagent: null | Types.AgentManaged171;
@@ -2638,6 +3470,11 @@ export declare function createAgent(transport: Transport): {
2638
3470
  vault_ids: Array<string>;
2639
3471
  deployment_id?: null | string;
2640
3472
  cwd: string;
3473
+ workspace?: {
3474
+ kind: "shared" | "isolated";
3475
+ path?: string;
3476
+ branch?: string;
3477
+ };
2641
3478
  computer_id?: string;
2642
3479
  model?: {
2643
3480
  id: string;
@@ -2698,7 +3535,6 @@ export declare function createAgent(transport: Transport): {
2698
3535
  run_id: string | null;
2699
3536
  message_id?: string;
2700
3537
  } | {
2701
- full_access_available?: boolean;
2702
3538
  id: string;
2703
3539
  input: Types.AgentManaged197;
2704
3540
  mcp_server_name: string;
@@ -2708,6 +3544,18 @@ export declare function createAgent(transport: Transport): {
2708
3544
  evaluated_permission?: "allow" | "deny" | "ask";
2709
3545
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2710
3546
  session_thread_id?: null | string;
3547
+ permission_suggestions?: Array<{
3548
+ type: "add_rules";
3549
+ behavior: "allow";
3550
+ destination: "agent" | "session";
3551
+ rules: Array<{
3552
+ tool_name: string;
3553
+ rule_content: string;
3554
+ }>;
3555
+ }>;
3556
+ full_access_available?: boolean;
3557
+ user_once?: true;
3558
+ guarded_rule?: string;
2711
3559
  run_id: string | null;
2712
3560
  _meta?: {
2713
3561
  ui?: {
@@ -2721,17 +3569,6 @@ export declare function createAgent(transport: Transport): {
2721
3569
  };
2722
3570
  source?: "app" | "codemode";
2723
3571
  parent_tool_use_id?: string;
2724
- user_once?: true;
2725
- guarded_rule?: string;
2726
- permission_suggestions?: Array<{
2727
- type: "add_rules";
2728
- behavior: "allow";
2729
- destination: "agent" | "session";
2730
- rules: Array<{
2731
- tool_name: string;
2732
- rule_content: string;
2733
- }>;
2734
- }>;
2735
3572
  title?: string;
2736
3573
  input_titles?: {
2737
3574
  [key: string]: string;
@@ -2750,7 +3587,6 @@ export declare function createAgent(transport: Transport): {
2750
3587
  };
2751
3588
  source?: "app" | "codemode";
2752
3589
  } | {
2753
- full_access_available?: boolean;
2754
3590
  id: string;
2755
3591
  input: Types.AgentManaged206;
2756
3592
  name: string;
@@ -2759,9 +3595,6 @@ export declare function createAgent(transport: Transport): {
2759
3595
  evaluated_permission?: "allow" | "deny" | "ask";
2760
3596
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2761
3597
  session_thread_id?: null | string;
2762
- run_id: string | null;
2763
- user_once?: true;
2764
- guarded_rule?: string;
2765
3598
  permission_suggestions?: Array<{
2766
3599
  type: "add_rules";
2767
3600
  behavior: "allow";
@@ -2771,6 +3604,10 @@ export declare function createAgent(transport: Transport): {
2771
3604
  rule_content: string;
2772
3605
  }>;
2773
3606
  }>;
3607
+ full_access_available?: boolean;
3608
+ user_once?: true;
3609
+ guarded_rule?: string;
3610
+ run_id: string | null;
2774
3611
  } | {
2775
3612
  id: string;
2776
3613
  processed_at: string;
@@ -2791,9 +3628,6 @@ export declare function createAgent(transport: Transport): {
2791
3628
  type: "session.status_idle";
2792
3629
  run_id: string | null;
2793
3630
  } | 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 | {
2794
- permission_mode_version?: number;
2795
- previous_permission_mode?: string | null;
2796
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2797
3631
  id: string;
2798
3632
  processed_at: string;
2799
3633
  type: "session.updated";
@@ -2801,6 +3635,9 @@ export declare function createAgent(transport: Transport): {
2801
3635
  budget?: null | Types.AgentManaged76;
2802
3636
  metadata?: Types.AgentManaged246;
2803
3637
  title?: null | string;
3638
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3639
+ previous_permission_mode?: string | null;
3640
+ permission_mode_version?: number;
2804
3641
  model?: {
2805
3642
  id: string;
2806
3643
  };
@@ -2859,21 +3696,6 @@ export declare function createAgent(transport: Transport): {
2859
3696
  type: "user.steer";
2860
3697
  event_id: string;
2861
3698
  processed_at: string;
2862
- } | {
2863
- id: string;
2864
- type: "user.tool_confirmation";
2865
- processed_at: string;
2866
- tool_use_id: string;
2867
- result: "allow";
2868
- answers: {
2869
- [key: string]: string;
2870
- };
2871
- annotations?: {
2872
- [key: string]: {
2873
- preview?: string;
2874
- notes?: string;
2875
- };
2876
- };
2877
3699
  }>;
2878
3700
  next_page: string | null;
2879
3701
  }>;
@@ -2894,21 +3716,6 @@ export declare function createAgent(transport: Transport): {
2894
3716
  type: "user.steer";
2895
3717
  event_id: string;
2896
3718
  processed_at: string;
2897
- } | {
2898
- id: string;
2899
- type: "user.tool_confirmation";
2900
- processed_at: string;
2901
- tool_use_id: string;
2902
- result: "allow";
2903
- answers: {
2904
- [key: string]: string;
2905
- };
2906
- annotations?: {
2907
- [key: string]: {
2908
- preview?: string;
2909
- notes?: string;
2910
- };
2911
- };
2912
3719
  }>;
2913
3720
  }>;
2914
3721
  stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
@@ -2961,6 +3768,7 @@ export declare function createAgent(transport: Transport): {
2961
3768
  speed?: "standard" | "fast";
2962
3769
  settings?: {
2963
3770
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3771
+ max_output_tokens?: number;
2964
3772
  };
2965
3773
  };
2966
3774
  multiagent: null | {
@@ -3423,6 +4231,11 @@ export declare function createAgent(transport: Transport): {
3423
4231
  vault_ids: Array<string>;
3424
4232
  deployment_id?: null | string;
3425
4233
  cwd: string;
4234
+ workspace?: {
4235
+ kind: "shared" | "isolated";
4236
+ path?: string;
4237
+ branch?: string;
4238
+ };
3426
4239
  computer_id?: string;
3427
4240
  model?: {
3428
4241
  id: string;
@@ -3456,32 +4269,576 @@ export declare function createAgent(transport: Transport): {
3456
4269
  speed?: "standard" | "fast";
3457
4270
  settings?: {
3458
4271
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4272
+ max_output_tokens?: number;
4273
+ };
4274
+ };
4275
+ multiagent: null | Types.AgentManaged171;
4276
+ name: string;
4277
+ skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
4278
+ system: null | string;
4279
+ tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4280
+ type: "agent";
4281
+ version: number;
4282
+ };
4283
+ archived_at: null | string;
4284
+ budget: null | Types.AgentManaged76;
4285
+ created_at: string;
4286
+ environment_id?: string;
4287
+ metadata: Types.AgentManaged173;
4288
+ outcome_evaluations: Array<Types.AgentManaged174>;
4289
+ resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
4290
+ stats: Types.AgentManaged178;
4291
+ status: "rescheduling" | "running" | "idle" | "terminated";
4292
+ title: null | string;
4293
+ type: "session";
4294
+ updated_at: string;
4295
+ usage: Types.AgentManaged179;
4296
+ vault_ids: Array<string>;
4297
+ deployment_id?: null | string;
4298
+ cwd: string;
4299
+ workspace?: {
4300
+ kind: "shared" | "isolated";
4301
+ path?: string;
4302
+ branch?: string;
4303
+ };
4304
+ computer_id?: string;
4305
+ model?: {
4306
+ id: string;
4307
+ thinking: {
4308
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
4309
+ can_disable: boolean;
4310
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
4311
+ } | null;
4312
+ };
4313
+ thinking?: {
4314
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4315
+ } | null;
4316
+ forked_from?: {
4317
+ session_id: string;
4318
+ message_id: string;
4319
+ } | null;
4320
+ readonly external_user_id: string | null;
4321
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
4322
+ }>;
4323
+ next_page: string | null;
4324
+ }>;
4325
+ name: {
4326
+ create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
4327
+ id: string;
4328
+ agent: {
4329
+ id: string;
4330
+ description: null | string;
4331
+ mcp_servers: Array<{
4332
+ type: "url";
4333
+ name: string;
4334
+ url: string;
4335
+ headers?: {
4336
+ [key: string]: string;
4337
+ };
4338
+ timeout_ms?: number;
4339
+ } | {
4340
+ type: "sse";
4341
+ name: string;
4342
+ url: string;
4343
+ headers?: {
4344
+ [key: string]: string;
4345
+ };
4346
+ timeout_ms?: number;
4347
+ } | {
4348
+ type: "stdio";
4349
+ name: string;
4350
+ command: string;
4351
+ args?: Array<string>;
4352
+ env?: {
4353
+ [key: string]: string;
4354
+ };
4355
+ timeout_ms?: number;
4356
+ }>;
4357
+ model: {
4358
+ id: string;
4359
+ effort?: {
4360
+ type: "low";
4361
+ } | {
4362
+ type: "medium";
4363
+ } | {
4364
+ type: "high";
4365
+ } | {
4366
+ type: "xhigh";
4367
+ } | {
4368
+ type: "max";
4369
+ };
4370
+ inference_geo?: string;
4371
+ speed?: "standard" | "fast";
4372
+ settings?: {
4373
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4374
+ max_output_tokens?: number;
3459
4375
  };
3460
4376
  };
3461
- multiagent: null | Types.AgentManaged171;
4377
+ multiagent: null | {
4378
+ agents: Array<{
4379
+ model: string;
4380
+ type: "advisor";
4381
+ } | {
4382
+ id: string;
4383
+ description: null | string;
4384
+ mcp_servers: Array<{
4385
+ type: "url";
4386
+ name: string;
4387
+ url: string;
4388
+ headers?: {
4389
+ [key: string]: string;
4390
+ };
4391
+ timeout_ms?: number;
4392
+ } | {
4393
+ type: "sse";
4394
+ name: string;
4395
+ url: string;
4396
+ headers?: {
4397
+ [key: string]: string;
4398
+ };
4399
+ timeout_ms?: number;
4400
+ } | {
4401
+ type: "stdio";
4402
+ name: string;
4403
+ command: string;
4404
+ args?: Array<string>;
4405
+ env?: {
4406
+ [key: string]: string;
4407
+ };
4408
+ timeout_ms?: number;
4409
+ }>;
4410
+ model: {
4411
+ id: string;
4412
+ effort?: {
4413
+ type: "low";
4414
+ } | {
4415
+ type: "medium";
4416
+ } | {
4417
+ type: "high";
4418
+ } | {
4419
+ type: "xhigh";
4420
+ } | {
4421
+ type: "max";
4422
+ };
4423
+ inference_geo?: string;
4424
+ speed?: "standard" | "fast";
4425
+ };
4426
+ name: string;
4427
+ skills: Array<{
4428
+ skill_id: string;
4429
+ type: "anthropic";
4430
+ version: string;
4431
+ } | {
4432
+ skill_id: string;
4433
+ type: "custom";
4434
+ version: string;
4435
+ }>;
4436
+ system: null | string;
4437
+ tools: Array<{
4438
+ configs: Array<{
4439
+ enabled: boolean;
4440
+ name: "bash";
4441
+ permission_policy: {
4442
+ type: "always_allow";
4443
+ } | {
4444
+ type: "always_ask";
4445
+ } | {
4446
+ type: "auto";
4447
+ };
4448
+ type: "bash";
4449
+ } | {
4450
+ enabled: boolean;
4451
+ name: "edit";
4452
+ permission_policy: {
4453
+ type: "always_allow";
4454
+ } | {
4455
+ type: "always_ask";
4456
+ } | {
4457
+ type: "auto";
4458
+ };
4459
+ type: "edit";
4460
+ } | {
4461
+ enabled: boolean;
4462
+ name: "read";
4463
+ permission_policy: {
4464
+ type: "always_allow";
4465
+ } | {
4466
+ type: "always_ask";
4467
+ } | {
4468
+ type: "auto";
4469
+ };
4470
+ type: "read";
4471
+ } | {
4472
+ enabled: boolean;
4473
+ name: "write";
4474
+ permission_policy: {
4475
+ type: "always_allow";
4476
+ } | {
4477
+ type: "always_ask";
4478
+ } | {
4479
+ type: "auto";
4480
+ };
4481
+ type: "write";
4482
+ } | {
4483
+ enabled: boolean;
4484
+ name: "glob";
4485
+ permission_policy: {
4486
+ type: "always_allow";
4487
+ } | {
4488
+ type: "always_ask";
4489
+ } | {
4490
+ type: "auto";
4491
+ };
4492
+ type: "glob";
4493
+ } | {
4494
+ enabled: boolean;
4495
+ name: "grep";
4496
+ permission_policy: {
4497
+ type: "always_allow";
4498
+ } | {
4499
+ type: "always_ask";
4500
+ } | {
4501
+ type: "auto";
4502
+ };
4503
+ type: "grep";
4504
+ } | {
4505
+ enabled: boolean;
4506
+ name: "web_fetch";
4507
+ permission_policy: {
4508
+ type: "always_allow";
4509
+ } | {
4510
+ type: "always_ask";
4511
+ } | {
4512
+ type: "auto";
4513
+ };
4514
+ type: "web_fetch";
4515
+ allowed_domains?: Array<string>;
4516
+ blocked_domains?: Array<string>;
4517
+ max_content_tokens?: null | number;
4518
+ } | {
4519
+ enabled: boolean;
4520
+ name: "web_search";
4521
+ permission_policy: {
4522
+ type: "always_allow";
4523
+ } | {
4524
+ type: "always_ask";
4525
+ } | {
4526
+ type: "auto";
4527
+ };
4528
+ type: "web_search";
4529
+ allowed_domains?: Array<string>;
4530
+ blocked_domains?: Array<string>;
4531
+ user_location?: null | {
4532
+ type: "approximate";
4533
+ city?: null | string;
4534
+ country?: null | string;
4535
+ region?: null | string;
4536
+ timezone?: null | string;
4537
+ };
4538
+ } | {
4539
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4540
+ enabled: boolean;
4541
+ permission_policy: {
4542
+ type: "always_allow" | "always_ask";
4543
+ };
4544
+ }>;
4545
+ default_config: {
4546
+ enabled: boolean;
4547
+ permission_policy: {
4548
+ type: "always_allow";
4549
+ } | {
4550
+ type: "always_ask";
4551
+ } | {
4552
+ type: "auto";
4553
+ };
4554
+ };
4555
+ type: "agent_toolset_20260401";
4556
+ } | {
4557
+ type: "mcp_toolset";
4558
+ mcp_server_name: string;
4559
+ default_config?: {
4560
+ enabled?: boolean | null;
4561
+ permission_policy?: null | {
4562
+ type: "always_allow" | "always_ask";
4563
+ };
4564
+ } | null;
4565
+ configs?: Array<{
4566
+ name: string;
4567
+ enabled?: boolean | null;
4568
+ permission_policy?: null | {
4569
+ type: "always_allow" | "always_ask";
4570
+ };
4571
+ }> | null;
4572
+ } | {
4573
+ description: string;
4574
+ input_schema: {
4575
+ type: "object";
4576
+ properties?: null | {
4577
+ [key: string]: unknown;
4578
+ };
4579
+ required?: null | Array<string>;
4580
+ [key: string]: unknown;
4581
+ };
4582
+ name: string;
4583
+ type: "custom";
4584
+ }>;
4585
+ type: "agent";
4586
+ version: number;
4587
+ }>;
4588
+ type: "coordinator";
4589
+ };
3462
4590
  name: string;
3463
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
4591
+ skills: Array<{
4592
+ skill_id: string;
4593
+ type: "anthropic";
4594
+ version: string;
4595
+ } | {
4596
+ skill_id: string;
4597
+ type: "custom";
4598
+ version: string;
4599
+ }>;
3464
4600
  system: null | string;
3465
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
4601
+ tools: Array<{
4602
+ configs: Array<{
4603
+ enabled: boolean;
4604
+ name: "bash";
4605
+ permission_policy: {
4606
+ type: "always_allow";
4607
+ } | {
4608
+ type: "always_ask";
4609
+ } | {
4610
+ type: "auto";
4611
+ };
4612
+ type: "bash";
4613
+ } | {
4614
+ enabled: boolean;
4615
+ name: "edit";
4616
+ permission_policy: {
4617
+ type: "always_allow";
4618
+ } | {
4619
+ type: "always_ask";
4620
+ } | {
4621
+ type: "auto";
4622
+ };
4623
+ type: "edit";
4624
+ } | {
4625
+ enabled: boolean;
4626
+ name: "read";
4627
+ permission_policy: {
4628
+ type: "always_allow";
4629
+ } | {
4630
+ type: "always_ask";
4631
+ } | {
4632
+ type: "auto";
4633
+ };
4634
+ type: "read";
4635
+ } | {
4636
+ enabled: boolean;
4637
+ name: "write";
4638
+ permission_policy: {
4639
+ type: "always_allow";
4640
+ } | {
4641
+ type: "always_ask";
4642
+ } | {
4643
+ type: "auto";
4644
+ };
4645
+ type: "write";
4646
+ } | {
4647
+ enabled: boolean;
4648
+ name: "glob";
4649
+ permission_policy: {
4650
+ type: "always_allow";
4651
+ } | {
4652
+ type: "always_ask";
4653
+ } | {
4654
+ type: "auto";
4655
+ };
4656
+ type: "glob";
4657
+ } | {
4658
+ enabled: boolean;
4659
+ name: "grep";
4660
+ permission_policy: {
4661
+ type: "always_allow";
4662
+ } | {
4663
+ type: "always_ask";
4664
+ } | {
4665
+ type: "auto";
4666
+ };
4667
+ type: "grep";
4668
+ } | {
4669
+ enabled: boolean;
4670
+ name: "web_fetch";
4671
+ permission_policy: {
4672
+ type: "always_allow";
4673
+ } | {
4674
+ type: "always_ask";
4675
+ } | {
4676
+ type: "auto";
4677
+ };
4678
+ type: "web_fetch";
4679
+ allowed_domains?: Array<string>;
4680
+ blocked_domains?: Array<string>;
4681
+ max_content_tokens?: null | number;
4682
+ } | {
4683
+ enabled: boolean;
4684
+ name: "web_search";
4685
+ permission_policy: {
4686
+ type: "always_allow";
4687
+ } | {
4688
+ type: "always_ask";
4689
+ } | {
4690
+ type: "auto";
4691
+ };
4692
+ type: "web_search";
4693
+ allowed_domains?: Array<string>;
4694
+ blocked_domains?: Array<string>;
4695
+ user_location?: null | {
4696
+ type: "approximate";
4697
+ city?: null | string;
4698
+ country?: null | string;
4699
+ region?: null | string;
4700
+ timezone?: null | string;
4701
+ };
4702
+ } | {
4703
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
4704
+ enabled: boolean;
4705
+ permission_policy: {
4706
+ type: "always_allow" | "always_ask";
4707
+ };
4708
+ }>;
4709
+ default_config: {
4710
+ enabled: boolean;
4711
+ permission_policy: {
4712
+ type: "always_allow";
4713
+ } | {
4714
+ type: "always_ask";
4715
+ } | {
4716
+ type: "auto";
4717
+ };
4718
+ };
4719
+ type: "agent_toolset_20260401";
4720
+ } | {
4721
+ type: "mcp_toolset";
4722
+ mcp_server_name: string;
4723
+ default_config?: {
4724
+ enabled?: boolean | null;
4725
+ permission_policy?: null | {
4726
+ type: "always_allow" | "always_ask";
4727
+ };
4728
+ } | null;
4729
+ configs?: Array<{
4730
+ name: string;
4731
+ enabled?: boolean | null;
4732
+ permission_policy?: null | {
4733
+ type: "always_allow" | "always_ask";
4734
+ };
4735
+ }> | null;
4736
+ } | {
4737
+ description: string;
4738
+ input_schema: {
4739
+ type: "object";
4740
+ properties?: null | {
4741
+ [key: string]: unknown;
4742
+ };
4743
+ required?: null | Array<string>;
4744
+ [key: string]: unknown;
4745
+ };
4746
+ name: string;
4747
+ type: "custom";
4748
+ }>;
3466
4749
  type: "agent";
3467
4750
  version: number;
3468
4751
  };
3469
4752
  archived_at: null | string;
3470
- budget: null | Types.AgentManaged76;
4753
+ budget: null | {
4754
+ max_list_cost: {
4755
+ amount: string;
4756
+ currency: "USD";
4757
+ };
4758
+ type: "limit";
4759
+ };
3471
4760
  created_at: string;
3472
4761
  environment_id?: string;
3473
- metadata: Types.AgentManaged173;
3474
- outcome_evaluations: Array<Types.AgentManaged174>;
3475
- resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
3476
- stats: Types.AgentManaged178;
4762
+ metadata: {
4763
+ [key: string]: string;
4764
+ };
4765
+ outcome_evaluations: Array<{
4766
+ completed_at: null | string;
4767
+ description: string;
4768
+ explanation: null | string;
4769
+ iteration: number;
4770
+ outcome_id: string;
4771
+ result: string;
4772
+ type: "outcome_evaluation";
4773
+ }>;
4774
+ resources: Array<{
4775
+ id: string;
4776
+ created_at: string;
4777
+ mount_path: string;
4778
+ type: "github_repository";
4779
+ updated_at: string;
4780
+ url: string;
4781
+ checkout?: null | {
4782
+ name: string;
4783
+ type: "branch";
4784
+ } | {
4785
+ sha: string;
4786
+ type: "commit";
4787
+ };
4788
+ } | {
4789
+ id: string;
4790
+ created_at: string;
4791
+ file_id: string;
4792
+ mount_path: string;
4793
+ type: "file";
4794
+ updated_at: string;
4795
+ } | {
4796
+ memory_store_id: string;
4797
+ type: "memory_store";
4798
+ access?: null | "read_write" | "read_only";
4799
+ description?: string;
4800
+ instructions?: null | string;
4801
+ mount_path?: null | string;
4802
+ name?: null | string;
4803
+ }>;
4804
+ stats: {
4805
+ active_seconds?: number;
4806
+ duration_seconds?: number;
4807
+ };
3477
4808
  status: "rescheduling" | "running" | "idle" | "terminated";
3478
4809
  title: null | string;
3479
4810
  type: "session";
3480
4811
  updated_at: string;
3481
- usage: Types.AgentManaged179;
4812
+ usage: {
4813
+ active_seconds?: number;
4814
+ cache_creation?: {
4815
+ ephemeral_1h_input_tokens?: number;
4816
+ ephemeral_5m_input_tokens?: number;
4817
+ };
4818
+ cache_read_input_tokens?: number;
4819
+ input_tokens?: number;
4820
+ list_cost?: null | {
4821
+ amount: string;
4822
+ currency: "USD";
4823
+ };
4824
+ output_tokens?: number;
4825
+ server_tool_use?: null | {
4826
+ web_fetch_requests?: number;
4827
+ web_search_requests?: number;
4828
+ };
4829
+ cost_by_product?: {
4830
+ [key: string]: string;
4831
+ };
4832
+ subagent_cost_micro_usd?: number;
4833
+ };
3482
4834
  vault_ids: Array<string>;
3483
4835
  deployment_id?: null | string;
3484
4836
  cwd: string;
4837
+ workspace?: {
4838
+ kind: "shared" | "isolated";
4839
+ path?: string;
4840
+ branch?: string;
4841
+ };
3485
4842
  computer_id?: string;
3486
4843
  model?: {
3487
4844
  id: string;
@@ -3501,8 +4858,7 @@ export declare function createAgent(transport: Transport): {
3501
4858
  readonly external_user_id: string | null;
3502
4859
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
3503
4860
  }>;
3504
- next_page: string | null;
3505
- }>;
4861
+ };
3506
4862
  requests: {
3507
4863
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
3508
4864
  data: Array<{
@@ -3547,6 +4903,7 @@ export declare function createAgent(transport: Transport): {
3547
4903
  speed?: "standard" | "fast";
3548
4904
  settings?: {
3549
4905
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4906
+ max_output_tokens?: number;
3550
4907
  };
3551
4908
  };
3552
4909
  multiagent: null | Types.AgentManaged171;
@@ -3573,6 +4930,11 @@ export declare function createAgent(transport: Transport): {
3573
4930
  vault_ids: Array<string>;
3574
4931
  deployment_id?: null | string;
3575
4932
  cwd: string;
4933
+ workspace?: {
4934
+ kind: "shared" | "isolated";
4935
+ path?: string;
4936
+ branch?: string;
4937
+ };
3576
4938
  computer_id?: string;
3577
4939
  model?: {
3578
4940
  id: string;
@@ -3719,7 +5081,6 @@ export declare function createAgent(transport: Transport): {
3719
5081
  run_id: string | null;
3720
5082
  message_id?: string;
3721
5083
  } | {
3722
- full_access_available?: boolean;
3723
5084
  id: string;
3724
5085
  input: Types.AgentManaged197;
3725
5086
  mcp_server_name: string;
@@ -3729,6 +5090,18 @@ export declare function createAgent(transport: Transport): {
3729
5090
  evaluated_permission?: "allow" | "deny" | "ask";
3730
5091
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3731
5092
  session_thread_id?: null | string;
5093
+ permission_suggestions?: Array<{
5094
+ type: "add_rules";
5095
+ behavior: "allow";
5096
+ destination: "agent" | "session";
5097
+ rules: Array<{
5098
+ tool_name: string;
5099
+ rule_content: string;
5100
+ }>;
5101
+ }>;
5102
+ full_access_available?: boolean;
5103
+ user_once?: true;
5104
+ guarded_rule?: string;
3732
5105
  run_id: string | null;
3733
5106
  parent_tool_use_id?: string;
3734
5107
  _meta?: {
@@ -3742,17 +5115,6 @@ export declare function createAgent(transport: Transport): {
3742
5115
  };
3743
5116
  };
3744
5117
  source?: "app" | "codemode";
3745
- user_once?: true;
3746
- guarded_rule?: string;
3747
- permission_suggestions?: Array<{
3748
- type: "add_rules";
3749
- behavior: "allow";
3750
- destination: "agent" | "session";
3751
- rules: Array<{
3752
- tool_name: string;
3753
- rule_content: string;
3754
- }>;
3755
- }>;
3756
5118
  title?: string;
3757
5119
  input_titles?: {
3758
5120
  [key: string]: string;
@@ -3771,7 +5133,6 @@ export declare function createAgent(transport: Transport): {
3771
5133
  };
3772
5134
  source?: "app" | "codemode";
3773
5135
  } | {
3774
- full_access_available?: boolean;
3775
5136
  id: string;
3776
5137
  input: Types.AgentManaged206;
3777
5138
  name: string;
@@ -3780,9 +5141,6 @@ export declare function createAgent(transport: Transport): {
3780
5141
  evaluated_permission?: "allow" | "deny" | "ask";
3781
5142
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3782
5143
  session_thread_id?: null | string;
3783
- run_id: string | null;
3784
- user_once?: true;
3785
- guarded_rule?: string;
3786
5144
  permission_suggestions?: Array<{
3787
5145
  type: "add_rules";
3788
5146
  behavior: "allow";
@@ -3792,6 +5150,10 @@ export declare function createAgent(transport: Transport): {
3792
5150
  rule_content: string;
3793
5151
  }>;
3794
5152
  }>;
5153
+ full_access_available?: boolean;
5154
+ user_once?: true;
5155
+ guarded_rule?: string;
5156
+ run_id: string | null;
3795
5157
  } | {
3796
5158
  id: string;
3797
5159
  processed_at: string;
@@ -3812,9 +5174,6 @@ export declare function createAgent(transport: Transport): {
3812
5174
  type: "session.status_idle";
3813
5175
  run_id: string | null;
3814
5176
  } | 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 | {
3815
- permission_mode_version?: number;
3816
- previous_permission_mode?: string | null;
3817
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3818
5177
  id: string;
3819
5178
  processed_at: string;
3820
5179
  type: "session.updated";
@@ -3822,6 +5181,9 @@ export declare function createAgent(transport: Transport): {
3822
5181
  budget?: null | Types.AgentManaged76;
3823
5182
  metadata?: Types.AgentManaged246;
3824
5183
  title?: null | string;
5184
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
5185
+ previous_permission_mode?: string | null;
5186
+ permission_mode_version?: number;
3825
5187
  model?: {
3826
5188
  id: string;
3827
5189
  };
@@ -3912,6 +5274,7 @@ export declare function createAgent(transport: Transport): {
3912
5274
  speed?: "standard" | "fast";
3913
5275
  settings?: {
3914
5276
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
5277
+ max_output_tokens?: number;
3915
5278
  };
3916
5279
  };
3917
5280
  multiagent: null | Types.AgentManaged171;
@@ -3938,6 +5301,11 @@ export declare function createAgent(transport: Transport): {
3938
5301
  vault_ids: Array<string>;
3939
5302
  deployment_id?: null | string;
3940
5303
  cwd: string;
5304
+ workspace?: {
5305
+ kind: "shared" | "isolated";
5306
+ path?: string;
5307
+ branch?: string;
5308
+ };
3941
5309
  computer_id?: string;
3942
5310
  model?: {
3943
5311
  id: string;
@@ -4002,6 +5370,29 @@ export declare function createAgent(transport: Transport): {
4002
5370
  next_page: null;
4003
5371
  }>;
4004
5372
  };
5373
+ uploads: {
5374
+ contentUrl: {
5375
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
5376
+ url: string;
5377
+ expires_at: string;
5378
+ }>;
5379
+ };
5380
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
5381
+ upload_id: string;
5382
+ expires_at: string;
5383
+ url: string;
5384
+ } | {
5385
+ upload_id: string;
5386
+ expires_at: string;
5387
+ part_size: number;
5388
+ parts: Array<{
5389
+ part_number: number;
5390
+ url: string;
5391
+ }>;
5392
+ complete_url: string;
5393
+ status_url: string;
5394
+ }>;
5395
+ };
4005
5396
  };
4006
5397
  export declare function createApplication(transport: Transport): {
4007
5398
  assets: {
@@ -4266,6 +5657,11 @@ export declare function createAutomation(transport: Transport): {
4266
5657
  };
4267
5658
  };
4268
5659
  };
5660
+ export declare function createBilling(transport: Transport): {
5661
+ prices: {
5662
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
5663
+ };
5664
+ };
4269
5665
  export declare function createBrowser(transport: Transport): {
4270
5666
  connect: {
4271
5667
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
@@ -4387,6 +5783,24 @@ export declare function createCanvas(transport: Transport): {
4387
5783
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4388
5784
  };
4389
5785
  };
5786
+ export declare function createContent(transport: Transport): {
5787
+ contents: {
5788
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
5789
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
5790
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
5791
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
5792
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
5793
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
5794
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
5795
+ };
5796
+ playbackSessions: {
5797
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
5798
+ };
5799
+ versions: {
5800
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
5801
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
5802
+ };
5803
+ };
4390
5804
  export declare function createCrm(transport: Transport): {
4391
5805
  associations: {
4392
5806
  create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
@@ -4447,6 +5861,32 @@ export declare function createCrm(transport: Transport): {
4447
5861
  list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4448
5862
  };
4449
5863
  };
5864
+ export declare function createCustomer(transport: Transport): {
5865
+ accessTokens: {
5866
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
5867
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
5868
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
5869
+ };
5870
+ customers: {
5871
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
5872
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
5873
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
5874
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
5875
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
5876
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
5877
+ };
5878
+ grantCodes: {
5879
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
5880
+ };
5881
+ publishableKeys: {
5882
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
5883
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
5884
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
5885
+ };
5886
+ usage: {
5887
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
5888
+ };
5889
+ };
4450
5890
  export declare function createCut(transport: Transport): {
4451
5891
  exports: {
4452
5892
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4545,7 +5985,9 @@ export declare function createDatabase(transport: Transport): {
4545
5985
  export declare function createDevops(transport: Transport): {
4546
5986
  changes: {
4547
5987
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
5988
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
4548
5989
  markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
5990
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
4549
5991
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
4550
5992
  };
4551
5993
  connections: {
@@ -4585,6 +6027,13 @@ export declare function createDevops(transport: Transport): {
4585
6027
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
4586
6028
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
4587
6029
  };
6030
+ cleanups: {
6031
+ list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
6032
+ };
6033
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
6034
+ defaultBranch: {
6035
+ initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
6036
+ };
4588
6037
  environments: {
4589
6038
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
4590
6039
  targets: {
@@ -4617,6 +6066,7 @@ export declare function createDevops(transport: Transport): {
4617
6066
  };
4618
6067
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
4619
6068
  retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
6069
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
4620
6070
  segments: {
4621
6071
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
4622
6072
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
@@ -4656,6 +6106,7 @@ export declare function createDevops(transport: Transport): {
4656
6106
  promotions: {
4657
6107
  approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
4658
6108
  cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
6109
+ checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
4659
6110
  conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
4660
6111
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
4661
6112
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
@@ -4665,10 +6116,14 @@ export declare function createDevops(transport: Transport): {
4665
6116
  };
4666
6117
  };
4667
6118
  pullRequests: {
6119
+ close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
4668
6120
  merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
4669
6121
  recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
4670
6122
  rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
4671
6123
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
6124
+ reviews: {
6125
+ create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
6126
+ };
4672
6127
  };
4673
6128
  releases: {
4674
6129
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
@@ -4884,6 +6339,12 @@ export declare function createMedia(transport: Transport): {
4884
6339
  retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
4885
6340
  };
4886
6341
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
6342
+ voices: {
6343
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
6344
+ designs: {
6345
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
6346
+ };
6347
+ };
4887
6348
  };
4888
6349
  speech: {
4889
6350
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
@@ -5407,6 +6868,7 @@ export declare function createModel(transport: Transport): {
5407
6868
  unsigned_urls: Array<string>;
5408
6869
  usage?: {
5409
6870
  cost: number;
6871
+ billed_seconds?: number;
5410
6872
  };
5411
6873
  }>;
5412
6874
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -5437,6 +6899,7 @@ export declare function createModel(transport: Transport): {
5437
6899
  unsigned_urls: Array<string>;
5438
6900
  usage?: {
5439
6901
  cost: number;
6902
+ billed_seconds?: number;
5440
6903
  };
5441
6904
  }>;
5442
6905
  has_more: boolean;
@@ -5465,6 +6928,7 @@ export declare function createModel(transport: Transport): {
5465
6928
  unsigned_urls: Array<string>;
5466
6929
  usage?: {
5467
6930
  cost: number;
6931
+ billed_seconds?: number;
5468
6932
  };
5469
6933
  }>;
5470
6934
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
@@ -5570,6 +7034,9 @@ export declare function createOrganization(transport: Transport): {
5570
7034
  update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
5571
7035
  updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
5572
7036
  };
7037
+ effectiveSpec: {
7038
+ retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
7039
+ };
5573
7040
  events: {
5574
7041
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
5575
7042
  object: "page";
@@ -5852,6 +7319,26 @@ export declare function createOrganization(transport: Transport): {
5852
7319
  updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
5853
7320
  updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
5854
7321
  };
7322
+ reconcile: {
7323
+ pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
7324
+ resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
7325
+ retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
7326
+ run: {
7327
+ create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
7328
+ };
7329
+ status: {
7330
+ list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
7331
+ };
7332
+ };
7333
+ specs: {
7334
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
7335
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
7336
+ retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
7337
+ revisions: {
7338
+ list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
7339
+ };
7340
+ update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
7341
+ };
5855
7342
  usage: {
5856
7343
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
5857
7344
  object: "page";
@@ -5881,6 +7368,27 @@ export declare function createRegistry(transport: Transport): {
5881
7368
  update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
5882
7369
  };
5883
7370
  packages: {
7371
+ git: {
7372
+ commits: {
7373
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
7374
+ };
7375
+ files: {
7376
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
7377
+ };
7378
+ refs: {
7379
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
7380
+ };
7381
+ retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
7382
+ retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
7383
+ retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
7384
+ trees: {
7385
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
7386
+ retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
7387
+ };
7388
+ };
7389
+ gitCredential: {
7390
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
7391
+ };
5884
7392
  installations: {
5885
7393
  create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
5886
7394
  list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
@@ -5912,12 +7420,105 @@ export declare function createRegistry(transport: Transport): {
5912
7420
  };
5913
7421
  };
5914
7422
  export declare function createSandbox(transport: Transport): {
7423
+ byod: {
7424
+ devices: {
7425
+ disconnect: {
7426
+ create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
7427
+ id: string;
7428
+ object: "byod_device";
7429
+ disconnected: true;
7430
+ }>;
7431
+ };
7432
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
7433
+ data: Array<{
7434
+ object: "byod_device";
7435
+ id: string;
7436
+ platform: "android" | "macos" | "linux";
7437
+ name: string;
7438
+ model: string;
7439
+ os_version: string;
7440
+ online: boolean;
7441
+ last_seen_at: string | null;
7442
+ created_at: string;
7443
+ capabilities: Array<"display" | "agent">;
7444
+ agent_dirs: Array<string>;
7445
+ allow_bypass: boolean;
7446
+ }>;
7447
+ }>;
7448
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
7449
+ object: "byod_device";
7450
+ id: string;
7451
+ platform: "android" | "macos" | "linux";
7452
+ name: string;
7453
+ model: string;
7454
+ os_version: string;
7455
+ online: boolean;
7456
+ last_seen_at: string | null;
7457
+ created_at: string;
7458
+ capabilities: Array<"display" | "agent">;
7459
+ agent_dirs: Array<string>;
7460
+ allow_bypass: boolean;
7461
+ }>;
7462
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
7463
+ object: "byod_device";
7464
+ id: string;
7465
+ platform: "android" | "macos" | "linux";
7466
+ name: string;
7467
+ model: string;
7468
+ os_version: string;
7469
+ online: boolean;
7470
+ last_seen_at: string | null;
7471
+ created_at: string;
7472
+ capabilities: Array<"display" | "agent">;
7473
+ agent_dirs: Array<string>;
7474
+ allow_bypass: boolean;
7475
+ }>;
7476
+ };
7477
+ pairings: {
7478
+ claim: {
7479
+ create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
7480
+ device_id: string;
7481
+ credential: string;
7482
+ socket_url: string;
7483
+ }>;
7484
+ };
7485
+ create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
7486
+ code: string;
7487
+ expires_at: string;
7488
+ qr: string;
7489
+ }>;
7490
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
7491
+ organization_name: string;
7492
+ expires_at: string;
7493
+ }>;
7494
+ };
7495
+ };
5915
7496
  events: {
5916
7497
  sandboxes: {
5917
7498
  retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
5918
7499
  };
5919
7500
  };
5920
7501
  sandboxes: {
7502
+ act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
7503
+ type: "snapshot";
7504
+ snapshot: string;
7505
+ refs: number;
7506
+ truncated: boolean;
7507
+ package: string;
7508
+ } | {
7509
+ type: "screenshot";
7510
+ mediaType: string;
7511
+ data: string;
7512
+ width: number;
7513
+ height: number;
7514
+ bytes: number;
7515
+ } | {
7516
+ type: "ok";
7517
+ ms?: number;
7518
+ } | {
7519
+ type: "wait";
7520
+ ms: number;
7521
+ }>;
5921
7522
  commands: {
5922
7523
  run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
5923
7524
  stdout: string;
@@ -6446,9 +8047,12 @@ export declare const resourceFactories: {
6446
8047
  agent: typeof createAgent;
6447
8048
  application: typeof createApplication;
6448
8049
  automation: typeof createAutomation;
8050
+ billing: typeof createBilling;
6449
8051
  browser: typeof createBrowser;
6450
8052
  canvas: typeof createCanvas;
8053
+ content: typeof createContent;
6451
8054
  crm: typeof createCrm;
8055
+ customer: typeof createCustomer;
6452
8056
  cut: typeof createCut;
6453
8057
  database: typeof createDatabase;
6454
8058
  devops: typeof createDevops;