@ai-matrx/desktop-protocol 0.13.0 → 0.15.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.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { O as OpName } from './models-CxAHZMAM.js';
3
- export { B as BEARER_PREFIX, g as CLOSE_RULES, h as CancelMsg, j as ClientToCoreMsg, e as ClientType, k as CloseAction, l as CloseCode, m as CloseCodeValue, C as CloseOutcome, n as CloseRule, o as CoreToClientMsg, p as CreditMsg, D as DesktopProtocolError, d as EVENTS, q as EndMsg, E as EndReason, r as ErrorCode, s as ErrorCodeName, t as ErrorData, u as ErrorMsg, v as ErrorReason, w as ErrorReasonName, x as EventMsg, y as EventName, F as FsPatchEditFailure, H as HelloMsg, L as Limits, z as MlInstallPhase, A as MlInstallProgress, f as MlProgress, G as MlRuntimeState, I as MlServiceState, J as MlServiceStatus, K as MlStatusParams, N as MlStatusResult, P as ModelsInstallParams, Q as ModelsInstallResult, R as ModelsProgressEvent, U as ModelsStatusParams, V as ModelsStatusResult, X as ModelsTranscribeParams, M as ModelsTranscribeResult, Y as NAMED_SCHEMAS, Z as NamedSchemaId, c as OPS, _ as OpDescriptor, a as OpParams, b as OpResult, $ as OpSpec, a0 as PING_TEXT, a1 as PONG_TEXT, a2 as ProtocolErrorBody, a3 as RelayMsg, a4 as RequestMsg, a5 as ResponseMsg, a6 as SERVICES, a7 as SUBPROTOCOL, a8 as ServiceId, a9 as ServiceOpName, aa as ServiceOpSpec, ab as ServiceSpec, S as StreamMeta, ac as StreamMsg, ad as TranscriptSegment, T as TranscriptionModelId, ae as TranscriptionModelInfo, W as Welcome, af as closeRule, i as isDesktopProtocolError, ag as isTerminalClose } from './models-CxAHZMAM.js';
2
+ import { O as OpName } from './models-iOvmEOHd.js';
3
+ export { B as BEARER_PREFIX, g as CLOSE_RULES, h as CancelMsg, j as ClientToCoreMsg, e as ClientType, k as CloseAction, l as CloseCode, m as CloseCodeValue, C as CloseOutcome, n as CloseRule, o as CoreToClientMsg, p as CreditMsg, D as DesktopProtocolError, d as EVENTS, q as EndMsg, E as EndReason, r as ErrorCode, s as ErrorCodeName, t as ErrorData, u as ErrorMsg, v as ErrorReason, w as ErrorReasonName, x as EventMsg, y as EventName, F as FsPatchEditFailure, H as HelloMsg, L as Limits, z as MlInstallPhase, A as MlInstallProgress, f as MlProgress, G as MlRuntimeState, I as MlServiceState, J as MlServiceStatus, K as MlStatusParams, N as MlStatusResult, P as ModelsInstallParams, Q as ModelsInstallResult, R as ModelsProgressEvent, U as ModelsStatusParams, V as ModelsStatusResult, X as ModelsTranscribeParams, M as ModelsTranscribeResult, Y as NAMED_SCHEMAS, Z as NamedSchemaId, c as OPS, _ as OpDescriptor, a as OpParams, b as OpResult, $ as OpSpec, a0 as PING_TEXT, a1 as PONG_TEXT, a2 as ProtocolErrorBody, a3 as RelayMsg, a4 as RequestMsg, a5 as ResponseMsg, a6 as SERVICES, a7 as SUBPROTOCOL, a8 as ServiceId, a9 as ServiceOpName, aa as ServiceOpSpec, ab as ServiceSpec, S as StreamMeta, ac as StreamMsg, ad as TranscriptSegment, T as TranscriptionModelId, ae as TranscriptionModelInfo, W as Welcome, af as closeRule, i as isDesktopProtocolError, ag as isTerminalClose } from './models-iOvmEOHd.js';
4
4
  export { BROADCAST_CID, DecodedFrame, FRAME_HEADER_BYTES, FRAME_STRUCT_FORMAT, FRAME_VERSION, FrameChannel, FrameChannelValue, FrameFlag, assertFrameHeader, connectionEndFrame, decodeFrame, encodeFrame, hasFlag, isConnectionEnd, readCid, stampCid } from './frame.js';
5
5
 
6
6
  /** @ai-matrx/desktop-protocol — version and primitive schemas. Schema source: lint-enforced rules in scripts/check-schema-source.mjs. */
@@ -13,10 +13,13 @@ declare const PROTOCOL_MAJOR: 1;
13
13
  * device status since_ms is null for a device that never connected.
14
14
  * 1.2 — the `models` capability (local transcription) and its error reasons (REASONS_SINCE);
15
15
  * the `apps` capability (desktop apps, their profiles and usage).
16
+ * 1.3 — the `proc` capability (processes, listening ports, stopping one) and `clipboard`.
17
+ * 1.4 — computer control: `system`, `screen`, `window`, `input`, `power`, `resources`; polled
18
+ * folder watches (fs.watch.start/events/stop) and background jobs (exec.job.*).
16
19
  */
17
- declare const PROTOCOL_MINOR: 2;
20
+ declare const PROTOCOL_MINOR: 4;
18
21
  /** This package's version as the wire spells it ("major.minor"): hello, welcome, relay status. */
19
- declare const PROTOCOL_VERSION: "1.2";
22
+ declare const PROTOCOL_VERSION: "1.4";
20
23
  /** Internal building blocks — deliberately unnamed in $defs (inlined wherever used). */
21
24
  declare const u32: z.ZodInt;
22
25
  declare const nonNegInt: z.ZodInt;
@@ -1642,6 +1645,776 @@ declare const ToolResultsFile: z.ZodObject<{
1642
1645
  }, z.core.$strict>;
1643
1646
  type ToolResultsFile = z.output<typeof ToolResultsFile>;
1644
1647
 
1648
+ /**
1649
+ * @ai-matrx/desktop-protocol — cap proc (SPEC §6): the processes running on the person's computer,
1650
+ * the ports they listen on, and stopping one. Schema source: lint-enforced rules in
1651
+ * scripts/check-schema-source.mjs. Added in protocol 1.3.
1652
+ */
1653
+
1654
+ declare const ProcSort: z.ZodEnum<{
1655
+ name: "name";
1656
+ cpu: "cpu";
1657
+ memory: "memory";
1658
+ pid: "pid";
1659
+ }>;
1660
+ declare const ProcListParams: z.ZodObject<{
1661
+ name: z.ZodOptional<z.ZodString>;
1662
+ sort: z.ZodDefault<z.ZodEnum<{
1663
+ name: "name";
1664
+ cpu: "cpu";
1665
+ memory: "memory";
1666
+ pid: "pid";
1667
+ }>>;
1668
+ limit: z.ZodDefault<z.ZodInt>;
1669
+ }, z.core.$strict>;
1670
+ type ProcListParams = z.output<typeof ProcListParams>;
1671
+ declare const ProcListResult: z.ZodObject<{
1672
+ processes: z.ZodArray<z.ZodObject<{
1673
+ pid: z.ZodInt;
1674
+ ppid: z.ZodNullable<z.ZodInt>;
1675
+ name: z.ZodString;
1676
+ command: z.ZodString;
1677
+ cpu_percent: z.ZodNullable<z.ZodNumber>;
1678
+ memory_bytes: z.ZodNullable<z.ZodInt>;
1679
+ user: z.ZodNullable<z.ZodString>;
1680
+ }, z.core.$strict>>;
1681
+ total: z.ZodInt;
1682
+ truncated: z.ZodBoolean;
1683
+ }, z.core.$strict>;
1684
+ type ProcListResult = z.output<typeof ProcListResult>;
1685
+ declare const ProcInfo: z.ZodObject<{
1686
+ pid: z.ZodInt;
1687
+ ppid: z.ZodNullable<z.ZodInt>;
1688
+ name: z.ZodString;
1689
+ command: z.ZodString;
1690
+ cpu_percent: z.ZodNullable<z.ZodNumber>;
1691
+ memory_bytes: z.ZodNullable<z.ZodInt>;
1692
+ user: z.ZodNullable<z.ZodString>;
1693
+ }, z.core.$strict>;
1694
+ type ProcInfo = z.output<typeof ProcInfo>;
1695
+ declare const ProcPortsParams: z.ZodObject<{
1696
+ port: z.ZodOptional<z.ZodInt>;
1697
+ }, z.core.$strict>;
1698
+ type ProcPortsParams = z.output<typeof ProcPortsParams>;
1699
+ declare const ProcPortsResult: z.ZodObject<{
1700
+ ports: z.ZodArray<z.ZodObject<{
1701
+ port: z.ZodInt;
1702
+ protocol: z.ZodEnum<{
1703
+ tcp: "tcp";
1704
+ udp: "udp";
1705
+ }>;
1706
+ address: z.ZodString;
1707
+ pid: z.ZodNullable<z.ZodInt>;
1708
+ process: z.ZodNullable<z.ZodString>;
1709
+ }, z.core.$strict>>;
1710
+ }, z.core.$strict>;
1711
+ type ProcPortsResult = z.output<typeof ProcPortsResult>;
1712
+ declare const ProcPort: z.ZodObject<{
1713
+ port: z.ZodInt;
1714
+ protocol: z.ZodEnum<{
1715
+ tcp: "tcp";
1716
+ udp: "udp";
1717
+ }>;
1718
+ address: z.ZodString;
1719
+ pid: z.ZodNullable<z.ZodInt>;
1720
+ process: z.ZodNullable<z.ZodString>;
1721
+ }, z.core.$strict>;
1722
+ type ProcPort = z.output<typeof ProcPort>;
1723
+ declare const ProcKillParams: z.ZodObject<{
1724
+ pid: z.ZodInt;
1725
+ force: z.ZodDefault<z.ZodBoolean>;
1726
+ }, z.core.$strict>;
1727
+ type ProcKillParams = z.output<typeof ProcKillParams>;
1728
+ declare const ProcKillResult: z.ZodObject<{
1729
+ pid: z.ZodInt;
1730
+ signal: z.ZodEnum<{
1731
+ SIGTERM: "SIGTERM";
1732
+ SIGKILL: "SIGKILL";
1733
+ }>;
1734
+ exited: z.ZodBoolean;
1735
+ }, z.core.$strict>;
1736
+ type ProcKillResult = z.output<typeof ProcKillResult>;
1737
+
1738
+ /**
1739
+ * @ai-matrx/desktop-protocol — cap clipboard (SPEC §6): the system clipboard's text. Schema source:
1740
+ * lint-enforced rules in scripts/check-schema-source.mjs. Added in protocol 1.3.
1741
+ */
1742
+
1743
+ declare const ClipboardReadParams: z.ZodObject<{}, z.core.$strict>;
1744
+ declare const ClipboardReadResult: z.ZodObject<{
1745
+ text: z.ZodString;
1746
+ truncated: z.ZodBoolean;
1747
+ }, z.core.$strict>;
1748
+ type ClipboardReadResult = z.output<typeof ClipboardReadResult>;
1749
+ declare const ClipboardWriteParams: z.ZodObject<{
1750
+ text: z.ZodString;
1751
+ }, z.core.$strict>;
1752
+ type ClipboardWriteParams = z.output<typeof ClipboardWriteParams>;
1753
+ declare const ClipboardWriteResult: z.ZodObject<{
1754
+ bytes: z.ZodInt;
1755
+ }, z.core.$strict>;
1756
+ type ClipboardWriteResult = z.output<typeof ClipboardWriteResult>;
1757
+
1758
+ /**
1759
+ * @ai-matrx/desktop-protocol — cap system (SPEC §6): open a link or a file the way the person's
1760
+ * computer would, and show a notification. Schema source: lint-enforced rules in
1761
+ * scripts/check-schema-source.mjs. Added in protocol 1.4.
1762
+ */
1763
+
1764
+ declare const SystemOpenUrlParams: z.ZodObject<{
1765
+ url: z.ZodString;
1766
+ }, z.core.$strict>;
1767
+ type SystemOpenUrlParams = z.output<typeof SystemOpenUrlParams>;
1768
+ declare const SystemOpenUrlResult: z.ZodObject<{
1769
+ url: z.ZodString;
1770
+ }, z.core.$strict>;
1771
+ type SystemOpenUrlResult = z.output<typeof SystemOpenUrlResult>;
1772
+ declare const SystemOpenPathParams: z.ZodObject<{
1773
+ path: z.ZodString;
1774
+ reveal: z.ZodDefault<z.ZodBoolean>;
1775
+ }, z.core.$strict>;
1776
+ type SystemOpenPathParams = z.output<typeof SystemOpenPathParams>;
1777
+ declare const SystemOpenPathResult: z.ZodObject<{
1778
+ path: z.ZodString;
1779
+ revealed: z.ZodBoolean;
1780
+ }, z.core.$strict>;
1781
+ type SystemOpenPathResult = z.output<typeof SystemOpenPathResult>;
1782
+ declare const SystemNotifyParams: z.ZodObject<{
1783
+ title: z.ZodString;
1784
+ body: z.ZodDefault<z.ZodString>;
1785
+ }, z.core.$strict>;
1786
+ type SystemNotifyParams = z.output<typeof SystemNotifyParams>;
1787
+ declare const SystemNotifyResult: z.ZodObject<{
1788
+ shown: z.ZodBoolean;
1789
+ }, z.core.$strict>;
1790
+ type SystemNotifyResult = z.output<typeof SystemNotifyResult>;
1791
+
1792
+ /**
1793
+ * @ai-matrx/desktop-protocol — cap screen (SPEC §6): the person's displays and a picture of one.
1794
+ * Schema source: lint-enforced rules in scripts/check-schema-source.mjs. Added in protocol 1.4.
1795
+ */
1796
+
1797
+ declare const ScreenListParams: z.ZodObject<{}, z.core.$strict>;
1798
+ declare const ScreenDisplay: z.ZodObject<{
1799
+ id: z.ZodInt;
1800
+ name: z.ZodString;
1801
+ x: z.ZodInt;
1802
+ y: z.ZodInt;
1803
+ width: z.ZodInt;
1804
+ height: z.ZodInt;
1805
+ scale: z.ZodNumber;
1806
+ primary: z.ZodBoolean;
1807
+ }, z.core.$strict>;
1808
+ type ScreenDisplay = z.output<typeof ScreenDisplay>;
1809
+ declare const ScreenListResult: z.ZodObject<{
1810
+ displays: z.ZodArray<z.ZodObject<{
1811
+ id: z.ZodInt;
1812
+ name: z.ZodString;
1813
+ x: z.ZodInt;
1814
+ y: z.ZodInt;
1815
+ width: z.ZodInt;
1816
+ height: z.ZodInt;
1817
+ scale: z.ZodNumber;
1818
+ primary: z.ZodBoolean;
1819
+ }, z.core.$strict>>;
1820
+ }, z.core.$strict>;
1821
+ type ScreenListResult = z.output<typeof ScreenListResult>;
1822
+ declare const ScreenCaptureParams: z.ZodObject<{
1823
+ display_id: z.ZodOptional<z.ZodInt>;
1824
+ format: z.ZodDefault<z.ZodEnum<{
1825
+ jpeg: "jpeg";
1826
+ png: "png";
1827
+ }>>;
1828
+ max_width: z.ZodDefault<z.ZodInt>;
1829
+ }, z.core.$strict>;
1830
+ type ScreenCaptureParams = z.output<typeof ScreenCaptureParams>;
1831
+ declare const ScreenCaptureResult: z.ZodObject<{
1832
+ display_id: z.ZodInt;
1833
+ mime_type: z.ZodEnum<{
1834
+ "image/jpeg": "image/jpeg";
1835
+ "image/png": "image/png";
1836
+ }>;
1837
+ width: z.ZodInt;
1838
+ height: z.ZodInt;
1839
+ source_width: z.ZodInt;
1840
+ source_height: z.ZodInt;
1841
+ data_base64: z.ZodString;
1842
+ }, z.core.$strict>;
1843
+ type ScreenCaptureResult = z.output<typeof ScreenCaptureResult>;
1844
+
1845
+ /**
1846
+ * @ai-matrx/desktop-protocol — cap window (SPEC §6): the windows on the person's screen; focus,
1847
+ * move or resize, and minimize one. Schema source: lint-enforced rules in
1848
+ * scripts/check-schema-source.mjs. Added in protocol 1.4.
1849
+ */
1850
+
1851
+ declare const WindowInfo: z.ZodObject<{
1852
+ id: z.ZodInt;
1853
+ title: z.ZodString;
1854
+ x: z.ZodInt;
1855
+ y: z.ZodInt;
1856
+ width: z.ZodInt;
1857
+ height: z.ZodInt;
1858
+ }, z.core.$strict>;
1859
+ type WindowInfo = z.output<typeof WindowInfo>;
1860
+ declare const WindowListParams: z.ZodObject<{
1861
+ title: z.ZodOptional<z.ZodString>;
1862
+ limit: z.ZodDefault<z.ZodInt>;
1863
+ }, z.core.$strict>;
1864
+ type WindowListParams = z.output<typeof WindowListParams>;
1865
+ declare const WindowListResult: z.ZodObject<{
1866
+ windows: z.ZodArray<z.ZodObject<{
1867
+ id: z.ZodInt;
1868
+ title: z.ZodString;
1869
+ x: z.ZodInt;
1870
+ y: z.ZodInt;
1871
+ width: z.ZodInt;
1872
+ height: z.ZodInt;
1873
+ }, z.core.$strict>>;
1874
+ total: z.ZodInt;
1875
+ truncated: z.ZodBoolean;
1876
+ }, z.core.$strict>;
1877
+ type WindowListResult = z.output<typeof WindowListResult>;
1878
+ declare const WindowFocusParams: z.ZodObject<{
1879
+ id: z.ZodInt;
1880
+ }, z.core.$strict>;
1881
+ type WindowFocusParams = z.output<typeof WindowFocusParams>;
1882
+ declare const WindowFocusResult: z.ZodObject<{
1883
+ window: z.ZodObject<{
1884
+ id: z.ZodInt;
1885
+ title: z.ZodString;
1886
+ x: z.ZodInt;
1887
+ y: z.ZodInt;
1888
+ width: z.ZodInt;
1889
+ height: z.ZodInt;
1890
+ }, z.core.$strict>;
1891
+ }, z.core.$strict>;
1892
+ type WindowFocusResult = z.output<typeof WindowFocusResult>;
1893
+ declare const WindowMoveParams: z.ZodObject<{
1894
+ id: z.ZodInt;
1895
+ x: z.ZodOptional<z.ZodInt>;
1896
+ y: z.ZodOptional<z.ZodInt>;
1897
+ width: z.ZodOptional<z.ZodInt>;
1898
+ height: z.ZodOptional<z.ZodInt>;
1899
+ }, z.core.$strict>;
1900
+ type WindowMoveParams = z.output<typeof WindowMoveParams>;
1901
+ declare const WindowMoveResult: z.ZodObject<{
1902
+ window: z.ZodObject<{
1903
+ id: z.ZodInt;
1904
+ title: z.ZodString;
1905
+ x: z.ZodInt;
1906
+ y: z.ZodInt;
1907
+ width: z.ZodInt;
1908
+ height: z.ZodInt;
1909
+ }, z.core.$strict>;
1910
+ }, z.core.$strict>;
1911
+ type WindowMoveResult = z.output<typeof WindowMoveResult>;
1912
+ declare const WindowMinimizeParams: z.ZodObject<{
1913
+ id: z.ZodInt;
1914
+ }, z.core.$strict>;
1915
+ type WindowMinimizeParams = z.output<typeof WindowMinimizeParams>;
1916
+ declare const WindowMinimizeResult: z.ZodObject<{
1917
+ id: z.ZodInt;
1918
+ }, z.core.$strict>;
1919
+ type WindowMinimizeResult = z.output<typeof WindowMinimizeResult>;
1920
+
1921
+ /**
1922
+ * @ai-matrx/desktop-protocol — cap input (SPEC §6): the keyboard and mouse, as if the person used
1923
+ * them. Schema source: lint-enforced rules in scripts/check-schema-source.mjs. Added in protocol 1.4.
1924
+ */
1925
+
1926
+ /** Key names for input.hotkey. `cmd` is Command on a Mac and Ctrl elsewhere; `meta` is the Windows/Super key. */
1927
+ declare const InputKey: z.ZodEnum<{
1928
+ 0: "0";
1929
+ 1: "1";
1930
+ 2: "2";
1931
+ 3: "3";
1932
+ 4: "4";
1933
+ 5: "5";
1934
+ 6: "6";
1935
+ 7: "7";
1936
+ 8: "8";
1937
+ 9: "9";
1938
+ meta: "meta";
1939
+ end: "end";
1940
+ n: "n";
1941
+ home: "home";
1942
+ x: "x";
1943
+ y: "y";
1944
+ cmd: "cmd";
1945
+ ctrl: "ctrl";
1946
+ alt: "alt";
1947
+ shift: "shift";
1948
+ a: "a";
1949
+ b: "b";
1950
+ c: "c";
1951
+ d: "d";
1952
+ e: "e";
1953
+ f: "f";
1954
+ g: "g";
1955
+ h: "h";
1956
+ i: "i";
1957
+ j: "j";
1958
+ k: "k";
1959
+ l: "l";
1960
+ m: "m";
1961
+ o: "o";
1962
+ p: "p";
1963
+ q: "q";
1964
+ r: "r";
1965
+ s: "s";
1966
+ t: "t";
1967
+ u: "u";
1968
+ v: "v";
1969
+ w: "w";
1970
+ z: "z";
1971
+ f1: "f1";
1972
+ f2: "f2";
1973
+ f3: "f3";
1974
+ f4: "f4";
1975
+ f5: "f5";
1976
+ f6: "f6";
1977
+ f7: "f7";
1978
+ f8: "f8";
1979
+ f9: "f9";
1980
+ f10: "f10";
1981
+ f11: "f11";
1982
+ f12: "f12";
1983
+ enter: "enter";
1984
+ tab: "tab";
1985
+ escape: "escape";
1986
+ space: "space";
1987
+ backspace: "backspace";
1988
+ delete: "delete";
1989
+ up: "up";
1990
+ down: "down";
1991
+ left: "left";
1992
+ right: "right";
1993
+ pageup: "pageup";
1994
+ pagedown: "pagedown";
1995
+ minus: "minus";
1996
+ equal: "equal";
1997
+ comma: "comma";
1998
+ period: "period";
1999
+ slash: "slash";
2000
+ semicolon: "semicolon";
2001
+ quote: "quote";
2002
+ bracketleft: "bracketleft";
2003
+ bracketright: "bracketright";
2004
+ backslash: "backslash";
2005
+ grave: "grave";
2006
+ }>;
2007
+ type InputKey = z.output<typeof InputKey>;
2008
+ declare const InputPoint: z.ZodObject<{
2009
+ x: z.ZodInt;
2010
+ y: z.ZodInt;
2011
+ }, z.core.$strict>;
2012
+ type InputPoint = z.output<typeof InputPoint>;
2013
+ declare const InputTypeTextParams: z.ZodObject<{
2014
+ text: z.ZodString;
2015
+ }, z.core.$strict>;
2016
+ type InputTypeTextParams = z.output<typeof InputTypeTextParams>;
2017
+ declare const InputTypeTextResult: z.ZodObject<{
2018
+ characters: z.ZodInt;
2019
+ }, z.core.$strict>;
2020
+ type InputTypeTextResult = z.output<typeof InputTypeTextResult>;
2021
+ declare const InputHotkeyParams: 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
+ type InputHotkeyParams = z.output<typeof InputHotkeyParams>;
2104
+ declare const InputHotkeyResult: z.ZodObject<{
2105
+ keys: z.ZodArray<z.ZodEnum<{
2106
+ 0: "0";
2107
+ 1: "1";
2108
+ 2: "2";
2109
+ 3: "3";
2110
+ 4: "4";
2111
+ 5: "5";
2112
+ 6: "6";
2113
+ 7: "7";
2114
+ 8: "8";
2115
+ 9: "9";
2116
+ meta: "meta";
2117
+ end: "end";
2118
+ n: "n";
2119
+ home: "home";
2120
+ x: "x";
2121
+ y: "y";
2122
+ cmd: "cmd";
2123
+ ctrl: "ctrl";
2124
+ alt: "alt";
2125
+ shift: "shift";
2126
+ a: "a";
2127
+ b: "b";
2128
+ c: "c";
2129
+ d: "d";
2130
+ e: "e";
2131
+ f: "f";
2132
+ g: "g";
2133
+ h: "h";
2134
+ i: "i";
2135
+ j: "j";
2136
+ k: "k";
2137
+ l: "l";
2138
+ m: "m";
2139
+ o: "o";
2140
+ p: "p";
2141
+ q: "q";
2142
+ r: "r";
2143
+ s: "s";
2144
+ t: "t";
2145
+ u: "u";
2146
+ v: "v";
2147
+ w: "w";
2148
+ z: "z";
2149
+ f1: "f1";
2150
+ f2: "f2";
2151
+ f3: "f3";
2152
+ f4: "f4";
2153
+ f5: "f5";
2154
+ f6: "f6";
2155
+ f7: "f7";
2156
+ f8: "f8";
2157
+ f9: "f9";
2158
+ f10: "f10";
2159
+ f11: "f11";
2160
+ f12: "f12";
2161
+ enter: "enter";
2162
+ tab: "tab";
2163
+ escape: "escape";
2164
+ space: "space";
2165
+ backspace: "backspace";
2166
+ delete: "delete";
2167
+ up: "up";
2168
+ down: "down";
2169
+ left: "left";
2170
+ right: "right";
2171
+ pageup: "pageup";
2172
+ pagedown: "pagedown";
2173
+ minus: "minus";
2174
+ equal: "equal";
2175
+ comma: "comma";
2176
+ period: "period";
2177
+ slash: "slash";
2178
+ semicolon: "semicolon";
2179
+ quote: "quote";
2180
+ bracketleft: "bracketleft";
2181
+ bracketright: "bracketright";
2182
+ backslash: "backslash";
2183
+ grave: "grave";
2184
+ }>>;
2185
+ }, z.core.$strict>;
2186
+ type InputHotkeyResult = z.output<typeof InputHotkeyResult>;
2187
+ declare const InputMouseMoveParams: z.ZodObject<{
2188
+ x: z.ZodInt;
2189
+ y: z.ZodInt;
2190
+ }, z.core.$strict>;
2191
+ type InputMouseMoveParams = z.output<typeof InputMouseMoveParams>;
2192
+ declare const InputMouseMoveResult: z.ZodObject<{
2193
+ position: z.ZodObject<{
2194
+ x: z.ZodInt;
2195
+ y: z.ZodInt;
2196
+ }, z.core.$strict>;
2197
+ }, z.core.$strict>;
2198
+ type InputMouseMoveResult = z.output<typeof InputMouseMoveResult>;
2199
+ declare const InputMouseClickParams: z.ZodObject<{
2200
+ x: z.ZodOptional<z.ZodInt>;
2201
+ y: z.ZodOptional<z.ZodInt>;
2202
+ button: z.ZodDefault<z.ZodEnum<{
2203
+ left: "left";
2204
+ right: "right";
2205
+ middle: "middle";
2206
+ }>>;
2207
+ double: z.ZodDefault<z.ZodBoolean>;
2208
+ }, z.core.$strict>;
2209
+ type InputMouseClickParams = z.output<typeof InputMouseClickParams>;
2210
+ declare const InputMouseClickResult: z.ZodObject<{
2211
+ position: z.ZodObject<{
2212
+ x: z.ZodInt;
2213
+ y: z.ZodInt;
2214
+ }, z.core.$strict>;
2215
+ button: z.ZodEnum<{
2216
+ left: "left";
2217
+ right: "right";
2218
+ middle: "middle";
2219
+ }>;
2220
+ double: z.ZodBoolean;
2221
+ }, z.core.$strict>;
2222
+ type InputMouseClickResult = z.output<typeof InputMouseClickResult>;
2223
+
2224
+ /**
2225
+ * @ai-matrx/desktop-protocol — cap power (SPEC §6): the battery and keeping the computer awake.
2226
+ * Schema source: lint-enforced rules in scripts/check-schema-source.mjs. Added in protocol 1.4.
2227
+ */
2228
+
2229
+ declare const PowerStatusParams: z.ZodObject<{}, z.core.$strict>;
2230
+ declare const PowerStatusResult: z.ZodObject<{
2231
+ has_battery: z.ZodBoolean;
2232
+ percent: z.ZodNullable<z.ZodNumber>;
2233
+ charging: z.ZodNullable<z.ZodBoolean>;
2234
+ plugged_in: z.ZodNullable<z.ZodBoolean>;
2235
+ minutes_left: z.ZodNullable<z.ZodInt>;
2236
+ awake_until_ms: z.ZodNullable<z.ZodInt>;
2237
+ }, z.core.$strict>;
2238
+ type PowerStatusResult = z.output<typeof PowerStatusResult>;
2239
+ declare const PowerPreventSleepParams: z.ZodObject<{
2240
+ seconds: z.ZodInt;
2241
+ reason: z.ZodDefault<z.ZodString>;
2242
+ }, z.core.$strict>;
2243
+ type PowerPreventSleepParams = z.output<typeof PowerPreventSleepParams>;
2244
+ declare const PowerPreventSleepResult: z.ZodObject<{
2245
+ awake_until_ms: z.ZodNullable<z.ZodInt>;
2246
+ }, z.core.$strict>;
2247
+ type PowerPreventSleepResult = z.output<typeof PowerPreventSleepResult>;
2248
+
2249
+ /**
2250
+ * @ai-matrx/desktop-protocol — cap resources (SPEC §6): how busy the computer is — CPU, memory and
2251
+ * disks. The busiest processes are proc.list. Schema source: lint-enforced rules in
2252
+ * scripts/check-schema-source.mjs. Added in protocol 1.4.
2253
+ */
2254
+
2255
+ declare const ResourcesSnapshotParams: z.ZodObject<{}, z.core.$strict>;
2256
+ declare const ResourcesDisk: z.ZodObject<{
2257
+ mount: z.ZodString;
2258
+ fs: z.ZodString;
2259
+ size_bytes: z.ZodInt;
2260
+ used_bytes: z.ZodInt;
2261
+ available_bytes: z.ZodInt;
2262
+ }, z.core.$strict>;
2263
+ type ResourcesDisk = z.output<typeof ResourcesDisk>;
2264
+ declare const ResourcesSnapshotResult: z.ZodObject<{
2265
+ cpu: z.ZodObject<{
2266
+ percent: z.ZodNumber;
2267
+ cores: z.ZodInt;
2268
+ load: z.ZodNullable<z.ZodArray<z.ZodNumber>>;
2269
+ }, z.core.$strict>;
2270
+ memory: z.ZodObject<{
2271
+ total_bytes: z.ZodInt;
2272
+ used_bytes: z.ZodInt;
2273
+ available_bytes: z.ZodInt;
2274
+ }, z.core.$strict>;
2275
+ swap: z.ZodObject<{
2276
+ total_bytes: z.ZodInt;
2277
+ used_bytes: z.ZodInt;
2278
+ }, z.core.$strict>;
2279
+ disks: z.ZodArray<z.ZodObject<{
2280
+ mount: z.ZodString;
2281
+ fs: z.ZodString;
2282
+ size_bytes: z.ZodInt;
2283
+ used_bytes: z.ZodInt;
2284
+ available_bytes: z.ZodInt;
2285
+ }, z.core.$strict>>;
2286
+ uptime_seconds: z.ZodInt;
2287
+ }, z.core.$strict>;
2288
+ type ResourcesSnapshotResult = z.output<typeof ResourcesSnapshotResult>;
2289
+
2290
+ /**
2291
+ * @ai-matrx/desktop-protocol — cap fs, polled watches (SPEC §6): watch a folder and read what
2292
+ * changed since the last read, for callers that ask rather than hold a stream (an agent's tool
2293
+ * call through the relay's /call). The streamed `fs.watch` resource stays for live clients. Schema
2294
+ * source: lint-enforced rules in scripts/check-schema-source.mjs. Added in protocol 1.4.
2295
+ */
2296
+
2297
+ declare const FsWatchId: z.ZodString;
2298
+ type FsWatchId = z.output<typeof FsWatchId>;
2299
+ declare const FsWatchStartParams: z.ZodObject<{
2300
+ path: z.ZodString;
2301
+ recursive: z.ZodDefault<z.ZodBoolean>;
2302
+ ignore: z.ZodDefault<z.ZodArray<z.ZodString>>;
2303
+ }, z.core.$strict>;
2304
+ type FsWatchStartParams = z.output<typeof FsWatchStartParams>;
2305
+ declare const FsWatchStartResult: z.ZodObject<{
2306
+ watch_id: z.ZodString;
2307
+ path: z.ZodString;
2308
+ expires_at_ms: z.ZodInt;
2309
+ }, z.core.$strict>;
2310
+ type FsWatchStartResult = z.output<typeof FsWatchStartResult>;
2311
+ declare const FsWatchEventsParams: z.ZodObject<{
2312
+ watch_id: z.ZodString;
2313
+ wait_ms: z.ZodDefault<z.ZodInt>;
2314
+ }, z.core.$strict>;
2315
+ type FsWatchEventsParams = z.output<typeof FsWatchEventsParams>;
2316
+ declare const FsWatchEventsResult: z.ZodObject<{
2317
+ changes: z.ZodArray<z.ZodObject<{
2318
+ type: z.ZodEnum<{
2319
+ created: "created";
2320
+ deleted: "deleted";
2321
+ modified: "modified";
2322
+ moved: "moved";
2323
+ }>;
2324
+ path: z.ZodString;
2325
+ to_path: z.ZodOptional<z.ZodString>;
2326
+ kind: z.ZodEnum<{
2327
+ unknown: "unknown";
2328
+ file: "file";
2329
+ dir: "dir";
2330
+ symlink: "symlink";
2331
+ }>;
2332
+ }, z.core.$strict>>;
2333
+ overflow: z.ZodBoolean;
2334
+ expires_at_ms: z.ZodInt;
2335
+ }, z.core.$strict>;
2336
+ type FsWatchEventsResult = z.output<typeof FsWatchEventsResult>;
2337
+ declare const FsWatchStopParams: z.ZodObject<{
2338
+ watch_id: z.ZodString;
2339
+ }, z.core.$strict>;
2340
+ type FsWatchStopParams = z.output<typeof FsWatchStopParams>;
2341
+ declare const FsWatchStopResult: z.ZodObject<{
2342
+ watch_id: z.ZodString;
2343
+ }, z.core.$strict>;
2344
+ type FsWatchStopResult = z.output<typeof FsWatchStopResult>;
2345
+
2346
+ /**
2347
+ * @ai-matrx/desktop-protocol — cap exec, background jobs (SPEC §6): start a command that keeps
2348
+ * running (a dev server, a long build), read its output later, stop it. Schema source:
2349
+ * lint-enforced rules in scripts/check-schema-source.mjs. Added in protocol 1.4.
2350
+ */
2351
+
2352
+ declare const ExecJobListParams: z.ZodObject<{}, z.core.$strict>;
2353
+ declare const ExecJobId: z.ZodString;
2354
+ type ExecJobId = z.output<typeof ExecJobId>;
2355
+ declare const ExecJobStartParams: z.ZodObject<{
2356
+ command: z.ZodString;
2357
+ cwd: z.ZodOptional<z.ZodString>;
2358
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2359
+ }, z.core.$strict>;
2360
+ type ExecJobStartParams = z.output<typeof ExecJobStartParams>;
2361
+ declare const ExecJobStartResult: z.ZodObject<{
2362
+ job_id: z.ZodString;
2363
+ pid: z.ZodInt;
2364
+ cwd: z.ZodString;
2365
+ }, z.core.$strict>;
2366
+ type ExecJobStartResult = z.output<typeof ExecJobStartResult>;
2367
+ declare const ExecJobOutputParams: z.ZodObject<{
2368
+ job_id: z.ZodString;
2369
+ offset: z.ZodDefault<z.ZodInt>;
2370
+ wait_ms: z.ZodDefault<z.ZodInt>;
2371
+ max_bytes: z.ZodDefault<z.ZodInt>;
2372
+ }, z.core.$strict>;
2373
+ type ExecJobOutputParams = z.output<typeof ExecJobOutputParams>;
2374
+ declare const ExecJobOutputResult: z.ZodObject<{
2375
+ output: z.ZodString;
2376
+ next_offset: z.ZodInt;
2377
+ dropped_bytes: z.ZodInt;
2378
+ running: z.ZodBoolean;
2379
+ exit_code: z.ZodNullable<z.ZodInt>;
2380
+ }, z.core.$strict>;
2381
+ type ExecJobOutputResult = z.output<typeof ExecJobOutputResult>;
2382
+ declare const ExecJobStopParams: z.ZodObject<{
2383
+ job_id: z.ZodString;
2384
+ force: z.ZodDefault<z.ZodBoolean>;
2385
+ }, z.core.$strict>;
2386
+ type ExecJobStopParams = z.output<typeof ExecJobStopParams>;
2387
+ declare const ExecJobStopResult: z.ZodObject<{
2388
+ job_id: z.ZodString;
2389
+ exited: z.ZodBoolean;
2390
+ exit_code: z.ZodNullable<z.ZodInt>;
2391
+ }, z.core.$strict>;
2392
+ type ExecJobStopResult = z.output<typeof ExecJobStopResult>;
2393
+ declare const ExecJobInfo: z.ZodObject<{
2394
+ job_id: z.ZodString;
2395
+ command: z.ZodString;
2396
+ pid: z.ZodInt;
2397
+ cwd: z.ZodString;
2398
+ running: z.ZodBoolean;
2399
+ exit_code: z.ZodNullable<z.ZodInt>;
2400
+ started_at_ms: z.ZodInt;
2401
+ output_bytes: z.ZodInt;
2402
+ }, z.core.$strict>;
2403
+ type ExecJobInfo = z.output<typeof ExecJobInfo>;
2404
+ declare const ExecJobListResult: z.ZodObject<{
2405
+ jobs: z.ZodArray<z.ZodObject<{
2406
+ job_id: z.ZodString;
2407
+ command: z.ZodString;
2408
+ pid: z.ZodInt;
2409
+ cwd: z.ZodString;
2410
+ running: z.ZodBoolean;
2411
+ exit_code: z.ZodNullable<z.ZodInt>;
2412
+ started_at_ms: z.ZodInt;
2413
+ output_bytes: z.ZodInt;
2414
+ }, z.core.$strict>>;
2415
+ }, z.core.$strict>;
2416
+ type ExecJobListResult = z.output<typeof ExecJobListResult>;
2417
+
1645
2418
  /**
1646
2419
  * Version skew is the normal state: a phone, the server and a desktop app in the field run
1647
2420
  * different package versions, and a minor protocol bump must never make any of them fail.
@@ -1728,7 +2501,7 @@ declare function forPeer(op: OpName | null, part: "error", value: unknown, versi
1728
2501
  declare const VERSIONED_RESULT_OPS: readonly OpName[];
1729
2502
 
1730
2503
  /** SHA-256 of generated/desktop-protocol.schema.json: the contract both sides of a service connection were built from. */
1731
- declare const CONTRACT_SHA256: "ef9fd8c8ab611bf450730452a6cf48a4ebd566218b6e17e2834ef030fc2044cb";
2504
+ declare const CONTRACT_SHA256: "a5378bb523cbf52619f16e2accc788931ffb443e762052db4ca42c598792c181";
1732
2505
 
1733
2506
  /**
1734
2507
  * The local tool catalog (SPEC §10): every tool a platform agent calls on a person's computer, the
@@ -1860,4 +2633,4 @@ declare function buildToolStatus(files: readonly unknown[], opts: {
1860
2633
  /** The committed text form. Columns: per platform, the three levels (P = programmatic, R = protocol, C = chat). */
1861
2634
  declare function renderToolStatusMarkdown(status: ToolStatus): string;
1862
2635
 
1863
- export { AbsPath, AppFeatureStatus, AppInfo, AppKey, AppProfile, AppProfileId, AppProfileLocator, AppSupport, AppUsageReading, AppsListParams, AppsListResult, AppsOpenParams, AppsOpenResult, AppsProfilesListParams, AppsProfilesListResult, AppsProfilesRemoveParams, AppsProfilesRemoveResult, AppsProfilesSaveParams, AppsProfilesSaveResult, CONTRACT_SHA256, type CatalogTool, type CellState, ContractHash, CoreToServiceMsg, DEFAULT_MAX_FRAME_PAYLOAD_BYTES, DEFAULT_MAX_MESSAGE_BYTES, DEFAULT_WINDOW_BYTES, DeviceId, EXCLUDED_TOOLS, ExecCwdEvent, ExecExitedEvent, ExecListParams, ExecListResult, ExecPtyKillParams, ExecPtyKillResult, ExecPtyResizeParams, ExecPtyResizeResult, ExecPtySignalParams, ExecPtySignalResult, ExecPtyStartParams, ExecPtyStartResult, ExecPtyWriteParams, ExecPtyWriteResult, ExecRunParams, ExecRunResult, ExecTitleEvent, FIELDS_SINCE, type FieldsSincePath, FrameHeader, FsChange, FsChangedEvent, FsDeleteParams, FsDeleteResult, FsEncoding, FsEntry, FsKind, FsListParams, FsListResult, FsMkdirParams, FsMkdirResult, FsMoveParams, FsMoveResult, FsPatchEditApplied, FsPatchParams, FsPatchResult, FsReadParams, FsReadResult, FsReadStreamParams, FsReadStreamResult, FsSearchContentParams, FsSearchContentResult, FsSearchPathsParams, FsSearchPathsResult, FsStatParams, FsStatResult, FsWatchParams, FsWatchResult, FsWriteParams, FsWriteResult, LEGACY_ACTIONS, LEGACY_DISPATCHERS, type LegacyDisposition, NULL_SINCE, OpName, OsPermissionName, PROTOCOL_MAJOR, PROTOCOL_MINOR, PROTOCOL_VERSION, ProtocolVersion, PtyInfo, REASONS_SINCE, RELAY_CALL_HELLO_ID, RELAY_CALL_REQUEST_ID, RELAY_CALL_VERSION_HEADER, RelayAuthExpiringEvent, RelayCallEnvelope, RelayCallHello, RelayCallRequest, RelayCallResponse, RelayDeviceStatusEvent, RelayHopConnectionEnd, RelayHopEnvelopeHeader, RelayStatusResponse, RequestId, ResourceId, ResourceInfo, SERVICE_MAX_FRAME_BYTES, ServiceCancel, ServiceErrorMsg, ServiceHello, ServiceName, ServicePing, ServicePong, ServiceProgressMsg, ServiceRequest, ServiceResponse, ServiceShutdown, ServiceToCoreMsg, ServiceToken, ServiceWelcome, SessionAttachParams, SessionAttachResult, SessionControlChangedEvent, SessionDetachParams, SessionDetachResult, SessionListParams, SessionListResult, SessionReleaseParams, SessionReleaseResult, Signal, type StatusCell, type StatusEvidence, type StatusRow, SysinfoGetParams, SysinfoGetResult, TOOL_CATALOG, TOOL_GROUPS, TOOL_LEVELS, TOOL_PLATFORMS, type ToolGroup, type ToolGroupId, ToolLevel, ToolLevelResult, ToolName, ToolOutcome, type ToolPath, ToolPlatform, ToolResultsFile, type ToolState, type ToolStatus, ToolTransport, VERSIONED_RESULT_OPS, announcedVersion, buildToolStatus, builtOps, compareVersions, epochMs, forPeer, knows, negotiate, nonNegInt, renderToolStatusMarkdown, statusForPeer, u32, versionSubprotocol };
2636
+ export { AbsPath, AppFeatureStatus, AppInfo, AppKey, AppProfile, AppProfileId, AppProfileLocator, AppSupport, AppUsageReading, AppsListParams, AppsListResult, AppsOpenParams, AppsOpenResult, AppsProfilesListParams, AppsProfilesListResult, AppsProfilesRemoveParams, AppsProfilesRemoveResult, AppsProfilesSaveParams, AppsProfilesSaveResult, CONTRACT_SHA256, type CatalogTool, type CellState, ClipboardReadParams, ClipboardReadResult, ClipboardWriteParams, ClipboardWriteResult, ContractHash, CoreToServiceMsg, DEFAULT_MAX_FRAME_PAYLOAD_BYTES, DEFAULT_MAX_MESSAGE_BYTES, DEFAULT_WINDOW_BYTES, DeviceId, EXCLUDED_TOOLS, ExecCwdEvent, ExecExitedEvent, ExecJobId, ExecJobInfo, ExecJobListParams, ExecJobListResult, ExecJobOutputParams, ExecJobOutputResult, ExecJobStartParams, ExecJobStartResult, ExecJobStopParams, ExecJobStopResult, ExecListParams, ExecListResult, ExecPtyKillParams, ExecPtyKillResult, ExecPtyResizeParams, ExecPtyResizeResult, ExecPtySignalParams, ExecPtySignalResult, ExecPtyStartParams, ExecPtyStartResult, ExecPtyWriteParams, ExecPtyWriteResult, ExecRunParams, ExecRunResult, ExecTitleEvent, FIELDS_SINCE, type FieldsSincePath, FrameHeader, FsChange, FsChangedEvent, FsDeleteParams, FsDeleteResult, FsEncoding, FsEntry, FsKind, FsListParams, FsListResult, FsMkdirParams, FsMkdirResult, FsMoveParams, FsMoveResult, FsPatchEditApplied, FsPatchParams, FsPatchResult, FsReadParams, FsReadResult, FsReadStreamParams, FsReadStreamResult, FsSearchContentParams, FsSearchContentResult, FsSearchPathsParams, FsSearchPathsResult, FsStatParams, FsStatResult, FsWatchEventsParams, FsWatchEventsResult, FsWatchId, FsWatchParams, FsWatchResult, FsWatchStartParams, FsWatchStartResult, FsWatchStopParams, FsWatchStopResult, FsWriteParams, FsWriteResult, InputHotkeyParams, InputHotkeyResult, InputKey, InputMouseClickParams, InputMouseClickResult, InputMouseMoveParams, InputMouseMoveResult, InputPoint, InputTypeTextParams, InputTypeTextResult, LEGACY_ACTIONS, LEGACY_DISPATCHERS, type LegacyDisposition, NULL_SINCE, OpName, OsPermissionName, PROTOCOL_MAJOR, PROTOCOL_MINOR, PROTOCOL_VERSION, PowerPreventSleepParams, PowerPreventSleepResult, PowerStatusParams, PowerStatusResult, ProcInfo, ProcKillParams, ProcKillResult, ProcListParams, ProcListResult, ProcPort, ProcPortsParams, ProcPortsResult, ProcSort, ProtocolVersion, PtyInfo, REASONS_SINCE, RELAY_CALL_HELLO_ID, RELAY_CALL_REQUEST_ID, RELAY_CALL_VERSION_HEADER, RelayAuthExpiringEvent, RelayCallEnvelope, RelayCallHello, RelayCallRequest, RelayCallResponse, RelayDeviceStatusEvent, RelayHopConnectionEnd, RelayHopEnvelopeHeader, RelayStatusResponse, RequestId, ResourceId, ResourceInfo, ResourcesDisk, ResourcesSnapshotParams, ResourcesSnapshotResult, SERVICE_MAX_FRAME_BYTES, ScreenCaptureParams, ScreenCaptureResult, ScreenDisplay, ScreenListParams, ScreenListResult, ServiceCancel, ServiceErrorMsg, ServiceHello, ServiceName, ServicePing, ServicePong, ServiceProgressMsg, ServiceRequest, ServiceResponse, ServiceShutdown, ServiceToCoreMsg, ServiceToken, ServiceWelcome, SessionAttachParams, SessionAttachResult, SessionControlChangedEvent, SessionDetachParams, SessionDetachResult, SessionListParams, SessionListResult, SessionReleaseParams, SessionReleaseResult, Signal, type StatusCell, type StatusEvidence, type StatusRow, SysinfoGetParams, SysinfoGetResult, SystemNotifyParams, SystemNotifyResult, SystemOpenPathParams, SystemOpenPathResult, SystemOpenUrlParams, SystemOpenUrlResult, TOOL_CATALOG, TOOL_GROUPS, TOOL_LEVELS, TOOL_PLATFORMS, type ToolGroup, type ToolGroupId, ToolLevel, ToolLevelResult, ToolName, ToolOutcome, type ToolPath, ToolPlatform, ToolResultsFile, type ToolState, type ToolStatus, ToolTransport, VERSIONED_RESULT_OPS, WindowFocusParams, WindowFocusResult, WindowInfo, WindowListParams, WindowListResult, WindowMinimizeParams, WindowMinimizeResult, WindowMoveParams, WindowMoveResult, announcedVersion, buildToolStatus, builtOps, compareVersions, epochMs, forPeer, knows, negotiate, nonNegInt, renderToolStatusMarkdown, statusForPeer, u32, versionSubprotocol };