@ai-matrx/desktop-protocol 0.17.6 → 0.17.8
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 +20 -0
- package/dist/client.cjs +122 -3
- 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 +122 -3
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +176 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +352 -6
- package/dist/index.d.ts +352 -6
- package/dist/index.js +176 -7
- package/dist/index.js.map +1 -1
- package/dist/{models-B9tM6Hnx.d.cts → models-B2PuTc6a.d.cts} +536 -1
- package/dist/{models-B9tM6Hnx.d.ts → models-B2PuTc6a.d.ts} +536 -1
- package/dist/react.d.cts +228 -0
- package/dist/react.d.ts +228 -0
- package/generated/desktop-protocol.schema.json +1005 -91
- 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: {
|
|
@@ -2068,6 +2068,7 @@ declare const OPS: {
|
|
|
2068
2068
|
weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2069
2069
|
weekly_reset_official: z.ZodNullable<z.ZodBoolean>;
|
|
2070
2070
|
}, z.core.$strict>>;
|
|
2071
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
2071
2072
|
}, z.core.$strict>;
|
|
2072
2073
|
readonly kind: "unary";
|
|
2073
2074
|
readonly since: "1.10";
|
|
@@ -2091,6 +2092,7 @@ declare const OPS: {
|
|
|
2091
2092
|
official: z.ZodBoolean;
|
|
2092
2093
|
note: z.ZodNullable<z.ZodString>;
|
|
2093
2094
|
}, z.core.$strict>>;
|
|
2095
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
2094
2096
|
}, z.core.$strict>;
|
|
2095
2097
|
readonly kind: "unary";
|
|
2096
2098
|
readonly since: "1.10";
|
|
@@ -2184,6 +2186,232 @@ declare const OPS: {
|
|
|
2184
2186
|
readonly since: "1.10";
|
|
2185
2187
|
readonly errors: readonly ["CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2186
2188
|
};
|
|
2189
|
+
readonly "apps.chats.cold": {
|
|
2190
|
+
readonly params: z.ZodObject<{
|
|
2191
|
+
app_key: z.ZodString;
|
|
2192
|
+
}, z.core.$strict>;
|
|
2193
|
+
readonly result: z.ZodObject<{
|
|
2194
|
+
app_key: z.ZodString;
|
|
2195
|
+
waiting: z.ZodArray<z.ZodObject<{
|
|
2196
|
+
id: z.ZodString;
|
|
2197
|
+
title: z.ZodString;
|
|
2198
|
+
repo: z.ZodNullable<z.ZodString>;
|
|
2199
|
+
window: z.ZodNullable<z.ZodString>;
|
|
2200
|
+
account: z.ZodNullable<z.ZodString>;
|
|
2201
|
+
model_name: z.ZodNullable<z.ZodString>;
|
|
2202
|
+
context_tokens: z.ZodInt;
|
|
2203
|
+
cold_at_ms: z.ZodInt;
|
|
2204
|
+
cold_cost: z.ZodNullable<z.ZodNumber>;
|
|
2205
|
+
warm_cost: z.ZodNullable<z.ZodNumber>;
|
|
2206
|
+
extra_usage: z.ZodBoolean;
|
|
2207
|
+
scheduled: z.ZodBoolean;
|
|
2208
|
+
openable: z.ZodBoolean;
|
|
2209
|
+
how: z.ZodNullable<z.ZodString>;
|
|
2210
|
+
}, z.core.$strict>>;
|
|
2211
|
+
recently_cold: z.ZodArray<z.ZodObject<{
|
|
2212
|
+
id: z.ZodString;
|
|
2213
|
+
title: z.ZodString;
|
|
2214
|
+
repo: z.ZodNullable<z.ZodString>;
|
|
2215
|
+
window: z.ZodNullable<z.ZodString>;
|
|
2216
|
+
account: z.ZodNullable<z.ZodString>;
|
|
2217
|
+
model_name: z.ZodNullable<z.ZodString>;
|
|
2218
|
+
context_tokens: z.ZodInt;
|
|
2219
|
+
cold_at_ms: z.ZodInt;
|
|
2220
|
+
cold_cost: z.ZodNullable<z.ZodNumber>;
|
|
2221
|
+
warm_cost: z.ZodNullable<z.ZodNumber>;
|
|
2222
|
+
extra_usage: z.ZodBoolean;
|
|
2223
|
+
scheduled: z.ZodBoolean;
|
|
2224
|
+
openable: z.ZodBoolean;
|
|
2225
|
+
how: z.ZodNullable<z.ZodString>;
|
|
2226
|
+
}, z.core.$strict>>;
|
|
2227
|
+
working: z.ZodInt;
|
|
2228
|
+
}, z.core.$strict>;
|
|
2229
|
+
readonly kind: "unary";
|
|
2230
|
+
readonly since: "1.11";
|
|
2231
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2232
|
+
};
|
|
2233
|
+
readonly "apps.chats.open": {
|
|
2234
|
+
readonly params: z.ZodObject<{
|
|
2235
|
+
app_key: z.ZodString;
|
|
2236
|
+
chat_id: z.ZodString;
|
|
2237
|
+
window: z.ZodOptional<z.ZodString>;
|
|
2238
|
+
}, z.core.$strict>;
|
|
2239
|
+
readonly result: z.ZodObject<{
|
|
2240
|
+
message: z.ZodString;
|
|
2241
|
+
}, z.core.$strict>;
|
|
2242
|
+
readonly kind: "unary";
|
|
2243
|
+
readonly since: "1.11";
|
|
2244
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2245
|
+
};
|
|
2246
|
+
readonly "apps.spend": {
|
|
2247
|
+
readonly params: z.ZodObject<{
|
|
2248
|
+
app_key: z.ZodString;
|
|
2249
|
+
}, z.core.$strict>;
|
|
2250
|
+
readonly result: z.ZodObject<{
|
|
2251
|
+
app_key: z.ZodString;
|
|
2252
|
+
complete: z.ZodBoolean;
|
|
2253
|
+
today_total: z.ZodNumber;
|
|
2254
|
+
week_total: z.ZodNumber;
|
|
2255
|
+
idle_today: z.ZodNumber;
|
|
2256
|
+
idle_week: z.ZodNumber;
|
|
2257
|
+
unpriced: z.ZodArray<z.ZodString>;
|
|
2258
|
+
alarms: z.ZodArray<z.ZodString>;
|
|
2259
|
+
live: z.ZodArray<z.ZodObject<{
|
|
2260
|
+
id: z.ZodString;
|
|
2261
|
+
title: z.ZodString;
|
|
2262
|
+
window: z.ZodNullable<z.ZodString>;
|
|
2263
|
+
helpers: z.ZodArray<z.ZodObject<{
|
|
2264
|
+
model: z.ZodString;
|
|
2265
|
+
steps: z.ZodInt;
|
|
2266
|
+
over_steps: z.ZodBoolean;
|
|
2267
|
+
description: z.ZodString;
|
|
2268
|
+
}, z.core.$strict>>;
|
|
2269
|
+
}, z.core.$strict>>;
|
|
2270
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
2271
|
+
account: z.ZodString;
|
|
2272
|
+
spend: z.ZodObject<{
|
|
2273
|
+
today: z.ZodObject<{
|
|
2274
|
+
main: z.ZodNumber;
|
|
2275
|
+
helpers: z.ZodNumber;
|
|
2276
|
+
}, z.core.$strict>;
|
|
2277
|
+
week: z.ZodObject<{
|
|
2278
|
+
main: z.ZodNumber;
|
|
2279
|
+
helpers: z.ZodNumber;
|
|
2280
|
+
}, z.core.$strict>;
|
|
2281
|
+
}, z.core.$strict>;
|
|
2282
|
+
last_hour: z.ZodNullable<z.ZodNumber>;
|
|
2283
|
+
last_5h: z.ZodNullable<z.ZodNumber>;
|
|
2284
|
+
five_hour: z.ZodNullable<z.ZodNumber>;
|
|
2285
|
+
weekly: z.ZodNullable<z.ZodNumber>;
|
|
2286
|
+
as_of_ms: z.ZodNullable<z.ZodInt>;
|
|
2287
|
+
weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2288
|
+
five_hour_full_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2289
|
+
weekly_full_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2290
|
+
stale: z.ZodBoolean;
|
|
2291
|
+
}, z.core.$strict>>;
|
|
2292
|
+
models: z.ZodArray<z.ZodObject<{
|
|
2293
|
+
model: z.ZodString;
|
|
2294
|
+
name: z.ZodString;
|
|
2295
|
+
spend: z.ZodObject<{
|
|
2296
|
+
today: z.ZodObject<{
|
|
2297
|
+
main: z.ZodNumber;
|
|
2298
|
+
helpers: z.ZodNumber;
|
|
2299
|
+
}, z.core.$strict>;
|
|
2300
|
+
week: z.ZodObject<{
|
|
2301
|
+
main: z.ZodNumber;
|
|
2302
|
+
helpers: z.ZodNumber;
|
|
2303
|
+
}, z.core.$strict>;
|
|
2304
|
+
}, z.core.$strict>;
|
|
2305
|
+
}, z.core.$strict>>;
|
|
2306
|
+
chats: z.ZodArray<z.ZodObject<{
|
|
2307
|
+
id: z.ZodString;
|
|
2308
|
+
title: z.ZodString;
|
|
2309
|
+
repo: z.ZodNullable<z.ZodString>;
|
|
2310
|
+
window: z.ZodNullable<z.ZodString>;
|
|
2311
|
+
spend: z.ZodObject<{
|
|
2312
|
+
today: z.ZodObject<{
|
|
2313
|
+
main: z.ZodNumber;
|
|
2314
|
+
helpers: z.ZodNumber;
|
|
2315
|
+
}, z.core.$strict>;
|
|
2316
|
+
week: z.ZodObject<{
|
|
2317
|
+
main: z.ZodNumber;
|
|
2318
|
+
helpers: z.ZodNumber;
|
|
2319
|
+
}, z.core.$strict>;
|
|
2320
|
+
}, z.core.$strict>;
|
|
2321
|
+
helpers: z.ZodInt;
|
|
2322
|
+
}, z.core.$strict>>;
|
|
2323
|
+
idle: z.ZodArray<z.ZodObject<{
|
|
2324
|
+
id: z.ZodString;
|
|
2325
|
+
chat: z.ZodString;
|
|
2326
|
+
who: z.ZodString;
|
|
2327
|
+
today: z.ZodObject<{
|
|
2328
|
+
count: z.ZodInt;
|
|
2329
|
+
tokens: z.ZodInt;
|
|
2330
|
+
cost: z.ZodNumber;
|
|
2331
|
+
avoidable: z.ZodNumber;
|
|
2332
|
+
}, z.core.$strict>;
|
|
2333
|
+
week: z.ZodObject<{
|
|
2334
|
+
count: z.ZodInt;
|
|
2335
|
+
tokens: z.ZodInt;
|
|
2336
|
+
cost: z.ZodNumber;
|
|
2337
|
+
avoidable: z.ZodNumber;
|
|
2338
|
+
}, z.core.$strict>;
|
|
2339
|
+
last_ms: z.ZodInt;
|
|
2340
|
+
}, z.core.$strict>>;
|
|
2341
|
+
starts: z.ZodArray<z.ZodObject<{
|
|
2342
|
+
repo: z.ZodString;
|
|
2343
|
+
count: z.ZodInt;
|
|
2344
|
+
median: z.ZodInt;
|
|
2345
|
+
latest: z.ZodArray<z.ZodInt>;
|
|
2346
|
+
alarm: z.ZodNullable<z.ZodString>;
|
|
2347
|
+
}, z.core.$strict>>;
|
|
2348
|
+
}, z.core.$strict>;
|
|
2349
|
+
readonly kind: "unary";
|
|
2350
|
+
readonly since: "1.11";
|
|
2351
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2352
|
+
};
|
|
2353
|
+
readonly "apps.sync.status": {
|
|
2354
|
+
readonly params: z.ZodObject<{
|
|
2355
|
+
app_key: z.ZodString;
|
|
2356
|
+
}, z.core.$strict>;
|
|
2357
|
+
readonly result: z.ZodObject<{
|
|
2358
|
+
healthy: z.ZodBoolean;
|
|
2359
|
+
summary: z.ZodString;
|
|
2360
|
+
problems: z.ZodArray<z.ZodString>;
|
|
2361
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
2362
|
+
unnamed_accounts: z.ZodArray<z.ZodString>;
|
|
2363
|
+
output: z.ZodString;
|
|
2364
|
+
}, z.core.$strict>;
|
|
2365
|
+
readonly kind: "unary";
|
|
2366
|
+
readonly since: "1.11";
|
|
2367
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2368
|
+
};
|
|
2369
|
+
readonly "apps.sync.run": {
|
|
2370
|
+
readonly params: z.ZodObject<{
|
|
2371
|
+
app_key: z.ZodString;
|
|
2372
|
+
}, z.core.$strict>;
|
|
2373
|
+
readonly result: z.ZodObject<{
|
|
2374
|
+
message: z.ZodString;
|
|
2375
|
+
}, z.core.$strict>;
|
|
2376
|
+
readonly kind: "unary";
|
|
2377
|
+
readonly since: "1.11";
|
|
2378
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2379
|
+
};
|
|
2380
|
+
readonly "apps.windows.processes": {
|
|
2381
|
+
readonly params: z.ZodObject<{
|
|
2382
|
+
app_key: z.ZodString;
|
|
2383
|
+
}, z.core.$strict>;
|
|
2384
|
+
readonly result: z.ZodObject<{
|
|
2385
|
+
processes: z.ZodArray<z.ZodString>;
|
|
2386
|
+
}, z.core.$strict>;
|
|
2387
|
+
readonly kind: "unary";
|
|
2388
|
+
readonly since: "1.11";
|
|
2389
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2390
|
+
};
|
|
2391
|
+
readonly "apps.windows.add": {
|
|
2392
|
+
readonly params: z.ZodObject<{
|
|
2393
|
+
app_key: z.ZodString;
|
|
2394
|
+
window: z.ZodString;
|
|
2395
|
+
email: z.ZodString;
|
|
2396
|
+
}, z.core.$strict>;
|
|
2397
|
+
readonly result: z.ZodObject<{
|
|
2398
|
+
message: z.ZodString;
|
|
2399
|
+
}, z.core.$strict>;
|
|
2400
|
+
readonly kind: "unary";
|
|
2401
|
+
readonly since: "1.11";
|
|
2402
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2403
|
+
};
|
|
2404
|
+
readonly "apps.windows.save_names": {
|
|
2405
|
+
readonly params: z.ZodObject<{
|
|
2406
|
+
app_key: z.ZodString;
|
|
2407
|
+
}, z.core.$strict>;
|
|
2408
|
+
readonly result: z.ZodObject<{
|
|
2409
|
+
message: z.ZodString;
|
|
2410
|
+
}, z.core.$strict>;
|
|
2411
|
+
readonly kind: "unary";
|
|
2412
|
+
readonly since: "1.11";
|
|
2413
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2414
|
+
};
|
|
2187
2415
|
readonly "proc.list": {
|
|
2188
2416
|
readonly params: z.ZodObject<{
|
|
2189
2417
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -6549,6 +6777,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
6549
6777
|
weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6550
6778
|
weekly_reset_official: z.ZodNullable<z.ZodBoolean>;
|
|
6551
6779
|
}, z.core.$strict>>;
|
|
6780
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
6552
6781
|
}, z.core.$strict>;
|
|
6553
6782
|
readonly AppsAccountsResetsParams: z.ZodObject<{
|
|
6554
6783
|
app_key: z.ZodString;
|
|
@@ -6567,6 +6796,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
6567
6796
|
official: z.ZodBoolean;
|
|
6568
6797
|
note: z.ZodNullable<z.ZodString>;
|
|
6569
6798
|
}, z.core.$strict>>;
|
|
6799
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
6570
6800
|
}, z.core.$strict>;
|
|
6571
6801
|
readonly AppsWindowActionResult: z.ZodObject<{
|
|
6572
6802
|
message: z.ZodString;
|
|
@@ -6661,6 +6891,311 @@ declare const NAMED_SCHEMAS: {
|
|
|
6661
6891
|
readonly AppsProjectsImportPinsResult: z.ZodObject<{
|
|
6662
6892
|
message: z.ZodString;
|
|
6663
6893
|
}, z.core.$strict>;
|
|
6894
|
+
readonly ColdChat: z.ZodObject<{
|
|
6895
|
+
id: z.ZodString;
|
|
6896
|
+
title: z.ZodString;
|
|
6897
|
+
repo: z.ZodNullable<z.ZodString>;
|
|
6898
|
+
window: z.ZodNullable<z.ZodString>;
|
|
6899
|
+
account: z.ZodNullable<z.ZodString>;
|
|
6900
|
+
model_name: z.ZodNullable<z.ZodString>;
|
|
6901
|
+
context_tokens: z.ZodInt;
|
|
6902
|
+
cold_at_ms: z.ZodInt;
|
|
6903
|
+
cold_cost: z.ZodNullable<z.ZodNumber>;
|
|
6904
|
+
warm_cost: z.ZodNullable<z.ZodNumber>;
|
|
6905
|
+
extra_usage: z.ZodBoolean;
|
|
6906
|
+
scheduled: z.ZodBoolean;
|
|
6907
|
+
openable: z.ZodBoolean;
|
|
6908
|
+
how: z.ZodNullable<z.ZodString>;
|
|
6909
|
+
}, z.core.$strict>;
|
|
6910
|
+
readonly AppsChatsColdParams: z.ZodObject<{
|
|
6911
|
+
app_key: z.ZodString;
|
|
6912
|
+
}, z.core.$strict>;
|
|
6913
|
+
readonly AppsChatsColdResult: z.ZodObject<{
|
|
6914
|
+
app_key: z.ZodString;
|
|
6915
|
+
waiting: z.ZodArray<z.ZodObject<{
|
|
6916
|
+
id: z.ZodString;
|
|
6917
|
+
title: z.ZodString;
|
|
6918
|
+
repo: z.ZodNullable<z.ZodString>;
|
|
6919
|
+
window: z.ZodNullable<z.ZodString>;
|
|
6920
|
+
account: z.ZodNullable<z.ZodString>;
|
|
6921
|
+
model_name: z.ZodNullable<z.ZodString>;
|
|
6922
|
+
context_tokens: z.ZodInt;
|
|
6923
|
+
cold_at_ms: z.ZodInt;
|
|
6924
|
+
cold_cost: z.ZodNullable<z.ZodNumber>;
|
|
6925
|
+
warm_cost: z.ZodNullable<z.ZodNumber>;
|
|
6926
|
+
extra_usage: z.ZodBoolean;
|
|
6927
|
+
scheduled: z.ZodBoolean;
|
|
6928
|
+
openable: z.ZodBoolean;
|
|
6929
|
+
how: z.ZodNullable<z.ZodString>;
|
|
6930
|
+
}, z.core.$strict>>;
|
|
6931
|
+
recently_cold: z.ZodArray<z.ZodObject<{
|
|
6932
|
+
id: z.ZodString;
|
|
6933
|
+
title: z.ZodString;
|
|
6934
|
+
repo: z.ZodNullable<z.ZodString>;
|
|
6935
|
+
window: z.ZodNullable<z.ZodString>;
|
|
6936
|
+
account: z.ZodNullable<z.ZodString>;
|
|
6937
|
+
model_name: z.ZodNullable<z.ZodString>;
|
|
6938
|
+
context_tokens: z.ZodInt;
|
|
6939
|
+
cold_at_ms: z.ZodInt;
|
|
6940
|
+
cold_cost: z.ZodNullable<z.ZodNumber>;
|
|
6941
|
+
warm_cost: z.ZodNullable<z.ZodNumber>;
|
|
6942
|
+
extra_usage: z.ZodBoolean;
|
|
6943
|
+
scheduled: z.ZodBoolean;
|
|
6944
|
+
openable: z.ZodBoolean;
|
|
6945
|
+
how: z.ZodNullable<z.ZodString>;
|
|
6946
|
+
}, z.core.$strict>>;
|
|
6947
|
+
working: z.ZodInt;
|
|
6948
|
+
}, z.core.$strict>;
|
|
6949
|
+
readonly AppsChatsOpenParams: z.ZodObject<{
|
|
6950
|
+
app_key: z.ZodString;
|
|
6951
|
+
chat_id: z.ZodString;
|
|
6952
|
+
window: z.ZodOptional<z.ZodString>;
|
|
6953
|
+
}, z.core.$strict>;
|
|
6954
|
+
readonly SpendSplit: z.ZodObject<{
|
|
6955
|
+
main: z.ZodNumber;
|
|
6956
|
+
helpers: z.ZodNumber;
|
|
6957
|
+
}, z.core.$strict>;
|
|
6958
|
+
readonly SpendScopes: z.ZodObject<{
|
|
6959
|
+
today: z.ZodObject<{
|
|
6960
|
+
main: z.ZodNumber;
|
|
6961
|
+
helpers: z.ZodNumber;
|
|
6962
|
+
}, z.core.$strict>;
|
|
6963
|
+
week: z.ZodObject<{
|
|
6964
|
+
main: z.ZodNumber;
|
|
6965
|
+
helpers: z.ZodNumber;
|
|
6966
|
+
}, z.core.$strict>;
|
|
6967
|
+
}, z.core.$strict>;
|
|
6968
|
+
readonly SpendAccount: z.ZodObject<{
|
|
6969
|
+
account: z.ZodString;
|
|
6970
|
+
spend: z.ZodObject<{
|
|
6971
|
+
today: z.ZodObject<{
|
|
6972
|
+
main: z.ZodNumber;
|
|
6973
|
+
helpers: z.ZodNumber;
|
|
6974
|
+
}, z.core.$strict>;
|
|
6975
|
+
week: z.ZodObject<{
|
|
6976
|
+
main: z.ZodNumber;
|
|
6977
|
+
helpers: z.ZodNumber;
|
|
6978
|
+
}, z.core.$strict>;
|
|
6979
|
+
}, z.core.$strict>;
|
|
6980
|
+
last_hour: z.ZodNullable<z.ZodNumber>;
|
|
6981
|
+
last_5h: z.ZodNullable<z.ZodNumber>;
|
|
6982
|
+
five_hour: z.ZodNullable<z.ZodNumber>;
|
|
6983
|
+
weekly: z.ZodNullable<z.ZodNumber>;
|
|
6984
|
+
as_of_ms: z.ZodNullable<z.ZodInt>;
|
|
6985
|
+
weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6986
|
+
five_hour_full_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6987
|
+
weekly_full_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6988
|
+
stale: z.ZodBoolean;
|
|
6989
|
+
}, z.core.$strict>;
|
|
6990
|
+
readonly SpendModel: z.ZodObject<{
|
|
6991
|
+
model: z.ZodString;
|
|
6992
|
+
name: z.ZodString;
|
|
6993
|
+
spend: z.ZodObject<{
|
|
6994
|
+
today: z.ZodObject<{
|
|
6995
|
+
main: z.ZodNumber;
|
|
6996
|
+
helpers: z.ZodNumber;
|
|
6997
|
+
}, z.core.$strict>;
|
|
6998
|
+
week: z.ZodObject<{
|
|
6999
|
+
main: z.ZodNumber;
|
|
7000
|
+
helpers: z.ZodNumber;
|
|
7001
|
+
}, z.core.$strict>;
|
|
7002
|
+
}, z.core.$strict>;
|
|
7003
|
+
}, z.core.$strict>;
|
|
7004
|
+
readonly SpendChat: z.ZodObject<{
|
|
7005
|
+
id: z.ZodString;
|
|
7006
|
+
title: z.ZodString;
|
|
7007
|
+
repo: z.ZodNullable<z.ZodString>;
|
|
7008
|
+
window: z.ZodNullable<z.ZodString>;
|
|
7009
|
+
spend: z.ZodObject<{
|
|
7010
|
+
today: z.ZodObject<{
|
|
7011
|
+
main: z.ZodNumber;
|
|
7012
|
+
helpers: z.ZodNumber;
|
|
7013
|
+
}, z.core.$strict>;
|
|
7014
|
+
week: z.ZodObject<{
|
|
7015
|
+
main: z.ZodNumber;
|
|
7016
|
+
helpers: z.ZodNumber;
|
|
7017
|
+
}, z.core.$strict>;
|
|
7018
|
+
}, z.core.$strict>;
|
|
7019
|
+
helpers: z.ZodInt;
|
|
7020
|
+
}, z.core.$strict>;
|
|
7021
|
+
readonly SpendHelper: z.ZodObject<{
|
|
7022
|
+
model: z.ZodString;
|
|
7023
|
+
steps: z.ZodInt;
|
|
7024
|
+
over_steps: z.ZodBoolean;
|
|
7025
|
+
description: z.ZodString;
|
|
7026
|
+
}, z.core.$strict>;
|
|
7027
|
+
readonly SpendLive: z.ZodObject<{
|
|
7028
|
+
id: z.ZodString;
|
|
7029
|
+
title: z.ZodString;
|
|
7030
|
+
window: z.ZodNullable<z.ZodString>;
|
|
7031
|
+
helpers: z.ZodArray<z.ZodObject<{
|
|
7032
|
+
model: z.ZodString;
|
|
7033
|
+
steps: z.ZodInt;
|
|
7034
|
+
over_steps: z.ZodBoolean;
|
|
7035
|
+
description: z.ZodString;
|
|
7036
|
+
}, z.core.$strict>>;
|
|
7037
|
+
}, z.core.$strict>;
|
|
7038
|
+
readonly SpendIdleScope: z.ZodObject<{
|
|
7039
|
+
count: z.ZodInt;
|
|
7040
|
+
tokens: z.ZodInt;
|
|
7041
|
+
cost: z.ZodNumber;
|
|
7042
|
+
avoidable: z.ZodNumber;
|
|
7043
|
+
}, z.core.$strict>;
|
|
7044
|
+
readonly SpendIdle: z.ZodObject<{
|
|
7045
|
+
id: z.ZodString;
|
|
7046
|
+
chat: z.ZodString;
|
|
7047
|
+
who: z.ZodString;
|
|
7048
|
+
today: z.ZodObject<{
|
|
7049
|
+
count: z.ZodInt;
|
|
7050
|
+
tokens: z.ZodInt;
|
|
7051
|
+
cost: z.ZodNumber;
|
|
7052
|
+
avoidable: z.ZodNumber;
|
|
7053
|
+
}, z.core.$strict>;
|
|
7054
|
+
week: z.ZodObject<{
|
|
7055
|
+
count: z.ZodInt;
|
|
7056
|
+
tokens: z.ZodInt;
|
|
7057
|
+
cost: z.ZodNumber;
|
|
7058
|
+
avoidable: z.ZodNumber;
|
|
7059
|
+
}, z.core.$strict>;
|
|
7060
|
+
last_ms: z.ZodInt;
|
|
7061
|
+
}, z.core.$strict>;
|
|
7062
|
+
readonly SpendStart: z.ZodObject<{
|
|
7063
|
+
repo: z.ZodString;
|
|
7064
|
+
count: z.ZodInt;
|
|
7065
|
+
median: z.ZodInt;
|
|
7066
|
+
latest: z.ZodArray<z.ZodInt>;
|
|
7067
|
+
alarm: z.ZodNullable<z.ZodString>;
|
|
7068
|
+
}, z.core.$strict>;
|
|
7069
|
+
readonly AppsSpendParams: z.ZodObject<{
|
|
7070
|
+
app_key: z.ZodString;
|
|
7071
|
+
}, z.core.$strict>;
|
|
7072
|
+
readonly AppsSpendResult: z.ZodObject<{
|
|
7073
|
+
app_key: z.ZodString;
|
|
7074
|
+
complete: z.ZodBoolean;
|
|
7075
|
+
today_total: z.ZodNumber;
|
|
7076
|
+
week_total: z.ZodNumber;
|
|
7077
|
+
idle_today: z.ZodNumber;
|
|
7078
|
+
idle_week: z.ZodNumber;
|
|
7079
|
+
unpriced: z.ZodArray<z.ZodString>;
|
|
7080
|
+
alarms: z.ZodArray<z.ZodString>;
|
|
7081
|
+
live: z.ZodArray<z.ZodObject<{
|
|
7082
|
+
id: z.ZodString;
|
|
7083
|
+
title: z.ZodString;
|
|
7084
|
+
window: z.ZodNullable<z.ZodString>;
|
|
7085
|
+
helpers: z.ZodArray<z.ZodObject<{
|
|
7086
|
+
model: z.ZodString;
|
|
7087
|
+
steps: z.ZodInt;
|
|
7088
|
+
over_steps: z.ZodBoolean;
|
|
7089
|
+
description: z.ZodString;
|
|
7090
|
+
}, z.core.$strict>>;
|
|
7091
|
+
}, z.core.$strict>>;
|
|
7092
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
7093
|
+
account: z.ZodString;
|
|
7094
|
+
spend: z.ZodObject<{
|
|
7095
|
+
today: z.ZodObject<{
|
|
7096
|
+
main: z.ZodNumber;
|
|
7097
|
+
helpers: z.ZodNumber;
|
|
7098
|
+
}, z.core.$strict>;
|
|
7099
|
+
week: z.ZodObject<{
|
|
7100
|
+
main: z.ZodNumber;
|
|
7101
|
+
helpers: z.ZodNumber;
|
|
7102
|
+
}, z.core.$strict>;
|
|
7103
|
+
}, z.core.$strict>;
|
|
7104
|
+
last_hour: z.ZodNullable<z.ZodNumber>;
|
|
7105
|
+
last_5h: z.ZodNullable<z.ZodNumber>;
|
|
7106
|
+
five_hour: z.ZodNullable<z.ZodNumber>;
|
|
7107
|
+
weekly: z.ZodNullable<z.ZodNumber>;
|
|
7108
|
+
as_of_ms: z.ZodNullable<z.ZodInt>;
|
|
7109
|
+
weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
7110
|
+
five_hour_full_at_ms: z.ZodNullable<z.ZodInt>;
|
|
7111
|
+
weekly_full_at_ms: z.ZodNullable<z.ZodInt>;
|
|
7112
|
+
stale: z.ZodBoolean;
|
|
7113
|
+
}, z.core.$strict>>;
|
|
7114
|
+
models: z.ZodArray<z.ZodObject<{
|
|
7115
|
+
model: z.ZodString;
|
|
7116
|
+
name: z.ZodString;
|
|
7117
|
+
spend: z.ZodObject<{
|
|
7118
|
+
today: z.ZodObject<{
|
|
7119
|
+
main: z.ZodNumber;
|
|
7120
|
+
helpers: z.ZodNumber;
|
|
7121
|
+
}, z.core.$strict>;
|
|
7122
|
+
week: z.ZodObject<{
|
|
7123
|
+
main: z.ZodNumber;
|
|
7124
|
+
helpers: z.ZodNumber;
|
|
7125
|
+
}, z.core.$strict>;
|
|
7126
|
+
}, z.core.$strict>;
|
|
7127
|
+
}, z.core.$strict>>;
|
|
7128
|
+
chats: z.ZodArray<z.ZodObject<{
|
|
7129
|
+
id: z.ZodString;
|
|
7130
|
+
title: z.ZodString;
|
|
7131
|
+
repo: z.ZodNullable<z.ZodString>;
|
|
7132
|
+
window: z.ZodNullable<z.ZodString>;
|
|
7133
|
+
spend: z.ZodObject<{
|
|
7134
|
+
today: z.ZodObject<{
|
|
7135
|
+
main: z.ZodNumber;
|
|
7136
|
+
helpers: z.ZodNumber;
|
|
7137
|
+
}, z.core.$strict>;
|
|
7138
|
+
week: z.ZodObject<{
|
|
7139
|
+
main: z.ZodNumber;
|
|
7140
|
+
helpers: z.ZodNumber;
|
|
7141
|
+
}, z.core.$strict>;
|
|
7142
|
+
}, z.core.$strict>;
|
|
7143
|
+
helpers: z.ZodInt;
|
|
7144
|
+
}, z.core.$strict>>;
|
|
7145
|
+
idle: z.ZodArray<z.ZodObject<{
|
|
7146
|
+
id: z.ZodString;
|
|
7147
|
+
chat: z.ZodString;
|
|
7148
|
+
who: z.ZodString;
|
|
7149
|
+
today: z.ZodObject<{
|
|
7150
|
+
count: z.ZodInt;
|
|
7151
|
+
tokens: z.ZodInt;
|
|
7152
|
+
cost: z.ZodNumber;
|
|
7153
|
+
avoidable: z.ZodNumber;
|
|
7154
|
+
}, z.core.$strict>;
|
|
7155
|
+
week: z.ZodObject<{
|
|
7156
|
+
count: z.ZodInt;
|
|
7157
|
+
tokens: z.ZodInt;
|
|
7158
|
+
cost: z.ZodNumber;
|
|
7159
|
+
avoidable: z.ZodNumber;
|
|
7160
|
+
}, z.core.$strict>;
|
|
7161
|
+
last_ms: z.ZodInt;
|
|
7162
|
+
}, z.core.$strict>>;
|
|
7163
|
+
starts: z.ZodArray<z.ZodObject<{
|
|
7164
|
+
repo: z.ZodString;
|
|
7165
|
+
count: z.ZodInt;
|
|
7166
|
+
median: z.ZodInt;
|
|
7167
|
+
latest: z.ZodArray<z.ZodInt>;
|
|
7168
|
+
alarm: z.ZodNullable<z.ZodString>;
|
|
7169
|
+
}, z.core.$strict>>;
|
|
7170
|
+
}, z.core.$strict>;
|
|
7171
|
+
readonly AppsSyncStatusParams: z.ZodObject<{
|
|
7172
|
+
app_key: z.ZodString;
|
|
7173
|
+
}, z.core.$strict>;
|
|
7174
|
+
readonly AppsSyncStatusResult: z.ZodObject<{
|
|
7175
|
+
healthy: z.ZodBoolean;
|
|
7176
|
+
summary: z.ZodString;
|
|
7177
|
+
problems: z.ZodArray<z.ZodString>;
|
|
7178
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
7179
|
+
unnamed_accounts: z.ZodArray<z.ZodString>;
|
|
7180
|
+
output: z.ZodString;
|
|
7181
|
+
}, z.core.$strict>;
|
|
7182
|
+
readonly AppsSyncRunParams: z.ZodObject<{
|
|
7183
|
+
app_key: z.ZodString;
|
|
7184
|
+
}, z.core.$strict>;
|
|
7185
|
+
readonly AppsWindowsProcessesParams: z.ZodObject<{
|
|
7186
|
+
app_key: z.ZodString;
|
|
7187
|
+
}, z.core.$strict>;
|
|
7188
|
+
readonly AppsWindowsProcessesResult: z.ZodObject<{
|
|
7189
|
+
processes: z.ZodArray<z.ZodString>;
|
|
7190
|
+
}, z.core.$strict>;
|
|
7191
|
+
readonly AppsWindowsAddParams: z.ZodObject<{
|
|
7192
|
+
app_key: z.ZodString;
|
|
7193
|
+
window: z.ZodString;
|
|
7194
|
+
email: z.ZodString;
|
|
7195
|
+
}, z.core.$strict>;
|
|
7196
|
+
readonly AppsWindowsSaveNamesParams: z.ZodObject<{
|
|
7197
|
+
app_key: z.ZodString;
|
|
7198
|
+
}, z.core.$strict>;
|
|
6664
7199
|
};
|
|
6665
7200
|
type NamedSchemaId = keyof typeof NAMED_SCHEMAS;
|
|
6666
7201
|
|