@ai-matrx/desktop-protocol 0.21.25 → 0.21.26

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.
@@ -1538,6 +1538,207 @@
1538
1538
  ],
1539
1539
  "additionalProperties": false
1540
1540
  },
1541
+ "FsCopyParams": {
1542
+ "type": "object",
1543
+ "properties": {
1544
+ "from_path": {
1545
+ "$ref": "#/$defs/AbsPath"
1546
+ },
1547
+ "to_path": {
1548
+ "$ref": "#/$defs/AbsPath"
1549
+ },
1550
+ "overwrite": {
1551
+ "default": false,
1552
+ "type": "boolean"
1553
+ }
1554
+ },
1555
+ "required": [
1556
+ "from_path",
1557
+ "to_path"
1558
+ ],
1559
+ "additionalProperties": false
1560
+ },
1561
+ "FsCopyResult": {
1562
+ "type": "object",
1563
+ "properties": {
1564
+ "from_path": {
1565
+ "$ref": "#/$defs/AbsPath"
1566
+ },
1567
+ "to_path": {
1568
+ "$ref": "#/$defs/AbsPath"
1569
+ }
1570
+ },
1571
+ "required": [
1572
+ "from_path",
1573
+ "to_path"
1574
+ ],
1575
+ "additionalProperties": false
1576
+ },
1577
+ "FsInfoParams": {
1578
+ "type": "object",
1579
+ "properties": {
1580
+ "path": {
1581
+ "$ref": "#/$defs/AbsPath"
1582
+ }
1583
+ },
1584
+ "required": [
1585
+ "path"
1586
+ ],
1587
+ "additionalProperties": false
1588
+ },
1589
+ "FsInfoResult": {
1590
+ "type": "object",
1591
+ "properties": {
1592
+ "entry": {
1593
+ "$ref": "#/$defs/FsEntry"
1594
+ },
1595
+ "created": {
1596
+ "anyOf": [
1597
+ {
1598
+ "type": "number",
1599
+ "minimum": 0
1600
+ },
1601
+ {
1602
+ "type": "null"
1603
+ }
1604
+ ]
1605
+ },
1606
+ "owner": {
1607
+ "anyOf": [
1608
+ {
1609
+ "type": "string",
1610
+ "maxLength": 256
1611
+ },
1612
+ {
1613
+ "type": "null"
1614
+ }
1615
+ ]
1616
+ },
1617
+ "group": {
1618
+ "anyOf": [
1619
+ {
1620
+ "type": "string",
1621
+ "maxLength": 256
1622
+ },
1623
+ {
1624
+ "type": "null"
1625
+ }
1626
+ ]
1627
+ },
1628
+ "total_size": {
1629
+ "anyOf": [
1630
+ {
1631
+ "type": "integer",
1632
+ "minimum": 0,
1633
+ "maximum": 9007199254740991
1634
+ },
1635
+ {
1636
+ "type": "null"
1637
+ }
1638
+ ]
1639
+ },
1640
+ "size_on_disk": {
1641
+ "anyOf": [
1642
+ {
1643
+ "type": "integer",
1644
+ "minimum": 0,
1645
+ "maximum": 9007199254740991
1646
+ },
1647
+ {
1648
+ "type": "null"
1649
+ }
1650
+ ]
1651
+ },
1652
+ "items": {
1653
+ "anyOf": [
1654
+ {
1655
+ "type": "integer",
1656
+ "minimum": 0,
1657
+ "maximum": 9007199254740991
1658
+ },
1659
+ {
1660
+ "type": "null"
1661
+ }
1662
+ ]
1663
+ },
1664
+ "hidden": {
1665
+ "type": "boolean"
1666
+ },
1667
+ "locked": {
1668
+ "type": [
1669
+ "boolean",
1670
+ "null"
1671
+ ]
1672
+ },
1673
+ "read_only": {
1674
+ "type": "boolean"
1675
+ }
1676
+ },
1677
+ "required": [
1678
+ "entry",
1679
+ "created",
1680
+ "owner",
1681
+ "group",
1682
+ "total_size",
1683
+ "size_on_disk",
1684
+ "items",
1685
+ "hidden",
1686
+ "locked",
1687
+ "read_only"
1688
+ ],
1689
+ "additionalProperties": false
1690
+ },
1691
+ "FsSearchIndexParams": {
1692
+ "type": "object",
1693
+ "properties": {
1694
+ "query": {
1695
+ "type": "string",
1696
+ "minLength": 1,
1697
+ "maxLength": 256
1698
+ },
1699
+ "scope": {
1700
+ "$ref": "#/$defs/AbsPath"
1701
+ },
1702
+ "max_results": {
1703
+ "default": 200,
1704
+ "type": "integer",
1705
+ "minimum": 1,
1706
+ "maximum": 1000
1707
+ }
1708
+ },
1709
+ "required": [
1710
+ "query"
1711
+ ],
1712
+ "additionalProperties": false
1713
+ },
1714
+ "FsSearchIndexResult": {
1715
+ "type": "object",
1716
+ "properties": {
1717
+ "entries": {
1718
+ "maxItems": 1000,
1719
+ "type": "array",
1720
+ "items": {
1721
+ "$ref": "#/$defs/FsEntry"
1722
+ }
1723
+ },
1724
+ "truncated": {
1725
+ "type": "boolean"
1726
+ },
1727
+ "source": {
1728
+ "type": "string",
1729
+ "enum": [
1730
+ "index",
1731
+ "walk"
1732
+ ]
1733
+ }
1734
+ },
1735
+ "required": [
1736
+ "entries",
1737
+ "truncated",
1738
+ "source"
1739
+ ],
1740
+ "additionalProperties": false
1741
+ },
1541
1742
  "FsDeleteParams": {
1542
1743
  "type": "object",
1543
1744
  "properties": {
@@ -3111,6 +3312,222 @@
3111
3312
  ],
3112
3313
  "additionalProperties": false
3113
3314
  },
3315
+ "TextModelId": {
3316
+ "type": "string",
3317
+ "enum": [
3318
+ "smollm2-135m",
3319
+ "llama-3.2-3b",
3320
+ "phi-4-mini",
3321
+ "gemma-3-4b",
3322
+ "llama-3.1-8b",
3323
+ "qwen-2.5-7b",
3324
+ "mistral-small-3.1",
3325
+ "gpt-oss-20b",
3326
+ "qwen-2.5-coder-7b",
3327
+ "qwen-2.5-coder-14b"
3328
+ ]
3329
+ },
3330
+ "TextModelInfo": {
3331
+ "type": "object",
3332
+ "properties": {
3333
+ "id": {
3334
+ "$ref": "#/$defs/TextModelId"
3335
+ },
3336
+ "size_bytes": {
3337
+ "type": "integer",
3338
+ "minimum": 0,
3339
+ "maximum": 9007199254740991
3340
+ },
3341
+ "installed": {
3342
+ "type": "boolean"
3343
+ }
3344
+ },
3345
+ "required": [
3346
+ "id",
3347
+ "size_bytes",
3348
+ "installed"
3349
+ ],
3350
+ "additionalProperties": false
3351
+ },
3352
+ "LlmServerState": {
3353
+ "type": "string",
3354
+ "enum": [
3355
+ "stopped",
3356
+ "starting",
3357
+ "running",
3358
+ "failed"
3359
+ ]
3360
+ },
3361
+ "LlmRunning": {
3362
+ "type": "object",
3363
+ "properties": {
3364
+ "id": {
3365
+ "$ref": "#/$defs/TextModelId"
3366
+ },
3367
+ "port": {
3368
+ "type": "integer",
3369
+ "minimum": 1024,
3370
+ "maximum": 65535
3371
+ }
3372
+ },
3373
+ "required": [
3374
+ "id",
3375
+ "port"
3376
+ ],
3377
+ "additionalProperties": false
3378
+ },
3379
+ "ModelsLlmStatusParams": {
3380
+ "type": "object",
3381
+ "properties": {},
3382
+ "additionalProperties": false
3383
+ },
3384
+ "ModelsLlmStatusResult": {
3385
+ "type": "object",
3386
+ "properties": {
3387
+ "state": {
3388
+ "$ref": "#/$defs/LlmServerState"
3389
+ },
3390
+ "models": {
3391
+ "maxItems": 64,
3392
+ "type": "array",
3393
+ "items": {
3394
+ "$ref": "#/$defs/TextModelInfo"
3395
+ }
3396
+ },
3397
+ "running": {
3398
+ "anyOf": [
3399
+ {
3400
+ "$ref": "#/$defs/LlmRunning"
3401
+ },
3402
+ {
3403
+ "type": "null"
3404
+ }
3405
+ ]
3406
+ },
3407
+ "starting": {
3408
+ "anyOf": [
3409
+ {
3410
+ "$ref": "#/$defs/TextModelId"
3411
+ },
3412
+ {
3413
+ "type": "null"
3414
+ }
3415
+ ]
3416
+ },
3417
+ "install": {
3418
+ "anyOf": [
3419
+ {
3420
+ "$ref": "#/$defs/MlInstallProgress"
3421
+ },
3422
+ {
3423
+ "type": "null"
3424
+ }
3425
+ ]
3426
+ },
3427
+ "error": {
3428
+ "anyOf": [
3429
+ {
3430
+ "type": "string",
3431
+ "maxLength": 300
3432
+ },
3433
+ {
3434
+ "type": "null"
3435
+ }
3436
+ ]
3437
+ }
3438
+ },
3439
+ "required": [
3440
+ "state",
3441
+ "models",
3442
+ "running",
3443
+ "starting",
3444
+ "install",
3445
+ "error"
3446
+ ],
3447
+ "additionalProperties": false
3448
+ },
3449
+ "ModelsLlmInstallParams": {
3450
+ "type": "object",
3451
+ "properties": {
3452
+ "model": {
3453
+ "$ref": "#/$defs/TextModelId"
3454
+ }
3455
+ },
3456
+ "required": [
3457
+ "model"
3458
+ ],
3459
+ "additionalProperties": false
3460
+ },
3461
+ "ModelsLlmInstallResult": {
3462
+ "type": "object",
3463
+ "properties": {
3464
+ "model": {
3465
+ "$ref": "#/$defs/TextModelId"
3466
+ },
3467
+ "elapsed_ms": {
3468
+ "type": "integer",
3469
+ "minimum": 0,
3470
+ "maximum": 9007199254740991
3471
+ }
3472
+ },
3473
+ "required": [
3474
+ "model",
3475
+ "elapsed_ms"
3476
+ ],
3477
+ "additionalProperties": false
3478
+ },
3479
+ "ModelsLlmStartParams": {
3480
+ "type": "object",
3481
+ "properties": {
3482
+ "model": {
3483
+ "$ref": "#/$defs/TextModelId"
3484
+ },
3485
+ "context_length": {
3486
+ "type": "integer",
3487
+ "minimum": 512,
3488
+ "maximum": 131072
3489
+ }
3490
+ },
3491
+ "required": [
3492
+ "model"
3493
+ ],
3494
+ "additionalProperties": false
3495
+ },
3496
+ "ModelsLlmStartResult": {
3497
+ "type": "object",
3498
+ "properties": {
3499
+ "running": {
3500
+ "$ref": "#/$defs/LlmRunning"
3501
+ },
3502
+ "elapsed_ms": {
3503
+ "type": "integer",
3504
+ "minimum": 0,
3505
+ "maximum": 9007199254740991
3506
+ }
3507
+ },
3508
+ "required": [
3509
+ "running",
3510
+ "elapsed_ms"
3511
+ ],
3512
+ "additionalProperties": false
3513
+ },
3514
+ "ModelsLlmStopParams": {
3515
+ "type": "object",
3516
+ "properties": {},
3517
+ "additionalProperties": false
3518
+ },
3519
+ "ModelsLlmStopResult": {
3520
+ "type": "object",
3521
+ "properties": {
3522
+ "stopped": {
3523
+ "type": "boolean"
3524
+ }
3525
+ },
3526
+ "required": [
3527
+ "stopped"
3528
+ ],
3529
+ "additionalProperties": false
3530
+ },
3114
3531
  "CodingServiceCredentials": {
3115
3532
  "type": "object",
3116
3533
  "properties": {
@@ -9462,6 +9879,48 @@
9462
9879
  ],
9463
9880
  "additionalProperties": false
9464
9881
  },
9882
+ "ProjectMovePin": {
9883
+ "type": "object",
9884
+ "properties": {
9885
+ "ok": {
9886
+ "type": "boolean"
9887
+ },
9888
+ "when": {
9889
+ "type": "string",
9890
+ "enum": [
9891
+ "now",
9892
+ "next_close"
9893
+ ]
9894
+ },
9895
+ "pinned": {
9896
+ "type": "integer",
9897
+ "minimum": 0,
9898
+ "maximum": 9007199254740991
9899
+ },
9900
+ "already": {
9901
+ "type": "integer",
9902
+ "minimum": 0,
9903
+ "maximum": 9007199254740991
9904
+ },
9905
+ "queued": {
9906
+ "type": "integer",
9907
+ "minimum": 0,
9908
+ "maximum": 9007199254740991
9909
+ },
9910
+ "reason": {
9911
+ "type": "string",
9912
+ "maxLength": 400
9913
+ }
9914
+ },
9915
+ "required": [
9916
+ "ok",
9917
+ "when",
9918
+ "pinned",
9919
+ "already",
9920
+ "queued"
9921
+ ],
9922
+ "additionalProperties": false
9923
+ },
9465
9924
  "AppsProjectsToWindowParams": {
9466
9925
  "type": "object",
9467
9926
  "properties": {
@@ -9482,6 +9941,9 @@
9482
9941
  "default": false,
9483
9942
  "type": "boolean"
9484
9943
  },
9944
+ "pin": {
9945
+ "type": "boolean"
9946
+ },
9485
9947
  "dry_run": {
9486
9948
  "default": false,
9487
9949
  "type": "boolean"
@@ -9567,6 +10029,9 @@
9567
10029
  }
9568
10030
  ]
9569
10031
  },
10032
+ "pin": {
10033
+ "$ref": "#/$defs/ProjectMovePin"
10034
+ },
9570
10035
  "message": {
9571
10036
  "type": "string",
9572
10037
  "maxLength": 400
@@ -12850,6 +13315,47 @@
12850
13315
  "CONFLICT"
12851
13316
  ]
12852
13317
  },
13318
+ "fs.copy": {
13319
+ "params": "FsCopyParams",
13320
+ "result": "FsCopyResult",
13321
+ "kind": "unary",
13322
+ "since": "1.30",
13323
+ "errors": [
13324
+ "NOT_FOUND",
13325
+ "PERMISSION_DENIED_OS",
13326
+ "INVALID_PARAMS",
13327
+ "RESOURCE_BUSY",
13328
+ "INTERNAL",
13329
+ "CONFLICT"
13330
+ ]
13331
+ },
13332
+ "fs.info": {
13333
+ "params": "FsInfoParams",
13334
+ "result": "FsInfoResult",
13335
+ "kind": "unary",
13336
+ "since": "1.30",
13337
+ "errors": [
13338
+ "NOT_FOUND",
13339
+ "PERMISSION_DENIED_OS",
13340
+ "INVALID_PARAMS",
13341
+ "RESOURCE_BUSY",
13342
+ "INTERNAL"
13343
+ ]
13344
+ },
13345
+ "fs.search_index": {
13346
+ "params": "FsSearchIndexParams",
13347
+ "result": "FsSearchIndexResult",
13348
+ "kind": "unary",
13349
+ "since": "1.30",
13350
+ "errors": [
13351
+ "NOT_FOUND",
13352
+ "PERMISSION_DENIED_OS",
13353
+ "INVALID_PARAMS",
13354
+ "RESOURCE_BUSY",
13355
+ "INTERNAL",
13356
+ "TIMEOUT"
13357
+ ]
13358
+ },
12853
13359
  "fs.delete": {
12854
13360
  "params": "FsDeleteParams",
12855
13361
  "result": "FsDeleteResult",
@@ -13073,6 +13579,53 @@
13073
13579
  "INTERNAL"
13074
13580
  ]
13075
13581
  },
13582
+ "models.llm.status": {
13583
+ "params": "ModelsLlmStatusParams",
13584
+ "result": "ModelsLlmStatusResult",
13585
+ "kind": "unary",
13586
+ "since": "1.31",
13587
+ "errors": [
13588
+ "INTERNAL"
13589
+ ]
13590
+ },
13591
+ "models.llm.install": {
13592
+ "params": "ModelsLlmInstallParams",
13593
+ "result": "ModelsLlmInstallResult",
13594
+ "kind": "unary",
13595
+ "since": "1.31",
13596
+ "errors": [
13597
+ "RESOURCE_BUSY",
13598
+ "RESOURCE_GONE",
13599
+ "TIMEOUT",
13600
+ "CANCELLED",
13601
+ "PLATFORM_UNSUPPORTED",
13602
+ "INTERNAL"
13603
+ ]
13604
+ },
13605
+ "models.llm.start": {
13606
+ "params": "ModelsLlmStartParams",
13607
+ "result": "ModelsLlmStartResult",
13608
+ "kind": "unary",
13609
+ "since": "1.31",
13610
+ "errors": [
13611
+ "NOT_FOUND",
13612
+ "RESOURCE_BUSY",
13613
+ "RESOURCE_GONE",
13614
+ "TIMEOUT",
13615
+ "CANCELLED",
13616
+ "PLATFORM_UNSUPPORTED",
13617
+ "INTERNAL"
13618
+ ]
13619
+ },
13620
+ "models.llm.stop": {
13621
+ "params": "ModelsLlmStopParams",
13622
+ "result": "ModelsLlmStopResult",
13623
+ "kind": "unary",
13624
+ "since": "1.31",
13625
+ "errors": [
13626
+ "INTERNAL"
13627
+ ]
13628
+ },
13076
13629
  "apps.list": {
13077
13630
  "params": "AppsListParams",
13078
13631
  "result": "AppsListResult",
@@ -14425,6 +14978,22 @@
14425
14978
  "ml.transcribe": {
14426
14979
  "params": "ModelsTranscribeParams",
14427
14980
  "result": "ModelsTranscribeResult"
14981
+ },
14982
+ "ml.llm_status": {
14983
+ "params": "ModelsLlmStatusParams",
14984
+ "result": "ModelsLlmStatusResult"
14985
+ },
14986
+ "ml.llm_install": {
14987
+ "params": "ModelsLlmInstallParams",
14988
+ "result": "ModelsLlmInstallResult"
14989
+ },
14990
+ "ml.llm_start": {
14991
+ "params": "ModelsLlmStartParams",
14992
+ "result": "ModelsLlmStartResult"
14993
+ },
14994
+ "ml.llm_stop": {
14995
+ "params": "ModelsLlmStopParams",
14996
+ "result": "ModelsLlmStopResult"
14428
14997
  }
14429
14998
  }
14430
14999
  },
@@ -14528,6 +15097,12 @@
14528
15097
  },
14529
15098
  "AppsWindowsUpdateStateResult": {
14530
15099
  "closed_by_update": "1.27"
15100
+ },
15101
+ "AppsProjectsToWindowParams": {
15102
+ "pin": "1.32"
15103
+ },
15104
+ "AppsProjectsToWindowResult": {
15105
+ "pin": "1.32"
14531
15106
  }
14532
15107
  },
14533
15108
  "x-null-since": {
@@ -14536,5 +15111,5 @@
14536
15111
  "olderPeersGet": 0
14537
15112
  }
14538
15113
  },
14539
- "x-protocol-version": "1.29"
15114
+ "x-protocol-version": "1.32"
14540
15115
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/desktop-protocol",
3
- "version": "0.21.25",
3
+ "version": "0.21.26",
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": "7ee2d68e156416d62a043d8f5053ff7f0b5792fc"
140
+ "gitHead": "168545845968c899cbd5ea97b0e4651436b3e7be"
141
141
  }