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