@ai-matrx/desktop-protocol 0.21.36 → 0.21.37
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 +11 -0
- package/dist/client.cjs +39 -2
- 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 +39 -2
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +59 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +35 -11
- package/dist/index.d.ts +35 -11
- package/dist/index.js +59 -5
- package/dist/index.js.map +1 -1
- package/dist/{models-MgdG4k-4.d.cts → models-B7jYxupg.d.cts} +208 -9
- package/dist/{models-MgdG4k-4.d.ts → models-B7jYxupg.d.ts} +208 -9
- package/dist/react.d.cts +50 -5
- package/dist/react.d.ts +50 -5
- package/generated/desktop-protocol.schema.json +244 -1
- package/package.json +2 -2
|
@@ -1155,6 +1155,13 @@
|
|
|
1155
1155
|
"type": "null"
|
|
1156
1156
|
}
|
|
1157
1157
|
]
|
|
1158
|
+
},
|
|
1159
|
+
"graphics": {
|
|
1160
|
+
"maxItems": 16,
|
|
1161
|
+
"type": "array",
|
|
1162
|
+
"items": {
|
|
1163
|
+
"$ref": "#/$defs/SysinfoGraphicsAdapter"
|
|
1164
|
+
}
|
|
1158
1165
|
}
|
|
1159
1166
|
},
|
|
1160
1167
|
"required": [
|
|
@@ -1169,6 +1176,52 @@
|
|
|
1169
1176
|
],
|
|
1170
1177
|
"additionalProperties": false
|
|
1171
1178
|
},
|
|
1179
|
+
"SysinfoGraphicsAdapter": {
|
|
1180
|
+
"type": "object",
|
|
1181
|
+
"properties": {
|
|
1182
|
+
"name": {
|
|
1183
|
+
"type": "string",
|
|
1184
|
+
"maxLength": 128
|
|
1185
|
+
},
|
|
1186
|
+
"vendor": {
|
|
1187
|
+
"anyOf": [
|
|
1188
|
+
{
|
|
1189
|
+
"type": "string",
|
|
1190
|
+
"maxLength": 64
|
|
1191
|
+
},
|
|
1192
|
+
{
|
|
1193
|
+
"type": "null"
|
|
1194
|
+
}
|
|
1195
|
+
]
|
|
1196
|
+
},
|
|
1197
|
+
"memory_bytes": {
|
|
1198
|
+
"anyOf": [
|
|
1199
|
+
{
|
|
1200
|
+
"type": "integer",
|
|
1201
|
+
"minimum": 0,
|
|
1202
|
+
"maximum": 9007199254740991
|
|
1203
|
+
},
|
|
1204
|
+
{
|
|
1205
|
+
"type": "null"
|
|
1206
|
+
}
|
|
1207
|
+
]
|
|
1208
|
+
},
|
|
1209
|
+
"memory_approximate": {
|
|
1210
|
+
"type": "boolean"
|
|
1211
|
+
},
|
|
1212
|
+
"unified": {
|
|
1213
|
+
"type": "boolean"
|
|
1214
|
+
}
|
|
1215
|
+
},
|
|
1216
|
+
"required": [
|
|
1217
|
+
"name",
|
|
1218
|
+
"vendor",
|
|
1219
|
+
"memory_bytes",
|
|
1220
|
+
"memory_approximate",
|
|
1221
|
+
"unified"
|
|
1222
|
+
],
|
|
1223
|
+
"additionalProperties": false
|
|
1224
|
+
},
|
|
1172
1225
|
"FsKind": {
|
|
1173
1226
|
"type": "string",
|
|
1174
1227
|
"enum": [
|
|
@@ -3601,6 +3654,166 @@
|
|
|
3601
3654
|
],
|
|
3602
3655
|
"additionalProperties": false
|
|
3603
3656
|
},
|
|
3657
|
+
"DownloadKind": {
|
|
3658
|
+
"type": "string",
|
|
3659
|
+
"enum": [
|
|
3660
|
+
"speech_model",
|
|
3661
|
+
"text_model",
|
|
3662
|
+
"runtime"
|
|
3663
|
+
]
|
|
3664
|
+
},
|
|
3665
|
+
"DownloadRow": {
|
|
3666
|
+
"type": "object",
|
|
3667
|
+
"properties": {
|
|
3668
|
+
"key": {
|
|
3669
|
+
"type": "string",
|
|
3670
|
+
"maxLength": 64
|
|
3671
|
+
},
|
|
3672
|
+
"kind": {
|
|
3673
|
+
"$ref": "#/$defs/DownloadKind"
|
|
3674
|
+
},
|
|
3675
|
+
"model": {
|
|
3676
|
+
"anyOf": [
|
|
3677
|
+
{
|
|
3678
|
+
"type": "string",
|
|
3679
|
+
"maxLength": 64
|
|
3680
|
+
},
|
|
3681
|
+
{
|
|
3682
|
+
"type": "null"
|
|
3683
|
+
}
|
|
3684
|
+
]
|
|
3685
|
+
},
|
|
3686
|
+
"state": {
|
|
3687
|
+
"type": "string",
|
|
3688
|
+
"enum": [
|
|
3689
|
+
"running",
|
|
3690
|
+
"stopped"
|
|
3691
|
+
]
|
|
3692
|
+
},
|
|
3693
|
+
"step": {
|
|
3694
|
+
"anyOf": [
|
|
3695
|
+
{
|
|
3696
|
+
"type": "string",
|
|
3697
|
+
"maxLength": 32
|
|
3698
|
+
},
|
|
3699
|
+
{
|
|
3700
|
+
"type": "null"
|
|
3701
|
+
}
|
|
3702
|
+
]
|
|
3703
|
+
},
|
|
3704
|
+
"bytes_done": {
|
|
3705
|
+
"type": "integer",
|
|
3706
|
+
"minimum": 0,
|
|
3707
|
+
"maximum": 9007199254740991
|
|
3708
|
+
},
|
|
3709
|
+
"bytes_total": {
|
|
3710
|
+
"anyOf": [
|
|
3711
|
+
{
|
|
3712
|
+
"type": "integer",
|
|
3713
|
+
"minimum": 0,
|
|
3714
|
+
"maximum": 9007199254740991
|
|
3715
|
+
},
|
|
3716
|
+
{
|
|
3717
|
+
"type": "null"
|
|
3718
|
+
}
|
|
3719
|
+
]
|
|
3720
|
+
},
|
|
3721
|
+
"fraction": {
|
|
3722
|
+
"anyOf": [
|
|
3723
|
+
{
|
|
3724
|
+
"type": "number",
|
|
3725
|
+
"minimum": 0,
|
|
3726
|
+
"maximum": 1
|
|
3727
|
+
},
|
|
3728
|
+
{
|
|
3729
|
+
"type": "null"
|
|
3730
|
+
}
|
|
3731
|
+
]
|
|
3732
|
+
},
|
|
3733
|
+
"started_at": {
|
|
3734
|
+
"anyOf": [
|
|
3735
|
+
{
|
|
3736
|
+
"type": "integer",
|
|
3737
|
+
"minimum": 0,
|
|
3738
|
+
"maximum": 9007199254740991
|
|
3739
|
+
},
|
|
3740
|
+
{
|
|
3741
|
+
"type": "null"
|
|
3742
|
+
}
|
|
3743
|
+
]
|
|
3744
|
+
},
|
|
3745
|
+
"path": {
|
|
3746
|
+
"anyOf": [
|
|
3747
|
+
{
|
|
3748
|
+
"type": "string",
|
|
3749
|
+
"maxLength": 1024
|
|
3750
|
+
},
|
|
3751
|
+
{
|
|
3752
|
+
"type": "null"
|
|
3753
|
+
}
|
|
3754
|
+
]
|
|
3755
|
+
}
|
|
3756
|
+
},
|
|
3757
|
+
"required": [
|
|
3758
|
+
"key",
|
|
3759
|
+
"kind",
|
|
3760
|
+
"model",
|
|
3761
|
+
"state",
|
|
3762
|
+
"step",
|
|
3763
|
+
"bytes_done",
|
|
3764
|
+
"bytes_total",
|
|
3765
|
+
"fraction",
|
|
3766
|
+
"started_at",
|
|
3767
|
+
"path"
|
|
3768
|
+
],
|
|
3769
|
+
"additionalProperties": false
|
|
3770
|
+
},
|
|
3771
|
+
"ModelsDownloadsListParams": {
|
|
3772
|
+
"type": "object",
|
|
3773
|
+
"properties": {},
|
|
3774
|
+
"additionalProperties": false
|
|
3775
|
+
},
|
|
3776
|
+
"ModelsDownloadsListResult": {
|
|
3777
|
+
"type": "object",
|
|
3778
|
+
"properties": {
|
|
3779
|
+
"downloads": {
|
|
3780
|
+
"maxItems": 64,
|
|
3781
|
+
"type": "array",
|
|
3782
|
+
"items": {
|
|
3783
|
+
"$ref": "#/$defs/DownloadRow"
|
|
3784
|
+
}
|
|
3785
|
+
}
|
|
3786
|
+
},
|
|
3787
|
+
"required": [
|
|
3788
|
+
"downloads"
|
|
3789
|
+
],
|
|
3790
|
+
"additionalProperties": false
|
|
3791
|
+
},
|
|
3792
|
+
"ModelsDownloadsCancelParams": {
|
|
3793
|
+
"type": "object",
|
|
3794
|
+
"properties": {
|
|
3795
|
+
"key": {
|
|
3796
|
+
"type": "string",
|
|
3797
|
+
"maxLength": 64
|
|
3798
|
+
}
|
|
3799
|
+
},
|
|
3800
|
+
"required": [
|
|
3801
|
+
"key"
|
|
3802
|
+
],
|
|
3803
|
+
"additionalProperties": false
|
|
3804
|
+
},
|
|
3805
|
+
"ModelsDownloadsCancelResult": {
|
|
3806
|
+
"type": "object",
|
|
3807
|
+
"properties": {
|
|
3808
|
+
"cancelled": {
|
|
3809
|
+
"type": "boolean"
|
|
3810
|
+
}
|
|
3811
|
+
},
|
|
3812
|
+
"required": [
|
|
3813
|
+
"cancelled"
|
|
3814
|
+
],
|
|
3815
|
+
"additionalProperties": false
|
|
3816
|
+
},
|
|
3604
3817
|
"CodingServiceCredentials": {
|
|
3605
3818
|
"type": "object",
|
|
3606
3819
|
"properties": {
|
|
@@ -21912,6 +22125,25 @@
|
|
|
21912
22125
|
"INTERNAL"
|
|
21913
22126
|
]
|
|
21914
22127
|
},
|
|
22128
|
+
"models.downloads.list": {
|
|
22129
|
+
"params": "ModelsDownloadsListParams",
|
|
22130
|
+
"result": "ModelsDownloadsListResult",
|
|
22131
|
+
"kind": "unary",
|
|
22132
|
+
"since": "1.45",
|
|
22133
|
+
"errors": [
|
|
22134
|
+
"INTERNAL"
|
|
22135
|
+
]
|
|
22136
|
+
},
|
|
22137
|
+
"models.downloads.cancel": {
|
|
22138
|
+
"params": "ModelsDownloadsCancelParams",
|
|
22139
|
+
"result": "ModelsDownloadsCancelResult",
|
|
22140
|
+
"kind": "unary",
|
|
22141
|
+
"since": "1.45",
|
|
22142
|
+
"errors": [
|
|
22143
|
+
"NOT_FOUND",
|
|
22144
|
+
"INTERNAL"
|
|
22145
|
+
]
|
|
22146
|
+
},
|
|
21915
22147
|
"apps.list": {
|
|
21916
22148
|
"params": "AppsListParams",
|
|
21917
22149
|
"result": "AppsListResult",
|
|
@@ -24375,6 +24607,14 @@
|
|
|
24375
24607
|
"ml.llm_stop": {
|
|
24376
24608
|
"params": "ModelsLlmStopParams",
|
|
24377
24609
|
"result": "ModelsLlmStopResult"
|
|
24610
|
+
},
|
|
24611
|
+
"ml.downloads": {
|
|
24612
|
+
"params": "ModelsDownloadsListParams",
|
|
24613
|
+
"result": "ModelsDownloadsListResult"
|
|
24614
|
+
},
|
|
24615
|
+
"ml.download_cancel": {
|
|
24616
|
+
"params": "ModelsDownloadsCancelParams",
|
|
24617
|
+
"result": "ModelsDownloadsCancelResult"
|
|
24378
24618
|
}
|
|
24379
24619
|
}
|
|
24380
24620
|
},
|
|
@@ -24539,6 +24779,9 @@
|
|
|
24539
24779
|
},
|
|
24540
24780
|
"MessagesSendParams": {
|
|
24541
24781
|
"service": "1.42"
|
|
24782
|
+
},
|
|
24783
|
+
"SysinfoHardwareResult": {
|
|
24784
|
+
"graphics": "1.45"
|
|
24542
24785
|
}
|
|
24543
24786
|
},
|
|
24544
24787
|
"x-null-since": {
|
|
@@ -24547,5 +24790,5 @@
|
|
|
24547
24790
|
"olderPeersGet": 0
|
|
24548
24791
|
}
|
|
24549
24792
|
},
|
|
24550
|
-
"x-protocol-version": "1.
|
|
24793
|
+
"x-protocol-version": "1.45"
|
|
24551
24794
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-matrx/desktop-protocol",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.37",
|
|
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": "
|
|
140
|
+
"gitHead": "aa17cdaf9ccbb7bb738596152892eebd34641e56"
|
|
141
141
|
}
|