@deepraxis/sdk 0.1.1-dev.457df55 → 0.1.1-dev.45e7ad5

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;
@@ -49,7 +50,7 @@ export declare function createAgent(transport: Transport): {
49
50
  readonly verified?: boolean;
50
51
  enabled?: boolean;
51
52
  }>;
52
- kind: "general" | "personal" | "service" | "assume";
53
+ kind: "general" | "service" | "assume";
53
54
  computer_id?: string;
54
55
  subagent_model?: string | null;
55
56
  subagents?: Array<{
@@ -142,6 +143,7 @@ export declare function createAgent(transport: Transport): {
142
143
  allowManagedHooksOnly?: boolean;
143
144
  allowManagedMcpServersOnly?: boolean;
144
145
  allowManagedPermissionRulesOnly?: boolean;
146
+ idleCompaction?: boolean;
145
147
  autoMemoryEnabled?: boolean;
146
148
  disabled?: {
147
149
  subagents?: Array<string>;
@@ -150,7 +152,6 @@ export declare function createAgent(transport: Transport): {
150
152
  mcpServers?: Array<string>;
151
153
  hooks?: Array<string>;
152
154
  };
153
- idleCompaction?: boolean;
154
155
  outputStyle?: string;
155
156
  } | null;
156
157
  models?: {
@@ -199,6 +200,7 @@ export declare function createAgent(transport: Transport): {
199
200
  speed?: "standard" | "fast";
200
201
  settings?: {
201
202
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
203
+ max_output_tokens?: number;
202
204
  };
203
205
  };
204
206
  multiagent?: null | Types.AgentManaged39;
@@ -231,7 +233,14 @@ export declare function createAgent(transport: Transport): {
231
233
  readonly verified?: boolean;
232
234
  enabled?: boolean;
233
235
  }>;
234
- kind: "general" | "personal" | "service" | "assume";
236
+ kind: "general" | "service" | "assume";
237
+ computers?: {
238
+ default: string;
239
+ allowed: Array<{
240
+ template: string;
241
+ name: string;
242
+ }>;
243
+ };
235
244
  computer_id?: string;
236
245
  subagent_model?: string | null;
237
246
  subagents?: Array<{
@@ -324,6 +333,7 @@ export declare function createAgent(transport: Transport): {
324
333
  allowManagedHooksOnly?: boolean;
325
334
  allowManagedMcpServersOnly?: boolean;
326
335
  allowManagedPermissionRulesOnly?: boolean;
336
+ idleCompaction?: boolean;
327
337
  autoMemoryEnabled?: boolean;
328
338
  disabled?: {
329
339
  subagents?: Array<string>;
@@ -332,7 +342,6 @@ export declare function createAgent(transport: Transport): {
332
342
  mcpServers?: Array<string>;
333
343
  hooks?: Array<string>;
334
344
  };
335
- idleCompaction?: boolean;
336
345
  outputStyle?: string;
337
346
  } | null;
338
347
  models?: {
@@ -352,42 +361,6 @@ export declare function createAgent(transport: Transport): {
352
361
  }> | null;
353
362
  }>;
354
363
  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
364
  block: {
392
365
  create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
393
366
  id: string;
@@ -519,7 +492,6 @@ export declare function createAgent(transport: Transport): {
519
492
  run_id: string | null;
520
493
  message_id?: string;
521
494
  } | {
522
- full_access_available?: boolean;
523
495
  id: string;
524
496
  input: Types.AgentManaged197;
525
497
  mcp_server_name: string;
@@ -529,6 +501,18 @@ export declare function createAgent(transport: Transport): {
529
501
  evaluated_permission?: "allow" | "deny" | "ask";
530
502
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
531
503
  session_thread_id?: null | string;
504
+ permission_suggestions?: Array<{
505
+ type: "add_rules";
506
+ behavior: "allow";
507
+ destination: "agent" | "session";
508
+ rules: Array<{
509
+ tool_name: string;
510
+ rule_content: string;
511
+ }>;
512
+ }>;
513
+ full_access_available?: boolean;
514
+ user_once?: true;
515
+ guarded_rule?: string;
532
516
  run_id: string | null;
533
517
  _meta?: {
534
518
  ui?: {
@@ -542,17 +526,6 @@ export declare function createAgent(transport: Transport): {
542
526
  };
543
527
  source?: "app" | "codemode";
544
528
  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
529
  title?: string;
557
530
  input_titles?: {
558
531
  [key: string]: string;
@@ -571,7 +544,6 @@ export declare function createAgent(transport: Transport): {
571
544
  };
572
545
  source?: "app" | "codemode";
573
546
  } | {
574
- full_access_available?: boolean;
575
547
  id: string;
576
548
  input: Types.AgentManaged206;
577
549
  name: string;
@@ -580,9 +552,6 @@ export declare function createAgent(transport: Transport): {
580
552
  evaluated_permission?: "allow" | "deny" | "ask";
581
553
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
582
554
  session_thread_id?: null | string;
583
- run_id: string | null;
584
- user_once?: true;
585
- guarded_rule?: string;
586
555
  permission_suggestions?: Array<{
587
556
  type: "add_rules";
588
557
  behavior: "allow";
@@ -592,6 +561,10 @@ export declare function createAgent(transport: Transport): {
592
561
  rule_content: string;
593
562
  }>;
594
563
  }>;
564
+ full_access_available?: boolean;
565
+ user_once?: true;
566
+ guarded_rule?: string;
567
+ run_id: string | null;
595
568
  } | {
596
569
  id: string;
597
570
  processed_at: string;
@@ -612,9 +585,6 @@ export declare function createAgent(transport: Transport): {
612
585
  type: "session.status_idle";
613
586
  run_id: string | null;
614
587
  } | 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
588
  id: string;
619
589
  processed_at: string;
620
590
  type: "session.updated";
@@ -622,6 +592,9 @@ export declare function createAgent(transport: Transport): {
622
592
  budget?: null | Types.AgentManaged76;
623
593
  metadata?: Types.AgentManaged246;
624
594
  title?: null | string;
595
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
596
+ previous_permission_mode?: string | null;
597
+ permission_mode_version?: number;
625
598
  model?: {
626
599
  id: string;
627
600
  };
@@ -734,6 +707,20 @@ export declare function createAgent(transport: Transport): {
734
707
  }>;
735
708
  stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
736
709
  };
710
+ inbox: {
711
+ letters: {
712
+ list: (options: import("./core/transport.js").CallOptions<Types.ListAgentInboxLettersData>) => Promise<{
713
+ unread: number;
714
+ letters: Array<{
715
+ id: string;
716
+ sender: string;
717
+ summary: string;
718
+ thread: string | null;
719
+ create_time: string;
720
+ }>;
721
+ }>;
722
+ };
723
+ };
737
724
  list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
738
725
  data: Array<{
739
726
  id: string;
@@ -749,6 +736,7 @@ export declare function createAgent(transport: Transport): {
749
736
  speed?: "standard" | "fast";
750
737
  settings?: {
751
738
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
739
+ max_output_tokens?: number;
752
740
  };
753
741
  };
754
742
  multiagent?: null | Types.AgentManaged39;
@@ -781,7 +769,14 @@ export declare function createAgent(transport: Transport): {
781
769
  readonly verified?: boolean;
782
770
  enabled?: boolean;
783
771
  }>;
784
- kind: "general" | "personal" | "service" | "assume";
772
+ kind: "general" | "service" | "assume";
773
+ computers?: {
774
+ default: string;
775
+ allowed: Array<{
776
+ template: string;
777
+ name: string;
778
+ }>;
779
+ };
785
780
  computer_id?: string;
786
781
  subagent_model?: string | null;
787
782
  subagents?: Array<{
@@ -874,6 +869,7 @@ export declare function createAgent(transport: Transport): {
874
869
  allowManagedHooksOnly?: boolean;
875
870
  allowManagedMcpServersOnly?: boolean;
876
871
  allowManagedPermissionRulesOnly?: boolean;
872
+ idleCompaction?: boolean;
877
873
  autoMemoryEnabled?: boolean;
878
874
  disabled?: {
879
875
  subagents?: Array<string>;
@@ -882,7 +878,6 @@ export declare function createAgent(transport: Transport): {
882
878
  mcpServers?: Array<string>;
883
879
  hooks?: Array<string>;
884
880
  };
885
- idleCompaction?: boolean;
886
881
  outputStyle?: string;
887
882
  } | null;
888
883
  models?: {
@@ -917,6 +912,7 @@ export declare function createAgent(transport: Transport): {
917
912
  speed?: "standard" | "fast";
918
913
  settings?: {
919
914
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
915
+ max_output_tokens?: number;
920
916
  };
921
917
  };
922
918
  multiagent?: null | Types.AgentManaged39;
@@ -950,7 +946,14 @@ export declare function createAgent(transport: Transport): {
950
946
  readonly verified?: boolean;
951
947
  enabled?: boolean;
952
948
  }>;
953
- kind: "general" | "personal" | "service" | "assume";
949
+ kind: "general" | "service" | "assume";
950
+ computers?: {
951
+ default: string;
952
+ allowed: Array<{
953
+ template: string;
954
+ name: string;
955
+ }>;
956
+ };
954
957
  computer_id?: string;
955
958
  subagent_model?: string | null;
956
959
  subagents?: Array<{
@@ -1043,6 +1046,7 @@ export declare function createAgent(transport: Transport): {
1043
1046
  allowManagedHooksOnly?: boolean;
1044
1047
  allowManagedMcpServersOnly?: boolean;
1045
1048
  allowManagedPermissionRulesOnly?: boolean;
1049
+ idleCompaction?: boolean;
1046
1050
  autoMemoryEnabled?: boolean;
1047
1051
  disabled?: {
1048
1052
  subagents?: Array<string>;
@@ -1051,7 +1055,6 @@ export declare function createAgent(transport: Transport): {
1051
1055
  mcpServers?: Array<string>;
1052
1056
  hooks?: Array<string>;
1053
1057
  };
1054
- idleCompaction?: boolean;
1055
1058
  outputStyle?: string;
1056
1059
  } | null;
1057
1060
  models?: {
@@ -1127,6 +1130,25 @@ export declare function createAgent(transport: Transport): {
1127
1130
  history?: {
1128
1131
  enabled?: boolean;
1129
1132
  };
1133
+ uploads?: {
1134
+ enabled: boolean;
1135
+ max_file_bytes: number;
1136
+ max_files_per_session: number;
1137
+ };
1138
+ }>;
1139
+ retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
1140
+ allowed_origins: Array<string>;
1141
+ allow_localhost: boolean;
1142
+ uploads: {
1143
+ enabled: boolean;
1144
+ max_file_bytes: number;
1145
+ max_files_per_session: number;
1146
+ };
1147
+ share_links: {
1148
+ enabled: boolean;
1149
+ daily_session_cap: number | null;
1150
+ daily_spend_cap_micro_usd: number | null;
1151
+ };
1130
1152
  }>;
1131
1153
  unarchive: {
1132
1154
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -1180,6 +1202,7 @@ export declare function createAgent(transport: Transport): {
1180
1202
  speed?: "standard" | "fast";
1181
1203
  settings?: {
1182
1204
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1205
+ max_output_tokens?: number;
1183
1206
  };
1184
1207
  };
1185
1208
  multiagent?: null | {
@@ -1378,7 +1401,14 @@ export declare function createAgent(transport: Transport): {
1378
1401
  readonly verified?: boolean;
1379
1402
  enabled?: boolean;
1380
1403
  }>;
1381
- kind: "general" | "personal" | "service" | "assume";
1404
+ kind: "general" | "service" | "assume";
1405
+ computers?: {
1406
+ default: string;
1407
+ allowed: Array<{
1408
+ template: string;
1409
+ name: string;
1410
+ }>;
1411
+ };
1382
1412
  computer_id?: string;
1383
1413
  subagent_model?: string | null;
1384
1414
  subagents?: Array<{
@@ -1471,6 +1501,7 @@ export declare function createAgent(transport: Transport): {
1471
1501
  allowManagedHooksOnly?: boolean;
1472
1502
  allowManagedMcpServersOnly?: boolean;
1473
1503
  allowManagedPermissionRulesOnly?: boolean;
1504
+ idleCompaction?: boolean;
1474
1505
  autoMemoryEnabled?: boolean;
1475
1506
  disabled?: {
1476
1507
  subagents?: Array<string>;
@@ -1479,7 +1510,6 @@ export declare function createAgent(transport: Transport): {
1479
1510
  mcpServers?: Array<string>;
1480
1511
  hooks?: Array<string>;
1481
1512
  };
1482
- idleCompaction?: boolean;
1483
1513
  outputStyle?: string;
1484
1514
  } | null;
1485
1515
  models?: {
@@ -1513,6 +1543,7 @@ export declare function createAgent(transport: Transport): {
1513
1543
  speed?: "standard" | "fast";
1514
1544
  settings?: {
1515
1545
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1546
+ max_output_tokens?: number;
1516
1547
  };
1517
1548
  };
1518
1549
  multiagent?: null | Types.AgentManaged39;
@@ -1546,7 +1577,14 @@ export declare function createAgent(transport: Transport): {
1546
1577
  readonly verified?: boolean;
1547
1578
  enabled?: boolean;
1548
1579
  }>;
1549
- kind: "general" | "personal" | "service" | "assume";
1580
+ kind: "general" | "service" | "assume";
1581
+ computers?: {
1582
+ default: string;
1583
+ allowed: Array<{
1584
+ template: string;
1585
+ name: string;
1586
+ }>;
1587
+ };
1550
1588
  computer_id?: string;
1551
1589
  subagent_model?: string | null;
1552
1590
  subagents?: Array<{
@@ -1639,6 +1677,7 @@ export declare function createAgent(transport: Transport): {
1639
1677
  allowManagedHooksOnly?: boolean;
1640
1678
  allowManagedMcpServersOnly?: boolean;
1641
1679
  allowManagedPermissionRulesOnly?: boolean;
1680
+ idleCompaction?: boolean;
1642
1681
  autoMemoryEnabled?: boolean;
1643
1682
  disabled?: {
1644
1683
  subagents?: Array<string>;
@@ -1647,7 +1686,6 @@ export declare function createAgent(transport: Transport): {
1647
1686
  mcpServers?: Array<string>;
1648
1687
  hooks?: Array<string>;
1649
1688
  };
1650
- idleCompaction?: boolean;
1651
1689
  outputStyle?: string;
1652
1690
  } | null;
1653
1691
  models?: {
@@ -1666,28 +1704,245 @@ export declare function createAgent(transport: Transport): {
1666
1704
  keep_coding_instructions?: boolean;
1667
1705
  }> | null;
1668
1706
  }>;
1707
+ updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
1708
+ allowed_origins: Array<string>;
1709
+ allow_localhost: boolean;
1710
+ uploads: {
1711
+ enabled: boolean;
1712
+ max_file_bytes: number;
1713
+ max_files_per_session: number;
1714
+ };
1715
+ share_links: {
1716
+ enabled: boolean;
1717
+ daily_session_cap: number | null;
1718
+ daily_spend_cap_micro_usd: number | null;
1719
+ };
1720
+ }>;
1669
1721
  versions: {
1670
1722
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1671
1723
  id: string;
1672
1724
  archived_at: null | string;
1673
1725
  created_at: string;
1674
1726
  description: null | string;
1675
- mcp_servers: Array<Types.AgentManaged36>;
1676
- metadata: Types.AgentManaged37;
1727
+ mcp_servers: Array<{
1728
+ type: "url";
1729
+ name: string;
1730
+ url: string;
1731
+ headers?: {
1732
+ [key: string]: string;
1733
+ };
1734
+ timeout_ms?: number;
1735
+ } | {
1736
+ type: "sse";
1737
+ name: string;
1738
+ url: string;
1739
+ headers?: {
1740
+ [key: string]: string;
1741
+ };
1742
+ timeout_ms?: number;
1743
+ } | {
1744
+ type: "stdio";
1745
+ name: string;
1746
+ command: string;
1747
+ args?: Array<string>;
1748
+ env?: {
1749
+ [key: string]: string;
1750
+ };
1751
+ timeout_ms?: number;
1752
+ }>;
1753
+ metadata: {
1754
+ [key: string]: string;
1755
+ };
1677
1756
  model?: {
1678
1757
  id: string;
1679
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1758
+ effort?: {
1759
+ type: "low";
1760
+ } | {
1761
+ type: "medium";
1762
+ } | {
1763
+ type: "high";
1764
+ } | {
1765
+ type: "xhigh";
1766
+ } | {
1767
+ type: "max";
1768
+ };
1680
1769
  inference_geo?: string;
1681
1770
  speed?: "standard" | "fast";
1682
1771
  settings?: {
1683
1772
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1773
+ max_output_tokens?: number;
1684
1774
  };
1685
1775
  };
1686
- multiagent?: null | Types.AgentManaged39;
1776
+ multiagent?: null | {
1777
+ agents: Array<{
1778
+ id: string;
1779
+ type: "agent";
1780
+ version: number;
1781
+ } | {
1782
+ model: string;
1783
+ type: "advisor";
1784
+ }>;
1785
+ type: "coordinator";
1786
+ };
1687
1787
  name: string;
1688
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1788
+ skills: Array<{
1789
+ skill_id: string;
1790
+ type: "anthropic";
1791
+ version: string;
1792
+ } | {
1793
+ skill_id: string;
1794
+ type: "custom";
1795
+ version: string;
1796
+ }>;
1689
1797
  system: null | string;
1690
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1798
+ tools: Array<{
1799
+ configs: Array<{
1800
+ enabled: boolean;
1801
+ name: "bash";
1802
+ permission_policy: {
1803
+ type: "always_allow";
1804
+ } | {
1805
+ type: "always_ask";
1806
+ } | {
1807
+ type: "auto";
1808
+ };
1809
+ type: "bash";
1810
+ } | {
1811
+ enabled: boolean;
1812
+ name: "edit";
1813
+ permission_policy: {
1814
+ type: "always_allow";
1815
+ } | {
1816
+ type: "always_ask";
1817
+ } | {
1818
+ type: "auto";
1819
+ };
1820
+ type: "edit";
1821
+ } | {
1822
+ enabled: boolean;
1823
+ name: "read";
1824
+ permission_policy: {
1825
+ type: "always_allow";
1826
+ } | {
1827
+ type: "always_ask";
1828
+ } | {
1829
+ type: "auto";
1830
+ };
1831
+ type: "read";
1832
+ } | {
1833
+ enabled: boolean;
1834
+ name: "write";
1835
+ permission_policy: {
1836
+ type: "always_allow";
1837
+ } | {
1838
+ type: "always_ask";
1839
+ } | {
1840
+ type: "auto";
1841
+ };
1842
+ type: "write";
1843
+ } | {
1844
+ enabled: boolean;
1845
+ name: "glob";
1846
+ permission_policy: {
1847
+ type: "always_allow";
1848
+ } | {
1849
+ type: "always_ask";
1850
+ } | {
1851
+ type: "auto";
1852
+ };
1853
+ type: "glob";
1854
+ } | {
1855
+ enabled: boolean;
1856
+ name: "grep";
1857
+ permission_policy: {
1858
+ type: "always_allow";
1859
+ } | {
1860
+ type: "always_ask";
1861
+ } | {
1862
+ type: "auto";
1863
+ };
1864
+ type: "grep";
1865
+ } | {
1866
+ enabled: boolean;
1867
+ name: "web_fetch";
1868
+ permission_policy: {
1869
+ type: "always_allow";
1870
+ } | {
1871
+ type: "always_ask";
1872
+ } | {
1873
+ type: "auto";
1874
+ };
1875
+ type: "web_fetch";
1876
+ allowed_domains?: Array<string>;
1877
+ blocked_domains?: Array<string>;
1878
+ max_content_tokens?: null | number;
1879
+ } | {
1880
+ enabled: boolean;
1881
+ name: "web_search";
1882
+ permission_policy: {
1883
+ type: "always_allow";
1884
+ } | {
1885
+ type: "always_ask";
1886
+ } | {
1887
+ type: "auto";
1888
+ };
1889
+ type: "web_search";
1890
+ allowed_domains?: Array<string>;
1891
+ blocked_domains?: Array<string>;
1892
+ user_location?: null | {
1893
+ type: "approximate";
1894
+ city?: null | string;
1895
+ country?: null | string;
1896
+ region?: null | string;
1897
+ timezone?: null | string;
1898
+ };
1899
+ } | {
1900
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
1901
+ enabled: boolean;
1902
+ permission_policy: {
1903
+ type: "always_allow" | "always_ask";
1904
+ };
1905
+ }>;
1906
+ default_config: {
1907
+ enabled: boolean;
1908
+ permission_policy: {
1909
+ type: "always_allow";
1910
+ } | {
1911
+ type: "always_ask";
1912
+ } | {
1913
+ type: "auto";
1914
+ };
1915
+ };
1916
+ type: "agent_toolset_20260401";
1917
+ } | {
1918
+ type: "mcp_toolset";
1919
+ mcp_server_name: string;
1920
+ default_config?: {
1921
+ enabled?: boolean | null;
1922
+ permission_policy?: null | {
1923
+ type: "always_allow" | "always_ask";
1924
+ };
1925
+ } | null;
1926
+ configs?: Array<{
1927
+ name: string;
1928
+ enabled?: boolean | null;
1929
+ permission_policy?: null | {
1930
+ type: "always_allow" | "always_ask";
1931
+ };
1932
+ }> | null;
1933
+ } | {
1934
+ description: string;
1935
+ input_schema: {
1936
+ type: "object";
1937
+ properties?: null | {
1938
+ [key: string]: unknown;
1939
+ };
1940
+ required?: null | Array<string>;
1941
+ [key: string]: unknown;
1942
+ };
1943
+ name: string;
1944
+ type: "custom";
1945
+ }>;
1691
1946
  type: "agent";
1692
1947
  updated_at: string;
1693
1948
  version: number;
@@ -1714,7 +1969,14 @@ export declare function createAgent(transport: Transport): {
1714
1969
  readonly verified?: boolean;
1715
1970
  enabled?: boolean;
1716
1971
  }>;
1717
- kind: "general" | "personal" | "service" | "assume";
1972
+ kind: "general" | "service" | "assume";
1973
+ computers?: {
1974
+ default: string;
1975
+ allowed: Array<{
1976
+ template: string;
1977
+ name: string;
1978
+ }>;
1979
+ };
1718
1980
  computer_id?: string;
1719
1981
  subagent_model?: string | null;
1720
1982
  subagents?: Array<{
@@ -1807,6 +2069,7 @@ export declare function createAgent(transport: Transport): {
1807
2069
  allowManagedHooksOnly?: boolean;
1808
2070
  allowManagedMcpServersOnly?: boolean;
1809
2071
  allowManagedPermissionRulesOnly?: boolean;
2072
+ idleCompaction?: boolean;
1810
2073
  autoMemoryEnabled?: boolean;
1811
2074
  disabled?: {
1812
2075
  subagents?: Array<string>;
@@ -1815,7 +2078,6 @@ export declare function createAgent(transport: Transport): {
1815
2078
  mcpServers?: Array<string>;
1816
2079
  hooks?: Array<string>;
1817
2080
  };
1818
- idleCompaction?: boolean;
1819
2081
  outputStyle?: string;
1820
2082
  } | null;
1821
2083
  models?: {
@@ -1849,6 +2111,7 @@ export declare function createAgent(transport: Transport): {
1849
2111
  speed?: "standard" | "fast";
1850
2112
  settings?: {
1851
2113
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2114
+ max_output_tokens?: number;
1852
2115
  };
1853
2116
  };
1854
2117
  multiagent?: null | Types.AgentManaged39;
@@ -1882,7 +2145,14 @@ export declare function createAgent(transport: Transport): {
1882
2145
  readonly verified?: boolean;
1883
2146
  enabled?: boolean;
1884
2147
  }>;
1885
- kind: "general" | "personal" | "service" | "assume";
2148
+ kind: "general" | "service" | "assume";
2149
+ computers?: {
2150
+ default: string;
2151
+ allowed: Array<{
2152
+ template: string;
2153
+ name: string;
2154
+ }>;
2155
+ };
1886
2156
  computer_id?: string;
1887
2157
  subagent_model?: string | null;
1888
2158
  subagents?: Array<{
@@ -1975,6 +2245,7 @@ export declare function createAgent(transport: Transport): {
1975
2245
  allowManagedHooksOnly?: boolean;
1976
2246
  allowManagedMcpServersOnly?: boolean;
1977
2247
  allowManagedPermissionRulesOnly?: boolean;
2248
+ idleCompaction?: boolean;
1978
2249
  autoMemoryEnabled?: boolean;
1979
2250
  disabled?: {
1980
2251
  subagents?: Array<string>;
@@ -1983,7 +2254,6 @@ export declare function createAgent(transport: Transport): {
1983
2254
  mcpServers?: Array<string>;
1984
2255
  hooks?: Array<string>;
1985
2256
  };
1986
- idleCompaction?: boolean;
1987
2257
  outputStyle?: string;
1988
2258
  } | null;
1989
2259
  models?: {
@@ -2343,87 +2613,619 @@ export declare function createAgent(transport: Transport): {
2343
2613
  id: string;
2344
2614
  type: "agent";
2345
2615
  version: number;
2346
- } | {
2347
- id: string;
2348
- type: "agent_with_overrides";
2349
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2350
- cwd?: string;
2351
- model?: string | {
2352
- id: string;
2353
- effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2354
- speed?: null | "standard" | "fast";
2355
- };
2356
- version: number;
2616
+ } | {
2617
+ id: string;
2618
+ type: "agent_with_overrides";
2619
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2620
+ cwd?: string;
2621
+ model?: string | {
2622
+ id: string;
2623
+ effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2624
+ speed?: null | "standard" | "fast";
2625
+ };
2626
+ version: number;
2627
+ };
2628
+ archived_at: null | string;
2629
+ created_at: string;
2630
+ description: null | string;
2631
+ environment_id?: string | null;
2632
+ initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2633
+ metadata: Types.AgentManaged91;
2634
+ name: string;
2635
+ paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2636
+ resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2637
+ schedule: null | Types.AgentManaged111;
2638
+ status: "active" | "paused";
2639
+ type: "deployment";
2640
+ updated_at: string;
2641
+ vault_ids: Array<string>;
2642
+ budget?: null | Types.AgentManaged76;
2643
+ target: {
2644
+ type: "environment" | "computer";
2645
+ };
2646
+ }>;
2647
+ };
2648
+ update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2649
+ id: string;
2650
+ agent: {
2651
+ id: string;
2652
+ type: "agent";
2653
+ version: number;
2654
+ } | {
2655
+ id: string;
2656
+ type: "agent_with_overrides";
2657
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2658
+ cwd?: string;
2659
+ model?: string | {
2660
+ id: string;
2661
+ effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2662
+ speed?: null | "standard" | "fast";
2663
+ };
2664
+ version: number;
2665
+ };
2666
+ archived_at: null | string;
2667
+ created_at: string;
2668
+ description: null | string;
2669
+ environment_id?: string | null;
2670
+ initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2671
+ metadata: Types.AgentManaged91;
2672
+ name: string;
2673
+ paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2674
+ resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2675
+ schedule: null | Types.AgentManaged111;
2676
+ status: "active" | "paused";
2677
+ type: "deployment";
2678
+ updated_at: string;
2679
+ vault_ids: Array<string>;
2680
+ budget?: null | Types.AgentManaged76;
2681
+ target: {
2682
+ type: "environment" | "computer";
2683
+ };
2684
+ }>;
2685
+ };
2686
+ environments: {
2687
+ archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2688
+ create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2689
+ list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2690
+ data: Array<Types.AgentManaged138>;
2691
+ next_page: string | null;
2692
+ }>;
2693
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2694
+ update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2695
+ };
2696
+ sessions: {
2697
+ agentVersion: {
2698
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2699
+ id: string;
2700
+ agent: {
2701
+ id: string;
2702
+ description: null | string;
2703
+ mcp_servers: Array<{
2704
+ type: "url";
2705
+ name: string;
2706
+ url: string;
2707
+ headers?: {
2708
+ [key: string]: string;
2709
+ };
2710
+ timeout_ms?: number;
2711
+ } | {
2712
+ type: "sse";
2713
+ name: string;
2714
+ url: string;
2715
+ headers?: {
2716
+ [key: string]: string;
2717
+ };
2718
+ timeout_ms?: number;
2719
+ } | {
2720
+ type: "stdio";
2721
+ name: string;
2722
+ command: string;
2723
+ args?: Array<string>;
2724
+ env?: {
2725
+ [key: string]: string;
2726
+ };
2727
+ timeout_ms?: number;
2728
+ }>;
2729
+ model: {
2730
+ id: string;
2731
+ effort?: {
2732
+ type: "low";
2733
+ } | {
2734
+ type: "medium";
2735
+ } | {
2736
+ type: "high";
2737
+ } | {
2738
+ type: "xhigh";
2739
+ } | {
2740
+ type: "max";
2741
+ };
2742
+ inference_geo?: string;
2743
+ speed?: "standard" | "fast";
2744
+ settings?: {
2745
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2746
+ max_output_tokens?: number;
2747
+ };
2748
+ };
2749
+ multiagent: null | {
2750
+ agents: Array<{
2751
+ model: string;
2752
+ type: "advisor";
2753
+ } | {
2754
+ id: string;
2755
+ description: null | string;
2756
+ mcp_servers: Array<{
2757
+ type: "url";
2758
+ name: string;
2759
+ url: string;
2760
+ headers?: {
2761
+ [key: string]: string;
2762
+ };
2763
+ timeout_ms?: number;
2764
+ } | {
2765
+ type: "sse";
2766
+ name: string;
2767
+ url: string;
2768
+ headers?: {
2769
+ [key: string]: string;
2770
+ };
2771
+ timeout_ms?: number;
2772
+ } | {
2773
+ type: "stdio";
2774
+ name: string;
2775
+ command: string;
2776
+ args?: Array<string>;
2777
+ env?: {
2778
+ [key: string]: string;
2779
+ };
2780
+ timeout_ms?: number;
2781
+ }>;
2782
+ model: {
2783
+ id: string;
2784
+ effort?: {
2785
+ type: "low";
2786
+ } | {
2787
+ type: "medium";
2788
+ } | {
2789
+ type: "high";
2790
+ } | {
2791
+ type: "xhigh";
2792
+ } | {
2793
+ type: "max";
2794
+ };
2795
+ inference_geo?: string;
2796
+ speed?: "standard" | "fast";
2797
+ };
2798
+ name: string;
2799
+ skills: Array<{
2800
+ skill_id: string;
2801
+ type: "anthropic";
2802
+ version: string;
2803
+ } | {
2804
+ skill_id: string;
2805
+ type: "custom";
2806
+ version: string;
2807
+ }>;
2808
+ system: null | string;
2809
+ tools: Array<{
2810
+ configs: Array<{
2811
+ enabled: boolean;
2812
+ name: "bash";
2813
+ permission_policy: {
2814
+ type: "always_allow";
2815
+ } | {
2816
+ type: "always_ask";
2817
+ } | {
2818
+ type: "auto";
2819
+ };
2820
+ type: "bash";
2821
+ } | {
2822
+ enabled: boolean;
2823
+ name: "edit";
2824
+ permission_policy: {
2825
+ type: "always_allow";
2826
+ } | {
2827
+ type: "always_ask";
2828
+ } | {
2829
+ type: "auto";
2830
+ };
2831
+ type: "edit";
2832
+ } | {
2833
+ enabled: boolean;
2834
+ name: "read";
2835
+ permission_policy: {
2836
+ type: "always_allow";
2837
+ } | {
2838
+ type: "always_ask";
2839
+ } | {
2840
+ type: "auto";
2841
+ };
2842
+ type: "read";
2843
+ } | {
2844
+ enabled: boolean;
2845
+ name: "write";
2846
+ permission_policy: {
2847
+ type: "always_allow";
2848
+ } | {
2849
+ type: "always_ask";
2850
+ } | {
2851
+ type: "auto";
2852
+ };
2853
+ type: "write";
2854
+ } | {
2855
+ enabled: boolean;
2856
+ name: "glob";
2857
+ permission_policy: {
2858
+ type: "always_allow";
2859
+ } | {
2860
+ type: "always_ask";
2861
+ } | {
2862
+ type: "auto";
2863
+ };
2864
+ type: "glob";
2865
+ } | {
2866
+ enabled: boolean;
2867
+ name: "grep";
2868
+ permission_policy: {
2869
+ type: "always_allow";
2870
+ } | {
2871
+ type: "always_ask";
2872
+ } | {
2873
+ type: "auto";
2874
+ };
2875
+ type: "grep";
2876
+ } | {
2877
+ enabled: boolean;
2878
+ name: "web_fetch";
2879
+ permission_policy: {
2880
+ type: "always_allow";
2881
+ } | {
2882
+ type: "always_ask";
2883
+ } | {
2884
+ type: "auto";
2885
+ };
2886
+ type: "web_fetch";
2887
+ allowed_domains?: Array<string>;
2888
+ blocked_domains?: Array<string>;
2889
+ max_content_tokens?: null | number;
2890
+ } | {
2891
+ enabled: boolean;
2892
+ name: "web_search";
2893
+ permission_policy: {
2894
+ type: "always_allow";
2895
+ } | {
2896
+ type: "always_ask";
2897
+ } | {
2898
+ type: "auto";
2899
+ };
2900
+ type: "web_search";
2901
+ allowed_domains?: Array<string>;
2902
+ blocked_domains?: Array<string>;
2903
+ user_location?: null | {
2904
+ type: "approximate";
2905
+ city?: null | string;
2906
+ country?: null | string;
2907
+ region?: null | string;
2908
+ timezone?: null | string;
2909
+ };
2910
+ } | {
2911
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2912
+ enabled: boolean;
2913
+ permission_policy: {
2914
+ type: "always_allow" | "always_ask";
2915
+ };
2916
+ }>;
2917
+ default_config: {
2918
+ enabled: boolean;
2919
+ permission_policy: {
2920
+ type: "always_allow";
2921
+ } | {
2922
+ type: "always_ask";
2923
+ } | {
2924
+ type: "auto";
2925
+ };
2926
+ };
2927
+ type: "agent_toolset_20260401";
2928
+ } | {
2929
+ type: "mcp_toolset";
2930
+ mcp_server_name: string;
2931
+ default_config?: {
2932
+ enabled?: boolean | null;
2933
+ permission_policy?: null | {
2934
+ type: "always_allow" | "always_ask";
2935
+ };
2936
+ } | null;
2937
+ configs?: Array<{
2938
+ name: string;
2939
+ enabled?: boolean | null;
2940
+ permission_policy?: null | {
2941
+ type: "always_allow" | "always_ask";
2942
+ };
2943
+ }> | null;
2944
+ } | {
2945
+ description: string;
2946
+ input_schema: {
2947
+ type: "object";
2948
+ properties?: null | {
2949
+ [key: string]: unknown;
2950
+ };
2951
+ required?: null | Array<string>;
2952
+ [key: string]: unknown;
2953
+ };
2954
+ name: string;
2955
+ type: "custom";
2956
+ }>;
2957
+ type: "agent";
2958
+ version: number;
2959
+ }>;
2960
+ type: "coordinator";
2961
+ };
2962
+ name: string;
2963
+ skills: Array<{
2964
+ skill_id: string;
2965
+ type: "anthropic";
2966
+ version: string;
2967
+ } | {
2968
+ skill_id: string;
2969
+ type: "custom";
2970
+ version: string;
2971
+ }>;
2972
+ system: null | string;
2973
+ tools: Array<{
2974
+ configs: Array<{
2975
+ enabled: boolean;
2976
+ name: "bash";
2977
+ permission_policy: {
2978
+ type: "always_allow";
2979
+ } | {
2980
+ type: "always_ask";
2981
+ } | {
2982
+ type: "auto";
2983
+ };
2984
+ type: "bash";
2985
+ } | {
2986
+ enabled: boolean;
2987
+ name: "edit";
2988
+ permission_policy: {
2989
+ type: "always_allow";
2990
+ } | {
2991
+ type: "always_ask";
2992
+ } | {
2993
+ type: "auto";
2994
+ };
2995
+ type: "edit";
2996
+ } | {
2997
+ enabled: boolean;
2998
+ name: "read";
2999
+ permission_policy: {
3000
+ type: "always_allow";
3001
+ } | {
3002
+ type: "always_ask";
3003
+ } | {
3004
+ type: "auto";
3005
+ };
3006
+ type: "read";
3007
+ } | {
3008
+ enabled: boolean;
3009
+ name: "write";
3010
+ permission_policy: {
3011
+ type: "always_allow";
3012
+ } | {
3013
+ type: "always_ask";
3014
+ } | {
3015
+ type: "auto";
3016
+ };
3017
+ type: "write";
3018
+ } | {
3019
+ enabled: boolean;
3020
+ name: "glob";
3021
+ permission_policy: {
3022
+ type: "always_allow";
3023
+ } | {
3024
+ type: "always_ask";
3025
+ } | {
3026
+ type: "auto";
3027
+ };
3028
+ type: "glob";
3029
+ } | {
3030
+ enabled: boolean;
3031
+ name: "grep";
3032
+ permission_policy: {
3033
+ type: "always_allow";
3034
+ } | {
3035
+ type: "always_ask";
3036
+ } | {
3037
+ type: "auto";
3038
+ };
3039
+ type: "grep";
3040
+ } | {
3041
+ enabled: boolean;
3042
+ name: "web_fetch";
3043
+ permission_policy: {
3044
+ type: "always_allow";
3045
+ } | {
3046
+ type: "always_ask";
3047
+ } | {
3048
+ type: "auto";
3049
+ };
3050
+ type: "web_fetch";
3051
+ allowed_domains?: Array<string>;
3052
+ blocked_domains?: Array<string>;
3053
+ max_content_tokens?: null | number;
3054
+ } | {
3055
+ enabled: boolean;
3056
+ name: "web_search";
3057
+ permission_policy: {
3058
+ type: "always_allow";
3059
+ } | {
3060
+ type: "always_ask";
3061
+ } | {
3062
+ type: "auto";
3063
+ };
3064
+ type: "web_search";
3065
+ allowed_domains?: Array<string>;
3066
+ blocked_domains?: Array<string>;
3067
+ user_location?: null | {
3068
+ type: "approximate";
3069
+ city?: null | string;
3070
+ country?: null | string;
3071
+ region?: null | string;
3072
+ timezone?: null | string;
3073
+ };
3074
+ } | {
3075
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3076
+ enabled: boolean;
3077
+ permission_policy: {
3078
+ type: "always_allow" | "always_ask";
3079
+ };
3080
+ }>;
3081
+ default_config: {
3082
+ enabled: boolean;
3083
+ permission_policy: {
3084
+ type: "always_allow";
3085
+ } | {
3086
+ type: "always_ask";
3087
+ } | {
3088
+ type: "auto";
3089
+ };
3090
+ };
3091
+ type: "agent_toolset_20260401";
3092
+ } | {
3093
+ type: "mcp_toolset";
3094
+ mcp_server_name: string;
3095
+ default_config?: {
3096
+ enabled?: boolean | null;
3097
+ permission_policy?: null | {
3098
+ type: "always_allow" | "always_ask";
3099
+ };
3100
+ } | null;
3101
+ configs?: Array<{
3102
+ name: string;
3103
+ enabled?: boolean | null;
3104
+ permission_policy?: null | {
3105
+ type: "always_allow" | "always_ask";
3106
+ };
3107
+ }> | null;
3108
+ } | {
3109
+ description: string;
3110
+ input_schema: {
3111
+ type: "object";
3112
+ properties?: null | {
3113
+ [key: string]: unknown;
3114
+ };
3115
+ required?: null | Array<string>;
3116
+ [key: string]: unknown;
3117
+ };
3118
+ name: string;
3119
+ type: "custom";
3120
+ }>;
3121
+ type: "agent";
3122
+ version: number;
2357
3123
  };
2358
3124
  archived_at: null | string;
3125
+ budget: null | {
3126
+ max_list_cost: {
3127
+ amount: string;
3128
+ currency: "USD";
3129
+ };
3130
+ type: "limit";
3131
+ };
2359
3132
  created_at: string;
2360
- description: null | string;
2361
- environment_id?: string | null;
2362
- initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2363
- metadata: Types.AgentManaged91;
2364
- name: string;
2365
- paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2366
- resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2367
- schedule: null | Types.AgentManaged111;
2368
- status: "active" | "paused";
2369
- type: "deployment";
3133
+ environment_id?: string;
3134
+ metadata: {
3135
+ [key: string]: string;
3136
+ };
3137
+ outcome_evaluations: Array<{
3138
+ completed_at: null | string;
3139
+ description: string;
3140
+ explanation: null | string;
3141
+ iteration: number;
3142
+ outcome_id: string;
3143
+ result: string;
3144
+ type: "outcome_evaluation";
3145
+ }>;
3146
+ resources: Array<{
3147
+ id: string;
3148
+ created_at: string;
3149
+ mount_path: string;
3150
+ type: "github_repository";
3151
+ updated_at: string;
3152
+ url: string;
3153
+ checkout?: null | {
3154
+ name: string;
3155
+ type: "branch";
3156
+ } | {
3157
+ sha: string;
3158
+ type: "commit";
3159
+ };
3160
+ } | {
3161
+ id: string;
3162
+ created_at: string;
3163
+ file_id: string;
3164
+ mount_path: string;
3165
+ type: "file";
3166
+ updated_at: string;
3167
+ } | {
3168
+ memory_store_id: string;
3169
+ type: "memory_store";
3170
+ access?: null | "read_write" | "read_only";
3171
+ description?: string;
3172
+ instructions?: null | string;
3173
+ mount_path?: null | string;
3174
+ name?: null | string;
3175
+ }>;
3176
+ stats: {
3177
+ active_seconds?: number;
3178
+ duration_seconds?: number;
3179
+ };
3180
+ status: "rescheduling" | "running" | "idle" | "terminated";
3181
+ title: null | string;
3182
+ type: "session";
2370
3183
  updated_at: string;
3184
+ usage: {
3185
+ active_seconds?: number;
3186
+ cache_creation?: {
3187
+ ephemeral_1h_input_tokens?: number;
3188
+ ephemeral_5m_input_tokens?: number;
3189
+ };
3190
+ cache_read_input_tokens?: number;
3191
+ input_tokens?: number;
3192
+ list_cost?: null | {
3193
+ amount: string;
3194
+ currency: "USD";
3195
+ };
3196
+ output_tokens?: number;
3197
+ server_tool_use?: null | {
3198
+ web_fetch_requests?: number;
3199
+ web_search_requests?: number;
3200
+ };
3201
+ cost_by_product?: {
3202
+ [key: string]: string;
3203
+ };
3204
+ subagent_cost_micro_usd?: number;
3205
+ };
2371
3206
  vault_ids: Array<string>;
2372
- budget?: null | Types.AgentManaged76;
2373
- target: {
2374
- type: "environment" | "computer";
3207
+ deployment_id?: null | string;
3208
+ cwd: string;
3209
+ computer_id?: string;
3210
+ model?: {
3211
+ id: string;
3212
+ thinking: {
3213
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3214
+ can_disable: boolean;
3215
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3216
+ } | null;
2375
3217
  };
3218
+ thinking?: {
3219
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3220
+ } | null;
3221
+ forked_from?: {
3222
+ session_id: string;
3223
+ message_id: string;
3224
+ } | null;
3225
+ readonly external_user_id: string | null;
3226
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2376
3227
  }>;
2377
3228
  };
2378
- update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2379
- id: string;
2380
- agent: {
2381
- id: string;
2382
- type: "agent";
2383
- version: number;
2384
- } | {
2385
- id: string;
2386
- type: "agent_with_overrides";
2387
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2388
- cwd?: string;
2389
- model?: string | {
2390
- id: string;
2391
- effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2392
- speed?: null | "standard" | "fast";
2393
- };
2394
- version: number;
2395
- };
2396
- archived_at: null | string;
2397
- created_at: string;
2398
- description: null | string;
2399
- environment_id?: string | null;
2400
- initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2401
- metadata: Types.AgentManaged91;
2402
- name: string;
2403
- paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2404
- resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2405
- schedule: null | Types.AgentManaged111;
2406
- status: "active" | "paused";
2407
- type: "deployment";
2408
- updated_at: string;
2409
- vault_ids: Array<string>;
2410
- budget?: null | Types.AgentManaged76;
2411
- target: {
2412
- type: "environment" | "computer";
2413
- };
2414
- }>;
2415
- };
2416
- environments: {
2417
- archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2418
- create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2419
- list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2420
- data: Array<Types.AgentManaged138>;
2421
- next_page: string | null;
2422
- }>;
2423
- retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2424
- update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2425
- };
2426
- sessions: {
2427
3229
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2428
3230
  id: string;
2429
3231
  agent: {
@@ -2437,6 +3239,7 @@ export declare function createAgent(transport: Transport): {
2437
3239
  speed?: "standard" | "fast";
2438
3240
  settings?: {
2439
3241
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3242
+ max_output_tokens?: number;
2440
3243
  };
2441
3244
  };
2442
3245
  multiagent: null | Types.AgentManaged171;
@@ -2503,6 +3306,12 @@ export declare function createAgent(transport: Transport): {
2503
3306
  filename: string;
2504
3307
  mime_type: string;
2505
3308
  bytes: number;
3309
+ } | {
3310
+ kind: "object";
3311
+ object_type: "canvas" | "media_asset";
3312
+ object_id: string;
3313
+ href: string;
3314
+ title: string | null;
2506
3315
  }>;
2507
3316
  source_hrefs: Array<string>;
2508
3317
  create_time: string;
@@ -2592,6 +3401,7 @@ export declare function createAgent(transport: Transport): {
2592
3401
  speed?: "standard" | "fast";
2593
3402
  settings?: {
2594
3403
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3404
+ max_output_tokens?: number;
2595
3405
  };
2596
3406
  };
2597
3407
  multiagent: null | Types.AgentManaged171;
@@ -2678,7 +3488,6 @@ export declare function createAgent(transport: Transport): {
2678
3488
  run_id: string | null;
2679
3489
  message_id?: string;
2680
3490
  } | {
2681
- full_access_available?: boolean;
2682
3491
  id: string;
2683
3492
  input: Types.AgentManaged197;
2684
3493
  mcp_server_name: string;
@@ -2688,6 +3497,18 @@ export declare function createAgent(transport: Transport): {
2688
3497
  evaluated_permission?: "allow" | "deny" | "ask";
2689
3498
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2690
3499
  session_thread_id?: null | string;
3500
+ permission_suggestions?: Array<{
3501
+ type: "add_rules";
3502
+ behavior: "allow";
3503
+ destination: "agent" | "session";
3504
+ rules: Array<{
3505
+ tool_name: string;
3506
+ rule_content: string;
3507
+ }>;
3508
+ }>;
3509
+ full_access_available?: boolean;
3510
+ user_once?: true;
3511
+ guarded_rule?: string;
2691
3512
  run_id: string | null;
2692
3513
  _meta?: {
2693
3514
  ui?: {
@@ -2701,17 +3522,6 @@ export declare function createAgent(transport: Transport): {
2701
3522
  };
2702
3523
  source?: "app" | "codemode";
2703
3524
  parent_tool_use_id?: string;
2704
- user_once?: true;
2705
- guarded_rule?: string;
2706
- permission_suggestions?: Array<{
2707
- type: "add_rules";
2708
- behavior: "allow";
2709
- destination: "agent" | "session";
2710
- rules: Array<{
2711
- tool_name: string;
2712
- rule_content: string;
2713
- }>;
2714
- }>;
2715
3525
  title?: string;
2716
3526
  input_titles?: {
2717
3527
  [key: string]: string;
@@ -2730,7 +3540,6 @@ export declare function createAgent(transport: Transport): {
2730
3540
  };
2731
3541
  source?: "app" | "codemode";
2732
3542
  } | {
2733
- full_access_available?: boolean;
2734
3543
  id: string;
2735
3544
  input: Types.AgentManaged206;
2736
3545
  name: string;
@@ -2739,9 +3548,6 @@ export declare function createAgent(transport: Transport): {
2739
3548
  evaluated_permission?: "allow" | "deny" | "ask";
2740
3549
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2741
3550
  session_thread_id?: null | string;
2742
- run_id: string | null;
2743
- user_once?: true;
2744
- guarded_rule?: string;
2745
3551
  permission_suggestions?: Array<{
2746
3552
  type: "add_rules";
2747
3553
  behavior: "allow";
@@ -2751,6 +3557,10 @@ export declare function createAgent(transport: Transport): {
2751
3557
  rule_content: string;
2752
3558
  }>;
2753
3559
  }>;
3560
+ full_access_available?: boolean;
3561
+ user_once?: true;
3562
+ guarded_rule?: string;
3563
+ run_id: string | null;
2754
3564
  } | {
2755
3565
  id: string;
2756
3566
  processed_at: string;
@@ -2771,9 +3581,6 @@ export declare function createAgent(transport: Transport): {
2771
3581
  type: "session.status_idle";
2772
3582
  run_id: string | null;
2773
3583
  } | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
2774
- permission_mode_version?: number;
2775
- previous_permission_mode?: string | null;
2776
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2777
3584
  id: string;
2778
3585
  processed_at: string;
2779
3586
  type: "session.updated";
@@ -2781,6 +3588,9 @@ export declare function createAgent(transport: Transport): {
2781
3588
  budget?: null | Types.AgentManaged76;
2782
3589
  metadata?: Types.AgentManaged246;
2783
3590
  title?: null | string;
3591
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3592
+ previous_permission_mode?: string | null;
3593
+ permission_mode_version?: number;
2784
3594
  model?: {
2785
3595
  id: string;
2786
3596
  };
@@ -2941,6 +3751,7 @@ export declare function createAgent(transport: Transport): {
2941
3751
  speed?: "standard" | "fast";
2942
3752
  settings?: {
2943
3753
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3754
+ max_output_tokens?: number;
2944
3755
  };
2945
3756
  };
2946
3757
  multiagent: null | {
@@ -3436,6 +4247,7 @@ export declare function createAgent(transport: Transport): {
3436
4247
  speed?: "standard" | "fast";
3437
4248
  settings?: {
3438
4249
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4250
+ max_output_tokens?: number;
3439
4251
  };
3440
4252
  };
3441
4253
  multiagent: null | Types.AgentManaged171;
@@ -3527,6 +4339,7 @@ export declare function createAgent(transport: Transport): {
3527
4339
  speed?: "standard" | "fast";
3528
4340
  settings?: {
3529
4341
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4342
+ max_output_tokens?: number;
3530
4343
  };
3531
4344
  };
3532
4345
  multiagent: null | Types.AgentManaged171;
@@ -3699,7 +4512,6 @@ export declare function createAgent(transport: Transport): {
3699
4512
  run_id: string | null;
3700
4513
  message_id?: string;
3701
4514
  } | {
3702
- full_access_available?: boolean;
3703
4515
  id: string;
3704
4516
  input: Types.AgentManaged197;
3705
4517
  mcp_server_name: string;
@@ -3709,6 +4521,18 @@ export declare function createAgent(transport: Transport): {
3709
4521
  evaluated_permission?: "allow" | "deny" | "ask";
3710
4522
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3711
4523
  session_thread_id?: null | string;
4524
+ permission_suggestions?: Array<{
4525
+ type: "add_rules";
4526
+ behavior: "allow";
4527
+ destination: "agent" | "session";
4528
+ rules: Array<{
4529
+ tool_name: string;
4530
+ rule_content: string;
4531
+ }>;
4532
+ }>;
4533
+ full_access_available?: boolean;
4534
+ user_once?: true;
4535
+ guarded_rule?: string;
3712
4536
  run_id: string | null;
3713
4537
  parent_tool_use_id?: string;
3714
4538
  _meta?: {
@@ -3722,17 +4546,6 @@ export declare function createAgent(transport: Transport): {
3722
4546
  };
3723
4547
  };
3724
4548
  source?: "app" | "codemode";
3725
- user_once?: true;
3726
- guarded_rule?: string;
3727
- permission_suggestions?: Array<{
3728
- type: "add_rules";
3729
- behavior: "allow";
3730
- destination: "agent" | "session";
3731
- rules: Array<{
3732
- tool_name: string;
3733
- rule_content: string;
3734
- }>;
3735
- }>;
3736
4549
  title?: string;
3737
4550
  input_titles?: {
3738
4551
  [key: string]: string;
@@ -3751,7 +4564,6 @@ export declare function createAgent(transport: Transport): {
3751
4564
  };
3752
4565
  source?: "app" | "codemode";
3753
4566
  } | {
3754
- full_access_available?: boolean;
3755
4567
  id: string;
3756
4568
  input: Types.AgentManaged206;
3757
4569
  name: string;
@@ -3760,9 +4572,6 @@ export declare function createAgent(transport: Transport): {
3760
4572
  evaluated_permission?: "allow" | "deny" | "ask";
3761
4573
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3762
4574
  session_thread_id?: null | string;
3763
- run_id: string | null;
3764
- user_once?: true;
3765
- guarded_rule?: string;
3766
4575
  permission_suggestions?: Array<{
3767
4576
  type: "add_rules";
3768
4577
  behavior: "allow";
@@ -3772,6 +4581,10 @@ export declare function createAgent(transport: Transport): {
3772
4581
  rule_content: string;
3773
4582
  }>;
3774
4583
  }>;
4584
+ full_access_available?: boolean;
4585
+ user_once?: true;
4586
+ guarded_rule?: string;
4587
+ run_id: string | null;
3775
4588
  } | {
3776
4589
  id: string;
3777
4590
  processed_at: string;
@@ -3792,9 +4605,6 @@ export declare function createAgent(transport: Transport): {
3792
4605
  type: "session.status_idle";
3793
4606
  run_id: string | null;
3794
4607
  } | 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 | {
3795
- permission_mode_version?: number;
3796
- previous_permission_mode?: string | null;
3797
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3798
4608
  id: string;
3799
4609
  processed_at: string;
3800
4610
  type: "session.updated";
@@ -3802,6 +4612,9 @@ export declare function createAgent(transport: Transport): {
3802
4612
  budget?: null | Types.AgentManaged76;
3803
4613
  metadata?: Types.AgentManaged246;
3804
4614
  title?: null | string;
4615
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
4616
+ previous_permission_mode?: string | null;
4617
+ permission_mode_version?: number;
3805
4618
  model?: {
3806
4619
  id: string;
3807
4620
  };
@@ -3892,6 +4705,7 @@ export declare function createAgent(transport: Transport): {
3892
4705
  speed?: "standard" | "fast";
3893
4706
  settings?: {
3894
4707
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4708
+ max_output_tokens?: number;
3895
4709
  };
3896
4710
  };
3897
4711
  multiagent: null | Types.AgentManaged171;
@@ -3982,6 +4796,29 @@ export declare function createAgent(transport: Transport): {
3982
4796
  next_page: null;
3983
4797
  }>;
3984
4798
  };
4799
+ uploads: {
4800
+ contentUrl: {
4801
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
4802
+ url: string;
4803
+ expires_at: string;
4804
+ }>;
4805
+ };
4806
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
4807
+ upload_id: string;
4808
+ expires_at: string;
4809
+ url: string;
4810
+ } | {
4811
+ upload_id: string;
4812
+ expires_at: string;
4813
+ part_size: number;
4814
+ parts: Array<{
4815
+ part_number: number;
4816
+ url: string;
4817
+ }>;
4818
+ complete_url: string;
4819
+ status_url: string;
4820
+ }>;
4821
+ };
3985
4822
  };
3986
4823
  export declare function createApplication(transport: Transport): {
3987
4824
  assets: {
@@ -4305,6 +5142,11 @@ export declare function createBrowser(transport: Transport): {
4305
5142
  type: "evaluate";
4306
5143
  tab: string;
4307
5144
  value: unknown;
5145
+ } | {
5146
+ type: "set_cookie";
5147
+ tab: string;
5148
+ name: string;
5149
+ domain: string;
4308
5150
  }>;
4309
5151
  };
4310
5152
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
@@ -4362,6 +5204,24 @@ export declare function createCanvas(transport: Transport): {
4362
5204
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4363
5205
  };
4364
5206
  };
5207
+ export declare function createContent(transport: Transport): {
5208
+ contents: {
5209
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
5210
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
5211
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
5212
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
5213
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
5214
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
5215
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
5216
+ };
5217
+ playbackSessions: {
5218
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
5219
+ };
5220
+ versions: {
5221
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
5222
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
5223
+ };
5224
+ };
4365
5225
  export declare function createCrm(transport: Transport): {
4366
5226
  associations: {
4367
5227
  create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
@@ -4422,6 +5282,32 @@ export declare function createCrm(transport: Transport): {
4422
5282
  list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4423
5283
  };
4424
5284
  };
5285
+ export declare function createCustomer(transport: Transport): {
5286
+ accessTokens: {
5287
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
5288
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
5289
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
5290
+ };
5291
+ customers: {
5292
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
5293
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
5294
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
5295
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
5296
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
5297
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
5298
+ };
5299
+ grantCodes: {
5300
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
5301
+ };
5302
+ publishableKeys: {
5303
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
5304
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
5305
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
5306
+ };
5307
+ usage: {
5308
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
5309
+ };
5310
+ };
4425
5311
  export declare function createCut(transport: Transport): {
4426
5312
  exports: {
4427
5313
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4520,7 +5406,9 @@ export declare function createDatabase(transport: Transport): {
4520
5406
  export declare function createDevops(transport: Transport): {
4521
5407
  changes: {
4522
5408
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
5409
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
4523
5410
  markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
5411
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
4524
5412
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
4525
5413
  };
4526
5414
  connections: {
@@ -4592,6 +5480,7 @@ export declare function createDevops(transport: Transport): {
4592
5480
  };
4593
5481
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
4594
5482
  retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
5483
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
4595
5484
  segments: {
4596
5485
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
4597
5486
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
@@ -4789,6 +5678,10 @@ export declare function createMedia(transport: Transport): {
4789
5678
  frames: {
4790
5679
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
4791
5680
  };
5681
+ hls: {
5682
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
5683
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
5684
+ };
4792
5685
  import: {
4793
5686
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4794
5687
  };
@@ -5378,6 +6271,7 @@ export declare function createModel(transport: Transport): {
5378
6271
  unsigned_urls: Array<string>;
5379
6272
  usage?: {
5380
6273
  cost: number;
6274
+ billed_seconds?: number;
5381
6275
  };
5382
6276
  }>;
5383
6277
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -5408,6 +6302,7 @@ export declare function createModel(transport: Transport): {
5408
6302
  unsigned_urls: Array<string>;
5409
6303
  usage?: {
5410
6304
  cost: number;
6305
+ billed_seconds?: number;
5411
6306
  };
5412
6307
  }>;
5413
6308
  has_more: boolean;
@@ -5436,6 +6331,7 @@ export declare function createModel(transport: Transport): {
5436
6331
  unsigned_urls: Array<string>;
5437
6332
  usage?: {
5438
6333
  cost: number;
6334
+ billed_seconds?: number;
5439
6335
  };
5440
6336
  }>;
5441
6337
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
@@ -5846,6 +6742,42 @@ export declare function createOrganization(transport: Transport): {
5846
6742
  }>;
5847
6743
  };
5848
6744
  };
6745
+ export declare function createRegistry(transport: Transport): {
6746
+ installations: {
6747
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
6748
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
6749
+ };
6750
+ packages: {
6751
+ installations: {
6752
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
6753
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
6754
+ };
6755
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
6756
+ versions: {
6757
+ contents: {
6758
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
6759
+ };
6760
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
6761
+ files: {
6762
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
6763
+ };
6764
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
6765
+ retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
6766
+ withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
6767
+ };
6768
+ };
6769
+ repositories: {
6770
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
6771
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
6772
+ list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
6773
+ packages: {
6774
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
6775
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
6776
+ };
6777
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
6778
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
6779
+ };
6780
+ };
5849
6781
  export declare function createSandbox(transport: Transport): {
5850
6782
  events: {
5851
6783
  sandboxes: {
@@ -6383,7 +7315,9 @@ export declare const resourceFactories: {
6383
7315
  automation: typeof createAutomation;
6384
7316
  browser: typeof createBrowser;
6385
7317
  canvas: typeof createCanvas;
7318
+ content: typeof createContent;
6386
7319
  crm: typeof createCrm;
7320
+ customer: typeof createCustomer;
6387
7321
  cut: typeof createCut;
6388
7322
  database: typeof createDatabase;
6389
7323
  devops: typeof createDevops;
@@ -6394,6 +7328,7 @@ export declare const resourceFactories: {
6394
7328
  model: typeof createModel;
6395
7329
  ontology: typeof createOntology;
6396
7330
  organization: typeof createOrganization;
7331
+ registry: typeof createRegistry;
6397
7332
  sandbox: typeof createSandbox;
6398
7333
  search: typeof createSearch;
6399
7334
  share: typeof createShare;