@deepraxis/sdk 0.1.1-dev.ed3e72c → 0.1.1-dev.ed927d7

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;
@@ -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;
@@ -232,6 +234,13 @@ export declare function createAgent(transport: Transport): {
232
234
  enabled?: boolean;
233
235
  }>;
234
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
  };
@@ -763,6 +736,7 @@ export declare function createAgent(transport: Transport): {
763
736
  speed?: "standard" | "fast";
764
737
  settings?: {
765
738
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
739
+ max_output_tokens?: number;
766
740
  };
767
741
  };
768
742
  multiagent?: null | Types.AgentManaged39;
@@ -796,6 +770,13 @@ export declare function createAgent(transport: Transport): {
796
770
  enabled?: boolean;
797
771
  }>;
798
772
  kind: "general" | "service" | "assume";
773
+ computers?: {
774
+ default: string;
775
+ allowed: Array<{
776
+ template: string;
777
+ name: string;
778
+ }>;
779
+ };
799
780
  computer_id?: string;
800
781
  subagent_model?: string | null;
801
782
  subagents?: Array<{
@@ -888,6 +869,7 @@ export declare function createAgent(transport: Transport): {
888
869
  allowManagedHooksOnly?: boolean;
889
870
  allowManagedMcpServersOnly?: boolean;
890
871
  allowManagedPermissionRulesOnly?: boolean;
872
+ idleCompaction?: boolean;
891
873
  autoMemoryEnabled?: boolean;
892
874
  disabled?: {
893
875
  subagents?: Array<string>;
@@ -896,7 +878,6 @@ export declare function createAgent(transport: Transport): {
896
878
  mcpServers?: Array<string>;
897
879
  hooks?: Array<string>;
898
880
  };
899
- idleCompaction?: boolean;
900
881
  outputStyle?: string;
901
882
  } | null;
902
883
  models?: {
@@ -931,6 +912,7 @@ export declare function createAgent(transport: Transport): {
931
912
  speed?: "standard" | "fast";
932
913
  settings?: {
933
914
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
915
+ max_output_tokens?: number;
934
916
  };
935
917
  };
936
918
  multiagent?: null | Types.AgentManaged39;
@@ -965,6 +947,13 @@ export declare function createAgent(transport: Transport): {
965
947
  enabled?: boolean;
966
948
  }>;
967
949
  kind: "general" | "service" | "assume";
950
+ computers?: {
951
+ default: string;
952
+ allowed: Array<{
953
+ template: string;
954
+ name: string;
955
+ }>;
956
+ };
968
957
  computer_id?: string;
969
958
  subagent_model?: string | null;
970
959
  subagents?: Array<{
@@ -1057,6 +1046,7 @@ export declare function createAgent(transport: Transport): {
1057
1046
  allowManagedHooksOnly?: boolean;
1058
1047
  allowManagedMcpServersOnly?: boolean;
1059
1048
  allowManagedPermissionRulesOnly?: boolean;
1049
+ idleCompaction?: boolean;
1060
1050
  autoMemoryEnabled?: boolean;
1061
1051
  disabled?: {
1062
1052
  subagents?: Array<string>;
@@ -1065,7 +1055,6 @@ export declare function createAgent(transport: Transport): {
1065
1055
  mcpServers?: Array<string>;
1066
1056
  hooks?: Array<string>;
1067
1057
  };
1068
- idleCompaction?: boolean;
1069
1058
  outputStyle?: string;
1070
1059
  } | null;
1071
1060
  models?: {
@@ -1199,6 +1188,7 @@ export declare function createAgent(transport: Transport): {
1199
1188
  speed?: "standard" | "fast";
1200
1189
  settings?: {
1201
1190
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1191
+ max_output_tokens?: number;
1202
1192
  };
1203
1193
  };
1204
1194
  multiagent?: null | {
@@ -1398,6 +1388,13 @@ export declare function createAgent(transport: Transport): {
1398
1388
  enabled?: boolean;
1399
1389
  }>;
1400
1390
  kind: "general" | "service" | "assume";
1391
+ computers?: {
1392
+ default: string;
1393
+ allowed: Array<{
1394
+ template: string;
1395
+ name: string;
1396
+ }>;
1397
+ };
1401
1398
  computer_id?: string;
1402
1399
  subagent_model?: string | null;
1403
1400
  subagents?: Array<{
@@ -1490,6 +1487,7 @@ export declare function createAgent(transport: Transport): {
1490
1487
  allowManagedHooksOnly?: boolean;
1491
1488
  allowManagedMcpServersOnly?: boolean;
1492
1489
  allowManagedPermissionRulesOnly?: boolean;
1490
+ idleCompaction?: boolean;
1493
1491
  autoMemoryEnabled?: boolean;
1494
1492
  disabled?: {
1495
1493
  subagents?: Array<string>;
@@ -1498,7 +1496,6 @@ export declare function createAgent(transport: Transport): {
1498
1496
  mcpServers?: Array<string>;
1499
1497
  hooks?: Array<string>;
1500
1498
  };
1501
- idleCompaction?: boolean;
1502
1499
  outputStyle?: string;
1503
1500
  } | null;
1504
1501
  models?: {
@@ -1532,6 +1529,7 @@ export declare function createAgent(transport: Transport): {
1532
1529
  speed?: "standard" | "fast";
1533
1530
  settings?: {
1534
1531
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1532
+ max_output_tokens?: number;
1535
1533
  };
1536
1534
  };
1537
1535
  multiagent?: null | Types.AgentManaged39;
@@ -1566,6 +1564,13 @@ export declare function createAgent(transport: Transport): {
1566
1564
  enabled?: boolean;
1567
1565
  }>;
1568
1566
  kind: "general" | "service" | "assume";
1567
+ computers?: {
1568
+ default: string;
1569
+ allowed: Array<{
1570
+ template: string;
1571
+ name: string;
1572
+ }>;
1573
+ };
1569
1574
  computer_id?: string;
1570
1575
  subagent_model?: string | null;
1571
1576
  subagents?: Array<{
@@ -1658,6 +1663,7 @@ export declare function createAgent(transport: Transport): {
1658
1663
  allowManagedHooksOnly?: boolean;
1659
1664
  allowManagedMcpServersOnly?: boolean;
1660
1665
  allowManagedPermissionRulesOnly?: boolean;
1666
+ idleCompaction?: boolean;
1661
1667
  autoMemoryEnabled?: boolean;
1662
1668
  disabled?: {
1663
1669
  subagents?: Array<string>;
@@ -1666,7 +1672,6 @@ export declare function createAgent(transport: Transport): {
1666
1672
  mcpServers?: Array<string>;
1667
1673
  hooks?: Array<string>;
1668
1674
  };
1669
- idleCompaction?: boolean;
1670
1675
  outputStyle?: string;
1671
1676
  } | null;
1672
1677
  models?: {
@@ -1691,22 +1696,225 @@ export declare function createAgent(transport: Transport): {
1691
1696
  archived_at: null | string;
1692
1697
  created_at: string;
1693
1698
  description: null | string;
1694
- mcp_servers: Array<Types.AgentManaged36>;
1695
- metadata: Types.AgentManaged37;
1699
+ mcp_servers: Array<{
1700
+ type: "url";
1701
+ name: string;
1702
+ url: string;
1703
+ headers?: {
1704
+ [key: string]: string;
1705
+ };
1706
+ timeout_ms?: number;
1707
+ } | {
1708
+ type: "sse";
1709
+ name: string;
1710
+ url: string;
1711
+ headers?: {
1712
+ [key: string]: string;
1713
+ };
1714
+ timeout_ms?: number;
1715
+ } | {
1716
+ type: "stdio";
1717
+ name: string;
1718
+ command: string;
1719
+ args?: Array<string>;
1720
+ env?: {
1721
+ [key: string]: string;
1722
+ };
1723
+ timeout_ms?: number;
1724
+ }>;
1725
+ metadata: {
1726
+ [key: string]: string;
1727
+ };
1696
1728
  model?: {
1697
1729
  id: string;
1698
- effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
1730
+ effort?: {
1731
+ type: "low";
1732
+ } | {
1733
+ type: "medium";
1734
+ } | {
1735
+ type: "high";
1736
+ } | {
1737
+ type: "xhigh";
1738
+ } | {
1739
+ type: "max";
1740
+ };
1699
1741
  inference_geo?: string;
1700
1742
  speed?: "standard" | "fast";
1701
1743
  settings?: {
1702
1744
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
1745
+ max_output_tokens?: number;
1703
1746
  };
1704
1747
  };
1705
- multiagent?: null | Types.AgentManaged39;
1748
+ multiagent?: null | {
1749
+ agents: Array<{
1750
+ id: string;
1751
+ type: "agent";
1752
+ version: number;
1753
+ } | {
1754
+ model: string;
1755
+ type: "advisor";
1756
+ }>;
1757
+ type: "coordinator";
1758
+ };
1706
1759
  name: string;
1707
- skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
1760
+ skills: Array<{
1761
+ skill_id: string;
1762
+ type: "anthropic";
1763
+ version: string;
1764
+ } | {
1765
+ skill_id: string;
1766
+ type: "custom";
1767
+ version: string;
1768
+ }>;
1708
1769
  system: null | string;
1709
- tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
1770
+ tools: Array<{
1771
+ configs: Array<{
1772
+ enabled: boolean;
1773
+ name: "bash";
1774
+ permission_policy: {
1775
+ type: "always_allow";
1776
+ } | {
1777
+ type: "always_ask";
1778
+ } | {
1779
+ type: "auto";
1780
+ };
1781
+ type: "bash";
1782
+ } | {
1783
+ enabled: boolean;
1784
+ name: "edit";
1785
+ permission_policy: {
1786
+ type: "always_allow";
1787
+ } | {
1788
+ type: "always_ask";
1789
+ } | {
1790
+ type: "auto";
1791
+ };
1792
+ type: "edit";
1793
+ } | {
1794
+ enabled: boolean;
1795
+ name: "read";
1796
+ permission_policy: {
1797
+ type: "always_allow";
1798
+ } | {
1799
+ type: "always_ask";
1800
+ } | {
1801
+ type: "auto";
1802
+ };
1803
+ type: "read";
1804
+ } | {
1805
+ enabled: boolean;
1806
+ name: "write";
1807
+ permission_policy: {
1808
+ type: "always_allow";
1809
+ } | {
1810
+ type: "always_ask";
1811
+ } | {
1812
+ type: "auto";
1813
+ };
1814
+ type: "write";
1815
+ } | {
1816
+ enabled: boolean;
1817
+ name: "glob";
1818
+ permission_policy: {
1819
+ type: "always_allow";
1820
+ } | {
1821
+ type: "always_ask";
1822
+ } | {
1823
+ type: "auto";
1824
+ };
1825
+ type: "glob";
1826
+ } | {
1827
+ enabled: boolean;
1828
+ name: "grep";
1829
+ permission_policy: {
1830
+ type: "always_allow";
1831
+ } | {
1832
+ type: "always_ask";
1833
+ } | {
1834
+ type: "auto";
1835
+ };
1836
+ type: "grep";
1837
+ } | {
1838
+ enabled: boolean;
1839
+ name: "web_fetch";
1840
+ permission_policy: {
1841
+ type: "always_allow";
1842
+ } | {
1843
+ type: "always_ask";
1844
+ } | {
1845
+ type: "auto";
1846
+ };
1847
+ type: "web_fetch";
1848
+ allowed_domains?: Array<string>;
1849
+ blocked_domains?: Array<string>;
1850
+ max_content_tokens?: null | number;
1851
+ } | {
1852
+ enabled: boolean;
1853
+ name: "web_search";
1854
+ permission_policy: {
1855
+ type: "always_allow";
1856
+ } | {
1857
+ type: "always_ask";
1858
+ } | {
1859
+ type: "auto";
1860
+ };
1861
+ type: "web_search";
1862
+ allowed_domains?: Array<string>;
1863
+ blocked_domains?: Array<string>;
1864
+ user_location?: null | {
1865
+ type: "approximate";
1866
+ city?: null | string;
1867
+ country?: null | string;
1868
+ region?: null | string;
1869
+ timezone?: null | string;
1870
+ };
1871
+ } | {
1872
+ name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
1873
+ enabled: boolean;
1874
+ permission_policy: {
1875
+ type: "always_allow" | "always_ask";
1876
+ };
1877
+ }>;
1878
+ default_config: {
1879
+ enabled: boolean;
1880
+ permission_policy: {
1881
+ type: "always_allow";
1882
+ } | {
1883
+ type: "always_ask";
1884
+ } | {
1885
+ type: "auto";
1886
+ };
1887
+ };
1888
+ type: "agent_toolset_20260401";
1889
+ } | {
1890
+ type: "mcp_toolset";
1891
+ mcp_server_name: string;
1892
+ default_config?: {
1893
+ enabled?: boolean | null;
1894
+ permission_policy?: null | {
1895
+ type: "always_allow" | "always_ask";
1896
+ };
1897
+ } | null;
1898
+ configs?: Array<{
1899
+ name: string;
1900
+ enabled?: boolean | null;
1901
+ permission_policy?: null | {
1902
+ type: "always_allow" | "always_ask";
1903
+ };
1904
+ }> | null;
1905
+ } | {
1906
+ description: string;
1907
+ input_schema: {
1908
+ type: "object";
1909
+ properties?: null | {
1910
+ [key: string]: unknown;
1911
+ };
1912
+ required?: null | Array<string>;
1913
+ [key: string]: unknown;
1914
+ };
1915
+ name: string;
1916
+ type: "custom";
1917
+ }>;
1710
1918
  type: "agent";
1711
1919
  updated_at: string;
1712
1920
  version: number;
@@ -1734,6 +1942,13 @@ export declare function createAgent(transport: Transport): {
1734
1942
  enabled?: boolean;
1735
1943
  }>;
1736
1944
  kind: "general" | "service" | "assume";
1945
+ computers?: {
1946
+ default: string;
1947
+ allowed: Array<{
1948
+ template: string;
1949
+ name: string;
1950
+ }>;
1951
+ };
1737
1952
  computer_id?: string;
1738
1953
  subagent_model?: string | null;
1739
1954
  subagents?: Array<{
@@ -1826,6 +2041,7 @@ export declare function createAgent(transport: Transport): {
1826
2041
  allowManagedHooksOnly?: boolean;
1827
2042
  allowManagedMcpServersOnly?: boolean;
1828
2043
  allowManagedPermissionRulesOnly?: boolean;
2044
+ idleCompaction?: boolean;
1829
2045
  autoMemoryEnabled?: boolean;
1830
2046
  disabled?: {
1831
2047
  subagents?: Array<string>;
@@ -1834,7 +2050,6 @@ export declare function createAgent(transport: Transport): {
1834
2050
  mcpServers?: Array<string>;
1835
2051
  hooks?: Array<string>;
1836
2052
  };
1837
- idleCompaction?: boolean;
1838
2053
  outputStyle?: string;
1839
2054
  } | null;
1840
2055
  models?: {
@@ -1868,6 +2083,7 @@ export declare function createAgent(transport: Transport): {
1868
2083
  speed?: "standard" | "fast";
1869
2084
  settings?: {
1870
2085
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2086
+ max_output_tokens?: number;
1871
2087
  };
1872
2088
  };
1873
2089
  multiagent?: null | Types.AgentManaged39;
@@ -1902,6 +2118,13 @@ export declare function createAgent(transport: Transport): {
1902
2118
  enabled?: boolean;
1903
2119
  }>;
1904
2120
  kind: "general" | "service" | "assume";
2121
+ computers?: {
2122
+ default: string;
2123
+ allowed: Array<{
2124
+ template: string;
2125
+ name: string;
2126
+ }>;
2127
+ };
1905
2128
  computer_id?: string;
1906
2129
  subagent_model?: string | null;
1907
2130
  subagents?: Array<{
@@ -1994,6 +2217,7 @@ export declare function createAgent(transport: Transport): {
1994
2217
  allowManagedHooksOnly?: boolean;
1995
2218
  allowManagedMcpServersOnly?: boolean;
1996
2219
  allowManagedPermissionRulesOnly?: boolean;
2220
+ idleCompaction?: boolean;
1997
2221
  autoMemoryEnabled?: boolean;
1998
2222
  disabled?: {
1999
2223
  subagents?: Array<string>;
@@ -2002,7 +2226,6 @@ export declare function createAgent(transport: Transport): {
2002
2226
  mcpServers?: Array<string>;
2003
2227
  hooks?: Array<string>;
2004
2228
  };
2005
- idleCompaction?: boolean;
2006
2229
  outputStyle?: string;
2007
2230
  } | null;
2008
2231
  models?: {
@@ -2456,6 +2679,7 @@ export declare function createAgent(transport: Transport): {
2456
2679
  speed?: "standard" | "fast";
2457
2680
  settings?: {
2458
2681
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2682
+ max_output_tokens?: number;
2459
2683
  };
2460
2684
  };
2461
2685
  multiagent: null | Types.AgentManaged171;
@@ -2617,6 +2841,7 @@ export declare function createAgent(transport: Transport): {
2617
2841
  speed?: "standard" | "fast";
2618
2842
  settings?: {
2619
2843
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
2844
+ max_output_tokens?: number;
2620
2845
  };
2621
2846
  };
2622
2847
  multiagent: null | Types.AgentManaged171;
@@ -2703,7 +2928,6 @@ export declare function createAgent(transport: Transport): {
2703
2928
  run_id: string | null;
2704
2929
  message_id?: string;
2705
2930
  } | {
2706
- full_access_available?: boolean;
2707
2931
  id: string;
2708
2932
  input: Types.AgentManaged197;
2709
2933
  mcp_server_name: string;
@@ -2713,6 +2937,18 @@ export declare function createAgent(transport: Transport): {
2713
2937
  evaluated_permission?: "allow" | "deny" | "ask";
2714
2938
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2715
2939
  session_thread_id?: null | string;
2940
+ permission_suggestions?: Array<{
2941
+ type: "add_rules";
2942
+ behavior: "allow";
2943
+ destination: "agent" | "session";
2944
+ rules: Array<{
2945
+ tool_name: string;
2946
+ rule_content: string;
2947
+ }>;
2948
+ }>;
2949
+ full_access_available?: boolean;
2950
+ user_once?: true;
2951
+ guarded_rule?: string;
2716
2952
  run_id: string | null;
2717
2953
  _meta?: {
2718
2954
  ui?: {
@@ -2726,17 +2962,6 @@ export declare function createAgent(transport: Transport): {
2726
2962
  };
2727
2963
  source?: "app" | "codemode";
2728
2964
  parent_tool_use_id?: string;
2729
- user_once?: true;
2730
- guarded_rule?: string;
2731
- permission_suggestions?: Array<{
2732
- type: "add_rules";
2733
- behavior: "allow";
2734
- destination: "agent" | "session";
2735
- rules: Array<{
2736
- tool_name: string;
2737
- rule_content: string;
2738
- }>;
2739
- }>;
2740
2965
  title?: string;
2741
2966
  input_titles?: {
2742
2967
  [key: string]: string;
@@ -2755,7 +2980,6 @@ export declare function createAgent(transport: Transport): {
2755
2980
  };
2756
2981
  source?: "app" | "codemode";
2757
2982
  } | {
2758
- full_access_available?: boolean;
2759
2983
  id: string;
2760
2984
  input: Types.AgentManaged206;
2761
2985
  name: string;
@@ -2764,9 +2988,6 @@ export declare function createAgent(transport: Transport): {
2764
2988
  evaluated_permission?: "allow" | "deny" | "ask";
2765
2989
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
2766
2990
  session_thread_id?: null | string;
2767
- run_id: string | null;
2768
- user_once?: true;
2769
- guarded_rule?: string;
2770
2991
  permission_suggestions?: Array<{
2771
2992
  type: "add_rules";
2772
2993
  behavior: "allow";
@@ -2776,6 +2997,10 @@ export declare function createAgent(transport: Transport): {
2776
2997
  rule_content: string;
2777
2998
  }>;
2778
2999
  }>;
3000
+ full_access_available?: boolean;
3001
+ user_once?: true;
3002
+ guarded_rule?: string;
3003
+ run_id: string | null;
2779
3004
  } | {
2780
3005
  id: string;
2781
3006
  processed_at: string;
@@ -2796,9 +3021,6 @@ export declare function createAgent(transport: Transport): {
2796
3021
  type: "session.status_idle";
2797
3022
  run_id: string | null;
2798
3023
  } | 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 | {
2799
- permission_mode_version?: number;
2800
- previous_permission_mode?: string | null;
2801
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
2802
3024
  id: string;
2803
3025
  processed_at: string;
2804
3026
  type: "session.updated";
@@ -2806,6 +3028,9 @@ export declare function createAgent(transport: Transport): {
2806
3028
  budget?: null | Types.AgentManaged76;
2807
3029
  metadata?: Types.AgentManaged246;
2808
3030
  title?: null | string;
3031
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3032
+ previous_permission_mode?: string | null;
3033
+ permission_mode_version?: number;
2809
3034
  model?: {
2810
3035
  id: string;
2811
3036
  };
@@ -2966,6 +3191,7 @@ export declare function createAgent(transport: Transport): {
2966
3191
  speed?: "standard" | "fast";
2967
3192
  settings?: {
2968
3193
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3194
+ max_output_tokens?: number;
2969
3195
  };
2970
3196
  };
2971
3197
  multiagent: null | {
@@ -3461,6 +3687,7 @@ export declare function createAgent(transport: Transport): {
3461
3687
  speed?: "standard" | "fast";
3462
3688
  settings?: {
3463
3689
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3690
+ max_output_tokens?: number;
3464
3691
  };
3465
3692
  };
3466
3693
  multiagent: null | Types.AgentManaged171;
@@ -3552,6 +3779,7 @@ export declare function createAgent(transport: Transport): {
3552
3779
  speed?: "standard" | "fast";
3553
3780
  settings?: {
3554
3781
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
3782
+ max_output_tokens?: number;
3555
3783
  };
3556
3784
  };
3557
3785
  multiagent: null | Types.AgentManaged171;
@@ -3724,7 +3952,6 @@ export declare function createAgent(transport: Transport): {
3724
3952
  run_id: string | null;
3725
3953
  message_id?: string;
3726
3954
  } | {
3727
- full_access_available?: boolean;
3728
3955
  id: string;
3729
3956
  input: Types.AgentManaged197;
3730
3957
  mcp_server_name: string;
@@ -3734,6 +3961,18 @@ export declare function createAgent(transport: Transport): {
3734
3961
  evaluated_permission?: "allow" | "deny" | "ask";
3735
3962
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3736
3963
  session_thread_id?: null | string;
3964
+ permission_suggestions?: Array<{
3965
+ type: "add_rules";
3966
+ behavior: "allow";
3967
+ destination: "agent" | "session";
3968
+ rules: Array<{
3969
+ tool_name: string;
3970
+ rule_content: string;
3971
+ }>;
3972
+ }>;
3973
+ full_access_available?: boolean;
3974
+ user_once?: true;
3975
+ guarded_rule?: string;
3737
3976
  run_id: string | null;
3738
3977
  parent_tool_use_id?: string;
3739
3978
  _meta?: {
@@ -3747,17 +3986,6 @@ export declare function createAgent(transport: Transport): {
3747
3986
  };
3748
3987
  };
3749
3988
  source?: "app" | "codemode";
3750
- user_once?: true;
3751
- guarded_rule?: string;
3752
- permission_suggestions?: Array<{
3753
- type: "add_rules";
3754
- behavior: "allow";
3755
- destination: "agent" | "session";
3756
- rules: Array<{
3757
- tool_name: string;
3758
- rule_content: string;
3759
- }>;
3760
- }>;
3761
3989
  title?: string;
3762
3990
  input_titles?: {
3763
3991
  [key: string]: string;
@@ -3776,7 +4004,6 @@ export declare function createAgent(transport: Transport): {
3776
4004
  };
3777
4005
  source?: "app" | "codemode";
3778
4006
  } | {
3779
- full_access_available?: boolean;
3780
4007
  id: string;
3781
4008
  input: Types.AgentManaged206;
3782
4009
  name: string;
@@ -3785,9 +4012,6 @@ export declare function createAgent(transport: Transport): {
3785
4012
  evaluated_permission?: "allow" | "deny" | "ask";
3786
4013
  evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
3787
4014
  session_thread_id?: null | string;
3788
- run_id: string | null;
3789
- user_once?: true;
3790
- guarded_rule?: string;
3791
4015
  permission_suggestions?: Array<{
3792
4016
  type: "add_rules";
3793
4017
  behavior: "allow";
@@ -3797,6 +4021,10 @@ export declare function createAgent(transport: Transport): {
3797
4021
  rule_content: string;
3798
4022
  }>;
3799
4023
  }>;
4024
+ full_access_available?: boolean;
4025
+ user_once?: true;
4026
+ guarded_rule?: string;
4027
+ run_id: string | null;
3800
4028
  } | {
3801
4029
  id: string;
3802
4030
  processed_at: string;
@@ -3817,9 +4045,6 @@ export declare function createAgent(transport: Transport): {
3817
4045
  type: "session.status_idle";
3818
4046
  run_id: string | null;
3819
4047
  } | 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 | {
3820
- permission_mode_version?: number;
3821
- previous_permission_mode?: string | null;
3822
- permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
3823
4048
  id: string;
3824
4049
  processed_at: string;
3825
4050
  type: "session.updated";
@@ -3827,6 +4052,9 @@ export declare function createAgent(transport: Transport): {
3827
4052
  budget?: null | Types.AgentManaged76;
3828
4053
  metadata?: Types.AgentManaged246;
3829
4054
  title?: null | string;
4055
+ permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
4056
+ previous_permission_mode?: string | null;
4057
+ permission_mode_version?: number;
3830
4058
  model?: {
3831
4059
  id: string;
3832
4060
  };
@@ -3917,6 +4145,7 @@ export declare function createAgent(transport: Transport): {
3917
4145
  speed?: "standard" | "fast";
3918
4146
  settings?: {
3919
4147
  reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
4148
+ max_output_tokens?: number;
3920
4149
  };
3921
4150
  };
3922
4151
  multiagent: null | Types.AgentManaged171;
@@ -4617,6 +4846,7 @@ export declare function createDatabase(transport: Transport): {
4617
4846
  export declare function createDevops(transport: Transport): {
4618
4847
  changes: {
4619
4848
  abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
4849
+ gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
4620
4850
  markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
4621
4851
  openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
4622
4852
  retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;