@ai-matrx/desktop-protocol 0.21.15 → 0.21.16
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 +6 -0
- package/dist/client.cjs +675 -599
- 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 +675 -599
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +844 -744
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +162 -6
- package/dist/index.d.ts +162 -6
- package/dist/index.js +844 -744
- package/dist/index.js.map +1 -1
- package/dist/{models-BFxuhPGw.d.cts → models-BpZriuN2.d.cts} +206 -1
- package/dist/{models-BFxuhPGw.d.ts → models-BpZriuN2.d.ts} +206 -1
- package/dist/react.d.cts +80 -0
- package/dist/react.d.ts +80 -0
- package/generated/desktop-protocol.schema.json +352 -1
- package/package.json +4 -4
|
@@ -10927,6 +10927,325 @@
|
|
|
10927
10927
|
"total"
|
|
10928
10928
|
],
|
|
10929
10929
|
"additionalProperties": false
|
|
10930
|
+
},
|
|
10931
|
+
"AccountRowId": {
|
|
10932
|
+
"type": "string",
|
|
10933
|
+
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
|
|
10934
|
+
},
|
|
10935
|
+
"AccountReadState": {
|
|
10936
|
+
"type": "string",
|
|
10937
|
+
"enum": [
|
|
10938
|
+
"ok",
|
|
10939
|
+
"signed_out",
|
|
10940
|
+
"unavailable"
|
|
10941
|
+
]
|
|
10942
|
+
},
|
|
10943
|
+
"AccountAgent": {
|
|
10944
|
+
"type": "object",
|
|
10945
|
+
"properties": {
|
|
10946
|
+
"id": {
|
|
10947
|
+
"$ref": "#/$defs/AccountRowId"
|
|
10948
|
+
},
|
|
10949
|
+
"name": {
|
|
10950
|
+
"type": "string",
|
|
10951
|
+
"minLength": 1,
|
|
10952
|
+
"maxLength": 200
|
|
10953
|
+
},
|
|
10954
|
+
"description": {
|
|
10955
|
+
"type": "string",
|
|
10956
|
+
"maxLength": 2000
|
|
10957
|
+
},
|
|
10958
|
+
"category": {
|
|
10959
|
+
"type": "string",
|
|
10960
|
+
"maxLength": 120
|
|
10961
|
+
},
|
|
10962
|
+
"agent_type": {
|
|
10963
|
+
"type": "string",
|
|
10964
|
+
"maxLength": 40
|
|
10965
|
+
},
|
|
10966
|
+
"is_favorite": {
|
|
10967
|
+
"type": "boolean"
|
|
10968
|
+
},
|
|
10969
|
+
"is_owner": {
|
|
10970
|
+
"type": "boolean"
|
|
10971
|
+
},
|
|
10972
|
+
"shared_by": {
|
|
10973
|
+
"anyOf": [
|
|
10974
|
+
{
|
|
10975
|
+
"type": "string",
|
|
10976
|
+
"maxLength": 320
|
|
10977
|
+
},
|
|
10978
|
+
{
|
|
10979
|
+
"type": "null"
|
|
10980
|
+
}
|
|
10981
|
+
]
|
|
10982
|
+
},
|
|
10983
|
+
"organization": {
|
|
10984
|
+
"anyOf": [
|
|
10985
|
+
{
|
|
10986
|
+
"type": "string",
|
|
10987
|
+
"maxLength": 200
|
|
10988
|
+
},
|
|
10989
|
+
{
|
|
10990
|
+
"type": "null"
|
|
10991
|
+
}
|
|
10992
|
+
]
|
|
10993
|
+
},
|
|
10994
|
+
"updated_at_ms": {
|
|
10995
|
+
"type": "integer",
|
|
10996
|
+
"minimum": 0,
|
|
10997
|
+
"maximum": 9007199254740991
|
|
10998
|
+
}
|
|
10999
|
+
},
|
|
11000
|
+
"required": [
|
|
11001
|
+
"id",
|
|
11002
|
+
"name",
|
|
11003
|
+
"description",
|
|
11004
|
+
"category",
|
|
11005
|
+
"agent_type",
|
|
11006
|
+
"is_favorite",
|
|
11007
|
+
"is_owner",
|
|
11008
|
+
"shared_by",
|
|
11009
|
+
"organization",
|
|
11010
|
+
"updated_at_ms"
|
|
11011
|
+
],
|
|
11012
|
+
"additionalProperties": false
|
|
11013
|
+
},
|
|
11014
|
+
"AccountAgentsListParams": {
|
|
11015
|
+
"type": "object",
|
|
11016
|
+
"properties": {},
|
|
11017
|
+
"additionalProperties": false
|
|
11018
|
+
},
|
|
11019
|
+
"AccountAgentsListResult": {
|
|
11020
|
+
"type": "object",
|
|
11021
|
+
"properties": {
|
|
11022
|
+
"state": {
|
|
11023
|
+
"$ref": "#/$defs/AccountReadState"
|
|
11024
|
+
},
|
|
11025
|
+
"problem": {
|
|
11026
|
+
"anyOf": [
|
|
11027
|
+
{
|
|
11028
|
+
"type": "string",
|
|
11029
|
+
"maxLength": 300
|
|
11030
|
+
},
|
|
11031
|
+
{
|
|
11032
|
+
"type": "null"
|
|
11033
|
+
}
|
|
11034
|
+
]
|
|
11035
|
+
},
|
|
11036
|
+
"agents": {
|
|
11037
|
+
"maxItems": 2000,
|
|
11038
|
+
"type": "array",
|
|
11039
|
+
"items": {
|
|
11040
|
+
"$ref": "#/$defs/AccountAgent"
|
|
11041
|
+
}
|
|
11042
|
+
}
|
|
11043
|
+
},
|
|
11044
|
+
"required": [
|
|
11045
|
+
"state",
|
|
11046
|
+
"problem",
|
|
11047
|
+
"agents"
|
|
11048
|
+
],
|
|
11049
|
+
"additionalProperties": false
|
|
11050
|
+
},
|
|
11051
|
+
"VaultItemKind": {
|
|
11052
|
+
"type": "string",
|
|
11053
|
+
"enum": [
|
|
11054
|
+
"login",
|
|
11055
|
+
"passkey",
|
|
11056
|
+
"key",
|
|
11057
|
+
"other"
|
|
11058
|
+
]
|
|
11059
|
+
},
|
|
11060
|
+
"VaultFieldSummary": {
|
|
11061
|
+
"type": "object",
|
|
11062
|
+
"properties": {
|
|
11063
|
+
"key": {
|
|
11064
|
+
"type": "string",
|
|
11065
|
+
"minLength": 1,
|
|
11066
|
+
"maxLength": 120
|
|
11067
|
+
},
|
|
11068
|
+
"handling": {
|
|
11069
|
+
"type": "string",
|
|
11070
|
+
"enum": [
|
|
11071
|
+
"visible",
|
|
11072
|
+
"revealable",
|
|
11073
|
+
"sealed"
|
|
11074
|
+
]
|
|
11075
|
+
},
|
|
11076
|
+
"hint": {
|
|
11077
|
+
"type": "string",
|
|
11078
|
+
"maxLength": 200
|
|
11079
|
+
}
|
|
11080
|
+
},
|
|
11081
|
+
"required": [
|
|
11082
|
+
"key",
|
|
11083
|
+
"handling",
|
|
11084
|
+
"hint"
|
|
11085
|
+
],
|
|
11086
|
+
"additionalProperties": false
|
|
11087
|
+
},
|
|
11088
|
+
"VaultItemSummary": {
|
|
11089
|
+
"type": "object",
|
|
11090
|
+
"properties": {
|
|
11091
|
+
"id": {
|
|
11092
|
+
"$ref": "#/$defs/AccountRowId"
|
|
11093
|
+
},
|
|
11094
|
+
"name": {
|
|
11095
|
+
"type": "string",
|
|
11096
|
+
"minLength": 1,
|
|
11097
|
+
"maxLength": 200
|
|
11098
|
+
},
|
|
11099
|
+
"kind": {
|
|
11100
|
+
"$ref": "#/$defs/VaultItemKind"
|
|
11101
|
+
},
|
|
11102
|
+
"definition": {
|
|
11103
|
+
"type": "string",
|
|
11104
|
+
"maxLength": 80
|
|
11105
|
+
},
|
|
11106
|
+
"username": {
|
|
11107
|
+
"anyOf": [
|
|
11108
|
+
{
|
|
11109
|
+
"type": "string",
|
|
11110
|
+
"maxLength": 200
|
|
11111
|
+
},
|
|
11112
|
+
{
|
|
11113
|
+
"type": "null"
|
|
11114
|
+
}
|
|
11115
|
+
]
|
|
11116
|
+
},
|
|
11117
|
+
"urls": {
|
|
11118
|
+
"maxItems": 20,
|
|
11119
|
+
"type": "array",
|
|
11120
|
+
"items": {
|
|
11121
|
+
"type": "string",
|
|
11122
|
+
"maxLength": 2048
|
|
11123
|
+
}
|
|
11124
|
+
},
|
|
11125
|
+
"notes": {
|
|
11126
|
+
"anyOf": [
|
|
11127
|
+
{
|
|
11128
|
+
"type": "string",
|
|
11129
|
+
"maxLength": 4000
|
|
11130
|
+
},
|
|
11131
|
+
{
|
|
11132
|
+
"type": "null"
|
|
11133
|
+
}
|
|
11134
|
+
]
|
|
11135
|
+
},
|
|
11136
|
+
"fields": {
|
|
11137
|
+
"maxItems": 50,
|
|
11138
|
+
"type": "array",
|
|
11139
|
+
"items": {
|
|
11140
|
+
"$ref": "#/$defs/VaultFieldSummary"
|
|
11141
|
+
}
|
|
11142
|
+
},
|
|
11143
|
+
"shared": {
|
|
11144
|
+
"type": "boolean"
|
|
11145
|
+
},
|
|
11146
|
+
"status": {
|
|
11147
|
+
"type": "string",
|
|
11148
|
+
"maxLength": 40
|
|
11149
|
+
},
|
|
11150
|
+
"created_at_ms": {
|
|
11151
|
+
"type": "integer",
|
|
11152
|
+
"minimum": 0,
|
|
11153
|
+
"maximum": 9007199254740991
|
|
11154
|
+
},
|
|
11155
|
+
"updated_at_ms": {
|
|
11156
|
+
"type": "integer",
|
|
11157
|
+
"minimum": 0,
|
|
11158
|
+
"maximum": 9007199254740991
|
|
11159
|
+
}
|
|
11160
|
+
},
|
|
11161
|
+
"required": [
|
|
11162
|
+
"id",
|
|
11163
|
+
"name",
|
|
11164
|
+
"kind",
|
|
11165
|
+
"definition",
|
|
11166
|
+
"username",
|
|
11167
|
+
"urls",
|
|
11168
|
+
"notes",
|
|
11169
|
+
"fields",
|
|
11170
|
+
"shared",
|
|
11171
|
+
"status",
|
|
11172
|
+
"created_at_ms",
|
|
11173
|
+
"updated_at_ms"
|
|
11174
|
+
],
|
|
11175
|
+
"additionalProperties": false
|
|
11176
|
+
},
|
|
11177
|
+
"AccountVaultListParams": {
|
|
11178
|
+
"type": "object",
|
|
11179
|
+
"properties": {},
|
|
11180
|
+
"additionalProperties": false
|
|
11181
|
+
},
|
|
11182
|
+
"AccountVaultListResult": {
|
|
11183
|
+
"type": "object",
|
|
11184
|
+
"properties": {
|
|
11185
|
+
"state": {
|
|
11186
|
+
"$ref": "#/$defs/AccountReadState"
|
|
11187
|
+
},
|
|
11188
|
+
"problem": {
|
|
11189
|
+
"anyOf": [
|
|
11190
|
+
{
|
|
11191
|
+
"type": "string",
|
|
11192
|
+
"maxLength": 300
|
|
11193
|
+
},
|
|
11194
|
+
{
|
|
11195
|
+
"type": "null"
|
|
11196
|
+
}
|
|
11197
|
+
]
|
|
11198
|
+
},
|
|
11199
|
+
"items": {
|
|
11200
|
+
"maxItems": 5000,
|
|
11201
|
+
"type": "array",
|
|
11202
|
+
"items": {
|
|
11203
|
+
"$ref": "#/$defs/VaultItemSummary"
|
|
11204
|
+
}
|
|
11205
|
+
}
|
|
11206
|
+
},
|
|
11207
|
+
"required": [
|
|
11208
|
+
"state",
|
|
11209
|
+
"problem",
|
|
11210
|
+
"items"
|
|
11211
|
+
],
|
|
11212
|
+
"additionalProperties": false
|
|
11213
|
+
},
|
|
11214
|
+
"AccountVaultCopyParams": {
|
|
11215
|
+
"type": "object",
|
|
11216
|
+
"properties": {
|
|
11217
|
+
"item_id": {
|
|
11218
|
+
"$ref": "#/$defs/AccountRowId"
|
|
11219
|
+
},
|
|
11220
|
+
"field_key": {
|
|
11221
|
+
"type": "string",
|
|
11222
|
+
"minLength": 1,
|
|
11223
|
+
"maxLength": 120
|
|
11224
|
+
}
|
|
11225
|
+
},
|
|
11226
|
+
"required": [
|
|
11227
|
+
"item_id",
|
|
11228
|
+
"field_key"
|
|
11229
|
+
],
|
|
11230
|
+
"additionalProperties": false
|
|
11231
|
+
},
|
|
11232
|
+
"AccountVaultCopyResult": {
|
|
11233
|
+
"type": "object",
|
|
11234
|
+
"properties": {
|
|
11235
|
+
"copied": {
|
|
11236
|
+
"type": "boolean"
|
|
11237
|
+
},
|
|
11238
|
+
"clears_at_ms": {
|
|
11239
|
+
"type": "integer",
|
|
11240
|
+
"minimum": 0,
|
|
11241
|
+
"maximum": 9007199254740991
|
|
11242
|
+
}
|
|
11243
|
+
},
|
|
11244
|
+
"required": [
|
|
11245
|
+
"copied",
|
|
11246
|
+
"clears_at_ms"
|
|
11247
|
+
],
|
|
11248
|
+
"additionalProperties": false
|
|
10930
11249
|
}
|
|
10931
11250
|
},
|
|
10932
11251
|
"x-ops": {
|
|
@@ -12330,6 +12649,38 @@
|
|
|
12330
12649
|
"AUTH_REQUIRED",
|
|
12331
12650
|
"INTERNAL"
|
|
12332
12651
|
]
|
|
12652
|
+
},
|
|
12653
|
+
"account.agents.list": {
|
|
12654
|
+
"params": "AccountAgentsListParams",
|
|
12655
|
+
"result": "AccountAgentsListResult",
|
|
12656
|
+
"kind": "unary",
|
|
12657
|
+
"since": "1.23",
|
|
12658
|
+
"errors": [
|
|
12659
|
+
"INTERNAL"
|
|
12660
|
+
]
|
|
12661
|
+
},
|
|
12662
|
+
"account.vault.list": {
|
|
12663
|
+
"params": "AccountVaultListParams",
|
|
12664
|
+
"result": "AccountVaultListResult",
|
|
12665
|
+
"kind": "unary",
|
|
12666
|
+
"since": "1.23",
|
|
12667
|
+
"errors": [
|
|
12668
|
+
"INTERNAL"
|
|
12669
|
+
]
|
|
12670
|
+
},
|
|
12671
|
+
"account.vault.copy": {
|
|
12672
|
+
"params": "AccountVaultCopyParams",
|
|
12673
|
+
"result": "AccountVaultCopyResult",
|
|
12674
|
+
"kind": "unary",
|
|
12675
|
+
"since": "1.23",
|
|
12676
|
+
"errors": [
|
|
12677
|
+
"AUTH_REQUIRED",
|
|
12678
|
+
"AUTH_FORBIDDEN",
|
|
12679
|
+
"NOT_FOUND",
|
|
12680
|
+
"INVALID_PARAMS",
|
|
12681
|
+
"DEVICE_OFFLINE",
|
|
12682
|
+
"INTERNAL"
|
|
12683
|
+
]
|
|
12333
12684
|
}
|
|
12334
12685
|
},
|
|
12335
12686
|
"x-events": {
|
|
@@ -12454,5 +12805,5 @@
|
|
|
12454
12805
|
"olderPeersGet": 0
|
|
12455
12806
|
}
|
|
12456
12807
|
},
|
|
12457
|
-
"x-protocol-version": "1.
|
|
12808
|
+
"x-protocol-version": "1.23"
|
|
12458
12809
|
}
|
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.16",
|
|
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",
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
},
|
|
80
80
|
"dependencies": {
|
|
81
81
|
"zod": "^4.6.5",
|
|
82
|
-
"@ai-matrx/
|
|
83
|
-
"@ai-matrx/
|
|
82
|
+
"@ai-matrx/realtime": "latest",
|
|
83
|
+
"@ai-matrx/kit": "latest"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
86
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
@@ -137,5 +137,5 @@
|
|
|
137
137
|
"test:watch": "vitest",
|
|
138
138
|
"verify:tarball": "node ./scripts/verify-tarball.mjs"
|
|
139
139
|
},
|
|
140
|
-
"gitHead": "
|
|
140
|
+
"gitHead": "8a5ed609fd00c178b05b74512e3fdda97de498b1"
|
|
141
141
|
}
|