@ai-matrx/desktop-protocol 0.17.11 → 0.17.13
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 +15 -0
- package/dist/client.cjs +507 -298
- 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 +507 -298
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +352 -83
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +395 -8
- package/dist/index.d.ts +395 -8
- package/dist/index.js +352 -83
- package/dist/index.js.map +1 -1
- package/dist/{models-dIUgWoHB.d.cts → models-BOPMXUz-.d.cts} +591 -1
- package/dist/{models-dIUgWoHB.d.ts → models-BOPMXUz-.d.ts} +591 -1
- package/dist/react.d.cts +251 -0
- package/dist/react.d.ts +251 -0
- package/generated/desktop-protocol.schema.json +1215 -97
- 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" | "1.11";
|
|
690
|
+
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17";
|
|
691
691
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
692
692
|
};
|
|
693
693
|
declare const OPS: {
|
|
@@ -3170,6 +3170,7 @@ declare const OPS: {
|
|
|
3170
3170
|
}, z.core.$strict>;
|
|
3171
3171
|
disks: z.ZodArray<z.ZodObject<{
|
|
3172
3172
|
mount: z.ZodString;
|
|
3173
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3173
3174
|
fs: z.ZodString;
|
|
3174
3175
|
size_bytes: z.ZodInt;
|
|
3175
3176
|
used_bytes: z.ZodInt;
|
|
@@ -3181,6 +3182,141 @@ declare const OPS: {
|
|
|
3181
3182
|
readonly since: "1.4";
|
|
3182
3183
|
readonly errors: readonly ["INTERNAL"];
|
|
3183
3184
|
};
|
|
3185
|
+
readonly "resources.activity": {
|
|
3186
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3187
|
+
readonly result: z.ZodObject<{
|
|
3188
|
+
ready: z.ZodBoolean;
|
|
3189
|
+
sampled_at_ms: z.ZodNullable<z.ZodInt>;
|
|
3190
|
+
cores: z.ZodInt;
|
|
3191
|
+
load: z.ZodArray<z.ZodNumber>;
|
|
3192
|
+
memory: z.ZodObject<{
|
|
3193
|
+
total_bytes: z.ZodInt;
|
|
3194
|
+
used_bytes: z.ZodInt;
|
|
3195
|
+
compressed_bytes: z.ZodInt;
|
|
3196
|
+
compressor_bytes: z.ZodInt;
|
|
3197
|
+
swap_used_bytes: z.ZodInt;
|
|
3198
|
+
pressure: z.ZodNullable<z.ZodEnum<{
|
|
3199
|
+
normal: "normal";
|
|
3200
|
+
warning: "warning";
|
|
3201
|
+
critical: "critical";
|
|
3202
|
+
}>>;
|
|
3203
|
+
}, z.core.$strict>;
|
|
3204
|
+
verdict: z.ZodObject<{
|
|
3205
|
+
level: z.ZodEnum<{
|
|
3206
|
+
good: "good";
|
|
3207
|
+
strain: "strain";
|
|
3208
|
+
overloaded: "overloaded";
|
|
3209
|
+
}>;
|
|
3210
|
+
text: z.ZodString;
|
|
3211
|
+
cause: z.ZodNullable<z.ZodString>;
|
|
3212
|
+
}, z.core.$strict>;
|
|
3213
|
+
typechecks: z.ZodObject<{
|
|
3214
|
+
running: z.ZodInt;
|
|
3215
|
+
waiting: z.ZodInt;
|
|
3216
|
+
comfort: z.ZodInt;
|
|
3217
|
+
}, z.core.$strict>;
|
|
3218
|
+
jobs: z.ZodArray<z.ZodObject<{
|
|
3219
|
+
pid: z.ZodInt;
|
|
3220
|
+
kind: z.ZodEnum<{
|
|
3221
|
+
"type-check": "type-check";
|
|
3222
|
+
tests: "tests";
|
|
3223
|
+
build: "build";
|
|
3224
|
+
lint: "lint";
|
|
3225
|
+
"dev server": "dev server";
|
|
3226
|
+
"language server": "language server";
|
|
3227
|
+
search: "search";
|
|
3228
|
+
}>;
|
|
3229
|
+
command: z.ZodString;
|
|
3230
|
+
started_by: z.ZodNullable<z.ZodString>;
|
|
3231
|
+
orphan: z.ZodBoolean;
|
|
3232
|
+
waiting: z.ZodBoolean;
|
|
3233
|
+
folder: z.ZodNullable<z.ZodString>;
|
|
3234
|
+
duplicates: z.ZodInt;
|
|
3235
|
+
processes: z.ZodInt;
|
|
3236
|
+
cpu_percent: z.ZodNumber;
|
|
3237
|
+
memory_bytes: z.ZodInt;
|
|
3238
|
+
started_at_ms: z.ZodNullable<z.ZodInt>;
|
|
3239
|
+
stoppable: z.ZodBoolean;
|
|
3240
|
+
}, z.core.$strict>>;
|
|
3241
|
+
top: z.ZodArray<z.ZodObject<{
|
|
3242
|
+
pid: z.ZodInt;
|
|
3243
|
+
name: z.ZodString;
|
|
3244
|
+
cpu_percent: z.ZodNumber;
|
|
3245
|
+
memory_bytes: z.ZodInt;
|
|
3246
|
+
started_by: z.ZodNullable<z.ZodString>;
|
|
3247
|
+
job: z.ZodNullable<z.ZodString>;
|
|
3248
|
+
started_at_ms: z.ZodNullable<z.ZodInt>;
|
|
3249
|
+
}, z.core.$strict>>;
|
|
3250
|
+
history: z.ZodArray<z.ZodObject<{
|
|
3251
|
+
at_ms: z.ZodInt;
|
|
3252
|
+
load: z.ZodNumber;
|
|
3253
|
+
memory_used_bytes: z.ZodInt;
|
|
3254
|
+
typechecks: z.ZodInt;
|
|
3255
|
+
}, z.core.$strict>>;
|
|
3256
|
+
}, z.core.$strict>;
|
|
3257
|
+
readonly kind: "unary";
|
|
3258
|
+
readonly since: "1.17";
|
|
3259
|
+
readonly errors: readonly ["PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3260
|
+
};
|
|
3261
|
+
readonly "resources.stop_job": {
|
|
3262
|
+
readonly params: z.ZodObject<{
|
|
3263
|
+
pid: z.ZodInt;
|
|
3264
|
+
}, z.core.$strict>;
|
|
3265
|
+
readonly result: z.ZodObject<{
|
|
3266
|
+
processes: z.ZodInt;
|
|
3267
|
+
already_finished: z.ZodBoolean;
|
|
3268
|
+
}, z.core.$strict>;
|
|
3269
|
+
readonly kind: "unary";
|
|
3270
|
+
readonly since: "1.17";
|
|
3271
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "AUTH_FORBIDDEN", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3272
|
+
};
|
|
3273
|
+
readonly "resources.incidents": {
|
|
3274
|
+
readonly params: z.ZodObject<{
|
|
3275
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
3276
|
+
}, z.core.$strict>;
|
|
3277
|
+
readonly result: z.ZodObject<{
|
|
3278
|
+
incidents: z.ZodArray<z.ZodObject<{
|
|
3279
|
+
at_ms: z.ZodInt;
|
|
3280
|
+
verdict: z.ZodObject<{
|
|
3281
|
+
level: z.ZodEnum<{
|
|
3282
|
+
good: "good";
|
|
3283
|
+
strain: "strain";
|
|
3284
|
+
overloaded: "overloaded";
|
|
3285
|
+
}>;
|
|
3286
|
+
text: z.ZodString;
|
|
3287
|
+
cause: z.ZodNullable<z.ZodString>;
|
|
3288
|
+
}, z.core.$strict>;
|
|
3289
|
+
load: z.ZodNumber;
|
|
3290
|
+
memory_used_bytes: z.ZodInt;
|
|
3291
|
+
compressed_bytes: z.ZodInt;
|
|
3292
|
+
pressure: z.ZodNullable<z.ZodEnum<{
|
|
3293
|
+
normal: "normal";
|
|
3294
|
+
warning: "warning";
|
|
3295
|
+
critical: "critical";
|
|
3296
|
+
}>>;
|
|
3297
|
+
jobs: z.ZodArray<z.ZodObject<{
|
|
3298
|
+
kind: z.ZodEnum<{
|
|
3299
|
+
"type-check": "type-check";
|
|
3300
|
+
tests: "tests";
|
|
3301
|
+
build: "build";
|
|
3302
|
+
lint: "lint";
|
|
3303
|
+
"dev server": "dev server";
|
|
3304
|
+
"language server": "language server";
|
|
3305
|
+
search: "search";
|
|
3306
|
+
}>;
|
|
3307
|
+
started_by: z.ZodNullable<z.ZodString>;
|
|
3308
|
+
folder: z.ZodNullable<z.ZodString>;
|
|
3309
|
+
command: z.ZodString;
|
|
3310
|
+
cpu_percent: z.ZodNumber;
|
|
3311
|
+
memory_bytes: z.ZodInt;
|
|
3312
|
+
duplicates: z.ZodInt;
|
|
3313
|
+
}, z.core.$strict>>;
|
|
3314
|
+
}, z.core.$strict>>;
|
|
3315
|
+
}, z.core.$strict>;
|
|
3316
|
+
readonly kind: "unary";
|
|
3317
|
+
readonly since: "1.17";
|
|
3318
|
+
readonly errors: readonly ["INTERNAL"];
|
|
3319
|
+
};
|
|
3184
3320
|
readonly "audio.devices": {
|
|
3185
3321
|
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3186
3322
|
readonly result: z.ZodObject<{
|
|
@@ -3227,6 +3363,121 @@ declare const OPS: {
|
|
|
3227
3363
|
readonly since: "1.6";
|
|
3228
3364
|
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3229
3365
|
};
|
|
3366
|
+
readonly "stack.state": {
|
|
3367
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3368
|
+
readonly result: z.ZodObject<{
|
|
3369
|
+
config_path: z.ZodNullable<z.ZodString>;
|
|
3370
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
3371
|
+
stack_up: z.ZodBoolean;
|
|
3372
|
+
stack_started_at_ms: z.ZodNullable<z.ZodInt>;
|
|
3373
|
+
servers: z.ZodArray<z.ZodObject<{
|
|
3374
|
+
name: z.ZodString;
|
|
3375
|
+
label: z.ZodString;
|
|
3376
|
+
tone: z.ZodEnum<{
|
|
3377
|
+
good: "good";
|
|
3378
|
+
wait: "wait";
|
|
3379
|
+
bad: "bad";
|
|
3380
|
+
off: "off";
|
|
3381
|
+
}>;
|
|
3382
|
+
sentence: z.ZodString;
|
|
3383
|
+
description: z.ZodString;
|
|
3384
|
+
open_url: z.ZodNullable<z.ZodString>;
|
|
3385
|
+
log_file: z.ZodString;
|
|
3386
|
+
last_output_at_ms: z.ZodNullable<z.ZodInt>;
|
|
3387
|
+
started_at_ms: z.ZodNullable<z.ZodInt>;
|
|
3388
|
+
restarts: z.ZodInt;
|
|
3389
|
+
exit_code: z.ZodNullable<z.ZodInt>;
|
|
3390
|
+
pid: z.ZodNullable<z.ZodInt>;
|
|
3391
|
+
}, z.core.$strict>>;
|
|
3392
|
+
setup_note: z.ZodNullable<z.ZodString>;
|
|
3393
|
+
pending: z.ZodNullable<z.ZodObject<{
|
|
3394
|
+
verb: z.ZodEnum<{
|
|
3395
|
+
start: "start";
|
|
3396
|
+
stop: "stop";
|
|
3397
|
+
}>;
|
|
3398
|
+
label: z.ZodString;
|
|
3399
|
+
since_ms: z.ZodInt;
|
|
3400
|
+
}, z.core.$strict>>;
|
|
3401
|
+
events: z.ZodArray<z.ZodObject<{
|
|
3402
|
+
at_ms: z.ZodInt;
|
|
3403
|
+
server: z.ZodString;
|
|
3404
|
+
kind: z.ZodString;
|
|
3405
|
+
text: z.ZodString;
|
|
3406
|
+
}, z.core.$strict>>;
|
|
3407
|
+
}, z.core.$strict>;
|
|
3408
|
+
readonly kind: "unary";
|
|
3409
|
+
readonly since: "1.16";
|
|
3410
|
+
readonly errors: readonly ["INTERNAL"];
|
|
3411
|
+
};
|
|
3412
|
+
readonly "stack.start": {
|
|
3413
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3414
|
+
readonly result: z.ZodObject<{
|
|
3415
|
+
accepted: z.ZodBoolean;
|
|
3416
|
+
}, z.core.$strict>;
|
|
3417
|
+
readonly kind: "unary";
|
|
3418
|
+
readonly since: "1.16";
|
|
3419
|
+
readonly errors: readonly ["RESOURCE_BUSY", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3420
|
+
};
|
|
3421
|
+
readonly "stack.stop": {
|
|
3422
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3423
|
+
readonly result: z.ZodObject<{
|
|
3424
|
+
accepted: z.ZodBoolean;
|
|
3425
|
+
}, z.core.$strict>;
|
|
3426
|
+
readonly kind: "unary";
|
|
3427
|
+
readonly since: "1.16";
|
|
3428
|
+
readonly errors: readonly ["RESOURCE_BUSY", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3429
|
+
};
|
|
3430
|
+
readonly "stack.server.action": {
|
|
3431
|
+
readonly params: z.ZodObject<{
|
|
3432
|
+
name: z.ZodString;
|
|
3433
|
+
verb: z.ZodEnum<{
|
|
3434
|
+
start: "start";
|
|
3435
|
+
stop: "stop";
|
|
3436
|
+
restart: "restart";
|
|
3437
|
+
}>;
|
|
3438
|
+
}, z.core.$strict>;
|
|
3439
|
+
readonly result: z.ZodObject<{
|
|
3440
|
+
message: z.ZodString;
|
|
3441
|
+
}, z.core.$strict>;
|
|
3442
|
+
readonly kind: "unary";
|
|
3443
|
+
readonly since: "1.16";
|
|
3444
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "INTERNAL"];
|
|
3445
|
+
};
|
|
3446
|
+
readonly "stack.logs": {
|
|
3447
|
+
readonly params: z.ZodObject<{
|
|
3448
|
+
name: z.ZodString;
|
|
3449
|
+
lines: z.ZodDefault<z.ZodInt>;
|
|
3450
|
+
offset: z.ZodOptional<z.ZodInt>;
|
|
3451
|
+
since: z.ZodOptional<z.ZodInt>;
|
|
3452
|
+
wait_ms: z.ZodDefault<z.ZodInt>;
|
|
3453
|
+
}, z.core.$strict>;
|
|
3454
|
+
readonly result: z.ZodObject<{
|
|
3455
|
+
lines: z.ZodArray<z.ZodString>;
|
|
3456
|
+
offset: z.ZodInt;
|
|
3457
|
+
since_valid: z.ZodBoolean;
|
|
3458
|
+
reset: z.ZodBoolean;
|
|
3459
|
+
log_file: z.ZodString;
|
|
3460
|
+
}, z.core.$strict>;
|
|
3461
|
+
readonly kind: "unary";
|
|
3462
|
+
readonly since: "1.16";
|
|
3463
|
+
readonly errors: readonly ["NOT_FOUND", "INTERNAL"];
|
|
3464
|
+
};
|
|
3465
|
+
readonly "stack.errors": {
|
|
3466
|
+
readonly params: z.ZodObject<{
|
|
3467
|
+
window_minutes: z.ZodDefault<z.ZodInt>;
|
|
3468
|
+
}, z.core.$strict>;
|
|
3469
|
+
readonly result: z.ZodObject<{
|
|
3470
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
3471
|
+
name: z.ZodString;
|
|
3472
|
+
heading: z.ZodString;
|
|
3473
|
+
lines: z.ZodArray<z.ZodString>;
|
|
3474
|
+
}, z.core.$strict>>;
|
|
3475
|
+
window_minutes: z.ZodInt;
|
|
3476
|
+
}, z.core.$strict>;
|
|
3477
|
+
readonly kind: "unary";
|
|
3478
|
+
readonly since: "1.16";
|
|
3479
|
+
readonly errors: readonly ["INTERNAL"];
|
|
3480
|
+
};
|
|
3230
3481
|
readonly "coding.history.import_missing": {
|
|
3231
3482
|
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3232
3483
|
readonly result: z.ZodObject<{
|
|
@@ -5963,6 +6214,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
5963
6214
|
}, z.core.$strict>;
|
|
5964
6215
|
readonly ResourcesDisk: z.ZodObject<{
|
|
5965
6216
|
mount: z.ZodString;
|
|
6217
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5966
6218
|
fs: z.ZodString;
|
|
5967
6219
|
size_bytes: z.ZodInt;
|
|
5968
6220
|
used_bytes: z.ZodInt;
|
|
@@ -5986,6 +6238,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
5986
6238
|
}, z.core.$strict>;
|
|
5987
6239
|
disks: z.ZodArray<z.ZodObject<{
|
|
5988
6240
|
mount: z.ZodString;
|
|
6241
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5989
6242
|
fs: z.ZodString;
|
|
5990
6243
|
size_bytes: z.ZodInt;
|
|
5991
6244
|
used_bytes: z.ZodInt;
|
|
@@ -5993,6 +6246,229 @@ declare const NAMED_SCHEMAS: {
|
|
|
5993
6246
|
}, z.core.$strict>>;
|
|
5994
6247
|
uptime_seconds: z.ZodInt;
|
|
5995
6248
|
}, z.core.$strict>;
|
|
6249
|
+
readonly ResourcesJobKind: z.ZodEnum<{
|
|
6250
|
+
"type-check": "type-check";
|
|
6251
|
+
tests: "tests";
|
|
6252
|
+
build: "build";
|
|
6253
|
+
lint: "lint";
|
|
6254
|
+
"dev server": "dev server";
|
|
6255
|
+
"language server": "language server";
|
|
6256
|
+
search: "search";
|
|
6257
|
+
}>;
|
|
6258
|
+
readonly ResourcesStrain: z.ZodEnum<{
|
|
6259
|
+
good: "good";
|
|
6260
|
+
strain: "strain";
|
|
6261
|
+
overloaded: "overloaded";
|
|
6262
|
+
}>;
|
|
6263
|
+
readonly ResourcesPressure: z.ZodEnum<{
|
|
6264
|
+
normal: "normal";
|
|
6265
|
+
warning: "warning";
|
|
6266
|
+
critical: "critical";
|
|
6267
|
+
}>;
|
|
6268
|
+
readonly ResourcesVerdict: z.ZodObject<{
|
|
6269
|
+
level: z.ZodEnum<{
|
|
6270
|
+
good: "good";
|
|
6271
|
+
strain: "strain";
|
|
6272
|
+
overloaded: "overloaded";
|
|
6273
|
+
}>;
|
|
6274
|
+
text: z.ZodString;
|
|
6275
|
+
cause: z.ZodNullable<z.ZodString>;
|
|
6276
|
+
}, z.core.$strict>;
|
|
6277
|
+
readonly ResourcesSample: z.ZodObject<{
|
|
6278
|
+
at_ms: z.ZodInt;
|
|
6279
|
+
load: z.ZodNumber;
|
|
6280
|
+
memory_used_bytes: z.ZodInt;
|
|
6281
|
+
typechecks: z.ZodInt;
|
|
6282
|
+
}, z.core.$strict>;
|
|
6283
|
+
readonly ResourcesJob: z.ZodObject<{
|
|
6284
|
+
pid: z.ZodInt;
|
|
6285
|
+
kind: z.ZodEnum<{
|
|
6286
|
+
"type-check": "type-check";
|
|
6287
|
+
tests: "tests";
|
|
6288
|
+
build: "build";
|
|
6289
|
+
lint: "lint";
|
|
6290
|
+
"dev server": "dev server";
|
|
6291
|
+
"language server": "language server";
|
|
6292
|
+
search: "search";
|
|
6293
|
+
}>;
|
|
6294
|
+
command: z.ZodString;
|
|
6295
|
+
started_by: z.ZodNullable<z.ZodString>;
|
|
6296
|
+
orphan: z.ZodBoolean;
|
|
6297
|
+
waiting: z.ZodBoolean;
|
|
6298
|
+
folder: z.ZodNullable<z.ZodString>;
|
|
6299
|
+
duplicates: z.ZodInt;
|
|
6300
|
+
processes: z.ZodInt;
|
|
6301
|
+
cpu_percent: z.ZodNumber;
|
|
6302
|
+
memory_bytes: z.ZodInt;
|
|
6303
|
+
started_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6304
|
+
stoppable: z.ZodBoolean;
|
|
6305
|
+
}, z.core.$strict>;
|
|
6306
|
+
readonly ResourcesProcess: z.ZodObject<{
|
|
6307
|
+
pid: z.ZodInt;
|
|
6308
|
+
name: z.ZodString;
|
|
6309
|
+
cpu_percent: z.ZodNumber;
|
|
6310
|
+
memory_bytes: z.ZodInt;
|
|
6311
|
+
started_by: z.ZodNullable<z.ZodString>;
|
|
6312
|
+
job: z.ZodNullable<z.ZodString>;
|
|
6313
|
+
started_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6314
|
+
}, z.core.$strict>;
|
|
6315
|
+
readonly ResourcesActivityParams: z.ZodObject<{}, z.core.$strict>;
|
|
6316
|
+
readonly ResourcesActivityResult: z.ZodObject<{
|
|
6317
|
+
ready: z.ZodBoolean;
|
|
6318
|
+
sampled_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6319
|
+
cores: z.ZodInt;
|
|
6320
|
+
load: z.ZodArray<z.ZodNumber>;
|
|
6321
|
+
memory: z.ZodObject<{
|
|
6322
|
+
total_bytes: z.ZodInt;
|
|
6323
|
+
used_bytes: z.ZodInt;
|
|
6324
|
+
compressed_bytes: z.ZodInt;
|
|
6325
|
+
compressor_bytes: z.ZodInt;
|
|
6326
|
+
swap_used_bytes: z.ZodInt;
|
|
6327
|
+
pressure: z.ZodNullable<z.ZodEnum<{
|
|
6328
|
+
normal: "normal";
|
|
6329
|
+
warning: "warning";
|
|
6330
|
+
critical: "critical";
|
|
6331
|
+
}>>;
|
|
6332
|
+
}, z.core.$strict>;
|
|
6333
|
+
verdict: z.ZodObject<{
|
|
6334
|
+
level: z.ZodEnum<{
|
|
6335
|
+
good: "good";
|
|
6336
|
+
strain: "strain";
|
|
6337
|
+
overloaded: "overloaded";
|
|
6338
|
+
}>;
|
|
6339
|
+
text: z.ZodString;
|
|
6340
|
+
cause: z.ZodNullable<z.ZodString>;
|
|
6341
|
+
}, z.core.$strict>;
|
|
6342
|
+
typechecks: z.ZodObject<{
|
|
6343
|
+
running: z.ZodInt;
|
|
6344
|
+
waiting: z.ZodInt;
|
|
6345
|
+
comfort: z.ZodInt;
|
|
6346
|
+
}, z.core.$strict>;
|
|
6347
|
+
jobs: z.ZodArray<z.ZodObject<{
|
|
6348
|
+
pid: z.ZodInt;
|
|
6349
|
+
kind: z.ZodEnum<{
|
|
6350
|
+
"type-check": "type-check";
|
|
6351
|
+
tests: "tests";
|
|
6352
|
+
build: "build";
|
|
6353
|
+
lint: "lint";
|
|
6354
|
+
"dev server": "dev server";
|
|
6355
|
+
"language server": "language server";
|
|
6356
|
+
search: "search";
|
|
6357
|
+
}>;
|
|
6358
|
+
command: z.ZodString;
|
|
6359
|
+
started_by: z.ZodNullable<z.ZodString>;
|
|
6360
|
+
orphan: z.ZodBoolean;
|
|
6361
|
+
waiting: z.ZodBoolean;
|
|
6362
|
+
folder: z.ZodNullable<z.ZodString>;
|
|
6363
|
+
duplicates: z.ZodInt;
|
|
6364
|
+
processes: z.ZodInt;
|
|
6365
|
+
cpu_percent: z.ZodNumber;
|
|
6366
|
+
memory_bytes: z.ZodInt;
|
|
6367
|
+
started_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6368
|
+
stoppable: z.ZodBoolean;
|
|
6369
|
+
}, z.core.$strict>>;
|
|
6370
|
+
top: z.ZodArray<z.ZodObject<{
|
|
6371
|
+
pid: z.ZodInt;
|
|
6372
|
+
name: z.ZodString;
|
|
6373
|
+
cpu_percent: z.ZodNumber;
|
|
6374
|
+
memory_bytes: z.ZodInt;
|
|
6375
|
+
started_by: z.ZodNullable<z.ZodString>;
|
|
6376
|
+
job: z.ZodNullable<z.ZodString>;
|
|
6377
|
+
started_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6378
|
+
}, z.core.$strict>>;
|
|
6379
|
+
history: z.ZodArray<z.ZodObject<{
|
|
6380
|
+
at_ms: z.ZodInt;
|
|
6381
|
+
load: z.ZodNumber;
|
|
6382
|
+
memory_used_bytes: z.ZodInt;
|
|
6383
|
+
typechecks: z.ZodInt;
|
|
6384
|
+
}, z.core.$strict>>;
|
|
6385
|
+
}, z.core.$strict>;
|
|
6386
|
+
readonly ResourcesStopJobParams: z.ZodObject<{
|
|
6387
|
+
pid: z.ZodInt;
|
|
6388
|
+
}, z.core.$strict>;
|
|
6389
|
+
readonly ResourcesStopJobResult: z.ZodObject<{
|
|
6390
|
+
processes: z.ZodInt;
|
|
6391
|
+
already_finished: z.ZodBoolean;
|
|
6392
|
+
}, z.core.$strict>;
|
|
6393
|
+
readonly ResourcesIncident: z.ZodObject<{
|
|
6394
|
+
at_ms: z.ZodInt;
|
|
6395
|
+
verdict: z.ZodObject<{
|
|
6396
|
+
level: z.ZodEnum<{
|
|
6397
|
+
good: "good";
|
|
6398
|
+
strain: "strain";
|
|
6399
|
+
overloaded: "overloaded";
|
|
6400
|
+
}>;
|
|
6401
|
+
text: z.ZodString;
|
|
6402
|
+
cause: z.ZodNullable<z.ZodString>;
|
|
6403
|
+
}, z.core.$strict>;
|
|
6404
|
+
load: z.ZodNumber;
|
|
6405
|
+
memory_used_bytes: z.ZodInt;
|
|
6406
|
+
compressed_bytes: z.ZodInt;
|
|
6407
|
+
pressure: z.ZodNullable<z.ZodEnum<{
|
|
6408
|
+
normal: "normal";
|
|
6409
|
+
warning: "warning";
|
|
6410
|
+
critical: "critical";
|
|
6411
|
+
}>>;
|
|
6412
|
+
jobs: z.ZodArray<z.ZodObject<{
|
|
6413
|
+
kind: z.ZodEnum<{
|
|
6414
|
+
"type-check": "type-check";
|
|
6415
|
+
tests: "tests";
|
|
6416
|
+
build: "build";
|
|
6417
|
+
lint: "lint";
|
|
6418
|
+
"dev server": "dev server";
|
|
6419
|
+
"language server": "language server";
|
|
6420
|
+
search: "search";
|
|
6421
|
+
}>;
|
|
6422
|
+
started_by: z.ZodNullable<z.ZodString>;
|
|
6423
|
+
folder: z.ZodNullable<z.ZodString>;
|
|
6424
|
+
command: z.ZodString;
|
|
6425
|
+
cpu_percent: z.ZodNumber;
|
|
6426
|
+
memory_bytes: z.ZodInt;
|
|
6427
|
+
duplicates: z.ZodInt;
|
|
6428
|
+
}, z.core.$strict>>;
|
|
6429
|
+
}, z.core.$strict>;
|
|
6430
|
+
readonly ResourcesIncidentsParams: z.ZodObject<{
|
|
6431
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
6432
|
+
}, z.core.$strict>;
|
|
6433
|
+
readonly ResourcesIncidentsResult: z.ZodObject<{
|
|
6434
|
+
incidents: z.ZodArray<z.ZodObject<{
|
|
6435
|
+
at_ms: z.ZodInt;
|
|
6436
|
+
verdict: z.ZodObject<{
|
|
6437
|
+
level: z.ZodEnum<{
|
|
6438
|
+
good: "good";
|
|
6439
|
+
strain: "strain";
|
|
6440
|
+
overloaded: "overloaded";
|
|
6441
|
+
}>;
|
|
6442
|
+
text: z.ZodString;
|
|
6443
|
+
cause: z.ZodNullable<z.ZodString>;
|
|
6444
|
+
}, z.core.$strict>;
|
|
6445
|
+
load: z.ZodNumber;
|
|
6446
|
+
memory_used_bytes: z.ZodInt;
|
|
6447
|
+
compressed_bytes: z.ZodInt;
|
|
6448
|
+
pressure: z.ZodNullable<z.ZodEnum<{
|
|
6449
|
+
normal: "normal";
|
|
6450
|
+
warning: "warning";
|
|
6451
|
+
critical: "critical";
|
|
6452
|
+
}>>;
|
|
6453
|
+
jobs: z.ZodArray<z.ZodObject<{
|
|
6454
|
+
kind: z.ZodEnum<{
|
|
6455
|
+
"type-check": "type-check";
|
|
6456
|
+
tests: "tests";
|
|
6457
|
+
build: "build";
|
|
6458
|
+
lint: "lint";
|
|
6459
|
+
"dev server": "dev server";
|
|
6460
|
+
"language server": "language server";
|
|
6461
|
+
search: "search";
|
|
6462
|
+
}>;
|
|
6463
|
+
started_by: z.ZodNullable<z.ZodString>;
|
|
6464
|
+
folder: z.ZodNullable<z.ZodString>;
|
|
6465
|
+
command: z.ZodString;
|
|
6466
|
+
cpu_percent: z.ZodNumber;
|
|
6467
|
+
memory_bytes: z.ZodInt;
|
|
6468
|
+
duplicates: z.ZodInt;
|
|
6469
|
+
}, z.core.$strict>>;
|
|
6470
|
+
}, z.core.$strict>>;
|
|
6471
|
+
}, z.core.$strict>;
|
|
5996
6472
|
readonly AudioDevice: z.ZodObject<{
|
|
5997
6473
|
id: z.ZodString;
|
|
5998
6474
|
name: z.ZodString;
|
|
@@ -6029,6 +6505,120 @@ declare const NAMED_SCHEMAS: {
|
|
|
6029
6505
|
path: z.ZodString;
|
|
6030
6506
|
seconds: z.ZodNumber;
|
|
6031
6507
|
}, z.core.$strict>;
|
|
6508
|
+
readonly StackServerName: z.ZodString;
|
|
6509
|
+
readonly StackTone: z.ZodEnum<{
|
|
6510
|
+
good: "good";
|
|
6511
|
+
wait: "wait";
|
|
6512
|
+
bad: "bad";
|
|
6513
|
+
off: "off";
|
|
6514
|
+
}>;
|
|
6515
|
+
readonly StackServer: z.ZodObject<{
|
|
6516
|
+
name: z.ZodString;
|
|
6517
|
+
label: z.ZodString;
|
|
6518
|
+
tone: z.ZodEnum<{
|
|
6519
|
+
good: "good";
|
|
6520
|
+
wait: "wait";
|
|
6521
|
+
bad: "bad";
|
|
6522
|
+
off: "off";
|
|
6523
|
+
}>;
|
|
6524
|
+
sentence: z.ZodString;
|
|
6525
|
+
description: z.ZodString;
|
|
6526
|
+
open_url: z.ZodNullable<z.ZodString>;
|
|
6527
|
+
log_file: z.ZodString;
|
|
6528
|
+
last_output_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6529
|
+
started_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6530
|
+
restarts: z.ZodInt;
|
|
6531
|
+
exit_code: z.ZodNullable<z.ZodInt>;
|
|
6532
|
+
pid: z.ZodNullable<z.ZodInt>;
|
|
6533
|
+
}, z.core.$strict>;
|
|
6534
|
+
readonly StackEvent: z.ZodObject<{
|
|
6535
|
+
at_ms: z.ZodInt;
|
|
6536
|
+
server: z.ZodString;
|
|
6537
|
+
kind: z.ZodString;
|
|
6538
|
+
text: z.ZodString;
|
|
6539
|
+
}, z.core.$strict>;
|
|
6540
|
+
readonly StackStateParams: z.ZodObject<{}, z.core.$strict>;
|
|
6541
|
+
readonly StackStateResult: z.ZodObject<{
|
|
6542
|
+
config_path: z.ZodNullable<z.ZodString>;
|
|
6543
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
6544
|
+
stack_up: z.ZodBoolean;
|
|
6545
|
+
stack_started_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6546
|
+
servers: z.ZodArray<z.ZodObject<{
|
|
6547
|
+
name: z.ZodString;
|
|
6548
|
+
label: z.ZodString;
|
|
6549
|
+
tone: z.ZodEnum<{
|
|
6550
|
+
good: "good";
|
|
6551
|
+
wait: "wait";
|
|
6552
|
+
bad: "bad";
|
|
6553
|
+
off: "off";
|
|
6554
|
+
}>;
|
|
6555
|
+
sentence: z.ZodString;
|
|
6556
|
+
description: z.ZodString;
|
|
6557
|
+
open_url: z.ZodNullable<z.ZodString>;
|
|
6558
|
+
log_file: z.ZodString;
|
|
6559
|
+
last_output_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6560
|
+
started_at_ms: z.ZodNullable<z.ZodInt>;
|
|
6561
|
+
restarts: z.ZodInt;
|
|
6562
|
+
exit_code: z.ZodNullable<z.ZodInt>;
|
|
6563
|
+
pid: z.ZodNullable<z.ZodInt>;
|
|
6564
|
+
}, z.core.$strict>>;
|
|
6565
|
+
setup_note: z.ZodNullable<z.ZodString>;
|
|
6566
|
+
pending: z.ZodNullable<z.ZodObject<{
|
|
6567
|
+
verb: z.ZodEnum<{
|
|
6568
|
+
start: "start";
|
|
6569
|
+
stop: "stop";
|
|
6570
|
+
}>;
|
|
6571
|
+
label: z.ZodString;
|
|
6572
|
+
since_ms: z.ZodInt;
|
|
6573
|
+
}, z.core.$strict>>;
|
|
6574
|
+
events: z.ZodArray<z.ZodObject<{
|
|
6575
|
+
at_ms: z.ZodInt;
|
|
6576
|
+
server: z.ZodString;
|
|
6577
|
+
kind: z.ZodString;
|
|
6578
|
+
text: z.ZodString;
|
|
6579
|
+
}, z.core.$strict>>;
|
|
6580
|
+
}, z.core.$strict>;
|
|
6581
|
+
readonly StackStartParams: z.ZodObject<{}, z.core.$strict>;
|
|
6582
|
+
readonly StackStopParams: z.ZodObject<{}, z.core.$strict>;
|
|
6583
|
+
readonly StackRunResult: z.ZodObject<{
|
|
6584
|
+
accepted: z.ZodBoolean;
|
|
6585
|
+
}, z.core.$strict>;
|
|
6586
|
+
readonly StackServerActionParams: z.ZodObject<{
|
|
6587
|
+
name: z.ZodString;
|
|
6588
|
+
verb: z.ZodEnum<{
|
|
6589
|
+
start: "start";
|
|
6590
|
+
stop: "stop";
|
|
6591
|
+
restart: "restart";
|
|
6592
|
+
}>;
|
|
6593
|
+
}, z.core.$strict>;
|
|
6594
|
+
readonly StackServerActionResult: z.ZodObject<{
|
|
6595
|
+
message: z.ZodString;
|
|
6596
|
+
}, z.core.$strict>;
|
|
6597
|
+
readonly StackLogsParams: z.ZodObject<{
|
|
6598
|
+
name: z.ZodString;
|
|
6599
|
+
lines: z.ZodDefault<z.ZodInt>;
|
|
6600
|
+
offset: z.ZodOptional<z.ZodInt>;
|
|
6601
|
+
since: z.ZodOptional<z.ZodInt>;
|
|
6602
|
+
wait_ms: z.ZodDefault<z.ZodInt>;
|
|
6603
|
+
}, z.core.$strict>;
|
|
6604
|
+
readonly StackLogsResult: z.ZodObject<{
|
|
6605
|
+
lines: z.ZodArray<z.ZodString>;
|
|
6606
|
+
offset: z.ZodInt;
|
|
6607
|
+
since_valid: z.ZodBoolean;
|
|
6608
|
+
reset: z.ZodBoolean;
|
|
6609
|
+
log_file: z.ZodString;
|
|
6610
|
+
}, z.core.$strict>;
|
|
6611
|
+
readonly StackErrorsParams: z.ZodObject<{
|
|
6612
|
+
window_minutes: z.ZodDefault<z.ZodInt>;
|
|
6613
|
+
}, z.core.$strict>;
|
|
6614
|
+
readonly StackErrorsResult: z.ZodObject<{
|
|
6615
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
6616
|
+
name: z.ZodString;
|
|
6617
|
+
heading: z.ZodString;
|
|
6618
|
+
lines: z.ZodArray<z.ZodString>;
|
|
6619
|
+
}, z.core.$strict>>;
|
|
6620
|
+
window_minutes: z.ZodInt;
|
|
6621
|
+
}, z.core.$strict>;
|
|
6032
6622
|
readonly FsWatchId: z.ZodString;
|
|
6033
6623
|
readonly FsWatchStartParams: z.ZodObject<{
|
|
6034
6624
|
path: z.ZodString;
|