@ai-matrx/desktop-protocol 0.21.73 → 0.21.74
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 +16 -0
- package/dist/{chunk-server-MK77KDKS.js → chunk-server-3L5JNEHY.js} +95 -5
- package/dist/chunk-server-3L5JNEHY.js.map +1 -0
- package/dist/client.cjs +72 -3
- 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 +1 -1
- package/dist/index.cjs +95 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +205 -6
- package/dist/index.d.ts +205 -6
- package/dist/index.js +22 -2
- package/dist/index.js.map +1 -1
- package/dist/{models-ClCrYsEt.d.cts → models-BRm_O6a-.d.cts} +232 -1
- package/dist/{models-ClCrYsEt.d.ts → models-BRm_O6a-.d.ts} +232 -1
- package/dist/react.d.cts +68 -0
- package/dist/react.d.ts +68 -0
- package/generated/desktop-protocol.schema.json +377 -2
- package/package.json +2 -2
- package/dist/chunk-server-MK77KDKS.js.map +0 -1
|
@@ -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}$"
|
|
@@ -14699,6 +15050,13 @@
|
|
|
14699
15050
|
"type": "integer",
|
|
14700
15051
|
"minimum": 0,
|
|
14701
15052
|
"maximum": 9007199254740991
|
|
15053
|
+
},
|
|
15054
|
+
"read_source": {
|
|
15055
|
+
"type": "string",
|
|
15056
|
+
"enum": [
|
|
15057
|
+
"app",
|
|
15058
|
+
"claude_code"
|
|
15059
|
+
]
|
|
14702
15060
|
}
|
|
14703
15061
|
},
|
|
14704
15062
|
"required": [
|
|
@@ -25127,6 +25485,17 @@
|
|
|
25127
25485
|
"INTERNAL"
|
|
25128
25486
|
]
|
|
25129
25487
|
},
|
|
25488
|
+
"apps.setup.list": {
|
|
25489
|
+
"params": "AppsSetupListParams",
|
|
25490
|
+
"result": "AppsSetupListResult",
|
|
25491
|
+
"kind": "unary",
|
|
25492
|
+
"since": "1.73",
|
|
25493
|
+
"errors": [
|
|
25494
|
+
"NOT_FOUND",
|
|
25495
|
+
"PLATFORM_UNSUPPORTED",
|
|
25496
|
+
"INTERNAL"
|
|
25497
|
+
]
|
|
25498
|
+
},
|
|
25130
25499
|
"apps.windows.set_account": {
|
|
25131
25500
|
"params": "AppsWindowsSetAccountParams",
|
|
25132
25501
|
"result": "AppsWindowActionResult",
|
|
@@ -27635,7 +28004,13 @@
|
|
|
27635
28004
|
"AccountUsage": {
|
|
27636
28005
|
"plan": "1.13",
|
|
27637
28006
|
"credits": "1.13",
|
|
27638
|
-
"five_hour_resets_by_ms": "1.25"
|
|
28007
|
+
"five_hour_resets_by_ms": "1.25",
|
|
28008
|
+
"read_source": "1.73"
|
|
28009
|
+
},
|
|
28010
|
+
"AppAccount": {
|
|
28011
|
+
"profile": "1.73",
|
|
28012
|
+
"read_source": "1.73",
|
|
28013
|
+
"session_cost_usd": "1.73"
|
|
27639
28014
|
},
|
|
27640
28015
|
"ResourcesDisk": {
|
|
27641
28016
|
"name": "1.17"
|
|
@@ -27809,5 +28184,5 @@
|
|
|
27809
28184
|
"olderPeersGet": 0
|
|
27810
28185
|
}
|
|
27811
28186
|
},
|
|
27812
|
-
"x-protocol-version": "1.
|
|
28187
|
+
"x-protocol-version": "1.73"
|
|
27813
28188
|
}
|
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.74",
|
|
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": "3165453310fa6d42f3b90249a12d956eeebe7636"
|
|
141
141
|
}
|