@ai-matrx/desktop-protocol 0.21.74 → 0.21.76

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.
@@ -4393,7 +4393,6 @@
4393
4393
  ]
4394
4394
  },
4395
4395
  "models": {
4396
- "maxItems": 16,
4397
4396
  "type": "array",
4398
4397
  "items": {
4399
4398
  "$ref": "#/$defs/TranscriptionModelInfo"
@@ -4865,14 +4864,12 @@
4865
4864
  "type": "object",
4866
4865
  "properties": {
4867
4866
  "text": {
4868
- "maxItems": 512,
4869
4867
  "type": "array",
4870
4868
  "items": {
4871
4869
  "$ref": "#/$defs/CatalogModelEntry"
4872
4870
  }
4873
4871
  },
4874
4872
  "transcription": {
4875
- "maxItems": 64,
4876
4873
  "type": "array",
4877
4874
  "items": {
4878
4875
  "$ref": "#/$defs/CatalogModelEntry"
@@ -4903,7 +4900,6 @@
4903
4900
  "maxLength": 40
4904
4901
  },
4905
4902
  "unusable": {
4906
- "maxItems": 512,
4907
4903
  "type": "array",
4908
4904
  "items": {
4909
4905
  "$ref": "#/$defs/UnusableTextModel"
@@ -4993,7 +4989,6 @@
4993
4989
  "$ref": "#/$defs/LlmServerState"
4994
4990
  },
4995
4991
  "models": {
4996
- "maxItems": 1024,
4997
4992
  "type": "array",
4998
4993
  "items": {
4999
4994
  "$ref": "#/$defs/TextModelInfo"
@@ -5291,7 +5286,6 @@
5291
5286
  "type": "object",
5292
5287
  "properties": {
5293
5288
  "downloads": {
5294
- "maxItems": 64,
5295
5289
  "type": "array",
5296
5290
  "items": {
5297
5291
  "$ref": "#/$defs/DownloadRow"
@@ -5328,6 +5322,140 @@
5328
5322
  ],
5329
5323
  "additionalProperties": false
5330
5324
  },
5325
+ "LocalModelKind": {
5326
+ "type": "string",
5327
+ "enum": [
5328
+ "text",
5329
+ "speech"
5330
+ ]
5331
+ },
5332
+ "LocalModelRow": {
5333
+ "type": "object",
5334
+ "properties": {
5335
+ "kind": {
5336
+ "$ref": "#/$defs/LocalModelKind"
5337
+ },
5338
+ "model": {
5339
+ "$ref": "#/$defs/ModelKey"
5340
+ },
5341
+ "path": {
5342
+ "type": "string",
5343
+ "maxLength": 1024
5344
+ },
5345
+ "size_bytes": {
5346
+ "type": "integer",
5347
+ "minimum": 0,
5348
+ "maximum": 9007199254740991
5349
+ },
5350
+ "freed_bytes": {
5351
+ "type": "integer",
5352
+ "minimum": 0,
5353
+ "maximum": 9007199254740991
5354
+ },
5355
+ "in_place": {
5356
+ "type": "boolean"
5357
+ },
5358
+ "source": {
5359
+ "anyOf": [
5360
+ {
5361
+ "type": "string",
5362
+ "maxLength": 1024
5363
+ },
5364
+ {
5365
+ "type": "null"
5366
+ }
5367
+ ]
5368
+ },
5369
+ "running": {
5370
+ "type": "boolean"
5371
+ }
5372
+ },
5373
+ "required": [
5374
+ "kind",
5375
+ "model",
5376
+ "path",
5377
+ "size_bytes",
5378
+ "freed_bytes",
5379
+ "in_place",
5380
+ "source",
5381
+ "running"
5382
+ ],
5383
+ "additionalProperties": false
5384
+ },
5385
+ "ModelsLocalListParams": {
5386
+ "type": "object",
5387
+ "properties": {},
5388
+ "additionalProperties": false
5389
+ },
5390
+ "ModelsLocalListResult": {
5391
+ "type": "object",
5392
+ "properties": {
5393
+ "models": {
5394
+ "type": "array",
5395
+ "items": {
5396
+ "$ref": "#/$defs/LocalModelRow"
5397
+ }
5398
+ }
5399
+ },
5400
+ "required": [
5401
+ "models"
5402
+ ],
5403
+ "additionalProperties": false
5404
+ },
5405
+ "ModelsLocalRemoveParams": {
5406
+ "type": "object",
5407
+ "properties": {
5408
+ "kind": {
5409
+ "$ref": "#/$defs/LocalModelKind"
5410
+ },
5411
+ "model": {
5412
+ "$ref": "#/$defs/ModelKey"
5413
+ }
5414
+ },
5415
+ "required": [
5416
+ "kind",
5417
+ "model"
5418
+ ],
5419
+ "additionalProperties": false
5420
+ },
5421
+ "ModelsLocalRemoveResult": {
5422
+ "type": "object",
5423
+ "properties": {
5424
+ "kind": {
5425
+ "$ref": "#/$defs/LocalModelKind"
5426
+ },
5427
+ "model": {
5428
+ "$ref": "#/$defs/ModelKey"
5429
+ },
5430
+ "freed_bytes": {
5431
+ "type": "integer",
5432
+ "minimum": 0,
5433
+ "maximum": 9007199254740991
5434
+ },
5435
+ "stopped": {
5436
+ "type": "boolean"
5437
+ },
5438
+ "kept": {
5439
+ "anyOf": [
5440
+ {
5441
+ "type": "string",
5442
+ "maxLength": 1024
5443
+ },
5444
+ {
5445
+ "type": "null"
5446
+ }
5447
+ ]
5448
+ }
5449
+ },
5450
+ "required": [
5451
+ "kind",
5452
+ "model",
5453
+ "freed_bytes",
5454
+ "stopped",
5455
+ "kept"
5456
+ ],
5457
+ "additionalProperties": false
5458
+ },
5331
5459
  "CodingServiceCredentials": {
5332
5460
  "type": "object",
5333
5461
  "properties": {
@@ -25185,6 +25313,27 @@
25185
25313
  "INTERNAL"
25186
25314
  ]
25187
25315
  },
25316
+ "models.local.list": {
25317
+ "params": "ModelsLocalListParams",
25318
+ "result": "ModelsLocalListResult",
25319
+ "kind": "unary",
25320
+ "since": "1.74",
25321
+ "errors": [
25322
+ "INTERNAL"
25323
+ ]
25324
+ },
25325
+ "models.local.remove": {
25326
+ "params": "ModelsLocalRemoveParams",
25327
+ "result": "ModelsLocalRemoveResult",
25328
+ "kind": "unary",
25329
+ "since": "1.74",
25330
+ "errors": [
25331
+ "NOT_FOUND",
25332
+ "INVALID_PARAMS",
25333
+ "RESOURCE_BUSY",
25334
+ "INTERNAL"
25335
+ ]
25336
+ },
25188
25337
  "apps.list": {
25189
25338
  "params": "AppsListParams",
25190
25339
  "result": "AppsListResult",
@@ -27832,6 +27981,14 @@
27832
27981
  "params": "ModelsDownloadsCancelParams",
27833
27982
  "result": "ModelsDownloadsCancelResult"
27834
27983
  },
27984
+ "ml.local_list": {
27985
+ "params": "ModelsLocalListParams",
27986
+ "result": "ModelsLocalListResult"
27987
+ },
27988
+ "ml.local_remove": {
27989
+ "params": "ModelsLocalRemoveParams",
27990
+ "result": "ModelsLocalRemoveResult"
27991
+ },
27835
27992
  "ml.catalog_set": {
27836
27993
  "params": "MlCatalogSetParams",
27837
27994
  "result": "MlCatalogSetResult"
@@ -28184,5 +28341,5 @@
28184
28341
  "olderPeersGet": 0
28185
28342
  }
28186
28343
  },
28187
- "x-protocol-version": "1.73"
28344
+ "x-protocol-version": "1.75"
28188
28345
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/desktop-protocol",
3
- "version": "0.21.74",
3
+ "version": "0.21.76",
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",
@@ -137,5 +137,5 @@
137
137
  "test:watch": "vitest",
138
138
  "verify:tarball": "node ./scripts/verify-tarball.mjs"
139
139
  },
140
- "gitHead": "3165453310fa6d42f3b90249a12d956eeebe7636"
140
+ "gitHead": "7938caf350d17b393eaf83e4c2f80029805cd1ee"
141
141
  }