@ai-matrx/desktop-protocol 0.21.21 → 0.21.22
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 +131 -4
- 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 +131 -4
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +204 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +329 -6
- package/dist/index.d.ts +329 -6
- package/dist/index.js +204 -7
- package/dist/index.js.map +1 -1
- package/dist/{models-ZQtKshfc.d.cts → models-qdApKBdY.d.cts} +495 -2
- package/dist/{models-ZQtKshfc.d.ts → models-qdApKBdY.d.ts} +495 -2
- package/dist/react.d.cts +205 -1
- package/dist/react.d.ts +205 -1
- package/generated/desktop-protocol.schema.json +707 -3
- package/package.json +2 -2
|
@@ -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": {
|
|
@@ -11920,6 +11925,606 @@
|
|
|
11920
11925
|
"installed_version"
|
|
11921
11926
|
],
|
|
11922
11927
|
"additionalProperties": false
|
|
11928
|
+
},
|
|
11929
|
+
"BrowserClientInstance": {
|
|
11930
|
+
"type": "string",
|
|
11931
|
+
"minLength": 1,
|
|
11932
|
+
"maxLength": 64,
|
|
11933
|
+
"pattern": "^[A-Za-z0-9_.:-]+$"
|
|
11934
|
+
},
|
|
11935
|
+
"BrowserKind": {
|
|
11936
|
+
"type": "string",
|
|
11937
|
+
"enum": [
|
|
11938
|
+
"chrome",
|
|
11939
|
+
"edge",
|
|
11940
|
+
"brave",
|
|
11941
|
+
"arc",
|
|
11942
|
+
"opera",
|
|
11943
|
+
"vivaldi",
|
|
11944
|
+
"chromium",
|
|
11945
|
+
"firefox",
|
|
11946
|
+
"other"
|
|
11947
|
+
]
|
|
11948
|
+
},
|
|
11949
|
+
"BrowserSessionState": {
|
|
11950
|
+
"type": "string",
|
|
11951
|
+
"enum": [
|
|
11952
|
+
"connected",
|
|
11953
|
+
"different_account",
|
|
11954
|
+
"extension_signed_out",
|
|
11955
|
+
"device_signed_out",
|
|
11956
|
+
"unverified"
|
|
11957
|
+
]
|
|
11958
|
+
},
|
|
11959
|
+
"BrowserSession": {
|
|
11960
|
+
"type": "object",
|
|
11961
|
+
"properties": {
|
|
11962
|
+
"client_instance": {
|
|
11963
|
+
"$ref": "#/$defs/BrowserClientInstance"
|
|
11964
|
+
},
|
|
11965
|
+
"client_label": {
|
|
11966
|
+
"type": "string",
|
|
11967
|
+
"minLength": 1,
|
|
11968
|
+
"maxLength": 128
|
|
11969
|
+
},
|
|
11970
|
+
"browser": {
|
|
11971
|
+
"$ref": "#/$defs/BrowserKind"
|
|
11972
|
+
},
|
|
11973
|
+
"extension_version": {
|
|
11974
|
+
"type": "string",
|
|
11975
|
+
"minLength": 1,
|
|
11976
|
+
"maxLength": 32
|
|
11977
|
+
},
|
|
11978
|
+
"state": {
|
|
11979
|
+
"$ref": "#/$defs/BrowserSessionState"
|
|
11980
|
+
},
|
|
11981
|
+
"routable": {
|
|
11982
|
+
"type": "boolean"
|
|
11983
|
+
},
|
|
11984
|
+
"account_email": {
|
|
11985
|
+
"anyOf": [
|
|
11986
|
+
{
|
|
11987
|
+
"type": "string",
|
|
11988
|
+
"maxLength": 320
|
|
11989
|
+
},
|
|
11990
|
+
{
|
|
11991
|
+
"type": "null"
|
|
11992
|
+
}
|
|
11993
|
+
]
|
|
11994
|
+
},
|
|
11995
|
+
"connected_at_ms": {
|
|
11996
|
+
"type": "integer",
|
|
11997
|
+
"minimum": 0,
|
|
11998
|
+
"maximum": 9007199254740991
|
|
11999
|
+
},
|
|
12000
|
+
"last_call_at_ms": {
|
|
12001
|
+
"anyOf": [
|
|
12002
|
+
{
|
|
12003
|
+
"type": "integer",
|
|
12004
|
+
"minimum": 0,
|
|
12005
|
+
"maximum": 9007199254740991
|
|
12006
|
+
},
|
|
12007
|
+
{
|
|
12008
|
+
"type": "null"
|
|
12009
|
+
}
|
|
12010
|
+
]
|
|
12011
|
+
},
|
|
12012
|
+
"calls": {
|
|
12013
|
+
"type": "integer",
|
|
12014
|
+
"minimum": 0,
|
|
12015
|
+
"maximum": 9007199254740991
|
|
12016
|
+
},
|
|
12017
|
+
"errors": {
|
|
12018
|
+
"type": "integer",
|
|
12019
|
+
"minimum": 0,
|
|
12020
|
+
"maximum": 9007199254740991
|
|
12021
|
+
},
|
|
12022
|
+
"p50_ms": {
|
|
12023
|
+
"anyOf": [
|
|
12024
|
+
{
|
|
12025
|
+
"type": "integer",
|
|
12026
|
+
"minimum": 0,
|
|
12027
|
+
"maximum": 9007199254740991
|
|
12028
|
+
},
|
|
12029
|
+
{
|
|
12030
|
+
"type": "null"
|
|
12031
|
+
}
|
|
12032
|
+
]
|
|
12033
|
+
},
|
|
12034
|
+
"p95_ms": {
|
|
12035
|
+
"anyOf": [
|
|
12036
|
+
{
|
|
12037
|
+
"type": "integer",
|
|
12038
|
+
"minimum": 0,
|
|
12039
|
+
"maximum": 9007199254740991
|
|
12040
|
+
},
|
|
12041
|
+
{
|
|
12042
|
+
"type": "null"
|
|
12043
|
+
}
|
|
12044
|
+
]
|
|
12045
|
+
},
|
|
12046
|
+
"awaiting_confirmation": {
|
|
12047
|
+
"type": "boolean"
|
|
12048
|
+
}
|
|
12049
|
+
},
|
|
12050
|
+
"required": [
|
|
12051
|
+
"client_instance",
|
|
12052
|
+
"client_label",
|
|
12053
|
+
"browser",
|
|
12054
|
+
"extension_version",
|
|
12055
|
+
"state",
|
|
12056
|
+
"routable",
|
|
12057
|
+
"account_email",
|
|
12058
|
+
"connected_at_ms",
|
|
12059
|
+
"last_call_at_ms",
|
|
12060
|
+
"calls",
|
|
12061
|
+
"errors",
|
|
12062
|
+
"p50_ms",
|
|
12063
|
+
"p95_ms",
|
|
12064
|
+
"awaiting_confirmation"
|
|
12065
|
+
],
|
|
12066
|
+
"additionalProperties": false
|
|
12067
|
+
},
|
|
12068
|
+
"BrowserRegisterParams": {
|
|
12069
|
+
"type": "object",
|
|
12070
|
+
"properties": {
|
|
12071
|
+
"client_instance": {
|
|
12072
|
+
"$ref": "#/$defs/BrowserClientInstance"
|
|
12073
|
+
},
|
|
12074
|
+
"client_label": {
|
|
12075
|
+
"type": "string",
|
|
12076
|
+
"minLength": 1,
|
|
12077
|
+
"maxLength": 128
|
|
12078
|
+
},
|
|
12079
|
+
"browser": {
|
|
12080
|
+
"$ref": "#/$defs/BrowserKind"
|
|
12081
|
+
},
|
|
12082
|
+
"extension_version": {
|
|
12083
|
+
"type": "string",
|
|
12084
|
+
"minLength": 1,
|
|
12085
|
+
"maxLength": 32
|
|
12086
|
+
},
|
|
12087
|
+
"account_token": {
|
|
12088
|
+
"anyOf": [
|
|
12089
|
+
{
|
|
12090
|
+
"type": "string",
|
|
12091
|
+
"minLength": 16,
|
|
12092
|
+
"maxLength": 8192
|
|
12093
|
+
},
|
|
12094
|
+
{
|
|
12095
|
+
"type": "null"
|
|
12096
|
+
}
|
|
12097
|
+
]
|
|
12098
|
+
}
|
|
12099
|
+
},
|
|
12100
|
+
"required": [
|
|
12101
|
+
"client_instance",
|
|
12102
|
+
"client_label",
|
|
12103
|
+
"browser",
|
|
12104
|
+
"extension_version",
|
|
12105
|
+
"account_token"
|
|
12106
|
+
],
|
|
12107
|
+
"additionalProperties": false
|
|
12108
|
+
},
|
|
12109
|
+
"BrowserRegisterResult": {
|
|
12110
|
+
"type": "object",
|
|
12111
|
+
"properties": {
|
|
12112
|
+
"session": {
|
|
12113
|
+
"$ref": "#/$defs/BrowserSession"
|
|
12114
|
+
}
|
|
12115
|
+
},
|
|
12116
|
+
"required": [
|
|
12117
|
+
"session"
|
|
12118
|
+
],
|
|
12119
|
+
"additionalProperties": false
|
|
12120
|
+
},
|
|
12121
|
+
"BrowserCallError": {
|
|
12122
|
+
"type": "object",
|
|
12123
|
+
"properties": {
|
|
12124
|
+
"message": {
|
|
12125
|
+
"type": "string",
|
|
12126
|
+
"maxLength": 1000
|
|
12127
|
+
},
|
|
12128
|
+
"code": {
|
|
12129
|
+
"anyOf": [
|
|
12130
|
+
{
|
|
12131
|
+
"type": "string",
|
|
12132
|
+
"maxLength": 64
|
|
12133
|
+
},
|
|
12134
|
+
{
|
|
12135
|
+
"type": "null"
|
|
12136
|
+
}
|
|
12137
|
+
]
|
|
12138
|
+
}
|
|
12139
|
+
},
|
|
12140
|
+
"required": [
|
|
12141
|
+
"message",
|
|
12142
|
+
"code"
|
|
12143
|
+
],
|
|
12144
|
+
"additionalProperties": false
|
|
12145
|
+
},
|
|
12146
|
+
"BrowserResultParams": {
|
|
12147
|
+
"type": "object",
|
|
12148
|
+
"properties": {
|
|
12149
|
+
"call_id": {
|
|
12150
|
+
"type": "string",
|
|
12151
|
+
"minLength": 1,
|
|
12152
|
+
"maxLength": 64
|
|
12153
|
+
},
|
|
12154
|
+
"ok": {
|
|
12155
|
+
"type": "boolean"
|
|
12156
|
+
},
|
|
12157
|
+
"result": {},
|
|
12158
|
+
"error": {
|
|
12159
|
+
"anyOf": [
|
|
12160
|
+
{
|
|
12161
|
+
"$ref": "#/$defs/BrowserCallError"
|
|
12162
|
+
},
|
|
12163
|
+
{
|
|
12164
|
+
"type": "null"
|
|
12165
|
+
}
|
|
12166
|
+
]
|
|
12167
|
+
}
|
|
12168
|
+
},
|
|
12169
|
+
"required": [
|
|
12170
|
+
"call_id",
|
|
12171
|
+
"ok",
|
|
12172
|
+
"result",
|
|
12173
|
+
"error"
|
|
12174
|
+
],
|
|
12175
|
+
"additionalProperties": false
|
|
12176
|
+
},
|
|
12177
|
+
"BrowserResultResult": {
|
|
12178
|
+
"type": "object",
|
|
12179
|
+
"properties": {
|
|
12180
|
+
"accepted": {
|
|
12181
|
+
"type": "boolean"
|
|
12182
|
+
}
|
|
12183
|
+
},
|
|
12184
|
+
"required": [
|
|
12185
|
+
"accepted"
|
|
12186
|
+
],
|
|
12187
|
+
"additionalProperties": false
|
|
12188
|
+
},
|
|
12189
|
+
"BrowserCallPhase": {
|
|
12190
|
+
"type": "string",
|
|
12191
|
+
"enum": [
|
|
12192
|
+
"awaiting_confirmation",
|
|
12193
|
+
"running"
|
|
12194
|
+
]
|
|
12195
|
+
},
|
|
12196
|
+
"BrowserProgressParams": {
|
|
12197
|
+
"type": "object",
|
|
12198
|
+
"properties": {
|
|
12199
|
+
"call_id": {
|
|
12200
|
+
"type": "string",
|
|
12201
|
+
"minLength": 1,
|
|
12202
|
+
"maxLength": 64
|
|
12203
|
+
},
|
|
12204
|
+
"phase": {
|
|
12205
|
+
"$ref": "#/$defs/BrowserCallPhase"
|
|
12206
|
+
}
|
|
12207
|
+
},
|
|
12208
|
+
"required": [
|
|
12209
|
+
"call_id",
|
|
12210
|
+
"phase"
|
|
12211
|
+
],
|
|
12212
|
+
"additionalProperties": false
|
|
12213
|
+
},
|
|
12214
|
+
"BrowserProgressResult": {
|
|
12215
|
+
"type": "object",
|
|
12216
|
+
"properties": {
|
|
12217
|
+
"accepted": {
|
|
12218
|
+
"type": "boolean"
|
|
12219
|
+
}
|
|
12220
|
+
},
|
|
12221
|
+
"required": [
|
|
12222
|
+
"accepted"
|
|
12223
|
+
],
|
|
12224
|
+
"additionalProperties": false
|
|
12225
|
+
},
|
|
12226
|
+
"BrowserSessionsParams": {
|
|
12227
|
+
"type": "object",
|
|
12228
|
+
"properties": {},
|
|
12229
|
+
"additionalProperties": false
|
|
12230
|
+
},
|
|
12231
|
+
"BrowserSessionsResult": {
|
|
12232
|
+
"type": "object",
|
|
12233
|
+
"properties": {
|
|
12234
|
+
"enabled": {
|
|
12235
|
+
"type": "boolean"
|
|
12236
|
+
},
|
|
12237
|
+
"owner_signed_in": {
|
|
12238
|
+
"type": "boolean"
|
|
12239
|
+
},
|
|
12240
|
+
"sessions": {
|
|
12241
|
+
"maxItems": 64,
|
|
12242
|
+
"type": "array",
|
|
12243
|
+
"items": {
|
|
12244
|
+
"$ref": "#/$defs/BrowserSession"
|
|
12245
|
+
}
|
|
12246
|
+
}
|
|
12247
|
+
},
|
|
12248
|
+
"required": [
|
|
12249
|
+
"enabled",
|
|
12250
|
+
"owner_signed_in",
|
|
12251
|
+
"sessions"
|
|
12252
|
+
],
|
|
12253
|
+
"additionalProperties": false
|
|
12254
|
+
},
|
|
12255
|
+
"BrowserDisconnectParams": {
|
|
12256
|
+
"type": "object",
|
|
12257
|
+
"properties": {
|
|
12258
|
+
"client_instance": {
|
|
12259
|
+
"$ref": "#/$defs/BrowserClientInstance"
|
|
12260
|
+
}
|
|
12261
|
+
},
|
|
12262
|
+
"required": [
|
|
12263
|
+
"client_instance"
|
|
12264
|
+
],
|
|
12265
|
+
"additionalProperties": false
|
|
12266
|
+
},
|
|
12267
|
+
"BrowserDisconnectResult": {
|
|
12268
|
+
"type": "object",
|
|
12269
|
+
"properties": {
|
|
12270
|
+
"disconnected": {
|
|
12271
|
+
"type": "boolean"
|
|
12272
|
+
}
|
|
12273
|
+
},
|
|
12274
|
+
"required": [
|
|
12275
|
+
"disconnected"
|
|
12276
|
+
],
|
|
12277
|
+
"additionalProperties": false
|
|
12278
|
+
},
|
|
12279
|
+
"BrowserSetEnabledParams": {
|
|
12280
|
+
"type": "object",
|
|
12281
|
+
"properties": {
|
|
12282
|
+
"enabled": {
|
|
12283
|
+
"type": "boolean"
|
|
12284
|
+
}
|
|
12285
|
+
},
|
|
12286
|
+
"required": [
|
|
12287
|
+
"enabled"
|
|
12288
|
+
],
|
|
12289
|
+
"additionalProperties": false
|
|
12290
|
+
},
|
|
12291
|
+
"BrowserSetEnabledResult": {
|
|
12292
|
+
"type": "object",
|
|
12293
|
+
"properties": {
|
|
12294
|
+
"enabled": {
|
|
12295
|
+
"type": "boolean"
|
|
12296
|
+
}
|
|
12297
|
+
},
|
|
12298
|
+
"required": [
|
|
12299
|
+
"enabled"
|
|
12300
|
+
],
|
|
12301
|
+
"additionalProperties": false
|
|
12302
|
+
},
|
|
12303
|
+
"BrowserPairCodeParams": {
|
|
12304
|
+
"type": "object",
|
|
12305
|
+
"properties": {},
|
|
12306
|
+
"additionalProperties": false
|
|
12307
|
+
},
|
|
12308
|
+
"BrowserPairCodeResult": {
|
|
12309
|
+
"type": "object",
|
|
12310
|
+
"properties": {
|
|
12311
|
+
"code": {
|
|
12312
|
+
"type": "string",
|
|
12313
|
+
"minLength": 16,
|
|
12314
|
+
"maxLength": 128
|
|
12315
|
+
}
|
|
12316
|
+
},
|
|
12317
|
+
"required": [
|
|
12318
|
+
"code"
|
|
12319
|
+
],
|
|
12320
|
+
"additionalProperties": false
|
|
12321
|
+
},
|
|
12322
|
+
"BrowserPairResetParams": {
|
|
12323
|
+
"type": "object",
|
|
12324
|
+
"properties": {},
|
|
12325
|
+
"additionalProperties": false
|
|
12326
|
+
},
|
|
12327
|
+
"BrowserCallParams": {
|
|
12328
|
+
"type": "object",
|
|
12329
|
+
"properties": {
|
|
12330
|
+
"tool": {
|
|
12331
|
+
"type": "string",
|
|
12332
|
+
"minLength": 1,
|
|
12333
|
+
"maxLength": 96,
|
|
12334
|
+
"pattern": "^[a-z][a-z0-9_]*$"
|
|
12335
|
+
},
|
|
12336
|
+
"args": {
|
|
12337
|
+
"type": "object",
|
|
12338
|
+
"propertyNames": {
|
|
12339
|
+
"type": "string"
|
|
12340
|
+
},
|
|
12341
|
+
"additionalProperties": {}
|
|
12342
|
+
},
|
|
12343
|
+
"client_instance": {
|
|
12344
|
+
"$ref": "#/$defs/BrowserClientInstance"
|
|
12345
|
+
},
|
|
12346
|
+
"timeout_ms": {
|
|
12347
|
+
"type": "integer",
|
|
12348
|
+
"minimum": 1000,
|
|
12349
|
+
"maximum": 600000
|
|
12350
|
+
}
|
|
12351
|
+
},
|
|
12352
|
+
"required": [
|
|
12353
|
+
"tool",
|
|
12354
|
+
"args"
|
|
12355
|
+
],
|
|
12356
|
+
"additionalProperties": false
|
|
12357
|
+
},
|
|
12358
|
+
"BrowserCallResult": {
|
|
12359
|
+
"type": "object",
|
|
12360
|
+
"properties": {
|
|
12361
|
+
"client_instance": {
|
|
12362
|
+
"$ref": "#/$defs/BrowserClientInstance"
|
|
12363
|
+
},
|
|
12364
|
+
"result": {},
|
|
12365
|
+
"duration_ms": {
|
|
12366
|
+
"type": "integer",
|
|
12367
|
+
"minimum": 0,
|
|
12368
|
+
"maximum": 9007199254740991
|
|
12369
|
+
}
|
|
12370
|
+
},
|
|
12371
|
+
"required": [
|
|
12372
|
+
"client_instance",
|
|
12373
|
+
"result",
|
|
12374
|
+
"duration_ms"
|
|
12375
|
+
],
|
|
12376
|
+
"additionalProperties": false
|
|
12377
|
+
},
|
|
12378
|
+
"BrowserInvokeEvent": {
|
|
12379
|
+
"type": "object",
|
|
12380
|
+
"properties": {
|
|
12381
|
+
"call_id": {
|
|
12382
|
+
"type": "string",
|
|
12383
|
+
"minLength": 1,
|
|
12384
|
+
"maxLength": 64
|
|
12385
|
+
},
|
|
12386
|
+
"tool": {
|
|
12387
|
+
"type": "string",
|
|
12388
|
+
"minLength": 1,
|
|
12389
|
+
"maxLength": 96
|
|
12390
|
+
},
|
|
12391
|
+
"args": {
|
|
12392
|
+
"type": "object",
|
|
12393
|
+
"propertyNames": {
|
|
12394
|
+
"type": "string"
|
|
12395
|
+
},
|
|
12396
|
+
"additionalProperties": {}
|
|
12397
|
+
},
|
|
12398
|
+
"deadline_ms": {
|
|
12399
|
+
"type": "integer",
|
|
12400
|
+
"minimum": 0,
|
|
12401
|
+
"maximum": 9007199254740991
|
|
12402
|
+
}
|
|
12403
|
+
},
|
|
12404
|
+
"required": [
|
|
12405
|
+
"call_id",
|
|
12406
|
+
"tool",
|
|
12407
|
+
"args",
|
|
12408
|
+
"deadline_ms"
|
|
12409
|
+
],
|
|
12410
|
+
"additionalProperties": false
|
|
12411
|
+
},
|
|
12412
|
+
"BrowserSessionsChangedEvent": {
|
|
12413
|
+
"type": "object",
|
|
12414
|
+
"properties": {
|
|
12415
|
+
"count": {
|
|
12416
|
+
"type": "integer",
|
|
12417
|
+
"minimum": 0,
|
|
12418
|
+
"maximum": 9007199254740991
|
|
12419
|
+
},
|
|
12420
|
+
"enabled": {
|
|
12421
|
+
"type": "boolean"
|
|
12422
|
+
}
|
|
12423
|
+
},
|
|
12424
|
+
"required": [
|
|
12425
|
+
"count",
|
|
12426
|
+
"enabled"
|
|
12427
|
+
],
|
|
12428
|
+
"additionalProperties": false
|
|
12429
|
+
},
|
|
12430
|
+
"BrowserProgressEvent": {
|
|
12431
|
+
"type": "object",
|
|
12432
|
+
"properties": {
|
|
12433
|
+
"call_id": {
|
|
12434
|
+
"type": "string",
|
|
12435
|
+
"minLength": 1,
|
|
12436
|
+
"maxLength": 64
|
|
12437
|
+
},
|
|
12438
|
+
"client_instance": {
|
|
12439
|
+
"$ref": "#/$defs/BrowserClientInstance"
|
|
12440
|
+
},
|
|
12441
|
+
"phase": {
|
|
12442
|
+
"$ref": "#/$defs/BrowserCallPhase"
|
|
12443
|
+
}
|
|
12444
|
+
},
|
|
12445
|
+
"required": [
|
|
12446
|
+
"call_id",
|
|
12447
|
+
"client_instance",
|
|
12448
|
+
"phase"
|
|
12449
|
+
],
|
|
12450
|
+
"additionalProperties": false
|
|
12451
|
+
},
|
|
12452
|
+
"DesktopHealth": {
|
|
12453
|
+
"type": "object",
|
|
12454
|
+
"properties": {
|
|
12455
|
+
"status": {
|
|
12456
|
+
"type": "string",
|
|
12457
|
+
"const": "ok"
|
|
12458
|
+
},
|
|
12459
|
+
"service": {
|
|
12460
|
+
"type": "string",
|
|
12461
|
+
"const": "matrx-desktop"
|
|
12462
|
+
},
|
|
12463
|
+
"version": {
|
|
12464
|
+
"type": "string",
|
|
12465
|
+
"maxLength": 32
|
|
12466
|
+
},
|
|
12467
|
+
"protocol_version": {
|
|
12468
|
+
"type": "string",
|
|
12469
|
+
"maxLength": 16
|
|
12470
|
+
},
|
|
12471
|
+
"ws_path": {
|
|
12472
|
+
"type": "string",
|
|
12473
|
+
"const": "/v1/connect"
|
|
12474
|
+
},
|
|
12475
|
+
"device_id": {
|
|
12476
|
+
"type": "string",
|
|
12477
|
+
"maxLength": 64
|
|
12478
|
+
},
|
|
12479
|
+
"browser_connection": {
|
|
12480
|
+
"type": "string",
|
|
12481
|
+
"enum": [
|
|
12482
|
+
"on",
|
|
12483
|
+
"off"
|
|
12484
|
+
]
|
|
12485
|
+
}
|
|
12486
|
+
},
|
|
12487
|
+
"required": [
|
|
12488
|
+
"status",
|
|
12489
|
+
"service",
|
|
12490
|
+
"version",
|
|
12491
|
+
"protocol_version",
|
|
12492
|
+
"ws_path",
|
|
12493
|
+
"device_id",
|
|
12494
|
+
"browser_connection"
|
|
12495
|
+
],
|
|
12496
|
+
"additionalProperties": false
|
|
12497
|
+
},
|
|
12498
|
+
"BrowserPairRequest": {
|
|
12499
|
+
"type": "object",
|
|
12500
|
+
"properties": {
|
|
12501
|
+
"client_instance": {
|
|
12502
|
+
"$ref": "#/$defs/BrowserClientInstance"
|
|
12503
|
+
}
|
|
12504
|
+
},
|
|
12505
|
+
"required": [
|
|
12506
|
+
"client_instance"
|
|
12507
|
+
],
|
|
12508
|
+
"additionalProperties": false
|
|
12509
|
+
},
|
|
12510
|
+
"BrowserPairResult": {
|
|
12511
|
+
"type": "object",
|
|
12512
|
+
"properties": {
|
|
12513
|
+
"pair_token": {
|
|
12514
|
+
"type": "string",
|
|
12515
|
+
"minLength": 16,
|
|
12516
|
+
"maxLength": 128
|
|
12517
|
+
},
|
|
12518
|
+
"ws_path": {
|
|
12519
|
+
"type": "string",
|
|
12520
|
+
"const": "/v1/connect"
|
|
12521
|
+
}
|
|
12522
|
+
},
|
|
12523
|
+
"required": [
|
|
12524
|
+
"pair_token",
|
|
12525
|
+
"ws_path"
|
|
12526
|
+
],
|
|
12527
|
+
"additionalProperties": false
|
|
11923
12528
|
}
|
|
11924
12529
|
},
|
|
11925
12530
|
"x-ops": {
|
|
@@ -13460,6 +14065,102 @@
|
|
|
13460
14065
|
"PLATFORM_UNSUPPORTED",
|
|
13461
14066
|
"INTERNAL"
|
|
13462
14067
|
]
|
|
14068
|
+
},
|
|
14069
|
+
"browser.register": {
|
|
14070
|
+
"params": "BrowserRegisterParams",
|
|
14071
|
+
"result": "BrowserRegisterResult",
|
|
14072
|
+
"kind": "unary",
|
|
14073
|
+
"since": "1.28",
|
|
14074
|
+
"errors": [
|
|
14075
|
+
"AUTH_FORBIDDEN",
|
|
14076
|
+
"INVALID_PARAMS",
|
|
14077
|
+
"INTERNAL"
|
|
14078
|
+
]
|
|
14079
|
+
},
|
|
14080
|
+
"browser.result": {
|
|
14081
|
+
"params": "BrowserResultParams",
|
|
14082
|
+
"result": "BrowserResultResult",
|
|
14083
|
+
"kind": "unary",
|
|
14084
|
+
"since": "1.28",
|
|
14085
|
+
"errors": [
|
|
14086
|
+
"AUTH_FORBIDDEN",
|
|
14087
|
+
"PAYLOAD_TOO_LARGE"
|
|
14088
|
+
]
|
|
14089
|
+
},
|
|
14090
|
+
"browser.progress": {
|
|
14091
|
+
"params": "BrowserProgressParams",
|
|
14092
|
+
"result": "BrowserProgressResult",
|
|
14093
|
+
"kind": "unary",
|
|
14094
|
+
"since": "1.28",
|
|
14095
|
+
"errors": [
|
|
14096
|
+
"AUTH_FORBIDDEN"
|
|
14097
|
+
]
|
|
14098
|
+
},
|
|
14099
|
+
"browser.sessions": {
|
|
14100
|
+
"params": "BrowserSessionsParams",
|
|
14101
|
+
"result": "BrowserSessionsResult",
|
|
14102
|
+
"kind": "unary",
|
|
14103
|
+
"since": "1.28",
|
|
14104
|
+
"errors": [
|
|
14105
|
+
"INTERNAL"
|
|
14106
|
+
]
|
|
14107
|
+
},
|
|
14108
|
+
"browser.disconnect": {
|
|
14109
|
+
"params": "BrowserDisconnectParams",
|
|
14110
|
+
"result": "BrowserDisconnectResult",
|
|
14111
|
+
"kind": "unary",
|
|
14112
|
+
"since": "1.28",
|
|
14113
|
+
"errors": [
|
|
14114
|
+
"NOT_FOUND",
|
|
14115
|
+
"AUTH_FORBIDDEN"
|
|
14116
|
+
]
|
|
14117
|
+
},
|
|
14118
|
+
"browser.set_enabled": {
|
|
14119
|
+
"params": "BrowserSetEnabledParams",
|
|
14120
|
+
"result": "BrowserSetEnabledResult",
|
|
14121
|
+
"kind": "unary",
|
|
14122
|
+
"since": "1.28",
|
|
14123
|
+
"errors": [
|
|
14124
|
+
"AUTH_FORBIDDEN",
|
|
14125
|
+
"INTERNAL"
|
|
14126
|
+
]
|
|
14127
|
+
},
|
|
14128
|
+
"browser.pair_code": {
|
|
14129
|
+
"params": "BrowserPairCodeParams",
|
|
14130
|
+
"result": "BrowserPairCodeResult",
|
|
14131
|
+
"kind": "unary",
|
|
14132
|
+
"since": "1.28",
|
|
14133
|
+
"errors": [
|
|
14134
|
+
"AUTH_FORBIDDEN",
|
|
14135
|
+
"INTERNAL"
|
|
14136
|
+
]
|
|
14137
|
+
},
|
|
14138
|
+
"browser.pair_reset": {
|
|
14139
|
+
"params": "BrowserPairResetParams",
|
|
14140
|
+
"result": "BrowserPairCodeResult",
|
|
14141
|
+
"kind": "unary",
|
|
14142
|
+
"since": "1.28",
|
|
14143
|
+
"errors": [
|
|
14144
|
+
"AUTH_FORBIDDEN",
|
|
14145
|
+
"INTERNAL"
|
|
14146
|
+
]
|
|
14147
|
+
},
|
|
14148
|
+
"browser.call": {
|
|
14149
|
+
"params": "BrowserCallParams",
|
|
14150
|
+
"result": "BrowserCallResult",
|
|
14151
|
+
"kind": "unary",
|
|
14152
|
+
"since": "1.28",
|
|
14153
|
+
"errors": [
|
|
14154
|
+
"NOT_FOUND",
|
|
14155
|
+
"CONFLICT",
|
|
14156
|
+
"AUTH_FORBIDDEN",
|
|
14157
|
+
"INVALID_PARAMS",
|
|
14158
|
+
"TIMEOUT",
|
|
14159
|
+
"CANCELLED",
|
|
14160
|
+
"RESOURCE_GONE",
|
|
14161
|
+
"PAYLOAD_TOO_LARGE",
|
|
14162
|
+
"INTERNAL"
|
|
14163
|
+
]
|
|
13463
14164
|
}
|
|
13464
14165
|
},
|
|
13465
14166
|
"x-events": {
|
|
@@ -13474,7 +14175,10 @@
|
|
|
13474
14175
|
"coding.history.progress": "CodingHistoryProgressEvent",
|
|
13475
14176
|
"relay.device_status": "RelayDeviceStatusEvent",
|
|
13476
14177
|
"relay.auth_expiring": "RelayAuthExpiringEvent",
|
|
13477
|
-
"diag.errors.changed": "DiagErrorsChangedEvent"
|
|
14178
|
+
"diag.errors.changed": "DiagErrorsChangedEvent",
|
|
14179
|
+
"browser.invoke": "BrowserInvokeEvent",
|
|
14180
|
+
"browser.sessions_changed": "BrowserSessionsChangedEvent",
|
|
14181
|
+
"browser.progress": "BrowserProgressEvent"
|
|
13478
14182
|
},
|
|
13479
14183
|
"x-services": {
|
|
13480
14184
|
"ml": {
|
|
@@ -13602,5 +14306,5 @@
|
|
|
13602
14306
|
"olderPeersGet": 0
|
|
13603
14307
|
}
|
|
13604
14308
|
},
|
|
13605
|
-
"x-protocol-version": "1.
|
|
14309
|
+
"x-protocol-version": "1.28"
|
|
13606
14310
|
}
|