@ai-matrx/desktop-protocol 0.21.89 → 0.21.90

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.
@@ -719,7 +719,7 @@ type OpSpec = {
719
719
  readonly params: z.ZodType;
720
720
  readonly result: z.ZodType;
721
721
  readonly kind: "unary" | "stream" | "resource";
722
- 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" | "1.70" | "1.72" | "1.73" | "1.74" | "1.76" | "1.81";
722
+ 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" | "1.70" | "1.72" | "1.73" | "1.74" | "1.76" | "1.81" | "1.82";
723
723
  readonly errors: readonly z.infer<typeof ErrorCode>[];
724
724
  };
725
725
  declare const OPS: {
@@ -3875,6 +3875,91 @@ declare const OPS: {
3875
3875
  readonly since: "1.11";
3876
3876
  readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
3877
3877
  };
3878
+ readonly "apps.weight": {
3879
+ readonly params: z.ZodObject<{
3880
+ app_key: z.ZodString;
3881
+ fresh: z.ZodOptional<z.ZodBoolean>;
3882
+ }, z.core.$strict>;
3883
+ readonly result: z.ZodObject<{
3884
+ app_key: z.ZodString;
3885
+ taken_at_ms: z.ZodInt;
3886
+ sample_s: z.ZodNumber;
3887
+ thresholds: z.ZodObject<{
3888
+ min_idle_h: z.ZodNumber;
3889
+ min_gb: z.ZodNumber;
3890
+ min_cpu: z.ZodNumber;
3891
+ }, z.core.$strict>;
3892
+ machine: z.ZodObject<{
3893
+ procs: z.ZodInt;
3894
+ gb: z.ZodNumber;
3895
+ cpu_cores: z.ZodNumber;
3896
+ load: z.ZodNullable<z.ZodArray<z.ZodNumber>>;
3897
+ cores: z.ZodNullable<z.ZodInt>;
3898
+ ram_gb: z.ZodNullable<z.ZodNumber>;
3899
+ free_gb: z.ZodNullable<z.ZodNumber>;
3900
+ compressed_gb: z.ZodNullable<z.ZodNumber>;
3901
+ swap_used_gb: z.ZodNullable<z.ZodNumber>;
3902
+ pressure: z.ZodNullable<z.ZodInt>;
3903
+ }, z.core.$strict>;
3904
+ guard: z.ZodNullable<z.ZodObject<{
3905
+ daemon_alive: z.ZodBoolean;
3906
+ stops_24h: z.ZodInt;
3907
+ last_stops: z.ZodArray<z.ZodObject<{
3908
+ at_ms: z.ZodNullable<z.ZodInt>;
3909
+ gb: z.ZodNullable<z.ZodNumber>;
3910
+ reason: z.ZodNullable<z.ZodString>;
3911
+ kind: z.ZodNullable<z.ZodString>;
3912
+ session_id: z.ZodNullable<z.ZodString>;
3913
+ }, z.core.$strict>>;
3914
+ }, z.core.$strict>>;
3915
+ sessions: z.ZodArray<z.ZodObject<{
3916
+ id: z.ZodNullable<z.ZodString>;
3917
+ windows: z.ZodArray<z.ZodString>;
3918
+ idle_h: z.ZodNullable<z.ZodNumber>;
3919
+ state: z.ZodString;
3920
+ title: z.ZodString;
3921
+ gb: z.ZodNumber;
3922
+ cpu: z.ZodNumber;
3923
+ procs: z.ZodInt;
3924
+ top: z.ZodArray<z.ZodObject<{
3925
+ cmd: z.ZodString;
3926
+ gb: z.ZodNumber;
3927
+ cpu: z.ZodNumber;
3928
+ }, z.core.$strict>>;
3929
+ flags: z.ZodArray<z.ZodString>;
3930
+ score: z.ZodNumber;
3931
+ pids: z.ZodArray<z.ZodInt>;
3932
+ }, z.core.$strict>>;
3933
+ orphans: z.ZodArray<z.ZodObject<{
3934
+ pid: z.ZodInt;
3935
+ age_h: z.ZodNumber;
3936
+ cmd: z.ZodString;
3937
+ args: z.ZodString;
3938
+ gb: z.ZodNumber;
3939
+ cpu: z.ZodNumber;
3940
+ procs: z.ZodInt;
3941
+ top: z.ZodArray<z.ZodObject<{
3942
+ cmd: z.ZodString;
3943
+ gb: z.ZodNumber;
3944
+ cpu: z.ZodNumber;
3945
+ }, z.core.$strict>>;
3946
+ }, z.core.$strict>>;
3947
+ totals: z.ZodObject<{
3948
+ sessions: z.ZodInt;
3949
+ session_gb: z.ZodNumber;
3950
+ session_cores: z.ZodNumber;
3951
+ flagged: z.ZodInt;
3952
+ flagged_gb: z.ZodNumber;
3953
+ orphan_gb: z.ZodNumber;
3954
+ orphan_cores: z.ZodNumber;
3955
+ }, z.core.$strict>;
3956
+ as_of_ms: z.ZodOptional<z.ZodInt>;
3957
+ refreshing: z.ZodOptional<z.ZodBoolean>;
3958
+ }, z.core.$strict>;
3959
+ readonly kind: "unary";
3960
+ readonly since: "1.82";
3961
+ readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3962
+ };
3878
3963
  readonly "apps.sync.status": {
3879
3964
  readonly params: z.ZodObject<{
3880
3965
  app_key: z.ZodString;
@@ -4275,8 +4360,8 @@ declare const OPS: {
4275
4360
  readonly params: z.ZodObject<{
4276
4361
  display_id: z.ZodOptional<z.ZodInt>;
4277
4362
  format: z.ZodDefault<z.ZodEnum<{
4278
- png: "png";
4279
4363
  jpeg: "jpeg";
4364
+ png: "png";
4280
4365
  }>>;
4281
4366
  max_width: z.ZodDefault<z.ZodInt>;
4282
4367
  }, z.core.$strict>;
@@ -4458,8 +4543,10 @@ declare const OPS: {
4458
4543
  end: "end";
4459
4544
  n: "n";
4460
4545
  home: "home";
4461
- delete: "delete";
4462
4546
  cmd: "cmd";
4547
+ delete: "delete";
4548
+ x: "x";
4549
+ y: "y";
4463
4550
  ctrl: "ctrl";
4464
4551
  alt: "alt";
4465
4552
  shift: "shift";
@@ -4485,8 +4572,6 @@ declare const OPS: {
4485
4572
  u: "u";
4486
4573
  v: "v";
4487
4574
  w: "w";
4488
- x: "x";
4489
- y: "y";
4490
4575
  z: "z";
4491
4576
  f1: "f1";
4492
4577
  f2: "f2";
@@ -4540,8 +4625,10 @@ declare const OPS: {
4540
4625
  end: "end";
4541
4626
  n: "n";
4542
4627
  home: "home";
4543
- delete: "delete";
4544
4628
  cmd: "cmd";
4629
+ delete: "delete";
4630
+ x: "x";
4631
+ y: "y";
4545
4632
  ctrl: "ctrl";
4546
4633
  alt: "alt";
4547
4634
  shift: "shift";
@@ -4567,8 +4654,6 @@ declare const OPS: {
4567
4654
  u: "u";
4568
4655
  v: "v";
4569
4656
  w: "w";
4570
- x: "x";
4571
- y: "y";
4572
4657
  z: "z";
4573
4658
  f1: "f1";
4574
4659
  f2: "f2";
@@ -6567,8 +6652,8 @@ declare const OPS: {
6567
6652
  cwd: z.ZodNullable<z.ZodString>;
6568
6653
  updatedAt: z.ZodString;
6569
6654
  where: z.ZodEnum<{
6570
- title: "title";
6571
6655
  content: "content";
6656
+ title: "title";
6572
6657
  }>;
6573
6658
  snippet: z.ZodNullable<z.ZodString>;
6574
6659
  accountId: z.ZodOptional<z.ZodString>;
@@ -8750,8 +8835,8 @@ declare const OPS: {
8750
8835
  out_path: z.ZodOptional<z.ZodString>;
8751
8836
  max_size: z.ZodOptional<z.ZodInt>;
8752
8837
  format: z.ZodOptional<z.ZodEnum<{
8753
- png: "png";
8754
8838
  jpeg: "jpeg";
8839
+ png: "png";
8755
8840
  tiff: "tiff";
8756
8841
  heic: "heic";
8757
8842
  bmp: "bmp";
@@ -14251,8 +14336,8 @@ declare const NAMED_SCHEMAS: {
14251
14336
  cwd: z.ZodNullable<z.ZodString>;
14252
14337
  updatedAt: z.ZodString;
14253
14338
  where: z.ZodEnum<{
14254
- title: "title";
14255
14339
  content: "content";
14340
+ title: "title";
14256
14341
  }>;
14257
14342
  snippet: z.ZodNullable<z.ZodString>;
14258
14343
  accountId: z.ZodOptional<z.ZodString>;
@@ -14269,8 +14354,8 @@ declare const NAMED_SCHEMAS: {
14269
14354
  cwd: z.ZodNullable<z.ZodString>;
14270
14355
  updatedAt: z.ZodString;
14271
14356
  where: z.ZodEnum<{
14272
- title: "title";
14273
14357
  content: "content";
14358
+ title: "title";
14274
14359
  }>;
14275
14360
  snippet: z.ZodNullable<z.ZodString>;
14276
14361
  accountId: z.ZodOptional<z.ZodString>;
@@ -15162,8 +15247,8 @@ declare const NAMED_SCHEMAS: {
15162
15247
  readonly ScreenCaptureParams: z.ZodObject<{
15163
15248
  display_id: z.ZodOptional<z.ZodInt>;
15164
15249
  format: z.ZodDefault<z.ZodEnum<{
15165
- png: "png";
15166
15250
  jpeg: "jpeg";
15251
+ png: "png";
15167
15252
  }>>;
15168
15253
  max_width: z.ZodDefault<z.ZodInt>;
15169
15254
  }, z.core.$strict>;
@@ -15278,8 +15363,10 @@ declare const NAMED_SCHEMAS: {
15278
15363
  end: "end";
15279
15364
  n: "n";
15280
15365
  home: "home";
15281
- delete: "delete";
15282
15366
  cmd: "cmd";
15367
+ delete: "delete";
15368
+ x: "x";
15369
+ y: "y";
15283
15370
  ctrl: "ctrl";
15284
15371
  alt: "alt";
15285
15372
  shift: "shift";
@@ -15305,8 +15392,6 @@ declare const NAMED_SCHEMAS: {
15305
15392
  u: "u";
15306
15393
  v: "v";
15307
15394
  w: "w";
15308
- x: "x";
15309
- y: "y";
15310
15395
  z: "z";
15311
15396
  f1: "f1";
15312
15397
  f2: "f2";
@@ -15390,8 +15475,10 @@ declare const NAMED_SCHEMAS: {
15390
15475
  end: "end";
15391
15476
  n: "n";
15392
15477
  home: "home";
15393
- delete: "delete";
15394
15478
  cmd: "cmd";
15479
+ delete: "delete";
15480
+ x: "x";
15481
+ y: "y";
15395
15482
  ctrl: "ctrl";
15396
15483
  alt: "alt";
15397
15484
  shift: "shift";
@@ -15417,8 +15504,6 @@ declare const NAMED_SCHEMAS: {
15417
15504
  u: "u";
15418
15505
  v: "v";
15419
15506
  w: "w";
15420
- x: "x";
15421
- y: "y";
15422
15507
  z: "z";
15423
15508
  f1: "f1";
15424
15509
  f2: "f2";
@@ -15472,8 +15557,10 @@ declare const NAMED_SCHEMAS: {
15472
15557
  end: "end";
15473
15558
  n: "n";
15474
15559
  home: "home";
15475
- delete: "delete";
15476
15560
  cmd: "cmd";
15561
+ delete: "delete";
15562
+ x: "x";
15563
+ y: "y";
15477
15564
  ctrl: "ctrl";
15478
15565
  alt: "alt";
15479
15566
  shift: "shift";
@@ -15499,8 +15586,6 @@ declare const NAMED_SCHEMAS: {
15499
15586
  u: "u";
15500
15587
  v: "v";
15501
15588
  w: "w";
15502
- x: "x";
15503
- y: "y";
15504
15589
  z: "z";
15505
15590
  f1: "f1";
15506
15591
  f2: "f2";
@@ -18626,6 +18711,167 @@ declare const NAMED_SCHEMAS: {
18626
18711
  alarm: z.ZodNullable<z.ZodString>;
18627
18712
  }, z.core.$strict>>;
18628
18713
  }, z.core.$strict>;
18714
+ readonly WeightProcess: z.ZodObject<{
18715
+ cmd: z.ZodString;
18716
+ gb: z.ZodNumber;
18717
+ cpu: z.ZodNumber;
18718
+ }, z.core.$strict>;
18719
+ readonly WeightSession: z.ZodObject<{
18720
+ id: z.ZodNullable<z.ZodString>;
18721
+ windows: z.ZodArray<z.ZodString>;
18722
+ idle_h: z.ZodNullable<z.ZodNumber>;
18723
+ state: z.ZodString;
18724
+ title: z.ZodString;
18725
+ gb: z.ZodNumber;
18726
+ cpu: z.ZodNumber;
18727
+ procs: z.ZodInt;
18728
+ top: z.ZodArray<z.ZodObject<{
18729
+ cmd: z.ZodString;
18730
+ gb: z.ZodNumber;
18731
+ cpu: z.ZodNumber;
18732
+ }, z.core.$strict>>;
18733
+ flags: z.ZodArray<z.ZodString>;
18734
+ score: z.ZodNumber;
18735
+ pids: z.ZodArray<z.ZodInt>;
18736
+ }, z.core.$strict>;
18737
+ readonly WeightOrphan: z.ZodObject<{
18738
+ pid: z.ZodInt;
18739
+ age_h: z.ZodNumber;
18740
+ cmd: z.ZodString;
18741
+ args: z.ZodString;
18742
+ gb: z.ZodNumber;
18743
+ cpu: z.ZodNumber;
18744
+ procs: z.ZodInt;
18745
+ top: z.ZodArray<z.ZodObject<{
18746
+ cmd: z.ZodString;
18747
+ gb: z.ZodNumber;
18748
+ cpu: z.ZodNumber;
18749
+ }, z.core.$strict>>;
18750
+ }, z.core.$strict>;
18751
+ readonly WeightMachine: z.ZodObject<{
18752
+ procs: z.ZodInt;
18753
+ gb: z.ZodNumber;
18754
+ cpu_cores: z.ZodNumber;
18755
+ load: z.ZodNullable<z.ZodArray<z.ZodNumber>>;
18756
+ cores: z.ZodNullable<z.ZodInt>;
18757
+ ram_gb: z.ZodNullable<z.ZodNumber>;
18758
+ free_gb: z.ZodNullable<z.ZodNumber>;
18759
+ compressed_gb: z.ZodNullable<z.ZodNumber>;
18760
+ swap_used_gb: z.ZodNullable<z.ZodNumber>;
18761
+ pressure: z.ZodNullable<z.ZodInt>;
18762
+ }, z.core.$strict>;
18763
+ readonly WeightGuardStop: z.ZodObject<{
18764
+ at_ms: z.ZodNullable<z.ZodInt>;
18765
+ gb: z.ZodNullable<z.ZodNumber>;
18766
+ reason: z.ZodNullable<z.ZodString>;
18767
+ kind: z.ZodNullable<z.ZodString>;
18768
+ session_id: z.ZodNullable<z.ZodString>;
18769
+ }, z.core.$strict>;
18770
+ readonly WeightGuard: z.ZodObject<{
18771
+ daemon_alive: z.ZodBoolean;
18772
+ stops_24h: z.ZodInt;
18773
+ last_stops: z.ZodArray<z.ZodObject<{
18774
+ at_ms: z.ZodNullable<z.ZodInt>;
18775
+ gb: z.ZodNullable<z.ZodNumber>;
18776
+ reason: z.ZodNullable<z.ZodString>;
18777
+ kind: z.ZodNullable<z.ZodString>;
18778
+ session_id: z.ZodNullable<z.ZodString>;
18779
+ }, z.core.$strict>>;
18780
+ }, z.core.$strict>;
18781
+ readonly WeightThresholds: z.ZodObject<{
18782
+ min_idle_h: z.ZodNumber;
18783
+ min_gb: z.ZodNumber;
18784
+ min_cpu: z.ZodNumber;
18785
+ }, z.core.$strict>;
18786
+ readonly WeightTotals: z.ZodObject<{
18787
+ sessions: z.ZodInt;
18788
+ session_gb: z.ZodNumber;
18789
+ session_cores: z.ZodNumber;
18790
+ flagged: z.ZodInt;
18791
+ flagged_gb: z.ZodNumber;
18792
+ orphan_gb: z.ZodNumber;
18793
+ orphan_cores: z.ZodNumber;
18794
+ }, z.core.$strict>;
18795
+ readonly AppsWeightParams: z.ZodObject<{
18796
+ app_key: z.ZodString;
18797
+ fresh: z.ZodOptional<z.ZodBoolean>;
18798
+ }, z.core.$strict>;
18799
+ readonly AppsWeightResult: z.ZodObject<{
18800
+ app_key: z.ZodString;
18801
+ taken_at_ms: z.ZodInt;
18802
+ sample_s: z.ZodNumber;
18803
+ thresholds: z.ZodObject<{
18804
+ min_idle_h: z.ZodNumber;
18805
+ min_gb: z.ZodNumber;
18806
+ min_cpu: z.ZodNumber;
18807
+ }, z.core.$strict>;
18808
+ machine: z.ZodObject<{
18809
+ procs: z.ZodInt;
18810
+ gb: z.ZodNumber;
18811
+ cpu_cores: z.ZodNumber;
18812
+ load: z.ZodNullable<z.ZodArray<z.ZodNumber>>;
18813
+ cores: z.ZodNullable<z.ZodInt>;
18814
+ ram_gb: z.ZodNullable<z.ZodNumber>;
18815
+ free_gb: z.ZodNullable<z.ZodNumber>;
18816
+ compressed_gb: z.ZodNullable<z.ZodNumber>;
18817
+ swap_used_gb: z.ZodNullable<z.ZodNumber>;
18818
+ pressure: z.ZodNullable<z.ZodInt>;
18819
+ }, z.core.$strict>;
18820
+ guard: z.ZodNullable<z.ZodObject<{
18821
+ daemon_alive: z.ZodBoolean;
18822
+ stops_24h: z.ZodInt;
18823
+ last_stops: z.ZodArray<z.ZodObject<{
18824
+ at_ms: z.ZodNullable<z.ZodInt>;
18825
+ gb: z.ZodNullable<z.ZodNumber>;
18826
+ reason: z.ZodNullable<z.ZodString>;
18827
+ kind: z.ZodNullable<z.ZodString>;
18828
+ session_id: z.ZodNullable<z.ZodString>;
18829
+ }, z.core.$strict>>;
18830
+ }, z.core.$strict>>;
18831
+ sessions: z.ZodArray<z.ZodObject<{
18832
+ id: z.ZodNullable<z.ZodString>;
18833
+ windows: z.ZodArray<z.ZodString>;
18834
+ idle_h: z.ZodNullable<z.ZodNumber>;
18835
+ state: z.ZodString;
18836
+ title: z.ZodString;
18837
+ gb: z.ZodNumber;
18838
+ cpu: z.ZodNumber;
18839
+ procs: z.ZodInt;
18840
+ top: z.ZodArray<z.ZodObject<{
18841
+ cmd: z.ZodString;
18842
+ gb: z.ZodNumber;
18843
+ cpu: z.ZodNumber;
18844
+ }, z.core.$strict>>;
18845
+ flags: z.ZodArray<z.ZodString>;
18846
+ score: z.ZodNumber;
18847
+ pids: z.ZodArray<z.ZodInt>;
18848
+ }, z.core.$strict>>;
18849
+ orphans: z.ZodArray<z.ZodObject<{
18850
+ pid: z.ZodInt;
18851
+ age_h: z.ZodNumber;
18852
+ cmd: z.ZodString;
18853
+ args: z.ZodString;
18854
+ gb: z.ZodNumber;
18855
+ cpu: z.ZodNumber;
18856
+ procs: z.ZodInt;
18857
+ top: z.ZodArray<z.ZodObject<{
18858
+ cmd: z.ZodString;
18859
+ gb: z.ZodNumber;
18860
+ cpu: z.ZodNumber;
18861
+ }, z.core.$strict>>;
18862
+ }, z.core.$strict>>;
18863
+ totals: z.ZodObject<{
18864
+ sessions: z.ZodInt;
18865
+ session_gb: z.ZodNumber;
18866
+ session_cores: z.ZodNumber;
18867
+ flagged: z.ZodInt;
18868
+ flagged_gb: z.ZodNumber;
18869
+ orphan_gb: z.ZodNumber;
18870
+ orphan_cores: z.ZodNumber;
18871
+ }, z.core.$strict>;
18872
+ as_of_ms: z.ZodOptional<z.ZodInt>;
18873
+ refreshing: z.ZodOptional<z.ZodBoolean>;
18874
+ }, z.core.$strict>;
18629
18875
  readonly AppsSyncStatusParams: z.ZodObject<{
18630
18876
  app_key: z.ZodString;
18631
18877
  }, z.core.$strict>;
@@ -21222,8 +21468,8 @@ declare const NAMED_SCHEMAS: {
21222
21468
  out_path: z.ZodOptional<z.ZodString>;
21223
21469
  max_size: z.ZodOptional<z.ZodInt>;
21224
21470
  format: z.ZodOptional<z.ZodEnum<{
21225
- png: "png";
21226
21471
  jpeg: "jpeg";
21472
+ png: "png";
21227
21473
  tiff: "tiff";
21228
21474
  heic: "heic";
21229
21475
  bmp: "bmp";