@ai-matrx/desktop-protocol 0.21.32 → 0.21.33
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 +34 -5
- 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 +34 -5
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +46 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +108 -9
- package/dist/index.d.ts +108 -9
- package/dist/index.js +46 -8
- package/dist/index.js.map +1 -1
- package/dist/{models-BNbWn8EL.d.cts → models-BcHaOevq.d.cts} +126 -5
- package/dist/{models-BNbWn8EL.d.ts → models-BcHaOevq.d.ts} +126 -5
- package/dist/react.d.cts +50 -3
- package/dist/react.d.ts +50 -3
- package/generated/desktop-protocol.schema.json +192 -3
- package/package.json +2 -2
|
@@ -12885,6 +12885,17 @@
|
|
|
12885
12885
|
},
|
|
12886
12886
|
"group_exists": {
|
|
12887
12887
|
"type": "boolean"
|
|
12888
|
+
},
|
|
12889
|
+
"when": {
|
|
12890
|
+
"type": "string",
|
|
12891
|
+
"enum": [
|
|
12892
|
+
"now",
|
|
12893
|
+
"next_close"
|
|
12894
|
+
]
|
|
12895
|
+
},
|
|
12896
|
+
"group_id": {
|
|
12897
|
+
"type": "string",
|
|
12898
|
+
"maxLength": 200
|
|
12888
12899
|
}
|
|
12889
12900
|
},
|
|
12890
12901
|
"required": [
|
|
@@ -12955,6 +12966,16 @@
|
|
|
12955
12966
|
"default": false,
|
|
12956
12967
|
"type": "boolean"
|
|
12957
12968
|
},
|
|
12969
|
+
"group_id": {
|
|
12970
|
+
"type": "string",
|
|
12971
|
+
"minLength": 1,
|
|
12972
|
+
"maxLength": 200
|
|
12973
|
+
},
|
|
12974
|
+
"group_name": {
|
|
12975
|
+
"type": "string",
|
|
12976
|
+
"minLength": 1,
|
|
12977
|
+
"maxLength": 200
|
|
12978
|
+
},
|
|
12958
12979
|
"pin": {
|
|
12959
12980
|
"type": "boolean"
|
|
12960
12981
|
},
|
|
@@ -13057,6 +13078,13 @@
|
|
|
13057
13078
|
"pin": {
|
|
13058
13079
|
"$ref": "#/$defs/ProjectMovePin"
|
|
13059
13080
|
},
|
|
13081
|
+
"chats": {
|
|
13082
|
+
"maxItems": 5000,
|
|
13083
|
+
"type": "array",
|
|
13084
|
+
"items": {
|
|
13085
|
+
"$ref": "#/$defs/ProjectMoveOutcome"
|
|
13086
|
+
}
|
|
13087
|
+
},
|
|
13060
13088
|
"message": {
|
|
13061
13089
|
"type": "string",
|
|
13062
13090
|
"maxLength": 400
|
|
@@ -13151,6 +13179,149 @@
|
|
|
13151
13179
|
],
|
|
13152
13180
|
"additionalProperties": false
|
|
13153
13181
|
},
|
|
13182
|
+
"ProjectMoveOutcome": {
|
|
13183
|
+
"type": "object",
|
|
13184
|
+
"properties": {
|
|
13185
|
+
"chat_id": {
|
|
13186
|
+
"$ref": "#/$defs/ChatId"
|
|
13187
|
+
},
|
|
13188
|
+
"title": {
|
|
13189
|
+
"type": "string",
|
|
13190
|
+
"maxLength": 300
|
|
13191
|
+
},
|
|
13192
|
+
"outcome": {
|
|
13193
|
+
"type": "string",
|
|
13194
|
+
"enum": [
|
|
13195
|
+
"copied",
|
|
13196
|
+
"moved",
|
|
13197
|
+
"already",
|
|
13198
|
+
"skipped"
|
|
13199
|
+
]
|
|
13200
|
+
},
|
|
13201
|
+
"off": {
|
|
13202
|
+
"maxItems": 50,
|
|
13203
|
+
"type": "array",
|
|
13204
|
+
"items": {
|
|
13205
|
+
"$ref": "#/$defs/ChatPlace"
|
|
13206
|
+
}
|
|
13207
|
+
},
|
|
13208
|
+
"reason": {
|
|
13209
|
+
"anyOf": [
|
|
13210
|
+
{
|
|
13211
|
+
"type": "string",
|
|
13212
|
+
"maxLength": 400
|
|
13213
|
+
},
|
|
13214
|
+
{
|
|
13215
|
+
"type": "null"
|
|
13216
|
+
}
|
|
13217
|
+
]
|
|
13218
|
+
},
|
|
13219
|
+
"pin": {
|
|
13220
|
+
"anyOf": [
|
|
13221
|
+
{
|
|
13222
|
+
"type": "string",
|
|
13223
|
+
"enum": [
|
|
13224
|
+
"now",
|
|
13225
|
+
"next_close",
|
|
13226
|
+
"failed"
|
|
13227
|
+
]
|
|
13228
|
+
},
|
|
13229
|
+
{
|
|
13230
|
+
"type": "null"
|
|
13231
|
+
}
|
|
13232
|
+
]
|
|
13233
|
+
},
|
|
13234
|
+
"group": {
|
|
13235
|
+
"anyOf": [
|
|
13236
|
+
{
|
|
13237
|
+
"type": "string",
|
|
13238
|
+
"enum": [
|
|
13239
|
+
"now",
|
|
13240
|
+
"next_close",
|
|
13241
|
+
"failed"
|
|
13242
|
+
]
|
|
13243
|
+
},
|
|
13244
|
+
{
|
|
13245
|
+
"type": "null"
|
|
13246
|
+
}
|
|
13247
|
+
]
|
|
13248
|
+
}
|
|
13249
|
+
},
|
|
13250
|
+
"required": [
|
|
13251
|
+
"chat_id",
|
|
13252
|
+
"title",
|
|
13253
|
+
"outcome",
|
|
13254
|
+
"off",
|
|
13255
|
+
"reason",
|
|
13256
|
+
"pin",
|
|
13257
|
+
"group"
|
|
13258
|
+
],
|
|
13259
|
+
"additionalProperties": false
|
|
13260
|
+
},
|
|
13261
|
+
"WindowGroup": {
|
|
13262
|
+
"type": "object",
|
|
13263
|
+
"properties": {
|
|
13264
|
+
"id": {
|
|
13265
|
+
"type": "string",
|
|
13266
|
+
"maxLength": 200
|
|
13267
|
+
},
|
|
13268
|
+
"name": {
|
|
13269
|
+
"type": "string",
|
|
13270
|
+
"maxLength": 200
|
|
13271
|
+
},
|
|
13272
|
+
"count": {
|
|
13273
|
+
"type": "integer",
|
|
13274
|
+
"minimum": 0,
|
|
13275
|
+
"maximum": 9007199254740991
|
|
13276
|
+
}
|
|
13277
|
+
},
|
|
13278
|
+
"required": [
|
|
13279
|
+
"id",
|
|
13280
|
+
"name",
|
|
13281
|
+
"count"
|
|
13282
|
+
],
|
|
13283
|
+
"additionalProperties": false
|
|
13284
|
+
},
|
|
13285
|
+
"AppsWindowsGroupsParams": {
|
|
13286
|
+
"type": "object",
|
|
13287
|
+
"properties": {
|
|
13288
|
+
"app_key": {
|
|
13289
|
+
"$ref": "#/$defs/AppKey"
|
|
13290
|
+
},
|
|
13291
|
+
"window": {
|
|
13292
|
+
"$ref": "#/$defs/ChatPlace"
|
|
13293
|
+
}
|
|
13294
|
+
},
|
|
13295
|
+
"required": [
|
|
13296
|
+
"app_key",
|
|
13297
|
+
"window"
|
|
13298
|
+
],
|
|
13299
|
+
"additionalProperties": false
|
|
13300
|
+
},
|
|
13301
|
+
"AppsWindowsGroupsResult": {
|
|
13302
|
+
"type": "object",
|
|
13303
|
+
"properties": {
|
|
13304
|
+
"window": {
|
|
13305
|
+
"$ref": "#/$defs/ChatPlace"
|
|
13306
|
+
},
|
|
13307
|
+
"open": {
|
|
13308
|
+
"type": "boolean"
|
|
13309
|
+
},
|
|
13310
|
+
"groups": {
|
|
13311
|
+
"maxItems": 1000,
|
|
13312
|
+
"type": "array",
|
|
13313
|
+
"items": {
|
|
13314
|
+
"$ref": "#/$defs/WindowGroup"
|
|
13315
|
+
}
|
|
13316
|
+
}
|
|
13317
|
+
},
|
|
13318
|
+
"required": [
|
|
13319
|
+
"window",
|
|
13320
|
+
"open",
|
|
13321
|
+
"groups"
|
|
13322
|
+
],
|
|
13323
|
+
"additionalProperties": false
|
|
13324
|
+
},
|
|
13154
13325
|
"ColdChat": {
|
|
13155
13326
|
"type": "object",
|
|
13156
13327
|
"properties": {
|
|
@@ -22322,6 +22493,17 @@
|
|
|
22322
22493
|
"INTERNAL"
|
|
22323
22494
|
]
|
|
22324
22495
|
},
|
|
22496
|
+
"apps.windows.groups": {
|
|
22497
|
+
"params": "AppsWindowsGroupsParams",
|
|
22498
|
+
"result": "AppsWindowsGroupsResult",
|
|
22499
|
+
"kind": "unary",
|
|
22500
|
+
"since": "1.43",
|
|
22501
|
+
"errors": [
|
|
22502
|
+
"NOT_FOUND",
|
|
22503
|
+
"PLATFORM_UNSUPPORTED",
|
|
22504
|
+
"INTERNAL"
|
|
22505
|
+
]
|
|
22506
|
+
},
|
|
22325
22507
|
"apps.windows.shown": {
|
|
22326
22508
|
"params": "AppsWindowsShownParams",
|
|
22327
22509
|
"result": "AppsWindowsShownResult",
|
|
@@ -23901,10 +24083,17 @@
|
|
|
23901
24083
|
"AppsProjectsToWindowParams": {
|
|
23902
24084
|
"pin": "1.32",
|
|
23903
24085
|
"chat_ids": "1.36",
|
|
23904
|
-
"take_off_from": "1.36"
|
|
24086
|
+
"take_off_from": "1.36",
|
|
24087
|
+
"group_id": "1.43",
|
|
24088
|
+
"group_name": "1.43"
|
|
23905
24089
|
},
|
|
23906
24090
|
"AppsProjectsToWindowResult": {
|
|
23907
|
-
"pin": "1.32"
|
|
24091
|
+
"pin": "1.32",
|
|
24092
|
+
"chats": "1.43"
|
|
24093
|
+
},
|
|
24094
|
+
"ProjectMoveGroup": {
|
|
24095
|
+
"when": "1.43",
|
|
24096
|
+
"group_id": "1.43"
|
|
23908
24097
|
},
|
|
23909
24098
|
"AppsChatsTitlesCheckResult": {
|
|
23910
24099
|
"stale_windows": "1.33"
|
|
@@ -23947,5 +24136,5 @@
|
|
|
23947
24136
|
"olderPeersGet": 0
|
|
23948
24137
|
}
|
|
23949
24138
|
},
|
|
23950
|
-
"x-protocol-version": "1.
|
|
24139
|
+
"x-protocol-version": "1.43"
|
|
23951
24140
|
}
|
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.33",
|
|
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": "678247266235026d2394b41d65c4a1e0b93df56c"
|
|
141
141
|
}
|