@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/CHANGELOG.md +26 -0
- package/dist/client.cjs +464 -38
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +464 -38
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +578 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +779 -6
- package/dist/index.d.ts +779 -6
- package/dist/index.js +578 -17
- package/dist/index.js.map +1 -1
- package/dist/{models-CxAHZMAM.d.cts → models-iOvmEOHd.d.cts} +1277 -1
- package/dist/{models-CxAHZMAM.d.ts → models-iOvmEOHd.d.ts} +1277 -1
- package/dist/react.d.cts +635 -0
- package/dist/react.d.ts +635 -0
- package/generated/desktop-protocol.schema.json +1919 -1
- package/package.json +1 -1
|
@@ -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";
|
|
684
|
+
readonly since: "1.0" | "1.2" | "1.3" | "1.4";
|
|
685
685
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
686
686
|
};
|
|
687
687
|
declare const OPS: {
|
|
@@ -1567,6 +1567,641 @@ declare const OPS: {
|
|
|
1567
1567
|
readonly since: "1.2";
|
|
1568
1568
|
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "AUTH_REQUIRED", "DEVICE_OFFLINE", "INTERNAL"];
|
|
1569
1569
|
};
|
|
1570
|
+
readonly "proc.list": {
|
|
1571
|
+
readonly params: z.ZodObject<{
|
|
1572
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1573
|
+
sort: z.ZodDefault<z.ZodEnum<{
|
|
1574
|
+
name: "name";
|
|
1575
|
+
cpu: "cpu";
|
|
1576
|
+
memory: "memory";
|
|
1577
|
+
pid: "pid";
|
|
1578
|
+
}>>;
|
|
1579
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
1580
|
+
}, z.core.$strict>;
|
|
1581
|
+
readonly result: z.ZodObject<{
|
|
1582
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
1583
|
+
pid: z.ZodInt;
|
|
1584
|
+
ppid: z.ZodNullable<z.ZodInt>;
|
|
1585
|
+
name: z.ZodString;
|
|
1586
|
+
command: z.ZodString;
|
|
1587
|
+
cpu_percent: z.ZodNullable<z.ZodNumber>;
|
|
1588
|
+
memory_bytes: z.ZodNullable<z.ZodInt>;
|
|
1589
|
+
user: z.ZodNullable<z.ZodString>;
|
|
1590
|
+
}, z.core.$strict>>;
|
|
1591
|
+
total: z.ZodInt;
|
|
1592
|
+
truncated: z.ZodBoolean;
|
|
1593
|
+
}, z.core.$strict>;
|
|
1594
|
+
readonly kind: "unary";
|
|
1595
|
+
readonly since: "1.3";
|
|
1596
|
+
readonly errors: readonly ["INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1597
|
+
};
|
|
1598
|
+
readonly "proc.ports": {
|
|
1599
|
+
readonly params: z.ZodObject<{
|
|
1600
|
+
port: z.ZodOptional<z.ZodInt>;
|
|
1601
|
+
}, z.core.$strict>;
|
|
1602
|
+
readonly result: z.ZodObject<{
|
|
1603
|
+
ports: z.ZodArray<z.ZodObject<{
|
|
1604
|
+
port: z.ZodInt;
|
|
1605
|
+
protocol: z.ZodEnum<{
|
|
1606
|
+
tcp: "tcp";
|
|
1607
|
+
udp: "udp";
|
|
1608
|
+
}>;
|
|
1609
|
+
address: z.ZodString;
|
|
1610
|
+
pid: z.ZodNullable<z.ZodInt>;
|
|
1611
|
+
process: z.ZodNullable<z.ZodString>;
|
|
1612
|
+
}, z.core.$strict>>;
|
|
1613
|
+
}, z.core.$strict>;
|
|
1614
|
+
readonly kind: "unary";
|
|
1615
|
+
readonly since: "1.3";
|
|
1616
|
+
readonly errors: readonly ["INVALID_PARAMS", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1617
|
+
};
|
|
1618
|
+
readonly "proc.kill": {
|
|
1619
|
+
readonly params: z.ZodObject<{
|
|
1620
|
+
pid: z.ZodInt;
|
|
1621
|
+
force: z.ZodDefault<z.ZodBoolean>;
|
|
1622
|
+
}, z.core.$strict>;
|
|
1623
|
+
readonly result: z.ZodObject<{
|
|
1624
|
+
pid: z.ZodInt;
|
|
1625
|
+
signal: z.ZodEnum<{
|
|
1626
|
+
SIGTERM: "SIGTERM";
|
|
1627
|
+
SIGKILL: "SIGKILL";
|
|
1628
|
+
}>;
|
|
1629
|
+
exited: z.ZodBoolean;
|
|
1630
|
+
}, z.core.$strict>;
|
|
1631
|
+
readonly kind: "unary";
|
|
1632
|
+
readonly since: "1.3";
|
|
1633
|
+
readonly errors: readonly ["NOT_FOUND", "AUTH_FORBIDDEN", "PERMISSION_DENIED_OS", "INVALID_PARAMS", "INTERNAL"];
|
|
1634
|
+
};
|
|
1635
|
+
readonly "clipboard.read": {
|
|
1636
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
1637
|
+
readonly result: z.ZodObject<{
|
|
1638
|
+
text: z.ZodString;
|
|
1639
|
+
truncated: z.ZodBoolean;
|
|
1640
|
+
}, z.core.$strict>;
|
|
1641
|
+
readonly kind: "unary";
|
|
1642
|
+
readonly since: "1.3";
|
|
1643
|
+
readonly errors: readonly ["PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1644
|
+
};
|
|
1645
|
+
readonly "clipboard.write": {
|
|
1646
|
+
readonly params: z.ZodObject<{
|
|
1647
|
+
text: z.ZodString;
|
|
1648
|
+
}, z.core.$strict>;
|
|
1649
|
+
readonly result: z.ZodObject<{
|
|
1650
|
+
bytes: z.ZodInt;
|
|
1651
|
+
}, z.core.$strict>;
|
|
1652
|
+
readonly kind: "unary";
|
|
1653
|
+
readonly since: "1.3";
|
|
1654
|
+
readonly errors: readonly ["PLATFORM_UNSUPPORTED", "PAYLOAD_TOO_LARGE", "INTERNAL"];
|
|
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
|
+
};
|
|
1570
2205
|
};
|
|
1571
2206
|
type OpName = keyof typeof OPS;
|
|
1572
2207
|
type OpParams<N extends OpName> = z.input<(typeof OPS)[N]["params"]>;
|
|
@@ -3502,6 +4137,647 @@ declare const NAMED_SCHEMAS: {
|
|
|
3502
4137
|
seq: z.ZodLiteral<0>;
|
|
3503
4138
|
}, z.core.$strict>;
|
|
3504
4139
|
readonly CloseCodeValue: z.ZodLiteral<1000 | 1001 | 1006 | 1012 | 1013 | 4001 | 4003 | 4004 | 4008 | 4009 | 4010 | 4400 | 4426>;
|
|
4140
|
+
readonly ProcSort: z.ZodEnum<{
|
|
4141
|
+
name: "name";
|
|
4142
|
+
cpu: "cpu";
|
|
4143
|
+
memory: "memory";
|
|
4144
|
+
pid: "pid";
|
|
4145
|
+
}>;
|
|
4146
|
+
readonly ProcListParams: z.ZodObject<{
|
|
4147
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4148
|
+
sort: z.ZodDefault<z.ZodEnum<{
|
|
4149
|
+
name: "name";
|
|
4150
|
+
cpu: "cpu";
|
|
4151
|
+
memory: "memory";
|
|
4152
|
+
pid: "pid";
|
|
4153
|
+
}>>;
|
|
4154
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
4155
|
+
}, z.core.$strict>;
|
|
4156
|
+
readonly ProcInfo: z.ZodObject<{
|
|
4157
|
+
pid: z.ZodInt;
|
|
4158
|
+
ppid: z.ZodNullable<z.ZodInt>;
|
|
4159
|
+
name: z.ZodString;
|
|
4160
|
+
command: z.ZodString;
|
|
4161
|
+
cpu_percent: z.ZodNullable<z.ZodNumber>;
|
|
4162
|
+
memory_bytes: z.ZodNullable<z.ZodInt>;
|
|
4163
|
+
user: z.ZodNullable<z.ZodString>;
|
|
4164
|
+
}, z.core.$strict>;
|
|
4165
|
+
readonly ProcListResult: z.ZodObject<{
|
|
4166
|
+
processes: z.ZodArray<z.ZodObject<{
|
|
4167
|
+
pid: z.ZodInt;
|
|
4168
|
+
ppid: z.ZodNullable<z.ZodInt>;
|
|
4169
|
+
name: z.ZodString;
|
|
4170
|
+
command: z.ZodString;
|
|
4171
|
+
cpu_percent: z.ZodNullable<z.ZodNumber>;
|
|
4172
|
+
memory_bytes: z.ZodNullable<z.ZodInt>;
|
|
4173
|
+
user: z.ZodNullable<z.ZodString>;
|
|
4174
|
+
}, z.core.$strict>>;
|
|
4175
|
+
total: z.ZodInt;
|
|
4176
|
+
truncated: z.ZodBoolean;
|
|
4177
|
+
}, z.core.$strict>;
|
|
4178
|
+
readonly ProcPortsParams: z.ZodObject<{
|
|
4179
|
+
port: z.ZodOptional<z.ZodInt>;
|
|
4180
|
+
}, z.core.$strict>;
|
|
4181
|
+
readonly ProcPort: z.ZodObject<{
|
|
4182
|
+
port: z.ZodInt;
|
|
4183
|
+
protocol: z.ZodEnum<{
|
|
4184
|
+
tcp: "tcp";
|
|
4185
|
+
udp: "udp";
|
|
4186
|
+
}>;
|
|
4187
|
+
address: z.ZodString;
|
|
4188
|
+
pid: z.ZodNullable<z.ZodInt>;
|
|
4189
|
+
process: z.ZodNullable<z.ZodString>;
|
|
4190
|
+
}, z.core.$strict>;
|
|
4191
|
+
readonly ProcPortsResult: z.ZodObject<{
|
|
4192
|
+
ports: z.ZodArray<z.ZodObject<{
|
|
4193
|
+
port: z.ZodInt;
|
|
4194
|
+
protocol: z.ZodEnum<{
|
|
4195
|
+
tcp: "tcp";
|
|
4196
|
+
udp: "udp";
|
|
4197
|
+
}>;
|
|
4198
|
+
address: z.ZodString;
|
|
4199
|
+
pid: z.ZodNullable<z.ZodInt>;
|
|
4200
|
+
process: z.ZodNullable<z.ZodString>;
|
|
4201
|
+
}, z.core.$strict>>;
|
|
4202
|
+
}, z.core.$strict>;
|
|
4203
|
+
readonly ProcKillParams: z.ZodObject<{
|
|
4204
|
+
pid: z.ZodInt;
|
|
4205
|
+
force: z.ZodDefault<z.ZodBoolean>;
|
|
4206
|
+
}, z.core.$strict>;
|
|
4207
|
+
readonly ProcKillResult: z.ZodObject<{
|
|
4208
|
+
pid: z.ZodInt;
|
|
4209
|
+
signal: z.ZodEnum<{
|
|
4210
|
+
SIGTERM: "SIGTERM";
|
|
4211
|
+
SIGKILL: "SIGKILL";
|
|
4212
|
+
}>;
|
|
4213
|
+
exited: z.ZodBoolean;
|
|
4214
|
+
}, z.core.$strict>;
|
|
4215
|
+
readonly ClipboardReadParams: z.ZodObject<{}, z.core.$strict>;
|
|
4216
|
+
readonly ClipboardReadResult: z.ZodObject<{
|
|
4217
|
+
text: z.ZodString;
|
|
4218
|
+
truncated: z.ZodBoolean;
|
|
4219
|
+
}, z.core.$strict>;
|
|
4220
|
+
readonly ClipboardWriteParams: z.ZodObject<{
|
|
4221
|
+
text: z.ZodString;
|
|
4222
|
+
}, z.core.$strict>;
|
|
4223
|
+
readonly ClipboardWriteResult: z.ZodObject<{
|
|
4224
|
+
bytes: z.ZodInt;
|
|
4225
|
+
}, z.core.$strict>;
|
|
4226
|
+
readonly SystemOpenUrlParams: z.ZodObject<{
|
|
4227
|
+
url: z.ZodString;
|
|
4228
|
+
}, z.core.$strict>;
|
|
4229
|
+
readonly SystemOpenUrlResult: z.ZodObject<{
|
|
4230
|
+
url: z.ZodString;
|
|
4231
|
+
}, z.core.$strict>;
|
|
4232
|
+
readonly SystemOpenPathParams: z.ZodObject<{
|
|
4233
|
+
path: z.ZodString;
|
|
4234
|
+
reveal: z.ZodDefault<z.ZodBoolean>;
|
|
4235
|
+
}, z.core.$strict>;
|
|
4236
|
+
readonly SystemOpenPathResult: z.ZodObject<{
|
|
4237
|
+
path: z.ZodString;
|
|
4238
|
+
revealed: z.ZodBoolean;
|
|
4239
|
+
}, z.core.$strict>;
|
|
4240
|
+
readonly SystemNotifyParams: z.ZodObject<{
|
|
4241
|
+
title: z.ZodString;
|
|
4242
|
+
body: z.ZodDefault<z.ZodString>;
|
|
4243
|
+
}, z.core.$strict>;
|
|
4244
|
+
readonly SystemNotifyResult: z.ZodObject<{
|
|
4245
|
+
shown: z.ZodBoolean;
|
|
4246
|
+
}, z.core.$strict>;
|
|
4247
|
+
readonly ScreenDisplay: z.ZodObject<{
|
|
4248
|
+
id: z.ZodInt;
|
|
4249
|
+
name: z.ZodString;
|
|
4250
|
+
x: z.ZodInt;
|
|
4251
|
+
y: z.ZodInt;
|
|
4252
|
+
width: z.ZodInt;
|
|
4253
|
+
height: z.ZodInt;
|
|
4254
|
+
scale: z.ZodNumber;
|
|
4255
|
+
primary: z.ZodBoolean;
|
|
4256
|
+
}, z.core.$strict>;
|
|
4257
|
+
readonly ScreenListParams: z.ZodObject<{}, z.core.$strict>;
|
|
4258
|
+
readonly ScreenListResult: z.ZodObject<{
|
|
4259
|
+
displays: z.ZodArray<z.ZodObject<{
|
|
4260
|
+
id: z.ZodInt;
|
|
4261
|
+
name: z.ZodString;
|
|
4262
|
+
x: z.ZodInt;
|
|
4263
|
+
y: z.ZodInt;
|
|
4264
|
+
width: z.ZodInt;
|
|
4265
|
+
height: z.ZodInt;
|
|
4266
|
+
scale: z.ZodNumber;
|
|
4267
|
+
primary: z.ZodBoolean;
|
|
4268
|
+
}, z.core.$strict>>;
|
|
4269
|
+
}, z.core.$strict>;
|
|
4270
|
+
readonly ScreenCaptureParams: z.ZodObject<{
|
|
4271
|
+
display_id: z.ZodOptional<z.ZodInt>;
|
|
4272
|
+
format: z.ZodDefault<z.ZodEnum<{
|
|
4273
|
+
jpeg: "jpeg";
|
|
4274
|
+
png: "png";
|
|
4275
|
+
}>>;
|
|
4276
|
+
max_width: z.ZodDefault<z.ZodInt>;
|
|
4277
|
+
}, z.core.$strict>;
|
|
4278
|
+
readonly ScreenCaptureResult: z.ZodObject<{
|
|
4279
|
+
display_id: z.ZodInt;
|
|
4280
|
+
mime_type: z.ZodEnum<{
|
|
4281
|
+
"image/jpeg": "image/jpeg";
|
|
4282
|
+
"image/png": "image/png";
|
|
4283
|
+
}>;
|
|
4284
|
+
width: z.ZodInt;
|
|
4285
|
+
height: z.ZodInt;
|
|
4286
|
+
source_width: z.ZodInt;
|
|
4287
|
+
source_height: z.ZodInt;
|
|
4288
|
+
data_base64: z.ZodString;
|
|
4289
|
+
}, z.core.$strict>;
|
|
4290
|
+
readonly WindowInfo: z.ZodObject<{
|
|
4291
|
+
id: z.ZodInt;
|
|
4292
|
+
title: z.ZodString;
|
|
4293
|
+
x: z.ZodInt;
|
|
4294
|
+
y: z.ZodInt;
|
|
4295
|
+
width: z.ZodInt;
|
|
4296
|
+
height: z.ZodInt;
|
|
4297
|
+
}, z.core.$strict>;
|
|
4298
|
+
readonly WindowListParams: z.ZodObject<{
|
|
4299
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4300
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
4301
|
+
}, z.core.$strict>;
|
|
4302
|
+
readonly WindowListResult: z.ZodObject<{
|
|
4303
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
4304
|
+
id: z.ZodInt;
|
|
4305
|
+
title: z.ZodString;
|
|
4306
|
+
x: z.ZodInt;
|
|
4307
|
+
y: z.ZodInt;
|
|
4308
|
+
width: z.ZodInt;
|
|
4309
|
+
height: z.ZodInt;
|
|
4310
|
+
}, z.core.$strict>>;
|
|
4311
|
+
total: z.ZodInt;
|
|
4312
|
+
truncated: z.ZodBoolean;
|
|
4313
|
+
}, z.core.$strict>;
|
|
4314
|
+
readonly WindowFocusParams: z.ZodObject<{
|
|
4315
|
+
id: z.ZodInt;
|
|
4316
|
+
}, z.core.$strict>;
|
|
4317
|
+
readonly WindowFocusResult: z.ZodObject<{
|
|
4318
|
+
window: z.ZodObject<{
|
|
4319
|
+
id: z.ZodInt;
|
|
4320
|
+
title: z.ZodString;
|
|
4321
|
+
x: z.ZodInt;
|
|
4322
|
+
y: z.ZodInt;
|
|
4323
|
+
width: z.ZodInt;
|
|
4324
|
+
height: z.ZodInt;
|
|
4325
|
+
}, z.core.$strict>;
|
|
4326
|
+
}, z.core.$strict>;
|
|
4327
|
+
readonly WindowMoveParams: z.ZodObject<{
|
|
4328
|
+
id: z.ZodInt;
|
|
4329
|
+
x: z.ZodOptional<z.ZodInt>;
|
|
4330
|
+
y: z.ZodOptional<z.ZodInt>;
|
|
4331
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
4332
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
4333
|
+
}, z.core.$strict>;
|
|
4334
|
+
readonly WindowMoveResult: z.ZodObject<{
|
|
4335
|
+
window: z.ZodObject<{
|
|
4336
|
+
id: z.ZodInt;
|
|
4337
|
+
title: z.ZodString;
|
|
4338
|
+
x: z.ZodInt;
|
|
4339
|
+
y: z.ZodInt;
|
|
4340
|
+
width: z.ZodInt;
|
|
4341
|
+
height: z.ZodInt;
|
|
4342
|
+
}, z.core.$strict>;
|
|
4343
|
+
}, z.core.$strict>;
|
|
4344
|
+
readonly WindowMinimizeParams: z.ZodObject<{
|
|
4345
|
+
id: z.ZodInt;
|
|
4346
|
+
}, z.core.$strict>;
|
|
4347
|
+
readonly WindowMinimizeResult: z.ZodObject<{
|
|
4348
|
+
id: z.ZodInt;
|
|
4349
|
+
}, z.core.$strict>;
|
|
4350
|
+
readonly InputKey: z.ZodEnum<{
|
|
4351
|
+
0: "0";
|
|
4352
|
+
1: "1";
|
|
4353
|
+
2: "2";
|
|
4354
|
+
3: "3";
|
|
4355
|
+
4: "4";
|
|
4356
|
+
5: "5";
|
|
4357
|
+
6: "6";
|
|
4358
|
+
7: "7";
|
|
4359
|
+
8: "8";
|
|
4360
|
+
9: "9";
|
|
4361
|
+
meta: "meta";
|
|
4362
|
+
end: "end";
|
|
4363
|
+
n: "n";
|
|
4364
|
+
home: "home";
|
|
4365
|
+
x: "x";
|
|
4366
|
+
y: "y";
|
|
4367
|
+
cmd: "cmd";
|
|
4368
|
+
ctrl: "ctrl";
|
|
4369
|
+
alt: "alt";
|
|
4370
|
+
shift: "shift";
|
|
4371
|
+
a: "a";
|
|
4372
|
+
b: "b";
|
|
4373
|
+
c: "c";
|
|
4374
|
+
d: "d";
|
|
4375
|
+
e: "e";
|
|
4376
|
+
f: "f";
|
|
4377
|
+
g: "g";
|
|
4378
|
+
h: "h";
|
|
4379
|
+
i: "i";
|
|
4380
|
+
j: "j";
|
|
4381
|
+
k: "k";
|
|
4382
|
+
l: "l";
|
|
4383
|
+
m: "m";
|
|
4384
|
+
o: "o";
|
|
4385
|
+
p: "p";
|
|
4386
|
+
q: "q";
|
|
4387
|
+
r: "r";
|
|
4388
|
+
s: "s";
|
|
4389
|
+
t: "t";
|
|
4390
|
+
u: "u";
|
|
4391
|
+
v: "v";
|
|
4392
|
+
w: "w";
|
|
4393
|
+
z: "z";
|
|
4394
|
+
f1: "f1";
|
|
4395
|
+
f2: "f2";
|
|
4396
|
+
f3: "f3";
|
|
4397
|
+
f4: "f4";
|
|
4398
|
+
f5: "f5";
|
|
4399
|
+
f6: "f6";
|
|
4400
|
+
f7: "f7";
|
|
4401
|
+
f8: "f8";
|
|
4402
|
+
f9: "f9";
|
|
4403
|
+
f10: "f10";
|
|
4404
|
+
f11: "f11";
|
|
4405
|
+
f12: "f12";
|
|
4406
|
+
enter: "enter";
|
|
4407
|
+
tab: "tab";
|
|
4408
|
+
escape: "escape";
|
|
4409
|
+
space: "space";
|
|
4410
|
+
backspace: "backspace";
|
|
4411
|
+
delete: "delete";
|
|
4412
|
+
up: "up";
|
|
4413
|
+
down: "down";
|
|
4414
|
+
left: "left";
|
|
4415
|
+
right: "right";
|
|
4416
|
+
pageup: "pageup";
|
|
4417
|
+
pagedown: "pagedown";
|
|
4418
|
+
minus: "minus";
|
|
4419
|
+
equal: "equal";
|
|
4420
|
+
comma: "comma";
|
|
4421
|
+
period: "period";
|
|
4422
|
+
slash: "slash";
|
|
4423
|
+
semicolon: "semicolon";
|
|
4424
|
+
quote: "quote";
|
|
4425
|
+
bracketleft: "bracketleft";
|
|
4426
|
+
bracketright: "bracketright";
|
|
4427
|
+
backslash: "backslash";
|
|
4428
|
+
grave: "grave";
|
|
4429
|
+
}>;
|
|
4430
|
+
readonly InputPoint: z.ZodObject<{
|
|
4431
|
+
x: z.ZodInt;
|
|
4432
|
+
y: z.ZodInt;
|
|
4433
|
+
}, z.core.$strict>;
|
|
4434
|
+
readonly InputTypeTextParams: z.ZodObject<{
|
|
4435
|
+
text: z.ZodString;
|
|
4436
|
+
}, z.core.$strict>;
|
|
4437
|
+
readonly InputTypeTextResult: z.ZodObject<{
|
|
4438
|
+
characters: z.ZodInt;
|
|
4439
|
+
}, z.core.$strict>;
|
|
4440
|
+
readonly InputHotkeyParams: z.ZodObject<{
|
|
4441
|
+
keys: z.ZodArray<z.ZodEnum<{
|
|
4442
|
+
0: "0";
|
|
4443
|
+
1: "1";
|
|
4444
|
+
2: "2";
|
|
4445
|
+
3: "3";
|
|
4446
|
+
4: "4";
|
|
4447
|
+
5: "5";
|
|
4448
|
+
6: "6";
|
|
4449
|
+
7: "7";
|
|
4450
|
+
8: "8";
|
|
4451
|
+
9: "9";
|
|
4452
|
+
meta: "meta";
|
|
4453
|
+
end: "end";
|
|
4454
|
+
n: "n";
|
|
4455
|
+
home: "home";
|
|
4456
|
+
x: "x";
|
|
4457
|
+
y: "y";
|
|
4458
|
+
cmd: "cmd";
|
|
4459
|
+
ctrl: "ctrl";
|
|
4460
|
+
alt: "alt";
|
|
4461
|
+
shift: "shift";
|
|
4462
|
+
a: "a";
|
|
4463
|
+
b: "b";
|
|
4464
|
+
c: "c";
|
|
4465
|
+
d: "d";
|
|
4466
|
+
e: "e";
|
|
4467
|
+
f: "f";
|
|
4468
|
+
g: "g";
|
|
4469
|
+
h: "h";
|
|
4470
|
+
i: "i";
|
|
4471
|
+
j: "j";
|
|
4472
|
+
k: "k";
|
|
4473
|
+
l: "l";
|
|
4474
|
+
m: "m";
|
|
4475
|
+
o: "o";
|
|
4476
|
+
p: "p";
|
|
4477
|
+
q: "q";
|
|
4478
|
+
r: "r";
|
|
4479
|
+
s: "s";
|
|
4480
|
+
t: "t";
|
|
4481
|
+
u: "u";
|
|
4482
|
+
v: "v";
|
|
4483
|
+
w: "w";
|
|
4484
|
+
z: "z";
|
|
4485
|
+
f1: "f1";
|
|
4486
|
+
f2: "f2";
|
|
4487
|
+
f3: "f3";
|
|
4488
|
+
f4: "f4";
|
|
4489
|
+
f5: "f5";
|
|
4490
|
+
f6: "f6";
|
|
4491
|
+
f7: "f7";
|
|
4492
|
+
f8: "f8";
|
|
4493
|
+
f9: "f9";
|
|
4494
|
+
f10: "f10";
|
|
4495
|
+
f11: "f11";
|
|
4496
|
+
f12: "f12";
|
|
4497
|
+
enter: "enter";
|
|
4498
|
+
tab: "tab";
|
|
4499
|
+
escape: "escape";
|
|
4500
|
+
space: "space";
|
|
4501
|
+
backspace: "backspace";
|
|
4502
|
+
delete: "delete";
|
|
4503
|
+
up: "up";
|
|
4504
|
+
down: "down";
|
|
4505
|
+
left: "left";
|
|
4506
|
+
right: "right";
|
|
4507
|
+
pageup: "pageup";
|
|
4508
|
+
pagedown: "pagedown";
|
|
4509
|
+
minus: "minus";
|
|
4510
|
+
equal: "equal";
|
|
4511
|
+
comma: "comma";
|
|
4512
|
+
period: "period";
|
|
4513
|
+
slash: "slash";
|
|
4514
|
+
semicolon: "semicolon";
|
|
4515
|
+
quote: "quote";
|
|
4516
|
+
bracketleft: "bracketleft";
|
|
4517
|
+
bracketright: "bracketright";
|
|
4518
|
+
backslash: "backslash";
|
|
4519
|
+
grave: "grave";
|
|
4520
|
+
}>>;
|
|
4521
|
+
}, z.core.$strict>;
|
|
4522
|
+
readonly InputHotkeyResult: z.ZodObject<{
|
|
4523
|
+
keys: z.ZodArray<z.ZodEnum<{
|
|
4524
|
+
0: "0";
|
|
4525
|
+
1: "1";
|
|
4526
|
+
2: "2";
|
|
4527
|
+
3: "3";
|
|
4528
|
+
4: "4";
|
|
4529
|
+
5: "5";
|
|
4530
|
+
6: "6";
|
|
4531
|
+
7: "7";
|
|
4532
|
+
8: "8";
|
|
4533
|
+
9: "9";
|
|
4534
|
+
meta: "meta";
|
|
4535
|
+
end: "end";
|
|
4536
|
+
n: "n";
|
|
4537
|
+
home: "home";
|
|
4538
|
+
x: "x";
|
|
4539
|
+
y: "y";
|
|
4540
|
+
cmd: "cmd";
|
|
4541
|
+
ctrl: "ctrl";
|
|
4542
|
+
alt: "alt";
|
|
4543
|
+
shift: "shift";
|
|
4544
|
+
a: "a";
|
|
4545
|
+
b: "b";
|
|
4546
|
+
c: "c";
|
|
4547
|
+
d: "d";
|
|
4548
|
+
e: "e";
|
|
4549
|
+
f: "f";
|
|
4550
|
+
g: "g";
|
|
4551
|
+
h: "h";
|
|
4552
|
+
i: "i";
|
|
4553
|
+
j: "j";
|
|
4554
|
+
k: "k";
|
|
4555
|
+
l: "l";
|
|
4556
|
+
m: "m";
|
|
4557
|
+
o: "o";
|
|
4558
|
+
p: "p";
|
|
4559
|
+
q: "q";
|
|
4560
|
+
r: "r";
|
|
4561
|
+
s: "s";
|
|
4562
|
+
t: "t";
|
|
4563
|
+
u: "u";
|
|
4564
|
+
v: "v";
|
|
4565
|
+
w: "w";
|
|
4566
|
+
z: "z";
|
|
4567
|
+
f1: "f1";
|
|
4568
|
+
f2: "f2";
|
|
4569
|
+
f3: "f3";
|
|
4570
|
+
f4: "f4";
|
|
4571
|
+
f5: "f5";
|
|
4572
|
+
f6: "f6";
|
|
4573
|
+
f7: "f7";
|
|
4574
|
+
f8: "f8";
|
|
4575
|
+
f9: "f9";
|
|
4576
|
+
f10: "f10";
|
|
4577
|
+
f11: "f11";
|
|
4578
|
+
f12: "f12";
|
|
4579
|
+
enter: "enter";
|
|
4580
|
+
tab: "tab";
|
|
4581
|
+
escape: "escape";
|
|
4582
|
+
space: "space";
|
|
4583
|
+
backspace: "backspace";
|
|
4584
|
+
delete: "delete";
|
|
4585
|
+
up: "up";
|
|
4586
|
+
down: "down";
|
|
4587
|
+
left: "left";
|
|
4588
|
+
right: "right";
|
|
4589
|
+
pageup: "pageup";
|
|
4590
|
+
pagedown: "pagedown";
|
|
4591
|
+
minus: "minus";
|
|
4592
|
+
equal: "equal";
|
|
4593
|
+
comma: "comma";
|
|
4594
|
+
period: "period";
|
|
4595
|
+
slash: "slash";
|
|
4596
|
+
semicolon: "semicolon";
|
|
4597
|
+
quote: "quote";
|
|
4598
|
+
bracketleft: "bracketleft";
|
|
4599
|
+
bracketright: "bracketright";
|
|
4600
|
+
backslash: "backslash";
|
|
4601
|
+
grave: "grave";
|
|
4602
|
+
}>>;
|
|
4603
|
+
}, z.core.$strict>;
|
|
4604
|
+
readonly InputMouseMoveParams: z.ZodObject<{
|
|
4605
|
+
x: z.ZodInt;
|
|
4606
|
+
y: z.ZodInt;
|
|
4607
|
+
}, z.core.$strict>;
|
|
4608
|
+
readonly InputMouseMoveResult: z.ZodObject<{
|
|
4609
|
+
position: z.ZodObject<{
|
|
4610
|
+
x: z.ZodInt;
|
|
4611
|
+
y: z.ZodInt;
|
|
4612
|
+
}, z.core.$strict>;
|
|
4613
|
+
}, z.core.$strict>;
|
|
4614
|
+
readonly InputMouseClickParams: z.ZodObject<{
|
|
4615
|
+
x: z.ZodOptional<z.ZodInt>;
|
|
4616
|
+
y: z.ZodOptional<z.ZodInt>;
|
|
4617
|
+
button: z.ZodDefault<z.ZodEnum<{
|
|
4618
|
+
left: "left";
|
|
4619
|
+
right: "right";
|
|
4620
|
+
middle: "middle";
|
|
4621
|
+
}>>;
|
|
4622
|
+
double: z.ZodDefault<z.ZodBoolean>;
|
|
4623
|
+
}, z.core.$strict>;
|
|
4624
|
+
readonly InputMouseClickResult: z.ZodObject<{
|
|
4625
|
+
position: z.ZodObject<{
|
|
4626
|
+
x: z.ZodInt;
|
|
4627
|
+
y: z.ZodInt;
|
|
4628
|
+
}, z.core.$strict>;
|
|
4629
|
+
button: z.ZodEnum<{
|
|
4630
|
+
left: "left";
|
|
4631
|
+
right: "right";
|
|
4632
|
+
middle: "middle";
|
|
4633
|
+
}>;
|
|
4634
|
+
double: z.ZodBoolean;
|
|
4635
|
+
}, z.core.$strict>;
|
|
4636
|
+
readonly PowerStatusParams: z.ZodObject<{}, z.core.$strict>;
|
|
4637
|
+
readonly PowerStatusResult: z.ZodObject<{
|
|
4638
|
+
has_battery: z.ZodBoolean;
|
|
4639
|
+
percent: z.ZodNullable<z.ZodNumber>;
|
|
4640
|
+
charging: z.ZodNullable<z.ZodBoolean>;
|
|
4641
|
+
plugged_in: z.ZodNullable<z.ZodBoolean>;
|
|
4642
|
+
minutes_left: z.ZodNullable<z.ZodInt>;
|
|
4643
|
+
awake_until_ms: z.ZodNullable<z.ZodInt>;
|
|
4644
|
+
}, z.core.$strict>;
|
|
4645
|
+
readonly PowerPreventSleepParams: z.ZodObject<{
|
|
4646
|
+
seconds: z.ZodInt;
|
|
4647
|
+
reason: z.ZodDefault<z.ZodString>;
|
|
4648
|
+
}, z.core.$strict>;
|
|
4649
|
+
readonly PowerPreventSleepResult: z.ZodObject<{
|
|
4650
|
+
awake_until_ms: z.ZodNullable<z.ZodInt>;
|
|
4651
|
+
}, z.core.$strict>;
|
|
4652
|
+
readonly ResourcesDisk: z.ZodObject<{
|
|
4653
|
+
mount: z.ZodString;
|
|
4654
|
+
fs: z.ZodString;
|
|
4655
|
+
size_bytes: z.ZodInt;
|
|
4656
|
+
used_bytes: z.ZodInt;
|
|
4657
|
+
available_bytes: z.ZodInt;
|
|
4658
|
+
}, z.core.$strict>;
|
|
4659
|
+
readonly ResourcesSnapshotParams: z.ZodObject<{}, z.core.$strict>;
|
|
4660
|
+
readonly ResourcesSnapshotResult: z.ZodObject<{
|
|
4661
|
+
cpu: z.ZodObject<{
|
|
4662
|
+
percent: z.ZodNumber;
|
|
4663
|
+
cores: z.ZodInt;
|
|
4664
|
+
load: z.ZodNullable<z.ZodArray<z.ZodNumber>>;
|
|
4665
|
+
}, z.core.$strict>;
|
|
4666
|
+
memory: z.ZodObject<{
|
|
4667
|
+
total_bytes: z.ZodInt;
|
|
4668
|
+
used_bytes: z.ZodInt;
|
|
4669
|
+
available_bytes: z.ZodInt;
|
|
4670
|
+
}, z.core.$strict>;
|
|
4671
|
+
swap: z.ZodObject<{
|
|
4672
|
+
total_bytes: z.ZodInt;
|
|
4673
|
+
used_bytes: z.ZodInt;
|
|
4674
|
+
}, z.core.$strict>;
|
|
4675
|
+
disks: z.ZodArray<z.ZodObject<{
|
|
4676
|
+
mount: z.ZodString;
|
|
4677
|
+
fs: z.ZodString;
|
|
4678
|
+
size_bytes: z.ZodInt;
|
|
4679
|
+
used_bytes: z.ZodInt;
|
|
4680
|
+
available_bytes: z.ZodInt;
|
|
4681
|
+
}, z.core.$strict>>;
|
|
4682
|
+
uptime_seconds: z.ZodInt;
|
|
4683
|
+
}, z.core.$strict>;
|
|
4684
|
+
readonly FsWatchId: z.ZodString;
|
|
4685
|
+
readonly FsWatchStartParams: z.ZodObject<{
|
|
4686
|
+
path: z.ZodString;
|
|
4687
|
+
recursive: z.ZodDefault<z.ZodBoolean>;
|
|
4688
|
+
ignore: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4689
|
+
}, z.core.$strict>;
|
|
4690
|
+
readonly FsWatchStartResult: z.ZodObject<{
|
|
4691
|
+
watch_id: z.ZodString;
|
|
4692
|
+
path: z.ZodString;
|
|
4693
|
+
expires_at_ms: z.ZodInt;
|
|
4694
|
+
}, z.core.$strict>;
|
|
4695
|
+
readonly FsWatchEventsParams: z.ZodObject<{
|
|
4696
|
+
watch_id: z.ZodString;
|
|
4697
|
+
wait_ms: z.ZodDefault<z.ZodInt>;
|
|
4698
|
+
}, z.core.$strict>;
|
|
4699
|
+
readonly FsWatchEventsResult: z.ZodObject<{
|
|
4700
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
4701
|
+
type: z.ZodEnum<{
|
|
4702
|
+
created: "created";
|
|
4703
|
+
deleted: "deleted";
|
|
4704
|
+
modified: "modified";
|
|
4705
|
+
moved: "moved";
|
|
4706
|
+
}>;
|
|
4707
|
+
path: z.ZodString;
|
|
4708
|
+
to_path: z.ZodOptional<z.ZodString>;
|
|
4709
|
+
kind: z.ZodEnum<{
|
|
4710
|
+
unknown: "unknown";
|
|
4711
|
+
file: "file";
|
|
4712
|
+
dir: "dir";
|
|
4713
|
+
symlink: "symlink";
|
|
4714
|
+
}>;
|
|
4715
|
+
}, z.core.$strict>>;
|
|
4716
|
+
overflow: z.ZodBoolean;
|
|
4717
|
+
expires_at_ms: z.ZodInt;
|
|
4718
|
+
}, z.core.$strict>;
|
|
4719
|
+
readonly FsWatchStopParams: z.ZodObject<{
|
|
4720
|
+
watch_id: z.ZodString;
|
|
4721
|
+
}, z.core.$strict>;
|
|
4722
|
+
readonly FsWatchStopResult: z.ZodObject<{
|
|
4723
|
+
watch_id: z.ZodString;
|
|
4724
|
+
}, z.core.$strict>;
|
|
4725
|
+
readonly ExecJobId: z.ZodString;
|
|
4726
|
+
readonly ExecJobStartParams: z.ZodObject<{
|
|
4727
|
+
command: z.ZodString;
|
|
4728
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
4729
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4730
|
+
}, z.core.$strict>;
|
|
4731
|
+
readonly ExecJobStartResult: z.ZodObject<{
|
|
4732
|
+
job_id: z.ZodString;
|
|
4733
|
+
pid: z.ZodInt;
|
|
4734
|
+
cwd: z.ZodString;
|
|
4735
|
+
}, z.core.$strict>;
|
|
4736
|
+
readonly ExecJobOutputParams: z.ZodObject<{
|
|
4737
|
+
job_id: z.ZodString;
|
|
4738
|
+
offset: z.ZodDefault<z.ZodInt>;
|
|
4739
|
+
wait_ms: z.ZodDefault<z.ZodInt>;
|
|
4740
|
+
max_bytes: z.ZodDefault<z.ZodInt>;
|
|
4741
|
+
}, z.core.$strict>;
|
|
4742
|
+
readonly ExecJobOutputResult: z.ZodObject<{
|
|
4743
|
+
output: z.ZodString;
|
|
4744
|
+
next_offset: z.ZodInt;
|
|
4745
|
+
dropped_bytes: z.ZodInt;
|
|
4746
|
+
running: z.ZodBoolean;
|
|
4747
|
+
exit_code: z.ZodNullable<z.ZodInt>;
|
|
4748
|
+
}, z.core.$strict>;
|
|
4749
|
+
readonly ExecJobStopParams: z.ZodObject<{
|
|
4750
|
+
job_id: z.ZodString;
|
|
4751
|
+
force: z.ZodDefault<z.ZodBoolean>;
|
|
4752
|
+
}, z.core.$strict>;
|
|
4753
|
+
readonly ExecJobStopResult: z.ZodObject<{
|
|
4754
|
+
job_id: z.ZodString;
|
|
4755
|
+
exited: z.ZodBoolean;
|
|
4756
|
+
exit_code: z.ZodNullable<z.ZodInt>;
|
|
4757
|
+
}, z.core.$strict>;
|
|
4758
|
+
readonly ExecJobInfo: z.ZodObject<{
|
|
4759
|
+
job_id: z.ZodString;
|
|
4760
|
+
command: z.ZodString;
|
|
4761
|
+
pid: z.ZodInt;
|
|
4762
|
+
cwd: z.ZodString;
|
|
4763
|
+
running: z.ZodBoolean;
|
|
4764
|
+
exit_code: z.ZodNullable<z.ZodInt>;
|
|
4765
|
+
started_at_ms: z.ZodInt;
|
|
4766
|
+
output_bytes: z.ZodInt;
|
|
4767
|
+
}, z.core.$strict>;
|
|
4768
|
+
readonly ExecJobListParams: z.ZodObject<{}, z.core.$strict>;
|
|
4769
|
+
readonly ExecJobListResult: z.ZodObject<{
|
|
4770
|
+
jobs: z.ZodArray<z.ZodObject<{
|
|
4771
|
+
job_id: z.ZodString;
|
|
4772
|
+
command: z.ZodString;
|
|
4773
|
+
pid: z.ZodInt;
|
|
4774
|
+
cwd: z.ZodString;
|
|
4775
|
+
running: z.ZodBoolean;
|
|
4776
|
+
exit_code: z.ZodNullable<z.ZodInt>;
|
|
4777
|
+
started_at_ms: z.ZodInt;
|
|
4778
|
+
output_bytes: z.ZodInt;
|
|
4779
|
+
}, z.core.$strict>>;
|
|
4780
|
+
}, z.core.$strict>;
|
|
3505
4781
|
readonly ToolLevel: z.ZodEnum<{
|
|
3506
4782
|
programmatic: "programmatic";
|
|
3507
4783
|
protocol: "protocol";
|