@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.
@@ -5005,6 +5005,10 @@
5005
5005
  "type": "string",
5006
5006
  "maxLength": 512
5007
5007
  },
5008
+ "name": {
5009
+ "type": "string",
5010
+ "maxLength": 256
5011
+ },
5008
5012
  "fs": {
5009
5013
  "type": "string",
5010
5014
  "maxLength": 64
@@ -5147,6 +5151,576 @@
5147
5151
  ],
5148
5152
  "additionalProperties": false
5149
5153
  },
5154
+ "ResourcesJobKind": {
5155
+ "type": "string",
5156
+ "enum": [
5157
+ "type-check",
5158
+ "tests",
5159
+ "build",
5160
+ "lint",
5161
+ "dev server",
5162
+ "language server",
5163
+ "search"
5164
+ ]
5165
+ },
5166
+ "ResourcesStrain": {
5167
+ "type": "string",
5168
+ "enum": [
5169
+ "good",
5170
+ "strain",
5171
+ "overloaded"
5172
+ ]
5173
+ },
5174
+ "ResourcesPressure": {
5175
+ "type": "string",
5176
+ "enum": [
5177
+ "normal",
5178
+ "warning",
5179
+ "critical"
5180
+ ]
5181
+ },
5182
+ "ResourcesVerdict": {
5183
+ "type": "object",
5184
+ "properties": {
5185
+ "level": {
5186
+ "$ref": "#/$defs/ResourcesStrain"
5187
+ },
5188
+ "text": {
5189
+ "type": "string",
5190
+ "maxLength": 256
5191
+ },
5192
+ "cause": {
5193
+ "anyOf": [
5194
+ {
5195
+ "type": "string",
5196
+ "maxLength": 1024
5197
+ },
5198
+ {
5199
+ "type": "null"
5200
+ }
5201
+ ]
5202
+ }
5203
+ },
5204
+ "required": [
5205
+ "level",
5206
+ "text",
5207
+ "cause"
5208
+ ],
5209
+ "additionalProperties": false
5210
+ },
5211
+ "ResourcesSample": {
5212
+ "type": "object",
5213
+ "properties": {
5214
+ "at_ms": {
5215
+ "type": "integer",
5216
+ "minimum": 0,
5217
+ "maximum": 9007199254740991
5218
+ },
5219
+ "load": {
5220
+ "type": "number",
5221
+ "minimum": 0
5222
+ },
5223
+ "memory_used_bytes": {
5224
+ "type": "integer",
5225
+ "minimum": 0,
5226
+ "maximum": 9007199254740991
5227
+ },
5228
+ "typechecks": {
5229
+ "type": "integer",
5230
+ "minimum": 0,
5231
+ "maximum": 9007199254740991
5232
+ }
5233
+ },
5234
+ "required": [
5235
+ "at_ms",
5236
+ "load",
5237
+ "memory_used_bytes",
5238
+ "typechecks"
5239
+ ],
5240
+ "additionalProperties": false
5241
+ },
5242
+ "ResourcesJob": {
5243
+ "type": "object",
5244
+ "properties": {
5245
+ "pid": {
5246
+ "type": "integer",
5247
+ "minimum": 0,
5248
+ "maximum": 9007199254740991
5249
+ },
5250
+ "kind": {
5251
+ "$ref": "#/$defs/ResourcesJobKind"
5252
+ },
5253
+ "command": {
5254
+ "type": "string",
5255
+ "maxLength": 256
5256
+ },
5257
+ "started_by": {
5258
+ "anyOf": [
5259
+ {
5260
+ "type": "string",
5261
+ "maxLength": 64
5262
+ },
5263
+ {
5264
+ "type": "null"
5265
+ }
5266
+ ]
5267
+ },
5268
+ "orphan": {
5269
+ "type": "boolean"
5270
+ },
5271
+ "waiting": {
5272
+ "type": "boolean"
5273
+ },
5274
+ "folder": {
5275
+ "anyOf": [
5276
+ {
5277
+ "type": "string",
5278
+ "maxLength": 256
5279
+ },
5280
+ {
5281
+ "type": "null"
5282
+ }
5283
+ ]
5284
+ },
5285
+ "duplicates": {
5286
+ "type": "integer",
5287
+ "minimum": 1,
5288
+ "maximum": 9007199254740991
5289
+ },
5290
+ "processes": {
5291
+ "type": "integer",
5292
+ "minimum": 1,
5293
+ "maximum": 9007199254740991
5294
+ },
5295
+ "cpu_percent": {
5296
+ "type": "number",
5297
+ "minimum": 0
5298
+ },
5299
+ "memory_bytes": {
5300
+ "type": "integer",
5301
+ "minimum": 0,
5302
+ "maximum": 9007199254740991
5303
+ },
5304
+ "started_at_ms": {
5305
+ "anyOf": [
5306
+ {
5307
+ "type": "integer",
5308
+ "minimum": 0,
5309
+ "maximum": 9007199254740991
5310
+ },
5311
+ {
5312
+ "type": "null"
5313
+ }
5314
+ ]
5315
+ },
5316
+ "stoppable": {
5317
+ "type": "boolean"
5318
+ }
5319
+ },
5320
+ "required": [
5321
+ "pid",
5322
+ "kind",
5323
+ "command",
5324
+ "started_by",
5325
+ "orphan",
5326
+ "waiting",
5327
+ "folder",
5328
+ "duplicates",
5329
+ "processes",
5330
+ "cpu_percent",
5331
+ "memory_bytes",
5332
+ "started_at_ms",
5333
+ "stoppable"
5334
+ ],
5335
+ "additionalProperties": false
5336
+ },
5337
+ "ResourcesProcess": {
5338
+ "type": "object",
5339
+ "properties": {
5340
+ "pid": {
5341
+ "type": "integer",
5342
+ "minimum": 0,
5343
+ "maximum": 9007199254740991
5344
+ },
5345
+ "name": {
5346
+ "type": "string",
5347
+ "maxLength": 256
5348
+ },
5349
+ "cpu_percent": {
5350
+ "type": "number",
5351
+ "minimum": 0
5352
+ },
5353
+ "memory_bytes": {
5354
+ "type": "integer",
5355
+ "minimum": 0,
5356
+ "maximum": 9007199254740991
5357
+ },
5358
+ "started_by": {
5359
+ "anyOf": [
5360
+ {
5361
+ "type": "string",
5362
+ "maxLength": 64
5363
+ },
5364
+ {
5365
+ "type": "null"
5366
+ }
5367
+ ]
5368
+ },
5369
+ "job": {
5370
+ "anyOf": [
5371
+ {
5372
+ "type": "string",
5373
+ "maxLength": 256
5374
+ },
5375
+ {
5376
+ "type": "null"
5377
+ }
5378
+ ]
5379
+ },
5380
+ "started_at_ms": {
5381
+ "anyOf": [
5382
+ {
5383
+ "type": "integer",
5384
+ "minimum": 0,
5385
+ "maximum": 9007199254740991
5386
+ },
5387
+ {
5388
+ "type": "null"
5389
+ }
5390
+ ]
5391
+ }
5392
+ },
5393
+ "required": [
5394
+ "pid",
5395
+ "name",
5396
+ "cpu_percent",
5397
+ "memory_bytes",
5398
+ "started_by",
5399
+ "job",
5400
+ "started_at_ms"
5401
+ ],
5402
+ "additionalProperties": false
5403
+ },
5404
+ "ResourcesActivityParams": {
5405
+ "type": "object",
5406
+ "properties": {},
5407
+ "additionalProperties": false
5408
+ },
5409
+ "ResourcesActivityResult": {
5410
+ "type": "object",
5411
+ "properties": {
5412
+ "ready": {
5413
+ "type": "boolean"
5414
+ },
5415
+ "sampled_at_ms": {
5416
+ "anyOf": [
5417
+ {
5418
+ "type": "integer",
5419
+ "minimum": 0,
5420
+ "maximum": 9007199254740991
5421
+ },
5422
+ {
5423
+ "type": "null"
5424
+ }
5425
+ ]
5426
+ },
5427
+ "cores": {
5428
+ "type": "integer",
5429
+ "minimum": 1,
5430
+ "maximum": 9007199254740991
5431
+ },
5432
+ "load": {
5433
+ "minItems": 3,
5434
+ "maxItems": 3,
5435
+ "type": "array",
5436
+ "items": {
5437
+ "type": "number",
5438
+ "minimum": 0
5439
+ }
5440
+ },
5441
+ "memory": {
5442
+ "type": "object",
5443
+ "properties": {
5444
+ "total_bytes": {
5445
+ "type": "integer",
5446
+ "minimum": 0,
5447
+ "maximum": 9007199254740991
5448
+ },
5449
+ "used_bytes": {
5450
+ "type": "integer",
5451
+ "minimum": 0,
5452
+ "maximum": 9007199254740991
5453
+ },
5454
+ "compressed_bytes": {
5455
+ "type": "integer",
5456
+ "minimum": 0,
5457
+ "maximum": 9007199254740991
5458
+ },
5459
+ "compressor_bytes": {
5460
+ "type": "integer",
5461
+ "minimum": 0,
5462
+ "maximum": 9007199254740991
5463
+ },
5464
+ "swap_used_bytes": {
5465
+ "type": "integer",
5466
+ "minimum": 0,
5467
+ "maximum": 9007199254740991
5468
+ },
5469
+ "pressure": {
5470
+ "anyOf": [
5471
+ {
5472
+ "$ref": "#/$defs/ResourcesPressure"
5473
+ },
5474
+ {
5475
+ "type": "null"
5476
+ }
5477
+ ]
5478
+ }
5479
+ },
5480
+ "required": [
5481
+ "total_bytes",
5482
+ "used_bytes",
5483
+ "compressed_bytes",
5484
+ "compressor_bytes",
5485
+ "swap_used_bytes",
5486
+ "pressure"
5487
+ ],
5488
+ "additionalProperties": false
5489
+ },
5490
+ "verdict": {
5491
+ "$ref": "#/$defs/ResourcesVerdict"
5492
+ },
5493
+ "typechecks": {
5494
+ "type": "object",
5495
+ "properties": {
5496
+ "running": {
5497
+ "type": "integer",
5498
+ "minimum": 0,
5499
+ "maximum": 9007199254740991
5500
+ },
5501
+ "waiting": {
5502
+ "type": "integer",
5503
+ "minimum": 0,
5504
+ "maximum": 9007199254740991
5505
+ },
5506
+ "comfort": {
5507
+ "type": "integer",
5508
+ "minimum": 0,
5509
+ "maximum": 9007199254740991
5510
+ }
5511
+ },
5512
+ "required": [
5513
+ "running",
5514
+ "waiting",
5515
+ "comfort"
5516
+ ],
5517
+ "additionalProperties": false
5518
+ },
5519
+ "jobs": {
5520
+ "maxItems": 200,
5521
+ "type": "array",
5522
+ "items": {
5523
+ "$ref": "#/$defs/ResourcesJob"
5524
+ }
5525
+ },
5526
+ "top": {
5527
+ "maxItems": 30,
5528
+ "type": "array",
5529
+ "items": {
5530
+ "$ref": "#/$defs/ResourcesProcess"
5531
+ }
5532
+ },
5533
+ "history": {
5534
+ "maxItems": 1200,
5535
+ "type": "array",
5536
+ "items": {
5537
+ "$ref": "#/$defs/ResourcesSample"
5538
+ }
5539
+ }
5540
+ },
5541
+ "required": [
5542
+ "ready",
5543
+ "sampled_at_ms",
5544
+ "cores",
5545
+ "load",
5546
+ "memory",
5547
+ "verdict",
5548
+ "typechecks",
5549
+ "jobs",
5550
+ "top",
5551
+ "history"
5552
+ ],
5553
+ "additionalProperties": false
5554
+ },
5555
+ "ResourcesStopJobParams": {
5556
+ "type": "object",
5557
+ "properties": {
5558
+ "pid": {
5559
+ "type": "integer",
5560
+ "minimum": 1,
5561
+ "maximum": 9007199254740991
5562
+ }
5563
+ },
5564
+ "required": [
5565
+ "pid"
5566
+ ],
5567
+ "additionalProperties": false
5568
+ },
5569
+ "ResourcesStopJobResult": {
5570
+ "type": "object",
5571
+ "properties": {
5572
+ "processes": {
5573
+ "type": "integer",
5574
+ "minimum": 0,
5575
+ "maximum": 9007199254740991
5576
+ },
5577
+ "already_finished": {
5578
+ "type": "boolean"
5579
+ }
5580
+ },
5581
+ "required": [
5582
+ "processes",
5583
+ "already_finished"
5584
+ ],
5585
+ "additionalProperties": false
5586
+ },
5587
+ "ResourcesIncident": {
5588
+ "type": "object",
5589
+ "properties": {
5590
+ "at_ms": {
5591
+ "type": "integer",
5592
+ "minimum": 0,
5593
+ "maximum": 9007199254740991
5594
+ },
5595
+ "verdict": {
5596
+ "$ref": "#/$defs/ResourcesVerdict"
5597
+ },
5598
+ "load": {
5599
+ "type": "number",
5600
+ "minimum": 0
5601
+ },
5602
+ "memory_used_bytes": {
5603
+ "type": "integer",
5604
+ "minimum": 0,
5605
+ "maximum": 9007199254740991
5606
+ },
5607
+ "compressed_bytes": {
5608
+ "type": "integer",
5609
+ "minimum": 0,
5610
+ "maximum": 9007199254740991
5611
+ },
5612
+ "pressure": {
5613
+ "anyOf": [
5614
+ {
5615
+ "$ref": "#/$defs/ResourcesPressure"
5616
+ },
5617
+ {
5618
+ "type": "null"
5619
+ }
5620
+ ]
5621
+ },
5622
+ "jobs": {
5623
+ "maxItems": 8,
5624
+ "type": "array",
5625
+ "items": {
5626
+ "type": "object",
5627
+ "properties": {
5628
+ "kind": {
5629
+ "$ref": "#/$defs/ResourcesJobKind"
5630
+ },
5631
+ "started_by": {
5632
+ "anyOf": [
5633
+ {
5634
+ "type": "string",
5635
+ "maxLength": 64
5636
+ },
5637
+ {
5638
+ "type": "null"
5639
+ }
5640
+ ]
5641
+ },
5642
+ "folder": {
5643
+ "anyOf": [
5644
+ {
5645
+ "type": "string",
5646
+ "maxLength": 256
5647
+ },
5648
+ {
5649
+ "type": "null"
5650
+ }
5651
+ ]
5652
+ },
5653
+ "command": {
5654
+ "type": "string",
5655
+ "maxLength": 256
5656
+ },
5657
+ "cpu_percent": {
5658
+ "type": "number",
5659
+ "minimum": 0
5660
+ },
5661
+ "memory_bytes": {
5662
+ "type": "integer",
5663
+ "minimum": 0,
5664
+ "maximum": 9007199254740991
5665
+ },
5666
+ "duplicates": {
5667
+ "type": "integer",
5668
+ "minimum": 1,
5669
+ "maximum": 9007199254740991
5670
+ }
5671
+ },
5672
+ "required": [
5673
+ "kind",
5674
+ "started_by",
5675
+ "folder",
5676
+ "command",
5677
+ "cpu_percent",
5678
+ "memory_bytes",
5679
+ "duplicates"
5680
+ ],
5681
+ "additionalProperties": false
5682
+ }
5683
+ }
5684
+ },
5685
+ "required": [
5686
+ "at_ms",
5687
+ "verdict",
5688
+ "load",
5689
+ "memory_used_bytes",
5690
+ "compressed_bytes",
5691
+ "pressure",
5692
+ "jobs"
5693
+ ],
5694
+ "additionalProperties": false
5695
+ },
5696
+ "ResourcesIncidentsParams": {
5697
+ "type": "object",
5698
+ "properties": {
5699
+ "limit": {
5700
+ "default": 50,
5701
+ "type": "integer",
5702
+ "minimum": 1,
5703
+ "maximum": 200
5704
+ }
5705
+ },
5706
+ "additionalProperties": false
5707
+ },
5708
+ "ResourcesIncidentsResult": {
5709
+ "type": "object",
5710
+ "properties": {
5711
+ "incidents": {
5712
+ "maxItems": 200,
5713
+ "type": "array",
5714
+ "items": {
5715
+ "$ref": "#/$defs/ResourcesIncident"
5716
+ }
5717
+ }
5718
+ },
5719
+ "required": [
5720
+ "incidents"
5721
+ ],
5722
+ "additionalProperties": false
5723
+ },
5150
5724
  "AudioDevice": {
5151
5725
  "type": "object",
5152
5726
  "properties": {
@@ -9868,6 +10442,38 @@
9868
10442
  "INTERNAL"
9869
10443
  ]
9870
10444
  },
10445
+ "resources.activity": {
10446
+ "params": "ResourcesActivityParams",
10447
+ "result": "ResourcesActivityResult",
10448
+ "kind": "unary",
10449
+ "since": "1.17",
10450
+ "errors": [
10451
+ "PLATFORM_UNSUPPORTED",
10452
+ "INTERNAL"
10453
+ ]
10454
+ },
10455
+ "resources.stop_job": {
10456
+ "params": "ResourcesStopJobParams",
10457
+ "result": "ResourcesStopJobResult",
10458
+ "kind": "unary",
10459
+ "since": "1.17",
10460
+ "errors": [
10461
+ "NOT_FOUND",
10462
+ "CONFLICT",
10463
+ "AUTH_FORBIDDEN",
10464
+ "PLATFORM_UNSUPPORTED",
10465
+ "INTERNAL"
10466
+ ]
10467
+ },
10468
+ "resources.incidents": {
10469
+ "params": "ResourcesIncidentsParams",
10470
+ "result": "ResourcesIncidentsResult",
10471
+ "kind": "unary",
10472
+ "since": "1.17",
10473
+ "errors": [
10474
+ "INTERNAL"
10475
+ ]
10476
+ },
9871
10477
  "audio.devices": {
9872
10478
  "params": "AudioDevicesParams",
9873
10479
  "result": "AudioDevicesResult",
@@ -10062,6 +10668,9 @@
10062
10668
  "AccountUsage": {
10063
10669
  "plan": "1.13",
10064
10670
  "credits": "1.13"
10671
+ },
10672
+ "ResourcesDisk": {
10673
+ "name": "1.17"
10065
10674
  }
10066
10675
  },
10067
10676
  "x-null-since": {
@@ -10070,5 +10679,5 @@
10070
10679
  "olderPeersGet": 0
10071
10680
  }
10072
10681
  },
10073
- "x-protocol-version": "1.16"
10682
+ "x-protocol-version": "1.17"
10074
10683
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/desktop-protocol",
3
- "version": "0.17.12",
3
+ "version": "0.17.13",
4
4
  "description": "The one wire contract between Matrx 2 (the desktop app) and every client that drives it — phone, web app, extension, server: zod schemas for the envelope and every cap.op, the 16-byte binary frame codec, a reconnecting request/stream/credit/reattach client, React hooks, and a generated JSON Schema + Pydantic twin that CI keeps byte-identical.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",