@ai-matrx/desktop-protocol 0.17.5 → 0.17.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +29 -0
- package/dist/client.cjs +209 -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 +209 -2
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +559 -264
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +588 -6
- package/dist/index.d.ts +588 -6
- package/dist/index.js +559 -264
- package/dist/index.js.map +1 -1
- package/dist/{models-Bb87iuvw.d.cts → models-Os6toG3X.d.cts} +945 -1
- package/dist/{models-Bb87iuvw.d.ts → models-Os6toG3X.d.ts} +945 -1
- package/dist/react.d.cts +440 -0
- package/dist/react.d.ts +440 -0
- package/generated/desktop-protocol.schema.json +1645 -69
- 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" | "1.11";
|
|
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,441 @@ 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
|
+
};
|
|
2187
|
+
readonly "apps.chats.cold": {
|
|
2188
|
+
readonly params: z.ZodObject<{
|
|
2189
|
+
app_key: z.ZodString;
|
|
2190
|
+
}, z.core.$strict>;
|
|
2191
|
+
readonly result: z.ZodObject<{
|
|
2192
|
+
app_key: z.ZodString;
|
|
2193
|
+
waiting: z.ZodArray<z.ZodObject<{
|
|
2194
|
+
id: z.ZodString;
|
|
2195
|
+
title: z.ZodString;
|
|
2196
|
+
repo: z.ZodNullable<z.ZodString>;
|
|
2197
|
+
window: z.ZodNullable<z.ZodString>;
|
|
2198
|
+
account: z.ZodNullable<z.ZodString>;
|
|
2199
|
+
model_name: z.ZodNullable<z.ZodString>;
|
|
2200
|
+
context_tokens: z.ZodInt;
|
|
2201
|
+
cold_at_ms: z.ZodInt;
|
|
2202
|
+
cold_cost: z.ZodNullable<z.ZodNumber>;
|
|
2203
|
+
warm_cost: z.ZodNullable<z.ZodNumber>;
|
|
2204
|
+
extra_usage: z.ZodBoolean;
|
|
2205
|
+
scheduled: z.ZodBoolean;
|
|
2206
|
+
openable: z.ZodBoolean;
|
|
2207
|
+
how: z.ZodNullable<z.ZodString>;
|
|
2208
|
+
}, z.core.$strict>>;
|
|
2209
|
+
recently_cold: z.ZodArray<z.ZodObject<{
|
|
2210
|
+
id: z.ZodString;
|
|
2211
|
+
title: z.ZodString;
|
|
2212
|
+
repo: z.ZodNullable<z.ZodString>;
|
|
2213
|
+
window: z.ZodNullable<z.ZodString>;
|
|
2214
|
+
account: z.ZodNullable<z.ZodString>;
|
|
2215
|
+
model_name: z.ZodNullable<z.ZodString>;
|
|
2216
|
+
context_tokens: z.ZodInt;
|
|
2217
|
+
cold_at_ms: z.ZodInt;
|
|
2218
|
+
cold_cost: z.ZodNullable<z.ZodNumber>;
|
|
2219
|
+
warm_cost: z.ZodNullable<z.ZodNumber>;
|
|
2220
|
+
extra_usage: z.ZodBoolean;
|
|
2221
|
+
scheduled: z.ZodBoolean;
|
|
2222
|
+
openable: z.ZodBoolean;
|
|
2223
|
+
how: z.ZodNullable<z.ZodString>;
|
|
2224
|
+
}, z.core.$strict>>;
|
|
2225
|
+
working: z.ZodInt;
|
|
2226
|
+
}, z.core.$strict>;
|
|
2227
|
+
readonly kind: "unary";
|
|
2228
|
+
readonly since: "1.11";
|
|
2229
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2230
|
+
};
|
|
2231
|
+
readonly "apps.chats.open": {
|
|
2232
|
+
readonly params: z.ZodObject<{
|
|
2233
|
+
app_key: z.ZodString;
|
|
2234
|
+
chat_id: z.ZodString;
|
|
2235
|
+
window: z.ZodOptional<z.ZodString>;
|
|
2236
|
+
}, z.core.$strict>;
|
|
2237
|
+
readonly result: z.ZodObject<{
|
|
2238
|
+
message: z.ZodString;
|
|
2239
|
+
}, z.core.$strict>;
|
|
2240
|
+
readonly kind: "unary";
|
|
2241
|
+
readonly since: "1.11";
|
|
2242
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2243
|
+
};
|
|
2244
|
+
readonly "apps.spend": {
|
|
2245
|
+
readonly params: z.ZodObject<{
|
|
2246
|
+
app_key: z.ZodString;
|
|
2247
|
+
}, z.core.$strict>;
|
|
2248
|
+
readonly result: z.ZodObject<{
|
|
2249
|
+
app_key: z.ZodString;
|
|
2250
|
+
complete: z.ZodBoolean;
|
|
2251
|
+
today_total: z.ZodNumber;
|
|
2252
|
+
week_total: z.ZodNumber;
|
|
2253
|
+
idle_today: z.ZodNumber;
|
|
2254
|
+
idle_week: z.ZodNumber;
|
|
2255
|
+
unpriced: z.ZodArray<z.ZodString>;
|
|
2256
|
+
alarms: z.ZodArray<z.ZodString>;
|
|
2257
|
+
live: z.ZodArray<z.ZodObject<{
|
|
2258
|
+
id: z.ZodString;
|
|
2259
|
+
title: z.ZodString;
|
|
2260
|
+
window: z.ZodNullable<z.ZodString>;
|
|
2261
|
+
helpers: z.ZodArray<z.ZodObject<{
|
|
2262
|
+
model: z.ZodString;
|
|
2263
|
+
steps: z.ZodInt;
|
|
2264
|
+
over_steps: z.ZodBoolean;
|
|
2265
|
+
description: z.ZodString;
|
|
2266
|
+
}, z.core.$strict>>;
|
|
2267
|
+
}, z.core.$strict>>;
|
|
2268
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
2269
|
+
account: z.ZodString;
|
|
2270
|
+
spend: z.ZodObject<{
|
|
2271
|
+
today: z.ZodObject<{
|
|
2272
|
+
main: z.ZodNumber;
|
|
2273
|
+
helpers: z.ZodNumber;
|
|
2274
|
+
}, z.core.$strict>;
|
|
2275
|
+
week: z.ZodObject<{
|
|
2276
|
+
main: z.ZodNumber;
|
|
2277
|
+
helpers: z.ZodNumber;
|
|
2278
|
+
}, z.core.$strict>;
|
|
2279
|
+
}, z.core.$strict>;
|
|
2280
|
+
last_hour: z.ZodNullable<z.ZodNumber>;
|
|
2281
|
+
last_5h: z.ZodNullable<z.ZodNumber>;
|
|
2282
|
+
five_hour: z.ZodNullable<z.ZodNumber>;
|
|
2283
|
+
weekly: z.ZodNullable<z.ZodNumber>;
|
|
2284
|
+
as_of_ms: z.ZodNullable<z.ZodInt>;
|
|
2285
|
+
weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2286
|
+
five_hour_full_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2287
|
+
weekly_full_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2288
|
+
stale: z.ZodBoolean;
|
|
2289
|
+
}, z.core.$strict>>;
|
|
2290
|
+
models: z.ZodArray<z.ZodObject<{
|
|
2291
|
+
model: z.ZodString;
|
|
2292
|
+
name: z.ZodString;
|
|
2293
|
+
spend: z.ZodObject<{
|
|
2294
|
+
today: z.ZodObject<{
|
|
2295
|
+
main: z.ZodNumber;
|
|
2296
|
+
helpers: z.ZodNumber;
|
|
2297
|
+
}, z.core.$strict>;
|
|
2298
|
+
week: z.ZodObject<{
|
|
2299
|
+
main: z.ZodNumber;
|
|
2300
|
+
helpers: z.ZodNumber;
|
|
2301
|
+
}, z.core.$strict>;
|
|
2302
|
+
}, z.core.$strict>;
|
|
2303
|
+
}, z.core.$strict>>;
|
|
2304
|
+
chats: z.ZodArray<z.ZodObject<{
|
|
2305
|
+
id: z.ZodString;
|
|
2306
|
+
title: z.ZodString;
|
|
2307
|
+
repo: z.ZodNullable<z.ZodString>;
|
|
2308
|
+
window: z.ZodNullable<z.ZodString>;
|
|
2309
|
+
spend: z.ZodObject<{
|
|
2310
|
+
today: z.ZodObject<{
|
|
2311
|
+
main: z.ZodNumber;
|
|
2312
|
+
helpers: z.ZodNumber;
|
|
2313
|
+
}, z.core.$strict>;
|
|
2314
|
+
week: z.ZodObject<{
|
|
2315
|
+
main: z.ZodNumber;
|
|
2316
|
+
helpers: z.ZodNumber;
|
|
2317
|
+
}, z.core.$strict>;
|
|
2318
|
+
}, z.core.$strict>;
|
|
2319
|
+
helpers: z.ZodInt;
|
|
2320
|
+
}, z.core.$strict>>;
|
|
2321
|
+
idle: z.ZodArray<z.ZodObject<{
|
|
2322
|
+
id: z.ZodString;
|
|
2323
|
+
chat: z.ZodString;
|
|
2324
|
+
who: z.ZodString;
|
|
2325
|
+
today: z.ZodObject<{
|
|
2326
|
+
count: z.ZodInt;
|
|
2327
|
+
tokens: z.ZodInt;
|
|
2328
|
+
cost: z.ZodNumber;
|
|
2329
|
+
avoidable: z.ZodNumber;
|
|
2330
|
+
}, z.core.$strict>;
|
|
2331
|
+
week: z.ZodObject<{
|
|
2332
|
+
count: z.ZodInt;
|
|
2333
|
+
tokens: z.ZodInt;
|
|
2334
|
+
cost: z.ZodNumber;
|
|
2335
|
+
avoidable: z.ZodNumber;
|
|
2336
|
+
}, z.core.$strict>;
|
|
2337
|
+
last_ms: z.ZodInt;
|
|
2338
|
+
}, z.core.$strict>>;
|
|
2339
|
+
starts: z.ZodArray<z.ZodObject<{
|
|
2340
|
+
repo: z.ZodString;
|
|
2341
|
+
count: z.ZodInt;
|
|
2342
|
+
median: z.ZodInt;
|
|
2343
|
+
latest: z.ZodArray<z.ZodInt>;
|
|
2344
|
+
alarm: z.ZodNullable<z.ZodString>;
|
|
2345
|
+
}, z.core.$strict>>;
|
|
2346
|
+
}, z.core.$strict>;
|
|
2347
|
+
readonly kind: "unary";
|
|
2348
|
+
readonly since: "1.11";
|
|
2349
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2350
|
+
};
|
|
2351
|
+
readonly "apps.sync.status": {
|
|
2352
|
+
readonly params: z.ZodObject<{
|
|
2353
|
+
app_key: z.ZodString;
|
|
2354
|
+
}, z.core.$strict>;
|
|
2355
|
+
readonly result: z.ZodObject<{
|
|
2356
|
+
healthy: z.ZodBoolean;
|
|
2357
|
+
summary: z.ZodString;
|
|
2358
|
+
problems: z.ZodArray<z.ZodString>;
|
|
2359
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
2360
|
+
unnamed_accounts: z.ZodArray<z.ZodString>;
|
|
2361
|
+
output: z.ZodString;
|
|
2362
|
+
}, z.core.$strict>;
|
|
2363
|
+
readonly kind: "unary";
|
|
2364
|
+
readonly since: "1.11";
|
|
2365
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2366
|
+
};
|
|
2367
|
+
readonly "apps.sync.run": {
|
|
2368
|
+
readonly params: z.ZodObject<{
|
|
2369
|
+
app_key: z.ZodString;
|
|
2370
|
+
}, z.core.$strict>;
|
|
2371
|
+
readonly result: z.ZodObject<{
|
|
2372
|
+
message: z.ZodString;
|
|
2373
|
+
}, z.core.$strict>;
|
|
2374
|
+
readonly kind: "unary";
|
|
2375
|
+
readonly since: "1.11";
|
|
2376
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2377
|
+
};
|
|
2378
|
+
readonly "apps.windows.processes": {
|
|
2379
|
+
readonly params: z.ZodObject<{
|
|
2380
|
+
app_key: z.ZodString;
|
|
2381
|
+
}, z.core.$strict>;
|
|
2382
|
+
readonly result: z.ZodObject<{
|
|
2383
|
+
processes: z.ZodArray<z.ZodString>;
|
|
2384
|
+
}, z.core.$strict>;
|
|
2385
|
+
readonly kind: "unary";
|
|
2386
|
+
readonly since: "1.11";
|
|
2387
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2388
|
+
};
|
|
2389
|
+
readonly "apps.windows.add": {
|
|
2390
|
+
readonly params: z.ZodObject<{
|
|
2391
|
+
app_key: z.ZodString;
|
|
2392
|
+
window: z.ZodString;
|
|
2393
|
+
email: z.ZodString;
|
|
2394
|
+
}, z.core.$strict>;
|
|
2395
|
+
readonly result: z.ZodObject<{
|
|
2396
|
+
message: z.ZodString;
|
|
2397
|
+
}, z.core.$strict>;
|
|
2398
|
+
readonly kind: "unary";
|
|
2399
|
+
readonly since: "1.11";
|
|
2400
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2401
|
+
};
|
|
2402
|
+
readonly "apps.windows.save_names": {
|
|
2403
|
+
readonly params: z.ZodObject<{
|
|
2404
|
+
app_key: z.ZodString;
|
|
2405
|
+
}, z.core.$strict>;
|
|
2406
|
+
readonly result: z.ZodObject<{
|
|
2407
|
+
message: z.ZodString;
|
|
2408
|
+
}, z.core.$strict>;
|
|
2409
|
+
readonly kind: "unary";
|
|
2410
|
+
readonly since: "1.11";
|
|
2411
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2412
|
+
};
|
|
1973
2413
|
readonly "proc.list": {
|
|
1974
2414
|
readonly params: z.ZodObject<{
|
|
1975
2415
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -5945,6 +6385,11 @@ declare const NAMED_SCHEMAS: {
|
|
|
5945
6385
|
new_window_ms: z.ZodInt;
|
|
5946
6386
|
updating: z.ZodOptional<z.ZodBoolean>;
|
|
5947
6387
|
live: z.ZodOptional<z.ZodBoolean>;
|
|
6388
|
+
families: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6389
|
+
id: z.ZodString;
|
|
6390
|
+
fork_of: z.ZodNullable<z.ZodString>;
|
|
6391
|
+
copy_of: z.ZodNullable<z.ZodString>;
|
|
6392
|
+
}, z.core.$strict>>>;
|
|
5948
6393
|
}, z.core.$strict>;
|
|
5949
6394
|
readonly AppsChatsWatchParams: z.ZodObject<{
|
|
5950
6395
|
app_key: z.ZodString;
|
|
@@ -6248,6 +6693,505 @@ declare const NAMED_SCHEMAS: {
|
|
|
6248
6693
|
count: z.ZodInt;
|
|
6249
6694
|
}, z.core.$strict>;
|
|
6250
6695
|
}, z.core.$strict>;
|
|
6696
|
+
readonly ChatFamily: z.ZodObject<{
|
|
6697
|
+
id: z.ZodString;
|
|
6698
|
+
fork_of: z.ZodNullable<z.ZodString>;
|
|
6699
|
+
copy_of: z.ZodNullable<z.ZodString>;
|
|
6700
|
+
}, z.core.$strict>;
|
|
6701
|
+
readonly AppWindowInfo: z.ZodObject<{
|
|
6702
|
+
key: z.ZodString;
|
|
6703
|
+
main: z.ZodBoolean;
|
|
6704
|
+
account: z.ZodNullable<z.ZodString>;
|
|
6705
|
+
signed_in: z.ZodNullable<z.ZodString>;
|
|
6706
|
+
signed_in_is_email: z.ZodBoolean;
|
|
6707
|
+
mismatch: z.ZodBoolean;
|
|
6708
|
+
created: z.ZodBoolean;
|
|
6709
|
+
running: z.ZodBoolean;
|
|
6710
|
+
open_chats: z.ZodInt;
|
|
6711
|
+
}, z.core.$strict>;
|
|
6712
|
+
readonly AccountUsage: z.ZodObject<{
|
|
6713
|
+
account: z.ZodString;
|
|
6714
|
+
org: z.ZodNullable<z.ZodString>;
|
|
6715
|
+
account_certain: z.ZodBoolean;
|
|
6716
|
+
five_hour: z.ZodNullable<z.ZodNumber>;
|
|
6717
|
+
five_hour_reset_since: z.ZodBoolean;
|
|
6718
|
+
weekly: z.ZodNullable<z.ZodNumber>;
|
|
6719
|
+
weekly_reset_since: z.ZodBoolean;
|
|
6720
|
+
extra_usage: z.ZodNullable<z.ZodNumber>;
|
|
6721
|
+
extra_usage_as_of_ms: z.ZodNullable<z.ZodInt>;
|
|
6722
|
+
as_of_ms: z.ZodInt;
|
|
6723
|
+
windows: z.ZodArray<z.ZodString>;
|
|
6724
|
+
live: z.ZodBoolean;
|
|
6725
|
+
weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6726
|
+
weekly_reset_official: z.ZodNullable<z.ZodBoolean>;
|
|
6727
|
+
}, z.core.$strict>;
|
|
6728
|
+
readonly AccountReset: z.ZodObject<{
|
|
6729
|
+
window: z.ZodString;
|
|
6730
|
+
account: z.ZodNullable<z.ZodString>;
|
|
6731
|
+
next_reset_ms: z.ZodNullable<z.ZodInt>;
|
|
6732
|
+
source: z.ZodNullable<z.ZodEnum<{
|
|
6733
|
+
claude: "claude";
|
|
6734
|
+
usage_history: "usage_history";
|
|
6735
|
+
your_list: "your_list";
|
|
6736
|
+
}>>;
|
|
6737
|
+
official: z.ZodBoolean;
|
|
6738
|
+
note: z.ZodNullable<z.ZodString>;
|
|
6739
|
+
}, z.core.$strict>;
|
|
6740
|
+
readonly AppsWindowsListParams: z.ZodObject<{
|
|
6741
|
+
app_key: z.ZodString;
|
|
6742
|
+
}, z.core.$strict>;
|
|
6743
|
+
readonly AppsWindowsListResult: z.ZodObject<{
|
|
6744
|
+
app_key: z.ZodString;
|
|
6745
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
6746
|
+
key: z.ZodString;
|
|
6747
|
+
main: z.ZodBoolean;
|
|
6748
|
+
account: z.ZodNullable<z.ZodString>;
|
|
6749
|
+
signed_in: z.ZodNullable<z.ZodString>;
|
|
6750
|
+
signed_in_is_email: z.ZodBoolean;
|
|
6751
|
+
mismatch: z.ZodBoolean;
|
|
6752
|
+
created: z.ZodBoolean;
|
|
6753
|
+
running: z.ZodBoolean;
|
|
6754
|
+
open_chats: z.ZodInt;
|
|
6755
|
+
}, z.core.$strict>>;
|
|
6756
|
+
}, z.core.$strict>;
|
|
6757
|
+
readonly AppsAccountsUsageParams: z.ZodObject<{
|
|
6758
|
+
app_key: z.ZodString;
|
|
6759
|
+
}, z.core.$strict>;
|
|
6760
|
+
readonly AppsAccountsUsageResult: z.ZodObject<{
|
|
6761
|
+
app_key: z.ZodString;
|
|
6762
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
6763
|
+
account: z.ZodString;
|
|
6764
|
+
org: z.ZodNullable<z.ZodString>;
|
|
6765
|
+
account_certain: z.ZodBoolean;
|
|
6766
|
+
five_hour: z.ZodNullable<z.ZodNumber>;
|
|
6767
|
+
five_hour_reset_since: z.ZodBoolean;
|
|
6768
|
+
weekly: z.ZodNullable<z.ZodNumber>;
|
|
6769
|
+
weekly_reset_since: z.ZodBoolean;
|
|
6770
|
+
extra_usage: z.ZodNullable<z.ZodNumber>;
|
|
6771
|
+
extra_usage_as_of_ms: z.ZodNullable<z.ZodInt>;
|
|
6772
|
+
as_of_ms: z.ZodInt;
|
|
6773
|
+
windows: z.ZodArray<z.ZodString>;
|
|
6774
|
+
live: z.ZodBoolean;
|
|
6775
|
+
weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6776
|
+
weekly_reset_official: z.ZodNullable<z.ZodBoolean>;
|
|
6777
|
+
}, z.core.$strict>>;
|
|
6778
|
+
}, z.core.$strict>;
|
|
6779
|
+
readonly AppsAccountsResetsParams: z.ZodObject<{
|
|
6780
|
+
app_key: z.ZodString;
|
|
6781
|
+
}, z.core.$strict>;
|
|
6782
|
+
readonly AppsAccountsResetsResult: z.ZodObject<{
|
|
6783
|
+
app_key: z.ZodString;
|
|
6784
|
+
resets: z.ZodArray<z.ZodObject<{
|
|
6785
|
+
window: z.ZodString;
|
|
6786
|
+
account: z.ZodNullable<z.ZodString>;
|
|
6787
|
+
next_reset_ms: z.ZodNullable<z.ZodInt>;
|
|
6788
|
+
source: z.ZodNullable<z.ZodEnum<{
|
|
6789
|
+
claude: "claude";
|
|
6790
|
+
usage_history: "usage_history";
|
|
6791
|
+
your_list: "your_list";
|
|
6792
|
+
}>>;
|
|
6793
|
+
official: z.ZodBoolean;
|
|
6794
|
+
note: z.ZodNullable<z.ZodString>;
|
|
6795
|
+
}, z.core.$strict>>;
|
|
6796
|
+
}, z.core.$strict>;
|
|
6797
|
+
readonly AppsWindowActionResult: z.ZodObject<{
|
|
6798
|
+
message: z.ZodString;
|
|
6799
|
+
}, z.core.$strict>;
|
|
6800
|
+
readonly AppsWindowsOpenParams: z.ZodObject<{
|
|
6801
|
+
app_key: z.ZodString;
|
|
6802
|
+
window: z.ZodString;
|
|
6803
|
+
}, z.core.$strict>;
|
|
6804
|
+
readonly AppsWindowsReloadParams: z.ZodObject<{
|
|
6805
|
+
app_key: z.ZodString;
|
|
6806
|
+
window: z.ZodString;
|
|
6807
|
+
}, z.core.$strict>;
|
|
6808
|
+
readonly AppsWindowsRestartParams: z.ZodObject<{
|
|
6809
|
+
app_key: z.ZodString;
|
|
6810
|
+
window: z.ZodString;
|
|
6811
|
+
force: z.ZodDefault<z.ZodBoolean>;
|
|
6812
|
+
}, z.core.$strict>;
|
|
6813
|
+
readonly AppsWindowsRefreshUsageParams: z.ZodObject<{
|
|
6814
|
+
app_key: z.ZodString;
|
|
6815
|
+
window: z.ZodString;
|
|
6816
|
+
}, z.core.$strict>;
|
|
6817
|
+
readonly AppsProjectsMoveParams: z.ZodObject<{
|
|
6818
|
+
app_key: z.ZodString;
|
|
6819
|
+
chat_id: z.ZodString;
|
|
6820
|
+
from_project_id: z.ZodString;
|
|
6821
|
+
to_project_id: z.ZodOptional<z.ZodString>;
|
|
6822
|
+
new_project_name: z.ZodOptional<z.ZodString>;
|
|
6823
|
+
}, z.core.$strict>;
|
|
6824
|
+
readonly AppsProjectsMoveResult: z.ZodObject<{
|
|
6825
|
+
chat: z.ZodObject<{
|
|
6826
|
+
id: z.ZodString;
|
|
6827
|
+
short_id: z.ZodString;
|
|
6828
|
+
record: z.ZodNullable<z.ZodString>;
|
|
6829
|
+
title: z.ZodString;
|
|
6830
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
6831
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
6832
|
+
projects: z.ZodArray<z.ZodString>;
|
|
6833
|
+
starred: z.ZodBoolean;
|
|
6834
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
6835
|
+
window: z.ZodString;
|
|
6836
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6837
|
+
}, z.core.$strict>>;
|
|
6838
|
+
places: z.ZodArray<z.ZodString>;
|
|
6839
|
+
held: z.ZodBoolean;
|
|
6840
|
+
running: z.ZodArray<z.ZodObject<{
|
|
6841
|
+
window: z.ZodString;
|
|
6842
|
+
how: z.ZodEnum<{
|
|
6843
|
+
process: "process";
|
|
6844
|
+
activity: "activity";
|
|
6845
|
+
}>;
|
|
6846
|
+
}, z.core.$strict>>;
|
|
6847
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
6848
|
+
window: z.ZodString;
|
|
6849
|
+
reason: z.ZodString;
|
|
6850
|
+
}, z.core.$strict>>;
|
|
6851
|
+
hidden_from_main: z.ZodBoolean;
|
|
6852
|
+
main_pending: z.ZodBoolean;
|
|
6853
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
6854
|
+
new_unfiled: z.ZodBoolean;
|
|
6855
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
6856
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
6857
|
+
at_ms: z.ZodInt;
|
|
6858
|
+
window: z.ZodNullable<z.ZodString>;
|
|
6859
|
+
account: z.ZodNullable<z.ZodString>;
|
|
6860
|
+
how: z.ZodNullable<z.ZodString>;
|
|
6861
|
+
cache_warm: z.ZodBoolean;
|
|
6862
|
+
cache_minutes_left: z.ZodInt;
|
|
6863
|
+
}, z.core.$strict>>;
|
|
6864
|
+
}, z.core.$strict>;
|
|
6865
|
+
project: z.ZodObject<{
|
|
6866
|
+
id: z.ZodString;
|
|
6867
|
+
name: z.ZodString;
|
|
6868
|
+
archived: z.ZodBoolean;
|
|
6869
|
+
count: z.ZodInt;
|
|
6870
|
+
}, z.core.$strict>;
|
|
6871
|
+
}, z.core.$strict>;
|
|
6872
|
+
readonly AppsProjectsCreateParams: z.ZodObject<{
|
|
6873
|
+
app_key: z.ZodString;
|
|
6874
|
+
name: z.ZodString;
|
|
6875
|
+
}, z.core.$strict>;
|
|
6876
|
+
readonly AppsProjectsCreateResult: z.ZodObject<{
|
|
6877
|
+
project: z.ZodObject<{
|
|
6878
|
+
id: z.ZodString;
|
|
6879
|
+
name: z.ZodString;
|
|
6880
|
+
archived: z.ZodBoolean;
|
|
6881
|
+
count: z.ZodInt;
|
|
6882
|
+
}, z.core.$strict>;
|
|
6883
|
+
}, z.core.$strict>;
|
|
6884
|
+
readonly AppsProjectsImportPinsParams: z.ZodObject<{
|
|
6885
|
+
app_key: z.ZodString;
|
|
6886
|
+
}, z.core.$strict>;
|
|
6887
|
+
readonly AppsProjectsImportPinsResult: z.ZodObject<{
|
|
6888
|
+
message: z.ZodString;
|
|
6889
|
+
}, z.core.$strict>;
|
|
6890
|
+
readonly ColdChat: z.ZodObject<{
|
|
6891
|
+
id: z.ZodString;
|
|
6892
|
+
title: z.ZodString;
|
|
6893
|
+
repo: z.ZodNullable<z.ZodString>;
|
|
6894
|
+
window: z.ZodNullable<z.ZodString>;
|
|
6895
|
+
account: z.ZodNullable<z.ZodString>;
|
|
6896
|
+
model_name: z.ZodNullable<z.ZodString>;
|
|
6897
|
+
context_tokens: z.ZodInt;
|
|
6898
|
+
cold_at_ms: z.ZodInt;
|
|
6899
|
+
cold_cost: z.ZodNullable<z.ZodNumber>;
|
|
6900
|
+
warm_cost: z.ZodNullable<z.ZodNumber>;
|
|
6901
|
+
extra_usage: z.ZodBoolean;
|
|
6902
|
+
scheduled: z.ZodBoolean;
|
|
6903
|
+
openable: z.ZodBoolean;
|
|
6904
|
+
how: z.ZodNullable<z.ZodString>;
|
|
6905
|
+
}, z.core.$strict>;
|
|
6906
|
+
readonly AppsChatsColdParams: z.ZodObject<{
|
|
6907
|
+
app_key: z.ZodString;
|
|
6908
|
+
}, z.core.$strict>;
|
|
6909
|
+
readonly AppsChatsColdResult: z.ZodObject<{
|
|
6910
|
+
app_key: z.ZodString;
|
|
6911
|
+
waiting: z.ZodArray<z.ZodObject<{
|
|
6912
|
+
id: z.ZodString;
|
|
6913
|
+
title: z.ZodString;
|
|
6914
|
+
repo: z.ZodNullable<z.ZodString>;
|
|
6915
|
+
window: z.ZodNullable<z.ZodString>;
|
|
6916
|
+
account: z.ZodNullable<z.ZodString>;
|
|
6917
|
+
model_name: z.ZodNullable<z.ZodString>;
|
|
6918
|
+
context_tokens: z.ZodInt;
|
|
6919
|
+
cold_at_ms: z.ZodInt;
|
|
6920
|
+
cold_cost: z.ZodNullable<z.ZodNumber>;
|
|
6921
|
+
warm_cost: z.ZodNullable<z.ZodNumber>;
|
|
6922
|
+
extra_usage: z.ZodBoolean;
|
|
6923
|
+
scheduled: z.ZodBoolean;
|
|
6924
|
+
openable: z.ZodBoolean;
|
|
6925
|
+
how: z.ZodNullable<z.ZodString>;
|
|
6926
|
+
}, z.core.$strict>>;
|
|
6927
|
+
recently_cold: z.ZodArray<z.ZodObject<{
|
|
6928
|
+
id: z.ZodString;
|
|
6929
|
+
title: z.ZodString;
|
|
6930
|
+
repo: z.ZodNullable<z.ZodString>;
|
|
6931
|
+
window: z.ZodNullable<z.ZodString>;
|
|
6932
|
+
account: z.ZodNullable<z.ZodString>;
|
|
6933
|
+
model_name: z.ZodNullable<z.ZodString>;
|
|
6934
|
+
context_tokens: z.ZodInt;
|
|
6935
|
+
cold_at_ms: z.ZodInt;
|
|
6936
|
+
cold_cost: z.ZodNullable<z.ZodNumber>;
|
|
6937
|
+
warm_cost: z.ZodNullable<z.ZodNumber>;
|
|
6938
|
+
extra_usage: z.ZodBoolean;
|
|
6939
|
+
scheduled: z.ZodBoolean;
|
|
6940
|
+
openable: z.ZodBoolean;
|
|
6941
|
+
how: z.ZodNullable<z.ZodString>;
|
|
6942
|
+
}, z.core.$strict>>;
|
|
6943
|
+
working: z.ZodInt;
|
|
6944
|
+
}, z.core.$strict>;
|
|
6945
|
+
readonly AppsChatsOpenParams: z.ZodObject<{
|
|
6946
|
+
app_key: z.ZodString;
|
|
6947
|
+
chat_id: z.ZodString;
|
|
6948
|
+
window: z.ZodOptional<z.ZodString>;
|
|
6949
|
+
}, z.core.$strict>;
|
|
6950
|
+
readonly SpendSplit: z.ZodObject<{
|
|
6951
|
+
main: z.ZodNumber;
|
|
6952
|
+
helpers: z.ZodNumber;
|
|
6953
|
+
}, z.core.$strict>;
|
|
6954
|
+
readonly SpendScopes: z.ZodObject<{
|
|
6955
|
+
today: z.ZodObject<{
|
|
6956
|
+
main: z.ZodNumber;
|
|
6957
|
+
helpers: z.ZodNumber;
|
|
6958
|
+
}, z.core.$strict>;
|
|
6959
|
+
week: z.ZodObject<{
|
|
6960
|
+
main: z.ZodNumber;
|
|
6961
|
+
helpers: z.ZodNumber;
|
|
6962
|
+
}, z.core.$strict>;
|
|
6963
|
+
}, z.core.$strict>;
|
|
6964
|
+
readonly SpendAccount: z.ZodObject<{
|
|
6965
|
+
account: z.ZodString;
|
|
6966
|
+
spend: z.ZodObject<{
|
|
6967
|
+
today: z.ZodObject<{
|
|
6968
|
+
main: z.ZodNumber;
|
|
6969
|
+
helpers: z.ZodNumber;
|
|
6970
|
+
}, z.core.$strict>;
|
|
6971
|
+
week: z.ZodObject<{
|
|
6972
|
+
main: z.ZodNumber;
|
|
6973
|
+
helpers: z.ZodNumber;
|
|
6974
|
+
}, z.core.$strict>;
|
|
6975
|
+
}, z.core.$strict>;
|
|
6976
|
+
last_hour: z.ZodNullable<z.ZodNumber>;
|
|
6977
|
+
last_5h: z.ZodNullable<z.ZodNumber>;
|
|
6978
|
+
five_hour: z.ZodNullable<z.ZodNumber>;
|
|
6979
|
+
weekly: z.ZodNullable<z.ZodNumber>;
|
|
6980
|
+
as_of_ms: z.ZodNullable<z.ZodInt>;
|
|
6981
|
+
weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6982
|
+
five_hour_full_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6983
|
+
weekly_full_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6984
|
+
stale: z.ZodBoolean;
|
|
6985
|
+
}, z.core.$strict>;
|
|
6986
|
+
readonly SpendModel: z.ZodObject<{
|
|
6987
|
+
model: z.ZodString;
|
|
6988
|
+
name: z.ZodString;
|
|
6989
|
+
spend: z.ZodObject<{
|
|
6990
|
+
today: z.ZodObject<{
|
|
6991
|
+
main: z.ZodNumber;
|
|
6992
|
+
helpers: z.ZodNumber;
|
|
6993
|
+
}, z.core.$strict>;
|
|
6994
|
+
week: z.ZodObject<{
|
|
6995
|
+
main: z.ZodNumber;
|
|
6996
|
+
helpers: z.ZodNumber;
|
|
6997
|
+
}, z.core.$strict>;
|
|
6998
|
+
}, z.core.$strict>;
|
|
6999
|
+
}, z.core.$strict>;
|
|
7000
|
+
readonly SpendChat: z.ZodObject<{
|
|
7001
|
+
id: z.ZodString;
|
|
7002
|
+
title: z.ZodString;
|
|
7003
|
+
repo: z.ZodNullable<z.ZodString>;
|
|
7004
|
+
window: z.ZodNullable<z.ZodString>;
|
|
7005
|
+
spend: z.ZodObject<{
|
|
7006
|
+
today: z.ZodObject<{
|
|
7007
|
+
main: z.ZodNumber;
|
|
7008
|
+
helpers: z.ZodNumber;
|
|
7009
|
+
}, z.core.$strict>;
|
|
7010
|
+
week: z.ZodObject<{
|
|
7011
|
+
main: z.ZodNumber;
|
|
7012
|
+
helpers: z.ZodNumber;
|
|
7013
|
+
}, z.core.$strict>;
|
|
7014
|
+
}, z.core.$strict>;
|
|
7015
|
+
helpers: z.ZodInt;
|
|
7016
|
+
}, z.core.$strict>;
|
|
7017
|
+
readonly SpendHelper: z.ZodObject<{
|
|
7018
|
+
model: z.ZodString;
|
|
7019
|
+
steps: z.ZodInt;
|
|
7020
|
+
over_steps: z.ZodBoolean;
|
|
7021
|
+
description: z.ZodString;
|
|
7022
|
+
}, z.core.$strict>;
|
|
7023
|
+
readonly SpendLive: z.ZodObject<{
|
|
7024
|
+
id: z.ZodString;
|
|
7025
|
+
title: z.ZodString;
|
|
7026
|
+
window: z.ZodNullable<z.ZodString>;
|
|
7027
|
+
helpers: z.ZodArray<z.ZodObject<{
|
|
7028
|
+
model: z.ZodString;
|
|
7029
|
+
steps: z.ZodInt;
|
|
7030
|
+
over_steps: z.ZodBoolean;
|
|
7031
|
+
description: z.ZodString;
|
|
7032
|
+
}, z.core.$strict>>;
|
|
7033
|
+
}, z.core.$strict>;
|
|
7034
|
+
readonly SpendIdleScope: z.ZodObject<{
|
|
7035
|
+
count: z.ZodInt;
|
|
7036
|
+
tokens: z.ZodInt;
|
|
7037
|
+
cost: z.ZodNumber;
|
|
7038
|
+
avoidable: z.ZodNumber;
|
|
7039
|
+
}, z.core.$strict>;
|
|
7040
|
+
readonly SpendIdle: z.ZodObject<{
|
|
7041
|
+
id: z.ZodString;
|
|
7042
|
+
chat: z.ZodString;
|
|
7043
|
+
who: z.ZodString;
|
|
7044
|
+
today: z.ZodObject<{
|
|
7045
|
+
count: z.ZodInt;
|
|
7046
|
+
tokens: z.ZodInt;
|
|
7047
|
+
cost: z.ZodNumber;
|
|
7048
|
+
avoidable: z.ZodNumber;
|
|
7049
|
+
}, z.core.$strict>;
|
|
7050
|
+
week: z.ZodObject<{
|
|
7051
|
+
count: z.ZodInt;
|
|
7052
|
+
tokens: z.ZodInt;
|
|
7053
|
+
cost: z.ZodNumber;
|
|
7054
|
+
avoidable: z.ZodNumber;
|
|
7055
|
+
}, z.core.$strict>;
|
|
7056
|
+
last_ms: z.ZodInt;
|
|
7057
|
+
}, z.core.$strict>;
|
|
7058
|
+
readonly SpendStart: z.ZodObject<{
|
|
7059
|
+
repo: z.ZodString;
|
|
7060
|
+
count: z.ZodInt;
|
|
7061
|
+
median: z.ZodInt;
|
|
7062
|
+
latest: z.ZodArray<z.ZodInt>;
|
|
7063
|
+
alarm: z.ZodNullable<z.ZodString>;
|
|
7064
|
+
}, z.core.$strict>;
|
|
7065
|
+
readonly AppsSpendParams: z.ZodObject<{
|
|
7066
|
+
app_key: z.ZodString;
|
|
7067
|
+
}, z.core.$strict>;
|
|
7068
|
+
readonly AppsSpendResult: z.ZodObject<{
|
|
7069
|
+
app_key: z.ZodString;
|
|
7070
|
+
complete: z.ZodBoolean;
|
|
7071
|
+
today_total: z.ZodNumber;
|
|
7072
|
+
week_total: z.ZodNumber;
|
|
7073
|
+
idle_today: z.ZodNumber;
|
|
7074
|
+
idle_week: z.ZodNumber;
|
|
7075
|
+
unpriced: z.ZodArray<z.ZodString>;
|
|
7076
|
+
alarms: z.ZodArray<z.ZodString>;
|
|
7077
|
+
live: z.ZodArray<z.ZodObject<{
|
|
7078
|
+
id: z.ZodString;
|
|
7079
|
+
title: z.ZodString;
|
|
7080
|
+
window: z.ZodNullable<z.ZodString>;
|
|
7081
|
+
helpers: z.ZodArray<z.ZodObject<{
|
|
7082
|
+
model: z.ZodString;
|
|
7083
|
+
steps: z.ZodInt;
|
|
7084
|
+
over_steps: z.ZodBoolean;
|
|
7085
|
+
description: z.ZodString;
|
|
7086
|
+
}, z.core.$strict>>;
|
|
7087
|
+
}, z.core.$strict>>;
|
|
7088
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
7089
|
+
account: z.ZodString;
|
|
7090
|
+
spend: z.ZodObject<{
|
|
7091
|
+
today: z.ZodObject<{
|
|
7092
|
+
main: z.ZodNumber;
|
|
7093
|
+
helpers: z.ZodNumber;
|
|
7094
|
+
}, z.core.$strict>;
|
|
7095
|
+
week: z.ZodObject<{
|
|
7096
|
+
main: z.ZodNumber;
|
|
7097
|
+
helpers: z.ZodNumber;
|
|
7098
|
+
}, z.core.$strict>;
|
|
7099
|
+
}, z.core.$strict>;
|
|
7100
|
+
last_hour: z.ZodNullable<z.ZodNumber>;
|
|
7101
|
+
last_5h: z.ZodNullable<z.ZodNumber>;
|
|
7102
|
+
five_hour: z.ZodNullable<z.ZodNumber>;
|
|
7103
|
+
weekly: z.ZodNullable<z.ZodNumber>;
|
|
7104
|
+
as_of_ms: z.ZodNullable<z.ZodInt>;
|
|
7105
|
+
weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
7106
|
+
five_hour_full_at_ms: z.ZodNullable<z.ZodInt>;
|
|
7107
|
+
weekly_full_at_ms: z.ZodNullable<z.ZodInt>;
|
|
7108
|
+
stale: z.ZodBoolean;
|
|
7109
|
+
}, z.core.$strict>>;
|
|
7110
|
+
models: z.ZodArray<z.ZodObject<{
|
|
7111
|
+
model: z.ZodString;
|
|
7112
|
+
name: z.ZodString;
|
|
7113
|
+
spend: z.ZodObject<{
|
|
7114
|
+
today: z.ZodObject<{
|
|
7115
|
+
main: z.ZodNumber;
|
|
7116
|
+
helpers: z.ZodNumber;
|
|
7117
|
+
}, z.core.$strict>;
|
|
7118
|
+
week: z.ZodObject<{
|
|
7119
|
+
main: z.ZodNumber;
|
|
7120
|
+
helpers: z.ZodNumber;
|
|
7121
|
+
}, z.core.$strict>;
|
|
7122
|
+
}, z.core.$strict>;
|
|
7123
|
+
}, z.core.$strict>>;
|
|
7124
|
+
chats: z.ZodArray<z.ZodObject<{
|
|
7125
|
+
id: z.ZodString;
|
|
7126
|
+
title: z.ZodString;
|
|
7127
|
+
repo: z.ZodNullable<z.ZodString>;
|
|
7128
|
+
window: z.ZodNullable<z.ZodString>;
|
|
7129
|
+
spend: z.ZodObject<{
|
|
7130
|
+
today: z.ZodObject<{
|
|
7131
|
+
main: z.ZodNumber;
|
|
7132
|
+
helpers: z.ZodNumber;
|
|
7133
|
+
}, z.core.$strict>;
|
|
7134
|
+
week: z.ZodObject<{
|
|
7135
|
+
main: z.ZodNumber;
|
|
7136
|
+
helpers: z.ZodNumber;
|
|
7137
|
+
}, z.core.$strict>;
|
|
7138
|
+
}, z.core.$strict>;
|
|
7139
|
+
helpers: z.ZodInt;
|
|
7140
|
+
}, z.core.$strict>>;
|
|
7141
|
+
idle: z.ZodArray<z.ZodObject<{
|
|
7142
|
+
id: z.ZodString;
|
|
7143
|
+
chat: z.ZodString;
|
|
7144
|
+
who: z.ZodString;
|
|
7145
|
+
today: z.ZodObject<{
|
|
7146
|
+
count: z.ZodInt;
|
|
7147
|
+
tokens: z.ZodInt;
|
|
7148
|
+
cost: z.ZodNumber;
|
|
7149
|
+
avoidable: z.ZodNumber;
|
|
7150
|
+
}, z.core.$strict>;
|
|
7151
|
+
week: z.ZodObject<{
|
|
7152
|
+
count: z.ZodInt;
|
|
7153
|
+
tokens: z.ZodInt;
|
|
7154
|
+
cost: z.ZodNumber;
|
|
7155
|
+
avoidable: z.ZodNumber;
|
|
7156
|
+
}, z.core.$strict>;
|
|
7157
|
+
last_ms: z.ZodInt;
|
|
7158
|
+
}, z.core.$strict>>;
|
|
7159
|
+
starts: z.ZodArray<z.ZodObject<{
|
|
7160
|
+
repo: z.ZodString;
|
|
7161
|
+
count: z.ZodInt;
|
|
7162
|
+
median: z.ZodInt;
|
|
7163
|
+
latest: z.ZodArray<z.ZodInt>;
|
|
7164
|
+
alarm: z.ZodNullable<z.ZodString>;
|
|
7165
|
+
}, z.core.$strict>>;
|
|
7166
|
+
}, z.core.$strict>;
|
|
7167
|
+
readonly AppsSyncStatusParams: z.ZodObject<{
|
|
7168
|
+
app_key: z.ZodString;
|
|
7169
|
+
}, z.core.$strict>;
|
|
7170
|
+
readonly AppsSyncStatusResult: z.ZodObject<{
|
|
7171
|
+
healthy: z.ZodBoolean;
|
|
7172
|
+
summary: z.ZodString;
|
|
7173
|
+
problems: z.ZodArray<z.ZodString>;
|
|
7174
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
7175
|
+
unnamed_accounts: z.ZodArray<z.ZodString>;
|
|
7176
|
+
output: z.ZodString;
|
|
7177
|
+
}, z.core.$strict>;
|
|
7178
|
+
readonly AppsSyncRunParams: z.ZodObject<{
|
|
7179
|
+
app_key: z.ZodString;
|
|
7180
|
+
}, z.core.$strict>;
|
|
7181
|
+
readonly AppsWindowsProcessesParams: z.ZodObject<{
|
|
7182
|
+
app_key: z.ZodString;
|
|
7183
|
+
}, z.core.$strict>;
|
|
7184
|
+
readonly AppsWindowsProcessesResult: z.ZodObject<{
|
|
7185
|
+
processes: z.ZodArray<z.ZodString>;
|
|
7186
|
+
}, z.core.$strict>;
|
|
7187
|
+
readonly AppsWindowsAddParams: z.ZodObject<{
|
|
7188
|
+
app_key: z.ZodString;
|
|
7189
|
+
window: z.ZodString;
|
|
7190
|
+
email: z.ZodString;
|
|
7191
|
+
}, z.core.$strict>;
|
|
7192
|
+
readonly AppsWindowsSaveNamesParams: z.ZodObject<{
|
|
7193
|
+
app_key: z.ZodString;
|
|
7194
|
+
}, z.core.$strict>;
|
|
6251
7195
|
};
|
|
6252
7196
|
type NamedSchemaId = keyof typeof NAMED_SCHEMAS;
|
|
6253
7197
|
|