@ai-matrx/desktop-protocol 0.17.2 → 0.17.4
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 +23 -0
- package/dist/client.cjs +124 -2
- 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 +124 -2
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +447 -262
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +361 -9
- package/dist/index.d.ts +361 -9
- package/dist/index.js +447 -262
- package/dist/index.js.map +1 -1
- package/dist/{models-QWCUcQuU.d.cts → models-9j0ncAJj.d.cts} +562 -4
- package/dist/{models-QWCUcQuU.d.ts → models-9j0ncAJj.d.ts} +562 -4
- package/dist/react.d.cts +252 -0
- package/dist/react.d.ts +252 -0
- package/generated/desktop-protocol.schema.json +648 -1
- package/package.json +1 -1
|
@@ -687,7 +687,7 @@ type OpSpec = {
|
|
|
687
687
|
readonly params: z.ZodType;
|
|
688
688
|
readonly result: z.ZodType;
|
|
689
689
|
readonly kind: "unary" | "stream" | "resource";
|
|
690
|
-
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6";
|
|
690
|
+
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8";
|
|
691
691
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
692
692
|
};
|
|
693
693
|
declare const OPS: {
|
|
@@ -1573,6 +1573,246 @@ declare const OPS: {
|
|
|
1573
1573
|
readonly since: "1.2";
|
|
1574
1574
|
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "AUTH_REQUIRED", "DEVICE_OFFLINE", "INTERNAL"];
|
|
1575
1575
|
};
|
|
1576
|
+
readonly "apps.chats.list": {
|
|
1577
|
+
readonly params: z.ZodObject<{
|
|
1578
|
+
app_key: z.ZodString;
|
|
1579
|
+
ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1580
|
+
}, z.core.$strict>;
|
|
1581
|
+
readonly result: z.ZodObject<{
|
|
1582
|
+
app_key: z.ZodString;
|
|
1583
|
+
version: z.ZodInt;
|
|
1584
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
1585
|
+
key: z.ZodString;
|
|
1586
|
+
main: z.ZodBoolean;
|
|
1587
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1588
|
+
}, z.core.$strict>>;
|
|
1589
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
1590
|
+
id: z.ZodString;
|
|
1591
|
+
name: z.ZodString;
|
|
1592
|
+
archived: z.ZodBoolean;
|
|
1593
|
+
count: z.ZodInt;
|
|
1594
|
+
}, z.core.$strict>>;
|
|
1595
|
+
chats: z.ZodArray<z.ZodObject<{
|
|
1596
|
+
id: z.ZodString;
|
|
1597
|
+
short_id: z.ZodString;
|
|
1598
|
+
record: z.ZodNullable<z.ZodString>;
|
|
1599
|
+
title: z.ZodString;
|
|
1600
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
1601
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
1602
|
+
projects: z.ZodArray<z.ZodString>;
|
|
1603
|
+
starred: z.ZodBoolean;
|
|
1604
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
1605
|
+
window: z.ZodString;
|
|
1606
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1607
|
+
}, z.core.$strict>>;
|
|
1608
|
+
places: z.ZodArray<z.ZodString>;
|
|
1609
|
+
held: z.ZodBoolean;
|
|
1610
|
+
running: z.ZodArray<z.ZodObject<{
|
|
1611
|
+
window: z.ZodString;
|
|
1612
|
+
how: z.ZodEnum<{
|
|
1613
|
+
process: "process";
|
|
1614
|
+
activity: "activity";
|
|
1615
|
+
}>;
|
|
1616
|
+
}, z.core.$strict>>;
|
|
1617
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
1618
|
+
window: z.ZodString;
|
|
1619
|
+
reason: z.ZodString;
|
|
1620
|
+
}, z.core.$strict>>;
|
|
1621
|
+
hidden_from_main: z.ZodBoolean;
|
|
1622
|
+
main_pending: z.ZodBoolean;
|
|
1623
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
1624
|
+
new_unfiled: z.ZodBoolean;
|
|
1625
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1626
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
1627
|
+
at_ms: z.ZodInt;
|
|
1628
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1629
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1630
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1631
|
+
cache_warm: z.ZodBoolean;
|
|
1632
|
+
cache_minutes_left: z.ZodInt;
|
|
1633
|
+
}, z.core.$strict>>;
|
|
1634
|
+
}, z.core.$strict>>;
|
|
1635
|
+
new_window_ms: z.ZodInt;
|
|
1636
|
+
}, z.core.$strict>;
|
|
1637
|
+
readonly kind: "unary";
|
|
1638
|
+
readonly since: "1.8";
|
|
1639
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1640
|
+
};
|
|
1641
|
+
readonly "apps.chats.watch": {
|
|
1642
|
+
readonly params: z.ZodObject<{
|
|
1643
|
+
app_key: z.ZodString;
|
|
1644
|
+
}, z.core.$strict>;
|
|
1645
|
+
readonly result: z.ZodObject<{
|
|
1646
|
+
resource_id: z.ZodString;
|
|
1647
|
+
version: z.ZodInt;
|
|
1648
|
+
}, z.core.$strict>;
|
|
1649
|
+
readonly kind: "resource";
|
|
1650
|
+
readonly since: "1.8";
|
|
1651
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "RESOURCE_BUSY", "INTERNAL"];
|
|
1652
|
+
};
|
|
1653
|
+
readonly "apps.chats.star": {
|
|
1654
|
+
readonly params: z.ZodObject<{
|
|
1655
|
+
app_key: z.ZodString;
|
|
1656
|
+
chat_id: z.ZodString;
|
|
1657
|
+
starred: z.ZodBoolean;
|
|
1658
|
+
}, z.core.$strict>;
|
|
1659
|
+
readonly result: z.ZodObject<{
|
|
1660
|
+
chat: z.ZodObject<{
|
|
1661
|
+
id: z.ZodString;
|
|
1662
|
+
short_id: z.ZodString;
|
|
1663
|
+
record: z.ZodNullable<z.ZodString>;
|
|
1664
|
+
title: z.ZodString;
|
|
1665
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
1666
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
1667
|
+
projects: z.ZodArray<z.ZodString>;
|
|
1668
|
+
starred: z.ZodBoolean;
|
|
1669
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
1670
|
+
window: z.ZodString;
|
|
1671
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1672
|
+
}, z.core.$strict>>;
|
|
1673
|
+
places: z.ZodArray<z.ZodString>;
|
|
1674
|
+
held: z.ZodBoolean;
|
|
1675
|
+
running: z.ZodArray<z.ZodObject<{
|
|
1676
|
+
window: z.ZodString;
|
|
1677
|
+
how: z.ZodEnum<{
|
|
1678
|
+
process: "process";
|
|
1679
|
+
activity: "activity";
|
|
1680
|
+
}>;
|
|
1681
|
+
}, z.core.$strict>>;
|
|
1682
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
1683
|
+
window: z.ZodString;
|
|
1684
|
+
reason: z.ZodString;
|
|
1685
|
+
}, z.core.$strict>>;
|
|
1686
|
+
hidden_from_main: z.ZodBoolean;
|
|
1687
|
+
main_pending: z.ZodBoolean;
|
|
1688
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
1689
|
+
new_unfiled: z.ZodBoolean;
|
|
1690
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1691
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
1692
|
+
at_ms: z.ZodInt;
|
|
1693
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1694
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1695
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1696
|
+
cache_warm: z.ZodBoolean;
|
|
1697
|
+
cache_minutes_left: z.ZodInt;
|
|
1698
|
+
}, z.core.$strict>>;
|
|
1699
|
+
}, z.core.$strict>;
|
|
1700
|
+
}, z.core.$strict>;
|
|
1701
|
+
readonly kind: "unary";
|
|
1702
|
+
readonly since: "1.8";
|
|
1703
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1704
|
+
};
|
|
1705
|
+
readonly "apps.projects.file": {
|
|
1706
|
+
readonly params: z.ZodObject<{
|
|
1707
|
+
app_key: z.ZodString;
|
|
1708
|
+
chat_id: z.ZodString;
|
|
1709
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
1710
|
+
new_project_name: z.ZodOptional<z.ZodString>;
|
|
1711
|
+
}, z.core.$strict>;
|
|
1712
|
+
readonly result: z.ZodObject<{
|
|
1713
|
+
chat: z.ZodObject<{
|
|
1714
|
+
id: z.ZodString;
|
|
1715
|
+
short_id: z.ZodString;
|
|
1716
|
+
record: z.ZodNullable<z.ZodString>;
|
|
1717
|
+
title: z.ZodString;
|
|
1718
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
1719
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
1720
|
+
projects: z.ZodArray<z.ZodString>;
|
|
1721
|
+
starred: z.ZodBoolean;
|
|
1722
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
1723
|
+
window: z.ZodString;
|
|
1724
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1725
|
+
}, z.core.$strict>>;
|
|
1726
|
+
places: z.ZodArray<z.ZodString>;
|
|
1727
|
+
held: z.ZodBoolean;
|
|
1728
|
+
running: z.ZodArray<z.ZodObject<{
|
|
1729
|
+
window: z.ZodString;
|
|
1730
|
+
how: z.ZodEnum<{
|
|
1731
|
+
process: "process";
|
|
1732
|
+
activity: "activity";
|
|
1733
|
+
}>;
|
|
1734
|
+
}, z.core.$strict>>;
|
|
1735
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
1736
|
+
window: z.ZodString;
|
|
1737
|
+
reason: z.ZodString;
|
|
1738
|
+
}, z.core.$strict>>;
|
|
1739
|
+
hidden_from_main: z.ZodBoolean;
|
|
1740
|
+
main_pending: z.ZodBoolean;
|
|
1741
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
1742
|
+
new_unfiled: z.ZodBoolean;
|
|
1743
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1744
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
1745
|
+
at_ms: z.ZodInt;
|
|
1746
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1747
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1748
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1749
|
+
cache_warm: z.ZodBoolean;
|
|
1750
|
+
cache_minutes_left: z.ZodInt;
|
|
1751
|
+
}, z.core.$strict>>;
|
|
1752
|
+
}, z.core.$strict>;
|
|
1753
|
+
project: z.ZodObject<{
|
|
1754
|
+
id: z.ZodString;
|
|
1755
|
+
name: z.ZodString;
|
|
1756
|
+
archived: z.ZodBoolean;
|
|
1757
|
+
count: z.ZodInt;
|
|
1758
|
+
}, z.core.$strict>;
|
|
1759
|
+
}, z.core.$strict>;
|
|
1760
|
+
readonly kind: "unary";
|
|
1761
|
+
readonly since: "1.8";
|
|
1762
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1763
|
+
};
|
|
1764
|
+
readonly "apps.projects.unfile": {
|
|
1765
|
+
readonly params: z.ZodObject<{
|
|
1766
|
+
app_key: z.ZodString;
|
|
1767
|
+
chat_id: z.ZodString;
|
|
1768
|
+
project_id: z.ZodString;
|
|
1769
|
+
}, z.core.$strict>;
|
|
1770
|
+
readonly result: z.ZodObject<{
|
|
1771
|
+
chat: z.ZodObject<{
|
|
1772
|
+
id: z.ZodString;
|
|
1773
|
+
short_id: z.ZodString;
|
|
1774
|
+
record: z.ZodNullable<z.ZodString>;
|
|
1775
|
+
title: z.ZodString;
|
|
1776
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
1777
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
1778
|
+
projects: z.ZodArray<z.ZodString>;
|
|
1779
|
+
starred: z.ZodBoolean;
|
|
1780
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
1781
|
+
window: z.ZodString;
|
|
1782
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1783
|
+
}, z.core.$strict>>;
|
|
1784
|
+
places: z.ZodArray<z.ZodString>;
|
|
1785
|
+
held: z.ZodBoolean;
|
|
1786
|
+
running: z.ZodArray<z.ZodObject<{
|
|
1787
|
+
window: z.ZodString;
|
|
1788
|
+
how: z.ZodEnum<{
|
|
1789
|
+
process: "process";
|
|
1790
|
+
activity: "activity";
|
|
1791
|
+
}>;
|
|
1792
|
+
}, z.core.$strict>>;
|
|
1793
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
1794
|
+
window: z.ZodString;
|
|
1795
|
+
reason: z.ZodString;
|
|
1796
|
+
}, z.core.$strict>>;
|
|
1797
|
+
hidden_from_main: z.ZodBoolean;
|
|
1798
|
+
main_pending: z.ZodBoolean;
|
|
1799
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
1800
|
+
new_unfiled: z.ZodBoolean;
|
|
1801
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1802
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
1803
|
+
at_ms: z.ZodInt;
|
|
1804
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1805
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1806
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1807
|
+
cache_warm: z.ZodBoolean;
|
|
1808
|
+
cache_minutes_left: z.ZodInt;
|
|
1809
|
+
}, z.core.$strict>>;
|
|
1810
|
+
}, z.core.$strict>;
|
|
1811
|
+
}, z.core.$strict>;
|
|
1812
|
+
readonly kind: "unary";
|
|
1813
|
+
readonly since: "1.8";
|
|
1814
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1815
|
+
};
|
|
1576
1816
|
readonly "proc.list": {
|
|
1577
1817
|
readonly params: z.ZodObject<{
|
|
1578
1818
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1871,6 +2111,8 @@ declare const OPS: {
|
|
|
1871
2111
|
y: z.ZodInt;
|
|
1872
2112
|
width: z.ZodInt;
|
|
1873
2113
|
height: z.ZodInt;
|
|
2114
|
+
app: z.ZodOptional<z.ZodString>;
|
|
2115
|
+
pid: z.ZodOptional<z.ZodInt>;
|
|
1874
2116
|
}, z.core.$strict>>;
|
|
1875
2117
|
total: z.ZodInt;
|
|
1876
2118
|
truncated: z.ZodBoolean;
|
|
@@ -1891,6 +2133,8 @@ declare const OPS: {
|
|
|
1891
2133
|
y: z.ZodInt;
|
|
1892
2134
|
width: z.ZodInt;
|
|
1893
2135
|
height: z.ZodInt;
|
|
2136
|
+
app: z.ZodOptional<z.ZodString>;
|
|
2137
|
+
pid: z.ZodOptional<z.ZodInt>;
|
|
1894
2138
|
}, z.core.$strict>;
|
|
1895
2139
|
}, z.core.$strict>;
|
|
1896
2140
|
readonly kind: "unary";
|
|
@@ -1913,6 +2157,8 @@ declare const OPS: {
|
|
|
1913
2157
|
y: z.ZodInt;
|
|
1914
2158
|
width: z.ZodInt;
|
|
1915
2159
|
height: z.ZodInt;
|
|
2160
|
+
app: z.ZodOptional<z.ZodString>;
|
|
2161
|
+
pid: z.ZodOptional<z.ZodInt>;
|
|
1916
2162
|
}, z.core.$strict>;
|
|
1917
2163
|
}, z.core.$strict>;
|
|
1918
2164
|
readonly kind: "unary";
|
|
@@ -2316,6 +2562,12 @@ declare const EVENTS: {
|
|
|
2316
2562
|
}, z.core.$strict>>;
|
|
2317
2563
|
overflow: z.ZodBoolean;
|
|
2318
2564
|
}, z.core.$strict>;
|
|
2565
|
+
readonly "apps.chats.changed": z.ZodObject<{
|
|
2566
|
+
app_key: z.ZodString;
|
|
2567
|
+
version: z.ZodInt;
|
|
2568
|
+
ids: z.ZodArray<z.ZodString>;
|
|
2569
|
+
all: z.ZodBoolean;
|
|
2570
|
+
}, z.core.$strict>;
|
|
2319
2571
|
readonly "exec.exited": z.ZodObject<{
|
|
2320
2572
|
exit_code: z.ZodNullable<z.ZodInt>;
|
|
2321
2573
|
exit_signal: z.ZodNullable<z.ZodEnum<{
|
|
@@ -4613,6 +4865,8 @@ declare const NAMED_SCHEMAS: {
|
|
|
4613
4865
|
y: z.ZodInt;
|
|
4614
4866
|
width: z.ZodInt;
|
|
4615
4867
|
height: z.ZodInt;
|
|
4868
|
+
app: z.ZodOptional<z.ZodString>;
|
|
4869
|
+
pid: z.ZodOptional<z.ZodInt>;
|
|
4616
4870
|
}, z.core.$strict>;
|
|
4617
4871
|
readonly WindowListParams: z.ZodObject<{
|
|
4618
4872
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -4626,6 +4880,8 @@ declare const NAMED_SCHEMAS: {
|
|
|
4626
4880
|
y: z.ZodInt;
|
|
4627
4881
|
width: z.ZodInt;
|
|
4628
4882
|
height: z.ZodInt;
|
|
4883
|
+
app: z.ZodOptional<z.ZodString>;
|
|
4884
|
+
pid: z.ZodOptional<z.ZodInt>;
|
|
4629
4885
|
}, z.core.$strict>>;
|
|
4630
4886
|
total: z.ZodInt;
|
|
4631
4887
|
truncated: z.ZodBoolean;
|
|
@@ -4641,6 +4897,8 @@ declare const NAMED_SCHEMAS: {
|
|
|
4641
4897
|
y: z.ZodInt;
|
|
4642
4898
|
width: z.ZodInt;
|
|
4643
4899
|
height: z.ZodInt;
|
|
4900
|
+
app: z.ZodOptional<z.ZodString>;
|
|
4901
|
+
pid: z.ZodOptional<z.ZodInt>;
|
|
4644
4902
|
}, z.core.$strict>;
|
|
4645
4903
|
}, z.core.$strict>;
|
|
4646
4904
|
readonly WindowMoveParams: z.ZodObject<{
|
|
@@ -4658,6 +4916,8 @@ declare const NAMED_SCHEMAS: {
|
|
|
4658
4916
|
y: z.ZodInt;
|
|
4659
4917
|
width: z.ZodInt;
|
|
4660
4918
|
height: z.ZodInt;
|
|
4919
|
+
app: z.ZodOptional<z.ZodString>;
|
|
4920
|
+
pid: z.ZodOptional<z.ZodInt>;
|
|
4661
4921
|
}, z.core.$strict>;
|
|
4662
4922
|
}, z.core.$strict>;
|
|
4663
4923
|
readonly WindowMinimizeParams: z.ZodObject<{
|
|
@@ -5134,9 +5394,9 @@ declare const NAMED_SCHEMAS: {
|
|
|
5134
5394
|
}, z.core.$strict>>;
|
|
5135
5395
|
}, z.core.$strict>;
|
|
5136
5396
|
readonly ToolLevel: z.ZodEnum<{
|
|
5397
|
+
chat: "chat";
|
|
5137
5398
|
programmatic: "programmatic";
|
|
5138
5399
|
protocol: "protocol";
|
|
5139
|
-
chat: "chat";
|
|
5140
5400
|
}>;
|
|
5141
5401
|
readonly ToolOutcome: z.ZodEnum<{
|
|
5142
5402
|
pass: "pass";
|
|
@@ -5158,9 +5418,9 @@ declare const NAMED_SCHEMAS: {
|
|
|
5158
5418
|
readonly ToolLevelResult: z.ZodObject<{
|
|
5159
5419
|
tool: z.ZodString;
|
|
5160
5420
|
level: z.ZodEnum<{
|
|
5421
|
+
chat: "chat";
|
|
5161
5422
|
programmatic: "programmatic";
|
|
5162
5423
|
protocol: "protocol";
|
|
5163
|
-
chat: "chat";
|
|
5164
5424
|
}>;
|
|
5165
5425
|
platform: z.ZodEnum<{
|
|
5166
5426
|
darwin: "darwin";
|
|
@@ -5190,9 +5450,9 @@ declare const NAMED_SCHEMAS: {
|
|
|
5190
5450
|
results: z.ZodArray<z.ZodObject<{
|
|
5191
5451
|
tool: z.ZodString;
|
|
5192
5452
|
level: z.ZodEnum<{
|
|
5453
|
+
chat: "chat";
|
|
5193
5454
|
programmatic: "programmatic";
|
|
5194
5455
|
protocol: "protocol";
|
|
5195
|
-
chat: "chat";
|
|
5196
5456
|
}>;
|
|
5197
5457
|
platform: z.ZodEnum<{
|
|
5198
5458
|
darwin: "darwin";
|
|
@@ -5384,6 +5644,304 @@ declare const NAMED_SCHEMAS: {
|
|
|
5384
5644
|
already_running: z.ZodBoolean;
|
|
5385
5645
|
folder: z.ZodNullable<z.ZodString>;
|
|
5386
5646
|
}, z.core.$strict>;
|
|
5647
|
+
readonly ChatId: z.ZodString;
|
|
5648
|
+
readonly ChatPlace: z.ZodString;
|
|
5649
|
+
readonly ChatProjectId: z.ZodString;
|
|
5650
|
+
readonly ChatWindow: z.ZodObject<{
|
|
5651
|
+
key: z.ZodString;
|
|
5652
|
+
main: z.ZodBoolean;
|
|
5653
|
+
account: z.ZodNullable<z.ZodString>;
|
|
5654
|
+
}, z.core.$strict>;
|
|
5655
|
+
readonly ChatProject: z.ZodObject<{
|
|
5656
|
+
id: z.ZodString;
|
|
5657
|
+
name: z.ZodString;
|
|
5658
|
+
archived: z.ZodBoolean;
|
|
5659
|
+
count: z.ZodInt;
|
|
5660
|
+
}, z.core.$strict>;
|
|
5661
|
+
readonly ChatPin: z.ZodObject<{
|
|
5662
|
+
window: z.ZodString;
|
|
5663
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
5664
|
+
}, z.core.$strict>;
|
|
5665
|
+
readonly ChatRunning: z.ZodObject<{
|
|
5666
|
+
window: z.ZodString;
|
|
5667
|
+
how: z.ZodEnum<{
|
|
5668
|
+
process: "process";
|
|
5669
|
+
activity: "activity";
|
|
5670
|
+
}>;
|
|
5671
|
+
}, z.core.$strict>;
|
|
5672
|
+
readonly ChatHidden: z.ZodObject<{
|
|
5673
|
+
window: z.ZodString;
|
|
5674
|
+
reason: z.ZodString;
|
|
5675
|
+
}, z.core.$strict>;
|
|
5676
|
+
readonly ChatLastUse: z.ZodObject<{
|
|
5677
|
+
at_ms: z.ZodInt;
|
|
5678
|
+
window: z.ZodNullable<z.ZodString>;
|
|
5679
|
+
account: z.ZodNullable<z.ZodString>;
|
|
5680
|
+
how: z.ZodNullable<z.ZodString>;
|
|
5681
|
+
cache_warm: z.ZodBoolean;
|
|
5682
|
+
cache_minutes_left: z.ZodInt;
|
|
5683
|
+
}, z.core.$strict>;
|
|
5684
|
+
readonly ChatRow: z.ZodObject<{
|
|
5685
|
+
id: z.ZodString;
|
|
5686
|
+
short_id: z.ZodString;
|
|
5687
|
+
record: z.ZodNullable<z.ZodString>;
|
|
5688
|
+
title: z.ZodString;
|
|
5689
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
5690
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
5691
|
+
projects: z.ZodArray<z.ZodString>;
|
|
5692
|
+
starred: z.ZodBoolean;
|
|
5693
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
5694
|
+
window: z.ZodString;
|
|
5695
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
5696
|
+
}, z.core.$strict>>;
|
|
5697
|
+
places: z.ZodArray<z.ZodString>;
|
|
5698
|
+
held: z.ZodBoolean;
|
|
5699
|
+
running: z.ZodArray<z.ZodObject<{
|
|
5700
|
+
window: z.ZodString;
|
|
5701
|
+
how: z.ZodEnum<{
|
|
5702
|
+
process: "process";
|
|
5703
|
+
activity: "activity";
|
|
5704
|
+
}>;
|
|
5705
|
+
}, z.core.$strict>>;
|
|
5706
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
5707
|
+
window: z.ZodString;
|
|
5708
|
+
reason: z.ZodString;
|
|
5709
|
+
}, z.core.$strict>>;
|
|
5710
|
+
hidden_from_main: z.ZodBoolean;
|
|
5711
|
+
main_pending: z.ZodBoolean;
|
|
5712
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
5713
|
+
new_unfiled: z.ZodBoolean;
|
|
5714
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
5715
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
5716
|
+
at_ms: z.ZodInt;
|
|
5717
|
+
window: z.ZodNullable<z.ZodString>;
|
|
5718
|
+
account: z.ZodNullable<z.ZodString>;
|
|
5719
|
+
how: z.ZodNullable<z.ZodString>;
|
|
5720
|
+
cache_warm: z.ZodBoolean;
|
|
5721
|
+
cache_minutes_left: z.ZodInt;
|
|
5722
|
+
}, z.core.$strict>>;
|
|
5723
|
+
}, z.core.$strict>;
|
|
5724
|
+
readonly AppsChatsListParams: z.ZodObject<{
|
|
5725
|
+
app_key: z.ZodString;
|
|
5726
|
+
ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5727
|
+
}, z.core.$strict>;
|
|
5728
|
+
readonly AppsChatsListResult: z.ZodObject<{
|
|
5729
|
+
app_key: z.ZodString;
|
|
5730
|
+
version: z.ZodInt;
|
|
5731
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
5732
|
+
key: z.ZodString;
|
|
5733
|
+
main: z.ZodBoolean;
|
|
5734
|
+
account: z.ZodNullable<z.ZodString>;
|
|
5735
|
+
}, z.core.$strict>>;
|
|
5736
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
5737
|
+
id: z.ZodString;
|
|
5738
|
+
name: z.ZodString;
|
|
5739
|
+
archived: z.ZodBoolean;
|
|
5740
|
+
count: z.ZodInt;
|
|
5741
|
+
}, z.core.$strict>>;
|
|
5742
|
+
chats: z.ZodArray<z.ZodObject<{
|
|
5743
|
+
id: z.ZodString;
|
|
5744
|
+
short_id: z.ZodString;
|
|
5745
|
+
record: z.ZodNullable<z.ZodString>;
|
|
5746
|
+
title: z.ZodString;
|
|
5747
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
5748
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
5749
|
+
projects: z.ZodArray<z.ZodString>;
|
|
5750
|
+
starred: z.ZodBoolean;
|
|
5751
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
5752
|
+
window: z.ZodString;
|
|
5753
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
5754
|
+
}, z.core.$strict>>;
|
|
5755
|
+
places: z.ZodArray<z.ZodString>;
|
|
5756
|
+
held: z.ZodBoolean;
|
|
5757
|
+
running: z.ZodArray<z.ZodObject<{
|
|
5758
|
+
window: z.ZodString;
|
|
5759
|
+
how: z.ZodEnum<{
|
|
5760
|
+
process: "process";
|
|
5761
|
+
activity: "activity";
|
|
5762
|
+
}>;
|
|
5763
|
+
}, z.core.$strict>>;
|
|
5764
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
5765
|
+
window: z.ZodString;
|
|
5766
|
+
reason: z.ZodString;
|
|
5767
|
+
}, z.core.$strict>>;
|
|
5768
|
+
hidden_from_main: z.ZodBoolean;
|
|
5769
|
+
main_pending: z.ZodBoolean;
|
|
5770
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
5771
|
+
new_unfiled: z.ZodBoolean;
|
|
5772
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
5773
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
5774
|
+
at_ms: z.ZodInt;
|
|
5775
|
+
window: z.ZodNullable<z.ZodString>;
|
|
5776
|
+
account: z.ZodNullable<z.ZodString>;
|
|
5777
|
+
how: z.ZodNullable<z.ZodString>;
|
|
5778
|
+
cache_warm: z.ZodBoolean;
|
|
5779
|
+
cache_minutes_left: z.ZodInt;
|
|
5780
|
+
}, z.core.$strict>>;
|
|
5781
|
+
}, z.core.$strict>>;
|
|
5782
|
+
new_window_ms: z.ZodInt;
|
|
5783
|
+
}, z.core.$strict>;
|
|
5784
|
+
readonly AppsChatsWatchParams: z.ZodObject<{
|
|
5785
|
+
app_key: z.ZodString;
|
|
5786
|
+
}, z.core.$strict>;
|
|
5787
|
+
readonly AppsChatsWatchResult: z.ZodObject<{
|
|
5788
|
+
resource_id: z.ZodString;
|
|
5789
|
+
version: z.ZodInt;
|
|
5790
|
+
}, z.core.$strict>;
|
|
5791
|
+
readonly AppsChatsChangedEvent: z.ZodObject<{
|
|
5792
|
+
app_key: z.ZodString;
|
|
5793
|
+
version: z.ZodInt;
|
|
5794
|
+
ids: z.ZodArray<z.ZodString>;
|
|
5795
|
+
all: z.ZodBoolean;
|
|
5796
|
+
}, z.core.$strict>;
|
|
5797
|
+
readonly AppsChatsStarParams: z.ZodObject<{
|
|
5798
|
+
app_key: z.ZodString;
|
|
5799
|
+
chat_id: z.ZodString;
|
|
5800
|
+
starred: z.ZodBoolean;
|
|
5801
|
+
}, z.core.$strict>;
|
|
5802
|
+
readonly AppsChatsStarResult: z.ZodObject<{
|
|
5803
|
+
chat: z.ZodObject<{
|
|
5804
|
+
id: z.ZodString;
|
|
5805
|
+
short_id: z.ZodString;
|
|
5806
|
+
record: z.ZodNullable<z.ZodString>;
|
|
5807
|
+
title: z.ZodString;
|
|
5808
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
5809
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
5810
|
+
projects: z.ZodArray<z.ZodString>;
|
|
5811
|
+
starred: z.ZodBoolean;
|
|
5812
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
5813
|
+
window: z.ZodString;
|
|
5814
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
5815
|
+
}, z.core.$strict>>;
|
|
5816
|
+
places: z.ZodArray<z.ZodString>;
|
|
5817
|
+
held: z.ZodBoolean;
|
|
5818
|
+
running: z.ZodArray<z.ZodObject<{
|
|
5819
|
+
window: z.ZodString;
|
|
5820
|
+
how: z.ZodEnum<{
|
|
5821
|
+
process: "process";
|
|
5822
|
+
activity: "activity";
|
|
5823
|
+
}>;
|
|
5824
|
+
}, z.core.$strict>>;
|
|
5825
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
5826
|
+
window: z.ZodString;
|
|
5827
|
+
reason: z.ZodString;
|
|
5828
|
+
}, z.core.$strict>>;
|
|
5829
|
+
hidden_from_main: z.ZodBoolean;
|
|
5830
|
+
main_pending: z.ZodBoolean;
|
|
5831
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
5832
|
+
new_unfiled: z.ZodBoolean;
|
|
5833
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
5834
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
5835
|
+
at_ms: z.ZodInt;
|
|
5836
|
+
window: z.ZodNullable<z.ZodString>;
|
|
5837
|
+
account: z.ZodNullable<z.ZodString>;
|
|
5838
|
+
how: z.ZodNullable<z.ZodString>;
|
|
5839
|
+
cache_warm: z.ZodBoolean;
|
|
5840
|
+
cache_minutes_left: z.ZodInt;
|
|
5841
|
+
}, z.core.$strict>>;
|
|
5842
|
+
}, z.core.$strict>;
|
|
5843
|
+
}, z.core.$strict>;
|
|
5844
|
+
readonly AppsProjectsFileParams: z.ZodObject<{
|
|
5845
|
+
app_key: z.ZodString;
|
|
5846
|
+
chat_id: z.ZodString;
|
|
5847
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
5848
|
+
new_project_name: z.ZodOptional<z.ZodString>;
|
|
5849
|
+
}, z.core.$strict>;
|
|
5850
|
+
readonly AppsProjectsFileResult: z.ZodObject<{
|
|
5851
|
+
chat: z.ZodObject<{
|
|
5852
|
+
id: z.ZodString;
|
|
5853
|
+
short_id: z.ZodString;
|
|
5854
|
+
record: z.ZodNullable<z.ZodString>;
|
|
5855
|
+
title: z.ZodString;
|
|
5856
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
5857
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
5858
|
+
projects: z.ZodArray<z.ZodString>;
|
|
5859
|
+
starred: z.ZodBoolean;
|
|
5860
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
5861
|
+
window: z.ZodString;
|
|
5862
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
5863
|
+
}, z.core.$strict>>;
|
|
5864
|
+
places: z.ZodArray<z.ZodString>;
|
|
5865
|
+
held: z.ZodBoolean;
|
|
5866
|
+
running: z.ZodArray<z.ZodObject<{
|
|
5867
|
+
window: z.ZodString;
|
|
5868
|
+
how: z.ZodEnum<{
|
|
5869
|
+
process: "process";
|
|
5870
|
+
activity: "activity";
|
|
5871
|
+
}>;
|
|
5872
|
+
}, z.core.$strict>>;
|
|
5873
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
5874
|
+
window: z.ZodString;
|
|
5875
|
+
reason: z.ZodString;
|
|
5876
|
+
}, z.core.$strict>>;
|
|
5877
|
+
hidden_from_main: z.ZodBoolean;
|
|
5878
|
+
main_pending: z.ZodBoolean;
|
|
5879
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
5880
|
+
new_unfiled: z.ZodBoolean;
|
|
5881
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
5882
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
5883
|
+
at_ms: z.ZodInt;
|
|
5884
|
+
window: z.ZodNullable<z.ZodString>;
|
|
5885
|
+
account: z.ZodNullable<z.ZodString>;
|
|
5886
|
+
how: z.ZodNullable<z.ZodString>;
|
|
5887
|
+
cache_warm: z.ZodBoolean;
|
|
5888
|
+
cache_minutes_left: z.ZodInt;
|
|
5889
|
+
}, z.core.$strict>>;
|
|
5890
|
+
}, z.core.$strict>;
|
|
5891
|
+
project: z.ZodObject<{
|
|
5892
|
+
id: z.ZodString;
|
|
5893
|
+
name: z.ZodString;
|
|
5894
|
+
archived: z.ZodBoolean;
|
|
5895
|
+
count: z.ZodInt;
|
|
5896
|
+
}, z.core.$strict>;
|
|
5897
|
+
}, z.core.$strict>;
|
|
5898
|
+
readonly AppsProjectsUnfileParams: z.ZodObject<{
|
|
5899
|
+
app_key: z.ZodString;
|
|
5900
|
+
chat_id: z.ZodString;
|
|
5901
|
+
project_id: z.ZodString;
|
|
5902
|
+
}, z.core.$strict>;
|
|
5903
|
+
readonly AppsProjectsUnfileResult: z.ZodObject<{
|
|
5904
|
+
chat: z.ZodObject<{
|
|
5905
|
+
id: z.ZodString;
|
|
5906
|
+
short_id: z.ZodString;
|
|
5907
|
+
record: z.ZodNullable<z.ZodString>;
|
|
5908
|
+
title: z.ZodString;
|
|
5909
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
5910
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
5911
|
+
projects: z.ZodArray<z.ZodString>;
|
|
5912
|
+
starred: z.ZodBoolean;
|
|
5913
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
5914
|
+
window: z.ZodString;
|
|
5915
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
5916
|
+
}, z.core.$strict>>;
|
|
5917
|
+
places: z.ZodArray<z.ZodString>;
|
|
5918
|
+
held: z.ZodBoolean;
|
|
5919
|
+
running: z.ZodArray<z.ZodObject<{
|
|
5920
|
+
window: z.ZodString;
|
|
5921
|
+
how: z.ZodEnum<{
|
|
5922
|
+
process: "process";
|
|
5923
|
+
activity: "activity";
|
|
5924
|
+
}>;
|
|
5925
|
+
}, z.core.$strict>>;
|
|
5926
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
5927
|
+
window: z.ZodString;
|
|
5928
|
+
reason: z.ZodString;
|
|
5929
|
+
}, z.core.$strict>>;
|
|
5930
|
+
hidden_from_main: z.ZodBoolean;
|
|
5931
|
+
main_pending: z.ZodBoolean;
|
|
5932
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
5933
|
+
new_unfiled: z.ZodBoolean;
|
|
5934
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
5935
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
5936
|
+
at_ms: z.ZodInt;
|
|
5937
|
+
window: z.ZodNullable<z.ZodString>;
|
|
5938
|
+
account: z.ZodNullable<z.ZodString>;
|
|
5939
|
+
how: z.ZodNullable<z.ZodString>;
|
|
5940
|
+
cache_warm: z.ZodBoolean;
|
|
5941
|
+
cache_minutes_left: z.ZodInt;
|
|
5942
|
+
}, z.core.$strict>>;
|
|
5943
|
+
}, z.core.$strict>;
|
|
5944
|
+
}, z.core.$strict>;
|
|
5387
5945
|
};
|
|
5388
5946
|
type NamedSchemaId = keyof typeof NAMED_SCHEMAS;
|
|
5389
5947
|
|