@ai-matrx/desktop-protocol 0.21.30 → 0.21.32

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";
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";
715
715
  readonly errors: readonly z.infer<typeof ErrorCode>[];
716
716
  };
717
717
  declare const OPS: {
@@ -771,6 +771,11 @@ declare const OPS: {
771
771
  local_network: "local_network";
772
772
  bluetooth: "bluetooth";
773
773
  notifications: "notifications";
774
+ reminders: "reminders";
775
+ speech_recognition: "speech_recognition";
776
+ messages: "messages";
777
+ mail: "mail";
778
+ wifi: "wifi";
774
779
  }>;
775
780
  state: z.ZodEnum<{
776
781
  granted: "granted";
@@ -779,7 +784,26 @@ declare const OPS: {
779
784
  not_applicable: "not_applicable";
780
785
  }>;
781
786
  settings_url: z.ZodNullable<z.ZodString>;
787
+ detail: z.ZodOptional<z.ZodString>;
782
788
  }, z.core.$strict>>;
789
+ requirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
790
+ name: z.ZodEnum<{
791
+ secret_storage: "secret_storage";
792
+ tray: "tray";
793
+ display_server: "display_server";
794
+ helper_programs: "helper_programs";
795
+ smart_app_control: "smart_app_control";
796
+ path_length: "path_length";
797
+ }>;
798
+ state: z.ZodEnum<{
799
+ granted: "granted";
800
+ denied: "denied";
801
+ not_determined: "not_determined";
802
+ not_applicable: "not_applicable";
803
+ }>;
804
+ settings_url: z.ZodNullable<z.ZodString>;
805
+ detail: z.ZodNullable<z.ZodString>;
806
+ }, z.core.$strict>>>;
783
807
  }, z.core.$strict>;
784
808
  readonly kind: "unary";
785
809
  readonly since: "1.0";
@@ -3154,7 +3178,24 @@ declare const OPS: {
3154
3178
  readonly "system.open_settings": {
3155
3179
  readonly params: z.ZodObject<{
3156
3180
  pane: z.ZodEnum<{
3181
+ full_disk_access: "full_disk_access";
3182
+ accessibility: "accessibility";
3183
+ screen_recording: "screen_recording";
3157
3184
  microphone: "microphone";
3185
+ camera: "camera";
3186
+ automation: "automation";
3187
+ contacts: "contacts";
3188
+ calendars: "calendars";
3189
+ photos: "photos";
3190
+ location: "location";
3191
+ local_network: "local_network";
3192
+ bluetooth: "bluetooth";
3193
+ notifications: "notifications";
3194
+ reminders: "reminders";
3195
+ speech_recognition: "speech_recognition";
3196
+ messages: "messages";
3197
+ mail: "mail";
3198
+ wifi: "wifi";
3158
3199
  displays: "displays";
3159
3200
  night_shift: "night_shift";
3160
3201
  sound: "sound";
@@ -3170,7 +3211,24 @@ declare const OPS: {
3170
3211
  }, z.core.$strict>;
3171
3212
  readonly result: z.ZodObject<{
3172
3213
  pane: z.ZodEnum<{
3214
+ full_disk_access: "full_disk_access";
3215
+ accessibility: "accessibility";
3216
+ screen_recording: "screen_recording";
3173
3217
  microphone: "microphone";
3218
+ camera: "camera";
3219
+ automation: "automation";
3220
+ contacts: "contacts";
3221
+ calendars: "calendars";
3222
+ photos: "photos";
3223
+ location: "location";
3224
+ local_network: "local_network";
3225
+ bluetooth: "bluetooth";
3226
+ notifications: "notifications";
3227
+ reminders: "reminders";
3228
+ speech_recognition: "speech_recognition";
3229
+ messages: "messages";
3230
+ mail: "mail";
3231
+ wifi: "wifi";
3174
3232
  displays: "displays";
3175
3233
  night_shift: "night_shift";
3176
3234
  sound: "sound";
@@ -4123,8 +4181,8 @@ declare const OPS: {
4123
4181
  readonly result: z.ZodObject<{
4124
4182
  state: z.ZodEnum<{
4125
4183
  cancelled: "cancelled";
4126
- done: "done";
4127
4184
  blocked: "blocked";
4185
+ done: "done";
4128
4186
  }>;
4129
4187
  blocked: z.ZodNullable<z.ZodEnum<{
4130
4188
  signed_out: "signed_out";
@@ -5336,8 +5394,8 @@ declare const OPS: {
5336
5394
  }, z.core.$strict>;
5337
5395
  readonly result: z.ZodObject<{
5338
5396
  state: z.ZodEnum<{
5339
- done: "done";
5340
5397
  blocked: "blocked";
5398
+ done: "done";
5341
5399
  nothing_to_do: "nothing_to_do";
5342
5400
  }>;
5343
5401
  summary: z.ZodString;
@@ -5609,6 +5667,20 @@ declare const OPS: {
5609
5667
  urls: z.ZodArray<z.ZodString>;
5610
5668
  use_cache: z.ZodDefault<z.ZodBoolean>;
5611
5669
  get_links: z.ZodDefault<z.ZodBoolean>;
5670
+ engine: z.ZodOptional<z.ZodEnum<{
5671
+ server: "server";
5672
+ auto: "auto";
5673
+ browser: "browser";
5674
+ }>>;
5675
+ land: z.ZodOptional<z.ZodObject<{
5676
+ organization_id: z.ZodOptional<z.ZodString>;
5677
+ keep: z.ZodDefault<z.ZodBoolean>;
5678
+ attach_to: z.ZodDefault<z.ZodArray<z.ZodObject<{
5679
+ entity_type: z.ZodString;
5680
+ entity_id: z.ZodString;
5681
+ label: z.ZodOptional<z.ZodString>;
5682
+ }, z.core.$strict>>>;
5683
+ }, z.core.$strict>>;
5612
5684
  }, z.core.$strict>;
5613
5685
  readonly result: z.ZodObject<{
5614
5686
  pages: z.ZodArray<z.ZodObject<{
@@ -5621,6 +5693,36 @@ declare const OPS: {
5621
5693
  links: z.ZodArray<z.ZodString>;
5622
5694
  error: z.ZodNullable<z.ZodString>;
5623
5695
  via: z.ZodNullable<z.ZodString>;
5696
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
5697
+ state: z.ZodLiteral<"saved">;
5698
+ processed_document_id: z.ZodString;
5699
+ source_id: z.ZodString;
5700
+ reused_existing: z.ZodBoolean;
5701
+ new_version_of: z.ZodNullable<z.ZodString>;
5702
+ kept: z.ZodBoolean;
5703
+ intelligence: z.ZodEnum<{
5704
+ never: "never";
5705
+ queued: "queued";
5706
+ deferred: "deferred";
5707
+ }>;
5708
+ original_file_id: z.ZodNullable<z.ZodString>;
5709
+ organization_id: z.ZodString;
5710
+ notices: z.ZodArray<z.ZodObject<{
5711
+ code: z.ZodString;
5712
+ message: z.ZodString;
5713
+ remedy: z.ZodString;
5714
+ }, z.core.$strict>>;
5715
+ }, z.core.$strict>, z.ZodObject<{
5716
+ state: z.ZodLiteral<"not_saved">;
5717
+ outbox_id: z.ZodString;
5718
+ reason: z.ZodEnum<{
5719
+ signed_out: "signed_out";
5720
+ queued: "queued";
5721
+ offline: "offline";
5722
+ rejected: "rejected";
5723
+ }>;
5724
+ message: z.ZodString;
5725
+ }, z.core.$strict>], "state">>;
5624
5726
  }, z.core.$strict>>;
5625
5727
  elapsed_ms: z.ZodInt;
5626
5728
  }, z.core.$strict>;
@@ -5662,6 +5764,15 @@ declare const OPS: {
5662
5764
  wait_for: z.ZodOptional<z.ZodString>;
5663
5765
  wait_timeout_ms: z.ZodDefault<z.ZodInt>;
5664
5766
  extract_text: z.ZodDefault<z.ZodBoolean>;
5767
+ land: z.ZodOptional<z.ZodObject<{
5768
+ organization_id: z.ZodOptional<z.ZodString>;
5769
+ keep: z.ZodDefault<z.ZodBoolean>;
5770
+ attach_to: z.ZodDefault<z.ZodArray<z.ZodObject<{
5771
+ entity_type: z.ZodString;
5772
+ entity_id: z.ZodString;
5773
+ label: z.ZodOptional<z.ZodString>;
5774
+ }, z.core.$strict>>>;
5775
+ }, z.core.$strict>>;
5665
5776
  }, z.core.$strict>;
5666
5777
  readonly result: z.ZodObject<{
5667
5778
  url: z.ZodString;
@@ -5670,11 +5781,260 @@ declare const OPS: {
5670
5781
  content: z.ZodString;
5671
5782
  truncated: z.ZodBoolean;
5672
5783
  elapsed_ms: z.ZodInt;
5784
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
5785
+ state: z.ZodLiteral<"saved">;
5786
+ processed_document_id: z.ZodString;
5787
+ source_id: z.ZodString;
5788
+ reused_existing: z.ZodBoolean;
5789
+ new_version_of: z.ZodNullable<z.ZodString>;
5790
+ kept: z.ZodBoolean;
5791
+ intelligence: z.ZodEnum<{
5792
+ never: "never";
5793
+ queued: "queued";
5794
+ deferred: "deferred";
5795
+ }>;
5796
+ original_file_id: z.ZodNullable<z.ZodString>;
5797
+ organization_id: z.ZodString;
5798
+ notices: z.ZodArray<z.ZodObject<{
5799
+ code: z.ZodString;
5800
+ message: z.ZodString;
5801
+ remedy: z.ZodString;
5802
+ }, z.core.$strict>>;
5803
+ }, z.core.$strict>, z.ZodObject<{
5804
+ state: z.ZodLiteral<"not_saved">;
5805
+ outbox_id: z.ZodString;
5806
+ reason: z.ZodEnum<{
5807
+ signed_out: "signed_out";
5808
+ queued: "queued";
5809
+ offline: "offline";
5810
+ rejected: "rejected";
5811
+ }>;
5812
+ message: z.ZodString;
5813
+ }, z.core.$strict>], "state">>;
5673
5814
  }, z.core.$strict>;
5674
5815
  readonly kind: "unary";
5675
5816
  readonly since: "1.22";
5676
5817
  readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "RESOURCE_BUSY", "AUTH_REQUIRED", "INTERNAL"];
5677
5818
  };
5819
+ readonly "web.runtime.state": {
5820
+ readonly params: z.ZodObject<{}, z.core.$strict>;
5821
+ readonly result: z.ZodObject<{
5822
+ state: z.ZodEnum<{
5823
+ not_installed: "not_installed";
5824
+ installing: "installing";
5825
+ installed: "installed";
5826
+ failed: "failed";
5827
+ }>;
5828
+ error: z.ZodNullable<z.ZodString>;
5829
+ size_bytes: z.ZodNullable<z.ZodInt>;
5830
+ can_show_window: z.ZodBoolean;
5831
+ }, z.core.$strict>;
5832
+ readonly kind: "unary";
5833
+ readonly since: "1.40";
5834
+ readonly errors: readonly ["INTERNAL"];
5835
+ };
5836
+ readonly "web.runtime.install": {
5837
+ readonly params: z.ZodObject<{}, z.core.$strict>;
5838
+ readonly result: z.ZodObject<{
5839
+ state: z.ZodEnum<{
5840
+ not_installed: "not_installed";
5841
+ installing: "installing";
5842
+ installed: "installed";
5843
+ failed: "failed";
5844
+ }>;
5845
+ error: z.ZodNullable<z.ZodString>;
5846
+ size_bytes: z.ZodNullable<z.ZodInt>;
5847
+ can_show_window: z.ZodBoolean;
5848
+ }, z.core.$strict>;
5849
+ readonly kind: "unary";
5850
+ readonly since: "1.40";
5851
+ readonly errors: readonly ["TIMEOUT", "RESOURCE_BUSY", "CANCELLED", "INTERNAL"];
5852
+ };
5853
+ readonly "web.runtime.remove": {
5854
+ readonly params: z.ZodObject<{}, z.core.$strict>;
5855
+ readonly result: z.ZodObject<{
5856
+ state: z.ZodEnum<{
5857
+ not_installed: "not_installed";
5858
+ installing: "installing";
5859
+ installed: "installed";
5860
+ failed: "failed";
5861
+ }>;
5862
+ error: z.ZodNullable<z.ZodString>;
5863
+ size_bytes: z.ZodNullable<z.ZodInt>;
5864
+ can_show_window: z.ZodBoolean;
5865
+ }, z.core.$strict>;
5866
+ readonly kind: "unary";
5867
+ readonly since: "1.40";
5868
+ readonly errors: readonly ["RESOURCE_BUSY", "INTERNAL"];
5869
+ };
5870
+ readonly "web.outbox.list": {
5871
+ readonly params: z.ZodObject<{}, z.core.$strict>;
5872
+ readonly result: z.ZodObject<{
5873
+ items: z.ZodArray<z.ZodObject<{
5874
+ outbox_id: z.ZodString;
5875
+ url: z.ZodString;
5876
+ title: z.ZodNullable<z.ZodString>;
5877
+ organization_id: z.ZodNullable<z.ZodString>;
5878
+ reason: z.ZodEnum<{
5879
+ signed_out: "signed_out";
5880
+ queued: "queued";
5881
+ offline: "offline";
5882
+ rejected: "rejected";
5883
+ }>;
5884
+ message: z.ZodString;
5885
+ attempts: z.ZodInt;
5886
+ created_at_ms: z.ZodInt;
5887
+ last_attempt_at_ms: z.ZodNullable<z.ZodInt>;
5888
+ bytes: z.ZodInt;
5889
+ }, z.core.$strict>>;
5890
+ bytes: z.ZodInt;
5891
+ cap_bytes: z.ZodInt;
5892
+ }, z.core.$strict>;
5893
+ readonly kind: "unary";
5894
+ readonly since: "1.40";
5895
+ readonly errors: readonly ["INTERNAL"];
5896
+ };
5897
+ readonly "web.outbox.retry": {
5898
+ readonly params: z.ZodObject<{
5899
+ outbox_id: z.ZodOptional<z.ZodString>;
5900
+ }, z.core.$strict>;
5901
+ readonly result: z.ZodObject<{
5902
+ saved: z.ZodInt;
5903
+ waiting: z.ZodInt;
5904
+ }, z.core.$strict>;
5905
+ readonly kind: "unary";
5906
+ readonly since: "1.40";
5907
+ readonly errors: readonly ["NOT_FOUND", "AUTH_REQUIRED", "INTERNAL"];
5908
+ };
5909
+ readonly "web.outbox.discard": {
5910
+ readonly params: z.ZodObject<{
5911
+ outbox_id: z.ZodString;
5912
+ }, z.core.$strict>;
5913
+ readonly result: z.ZodObject<{
5914
+ discarded: z.ZodBoolean;
5915
+ }, z.core.$strict>;
5916
+ readonly kind: "unary";
5917
+ readonly since: "1.40";
5918
+ readonly errors: readonly ["NOT_FOUND", "INTERNAL"];
5919
+ };
5920
+ readonly "web.log.list": {
5921
+ readonly params: z.ZodObject<{
5922
+ since_ms: z.ZodOptional<z.ZodInt>;
5923
+ limit: z.ZodDefault<z.ZodInt>;
5924
+ }, z.core.$strict>;
5925
+ readonly result: z.ZodObject<{
5926
+ entries: z.ZodArray<z.ZodObject<{
5927
+ id: z.ZodString;
5928
+ at_ms: z.ZodInt;
5929
+ caller: z.ZodEnum<{
5930
+ agent: "agent";
5931
+ other: "other";
5932
+ person: "person";
5933
+ research: "research";
5934
+ phone: "phone";
5935
+ }>;
5936
+ url: z.ZodString;
5937
+ title: z.ZodNullable<z.ZodString>;
5938
+ result: z.ZodEnum<{
5939
+ failed: "failed";
5940
+ saved: "saved";
5941
+ not_saved: "not_saved";
5942
+ blocked: "blocked";
5943
+ read: "read";
5944
+ }>;
5945
+ detail: z.ZodNullable<z.ZodString>;
5946
+ via: z.ZodEnum<{
5947
+ server: "server";
5948
+ browser: "browser";
5949
+ this_computer: "this_computer";
5950
+ }>;
5951
+ duration_ms: z.ZodInt;
5952
+ processed_document_id: z.ZodNullable<z.ZodString>;
5953
+ }, z.core.$strict>>;
5954
+ }, z.core.$strict>;
5955
+ readonly kind: "unary";
5956
+ readonly since: "1.40";
5957
+ readonly errors: readonly ["INVALID_PARAMS"];
5958
+ };
5959
+ readonly "web.log.clear": {
5960
+ readonly params: z.ZodObject<{}, z.core.$strict>;
5961
+ readonly result: z.ZodObject<{
5962
+ cleared: z.ZodInt;
5963
+ }, z.core.$strict>;
5964
+ readonly kind: "unary";
5965
+ readonly since: "1.40";
5966
+ readonly errors: readonly ["INTERNAL"];
5967
+ };
5968
+ readonly "web.research.queue": {
5969
+ readonly params: z.ZodObject<{
5970
+ topic_id: z.ZodOptional<z.ZodString>;
5971
+ }, z.core.$strict>;
5972
+ readonly result: z.ZodObject<{
5973
+ state: z.ZodEnum<{
5974
+ ready: "ready";
5975
+ signed_out: "signed_out";
5976
+ unavailable: "unavailable";
5977
+ }>;
5978
+ problem: z.ZodNullable<z.ZodString>;
5979
+ items: z.ZodArray<z.ZodObject<{
5980
+ topic_id: z.ZodString;
5981
+ topic_name: z.ZodString;
5982
+ source_id: z.ZodString;
5983
+ url: z.ZodString;
5984
+ title: z.ZodNullable<z.ZodString>;
5985
+ level: z.ZodInt;
5986
+ last_failure: z.ZodNullable<z.ZodString>;
5987
+ state: z.ZodEnum<{
5988
+ failed: "failed";
5989
+ waiting: "waiting";
5990
+ saved: "saved";
5991
+ blocked: "blocked";
5992
+ fetching: "fetching";
5993
+ thin: "thin";
5994
+ cannot_edit: "cannot_edit";
5995
+ }>;
5996
+ message: z.ZodNullable<z.ZodString>;
5997
+ }, z.core.$strict>>;
5998
+ view_only: z.ZodInt;
5999
+ }, z.core.$strict>;
6000
+ readonly kind: "unary";
6001
+ readonly since: "1.40";
6002
+ readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
6003
+ };
6004
+ readonly "web.research.fetch": {
6005
+ readonly params: z.ZodObject<{
6006
+ topic_id: z.ZodOptional<z.ZodString>;
6007
+ source_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
6008
+ }, z.core.$strict>;
6009
+ readonly result: z.ZodObject<{
6010
+ items: z.ZodArray<z.ZodObject<{
6011
+ topic_id: z.ZodString;
6012
+ topic_name: z.ZodString;
6013
+ source_id: z.ZodString;
6014
+ url: z.ZodString;
6015
+ title: z.ZodNullable<z.ZodString>;
6016
+ level: z.ZodInt;
6017
+ last_failure: z.ZodNullable<z.ZodString>;
6018
+ state: z.ZodEnum<{
6019
+ failed: "failed";
6020
+ waiting: "waiting";
6021
+ saved: "saved";
6022
+ blocked: "blocked";
6023
+ fetching: "fetching";
6024
+ thin: "thin";
6025
+ cannot_edit: "cannot_edit";
6026
+ }>;
6027
+ message: z.ZodNullable<z.ZodString>;
6028
+ }, z.core.$strict>>;
6029
+ saved: z.ZodInt;
6030
+ thin: z.ZodInt;
6031
+ failed: z.ZodInt;
6032
+ cannot_edit: z.ZodInt;
6033
+ }, z.core.$strict>;
6034
+ readonly kind: "unary";
6035
+ readonly since: "1.40";
6036
+ readonly errors: readonly ["INVALID_PARAMS", "AUTH_REQUIRED", "RESOURCE_BUSY", "CANCELLED", "INTERNAL"];
6037
+ };
5678
6038
  readonly "account.agents.list": {
5679
6039
  readonly params: z.ZodObject<{}, z.core.$strict>;
5680
6040
  readonly result: z.ZodObject<{
@@ -6426,6 +6786,10 @@ declare const OPS: {
6426
6786
  readonly params: z.ZodObject<{
6427
6787
  to: z.ZodString;
6428
6788
  text: z.ZodString;
6789
+ service: z.ZodOptional<z.ZodEnum<{
6790
+ iMessage: "iMessage";
6791
+ SMS: "SMS";
6792
+ }>>;
6429
6793
  }, z.core.$strict>;
6430
6794
  readonly result: z.ZodObject<{
6431
6795
  sent: z.ZodBoolean;
@@ -7442,6 +7806,44 @@ declare const EVENTS: {
7442
7806
  running: "running";
7443
7807
  }>;
7444
7808
  }, z.core.$strict>;
7809
+ readonly "web.log.entry": z.ZodObject<{
7810
+ id: z.ZodString;
7811
+ at_ms: z.ZodInt;
7812
+ caller: z.ZodEnum<{
7813
+ agent: "agent";
7814
+ other: "other";
7815
+ person: "person";
7816
+ research: "research";
7817
+ phone: "phone";
7818
+ }>;
7819
+ url: z.ZodString;
7820
+ title: z.ZodNullable<z.ZodString>;
7821
+ result: z.ZodEnum<{
7822
+ failed: "failed";
7823
+ saved: "saved";
7824
+ not_saved: "not_saved";
7825
+ blocked: "blocked";
7826
+ read: "read";
7827
+ }>;
7828
+ detail: z.ZodNullable<z.ZodString>;
7829
+ via: z.ZodEnum<{
7830
+ server: "server";
7831
+ browser: "browser";
7832
+ this_computer: "this_computer";
7833
+ }>;
7834
+ duration_ms: z.ZodInt;
7835
+ processed_document_id: z.ZodNullable<z.ZodString>;
7836
+ }, z.core.$strict>;
7837
+ readonly "web.progress": z.ZodObject<{
7838
+ request_id: z.ZodString;
7839
+ phase: z.ZodEnum<{
7840
+ installing: "installing";
7841
+ fetching: "fetching";
7842
+ saving: "saving";
7843
+ }>;
7844
+ done: z.ZodInt;
7845
+ total: z.ZodInt;
7846
+ }, z.core.$strict>;
7445
7847
  };
7446
7848
  type EventName = keyof typeof EVENTS;
7447
7849
  /**
@@ -7855,18 +8257,65 @@ declare const SERVICES: {
7855
8257
  urls: z.ZodArray<z.ZodString>;
7856
8258
  use_cache: z.ZodDefault<z.ZodBoolean>;
7857
8259
  get_links: z.ZodDefault<z.ZodBoolean>;
8260
+ engine: z.ZodDefault<z.ZodEnum<{
8261
+ auto: "auto";
8262
+ browser: "browser";
8263
+ }>>;
8264
+ concurrency: z.ZodDefault<z.ZodInt>;
8265
+ delay_ms: z.ZodDefault<z.ZodInt>;
8266
+ spool_dir: z.ZodString;
7858
8267
  }, z.core.$strict>;
7859
8268
  readonly result: z.ZodObject<{
7860
8269
  pages: z.ZodArray<z.ZodObject<{
7861
- url: z.ZodString;
7862
- ok: z.ZodBoolean;
7863
- status: z.ZodNullable<z.ZodInt>;
7864
- title: z.ZodNullable<z.ZodString>;
7865
- text: z.ZodString;
7866
- truncated: z.ZodBoolean;
7867
- links: z.ZodArray<z.ZodString>;
7868
- error: z.ZodNullable<z.ZodString>;
7869
- via: z.ZodNullable<z.ZodString>;
8270
+ page: z.ZodObject<{
8271
+ url: z.ZodString;
8272
+ ok: z.ZodBoolean;
8273
+ status: z.ZodNullable<z.ZodInt>;
8274
+ title: z.ZodNullable<z.ZodString>;
8275
+ text: z.ZodString;
8276
+ truncated: z.ZodBoolean;
8277
+ links: z.ZodArray<z.ZodString>;
8278
+ error: z.ZodNullable<z.ZodString>;
8279
+ via: z.ZodNullable<z.ZodString>;
8280
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
8281
+ state: z.ZodLiteral<"saved">;
8282
+ processed_document_id: z.ZodString;
8283
+ source_id: z.ZodString;
8284
+ reused_existing: z.ZodBoolean;
8285
+ new_version_of: z.ZodNullable<z.ZodString>;
8286
+ kept: z.ZodBoolean;
8287
+ intelligence: z.ZodEnum<{
8288
+ never: "never";
8289
+ queued: "queued";
8290
+ deferred: "deferred";
8291
+ }>;
8292
+ original_file_id: z.ZodNullable<z.ZodString>;
8293
+ organization_id: z.ZodString;
8294
+ notices: z.ZodArray<z.ZodObject<{
8295
+ code: z.ZodString;
8296
+ message: z.ZodString;
8297
+ remedy: z.ZodString;
8298
+ }, z.core.$strict>>;
8299
+ }, z.core.$strict>, z.ZodObject<{
8300
+ state: z.ZodLiteral<"not_saved">;
8301
+ outbox_id: z.ZodString;
8302
+ reason: z.ZodEnum<{
8303
+ signed_out: "signed_out";
8304
+ queued: "queued";
8305
+ offline: "offline";
8306
+ rejected: "rejected";
8307
+ }>;
8308
+ message: z.ZodString;
8309
+ }, z.core.$strict>], "state">>;
8310
+ }, z.core.$strict>;
8311
+ parse: z.ZodNullable<z.ZodObject<{
8312
+ path: z.ZodString;
8313
+ bytes: z.ZodInt;
8314
+ }, z.core.$strict>>;
8315
+ html: z.ZodNullable<z.ZodObject<{
8316
+ path: z.ZodString;
8317
+ bytes: z.ZodInt;
8318
+ }, z.core.$strict>>;
7870
8319
  }, z.core.$strict>>;
7871
8320
  elapsed_ms: z.ZodInt;
7872
8321
  }, z.core.$strict>;
@@ -7902,34 +8351,113 @@ declare const SERVICES: {
7902
8351
  wait_for: z.ZodOptional<z.ZodString>;
7903
8352
  wait_timeout_ms: z.ZodDefault<z.ZodInt>;
7904
8353
  extract_text: z.ZodDefault<z.ZodBoolean>;
8354
+ spool_dir: z.ZodString;
7905
8355
  }, z.core.$strict>;
7906
8356
  readonly result: z.ZodObject<{
7907
- url: z.ZodString;
7908
- status: z.ZodNullable<z.ZodInt>;
7909
- title: z.ZodNullable<z.ZodString>;
7910
- content: z.ZodString;
7911
- truncated: z.ZodBoolean;
7912
- elapsed_ms: z.ZodInt;
8357
+ result: z.ZodObject<{
8358
+ url: z.ZodString;
8359
+ status: z.ZodNullable<z.ZodInt>;
8360
+ title: z.ZodNullable<z.ZodString>;
8361
+ content: z.ZodString;
8362
+ truncated: z.ZodBoolean;
8363
+ elapsed_ms: z.ZodInt;
8364
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
8365
+ state: z.ZodLiteral<"saved">;
8366
+ processed_document_id: z.ZodString;
8367
+ source_id: z.ZodString;
8368
+ reused_existing: z.ZodBoolean;
8369
+ new_version_of: z.ZodNullable<z.ZodString>;
8370
+ kept: z.ZodBoolean;
8371
+ intelligence: z.ZodEnum<{
8372
+ never: "never";
8373
+ queued: "queued";
8374
+ deferred: "deferred";
8375
+ }>;
8376
+ original_file_id: z.ZodNullable<z.ZodString>;
8377
+ organization_id: z.ZodString;
8378
+ notices: z.ZodArray<z.ZodObject<{
8379
+ code: z.ZodString;
8380
+ message: z.ZodString;
8381
+ remedy: z.ZodString;
8382
+ }, z.core.$strict>>;
8383
+ }, z.core.$strict>, z.ZodObject<{
8384
+ state: z.ZodLiteral<"not_saved">;
8385
+ outbox_id: z.ZodString;
8386
+ reason: z.ZodEnum<{
8387
+ signed_out: "signed_out";
8388
+ queued: "queued";
8389
+ offline: "offline";
8390
+ rejected: "rejected";
8391
+ }>;
8392
+ message: z.ZodString;
8393
+ }, z.core.$strict>], "state">>;
8394
+ }, z.core.$strict>;
8395
+ parse: z.ZodNullable<z.ZodObject<{
8396
+ path: z.ZodString;
8397
+ bytes: z.ZodInt;
8398
+ }, z.core.$strict>>;
7913
8399
  }, z.core.$strict>;
7914
8400
  };
7915
- };
7916
- };
7917
- };
7918
- type ServiceId = keyof typeof SERVICES;
7919
- type ServiceOpName<S extends ServiceId> = keyof (typeof SERVICES)[S]["ops"] & string;
7920
- /**
7921
- * Every schema that lands in the generated JSON Schema `$defs` under a stable name (and so becomes a
7922
- * named Pydantic model). Order is the emission order. A test asserts every exported schema of
7923
- * src/schema/* is either listed here or is a documented alias of a listed one.
7924
- * Registered into a PRIVATE zod registry by scripts/generate.ts — never `.meta()`/`.describe()`,
7925
- * which write zod's process-global registry as an import side effect.
7926
- */
7927
- declare const NAMED_SCHEMAS: {
7928
- readonly ProtocolVersion: z.ZodString;
7929
- readonly RequestId: z.ZodString;
7930
- readonly ResourceId: z.ZodString;
7931
- readonly DeviceId: z.ZodString;
7932
- readonly AbsPath: z.ZodString;
8401
+ readonly "tools.web_runtime_state": {
8402
+ readonly params: z.ZodObject<{}, z.core.$strict>;
8403
+ readonly result: z.ZodObject<{
8404
+ state: z.ZodEnum<{
8405
+ not_installed: "not_installed";
8406
+ installing: "installing";
8407
+ installed: "installed";
8408
+ failed: "failed";
8409
+ }>;
8410
+ error: z.ZodNullable<z.ZodString>;
8411
+ size_bytes: z.ZodNullable<z.ZodInt>;
8412
+ can_show_window: z.ZodBoolean;
8413
+ }, z.core.$strict>;
8414
+ };
8415
+ readonly "tools.web_runtime_install": {
8416
+ readonly params: z.ZodObject<{}, z.core.$strict>;
8417
+ readonly result: z.ZodObject<{
8418
+ state: z.ZodEnum<{
8419
+ not_installed: "not_installed";
8420
+ installing: "installing";
8421
+ installed: "installed";
8422
+ failed: "failed";
8423
+ }>;
8424
+ error: z.ZodNullable<z.ZodString>;
8425
+ size_bytes: z.ZodNullable<z.ZodInt>;
8426
+ can_show_window: z.ZodBoolean;
8427
+ }, z.core.$strict>;
8428
+ };
8429
+ readonly "tools.web_runtime_remove": {
8430
+ readonly params: z.ZodObject<{}, z.core.$strict>;
8431
+ readonly result: z.ZodObject<{
8432
+ state: z.ZodEnum<{
8433
+ not_installed: "not_installed";
8434
+ installing: "installing";
8435
+ installed: "installed";
8436
+ failed: "failed";
8437
+ }>;
8438
+ error: z.ZodNullable<z.ZodString>;
8439
+ size_bytes: z.ZodNullable<z.ZodInt>;
8440
+ can_show_window: z.ZodBoolean;
8441
+ }, z.core.$strict>;
8442
+ };
8443
+ };
8444
+ };
8445
+ };
8446
+ type ServiceId = keyof typeof SERVICES;
8447
+ type ServiceOpName<S extends ServiceId> = keyof (typeof SERVICES)[S]["ops"] & string;
8448
+ /**
8449
+ * Every schema that lands in the generated JSON Schema `$defs` under a stable name (and so becomes a
8450
+ * named Pydantic model). Order is the emission order. A test asserts every exported schema of
8451
+ * src/schema/* is either listed here or is a documented alias of a listed one.
8452
+ * Registered into a PRIVATE zod registry by scripts/generate.ts — never `.meta()`/`.describe()`,
8453
+ * which write zod's process-global registry as an import side effect.
8454
+ */
8455
+ declare const NAMED_SCHEMAS: {
8456
+ readonly ProtocolVersion: z.ZodString;
8457
+ readonly RequestId: z.ZodString;
8458
+ readonly ResourceId: z.ZodString;
8459
+ readonly DeviceId: z.ZodString;
8460
+ readonly AbsPath: z.ZodString;
7933
8461
  readonly ErrorCode: z.ZodEnum<{
7934
8462
  AUTH_REQUIRED: "AUTH_REQUIRED";
7935
8463
  AUTH_INVALID: "AUTH_INVALID";
@@ -8429,6 +8957,12 @@ declare const NAMED_SCHEMAS: {
8429
8957
  payload: z.ZodUnknown;
8430
8958
  resourceId: z.ZodOptional<z.ZodString>;
8431
8959
  }, z.core.$strict>], "type">;
8960
+ readonly OsGrantState: z.ZodEnum<{
8961
+ granted: "granted";
8962
+ denied: "denied";
8963
+ not_determined: "not_determined";
8964
+ not_applicable: "not_applicable";
8965
+ }>;
8432
8966
  readonly OsPermissionName: z.ZodEnum<{
8433
8967
  full_disk_access: "full_disk_access";
8434
8968
  accessibility: "accessibility";
@@ -8443,6 +8977,19 @@ declare const NAMED_SCHEMAS: {
8443
8977
  local_network: "local_network";
8444
8978
  bluetooth: "bluetooth";
8445
8979
  notifications: "notifications";
8980
+ reminders: "reminders";
8981
+ speech_recognition: "speech_recognition";
8982
+ messages: "messages";
8983
+ mail: "mail";
8984
+ wifi: "wifi";
8985
+ }>;
8986
+ readonly OsRequirementName: z.ZodEnum<{
8987
+ secret_storage: "secret_storage";
8988
+ tray: "tray";
8989
+ display_server: "display_server";
8990
+ helper_programs: "helper_programs";
8991
+ smart_app_control: "smart_app_control";
8992
+ path_length: "path_length";
8446
8993
  }>;
8447
8994
  readonly SysinfoGetParams: z.ZodObject<{}, z.core.$strict>;
8448
8995
  readonly SysinfoGetResult: z.ZodObject<{
@@ -8499,6 +9046,11 @@ declare const NAMED_SCHEMAS: {
8499
9046
  local_network: "local_network";
8500
9047
  bluetooth: "bluetooth";
8501
9048
  notifications: "notifications";
9049
+ reminders: "reminders";
9050
+ speech_recognition: "speech_recognition";
9051
+ messages: "messages";
9052
+ mail: "mail";
9053
+ wifi: "wifi";
8502
9054
  }>;
8503
9055
  state: z.ZodEnum<{
8504
9056
  granted: "granted";
@@ -8507,7 +9059,26 @@ declare const NAMED_SCHEMAS: {
8507
9059
  not_applicable: "not_applicable";
8508
9060
  }>;
8509
9061
  settings_url: z.ZodNullable<z.ZodString>;
9062
+ detail: z.ZodOptional<z.ZodString>;
8510
9063
  }, z.core.$strict>>;
9064
+ requirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
9065
+ name: z.ZodEnum<{
9066
+ secret_storage: "secret_storage";
9067
+ tray: "tray";
9068
+ display_server: "display_server";
9069
+ helper_programs: "helper_programs";
9070
+ smart_app_control: "smart_app_control";
9071
+ path_length: "path_length";
9072
+ }>;
9073
+ state: z.ZodEnum<{
9074
+ granted: "granted";
9075
+ denied: "denied";
9076
+ not_determined: "not_determined";
9077
+ not_applicable: "not_applicable";
9078
+ }>;
9079
+ settings_url: z.ZodNullable<z.ZodString>;
9080
+ detail: z.ZodNullable<z.ZodString>;
9081
+ }, z.core.$strict>>>;
8511
9082
  }, z.core.$strict>;
8512
9083
  readonly SysinfoHardwareParams: z.ZodObject<{}, z.core.$strict>;
8513
9084
  readonly SysinfoHardwareResult: z.ZodObject<{
@@ -9636,8 +10207,8 @@ declare const NAMED_SCHEMAS: {
9636
10207
  readonly CodingHistoryImportMissingResult: z.ZodObject<{
9637
10208
  state: z.ZodEnum<{
9638
10209
  cancelled: "cancelled";
9639
- done: "done";
9640
10210
  blocked: "blocked";
10211
+ done: "done";
9641
10212
  }>;
9642
10213
  blocked: z.ZodNullable<z.ZodEnum<{
9643
10214
  signed_out: "signed_out";
@@ -11199,8 +11770,8 @@ declare const NAMED_SCHEMAS: {
11199
11770
  }, z.core.$strict>;
11200
11771
  readonly CodingReconcileResult: z.ZodObject<{
11201
11772
  state: z.ZodEnum<{
11202
- done: "done";
11203
11773
  blocked: "blocked";
11774
+ done: "done";
11204
11775
  nothing_to_do: "nothing_to_do";
11205
11776
  }>;
11206
11777
  summary: z.ZodString;
@@ -11924,7 +12495,24 @@ declare const NAMED_SCHEMAS: {
11924
12495
  revealed: z.ZodBoolean;
11925
12496
  }, z.core.$strict>;
11926
12497
  readonly SystemSettingsPane: z.ZodEnum<{
12498
+ full_disk_access: "full_disk_access";
12499
+ accessibility: "accessibility";
12500
+ screen_recording: "screen_recording";
11927
12501
  microphone: "microphone";
12502
+ camera: "camera";
12503
+ automation: "automation";
12504
+ contacts: "contacts";
12505
+ calendars: "calendars";
12506
+ photos: "photos";
12507
+ location: "location";
12508
+ local_network: "local_network";
12509
+ bluetooth: "bluetooth";
12510
+ notifications: "notifications";
12511
+ reminders: "reminders";
12512
+ speech_recognition: "speech_recognition";
12513
+ messages: "messages";
12514
+ mail: "mail";
12515
+ wifi: "wifi";
11928
12516
  displays: "displays";
11929
12517
  night_shift: "night_shift";
11930
12518
  sound: "sound";
@@ -11939,7 +12527,24 @@ declare const NAMED_SCHEMAS: {
11939
12527
  }>;
11940
12528
  readonly SystemOpenSettingsParams: z.ZodObject<{
11941
12529
  pane: z.ZodEnum<{
12530
+ full_disk_access: "full_disk_access";
12531
+ accessibility: "accessibility";
12532
+ screen_recording: "screen_recording";
11942
12533
  microphone: "microphone";
12534
+ camera: "camera";
12535
+ automation: "automation";
12536
+ contacts: "contacts";
12537
+ calendars: "calendars";
12538
+ photos: "photos";
12539
+ location: "location";
12540
+ local_network: "local_network";
12541
+ bluetooth: "bluetooth";
12542
+ notifications: "notifications";
12543
+ reminders: "reminders";
12544
+ speech_recognition: "speech_recognition";
12545
+ messages: "messages";
12546
+ mail: "mail";
12547
+ wifi: "wifi";
11943
12548
  displays: "displays";
11944
12549
  night_shift: "night_shift";
11945
12550
  sound: "sound";
@@ -11955,7 +12560,24 @@ declare const NAMED_SCHEMAS: {
11955
12560
  }, z.core.$strict>;
11956
12561
  readonly SystemOpenSettingsResult: z.ZodObject<{
11957
12562
  pane: z.ZodEnum<{
12563
+ full_disk_access: "full_disk_access";
12564
+ accessibility: "accessibility";
12565
+ screen_recording: "screen_recording";
11958
12566
  microphone: "microphone";
12567
+ camera: "camera";
12568
+ automation: "automation";
12569
+ contacts: "contacts";
12570
+ calendars: "calendars";
12571
+ photos: "photos";
12572
+ location: "location";
12573
+ local_network: "local_network";
12574
+ bluetooth: "bluetooth";
12575
+ notifications: "notifications";
12576
+ reminders: "reminders";
12577
+ speech_recognition: "speech_recognition";
12578
+ messages: "messages";
12579
+ mail: "mail";
12580
+ wifi: "wifi";
11959
12581
  displays: "displays";
11960
12582
  night_shift: "night_shift";
11961
12583
  sound: "sound";
@@ -14832,6 +15454,20 @@ declare const NAMED_SCHEMAS: {
14832
15454
  urls: z.ZodArray<z.ZodString>;
14833
15455
  use_cache: z.ZodDefault<z.ZodBoolean>;
14834
15456
  get_links: z.ZodDefault<z.ZodBoolean>;
15457
+ engine: z.ZodOptional<z.ZodEnum<{
15458
+ server: "server";
15459
+ auto: "auto";
15460
+ browser: "browser";
15461
+ }>>;
15462
+ land: z.ZodOptional<z.ZodObject<{
15463
+ organization_id: z.ZodOptional<z.ZodString>;
15464
+ keep: z.ZodDefault<z.ZodBoolean>;
15465
+ attach_to: z.ZodDefault<z.ZodArray<z.ZodObject<{
15466
+ entity_type: z.ZodString;
15467
+ entity_id: z.ZodString;
15468
+ label: z.ZodOptional<z.ZodString>;
15469
+ }, z.core.$strict>>>;
15470
+ }, z.core.$strict>>;
14835
15471
  }, z.core.$strict>;
14836
15472
  readonly WebScrapePage: z.ZodObject<{
14837
15473
  url: z.ZodString;
@@ -14843,6 +15479,36 @@ declare const NAMED_SCHEMAS: {
14843
15479
  links: z.ZodArray<z.ZodString>;
14844
15480
  error: z.ZodNullable<z.ZodString>;
14845
15481
  via: z.ZodNullable<z.ZodString>;
15482
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
15483
+ state: z.ZodLiteral<"saved">;
15484
+ processed_document_id: z.ZodString;
15485
+ source_id: z.ZodString;
15486
+ reused_existing: z.ZodBoolean;
15487
+ new_version_of: z.ZodNullable<z.ZodString>;
15488
+ kept: z.ZodBoolean;
15489
+ intelligence: z.ZodEnum<{
15490
+ never: "never";
15491
+ queued: "queued";
15492
+ deferred: "deferred";
15493
+ }>;
15494
+ original_file_id: z.ZodNullable<z.ZodString>;
15495
+ organization_id: z.ZodString;
15496
+ notices: z.ZodArray<z.ZodObject<{
15497
+ code: z.ZodString;
15498
+ message: z.ZodString;
15499
+ remedy: z.ZodString;
15500
+ }, z.core.$strict>>;
15501
+ }, z.core.$strict>, z.ZodObject<{
15502
+ state: z.ZodLiteral<"not_saved">;
15503
+ outbox_id: z.ZodString;
15504
+ reason: z.ZodEnum<{
15505
+ signed_out: "signed_out";
15506
+ queued: "queued";
15507
+ offline: "offline";
15508
+ rejected: "rejected";
15509
+ }>;
15510
+ message: z.ZodString;
15511
+ }, z.core.$strict>], "state">>;
14846
15512
  }, z.core.$strict>;
14847
15513
  readonly WebScrapeResult: z.ZodObject<{
14848
15514
  pages: z.ZodArray<z.ZodObject<{
@@ -14855,6 +15521,36 @@ declare const NAMED_SCHEMAS: {
14855
15521
  links: z.ZodArray<z.ZodString>;
14856
15522
  error: z.ZodNullable<z.ZodString>;
14857
15523
  via: z.ZodNullable<z.ZodString>;
15524
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
15525
+ state: z.ZodLiteral<"saved">;
15526
+ processed_document_id: z.ZodString;
15527
+ source_id: z.ZodString;
15528
+ reused_existing: z.ZodBoolean;
15529
+ new_version_of: z.ZodNullable<z.ZodString>;
15530
+ kept: z.ZodBoolean;
15531
+ intelligence: z.ZodEnum<{
15532
+ never: "never";
15533
+ queued: "queued";
15534
+ deferred: "deferred";
15535
+ }>;
15536
+ original_file_id: z.ZodNullable<z.ZodString>;
15537
+ organization_id: z.ZodString;
15538
+ notices: z.ZodArray<z.ZodObject<{
15539
+ code: z.ZodString;
15540
+ message: z.ZodString;
15541
+ remedy: z.ZodString;
15542
+ }, z.core.$strict>>;
15543
+ }, z.core.$strict>, z.ZodObject<{
15544
+ state: z.ZodLiteral<"not_saved">;
15545
+ outbox_id: z.ZodString;
15546
+ reason: z.ZodEnum<{
15547
+ signed_out: "signed_out";
15548
+ queued: "queued";
15549
+ offline: "offline";
15550
+ rejected: "rejected";
15551
+ }>;
15552
+ message: z.ZodString;
15553
+ }, z.core.$strict>], "state">>;
14858
15554
  }, z.core.$strict>>;
14859
15555
  elapsed_ms: z.ZodInt;
14860
15556
  }, z.core.$strict>;
@@ -14911,6 +15607,15 @@ declare const NAMED_SCHEMAS: {
14911
15607
  wait_for: z.ZodOptional<z.ZodString>;
14912
15608
  wait_timeout_ms: z.ZodDefault<z.ZodInt>;
14913
15609
  extract_text: z.ZodDefault<z.ZodBoolean>;
15610
+ land: z.ZodOptional<z.ZodObject<{
15611
+ organization_id: z.ZodOptional<z.ZodString>;
15612
+ keep: z.ZodDefault<z.ZodBoolean>;
15613
+ attach_to: z.ZodDefault<z.ZodArray<z.ZodObject<{
15614
+ entity_type: z.ZodString;
15615
+ entity_id: z.ZodString;
15616
+ label: z.ZodOptional<z.ZodString>;
15617
+ }, z.core.$strict>>>;
15618
+ }, z.core.$strict>>;
14914
15619
  }, z.core.$strict>;
14915
15620
  readonly WebBrowserFetchResult: z.ZodObject<{
14916
15621
  url: z.ZodString;
@@ -14919,6 +15624,516 @@ declare const NAMED_SCHEMAS: {
14919
15624
  content: z.ZodString;
14920
15625
  truncated: z.ZodBoolean;
14921
15626
  elapsed_ms: z.ZodInt;
15627
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
15628
+ state: z.ZodLiteral<"saved">;
15629
+ processed_document_id: z.ZodString;
15630
+ source_id: z.ZodString;
15631
+ reused_existing: z.ZodBoolean;
15632
+ new_version_of: z.ZodNullable<z.ZodString>;
15633
+ kept: z.ZodBoolean;
15634
+ intelligence: z.ZodEnum<{
15635
+ never: "never";
15636
+ queued: "queued";
15637
+ deferred: "deferred";
15638
+ }>;
15639
+ original_file_id: z.ZodNullable<z.ZodString>;
15640
+ organization_id: z.ZodString;
15641
+ notices: z.ZodArray<z.ZodObject<{
15642
+ code: z.ZodString;
15643
+ message: z.ZodString;
15644
+ remedy: z.ZodString;
15645
+ }, z.core.$strict>>;
15646
+ }, z.core.$strict>, z.ZodObject<{
15647
+ state: z.ZodLiteral<"not_saved">;
15648
+ outbox_id: z.ZodString;
15649
+ reason: z.ZodEnum<{
15650
+ signed_out: "signed_out";
15651
+ queued: "queued";
15652
+ offline: "offline";
15653
+ rejected: "rejected";
15654
+ }>;
15655
+ message: z.ZodString;
15656
+ }, z.core.$strict>], "state">>;
15657
+ }, z.core.$strict>;
15658
+ readonly WebAttachTarget: z.ZodObject<{
15659
+ entity_type: z.ZodString;
15660
+ entity_id: z.ZodString;
15661
+ label: z.ZodOptional<z.ZodString>;
15662
+ }, z.core.$strict>;
15663
+ readonly WebLand: z.ZodObject<{
15664
+ organization_id: z.ZodOptional<z.ZodString>;
15665
+ keep: z.ZodDefault<z.ZodBoolean>;
15666
+ attach_to: z.ZodDefault<z.ZodArray<z.ZodObject<{
15667
+ entity_type: z.ZodString;
15668
+ entity_id: z.ZodString;
15669
+ label: z.ZodOptional<z.ZodString>;
15670
+ }, z.core.$strict>>>;
15671
+ }, z.core.$strict>;
15672
+ readonly WebNotSavedReason: z.ZodEnum<{
15673
+ signed_out: "signed_out";
15674
+ queued: "queued";
15675
+ offline: "offline";
15676
+ rejected: "rejected";
15677
+ }>;
15678
+ readonly WebSourceNotice: z.ZodObject<{
15679
+ code: z.ZodString;
15680
+ message: z.ZodString;
15681
+ remedy: z.ZodString;
15682
+ }, z.core.$strict>;
15683
+ readonly WebSourceState: z.ZodDiscriminatedUnion<[z.ZodObject<{
15684
+ state: z.ZodLiteral<"saved">;
15685
+ processed_document_id: z.ZodString;
15686
+ source_id: z.ZodString;
15687
+ reused_existing: z.ZodBoolean;
15688
+ new_version_of: z.ZodNullable<z.ZodString>;
15689
+ kept: z.ZodBoolean;
15690
+ intelligence: z.ZodEnum<{
15691
+ never: "never";
15692
+ queued: "queued";
15693
+ deferred: "deferred";
15694
+ }>;
15695
+ original_file_id: z.ZodNullable<z.ZodString>;
15696
+ organization_id: z.ZodString;
15697
+ notices: z.ZodArray<z.ZodObject<{
15698
+ code: z.ZodString;
15699
+ message: z.ZodString;
15700
+ remedy: z.ZodString;
15701
+ }, z.core.$strict>>;
15702
+ }, z.core.$strict>, z.ZodObject<{
15703
+ state: z.ZodLiteral<"not_saved">;
15704
+ outbox_id: z.ZodString;
15705
+ reason: z.ZodEnum<{
15706
+ signed_out: "signed_out";
15707
+ queued: "queued";
15708
+ offline: "offline";
15709
+ rejected: "rejected";
15710
+ }>;
15711
+ message: z.ZodString;
15712
+ }, z.core.$strict>], "state">;
15713
+ readonly ToolsParseFile: z.ZodObject<{
15714
+ path: z.ZodString;
15715
+ bytes: z.ZodInt;
15716
+ }, z.core.$strict>;
15717
+ readonly ToolsWebScrapeParams: z.ZodObject<{
15718
+ urls: z.ZodArray<z.ZodString>;
15719
+ use_cache: z.ZodDefault<z.ZodBoolean>;
15720
+ get_links: z.ZodDefault<z.ZodBoolean>;
15721
+ engine: z.ZodDefault<z.ZodEnum<{
15722
+ auto: "auto";
15723
+ browser: "browser";
15724
+ }>>;
15725
+ concurrency: z.ZodDefault<z.ZodInt>;
15726
+ delay_ms: z.ZodDefault<z.ZodInt>;
15727
+ spool_dir: z.ZodString;
15728
+ }, z.core.$strict>;
15729
+ readonly ToolsWebScrapePage: z.ZodObject<{
15730
+ page: z.ZodObject<{
15731
+ url: z.ZodString;
15732
+ ok: z.ZodBoolean;
15733
+ status: z.ZodNullable<z.ZodInt>;
15734
+ title: z.ZodNullable<z.ZodString>;
15735
+ text: z.ZodString;
15736
+ truncated: z.ZodBoolean;
15737
+ links: z.ZodArray<z.ZodString>;
15738
+ error: z.ZodNullable<z.ZodString>;
15739
+ via: z.ZodNullable<z.ZodString>;
15740
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
15741
+ state: z.ZodLiteral<"saved">;
15742
+ processed_document_id: z.ZodString;
15743
+ source_id: z.ZodString;
15744
+ reused_existing: z.ZodBoolean;
15745
+ new_version_of: z.ZodNullable<z.ZodString>;
15746
+ kept: z.ZodBoolean;
15747
+ intelligence: z.ZodEnum<{
15748
+ never: "never";
15749
+ queued: "queued";
15750
+ deferred: "deferred";
15751
+ }>;
15752
+ original_file_id: z.ZodNullable<z.ZodString>;
15753
+ organization_id: z.ZodString;
15754
+ notices: z.ZodArray<z.ZodObject<{
15755
+ code: z.ZodString;
15756
+ message: z.ZodString;
15757
+ remedy: z.ZodString;
15758
+ }, z.core.$strict>>;
15759
+ }, z.core.$strict>, z.ZodObject<{
15760
+ state: z.ZodLiteral<"not_saved">;
15761
+ outbox_id: z.ZodString;
15762
+ reason: z.ZodEnum<{
15763
+ signed_out: "signed_out";
15764
+ queued: "queued";
15765
+ offline: "offline";
15766
+ rejected: "rejected";
15767
+ }>;
15768
+ message: z.ZodString;
15769
+ }, z.core.$strict>], "state">>;
15770
+ }, z.core.$strict>;
15771
+ parse: z.ZodNullable<z.ZodObject<{
15772
+ path: z.ZodString;
15773
+ bytes: z.ZodInt;
15774
+ }, z.core.$strict>>;
15775
+ html: z.ZodNullable<z.ZodObject<{
15776
+ path: z.ZodString;
15777
+ bytes: z.ZodInt;
15778
+ }, z.core.$strict>>;
15779
+ }, z.core.$strict>;
15780
+ readonly ToolsWebScrapeResult: z.ZodObject<{
15781
+ pages: z.ZodArray<z.ZodObject<{
15782
+ page: z.ZodObject<{
15783
+ url: z.ZodString;
15784
+ ok: z.ZodBoolean;
15785
+ status: z.ZodNullable<z.ZodInt>;
15786
+ title: z.ZodNullable<z.ZodString>;
15787
+ text: z.ZodString;
15788
+ truncated: z.ZodBoolean;
15789
+ links: z.ZodArray<z.ZodString>;
15790
+ error: z.ZodNullable<z.ZodString>;
15791
+ via: z.ZodNullable<z.ZodString>;
15792
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
15793
+ state: z.ZodLiteral<"saved">;
15794
+ processed_document_id: z.ZodString;
15795
+ source_id: z.ZodString;
15796
+ reused_existing: z.ZodBoolean;
15797
+ new_version_of: z.ZodNullable<z.ZodString>;
15798
+ kept: z.ZodBoolean;
15799
+ intelligence: z.ZodEnum<{
15800
+ never: "never";
15801
+ queued: "queued";
15802
+ deferred: "deferred";
15803
+ }>;
15804
+ original_file_id: z.ZodNullable<z.ZodString>;
15805
+ organization_id: z.ZodString;
15806
+ notices: z.ZodArray<z.ZodObject<{
15807
+ code: z.ZodString;
15808
+ message: z.ZodString;
15809
+ remedy: z.ZodString;
15810
+ }, z.core.$strict>>;
15811
+ }, z.core.$strict>, z.ZodObject<{
15812
+ state: z.ZodLiteral<"not_saved">;
15813
+ outbox_id: z.ZodString;
15814
+ reason: z.ZodEnum<{
15815
+ signed_out: "signed_out";
15816
+ queued: "queued";
15817
+ offline: "offline";
15818
+ rejected: "rejected";
15819
+ }>;
15820
+ message: z.ZodString;
15821
+ }, z.core.$strict>], "state">>;
15822
+ }, z.core.$strict>;
15823
+ parse: z.ZodNullable<z.ZodObject<{
15824
+ path: z.ZodString;
15825
+ bytes: z.ZodInt;
15826
+ }, z.core.$strict>>;
15827
+ html: z.ZodNullable<z.ZodObject<{
15828
+ path: z.ZodString;
15829
+ bytes: z.ZodInt;
15830
+ }, z.core.$strict>>;
15831
+ }, z.core.$strict>>;
15832
+ elapsed_ms: z.ZodInt;
15833
+ }, z.core.$strict>;
15834
+ readonly ToolsWebBrowserFetchParams: z.ZodObject<{
15835
+ url: z.ZodString;
15836
+ wait_for: z.ZodOptional<z.ZodString>;
15837
+ wait_timeout_ms: z.ZodDefault<z.ZodInt>;
15838
+ extract_text: z.ZodDefault<z.ZodBoolean>;
15839
+ spool_dir: z.ZodString;
15840
+ }, z.core.$strict>;
15841
+ readonly ToolsWebBrowserFetchResult: z.ZodObject<{
15842
+ result: z.ZodObject<{
15843
+ url: z.ZodString;
15844
+ status: z.ZodNullable<z.ZodInt>;
15845
+ title: z.ZodNullable<z.ZodString>;
15846
+ content: z.ZodString;
15847
+ truncated: z.ZodBoolean;
15848
+ elapsed_ms: z.ZodInt;
15849
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
15850
+ state: z.ZodLiteral<"saved">;
15851
+ processed_document_id: z.ZodString;
15852
+ source_id: z.ZodString;
15853
+ reused_existing: z.ZodBoolean;
15854
+ new_version_of: z.ZodNullable<z.ZodString>;
15855
+ kept: z.ZodBoolean;
15856
+ intelligence: z.ZodEnum<{
15857
+ never: "never";
15858
+ queued: "queued";
15859
+ deferred: "deferred";
15860
+ }>;
15861
+ original_file_id: z.ZodNullable<z.ZodString>;
15862
+ organization_id: z.ZodString;
15863
+ notices: z.ZodArray<z.ZodObject<{
15864
+ code: z.ZodString;
15865
+ message: z.ZodString;
15866
+ remedy: z.ZodString;
15867
+ }, z.core.$strict>>;
15868
+ }, z.core.$strict>, z.ZodObject<{
15869
+ state: z.ZodLiteral<"not_saved">;
15870
+ outbox_id: z.ZodString;
15871
+ reason: z.ZodEnum<{
15872
+ signed_out: "signed_out";
15873
+ queued: "queued";
15874
+ offline: "offline";
15875
+ rejected: "rejected";
15876
+ }>;
15877
+ message: z.ZodString;
15878
+ }, z.core.$strict>], "state">>;
15879
+ }, z.core.$strict>;
15880
+ parse: z.ZodNullable<z.ZodObject<{
15881
+ path: z.ZodString;
15882
+ bytes: z.ZodInt;
15883
+ }, z.core.$strict>>;
15884
+ }, z.core.$strict>;
15885
+ readonly WebRuntimeStateName: z.ZodEnum<{
15886
+ not_installed: "not_installed";
15887
+ installing: "installing";
15888
+ installed: "installed";
15889
+ failed: "failed";
15890
+ }>;
15891
+ readonly WebRuntimeParams: z.ZodObject<{}, z.core.$strict>;
15892
+ readonly WebRuntimeState: z.ZodObject<{
15893
+ state: z.ZodEnum<{
15894
+ not_installed: "not_installed";
15895
+ installing: "installing";
15896
+ installed: "installed";
15897
+ failed: "failed";
15898
+ }>;
15899
+ error: z.ZodNullable<z.ZodString>;
15900
+ size_bytes: z.ZodNullable<z.ZodInt>;
15901
+ can_show_window: z.ZodBoolean;
15902
+ }, z.core.$strict>;
15903
+ readonly WebOutboxItem: z.ZodObject<{
15904
+ outbox_id: z.ZodString;
15905
+ url: z.ZodString;
15906
+ title: z.ZodNullable<z.ZodString>;
15907
+ organization_id: z.ZodNullable<z.ZodString>;
15908
+ reason: z.ZodEnum<{
15909
+ signed_out: "signed_out";
15910
+ queued: "queued";
15911
+ offline: "offline";
15912
+ rejected: "rejected";
15913
+ }>;
15914
+ message: z.ZodString;
15915
+ attempts: z.ZodInt;
15916
+ created_at_ms: z.ZodInt;
15917
+ last_attempt_at_ms: z.ZodNullable<z.ZodInt>;
15918
+ bytes: z.ZodInt;
15919
+ }, z.core.$strict>;
15920
+ readonly WebOutboxListParams: z.ZodObject<{}, z.core.$strict>;
15921
+ readonly WebOutboxListResult: z.ZodObject<{
15922
+ items: z.ZodArray<z.ZodObject<{
15923
+ outbox_id: z.ZodString;
15924
+ url: z.ZodString;
15925
+ title: z.ZodNullable<z.ZodString>;
15926
+ organization_id: z.ZodNullable<z.ZodString>;
15927
+ reason: z.ZodEnum<{
15928
+ signed_out: "signed_out";
15929
+ queued: "queued";
15930
+ offline: "offline";
15931
+ rejected: "rejected";
15932
+ }>;
15933
+ message: z.ZodString;
15934
+ attempts: z.ZodInt;
15935
+ created_at_ms: z.ZodInt;
15936
+ last_attempt_at_ms: z.ZodNullable<z.ZodInt>;
15937
+ bytes: z.ZodInt;
15938
+ }, z.core.$strict>>;
15939
+ bytes: z.ZodInt;
15940
+ cap_bytes: z.ZodInt;
15941
+ }, z.core.$strict>;
15942
+ readonly WebOutboxRetryParams: z.ZodObject<{
15943
+ outbox_id: z.ZodOptional<z.ZodString>;
15944
+ }, z.core.$strict>;
15945
+ readonly WebOutboxRetryResult: z.ZodObject<{
15946
+ saved: z.ZodInt;
15947
+ waiting: z.ZodInt;
15948
+ }, z.core.$strict>;
15949
+ readonly WebOutboxDiscardParams: z.ZodObject<{
15950
+ outbox_id: z.ZodString;
15951
+ }, z.core.$strict>;
15952
+ readonly WebOutboxDiscardResult: z.ZodObject<{
15953
+ discarded: z.ZodBoolean;
15954
+ }, z.core.$strict>;
15955
+ readonly WebLogVia: z.ZodEnum<{
15956
+ server: "server";
15957
+ browser: "browser";
15958
+ this_computer: "this_computer";
15959
+ }>;
15960
+ readonly WebLogCaller: z.ZodEnum<{
15961
+ agent: "agent";
15962
+ other: "other";
15963
+ person: "person";
15964
+ research: "research";
15965
+ phone: "phone";
15966
+ }>;
15967
+ readonly WebLogResult: z.ZodEnum<{
15968
+ failed: "failed";
15969
+ saved: "saved";
15970
+ not_saved: "not_saved";
15971
+ blocked: "blocked";
15972
+ read: "read";
15973
+ }>;
15974
+ readonly WebLogEntry: z.ZodObject<{
15975
+ id: z.ZodString;
15976
+ at_ms: z.ZodInt;
15977
+ caller: z.ZodEnum<{
15978
+ agent: "agent";
15979
+ other: "other";
15980
+ person: "person";
15981
+ research: "research";
15982
+ phone: "phone";
15983
+ }>;
15984
+ url: z.ZodString;
15985
+ title: z.ZodNullable<z.ZodString>;
15986
+ result: z.ZodEnum<{
15987
+ failed: "failed";
15988
+ saved: "saved";
15989
+ not_saved: "not_saved";
15990
+ blocked: "blocked";
15991
+ read: "read";
15992
+ }>;
15993
+ detail: z.ZodNullable<z.ZodString>;
15994
+ via: z.ZodEnum<{
15995
+ server: "server";
15996
+ browser: "browser";
15997
+ this_computer: "this_computer";
15998
+ }>;
15999
+ duration_ms: z.ZodInt;
16000
+ processed_document_id: z.ZodNullable<z.ZodString>;
16001
+ }, z.core.$strict>;
16002
+ readonly WebLogListParams: z.ZodObject<{
16003
+ since_ms: z.ZodOptional<z.ZodInt>;
16004
+ limit: z.ZodDefault<z.ZodInt>;
16005
+ }, z.core.$strict>;
16006
+ readonly WebLogListResult: z.ZodObject<{
16007
+ entries: z.ZodArray<z.ZodObject<{
16008
+ id: z.ZodString;
16009
+ at_ms: z.ZodInt;
16010
+ caller: z.ZodEnum<{
16011
+ agent: "agent";
16012
+ other: "other";
16013
+ person: "person";
16014
+ research: "research";
16015
+ phone: "phone";
16016
+ }>;
16017
+ url: z.ZodString;
16018
+ title: z.ZodNullable<z.ZodString>;
16019
+ result: z.ZodEnum<{
16020
+ failed: "failed";
16021
+ saved: "saved";
16022
+ not_saved: "not_saved";
16023
+ blocked: "blocked";
16024
+ read: "read";
16025
+ }>;
16026
+ detail: z.ZodNullable<z.ZodString>;
16027
+ via: z.ZodEnum<{
16028
+ server: "server";
16029
+ browser: "browser";
16030
+ this_computer: "this_computer";
16031
+ }>;
16032
+ duration_ms: z.ZodInt;
16033
+ processed_document_id: z.ZodNullable<z.ZodString>;
16034
+ }, z.core.$strict>>;
16035
+ }, z.core.$strict>;
16036
+ readonly WebLogClearParams: z.ZodObject<{}, z.core.$strict>;
16037
+ readonly WebLogClearResult: z.ZodObject<{
16038
+ cleared: z.ZodInt;
16039
+ }, z.core.$strict>;
16040
+ readonly WebProgressEvent: z.ZodObject<{
16041
+ request_id: z.ZodString;
16042
+ phase: z.ZodEnum<{
16043
+ installing: "installing";
16044
+ fetching: "fetching";
16045
+ saving: "saving";
16046
+ }>;
16047
+ done: z.ZodInt;
16048
+ total: z.ZodInt;
16049
+ }, z.core.$strict>;
16050
+ readonly WebResearchItemState: z.ZodEnum<{
16051
+ failed: "failed";
16052
+ waiting: "waiting";
16053
+ saved: "saved";
16054
+ blocked: "blocked";
16055
+ fetching: "fetching";
16056
+ thin: "thin";
16057
+ cannot_edit: "cannot_edit";
16058
+ }>;
16059
+ readonly WebResearchItem: z.ZodObject<{
16060
+ topic_id: z.ZodString;
16061
+ topic_name: z.ZodString;
16062
+ source_id: z.ZodString;
16063
+ url: z.ZodString;
16064
+ title: z.ZodNullable<z.ZodString>;
16065
+ level: z.ZodInt;
16066
+ last_failure: z.ZodNullable<z.ZodString>;
16067
+ state: z.ZodEnum<{
16068
+ failed: "failed";
16069
+ waiting: "waiting";
16070
+ saved: "saved";
16071
+ blocked: "blocked";
16072
+ fetching: "fetching";
16073
+ thin: "thin";
16074
+ cannot_edit: "cannot_edit";
16075
+ }>;
16076
+ message: z.ZodNullable<z.ZodString>;
16077
+ }, z.core.$strict>;
16078
+ readonly WebResearchQueueParams: z.ZodObject<{
16079
+ topic_id: z.ZodOptional<z.ZodString>;
16080
+ }, z.core.$strict>;
16081
+ readonly WebResearchQueueResult: z.ZodObject<{
16082
+ state: z.ZodEnum<{
16083
+ ready: "ready";
16084
+ signed_out: "signed_out";
16085
+ unavailable: "unavailable";
16086
+ }>;
16087
+ problem: z.ZodNullable<z.ZodString>;
16088
+ items: z.ZodArray<z.ZodObject<{
16089
+ topic_id: z.ZodString;
16090
+ topic_name: z.ZodString;
16091
+ source_id: z.ZodString;
16092
+ url: z.ZodString;
16093
+ title: z.ZodNullable<z.ZodString>;
16094
+ level: z.ZodInt;
16095
+ last_failure: z.ZodNullable<z.ZodString>;
16096
+ state: z.ZodEnum<{
16097
+ failed: "failed";
16098
+ waiting: "waiting";
16099
+ saved: "saved";
16100
+ blocked: "blocked";
16101
+ fetching: "fetching";
16102
+ thin: "thin";
16103
+ cannot_edit: "cannot_edit";
16104
+ }>;
16105
+ message: z.ZodNullable<z.ZodString>;
16106
+ }, z.core.$strict>>;
16107
+ view_only: z.ZodInt;
16108
+ }, z.core.$strict>;
16109
+ readonly WebResearchFetchParams: z.ZodObject<{
16110
+ topic_id: z.ZodOptional<z.ZodString>;
16111
+ source_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
16112
+ }, z.core.$strict>;
16113
+ readonly WebResearchFetchResult: z.ZodObject<{
16114
+ items: z.ZodArray<z.ZodObject<{
16115
+ topic_id: z.ZodString;
16116
+ topic_name: z.ZodString;
16117
+ source_id: z.ZodString;
16118
+ url: z.ZodString;
16119
+ title: z.ZodNullable<z.ZodString>;
16120
+ level: z.ZodInt;
16121
+ last_failure: z.ZodNullable<z.ZodString>;
16122
+ state: z.ZodEnum<{
16123
+ failed: "failed";
16124
+ waiting: "waiting";
16125
+ saved: "saved";
16126
+ blocked: "blocked";
16127
+ fetching: "fetching";
16128
+ thin: "thin";
16129
+ cannot_edit: "cannot_edit";
16130
+ }>;
16131
+ message: z.ZodNullable<z.ZodString>;
16132
+ }, z.core.$strict>>;
16133
+ saved: z.ZodInt;
16134
+ thin: z.ZodInt;
16135
+ failed: z.ZodInt;
16136
+ cannot_edit: z.ZodInt;
14922
16137
  }, z.core.$strict>;
14923
16138
  readonly ToolsServiceProgress: z.ZodObject<{
14924
16139
  phase: z.ZodEnum<{
@@ -15859,6 +17074,10 @@ declare const NAMED_SCHEMAS: {
15859
17074
  readonly MessagesSendParams: z.ZodObject<{
15860
17075
  to: z.ZodString;
15861
17076
  text: z.ZodString;
17077
+ service: z.ZodOptional<z.ZodEnum<{
17078
+ iMessage: "iMessage";
17079
+ SMS: "SMS";
17080
+ }>>;
15862
17081
  }, z.core.$strict>;
15863
17082
  readonly MessagesSendResult: z.ZodObject<{
15864
17083
  sent: z.ZodBoolean;