@ai-matrx/desktop-protocol 0.17.4 → 0.17.6

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.
@@ -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" | "1.8";
690
+ readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10";
691
691
  readonly errors: readonly z.infer<typeof ErrorCode>[];
692
692
  };
693
693
  declare const OPS: {
@@ -1633,6 +1633,13 @@ declare const OPS: {
1633
1633
  }, z.core.$strict>>;
1634
1634
  }, z.core.$strict>>;
1635
1635
  new_window_ms: z.ZodInt;
1636
+ updating: z.ZodOptional<z.ZodBoolean>;
1637
+ live: z.ZodOptional<z.ZodBoolean>;
1638
+ families: z.ZodOptional<z.ZodArray<z.ZodObject<{
1639
+ id: z.ZodString;
1640
+ fork_of: z.ZodNullable<z.ZodString>;
1641
+ copy_of: z.ZodNullable<z.ZodString>;
1642
+ }, z.core.$strict>>>;
1636
1643
  }, z.core.$strict>;
1637
1644
  readonly kind: "unary";
1638
1645
  readonly since: "1.8";
@@ -1761,6 +1768,161 @@ declare const OPS: {
1761
1768
  readonly since: "1.8";
1762
1769
  readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1763
1770
  };
1771
+ readonly "apps.chats.place": {
1772
+ readonly params: z.ZodObject<{
1773
+ app_key: z.ZodString;
1774
+ chat_id: z.ZodString;
1775
+ action: z.ZodEnum<{
1776
+ place: "place";
1777
+ take_off: "take_off";
1778
+ hold: "hold";
1779
+ }>;
1780
+ window: z.ZodOptional<z.ZodString>;
1781
+ stop_if_open: z.ZodDefault<z.ZodBoolean>;
1782
+ }, z.core.$strict>;
1783
+ readonly result: z.ZodObject<{
1784
+ chat: z.ZodObject<{
1785
+ id: z.ZodString;
1786
+ short_id: z.ZodString;
1787
+ record: z.ZodNullable<z.ZodString>;
1788
+ title: z.ZodString;
1789
+ last_active_ms: z.ZodNullable<z.ZodInt>;
1790
+ created_ms: z.ZodNullable<z.ZodInt>;
1791
+ projects: z.ZodArray<z.ZodString>;
1792
+ starred: z.ZodBoolean;
1793
+ pinned_in: z.ZodArray<z.ZodObject<{
1794
+ window: z.ZodString;
1795
+ observed_at_ms: z.ZodNullable<z.ZodInt>;
1796
+ }, z.core.$strict>>;
1797
+ places: z.ZodArray<z.ZodString>;
1798
+ held: z.ZodBoolean;
1799
+ running: z.ZodArray<z.ZodObject<{
1800
+ window: z.ZodString;
1801
+ how: z.ZodEnum<{
1802
+ process: "process";
1803
+ activity: "activity";
1804
+ }>;
1805
+ }, z.core.$strict>>;
1806
+ hidden_in: z.ZodArray<z.ZodObject<{
1807
+ window: z.ZodString;
1808
+ reason: z.ZodString;
1809
+ }, z.core.$strict>>;
1810
+ hidden_from_main: z.ZodBoolean;
1811
+ main_pending: z.ZodBoolean;
1812
+ scheduled: z.ZodNullable<z.ZodString>;
1813
+ new_unfiled: z.ZodBoolean;
1814
+ warnings: z.ZodArray<z.ZodString>;
1815
+ last_use: z.ZodNullable<z.ZodObject<{
1816
+ at_ms: z.ZodInt;
1817
+ window: z.ZodNullable<z.ZodString>;
1818
+ account: z.ZodNullable<z.ZodString>;
1819
+ how: z.ZodNullable<z.ZodString>;
1820
+ cache_warm: z.ZodBoolean;
1821
+ cache_minutes_left: z.ZodInt;
1822
+ }, z.core.$strict>>;
1823
+ }, z.core.$strict>;
1824
+ message: z.ZodString;
1825
+ }, z.core.$strict>;
1826
+ readonly kind: "unary";
1827
+ readonly since: "1.9";
1828
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1829
+ };
1830
+ readonly "apps.projects.file_many": {
1831
+ readonly params: z.ZodObject<{
1832
+ app_key: z.ZodString;
1833
+ chat_ids: z.ZodArray<z.ZodString>;
1834
+ project_id: z.ZodOptional<z.ZodString>;
1835
+ new_project_name: z.ZodOptional<z.ZodString>;
1836
+ }, z.core.$strict>;
1837
+ readonly result: z.ZodObject<{
1838
+ chats: z.ZodArray<z.ZodObject<{
1839
+ id: z.ZodString;
1840
+ short_id: z.ZodString;
1841
+ record: z.ZodNullable<z.ZodString>;
1842
+ title: z.ZodString;
1843
+ last_active_ms: z.ZodNullable<z.ZodInt>;
1844
+ created_ms: z.ZodNullable<z.ZodInt>;
1845
+ projects: z.ZodArray<z.ZodString>;
1846
+ starred: z.ZodBoolean;
1847
+ pinned_in: z.ZodArray<z.ZodObject<{
1848
+ window: z.ZodString;
1849
+ observed_at_ms: z.ZodNullable<z.ZodInt>;
1850
+ }, z.core.$strict>>;
1851
+ places: z.ZodArray<z.ZodString>;
1852
+ held: z.ZodBoolean;
1853
+ running: z.ZodArray<z.ZodObject<{
1854
+ window: z.ZodString;
1855
+ how: z.ZodEnum<{
1856
+ process: "process";
1857
+ activity: "activity";
1858
+ }>;
1859
+ }, z.core.$strict>>;
1860
+ hidden_in: z.ZodArray<z.ZodObject<{
1861
+ window: z.ZodString;
1862
+ reason: z.ZodString;
1863
+ }, z.core.$strict>>;
1864
+ hidden_from_main: z.ZodBoolean;
1865
+ main_pending: z.ZodBoolean;
1866
+ scheduled: z.ZodNullable<z.ZodString>;
1867
+ new_unfiled: z.ZodBoolean;
1868
+ warnings: z.ZodArray<z.ZodString>;
1869
+ last_use: z.ZodNullable<z.ZodObject<{
1870
+ at_ms: z.ZodInt;
1871
+ window: z.ZodNullable<z.ZodString>;
1872
+ account: z.ZodNullable<z.ZodString>;
1873
+ how: z.ZodNullable<z.ZodString>;
1874
+ cache_warm: z.ZodBoolean;
1875
+ cache_minutes_left: z.ZodInt;
1876
+ }, z.core.$strict>>;
1877
+ }, z.core.$strict>>;
1878
+ project: z.ZodObject<{
1879
+ id: z.ZodString;
1880
+ name: z.ZodString;
1881
+ archived: z.ZodBoolean;
1882
+ count: z.ZodInt;
1883
+ }, z.core.$strict>;
1884
+ }, z.core.$strict>;
1885
+ readonly kind: "unary";
1886
+ readonly since: "1.9";
1887
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1888
+ };
1889
+ readonly "apps.projects.update": {
1890
+ readonly params: z.ZodObject<{
1891
+ app_key: z.ZodString;
1892
+ project_id: z.ZodString;
1893
+ name: z.ZodOptional<z.ZodString>;
1894
+ archived: z.ZodOptional<z.ZodBoolean>;
1895
+ }, z.core.$strict>;
1896
+ readonly result: z.ZodObject<{
1897
+ project: z.ZodObject<{
1898
+ id: z.ZodString;
1899
+ name: z.ZodString;
1900
+ archived: z.ZodBoolean;
1901
+ count: z.ZodInt;
1902
+ }, z.core.$strict>;
1903
+ }, z.core.$strict>;
1904
+ readonly kind: "unary";
1905
+ readonly since: "1.9";
1906
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1907
+ };
1908
+ readonly "apps.projects.copy": {
1909
+ readonly params: z.ZodObject<{
1910
+ app_key: z.ZodString;
1911
+ project_id: z.ZodString;
1912
+ new_project_name: z.ZodString;
1913
+ }, z.core.$strict>;
1914
+ readonly result: z.ZodObject<{
1915
+ project: z.ZodObject<{
1916
+ id: z.ZodString;
1917
+ name: z.ZodString;
1918
+ archived: z.ZodBoolean;
1919
+ count: z.ZodInt;
1920
+ }, z.core.$strict>;
1921
+ }, z.core.$strict>;
1922
+ readonly kind: "unary";
1923
+ readonly since: "1.9";
1924
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1925
+ };
1764
1926
  readonly "apps.projects.unfile": {
1765
1927
  readonly params: z.ZodObject<{
1766
1928
  app_key: z.ZodString;
@@ -1810,8 +1972,217 @@ declare const OPS: {
1810
1972
  }, z.core.$strict>;
1811
1973
  }, z.core.$strict>;
1812
1974
  readonly kind: "unary";
1813
- readonly since: "1.8";
1814
- readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1975
+ readonly since: "1.8";
1976
+ readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1977
+ };
1978
+ readonly "apps.windows.list": {
1979
+ readonly params: z.ZodObject<{
1980
+ app_key: z.ZodString;
1981
+ }, z.core.$strict>;
1982
+ readonly result: z.ZodObject<{
1983
+ app_key: z.ZodString;
1984
+ windows: z.ZodArray<z.ZodObject<{
1985
+ key: z.ZodString;
1986
+ main: z.ZodBoolean;
1987
+ account: z.ZodNullable<z.ZodString>;
1988
+ signed_in: z.ZodNullable<z.ZodString>;
1989
+ signed_in_is_email: z.ZodBoolean;
1990
+ mismatch: z.ZodBoolean;
1991
+ created: z.ZodBoolean;
1992
+ running: z.ZodBoolean;
1993
+ open_chats: z.ZodInt;
1994
+ }, z.core.$strict>>;
1995
+ }, z.core.$strict>;
1996
+ readonly kind: "unary";
1997
+ readonly since: "1.10";
1998
+ readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1999
+ };
2000
+ readonly "apps.windows.open": {
2001
+ readonly params: z.ZodObject<{
2002
+ app_key: z.ZodString;
2003
+ window: z.ZodString;
2004
+ }, z.core.$strict>;
2005
+ readonly result: z.ZodObject<{
2006
+ message: z.ZodString;
2007
+ }, z.core.$strict>;
2008
+ readonly kind: "unary";
2009
+ readonly since: "1.10";
2010
+ readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2011
+ };
2012
+ readonly "apps.windows.reload": {
2013
+ readonly params: z.ZodObject<{
2014
+ app_key: z.ZodString;
2015
+ window: z.ZodString;
2016
+ }, z.core.$strict>;
2017
+ readonly result: z.ZodObject<{
2018
+ message: z.ZodString;
2019
+ }, z.core.$strict>;
2020
+ readonly kind: "unary";
2021
+ readonly since: "1.10";
2022
+ readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2023
+ };
2024
+ readonly "apps.windows.restart": {
2025
+ readonly params: z.ZodObject<{
2026
+ app_key: z.ZodString;
2027
+ window: z.ZodString;
2028
+ force: z.ZodDefault<z.ZodBoolean>;
2029
+ }, z.core.$strict>;
2030
+ readonly result: z.ZodObject<{
2031
+ message: z.ZodString;
2032
+ }, z.core.$strict>;
2033
+ readonly kind: "unary";
2034
+ readonly since: "1.10";
2035
+ readonly errors: readonly ["NOT_FOUND", "CONFLICT", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2036
+ };
2037
+ readonly "apps.windows.refresh_usage": {
2038
+ readonly params: z.ZodObject<{
2039
+ app_key: z.ZodString;
2040
+ window: z.ZodString;
2041
+ }, z.core.$strict>;
2042
+ readonly result: z.ZodObject<{
2043
+ message: z.ZodString;
2044
+ }, z.core.$strict>;
2045
+ readonly kind: "unary";
2046
+ readonly since: "1.10";
2047
+ readonly errors: readonly ["NOT_FOUND", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2048
+ };
2049
+ readonly "apps.accounts.usage": {
2050
+ readonly params: z.ZodObject<{
2051
+ app_key: z.ZodString;
2052
+ }, z.core.$strict>;
2053
+ readonly result: z.ZodObject<{
2054
+ app_key: z.ZodString;
2055
+ accounts: z.ZodArray<z.ZodObject<{
2056
+ account: z.ZodString;
2057
+ org: z.ZodNullable<z.ZodString>;
2058
+ account_certain: z.ZodBoolean;
2059
+ five_hour: z.ZodNullable<z.ZodNumber>;
2060
+ five_hour_reset_since: z.ZodBoolean;
2061
+ weekly: z.ZodNullable<z.ZodNumber>;
2062
+ weekly_reset_since: z.ZodBoolean;
2063
+ extra_usage: z.ZodNullable<z.ZodNumber>;
2064
+ extra_usage_as_of_ms: z.ZodNullable<z.ZodInt>;
2065
+ as_of_ms: z.ZodInt;
2066
+ windows: z.ZodArray<z.ZodString>;
2067
+ live: z.ZodBoolean;
2068
+ weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
2069
+ weekly_reset_official: z.ZodNullable<z.ZodBoolean>;
2070
+ }, z.core.$strict>>;
2071
+ }, z.core.$strict>;
2072
+ readonly kind: "unary";
2073
+ readonly since: "1.10";
2074
+ readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2075
+ };
2076
+ readonly "apps.accounts.resets": {
2077
+ readonly params: z.ZodObject<{
2078
+ app_key: z.ZodString;
2079
+ }, z.core.$strict>;
2080
+ readonly result: z.ZodObject<{
2081
+ app_key: z.ZodString;
2082
+ resets: z.ZodArray<z.ZodObject<{
2083
+ window: z.ZodString;
2084
+ account: z.ZodNullable<z.ZodString>;
2085
+ next_reset_ms: z.ZodNullable<z.ZodInt>;
2086
+ source: z.ZodNullable<z.ZodEnum<{
2087
+ claude: "claude";
2088
+ usage_history: "usage_history";
2089
+ your_list: "your_list";
2090
+ }>>;
2091
+ official: z.ZodBoolean;
2092
+ note: z.ZodNullable<z.ZodString>;
2093
+ }, z.core.$strict>>;
2094
+ }, z.core.$strict>;
2095
+ readonly kind: "unary";
2096
+ readonly since: "1.10";
2097
+ readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2098
+ };
2099
+ readonly "apps.projects.move": {
2100
+ readonly params: z.ZodObject<{
2101
+ app_key: z.ZodString;
2102
+ chat_id: z.ZodString;
2103
+ from_project_id: z.ZodString;
2104
+ to_project_id: z.ZodOptional<z.ZodString>;
2105
+ new_project_name: z.ZodOptional<z.ZodString>;
2106
+ }, z.core.$strict>;
2107
+ readonly result: z.ZodObject<{
2108
+ chat: z.ZodObject<{
2109
+ id: z.ZodString;
2110
+ short_id: z.ZodString;
2111
+ record: z.ZodNullable<z.ZodString>;
2112
+ title: z.ZodString;
2113
+ last_active_ms: z.ZodNullable<z.ZodInt>;
2114
+ created_ms: z.ZodNullable<z.ZodInt>;
2115
+ projects: z.ZodArray<z.ZodString>;
2116
+ starred: z.ZodBoolean;
2117
+ pinned_in: z.ZodArray<z.ZodObject<{
2118
+ window: z.ZodString;
2119
+ observed_at_ms: z.ZodNullable<z.ZodInt>;
2120
+ }, z.core.$strict>>;
2121
+ places: z.ZodArray<z.ZodString>;
2122
+ held: z.ZodBoolean;
2123
+ running: z.ZodArray<z.ZodObject<{
2124
+ window: z.ZodString;
2125
+ how: z.ZodEnum<{
2126
+ process: "process";
2127
+ activity: "activity";
2128
+ }>;
2129
+ }, z.core.$strict>>;
2130
+ hidden_in: z.ZodArray<z.ZodObject<{
2131
+ window: z.ZodString;
2132
+ reason: z.ZodString;
2133
+ }, z.core.$strict>>;
2134
+ hidden_from_main: z.ZodBoolean;
2135
+ main_pending: z.ZodBoolean;
2136
+ scheduled: z.ZodNullable<z.ZodString>;
2137
+ new_unfiled: z.ZodBoolean;
2138
+ warnings: z.ZodArray<z.ZodString>;
2139
+ last_use: z.ZodNullable<z.ZodObject<{
2140
+ at_ms: z.ZodInt;
2141
+ window: z.ZodNullable<z.ZodString>;
2142
+ account: z.ZodNullable<z.ZodString>;
2143
+ how: z.ZodNullable<z.ZodString>;
2144
+ cache_warm: z.ZodBoolean;
2145
+ cache_minutes_left: z.ZodInt;
2146
+ }, z.core.$strict>>;
2147
+ }, z.core.$strict>;
2148
+ project: z.ZodObject<{
2149
+ id: z.ZodString;
2150
+ name: z.ZodString;
2151
+ archived: z.ZodBoolean;
2152
+ count: z.ZodInt;
2153
+ }, z.core.$strict>;
2154
+ }, z.core.$strict>;
2155
+ readonly kind: "unary";
2156
+ readonly since: "1.10";
2157
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2158
+ };
2159
+ readonly "apps.projects.create": {
2160
+ readonly params: z.ZodObject<{
2161
+ app_key: z.ZodString;
2162
+ name: z.ZodString;
2163
+ }, z.core.$strict>;
2164
+ readonly result: z.ZodObject<{
2165
+ project: z.ZodObject<{
2166
+ id: z.ZodString;
2167
+ name: z.ZodString;
2168
+ archived: z.ZodBoolean;
2169
+ count: z.ZodInt;
2170
+ }, z.core.$strict>;
2171
+ }, z.core.$strict>;
2172
+ readonly kind: "unary";
2173
+ readonly since: "1.10";
2174
+ readonly errors: readonly ["INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2175
+ };
2176
+ readonly "apps.projects.import_pins": {
2177
+ readonly params: z.ZodObject<{
2178
+ app_key: z.ZodString;
2179
+ }, z.core.$strict>;
2180
+ readonly result: z.ZodObject<{
2181
+ message: z.ZodString;
2182
+ }, z.core.$strict>;
2183
+ readonly kind: "unary";
2184
+ readonly since: "1.10";
2185
+ readonly errors: readonly ["CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1815
2186
  };
1816
2187
  readonly "proc.list": {
1817
2188
  readonly params: z.ZodObject<{
@@ -2568,6 +2939,12 @@ declare const EVENTS: {
2568
2939
  ids: z.ZodArray<z.ZodString>;
2569
2940
  all: z.ZodBoolean;
2570
2941
  }, z.core.$strict>;
2942
+ readonly "apps.chats.watch_state": z.ZodObject<{
2943
+ app_key: z.ZodString;
2944
+ live: z.ZodBoolean;
2945
+ updating: z.ZodBoolean;
2946
+ reason: z.ZodNullable<z.ZodString>;
2947
+ }, z.core.$strict>;
2571
2948
  readonly "exec.exited": z.ZodObject<{
2572
2949
  exit_code: z.ZodNullable<z.ZodInt>;
2573
2950
  exit_signal: z.ZodNullable<z.ZodEnum<{
@@ -5780,6 +6157,13 @@ declare const NAMED_SCHEMAS: {
5780
6157
  }, z.core.$strict>>;
5781
6158
  }, z.core.$strict>>;
5782
6159
  new_window_ms: z.ZodInt;
6160
+ updating: z.ZodOptional<z.ZodBoolean>;
6161
+ live: z.ZodOptional<z.ZodBoolean>;
6162
+ families: z.ZodOptional<z.ZodArray<z.ZodObject<{
6163
+ id: z.ZodString;
6164
+ fork_of: z.ZodNullable<z.ZodString>;
6165
+ copy_of: z.ZodNullable<z.ZodString>;
6166
+ }, z.core.$strict>>>;
5783
6167
  }, z.core.$strict>;
5784
6168
  readonly AppsChatsWatchParams: z.ZodObject<{
5785
6169
  app_key: z.ZodString;
@@ -5942,6 +6326,341 @@ declare const NAMED_SCHEMAS: {
5942
6326
  }, z.core.$strict>>;
5943
6327
  }, z.core.$strict>;
5944
6328
  }, z.core.$strict>;
6329
+ readonly AppsChatsWatchStateEvent: z.ZodObject<{
6330
+ app_key: z.ZodString;
6331
+ live: z.ZodBoolean;
6332
+ updating: z.ZodBoolean;
6333
+ reason: z.ZodNullable<z.ZodString>;
6334
+ }, z.core.$strict>;
6335
+ readonly AppsChatsPlaceParams: z.ZodObject<{
6336
+ app_key: z.ZodString;
6337
+ chat_id: z.ZodString;
6338
+ action: z.ZodEnum<{
6339
+ place: "place";
6340
+ take_off: "take_off";
6341
+ hold: "hold";
6342
+ }>;
6343
+ window: z.ZodOptional<z.ZodString>;
6344
+ stop_if_open: z.ZodDefault<z.ZodBoolean>;
6345
+ }, z.core.$strict>;
6346
+ readonly AppsChatsPlaceResult: z.ZodObject<{
6347
+ chat: z.ZodObject<{
6348
+ id: z.ZodString;
6349
+ short_id: z.ZodString;
6350
+ record: z.ZodNullable<z.ZodString>;
6351
+ title: z.ZodString;
6352
+ last_active_ms: z.ZodNullable<z.ZodInt>;
6353
+ created_ms: z.ZodNullable<z.ZodInt>;
6354
+ projects: z.ZodArray<z.ZodString>;
6355
+ starred: z.ZodBoolean;
6356
+ pinned_in: z.ZodArray<z.ZodObject<{
6357
+ window: z.ZodString;
6358
+ observed_at_ms: z.ZodNullable<z.ZodInt>;
6359
+ }, z.core.$strict>>;
6360
+ places: z.ZodArray<z.ZodString>;
6361
+ held: z.ZodBoolean;
6362
+ running: z.ZodArray<z.ZodObject<{
6363
+ window: z.ZodString;
6364
+ how: z.ZodEnum<{
6365
+ process: "process";
6366
+ activity: "activity";
6367
+ }>;
6368
+ }, z.core.$strict>>;
6369
+ hidden_in: z.ZodArray<z.ZodObject<{
6370
+ window: z.ZodString;
6371
+ reason: z.ZodString;
6372
+ }, z.core.$strict>>;
6373
+ hidden_from_main: z.ZodBoolean;
6374
+ main_pending: z.ZodBoolean;
6375
+ scheduled: z.ZodNullable<z.ZodString>;
6376
+ new_unfiled: z.ZodBoolean;
6377
+ warnings: z.ZodArray<z.ZodString>;
6378
+ last_use: z.ZodNullable<z.ZodObject<{
6379
+ at_ms: z.ZodInt;
6380
+ window: z.ZodNullable<z.ZodString>;
6381
+ account: z.ZodNullable<z.ZodString>;
6382
+ how: z.ZodNullable<z.ZodString>;
6383
+ cache_warm: z.ZodBoolean;
6384
+ cache_minutes_left: z.ZodInt;
6385
+ }, z.core.$strict>>;
6386
+ }, z.core.$strict>;
6387
+ message: z.ZodString;
6388
+ }, z.core.$strict>;
6389
+ readonly AppsProjectsFileManyParams: z.ZodObject<{
6390
+ app_key: z.ZodString;
6391
+ chat_ids: z.ZodArray<z.ZodString>;
6392
+ project_id: z.ZodOptional<z.ZodString>;
6393
+ new_project_name: z.ZodOptional<z.ZodString>;
6394
+ }, z.core.$strict>;
6395
+ readonly AppsProjectsFileManyResult: z.ZodObject<{
6396
+ chats: z.ZodArray<z.ZodObject<{
6397
+ id: z.ZodString;
6398
+ short_id: z.ZodString;
6399
+ record: z.ZodNullable<z.ZodString>;
6400
+ title: z.ZodString;
6401
+ last_active_ms: z.ZodNullable<z.ZodInt>;
6402
+ created_ms: z.ZodNullable<z.ZodInt>;
6403
+ projects: z.ZodArray<z.ZodString>;
6404
+ starred: z.ZodBoolean;
6405
+ pinned_in: z.ZodArray<z.ZodObject<{
6406
+ window: z.ZodString;
6407
+ observed_at_ms: z.ZodNullable<z.ZodInt>;
6408
+ }, z.core.$strict>>;
6409
+ places: z.ZodArray<z.ZodString>;
6410
+ held: z.ZodBoolean;
6411
+ running: z.ZodArray<z.ZodObject<{
6412
+ window: z.ZodString;
6413
+ how: z.ZodEnum<{
6414
+ process: "process";
6415
+ activity: "activity";
6416
+ }>;
6417
+ }, z.core.$strict>>;
6418
+ hidden_in: z.ZodArray<z.ZodObject<{
6419
+ window: z.ZodString;
6420
+ reason: z.ZodString;
6421
+ }, z.core.$strict>>;
6422
+ hidden_from_main: z.ZodBoolean;
6423
+ main_pending: z.ZodBoolean;
6424
+ scheduled: z.ZodNullable<z.ZodString>;
6425
+ new_unfiled: z.ZodBoolean;
6426
+ warnings: z.ZodArray<z.ZodString>;
6427
+ last_use: z.ZodNullable<z.ZodObject<{
6428
+ at_ms: z.ZodInt;
6429
+ window: z.ZodNullable<z.ZodString>;
6430
+ account: z.ZodNullable<z.ZodString>;
6431
+ how: z.ZodNullable<z.ZodString>;
6432
+ cache_warm: z.ZodBoolean;
6433
+ cache_minutes_left: z.ZodInt;
6434
+ }, z.core.$strict>>;
6435
+ }, z.core.$strict>>;
6436
+ project: z.ZodObject<{
6437
+ id: z.ZodString;
6438
+ name: z.ZodString;
6439
+ archived: z.ZodBoolean;
6440
+ count: z.ZodInt;
6441
+ }, z.core.$strict>;
6442
+ }, z.core.$strict>;
6443
+ readonly AppsProjectsUpdateParams: z.ZodObject<{
6444
+ app_key: z.ZodString;
6445
+ project_id: z.ZodString;
6446
+ name: z.ZodOptional<z.ZodString>;
6447
+ archived: z.ZodOptional<z.ZodBoolean>;
6448
+ }, z.core.$strict>;
6449
+ readonly AppsProjectsUpdateResult: z.ZodObject<{
6450
+ project: z.ZodObject<{
6451
+ id: z.ZodString;
6452
+ name: z.ZodString;
6453
+ archived: z.ZodBoolean;
6454
+ count: z.ZodInt;
6455
+ }, z.core.$strict>;
6456
+ }, z.core.$strict>;
6457
+ readonly AppsProjectsCopyParams: z.ZodObject<{
6458
+ app_key: z.ZodString;
6459
+ project_id: z.ZodString;
6460
+ new_project_name: z.ZodString;
6461
+ }, z.core.$strict>;
6462
+ readonly AppsProjectsCopyResult: z.ZodObject<{
6463
+ project: z.ZodObject<{
6464
+ id: z.ZodString;
6465
+ name: z.ZodString;
6466
+ archived: z.ZodBoolean;
6467
+ count: z.ZodInt;
6468
+ }, z.core.$strict>;
6469
+ }, z.core.$strict>;
6470
+ readonly ChatFamily: z.ZodObject<{
6471
+ id: z.ZodString;
6472
+ fork_of: z.ZodNullable<z.ZodString>;
6473
+ copy_of: z.ZodNullable<z.ZodString>;
6474
+ }, z.core.$strict>;
6475
+ readonly AppWindowInfo: z.ZodObject<{
6476
+ key: z.ZodString;
6477
+ main: z.ZodBoolean;
6478
+ account: z.ZodNullable<z.ZodString>;
6479
+ signed_in: z.ZodNullable<z.ZodString>;
6480
+ signed_in_is_email: z.ZodBoolean;
6481
+ mismatch: z.ZodBoolean;
6482
+ created: z.ZodBoolean;
6483
+ running: z.ZodBoolean;
6484
+ open_chats: z.ZodInt;
6485
+ }, z.core.$strict>;
6486
+ readonly AccountUsage: z.ZodObject<{
6487
+ account: z.ZodString;
6488
+ org: z.ZodNullable<z.ZodString>;
6489
+ account_certain: z.ZodBoolean;
6490
+ five_hour: z.ZodNullable<z.ZodNumber>;
6491
+ five_hour_reset_since: z.ZodBoolean;
6492
+ weekly: z.ZodNullable<z.ZodNumber>;
6493
+ weekly_reset_since: z.ZodBoolean;
6494
+ extra_usage: z.ZodNullable<z.ZodNumber>;
6495
+ extra_usage_as_of_ms: z.ZodNullable<z.ZodInt>;
6496
+ as_of_ms: z.ZodInt;
6497
+ windows: z.ZodArray<z.ZodString>;
6498
+ live: z.ZodBoolean;
6499
+ weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
6500
+ weekly_reset_official: z.ZodNullable<z.ZodBoolean>;
6501
+ }, z.core.$strict>;
6502
+ readonly AccountReset: z.ZodObject<{
6503
+ window: z.ZodString;
6504
+ account: z.ZodNullable<z.ZodString>;
6505
+ next_reset_ms: z.ZodNullable<z.ZodInt>;
6506
+ source: z.ZodNullable<z.ZodEnum<{
6507
+ claude: "claude";
6508
+ usage_history: "usage_history";
6509
+ your_list: "your_list";
6510
+ }>>;
6511
+ official: z.ZodBoolean;
6512
+ note: z.ZodNullable<z.ZodString>;
6513
+ }, z.core.$strict>;
6514
+ readonly AppsWindowsListParams: z.ZodObject<{
6515
+ app_key: z.ZodString;
6516
+ }, z.core.$strict>;
6517
+ readonly AppsWindowsListResult: z.ZodObject<{
6518
+ app_key: z.ZodString;
6519
+ windows: z.ZodArray<z.ZodObject<{
6520
+ key: z.ZodString;
6521
+ main: z.ZodBoolean;
6522
+ account: z.ZodNullable<z.ZodString>;
6523
+ signed_in: z.ZodNullable<z.ZodString>;
6524
+ signed_in_is_email: z.ZodBoolean;
6525
+ mismatch: z.ZodBoolean;
6526
+ created: z.ZodBoolean;
6527
+ running: z.ZodBoolean;
6528
+ open_chats: z.ZodInt;
6529
+ }, z.core.$strict>>;
6530
+ }, z.core.$strict>;
6531
+ readonly AppsAccountsUsageParams: z.ZodObject<{
6532
+ app_key: z.ZodString;
6533
+ }, z.core.$strict>;
6534
+ readonly AppsAccountsUsageResult: z.ZodObject<{
6535
+ app_key: z.ZodString;
6536
+ accounts: z.ZodArray<z.ZodObject<{
6537
+ account: z.ZodString;
6538
+ org: z.ZodNullable<z.ZodString>;
6539
+ account_certain: z.ZodBoolean;
6540
+ five_hour: z.ZodNullable<z.ZodNumber>;
6541
+ five_hour_reset_since: z.ZodBoolean;
6542
+ weekly: z.ZodNullable<z.ZodNumber>;
6543
+ weekly_reset_since: z.ZodBoolean;
6544
+ extra_usage: z.ZodNullable<z.ZodNumber>;
6545
+ extra_usage_as_of_ms: z.ZodNullable<z.ZodInt>;
6546
+ as_of_ms: z.ZodInt;
6547
+ windows: z.ZodArray<z.ZodString>;
6548
+ live: z.ZodBoolean;
6549
+ weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
6550
+ weekly_reset_official: z.ZodNullable<z.ZodBoolean>;
6551
+ }, z.core.$strict>>;
6552
+ }, z.core.$strict>;
6553
+ readonly AppsAccountsResetsParams: z.ZodObject<{
6554
+ app_key: z.ZodString;
6555
+ }, z.core.$strict>;
6556
+ readonly AppsAccountsResetsResult: z.ZodObject<{
6557
+ app_key: z.ZodString;
6558
+ resets: z.ZodArray<z.ZodObject<{
6559
+ window: z.ZodString;
6560
+ account: z.ZodNullable<z.ZodString>;
6561
+ next_reset_ms: z.ZodNullable<z.ZodInt>;
6562
+ source: z.ZodNullable<z.ZodEnum<{
6563
+ claude: "claude";
6564
+ usage_history: "usage_history";
6565
+ your_list: "your_list";
6566
+ }>>;
6567
+ official: z.ZodBoolean;
6568
+ note: z.ZodNullable<z.ZodString>;
6569
+ }, z.core.$strict>>;
6570
+ }, z.core.$strict>;
6571
+ readonly AppsWindowActionResult: z.ZodObject<{
6572
+ message: z.ZodString;
6573
+ }, z.core.$strict>;
6574
+ readonly AppsWindowsOpenParams: z.ZodObject<{
6575
+ app_key: z.ZodString;
6576
+ window: z.ZodString;
6577
+ }, z.core.$strict>;
6578
+ readonly AppsWindowsReloadParams: z.ZodObject<{
6579
+ app_key: z.ZodString;
6580
+ window: z.ZodString;
6581
+ }, z.core.$strict>;
6582
+ readonly AppsWindowsRestartParams: z.ZodObject<{
6583
+ app_key: z.ZodString;
6584
+ window: z.ZodString;
6585
+ force: z.ZodDefault<z.ZodBoolean>;
6586
+ }, z.core.$strict>;
6587
+ readonly AppsWindowsRefreshUsageParams: z.ZodObject<{
6588
+ app_key: z.ZodString;
6589
+ window: z.ZodString;
6590
+ }, z.core.$strict>;
6591
+ readonly AppsProjectsMoveParams: z.ZodObject<{
6592
+ app_key: z.ZodString;
6593
+ chat_id: z.ZodString;
6594
+ from_project_id: z.ZodString;
6595
+ to_project_id: z.ZodOptional<z.ZodString>;
6596
+ new_project_name: z.ZodOptional<z.ZodString>;
6597
+ }, z.core.$strict>;
6598
+ readonly AppsProjectsMoveResult: z.ZodObject<{
6599
+ chat: z.ZodObject<{
6600
+ id: z.ZodString;
6601
+ short_id: z.ZodString;
6602
+ record: z.ZodNullable<z.ZodString>;
6603
+ title: z.ZodString;
6604
+ last_active_ms: z.ZodNullable<z.ZodInt>;
6605
+ created_ms: z.ZodNullable<z.ZodInt>;
6606
+ projects: z.ZodArray<z.ZodString>;
6607
+ starred: z.ZodBoolean;
6608
+ pinned_in: z.ZodArray<z.ZodObject<{
6609
+ window: z.ZodString;
6610
+ observed_at_ms: z.ZodNullable<z.ZodInt>;
6611
+ }, z.core.$strict>>;
6612
+ places: z.ZodArray<z.ZodString>;
6613
+ held: z.ZodBoolean;
6614
+ running: z.ZodArray<z.ZodObject<{
6615
+ window: z.ZodString;
6616
+ how: z.ZodEnum<{
6617
+ process: "process";
6618
+ activity: "activity";
6619
+ }>;
6620
+ }, z.core.$strict>>;
6621
+ hidden_in: z.ZodArray<z.ZodObject<{
6622
+ window: z.ZodString;
6623
+ reason: z.ZodString;
6624
+ }, z.core.$strict>>;
6625
+ hidden_from_main: z.ZodBoolean;
6626
+ main_pending: z.ZodBoolean;
6627
+ scheduled: z.ZodNullable<z.ZodString>;
6628
+ new_unfiled: z.ZodBoolean;
6629
+ warnings: z.ZodArray<z.ZodString>;
6630
+ last_use: z.ZodNullable<z.ZodObject<{
6631
+ at_ms: z.ZodInt;
6632
+ window: z.ZodNullable<z.ZodString>;
6633
+ account: z.ZodNullable<z.ZodString>;
6634
+ how: z.ZodNullable<z.ZodString>;
6635
+ cache_warm: z.ZodBoolean;
6636
+ cache_minutes_left: z.ZodInt;
6637
+ }, z.core.$strict>>;
6638
+ }, z.core.$strict>;
6639
+ project: z.ZodObject<{
6640
+ id: z.ZodString;
6641
+ name: z.ZodString;
6642
+ archived: z.ZodBoolean;
6643
+ count: z.ZodInt;
6644
+ }, z.core.$strict>;
6645
+ }, z.core.$strict>;
6646
+ readonly AppsProjectsCreateParams: z.ZodObject<{
6647
+ app_key: z.ZodString;
6648
+ name: z.ZodString;
6649
+ }, z.core.$strict>;
6650
+ readonly AppsProjectsCreateResult: z.ZodObject<{
6651
+ project: z.ZodObject<{
6652
+ id: z.ZodString;
6653
+ name: z.ZodString;
6654
+ archived: z.ZodBoolean;
6655
+ count: z.ZodInt;
6656
+ }, z.core.$strict>;
6657
+ }, z.core.$strict>;
6658
+ readonly AppsProjectsImportPinsParams: z.ZodObject<{
6659
+ app_key: z.ZodString;
6660
+ }, z.core.$strict>;
6661
+ readonly AppsProjectsImportPinsResult: z.ZodObject<{
6662
+ message: z.ZodString;
6663
+ }, z.core.$strict>;
5945
6664
  };
5946
6665
  type NamedSchemaId = keyof typeof NAMED_SCHEMAS;
5947
6666