@ai-matrx/desktop-protocol 0.17.6 → 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 +13 -0
- package/dist/client.cjs +110 -1
- 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 +110 -1
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +158 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +344 -6
- package/dist/index.d.ts +344 -6
- package/dist/index.js +158 -3
- package/dist/index.js.map +1 -1
- package/dist/{models-B9tM6Hnx.d.cts → models-Os6toG3X.d.cts} +532 -1
- package/dist/{models-B9tM6Hnx.d.ts → models-Os6toG3X.d.ts} +532 -1
- package/dist/react.d.cts +226 -0
- package/dist/react.d.ts +226 -0
- package/generated/desktop-protocol.schema.json +901 -1
- package/package.json +1 -1
|
@@ -687,7 +687,7 @@ type OpSpec = {
|
|
|
687
687
|
readonly params: z.ZodType;
|
|
688
688
|
readonly result: z.ZodType;
|
|
689
689
|
readonly kind: "unary" | "stream" | "resource";
|
|
690
|
-
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10";
|
|
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: {
|
|
@@ -2184,6 +2184,232 @@ declare const OPS: {
|
|
|
2184
2184
|
readonly since: "1.10";
|
|
2185
2185
|
readonly errors: readonly ["CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2186
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
|
+
};
|
|
2187
2413
|
readonly "proc.list": {
|
|
2188
2414
|
readonly params: z.ZodObject<{
|
|
2189
2415
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -6661,6 +6887,311 @@ declare const NAMED_SCHEMAS: {
|
|
|
6661
6887
|
readonly AppsProjectsImportPinsResult: z.ZodObject<{
|
|
6662
6888
|
message: z.ZodString;
|
|
6663
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>;
|
|
6664
7195
|
};
|
|
6665
7196
|
type NamedSchemaId = keyof typeof NAMED_SCHEMAS;
|
|
6666
7197
|
|