@ai-matrx/desktop-protocol 0.21.62 → 0.21.65

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.
@@ -711,7 +711,7 @@ type OpSpec = {
711
711
  readonly params: z.ZodType;
712
712
  readonly result: z.ZodType;
713
713
  readonly kind: "unary" | "stream" | "resource";
714
- 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" | "1.29" | "1.30" | "1.31" | "1.37" | "1.38" | "1.39" | "1.40" | "1.43" | "1.44" | "1.45" | "1.47" | "1.50" | "1.55" | "1.56";
714
+ 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" | "1.29" | "1.30" | "1.31" | "1.37" | "1.38" | "1.39" | "1.40" | "1.43" | "1.44" | "1.45" | "1.47" | "1.50" | "1.55" | "1.56" | "1.64";
715
715
  readonly errors: readonly z.infer<typeof ErrorCode>[];
716
716
  };
717
717
  declare const OPS: {
@@ -3831,6 +3831,7 @@ declare const OPS: {
3831
3831
  readonly "window.list": {
3832
3832
  readonly params: z.ZodObject<{
3833
3833
  title: z.ZodOptional<z.ZodString>;
3834
+ app: z.ZodOptional<z.ZodString>;
3834
3835
  limit: z.ZodDefault<z.ZodInt>;
3835
3836
  }, z.core.$strict>;
3836
3837
  readonly result: z.ZodObject<{
@@ -3898,9 +3899,19 @@ declare const OPS: {
3898
3899
  readonly "window.minimize": {
3899
3900
  readonly params: z.ZodObject<{
3900
3901
  id: z.ZodInt;
3902
+ mode: z.ZodOptional<z.ZodEnum<{
3903
+ minimize: "minimize";
3904
+ maximize: "maximize";
3905
+ restore: "restore";
3906
+ }>>;
3901
3907
  }, z.core.$strict>;
3902
3908
  readonly result: z.ZodObject<{
3903
3909
  id: z.ZodInt;
3910
+ mode: z.ZodOptional<z.ZodEnum<{
3911
+ minimize: "minimize";
3912
+ maximize: "maximize";
3913
+ restore: "restore";
3914
+ }>>;
3904
3915
  }, z.core.$strict>;
3905
3916
  readonly kind: "unary";
3906
3917
  readonly since: "1.4";
@@ -4440,12 +4451,16 @@ declare const OPS: {
4440
4451
  seconds: z.ZodNumber;
4441
4452
  device_id: z.ZodOptional<z.ZodString>;
4442
4453
  path: z.ZodOptional<z.ZodString>;
4454
+ channels: z.ZodOptional<z.ZodInt>;
4455
+ sample_rate: z.ZodOptional<z.ZodInt>;
4443
4456
  }, z.core.$strict>;
4444
4457
  readonly result: z.ZodObject<{
4445
4458
  path: z.ZodString;
4446
4459
  seconds: z.ZodNumber;
4447
4460
  bytes: z.ZodInt;
4448
4461
  peak: z.ZodNumber;
4462
+ channels: z.ZodOptional<z.ZodInt>;
4463
+ sample_rate: z.ZodOptional<z.ZodInt>;
4449
4464
  }, z.core.$strict>;
4450
4465
  readonly kind: "unary";
4451
4466
  readonly since: "1.6";
@@ -4454,6 +4469,7 @@ declare const OPS: {
4454
4469
  readonly "audio.play": {
4455
4470
  readonly params: z.ZodObject<{
4456
4471
  path: z.ZodString;
4472
+ device_id: z.ZodOptional<z.ZodString>;
4457
4473
  }, z.core.$strict>;
4458
4474
  readonly result: z.ZodObject<{
4459
4475
  path: z.ZodString;
@@ -5157,6 +5173,12 @@ declare const OPS: {
5157
5173
  info: "info";
5158
5174
  }>;
5159
5175
  text: z.ZodString;
5176
+ }, z.core.$strict>, z.ZodObject<{
5177
+ kind: z.ZodLiteral<"continued">;
5178
+ id: z.ZodString;
5179
+ from: z.ZodString;
5180
+ text: z.ZodString;
5181
+ at: z.ZodNullable<z.ZodString>;
5160
5182
  }, z.core.$strict>, z.ZodObject<{
5161
5183
  kind: z.ZodLiteral<"error">;
5162
5184
  id: z.ZodString;
@@ -5224,6 +5246,12 @@ declare const OPS: {
5224
5246
  info: "info";
5225
5247
  }>;
5226
5248
  text: z.ZodString;
5249
+ }, z.core.$strict>, z.ZodObject<{
5250
+ kind: z.ZodLiteral<"continued">;
5251
+ id: z.ZodString;
5252
+ from: z.ZodString;
5253
+ text: z.ZodString;
5254
+ at: z.ZodNullable<z.ZodString>;
5227
5255
  }, z.core.$strict>, z.ZodObject<{
5228
5256
  kind: z.ZodLiteral<"error">;
5229
5257
  id: z.ZodString;
@@ -6947,6 +6975,64 @@ declare const OPS: {
6947
6975
  readonly since: "1.39";
6948
6976
  readonly errors: readonly ["AUTH_REQUIRED", "NOT_FOUND", "INVALID_PARAMS", "DEVICE_OFFLINE", "INTERNAL"];
6949
6977
  };
6978
+ readonly "account.agents.versions": {
6979
+ readonly params: z.ZodObject<{
6980
+ agent_id: z.ZodString;
6981
+ offset: z.ZodOptional<z.ZodInt>;
6982
+ limit: z.ZodOptional<z.ZodInt>;
6983
+ }, z.core.$strict>;
6984
+ readonly result: z.ZodObject<{
6985
+ state: z.ZodEnum<{
6986
+ ok: "ok";
6987
+ signed_out: "signed_out";
6988
+ unavailable: "unavailable";
6989
+ }>;
6990
+ problem: z.ZodNullable<z.ZodString>;
6991
+ current_version: z.ZodNullable<z.ZodInt>;
6992
+ rows: z.ZodArray<z.ZodObject<{
6993
+ version_id: z.ZodString;
6994
+ version_number: z.ZodInt;
6995
+ changed_at_ms: z.ZodInt;
6996
+ note: z.ZodNullable<z.ZodString>;
6997
+ }, z.core.$strict>>;
6998
+ }, z.core.$strict>;
6999
+ readonly kind: "unary";
7000
+ readonly since: "1.64";
7001
+ readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
7002
+ };
7003
+ readonly "account.agents.version_diff": {
7004
+ readonly params: z.ZodObject<{
7005
+ agent_id: z.ZodString;
7006
+ version_number: z.ZodInt;
7007
+ }, z.core.$strict>;
7008
+ readonly result: z.ZodObject<{
7009
+ state: z.ZodEnum<{
7010
+ ok: "ok";
7011
+ signed_out: "signed_out";
7012
+ unavailable: "unavailable";
7013
+ }>;
7014
+ problem: z.ZodNullable<z.ZodString>;
7015
+ version_number: z.ZodInt;
7016
+ current_version: z.ZodNullable<z.ZodInt>;
7017
+ old: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7018
+ current: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7019
+ }, z.core.$strict>;
7020
+ readonly kind: "unary";
7021
+ readonly since: "1.64";
7022
+ readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
7023
+ };
7024
+ readonly "account.agents.restore_version": {
7025
+ readonly params: z.ZodObject<{
7026
+ agent_id: z.ZodString;
7027
+ version_number: z.ZodInt;
7028
+ }, z.core.$strict>;
7029
+ readonly result: z.ZodObject<{
7030
+ restored_version: z.ZodInt;
7031
+ }, z.core.$strict>;
7032
+ readonly kind: "unary";
7033
+ readonly since: "1.64";
7034
+ readonly errors: readonly ["AUTH_REQUIRED", "NOT_FOUND", "INVALID_PARAMS", "DEVICE_OFFLINE", "INTERNAL"];
7035
+ };
6950
7036
  readonly "apps.windows.update_state": {
6951
7037
  readonly params: z.ZodObject<{
6952
7038
  app_key: z.ZodString;
@@ -8562,6 +8648,12 @@ declare const EVENTS: {
8562
8648
  info: "info";
8563
8649
  }>;
8564
8650
  text: z.ZodString;
8651
+ }, z.core.$strict>, z.ZodObject<{
8652
+ kind: z.ZodLiteral<"continued">;
8653
+ id: z.ZodString;
8654
+ from: z.ZodString;
8655
+ text: z.ZodString;
8656
+ at: z.ZodNullable<z.ZodString>;
8565
8657
  }, z.core.$strict>, z.ZodObject<{
8566
8658
  kind: z.ZodLiteral<"error">;
8567
8659
  id: z.ZodString;
@@ -11506,6 +11598,12 @@ declare const NAMED_SCHEMAS: {
11506
11598
  info: "info";
11507
11599
  }>;
11508
11600
  text: z.ZodString;
11601
+ }, z.core.$strict>, z.ZodObject<{
11602
+ kind: z.ZodLiteral<"continued">;
11603
+ id: z.ZodString;
11604
+ from: z.ZodString;
11605
+ text: z.ZodString;
11606
+ at: z.ZodNullable<z.ZodString>;
11509
11607
  }, z.core.$strict>, z.ZodObject<{
11510
11608
  kind: z.ZodLiteral<"error">;
11511
11609
  id: z.ZodString;
@@ -11556,6 +11654,12 @@ declare const NAMED_SCHEMAS: {
11556
11654
  info: "info";
11557
11655
  }>;
11558
11656
  text: z.ZodString;
11657
+ }, z.core.$strict>, z.ZodObject<{
11658
+ kind: z.ZodLiteral<"continued">;
11659
+ id: z.ZodString;
11660
+ from: z.ZodString;
11661
+ text: z.ZodString;
11662
+ at: z.ZodNullable<z.ZodString>;
11559
11663
  }, z.core.$strict>, z.ZodObject<{
11560
11664
  kind: z.ZodLiteral<"error">;
11561
11665
  id: z.ZodString;
@@ -12308,6 +12412,12 @@ declare const NAMED_SCHEMAS: {
12308
12412
  info: "info";
12309
12413
  }>;
12310
12414
  text: z.ZodString;
12415
+ }, z.core.$strict>, z.ZodObject<{
12416
+ kind: z.ZodLiteral<"continued">;
12417
+ id: z.ZodString;
12418
+ from: z.ZodString;
12419
+ text: z.ZodString;
12420
+ at: z.ZodNullable<z.ZodString>;
12311
12421
  }, z.core.$strict>, z.ZodObject<{
12312
12422
  kind: z.ZodLiteral<"error">;
12313
12423
  id: z.ZodString;
@@ -12370,6 +12480,12 @@ declare const NAMED_SCHEMAS: {
12370
12480
  info: "info";
12371
12481
  }>;
12372
12482
  text: z.ZodString;
12483
+ }, z.core.$strict>, z.ZodObject<{
12484
+ kind: z.ZodLiteral<"continued">;
12485
+ id: z.ZodString;
12486
+ from: z.ZodString;
12487
+ text: z.ZodString;
12488
+ at: z.ZodNullable<z.ZodString>;
12373
12489
  }, z.core.$strict>, z.ZodObject<{
12374
12490
  kind: z.ZodLiteral<"error">;
12375
12491
  id: z.ZodString;
@@ -13296,6 +13412,12 @@ declare const NAMED_SCHEMAS: {
13296
13412
  info: "info";
13297
13413
  }>;
13298
13414
  text: z.ZodString;
13415
+ }, z.core.$strict>, z.ZodObject<{
13416
+ kind: z.ZodLiteral<"continued">;
13417
+ id: z.ZodString;
13418
+ from: z.ZodString;
13419
+ text: z.ZodString;
13420
+ at: z.ZodNullable<z.ZodString>;
13299
13421
  }, z.core.$strict>, z.ZodObject<{
13300
13422
  kind: z.ZodLiteral<"error">;
13301
13423
  id: z.ZodString;
@@ -13947,6 +14069,7 @@ declare const NAMED_SCHEMAS: {
13947
14069
  }, z.core.$strict>;
13948
14070
  readonly WindowListParams: z.ZodObject<{
13949
14071
  title: z.ZodOptional<z.ZodString>;
14072
+ app: z.ZodOptional<z.ZodString>;
13950
14073
  limit: z.ZodDefault<z.ZodInt>;
13951
14074
  }, z.core.$strict>;
13952
14075
  readonly WindowListResult: z.ZodObject<{
@@ -13999,10 +14122,25 @@ declare const NAMED_SCHEMAS: {
13999
14122
  }, z.core.$strict>;
14000
14123
  readonly WindowMinimizeParams: z.ZodObject<{
14001
14124
  id: z.ZodInt;
14125
+ mode: z.ZodOptional<z.ZodEnum<{
14126
+ minimize: "minimize";
14127
+ maximize: "maximize";
14128
+ restore: "restore";
14129
+ }>>;
14002
14130
  }, z.core.$strict>;
14003
14131
  readonly WindowMinimizeResult: z.ZodObject<{
14004
14132
  id: z.ZodInt;
14133
+ mode: z.ZodOptional<z.ZodEnum<{
14134
+ minimize: "minimize";
14135
+ maximize: "maximize";
14136
+ restore: "restore";
14137
+ }>>;
14005
14138
  }, z.core.$strict>;
14139
+ readonly WindowState: z.ZodEnum<{
14140
+ minimize: "minimize";
14141
+ maximize: "maximize";
14142
+ restore: "restore";
14143
+ }>;
14006
14144
  readonly InputKey: z.ZodEnum<{
14007
14145
  0: "0";
14008
14146
  1: "1";
@@ -14637,15 +14775,20 @@ declare const NAMED_SCHEMAS: {
14637
14775
  seconds: z.ZodNumber;
14638
14776
  device_id: z.ZodOptional<z.ZodString>;
14639
14777
  path: z.ZodOptional<z.ZodString>;
14778
+ channels: z.ZodOptional<z.ZodInt>;
14779
+ sample_rate: z.ZodOptional<z.ZodInt>;
14640
14780
  }, z.core.$strict>;
14641
14781
  readonly AudioRecordResult: z.ZodObject<{
14642
14782
  path: z.ZodString;
14643
14783
  seconds: z.ZodNumber;
14644
14784
  bytes: z.ZodInt;
14645
14785
  peak: z.ZodNumber;
14786
+ channels: z.ZodOptional<z.ZodInt>;
14787
+ sample_rate: z.ZodOptional<z.ZodInt>;
14646
14788
  }, z.core.$strict>;
14647
14789
  readonly AudioPlayParams: z.ZodObject<{
14648
14790
  path: z.ZodString;
14791
+ device_id: z.ZodOptional<z.ZodString>;
14649
14792
  }, z.core.$strict>;
14650
14793
  readonly AudioPlayResult: z.ZodObject<{
14651
14794
  path: z.ZodString;
@@ -18332,6 +18475,55 @@ declare const NAMED_SCHEMAS: {
18332
18475
  readonly AccountAgentsFavoriteResult: z.ZodObject<{
18333
18476
  favorite: z.ZodBoolean;
18334
18477
  }, z.core.$strict>;
18478
+ readonly AccountAgentVersion: z.ZodObject<{
18479
+ version_id: z.ZodString;
18480
+ version_number: z.ZodInt;
18481
+ changed_at_ms: z.ZodInt;
18482
+ note: z.ZodNullable<z.ZodString>;
18483
+ }, z.core.$strict>;
18484
+ readonly AccountAgentsVersionsParams: z.ZodObject<{
18485
+ agent_id: z.ZodString;
18486
+ offset: z.ZodOptional<z.ZodInt>;
18487
+ limit: z.ZodOptional<z.ZodInt>;
18488
+ }, z.core.$strict>;
18489
+ readonly AccountAgentsVersionsResult: z.ZodObject<{
18490
+ state: z.ZodEnum<{
18491
+ ok: "ok";
18492
+ signed_out: "signed_out";
18493
+ unavailable: "unavailable";
18494
+ }>;
18495
+ problem: z.ZodNullable<z.ZodString>;
18496
+ current_version: z.ZodNullable<z.ZodInt>;
18497
+ rows: z.ZodArray<z.ZodObject<{
18498
+ version_id: z.ZodString;
18499
+ version_number: z.ZodInt;
18500
+ changed_at_ms: z.ZodInt;
18501
+ note: z.ZodNullable<z.ZodString>;
18502
+ }, z.core.$strict>>;
18503
+ }, z.core.$strict>;
18504
+ readonly AccountAgentsVersionDiffParams: z.ZodObject<{
18505
+ agent_id: z.ZodString;
18506
+ version_number: z.ZodInt;
18507
+ }, z.core.$strict>;
18508
+ readonly AccountAgentsVersionDiffResult: z.ZodObject<{
18509
+ state: z.ZodEnum<{
18510
+ ok: "ok";
18511
+ signed_out: "signed_out";
18512
+ unavailable: "unavailable";
18513
+ }>;
18514
+ problem: z.ZodNullable<z.ZodString>;
18515
+ version_number: z.ZodInt;
18516
+ current_version: z.ZodNullable<z.ZodInt>;
18517
+ old: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18518
+ current: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18519
+ }, z.core.$strict>;
18520
+ readonly AccountAgentsRestoreVersionParams: z.ZodObject<{
18521
+ agent_id: z.ZodString;
18522
+ version_number: z.ZodInt;
18523
+ }, z.core.$strict>;
18524
+ readonly AccountAgentsRestoreVersionResult: z.ZodObject<{
18525
+ restored_version: z.ZodInt;
18526
+ }, z.core.$strict>;
18335
18527
  readonly AppsWindowsUpdateStateParams: z.ZodObject<{
18336
18528
  app_key: z.ZodString;
18337
18529
  }, z.core.$strict>;
package/dist/react.d.cts CHANGED
@@ -3267,6 +3267,7 @@ declare const OPS: {
3267
3267
  readonly "window.list": {
3268
3268
  readonly params: z.ZodObject<{
3269
3269
  title: z.ZodOptional<z.ZodString>;
3270
+ app: z.ZodOptional<z.ZodString>;
3270
3271
  limit: z.ZodDefault<z.ZodInt>;
3271
3272
  }, z.core.$strict>;
3272
3273
  readonly result: z.ZodObject<{
@@ -3334,9 +3335,19 @@ declare const OPS: {
3334
3335
  readonly "window.minimize": {
3335
3336
  readonly params: z.ZodObject<{
3336
3337
  id: z.ZodInt;
3338
+ mode: z.ZodOptional<z.ZodEnum<{
3339
+ minimize: "minimize";
3340
+ maximize: "maximize";
3341
+ restore: "restore";
3342
+ }>>;
3337
3343
  }, z.core.$strict>;
3338
3344
  readonly result: z.ZodObject<{
3339
3345
  id: z.ZodInt;
3346
+ mode: z.ZodOptional<z.ZodEnum<{
3347
+ minimize: "minimize";
3348
+ maximize: "maximize";
3349
+ restore: "restore";
3350
+ }>>;
3340
3351
  }, z.core.$strict>;
3341
3352
  readonly kind: "unary";
3342
3353
  readonly since: "1.4";
@@ -3876,12 +3887,16 @@ declare const OPS: {
3876
3887
  seconds: z.ZodNumber;
3877
3888
  device_id: z.ZodOptional<z.ZodString>;
3878
3889
  path: z.ZodOptional<z.ZodString>;
3890
+ channels: z.ZodOptional<z.ZodInt>;
3891
+ sample_rate: z.ZodOptional<z.ZodInt>;
3879
3892
  }, z.core.$strict>;
3880
3893
  readonly result: z.ZodObject<{
3881
3894
  path: z.ZodString;
3882
3895
  seconds: z.ZodNumber;
3883
3896
  bytes: z.ZodInt;
3884
3897
  peak: z.ZodNumber;
3898
+ channels: z.ZodOptional<z.ZodInt>;
3899
+ sample_rate: z.ZodOptional<z.ZodInt>;
3885
3900
  }, z.core.$strict>;
3886
3901
  readonly kind: "unary";
3887
3902
  readonly since: "1.6";
@@ -3890,6 +3905,7 @@ declare const OPS: {
3890
3905
  readonly "audio.play": {
3891
3906
  readonly params: z.ZodObject<{
3892
3907
  path: z.ZodString;
3908
+ device_id: z.ZodOptional<z.ZodString>;
3893
3909
  }, z.core.$strict>;
3894
3910
  readonly result: z.ZodObject<{
3895
3911
  path: z.ZodString;
@@ -4593,6 +4609,12 @@ declare const OPS: {
4593
4609
  info: "info";
4594
4610
  }>;
4595
4611
  text: z.ZodString;
4612
+ }, z.core.$strict>, z.ZodObject<{
4613
+ kind: z.ZodLiteral<"continued">;
4614
+ id: z.ZodString;
4615
+ from: z.ZodString;
4616
+ text: z.ZodString;
4617
+ at: z.ZodNullable<z.ZodString>;
4596
4618
  }, z.core.$strict>, z.ZodObject<{
4597
4619
  kind: z.ZodLiteral<"error">;
4598
4620
  id: z.ZodString;
@@ -4660,6 +4682,12 @@ declare const OPS: {
4660
4682
  info: "info";
4661
4683
  }>;
4662
4684
  text: z.ZodString;
4685
+ }, z.core.$strict>, z.ZodObject<{
4686
+ kind: z.ZodLiteral<"continued">;
4687
+ id: z.ZodString;
4688
+ from: z.ZodString;
4689
+ text: z.ZodString;
4690
+ at: z.ZodNullable<z.ZodString>;
4663
4691
  }, z.core.$strict>, z.ZodObject<{
4664
4692
  kind: z.ZodLiteral<"error">;
4665
4693
  id: z.ZodString;
@@ -6383,6 +6411,64 @@ declare const OPS: {
6383
6411
  readonly since: "1.39";
6384
6412
  readonly errors: readonly ["AUTH_REQUIRED", "NOT_FOUND", "INVALID_PARAMS", "DEVICE_OFFLINE", "INTERNAL"];
6385
6413
  };
6414
+ readonly "account.agents.versions": {
6415
+ readonly params: z.ZodObject<{
6416
+ agent_id: z.ZodString;
6417
+ offset: z.ZodOptional<z.ZodInt>;
6418
+ limit: z.ZodOptional<z.ZodInt>;
6419
+ }, z.core.$strict>;
6420
+ readonly result: z.ZodObject<{
6421
+ state: z.ZodEnum<{
6422
+ ok: "ok";
6423
+ signed_out: "signed_out";
6424
+ unavailable: "unavailable";
6425
+ }>;
6426
+ problem: z.ZodNullable<z.ZodString>;
6427
+ current_version: z.ZodNullable<z.ZodInt>;
6428
+ rows: z.ZodArray<z.ZodObject<{
6429
+ version_id: z.ZodString;
6430
+ version_number: z.ZodInt;
6431
+ changed_at_ms: z.ZodInt;
6432
+ note: z.ZodNullable<z.ZodString>;
6433
+ }, z.core.$strict>>;
6434
+ }, z.core.$strict>;
6435
+ readonly kind: "unary";
6436
+ readonly since: "1.64";
6437
+ readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
6438
+ };
6439
+ readonly "account.agents.version_diff": {
6440
+ readonly params: z.ZodObject<{
6441
+ agent_id: z.ZodString;
6442
+ version_number: z.ZodInt;
6443
+ }, z.core.$strict>;
6444
+ readonly result: z.ZodObject<{
6445
+ state: z.ZodEnum<{
6446
+ ok: "ok";
6447
+ signed_out: "signed_out";
6448
+ unavailable: "unavailable";
6449
+ }>;
6450
+ problem: z.ZodNullable<z.ZodString>;
6451
+ version_number: z.ZodInt;
6452
+ current_version: z.ZodNullable<z.ZodInt>;
6453
+ old: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6454
+ current: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6455
+ }, z.core.$strict>;
6456
+ readonly kind: "unary";
6457
+ readonly since: "1.64";
6458
+ readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
6459
+ };
6460
+ readonly "account.agents.restore_version": {
6461
+ readonly params: z.ZodObject<{
6462
+ agent_id: z.ZodString;
6463
+ version_number: z.ZodInt;
6464
+ }, z.core.$strict>;
6465
+ readonly result: z.ZodObject<{
6466
+ restored_version: z.ZodInt;
6467
+ }, z.core.$strict>;
6468
+ readonly kind: "unary";
6469
+ readonly since: "1.64";
6470
+ readonly errors: readonly ["AUTH_REQUIRED", "NOT_FOUND", "INVALID_PARAMS", "DEVICE_OFFLINE", "INTERNAL"];
6471
+ };
6386
6472
  readonly "apps.windows.update_state": {
6387
6473
  readonly params: z.ZodObject<{
6388
6474
  app_key: z.ZodString;
@@ -7998,6 +8084,12 @@ declare const EVENTS: {
7998
8084
  info: "info";
7999
8085
  }>;
8000
8086
  text: z.ZodString;
8087
+ }, z.core.$strict>, z.ZodObject<{
8088
+ kind: z.ZodLiteral<"continued">;
8089
+ id: z.ZodString;
8090
+ from: z.ZodString;
8091
+ text: z.ZodString;
8092
+ at: z.ZodNullable<z.ZodString>;
8001
8093
  }, z.core.$strict>, z.ZodObject<{
8002
8094
  kind: z.ZodLiteral<"error">;
8003
8095
  id: z.ZodString;
package/dist/react.d.ts CHANGED
@@ -3267,6 +3267,7 @@ declare const OPS: {
3267
3267
  readonly "window.list": {
3268
3268
  readonly params: z.ZodObject<{
3269
3269
  title: z.ZodOptional<z.ZodString>;
3270
+ app: z.ZodOptional<z.ZodString>;
3270
3271
  limit: z.ZodDefault<z.ZodInt>;
3271
3272
  }, z.core.$strict>;
3272
3273
  readonly result: z.ZodObject<{
@@ -3334,9 +3335,19 @@ declare const OPS: {
3334
3335
  readonly "window.minimize": {
3335
3336
  readonly params: z.ZodObject<{
3336
3337
  id: z.ZodInt;
3338
+ mode: z.ZodOptional<z.ZodEnum<{
3339
+ minimize: "minimize";
3340
+ maximize: "maximize";
3341
+ restore: "restore";
3342
+ }>>;
3337
3343
  }, z.core.$strict>;
3338
3344
  readonly result: z.ZodObject<{
3339
3345
  id: z.ZodInt;
3346
+ mode: z.ZodOptional<z.ZodEnum<{
3347
+ minimize: "minimize";
3348
+ maximize: "maximize";
3349
+ restore: "restore";
3350
+ }>>;
3340
3351
  }, z.core.$strict>;
3341
3352
  readonly kind: "unary";
3342
3353
  readonly since: "1.4";
@@ -3876,12 +3887,16 @@ declare const OPS: {
3876
3887
  seconds: z.ZodNumber;
3877
3888
  device_id: z.ZodOptional<z.ZodString>;
3878
3889
  path: z.ZodOptional<z.ZodString>;
3890
+ channels: z.ZodOptional<z.ZodInt>;
3891
+ sample_rate: z.ZodOptional<z.ZodInt>;
3879
3892
  }, z.core.$strict>;
3880
3893
  readonly result: z.ZodObject<{
3881
3894
  path: z.ZodString;
3882
3895
  seconds: z.ZodNumber;
3883
3896
  bytes: z.ZodInt;
3884
3897
  peak: z.ZodNumber;
3898
+ channels: z.ZodOptional<z.ZodInt>;
3899
+ sample_rate: z.ZodOptional<z.ZodInt>;
3885
3900
  }, z.core.$strict>;
3886
3901
  readonly kind: "unary";
3887
3902
  readonly since: "1.6";
@@ -3890,6 +3905,7 @@ declare const OPS: {
3890
3905
  readonly "audio.play": {
3891
3906
  readonly params: z.ZodObject<{
3892
3907
  path: z.ZodString;
3908
+ device_id: z.ZodOptional<z.ZodString>;
3893
3909
  }, z.core.$strict>;
3894
3910
  readonly result: z.ZodObject<{
3895
3911
  path: z.ZodString;
@@ -4593,6 +4609,12 @@ declare const OPS: {
4593
4609
  info: "info";
4594
4610
  }>;
4595
4611
  text: z.ZodString;
4612
+ }, z.core.$strict>, z.ZodObject<{
4613
+ kind: z.ZodLiteral<"continued">;
4614
+ id: z.ZodString;
4615
+ from: z.ZodString;
4616
+ text: z.ZodString;
4617
+ at: z.ZodNullable<z.ZodString>;
4596
4618
  }, z.core.$strict>, z.ZodObject<{
4597
4619
  kind: z.ZodLiteral<"error">;
4598
4620
  id: z.ZodString;
@@ -4660,6 +4682,12 @@ declare const OPS: {
4660
4682
  info: "info";
4661
4683
  }>;
4662
4684
  text: z.ZodString;
4685
+ }, z.core.$strict>, z.ZodObject<{
4686
+ kind: z.ZodLiteral<"continued">;
4687
+ id: z.ZodString;
4688
+ from: z.ZodString;
4689
+ text: z.ZodString;
4690
+ at: z.ZodNullable<z.ZodString>;
4663
4691
  }, z.core.$strict>, z.ZodObject<{
4664
4692
  kind: z.ZodLiteral<"error">;
4665
4693
  id: z.ZodString;
@@ -6383,6 +6411,64 @@ declare const OPS: {
6383
6411
  readonly since: "1.39";
6384
6412
  readonly errors: readonly ["AUTH_REQUIRED", "NOT_FOUND", "INVALID_PARAMS", "DEVICE_OFFLINE", "INTERNAL"];
6385
6413
  };
6414
+ readonly "account.agents.versions": {
6415
+ readonly params: z.ZodObject<{
6416
+ agent_id: z.ZodString;
6417
+ offset: z.ZodOptional<z.ZodInt>;
6418
+ limit: z.ZodOptional<z.ZodInt>;
6419
+ }, z.core.$strict>;
6420
+ readonly result: z.ZodObject<{
6421
+ state: z.ZodEnum<{
6422
+ ok: "ok";
6423
+ signed_out: "signed_out";
6424
+ unavailable: "unavailable";
6425
+ }>;
6426
+ problem: z.ZodNullable<z.ZodString>;
6427
+ current_version: z.ZodNullable<z.ZodInt>;
6428
+ rows: z.ZodArray<z.ZodObject<{
6429
+ version_id: z.ZodString;
6430
+ version_number: z.ZodInt;
6431
+ changed_at_ms: z.ZodInt;
6432
+ note: z.ZodNullable<z.ZodString>;
6433
+ }, z.core.$strict>>;
6434
+ }, z.core.$strict>;
6435
+ readonly kind: "unary";
6436
+ readonly since: "1.64";
6437
+ readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
6438
+ };
6439
+ readonly "account.agents.version_diff": {
6440
+ readonly params: z.ZodObject<{
6441
+ agent_id: z.ZodString;
6442
+ version_number: z.ZodInt;
6443
+ }, z.core.$strict>;
6444
+ readonly result: z.ZodObject<{
6445
+ state: z.ZodEnum<{
6446
+ ok: "ok";
6447
+ signed_out: "signed_out";
6448
+ unavailable: "unavailable";
6449
+ }>;
6450
+ problem: z.ZodNullable<z.ZodString>;
6451
+ version_number: z.ZodInt;
6452
+ current_version: z.ZodNullable<z.ZodInt>;
6453
+ old: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6454
+ current: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6455
+ }, z.core.$strict>;
6456
+ readonly kind: "unary";
6457
+ readonly since: "1.64";
6458
+ readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
6459
+ };
6460
+ readonly "account.agents.restore_version": {
6461
+ readonly params: z.ZodObject<{
6462
+ agent_id: z.ZodString;
6463
+ version_number: z.ZodInt;
6464
+ }, z.core.$strict>;
6465
+ readonly result: z.ZodObject<{
6466
+ restored_version: z.ZodInt;
6467
+ }, z.core.$strict>;
6468
+ readonly kind: "unary";
6469
+ readonly since: "1.64";
6470
+ readonly errors: readonly ["AUTH_REQUIRED", "NOT_FOUND", "INVALID_PARAMS", "DEVICE_OFFLINE", "INTERNAL"];
6471
+ };
6386
6472
  readonly "apps.windows.update_state": {
6387
6473
  readonly params: z.ZodObject<{
6388
6474
  app_key: z.ZodString;
@@ -7998,6 +8084,12 @@ declare const EVENTS: {
7998
8084
  info: "info";
7999
8085
  }>;
8000
8086
  text: z.ZodString;
8087
+ }, z.core.$strict>, z.ZodObject<{
8088
+ kind: z.ZodLiteral<"continued">;
8089
+ id: z.ZodString;
8090
+ from: z.ZodString;
8091
+ text: z.ZodString;
8092
+ at: z.ZodNullable<z.ZodString>;
8001
8093
  }, z.core.$strict>, z.ZodObject<{
8002
8094
  kind: z.ZodLiteral<"error">;
8003
8095
  id: z.ZodString;