@ai-matrx/desktop-protocol 0.21.72 → 0.21.73
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 +21 -0
- package/dist/{chunk-server-FFLYSQUY.js → chunk-server-MK77KDKS.js} +46 -3
- package/dist/chunk-server-MK77KDKS.js.map +1 -0
- package/dist/client.cjs +32 -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 +46 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +226 -6
- package/dist/index.d.ts +226 -6
- package/dist/index.js +14 -2
- package/dist/index.js.map +1 -1
- package/dist/{models-BSiPIgIc.d.cts → models-ClCrYsEt.d.cts} +371 -1
- package/dist/{models-BSiPIgIc.d.ts → models-ClCrYsEt.d.ts} +371 -1
- package/dist/react.d.cts +175 -0
- package/dist/react.d.ts +175 -0
- package/generated/desktop-protocol.schema.json +300 -2
- package/package.json +2 -2
- package/dist/chunk-server-FFLYSQUY.js.map +0 -1
|
@@ -13459,6 +13459,9 @@
|
|
|
13459
13459
|
"title_sync": {
|
|
13460
13460
|
"$ref": "#/$defs/ChatTitleSync"
|
|
13461
13461
|
},
|
|
13462
|
+
"pin_sync": {
|
|
13463
|
+
"$ref": "#/$defs/ChatTitleSync"
|
|
13464
|
+
},
|
|
13462
13465
|
"moved": {
|
|
13463
13466
|
"maxItems": 50,
|
|
13464
13467
|
"type": "array",
|
|
@@ -16005,6 +16008,275 @@
|
|
|
16005
16008
|
],
|
|
16006
16009
|
"additionalProperties": false
|
|
16007
16010
|
},
|
|
16011
|
+
"AppsChatsBringBackParams": {
|
|
16012
|
+
"type": "object",
|
|
16013
|
+
"properties": {
|
|
16014
|
+
"app_key": {
|
|
16015
|
+
"$ref": "#/$defs/AppKey"
|
|
16016
|
+
},
|
|
16017
|
+
"chat_id": {
|
|
16018
|
+
"$ref": "#/$defs/ChatId"
|
|
16019
|
+
},
|
|
16020
|
+
"dry_run": {
|
|
16021
|
+
"type": "boolean"
|
|
16022
|
+
}
|
|
16023
|
+
},
|
|
16024
|
+
"required": [
|
|
16025
|
+
"app_key",
|
|
16026
|
+
"chat_id"
|
|
16027
|
+
],
|
|
16028
|
+
"additionalProperties": false
|
|
16029
|
+
},
|
|
16030
|
+
"AppsChatsBringBackResult": {
|
|
16031
|
+
"type": "object",
|
|
16032
|
+
"properties": {
|
|
16033
|
+
"project_id": {
|
|
16034
|
+
"anyOf": [
|
|
16035
|
+
{
|
|
16036
|
+
"$ref": "#/$defs/ChatProjectId"
|
|
16037
|
+
},
|
|
16038
|
+
{
|
|
16039
|
+
"type": "null"
|
|
16040
|
+
}
|
|
16041
|
+
]
|
|
16042
|
+
},
|
|
16043
|
+
"window": {
|
|
16044
|
+
"$ref": "#/$defs/ChatPlace"
|
|
16045
|
+
},
|
|
16046
|
+
"dry_run": {
|
|
16047
|
+
"type": "boolean"
|
|
16048
|
+
},
|
|
16049
|
+
"place": {
|
|
16050
|
+
"maxItems": 5000,
|
|
16051
|
+
"type": "array",
|
|
16052
|
+
"items": {
|
|
16053
|
+
"$ref": "#/$defs/ProjectMoveChat"
|
|
16054
|
+
}
|
|
16055
|
+
},
|
|
16056
|
+
"already": {
|
|
16057
|
+
"maxItems": 5000,
|
|
16058
|
+
"type": "array",
|
|
16059
|
+
"items": {
|
|
16060
|
+
"$ref": "#/$defs/ProjectMoveChat"
|
|
16061
|
+
}
|
|
16062
|
+
},
|
|
16063
|
+
"take_off": {
|
|
16064
|
+
"maxItems": 20000,
|
|
16065
|
+
"type": "array",
|
|
16066
|
+
"items": {
|
|
16067
|
+
"type": "object",
|
|
16068
|
+
"properties": {
|
|
16069
|
+
"chat_id": {
|
|
16070
|
+
"$ref": "#/$defs/ChatId"
|
|
16071
|
+
},
|
|
16072
|
+
"title": {
|
|
16073
|
+
"type": "string",
|
|
16074
|
+
"maxLength": 300
|
|
16075
|
+
},
|
|
16076
|
+
"window": {
|
|
16077
|
+
"$ref": "#/$defs/ChatPlace"
|
|
16078
|
+
}
|
|
16079
|
+
},
|
|
16080
|
+
"required": [
|
|
16081
|
+
"chat_id",
|
|
16082
|
+
"title",
|
|
16083
|
+
"window"
|
|
16084
|
+
],
|
|
16085
|
+
"additionalProperties": false
|
|
16086
|
+
}
|
|
16087
|
+
},
|
|
16088
|
+
"skipped": {
|
|
16089
|
+
"maxItems": 20000,
|
|
16090
|
+
"type": "array",
|
|
16091
|
+
"items": {
|
|
16092
|
+
"$ref": "#/$defs/ProjectMoveSkip"
|
|
16093
|
+
}
|
|
16094
|
+
},
|
|
16095
|
+
"other_apps": {
|
|
16096
|
+
"type": "integer",
|
|
16097
|
+
"minimum": 0,
|
|
16098
|
+
"maximum": 9007199254740991
|
|
16099
|
+
},
|
|
16100
|
+
"group": {
|
|
16101
|
+
"anyOf": [
|
|
16102
|
+
{
|
|
16103
|
+
"$ref": "#/$defs/ProjectMoveGroup"
|
|
16104
|
+
},
|
|
16105
|
+
{
|
|
16106
|
+
"type": "null"
|
|
16107
|
+
}
|
|
16108
|
+
]
|
|
16109
|
+
},
|
|
16110
|
+
"pin": {
|
|
16111
|
+
"$ref": "#/$defs/ProjectMovePin"
|
|
16112
|
+
},
|
|
16113
|
+
"chats": {
|
|
16114
|
+
"maxItems": 5000,
|
|
16115
|
+
"type": "array",
|
|
16116
|
+
"items": {
|
|
16117
|
+
"$ref": "#/$defs/ProjectMoveOutcome"
|
|
16118
|
+
}
|
|
16119
|
+
},
|
|
16120
|
+
"message": {
|
|
16121
|
+
"type": "string",
|
|
16122
|
+
"maxLength": 400
|
|
16123
|
+
}
|
|
16124
|
+
},
|
|
16125
|
+
"required": [
|
|
16126
|
+
"project_id",
|
|
16127
|
+
"window",
|
|
16128
|
+
"dry_run",
|
|
16129
|
+
"place",
|
|
16130
|
+
"already",
|
|
16131
|
+
"take_off",
|
|
16132
|
+
"skipped",
|
|
16133
|
+
"other_apps",
|
|
16134
|
+
"group",
|
|
16135
|
+
"message"
|
|
16136
|
+
],
|
|
16137
|
+
"additionalProperties": false
|
|
16138
|
+
},
|
|
16139
|
+
"AppsChatsTidyUpParams": {
|
|
16140
|
+
"type": "object",
|
|
16141
|
+
"properties": {
|
|
16142
|
+
"dry_run": {
|
|
16143
|
+
"type": "boolean"
|
|
16144
|
+
},
|
|
16145
|
+
"restart_windows": {
|
|
16146
|
+
"maxItems": 64,
|
|
16147
|
+
"type": "array",
|
|
16148
|
+
"items": {
|
|
16149
|
+
"$ref": "#/$defs/ChatPlace"
|
|
16150
|
+
}
|
|
16151
|
+
}
|
|
16152
|
+
},
|
|
16153
|
+
"required": [
|
|
16154
|
+
"dry_run"
|
|
16155
|
+
],
|
|
16156
|
+
"additionalProperties": false
|
|
16157
|
+
},
|
|
16158
|
+
"AppsChatsTidyUpResult": {
|
|
16159
|
+
"type": "object",
|
|
16160
|
+
"properties": {
|
|
16161
|
+
"dry_run": {
|
|
16162
|
+
"type": "boolean"
|
|
16163
|
+
},
|
|
16164
|
+
"facets": {
|
|
16165
|
+
"maxItems": 32,
|
|
16166
|
+
"type": "array",
|
|
16167
|
+
"items": {
|
|
16168
|
+
"$ref": "#/$defs/TidyUpFacet"
|
|
16169
|
+
}
|
|
16170
|
+
},
|
|
16171
|
+
"restart": {
|
|
16172
|
+
"maxItems": 64,
|
|
16173
|
+
"type": "array",
|
|
16174
|
+
"items": {
|
|
16175
|
+
"$ref": "#/$defs/TidyUpRestart"
|
|
16176
|
+
}
|
|
16177
|
+
},
|
|
16178
|
+
"restarted": {
|
|
16179
|
+
"maxItems": 64,
|
|
16180
|
+
"type": "array",
|
|
16181
|
+
"items": {
|
|
16182
|
+
"$ref": "#/$defs/ChatPlace"
|
|
16183
|
+
}
|
|
16184
|
+
},
|
|
16185
|
+
"message": {
|
|
16186
|
+
"type": "string",
|
|
16187
|
+
"maxLength": 600
|
|
16188
|
+
}
|
|
16189
|
+
},
|
|
16190
|
+
"required": [
|
|
16191
|
+
"dry_run",
|
|
16192
|
+
"facets",
|
|
16193
|
+
"restart",
|
|
16194
|
+
"restarted",
|
|
16195
|
+
"message"
|
|
16196
|
+
],
|
|
16197
|
+
"additionalProperties": false
|
|
16198
|
+
},
|
|
16199
|
+
"TidyUpFacet": {
|
|
16200
|
+
"type": "object",
|
|
16201
|
+
"properties": {
|
|
16202
|
+
"app_key": {
|
|
16203
|
+
"$ref": "#/$defs/AppKey"
|
|
16204
|
+
},
|
|
16205
|
+
"facet": {
|
|
16206
|
+
"type": "string",
|
|
16207
|
+
"enum": [
|
|
16208
|
+
"title",
|
|
16209
|
+
"pin"
|
|
16210
|
+
]
|
|
16211
|
+
},
|
|
16212
|
+
"state": {
|
|
16213
|
+
"type": "string",
|
|
16214
|
+
"enum": [
|
|
16215
|
+
"synced",
|
|
16216
|
+
"not_synced",
|
|
16217
|
+
"unsupported"
|
|
16218
|
+
]
|
|
16219
|
+
},
|
|
16220
|
+
"note": {
|
|
16221
|
+
"type": "string",
|
|
16222
|
+
"maxLength": 400
|
|
16223
|
+
},
|
|
16224
|
+
"to_push": {
|
|
16225
|
+
"type": "integer",
|
|
16226
|
+
"minimum": 0,
|
|
16227
|
+
"maximum": 9007199254740991
|
|
16228
|
+
},
|
|
16229
|
+
"pushed": {
|
|
16230
|
+
"type": "integer",
|
|
16231
|
+
"minimum": 0,
|
|
16232
|
+
"maximum": 9007199254740991
|
|
16233
|
+
},
|
|
16234
|
+
"already": {
|
|
16235
|
+
"type": "integer",
|
|
16236
|
+
"minimum": 0,
|
|
16237
|
+
"maximum": 9007199254740991
|
|
16238
|
+
},
|
|
16239
|
+
"waiting": {
|
|
16240
|
+
"type": "integer",
|
|
16241
|
+
"minimum": 0,
|
|
16242
|
+
"maximum": 9007199254740991
|
|
16243
|
+
},
|
|
16244
|
+
"failed": {
|
|
16245
|
+
"type": "integer",
|
|
16246
|
+
"minimum": 0,
|
|
16247
|
+
"maximum": 9007199254740991
|
|
16248
|
+
}
|
|
16249
|
+
},
|
|
16250
|
+
"required": [
|
|
16251
|
+
"app_key",
|
|
16252
|
+
"facet",
|
|
16253
|
+
"state",
|
|
16254
|
+
"note",
|
|
16255
|
+
"to_push",
|
|
16256
|
+
"pushed",
|
|
16257
|
+
"already",
|
|
16258
|
+
"waiting",
|
|
16259
|
+
"failed"
|
|
16260
|
+
],
|
|
16261
|
+
"additionalProperties": false
|
|
16262
|
+
},
|
|
16263
|
+
"TidyUpRestart": {
|
|
16264
|
+
"type": "object",
|
|
16265
|
+
"properties": {
|
|
16266
|
+
"window": {
|
|
16267
|
+
"$ref": "#/$defs/ChatPlace"
|
|
16268
|
+
},
|
|
16269
|
+
"why": {
|
|
16270
|
+
"type": "string",
|
|
16271
|
+
"maxLength": 400
|
|
16272
|
+
}
|
|
16273
|
+
},
|
|
16274
|
+
"required": [
|
|
16275
|
+
"window",
|
|
16276
|
+
"why"
|
|
16277
|
+
],
|
|
16278
|
+
"additionalProperties": false
|
|
16279
|
+
},
|
|
16008
16280
|
"SpendSplit": {
|
|
16009
16281
|
"type": "object",
|
|
16010
16282
|
"properties": {
|
|
@@ -24999,6 +25271,31 @@
|
|
|
24999
25271
|
"INTERNAL"
|
|
25000
25272
|
]
|
|
25001
25273
|
},
|
|
25274
|
+
"apps.chats.bring_back": {
|
|
25275
|
+
"params": "AppsChatsBringBackParams",
|
|
25276
|
+
"result": "AppsChatsBringBackResult",
|
|
25277
|
+
"kind": "unary",
|
|
25278
|
+
"since": "1.72",
|
|
25279
|
+
"errors": [
|
|
25280
|
+
"NOT_FOUND",
|
|
25281
|
+
"INVALID_PARAMS",
|
|
25282
|
+
"CONFLICT",
|
|
25283
|
+
"PLATFORM_UNSUPPORTED",
|
|
25284
|
+
"INTERNAL"
|
|
25285
|
+
]
|
|
25286
|
+
},
|
|
25287
|
+
"apps.chats.tidy_up": {
|
|
25288
|
+
"params": "AppsChatsTidyUpParams",
|
|
25289
|
+
"result": "AppsChatsTidyUpResult",
|
|
25290
|
+
"kind": "unary",
|
|
25291
|
+
"since": "1.72",
|
|
25292
|
+
"errors": [
|
|
25293
|
+
"INVALID_PARAMS",
|
|
25294
|
+
"NOT_FOUND",
|
|
25295
|
+
"PLATFORM_UNSUPPORTED",
|
|
25296
|
+
"INTERNAL"
|
|
25297
|
+
]
|
|
25298
|
+
},
|
|
25002
25299
|
"apps.spend": {
|
|
25003
25300
|
"params": "AppsSpendParams",
|
|
25004
25301
|
"result": "AppsSpendResult",
|
|
@@ -27332,7 +27629,8 @@
|
|
|
27332
27629
|
"title_sync": "1.61",
|
|
27333
27630
|
"moved": "1.62",
|
|
27334
27631
|
"home": "1.63",
|
|
27335
|
-
"hidden": "1.70"
|
|
27632
|
+
"hidden": "1.70",
|
|
27633
|
+
"pin_sync": "1.72"
|
|
27336
27634
|
},
|
|
27337
27635
|
"AccountUsage": {
|
|
27338
27636
|
"plan": "1.13",
|
|
@@ -27511,5 +27809,5 @@
|
|
|
27511
27809
|
"olderPeersGet": 0
|
|
27512
27810
|
}
|
|
27513
27811
|
},
|
|
27514
|
-
"x-protocol-version": "1.
|
|
27812
|
+
"x-protocol-version": "1.72"
|
|
27515
27813
|
}
|
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.73",
|
|
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": "aa4f979a765a180fe77d3a0a758f022fc030f7d8"
|
|
141
141
|
}
|