@ai-matrx/desktop-protocol 0.21.20 → 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 +12 -0
- package/dist/client.cjs +137 -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 +137 -5
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +214 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +335 -6
- package/dist/index.d.ts +335 -6
- package/dist/index.js +214 -10
- package/dist/index.js.map +1 -1
- package/dist/{models-Cx6q_tRu.d.cts → models-qdApKBdY.d.cts} +497 -2
- package/dist/{models-Cx6q_tRu.d.ts → models-qdApKBdY.d.ts} +497 -2
- package/dist/react.d.cts +206 -1
- package/dist/react.d.ts +206 -1
- package/generated/desktop-protocol.schema.json +717 -3
- package/package.json +2 -2
|
@@ -6,7 +6,7 @@ import { z } from 'zod';
|
|
|
6
6
|
* never drift (see the `_assert*` lines there).
|
|
7
7
|
*/
|
|
8
8
|
type ErrorCodeName = "AUTH_REQUIRED" | "AUTH_INVALID" | "AUTH_EXPIRED" | "AUTH_FORBIDDEN" | "AUTH_DEVICE_REVOKED" | "PERMISSION_DENIED_OS" | "NOT_FOUND" | "CONFLICT" | "INVALID_PARAMS" | "RESOURCE_BUSY" | "RESOURCE_GONE" | "CANCELLED" | "TIMEOUT" | "PLATFORM_UNSUPPORTED" | "RATE_LIMITED" | "INTERNAL" | "PROTOCOL_VERSION_UNSUPPORTED" | "PROTOCOL_ERROR" | "UNKNOWN_OPERATION" | "DEVICE_OFFLINE" | "PAYLOAD_TOO_LARGE";
|
|
9
|
-
type ErrorReasonName = "not_a_directory" | "is_a_directory" | "directory_not_empty" | "already_exists" | "stale_write" | "binary_content" | "not_utf8_boundary" | "patch_no_match" | "patch_ambiguous" | "resource_exited" | "resource_expired" | "control_taken" | "window_exhausted" | "runtime_not_installed" | "model_not_installed" | "unsupported_media" | "download_failed" | "service_starting" | "service_restarted" | "service_failed";
|
|
9
|
+
type ErrorReasonName = "not_a_directory" | "is_a_directory" | "directory_not_empty" | "already_exists" | "stale_write" | "binary_content" | "not_utf8_boundary" | "patch_no_match" | "patch_ambiguous" | "resource_exited" | "resource_expired" | "control_taken" | "window_exhausted" | "runtime_not_installed" | "model_not_installed" | "unsupported_media" | "download_failed" | "service_starting" | "service_restarted" | "service_failed" | "browser_not_connected" | "browser_ambiguous" | "browser_account_mismatch" | "browser_connection_off" | "awaiting_confirmation";
|
|
10
10
|
interface ErrorData {
|
|
11
11
|
reason?: ErrorReasonName | undefined;
|
|
12
12
|
cap?: string | undefined;
|
|
@@ -308,6 +308,11 @@ declare const ErrorMsg: z.ZodObject<{
|
|
|
308
308
|
service_starting: "service_starting";
|
|
309
309
|
service_restarted: "service_restarted";
|
|
310
310
|
service_failed: "service_failed";
|
|
311
|
+
browser_not_connected: "browser_not_connected";
|
|
312
|
+
browser_ambiguous: "browser_ambiguous";
|
|
313
|
+
browser_account_mismatch: "browser_account_mismatch";
|
|
314
|
+
browser_connection_off: "browser_connection_off";
|
|
315
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
311
316
|
}>>;
|
|
312
317
|
cap: z.ZodOptional<z.ZodString>;
|
|
313
318
|
op: z.ZodOptional<z.ZodString>;
|
|
@@ -493,6 +498,11 @@ declare const CoreToClientMsg: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
493
498
|
service_starting: "service_starting";
|
|
494
499
|
service_restarted: "service_restarted";
|
|
495
500
|
service_failed: "service_failed";
|
|
501
|
+
browser_not_connected: "browser_not_connected";
|
|
502
|
+
browser_ambiguous: "browser_ambiguous";
|
|
503
|
+
browser_account_mismatch: "browser_account_mismatch";
|
|
504
|
+
browser_connection_off: "browser_connection_off";
|
|
505
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
496
506
|
}>>;
|
|
497
507
|
cap: z.ZodOptional<z.ZodString>;
|
|
498
508
|
op: z.ZodOptional<z.ZodString>;
|
|
@@ -601,6 +611,11 @@ declare const ErrorReason: z.ZodEnum<{
|
|
|
601
611
|
service_starting: "service_starting";
|
|
602
612
|
service_restarted: "service_restarted";
|
|
603
613
|
service_failed: "service_failed";
|
|
614
|
+
browser_not_connected: "browser_not_connected";
|
|
615
|
+
browser_ambiguous: "browser_ambiguous";
|
|
616
|
+
browser_account_mismatch: "browser_account_mismatch";
|
|
617
|
+
browser_connection_off: "browser_connection_off";
|
|
618
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
604
619
|
}>;
|
|
605
620
|
type ErrorReason = z.output<typeof ErrorReason>;
|
|
606
621
|
declare const ProtocolErrorBody: z.ZodObject<{
|
|
@@ -651,6 +666,11 @@ declare const ProtocolErrorBody: z.ZodObject<{
|
|
|
651
666
|
service_starting: "service_starting";
|
|
652
667
|
service_restarted: "service_restarted";
|
|
653
668
|
service_failed: "service_failed";
|
|
669
|
+
browser_not_connected: "browser_not_connected";
|
|
670
|
+
browser_ambiguous: "browser_ambiguous";
|
|
671
|
+
browser_account_mismatch: "browser_account_mismatch";
|
|
672
|
+
browser_connection_off: "browser_connection_off";
|
|
673
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
654
674
|
}>>;
|
|
655
675
|
cap: z.ZodOptional<z.ZodString>;
|
|
656
676
|
op: z.ZodOptional<z.ZodString>;
|
|
@@ -687,7 +707,7 @@ type OpSpec = {
|
|
|
687
707
|
readonly params: z.ZodType;
|
|
688
708
|
readonly result: z.ZodType;
|
|
689
709
|
readonly kind: "unary" | "stream" | "resource";
|
|
690
|
-
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23" | "1.24" | "1.26";
|
|
710
|
+
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23" | "1.24" | "1.26" | "1.28";
|
|
691
711
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
692
712
|
};
|
|
693
713
|
declare const OPS: {
|
|
@@ -4196,6 +4216,7 @@ declare const OPS: {
|
|
|
4196
4216
|
version: z.ZodNullable<z.ZodString>;
|
|
4197
4217
|
since_ms: z.ZodNullable<z.ZodInt>;
|
|
4198
4218
|
closed: z.ZodArray<z.ZodString>;
|
|
4219
|
+
closed_by_update: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4199
4220
|
}, z.core.$strict>;
|
|
4200
4221
|
readonly kind: "unary";
|
|
4201
4222
|
readonly since: "1.26";
|
|
@@ -4230,6 +4251,192 @@ declare const OPS: {
|
|
|
4230
4251
|
readonly since: "1.26";
|
|
4231
4252
|
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
4232
4253
|
};
|
|
4254
|
+
readonly "browser.register": {
|
|
4255
|
+
readonly params: z.ZodObject<{
|
|
4256
|
+
client_instance: z.ZodString;
|
|
4257
|
+
client_label: z.ZodString;
|
|
4258
|
+
browser: z.ZodEnum<{
|
|
4259
|
+
other: "other";
|
|
4260
|
+
chrome: "chrome";
|
|
4261
|
+
edge: "edge";
|
|
4262
|
+
brave: "brave";
|
|
4263
|
+
arc: "arc";
|
|
4264
|
+
opera: "opera";
|
|
4265
|
+
vivaldi: "vivaldi";
|
|
4266
|
+
chromium: "chromium";
|
|
4267
|
+
firefox: "firefox";
|
|
4268
|
+
}>;
|
|
4269
|
+
extension_version: z.ZodString;
|
|
4270
|
+
account_token: z.ZodNullable<z.ZodString>;
|
|
4271
|
+
}, z.core.$strict>;
|
|
4272
|
+
readonly result: z.ZodObject<{
|
|
4273
|
+
session: z.ZodObject<{
|
|
4274
|
+
client_instance: z.ZodString;
|
|
4275
|
+
client_label: z.ZodString;
|
|
4276
|
+
browser: z.ZodEnum<{
|
|
4277
|
+
other: "other";
|
|
4278
|
+
chrome: "chrome";
|
|
4279
|
+
edge: "edge";
|
|
4280
|
+
brave: "brave";
|
|
4281
|
+
arc: "arc";
|
|
4282
|
+
opera: "opera";
|
|
4283
|
+
vivaldi: "vivaldi";
|
|
4284
|
+
chromium: "chromium";
|
|
4285
|
+
firefox: "firefox";
|
|
4286
|
+
}>;
|
|
4287
|
+
extension_version: z.ZodString;
|
|
4288
|
+
state: z.ZodEnum<{
|
|
4289
|
+
connected: "connected";
|
|
4290
|
+
different_account: "different_account";
|
|
4291
|
+
extension_signed_out: "extension_signed_out";
|
|
4292
|
+
device_signed_out: "device_signed_out";
|
|
4293
|
+
unverified: "unverified";
|
|
4294
|
+
}>;
|
|
4295
|
+
routable: z.ZodBoolean;
|
|
4296
|
+
account_email: z.ZodNullable<z.ZodString>;
|
|
4297
|
+
connected_at_ms: z.ZodInt;
|
|
4298
|
+
last_call_at_ms: z.ZodNullable<z.ZodInt>;
|
|
4299
|
+
calls: z.ZodInt;
|
|
4300
|
+
errors: z.ZodInt;
|
|
4301
|
+
p50_ms: z.ZodNullable<z.ZodInt>;
|
|
4302
|
+
p95_ms: z.ZodNullable<z.ZodInt>;
|
|
4303
|
+
awaiting_confirmation: z.ZodBoolean;
|
|
4304
|
+
}, z.core.$strict>;
|
|
4305
|
+
}, z.core.$strict>;
|
|
4306
|
+
readonly kind: "unary";
|
|
4307
|
+
readonly since: "1.28";
|
|
4308
|
+
readonly errors: readonly ["AUTH_FORBIDDEN", "INVALID_PARAMS", "INTERNAL"];
|
|
4309
|
+
};
|
|
4310
|
+
readonly "browser.result": {
|
|
4311
|
+
readonly params: z.ZodObject<{
|
|
4312
|
+
call_id: z.ZodString;
|
|
4313
|
+
ok: z.ZodBoolean;
|
|
4314
|
+
result: z.ZodUnknown;
|
|
4315
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
4316
|
+
message: z.ZodString;
|
|
4317
|
+
code: z.ZodNullable<z.ZodString>;
|
|
4318
|
+
}, z.core.$strict>>;
|
|
4319
|
+
}, z.core.$strict>;
|
|
4320
|
+
readonly result: z.ZodObject<{
|
|
4321
|
+
accepted: z.ZodBoolean;
|
|
4322
|
+
}, z.core.$strict>;
|
|
4323
|
+
readonly kind: "unary";
|
|
4324
|
+
readonly since: "1.28";
|
|
4325
|
+
readonly errors: readonly ["AUTH_FORBIDDEN", "PAYLOAD_TOO_LARGE"];
|
|
4326
|
+
};
|
|
4327
|
+
readonly "browser.progress": {
|
|
4328
|
+
readonly params: z.ZodObject<{
|
|
4329
|
+
call_id: z.ZodString;
|
|
4330
|
+
phase: z.ZodEnum<{
|
|
4331
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
4332
|
+
running: "running";
|
|
4333
|
+
}>;
|
|
4334
|
+
}, z.core.$strict>;
|
|
4335
|
+
readonly result: z.ZodObject<{
|
|
4336
|
+
accepted: z.ZodBoolean;
|
|
4337
|
+
}, z.core.$strict>;
|
|
4338
|
+
readonly kind: "unary";
|
|
4339
|
+
readonly since: "1.28";
|
|
4340
|
+
readonly errors: readonly ["AUTH_FORBIDDEN"];
|
|
4341
|
+
};
|
|
4342
|
+
readonly "browser.sessions": {
|
|
4343
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
4344
|
+
readonly result: z.ZodObject<{
|
|
4345
|
+
enabled: z.ZodBoolean;
|
|
4346
|
+
owner_signed_in: z.ZodBoolean;
|
|
4347
|
+
sessions: z.ZodArray<z.ZodObject<{
|
|
4348
|
+
client_instance: z.ZodString;
|
|
4349
|
+
client_label: z.ZodString;
|
|
4350
|
+
browser: z.ZodEnum<{
|
|
4351
|
+
other: "other";
|
|
4352
|
+
chrome: "chrome";
|
|
4353
|
+
edge: "edge";
|
|
4354
|
+
brave: "brave";
|
|
4355
|
+
arc: "arc";
|
|
4356
|
+
opera: "opera";
|
|
4357
|
+
vivaldi: "vivaldi";
|
|
4358
|
+
chromium: "chromium";
|
|
4359
|
+
firefox: "firefox";
|
|
4360
|
+
}>;
|
|
4361
|
+
extension_version: z.ZodString;
|
|
4362
|
+
state: z.ZodEnum<{
|
|
4363
|
+
connected: "connected";
|
|
4364
|
+
different_account: "different_account";
|
|
4365
|
+
extension_signed_out: "extension_signed_out";
|
|
4366
|
+
device_signed_out: "device_signed_out";
|
|
4367
|
+
unverified: "unverified";
|
|
4368
|
+
}>;
|
|
4369
|
+
routable: z.ZodBoolean;
|
|
4370
|
+
account_email: z.ZodNullable<z.ZodString>;
|
|
4371
|
+
connected_at_ms: z.ZodInt;
|
|
4372
|
+
last_call_at_ms: z.ZodNullable<z.ZodInt>;
|
|
4373
|
+
calls: z.ZodInt;
|
|
4374
|
+
errors: z.ZodInt;
|
|
4375
|
+
p50_ms: z.ZodNullable<z.ZodInt>;
|
|
4376
|
+
p95_ms: z.ZodNullable<z.ZodInt>;
|
|
4377
|
+
awaiting_confirmation: z.ZodBoolean;
|
|
4378
|
+
}, z.core.$strict>>;
|
|
4379
|
+
}, z.core.$strict>;
|
|
4380
|
+
readonly kind: "unary";
|
|
4381
|
+
readonly since: "1.28";
|
|
4382
|
+
readonly errors: readonly ["INTERNAL"];
|
|
4383
|
+
};
|
|
4384
|
+
readonly "browser.disconnect": {
|
|
4385
|
+
readonly params: z.ZodObject<{
|
|
4386
|
+
client_instance: z.ZodString;
|
|
4387
|
+
}, z.core.$strict>;
|
|
4388
|
+
readonly result: z.ZodObject<{
|
|
4389
|
+
disconnected: z.ZodBoolean;
|
|
4390
|
+
}, z.core.$strict>;
|
|
4391
|
+
readonly kind: "unary";
|
|
4392
|
+
readonly since: "1.28";
|
|
4393
|
+
readonly errors: readonly ["NOT_FOUND", "AUTH_FORBIDDEN"];
|
|
4394
|
+
};
|
|
4395
|
+
readonly "browser.set_enabled": {
|
|
4396
|
+
readonly params: z.ZodObject<{
|
|
4397
|
+
enabled: z.ZodBoolean;
|
|
4398
|
+
}, z.core.$strict>;
|
|
4399
|
+
readonly result: z.ZodObject<{
|
|
4400
|
+
enabled: z.ZodBoolean;
|
|
4401
|
+
}, z.core.$strict>;
|
|
4402
|
+
readonly kind: "unary";
|
|
4403
|
+
readonly since: "1.28";
|
|
4404
|
+
readonly errors: readonly ["AUTH_FORBIDDEN", "INTERNAL"];
|
|
4405
|
+
};
|
|
4406
|
+
readonly "browser.pair_code": {
|
|
4407
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
4408
|
+
readonly result: z.ZodObject<{
|
|
4409
|
+
code: z.ZodString;
|
|
4410
|
+
}, z.core.$strict>;
|
|
4411
|
+
readonly kind: "unary";
|
|
4412
|
+
readonly since: "1.28";
|
|
4413
|
+
readonly errors: readonly ["AUTH_FORBIDDEN", "INTERNAL"];
|
|
4414
|
+
};
|
|
4415
|
+
readonly "browser.pair_reset": {
|
|
4416
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
4417
|
+
readonly result: z.ZodObject<{
|
|
4418
|
+
code: z.ZodString;
|
|
4419
|
+
}, z.core.$strict>;
|
|
4420
|
+
readonly kind: "unary";
|
|
4421
|
+
readonly since: "1.28";
|
|
4422
|
+
readonly errors: readonly ["AUTH_FORBIDDEN", "INTERNAL"];
|
|
4423
|
+
};
|
|
4424
|
+
readonly "browser.call": {
|
|
4425
|
+
readonly params: z.ZodObject<{
|
|
4426
|
+
tool: z.ZodString;
|
|
4427
|
+
args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4428
|
+
client_instance: z.ZodOptional<z.ZodString>;
|
|
4429
|
+
timeout_ms: z.ZodOptional<z.ZodInt>;
|
|
4430
|
+
}, z.core.$strict>;
|
|
4431
|
+
readonly result: z.ZodObject<{
|
|
4432
|
+
client_instance: z.ZodString;
|
|
4433
|
+
result: z.ZodUnknown;
|
|
4434
|
+
duration_ms: z.ZodInt;
|
|
4435
|
+
}, z.core.$strict>;
|
|
4436
|
+
readonly kind: "unary";
|
|
4437
|
+
readonly since: "1.28";
|
|
4438
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "AUTH_FORBIDDEN", "INVALID_PARAMS", "TIMEOUT", "CANCELLED", "RESOURCE_GONE", "PAYLOAD_TOO_LARGE", "INTERNAL"];
|
|
4439
|
+
};
|
|
4233
4440
|
};
|
|
4234
4441
|
type OpName = keyof typeof OPS;
|
|
4235
4442
|
type OpParams<N extends OpName> = z.input<(typeof OPS)[N]["params"]>;
|
|
@@ -4342,6 +4549,24 @@ declare const EVENTS: {
|
|
|
4342
4549
|
total_signatures: z.ZodInt;
|
|
4343
4550
|
waiting: z.ZodInt;
|
|
4344
4551
|
}, z.core.$strict>;
|
|
4552
|
+
readonly "browser.invoke": z.ZodObject<{
|
|
4553
|
+
call_id: z.ZodString;
|
|
4554
|
+
tool: z.ZodString;
|
|
4555
|
+
args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4556
|
+
deadline_ms: z.ZodInt;
|
|
4557
|
+
}, z.core.$strict>;
|
|
4558
|
+
readonly "browser.sessions_changed": z.ZodObject<{
|
|
4559
|
+
count: z.ZodInt;
|
|
4560
|
+
enabled: z.ZodBoolean;
|
|
4561
|
+
}, z.core.$strict>;
|
|
4562
|
+
readonly "browser.progress": z.ZodObject<{
|
|
4563
|
+
call_id: z.ZodString;
|
|
4564
|
+
client_instance: z.ZodString;
|
|
4565
|
+
phase: z.ZodEnum<{
|
|
4566
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
4567
|
+
running: "running";
|
|
4568
|
+
}>;
|
|
4569
|
+
}, z.core.$strict>;
|
|
4345
4570
|
};
|
|
4346
4571
|
type EventName = keyof typeof EVENTS;
|
|
4347
4572
|
/**
|
|
@@ -4737,6 +4962,11 @@ declare const NAMED_SCHEMAS: {
|
|
|
4737
4962
|
service_starting: "service_starting";
|
|
4738
4963
|
service_restarted: "service_restarted";
|
|
4739
4964
|
service_failed: "service_failed";
|
|
4965
|
+
browser_not_connected: "browser_not_connected";
|
|
4966
|
+
browser_ambiguous: "browser_ambiguous";
|
|
4967
|
+
browser_account_mismatch: "browser_account_mismatch";
|
|
4968
|
+
browser_connection_off: "browser_connection_off";
|
|
4969
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
4740
4970
|
}>;
|
|
4741
4971
|
readonly FsPatchEditFailure: z.ZodObject<{
|
|
4742
4972
|
edit_index: z.ZodInt;
|
|
@@ -4790,6 +5020,11 @@ declare const NAMED_SCHEMAS: {
|
|
|
4790
5020
|
service_starting: "service_starting";
|
|
4791
5021
|
service_restarted: "service_restarted";
|
|
4792
5022
|
service_failed: "service_failed";
|
|
5023
|
+
browser_not_connected: "browser_not_connected";
|
|
5024
|
+
browser_ambiguous: "browser_ambiguous";
|
|
5025
|
+
browser_account_mismatch: "browser_account_mismatch";
|
|
5026
|
+
browser_connection_off: "browser_connection_off";
|
|
5027
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
4793
5028
|
}>>;
|
|
4794
5029
|
cap: z.ZodOptional<z.ZodString>;
|
|
4795
5030
|
op: z.ZodOptional<z.ZodString>;
|
|
@@ -4937,6 +5172,11 @@ declare const NAMED_SCHEMAS: {
|
|
|
4937
5172
|
service_starting: "service_starting";
|
|
4938
5173
|
service_restarted: "service_restarted";
|
|
4939
5174
|
service_failed: "service_failed";
|
|
5175
|
+
browser_not_connected: "browser_not_connected";
|
|
5176
|
+
browser_ambiguous: "browser_ambiguous";
|
|
5177
|
+
browser_account_mismatch: "browser_account_mismatch";
|
|
5178
|
+
browser_connection_off: "browser_connection_off";
|
|
5179
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
4940
5180
|
}>>;
|
|
4941
5181
|
cap: z.ZodOptional<z.ZodString>;
|
|
4942
5182
|
op: z.ZodOptional<z.ZodString>;
|
|
@@ -5110,6 +5350,11 @@ declare const NAMED_SCHEMAS: {
|
|
|
5110
5350
|
service_starting: "service_starting";
|
|
5111
5351
|
service_restarted: "service_restarted";
|
|
5112
5352
|
service_failed: "service_failed";
|
|
5353
|
+
browser_not_connected: "browser_not_connected";
|
|
5354
|
+
browser_ambiguous: "browser_ambiguous";
|
|
5355
|
+
browser_account_mismatch: "browser_account_mismatch";
|
|
5356
|
+
browser_connection_off: "browser_connection_off";
|
|
5357
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
5113
5358
|
}>>;
|
|
5114
5359
|
cap: z.ZodOptional<z.ZodString>;
|
|
5115
5360
|
op: z.ZodOptional<z.ZodString>;
|
|
@@ -6262,6 +6507,11 @@ declare const NAMED_SCHEMAS: {
|
|
|
6262
6507
|
service_starting: "service_starting";
|
|
6263
6508
|
service_restarted: "service_restarted";
|
|
6264
6509
|
service_failed: "service_failed";
|
|
6510
|
+
browser_not_connected: "browser_not_connected";
|
|
6511
|
+
browser_ambiguous: "browser_ambiguous";
|
|
6512
|
+
browser_account_mismatch: "browser_account_mismatch";
|
|
6513
|
+
browser_connection_off: "browser_connection_off";
|
|
6514
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
6265
6515
|
}>>;
|
|
6266
6516
|
cap: z.ZodOptional<z.ZodString>;
|
|
6267
6517
|
op: z.ZodOptional<z.ZodString>;
|
|
@@ -6386,6 +6636,11 @@ declare const NAMED_SCHEMAS: {
|
|
|
6386
6636
|
service_starting: "service_starting";
|
|
6387
6637
|
service_restarted: "service_restarted";
|
|
6388
6638
|
service_failed: "service_failed";
|
|
6639
|
+
browser_not_connected: "browser_not_connected";
|
|
6640
|
+
browser_ambiguous: "browser_ambiguous";
|
|
6641
|
+
browser_account_mismatch: "browser_account_mismatch";
|
|
6642
|
+
browser_connection_off: "browser_connection_off";
|
|
6643
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
6389
6644
|
}>>;
|
|
6390
6645
|
cap: z.ZodOptional<z.ZodString>;
|
|
6391
6646
|
op: z.ZodOptional<z.ZodString>;
|
|
@@ -6482,6 +6737,11 @@ declare const NAMED_SCHEMAS: {
|
|
|
6482
6737
|
service_starting: "service_starting";
|
|
6483
6738
|
service_restarted: "service_restarted";
|
|
6484
6739
|
service_failed: "service_failed";
|
|
6740
|
+
browser_not_connected: "browser_not_connected";
|
|
6741
|
+
browser_ambiguous: "browser_ambiguous";
|
|
6742
|
+
browser_account_mismatch: "browser_account_mismatch";
|
|
6743
|
+
browser_connection_off: "browser_connection_off";
|
|
6744
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
6485
6745
|
}>>;
|
|
6486
6746
|
cap: z.ZodOptional<z.ZodString>;
|
|
6487
6747
|
op: z.ZodOptional<z.ZodString>;
|
|
@@ -9656,6 +9916,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
9656
9916
|
version: z.ZodNullable<z.ZodString>;
|
|
9657
9917
|
since_ms: z.ZodNullable<z.ZodInt>;
|
|
9658
9918
|
closed: z.ZodArray<z.ZodString>;
|
|
9919
|
+
closed_by_update: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9659
9920
|
}, z.core.$strict>;
|
|
9660
9921
|
readonly AppsWindowsReopenParams: z.ZodObject<{
|
|
9661
9922
|
app_key: z.ZodString;
|
|
@@ -9676,6 +9937,240 @@ declare const NAMED_SCHEMAS: {
|
|
|
9676
9937
|
reopened: z.ZodArray<z.ZodString>;
|
|
9677
9938
|
installed_version: z.ZodNullable<z.ZodString>;
|
|
9678
9939
|
}, z.core.$strict>;
|
|
9940
|
+
readonly BrowserClientInstance: z.ZodString;
|
|
9941
|
+
readonly BrowserKind: z.ZodEnum<{
|
|
9942
|
+
other: "other";
|
|
9943
|
+
chrome: "chrome";
|
|
9944
|
+
edge: "edge";
|
|
9945
|
+
brave: "brave";
|
|
9946
|
+
arc: "arc";
|
|
9947
|
+
opera: "opera";
|
|
9948
|
+
vivaldi: "vivaldi";
|
|
9949
|
+
chromium: "chromium";
|
|
9950
|
+
firefox: "firefox";
|
|
9951
|
+
}>;
|
|
9952
|
+
readonly BrowserSessionState: z.ZodEnum<{
|
|
9953
|
+
connected: "connected";
|
|
9954
|
+
different_account: "different_account";
|
|
9955
|
+
extension_signed_out: "extension_signed_out";
|
|
9956
|
+
device_signed_out: "device_signed_out";
|
|
9957
|
+
unverified: "unverified";
|
|
9958
|
+
}>;
|
|
9959
|
+
readonly BrowserSession: z.ZodObject<{
|
|
9960
|
+
client_instance: z.ZodString;
|
|
9961
|
+
client_label: z.ZodString;
|
|
9962
|
+
browser: z.ZodEnum<{
|
|
9963
|
+
other: "other";
|
|
9964
|
+
chrome: "chrome";
|
|
9965
|
+
edge: "edge";
|
|
9966
|
+
brave: "brave";
|
|
9967
|
+
arc: "arc";
|
|
9968
|
+
opera: "opera";
|
|
9969
|
+
vivaldi: "vivaldi";
|
|
9970
|
+
chromium: "chromium";
|
|
9971
|
+
firefox: "firefox";
|
|
9972
|
+
}>;
|
|
9973
|
+
extension_version: z.ZodString;
|
|
9974
|
+
state: z.ZodEnum<{
|
|
9975
|
+
connected: "connected";
|
|
9976
|
+
different_account: "different_account";
|
|
9977
|
+
extension_signed_out: "extension_signed_out";
|
|
9978
|
+
device_signed_out: "device_signed_out";
|
|
9979
|
+
unverified: "unverified";
|
|
9980
|
+
}>;
|
|
9981
|
+
routable: z.ZodBoolean;
|
|
9982
|
+
account_email: z.ZodNullable<z.ZodString>;
|
|
9983
|
+
connected_at_ms: z.ZodInt;
|
|
9984
|
+
last_call_at_ms: z.ZodNullable<z.ZodInt>;
|
|
9985
|
+
calls: z.ZodInt;
|
|
9986
|
+
errors: z.ZodInt;
|
|
9987
|
+
p50_ms: z.ZodNullable<z.ZodInt>;
|
|
9988
|
+
p95_ms: z.ZodNullable<z.ZodInt>;
|
|
9989
|
+
awaiting_confirmation: z.ZodBoolean;
|
|
9990
|
+
}, z.core.$strict>;
|
|
9991
|
+
readonly BrowserRegisterParams: z.ZodObject<{
|
|
9992
|
+
client_instance: z.ZodString;
|
|
9993
|
+
client_label: z.ZodString;
|
|
9994
|
+
browser: z.ZodEnum<{
|
|
9995
|
+
other: "other";
|
|
9996
|
+
chrome: "chrome";
|
|
9997
|
+
edge: "edge";
|
|
9998
|
+
brave: "brave";
|
|
9999
|
+
arc: "arc";
|
|
10000
|
+
opera: "opera";
|
|
10001
|
+
vivaldi: "vivaldi";
|
|
10002
|
+
chromium: "chromium";
|
|
10003
|
+
firefox: "firefox";
|
|
10004
|
+
}>;
|
|
10005
|
+
extension_version: z.ZodString;
|
|
10006
|
+
account_token: z.ZodNullable<z.ZodString>;
|
|
10007
|
+
}, z.core.$strict>;
|
|
10008
|
+
readonly BrowserRegisterResult: z.ZodObject<{
|
|
10009
|
+
session: z.ZodObject<{
|
|
10010
|
+
client_instance: z.ZodString;
|
|
10011
|
+
client_label: z.ZodString;
|
|
10012
|
+
browser: z.ZodEnum<{
|
|
10013
|
+
other: "other";
|
|
10014
|
+
chrome: "chrome";
|
|
10015
|
+
edge: "edge";
|
|
10016
|
+
brave: "brave";
|
|
10017
|
+
arc: "arc";
|
|
10018
|
+
opera: "opera";
|
|
10019
|
+
vivaldi: "vivaldi";
|
|
10020
|
+
chromium: "chromium";
|
|
10021
|
+
firefox: "firefox";
|
|
10022
|
+
}>;
|
|
10023
|
+
extension_version: z.ZodString;
|
|
10024
|
+
state: z.ZodEnum<{
|
|
10025
|
+
connected: "connected";
|
|
10026
|
+
different_account: "different_account";
|
|
10027
|
+
extension_signed_out: "extension_signed_out";
|
|
10028
|
+
device_signed_out: "device_signed_out";
|
|
10029
|
+
unverified: "unverified";
|
|
10030
|
+
}>;
|
|
10031
|
+
routable: z.ZodBoolean;
|
|
10032
|
+
account_email: z.ZodNullable<z.ZodString>;
|
|
10033
|
+
connected_at_ms: z.ZodInt;
|
|
10034
|
+
last_call_at_ms: z.ZodNullable<z.ZodInt>;
|
|
10035
|
+
calls: z.ZodInt;
|
|
10036
|
+
errors: z.ZodInt;
|
|
10037
|
+
p50_ms: z.ZodNullable<z.ZodInt>;
|
|
10038
|
+
p95_ms: z.ZodNullable<z.ZodInt>;
|
|
10039
|
+
awaiting_confirmation: z.ZodBoolean;
|
|
10040
|
+
}, z.core.$strict>;
|
|
10041
|
+
}, z.core.$strict>;
|
|
10042
|
+
readonly BrowserCallError: z.ZodObject<{
|
|
10043
|
+
message: z.ZodString;
|
|
10044
|
+
code: z.ZodNullable<z.ZodString>;
|
|
10045
|
+
}, z.core.$strict>;
|
|
10046
|
+
readonly BrowserResultParams: z.ZodObject<{
|
|
10047
|
+
call_id: z.ZodString;
|
|
10048
|
+
ok: z.ZodBoolean;
|
|
10049
|
+
result: z.ZodUnknown;
|
|
10050
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
10051
|
+
message: z.ZodString;
|
|
10052
|
+
code: z.ZodNullable<z.ZodString>;
|
|
10053
|
+
}, z.core.$strict>>;
|
|
10054
|
+
}, z.core.$strict>;
|
|
10055
|
+
readonly BrowserResultResult: z.ZodObject<{
|
|
10056
|
+
accepted: z.ZodBoolean;
|
|
10057
|
+
}, z.core.$strict>;
|
|
10058
|
+
readonly BrowserCallPhase: z.ZodEnum<{
|
|
10059
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
10060
|
+
running: "running";
|
|
10061
|
+
}>;
|
|
10062
|
+
readonly BrowserProgressParams: z.ZodObject<{
|
|
10063
|
+
call_id: z.ZodString;
|
|
10064
|
+
phase: z.ZodEnum<{
|
|
10065
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
10066
|
+
running: "running";
|
|
10067
|
+
}>;
|
|
10068
|
+
}, z.core.$strict>;
|
|
10069
|
+
readonly BrowserProgressResult: z.ZodObject<{
|
|
10070
|
+
accepted: z.ZodBoolean;
|
|
10071
|
+
}, z.core.$strict>;
|
|
10072
|
+
readonly BrowserSessionsParams: z.ZodObject<{}, z.core.$strict>;
|
|
10073
|
+
readonly BrowserSessionsResult: z.ZodObject<{
|
|
10074
|
+
enabled: z.ZodBoolean;
|
|
10075
|
+
owner_signed_in: z.ZodBoolean;
|
|
10076
|
+
sessions: z.ZodArray<z.ZodObject<{
|
|
10077
|
+
client_instance: z.ZodString;
|
|
10078
|
+
client_label: z.ZodString;
|
|
10079
|
+
browser: z.ZodEnum<{
|
|
10080
|
+
other: "other";
|
|
10081
|
+
chrome: "chrome";
|
|
10082
|
+
edge: "edge";
|
|
10083
|
+
brave: "brave";
|
|
10084
|
+
arc: "arc";
|
|
10085
|
+
opera: "opera";
|
|
10086
|
+
vivaldi: "vivaldi";
|
|
10087
|
+
chromium: "chromium";
|
|
10088
|
+
firefox: "firefox";
|
|
10089
|
+
}>;
|
|
10090
|
+
extension_version: z.ZodString;
|
|
10091
|
+
state: z.ZodEnum<{
|
|
10092
|
+
connected: "connected";
|
|
10093
|
+
different_account: "different_account";
|
|
10094
|
+
extension_signed_out: "extension_signed_out";
|
|
10095
|
+
device_signed_out: "device_signed_out";
|
|
10096
|
+
unverified: "unverified";
|
|
10097
|
+
}>;
|
|
10098
|
+
routable: z.ZodBoolean;
|
|
10099
|
+
account_email: z.ZodNullable<z.ZodString>;
|
|
10100
|
+
connected_at_ms: z.ZodInt;
|
|
10101
|
+
last_call_at_ms: z.ZodNullable<z.ZodInt>;
|
|
10102
|
+
calls: z.ZodInt;
|
|
10103
|
+
errors: z.ZodInt;
|
|
10104
|
+
p50_ms: z.ZodNullable<z.ZodInt>;
|
|
10105
|
+
p95_ms: z.ZodNullable<z.ZodInt>;
|
|
10106
|
+
awaiting_confirmation: z.ZodBoolean;
|
|
10107
|
+
}, z.core.$strict>>;
|
|
10108
|
+
}, z.core.$strict>;
|
|
10109
|
+
readonly BrowserDisconnectParams: z.ZodObject<{
|
|
10110
|
+
client_instance: z.ZodString;
|
|
10111
|
+
}, z.core.$strict>;
|
|
10112
|
+
readonly BrowserDisconnectResult: z.ZodObject<{
|
|
10113
|
+
disconnected: z.ZodBoolean;
|
|
10114
|
+
}, z.core.$strict>;
|
|
10115
|
+
readonly BrowserSetEnabledParams: z.ZodObject<{
|
|
10116
|
+
enabled: z.ZodBoolean;
|
|
10117
|
+
}, z.core.$strict>;
|
|
10118
|
+
readonly BrowserSetEnabledResult: z.ZodObject<{
|
|
10119
|
+
enabled: z.ZodBoolean;
|
|
10120
|
+
}, z.core.$strict>;
|
|
10121
|
+
readonly BrowserPairCodeParams: z.ZodObject<{}, z.core.$strict>;
|
|
10122
|
+
readonly BrowserPairCodeResult: z.ZodObject<{
|
|
10123
|
+
code: z.ZodString;
|
|
10124
|
+
}, z.core.$strict>;
|
|
10125
|
+
readonly BrowserPairResetParams: z.ZodObject<{}, z.core.$strict>;
|
|
10126
|
+
readonly BrowserCallParams: z.ZodObject<{
|
|
10127
|
+
tool: z.ZodString;
|
|
10128
|
+
args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10129
|
+
client_instance: z.ZodOptional<z.ZodString>;
|
|
10130
|
+
timeout_ms: z.ZodOptional<z.ZodInt>;
|
|
10131
|
+
}, z.core.$strict>;
|
|
10132
|
+
readonly BrowserCallResult: z.ZodObject<{
|
|
10133
|
+
client_instance: z.ZodString;
|
|
10134
|
+
result: z.ZodUnknown;
|
|
10135
|
+
duration_ms: z.ZodInt;
|
|
10136
|
+
}, z.core.$strict>;
|
|
10137
|
+
readonly BrowserInvokeEvent: z.ZodObject<{
|
|
10138
|
+
call_id: z.ZodString;
|
|
10139
|
+
tool: z.ZodString;
|
|
10140
|
+
args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10141
|
+
deadline_ms: z.ZodInt;
|
|
10142
|
+
}, z.core.$strict>;
|
|
10143
|
+
readonly BrowserSessionsChangedEvent: z.ZodObject<{
|
|
10144
|
+
count: z.ZodInt;
|
|
10145
|
+
enabled: z.ZodBoolean;
|
|
10146
|
+
}, z.core.$strict>;
|
|
10147
|
+
readonly BrowserProgressEvent: z.ZodObject<{
|
|
10148
|
+
call_id: z.ZodString;
|
|
10149
|
+
client_instance: z.ZodString;
|
|
10150
|
+
phase: z.ZodEnum<{
|
|
10151
|
+
awaiting_confirmation: "awaiting_confirmation";
|
|
10152
|
+
running: "running";
|
|
10153
|
+
}>;
|
|
10154
|
+
}, z.core.$strict>;
|
|
10155
|
+
readonly DesktopHealth: z.ZodObject<{
|
|
10156
|
+
status: z.ZodLiteral<"ok">;
|
|
10157
|
+
service: z.ZodLiteral<"matrx-desktop">;
|
|
10158
|
+
version: z.ZodString;
|
|
10159
|
+
protocol_version: z.ZodString;
|
|
10160
|
+
ws_path: z.ZodLiteral<"/v1/connect">;
|
|
10161
|
+
device_id: z.ZodString;
|
|
10162
|
+
browser_connection: z.ZodEnum<{
|
|
10163
|
+
off: "off";
|
|
10164
|
+
on: "on";
|
|
10165
|
+
}>;
|
|
10166
|
+
}, z.core.$strict>;
|
|
10167
|
+
readonly BrowserPairRequest: z.ZodObject<{
|
|
10168
|
+
client_instance: z.ZodString;
|
|
10169
|
+
}, z.core.$strict>;
|
|
10170
|
+
readonly BrowserPairResult: z.ZodObject<{
|
|
10171
|
+
pair_token: z.ZodString;
|
|
10172
|
+
ws_path: z.ZodLiteral<"/v1/connect">;
|
|
10173
|
+
}, z.core.$strict>;
|
|
9679
10174
|
};
|
|
9680
10175
|
type NamedSchemaId = keyof typeof NAMED_SCHEMAS;
|
|
9681
10176
|
|