@ai-matrx/desktop-protocol 0.21.71 → 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 +31 -0
- package/dist/{chunk-server-TKQNS7QK.js → chunk-server-MK77KDKS.js} +74 -7
- package/dist/chunk-server-MK77KDKS.js.map +1 -0
- package/dist/client.cjs +56 -3
- 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 +74 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +266 -10
- package/dist/index.d.ts +266 -10
- package/dist/index.js +16 -2
- package/dist/index.js.map +1 -1
- package/dist/{models-lURX04tj.d.cts → models-ClCrYsEt.d.cts} +414 -8
- package/dist/{models-lURX04tj.d.ts → models-ClCrYsEt.d.ts} +414 -8
- package/dist/react.d.cts +191 -3
- package/dist/react.d.ts +191 -3
- package/generated/desktop-protocol.schema.json +400 -4
- package/package.json +2 -2
- package/dist/chunk-server-TKQNS7QK.js.map +0 -1
|
@@ -487,6 +487,81 @@
|
|
|
487
487
|
],
|
|
488
488
|
"additionalProperties": false
|
|
489
489
|
},
|
|
490
|
+
"ElsewhereInstance": {
|
|
491
|
+
"type": "object",
|
|
492
|
+
"properties": {
|
|
493
|
+
"app_key": {
|
|
494
|
+
"$ref": "#/$defs/AppKey"
|
|
495
|
+
},
|
|
496
|
+
"key": {
|
|
497
|
+
"type": "string",
|
|
498
|
+
"maxLength": 120
|
|
499
|
+
},
|
|
500
|
+
"main": {
|
|
501
|
+
"type": "boolean"
|
|
502
|
+
},
|
|
503
|
+
"computer": {
|
|
504
|
+
"type": "string",
|
|
505
|
+
"maxLength": 200
|
|
506
|
+
},
|
|
507
|
+
"folder": {
|
|
508
|
+
"anyOf": [
|
|
509
|
+
{
|
|
510
|
+
"type": "string",
|
|
511
|
+
"maxLength": 1024
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"type": "null"
|
|
515
|
+
}
|
|
516
|
+
]
|
|
517
|
+
},
|
|
518
|
+
"account_id": {
|
|
519
|
+
"anyOf": [
|
|
520
|
+
{
|
|
521
|
+
"type": "string",
|
|
522
|
+
"maxLength": 200
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"type": "null"
|
|
526
|
+
}
|
|
527
|
+
]
|
|
528
|
+
},
|
|
529
|
+
"account": {
|
|
530
|
+
"anyOf": [
|
|
531
|
+
{
|
|
532
|
+
"type": "string",
|
|
533
|
+
"maxLength": 320
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"type": "null"
|
|
537
|
+
}
|
|
538
|
+
]
|
|
539
|
+
},
|
|
540
|
+
"seen_ms": {
|
|
541
|
+
"anyOf": [
|
|
542
|
+
{
|
|
543
|
+
"type": "integer",
|
|
544
|
+
"minimum": 0,
|
|
545
|
+
"maximum": 9007199254740991
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"type": "null"
|
|
549
|
+
}
|
|
550
|
+
]
|
|
551
|
+
}
|
|
552
|
+
},
|
|
553
|
+
"required": [
|
|
554
|
+
"app_key",
|
|
555
|
+
"key",
|
|
556
|
+
"main",
|
|
557
|
+
"computer",
|
|
558
|
+
"folder",
|
|
559
|
+
"account_id",
|
|
560
|
+
"account",
|
|
561
|
+
"seen_ms"
|
|
562
|
+
],
|
|
563
|
+
"additionalProperties": false
|
|
564
|
+
},
|
|
490
565
|
"AccountResetSource": {
|
|
491
566
|
"type": "string",
|
|
492
567
|
"enum": [
|
|
@@ -741,6 +816,21 @@
|
|
|
741
816
|
},
|
|
742
817
|
"refreshing": {
|
|
743
818
|
"type": "boolean"
|
|
819
|
+
},
|
|
820
|
+
"computer": {
|
|
821
|
+
"type": "string",
|
|
822
|
+
"maxLength": 200
|
|
823
|
+
},
|
|
824
|
+
"elsewhere": {
|
|
825
|
+
"maxItems": 500,
|
|
826
|
+
"type": "array",
|
|
827
|
+
"items": {
|
|
828
|
+
"$ref": "#/$defs/ElsewhereInstance"
|
|
829
|
+
}
|
|
830
|
+
},
|
|
831
|
+
"shared_problem": {
|
|
832
|
+
"type": "string",
|
|
833
|
+
"maxLength": 200
|
|
744
834
|
}
|
|
745
835
|
},
|
|
746
836
|
"required": [
|
|
@@ -789,6 +879,10 @@
|
|
|
789
879
|
},
|
|
790
880
|
"refreshing": {
|
|
791
881
|
"type": "boolean"
|
|
882
|
+
},
|
|
883
|
+
"shared_problem": {
|
|
884
|
+
"type": "string",
|
|
885
|
+
"maxLength": 200
|
|
792
886
|
}
|
|
793
887
|
},
|
|
794
888
|
"required": [
|
|
@@ -13365,6 +13459,9 @@
|
|
|
13365
13459
|
"title_sync": {
|
|
13366
13460
|
"$ref": "#/$defs/ChatTitleSync"
|
|
13367
13461
|
},
|
|
13462
|
+
"pin_sync": {
|
|
13463
|
+
"$ref": "#/$defs/ChatTitleSync"
|
|
13464
|
+
},
|
|
13368
13465
|
"moved": {
|
|
13369
13466
|
"maxItems": 50,
|
|
13370
13467
|
"type": "array",
|
|
@@ -15911,6 +16008,275 @@
|
|
|
15911
16008
|
],
|
|
15912
16009
|
"additionalProperties": false
|
|
15913
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
|
+
},
|
|
15914
16280
|
"SpendSplit": {
|
|
15915
16281
|
"type": "object",
|
|
15916
16282
|
"properties": {
|
|
@@ -24905,6 +25271,31 @@
|
|
|
24905
25271
|
"INTERNAL"
|
|
24906
25272
|
]
|
|
24907
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
|
+
},
|
|
24908
25299
|
"apps.spend": {
|
|
24909
25300
|
"params": "AppsSpendParams",
|
|
24910
25301
|
"result": "AppsSpendResult",
|
|
@@ -27200,14 +27591,18 @@
|
|
|
27200
27591
|
},
|
|
27201
27592
|
"AppsInstancesListResult": {
|
|
27202
27593
|
"as_of_ms": "1.51",
|
|
27203
|
-
"refreshing": "1.51"
|
|
27594
|
+
"refreshing": "1.51",
|
|
27595
|
+
"computer": "1.71",
|
|
27596
|
+
"elsewhere": "1.71",
|
|
27597
|
+
"shared_problem": "1.71"
|
|
27204
27598
|
},
|
|
27205
27599
|
"AppsAccountsListParams": {
|
|
27206
27600
|
"fresh": "1.51"
|
|
27207
27601
|
},
|
|
27208
27602
|
"AppsAccountsListResult": {
|
|
27209
27603
|
"as_of_ms": "1.51",
|
|
27210
|
-
"refreshing": "1.51"
|
|
27604
|
+
"refreshing": "1.51",
|
|
27605
|
+
"shared_problem": "1.71"
|
|
27211
27606
|
},
|
|
27212
27607
|
"AppsChatsListResult": {
|
|
27213
27608
|
"updating": "1.9",
|
|
@@ -27234,7 +27629,8 @@
|
|
|
27234
27629
|
"title_sync": "1.61",
|
|
27235
27630
|
"moved": "1.62",
|
|
27236
27631
|
"home": "1.63",
|
|
27237
|
-
"hidden": "1.70"
|
|
27632
|
+
"hidden": "1.70",
|
|
27633
|
+
"pin_sync": "1.72"
|
|
27238
27634
|
},
|
|
27239
27635
|
"AccountUsage": {
|
|
27240
27636
|
"plan": "1.13",
|
|
@@ -27413,5 +27809,5 @@
|
|
|
27413
27809
|
"olderPeersGet": 0
|
|
27414
27810
|
}
|
|
27415
27811
|
},
|
|
27416
|
-
"x-protocol-version": "1.
|
|
27812
|
+
"x-protocol-version": "1.72"
|
|
27417
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
|
}
|