@ai-matrx/desktop-protocol 0.17.6 → 0.17.7
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 +13 -0
- package/dist/client.cjs +110 -1
- 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 +110 -1
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +158 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +344 -6
- package/dist/index.d.ts +344 -6
- package/dist/index.js +158 -3
- package/dist/index.js.map +1 -1
- package/dist/{models-B9tM6Hnx.d.cts → models-Os6toG3X.d.cts} +532 -1
- package/dist/{models-B9tM6Hnx.d.ts → models-Os6toG3X.d.ts} +532 -1
- package/dist/react.d.cts +226 -0
- package/dist/react.d.ts +226 -0
- package/generated/desktop-protocol.schema.json +901 -1
- package/package.json +1 -1
package/dist/react.d.cts
CHANGED
|
@@ -1644,6 +1644,232 @@ declare const OPS: {
|
|
|
1644
1644
|
readonly since: "1.10";
|
|
1645
1645
|
readonly errors: readonly ["CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1646
1646
|
};
|
|
1647
|
+
readonly "apps.chats.cold": {
|
|
1648
|
+
readonly params: z.ZodObject<{
|
|
1649
|
+
app_key: z.ZodString;
|
|
1650
|
+
}, z.core.$strict>;
|
|
1651
|
+
readonly result: z.ZodObject<{
|
|
1652
|
+
app_key: z.ZodString;
|
|
1653
|
+
waiting: z.ZodArray<z.ZodObject<{
|
|
1654
|
+
id: z.ZodString;
|
|
1655
|
+
title: z.ZodString;
|
|
1656
|
+
repo: z.ZodNullable<z.ZodString>;
|
|
1657
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1658
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1659
|
+
model_name: z.ZodNullable<z.ZodString>;
|
|
1660
|
+
context_tokens: z.ZodInt;
|
|
1661
|
+
cold_at_ms: z.ZodInt;
|
|
1662
|
+
cold_cost: z.ZodNullable<z.ZodNumber>;
|
|
1663
|
+
warm_cost: z.ZodNullable<z.ZodNumber>;
|
|
1664
|
+
extra_usage: z.ZodBoolean;
|
|
1665
|
+
scheduled: z.ZodBoolean;
|
|
1666
|
+
openable: z.ZodBoolean;
|
|
1667
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1668
|
+
}, z.core.$strict>>;
|
|
1669
|
+
recently_cold: z.ZodArray<z.ZodObject<{
|
|
1670
|
+
id: z.ZodString;
|
|
1671
|
+
title: z.ZodString;
|
|
1672
|
+
repo: z.ZodNullable<z.ZodString>;
|
|
1673
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1674
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1675
|
+
model_name: z.ZodNullable<z.ZodString>;
|
|
1676
|
+
context_tokens: z.ZodInt;
|
|
1677
|
+
cold_at_ms: z.ZodInt;
|
|
1678
|
+
cold_cost: z.ZodNullable<z.ZodNumber>;
|
|
1679
|
+
warm_cost: z.ZodNullable<z.ZodNumber>;
|
|
1680
|
+
extra_usage: z.ZodBoolean;
|
|
1681
|
+
scheduled: z.ZodBoolean;
|
|
1682
|
+
openable: z.ZodBoolean;
|
|
1683
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1684
|
+
}, z.core.$strict>>;
|
|
1685
|
+
working: z.ZodInt;
|
|
1686
|
+
}, z.core.$strict>;
|
|
1687
|
+
readonly kind: "unary";
|
|
1688
|
+
readonly since: "1.11";
|
|
1689
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1690
|
+
};
|
|
1691
|
+
readonly "apps.chats.open": {
|
|
1692
|
+
readonly params: z.ZodObject<{
|
|
1693
|
+
app_key: z.ZodString;
|
|
1694
|
+
chat_id: z.ZodString;
|
|
1695
|
+
window: z.ZodOptional<z.ZodString>;
|
|
1696
|
+
}, z.core.$strict>;
|
|
1697
|
+
readonly result: z.ZodObject<{
|
|
1698
|
+
message: z.ZodString;
|
|
1699
|
+
}, z.core.$strict>;
|
|
1700
|
+
readonly kind: "unary";
|
|
1701
|
+
readonly since: "1.11";
|
|
1702
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1703
|
+
};
|
|
1704
|
+
readonly "apps.spend": {
|
|
1705
|
+
readonly params: z.ZodObject<{
|
|
1706
|
+
app_key: z.ZodString;
|
|
1707
|
+
}, z.core.$strict>;
|
|
1708
|
+
readonly result: z.ZodObject<{
|
|
1709
|
+
app_key: z.ZodString;
|
|
1710
|
+
complete: z.ZodBoolean;
|
|
1711
|
+
today_total: z.ZodNumber;
|
|
1712
|
+
week_total: z.ZodNumber;
|
|
1713
|
+
idle_today: z.ZodNumber;
|
|
1714
|
+
idle_week: z.ZodNumber;
|
|
1715
|
+
unpriced: z.ZodArray<z.ZodString>;
|
|
1716
|
+
alarms: z.ZodArray<z.ZodString>;
|
|
1717
|
+
live: z.ZodArray<z.ZodObject<{
|
|
1718
|
+
id: z.ZodString;
|
|
1719
|
+
title: z.ZodString;
|
|
1720
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1721
|
+
helpers: z.ZodArray<z.ZodObject<{
|
|
1722
|
+
model: z.ZodString;
|
|
1723
|
+
steps: z.ZodInt;
|
|
1724
|
+
over_steps: z.ZodBoolean;
|
|
1725
|
+
description: z.ZodString;
|
|
1726
|
+
}, z.core.$strict>>;
|
|
1727
|
+
}, z.core.$strict>>;
|
|
1728
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
1729
|
+
account: z.ZodString;
|
|
1730
|
+
spend: z.ZodObject<{
|
|
1731
|
+
today: z.ZodObject<{
|
|
1732
|
+
main: z.ZodNumber;
|
|
1733
|
+
helpers: z.ZodNumber;
|
|
1734
|
+
}, z.core.$strict>;
|
|
1735
|
+
week: z.ZodObject<{
|
|
1736
|
+
main: z.ZodNumber;
|
|
1737
|
+
helpers: z.ZodNumber;
|
|
1738
|
+
}, z.core.$strict>;
|
|
1739
|
+
}, z.core.$strict>;
|
|
1740
|
+
last_hour: z.ZodNullable<z.ZodNumber>;
|
|
1741
|
+
last_5h: z.ZodNullable<z.ZodNumber>;
|
|
1742
|
+
five_hour: z.ZodNullable<z.ZodNumber>;
|
|
1743
|
+
weekly: z.ZodNullable<z.ZodNumber>;
|
|
1744
|
+
as_of_ms: z.ZodNullable<z.ZodInt>;
|
|
1745
|
+
weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1746
|
+
five_hour_full_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1747
|
+
weekly_full_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1748
|
+
stale: z.ZodBoolean;
|
|
1749
|
+
}, z.core.$strict>>;
|
|
1750
|
+
models: z.ZodArray<z.ZodObject<{
|
|
1751
|
+
model: z.ZodString;
|
|
1752
|
+
name: z.ZodString;
|
|
1753
|
+
spend: z.ZodObject<{
|
|
1754
|
+
today: z.ZodObject<{
|
|
1755
|
+
main: z.ZodNumber;
|
|
1756
|
+
helpers: z.ZodNumber;
|
|
1757
|
+
}, z.core.$strict>;
|
|
1758
|
+
week: z.ZodObject<{
|
|
1759
|
+
main: z.ZodNumber;
|
|
1760
|
+
helpers: z.ZodNumber;
|
|
1761
|
+
}, z.core.$strict>;
|
|
1762
|
+
}, z.core.$strict>;
|
|
1763
|
+
}, z.core.$strict>>;
|
|
1764
|
+
chats: z.ZodArray<z.ZodObject<{
|
|
1765
|
+
id: z.ZodString;
|
|
1766
|
+
title: z.ZodString;
|
|
1767
|
+
repo: z.ZodNullable<z.ZodString>;
|
|
1768
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1769
|
+
spend: z.ZodObject<{
|
|
1770
|
+
today: z.ZodObject<{
|
|
1771
|
+
main: z.ZodNumber;
|
|
1772
|
+
helpers: z.ZodNumber;
|
|
1773
|
+
}, z.core.$strict>;
|
|
1774
|
+
week: z.ZodObject<{
|
|
1775
|
+
main: z.ZodNumber;
|
|
1776
|
+
helpers: z.ZodNumber;
|
|
1777
|
+
}, z.core.$strict>;
|
|
1778
|
+
}, z.core.$strict>;
|
|
1779
|
+
helpers: z.ZodInt;
|
|
1780
|
+
}, z.core.$strict>>;
|
|
1781
|
+
idle: z.ZodArray<z.ZodObject<{
|
|
1782
|
+
id: z.ZodString;
|
|
1783
|
+
chat: z.ZodString;
|
|
1784
|
+
who: z.ZodString;
|
|
1785
|
+
today: z.ZodObject<{
|
|
1786
|
+
count: z.ZodInt;
|
|
1787
|
+
tokens: z.ZodInt;
|
|
1788
|
+
cost: z.ZodNumber;
|
|
1789
|
+
avoidable: z.ZodNumber;
|
|
1790
|
+
}, z.core.$strict>;
|
|
1791
|
+
week: z.ZodObject<{
|
|
1792
|
+
count: z.ZodInt;
|
|
1793
|
+
tokens: z.ZodInt;
|
|
1794
|
+
cost: z.ZodNumber;
|
|
1795
|
+
avoidable: z.ZodNumber;
|
|
1796
|
+
}, z.core.$strict>;
|
|
1797
|
+
last_ms: z.ZodInt;
|
|
1798
|
+
}, z.core.$strict>>;
|
|
1799
|
+
starts: z.ZodArray<z.ZodObject<{
|
|
1800
|
+
repo: z.ZodString;
|
|
1801
|
+
count: z.ZodInt;
|
|
1802
|
+
median: z.ZodInt;
|
|
1803
|
+
latest: z.ZodArray<z.ZodInt>;
|
|
1804
|
+
alarm: z.ZodNullable<z.ZodString>;
|
|
1805
|
+
}, z.core.$strict>>;
|
|
1806
|
+
}, z.core.$strict>;
|
|
1807
|
+
readonly kind: "unary";
|
|
1808
|
+
readonly since: "1.11";
|
|
1809
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1810
|
+
};
|
|
1811
|
+
readonly "apps.sync.status": {
|
|
1812
|
+
readonly params: z.ZodObject<{
|
|
1813
|
+
app_key: z.ZodString;
|
|
1814
|
+
}, z.core.$strict>;
|
|
1815
|
+
readonly result: z.ZodObject<{
|
|
1816
|
+
healthy: z.ZodBoolean;
|
|
1817
|
+
summary: z.ZodString;
|
|
1818
|
+
problems: z.ZodArray<z.ZodString>;
|
|
1819
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1820
|
+
unnamed_accounts: z.ZodArray<z.ZodString>;
|
|
1821
|
+
output: z.ZodString;
|
|
1822
|
+
}, z.core.$strict>;
|
|
1823
|
+
readonly kind: "unary";
|
|
1824
|
+
readonly since: "1.11";
|
|
1825
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1826
|
+
};
|
|
1827
|
+
readonly "apps.sync.run": {
|
|
1828
|
+
readonly params: z.ZodObject<{
|
|
1829
|
+
app_key: z.ZodString;
|
|
1830
|
+
}, z.core.$strict>;
|
|
1831
|
+
readonly result: z.ZodObject<{
|
|
1832
|
+
message: z.ZodString;
|
|
1833
|
+
}, z.core.$strict>;
|
|
1834
|
+
readonly kind: "unary";
|
|
1835
|
+
readonly since: "1.11";
|
|
1836
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1837
|
+
};
|
|
1838
|
+
readonly "apps.windows.processes": {
|
|
1839
|
+
readonly params: z.ZodObject<{
|
|
1840
|
+
app_key: z.ZodString;
|
|
1841
|
+
}, z.core.$strict>;
|
|
1842
|
+
readonly result: z.ZodObject<{
|
|
1843
|
+
processes: z.ZodArray<z.ZodString>;
|
|
1844
|
+
}, z.core.$strict>;
|
|
1845
|
+
readonly kind: "unary";
|
|
1846
|
+
readonly since: "1.11";
|
|
1847
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1848
|
+
};
|
|
1849
|
+
readonly "apps.windows.add": {
|
|
1850
|
+
readonly params: z.ZodObject<{
|
|
1851
|
+
app_key: z.ZodString;
|
|
1852
|
+
window: z.ZodString;
|
|
1853
|
+
email: z.ZodString;
|
|
1854
|
+
}, z.core.$strict>;
|
|
1855
|
+
readonly result: z.ZodObject<{
|
|
1856
|
+
message: z.ZodString;
|
|
1857
|
+
}, z.core.$strict>;
|
|
1858
|
+
readonly kind: "unary";
|
|
1859
|
+
readonly since: "1.11";
|
|
1860
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1861
|
+
};
|
|
1862
|
+
readonly "apps.windows.save_names": {
|
|
1863
|
+
readonly params: z.ZodObject<{
|
|
1864
|
+
app_key: z.ZodString;
|
|
1865
|
+
}, z.core.$strict>;
|
|
1866
|
+
readonly result: z.ZodObject<{
|
|
1867
|
+
message: z.ZodString;
|
|
1868
|
+
}, z.core.$strict>;
|
|
1869
|
+
readonly kind: "unary";
|
|
1870
|
+
readonly since: "1.11";
|
|
1871
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1872
|
+
};
|
|
1647
1873
|
readonly "proc.list": {
|
|
1648
1874
|
readonly params: z.ZodObject<{
|
|
1649
1875
|
name: z.ZodOptional<z.ZodString>;
|
package/dist/react.d.ts
CHANGED
|
@@ -1644,6 +1644,232 @@ declare const OPS: {
|
|
|
1644
1644
|
readonly since: "1.10";
|
|
1645
1645
|
readonly errors: readonly ["CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1646
1646
|
};
|
|
1647
|
+
readonly "apps.chats.cold": {
|
|
1648
|
+
readonly params: z.ZodObject<{
|
|
1649
|
+
app_key: z.ZodString;
|
|
1650
|
+
}, z.core.$strict>;
|
|
1651
|
+
readonly result: z.ZodObject<{
|
|
1652
|
+
app_key: z.ZodString;
|
|
1653
|
+
waiting: z.ZodArray<z.ZodObject<{
|
|
1654
|
+
id: z.ZodString;
|
|
1655
|
+
title: z.ZodString;
|
|
1656
|
+
repo: z.ZodNullable<z.ZodString>;
|
|
1657
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1658
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1659
|
+
model_name: z.ZodNullable<z.ZodString>;
|
|
1660
|
+
context_tokens: z.ZodInt;
|
|
1661
|
+
cold_at_ms: z.ZodInt;
|
|
1662
|
+
cold_cost: z.ZodNullable<z.ZodNumber>;
|
|
1663
|
+
warm_cost: z.ZodNullable<z.ZodNumber>;
|
|
1664
|
+
extra_usage: z.ZodBoolean;
|
|
1665
|
+
scheduled: z.ZodBoolean;
|
|
1666
|
+
openable: z.ZodBoolean;
|
|
1667
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1668
|
+
}, z.core.$strict>>;
|
|
1669
|
+
recently_cold: z.ZodArray<z.ZodObject<{
|
|
1670
|
+
id: z.ZodString;
|
|
1671
|
+
title: z.ZodString;
|
|
1672
|
+
repo: z.ZodNullable<z.ZodString>;
|
|
1673
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1674
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1675
|
+
model_name: z.ZodNullable<z.ZodString>;
|
|
1676
|
+
context_tokens: z.ZodInt;
|
|
1677
|
+
cold_at_ms: z.ZodInt;
|
|
1678
|
+
cold_cost: z.ZodNullable<z.ZodNumber>;
|
|
1679
|
+
warm_cost: z.ZodNullable<z.ZodNumber>;
|
|
1680
|
+
extra_usage: z.ZodBoolean;
|
|
1681
|
+
scheduled: z.ZodBoolean;
|
|
1682
|
+
openable: z.ZodBoolean;
|
|
1683
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1684
|
+
}, z.core.$strict>>;
|
|
1685
|
+
working: z.ZodInt;
|
|
1686
|
+
}, z.core.$strict>;
|
|
1687
|
+
readonly kind: "unary";
|
|
1688
|
+
readonly since: "1.11";
|
|
1689
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1690
|
+
};
|
|
1691
|
+
readonly "apps.chats.open": {
|
|
1692
|
+
readonly params: z.ZodObject<{
|
|
1693
|
+
app_key: z.ZodString;
|
|
1694
|
+
chat_id: z.ZodString;
|
|
1695
|
+
window: z.ZodOptional<z.ZodString>;
|
|
1696
|
+
}, z.core.$strict>;
|
|
1697
|
+
readonly result: z.ZodObject<{
|
|
1698
|
+
message: z.ZodString;
|
|
1699
|
+
}, z.core.$strict>;
|
|
1700
|
+
readonly kind: "unary";
|
|
1701
|
+
readonly since: "1.11";
|
|
1702
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1703
|
+
};
|
|
1704
|
+
readonly "apps.spend": {
|
|
1705
|
+
readonly params: z.ZodObject<{
|
|
1706
|
+
app_key: z.ZodString;
|
|
1707
|
+
}, z.core.$strict>;
|
|
1708
|
+
readonly result: z.ZodObject<{
|
|
1709
|
+
app_key: z.ZodString;
|
|
1710
|
+
complete: z.ZodBoolean;
|
|
1711
|
+
today_total: z.ZodNumber;
|
|
1712
|
+
week_total: z.ZodNumber;
|
|
1713
|
+
idle_today: z.ZodNumber;
|
|
1714
|
+
idle_week: z.ZodNumber;
|
|
1715
|
+
unpriced: z.ZodArray<z.ZodString>;
|
|
1716
|
+
alarms: z.ZodArray<z.ZodString>;
|
|
1717
|
+
live: z.ZodArray<z.ZodObject<{
|
|
1718
|
+
id: z.ZodString;
|
|
1719
|
+
title: z.ZodString;
|
|
1720
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1721
|
+
helpers: z.ZodArray<z.ZodObject<{
|
|
1722
|
+
model: z.ZodString;
|
|
1723
|
+
steps: z.ZodInt;
|
|
1724
|
+
over_steps: z.ZodBoolean;
|
|
1725
|
+
description: z.ZodString;
|
|
1726
|
+
}, z.core.$strict>>;
|
|
1727
|
+
}, z.core.$strict>>;
|
|
1728
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
1729
|
+
account: z.ZodString;
|
|
1730
|
+
spend: z.ZodObject<{
|
|
1731
|
+
today: z.ZodObject<{
|
|
1732
|
+
main: z.ZodNumber;
|
|
1733
|
+
helpers: z.ZodNumber;
|
|
1734
|
+
}, z.core.$strict>;
|
|
1735
|
+
week: z.ZodObject<{
|
|
1736
|
+
main: z.ZodNumber;
|
|
1737
|
+
helpers: z.ZodNumber;
|
|
1738
|
+
}, z.core.$strict>;
|
|
1739
|
+
}, z.core.$strict>;
|
|
1740
|
+
last_hour: z.ZodNullable<z.ZodNumber>;
|
|
1741
|
+
last_5h: z.ZodNullable<z.ZodNumber>;
|
|
1742
|
+
five_hour: z.ZodNullable<z.ZodNumber>;
|
|
1743
|
+
weekly: z.ZodNullable<z.ZodNumber>;
|
|
1744
|
+
as_of_ms: z.ZodNullable<z.ZodInt>;
|
|
1745
|
+
weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1746
|
+
five_hour_full_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1747
|
+
weekly_full_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1748
|
+
stale: z.ZodBoolean;
|
|
1749
|
+
}, z.core.$strict>>;
|
|
1750
|
+
models: z.ZodArray<z.ZodObject<{
|
|
1751
|
+
model: z.ZodString;
|
|
1752
|
+
name: z.ZodString;
|
|
1753
|
+
spend: z.ZodObject<{
|
|
1754
|
+
today: z.ZodObject<{
|
|
1755
|
+
main: z.ZodNumber;
|
|
1756
|
+
helpers: z.ZodNumber;
|
|
1757
|
+
}, z.core.$strict>;
|
|
1758
|
+
week: z.ZodObject<{
|
|
1759
|
+
main: z.ZodNumber;
|
|
1760
|
+
helpers: z.ZodNumber;
|
|
1761
|
+
}, z.core.$strict>;
|
|
1762
|
+
}, z.core.$strict>;
|
|
1763
|
+
}, z.core.$strict>>;
|
|
1764
|
+
chats: z.ZodArray<z.ZodObject<{
|
|
1765
|
+
id: z.ZodString;
|
|
1766
|
+
title: z.ZodString;
|
|
1767
|
+
repo: z.ZodNullable<z.ZodString>;
|
|
1768
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1769
|
+
spend: z.ZodObject<{
|
|
1770
|
+
today: z.ZodObject<{
|
|
1771
|
+
main: z.ZodNumber;
|
|
1772
|
+
helpers: z.ZodNumber;
|
|
1773
|
+
}, z.core.$strict>;
|
|
1774
|
+
week: z.ZodObject<{
|
|
1775
|
+
main: z.ZodNumber;
|
|
1776
|
+
helpers: z.ZodNumber;
|
|
1777
|
+
}, z.core.$strict>;
|
|
1778
|
+
}, z.core.$strict>;
|
|
1779
|
+
helpers: z.ZodInt;
|
|
1780
|
+
}, z.core.$strict>>;
|
|
1781
|
+
idle: z.ZodArray<z.ZodObject<{
|
|
1782
|
+
id: z.ZodString;
|
|
1783
|
+
chat: z.ZodString;
|
|
1784
|
+
who: z.ZodString;
|
|
1785
|
+
today: z.ZodObject<{
|
|
1786
|
+
count: z.ZodInt;
|
|
1787
|
+
tokens: z.ZodInt;
|
|
1788
|
+
cost: z.ZodNumber;
|
|
1789
|
+
avoidable: z.ZodNumber;
|
|
1790
|
+
}, z.core.$strict>;
|
|
1791
|
+
week: z.ZodObject<{
|
|
1792
|
+
count: z.ZodInt;
|
|
1793
|
+
tokens: z.ZodInt;
|
|
1794
|
+
cost: z.ZodNumber;
|
|
1795
|
+
avoidable: z.ZodNumber;
|
|
1796
|
+
}, z.core.$strict>;
|
|
1797
|
+
last_ms: z.ZodInt;
|
|
1798
|
+
}, z.core.$strict>>;
|
|
1799
|
+
starts: z.ZodArray<z.ZodObject<{
|
|
1800
|
+
repo: z.ZodString;
|
|
1801
|
+
count: z.ZodInt;
|
|
1802
|
+
median: z.ZodInt;
|
|
1803
|
+
latest: z.ZodArray<z.ZodInt>;
|
|
1804
|
+
alarm: z.ZodNullable<z.ZodString>;
|
|
1805
|
+
}, z.core.$strict>>;
|
|
1806
|
+
}, z.core.$strict>;
|
|
1807
|
+
readonly kind: "unary";
|
|
1808
|
+
readonly since: "1.11";
|
|
1809
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1810
|
+
};
|
|
1811
|
+
readonly "apps.sync.status": {
|
|
1812
|
+
readonly params: z.ZodObject<{
|
|
1813
|
+
app_key: z.ZodString;
|
|
1814
|
+
}, z.core.$strict>;
|
|
1815
|
+
readonly result: z.ZodObject<{
|
|
1816
|
+
healthy: z.ZodBoolean;
|
|
1817
|
+
summary: z.ZodString;
|
|
1818
|
+
problems: z.ZodArray<z.ZodString>;
|
|
1819
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1820
|
+
unnamed_accounts: z.ZodArray<z.ZodString>;
|
|
1821
|
+
output: z.ZodString;
|
|
1822
|
+
}, z.core.$strict>;
|
|
1823
|
+
readonly kind: "unary";
|
|
1824
|
+
readonly since: "1.11";
|
|
1825
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1826
|
+
};
|
|
1827
|
+
readonly "apps.sync.run": {
|
|
1828
|
+
readonly params: z.ZodObject<{
|
|
1829
|
+
app_key: z.ZodString;
|
|
1830
|
+
}, z.core.$strict>;
|
|
1831
|
+
readonly result: z.ZodObject<{
|
|
1832
|
+
message: z.ZodString;
|
|
1833
|
+
}, z.core.$strict>;
|
|
1834
|
+
readonly kind: "unary";
|
|
1835
|
+
readonly since: "1.11";
|
|
1836
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1837
|
+
};
|
|
1838
|
+
readonly "apps.windows.processes": {
|
|
1839
|
+
readonly params: z.ZodObject<{
|
|
1840
|
+
app_key: z.ZodString;
|
|
1841
|
+
}, z.core.$strict>;
|
|
1842
|
+
readonly result: z.ZodObject<{
|
|
1843
|
+
processes: z.ZodArray<z.ZodString>;
|
|
1844
|
+
}, z.core.$strict>;
|
|
1845
|
+
readonly kind: "unary";
|
|
1846
|
+
readonly since: "1.11";
|
|
1847
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1848
|
+
};
|
|
1849
|
+
readonly "apps.windows.add": {
|
|
1850
|
+
readonly params: z.ZodObject<{
|
|
1851
|
+
app_key: z.ZodString;
|
|
1852
|
+
window: z.ZodString;
|
|
1853
|
+
email: z.ZodString;
|
|
1854
|
+
}, z.core.$strict>;
|
|
1855
|
+
readonly result: z.ZodObject<{
|
|
1856
|
+
message: z.ZodString;
|
|
1857
|
+
}, z.core.$strict>;
|
|
1858
|
+
readonly kind: "unary";
|
|
1859
|
+
readonly since: "1.11";
|
|
1860
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1861
|
+
};
|
|
1862
|
+
readonly "apps.windows.save_names": {
|
|
1863
|
+
readonly params: z.ZodObject<{
|
|
1864
|
+
app_key: z.ZodString;
|
|
1865
|
+
}, z.core.$strict>;
|
|
1866
|
+
readonly result: z.ZodObject<{
|
|
1867
|
+
message: z.ZodString;
|
|
1868
|
+
}, z.core.$strict>;
|
|
1869
|
+
readonly kind: "unary";
|
|
1870
|
+
readonly since: "1.11";
|
|
1871
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1872
|
+
};
|
|
1647
1873
|
readonly "proc.list": {
|
|
1648
1874
|
readonly params: z.ZodObject<{
|
|
1649
1875
|
name: z.ZodOptional<z.ZodString>;
|