@ai-matrx/desktop-protocol 0.17.12 → 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.
@@ -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" | "1.16";
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<{
@@ -6078,6 +6214,7 @@ declare const NAMED_SCHEMAS: {
6078
6214
  }, z.core.$strict>;
6079
6215
  readonly ResourcesDisk: z.ZodObject<{
6080
6216
  mount: z.ZodString;
6217
+ name: z.ZodOptional<z.ZodString>;
6081
6218
  fs: z.ZodString;
6082
6219
  size_bytes: z.ZodInt;
6083
6220
  used_bytes: z.ZodInt;
@@ -6101,6 +6238,7 @@ declare const NAMED_SCHEMAS: {
6101
6238
  }, z.core.$strict>;
6102
6239
  disks: z.ZodArray<z.ZodObject<{
6103
6240
  mount: z.ZodString;
6241
+ name: z.ZodOptional<z.ZodString>;
6104
6242
  fs: z.ZodString;
6105
6243
  size_bytes: z.ZodInt;
6106
6244
  used_bytes: z.ZodInt;
@@ -6108,6 +6246,229 @@ declare const NAMED_SCHEMAS: {
6108
6246
  }, z.core.$strict>>;
6109
6247
  uptime_seconds: z.ZodInt;
6110
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>;
6111
6472
  readonly AudioDevice: z.ZodObject<{
6112
6473
  id: z.ZodString;
6113
6474
  name: z.ZodString;