@ai-matrx/desktop-protocol 0.21.37 → 0.21.39

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";
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";
715
715
  readonly errors: readonly z.infer<typeof ErrorCode>[];
716
716
  };
717
717
  declare const OPS: {
@@ -1755,6 +1755,7 @@ declare const OPS: {
1755
1755
  fraction: z.ZodNullable<z.ZodNumber>;
1756
1756
  started_at: z.ZodNullable<z.ZodInt>;
1757
1757
  path: z.ZodNullable<z.ZodString>;
1758
+ error: z.ZodOptional<z.ZodString>;
1758
1759
  }, z.core.$strict>>;
1759
1760
  }, z.core.$strict>;
1760
1761
  readonly kind: "unary";
@@ -2543,6 +2544,89 @@ declare const OPS: {
2543
2544
  readonly since: "1.10";
2544
2545
  readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2545
2546
  };
2547
+ readonly "apps.instances.list": {
2548
+ readonly params: z.ZodObject<{
2549
+ app_key: z.ZodString;
2550
+ }, z.core.$strict>;
2551
+ readonly result: z.ZodObject<{
2552
+ app_key: z.ZodString;
2553
+ install: z.ZodNullable<z.ZodObject<{
2554
+ location: z.ZodString;
2555
+ version: z.ZodNullable<z.ZodString>;
2556
+ }, z.core.$strict>>;
2557
+ instances: z.ZodArray<z.ZodObject<{
2558
+ app_key: z.ZodString;
2559
+ key: z.ZodString;
2560
+ main: z.ZodBoolean;
2561
+ status: z.ZodEnum<{
2562
+ open: "open";
2563
+ closed: "closed";
2564
+ wrong_account: "wrong_account";
2565
+ update_waiting: "update_waiting";
2566
+ folder_missing: "folder_missing";
2567
+ }>;
2568
+ running: z.ZodBoolean;
2569
+ pid: z.ZodNullable<z.ZodInt>;
2570
+ folder: z.ZodNullable<z.ZodString>;
2571
+ folder_exists: z.ZodBoolean;
2572
+ account_id: z.ZodNullable<z.ZodString>;
2573
+ account: z.ZodNullable<z.ZodString>;
2574
+ meant_for: z.ZodNullable<z.ZodString>;
2575
+ version: z.ZodNullable<z.ZodString>;
2576
+ installed_version: z.ZodNullable<z.ZodString>;
2577
+ open_chats: z.ZodInt;
2578
+ launched_ms: z.ZodNullable<z.ZodInt>;
2579
+ quit_ms: z.ZodNullable<z.ZodInt>;
2580
+ first_launch_ms: z.ZodNullable<z.ZodInt>;
2581
+ }, z.core.$strict>>;
2582
+ problem: z.ZodOptional<z.ZodString>;
2583
+ }, z.core.$strict>;
2584
+ readonly kind: "unary";
2585
+ readonly since: "1.47";
2586
+ readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2587
+ };
2588
+ readonly "apps.accounts.list": {
2589
+ readonly params: z.ZodObject<{
2590
+ app_key: z.ZodString;
2591
+ }, z.core.$strict>;
2592
+ readonly result: z.ZodObject<{
2593
+ app_key: z.ZodString;
2594
+ accounts: z.ZodArray<z.ZodObject<{
2595
+ app_key: z.ZodString;
2596
+ account_id: z.ZodString;
2597
+ email: z.ZodNullable<z.ZodString>;
2598
+ plan: z.ZodNullable<z.ZodString>;
2599
+ orgs: z.ZodArray<z.ZodString>;
2600
+ weekly: z.ZodNullable<z.ZodNumber>;
2601
+ weekly_reset_since: z.ZodBoolean;
2602
+ weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
2603
+ weekly_reset_source: z.ZodNullable<z.ZodEnum<{
2604
+ app: "app";
2605
+ usage_history: "usage_history";
2606
+ your_list: "your_list";
2607
+ }>>;
2608
+ five_hour: z.ZodNullable<z.ZodNumber>;
2609
+ five_hour_reset_since: z.ZodBoolean;
2610
+ five_hour_resets_at_ms: z.ZodNullable<z.ZodInt>;
2611
+ extra_usage: z.ZodNullable<z.ZodNumber>;
2612
+ credits: z.ZodNullable<z.ZodNumber>;
2613
+ read_at_ms: z.ZodNullable<z.ZodInt>;
2614
+ read_in: z.ZodNullable<z.ZodString>;
2615
+ instances: z.ZodArray<z.ZodString>;
2616
+ first_seen_ms: z.ZodNullable<z.ZodInt>;
2617
+ last_seen_ms: z.ZodNullable<z.ZodInt>;
2618
+ missing: z.ZodArray<z.ZodEnum<{
2619
+ usage: "usage";
2620
+ plan: "plan";
2621
+ email: "email";
2622
+ }>>;
2623
+ }, z.core.$strict>>;
2624
+ problem: z.ZodOptional<z.ZodString>;
2625
+ }, z.core.$strict>;
2626
+ readonly kind: "unary";
2627
+ readonly since: "1.47";
2628
+ readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2629
+ };
2546
2630
  readonly "apps.projects.move": {
2547
2631
  readonly params: z.ZodObject<{
2548
2632
  app_key: z.ZodString;
@@ -8326,6 +8410,7 @@ declare const SERVICES: {
8326
8410
  fraction: z.ZodNullable<z.ZodNumber>;
8327
8411
  started_at: z.ZodNullable<z.ZodInt>;
8328
8412
  path: z.ZodNullable<z.ZodString>;
8413
+ error: z.ZodOptional<z.ZodString>;
8329
8414
  }, z.core.$strict>>;
8330
8415
  }, z.core.$strict>;
8331
8416
  };
@@ -8672,6 +8757,155 @@ type ServiceOpName<S extends ServiceId> = keyof (typeof SERVICES)[S]["ops"] & st
8672
8757
  * which write zod's process-global registry as an import side effect.
8673
8758
  */
8674
8759
  declare const NAMED_SCHEMAS: {
8760
+ readonly InstanceStatus: z.ZodEnum<{
8761
+ open: "open";
8762
+ closed: "closed";
8763
+ wrong_account: "wrong_account";
8764
+ update_waiting: "update_waiting";
8765
+ folder_missing: "folder_missing";
8766
+ }>;
8767
+ readonly AppInstall: z.ZodObject<{
8768
+ location: z.ZodString;
8769
+ version: z.ZodNullable<z.ZodString>;
8770
+ }, z.core.$strict>;
8771
+ readonly AppInstance: z.ZodObject<{
8772
+ app_key: z.ZodString;
8773
+ key: z.ZodString;
8774
+ main: z.ZodBoolean;
8775
+ status: z.ZodEnum<{
8776
+ open: "open";
8777
+ closed: "closed";
8778
+ wrong_account: "wrong_account";
8779
+ update_waiting: "update_waiting";
8780
+ folder_missing: "folder_missing";
8781
+ }>;
8782
+ running: z.ZodBoolean;
8783
+ pid: z.ZodNullable<z.ZodInt>;
8784
+ folder: z.ZodNullable<z.ZodString>;
8785
+ folder_exists: z.ZodBoolean;
8786
+ account_id: z.ZodNullable<z.ZodString>;
8787
+ account: z.ZodNullable<z.ZodString>;
8788
+ meant_for: z.ZodNullable<z.ZodString>;
8789
+ version: z.ZodNullable<z.ZodString>;
8790
+ installed_version: z.ZodNullable<z.ZodString>;
8791
+ open_chats: z.ZodInt;
8792
+ launched_ms: z.ZodNullable<z.ZodInt>;
8793
+ quit_ms: z.ZodNullable<z.ZodInt>;
8794
+ first_launch_ms: z.ZodNullable<z.ZodInt>;
8795
+ }, z.core.$strict>;
8796
+ readonly AccountResetSource: z.ZodEnum<{
8797
+ app: "app";
8798
+ usage_history: "usage_history";
8799
+ your_list: "your_list";
8800
+ }>;
8801
+ readonly AccountGap: z.ZodEnum<{
8802
+ usage: "usage";
8803
+ plan: "plan";
8804
+ email: "email";
8805
+ }>;
8806
+ readonly AppAccount: z.ZodObject<{
8807
+ app_key: z.ZodString;
8808
+ account_id: z.ZodString;
8809
+ email: z.ZodNullable<z.ZodString>;
8810
+ plan: z.ZodNullable<z.ZodString>;
8811
+ orgs: z.ZodArray<z.ZodString>;
8812
+ weekly: z.ZodNullable<z.ZodNumber>;
8813
+ weekly_reset_since: z.ZodBoolean;
8814
+ weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
8815
+ weekly_reset_source: z.ZodNullable<z.ZodEnum<{
8816
+ app: "app";
8817
+ usage_history: "usage_history";
8818
+ your_list: "your_list";
8819
+ }>>;
8820
+ five_hour: z.ZodNullable<z.ZodNumber>;
8821
+ five_hour_reset_since: z.ZodBoolean;
8822
+ five_hour_resets_at_ms: z.ZodNullable<z.ZodInt>;
8823
+ extra_usage: z.ZodNullable<z.ZodNumber>;
8824
+ credits: z.ZodNullable<z.ZodNumber>;
8825
+ read_at_ms: z.ZodNullable<z.ZodInt>;
8826
+ read_in: z.ZodNullable<z.ZodString>;
8827
+ instances: z.ZodArray<z.ZodString>;
8828
+ first_seen_ms: z.ZodNullable<z.ZodInt>;
8829
+ last_seen_ms: z.ZodNullable<z.ZodInt>;
8830
+ missing: z.ZodArray<z.ZodEnum<{
8831
+ usage: "usage";
8832
+ plan: "plan";
8833
+ email: "email";
8834
+ }>>;
8835
+ }, z.core.$strict>;
8836
+ readonly AppsInstancesListParams: z.ZodObject<{
8837
+ app_key: z.ZodString;
8838
+ }, z.core.$strict>;
8839
+ readonly AppsInstancesListResult: z.ZodObject<{
8840
+ app_key: z.ZodString;
8841
+ install: z.ZodNullable<z.ZodObject<{
8842
+ location: z.ZodString;
8843
+ version: z.ZodNullable<z.ZodString>;
8844
+ }, z.core.$strict>>;
8845
+ instances: z.ZodArray<z.ZodObject<{
8846
+ app_key: z.ZodString;
8847
+ key: z.ZodString;
8848
+ main: z.ZodBoolean;
8849
+ status: z.ZodEnum<{
8850
+ open: "open";
8851
+ closed: "closed";
8852
+ wrong_account: "wrong_account";
8853
+ update_waiting: "update_waiting";
8854
+ folder_missing: "folder_missing";
8855
+ }>;
8856
+ running: z.ZodBoolean;
8857
+ pid: z.ZodNullable<z.ZodInt>;
8858
+ folder: z.ZodNullable<z.ZodString>;
8859
+ folder_exists: z.ZodBoolean;
8860
+ account_id: z.ZodNullable<z.ZodString>;
8861
+ account: z.ZodNullable<z.ZodString>;
8862
+ meant_for: z.ZodNullable<z.ZodString>;
8863
+ version: z.ZodNullable<z.ZodString>;
8864
+ installed_version: z.ZodNullable<z.ZodString>;
8865
+ open_chats: z.ZodInt;
8866
+ launched_ms: z.ZodNullable<z.ZodInt>;
8867
+ quit_ms: z.ZodNullable<z.ZodInt>;
8868
+ first_launch_ms: z.ZodNullable<z.ZodInt>;
8869
+ }, z.core.$strict>>;
8870
+ problem: z.ZodOptional<z.ZodString>;
8871
+ }, z.core.$strict>;
8872
+ readonly AppsAccountsListParams: z.ZodObject<{
8873
+ app_key: z.ZodString;
8874
+ }, z.core.$strict>;
8875
+ readonly AppsAccountsListResult: z.ZodObject<{
8876
+ app_key: z.ZodString;
8877
+ accounts: z.ZodArray<z.ZodObject<{
8878
+ app_key: z.ZodString;
8879
+ account_id: z.ZodString;
8880
+ email: z.ZodNullable<z.ZodString>;
8881
+ plan: z.ZodNullable<z.ZodString>;
8882
+ orgs: z.ZodArray<z.ZodString>;
8883
+ weekly: z.ZodNullable<z.ZodNumber>;
8884
+ weekly_reset_since: z.ZodBoolean;
8885
+ weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
8886
+ weekly_reset_source: z.ZodNullable<z.ZodEnum<{
8887
+ app: "app";
8888
+ usage_history: "usage_history";
8889
+ your_list: "your_list";
8890
+ }>>;
8891
+ five_hour: z.ZodNullable<z.ZodNumber>;
8892
+ five_hour_reset_since: z.ZodBoolean;
8893
+ five_hour_resets_at_ms: z.ZodNullable<z.ZodInt>;
8894
+ extra_usage: z.ZodNullable<z.ZodNumber>;
8895
+ credits: z.ZodNullable<z.ZodNumber>;
8896
+ read_at_ms: z.ZodNullable<z.ZodInt>;
8897
+ read_in: z.ZodNullable<z.ZodString>;
8898
+ instances: z.ZodArray<z.ZodString>;
8899
+ first_seen_ms: z.ZodNullable<z.ZodInt>;
8900
+ last_seen_ms: z.ZodNullable<z.ZodInt>;
8901
+ missing: z.ZodArray<z.ZodEnum<{
8902
+ usage: "usage";
8903
+ plan: "plan";
8904
+ email: "email";
8905
+ }>>;
8906
+ }, z.core.$strict>>;
8907
+ problem: z.ZodOptional<z.ZodString>;
8908
+ }, z.core.$strict>;
8675
8909
  readonly ProtocolVersion: z.ZodString;
8676
8910
  readonly RequestId: z.ZodString;
8677
8911
  readonly ResourceId: z.ZodString;
@@ -10375,6 +10609,7 @@ declare const NAMED_SCHEMAS: {
10375
10609
  fraction: z.ZodNullable<z.ZodNumber>;
10376
10610
  started_at: z.ZodNullable<z.ZodInt>;
10377
10611
  path: z.ZodNullable<z.ZodString>;
10612
+ error: z.ZodOptional<z.ZodString>;
10378
10613
  }, z.core.$strict>;
10379
10614
  readonly ModelsDownloadsListParams: z.ZodObject<{}, z.core.$strict>;
10380
10615
  readonly ModelsDownloadsListResult: z.ZodObject<{
@@ -10396,6 +10631,7 @@ declare const NAMED_SCHEMAS: {
10396
10631
  fraction: z.ZodNullable<z.ZodNumber>;
10397
10632
  started_at: z.ZodNullable<z.ZodInt>;
10398
10633
  path: z.ZodNullable<z.ZodString>;
10634
+ error: z.ZodOptional<z.ZodString>;
10399
10635
  }, z.core.$strict>>;
10400
10636
  }, z.core.$strict>;
10401
10637
  readonly ModelsDownloadsCancelParams: z.ZodObject<{
@@ -18757,6 +18993,7 @@ declare const DownloadRow: z.ZodObject<{
18757
18993
  fraction: z.ZodNullable<z.ZodNumber>;
18758
18994
  started_at: z.ZodNullable<z.ZodInt>;
18759
18995
  path: z.ZodNullable<z.ZodString>;
18996
+ error: z.ZodOptional<z.ZodString>;
18760
18997
  }, z.core.$strict>;
18761
18998
  type DownloadRow = z.output<typeof DownloadRow>;
18762
18999
  declare const ModelsDownloadsListResult: z.ZodObject<{
@@ -18778,6 +19015,7 @@ declare const ModelsDownloadsListResult: z.ZodObject<{
18778
19015
  fraction: z.ZodNullable<z.ZodNumber>;
18779
19016
  started_at: z.ZodNullable<z.ZodInt>;
18780
19017
  path: z.ZodNullable<z.ZodString>;
19018
+ error: z.ZodOptional<z.ZodString>;
18781
19019
  }, z.core.$strict>>;
18782
19020
  }, z.core.$strict>;
18783
19021
  type ModelsDownloadsListResult = z.output<typeof ModelsDownloadsListResult>;
@@ -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";
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";
715
715
  readonly errors: readonly z.infer<typeof ErrorCode>[];
716
716
  };
717
717
  declare const OPS: {
@@ -1755,6 +1755,7 @@ declare const OPS: {
1755
1755
  fraction: z.ZodNullable<z.ZodNumber>;
1756
1756
  started_at: z.ZodNullable<z.ZodInt>;
1757
1757
  path: z.ZodNullable<z.ZodString>;
1758
+ error: z.ZodOptional<z.ZodString>;
1758
1759
  }, z.core.$strict>>;
1759
1760
  }, z.core.$strict>;
1760
1761
  readonly kind: "unary";
@@ -2543,6 +2544,89 @@ declare const OPS: {
2543
2544
  readonly since: "1.10";
2544
2545
  readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2545
2546
  };
2547
+ readonly "apps.instances.list": {
2548
+ readonly params: z.ZodObject<{
2549
+ app_key: z.ZodString;
2550
+ }, z.core.$strict>;
2551
+ readonly result: z.ZodObject<{
2552
+ app_key: z.ZodString;
2553
+ install: z.ZodNullable<z.ZodObject<{
2554
+ location: z.ZodString;
2555
+ version: z.ZodNullable<z.ZodString>;
2556
+ }, z.core.$strict>>;
2557
+ instances: z.ZodArray<z.ZodObject<{
2558
+ app_key: z.ZodString;
2559
+ key: z.ZodString;
2560
+ main: z.ZodBoolean;
2561
+ status: z.ZodEnum<{
2562
+ open: "open";
2563
+ closed: "closed";
2564
+ wrong_account: "wrong_account";
2565
+ update_waiting: "update_waiting";
2566
+ folder_missing: "folder_missing";
2567
+ }>;
2568
+ running: z.ZodBoolean;
2569
+ pid: z.ZodNullable<z.ZodInt>;
2570
+ folder: z.ZodNullable<z.ZodString>;
2571
+ folder_exists: z.ZodBoolean;
2572
+ account_id: z.ZodNullable<z.ZodString>;
2573
+ account: z.ZodNullable<z.ZodString>;
2574
+ meant_for: z.ZodNullable<z.ZodString>;
2575
+ version: z.ZodNullable<z.ZodString>;
2576
+ installed_version: z.ZodNullable<z.ZodString>;
2577
+ open_chats: z.ZodInt;
2578
+ launched_ms: z.ZodNullable<z.ZodInt>;
2579
+ quit_ms: z.ZodNullable<z.ZodInt>;
2580
+ first_launch_ms: z.ZodNullable<z.ZodInt>;
2581
+ }, z.core.$strict>>;
2582
+ problem: z.ZodOptional<z.ZodString>;
2583
+ }, z.core.$strict>;
2584
+ readonly kind: "unary";
2585
+ readonly since: "1.47";
2586
+ readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2587
+ };
2588
+ readonly "apps.accounts.list": {
2589
+ readonly params: z.ZodObject<{
2590
+ app_key: z.ZodString;
2591
+ }, z.core.$strict>;
2592
+ readonly result: z.ZodObject<{
2593
+ app_key: z.ZodString;
2594
+ accounts: z.ZodArray<z.ZodObject<{
2595
+ app_key: z.ZodString;
2596
+ account_id: z.ZodString;
2597
+ email: z.ZodNullable<z.ZodString>;
2598
+ plan: z.ZodNullable<z.ZodString>;
2599
+ orgs: z.ZodArray<z.ZodString>;
2600
+ weekly: z.ZodNullable<z.ZodNumber>;
2601
+ weekly_reset_since: z.ZodBoolean;
2602
+ weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
2603
+ weekly_reset_source: z.ZodNullable<z.ZodEnum<{
2604
+ app: "app";
2605
+ usage_history: "usage_history";
2606
+ your_list: "your_list";
2607
+ }>>;
2608
+ five_hour: z.ZodNullable<z.ZodNumber>;
2609
+ five_hour_reset_since: z.ZodBoolean;
2610
+ five_hour_resets_at_ms: z.ZodNullable<z.ZodInt>;
2611
+ extra_usage: z.ZodNullable<z.ZodNumber>;
2612
+ credits: z.ZodNullable<z.ZodNumber>;
2613
+ read_at_ms: z.ZodNullable<z.ZodInt>;
2614
+ read_in: z.ZodNullable<z.ZodString>;
2615
+ instances: z.ZodArray<z.ZodString>;
2616
+ first_seen_ms: z.ZodNullable<z.ZodInt>;
2617
+ last_seen_ms: z.ZodNullable<z.ZodInt>;
2618
+ missing: z.ZodArray<z.ZodEnum<{
2619
+ usage: "usage";
2620
+ plan: "plan";
2621
+ email: "email";
2622
+ }>>;
2623
+ }, z.core.$strict>>;
2624
+ problem: z.ZodOptional<z.ZodString>;
2625
+ }, z.core.$strict>;
2626
+ readonly kind: "unary";
2627
+ readonly since: "1.47";
2628
+ readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2629
+ };
2546
2630
  readonly "apps.projects.move": {
2547
2631
  readonly params: z.ZodObject<{
2548
2632
  app_key: z.ZodString;
@@ -8326,6 +8410,7 @@ declare const SERVICES: {
8326
8410
  fraction: z.ZodNullable<z.ZodNumber>;
8327
8411
  started_at: z.ZodNullable<z.ZodInt>;
8328
8412
  path: z.ZodNullable<z.ZodString>;
8413
+ error: z.ZodOptional<z.ZodString>;
8329
8414
  }, z.core.$strict>>;
8330
8415
  }, z.core.$strict>;
8331
8416
  };
@@ -8672,6 +8757,155 @@ type ServiceOpName<S extends ServiceId> = keyof (typeof SERVICES)[S]["ops"] & st
8672
8757
  * which write zod's process-global registry as an import side effect.
8673
8758
  */
8674
8759
  declare const NAMED_SCHEMAS: {
8760
+ readonly InstanceStatus: z.ZodEnum<{
8761
+ open: "open";
8762
+ closed: "closed";
8763
+ wrong_account: "wrong_account";
8764
+ update_waiting: "update_waiting";
8765
+ folder_missing: "folder_missing";
8766
+ }>;
8767
+ readonly AppInstall: z.ZodObject<{
8768
+ location: z.ZodString;
8769
+ version: z.ZodNullable<z.ZodString>;
8770
+ }, z.core.$strict>;
8771
+ readonly AppInstance: z.ZodObject<{
8772
+ app_key: z.ZodString;
8773
+ key: z.ZodString;
8774
+ main: z.ZodBoolean;
8775
+ status: z.ZodEnum<{
8776
+ open: "open";
8777
+ closed: "closed";
8778
+ wrong_account: "wrong_account";
8779
+ update_waiting: "update_waiting";
8780
+ folder_missing: "folder_missing";
8781
+ }>;
8782
+ running: z.ZodBoolean;
8783
+ pid: z.ZodNullable<z.ZodInt>;
8784
+ folder: z.ZodNullable<z.ZodString>;
8785
+ folder_exists: z.ZodBoolean;
8786
+ account_id: z.ZodNullable<z.ZodString>;
8787
+ account: z.ZodNullable<z.ZodString>;
8788
+ meant_for: z.ZodNullable<z.ZodString>;
8789
+ version: z.ZodNullable<z.ZodString>;
8790
+ installed_version: z.ZodNullable<z.ZodString>;
8791
+ open_chats: z.ZodInt;
8792
+ launched_ms: z.ZodNullable<z.ZodInt>;
8793
+ quit_ms: z.ZodNullable<z.ZodInt>;
8794
+ first_launch_ms: z.ZodNullable<z.ZodInt>;
8795
+ }, z.core.$strict>;
8796
+ readonly AccountResetSource: z.ZodEnum<{
8797
+ app: "app";
8798
+ usage_history: "usage_history";
8799
+ your_list: "your_list";
8800
+ }>;
8801
+ readonly AccountGap: z.ZodEnum<{
8802
+ usage: "usage";
8803
+ plan: "plan";
8804
+ email: "email";
8805
+ }>;
8806
+ readonly AppAccount: z.ZodObject<{
8807
+ app_key: z.ZodString;
8808
+ account_id: z.ZodString;
8809
+ email: z.ZodNullable<z.ZodString>;
8810
+ plan: z.ZodNullable<z.ZodString>;
8811
+ orgs: z.ZodArray<z.ZodString>;
8812
+ weekly: z.ZodNullable<z.ZodNumber>;
8813
+ weekly_reset_since: z.ZodBoolean;
8814
+ weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
8815
+ weekly_reset_source: z.ZodNullable<z.ZodEnum<{
8816
+ app: "app";
8817
+ usage_history: "usage_history";
8818
+ your_list: "your_list";
8819
+ }>>;
8820
+ five_hour: z.ZodNullable<z.ZodNumber>;
8821
+ five_hour_reset_since: z.ZodBoolean;
8822
+ five_hour_resets_at_ms: z.ZodNullable<z.ZodInt>;
8823
+ extra_usage: z.ZodNullable<z.ZodNumber>;
8824
+ credits: z.ZodNullable<z.ZodNumber>;
8825
+ read_at_ms: z.ZodNullable<z.ZodInt>;
8826
+ read_in: z.ZodNullable<z.ZodString>;
8827
+ instances: z.ZodArray<z.ZodString>;
8828
+ first_seen_ms: z.ZodNullable<z.ZodInt>;
8829
+ last_seen_ms: z.ZodNullable<z.ZodInt>;
8830
+ missing: z.ZodArray<z.ZodEnum<{
8831
+ usage: "usage";
8832
+ plan: "plan";
8833
+ email: "email";
8834
+ }>>;
8835
+ }, z.core.$strict>;
8836
+ readonly AppsInstancesListParams: z.ZodObject<{
8837
+ app_key: z.ZodString;
8838
+ }, z.core.$strict>;
8839
+ readonly AppsInstancesListResult: z.ZodObject<{
8840
+ app_key: z.ZodString;
8841
+ install: z.ZodNullable<z.ZodObject<{
8842
+ location: z.ZodString;
8843
+ version: z.ZodNullable<z.ZodString>;
8844
+ }, z.core.$strict>>;
8845
+ instances: z.ZodArray<z.ZodObject<{
8846
+ app_key: z.ZodString;
8847
+ key: z.ZodString;
8848
+ main: z.ZodBoolean;
8849
+ status: z.ZodEnum<{
8850
+ open: "open";
8851
+ closed: "closed";
8852
+ wrong_account: "wrong_account";
8853
+ update_waiting: "update_waiting";
8854
+ folder_missing: "folder_missing";
8855
+ }>;
8856
+ running: z.ZodBoolean;
8857
+ pid: z.ZodNullable<z.ZodInt>;
8858
+ folder: z.ZodNullable<z.ZodString>;
8859
+ folder_exists: z.ZodBoolean;
8860
+ account_id: z.ZodNullable<z.ZodString>;
8861
+ account: z.ZodNullable<z.ZodString>;
8862
+ meant_for: z.ZodNullable<z.ZodString>;
8863
+ version: z.ZodNullable<z.ZodString>;
8864
+ installed_version: z.ZodNullable<z.ZodString>;
8865
+ open_chats: z.ZodInt;
8866
+ launched_ms: z.ZodNullable<z.ZodInt>;
8867
+ quit_ms: z.ZodNullable<z.ZodInt>;
8868
+ first_launch_ms: z.ZodNullable<z.ZodInt>;
8869
+ }, z.core.$strict>>;
8870
+ problem: z.ZodOptional<z.ZodString>;
8871
+ }, z.core.$strict>;
8872
+ readonly AppsAccountsListParams: z.ZodObject<{
8873
+ app_key: z.ZodString;
8874
+ }, z.core.$strict>;
8875
+ readonly AppsAccountsListResult: z.ZodObject<{
8876
+ app_key: z.ZodString;
8877
+ accounts: z.ZodArray<z.ZodObject<{
8878
+ app_key: z.ZodString;
8879
+ account_id: z.ZodString;
8880
+ email: z.ZodNullable<z.ZodString>;
8881
+ plan: z.ZodNullable<z.ZodString>;
8882
+ orgs: z.ZodArray<z.ZodString>;
8883
+ weekly: z.ZodNullable<z.ZodNumber>;
8884
+ weekly_reset_since: z.ZodBoolean;
8885
+ weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
8886
+ weekly_reset_source: z.ZodNullable<z.ZodEnum<{
8887
+ app: "app";
8888
+ usage_history: "usage_history";
8889
+ your_list: "your_list";
8890
+ }>>;
8891
+ five_hour: z.ZodNullable<z.ZodNumber>;
8892
+ five_hour_reset_since: z.ZodBoolean;
8893
+ five_hour_resets_at_ms: z.ZodNullable<z.ZodInt>;
8894
+ extra_usage: z.ZodNullable<z.ZodNumber>;
8895
+ credits: z.ZodNullable<z.ZodNumber>;
8896
+ read_at_ms: z.ZodNullable<z.ZodInt>;
8897
+ read_in: z.ZodNullable<z.ZodString>;
8898
+ instances: z.ZodArray<z.ZodString>;
8899
+ first_seen_ms: z.ZodNullable<z.ZodInt>;
8900
+ last_seen_ms: z.ZodNullable<z.ZodInt>;
8901
+ missing: z.ZodArray<z.ZodEnum<{
8902
+ usage: "usage";
8903
+ plan: "plan";
8904
+ email: "email";
8905
+ }>>;
8906
+ }, z.core.$strict>>;
8907
+ problem: z.ZodOptional<z.ZodString>;
8908
+ }, z.core.$strict>;
8675
8909
  readonly ProtocolVersion: z.ZodString;
8676
8910
  readonly RequestId: z.ZodString;
8677
8911
  readonly ResourceId: z.ZodString;
@@ -10375,6 +10609,7 @@ declare const NAMED_SCHEMAS: {
10375
10609
  fraction: z.ZodNullable<z.ZodNumber>;
10376
10610
  started_at: z.ZodNullable<z.ZodInt>;
10377
10611
  path: z.ZodNullable<z.ZodString>;
10612
+ error: z.ZodOptional<z.ZodString>;
10378
10613
  }, z.core.$strict>;
10379
10614
  readonly ModelsDownloadsListParams: z.ZodObject<{}, z.core.$strict>;
10380
10615
  readonly ModelsDownloadsListResult: z.ZodObject<{
@@ -10396,6 +10631,7 @@ declare const NAMED_SCHEMAS: {
10396
10631
  fraction: z.ZodNullable<z.ZodNumber>;
10397
10632
  started_at: z.ZodNullable<z.ZodInt>;
10398
10633
  path: z.ZodNullable<z.ZodString>;
10634
+ error: z.ZodOptional<z.ZodString>;
10399
10635
  }, z.core.$strict>>;
10400
10636
  }, z.core.$strict>;
10401
10637
  readonly ModelsDownloadsCancelParams: z.ZodObject<{
@@ -18757,6 +18993,7 @@ declare const DownloadRow: z.ZodObject<{
18757
18993
  fraction: z.ZodNullable<z.ZodNumber>;
18758
18994
  started_at: z.ZodNullable<z.ZodInt>;
18759
18995
  path: z.ZodNullable<z.ZodString>;
18996
+ error: z.ZodOptional<z.ZodString>;
18760
18997
  }, z.core.$strict>;
18761
18998
  type DownloadRow = z.output<typeof DownloadRow>;
18762
18999
  declare const ModelsDownloadsListResult: z.ZodObject<{
@@ -18778,6 +19015,7 @@ declare const ModelsDownloadsListResult: z.ZodObject<{
18778
19015
  fraction: z.ZodNullable<z.ZodNumber>;
18779
19016
  started_at: z.ZodNullable<z.ZodInt>;
18780
19017
  path: z.ZodNullable<z.ZodString>;
19018
+ error: z.ZodOptional<z.ZodString>;
18781
19019
  }, z.core.$strict>>;
18782
19020
  }, z.core.$strict>;
18783
19021
  type ModelsDownloadsListResult = z.output<typeof ModelsDownloadsListResult>;