@deepraxis/sdk 0.1.1-dev.5fa7088 → 0.1.1-dev.5fbf807

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?: {
@@ -2357,73 +2617,605 @@ export declare function createAgent(transport: Transport): {
2357
2617
  };
2358
2618
  archived_at: null | string;
2359
2619
  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";
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;
3113
+ };
3114
+ archived_at: null | string;
3115
+ budget: null | {
3116
+ max_list_cost: {
3117
+ amount: string;
3118
+ currency: "USD";
3119
+ };
3120
+ type: "limit";
3121
+ };
3122
+ created_at: string;
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;
@@ -2482,6 +3275,40 @@ export declare function createAgent(transport: Transport): {
2482
3275
  readonly external_user_id: string | null;
2483
3276
  readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
2484
3277
  }>;
3278
+ artifacts: {
3279
+ contentUrl: {
3280
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionArtifactContentUrlData>) => Promise<{
3281
+ url: string;
3282
+ expire_time: string;
3283
+ }>;
3284
+ };
3285
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionArtifactsData>) => Promise<{
3286
+ data: Array<{
3287
+ object: "artifact";
3288
+ id: string;
3289
+ session_id: string;
3290
+ run_id: string | null;
3291
+ name: string;
3292
+ version: number;
3293
+ parts: Array<{
3294
+ kind: "file";
3295
+ file_id: string;
3296
+ filename: string;
3297
+ mime_type: string;
3298
+ bytes: number;
3299
+ } | {
3300
+ kind: "object";
3301
+ object_type: "canvas" | "media_asset";
3302
+ object_id: string;
3303
+ href: string;
3304
+ title: string | null;
3305
+ }>;
3306
+ source_hrefs: Array<string>;
3307
+ create_time: string;
3308
+ update_time: string;
3309
+ }>;
3310
+ }>;
3311
+ };
2485
3312
  backgroundTasks: {
2486
3313
  list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
2487
3314
  data: Array<{
@@ -2564,6 +3391,7 @@ export declare function createAgent(transport: Transport): {
2564
3391
  speed?: "standard" | "fast";
2565
3392
  settings?: {
2566
3393
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3394
+ max_output_tokens?: number;
2567
3395
  };
2568
3396
  };
2569
3397
  multiagent: null | Types.AgentManaged171;
@@ -2650,7 +3478,6 @@ export declare function createAgent(transport: Transport): {
2650
3478
  run_id: string | null;
2651
3479
  message_id?: string;
2652
3480
  } | {
2653
- full_access_available?: boolean;
2654
3481
  id: string;
2655
3482
  input: Types.AgentManaged197;
2656
3483
  mcp_server_name: string;
@@ -2660,6 +3487,18 @@ export declare function createAgent(transport: Transport): {
2660
3487
  evaluated_permission?: "allow" | "deny" | "ask";
2661
3488
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2662
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;
2663
3502
  run_id: string | null;
2664
3503
  _meta?: {
2665
3504
  ui?: {
@@ -2673,17 +3512,6 @@ export declare function createAgent(transport: Transport): {
2673
3512
  };
2674
3513
  source?: "app" | "codemode";
2675
3514
  parent_tool_use_id?: string;
2676
- user_once?: true;
2677
- guarded_rule?: string;
2678
- permission_suggestions?: Array<{
2679
- type: "add_rules";
2680
- behavior: "allow";
2681
- destination: "agent" | "session";
2682
- rules: Array<{
2683
- tool_name: string;
2684
- rule_content: string;
2685
- }>;
2686
- }>;
2687
3515
  title?: string;
2688
3516
  input_titles?: {
2689
3517
  [key: string]: string;
@@ -2702,7 +3530,6 @@ export declare function createAgent(transport: Transport): {
2702
3530
  };
2703
3531
  source?: "app" | "codemode";
2704
3532
  } | {
2705
- full_access_available?: boolean;
2706
3533
  id: string;
2707
3534
  input: Types.AgentManaged206;
2708
3535
  name: string;
@@ -2711,9 +3538,6 @@ export declare function createAgent(transport: Transport): {
2711
3538
  evaluated_permission?: "allow" | "deny" | "ask";
2712
3539
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2713
3540
  session_thread_id?: null | string;
2714
- run_id: string | null;
2715
- user_once?: true;
2716
- guarded_rule?: string;
2717
3541
  permission_suggestions?: Array<{
2718
3542
  type: "add_rules";
2719
3543
  behavior: "allow";
@@ -2723,6 +3547,10 @@ export declare function createAgent(transport: Transport): {
2723
3547
  rule_content: string;
2724
3548
  }>;
2725
3549
  }>;
3550
+ full_access_available?: boolean;
3551
+ user_once?: true;
3552
+ guarded_rule?: string;
3553
+ run_id: string | null;
2726
3554
  } | {
2727
3555
  id: string;
2728
3556
  processed_at: string;
@@ -2743,9 +3571,6 @@ export declare function createAgent(transport: Transport): {
2743
3571
  type: "session.status_idle";
2744
3572
  run_id: string | null;
2745
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 | {
2746
- permission_mode_version?: number;
2747
- previous_permission_mode?: string | null;
2748
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2749
3574
  id: string;
2750
3575
  processed_at: string;
2751
3576
  type: "session.updated";
@@ -2753,6 +3578,9 @@ export declare function createAgent(transport: Transport): {
2753
3578
  budget?: null | Types.AgentManaged76;
2754
3579
  metadata?: Types.AgentManaged246;
2755
3580
  title?: null | string;
3581
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3582
+ previous_permission_mode?: string | null;
3583
+ permission_mode_version?: number;
2756
3584
  model?: {
2757
3585
  id: string;
2758
3586
  };
@@ -2913,6 +3741,7 @@ export declare function createAgent(transport: Transport): {
2913
3741
  speed?: "standard" | "fast";
2914
3742
  settings?: {
2915
3743
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3744
+ max_output_tokens?: number;
2916
3745
  };
2917
3746
  };
2918
3747
  multiagent: null | {
@@ -3408,6 +4237,7 @@ export declare function createAgent(transport: Transport): {
3408
4237
  speed?: "standard" | "fast";
3409
4238
  settings?: {
3410
4239
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4240
+ max_output_tokens?: number;
3411
4241
  };
3412
4242
  };
3413
4243
  multiagent: null | Types.AgentManaged171;
@@ -3455,6 +4285,20 @@ export declare function createAgent(transport: Transport): {
3455
4285
  }>;
3456
4286
  next_page: string | null;
3457
4287
  }>;
4288
+ requests: {
4289
+ list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
4290
+ data: Array<{
4291
+ id: string;
4292
+ object: "request";
4293
+ kind: "question" | "approval";
4294
+ status: "pending";
4295
+ tool_name: string;
4296
+ input: unknown;
4297
+ create_time: string;
4298
+ expire_time: string | null;
4299
+ }>;
4300
+ }>;
4301
+ };
3458
4302
  resources: {
3459
4303
  create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
3460
4304
  delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
@@ -3485,6 +4329,7 @@ export declare function createAgent(transport: Transport): {
3485
4329
  speed?: "standard" | "fast";
3486
4330
  settings?: {
3487
4331
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4332
+ max_output_tokens?: number;
3488
4333
  };
3489
4334
  };
3490
4335
  multiagent: null | Types.AgentManaged171;
@@ -3657,7 +4502,6 @@ export declare function createAgent(transport: Transport): {
3657
4502
  run_id: string | null;
3658
4503
  message_id?: string;
3659
4504
  } | {
3660
- full_access_available?: boolean;
3661
4505
  id: string;
3662
4506
  input: Types.AgentManaged197;
3663
4507
  mcp_server_name: string;
@@ -3667,6 +4511,18 @@ export declare function createAgent(transport: Transport): {
3667
4511
  evaluated_permission?: "allow" | "deny" | "ask";
3668
4512
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3669
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;
3670
4526
  run_id: string | null;
3671
4527
  parent_tool_use_id?: string;
3672
4528
  _meta?: {
@@ -3680,17 +4536,6 @@ export declare function createAgent(transport: Transport): {
3680
4536
  };
3681
4537
  };
3682
4538
  source?: "app" | "codemode";
3683
- user_once?: true;
3684
- guarded_rule?: string;
3685
- permission_suggestions?: Array<{
3686
- type: "add_rules";
3687
- behavior: "allow";
3688
- destination: "agent" | "session";
3689
- rules: Array<{
3690
- tool_name: string;
3691
- rule_content: string;
3692
- }>;
3693
- }>;
3694
4539
  title?: string;
3695
4540
  input_titles?: {
3696
4541
  [key: string]: string;
@@ -3709,7 +4554,6 @@ export declare function createAgent(transport: Transport): {
3709
4554
  };
3710
4555
  source?: "app" | "codemode";
3711
4556
  } | {
3712
- full_access_available?: boolean;
3713
4557
  id: string;
3714
4558
  input: Types.AgentManaged206;
3715
4559
  name: string;
@@ -3718,9 +4562,6 @@ export declare function createAgent(transport: Transport): {
3718
4562
  evaluated_permission?: "allow" | "deny" | "ask";
3719
4563
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3720
4564
  session_thread_id?: null | string;
3721
- run_id: string | null;
3722
- user_once?: true;
3723
- guarded_rule?: string;
3724
4565
  permission_suggestions?: Array<{
3725
4566
  type: "add_rules";
3726
4567
  behavior: "allow";
@@ -3730,6 +4571,10 @@ export declare function createAgent(transport: Transport): {
3730
4571
  rule_content: string;
3731
4572
  }>;
3732
4573
  }>;
4574
+ full_access_available?: boolean;
4575
+ user_once?: true;
4576
+ guarded_rule?: string;
4577
+ run_id: string | null;
3733
4578
  } | {
3734
4579
  id: string;
3735
4580
  processed_at: string;
@@ -3750,9 +4595,6 @@ export declare function createAgent(transport: Transport): {
3750
4595
  type: "session.status_idle";
3751
4596
  run_id: string | null;
3752
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 | {
3753
- permission_mode_version?: number;
3754
- previous_permission_mode?: string | null;
3755
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3756
4598
  id: string;
3757
4599
  processed_at: string;
3758
4600
  type: "session.updated";
@@ -3760,6 +4602,9 @@ export declare function createAgent(transport: Transport): {
3760
4602
  budget?: null | Types.AgentManaged76;
3761
4603
  metadata?: Types.AgentManaged246;
3762
4604
  title?: null | string;
4605
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
4606
+ previous_permission_mode?: string | null;
4607
+ permission_mode_version?: number;
3763
4608
  model?: {
3764
4609
  id: string;
3765
4610
  };
@@ -3850,6 +4695,7 @@ export declare function createAgent(transport: Transport): {
3850
4695
  speed?: "standard" | "fast";
3851
4696
  settings?: {
3852
4697
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4698
+ max_output_tokens?: number;
3853
4699
  };
3854
4700
  };
3855
4701
  multiagent: null | Types.AgentManaged171;
@@ -3940,6 +4786,29 @@ export declare function createAgent(transport: Transport): {
3940
4786
  next_page: null;
3941
4787
  }>;
3942
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
+ };
3943
4812
  };
3944
4813
  export declare function createApplication(transport: Transport): {
3945
4814
  assets: {
@@ -4263,6 +5132,11 @@ export declare function createBrowser(transport: Transport): {
4263
5132
  type: "evaluate";
4264
5133
  tab: string;
4265
5134
  value: unknown;
5135
+ } | {
5136
+ type: "set_cookie";
5137
+ tab: string;
5138
+ name: string;
5139
+ domain: string;
4266
5140
  }>;
4267
5141
  };
4268
5142
  create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
@@ -4320,6 +5194,24 @@ export declare function createCanvas(transport: Transport): {
4320
5194
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4321
5195
  };
4322
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
+ };
4323
5215
  export declare function createCrm(transport: Transport): {
4324
5216
  associations: {
4325
5217
  create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
@@ -4380,6 +5272,32 @@ export declare function createCrm(transport: Transport): {
4380
5272
  list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4381
5273
  };
4382
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
+ };
4383
5301
  export declare function createCut(transport: Transport): {
4384
5302
  exports: {
4385
5303
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4478,7 +5396,9 @@ export declare function createDatabase(transport: Transport): {
4478
5396
  export declare function createDevops(transport: Transport): {
4479
5397
  changes: {
4480
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>;
4481
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>;
4482
5402
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
4483
5403
  };
4484
5404
  connections: {
@@ -4535,6 +5455,7 @@ export declare function createDevops(transport: Transport): {
4535
5455
  flags: {
4536
5456
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
4537
5457
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsListData>) => Promise<Types.DevopsFlagPage>;
5458
+ reportCodeRefs: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsReportCodeRefsData>) => Promise<Types.DevopsFlagCodeRefsReportResult>;
4538
5459
  };
4539
5460
  list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
4540
5461
  promotions: {
@@ -4549,6 +5470,7 @@ export declare function createDevops(transport: Transport): {
4549
5470
  };
4550
5471
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
4551
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>;
4552
5474
  segments: {
4553
5475
  create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
4554
5476
  list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
@@ -4737,12 +5659,19 @@ export declare function createMedia(transport: Transport): {
4737
5659
  };
4738
5660
  libraries: {
4739
5661
  assets: {
5662
+ align: {
5663
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
5664
+ };
4740
5665
  batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
4741
5666
  create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
4742
5667
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
4743
5668
  frames: {
4744
5669
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
4745
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
+ };
4746
5675
  import: {
4747
5676
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4748
5677
  };
@@ -5332,6 +6261,7 @@ export declare function createModel(transport: Transport): {
5332
6261
  unsigned_urls: Array<string>;
5333
6262
  usage?: {
5334
6263
  cost: number;
6264
+ billed_seconds?: number;
5335
6265
  };
5336
6266
  }>;
5337
6267
  delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
@@ -5362,6 +6292,7 @@ export declare function createModel(transport: Transport): {
5362
6292
  unsigned_urls: Array<string>;
5363
6293
  usage?: {
5364
6294
  cost: number;
6295
+ billed_seconds?: number;
5365
6296
  };
5366
6297
  }>;
5367
6298
  has_more: boolean;
@@ -5390,6 +6321,7 @@ export declare function createModel(transport: Transport): {
5390
6321
  unsigned_urls: Array<string>;
5391
6322
  usage?: {
5392
6323
  cost: number;
6324
+ billed_seconds?: number;
5393
6325
  };
5394
6326
  }>;
5395
6327
  retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
@@ -5800,6 +6732,42 @@ export declare function createOrganization(transport: Transport): {
5800
6732
  }>;
5801
6733
  };
5802
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
+ };
5803
6771
  export declare function createSandbox(transport: Transport): {
5804
6772
  events: {
5805
6773
  sandboxes: {
@@ -6036,6 +7004,14 @@ export declare function createSearch(transport: Transport): {
6036
7004
  }>;
6037
7005
  };
6038
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
+ };
6039
7015
  export declare function createStudio(transport: Transport): {
6040
7016
  codexes: {
6041
7017
  create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
@@ -6329,7 +7305,9 @@ export declare const resourceFactories: {
6329
7305
  automation: typeof createAutomation;
6330
7306
  browser: typeof createBrowser;
6331
7307
  canvas: typeof createCanvas;
7308
+ content: typeof createContent;
6332
7309
  crm: typeof createCrm;
7310
+ customer: typeof createCustomer;
6333
7311
  cut: typeof createCut;
6334
7312
  database: typeof createDatabase;
6335
7313
  devops: typeof createDevops;
@@ -6340,8 +7318,10 @@ export declare const resourceFactories: {
6340
7318
  model: typeof createModel;
6341
7319
  ontology: typeof createOntology;
6342
7320
  organization: typeof createOrganization;
7321
+ registry: typeof createRegistry;
6343
7322
  sandbox: typeof createSandbox;
6344
7323
  search: typeof createSearch;
7324
+ share: typeof createShare;
6345
7325
  studio: typeof createStudio;
6346
7326
  ticket: typeof createTicket;
6347
7327
  vault: typeof createVault;