@ai-matrx/desktop-protocol 0.17.5 → 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.
- package/CHANGELOG.md +16 -0
- package/dist/client.cjs +100 -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 +100 -2
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +404 -264
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +250 -6
- package/dist/index.d.ts +250 -6
- package/dist/index.js +404 -264
- package/dist/index.js.map +1 -1
- package/dist/{models-Bb87iuvw.d.cts → models-B9tM6Hnx.d.cts} +414 -1
- package/dist/{models-Bb87iuvw.d.ts → models-B9tM6Hnx.d.ts} +414 -1
- package/dist/react.d.cts +214 -0
- package/dist/react.d.ts +214 -0
- package/generated/desktop-protocol.schema.json +799 -123
- 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" | "1.8" | "1.9";
|
|
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: {
|
|
@@ -1635,6 +1635,11 @@ declare const OPS: {
|
|
|
1635
1635
|
new_window_ms: z.ZodInt;
|
|
1636
1636
|
updating: z.ZodOptional<z.ZodBoolean>;
|
|
1637
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>>>;
|
|
1638
1643
|
}, z.core.$strict>;
|
|
1639
1644
|
readonly kind: "unary";
|
|
1640
1645
|
readonly since: "1.8";
|
|
@@ -1970,6 +1975,215 @@ declare const OPS: {
|
|
|
1970
1975
|
readonly since: "1.8";
|
|
1971
1976
|
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1972
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"];
|
|
2186
|
+
};
|
|
1973
2187
|
readonly "proc.list": {
|
|
1974
2188
|
readonly params: z.ZodObject<{
|
|
1975
2189
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -5945,6 +6159,11 @@ declare const NAMED_SCHEMAS: {
|
|
|
5945
6159
|
new_window_ms: z.ZodInt;
|
|
5946
6160
|
updating: z.ZodOptional<z.ZodBoolean>;
|
|
5947
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>>>;
|
|
5948
6167
|
}, z.core.$strict>;
|
|
5949
6168
|
readonly AppsChatsWatchParams: z.ZodObject<{
|
|
5950
6169
|
app_key: z.ZodString;
|
|
@@ -6248,6 +6467,200 @@ declare const NAMED_SCHEMAS: {
|
|
|
6248
6467
|
count: z.ZodInt;
|
|
6249
6468
|
}, z.core.$strict>;
|
|
6250
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>;
|
|
6251
6664
|
};
|
|
6252
6665
|
type NamedSchemaId = keyof typeof NAMED_SCHEMAS;
|
|
6253
6666
|
|
package/dist/react.d.cts
CHANGED
|
@@ -1095,6 +1095,11 @@ declare const OPS: {
|
|
|
1095
1095
|
new_window_ms: z.ZodInt;
|
|
1096
1096
|
updating: z.ZodOptional<z.ZodBoolean>;
|
|
1097
1097
|
live: z.ZodOptional<z.ZodBoolean>;
|
|
1098
|
+
families: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1099
|
+
id: z.ZodString;
|
|
1100
|
+
fork_of: z.ZodNullable<z.ZodString>;
|
|
1101
|
+
copy_of: z.ZodNullable<z.ZodString>;
|
|
1102
|
+
}, z.core.$strict>>>;
|
|
1098
1103
|
}, z.core.$strict>;
|
|
1099
1104
|
readonly kind: "unary";
|
|
1100
1105
|
readonly since: "1.8";
|
|
@@ -1430,6 +1435,215 @@ declare const OPS: {
|
|
|
1430
1435
|
readonly since: "1.8";
|
|
1431
1436
|
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1432
1437
|
};
|
|
1438
|
+
readonly "apps.windows.list": {
|
|
1439
|
+
readonly params: z.ZodObject<{
|
|
1440
|
+
app_key: z.ZodString;
|
|
1441
|
+
}, z.core.$strict>;
|
|
1442
|
+
readonly result: z.ZodObject<{
|
|
1443
|
+
app_key: z.ZodString;
|
|
1444
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
1445
|
+
key: z.ZodString;
|
|
1446
|
+
main: z.ZodBoolean;
|
|
1447
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1448
|
+
signed_in: z.ZodNullable<z.ZodString>;
|
|
1449
|
+
signed_in_is_email: z.ZodBoolean;
|
|
1450
|
+
mismatch: z.ZodBoolean;
|
|
1451
|
+
created: z.ZodBoolean;
|
|
1452
|
+
running: z.ZodBoolean;
|
|
1453
|
+
open_chats: z.ZodInt;
|
|
1454
|
+
}, z.core.$strict>>;
|
|
1455
|
+
}, z.core.$strict>;
|
|
1456
|
+
readonly kind: "unary";
|
|
1457
|
+
readonly since: "1.10";
|
|
1458
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1459
|
+
};
|
|
1460
|
+
readonly "apps.windows.open": {
|
|
1461
|
+
readonly params: z.ZodObject<{
|
|
1462
|
+
app_key: z.ZodString;
|
|
1463
|
+
window: z.ZodString;
|
|
1464
|
+
}, z.core.$strict>;
|
|
1465
|
+
readonly result: z.ZodObject<{
|
|
1466
|
+
message: z.ZodString;
|
|
1467
|
+
}, z.core.$strict>;
|
|
1468
|
+
readonly kind: "unary";
|
|
1469
|
+
readonly since: "1.10";
|
|
1470
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1471
|
+
};
|
|
1472
|
+
readonly "apps.windows.reload": {
|
|
1473
|
+
readonly params: z.ZodObject<{
|
|
1474
|
+
app_key: z.ZodString;
|
|
1475
|
+
window: z.ZodString;
|
|
1476
|
+
}, z.core.$strict>;
|
|
1477
|
+
readonly result: z.ZodObject<{
|
|
1478
|
+
message: z.ZodString;
|
|
1479
|
+
}, z.core.$strict>;
|
|
1480
|
+
readonly kind: "unary";
|
|
1481
|
+
readonly since: "1.10";
|
|
1482
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1483
|
+
};
|
|
1484
|
+
readonly "apps.windows.restart": {
|
|
1485
|
+
readonly params: z.ZodObject<{
|
|
1486
|
+
app_key: z.ZodString;
|
|
1487
|
+
window: z.ZodString;
|
|
1488
|
+
force: z.ZodDefault<z.ZodBoolean>;
|
|
1489
|
+
}, z.core.$strict>;
|
|
1490
|
+
readonly result: z.ZodObject<{
|
|
1491
|
+
message: z.ZodString;
|
|
1492
|
+
}, z.core.$strict>;
|
|
1493
|
+
readonly kind: "unary";
|
|
1494
|
+
readonly since: "1.10";
|
|
1495
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1496
|
+
};
|
|
1497
|
+
readonly "apps.windows.refresh_usage": {
|
|
1498
|
+
readonly params: z.ZodObject<{
|
|
1499
|
+
app_key: z.ZodString;
|
|
1500
|
+
window: z.ZodString;
|
|
1501
|
+
}, z.core.$strict>;
|
|
1502
|
+
readonly result: z.ZodObject<{
|
|
1503
|
+
message: z.ZodString;
|
|
1504
|
+
}, z.core.$strict>;
|
|
1505
|
+
readonly kind: "unary";
|
|
1506
|
+
readonly since: "1.10";
|
|
1507
|
+
readonly errors: readonly ["NOT_FOUND", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1508
|
+
};
|
|
1509
|
+
readonly "apps.accounts.usage": {
|
|
1510
|
+
readonly params: z.ZodObject<{
|
|
1511
|
+
app_key: z.ZodString;
|
|
1512
|
+
}, z.core.$strict>;
|
|
1513
|
+
readonly result: z.ZodObject<{
|
|
1514
|
+
app_key: z.ZodString;
|
|
1515
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
1516
|
+
account: z.ZodString;
|
|
1517
|
+
org: z.ZodNullable<z.ZodString>;
|
|
1518
|
+
account_certain: z.ZodBoolean;
|
|
1519
|
+
five_hour: z.ZodNullable<z.ZodNumber>;
|
|
1520
|
+
five_hour_reset_since: z.ZodBoolean;
|
|
1521
|
+
weekly: z.ZodNullable<z.ZodNumber>;
|
|
1522
|
+
weekly_reset_since: z.ZodBoolean;
|
|
1523
|
+
extra_usage: z.ZodNullable<z.ZodNumber>;
|
|
1524
|
+
extra_usage_as_of_ms: z.ZodNullable<z.ZodInt>;
|
|
1525
|
+
as_of_ms: z.ZodInt;
|
|
1526
|
+
windows: z.ZodArray<z.ZodString>;
|
|
1527
|
+
live: z.ZodBoolean;
|
|
1528
|
+
weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1529
|
+
weekly_reset_official: z.ZodNullable<z.ZodBoolean>;
|
|
1530
|
+
}, z.core.$strict>>;
|
|
1531
|
+
}, z.core.$strict>;
|
|
1532
|
+
readonly kind: "unary";
|
|
1533
|
+
readonly since: "1.10";
|
|
1534
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1535
|
+
};
|
|
1536
|
+
readonly "apps.accounts.resets": {
|
|
1537
|
+
readonly params: z.ZodObject<{
|
|
1538
|
+
app_key: z.ZodString;
|
|
1539
|
+
}, z.core.$strict>;
|
|
1540
|
+
readonly result: z.ZodObject<{
|
|
1541
|
+
app_key: z.ZodString;
|
|
1542
|
+
resets: z.ZodArray<z.ZodObject<{
|
|
1543
|
+
window: z.ZodString;
|
|
1544
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1545
|
+
next_reset_ms: z.ZodNullable<z.ZodInt>;
|
|
1546
|
+
source: z.ZodNullable<z.ZodEnum<{
|
|
1547
|
+
claude: "claude";
|
|
1548
|
+
usage_history: "usage_history";
|
|
1549
|
+
your_list: "your_list";
|
|
1550
|
+
}>>;
|
|
1551
|
+
official: z.ZodBoolean;
|
|
1552
|
+
note: z.ZodNullable<z.ZodString>;
|
|
1553
|
+
}, z.core.$strict>>;
|
|
1554
|
+
}, z.core.$strict>;
|
|
1555
|
+
readonly kind: "unary";
|
|
1556
|
+
readonly since: "1.10";
|
|
1557
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1558
|
+
};
|
|
1559
|
+
readonly "apps.projects.move": {
|
|
1560
|
+
readonly params: z.ZodObject<{
|
|
1561
|
+
app_key: z.ZodString;
|
|
1562
|
+
chat_id: z.ZodString;
|
|
1563
|
+
from_project_id: z.ZodString;
|
|
1564
|
+
to_project_id: z.ZodOptional<z.ZodString>;
|
|
1565
|
+
new_project_name: z.ZodOptional<z.ZodString>;
|
|
1566
|
+
}, z.core.$strict>;
|
|
1567
|
+
readonly result: z.ZodObject<{
|
|
1568
|
+
chat: z.ZodObject<{
|
|
1569
|
+
id: z.ZodString;
|
|
1570
|
+
short_id: z.ZodString;
|
|
1571
|
+
record: z.ZodNullable<z.ZodString>;
|
|
1572
|
+
title: z.ZodString;
|
|
1573
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
1574
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
1575
|
+
projects: z.ZodArray<z.ZodString>;
|
|
1576
|
+
starred: z.ZodBoolean;
|
|
1577
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
1578
|
+
window: z.ZodString;
|
|
1579
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1580
|
+
}, z.core.$strict>>;
|
|
1581
|
+
places: z.ZodArray<z.ZodString>;
|
|
1582
|
+
held: z.ZodBoolean;
|
|
1583
|
+
running: z.ZodArray<z.ZodObject<{
|
|
1584
|
+
window: z.ZodString;
|
|
1585
|
+
how: z.ZodEnum<{
|
|
1586
|
+
process: "process";
|
|
1587
|
+
activity: "activity";
|
|
1588
|
+
}>;
|
|
1589
|
+
}, z.core.$strict>>;
|
|
1590
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
1591
|
+
window: z.ZodString;
|
|
1592
|
+
reason: z.ZodString;
|
|
1593
|
+
}, z.core.$strict>>;
|
|
1594
|
+
hidden_from_main: z.ZodBoolean;
|
|
1595
|
+
main_pending: z.ZodBoolean;
|
|
1596
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
1597
|
+
new_unfiled: z.ZodBoolean;
|
|
1598
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1599
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
1600
|
+
at_ms: z.ZodInt;
|
|
1601
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1602
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1603
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1604
|
+
cache_warm: z.ZodBoolean;
|
|
1605
|
+
cache_minutes_left: z.ZodInt;
|
|
1606
|
+
}, z.core.$strict>>;
|
|
1607
|
+
}, z.core.$strict>;
|
|
1608
|
+
project: z.ZodObject<{
|
|
1609
|
+
id: z.ZodString;
|
|
1610
|
+
name: z.ZodString;
|
|
1611
|
+
archived: z.ZodBoolean;
|
|
1612
|
+
count: z.ZodInt;
|
|
1613
|
+
}, z.core.$strict>;
|
|
1614
|
+
}, z.core.$strict>;
|
|
1615
|
+
readonly kind: "unary";
|
|
1616
|
+
readonly since: "1.10";
|
|
1617
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1618
|
+
};
|
|
1619
|
+
readonly "apps.projects.create": {
|
|
1620
|
+
readonly params: z.ZodObject<{
|
|
1621
|
+
app_key: z.ZodString;
|
|
1622
|
+
name: z.ZodString;
|
|
1623
|
+
}, z.core.$strict>;
|
|
1624
|
+
readonly result: z.ZodObject<{
|
|
1625
|
+
project: z.ZodObject<{
|
|
1626
|
+
id: z.ZodString;
|
|
1627
|
+
name: z.ZodString;
|
|
1628
|
+
archived: z.ZodBoolean;
|
|
1629
|
+
count: z.ZodInt;
|
|
1630
|
+
}, z.core.$strict>;
|
|
1631
|
+
}, z.core.$strict>;
|
|
1632
|
+
readonly kind: "unary";
|
|
1633
|
+
readonly since: "1.10";
|
|
1634
|
+
readonly errors: readonly ["INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1635
|
+
};
|
|
1636
|
+
readonly "apps.projects.import_pins": {
|
|
1637
|
+
readonly params: z.ZodObject<{
|
|
1638
|
+
app_key: z.ZodString;
|
|
1639
|
+
}, z.core.$strict>;
|
|
1640
|
+
readonly result: z.ZodObject<{
|
|
1641
|
+
message: z.ZodString;
|
|
1642
|
+
}, z.core.$strict>;
|
|
1643
|
+
readonly kind: "unary";
|
|
1644
|
+
readonly since: "1.10";
|
|
1645
|
+
readonly errors: readonly ["CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1646
|
+
};
|
|
1433
1647
|
readonly "proc.list": {
|
|
1434
1648
|
readonly params: z.ZodObject<{
|
|
1435
1649
|
name: z.ZodOptional<z.ZodString>;
|