@ai-matrx/desktop-protocol 0.21.62 → 0.21.64
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 +17 -1
- package/dist/{chunk-server-EQCCXWD7.js → chunk-server-B5W6NL7W.js} +64 -2
- package/dist/chunk-server-B5W6NL7W.js.map +1 -0
- package/dist/client.cjs +36 -1
- 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 +64 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +104 -6
- package/dist/index.d.ts +104 -6
- package/dist/index.js +16 -2
- package/dist/index.js.map +1 -1
- package/dist/{models-yHB4kGxD.d.cts → models-B13QkIMu.d.cts} +156 -1
- package/dist/{models-yHB4kGxD.d.ts → models-B13QkIMu.d.ts} +156 -1
- package/dist/react.d.cts +76 -0
- package/dist/react.d.ts +76 -0
- package/generated/desktop-protocol.schema.json +302 -1
- package/package.json +2 -2
- package/dist/chunk-server-EQCCXWD7.js.map +0 -1
|
@@ -6023,6 +6023,46 @@
|
|
|
6023
6023
|
],
|
|
6024
6024
|
"additionalProperties": false
|
|
6025
6025
|
},
|
|
6026
|
+
{
|
|
6027
|
+
"type": "object",
|
|
6028
|
+
"properties": {
|
|
6029
|
+
"kind": {
|
|
6030
|
+
"type": "string",
|
|
6031
|
+
"const": "continued"
|
|
6032
|
+
},
|
|
6033
|
+
"id": {
|
|
6034
|
+
"type": "string",
|
|
6035
|
+
"maxLength": 200
|
|
6036
|
+
},
|
|
6037
|
+
"from": {
|
|
6038
|
+
"type": "string",
|
|
6039
|
+
"maxLength": 300
|
|
6040
|
+
},
|
|
6041
|
+
"text": {
|
|
6042
|
+
"type": "string"
|
|
6043
|
+
},
|
|
6044
|
+
"at": {
|
|
6045
|
+
"anyOf": [
|
|
6046
|
+
{
|
|
6047
|
+
"type": "string",
|
|
6048
|
+
"minLength": 10,
|
|
6049
|
+
"maxLength": 40
|
|
6050
|
+
},
|
|
6051
|
+
{
|
|
6052
|
+
"type": "null"
|
|
6053
|
+
}
|
|
6054
|
+
]
|
|
6055
|
+
}
|
|
6056
|
+
},
|
|
6057
|
+
"required": [
|
|
6058
|
+
"kind",
|
|
6059
|
+
"id",
|
|
6060
|
+
"from",
|
|
6061
|
+
"text",
|
|
6062
|
+
"at"
|
|
6063
|
+
],
|
|
6064
|
+
"additionalProperties": false
|
|
6065
|
+
},
|
|
6026
6066
|
{
|
|
6027
6067
|
"type": "object",
|
|
6028
6068
|
"properties": {
|
|
@@ -19073,6 +19113,234 @@
|
|
|
19073
19113
|
],
|
|
19074
19114
|
"additionalProperties": false
|
|
19075
19115
|
},
|
|
19116
|
+
"AccountAgentVersion": {
|
|
19117
|
+
"type": "object",
|
|
19118
|
+
"properties": {
|
|
19119
|
+
"version_id": {
|
|
19120
|
+
"$ref": "#/$defs/AccountRowId"
|
|
19121
|
+
},
|
|
19122
|
+
"version_number": {
|
|
19123
|
+
"type": "integer",
|
|
19124
|
+
"minimum": 1,
|
|
19125
|
+
"maximum": 9007199254740991
|
|
19126
|
+
},
|
|
19127
|
+
"changed_at_ms": {
|
|
19128
|
+
"type": "integer",
|
|
19129
|
+
"minimum": 0,
|
|
19130
|
+
"maximum": 9007199254740991
|
|
19131
|
+
},
|
|
19132
|
+
"note": {
|
|
19133
|
+
"anyOf": [
|
|
19134
|
+
{
|
|
19135
|
+
"type": "string",
|
|
19136
|
+
"maxLength": 1000
|
|
19137
|
+
},
|
|
19138
|
+
{
|
|
19139
|
+
"type": "null"
|
|
19140
|
+
}
|
|
19141
|
+
]
|
|
19142
|
+
}
|
|
19143
|
+
},
|
|
19144
|
+
"required": [
|
|
19145
|
+
"version_id",
|
|
19146
|
+
"version_number",
|
|
19147
|
+
"changed_at_ms",
|
|
19148
|
+
"note"
|
|
19149
|
+
],
|
|
19150
|
+
"additionalProperties": false
|
|
19151
|
+
},
|
|
19152
|
+
"AccountAgentsVersionsParams": {
|
|
19153
|
+
"type": "object",
|
|
19154
|
+
"properties": {
|
|
19155
|
+
"agent_id": {
|
|
19156
|
+
"$ref": "#/$defs/AccountRowId"
|
|
19157
|
+
},
|
|
19158
|
+
"offset": {
|
|
19159
|
+
"type": "integer",
|
|
19160
|
+
"minimum": 0,
|
|
19161
|
+
"maximum": 100000
|
|
19162
|
+
},
|
|
19163
|
+
"limit": {
|
|
19164
|
+
"type": "integer",
|
|
19165
|
+
"minimum": 1,
|
|
19166
|
+
"maximum": 200
|
|
19167
|
+
}
|
|
19168
|
+
},
|
|
19169
|
+
"required": [
|
|
19170
|
+
"agent_id"
|
|
19171
|
+
],
|
|
19172
|
+
"additionalProperties": false
|
|
19173
|
+
},
|
|
19174
|
+
"AccountAgentsVersionsResult": {
|
|
19175
|
+
"type": "object",
|
|
19176
|
+
"properties": {
|
|
19177
|
+
"state": {
|
|
19178
|
+
"$ref": "#/$defs/AccountReadState"
|
|
19179
|
+
},
|
|
19180
|
+
"problem": {
|
|
19181
|
+
"anyOf": [
|
|
19182
|
+
{
|
|
19183
|
+
"type": "string",
|
|
19184
|
+
"maxLength": 300
|
|
19185
|
+
},
|
|
19186
|
+
{
|
|
19187
|
+
"type": "null"
|
|
19188
|
+
}
|
|
19189
|
+
]
|
|
19190
|
+
},
|
|
19191
|
+
"current_version": {
|
|
19192
|
+
"anyOf": [
|
|
19193
|
+
{
|
|
19194
|
+
"type": "integer",
|
|
19195
|
+
"minimum": 1,
|
|
19196
|
+
"maximum": 9007199254740991
|
|
19197
|
+
},
|
|
19198
|
+
{
|
|
19199
|
+
"type": "null"
|
|
19200
|
+
}
|
|
19201
|
+
]
|
|
19202
|
+
},
|
|
19203
|
+
"rows": {
|
|
19204
|
+
"maxItems": 200,
|
|
19205
|
+
"type": "array",
|
|
19206
|
+
"items": {
|
|
19207
|
+
"$ref": "#/$defs/AccountAgentVersion"
|
|
19208
|
+
}
|
|
19209
|
+
}
|
|
19210
|
+
},
|
|
19211
|
+
"required": [
|
|
19212
|
+
"state",
|
|
19213
|
+
"problem",
|
|
19214
|
+
"current_version",
|
|
19215
|
+
"rows"
|
|
19216
|
+
],
|
|
19217
|
+
"additionalProperties": false
|
|
19218
|
+
},
|
|
19219
|
+
"AccountAgentsVersionDiffParams": {
|
|
19220
|
+
"type": "object",
|
|
19221
|
+
"properties": {
|
|
19222
|
+
"agent_id": {
|
|
19223
|
+
"$ref": "#/$defs/AccountRowId"
|
|
19224
|
+
},
|
|
19225
|
+
"version_number": {
|
|
19226
|
+
"type": "integer",
|
|
19227
|
+
"minimum": 1,
|
|
19228
|
+
"maximum": 9007199254740991
|
|
19229
|
+
}
|
|
19230
|
+
},
|
|
19231
|
+
"required": [
|
|
19232
|
+
"agent_id",
|
|
19233
|
+
"version_number"
|
|
19234
|
+
],
|
|
19235
|
+
"additionalProperties": false
|
|
19236
|
+
},
|
|
19237
|
+
"AccountAgentsVersionDiffResult": {
|
|
19238
|
+
"type": "object",
|
|
19239
|
+
"properties": {
|
|
19240
|
+
"state": {
|
|
19241
|
+
"$ref": "#/$defs/AccountReadState"
|
|
19242
|
+
},
|
|
19243
|
+
"problem": {
|
|
19244
|
+
"anyOf": [
|
|
19245
|
+
{
|
|
19246
|
+
"type": "string",
|
|
19247
|
+
"maxLength": 300
|
|
19248
|
+
},
|
|
19249
|
+
{
|
|
19250
|
+
"type": "null"
|
|
19251
|
+
}
|
|
19252
|
+
]
|
|
19253
|
+
},
|
|
19254
|
+
"version_number": {
|
|
19255
|
+
"type": "integer",
|
|
19256
|
+
"minimum": 1,
|
|
19257
|
+
"maximum": 9007199254740991
|
|
19258
|
+
},
|
|
19259
|
+
"current_version": {
|
|
19260
|
+
"anyOf": [
|
|
19261
|
+
{
|
|
19262
|
+
"type": "integer",
|
|
19263
|
+
"minimum": 1,
|
|
19264
|
+
"maximum": 9007199254740991
|
|
19265
|
+
},
|
|
19266
|
+
{
|
|
19267
|
+
"type": "null"
|
|
19268
|
+
}
|
|
19269
|
+
]
|
|
19270
|
+
},
|
|
19271
|
+
"old": {
|
|
19272
|
+
"anyOf": [
|
|
19273
|
+
{
|
|
19274
|
+
"type": "object",
|
|
19275
|
+
"propertyNames": {
|
|
19276
|
+
"type": "string",
|
|
19277
|
+
"maxLength": 200
|
|
19278
|
+
},
|
|
19279
|
+
"additionalProperties": {}
|
|
19280
|
+
},
|
|
19281
|
+
{
|
|
19282
|
+
"type": "null"
|
|
19283
|
+
}
|
|
19284
|
+
]
|
|
19285
|
+
},
|
|
19286
|
+
"current": {
|
|
19287
|
+
"anyOf": [
|
|
19288
|
+
{
|
|
19289
|
+
"type": "object",
|
|
19290
|
+
"propertyNames": {
|
|
19291
|
+
"type": "string",
|
|
19292
|
+
"maxLength": 200
|
|
19293
|
+
},
|
|
19294
|
+
"additionalProperties": {}
|
|
19295
|
+
},
|
|
19296
|
+
{
|
|
19297
|
+
"type": "null"
|
|
19298
|
+
}
|
|
19299
|
+
]
|
|
19300
|
+
}
|
|
19301
|
+
},
|
|
19302
|
+
"required": [
|
|
19303
|
+
"state",
|
|
19304
|
+
"problem",
|
|
19305
|
+
"version_number",
|
|
19306
|
+
"current_version",
|
|
19307
|
+
"old",
|
|
19308
|
+
"current"
|
|
19309
|
+
],
|
|
19310
|
+
"additionalProperties": false
|
|
19311
|
+
},
|
|
19312
|
+
"AccountAgentsRestoreVersionParams": {
|
|
19313
|
+
"type": "object",
|
|
19314
|
+
"properties": {
|
|
19315
|
+
"agent_id": {
|
|
19316
|
+
"$ref": "#/$defs/AccountRowId"
|
|
19317
|
+
},
|
|
19318
|
+
"version_number": {
|
|
19319
|
+
"type": "integer",
|
|
19320
|
+
"minimum": 1,
|
|
19321
|
+
"maximum": 9007199254740991
|
|
19322
|
+
}
|
|
19323
|
+
},
|
|
19324
|
+
"required": [
|
|
19325
|
+
"agent_id",
|
|
19326
|
+
"version_number"
|
|
19327
|
+
],
|
|
19328
|
+
"additionalProperties": false
|
|
19329
|
+
},
|
|
19330
|
+
"AccountAgentsRestoreVersionResult": {
|
|
19331
|
+
"type": "object",
|
|
19332
|
+
"properties": {
|
|
19333
|
+
"restored_version": {
|
|
19334
|
+
"type": "integer",
|
|
19335
|
+
"minimum": 1,
|
|
19336
|
+
"maximum": 9007199254740991
|
|
19337
|
+
}
|
|
19338
|
+
},
|
|
19339
|
+
"required": [
|
|
19340
|
+
"restored_version"
|
|
19341
|
+
],
|
|
19342
|
+
"additionalProperties": false
|
|
19343
|
+
},
|
|
19076
19344
|
"AppsWindowsUpdateStateParams": {
|
|
19077
19345
|
"type": "object",
|
|
19078
19346
|
"properties": {
|
|
@@ -25658,6 +25926,39 @@
|
|
|
25658
25926
|
"INTERNAL"
|
|
25659
25927
|
]
|
|
25660
25928
|
},
|
|
25929
|
+
"account.agents.versions": {
|
|
25930
|
+
"params": "AccountAgentsVersionsParams",
|
|
25931
|
+
"result": "AccountAgentsVersionsResult",
|
|
25932
|
+
"kind": "unary",
|
|
25933
|
+
"since": "1.64",
|
|
25934
|
+
"errors": [
|
|
25935
|
+
"INVALID_PARAMS",
|
|
25936
|
+
"INTERNAL"
|
|
25937
|
+
]
|
|
25938
|
+
},
|
|
25939
|
+
"account.agents.version_diff": {
|
|
25940
|
+
"params": "AccountAgentsVersionDiffParams",
|
|
25941
|
+
"result": "AccountAgentsVersionDiffResult",
|
|
25942
|
+
"kind": "unary",
|
|
25943
|
+
"since": "1.64",
|
|
25944
|
+
"errors": [
|
|
25945
|
+
"INVALID_PARAMS",
|
|
25946
|
+
"INTERNAL"
|
|
25947
|
+
]
|
|
25948
|
+
},
|
|
25949
|
+
"account.agents.restore_version": {
|
|
25950
|
+
"params": "AccountAgentsRestoreVersionParams",
|
|
25951
|
+
"result": "AccountAgentsRestoreVersionResult",
|
|
25952
|
+
"kind": "unary",
|
|
25953
|
+
"since": "1.64",
|
|
25954
|
+
"errors": [
|
|
25955
|
+
"AUTH_REQUIRED",
|
|
25956
|
+
"NOT_FOUND",
|
|
25957
|
+
"INVALID_PARAMS",
|
|
25958
|
+
"DEVICE_OFFLINE",
|
|
25959
|
+
"INTERNAL"
|
|
25960
|
+
]
|
|
25961
|
+
},
|
|
25661
25962
|
"apps.windows.update_state": {
|
|
25662
25963
|
"params": "AppsWindowsUpdateStateParams",
|
|
25663
25964
|
"result": "AppsWindowsUpdateStateResult",
|
|
@@ -26731,5 +27032,5 @@
|
|
|
26731
27032
|
"olderPeersGet": 0
|
|
26732
27033
|
}
|
|
26733
27034
|
},
|
|
26734
|
-
"x-protocol-version": "1.
|
|
27035
|
+
"x-protocol-version": "1.65"
|
|
26735
27036
|
}
|
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.64",
|
|
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": "8d4dfed0d75e598d38d5f38d97e845aee73e1653"
|
|
141
141
|
}
|