@ai-matrx/desktop-protocol 0.21.21 → 0.21.23

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.
@@ -75,7 +75,12 @@
75
75
  "download_failed",
76
76
  "service_starting",
77
77
  "service_restarted",
78
- "service_failed"
78
+ "service_failed",
79
+ "browser_not_connected",
80
+ "browser_ambiguous",
81
+ "browser_account_mismatch",
82
+ "browser_connection_off",
83
+ "awaiting_confirmation"
79
84
  ]
80
85
  },
81
86
  "FsPatchEditFailure": {
@@ -9836,6 +9841,213 @@
9836
9841
  ],
9837
9842
  "additionalProperties": false
9838
9843
  },
9844
+ "TitleCopies": {
9845
+ "type": "object",
9846
+ "properties": {
9847
+ "window": {
9848
+ "$ref": "#/$defs/ChatPlace"
9849
+ },
9850
+ "copies": {
9851
+ "type": "integer",
9852
+ "minimum": 0,
9853
+ "maximum": 9007199254740991
9854
+ },
9855
+ "titles": {
9856
+ "maxItems": 50,
9857
+ "type": "array",
9858
+ "items": {
9859
+ "type": "object",
9860
+ "properties": {
9861
+ "title": {
9862
+ "type": "string",
9863
+ "maxLength": 2000
9864
+ },
9865
+ "source": {
9866
+ "type": "string",
9867
+ "maxLength": 32
9868
+ }
9869
+ },
9870
+ "required": [
9871
+ "title",
9872
+ "source"
9873
+ ],
9874
+ "additionalProperties": false
9875
+ }
9876
+ }
9877
+ },
9878
+ "required": [
9879
+ "window",
9880
+ "copies",
9881
+ "titles"
9882
+ ],
9883
+ "additionalProperties": false
9884
+ },
9885
+ "TitleMismatch": {
9886
+ "type": "object",
9887
+ "properties": {
9888
+ "chat_id": {
9889
+ "$ref": "#/$defs/ChatId"
9890
+ },
9891
+ "title": {
9892
+ "type": "string",
9893
+ "maxLength": 2000
9894
+ },
9895
+ "title_source": {
9896
+ "type": "string",
9897
+ "enum": [
9898
+ "user",
9899
+ "auto"
9900
+ ]
9901
+ },
9902
+ "decided_from": {
9903
+ "type": "string",
9904
+ "maxLength": 64
9905
+ },
9906
+ "kind": {
9907
+ "type": "string",
9908
+ "enum": [
9909
+ "user_vs_auto",
9910
+ "user_vs_user",
9911
+ "auto_vs_auto",
9912
+ "source_only"
9913
+ ]
9914
+ },
9915
+ "windows": {
9916
+ "maxItems": 200,
9917
+ "type": "array",
9918
+ "items": {
9919
+ "$ref": "#/$defs/ChatPlace"
9920
+ }
9921
+ },
9922
+ "differs_in": {
9923
+ "maxItems": 200,
9924
+ "type": "array",
9925
+ "items": {
9926
+ "$ref": "#/$defs/TitleCopies"
9927
+ }
9928
+ }
9929
+ },
9930
+ "required": [
9931
+ "chat_id",
9932
+ "title",
9933
+ "title_source",
9934
+ "decided_from",
9935
+ "kind",
9936
+ "windows",
9937
+ "differs_in"
9938
+ ],
9939
+ "additionalProperties": false
9940
+ },
9941
+ "AppsChatsTitlesCheckParams": {
9942
+ "type": "object",
9943
+ "properties": {
9944
+ "app_key": {
9945
+ "$ref": "#/$defs/AppKey"
9946
+ }
9947
+ },
9948
+ "required": [
9949
+ "app_key"
9950
+ ],
9951
+ "additionalProperties": false
9952
+ },
9953
+ "AppsChatsTitlesCheckResult": {
9954
+ "type": "object",
9955
+ "properties": {
9956
+ "app_key": {
9957
+ "$ref": "#/$defs/AppKey"
9958
+ },
9959
+ "chats_total": {
9960
+ "type": "integer",
9961
+ "minimum": 0,
9962
+ "maximum": 9007199254740991
9963
+ },
9964
+ "chats_in_several_windows": {
9965
+ "type": "integer",
9966
+ "minimum": 0,
9967
+ "maximum": 9007199254740991
9968
+ },
9969
+ "chats_with_a_different_name": {
9970
+ "type": "integer",
9971
+ "minimum": 0,
9972
+ "maximum": 9007199254740991
9973
+ },
9974
+ "copies_to_write": {
9975
+ "type": "integer",
9976
+ "minimum": 0,
9977
+ "maximum": 9007199254740991
9978
+ },
9979
+ "chats": {
9980
+ "maxItems": 5000,
9981
+ "type": "array",
9982
+ "items": {
9983
+ "$ref": "#/$defs/TitleMismatch"
9984
+ }
9985
+ }
9986
+ },
9987
+ "required": [
9988
+ "app_key",
9989
+ "chats_total",
9990
+ "chats_in_several_windows",
9991
+ "chats_with_a_different_name",
9992
+ "copies_to_write",
9993
+ "chats"
9994
+ ],
9995
+ "additionalProperties": false
9996
+ },
9997
+ "AppsChatsTitlesPushParams": {
9998
+ "type": "object",
9999
+ "properties": {
10000
+ "app_key": {
10001
+ "$ref": "#/$defs/AppKey"
10002
+ },
10003
+ "chat_id": {
10004
+ "$ref": "#/$defs/ChatId"
10005
+ },
10006
+ "dry_run": {
10007
+ "type": "boolean"
10008
+ }
10009
+ },
10010
+ "required": [
10011
+ "app_key"
10012
+ ],
10013
+ "additionalProperties": false
10014
+ },
10015
+ "AppsChatsTitlesPushResult": {
10016
+ "type": "object",
10017
+ "properties": {
10018
+ "app_key": {
10019
+ "$ref": "#/$defs/AppKey"
10020
+ },
10021
+ "written": {
10022
+ "type": "integer",
10023
+ "minimum": 0,
10024
+ "maximum": 9007199254740991
10025
+ },
10026
+ "chats_fixed": {
10027
+ "type": "integer",
10028
+ "minimum": 0,
10029
+ "maximum": 9007199254740991
10030
+ },
10031
+ "failed": {
10032
+ "type": "integer",
10033
+ "minimum": 0,
10034
+ "maximum": 9007199254740991
10035
+ },
10036
+ "chats_with_a_different_name": {
10037
+ "type": "integer",
10038
+ "minimum": 0,
10039
+ "maximum": 9007199254740991
10040
+ }
10041
+ },
10042
+ "required": [
10043
+ "app_key",
10044
+ "written",
10045
+ "chats_fixed",
10046
+ "failed",
10047
+ "chats_with_a_different_name"
10048
+ ],
10049
+ "additionalProperties": false
10050
+ },
9839
10051
  "SpendSplit": {
9840
10052
  "type": "object",
9841
10053
  "properties": {
@@ -11920,94 +12132,694 @@
11920
12132
  "installed_version"
11921
12133
  ],
11922
12134
  "additionalProperties": false
11923
- }
11924
- },
11925
- "x-ops": {
11926
- "sysinfo.get": {
11927
- "params": "SysinfoGetParams",
11928
- "result": "SysinfoGetResult",
11929
- "kind": "unary",
11930
- "since": "1.0",
11931
- "errors": [
11932
- "INTERNAL"
11933
- ]
11934
- },
11935
- "sysinfo.hardware": {
11936
- "params": "SysinfoHardwareParams",
11937
- "result": "SysinfoHardwareResult",
11938
- "kind": "unary",
11939
- "since": "1.24",
11940
- "errors": [
11941
- "INTERNAL"
11942
- ]
11943
- },
11944
- "fs.list": {
11945
- "params": "FsListParams",
11946
- "result": "FsListResult",
11947
- "kind": "unary",
11948
- "since": "1.0",
11949
- "errors": [
11950
- "NOT_FOUND",
11951
- "PERMISSION_DENIED_OS",
11952
- "INVALID_PARAMS",
11953
- "RESOURCE_BUSY",
11954
- "INTERNAL"
11955
- ]
11956
12135
  },
11957
- "fs.stat": {
11958
- "params": "FsStatParams",
11959
- "result": "FsEntry",
11960
- "kind": "unary",
11961
- "since": "1.0",
11962
- "errors": [
11963
- "NOT_FOUND",
11964
- "PERMISSION_DENIED_OS",
11965
- "INVALID_PARAMS",
11966
- "RESOURCE_BUSY",
11967
- "INTERNAL"
11968
- ]
12136
+ "BrowserClientInstance": {
12137
+ "type": "string",
12138
+ "minLength": 1,
12139
+ "maxLength": 64,
12140
+ "pattern": "^[A-Za-z0-9_.:-]+$"
11969
12141
  },
11970
- "fs.read": {
11971
- "params": "FsReadParams",
11972
- "result": "FsReadResult",
11973
- "kind": "unary",
11974
- "since": "1.0",
11975
- "errors": [
11976
- "NOT_FOUND",
11977
- "PERMISSION_DENIED_OS",
11978
- "INVALID_PARAMS",
11979
- "RESOURCE_BUSY",
11980
- "INTERNAL",
11981
- "PAYLOAD_TOO_LARGE"
12142
+ "BrowserKind": {
12143
+ "type": "string",
12144
+ "enum": [
12145
+ "chrome",
12146
+ "edge",
12147
+ "brave",
12148
+ "arc",
12149
+ "opera",
12150
+ "vivaldi",
12151
+ "chromium",
12152
+ "firefox",
12153
+ "other"
11982
12154
  ]
11983
12155
  },
11984
- "fs.read_stream": {
11985
- "params": "FsReadStreamParams",
11986
- "result": "FsReadStreamResult",
11987
- "kind": "stream",
11988
- "since": "1.0",
11989
- "errors": [
11990
- "NOT_FOUND",
11991
- "PERMISSION_DENIED_OS",
11992
- "INVALID_PARAMS",
11993
- "RESOURCE_BUSY",
11994
- "INTERNAL",
11995
- "CANCELLED"
12156
+ "BrowserSessionState": {
12157
+ "type": "string",
12158
+ "enum": [
12159
+ "connected",
12160
+ "different_account",
12161
+ "extension_signed_out",
12162
+ "device_signed_out",
12163
+ "unverified"
11996
12164
  ]
11997
12165
  },
11998
- "fs.write": {
11999
- "params": "FsWriteParams",
12000
- "result": "FsWriteResult",
12001
- "kind": "unary",
12002
- "since": "1.0",
12003
- "errors": [
12004
- "NOT_FOUND",
12005
- "PERMISSION_DENIED_OS",
12006
- "INVALID_PARAMS",
12007
- "RESOURCE_BUSY",
12008
- "INTERNAL",
12009
- "CONFLICT",
12010
- "PAYLOAD_TOO_LARGE"
12166
+ "BrowserSession": {
12167
+ "type": "object",
12168
+ "properties": {
12169
+ "client_instance": {
12170
+ "$ref": "#/$defs/BrowserClientInstance"
12171
+ },
12172
+ "client_label": {
12173
+ "type": "string",
12174
+ "minLength": 1,
12175
+ "maxLength": 128
12176
+ },
12177
+ "browser": {
12178
+ "$ref": "#/$defs/BrowserKind"
12179
+ },
12180
+ "extension_version": {
12181
+ "type": "string",
12182
+ "minLength": 1,
12183
+ "maxLength": 32
12184
+ },
12185
+ "state": {
12186
+ "$ref": "#/$defs/BrowserSessionState"
12187
+ },
12188
+ "routable": {
12189
+ "type": "boolean"
12190
+ },
12191
+ "account_email": {
12192
+ "anyOf": [
12193
+ {
12194
+ "type": "string",
12195
+ "maxLength": 320
12196
+ },
12197
+ {
12198
+ "type": "null"
12199
+ }
12200
+ ]
12201
+ },
12202
+ "connected_at_ms": {
12203
+ "type": "integer",
12204
+ "minimum": 0,
12205
+ "maximum": 9007199254740991
12206
+ },
12207
+ "last_call_at_ms": {
12208
+ "anyOf": [
12209
+ {
12210
+ "type": "integer",
12211
+ "minimum": 0,
12212
+ "maximum": 9007199254740991
12213
+ },
12214
+ {
12215
+ "type": "null"
12216
+ }
12217
+ ]
12218
+ },
12219
+ "calls": {
12220
+ "type": "integer",
12221
+ "minimum": 0,
12222
+ "maximum": 9007199254740991
12223
+ },
12224
+ "errors": {
12225
+ "type": "integer",
12226
+ "minimum": 0,
12227
+ "maximum": 9007199254740991
12228
+ },
12229
+ "p50_ms": {
12230
+ "anyOf": [
12231
+ {
12232
+ "type": "integer",
12233
+ "minimum": 0,
12234
+ "maximum": 9007199254740991
12235
+ },
12236
+ {
12237
+ "type": "null"
12238
+ }
12239
+ ]
12240
+ },
12241
+ "p95_ms": {
12242
+ "anyOf": [
12243
+ {
12244
+ "type": "integer",
12245
+ "minimum": 0,
12246
+ "maximum": 9007199254740991
12247
+ },
12248
+ {
12249
+ "type": "null"
12250
+ }
12251
+ ]
12252
+ },
12253
+ "awaiting_confirmation": {
12254
+ "type": "boolean"
12255
+ }
12256
+ },
12257
+ "required": [
12258
+ "client_instance",
12259
+ "client_label",
12260
+ "browser",
12261
+ "extension_version",
12262
+ "state",
12263
+ "routable",
12264
+ "account_email",
12265
+ "connected_at_ms",
12266
+ "last_call_at_ms",
12267
+ "calls",
12268
+ "errors",
12269
+ "p50_ms",
12270
+ "p95_ms",
12271
+ "awaiting_confirmation"
12272
+ ],
12273
+ "additionalProperties": false
12274
+ },
12275
+ "BrowserRegisterParams": {
12276
+ "type": "object",
12277
+ "properties": {
12278
+ "client_instance": {
12279
+ "$ref": "#/$defs/BrowserClientInstance"
12280
+ },
12281
+ "client_label": {
12282
+ "type": "string",
12283
+ "minLength": 1,
12284
+ "maxLength": 128
12285
+ },
12286
+ "browser": {
12287
+ "$ref": "#/$defs/BrowserKind"
12288
+ },
12289
+ "extension_version": {
12290
+ "type": "string",
12291
+ "minLength": 1,
12292
+ "maxLength": 32
12293
+ },
12294
+ "account_token": {
12295
+ "anyOf": [
12296
+ {
12297
+ "type": "string",
12298
+ "minLength": 16,
12299
+ "maxLength": 8192
12300
+ },
12301
+ {
12302
+ "type": "null"
12303
+ }
12304
+ ]
12305
+ }
12306
+ },
12307
+ "required": [
12308
+ "client_instance",
12309
+ "client_label",
12310
+ "browser",
12311
+ "extension_version",
12312
+ "account_token"
12313
+ ],
12314
+ "additionalProperties": false
12315
+ },
12316
+ "BrowserRegisterResult": {
12317
+ "type": "object",
12318
+ "properties": {
12319
+ "session": {
12320
+ "$ref": "#/$defs/BrowserSession"
12321
+ }
12322
+ },
12323
+ "required": [
12324
+ "session"
12325
+ ],
12326
+ "additionalProperties": false
12327
+ },
12328
+ "BrowserCallError": {
12329
+ "type": "object",
12330
+ "properties": {
12331
+ "message": {
12332
+ "type": "string",
12333
+ "maxLength": 1000
12334
+ },
12335
+ "code": {
12336
+ "anyOf": [
12337
+ {
12338
+ "type": "string",
12339
+ "maxLength": 64
12340
+ },
12341
+ {
12342
+ "type": "null"
12343
+ }
12344
+ ]
12345
+ }
12346
+ },
12347
+ "required": [
12348
+ "message",
12349
+ "code"
12350
+ ],
12351
+ "additionalProperties": false
12352
+ },
12353
+ "BrowserResultParams": {
12354
+ "type": "object",
12355
+ "properties": {
12356
+ "call_id": {
12357
+ "type": "string",
12358
+ "minLength": 1,
12359
+ "maxLength": 64
12360
+ },
12361
+ "ok": {
12362
+ "type": "boolean"
12363
+ },
12364
+ "result": {},
12365
+ "error": {
12366
+ "anyOf": [
12367
+ {
12368
+ "$ref": "#/$defs/BrowserCallError"
12369
+ },
12370
+ {
12371
+ "type": "null"
12372
+ }
12373
+ ]
12374
+ }
12375
+ },
12376
+ "required": [
12377
+ "call_id",
12378
+ "ok",
12379
+ "result",
12380
+ "error"
12381
+ ],
12382
+ "additionalProperties": false
12383
+ },
12384
+ "BrowserResultResult": {
12385
+ "type": "object",
12386
+ "properties": {
12387
+ "accepted": {
12388
+ "type": "boolean"
12389
+ }
12390
+ },
12391
+ "required": [
12392
+ "accepted"
12393
+ ],
12394
+ "additionalProperties": false
12395
+ },
12396
+ "BrowserCallPhase": {
12397
+ "type": "string",
12398
+ "enum": [
12399
+ "awaiting_confirmation",
12400
+ "running"
12401
+ ]
12402
+ },
12403
+ "BrowserProgressParams": {
12404
+ "type": "object",
12405
+ "properties": {
12406
+ "call_id": {
12407
+ "type": "string",
12408
+ "minLength": 1,
12409
+ "maxLength": 64
12410
+ },
12411
+ "phase": {
12412
+ "$ref": "#/$defs/BrowserCallPhase"
12413
+ }
12414
+ },
12415
+ "required": [
12416
+ "call_id",
12417
+ "phase"
12418
+ ],
12419
+ "additionalProperties": false
12420
+ },
12421
+ "BrowserProgressResult": {
12422
+ "type": "object",
12423
+ "properties": {
12424
+ "accepted": {
12425
+ "type": "boolean"
12426
+ }
12427
+ },
12428
+ "required": [
12429
+ "accepted"
12430
+ ],
12431
+ "additionalProperties": false
12432
+ },
12433
+ "BrowserSessionsParams": {
12434
+ "type": "object",
12435
+ "properties": {},
12436
+ "additionalProperties": false
12437
+ },
12438
+ "BrowserSessionsResult": {
12439
+ "type": "object",
12440
+ "properties": {
12441
+ "enabled": {
12442
+ "type": "boolean"
12443
+ },
12444
+ "owner_signed_in": {
12445
+ "type": "boolean"
12446
+ },
12447
+ "sessions": {
12448
+ "maxItems": 64,
12449
+ "type": "array",
12450
+ "items": {
12451
+ "$ref": "#/$defs/BrowserSession"
12452
+ }
12453
+ }
12454
+ },
12455
+ "required": [
12456
+ "enabled",
12457
+ "owner_signed_in",
12458
+ "sessions"
12459
+ ],
12460
+ "additionalProperties": false
12461
+ },
12462
+ "BrowserDisconnectParams": {
12463
+ "type": "object",
12464
+ "properties": {
12465
+ "client_instance": {
12466
+ "$ref": "#/$defs/BrowserClientInstance"
12467
+ }
12468
+ },
12469
+ "required": [
12470
+ "client_instance"
12471
+ ],
12472
+ "additionalProperties": false
12473
+ },
12474
+ "BrowserDisconnectResult": {
12475
+ "type": "object",
12476
+ "properties": {
12477
+ "disconnected": {
12478
+ "type": "boolean"
12479
+ }
12480
+ },
12481
+ "required": [
12482
+ "disconnected"
12483
+ ],
12484
+ "additionalProperties": false
12485
+ },
12486
+ "BrowserSetEnabledParams": {
12487
+ "type": "object",
12488
+ "properties": {
12489
+ "enabled": {
12490
+ "type": "boolean"
12491
+ }
12492
+ },
12493
+ "required": [
12494
+ "enabled"
12495
+ ],
12496
+ "additionalProperties": false
12497
+ },
12498
+ "BrowserSetEnabledResult": {
12499
+ "type": "object",
12500
+ "properties": {
12501
+ "enabled": {
12502
+ "type": "boolean"
12503
+ }
12504
+ },
12505
+ "required": [
12506
+ "enabled"
12507
+ ],
12508
+ "additionalProperties": false
12509
+ },
12510
+ "BrowserPairCodeParams": {
12511
+ "type": "object",
12512
+ "properties": {},
12513
+ "additionalProperties": false
12514
+ },
12515
+ "BrowserPairCodeResult": {
12516
+ "type": "object",
12517
+ "properties": {
12518
+ "code": {
12519
+ "type": "string",
12520
+ "minLength": 16,
12521
+ "maxLength": 128
12522
+ }
12523
+ },
12524
+ "required": [
12525
+ "code"
12526
+ ],
12527
+ "additionalProperties": false
12528
+ },
12529
+ "BrowserPairResetParams": {
12530
+ "type": "object",
12531
+ "properties": {},
12532
+ "additionalProperties": false
12533
+ },
12534
+ "BrowserCallParams": {
12535
+ "type": "object",
12536
+ "properties": {
12537
+ "tool": {
12538
+ "type": "string",
12539
+ "minLength": 1,
12540
+ "maxLength": 96,
12541
+ "pattern": "^[a-z][a-z0-9_]*$"
12542
+ },
12543
+ "args": {
12544
+ "type": "object",
12545
+ "propertyNames": {
12546
+ "type": "string"
12547
+ },
12548
+ "additionalProperties": {}
12549
+ },
12550
+ "client_instance": {
12551
+ "$ref": "#/$defs/BrowserClientInstance"
12552
+ },
12553
+ "timeout_ms": {
12554
+ "type": "integer",
12555
+ "minimum": 1000,
12556
+ "maximum": 600000
12557
+ }
12558
+ },
12559
+ "required": [
12560
+ "tool",
12561
+ "args"
12562
+ ],
12563
+ "additionalProperties": false
12564
+ },
12565
+ "BrowserCallResult": {
12566
+ "type": "object",
12567
+ "properties": {
12568
+ "client_instance": {
12569
+ "$ref": "#/$defs/BrowserClientInstance"
12570
+ },
12571
+ "result": {},
12572
+ "duration_ms": {
12573
+ "type": "integer",
12574
+ "minimum": 0,
12575
+ "maximum": 9007199254740991
12576
+ }
12577
+ },
12578
+ "required": [
12579
+ "client_instance",
12580
+ "result",
12581
+ "duration_ms"
12582
+ ],
12583
+ "additionalProperties": false
12584
+ },
12585
+ "BrowserInvokeEvent": {
12586
+ "type": "object",
12587
+ "properties": {
12588
+ "call_id": {
12589
+ "type": "string",
12590
+ "minLength": 1,
12591
+ "maxLength": 64
12592
+ },
12593
+ "tool": {
12594
+ "type": "string",
12595
+ "minLength": 1,
12596
+ "maxLength": 96
12597
+ },
12598
+ "args": {
12599
+ "type": "object",
12600
+ "propertyNames": {
12601
+ "type": "string"
12602
+ },
12603
+ "additionalProperties": {}
12604
+ },
12605
+ "deadline_ms": {
12606
+ "type": "integer",
12607
+ "minimum": 0,
12608
+ "maximum": 9007199254740991
12609
+ }
12610
+ },
12611
+ "required": [
12612
+ "call_id",
12613
+ "tool",
12614
+ "args",
12615
+ "deadline_ms"
12616
+ ],
12617
+ "additionalProperties": false
12618
+ },
12619
+ "BrowserSessionsChangedEvent": {
12620
+ "type": "object",
12621
+ "properties": {
12622
+ "count": {
12623
+ "type": "integer",
12624
+ "minimum": 0,
12625
+ "maximum": 9007199254740991
12626
+ },
12627
+ "enabled": {
12628
+ "type": "boolean"
12629
+ }
12630
+ },
12631
+ "required": [
12632
+ "count",
12633
+ "enabled"
12634
+ ],
12635
+ "additionalProperties": false
12636
+ },
12637
+ "BrowserProgressEvent": {
12638
+ "type": "object",
12639
+ "properties": {
12640
+ "call_id": {
12641
+ "type": "string",
12642
+ "minLength": 1,
12643
+ "maxLength": 64
12644
+ },
12645
+ "client_instance": {
12646
+ "$ref": "#/$defs/BrowserClientInstance"
12647
+ },
12648
+ "phase": {
12649
+ "$ref": "#/$defs/BrowserCallPhase"
12650
+ }
12651
+ },
12652
+ "required": [
12653
+ "call_id",
12654
+ "client_instance",
12655
+ "phase"
12656
+ ],
12657
+ "additionalProperties": false
12658
+ },
12659
+ "DesktopHealth": {
12660
+ "type": "object",
12661
+ "properties": {
12662
+ "status": {
12663
+ "type": "string",
12664
+ "const": "ok"
12665
+ },
12666
+ "service": {
12667
+ "type": "string",
12668
+ "const": "matrx-desktop"
12669
+ },
12670
+ "version": {
12671
+ "type": "string",
12672
+ "maxLength": 32
12673
+ },
12674
+ "protocol_version": {
12675
+ "type": "string",
12676
+ "maxLength": 16
12677
+ },
12678
+ "ws_path": {
12679
+ "type": "string",
12680
+ "const": "/v1/connect"
12681
+ },
12682
+ "device_id": {
12683
+ "type": "string",
12684
+ "maxLength": 64
12685
+ },
12686
+ "browser_connection": {
12687
+ "type": "string",
12688
+ "enum": [
12689
+ "on",
12690
+ "off"
12691
+ ]
12692
+ }
12693
+ },
12694
+ "required": [
12695
+ "status",
12696
+ "service",
12697
+ "version",
12698
+ "protocol_version",
12699
+ "ws_path",
12700
+ "device_id",
12701
+ "browser_connection"
12702
+ ],
12703
+ "additionalProperties": false
12704
+ },
12705
+ "BrowserPairRequest": {
12706
+ "type": "object",
12707
+ "properties": {
12708
+ "client_instance": {
12709
+ "$ref": "#/$defs/BrowserClientInstance"
12710
+ }
12711
+ },
12712
+ "required": [
12713
+ "client_instance"
12714
+ ],
12715
+ "additionalProperties": false
12716
+ },
12717
+ "BrowserPairResult": {
12718
+ "type": "object",
12719
+ "properties": {
12720
+ "pair_token": {
12721
+ "type": "string",
12722
+ "minLength": 16,
12723
+ "maxLength": 128
12724
+ },
12725
+ "ws_path": {
12726
+ "type": "string",
12727
+ "const": "/v1/connect"
12728
+ }
12729
+ },
12730
+ "required": [
12731
+ "pair_token",
12732
+ "ws_path"
12733
+ ],
12734
+ "additionalProperties": false
12735
+ }
12736
+ },
12737
+ "x-ops": {
12738
+ "sysinfo.get": {
12739
+ "params": "SysinfoGetParams",
12740
+ "result": "SysinfoGetResult",
12741
+ "kind": "unary",
12742
+ "since": "1.0",
12743
+ "errors": [
12744
+ "INTERNAL"
12745
+ ]
12746
+ },
12747
+ "sysinfo.hardware": {
12748
+ "params": "SysinfoHardwareParams",
12749
+ "result": "SysinfoHardwareResult",
12750
+ "kind": "unary",
12751
+ "since": "1.24",
12752
+ "errors": [
12753
+ "INTERNAL"
12754
+ ]
12755
+ },
12756
+ "fs.list": {
12757
+ "params": "FsListParams",
12758
+ "result": "FsListResult",
12759
+ "kind": "unary",
12760
+ "since": "1.0",
12761
+ "errors": [
12762
+ "NOT_FOUND",
12763
+ "PERMISSION_DENIED_OS",
12764
+ "INVALID_PARAMS",
12765
+ "RESOURCE_BUSY",
12766
+ "INTERNAL"
12767
+ ]
12768
+ },
12769
+ "fs.stat": {
12770
+ "params": "FsStatParams",
12771
+ "result": "FsEntry",
12772
+ "kind": "unary",
12773
+ "since": "1.0",
12774
+ "errors": [
12775
+ "NOT_FOUND",
12776
+ "PERMISSION_DENIED_OS",
12777
+ "INVALID_PARAMS",
12778
+ "RESOURCE_BUSY",
12779
+ "INTERNAL"
12780
+ ]
12781
+ },
12782
+ "fs.read": {
12783
+ "params": "FsReadParams",
12784
+ "result": "FsReadResult",
12785
+ "kind": "unary",
12786
+ "since": "1.0",
12787
+ "errors": [
12788
+ "NOT_FOUND",
12789
+ "PERMISSION_DENIED_OS",
12790
+ "INVALID_PARAMS",
12791
+ "RESOURCE_BUSY",
12792
+ "INTERNAL",
12793
+ "PAYLOAD_TOO_LARGE"
12794
+ ]
12795
+ },
12796
+ "fs.read_stream": {
12797
+ "params": "FsReadStreamParams",
12798
+ "result": "FsReadStreamResult",
12799
+ "kind": "stream",
12800
+ "since": "1.0",
12801
+ "errors": [
12802
+ "NOT_FOUND",
12803
+ "PERMISSION_DENIED_OS",
12804
+ "INVALID_PARAMS",
12805
+ "RESOURCE_BUSY",
12806
+ "INTERNAL",
12807
+ "CANCELLED"
12808
+ ]
12809
+ },
12810
+ "fs.write": {
12811
+ "params": "FsWriteParams",
12812
+ "result": "FsWriteResult",
12813
+ "kind": "unary",
12814
+ "since": "1.0",
12815
+ "errors": [
12816
+ "NOT_FOUND",
12817
+ "PERMISSION_DENIED_OS",
12818
+ "INVALID_PARAMS",
12819
+ "RESOURCE_BUSY",
12820
+ "INTERNAL",
12821
+ "CONFLICT",
12822
+ "PAYLOAD_TOO_LARGE"
12011
12823
  ]
12012
12824
  },
12013
12825
  "fs.mkdir": {
@@ -12589,6 +13401,29 @@
12589
13401
  "INTERNAL"
12590
13402
  ]
12591
13403
  },
13404
+ "apps.chats.titles_check": {
13405
+ "params": "AppsChatsTitlesCheckParams",
13406
+ "result": "AppsChatsTitlesCheckResult",
13407
+ "kind": "unary",
13408
+ "since": "1.29",
13409
+ "errors": [
13410
+ "NOT_FOUND",
13411
+ "PLATFORM_UNSUPPORTED",
13412
+ "INTERNAL"
13413
+ ]
13414
+ },
13415
+ "apps.chats.titles_push": {
13416
+ "params": "AppsChatsTitlesPushParams",
13417
+ "result": "AppsChatsTitlesPushResult",
13418
+ "kind": "unary",
13419
+ "since": "1.29",
13420
+ "errors": [
13421
+ "NOT_FOUND",
13422
+ "CONFLICT",
13423
+ "PLATFORM_UNSUPPORTED",
13424
+ "INTERNAL"
13425
+ ]
13426
+ },
12592
13427
  "apps.spend": {
12593
13428
  "params": "AppsSpendParams",
12594
13429
  "result": "AppsSpendResult",
@@ -13460,6 +14295,102 @@
13460
14295
  "PLATFORM_UNSUPPORTED",
13461
14296
  "INTERNAL"
13462
14297
  ]
14298
+ },
14299
+ "browser.register": {
14300
+ "params": "BrowserRegisterParams",
14301
+ "result": "BrowserRegisterResult",
14302
+ "kind": "unary",
14303
+ "since": "1.28",
14304
+ "errors": [
14305
+ "AUTH_FORBIDDEN",
14306
+ "INVALID_PARAMS",
14307
+ "INTERNAL"
14308
+ ]
14309
+ },
14310
+ "browser.result": {
14311
+ "params": "BrowserResultParams",
14312
+ "result": "BrowserResultResult",
14313
+ "kind": "unary",
14314
+ "since": "1.28",
14315
+ "errors": [
14316
+ "AUTH_FORBIDDEN",
14317
+ "PAYLOAD_TOO_LARGE"
14318
+ ]
14319
+ },
14320
+ "browser.progress": {
14321
+ "params": "BrowserProgressParams",
14322
+ "result": "BrowserProgressResult",
14323
+ "kind": "unary",
14324
+ "since": "1.28",
14325
+ "errors": [
14326
+ "AUTH_FORBIDDEN"
14327
+ ]
14328
+ },
14329
+ "browser.sessions": {
14330
+ "params": "BrowserSessionsParams",
14331
+ "result": "BrowserSessionsResult",
14332
+ "kind": "unary",
14333
+ "since": "1.28",
14334
+ "errors": [
14335
+ "INTERNAL"
14336
+ ]
14337
+ },
14338
+ "browser.disconnect": {
14339
+ "params": "BrowserDisconnectParams",
14340
+ "result": "BrowserDisconnectResult",
14341
+ "kind": "unary",
14342
+ "since": "1.28",
14343
+ "errors": [
14344
+ "NOT_FOUND",
14345
+ "AUTH_FORBIDDEN"
14346
+ ]
14347
+ },
14348
+ "browser.set_enabled": {
14349
+ "params": "BrowserSetEnabledParams",
14350
+ "result": "BrowserSetEnabledResult",
14351
+ "kind": "unary",
14352
+ "since": "1.28",
14353
+ "errors": [
14354
+ "AUTH_FORBIDDEN",
14355
+ "INTERNAL"
14356
+ ]
14357
+ },
14358
+ "browser.pair_code": {
14359
+ "params": "BrowserPairCodeParams",
14360
+ "result": "BrowserPairCodeResult",
14361
+ "kind": "unary",
14362
+ "since": "1.28",
14363
+ "errors": [
14364
+ "AUTH_FORBIDDEN",
14365
+ "INTERNAL"
14366
+ ]
14367
+ },
14368
+ "browser.pair_reset": {
14369
+ "params": "BrowserPairResetParams",
14370
+ "result": "BrowserPairCodeResult",
14371
+ "kind": "unary",
14372
+ "since": "1.28",
14373
+ "errors": [
14374
+ "AUTH_FORBIDDEN",
14375
+ "INTERNAL"
14376
+ ]
14377
+ },
14378
+ "browser.call": {
14379
+ "params": "BrowserCallParams",
14380
+ "result": "BrowserCallResult",
14381
+ "kind": "unary",
14382
+ "since": "1.28",
14383
+ "errors": [
14384
+ "NOT_FOUND",
14385
+ "CONFLICT",
14386
+ "AUTH_FORBIDDEN",
14387
+ "INVALID_PARAMS",
14388
+ "TIMEOUT",
14389
+ "CANCELLED",
14390
+ "RESOURCE_GONE",
14391
+ "PAYLOAD_TOO_LARGE",
14392
+ "INTERNAL"
14393
+ ]
13463
14394
  }
13464
14395
  },
13465
14396
  "x-events": {
@@ -13474,7 +14405,10 @@
13474
14405
  "coding.history.progress": "CodingHistoryProgressEvent",
13475
14406
  "relay.device_status": "RelayDeviceStatusEvent",
13476
14407
  "relay.auth_expiring": "RelayAuthExpiringEvent",
13477
- "diag.errors.changed": "DiagErrorsChangedEvent"
14408
+ "diag.errors.changed": "DiagErrorsChangedEvent",
14409
+ "browser.invoke": "BrowserInvokeEvent",
14410
+ "browser.sessions_changed": "BrowserSessionsChangedEvent",
14411
+ "browser.progress": "BrowserProgressEvent"
13478
14412
  },
13479
14413
  "x-services": {
13480
14414
  "ml": {
@@ -13602,5 +14536,5 @@
13602
14536
  "olderPeersGet": 0
13603
14537
  }
13604
14538
  },
13605
- "x-protocol-version": "1.27"
14539
+ "x-protocol-version": "1.29"
13606
14540
  }