@ai-matrx/desktop-protocol 0.21.73 → 0.21.75

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.
@@ -741,6 +741,16 @@
741
741
  "items": {
742
742
  "$ref": "#/$defs/AccountGap"
743
743
  }
744
+ },
745
+ "profile": {
746
+ "$ref": "#/$defs/AccountProfile"
747
+ },
748
+ "read_source": {
749
+ "$ref": "#/$defs/AccountReadSource"
750
+ },
751
+ "session_cost_usd": {
752
+ "type": "number",
753
+ "minimum": 0
744
754
  }
745
755
  },
746
756
  "required": [
@@ -891,6 +901,347 @@
891
901
  ],
892
902
  "additionalProperties": false
893
903
  },
904
+ "AccountReadSource": {
905
+ "type": "string",
906
+ "enum": [
907
+ "app",
908
+ "claude_code"
909
+ ]
910
+ },
911
+ "AccountProfile": {
912
+ "type": "object",
913
+ "properties": {
914
+ "name": {
915
+ "anyOf": [
916
+ {
917
+ "type": "string",
918
+ "maxLength": 200
919
+ },
920
+ {
921
+ "type": "null"
922
+ }
923
+ ]
924
+ },
925
+ "org_name": {
926
+ "anyOf": [
927
+ {
928
+ "type": "string",
929
+ "maxLength": 200
930
+ },
931
+ {
932
+ "type": "null"
933
+ }
934
+ ]
935
+ },
936
+ "org_role": {
937
+ "anyOf": [
938
+ {
939
+ "type": "string",
940
+ "maxLength": 80
941
+ },
942
+ {
943
+ "type": "null"
944
+ }
945
+ ]
946
+ },
947
+ "seat_tier": {
948
+ "anyOf": [
949
+ {
950
+ "type": "string",
951
+ "maxLength": 80
952
+ },
953
+ {
954
+ "type": "null"
955
+ }
956
+ ]
957
+ },
958
+ "rate_limit_tier": {
959
+ "anyOf": [
960
+ {
961
+ "type": "string",
962
+ "maxLength": 120
963
+ },
964
+ {
965
+ "type": "null"
966
+ }
967
+ ]
968
+ },
969
+ "billing": {
970
+ "anyOf": [
971
+ {
972
+ "type": "string",
973
+ "maxLength": 80
974
+ },
975
+ {
976
+ "type": "null"
977
+ }
978
+ ]
979
+ },
980
+ "trial_ends_ms": {
981
+ "anyOf": [
982
+ {
983
+ "type": "integer",
984
+ "minimum": 0,
985
+ "maximum": 9007199254740991
986
+ },
987
+ {
988
+ "type": "null"
989
+ }
990
+ ]
991
+ },
992
+ "subscription": {
993
+ "anyOf": [
994
+ {
995
+ "type": "string",
996
+ "maxLength": 80
997
+ },
998
+ {
999
+ "type": "null"
1000
+ }
1001
+ ]
1002
+ },
1003
+ "source": {
1004
+ "type": "string",
1005
+ "maxLength": 200
1006
+ },
1007
+ "as_of_ms": {
1008
+ "anyOf": [
1009
+ {
1010
+ "type": "integer",
1011
+ "minimum": 0,
1012
+ "maximum": 9007199254740991
1013
+ },
1014
+ {
1015
+ "type": "null"
1016
+ }
1017
+ ]
1018
+ }
1019
+ },
1020
+ "required": [
1021
+ "name",
1022
+ "org_name",
1023
+ "org_role",
1024
+ "seat_tier",
1025
+ "rate_limit_tier",
1026
+ "billing",
1027
+ "trial_ends_ms",
1028
+ "subscription",
1029
+ "source",
1030
+ "as_of_ms"
1031
+ ],
1032
+ "additionalProperties": false
1033
+ },
1034
+ "McpTransport": {
1035
+ "type": "string",
1036
+ "enum": [
1037
+ "stdio",
1038
+ "http",
1039
+ "sse",
1040
+ "unknown"
1041
+ ]
1042
+ },
1043
+ "McpServerRow": {
1044
+ "type": "object",
1045
+ "properties": {
1046
+ "app_key": {
1047
+ "$ref": "#/$defs/AppKey"
1048
+ },
1049
+ "instance": {
1050
+ "type": "string",
1051
+ "maxLength": 120
1052
+ },
1053
+ "name": {
1054
+ "type": "string",
1055
+ "maxLength": 200
1056
+ },
1057
+ "transport": {
1058
+ "$ref": "#/$defs/McpTransport"
1059
+ },
1060
+ "target": {
1061
+ "anyOf": [
1062
+ {
1063
+ "type": "string",
1064
+ "maxLength": 400
1065
+ },
1066
+ {
1067
+ "type": "null"
1068
+ }
1069
+ ]
1070
+ },
1071
+ "scope": {
1072
+ "type": "string",
1073
+ "maxLength": 400
1074
+ },
1075
+ "enabled": {
1076
+ "type": [
1077
+ "boolean",
1078
+ "null"
1079
+ ]
1080
+ },
1081
+ "where": {
1082
+ "type": "string",
1083
+ "maxLength": 400
1084
+ }
1085
+ },
1086
+ "required": [
1087
+ "app_key",
1088
+ "instance",
1089
+ "name",
1090
+ "transport",
1091
+ "target",
1092
+ "scope",
1093
+ "enabled",
1094
+ "where"
1095
+ ],
1096
+ "additionalProperties": false
1097
+ },
1098
+ "SetupFact": {
1099
+ "type": "object",
1100
+ "properties": {
1101
+ "name": {
1102
+ "type": "string",
1103
+ "maxLength": 80
1104
+ },
1105
+ "value": {
1106
+ "type": "string",
1107
+ "maxLength": 300
1108
+ }
1109
+ },
1110
+ "required": [
1111
+ "name",
1112
+ "value"
1113
+ ],
1114
+ "additionalProperties": false
1115
+ },
1116
+ "SetupItemKind": {
1117
+ "type": "string",
1118
+ "enum": [
1119
+ "extension",
1120
+ "plugin",
1121
+ "marketplace",
1122
+ "model"
1123
+ ]
1124
+ },
1125
+ "SetupItem": {
1126
+ "type": "object",
1127
+ "properties": {
1128
+ "kind": {
1129
+ "$ref": "#/$defs/SetupItemKind"
1130
+ },
1131
+ "name": {
1132
+ "type": "string",
1133
+ "maxLength": 200
1134
+ },
1135
+ "version": {
1136
+ "anyOf": [
1137
+ {
1138
+ "type": "string",
1139
+ "maxLength": 80
1140
+ },
1141
+ {
1142
+ "type": "null"
1143
+ }
1144
+ ]
1145
+ },
1146
+ "enabled": {
1147
+ "type": [
1148
+ "boolean",
1149
+ "null"
1150
+ ]
1151
+ }
1152
+ },
1153
+ "required": [
1154
+ "kind",
1155
+ "name",
1156
+ "version",
1157
+ "enabled"
1158
+ ],
1159
+ "additionalProperties": false
1160
+ },
1161
+ "AppSetup": {
1162
+ "type": "object",
1163
+ "properties": {
1164
+ "app_key": {
1165
+ "$ref": "#/$defs/AppKey"
1166
+ },
1167
+ "instance": {
1168
+ "type": "string",
1169
+ "maxLength": 120
1170
+ },
1171
+ "where": {
1172
+ "type": "string",
1173
+ "maxLength": 400
1174
+ },
1175
+ "facts": {
1176
+ "maxItems": 60,
1177
+ "type": "array",
1178
+ "items": {
1179
+ "$ref": "#/$defs/SetupFact"
1180
+ }
1181
+ },
1182
+ "items": {
1183
+ "maxItems": 2000,
1184
+ "type": "array",
1185
+ "items": {
1186
+ "$ref": "#/$defs/SetupItem"
1187
+ }
1188
+ },
1189
+ "problems": {
1190
+ "maxItems": 20,
1191
+ "type": "array",
1192
+ "items": {
1193
+ "type": "string",
1194
+ "maxLength": 300
1195
+ }
1196
+ }
1197
+ },
1198
+ "required": [
1199
+ "app_key",
1200
+ "instance",
1201
+ "where",
1202
+ "facts",
1203
+ "items",
1204
+ "problems"
1205
+ ],
1206
+ "additionalProperties": false
1207
+ },
1208
+ "AppsSetupListParams": {
1209
+ "type": "object",
1210
+ "properties": {
1211
+ "app_key": {
1212
+ "$ref": "#/$defs/AppKey"
1213
+ }
1214
+ },
1215
+ "additionalProperties": false
1216
+ },
1217
+ "AppsSetupListResult": {
1218
+ "type": "object",
1219
+ "properties": {
1220
+ "setups": {
1221
+ "maxItems": 200,
1222
+ "type": "array",
1223
+ "items": {
1224
+ "$ref": "#/$defs/AppSetup"
1225
+ }
1226
+ },
1227
+ "mcp": {
1228
+ "maxItems": 2000,
1229
+ "type": "array",
1230
+ "items": {
1231
+ "$ref": "#/$defs/McpServerRow"
1232
+ }
1233
+ },
1234
+ "problem": {
1235
+ "type": "string",
1236
+ "maxLength": 400
1237
+ }
1238
+ },
1239
+ "required": [
1240
+ "setups",
1241
+ "mcp"
1242
+ ],
1243
+ "additionalProperties": false
1244
+ },
894
1245
  "ProtocolVersion": {
895
1246
  "type": "string",
896
1247
  "pattern": "^[1-9][0-9]{0,2}\\.[0-9]{1,3}$"
@@ -4977,6 +5328,141 @@
4977
5328
  ],
4978
5329
  "additionalProperties": false
4979
5330
  },
5331
+ "LocalModelKind": {
5332
+ "type": "string",
5333
+ "enum": [
5334
+ "text",
5335
+ "speech"
5336
+ ]
5337
+ },
5338
+ "LocalModelRow": {
5339
+ "type": "object",
5340
+ "properties": {
5341
+ "kind": {
5342
+ "$ref": "#/$defs/LocalModelKind"
5343
+ },
5344
+ "model": {
5345
+ "$ref": "#/$defs/ModelKey"
5346
+ },
5347
+ "path": {
5348
+ "type": "string",
5349
+ "maxLength": 1024
5350
+ },
5351
+ "size_bytes": {
5352
+ "type": "integer",
5353
+ "minimum": 0,
5354
+ "maximum": 9007199254740991
5355
+ },
5356
+ "freed_bytes": {
5357
+ "type": "integer",
5358
+ "minimum": 0,
5359
+ "maximum": 9007199254740991
5360
+ },
5361
+ "in_place": {
5362
+ "type": "boolean"
5363
+ },
5364
+ "source": {
5365
+ "anyOf": [
5366
+ {
5367
+ "type": "string",
5368
+ "maxLength": 1024
5369
+ },
5370
+ {
5371
+ "type": "null"
5372
+ }
5373
+ ]
5374
+ },
5375
+ "running": {
5376
+ "type": "boolean"
5377
+ }
5378
+ },
5379
+ "required": [
5380
+ "kind",
5381
+ "model",
5382
+ "path",
5383
+ "size_bytes",
5384
+ "freed_bytes",
5385
+ "in_place",
5386
+ "source",
5387
+ "running"
5388
+ ],
5389
+ "additionalProperties": false
5390
+ },
5391
+ "ModelsLocalListParams": {
5392
+ "type": "object",
5393
+ "properties": {},
5394
+ "additionalProperties": false
5395
+ },
5396
+ "ModelsLocalListResult": {
5397
+ "type": "object",
5398
+ "properties": {
5399
+ "models": {
5400
+ "maxItems": 1024,
5401
+ "type": "array",
5402
+ "items": {
5403
+ "$ref": "#/$defs/LocalModelRow"
5404
+ }
5405
+ }
5406
+ },
5407
+ "required": [
5408
+ "models"
5409
+ ],
5410
+ "additionalProperties": false
5411
+ },
5412
+ "ModelsLocalRemoveParams": {
5413
+ "type": "object",
5414
+ "properties": {
5415
+ "kind": {
5416
+ "$ref": "#/$defs/LocalModelKind"
5417
+ },
5418
+ "model": {
5419
+ "$ref": "#/$defs/ModelKey"
5420
+ }
5421
+ },
5422
+ "required": [
5423
+ "kind",
5424
+ "model"
5425
+ ],
5426
+ "additionalProperties": false
5427
+ },
5428
+ "ModelsLocalRemoveResult": {
5429
+ "type": "object",
5430
+ "properties": {
5431
+ "kind": {
5432
+ "$ref": "#/$defs/LocalModelKind"
5433
+ },
5434
+ "model": {
5435
+ "$ref": "#/$defs/ModelKey"
5436
+ },
5437
+ "freed_bytes": {
5438
+ "type": "integer",
5439
+ "minimum": 0,
5440
+ "maximum": 9007199254740991
5441
+ },
5442
+ "stopped": {
5443
+ "type": "boolean"
5444
+ },
5445
+ "kept": {
5446
+ "anyOf": [
5447
+ {
5448
+ "type": "string",
5449
+ "maxLength": 1024
5450
+ },
5451
+ {
5452
+ "type": "null"
5453
+ }
5454
+ ]
5455
+ }
5456
+ },
5457
+ "required": [
5458
+ "kind",
5459
+ "model",
5460
+ "freed_bytes",
5461
+ "stopped",
5462
+ "kept"
5463
+ ],
5464
+ "additionalProperties": false
5465
+ },
4980
5466
  "CodingServiceCredentials": {
4981
5467
  "type": "object",
4982
5468
  "properties": {
@@ -14699,6 +15185,13 @@
14699
15185
  "type": "integer",
14700
15186
  "minimum": 0,
14701
15187
  "maximum": 9007199254740991
15188
+ },
15189
+ "read_source": {
15190
+ "type": "string",
15191
+ "enum": [
15192
+ "app",
15193
+ "claude_code"
15194
+ ]
14702
15195
  }
14703
15196
  },
14704
15197
  "required": [
@@ -24827,6 +25320,27 @@
24827
25320
  "INTERNAL"
24828
25321
  ]
24829
25322
  },
25323
+ "models.local.list": {
25324
+ "params": "ModelsLocalListParams",
25325
+ "result": "ModelsLocalListResult",
25326
+ "kind": "unary",
25327
+ "since": "1.74",
25328
+ "errors": [
25329
+ "INTERNAL"
25330
+ ]
25331
+ },
25332
+ "models.local.remove": {
25333
+ "params": "ModelsLocalRemoveParams",
25334
+ "result": "ModelsLocalRemoveResult",
25335
+ "kind": "unary",
25336
+ "since": "1.74",
25337
+ "errors": [
25338
+ "NOT_FOUND",
25339
+ "INVALID_PARAMS",
25340
+ "RESOURCE_BUSY",
25341
+ "INTERNAL"
25342
+ ]
25343
+ },
24830
25344
  "apps.list": {
24831
25345
  "params": "AppsListParams",
24832
25346
  "result": "AppsListResult",
@@ -25127,6 +25641,17 @@
25127
25641
  "INTERNAL"
25128
25642
  ]
25129
25643
  },
25644
+ "apps.setup.list": {
25645
+ "params": "AppsSetupListParams",
25646
+ "result": "AppsSetupListResult",
25647
+ "kind": "unary",
25648
+ "since": "1.73",
25649
+ "errors": [
25650
+ "NOT_FOUND",
25651
+ "PLATFORM_UNSUPPORTED",
25652
+ "INTERNAL"
25653
+ ]
25654
+ },
25130
25655
  "apps.windows.set_account": {
25131
25656
  "params": "AppsWindowsSetAccountParams",
25132
25657
  "result": "AppsWindowActionResult",
@@ -27463,6 +27988,14 @@
27463
27988
  "params": "ModelsDownloadsCancelParams",
27464
27989
  "result": "ModelsDownloadsCancelResult"
27465
27990
  },
27991
+ "ml.local_list": {
27992
+ "params": "ModelsLocalListParams",
27993
+ "result": "ModelsLocalListResult"
27994
+ },
27995
+ "ml.local_remove": {
27996
+ "params": "ModelsLocalRemoveParams",
27997
+ "result": "ModelsLocalRemoveResult"
27998
+ },
27466
27999
  "ml.catalog_set": {
27467
28000
  "params": "MlCatalogSetParams",
27468
28001
  "result": "MlCatalogSetResult"
@@ -27635,7 +28168,13 @@
27635
28168
  "AccountUsage": {
27636
28169
  "plan": "1.13",
27637
28170
  "credits": "1.13",
27638
- "five_hour_resets_by_ms": "1.25"
28171
+ "five_hour_resets_by_ms": "1.25",
28172
+ "read_source": "1.73"
28173
+ },
28174
+ "AppAccount": {
28175
+ "profile": "1.73",
28176
+ "read_source": "1.73",
28177
+ "session_cost_usd": "1.73"
27639
28178
  },
27640
28179
  "ResourcesDisk": {
27641
28180
  "name": "1.17"
@@ -27809,5 +28348,5 @@
27809
28348
  "olderPeersGet": 0
27810
28349
  }
27811
28350
  },
27812
- "x-protocol-version": "1.72"
28351
+ "x-protocol-version": "1.74"
27813
28352
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/desktop-protocol",
3
- "version": "0.21.73",
3
+ "version": "0.21.75",
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": "aa4f979a765a180fe77d3a0a758f022fc030f7d8"
140
+ "gitHead": "e3e37ab10ce906491f59e449c33141d579bb7ccc"
141
141
  }