@deepraxis/sdk 0.1.1-dev.028e785 → 0.1.1-dev.0327eec

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,20 @@ 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
+ };
1130
1147
  }>;
1131
1148
  unarchive: {
1132
1149
  create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
@@ -1180,6 +1197,7 @@ export declare function createAgent(transport: Transport): {
1180
1197
  speed?: "standard" | "fast";
1181
1198
  settings?: {
1182
1199
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1200
+ max_output_tokens?: number;
1183
1201
  };
1184
1202
  };
1185
1203
  multiagent?: null | {
@@ -1378,7 +1396,14 @@ export declare function createAgent(transport: Transport): {
1378
1396
  readonly verified?: boolean;
1379
1397
  enabled?: boolean;
1380
1398
  }>;
1381
- kind: "general" | "personal" | "service" | "assume";
1399
+ kind: "general" | "service" | "assume";
1400
+ computers?: {
1401
+ default: string;
1402
+ allowed: Array<{
1403
+ template: string;
1404
+ name: string;
1405
+ }>;
1406
+ };
1382
1407
  computer_id?: string;
1383
1408
  subagent_model?: string | null;
1384
1409
  subagents?: Array<{
@@ -1471,6 +1496,7 @@ export declare function createAgent(transport: Transport): {
1471
1496
  allowManagedHooksOnly?: boolean;
1472
1497
  allowManagedMcpServersOnly?: boolean;
1473
1498
  allowManagedPermissionRulesOnly?: boolean;
1499
+ idleCompaction?: boolean;
1474
1500
  autoMemoryEnabled?: boolean;
1475
1501
  disabled?: {
1476
1502
  subagents?: Array<string>;
@@ -1479,7 +1505,6 @@ export declare function createAgent(transport: Transport): {
1479
1505
  mcpServers?: Array<string>;
1480
1506
  hooks?: Array<string>;
1481
1507
  };
1482
- idleCompaction?: boolean;
1483
1508
  outputStyle?: string;
1484
1509
  } | null;
1485
1510
  models?: {
@@ -1513,6 +1538,7 @@ export declare function createAgent(transport: Transport): {
1513
1538
  speed?: "standard" | "fast";
1514
1539
  settings?: {
1515
1540
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1541
+ max_output_tokens?: number;
1516
1542
  };
1517
1543
  };
1518
1544
  multiagent?: null | Types.AgentManaged39;
@@ -1546,7 +1572,14 @@ export declare function createAgent(transport: Transport): {
1546
1572
  readonly verified?: boolean;
1547
1573
  enabled?: boolean;
1548
1574
  }>;
1549
- kind: "general" | "personal" | "service" | "assume";
1575
+ kind: "general" | "service" | "assume";
1576
+ computers?: {
1577
+ default: string;
1578
+ allowed: Array<{
1579
+ template: string;
1580
+ name: string;
1581
+ }>;
1582
+ };
1550
1583
  computer_id?: string;
1551
1584
  subagent_model?: string | null;
1552
1585
  subagents?: Array<{
@@ -1639,6 +1672,7 @@ export declare function createAgent(transport: Transport): {
1639
1672
  allowManagedHooksOnly?: boolean;
1640
1673
  allowManagedMcpServersOnly?: boolean;
1641
1674
  allowManagedPermissionRulesOnly?: boolean;
1675
+ idleCompaction?: boolean;
1642
1676
  autoMemoryEnabled?: boolean;
1643
1677
  disabled?: {
1644
1678
  subagents?: Array<string>;
@@ -1647,7 +1681,6 @@ export declare function createAgent(transport: Transport): {
1647
1681
  mcpServers?: Array<string>;
1648
1682
  hooks?: Array<string>;
1649
1683
  };
1650
- idleCompaction?: boolean;
1651
1684
  outputStyle?: string;
1652
1685
  } | null;
1653
1686
  models?: {
@@ -1666,28 +1699,240 @@ export declare function createAgent(transport: Transport): {
1666
1699
  keep_coding_instructions?: boolean;
1667
1700
  }> | null;
1668
1701
  }>;
1702
+ updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
1703
+ allowed_origins: Array<string>;
1704
+ allow_localhost: boolean;
1705
+ uploads: {
1706
+ enabled: boolean;
1707
+ max_file_bytes: number;
1708
+ max_files_per_session: number;
1709
+ };
1710
+ }>;
1669
1711
  versions: {
1670
1712
  apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
1671
1713
  id: string;
1672
1714
  archived_at: null | string;
1673
1715
  created_at: string;
1674
1716
  description: null | string;
1675
- mcp_servers: Array<Types.AgentManaged36>;
1676
- metadata: Types.AgentManaged37;
1717
+ mcp_servers: Array<{
1718
+ type: "url";
1719
+ name: string;
1720
+ url: string;
1721
+ headers?: {
1722
+ [key: string]: string;
1723
+ };
1724
+ timeout_ms?: number;
1725
+ } | {
1726
+ type: "sse";
1727
+ name: string;
1728
+ url: string;
1729
+ headers?: {
1730
+ [key: string]: string;
1731
+ };
1732
+ timeout_ms?: number;
1733
+ } | {
1734
+ type: "stdio";
1735
+ name: string;
1736
+ command: string;
1737
+ args?: Array<string>;
1738
+ env?: {
1739
+ [key: string]: string;
1740
+ };
1741
+ timeout_ms?: number;
1742
+ }>;
1743
+ metadata: {
1744
+ [key: string]: string;
1745
+ };
1677
1746
  model?: {
1678
1747
  id: string;
1679
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1748
+ effort?: {
1749
+ type: "low";
1750
+ } | {
1751
+ type: "medium";
1752
+ } | {
1753
+ type: "high";
1754
+ } | {
1755
+ type: "xhigh";
1756
+ } | {
1757
+ type: "max";
1758
+ };
1680
1759
  inference_geo?: string;
1681
1760
  speed?: "standard" | "fast";
1682
1761
  settings?: {
1683
1762
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1763
+ max_output_tokens?: number;
1684
1764
  };
1685
1765
  };
1686
- multiagent?: null | Types.AgentManaged39;
1766
+ multiagent?: null | {
1767
+ agents: Array<{
1768
+ id: string;
1769
+ type: "agent";
1770
+ version: number;
1771
+ } | {
1772
+ model: string;
1773
+ type: "advisor";
1774
+ }>;
1775
+ type: "coordinator";
1776
+ };
1687
1777
  name: string;
1688
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1778
+ skills: Array<{
1779
+ skill_id: string;
1780
+ type: "anthropic";
1781
+ version: string;
1782
+ } | {
1783
+ skill_id: string;
1784
+ type: "custom";
1785
+ version: string;
1786
+ }>;
1689
1787
  system: null | string;
1690
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1788
+ tools: Array<{
1789
+ configs: Array<{
1790
+ enabled: boolean;
1791
+ name: "bash";
1792
+ permission_policy: {
1793
+ type: "always_allow";
1794
+ } | {
1795
+ type: "always_ask";
1796
+ } | {
1797
+ type: "auto";
1798
+ };
1799
+ type: "bash";
1800
+ } | {
1801
+ enabled: boolean;
1802
+ name: "edit";
1803
+ permission_policy: {
1804
+ type: "always_allow";
1805
+ } | {
1806
+ type: "always_ask";
1807
+ } | {
1808
+ type: "auto";
1809
+ };
1810
+ type: "edit";
1811
+ } | {
1812
+ enabled: boolean;
1813
+ name: "read";
1814
+ permission_policy: {
1815
+ type: "always_allow";
1816
+ } | {
1817
+ type: "always_ask";
1818
+ } | {
1819
+ type: "auto";
1820
+ };
1821
+ type: "read";
1822
+ } | {
1823
+ enabled: boolean;
1824
+ name: "write";
1825
+ permission_policy: {
1826
+ type: "always_allow";
1827
+ } | {
1828
+ type: "always_ask";
1829
+ } | {
1830
+ type: "auto";
1831
+ };
1832
+ type: "write";
1833
+ } | {
1834
+ enabled: boolean;
1835
+ name: "glob";
1836
+ permission_policy: {
1837
+ type: "always_allow";
1838
+ } | {
1839
+ type: "always_ask";
1840
+ } | {
1841
+ type: "auto";
1842
+ };
1843
+ type: "glob";
1844
+ } | {
1845
+ enabled: boolean;
1846
+ name: "grep";
1847
+ permission_policy: {
1848
+ type: "always_allow";
1849
+ } | {
1850
+ type: "always_ask";
1851
+ } | {
1852
+ type: "auto";
1853
+ };
1854
+ type: "grep";
1855
+ } | {
1856
+ enabled: boolean;
1857
+ name: "web_fetch";
1858
+ permission_policy: {
1859
+ type: "always_allow";
1860
+ } | {
1861
+ type: "always_ask";
1862
+ } | {
1863
+ type: "auto";
1864
+ };
1865
+ type: "web_fetch";
1866
+ allowed_domains?: Array<string>;
1867
+ blocked_domains?: Array<string>;
1868
+ max_content_tokens?: null | number;
1869
+ } | {
1870
+ enabled: boolean;
1871
+ name: "web_search";
1872
+ permission_policy: {
1873
+ type: "always_allow";
1874
+ } | {
1875
+ type: "always_ask";
1876
+ } | {
1877
+ type: "auto";
1878
+ };
1879
+ type: "web_search";
1880
+ allowed_domains?: Array<string>;
1881
+ blocked_domains?: Array<string>;
1882
+ user_location?: null | {
1883
+ type: "approximate";
1884
+ city?: null | string;
1885
+ country?: null | string;
1886
+ region?: null | string;
1887
+ timezone?: null | string;
1888
+ };
1889
+ } | {
1890
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
1891
+ enabled: boolean;
1892
+ permission_policy: {
1893
+ type: "always_allow" | "always_ask";
1894
+ };
1895
+ }>;
1896
+ default_config: {
1897
+ enabled: boolean;
1898
+ permission_policy: {
1899
+ type: "always_allow";
1900
+ } | {
1901
+ type: "always_ask";
1902
+ } | {
1903
+ type: "auto";
1904
+ };
1905
+ };
1906
+ type: "agent_toolset_20260401";
1907
+ } | {
1908
+ type: "mcp_toolset";
1909
+ mcp_server_name: string;
1910
+ default_config?: {
1911
+ enabled?: boolean | null;
1912
+ permission_policy?: null | {
1913
+ type: "always_allow" | "always_ask";
1914
+ };
1915
+ } | null;
1916
+ configs?: Array<{
1917
+ name: string;
1918
+ enabled?: boolean | null;
1919
+ permission_policy?: null | {
1920
+ type: "always_allow" | "always_ask";
1921
+ };
1922
+ }> | null;
1923
+ } | {
1924
+ description: string;
1925
+ input_schema: {
1926
+ type: "object";
1927
+ properties?: null | {
1928
+ [key: string]: unknown;
1929
+ };
1930
+ required?: null | Array<string>;
1931
+ [key: string]: unknown;
1932
+ };
1933
+ name: string;
1934
+ type: "custom";
1935
+ }>;
1691
1936
  type: "agent";
1692
1937
  updated_at: string;
1693
1938
  version: number;
@@ -1714,7 +1959,14 @@ export declare function createAgent(transport: Transport): {
1714
1959
  readonly verified?: boolean;
1715
1960
  enabled?: boolean;
1716
1961
  }>;
1717
- kind: "general" | "personal" | "service" | "assume";
1962
+ kind: "general" | "service" | "assume";
1963
+ computers?: {
1964
+ default: string;
1965
+ allowed: Array<{
1966
+ template: string;
1967
+ name: string;
1968
+ }>;
1969
+ };
1718
1970
  computer_id?: string;
1719
1971
  subagent_model?: string | null;
1720
1972
  subagents?: Array<{
@@ -1807,6 +2059,7 @@ export declare function createAgent(transport: Transport): {
1807
2059
  allowManagedHooksOnly?: boolean;
1808
2060
  allowManagedMcpServersOnly?: boolean;
1809
2061
  allowManagedPermissionRulesOnly?: boolean;
2062
+ idleCompaction?: boolean;
1810
2063
  autoMemoryEnabled?: boolean;
1811
2064
  disabled?: {
1812
2065
  subagents?: Array<string>;
@@ -1815,7 +2068,6 @@ export declare function createAgent(transport: Transport): {
1815
2068
  mcpServers?: Array<string>;
1816
2069
  hooks?: Array<string>;
1817
2070
  };
1818
- idleCompaction?: boolean;
1819
2071
  outputStyle?: string;
1820
2072
  } | null;
1821
2073
  models?: {
@@ -1849,6 +2101,7 @@ export declare function createAgent(transport: Transport): {
1849
2101
  speed?: "standard" | "fast";
1850
2102
  settings?: {
1851
2103
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2104
+ max_output_tokens?: number;
1852
2105
  };
1853
2106
  };
1854
2107
  multiagent?: null | Types.AgentManaged39;
@@ -1882,7 +2135,14 @@ export declare function createAgent(transport: Transport): {
1882
2135
  readonly verified?: boolean;
1883
2136
  enabled?: boolean;
1884
2137
  }>;
1885
- kind: "general" | "personal" | "service" | "assume";
2138
+ kind: "general" | "service" | "assume";
2139
+ computers?: {
2140
+ default: string;
2141
+ allowed: Array<{
2142
+ template: string;
2143
+ name: string;
2144
+ }>;
2145
+ };
1886
2146
  computer_id?: string;
1887
2147
  subagent_model?: string | null;
1888
2148
  subagents?: Array<{
@@ -1975,6 +2235,7 @@ export declare function createAgent(transport: Transport): {
1975
2235
  allowManagedHooksOnly?: boolean;
1976
2236
  allowManagedMcpServersOnly?: boolean;
1977
2237
  allowManagedPermissionRulesOnly?: boolean;
2238
+ idleCompaction?: boolean;
1978
2239
  autoMemoryEnabled?: boolean;
1979
2240
  disabled?: {
1980
2241
  subagents?: Array<string>;
@@ -1983,7 +2244,6 @@ export declare function createAgent(transport: Transport): {
1983
2244
  mcpServers?: Array<string>;
1984
2245
  hooks?: Array<string>;
1985
2246
  };
1986
- idleCompaction?: boolean;
1987
2247
  outputStyle?: string;
1988
2248
  } | null;
1989
2249
  models?: {
@@ -2343,87 +2603,619 @@ export declare function createAgent(transport: Transport): {
2343
2603
  id: string;
2344
2604
  type: "agent";
2345
2605
  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;
2606
+ } | {
2607
+ id: string;
2608
+ type: "agent_with_overrides";
2609
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2610
+ cwd?: string;
2611
+ model?: string | {
2612
+ id: string;
2613
+ effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2614
+ speed?: null | "standard" | "fast";
2615
+ };
2616
+ version: number;
2617
+ };
2618
+ archived_at: null | string;
2619
+ created_at: string;
2620
+ description: null | string;
2621
+ environment_id?: string | null;
2622
+ initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2623
+ metadata: Types.AgentManaged91;
2624
+ name: string;
2625
+ paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2626
+ resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2627
+ schedule: null | Types.AgentManaged111;
2628
+ status: "active" | "paused";
2629
+ type: "deployment";
2630
+ updated_at: string;
2631
+ vault_ids: Array<string>;
2632
+ budget?: null | Types.AgentManaged76;
2633
+ target: {
2634
+ type: "environment" | "computer";
2635
+ };
2636
+ }>;
2637
+ };
2638
+ update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
2639
+ id: string;
2640
+ agent: {
2641
+ id: string;
2642
+ type: "agent";
2643
+ version: number;
2644
+ } | {
2645
+ id: string;
2646
+ type: "agent_with_overrides";
2647
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2648
+ cwd?: string;
2649
+ model?: string | {
2650
+ id: string;
2651
+ effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
2652
+ speed?: null | "standard" | "fast";
2653
+ };
2654
+ version: number;
2655
+ };
2656
+ archived_at: null | string;
2657
+ created_at: string;
2658
+ description: null | string;
2659
+ environment_id?: string | null;
2660
+ initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
2661
+ metadata: Types.AgentManaged91;
2662
+ name: string;
2663
+ paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
2664
+ resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
2665
+ schedule: null | Types.AgentManaged111;
2666
+ status: "active" | "paused";
2667
+ type: "deployment";
2668
+ updated_at: string;
2669
+ vault_ids: Array<string>;
2670
+ budget?: null | Types.AgentManaged76;
2671
+ target: {
2672
+ type: "environment" | "computer";
2673
+ };
2674
+ }>;
2675
+ };
2676
+ environments: {
2677
+ archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
2678
+ create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
2679
+ list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
2680
+ data: Array<Types.AgentManaged138>;
2681
+ next_page: string | null;
2682
+ }>;
2683
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
2684
+ update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
2685
+ };
2686
+ sessions: {
2687
+ agentVersion: {
2688
+ create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
2689
+ id: string;
2690
+ agent: {
2691
+ id: string;
2692
+ description: null | string;
2693
+ mcp_servers: Array<{
2694
+ type: "url";
2695
+ name: string;
2696
+ url: string;
2697
+ headers?: {
2698
+ [key: string]: string;
2699
+ };
2700
+ timeout_ms?: number;
2701
+ } | {
2702
+ type: "sse";
2703
+ name: string;
2704
+ url: string;
2705
+ headers?: {
2706
+ [key: string]: string;
2707
+ };
2708
+ timeout_ms?: number;
2709
+ } | {
2710
+ type: "stdio";
2711
+ name: string;
2712
+ command: string;
2713
+ args?: Array<string>;
2714
+ env?: {
2715
+ [key: string]: string;
2716
+ };
2717
+ timeout_ms?: number;
2718
+ }>;
2719
+ model: {
2720
+ id: string;
2721
+ effort?: {
2722
+ type: "low";
2723
+ } | {
2724
+ type: "medium";
2725
+ } | {
2726
+ type: "high";
2727
+ } | {
2728
+ type: "xhigh";
2729
+ } | {
2730
+ type: "max";
2731
+ };
2732
+ inference_geo?: string;
2733
+ speed?: "standard" | "fast";
2734
+ settings?: {
2735
+ reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2736
+ max_output_tokens?: number;
2737
+ };
2738
+ };
2739
+ multiagent: null | {
2740
+ agents: Array<{
2741
+ model: string;
2742
+ type: "advisor";
2743
+ } | {
2744
+ id: string;
2745
+ description: null | string;
2746
+ mcp_servers: Array<{
2747
+ type: "url";
2748
+ name: string;
2749
+ url: string;
2750
+ headers?: {
2751
+ [key: string]: string;
2752
+ };
2753
+ timeout_ms?: number;
2754
+ } | {
2755
+ type: "sse";
2756
+ name: string;
2757
+ url: string;
2758
+ headers?: {
2759
+ [key: string]: string;
2760
+ };
2761
+ timeout_ms?: number;
2762
+ } | {
2763
+ type: "stdio";
2764
+ name: string;
2765
+ command: string;
2766
+ args?: Array<string>;
2767
+ env?: {
2768
+ [key: string]: string;
2769
+ };
2770
+ timeout_ms?: number;
2771
+ }>;
2772
+ model: {
2773
+ id: string;
2774
+ effort?: {
2775
+ type: "low";
2776
+ } | {
2777
+ type: "medium";
2778
+ } | {
2779
+ type: "high";
2780
+ } | {
2781
+ type: "xhigh";
2782
+ } | {
2783
+ type: "max";
2784
+ };
2785
+ inference_geo?: string;
2786
+ speed?: "standard" | "fast";
2787
+ };
2788
+ name: string;
2789
+ skills: Array<{
2790
+ skill_id: string;
2791
+ type: "anthropic";
2792
+ version: string;
2793
+ } | {
2794
+ skill_id: string;
2795
+ type: "custom";
2796
+ version: string;
2797
+ }>;
2798
+ system: null | string;
2799
+ tools: Array<{
2800
+ configs: Array<{
2801
+ enabled: boolean;
2802
+ name: "bash";
2803
+ permission_policy: {
2804
+ type: "always_allow";
2805
+ } | {
2806
+ type: "always_ask";
2807
+ } | {
2808
+ type: "auto";
2809
+ };
2810
+ type: "bash";
2811
+ } | {
2812
+ enabled: boolean;
2813
+ name: "edit";
2814
+ permission_policy: {
2815
+ type: "always_allow";
2816
+ } | {
2817
+ type: "always_ask";
2818
+ } | {
2819
+ type: "auto";
2820
+ };
2821
+ type: "edit";
2822
+ } | {
2823
+ enabled: boolean;
2824
+ name: "read";
2825
+ permission_policy: {
2826
+ type: "always_allow";
2827
+ } | {
2828
+ type: "always_ask";
2829
+ } | {
2830
+ type: "auto";
2831
+ };
2832
+ type: "read";
2833
+ } | {
2834
+ enabled: boolean;
2835
+ name: "write";
2836
+ permission_policy: {
2837
+ type: "always_allow";
2838
+ } | {
2839
+ type: "always_ask";
2840
+ } | {
2841
+ type: "auto";
2842
+ };
2843
+ type: "write";
2844
+ } | {
2845
+ enabled: boolean;
2846
+ name: "glob";
2847
+ permission_policy: {
2848
+ type: "always_allow";
2849
+ } | {
2850
+ type: "always_ask";
2851
+ } | {
2852
+ type: "auto";
2853
+ };
2854
+ type: "glob";
2855
+ } | {
2856
+ enabled: boolean;
2857
+ name: "grep";
2858
+ permission_policy: {
2859
+ type: "always_allow";
2860
+ } | {
2861
+ type: "always_ask";
2862
+ } | {
2863
+ type: "auto";
2864
+ };
2865
+ type: "grep";
2866
+ } | {
2867
+ enabled: boolean;
2868
+ name: "web_fetch";
2869
+ permission_policy: {
2870
+ type: "always_allow";
2871
+ } | {
2872
+ type: "always_ask";
2873
+ } | {
2874
+ type: "auto";
2875
+ };
2876
+ type: "web_fetch";
2877
+ allowed_domains?: Array<string>;
2878
+ blocked_domains?: Array<string>;
2879
+ max_content_tokens?: null | number;
2880
+ } | {
2881
+ enabled: boolean;
2882
+ name: "web_search";
2883
+ permission_policy: {
2884
+ type: "always_allow";
2885
+ } | {
2886
+ type: "always_ask";
2887
+ } | {
2888
+ type: "auto";
2889
+ };
2890
+ type: "web_search";
2891
+ allowed_domains?: Array<string>;
2892
+ blocked_domains?: Array<string>;
2893
+ user_location?: null | {
2894
+ type: "approximate";
2895
+ city?: null | string;
2896
+ country?: null | string;
2897
+ region?: null | string;
2898
+ timezone?: null | string;
2899
+ };
2900
+ } | {
2901
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
2902
+ enabled: boolean;
2903
+ permission_policy: {
2904
+ type: "always_allow" | "always_ask";
2905
+ };
2906
+ }>;
2907
+ default_config: {
2908
+ enabled: boolean;
2909
+ permission_policy: {
2910
+ type: "always_allow";
2911
+ } | {
2912
+ type: "always_ask";
2913
+ } | {
2914
+ type: "auto";
2915
+ };
2916
+ };
2917
+ type: "agent_toolset_20260401";
2918
+ } | {
2919
+ type: "mcp_toolset";
2920
+ mcp_server_name: string;
2921
+ default_config?: {
2922
+ enabled?: boolean | null;
2923
+ permission_policy?: null | {
2924
+ type: "always_allow" | "always_ask";
2925
+ };
2926
+ } | null;
2927
+ configs?: Array<{
2928
+ name: string;
2929
+ enabled?: boolean | null;
2930
+ permission_policy?: null | {
2931
+ type: "always_allow" | "always_ask";
2932
+ };
2933
+ }> | null;
2934
+ } | {
2935
+ description: string;
2936
+ input_schema: {
2937
+ type: "object";
2938
+ properties?: null | {
2939
+ [key: string]: unknown;
2940
+ };
2941
+ required?: null | Array<string>;
2942
+ [key: string]: unknown;
2943
+ };
2944
+ name: string;
2945
+ type: "custom";
2946
+ }>;
2947
+ type: "agent";
2948
+ version: number;
2949
+ }>;
2950
+ type: "coordinator";
2951
+ };
2952
+ name: string;
2953
+ skills: Array<{
2954
+ skill_id: string;
2955
+ type: "anthropic";
2956
+ version: string;
2957
+ } | {
2958
+ skill_id: string;
2959
+ type: "custom";
2960
+ version: string;
2961
+ }>;
2962
+ system: null | string;
2963
+ tools: Array<{
2964
+ configs: Array<{
2965
+ enabled: boolean;
2966
+ name: "bash";
2967
+ permission_policy: {
2968
+ type: "always_allow";
2969
+ } | {
2970
+ type: "always_ask";
2971
+ } | {
2972
+ type: "auto";
2973
+ };
2974
+ type: "bash";
2975
+ } | {
2976
+ enabled: boolean;
2977
+ name: "edit";
2978
+ permission_policy: {
2979
+ type: "always_allow";
2980
+ } | {
2981
+ type: "always_ask";
2982
+ } | {
2983
+ type: "auto";
2984
+ };
2985
+ type: "edit";
2986
+ } | {
2987
+ enabled: boolean;
2988
+ name: "read";
2989
+ permission_policy: {
2990
+ type: "always_allow";
2991
+ } | {
2992
+ type: "always_ask";
2993
+ } | {
2994
+ type: "auto";
2995
+ };
2996
+ type: "read";
2997
+ } | {
2998
+ enabled: boolean;
2999
+ name: "write";
3000
+ permission_policy: {
3001
+ type: "always_allow";
3002
+ } | {
3003
+ type: "always_ask";
3004
+ } | {
3005
+ type: "auto";
3006
+ };
3007
+ type: "write";
3008
+ } | {
3009
+ enabled: boolean;
3010
+ name: "glob";
3011
+ permission_policy: {
3012
+ type: "always_allow";
3013
+ } | {
3014
+ type: "always_ask";
3015
+ } | {
3016
+ type: "auto";
3017
+ };
3018
+ type: "glob";
3019
+ } | {
3020
+ enabled: boolean;
3021
+ name: "grep";
3022
+ permission_policy: {
3023
+ type: "always_allow";
3024
+ } | {
3025
+ type: "always_ask";
3026
+ } | {
3027
+ type: "auto";
3028
+ };
3029
+ type: "grep";
3030
+ } | {
3031
+ enabled: boolean;
3032
+ name: "web_fetch";
3033
+ permission_policy: {
3034
+ type: "always_allow";
3035
+ } | {
3036
+ type: "always_ask";
3037
+ } | {
3038
+ type: "auto";
3039
+ };
3040
+ type: "web_fetch";
3041
+ allowed_domains?: Array<string>;
3042
+ blocked_domains?: Array<string>;
3043
+ max_content_tokens?: null | number;
3044
+ } | {
3045
+ enabled: boolean;
3046
+ name: "web_search";
3047
+ permission_policy: {
3048
+ type: "always_allow";
3049
+ } | {
3050
+ type: "always_ask";
3051
+ } | {
3052
+ type: "auto";
3053
+ };
3054
+ type: "web_search";
3055
+ allowed_domains?: Array<string>;
3056
+ blocked_domains?: Array<string>;
3057
+ user_location?: null | {
3058
+ type: "approximate";
3059
+ city?: null | string;
3060
+ country?: null | string;
3061
+ region?: null | string;
3062
+ timezone?: null | string;
3063
+ };
3064
+ } | {
3065
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
3066
+ enabled: boolean;
3067
+ permission_policy: {
3068
+ type: "always_allow" | "always_ask";
3069
+ };
3070
+ }>;
3071
+ default_config: {
3072
+ enabled: boolean;
3073
+ permission_policy: {
3074
+ type: "always_allow";
3075
+ } | {
3076
+ type: "always_ask";
3077
+ } | {
3078
+ type: "auto";
3079
+ };
3080
+ };
3081
+ type: "agent_toolset_20260401";
3082
+ } | {
3083
+ type: "mcp_toolset";
3084
+ mcp_server_name: string;
3085
+ default_config?: {
3086
+ enabled?: boolean | null;
3087
+ permission_policy?: null | {
3088
+ type: "always_allow" | "always_ask";
3089
+ };
3090
+ } | null;
3091
+ configs?: Array<{
3092
+ name: string;
3093
+ enabled?: boolean | null;
3094
+ permission_policy?: null | {
3095
+ type: "always_allow" | "always_ask";
3096
+ };
3097
+ }> | null;
3098
+ } | {
3099
+ description: string;
3100
+ input_schema: {
3101
+ type: "object";
3102
+ properties?: null | {
3103
+ [key: string]: unknown;
3104
+ };
3105
+ required?: null | Array<string>;
3106
+ [key: string]: unknown;
3107
+ };
3108
+ name: string;
3109
+ type: "custom";
3110
+ }>;
3111
+ type: "agent";
3112
+ version: number;
2357
3113
  };
2358
3114
  archived_at: null | string;
3115
+ budget: null | {
3116
+ max_list_cost: {
3117
+ amount: string;
3118
+ currency: "USD";
3119
+ };
3120
+ type: "limit";
3121
+ };
2359
3122
  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";
3123
+ environment_id?: string;
3124
+ metadata: {
3125
+ [key: string]: string;
3126
+ };
3127
+ outcome_evaluations: Array<{
3128
+ completed_at: null | string;
3129
+ description: string;
3130
+ explanation: null | string;
3131
+ iteration: number;
3132
+ outcome_id: string;
3133
+ result: string;
3134
+ type: "outcome_evaluation";
3135
+ }>;
3136
+ resources: Array<{
3137
+ id: string;
3138
+ created_at: string;
3139
+ mount_path: string;
3140
+ type: "github_repository";
3141
+ updated_at: string;
3142
+ url: string;
3143
+ checkout?: null | {
3144
+ name: string;
3145
+ type: "branch";
3146
+ } | {
3147
+ sha: string;
3148
+ type: "commit";
3149
+ };
3150
+ } | {
3151
+ id: string;
3152
+ created_at: string;
3153
+ file_id: string;
3154
+ mount_path: string;
3155
+ type: "file";
3156
+ updated_at: string;
3157
+ } | {
3158
+ memory_store_id: string;
3159
+ type: "memory_store";
3160
+ access?: null | "read_write" | "read_only";
3161
+ description?: string;
3162
+ instructions?: null | string;
3163
+ mount_path?: null | string;
3164
+ name?: null | string;
3165
+ }>;
3166
+ stats: {
3167
+ active_seconds?: number;
3168
+ duration_seconds?: number;
3169
+ };
3170
+ status: "rescheduling" | "running" | "idle" | "terminated";
3171
+ title: null | string;
3172
+ type: "session";
2370
3173
  updated_at: string;
3174
+ usage: {
3175
+ active_seconds?: number;
3176
+ cache_creation?: {
3177
+ ephemeral_1h_input_tokens?: number;
3178
+ ephemeral_5m_input_tokens?: number;
3179
+ };
3180
+ cache_read_input_tokens?: number;
3181
+ input_tokens?: number;
3182
+ list_cost?: null | {
3183
+ amount: string;
3184
+ currency: "USD";
3185
+ };
3186
+ output_tokens?: number;
3187
+ server_tool_use?: null | {
3188
+ web_fetch_requests?: number;
3189
+ web_search_requests?: number;
3190
+ };
3191
+ cost_by_product?: {
3192
+ [key: string]: string;
3193
+ };
3194
+ subagent_cost_micro_usd?: number;
3195
+ };
2371
3196
  vault_ids: Array<string>;
2372
- budget?: null | Types.AgentManaged76;
2373
- target: {
2374
- type: "environment" | "computer";
3197
+ deployment_id?: null | string;
3198
+ cwd: string;
3199
+ computer_id?: string;
3200
+ model?: {
3201
+ id: string;
3202
+ thinking: {
3203
+ efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
3204
+ can_disable: boolean;
3205
+ default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
3206
+ } | null;
2375
3207
  };
3208
+ thinking?: {
3209
+ effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3210
+ } | null;
3211
+ forked_from?: {
3212
+ session_id: string;
3213
+ message_id: string;
3214
+ } | null;
3215
+ readonly external_user_id: string | null;
3216
+ readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2376
3217
  }>;
2377
3218
  };
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
3219
  archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
2428
3220
  id: string;
2429
3221
  agent: {
@@ -2437,6 +3229,7 @@ export declare function createAgent(transport: Transport): {
2437
3229
  speed?: "standard" | "fast";
2438
3230
  settings?: {
2439
3231
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3232
+ max_output_tokens?: number;
2440
3233
  };
2441
3234
  };
2442
3235
  multiagent: null | Types.AgentManaged171;
@@ -2503,6 +3296,12 @@ export declare function createAgent(transport: Transport): {
2503
3296
  filename: string;
2504
3297
  mime_type: string;
2505
3298
  bytes: number;
3299
+ } | {
3300
+ kind: "object";
3301
+ object_type: "canvas" | "media_asset";
3302
+ object_id: string;
3303
+ href: string;
3304
+ title: string | null;
2506
3305
  }>;
2507
3306
  source_hrefs: Array<string>;
2508
3307
  create_time: string;
@@ -2592,6 +3391,7 @@ export declare function createAgent(transport: Transport): {
2592
3391
  speed?: "standard" | "fast";
2593
3392
  settings?: {
2594
3393
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3394
+ max_output_tokens?: number;
2595
3395
  };
2596
3396
  };
2597
3397
  multiagent: null | Types.AgentManaged171;
@@ -2678,7 +3478,6 @@ export declare function createAgent(transport: Transport): {
2678
3478
  run_id: string | null;
2679
3479
  message_id?: string;
2680
3480
  } | {
2681
- full_access_available?: boolean;
2682
3481
  id: string;
2683
3482
  input: Types.AgentManaged197;
2684
3483
  mcp_server_name: string;
@@ -2688,6 +3487,18 @@ export declare function createAgent(transport: Transport): {
2688
3487
  evaluated_permission?: "allow" | "deny" | "ask";
2689
3488
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2690
3489
  session_thread_id?: null | string;
3490
+ permission_suggestions?: Array<{
3491
+ type: "add_rules";
3492
+ behavior: "allow";
3493
+ destination: "agent" | "session";
3494
+ rules: Array<{
3495
+ tool_name: string;
3496
+ rule_content: string;
3497
+ }>;
3498
+ }>;
3499
+ full_access_available?: boolean;
3500
+ user_once?: true;
3501
+ guarded_rule?: string;
2691
3502
  run_id: string | null;
2692
3503
  _meta?: {
2693
3504
  ui?: {
@@ -2701,17 +3512,6 @@ export declare function createAgent(transport: Transport): {
2701
3512
  };
2702
3513
  source?: "app" | "codemode";
2703
3514
  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
3515
  title?: string;
2716
3516
  input_titles?: {
2717
3517
  [key: string]: string;
@@ -2730,7 +3530,6 @@ export declare function createAgent(transport: Transport): {
2730
3530
  };
2731
3531
  source?: "app" | "codemode";
2732
3532
  } | {
2733
- full_access_available?: boolean;
2734
3533
  id: string;
2735
3534
  input: Types.AgentManaged206;
2736
3535
  name: string;
@@ -2739,9 +3538,6 @@ export declare function createAgent(transport: Transport): {
2739
3538
  evaluated_permission?: "allow" | "deny" | "ask";
2740
3539
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2741
3540
  session_thread_id?: null | string;
2742
- run_id: string | null;
2743
- user_once?: true;
2744
- guarded_rule?: string;
2745
3541
  permission_suggestions?: Array<{
2746
3542
  type: "add_rules";
2747
3543
  behavior: "allow";
@@ -2751,6 +3547,10 @@ export declare function createAgent(transport: Transport): {
2751
3547
  rule_content: string;
2752
3548
  }>;
2753
3549
  }>;
3550
+ full_access_available?: boolean;
3551
+ user_once?: true;
3552
+ guarded_rule?: string;
3553
+ run_id: string | null;
2754
3554
  } | {
2755
3555
  id: string;
2756
3556
  processed_at: string;
@@ -2771,9 +3571,6 @@ export declare function createAgent(transport: Transport): {
2771
3571
  type: "session.status_idle";
2772
3572
  run_id: string | null;
2773
3573
  } | 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
3574
  id: string;
2778
3575
  processed_at: string;
2779
3576
  type: "session.updated";
@@ -2781,6 +3578,9 @@ export declare function createAgent(transport: Transport): {
2781
3578
  budget?: null | Types.AgentManaged76;
2782
3579
  metadata?: Types.AgentManaged246;
2783
3580
  title?: null | string;
3581
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3582
+ previous_permission_mode?: string | null;
3583
+ permission_mode_version?: number;
2784
3584
  model?: {
2785
3585
  id: string;
2786
3586
  };
@@ -2941,6 +3741,7 @@ export declare function createAgent(transport: Transport): {
2941
3741
  speed?: "standard" | "fast";
2942
3742
  settings?: {
2943
3743
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3744
+ max_output_tokens?: number;
2944
3745
  };
2945
3746
  };
2946
3747
  multiagent: null | {
@@ -3436,6 +4237,7 @@ export declare function createAgent(transport: Transport): {
3436
4237
  speed?: "standard" | "fast";
3437
4238
  settings?: {
3438
4239
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4240
+ max_output_tokens?: number;
3439
4241
  };
3440
4242
  };
3441
4243
  multiagent: null | Types.AgentManaged171;
@@ -3527,6 +4329,7 @@ export declare function createAgent(transport: Transport): {
3527
4329
  speed?: "standard" | "fast";
3528
4330
  settings?: {
3529
4331
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4332
+ max_output_tokens?: number;
3530
4333
  };
3531
4334
  };
3532
4335
  multiagent: null | Types.AgentManaged171;
@@ -3699,7 +4502,6 @@ export declare function createAgent(transport: Transport): {
3699
4502
  run_id: string | null;
3700
4503
  message_id?: string;
3701
4504
  } | {
3702
- full_access_available?: boolean;
3703
4505
  id: string;
3704
4506
  input: Types.AgentManaged197;
3705
4507
  mcp_server_name: string;
@@ -3709,6 +4511,18 @@ export declare function createAgent(transport: Transport): {
3709
4511
  evaluated_permission?: "allow" | "deny" | "ask";
3710
4512
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3711
4513
  session_thread_id?: null | string;
4514
+ permission_suggestions?: Array<{
4515
+ type: "add_rules";
4516
+ behavior: "allow";
4517
+ destination: "agent" | "session";
4518
+ rules: Array<{
4519
+ tool_name: string;
4520
+ rule_content: string;
4521
+ }>;
4522
+ }>;
4523
+ full_access_available?: boolean;
4524
+ user_once?: true;
4525
+ guarded_rule?: string;
3712
4526
  run_id: string | null;
3713
4527
  parent_tool_use_id?: string;
3714
4528
  _meta?: {
@@ -3722,17 +4536,6 @@ export declare function createAgent(transport: Transport): {
3722
4536
  };
3723
4537
  };
3724
4538
  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
4539
  title?: string;
3737
4540
  input_titles?: {
3738
4541
  [key: string]: string;
@@ -3751,7 +4554,6 @@ export declare function createAgent(transport: Transport): {
3751
4554
  };
3752
4555
  source?: "app" | "codemode";
3753
4556
  } | {
3754
- full_access_available?: boolean;
3755
4557
  id: string;
3756
4558
  input: Types.AgentManaged206;
3757
4559
  name: string;
@@ -3760,9 +4562,6 @@ export declare function createAgent(transport: Transport): {
3760
4562
  evaluated_permission?: "allow" | "deny" | "ask";
3761
4563
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3762
4564
  session_thread_id?: null | string;
3763
- run_id: string | null;
3764
- user_once?: true;
3765
- guarded_rule?: string;
3766
4565
  permission_suggestions?: Array<{
3767
4566
  type: "add_rules";
3768
4567
  behavior: "allow";
@@ -3772,6 +4571,10 @@ export declare function createAgent(transport: Transport): {
3772
4571
  rule_content: string;
3773
4572
  }>;
3774
4573
  }>;
4574
+ full_access_available?: boolean;
4575
+ user_once?: true;
4576
+ guarded_rule?: string;
4577
+ run_id: string | null;
3775
4578
  } | {
3776
4579
  id: string;
3777
4580
  processed_at: string;
@@ -3792,9 +4595,6 @@ export declare function createAgent(transport: Transport): {
3792
4595
  type: "session.status_idle";
3793
4596
  run_id: string | null;
3794
4597
  } | 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
4598
  id: string;
3799
4599
  processed_at: string;
3800
4600
  type: "session.updated";
@@ -3802,6 +4602,9 @@ export declare function createAgent(transport: Transport): {
3802
4602
  budget?: null | Types.AgentManaged76;
3803
4603
  metadata?: Types.AgentManaged246;
3804
4604
  title?: null | string;
4605
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
4606
+ previous_permission_mode?: string | null;
4607
+ permission_mode_version?: number;
3805
4608
  model?: {
3806
4609
  id: string;
3807
4610
  };
@@ -3892,6 +4695,7 @@ export declare function createAgent(transport: Transport): {
3892
4695
  speed?: "standard" | "fast";
3893
4696
  settings?: {
3894
4697
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4698
+ max_output_tokens?: number;
3895
4699
  };
3896
4700
  };
3897
4701
  multiagent: null | Types.AgentManaged171;
@@ -3982,6 +4786,29 @@ export declare function createAgent(transport: Transport): {
3982
4786
  next_page: null;
3983
4787
  }>;
3984
4788
  };
4789
+ uploads: {
4790
+ contentUrl: {
4791
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
4792
+ url: string;
4793
+ expires_at: string;
4794
+ }>;
4795
+ };
4796
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
4797
+ upload_id: string;
4798
+ expires_at: string;
4799
+ url: string;
4800
+ } | {
4801
+ upload_id: string;
4802
+ expires_at: string;
4803
+ part_size: number;
4804
+ parts: Array<{
4805
+ part_number: number;
4806
+ url: string;
4807
+ }>;
4808
+ complete_url: string;
4809
+ status_url: string;
4810
+ }>;
4811
+ };
3985
4812
  };
3986
4813
  export declare function createApplication(transport: Transport): {
3987
4814
  assets: {
@@ -4305,6 +5132,11 @@ export declare function createBrowser(transport: Transport): {
4305
5132
  type: "evaluate";
4306
5133
  tab: string;
4307
5134
  value: unknown;
5135
+ } | {
5136
+ type: "set_cookie";
5137
+ tab: string;
5138
+ name: string;
5139
+ domain: string;
4308
5140
  }>;
4309
5141
  };
4310
5142
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
@@ -4362,6 +5194,24 @@ export declare function createCanvas(transport: Transport): {
4362
5194
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4363
5195
  };
4364
5196
  };
5197
+ export declare function createContent(transport: Transport): {
5198
+ contents: {
5199
+ archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
5200
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
5201
+ list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
5202
+ publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
5203
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
5204
+ unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
5205
+ update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
5206
+ };
5207
+ playbackSessions: {
5208
+ create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
5209
+ };
5210
+ versions: {
5211
+ list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
5212
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
5213
+ };
5214
+ };
4365
5215
  export declare function createCrm(transport: Transport): {
4366
5216
  associations: {
4367
5217
  create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
@@ -4422,6 +5272,32 @@ export declare function createCrm(transport: Transport): {
4422
5272
  list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4423
5273
  };
4424
5274
  };
5275
+ export declare function createCustomer(transport: Transport): {
5276
+ accessTokens: {
5277
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
5278
+ renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
5279
+ revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
5280
+ };
5281
+ customers: {
5282
+ block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
5283
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
5284
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
5285
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
5286
+ revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
5287
+ unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
5288
+ };
5289
+ grantCodes: {
5290
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
5291
+ };
5292
+ publishableKeys: {
5293
+ create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
5294
+ delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
5295
+ list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
5296
+ };
5297
+ usage: {
5298
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
5299
+ };
5300
+ };
4425
5301
  export declare function createCut(transport: Transport): {
4426
5302
  exports: {
4427
5303
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4520,7 +5396,9 @@ export declare function createDatabase(transport: Transport): {
4520
5396
  export declare function createDevops(transport: Transport): {
4521
5397
  changes: {
4522
5398
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
5399
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
4523
5400
  markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
5401
+ openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
4524
5402
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
4525
5403
  };
4526
5404
  connections: {
@@ -4592,6 +5470,7 @@ export declare function createDevops(transport: Transport): {
4592
5470
  };
4593
5471
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
4594
5472
  retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
5473
+ retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
4595
5474
  segments: {
4596
5475
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
4597
5476
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
@@ -4789,6 +5668,10 @@ export declare function createMedia(transport: Transport): {
4789
5668
  frames: {
4790
5669
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
4791
5670
  };
5671
+ hls: {
5672
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
5673
+ list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
5674
+ };
4792
5675
  import: {
4793
5676
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4794
5677
  };
@@ -5378,6 +6261,7 @@ export declare function createModel(transport: Transport): {
5378
6261
  unsigned_urls: Array<string>;
5379
6262
  usage?: {
5380
6263
  cost: number;
6264
+ billed_seconds?: number;
5381
6265
  };
5382
6266
  }>;
5383
6267
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -5408,6 +6292,7 @@ export declare function createModel(transport: Transport): {
5408
6292
  unsigned_urls: Array<string>;
5409
6293
  usage?: {
5410
6294
  cost: number;
6295
+ billed_seconds?: number;
5411
6296
  };
5412
6297
  }>;
5413
6298
  has_more: boolean;
@@ -5436,6 +6321,7 @@ export declare function createModel(transport: Transport): {
5436
6321
  unsigned_urls: Array<string>;
5437
6322
  usage?: {
5438
6323
  cost: number;
6324
+ billed_seconds?: number;
5439
6325
  };
5440
6326
  }>;
5441
6327
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
@@ -5846,6 +6732,42 @@ export declare function createOrganization(transport: Transport): {
5846
6732
  }>;
5847
6733
  };
5848
6734
  };
6735
+ export declare function createRegistry(transport: Transport): {
6736
+ installations: {
6737
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
6738
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
6739
+ };
6740
+ packages: {
6741
+ installations: {
6742
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
6743
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
6744
+ };
6745
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
6746
+ versions: {
6747
+ contents: {
6748
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
6749
+ };
6750
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
6751
+ files: {
6752
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
6753
+ };
6754
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
6755
+ retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
6756
+ withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
6757
+ };
6758
+ };
6759
+ repositories: {
6760
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
6761
+ delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
6762
+ list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
6763
+ packages: {
6764
+ create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
6765
+ list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
6766
+ };
6767
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
6768
+ update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
6769
+ };
6770
+ };
5849
6771
  export declare function createSandbox(transport: Transport): {
5850
6772
  events: {
5851
6773
  sandboxes: {
@@ -6082,6 +7004,14 @@ export declare function createSearch(transport: Transport): {
6082
7004
  }>;
6083
7005
  };
6084
7006
  };
7007
+ export declare function createShare(transport: Transport): {
7008
+ permissions: {
7009
+ create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
7010
+ delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
7011
+ list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
7012
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
7013
+ };
7014
+ };
6085
7015
  export declare function createStudio(transport: Transport): {
6086
7016
  codexes: {
6087
7017
  create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
@@ -6375,7 +7305,9 @@ export declare const resourceFactories: {
6375
7305
  automation: typeof createAutomation;
6376
7306
  browser: typeof createBrowser;
6377
7307
  canvas: typeof createCanvas;
7308
+ content: typeof createContent;
6378
7309
  crm: typeof createCrm;
7310
+ customer: typeof createCustomer;
6379
7311
  cut: typeof createCut;
6380
7312
  database: typeof createDatabase;
6381
7313
  devops: typeof createDevops;
@@ -6386,8 +7318,10 @@ export declare const resourceFactories: {
6386
7318
  model: typeof createModel;
6387
7319
  ontology: typeof createOntology;
6388
7320
  organization: typeof createOrganization;
7321
+ registry: typeof createRegistry;
6389
7322
  sandbox: typeof createSandbox;
6390
7323
  search: typeof createSearch;
7324
+ share: typeof createShare;
6391
7325
  studio: typeof createStudio;
6392
7326
  ticket: typeof createTicket;
6393
7327
  vault: typeof createVault;