@ai-matrx/desktop-protocol 0.14.0 → 0.16.0

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.
@@ -681,7 +681,7 @@ type OpSpec = {
681
681
  readonly params: z.ZodType;
682
682
  readonly result: z.ZodType;
683
683
  readonly kind: "unary" | "stream" | "resource";
684
- readonly since: "1.0" | "1.2" | "1.3";
684
+ readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5";
685
685
  readonly errors: readonly z.infer<typeof ErrorCode>[];
686
686
  };
687
687
  declare const OPS: {
@@ -1653,6 +1653,593 @@ declare const OPS: {
1653
1653
  readonly since: "1.3";
1654
1654
  readonly errors: readonly ["PLATFORM_UNSUPPORTED", "PAYLOAD_TOO_LARGE", "INTERNAL"];
1655
1655
  };
1656
+ readonly "fs.watch.start": {
1657
+ readonly params: z.ZodObject<{
1658
+ path: z.ZodString;
1659
+ recursive: z.ZodDefault<z.ZodBoolean>;
1660
+ ignore: z.ZodDefault<z.ZodArray<z.ZodString>>;
1661
+ }, z.core.$strict>;
1662
+ readonly result: z.ZodObject<{
1663
+ watch_id: z.ZodString;
1664
+ path: z.ZodString;
1665
+ expires_at_ms: z.ZodInt;
1666
+ }, z.core.$strict>;
1667
+ readonly kind: "unary";
1668
+ readonly since: "1.4";
1669
+ readonly errors: readonly ["NOT_FOUND", "PERMISSION_DENIED_OS", "INVALID_PARAMS", "RESOURCE_BUSY", "INTERNAL", "RATE_LIMITED"];
1670
+ };
1671
+ readonly "fs.watch.events": {
1672
+ readonly params: z.ZodObject<{
1673
+ watch_id: z.ZodString;
1674
+ wait_ms: z.ZodDefault<z.ZodInt>;
1675
+ }, z.core.$strict>;
1676
+ readonly result: z.ZodObject<{
1677
+ changes: z.ZodArray<z.ZodObject<{
1678
+ type: z.ZodEnum<{
1679
+ created: "created";
1680
+ deleted: "deleted";
1681
+ modified: "modified";
1682
+ moved: "moved";
1683
+ }>;
1684
+ path: z.ZodString;
1685
+ to_path: z.ZodOptional<z.ZodString>;
1686
+ kind: z.ZodEnum<{
1687
+ unknown: "unknown";
1688
+ file: "file";
1689
+ dir: "dir";
1690
+ symlink: "symlink";
1691
+ }>;
1692
+ }, z.core.$strict>>;
1693
+ overflow: z.ZodBoolean;
1694
+ expires_at_ms: z.ZodInt;
1695
+ }, z.core.$strict>;
1696
+ readonly kind: "unary";
1697
+ readonly since: "1.4";
1698
+ readonly errors: readonly ["RESOURCE_GONE", "INVALID_PARAMS", "INTERNAL"];
1699
+ };
1700
+ readonly "fs.watch.stop": {
1701
+ readonly params: z.ZodObject<{
1702
+ watch_id: z.ZodString;
1703
+ }, z.core.$strict>;
1704
+ readonly result: z.ZodObject<{
1705
+ watch_id: z.ZodString;
1706
+ }, z.core.$strict>;
1707
+ readonly kind: "unary";
1708
+ readonly since: "1.4";
1709
+ readonly errors: readonly ["RESOURCE_GONE", "INVALID_PARAMS"];
1710
+ };
1711
+ readonly "exec.job.start": {
1712
+ readonly params: z.ZodObject<{
1713
+ command: z.ZodString;
1714
+ cwd: z.ZodOptional<z.ZodString>;
1715
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1716
+ }, z.core.$strict>;
1717
+ readonly result: z.ZodObject<{
1718
+ job_id: z.ZodString;
1719
+ pid: z.ZodInt;
1720
+ cwd: z.ZodString;
1721
+ }, z.core.$strict>;
1722
+ readonly kind: "unary";
1723
+ readonly since: "1.4";
1724
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "RATE_LIMITED", "INTERNAL"];
1725
+ };
1726
+ readonly "exec.job.output": {
1727
+ readonly params: z.ZodObject<{
1728
+ job_id: z.ZodString;
1729
+ offset: z.ZodDefault<z.ZodInt>;
1730
+ wait_ms: z.ZodDefault<z.ZodInt>;
1731
+ max_bytes: z.ZodDefault<z.ZodInt>;
1732
+ }, z.core.$strict>;
1733
+ readonly result: z.ZodObject<{
1734
+ output: z.ZodString;
1735
+ next_offset: z.ZodInt;
1736
+ dropped_bytes: z.ZodInt;
1737
+ running: z.ZodBoolean;
1738
+ exit_code: z.ZodNullable<z.ZodInt>;
1739
+ }, z.core.$strict>;
1740
+ readonly kind: "unary";
1741
+ readonly since: "1.4";
1742
+ readonly errors: readonly ["RESOURCE_GONE", "INVALID_PARAMS"];
1743
+ };
1744
+ readonly "exec.job.stop": {
1745
+ readonly params: z.ZodObject<{
1746
+ job_id: z.ZodString;
1747
+ force: z.ZodDefault<z.ZodBoolean>;
1748
+ }, z.core.$strict>;
1749
+ readonly result: z.ZodObject<{
1750
+ job_id: z.ZodString;
1751
+ exited: z.ZodBoolean;
1752
+ exit_code: z.ZodNullable<z.ZodInt>;
1753
+ }, z.core.$strict>;
1754
+ readonly kind: "unary";
1755
+ readonly since: "1.4";
1756
+ readonly errors: readonly ["RESOURCE_GONE", "INVALID_PARAMS", "INTERNAL"];
1757
+ };
1758
+ readonly "exec.job.list": {
1759
+ readonly params: z.ZodObject<{}, z.core.$strict>;
1760
+ readonly result: z.ZodObject<{
1761
+ jobs: z.ZodArray<z.ZodObject<{
1762
+ job_id: z.ZodString;
1763
+ command: z.ZodString;
1764
+ pid: z.ZodInt;
1765
+ cwd: z.ZodString;
1766
+ running: z.ZodBoolean;
1767
+ exit_code: z.ZodNullable<z.ZodInt>;
1768
+ started_at_ms: z.ZodInt;
1769
+ output_bytes: z.ZodInt;
1770
+ }, z.core.$strict>>;
1771
+ }, z.core.$strict>;
1772
+ readonly kind: "unary";
1773
+ readonly since: "1.4";
1774
+ readonly errors: readonly ["INTERNAL"];
1775
+ };
1776
+ readonly "system.open_url": {
1777
+ readonly params: z.ZodObject<{
1778
+ url: z.ZodString;
1779
+ }, z.core.$strict>;
1780
+ readonly result: z.ZodObject<{
1781
+ url: z.ZodString;
1782
+ }, z.core.$strict>;
1783
+ readonly kind: "unary";
1784
+ readonly since: "1.4";
1785
+ readonly errors: readonly ["INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1786
+ };
1787
+ readonly "system.open_path": {
1788
+ readonly params: z.ZodObject<{
1789
+ path: z.ZodString;
1790
+ reveal: z.ZodDefault<z.ZodBoolean>;
1791
+ }, z.core.$strict>;
1792
+ readonly result: z.ZodObject<{
1793
+ path: z.ZodString;
1794
+ revealed: z.ZodBoolean;
1795
+ }, z.core.$strict>;
1796
+ readonly kind: "unary";
1797
+ readonly since: "1.4";
1798
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1799
+ };
1800
+ readonly "system.notify": {
1801
+ readonly params: z.ZodObject<{
1802
+ title: z.ZodString;
1803
+ body: z.ZodDefault<z.ZodString>;
1804
+ }, z.core.$strict>;
1805
+ readonly result: z.ZodObject<{
1806
+ shown: z.ZodBoolean;
1807
+ }, z.core.$strict>;
1808
+ readonly kind: "unary";
1809
+ readonly since: "1.4";
1810
+ readonly errors: readonly ["PERMISSION_DENIED_OS", "INTERNAL"];
1811
+ };
1812
+ readonly "screen.list": {
1813
+ readonly params: z.ZodObject<{}, z.core.$strict>;
1814
+ readonly result: z.ZodObject<{
1815
+ displays: z.ZodArray<z.ZodObject<{
1816
+ id: z.ZodInt;
1817
+ name: z.ZodString;
1818
+ x: z.ZodInt;
1819
+ y: z.ZodInt;
1820
+ width: z.ZodInt;
1821
+ height: z.ZodInt;
1822
+ scale: z.ZodNumber;
1823
+ primary: z.ZodBoolean;
1824
+ }, z.core.$strict>>;
1825
+ }, z.core.$strict>;
1826
+ readonly kind: "unary";
1827
+ readonly since: "1.4";
1828
+ readonly errors: readonly ["PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1829
+ };
1830
+ readonly "screen.capture": {
1831
+ readonly params: z.ZodObject<{
1832
+ display_id: z.ZodOptional<z.ZodInt>;
1833
+ format: z.ZodDefault<z.ZodEnum<{
1834
+ jpeg: "jpeg";
1835
+ png: "png";
1836
+ }>>;
1837
+ max_width: z.ZodDefault<z.ZodInt>;
1838
+ }, z.core.$strict>;
1839
+ readonly result: z.ZodObject<{
1840
+ display_id: z.ZodInt;
1841
+ mime_type: z.ZodEnum<{
1842
+ "image/jpeg": "image/jpeg";
1843
+ "image/png": "image/png";
1844
+ }>;
1845
+ width: z.ZodInt;
1846
+ height: z.ZodInt;
1847
+ source_width: z.ZodInt;
1848
+ source_height: z.ZodInt;
1849
+ data_base64: z.ZodString;
1850
+ }, z.core.$strict>;
1851
+ readonly kind: "unary";
1852
+ readonly since: "1.4";
1853
+ readonly errors: readonly ["NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "PAYLOAD_TOO_LARGE", "INTERNAL"];
1854
+ };
1855
+ readonly "window.list": {
1856
+ readonly params: z.ZodObject<{
1857
+ title: z.ZodOptional<z.ZodString>;
1858
+ limit: z.ZodDefault<z.ZodInt>;
1859
+ }, z.core.$strict>;
1860
+ readonly result: z.ZodObject<{
1861
+ windows: z.ZodArray<z.ZodObject<{
1862
+ id: z.ZodInt;
1863
+ title: z.ZodString;
1864
+ x: z.ZodInt;
1865
+ y: z.ZodInt;
1866
+ width: z.ZodInt;
1867
+ height: z.ZodInt;
1868
+ }, z.core.$strict>>;
1869
+ total: z.ZodInt;
1870
+ truncated: z.ZodBoolean;
1871
+ }, z.core.$strict>;
1872
+ readonly kind: "unary";
1873
+ readonly since: "1.4";
1874
+ readonly errors: readonly ["PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1875
+ };
1876
+ readonly "window.focus": {
1877
+ readonly params: z.ZodObject<{
1878
+ id: z.ZodInt;
1879
+ }, z.core.$strict>;
1880
+ readonly result: z.ZodObject<{
1881
+ window: z.ZodObject<{
1882
+ id: z.ZodInt;
1883
+ title: z.ZodString;
1884
+ x: z.ZodInt;
1885
+ y: z.ZodInt;
1886
+ width: z.ZodInt;
1887
+ height: z.ZodInt;
1888
+ }, z.core.$strict>;
1889
+ }, z.core.$strict>;
1890
+ readonly kind: "unary";
1891
+ readonly since: "1.4";
1892
+ readonly errors: readonly ["NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1893
+ };
1894
+ readonly "window.move": {
1895
+ readonly params: z.ZodObject<{
1896
+ id: z.ZodInt;
1897
+ x: z.ZodOptional<z.ZodInt>;
1898
+ y: z.ZodOptional<z.ZodInt>;
1899
+ width: z.ZodOptional<z.ZodInt>;
1900
+ height: z.ZodOptional<z.ZodInt>;
1901
+ }, z.core.$strict>;
1902
+ readonly result: z.ZodObject<{
1903
+ window: z.ZodObject<{
1904
+ id: z.ZodInt;
1905
+ title: z.ZodString;
1906
+ x: z.ZodInt;
1907
+ y: z.ZodInt;
1908
+ width: z.ZodInt;
1909
+ height: z.ZodInt;
1910
+ }, z.core.$strict>;
1911
+ }, z.core.$strict>;
1912
+ readonly kind: "unary";
1913
+ readonly since: "1.4";
1914
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1915
+ };
1916
+ readonly "window.minimize": {
1917
+ readonly params: z.ZodObject<{
1918
+ id: z.ZodInt;
1919
+ }, z.core.$strict>;
1920
+ readonly result: z.ZodObject<{
1921
+ id: z.ZodInt;
1922
+ }, z.core.$strict>;
1923
+ readonly kind: "unary";
1924
+ readonly since: "1.4";
1925
+ readonly errors: readonly ["NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1926
+ };
1927
+ readonly "input.type_text": {
1928
+ readonly params: z.ZodObject<{
1929
+ text: z.ZodString;
1930
+ }, z.core.$strict>;
1931
+ readonly result: z.ZodObject<{
1932
+ characters: z.ZodInt;
1933
+ }, z.core.$strict>;
1934
+ readonly kind: "unary";
1935
+ readonly since: "1.4";
1936
+ readonly errors: readonly ["PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1937
+ };
1938
+ readonly "input.hotkey": {
1939
+ readonly params: z.ZodObject<{
1940
+ keys: z.ZodArray<z.ZodEnum<{
1941
+ 0: "0";
1942
+ 1: "1";
1943
+ 2: "2";
1944
+ 3: "3";
1945
+ 4: "4";
1946
+ 5: "5";
1947
+ 6: "6";
1948
+ 7: "7";
1949
+ 8: "8";
1950
+ 9: "9";
1951
+ meta: "meta";
1952
+ end: "end";
1953
+ n: "n";
1954
+ home: "home";
1955
+ x: "x";
1956
+ y: "y";
1957
+ cmd: "cmd";
1958
+ ctrl: "ctrl";
1959
+ alt: "alt";
1960
+ shift: "shift";
1961
+ a: "a";
1962
+ b: "b";
1963
+ c: "c";
1964
+ d: "d";
1965
+ e: "e";
1966
+ f: "f";
1967
+ g: "g";
1968
+ h: "h";
1969
+ i: "i";
1970
+ j: "j";
1971
+ k: "k";
1972
+ l: "l";
1973
+ m: "m";
1974
+ o: "o";
1975
+ p: "p";
1976
+ q: "q";
1977
+ r: "r";
1978
+ s: "s";
1979
+ t: "t";
1980
+ u: "u";
1981
+ v: "v";
1982
+ w: "w";
1983
+ z: "z";
1984
+ f1: "f1";
1985
+ f2: "f2";
1986
+ f3: "f3";
1987
+ f4: "f4";
1988
+ f5: "f5";
1989
+ f6: "f6";
1990
+ f7: "f7";
1991
+ f8: "f8";
1992
+ f9: "f9";
1993
+ f10: "f10";
1994
+ f11: "f11";
1995
+ f12: "f12";
1996
+ enter: "enter";
1997
+ tab: "tab";
1998
+ escape: "escape";
1999
+ space: "space";
2000
+ backspace: "backspace";
2001
+ delete: "delete";
2002
+ up: "up";
2003
+ down: "down";
2004
+ left: "left";
2005
+ right: "right";
2006
+ pageup: "pageup";
2007
+ pagedown: "pagedown";
2008
+ minus: "minus";
2009
+ equal: "equal";
2010
+ comma: "comma";
2011
+ period: "period";
2012
+ slash: "slash";
2013
+ semicolon: "semicolon";
2014
+ quote: "quote";
2015
+ bracketleft: "bracketleft";
2016
+ bracketright: "bracketright";
2017
+ backslash: "backslash";
2018
+ grave: "grave";
2019
+ }>>;
2020
+ }, z.core.$strict>;
2021
+ readonly result: z.ZodObject<{
2022
+ keys: z.ZodArray<z.ZodEnum<{
2023
+ 0: "0";
2024
+ 1: "1";
2025
+ 2: "2";
2026
+ 3: "3";
2027
+ 4: "4";
2028
+ 5: "5";
2029
+ 6: "6";
2030
+ 7: "7";
2031
+ 8: "8";
2032
+ 9: "9";
2033
+ meta: "meta";
2034
+ end: "end";
2035
+ n: "n";
2036
+ home: "home";
2037
+ x: "x";
2038
+ y: "y";
2039
+ cmd: "cmd";
2040
+ ctrl: "ctrl";
2041
+ alt: "alt";
2042
+ shift: "shift";
2043
+ a: "a";
2044
+ b: "b";
2045
+ c: "c";
2046
+ d: "d";
2047
+ e: "e";
2048
+ f: "f";
2049
+ g: "g";
2050
+ h: "h";
2051
+ i: "i";
2052
+ j: "j";
2053
+ k: "k";
2054
+ l: "l";
2055
+ m: "m";
2056
+ o: "o";
2057
+ p: "p";
2058
+ q: "q";
2059
+ r: "r";
2060
+ s: "s";
2061
+ t: "t";
2062
+ u: "u";
2063
+ v: "v";
2064
+ w: "w";
2065
+ z: "z";
2066
+ f1: "f1";
2067
+ f2: "f2";
2068
+ f3: "f3";
2069
+ f4: "f4";
2070
+ f5: "f5";
2071
+ f6: "f6";
2072
+ f7: "f7";
2073
+ f8: "f8";
2074
+ f9: "f9";
2075
+ f10: "f10";
2076
+ f11: "f11";
2077
+ f12: "f12";
2078
+ enter: "enter";
2079
+ tab: "tab";
2080
+ escape: "escape";
2081
+ space: "space";
2082
+ backspace: "backspace";
2083
+ delete: "delete";
2084
+ up: "up";
2085
+ down: "down";
2086
+ left: "left";
2087
+ right: "right";
2088
+ pageup: "pageup";
2089
+ pagedown: "pagedown";
2090
+ minus: "minus";
2091
+ equal: "equal";
2092
+ comma: "comma";
2093
+ period: "period";
2094
+ slash: "slash";
2095
+ semicolon: "semicolon";
2096
+ quote: "quote";
2097
+ bracketleft: "bracketleft";
2098
+ bracketright: "bracketright";
2099
+ backslash: "backslash";
2100
+ grave: "grave";
2101
+ }>>;
2102
+ }, z.core.$strict>;
2103
+ readonly kind: "unary";
2104
+ readonly since: "1.4";
2105
+ readonly errors: readonly ["INVALID_PARAMS", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2106
+ };
2107
+ readonly "input.mouse_move": {
2108
+ readonly params: z.ZodObject<{
2109
+ x: z.ZodInt;
2110
+ y: z.ZodInt;
2111
+ }, z.core.$strict>;
2112
+ readonly result: z.ZodObject<{
2113
+ position: z.ZodObject<{
2114
+ x: z.ZodInt;
2115
+ y: z.ZodInt;
2116
+ }, z.core.$strict>;
2117
+ }, z.core.$strict>;
2118
+ readonly kind: "unary";
2119
+ readonly since: "1.4";
2120
+ readonly errors: readonly ["PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2121
+ };
2122
+ readonly "input.mouse_click": {
2123
+ readonly params: z.ZodObject<{
2124
+ x: z.ZodOptional<z.ZodInt>;
2125
+ y: z.ZodOptional<z.ZodInt>;
2126
+ button: z.ZodDefault<z.ZodEnum<{
2127
+ left: "left";
2128
+ right: "right";
2129
+ middle: "middle";
2130
+ }>>;
2131
+ double: z.ZodDefault<z.ZodBoolean>;
2132
+ }, z.core.$strict>;
2133
+ readonly result: z.ZodObject<{
2134
+ position: z.ZodObject<{
2135
+ x: z.ZodInt;
2136
+ y: z.ZodInt;
2137
+ }, z.core.$strict>;
2138
+ button: z.ZodEnum<{
2139
+ left: "left";
2140
+ right: "right";
2141
+ middle: "middle";
2142
+ }>;
2143
+ double: z.ZodBoolean;
2144
+ }, z.core.$strict>;
2145
+ readonly kind: "unary";
2146
+ readonly since: "1.4";
2147
+ readonly errors: readonly ["INVALID_PARAMS", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2148
+ };
2149
+ readonly "power.status": {
2150
+ readonly params: z.ZodObject<{}, z.core.$strict>;
2151
+ readonly result: z.ZodObject<{
2152
+ has_battery: z.ZodBoolean;
2153
+ percent: z.ZodNullable<z.ZodNumber>;
2154
+ charging: z.ZodNullable<z.ZodBoolean>;
2155
+ plugged_in: z.ZodNullable<z.ZodBoolean>;
2156
+ minutes_left: z.ZodNullable<z.ZodInt>;
2157
+ awake_until_ms: z.ZodNullable<z.ZodInt>;
2158
+ }, z.core.$strict>;
2159
+ readonly kind: "unary";
2160
+ readonly since: "1.4";
2161
+ readonly errors: readonly ["INTERNAL"];
2162
+ };
2163
+ readonly "power.prevent_sleep": {
2164
+ readonly params: z.ZodObject<{
2165
+ seconds: z.ZodInt;
2166
+ reason: z.ZodDefault<z.ZodString>;
2167
+ }, z.core.$strict>;
2168
+ readonly result: z.ZodObject<{
2169
+ awake_until_ms: z.ZodNullable<z.ZodInt>;
2170
+ }, z.core.$strict>;
2171
+ readonly kind: "unary";
2172
+ readonly since: "1.4";
2173
+ readonly errors: readonly ["PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2174
+ };
2175
+ readonly "resources.snapshot": {
2176
+ readonly params: z.ZodObject<{}, z.core.$strict>;
2177
+ readonly result: z.ZodObject<{
2178
+ cpu: z.ZodObject<{
2179
+ percent: z.ZodNumber;
2180
+ cores: z.ZodInt;
2181
+ load: z.ZodNullable<z.ZodArray<z.ZodNumber>>;
2182
+ }, z.core.$strict>;
2183
+ memory: z.ZodObject<{
2184
+ total_bytes: z.ZodInt;
2185
+ used_bytes: z.ZodInt;
2186
+ available_bytes: z.ZodInt;
2187
+ }, z.core.$strict>;
2188
+ swap: z.ZodObject<{
2189
+ total_bytes: z.ZodInt;
2190
+ used_bytes: z.ZodInt;
2191
+ }, z.core.$strict>;
2192
+ disks: z.ZodArray<z.ZodObject<{
2193
+ mount: z.ZodString;
2194
+ fs: z.ZodString;
2195
+ size_bytes: z.ZodInt;
2196
+ used_bytes: z.ZodInt;
2197
+ available_bytes: z.ZodInt;
2198
+ }, z.core.$strict>>;
2199
+ uptime_seconds: z.ZodInt;
2200
+ }, z.core.$strict>;
2201
+ readonly kind: "unary";
2202
+ readonly since: "1.4";
2203
+ readonly errors: readonly ["INTERNAL"];
2204
+ };
2205
+ readonly "coding.history.import_missing": {
2206
+ readonly params: z.ZodObject<{}, z.core.$strict>;
2207
+ readonly result: z.ZodObject<{
2208
+ state: z.ZodEnum<{
2209
+ cancelled: "cancelled";
2210
+ blocked: "blocked";
2211
+ done: "done";
2212
+ }>;
2213
+ blocked: z.ZodNullable<z.ZodEnum<{
2214
+ signed_out: "signed_out";
2215
+ offline: "offline";
2216
+ organization_required: "organization_required";
2217
+ claude_unavailable: "claude_unavailable";
2218
+ cloud_list_unavailable: "cloud_list_unavailable";
2219
+ history_too_large: "history_too_large";
2220
+ }>>;
2221
+ run: z.ZodObject<{
2222
+ local_sessions: z.ZodInt;
2223
+ in_cloud: z.ZodInt;
2224
+ missing: z.ZodInt;
2225
+ behind: z.ZodInt;
2226
+ too_large: z.ZodInt;
2227
+ imported: z.ZodInt;
2228
+ changed: z.ZodInt;
2229
+ failed: z.ZodInt;
2230
+ failures: z.ZodArray<z.ZodObject<{
2231
+ session_id: z.ZodString;
2232
+ reason: z.ZodString;
2233
+ }, z.core.$strict>>;
2234
+ remaining: z.ZodInt;
2235
+ summary: z.ZodString;
2236
+ }, z.core.$strict>;
2237
+ elapsed_ms: z.ZodInt;
2238
+ }, z.core.$strict>;
2239
+ readonly kind: "unary";
2240
+ readonly since: "1.5";
2241
+ readonly errors: readonly ["RESOURCE_BUSY", "RESOURCE_GONE", "CANCELLED", "INTERNAL"];
2242
+ };
1656
2243
  };
1657
2244
  type OpName = keyof typeof OPS;
1658
2245
  type OpParams<N extends OpName> = z.input<(typeof OPS)[N]["params"]>;
@@ -1729,6 +2316,17 @@ declare const EVENTS: {
1729
2316
  }, z.core.$strict>>;
1730
2317
  }, z.core.$strict>;
1731
2318
  }, z.core.$strict>;
2319
+ readonly "coding.history.progress": z.ZodObject<{
2320
+ request_id: z.ZodString;
2321
+ phase: z.ZodEnum<{
2322
+ checking: "checking";
2323
+ importing: "importing";
2324
+ }>;
2325
+ done: z.ZodInt;
2326
+ total: z.ZodInt;
2327
+ imported: z.ZodInt;
2328
+ failed: z.ZodInt;
2329
+ }, z.core.$strict>;
1732
2330
  readonly "relay.device_status": z.ZodObject<{
1733
2331
  online: z.ZodBoolean;
1734
2332
  since_ms: z.ZodNullable<z.ZodInt>;
@@ -1877,6 +2475,93 @@ declare const SERVICES: {
1877
2475
  };
1878
2476
  };
1879
2477
  };
2478
+ readonly coding: {
2479
+ readonly progress: z.ZodObject<{
2480
+ phase: z.ZodEnum<{
2481
+ checking: "checking";
2482
+ importing: "importing";
2483
+ }>;
2484
+ done: z.ZodInt;
2485
+ total: z.ZodInt;
2486
+ }, z.core.$strict>;
2487
+ readonly ops: {
2488
+ readonly "coding.plan_missing": {
2489
+ readonly params: z.ZodObject<{
2490
+ credentials: z.ZodObject<{
2491
+ access_token: z.ZodString;
2492
+ user_id: z.ZodString;
2493
+ server_url: z.ZodString;
2494
+ }, z.core.$strict>;
2495
+ }, z.core.$strict>;
2496
+ readonly result: z.ZodObject<{
2497
+ plan_id: z.ZodNullable<z.ZodString>;
2498
+ finished: z.ZodBoolean;
2499
+ blocked: z.ZodNullable<z.ZodEnum<{
2500
+ signed_out: "signed_out";
2501
+ offline: "offline";
2502
+ organization_required: "organization_required";
2503
+ claude_unavailable: "claude_unavailable";
2504
+ cloud_list_unavailable: "cloud_list_unavailable";
2505
+ history_too_large: "history_too_large";
2506
+ }>>;
2507
+ run: z.ZodObject<{
2508
+ local_sessions: z.ZodInt;
2509
+ in_cloud: z.ZodInt;
2510
+ missing: z.ZodInt;
2511
+ behind: z.ZodInt;
2512
+ too_large: z.ZodInt;
2513
+ imported: z.ZodInt;
2514
+ changed: z.ZodInt;
2515
+ failed: z.ZodInt;
2516
+ failures: z.ZodArray<z.ZodObject<{
2517
+ session_id: z.ZodString;
2518
+ reason: z.ZodString;
2519
+ }, z.core.$strict>>;
2520
+ remaining: z.ZodInt;
2521
+ summary: z.ZodString;
2522
+ }, z.core.$strict>;
2523
+ }, z.core.$strict>;
2524
+ };
2525
+ readonly "coding.import_next": {
2526
+ readonly params: z.ZodObject<{
2527
+ plan_id: z.ZodString;
2528
+ credentials: z.ZodObject<{
2529
+ access_token: z.ZodString;
2530
+ user_id: z.ZodString;
2531
+ server_url: z.ZodString;
2532
+ }, z.core.$strict>;
2533
+ }, z.core.$strict>;
2534
+ readonly result: z.ZodObject<{
2535
+ plan_id: z.ZodNullable<z.ZodString>;
2536
+ finished: z.ZodBoolean;
2537
+ blocked: z.ZodNullable<z.ZodEnum<{
2538
+ signed_out: "signed_out";
2539
+ offline: "offline";
2540
+ organization_required: "organization_required";
2541
+ claude_unavailable: "claude_unavailable";
2542
+ cloud_list_unavailable: "cloud_list_unavailable";
2543
+ history_too_large: "history_too_large";
2544
+ }>>;
2545
+ run: z.ZodObject<{
2546
+ local_sessions: z.ZodInt;
2547
+ in_cloud: z.ZodInt;
2548
+ missing: z.ZodInt;
2549
+ behind: z.ZodInt;
2550
+ too_large: z.ZodInt;
2551
+ imported: z.ZodInt;
2552
+ changed: z.ZodInt;
2553
+ failed: z.ZodInt;
2554
+ failures: z.ZodArray<z.ZodObject<{
2555
+ session_id: z.ZodString;
2556
+ reason: z.ZodString;
2557
+ }, z.core.$strict>>;
2558
+ remaining: z.ZodInt;
2559
+ summary: z.ZodString;
2560
+ }, z.core.$strict>;
2561
+ }, z.core.$strict>;
2562
+ };
2563
+ };
2564
+ };
1880
2565
  };
1881
2566
  type ServiceId = keyof typeof SERVICES;
1882
2567
  type ServiceOpName<S extends ServiceId> = keyof (typeof SERVICES)[S]["ops"] & string;
@@ -3237,8 +3922,137 @@ declare const NAMED_SCHEMAS: {
3237
3922
  }, z.core.$strict>>;
3238
3923
  }, z.core.$strict>;
3239
3924
  }, z.core.$strict>;
3925
+ readonly CodingServiceCredentials: z.ZodObject<{
3926
+ access_token: z.ZodString;
3927
+ user_id: z.ZodString;
3928
+ server_url: z.ZodString;
3929
+ }, z.core.$strict>;
3930
+ readonly CodingHistoryBlocked: z.ZodEnum<{
3931
+ signed_out: "signed_out";
3932
+ offline: "offline";
3933
+ organization_required: "organization_required";
3934
+ claude_unavailable: "claude_unavailable";
3935
+ cloud_list_unavailable: "cloud_list_unavailable";
3936
+ history_too_large: "history_too_large";
3937
+ }>;
3938
+ readonly CodingHistoryFailure: z.ZodObject<{
3939
+ session_id: z.ZodString;
3940
+ reason: z.ZodString;
3941
+ }, z.core.$strict>;
3942
+ readonly CodingHistoryRun: z.ZodObject<{
3943
+ local_sessions: z.ZodInt;
3944
+ in_cloud: z.ZodInt;
3945
+ missing: z.ZodInt;
3946
+ behind: z.ZodInt;
3947
+ too_large: z.ZodInt;
3948
+ imported: z.ZodInt;
3949
+ changed: z.ZodInt;
3950
+ failed: z.ZodInt;
3951
+ failures: z.ZodArray<z.ZodObject<{
3952
+ session_id: z.ZodString;
3953
+ reason: z.ZodString;
3954
+ }, z.core.$strict>>;
3955
+ remaining: z.ZodInt;
3956
+ summary: z.ZodString;
3957
+ }, z.core.$strict>;
3958
+ readonly CodingHistoryStep: z.ZodObject<{
3959
+ plan_id: z.ZodNullable<z.ZodString>;
3960
+ finished: z.ZodBoolean;
3961
+ blocked: z.ZodNullable<z.ZodEnum<{
3962
+ signed_out: "signed_out";
3963
+ offline: "offline";
3964
+ organization_required: "organization_required";
3965
+ claude_unavailable: "claude_unavailable";
3966
+ cloud_list_unavailable: "cloud_list_unavailable";
3967
+ history_too_large: "history_too_large";
3968
+ }>>;
3969
+ run: z.ZodObject<{
3970
+ local_sessions: z.ZodInt;
3971
+ in_cloud: z.ZodInt;
3972
+ missing: z.ZodInt;
3973
+ behind: z.ZodInt;
3974
+ too_large: z.ZodInt;
3975
+ imported: z.ZodInt;
3976
+ changed: z.ZodInt;
3977
+ failed: z.ZodInt;
3978
+ failures: z.ZodArray<z.ZodObject<{
3979
+ session_id: z.ZodString;
3980
+ reason: z.ZodString;
3981
+ }, z.core.$strict>>;
3982
+ remaining: z.ZodInt;
3983
+ summary: z.ZodString;
3984
+ }, z.core.$strict>;
3985
+ }, z.core.$strict>;
3986
+ readonly CodingPlanMissingParams: z.ZodObject<{
3987
+ credentials: z.ZodObject<{
3988
+ access_token: z.ZodString;
3989
+ user_id: z.ZodString;
3990
+ server_url: z.ZodString;
3991
+ }, z.core.$strict>;
3992
+ }, z.core.$strict>;
3993
+ readonly CodingImportNextParams: z.ZodObject<{
3994
+ plan_id: z.ZodString;
3995
+ credentials: z.ZodObject<{
3996
+ access_token: z.ZodString;
3997
+ user_id: z.ZodString;
3998
+ server_url: z.ZodString;
3999
+ }, z.core.$strict>;
4000
+ }, z.core.$strict>;
4001
+ readonly CodingServiceProgress: z.ZodObject<{
4002
+ phase: z.ZodEnum<{
4003
+ checking: "checking";
4004
+ importing: "importing";
4005
+ }>;
4006
+ done: z.ZodInt;
4007
+ total: z.ZodInt;
4008
+ }, z.core.$strict>;
4009
+ readonly CodingHistoryImportMissingParams: z.ZodObject<{}, z.core.$strict>;
4010
+ readonly CodingHistoryImportMissingResult: z.ZodObject<{
4011
+ state: z.ZodEnum<{
4012
+ cancelled: "cancelled";
4013
+ blocked: "blocked";
4014
+ done: "done";
4015
+ }>;
4016
+ blocked: z.ZodNullable<z.ZodEnum<{
4017
+ signed_out: "signed_out";
4018
+ offline: "offline";
4019
+ organization_required: "organization_required";
4020
+ claude_unavailable: "claude_unavailable";
4021
+ cloud_list_unavailable: "cloud_list_unavailable";
4022
+ history_too_large: "history_too_large";
4023
+ }>>;
4024
+ run: z.ZodObject<{
4025
+ local_sessions: z.ZodInt;
4026
+ in_cloud: z.ZodInt;
4027
+ missing: z.ZodInt;
4028
+ behind: z.ZodInt;
4029
+ too_large: z.ZodInt;
4030
+ imported: z.ZodInt;
4031
+ changed: z.ZodInt;
4032
+ failed: z.ZodInt;
4033
+ failures: z.ZodArray<z.ZodObject<{
4034
+ session_id: z.ZodString;
4035
+ reason: z.ZodString;
4036
+ }, z.core.$strict>>;
4037
+ remaining: z.ZodInt;
4038
+ summary: z.ZodString;
4039
+ }, z.core.$strict>;
4040
+ elapsed_ms: z.ZodInt;
4041
+ }, z.core.$strict>;
4042
+ readonly CodingHistoryProgressEvent: z.ZodObject<{
4043
+ request_id: z.ZodString;
4044
+ phase: z.ZodEnum<{
4045
+ checking: "checking";
4046
+ importing: "importing";
4047
+ }>;
4048
+ done: z.ZodInt;
4049
+ total: z.ZodInt;
4050
+ imported: z.ZodInt;
4051
+ failed: z.ZodInt;
4052
+ }, z.core.$strict>;
3240
4053
  readonly ServiceName: z.ZodEnum<{
3241
4054
  ml: "ml";
4055
+ coding: "coding";
3242
4056
  }>;
3243
4057
  readonly ContractHash: z.ZodString;
3244
4058
  readonly ServiceToken: z.ZodString;
@@ -3251,6 +4065,7 @@ declare const NAMED_SCHEMAS: {
3251
4065
  type: z.ZodLiteral<"welcome">;
3252
4066
  service: z.ZodEnum<{
3253
4067
  ml: "ml";
4068
+ coding: "coding";
3254
4069
  }>;
3255
4070
  contract: z.ZodString;
3256
4071
  pid: z.ZodInt;
@@ -3381,6 +4196,7 @@ declare const NAMED_SCHEMAS: {
3381
4196
  type: z.ZodLiteral<"welcome">;
3382
4197
  service: z.ZodEnum<{
3383
4198
  ml: "ml";
4199
+ coding: "coding";
3384
4200
  }>;
3385
4201
  contract: z.ZodString;
3386
4202
  pid: z.ZodInt;
@@ -3674,6 +4490,561 @@ declare const NAMED_SCHEMAS: {
3674
4490
  readonly ClipboardWriteResult: z.ZodObject<{
3675
4491
  bytes: z.ZodInt;
3676
4492
  }, z.core.$strict>;
4493
+ readonly SystemOpenUrlParams: z.ZodObject<{
4494
+ url: z.ZodString;
4495
+ }, z.core.$strict>;
4496
+ readonly SystemOpenUrlResult: z.ZodObject<{
4497
+ url: z.ZodString;
4498
+ }, z.core.$strict>;
4499
+ readonly SystemOpenPathParams: z.ZodObject<{
4500
+ path: z.ZodString;
4501
+ reveal: z.ZodDefault<z.ZodBoolean>;
4502
+ }, z.core.$strict>;
4503
+ readonly SystemOpenPathResult: z.ZodObject<{
4504
+ path: z.ZodString;
4505
+ revealed: z.ZodBoolean;
4506
+ }, z.core.$strict>;
4507
+ readonly SystemNotifyParams: z.ZodObject<{
4508
+ title: z.ZodString;
4509
+ body: z.ZodDefault<z.ZodString>;
4510
+ }, z.core.$strict>;
4511
+ readonly SystemNotifyResult: z.ZodObject<{
4512
+ shown: z.ZodBoolean;
4513
+ }, z.core.$strict>;
4514
+ readonly ScreenDisplay: z.ZodObject<{
4515
+ id: z.ZodInt;
4516
+ name: z.ZodString;
4517
+ x: z.ZodInt;
4518
+ y: z.ZodInt;
4519
+ width: z.ZodInt;
4520
+ height: z.ZodInt;
4521
+ scale: z.ZodNumber;
4522
+ primary: z.ZodBoolean;
4523
+ }, z.core.$strict>;
4524
+ readonly ScreenListParams: z.ZodObject<{}, z.core.$strict>;
4525
+ readonly ScreenListResult: z.ZodObject<{
4526
+ displays: z.ZodArray<z.ZodObject<{
4527
+ id: z.ZodInt;
4528
+ name: z.ZodString;
4529
+ x: z.ZodInt;
4530
+ y: z.ZodInt;
4531
+ width: z.ZodInt;
4532
+ height: z.ZodInt;
4533
+ scale: z.ZodNumber;
4534
+ primary: z.ZodBoolean;
4535
+ }, z.core.$strict>>;
4536
+ }, z.core.$strict>;
4537
+ readonly ScreenCaptureParams: z.ZodObject<{
4538
+ display_id: z.ZodOptional<z.ZodInt>;
4539
+ format: z.ZodDefault<z.ZodEnum<{
4540
+ jpeg: "jpeg";
4541
+ png: "png";
4542
+ }>>;
4543
+ max_width: z.ZodDefault<z.ZodInt>;
4544
+ }, z.core.$strict>;
4545
+ readonly ScreenCaptureResult: z.ZodObject<{
4546
+ display_id: z.ZodInt;
4547
+ mime_type: z.ZodEnum<{
4548
+ "image/jpeg": "image/jpeg";
4549
+ "image/png": "image/png";
4550
+ }>;
4551
+ width: z.ZodInt;
4552
+ height: z.ZodInt;
4553
+ source_width: z.ZodInt;
4554
+ source_height: z.ZodInt;
4555
+ data_base64: z.ZodString;
4556
+ }, z.core.$strict>;
4557
+ readonly WindowInfo: z.ZodObject<{
4558
+ id: z.ZodInt;
4559
+ title: z.ZodString;
4560
+ x: z.ZodInt;
4561
+ y: z.ZodInt;
4562
+ width: z.ZodInt;
4563
+ height: z.ZodInt;
4564
+ }, z.core.$strict>;
4565
+ readonly WindowListParams: z.ZodObject<{
4566
+ title: z.ZodOptional<z.ZodString>;
4567
+ limit: z.ZodDefault<z.ZodInt>;
4568
+ }, z.core.$strict>;
4569
+ readonly WindowListResult: z.ZodObject<{
4570
+ windows: z.ZodArray<z.ZodObject<{
4571
+ id: z.ZodInt;
4572
+ title: z.ZodString;
4573
+ x: z.ZodInt;
4574
+ y: z.ZodInt;
4575
+ width: z.ZodInt;
4576
+ height: z.ZodInt;
4577
+ }, z.core.$strict>>;
4578
+ total: z.ZodInt;
4579
+ truncated: z.ZodBoolean;
4580
+ }, z.core.$strict>;
4581
+ readonly WindowFocusParams: z.ZodObject<{
4582
+ id: z.ZodInt;
4583
+ }, z.core.$strict>;
4584
+ readonly WindowFocusResult: z.ZodObject<{
4585
+ window: z.ZodObject<{
4586
+ id: z.ZodInt;
4587
+ title: z.ZodString;
4588
+ x: z.ZodInt;
4589
+ y: z.ZodInt;
4590
+ width: z.ZodInt;
4591
+ height: z.ZodInt;
4592
+ }, z.core.$strict>;
4593
+ }, z.core.$strict>;
4594
+ readonly WindowMoveParams: z.ZodObject<{
4595
+ id: z.ZodInt;
4596
+ x: z.ZodOptional<z.ZodInt>;
4597
+ y: z.ZodOptional<z.ZodInt>;
4598
+ width: z.ZodOptional<z.ZodInt>;
4599
+ height: z.ZodOptional<z.ZodInt>;
4600
+ }, z.core.$strict>;
4601
+ readonly WindowMoveResult: z.ZodObject<{
4602
+ window: z.ZodObject<{
4603
+ id: z.ZodInt;
4604
+ title: z.ZodString;
4605
+ x: z.ZodInt;
4606
+ y: z.ZodInt;
4607
+ width: z.ZodInt;
4608
+ height: z.ZodInt;
4609
+ }, z.core.$strict>;
4610
+ }, z.core.$strict>;
4611
+ readonly WindowMinimizeParams: z.ZodObject<{
4612
+ id: z.ZodInt;
4613
+ }, z.core.$strict>;
4614
+ readonly WindowMinimizeResult: z.ZodObject<{
4615
+ id: z.ZodInt;
4616
+ }, z.core.$strict>;
4617
+ readonly InputKey: z.ZodEnum<{
4618
+ 0: "0";
4619
+ 1: "1";
4620
+ 2: "2";
4621
+ 3: "3";
4622
+ 4: "4";
4623
+ 5: "5";
4624
+ 6: "6";
4625
+ 7: "7";
4626
+ 8: "8";
4627
+ 9: "9";
4628
+ meta: "meta";
4629
+ end: "end";
4630
+ n: "n";
4631
+ home: "home";
4632
+ x: "x";
4633
+ y: "y";
4634
+ cmd: "cmd";
4635
+ ctrl: "ctrl";
4636
+ alt: "alt";
4637
+ shift: "shift";
4638
+ a: "a";
4639
+ b: "b";
4640
+ c: "c";
4641
+ d: "d";
4642
+ e: "e";
4643
+ f: "f";
4644
+ g: "g";
4645
+ h: "h";
4646
+ i: "i";
4647
+ j: "j";
4648
+ k: "k";
4649
+ l: "l";
4650
+ m: "m";
4651
+ o: "o";
4652
+ p: "p";
4653
+ q: "q";
4654
+ r: "r";
4655
+ s: "s";
4656
+ t: "t";
4657
+ u: "u";
4658
+ v: "v";
4659
+ w: "w";
4660
+ z: "z";
4661
+ f1: "f1";
4662
+ f2: "f2";
4663
+ f3: "f3";
4664
+ f4: "f4";
4665
+ f5: "f5";
4666
+ f6: "f6";
4667
+ f7: "f7";
4668
+ f8: "f8";
4669
+ f9: "f9";
4670
+ f10: "f10";
4671
+ f11: "f11";
4672
+ f12: "f12";
4673
+ enter: "enter";
4674
+ tab: "tab";
4675
+ escape: "escape";
4676
+ space: "space";
4677
+ backspace: "backspace";
4678
+ delete: "delete";
4679
+ up: "up";
4680
+ down: "down";
4681
+ left: "left";
4682
+ right: "right";
4683
+ pageup: "pageup";
4684
+ pagedown: "pagedown";
4685
+ minus: "minus";
4686
+ equal: "equal";
4687
+ comma: "comma";
4688
+ period: "period";
4689
+ slash: "slash";
4690
+ semicolon: "semicolon";
4691
+ quote: "quote";
4692
+ bracketleft: "bracketleft";
4693
+ bracketright: "bracketright";
4694
+ backslash: "backslash";
4695
+ grave: "grave";
4696
+ }>;
4697
+ readonly InputPoint: z.ZodObject<{
4698
+ x: z.ZodInt;
4699
+ y: z.ZodInt;
4700
+ }, z.core.$strict>;
4701
+ readonly InputTypeTextParams: z.ZodObject<{
4702
+ text: z.ZodString;
4703
+ }, z.core.$strict>;
4704
+ readonly InputTypeTextResult: z.ZodObject<{
4705
+ characters: z.ZodInt;
4706
+ }, z.core.$strict>;
4707
+ readonly InputHotkeyParams: z.ZodObject<{
4708
+ keys: z.ZodArray<z.ZodEnum<{
4709
+ 0: "0";
4710
+ 1: "1";
4711
+ 2: "2";
4712
+ 3: "3";
4713
+ 4: "4";
4714
+ 5: "5";
4715
+ 6: "6";
4716
+ 7: "7";
4717
+ 8: "8";
4718
+ 9: "9";
4719
+ meta: "meta";
4720
+ end: "end";
4721
+ n: "n";
4722
+ home: "home";
4723
+ x: "x";
4724
+ y: "y";
4725
+ cmd: "cmd";
4726
+ ctrl: "ctrl";
4727
+ alt: "alt";
4728
+ shift: "shift";
4729
+ a: "a";
4730
+ b: "b";
4731
+ c: "c";
4732
+ d: "d";
4733
+ e: "e";
4734
+ f: "f";
4735
+ g: "g";
4736
+ h: "h";
4737
+ i: "i";
4738
+ j: "j";
4739
+ k: "k";
4740
+ l: "l";
4741
+ m: "m";
4742
+ o: "o";
4743
+ p: "p";
4744
+ q: "q";
4745
+ r: "r";
4746
+ s: "s";
4747
+ t: "t";
4748
+ u: "u";
4749
+ v: "v";
4750
+ w: "w";
4751
+ z: "z";
4752
+ f1: "f1";
4753
+ f2: "f2";
4754
+ f3: "f3";
4755
+ f4: "f4";
4756
+ f5: "f5";
4757
+ f6: "f6";
4758
+ f7: "f7";
4759
+ f8: "f8";
4760
+ f9: "f9";
4761
+ f10: "f10";
4762
+ f11: "f11";
4763
+ f12: "f12";
4764
+ enter: "enter";
4765
+ tab: "tab";
4766
+ escape: "escape";
4767
+ space: "space";
4768
+ backspace: "backspace";
4769
+ delete: "delete";
4770
+ up: "up";
4771
+ down: "down";
4772
+ left: "left";
4773
+ right: "right";
4774
+ pageup: "pageup";
4775
+ pagedown: "pagedown";
4776
+ minus: "minus";
4777
+ equal: "equal";
4778
+ comma: "comma";
4779
+ period: "period";
4780
+ slash: "slash";
4781
+ semicolon: "semicolon";
4782
+ quote: "quote";
4783
+ bracketleft: "bracketleft";
4784
+ bracketright: "bracketright";
4785
+ backslash: "backslash";
4786
+ grave: "grave";
4787
+ }>>;
4788
+ }, z.core.$strict>;
4789
+ readonly InputHotkeyResult: z.ZodObject<{
4790
+ keys: z.ZodArray<z.ZodEnum<{
4791
+ 0: "0";
4792
+ 1: "1";
4793
+ 2: "2";
4794
+ 3: "3";
4795
+ 4: "4";
4796
+ 5: "5";
4797
+ 6: "6";
4798
+ 7: "7";
4799
+ 8: "8";
4800
+ 9: "9";
4801
+ meta: "meta";
4802
+ end: "end";
4803
+ n: "n";
4804
+ home: "home";
4805
+ x: "x";
4806
+ y: "y";
4807
+ cmd: "cmd";
4808
+ ctrl: "ctrl";
4809
+ alt: "alt";
4810
+ shift: "shift";
4811
+ a: "a";
4812
+ b: "b";
4813
+ c: "c";
4814
+ d: "d";
4815
+ e: "e";
4816
+ f: "f";
4817
+ g: "g";
4818
+ h: "h";
4819
+ i: "i";
4820
+ j: "j";
4821
+ k: "k";
4822
+ l: "l";
4823
+ m: "m";
4824
+ o: "o";
4825
+ p: "p";
4826
+ q: "q";
4827
+ r: "r";
4828
+ s: "s";
4829
+ t: "t";
4830
+ u: "u";
4831
+ v: "v";
4832
+ w: "w";
4833
+ z: "z";
4834
+ f1: "f1";
4835
+ f2: "f2";
4836
+ f3: "f3";
4837
+ f4: "f4";
4838
+ f5: "f5";
4839
+ f6: "f6";
4840
+ f7: "f7";
4841
+ f8: "f8";
4842
+ f9: "f9";
4843
+ f10: "f10";
4844
+ f11: "f11";
4845
+ f12: "f12";
4846
+ enter: "enter";
4847
+ tab: "tab";
4848
+ escape: "escape";
4849
+ space: "space";
4850
+ backspace: "backspace";
4851
+ delete: "delete";
4852
+ up: "up";
4853
+ down: "down";
4854
+ left: "left";
4855
+ right: "right";
4856
+ pageup: "pageup";
4857
+ pagedown: "pagedown";
4858
+ minus: "minus";
4859
+ equal: "equal";
4860
+ comma: "comma";
4861
+ period: "period";
4862
+ slash: "slash";
4863
+ semicolon: "semicolon";
4864
+ quote: "quote";
4865
+ bracketleft: "bracketleft";
4866
+ bracketright: "bracketright";
4867
+ backslash: "backslash";
4868
+ grave: "grave";
4869
+ }>>;
4870
+ }, z.core.$strict>;
4871
+ readonly InputMouseMoveParams: z.ZodObject<{
4872
+ x: z.ZodInt;
4873
+ y: z.ZodInt;
4874
+ }, z.core.$strict>;
4875
+ readonly InputMouseMoveResult: z.ZodObject<{
4876
+ position: z.ZodObject<{
4877
+ x: z.ZodInt;
4878
+ y: z.ZodInt;
4879
+ }, z.core.$strict>;
4880
+ }, z.core.$strict>;
4881
+ readonly InputMouseClickParams: z.ZodObject<{
4882
+ x: z.ZodOptional<z.ZodInt>;
4883
+ y: z.ZodOptional<z.ZodInt>;
4884
+ button: z.ZodDefault<z.ZodEnum<{
4885
+ left: "left";
4886
+ right: "right";
4887
+ middle: "middle";
4888
+ }>>;
4889
+ double: z.ZodDefault<z.ZodBoolean>;
4890
+ }, z.core.$strict>;
4891
+ readonly InputMouseClickResult: z.ZodObject<{
4892
+ position: z.ZodObject<{
4893
+ x: z.ZodInt;
4894
+ y: z.ZodInt;
4895
+ }, z.core.$strict>;
4896
+ button: z.ZodEnum<{
4897
+ left: "left";
4898
+ right: "right";
4899
+ middle: "middle";
4900
+ }>;
4901
+ double: z.ZodBoolean;
4902
+ }, z.core.$strict>;
4903
+ readonly PowerStatusParams: z.ZodObject<{}, z.core.$strict>;
4904
+ readonly PowerStatusResult: z.ZodObject<{
4905
+ has_battery: z.ZodBoolean;
4906
+ percent: z.ZodNullable<z.ZodNumber>;
4907
+ charging: z.ZodNullable<z.ZodBoolean>;
4908
+ plugged_in: z.ZodNullable<z.ZodBoolean>;
4909
+ minutes_left: z.ZodNullable<z.ZodInt>;
4910
+ awake_until_ms: z.ZodNullable<z.ZodInt>;
4911
+ }, z.core.$strict>;
4912
+ readonly PowerPreventSleepParams: z.ZodObject<{
4913
+ seconds: z.ZodInt;
4914
+ reason: z.ZodDefault<z.ZodString>;
4915
+ }, z.core.$strict>;
4916
+ readonly PowerPreventSleepResult: z.ZodObject<{
4917
+ awake_until_ms: z.ZodNullable<z.ZodInt>;
4918
+ }, z.core.$strict>;
4919
+ readonly ResourcesDisk: z.ZodObject<{
4920
+ mount: z.ZodString;
4921
+ fs: z.ZodString;
4922
+ size_bytes: z.ZodInt;
4923
+ used_bytes: z.ZodInt;
4924
+ available_bytes: z.ZodInt;
4925
+ }, z.core.$strict>;
4926
+ readonly ResourcesSnapshotParams: z.ZodObject<{}, z.core.$strict>;
4927
+ readonly ResourcesSnapshotResult: z.ZodObject<{
4928
+ cpu: z.ZodObject<{
4929
+ percent: z.ZodNumber;
4930
+ cores: z.ZodInt;
4931
+ load: z.ZodNullable<z.ZodArray<z.ZodNumber>>;
4932
+ }, z.core.$strict>;
4933
+ memory: z.ZodObject<{
4934
+ total_bytes: z.ZodInt;
4935
+ used_bytes: z.ZodInt;
4936
+ available_bytes: z.ZodInt;
4937
+ }, z.core.$strict>;
4938
+ swap: z.ZodObject<{
4939
+ total_bytes: z.ZodInt;
4940
+ used_bytes: z.ZodInt;
4941
+ }, z.core.$strict>;
4942
+ disks: z.ZodArray<z.ZodObject<{
4943
+ mount: z.ZodString;
4944
+ fs: z.ZodString;
4945
+ size_bytes: z.ZodInt;
4946
+ used_bytes: z.ZodInt;
4947
+ available_bytes: z.ZodInt;
4948
+ }, z.core.$strict>>;
4949
+ uptime_seconds: z.ZodInt;
4950
+ }, z.core.$strict>;
4951
+ readonly FsWatchId: z.ZodString;
4952
+ readonly FsWatchStartParams: z.ZodObject<{
4953
+ path: z.ZodString;
4954
+ recursive: z.ZodDefault<z.ZodBoolean>;
4955
+ ignore: z.ZodDefault<z.ZodArray<z.ZodString>>;
4956
+ }, z.core.$strict>;
4957
+ readonly FsWatchStartResult: z.ZodObject<{
4958
+ watch_id: z.ZodString;
4959
+ path: z.ZodString;
4960
+ expires_at_ms: z.ZodInt;
4961
+ }, z.core.$strict>;
4962
+ readonly FsWatchEventsParams: z.ZodObject<{
4963
+ watch_id: z.ZodString;
4964
+ wait_ms: z.ZodDefault<z.ZodInt>;
4965
+ }, z.core.$strict>;
4966
+ readonly FsWatchEventsResult: z.ZodObject<{
4967
+ changes: z.ZodArray<z.ZodObject<{
4968
+ type: z.ZodEnum<{
4969
+ created: "created";
4970
+ deleted: "deleted";
4971
+ modified: "modified";
4972
+ moved: "moved";
4973
+ }>;
4974
+ path: z.ZodString;
4975
+ to_path: z.ZodOptional<z.ZodString>;
4976
+ kind: z.ZodEnum<{
4977
+ unknown: "unknown";
4978
+ file: "file";
4979
+ dir: "dir";
4980
+ symlink: "symlink";
4981
+ }>;
4982
+ }, z.core.$strict>>;
4983
+ overflow: z.ZodBoolean;
4984
+ expires_at_ms: z.ZodInt;
4985
+ }, z.core.$strict>;
4986
+ readonly FsWatchStopParams: z.ZodObject<{
4987
+ watch_id: z.ZodString;
4988
+ }, z.core.$strict>;
4989
+ readonly FsWatchStopResult: z.ZodObject<{
4990
+ watch_id: z.ZodString;
4991
+ }, z.core.$strict>;
4992
+ readonly ExecJobId: z.ZodString;
4993
+ readonly ExecJobStartParams: z.ZodObject<{
4994
+ command: z.ZodString;
4995
+ cwd: z.ZodOptional<z.ZodString>;
4996
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4997
+ }, z.core.$strict>;
4998
+ readonly ExecJobStartResult: z.ZodObject<{
4999
+ job_id: z.ZodString;
5000
+ pid: z.ZodInt;
5001
+ cwd: z.ZodString;
5002
+ }, z.core.$strict>;
5003
+ readonly ExecJobOutputParams: z.ZodObject<{
5004
+ job_id: z.ZodString;
5005
+ offset: z.ZodDefault<z.ZodInt>;
5006
+ wait_ms: z.ZodDefault<z.ZodInt>;
5007
+ max_bytes: z.ZodDefault<z.ZodInt>;
5008
+ }, z.core.$strict>;
5009
+ readonly ExecJobOutputResult: z.ZodObject<{
5010
+ output: z.ZodString;
5011
+ next_offset: z.ZodInt;
5012
+ dropped_bytes: z.ZodInt;
5013
+ running: z.ZodBoolean;
5014
+ exit_code: z.ZodNullable<z.ZodInt>;
5015
+ }, z.core.$strict>;
5016
+ readonly ExecJobStopParams: z.ZodObject<{
5017
+ job_id: z.ZodString;
5018
+ force: z.ZodDefault<z.ZodBoolean>;
5019
+ }, z.core.$strict>;
5020
+ readonly ExecJobStopResult: z.ZodObject<{
5021
+ job_id: z.ZodString;
5022
+ exited: z.ZodBoolean;
5023
+ exit_code: z.ZodNullable<z.ZodInt>;
5024
+ }, z.core.$strict>;
5025
+ readonly ExecJobInfo: z.ZodObject<{
5026
+ job_id: z.ZodString;
5027
+ command: z.ZodString;
5028
+ pid: z.ZodInt;
5029
+ cwd: z.ZodString;
5030
+ running: z.ZodBoolean;
5031
+ exit_code: z.ZodNullable<z.ZodInt>;
5032
+ started_at_ms: z.ZodInt;
5033
+ output_bytes: z.ZodInt;
5034
+ }, z.core.$strict>;
5035
+ readonly ExecJobListParams: z.ZodObject<{}, z.core.$strict>;
5036
+ readonly ExecJobListResult: z.ZodObject<{
5037
+ jobs: z.ZodArray<z.ZodObject<{
5038
+ job_id: z.ZodString;
5039
+ command: z.ZodString;
5040
+ pid: z.ZodInt;
5041
+ cwd: z.ZodString;
5042
+ running: z.ZodBoolean;
5043
+ exit_code: z.ZodNullable<z.ZodInt>;
5044
+ started_at_ms: z.ZodInt;
5045
+ output_bytes: z.ZodInt;
5046
+ }, z.core.$strict>>;
5047
+ }, z.core.$strict>;
3677
5048
  readonly ToolLevel: z.ZodEnum<{
3678
5049
  programmatic: "programmatic";
3679
5050
  protocol: "protocol";