@ai-matrx/desktop-protocol 0.21.62 → 0.21.65
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 +29 -3
- package/dist/{chunk-server-EQCCXWD7.js → chunk-server-K7IQDLLV.js} +99 -7
- package/dist/chunk-server-K7IQDLLV.js.map +1 -0
- package/dist/client.cjs +63 -6
- 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 +99 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +151 -6
- package/dist/index.d.ts +151 -6
- package/dist/index.js +18 -2
- package/dist/index.js.map +1 -1
- package/dist/{models-yHB4kGxD.d.cts → models-Bz990hcd.d.cts} +193 -1
- package/dist/{models-yHB4kGxD.d.ts → models-Bz990hcd.d.ts} +193 -1
- package/dist/react.d.cts +92 -0
- package/dist/react.d.ts +92 -0
- package/generated/desktop-protocol.schema.json +366 -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": {
|
|
@@ -9542,6 +9582,11 @@
|
|
|
9542
9582
|
"minLength": 1,
|
|
9543
9583
|
"maxLength": 256
|
|
9544
9584
|
},
|
|
9585
|
+
"app": {
|
|
9586
|
+
"type": "string",
|
|
9587
|
+
"minLength": 1,
|
|
9588
|
+
"maxLength": 256
|
|
9589
|
+
},
|
|
9545
9590
|
"limit": {
|
|
9546
9591
|
"default": 100,
|
|
9547
9592
|
"type": "integer",
|
|
@@ -9656,6 +9701,9 @@
|
|
|
9656
9701
|
"type": "integer",
|
|
9657
9702
|
"minimum": 0,
|
|
9658
9703
|
"maximum": 9007199254740991
|
|
9704
|
+
},
|
|
9705
|
+
"mode": {
|
|
9706
|
+
"$ref": "#/$defs/WindowState"
|
|
9659
9707
|
}
|
|
9660
9708
|
},
|
|
9661
9709
|
"required": [
|
|
@@ -9670,6 +9718,9 @@
|
|
|
9670
9718
|
"type": "integer",
|
|
9671
9719
|
"minimum": 0,
|
|
9672
9720
|
"maximum": 9007199254740991
|
|
9721
|
+
},
|
|
9722
|
+
"mode": {
|
|
9723
|
+
"$ref": "#/$defs/WindowState"
|
|
9673
9724
|
}
|
|
9674
9725
|
},
|
|
9675
9726
|
"required": [
|
|
@@ -9677,6 +9728,14 @@
|
|
|
9677
9728
|
],
|
|
9678
9729
|
"additionalProperties": false
|
|
9679
9730
|
},
|
|
9731
|
+
"WindowState": {
|
|
9732
|
+
"type": "string",
|
|
9733
|
+
"enum": [
|
|
9734
|
+
"minimize",
|
|
9735
|
+
"maximize",
|
|
9736
|
+
"restore"
|
|
9737
|
+
]
|
|
9738
|
+
},
|
|
9680
9739
|
"InputKey": {
|
|
9681
9740
|
"type": "string",
|
|
9682
9741
|
"enum": [
|
|
@@ -11052,6 +11111,16 @@
|
|
|
11052
11111
|
},
|
|
11053
11112
|
"path": {
|
|
11054
11113
|
"$ref": "#/$defs/AbsPath"
|
|
11114
|
+
},
|
|
11115
|
+
"channels": {
|
|
11116
|
+
"type": "integer",
|
|
11117
|
+
"minimum": 1,
|
|
11118
|
+
"maximum": 2
|
|
11119
|
+
},
|
|
11120
|
+
"sample_rate": {
|
|
11121
|
+
"type": "integer",
|
|
11122
|
+
"minimum": 8000,
|
|
11123
|
+
"maximum": 192000
|
|
11055
11124
|
}
|
|
11056
11125
|
},
|
|
11057
11126
|
"required": [
|
|
@@ -11078,6 +11147,16 @@
|
|
|
11078
11147
|
"type": "number",
|
|
11079
11148
|
"minimum": 0,
|
|
11080
11149
|
"maximum": 1
|
|
11150
|
+
},
|
|
11151
|
+
"channels": {
|
|
11152
|
+
"type": "integer",
|
|
11153
|
+
"minimum": 1,
|
|
11154
|
+
"maximum": 8
|
|
11155
|
+
},
|
|
11156
|
+
"sample_rate": {
|
|
11157
|
+
"type": "integer",
|
|
11158
|
+
"minimum": 1,
|
|
11159
|
+
"maximum": 768000
|
|
11081
11160
|
}
|
|
11082
11161
|
},
|
|
11083
11162
|
"required": [
|
|
@@ -11093,6 +11172,11 @@
|
|
|
11093
11172
|
"properties": {
|
|
11094
11173
|
"path": {
|
|
11095
11174
|
"$ref": "#/$defs/AbsPath"
|
|
11175
|
+
},
|
|
11176
|
+
"device_id": {
|
|
11177
|
+
"type": "string",
|
|
11178
|
+
"minLength": 1,
|
|
11179
|
+
"maxLength": 256
|
|
11096
11180
|
}
|
|
11097
11181
|
},
|
|
11098
11182
|
"required": [
|
|
@@ -19073,6 +19157,234 @@
|
|
|
19073
19157
|
],
|
|
19074
19158
|
"additionalProperties": false
|
|
19075
19159
|
},
|
|
19160
|
+
"AccountAgentVersion": {
|
|
19161
|
+
"type": "object",
|
|
19162
|
+
"properties": {
|
|
19163
|
+
"version_id": {
|
|
19164
|
+
"$ref": "#/$defs/AccountRowId"
|
|
19165
|
+
},
|
|
19166
|
+
"version_number": {
|
|
19167
|
+
"type": "integer",
|
|
19168
|
+
"minimum": 1,
|
|
19169
|
+
"maximum": 9007199254740991
|
|
19170
|
+
},
|
|
19171
|
+
"changed_at_ms": {
|
|
19172
|
+
"type": "integer",
|
|
19173
|
+
"minimum": 0,
|
|
19174
|
+
"maximum": 9007199254740991
|
|
19175
|
+
},
|
|
19176
|
+
"note": {
|
|
19177
|
+
"anyOf": [
|
|
19178
|
+
{
|
|
19179
|
+
"type": "string",
|
|
19180
|
+
"maxLength": 1000
|
|
19181
|
+
},
|
|
19182
|
+
{
|
|
19183
|
+
"type": "null"
|
|
19184
|
+
}
|
|
19185
|
+
]
|
|
19186
|
+
}
|
|
19187
|
+
},
|
|
19188
|
+
"required": [
|
|
19189
|
+
"version_id",
|
|
19190
|
+
"version_number",
|
|
19191
|
+
"changed_at_ms",
|
|
19192
|
+
"note"
|
|
19193
|
+
],
|
|
19194
|
+
"additionalProperties": false
|
|
19195
|
+
},
|
|
19196
|
+
"AccountAgentsVersionsParams": {
|
|
19197
|
+
"type": "object",
|
|
19198
|
+
"properties": {
|
|
19199
|
+
"agent_id": {
|
|
19200
|
+
"$ref": "#/$defs/AccountRowId"
|
|
19201
|
+
},
|
|
19202
|
+
"offset": {
|
|
19203
|
+
"type": "integer",
|
|
19204
|
+
"minimum": 0,
|
|
19205
|
+
"maximum": 100000
|
|
19206
|
+
},
|
|
19207
|
+
"limit": {
|
|
19208
|
+
"type": "integer",
|
|
19209
|
+
"minimum": 1,
|
|
19210
|
+
"maximum": 200
|
|
19211
|
+
}
|
|
19212
|
+
},
|
|
19213
|
+
"required": [
|
|
19214
|
+
"agent_id"
|
|
19215
|
+
],
|
|
19216
|
+
"additionalProperties": false
|
|
19217
|
+
},
|
|
19218
|
+
"AccountAgentsVersionsResult": {
|
|
19219
|
+
"type": "object",
|
|
19220
|
+
"properties": {
|
|
19221
|
+
"state": {
|
|
19222
|
+
"$ref": "#/$defs/AccountReadState"
|
|
19223
|
+
},
|
|
19224
|
+
"problem": {
|
|
19225
|
+
"anyOf": [
|
|
19226
|
+
{
|
|
19227
|
+
"type": "string",
|
|
19228
|
+
"maxLength": 300
|
|
19229
|
+
},
|
|
19230
|
+
{
|
|
19231
|
+
"type": "null"
|
|
19232
|
+
}
|
|
19233
|
+
]
|
|
19234
|
+
},
|
|
19235
|
+
"current_version": {
|
|
19236
|
+
"anyOf": [
|
|
19237
|
+
{
|
|
19238
|
+
"type": "integer",
|
|
19239
|
+
"minimum": 1,
|
|
19240
|
+
"maximum": 9007199254740991
|
|
19241
|
+
},
|
|
19242
|
+
{
|
|
19243
|
+
"type": "null"
|
|
19244
|
+
}
|
|
19245
|
+
]
|
|
19246
|
+
},
|
|
19247
|
+
"rows": {
|
|
19248
|
+
"maxItems": 200,
|
|
19249
|
+
"type": "array",
|
|
19250
|
+
"items": {
|
|
19251
|
+
"$ref": "#/$defs/AccountAgentVersion"
|
|
19252
|
+
}
|
|
19253
|
+
}
|
|
19254
|
+
},
|
|
19255
|
+
"required": [
|
|
19256
|
+
"state",
|
|
19257
|
+
"problem",
|
|
19258
|
+
"current_version",
|
|
19259
|
+
"rows"
|
|
19260
|
+
],
|
|
19261
|
+
"additionalProperties": false
|
|
19262
|
+
},
|
|
19263
|
+
"AccountAgentsVersionDiffParams": {
|
|
19264
|
+
"type": "object",
|
|
19265
|
+
"properties": {
|
|
19266
|
+
"agent_id": {
|
|
19267
|
+
"$ref": "#/$defs/AccountRowId"
|
|
19268
|
+
},
|
|
19269
|
+
"version_number": {
|
|
19270
|
+
"type": "integer",
|
|
19271
|
+
"minimum": 1,
|
|
19272
|
+
"maximum": 9007199254740991
|
|
19273
|
+
}
|
|
19274
|
+
},
|
|
19275
|
+
"required": [
|
|
19276
|
+
"agent_id",
|
|
19277
|
+
"version_number"
|
|
19278
|
+
],
|
|
19279
|
+
"additionalProperties": false
|
|
19280
|
+
},
|
|
19281
|
+
"AccountAgentsVersionDiffResult": {
|
|
19282
|
+
"type": "object",
|
|
19283
|
+
"properties": {
|
|
19284
|
+
"state": {
|
|
19285
|
+
"$ref": "#/$defs/AccountReadState"
|
|
19286
|
+
},
|
|
19287
|
+
"problem": {
|
|
19288
|
+
"anyOf": [
|
|
19289
|
+
{
|
|
19290
|
+
"type": "string",
|
|
19291
|
+
"maxLength": 300
|
|
19292
|
+
},
|
|
19293
|
+
{
|
|
19294
|
+
"type": "null"
|
|
19295
|
+
}
|
|
19296
|
+
]
|
|
19297
|
+
},
|
|
19298
|
+
"version_number": {
|
|
19299
|
+
"type": "integer",
|
|
19300
|
+
"minimum": 1,
|
|
19301
|
+
"maximum": 9007199254740991
|
|
19302
|
+
},
|
|
19303
|
+
"current_version": {
|
|
19304
|
+
"anyOf": [
|
|
19305
|
+
{
|
|
19306
|
+
"type": "integer",
|
|
19307
|
+
"minimum": 1,
|
|
19308
|
+
"maximum": 9007199254740991
|
|
19309
|
+
},
|
|
19310
|
+
{
|
|
19311
|
+
"type": "null"
|
|
19312
|
+
}
|
|
19313
|
+
]
|
|
19314
|
+
},
|
|
19315
|
+
"old": {
|
|
19316
|
+
"anyOf": [
|
|
19317
|
+
{
|
|
19318
|
+
"type": "object",
|
|
19319
|
+
"propertyNames": {
|
|
19320
|
+
"type": "string",
|
|
19321
|
+
"maxLength": 200
|
|
19322
|
+
},
|
|
19323
|
+
"additionalProperties": {}
|
|
19324
|
+
},
|
|
19325
|
+
{
|
|
19326
|
+
"type": "null"
|
|
19327
|
+
}
|
|
19328
|
+
]
|
|
19329
|
+
},
|
|
19330
|
+
"current": {
|
|
19331
|
+
"anyOf": [
|
|
19332
|
+
{
|
|
19333
|
+
"type": "object",
|
|
19334
|
+
"propertyNames": {
|
|
19335
|
+
"type": "string",
|
|
19336
|
+
"maxLength": 200
|
|
19337
|
+
},
|
|
19338
|
+
"additionalProperties": {}
|
|
19339
|
+
},
|
|
19340
|
+
{
|
|
19341
|
+
"type": "null"
|
|
19342
|
+
}
|
|
19343
|
+
]
|
|
19344
|
+
}
|
|
19345
|
+
},
|
|
19346
|
+
"required": [
|
|
19347
|
+
"state",
|
|
19348
|
+
"problem",
|
|
19349
|
+
"version_number",
|
|
19350
|
+
"current_version",
|
|
19351
|
+
"old",
|
|
19352
|
+
"current"
|
|
19353
|
+
],
|
|
19354
|
+
"additionalProperties": false
|
|
19355
|
+
},
|
|
19356
|
+
"AccountAgentsRestoreVersionParams": {
|
|
19357
|
+
"type": "object",
|
|
19358
|
+
"properties": {
|
|
19359
|
+
"agent_id": {
|
|
19360
|
+
"$ref": "#/$defs/AccountRowId"
|
|
19361
|
+
},
|
|
19362
|
+
"version_number": {
|
|
19363
|
+
"type": "integer",
|
|
19364
|
+
"minimum": 1,
|
|
19365
|
+
"maximum": 9007199254740991
|
|
19366
|
+
}
|
|
19367
|
+
},
|
|
19368
|
+
"required": [
|
|
19369
|
+
"agent_id",
|
|
19370
|
+
"version_number"
|
|
19371
|
+
],
|
|
19372
|
+
"additionalProperties": false
|
|
19373
|
+
},
|
|
19374
|
+
"AccountAgentsRestoreVersionResult": {
|
|
19375
|
+
"type": "object",
|
|
19376
|
+
"properties": {
|
|
19377
|
+
"restored_version": {
|
|
19378
|
+
"type": "integer",
|
|
19379
|
+
"minimum": 1,
|
|
19380
|
+
"maximum": 9007199254740991
|
|
19381
|
+
}
|
|
19382
|
+
},
|
|
19383
|
+
"required": [
|
|
19384
|
+
"restored_version"
|
|
19385
|
+
],
|
|
19386
|
+
"additionalProperties": false
|
|
19387
|
+
},
|
|
19076
19388
|
"AppsWindowsUpdateStateParams": {
|
|
19077
19389
|
"type": "object",
|
|
19078
19390
|
"properties": {
|
|
@@ -25658,6 +25970,39 @@
|
|
|
25658
25970
|
"INTERNAL"
|
|
25659
25971
|
]
|
|
25660
25972
|
},
|
|
25973
|
+
"account.agents.versions": {
|
|
25974
|
+
"params": "AccountAgentsVersionsParams",
|
|
25975
|
+
"result": "AccountAgentsVersionsResult",
|
|
25976
|
+
"kind": "unary",
|
|
25977
|
+
"since": "1.64",
|
|
25978
|
+
"errors": [
|
|
25979
|
+
"INVALID_PARAMS",
|
|
25980
|
+
"INTERNAL"
|
|
25981
|
+
]
|
|
25982
|
+
},
|
|
25983
|
+
"account.agents.version_diff": {
|
|
25984
|
+
"params": "AccountAgentsVersionDiffParams",
|
|
25985
|
+
"result": "AccountAgentsVersionDiffResult",
|
|
25986
|
+
"kind": "unary",
|
|
25987
|
+
"since": "1.64",
|
|
25988
|
+
"errors": [
|
|
25989
|
+
"INVALID_PARAMS",
|
|
25990
|
+
"INTERNAL"
|
|
25991
|
+
]
|
|
25992
|
+
},
|
|
25993
|
+
"account.agents.restore_version": {
|
|
25994
|
+
"params": "AccountAgentsRestoreVersionParams",
|
|
25995
|
+
"result": "AccountAgentsRestoreVersionResult",
|
|
25996
|
+
"kind": "unary",
|
|
25997
|
+
"since": "1.64",
|
|
25998
|
+
"errors": [
|
|
25999
|
+
"AUTH_REQUIRED",
|
|
26000
|
+
"NOT_FOUND",
|
|
26001
|
+
"INVALID_PARAMS",
|
|
26002
|
+
"DEVICE_OFFLINE",
|
|
26003
|
+
"INTERNAL"
|
|
26004
|
+
]
|
|
26005
|
+
},
|
|
25661
26006
|
"apps.windows.update_state": {
|
|
25662
26007
|
"params": "AppsWindowsUpdateStateParams",
|
|
25663
26008
|
"result": "AppsWindowsUpdateStateResult",
|
|
@@ -26652,6 +26997,26 @@
|
|
|
26652
26997
|
"AudioDevice": {
|
|
26653
26998
|
"kind": "1.24"
|
|
26654
26999
|
},
|
|
27000
|
+
"AudioRecordParams": {
|
|
27001
|
+
"channels": "1.66",
|
|
27002
|
+
"sample_rate": "1.66"
|
|
27003
|
+
},
|
|
27004
|
+
"AudioRecordResult": {
|
|
27005
|
+
"channels": "1.66",
|
|
27006
|
+
"sample_rate": "1.66"
|
|
27007
|
+
},
|
|
27008
|
+
"AudioPlayParams": {
|
|
27009
|
+
"device_id": "1.66"
|
|
27010
|
+
},
|
|
27011
|
+
"WindowListParams": {
|
|
27012
|
+
"app": "1.66"
|
|
27013
|
+
},
|
|
27014
|
+
"WindowMinimizeParams": {
|
|
27015
|
+
"mode": "1.66"
|
|
27016
|
+
},
|
|
27017
|
+
"WindowMinimizeResult": {
|
|
27018
|
+
"mode": "1.66"
|
|
27019
|
+
},
|
|
26655
27020
|
"ScreenDisplay": {
|
|
26656
27021
|
"rotation": "1.24",
|
|
26657
27022
|
"refresh_hz": "1.24",
|
|
@@ -26731,5 +27096,5 @@
|
|
|
26731
27096
|
"olderPeersGet": 0
|
|
26732
27097
|
}
|
|
26733
27098
|
},
|
|
26734
|
-
"x-protocol-version": "1.
|
|
27099
|
+
"x-protocol-version": "1.66"
|
|
26735
27100
|
}
|
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.65",
|
|
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": "df1c175949e516709b06b73a34a8a021c1d00020"
|
|
141
141
|
}
|