@ai-matrx/desktop-protocol 0.21.30 → 0.21.31

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<{
@@ -7442,6 +7802,44 @@ declare const EVENTS: {
7442
7802
  running: "running";
7443
7803
  }>;
7444
7804
  }, z.core.$strict>;
7805
+ readonly "web.log.entry": z.ZodObject<{
7806
+ id: z.ZodString;
7807
+ at_ms: z.ZodInt;
7808
+ caller: z.ZodEnum<{
7809
+ agent: "agent";
7810
+ other: "other";
7811
+ person: "person";
7812
+ research: "research";
7813
+ phone: "phone";
7814
+ }>;
7815
+ url: z.ZodString;
7816
+ title: z.ZodNullable<z.ZodString>;
7817
+ result: z.ZodEnum<{
7818
+ failed: "failed";
7819
+ saved: "saved";
7820
+ not_saved: "not_saved";
7821
+ blocked: "blocked";
7822
+ read: "read";
7823
+ }>;
7824
+ detail: z.ZodNullable<z.ZodString>;
7825
+ via: z.ZodEnum<{
7826
+ server: "server";
7827
+ browser: "browser";
7828
+ this_computer: "this_computer";
7829
+ }>;
7830
+ duration_ms: z.ZodInt;
7831
+ processed_document_id: z.ZodNullable<z.ZodString>;
7832
+ }, z.core.$strict>;
7833
+ readonly "web.progress": z.ZodObject<{
7834
+ request_id: z.ZodString;
7835
+ phase: z.ZodEnum<{
7836
+ installing: "installing";
7837
+ fetching: "fetching";
7838
+ saving: "saving";
7839
+ }>;
7840
+ done: z.ZodInt;
7841
+ total: z.ZodInt;
7842
+ }, z.core.$strict>;
7445
7843
  };
7446
7844
  type EventName = keyof typeof EVENTS;
7447
7845
  /**
@@ -7855,18 +8253,65 @@ declare const SERVICES: {
7855
8253
  urls: z.ZodArray<z.ZodString>;
7856
8254
  use_cache: z.ZodDefault<z.ZodBoolean>;
7857
8255
  get_links: z.ZodDefault<z.ZodBoolean>;
8256
+ engine: z.ZodDefault<z.ZodEnum<{
8257
+ auto: "auto";
8258
+ browser: "browser";
8259
+ }>>;
8260
+ concurrency: z.ZodDefault<z.ZodInt>;
8261
+ delay_ms: z.ZodDefault<z.ZodInt>;
8262
+ spool_dir: z.ZodString;
7858
8263
  }, z.core.$strict>;
7859
8264
  readonly result: z.ZodObject<{
7860
8265
  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>;
8266
+ page: z.ZodObject<{
8267
+ url: z.ZodString;
8268
+ ok: z.ZodBoolean;
8269
+ status: z.ZodNullable<z.ZodInt>;
8270
+ title: z.ZodNullable<z.ZodString>;
8271
+ text: z.ZodString;
8272
+ truncated: z.ZodBoolean;
8273
+ links: z.ZodArray<z.ZodString>;
8274
+ error: z.ZodNullable<z.ZodString>;
8275
+ via: z.ZodNullable<z.ZodString>;
8276
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
8277
+ state: z.ZodLiteral<"saved">;
8278
+ processed_document_id: z.ZodString;
8279
+ source_id: z.ZodString;
8280
+ reused_existing: z.ZodBoolean;
8281
+ new_version_of: z.ZodNullable<z.ZodString>;
8282
+ kept: z.ZodBoolean;
8283
+ intelligence: z.ZodEnum<{
8284
+ never: "never";
8285
+ queued: "queued";
8286
+ deferred: "deferred";
8287
+ }>;
8288
+ original_file_id: z.ZodNullable<z.ZodString>;
8289
+ organization_id: z.ZodString;
8290
+ notices: z.ZodArray<z.ZodObject<{
8291
+ code: z.ZodString;
8292
+ message: z.ZodString;
8293
+ remedy: z.ZodString;
8294
+ }, z.core.$strict>>;
8295
+ }, z.core.$strict>, z.ZodObject<{
8296
+ state: z.ZodLiteral<"not_saved">;
8297
+ outbox_id: z.ZodString;
8298
+ reason: z.ZodEnum<{
8299
+ signed_out: "signed_out";
8300
+ queued: "queued";
8301
+ offline: "offline";
8302
+ rejected: "rejected";
8303
+ }>;
8304
+ message: z.ZodString;
8305
+ }, z.core.$strict>], "state">>;
8306
+ }, z.core.$strict>;
8307
+ parse: z.ZodNullable<z.ZodObject<{
8308
+ path: z.ZodString;
8309
+ bytes: z.ZodInt;
8310
+ }, z.core.$strict>>;
8311
+ html: z.ZodNullable<z.ZodObject<{
8312
+ path: z.ZodString;
8313
+ bytes: z.ZodInt;
8314
+ }, z.core.$strict>>;
7870
8315
  }, z.core.$strict>>;
7871
8316
  elapsed_ms: z.ZodInt;
7872
8317
  }, z.core.$strict>;
@@ -7902,35 +8347,114 @@ declare const SERVICES: {
7902
8347
  wait_for: z.ZodOptional<z.ZodString>;
7903
8348
  wait_timeout_ms: z.ZodDefault<z.ZodInt>;
7904
8349
  extract_text: z.ZodDefault<z.ZodBoolean>;
8350
+ spool_dir: z.ZodString;
7905
8351
  }, z.core.$strict>;
7906
8352
  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;
8353
+ result: z.ZodObject<{
8354
+ url: z.ZodString;
8355
+ status: z.ZodNullable<z.ZodInt>;
8356
+ title: z.ZodNullable<z.ZodString>;
8357
+ content: z.ZodString;
8358
+ truncated: z.ZodBoolean;
8359
+ elapsed_ms: z.ZodInt;
8360
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
8361
+ state: z.ZodLiteral<"saved">;
8362
+ processed_document_id: z.ZodString;
8363
+ source_id: z.ZodString;
8364
+ reused_existing: z.ZodBoolean;
8365
+ new_version_of: z.ZodNullable<z.ZodString>;
8366
+ kept: z.ZodBoolean;
8367
+ intelligence: z.ZodEnum<{
8368
+ never: "never";
8369
+ queued: "queued";
8370
+ deferred: "deferred";
8371
+ }>;
8372
+ original_file_id: z.ZodNullable<z.ZodString>;
8373
+ organization_id: z.ZodString;
8374
+ notices: z.ZodArray<z.ZodObject<{
8375
+ code: z.ZodString;
8376
+ message: z.ZodString;
8377
+ remedy: z.ZodString;
8378
+ }, z.core.$strict>>;
8379
+ }, z.core.$strict>, z.ZodObject<{
8380
+ state: z.ZodLiteral<"not_saved">;
8381
+ outbox_id: z.ZodString;
8382
+ reason: z.ZodEnum<{
8383
+ signed_out: "signed_out";
8384
+ queued: "queued";
8385
+ offline: "offline";
8386
+ rejected: "rejected";
8387
+ }>;
8388
+ message: z.ZodString;
8389
+ }, z.core.$strict>], "state">>;
8390
+ }, z.core.$strict>;
8391
+ parse: z.ZodNullable<z.ZodObject<{
8392
+ path: z.ZodString;
8393
+ bytes: z.ZodInt;
8394
+ }, z.core.$strict>>;
7913
8395
  }, z.core.$strict>;
7914
8396
  };
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;
7933
- readonly ErrorCode: z.ZodEnum<{
8397
+ readonly "tools.web_runtime_state": {
8398
+ readonly params: z.ZodObject<{}, z.core.$strict>;
8399
+ readonly result: z.ZodObject<{
8400
+ state: z.ZodEnum<{
8401
+ not_installed: "not_installed";
8402
+ installing: "installing";
8403
+ installed: "installed";
8404
+ failed: "failed";
8405
+ }>;
8406
+ error: z.ZodNullable<z.ZodString>;
8407
+ size_bytes: z.ZodNullable<z.ZodInt>;
8408
+ can_show_window: z.ZodBoolean;
8409
+ }, z.core.$strict>;
8410
+ };
8411
+ readonly "tools.web_runtime_install": {
8412
+ readonly params: z.ZodObject<{}, z.core.$strict>;
8413
+ readonly result: z.ZodObject<{
8414
+ state: z.ZodEnum<{
8415
+ not_installed: "not_installed";
8416
+ installing: "installing";
8417
+ installed: "installed";
8418
+ failed: "failed";
8419
+ }>;
8420
+ error: z.ZodNullable<z.ZodString>;
8421
+ size_bytes: z.ZodNullable<z.ZodInt>;
8422
+ can_show_window: z.ZodBoolean;
8423
+ }, z.core.$strict>;
8424
+ };
8425
+ readonly "tools.web_runtime_remove": {
8426
+ readonly params: z.ZodObject<{}, z.core.$strict>;
8427
+ readonly result: z.ZodObject<{
8428
+ state: z.ZodEnum<{
8429
+ not_installed: "not_installed";
8430
+ installing: "installing";
8431
+ installed: "installed";
8432
+ failed: "failed";
8433
+ }>;
8434
+ error: z.ZodNullable<z.ZodString>;
8435
+ size_bytes: z.ZodNullable<z.ZodInt>;
8436
+ can_show_window: z.ZodBoolean;
8437
+ }, z.core.$strict>;
8438
+ };
8439
+ };
8440
+ };
8441
+ };
8442
+ type ServiceId = keyof typeof SERVICES;
8443
+ type ServiceOpName<S extends ServiceId> = keyof (typeof SERVICES)[S]["ops"] & string;
8444
+ /**
8445
+ * Every schema that lands in the generated JSON Schema `$defs` under a stable name (and so becomes a
8446
+ * named Pydantic model). Order is the emission order. A test asserts every exported schema of
8447
+ * src/schema/* is either listed here or is a documented alias of a listed one.
8448
+ * Registered into a PRIVATE zod registry by scripts/generate.ts — never `.meta()`/`.describe()`,
8449
+ * which write zod's process-global registry as an import side effect.
8450
+ */
8451
+ declare const NAMED_SCHEMAS: {
8452
+ readonly ProtocolVersion: z.ZodString;
8453
+ readonly RequestId: z.ZodString;
8454
+ readonly ResourceId: z.ZodString;
8455
+ readonly DeviceId: z.ZodString;
8456
+ readonly AbsPath: z.ZodString;
8457
+ readonly ErrorCode: z.ZodEnum<{
7934
8458
  AUTH_REQUIRED: "AUTH_REQUIRED";
7935
8459
  AUTH_INVALID: "AUTH_INVALID";
7936
8460
  AUTH_EXPIRED: "AUTH_EXPIRED";
@@ -8429,6 +8953,12 @@ declare const NAMED_SCHEMAS: {
8429
8953
  payload: z.ZodUnknown;
8430
8954
  resourceId: z.ZodOptional<z.ZodString>;
8431
8955
  }, z.core.$strict>], "type">;
8956
+ readonly OsGrantState: z.ZodEnum<{
8957
+ granted: "granted";
8958
+ denied: "denied";
8959
+ not_determined: "not_determined";
8960
+ not_applicable: "not_applicable";
8961
+ }>;
8432
8962
  readonly OsPermissionName: z.ZodEnum<{
8433
8963
  full_disk_access: "full_disk_access";
8434
8964
  accessibility: "accessibility";
@@ -8443,6 +8973,19 @@ declare const NAMED_SCHEMAS: {
8443
8973
  local_network: "local_network";
8444
8974
  bluetooth: "bluetooth";
8445
8975
  notifications: "notifications";
8976
+ reminders: "reminders";
8977
+ speech_recognition: "speech_recognition";
8978
+ messages: "messages";
8979
+ mail: "mail";
8980
+ wifi: "wifi";
8981
+ }>;
8982
+ readonly OsRequirementName: z.ZodEnum<{
8983
+ secret_storage: "secret_storage";
8984
+ tray: "tray";
8985
+ display_server: "display_server";
8986
+ helper_programs: "helper_programs";
8987
+ smart_app_control: "smart_app_control";
8988
+ path_length: "path_length";
8446
8989
  }>;
8447
8990
  readonly SysinfoGetParams: z.ZodObject<{}, z.core.$strict>;
8448
8991
  readonly SysinfoGetResult: z.ZodObject<{
@@ -8499,6 +9042,11 @@ declare const NAMED_SCHEMAS: {
8499
9042
  local_network: "local_network";
8500
9043
  bluetooth: "bluetooth";
8501
9044
  notifications: "notifications";
9045
+ reminders: "reminders";
9046
+ speech_recognition: "speech_recognition";
9047
+ messages: "messages";
9048
+ mail: "mail";
9049
+ wifi: "wifi";
8502
9050
  }>;
8503
9051
  state: z.ZodEnum<{
8504
9052
  granted: "granted";
@@ -8507,7 +9055,26 @@ declare const NAMED_SCHEMAS: {
8507
9055
  not_applicable: "not_applicable";
8508
9056
  }>;
8509
9057
  settings_url: z.ZodNullable<z.ZodString>;
9058
+ detail: z.ZodOptional<z.ZodString>;
8510
9059
  }, z.core.$strict>>;
9060
+ requirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
9061
+ name: z.ZodEnum<{
9062
+ secret_storage: "secret_storage";
9063
+ tray: "tray";
9064
+ display_server: "display_server";
9065
+ helper_programs: "helper_programs";
9066
+ smart_app_control: "smart_app_control";
9067
+ path_length: "path_length";
9068
+ }>;
9069
+ state: z.ZodEnum<{
9070
+ granted: "granted";
9071
+ denied: "denied";
9072
+ not_determined: "not_determined";
9073
+ not_applicable: "not_applicable";
9074
+ }>;
9075
+ settings_url: z.ZodNullable<z.ZodString>;
9076
+ detail: z.ZodNullable<z.ZodString>;
9077
+ }, z.core.$strict>>>;
8511
9078
  }, z.core.$strict>;
8512
9079
  readonly SysinfoHardwareParams: z.ZodObject<{}, z.core.$strict>;
8513
9080
  readonly SysinfoHardwareResult: z.ZodObject<{
@@ -9636,8 +10203,8 @@ declare const NAMED_SCHEMAS: {
9636
10203
  readonly CodingHistoryImportMissingResult: z.ZodObject<{
9637
10204
  state: z.ZodEnum<{
9638
10205
  cancelled: "cancelled";
9639
- done: "done";
9640
10206
  blocked: "blocked";
10207
+ done: "done";
9641
10208
  }>;
9642
10209
  blocked: z.ZodNullable<z.ZodEnum<{
9643
10210
  signed_out: "signed_out";
@@ -11199,8 +11766,8 @@ declare const NAMED_SCHEMAS: {
11199
11766
  }, z.core.$strict>;
11200
11767
  readonly CodingReconcileResult: z.ZodObject<{
11201
11768
  state: z.ZodEnum<{
11202
- done: "done";
11203
11769
  blocked: "blocked";
11770
+ done: "done";
11204
11771
  nothing_to_do: "nothing_to_do";
11205
11772
  }>;
11206
11773
  summary: z.ZodString;
@@ -11924,7 +12491,24 @@ declare const NAMED_SCHEMAS: {
11924
12491
  revealed: z.ZodBoolean;
11925
12492
  }, z.core.$strict>;
11926
12493
  readonly SystemSettingsPane: z.ZodEnum<{
12494
+ full_disk_access: "full_disk_access";
12495
+ accessibility: "accessibility";
12496
+ screen_recording: "screen_recording";
11927
12497
  microphone: "microphone";
12498
+ camera: "camera";
12499
+ automation: "automation";
12500
+ contacts: "contacts";
12501
+ calendars: "calendars";
12502
+ photos: "photos";
12503
+ location: "location";
12504
+ local_network: "local_network";
12505
+ bluetooth: "bluetooth";
12506
+ notifications: "notifications";
12507
+ reminders: "reminders";
12508
+ speech_recognition: "speech_recognition";
12509
+ messages: "messages";
12510
+ mail: "mail";
12511
+ wifi: "wifi";
11928
12512
  displays: "displays";
11929
12513
  night_shift: "night_shift";
11930
12514
  sound: "sound";
@@ -11939,7 +12523,24 @@ declare const NAMED_SCHEMAS: {
11939
12523
  }>;
11940
12524
  readonly SystemOpenSettingsParams: z.ZodObject<{
11941
12525
  pane: z.ZodEnum<{
12526
+ full_disk_access: "full_disk_access";
12527
+ accessibility: "accessibility";
12528
+ screen_recording: "screen_recording";
11942
12529
  microphone: "microphone";
12530
+ camera: "camera";
12531
+ automation: "automation";
12532
+ contacts: "contacts";
12533
+ calendars: "calendars";
12534
+ photos: "photos";
12535
+ location: "location";
12536
+ local_network: "local_network";
12537
+ bluetooth: "bluetooth";
12538
+ notifications: "notifications";
12539
+ reminders: "reminders";
12540
+ speech_recognition: "speech_recognition";
12541
+ messages: "messages";
12542
+ mail: "mail";
12543
+ wifi: "wifi";
11943
12544
  displays: "displays";
11944
12545
  night_shift: "night_shift";
11945
12546
  sound: "sound";
@@ -11955,7 +12556,24 @@ declare const NAMED_SCHEMAS: {
11955
12556
  }, z.core.$strict>;
11956
12557
  readonly SystemOpenSettingsResult: z.ZodObject<{
11957
12558
  pane: z.ZodEnum<{
12559
+ full_disk_access: "full_disk_access";
12560
+ accessibility: "accessibility";
12561
+ screen_recording: "screen_recording";
11958
12562
  microphone: "microphone";
12563
+ camera: "camera";
12564
+ automation: "automation";
12565
+ contacts: "contacts";
12566
+ calendars: "calendars";
12567
+ photos: "photos";
12568
+ location: "location";
12569
+ local_network: "local_network";
12570
+ bluetooth: "bluetooth";
12571
+ notifications: "notifications";
12572
+ reminders: "reminders";
12573
+ speech_recognition: "speech_recognition";
12574
+ messages: "messages";
12575
+ mail: "mail";
12576
+ wifi: "wifi";
11959
12577
  displays: "displays";
11960
12578
  night_shift: "night_shift";
11961
12579
  sound: "sound";
@@ -14832,6 +15450,20 @@ declare const NAMED_SCHEMAS: {
14832
15450
  urls: z.ZodArray<z.ZodString>;
14833
15451
  use_cache: z.ZodDefault<z.ZodBoolean>;
14834
15452
  get_links: z.ZodDefault<z.ZodBoolean>;
15453
+ engine: z.ZodOptional<z.ZodEnum<{
15454
+ server: "server";
15455
+ auto: "auto";
15456
+ browser: "browser";
15457
+ }>>;
15458
+ land: z.ZodOptional<z.ZodObject<{
15459
+ organization_id: z.ZodOptional<z.ZodString>;
15460
+ keep: z.ZodDefault<z.ZodBoolean>;
15461
+ attach_to: z.ZodDefault<z.ZodArray<z.ZodObject<{
15462
+ entity_type: z.ZodString;
15463
+ entity_id: z.ZodString;
15464
+ label: z.ZodOptional<z.ZodString>;
15465
+ }, z.core.$strict>>>;
15466
+ }, z.core.$strict>>;
14835
15467
  }, z.core.$strict>;
14836
15468
  readonly WebScrapePage: z.ZodObject<{
14837
15469
  url: z.ZodString;
@@ -14843,6 +15475,36 @@ declare const NAMED_SCHEMAS: {
14843
15475
  links: z.ZodArray<z.ZodString>;
14844
15476
  error: z.ZodNullable<z.ZodString>;
14845
15477
  via: z.ZodNullable<z.ZodString>;
15478
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
15479
+ state: z.ZodLiteral<"saved">;
15480
+ processed_document_id: z.ZodString;
15481
+ source_id: z.ZodString;
15482
+ reused_existing: z.ZodBoolean;
15483
+ new_version_of: z.ZodNullable<z.ZodString>;
15484
+ kept: z.ZodBoolean;
15485
+ intelligence: z.ZodEnum<{
15486
+ never: "never";
15487
+ queued: "queued";
15488
+ deferred: "deferred";
15489
+ }>;
15490
+ original_file_id: z.ZodNullable<z.ZodString>;
15491
+ organization_id: z.ZodString;
15492
+ notices: z.ZodArray<z.ZodObject<{
15493
+ code: z.ZodString;
15494
+ message: z.ZodString;
15495
+ remedy: z.ZodString;
15496
+ }, z.core.$strict>>;
15497
+ }, z.core.$strict>, z.ZodObject<{
15498
+ state: z.ZodLiteral<"not_saved">;
15499
+ outbox_id: z.ZodString;
15500
+ reason: z.ZodEnum<{
15501
+ signed_out: "signed_out";
15502
+ queued: "queued";
15503
+ offline: "offline";
15504
+ rejected: "rejected";
15505
+ }>;
15506
+ message: z.ZodString;
15507
+ }, z.core.$strict>], "state">>;
14846
15508
  }, z.core.$strict>;
14847
15509
  readonly WebScrapeResult: z.ZodObject<{
14848
15510
  pages: z.ZodArray<z.ZodObject<{
@@ -14855,6 +15517,36 @@ declare const NAMED_SCHEMAS: {
14855
15517
  links: z.ZodArray<z.ZodString>;
14856
15518
  error: z.ZodNullable<z.ZodString>;
14857
15519
  via: z.ZodNullable<z.ZodString>;
15520
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
15521
+ state: z.ZodLiteral<"saved">;
15522
+ processed_document_id: z.ZodString;
15523
+ source_id: z.ZodString;
15524
+ reused_existing: z.ZodBoolean;
15525
+ new_version_of: z.ZodNullable<z.ZodString>;
15526
+ kept: z.ZodBoolean;
15527
+ intelligence: z.ZodEnum<{
15528
+ never: "never";
15529
+ queued: "queued";
15530
+ deferred: "deferred";
15531
+ }>;
15532
+ original_file_id: z.ZodNullable<z.ZodString>;
15533
+ organization_id: z.ZodString;
15534
+ notices: z.ZodArray<z.ZodObject<{
15535
+ code: z.ZodString;
15536
+ message: z.ZodString;
15537
+ remedy: z.ZodString;
15538
+ }, z.core.$strict>>;
15539
+ }, z.core.$strict>, z.ZodObject<{
15540
+ state: z.ZodLiteral<"not_saved">;
15541
+ outbox_id: z.ZodString;
15542
+ reason: z.ZodEnum<{
15543
+ signed_out: "signed_out";
15544
+ queued: "queued";
15545
+ offline: "offline";
15546
+ rejected: "rejected";
15547
+ }>;
15548
+ message: z.ZodString;
15549
+ }, z.core.$strict>], "state">>;
14858
15550
  }, z.core.$strict>>;
14859
15551
  elapsed_ms: z.ZodInt;
14860
15552
  }, z.core.$strict>;
@@ -14911,6 +15603,15 @@ declare const NAMED_SCHEMAS: {
14911
15603
  wait_for: z.ZodOptional<z.ZodString>;
14912
15604
  wait_timeout_ms: z.ZodDefault<z.ZodInt>;
14913
15605
  extract_text: z.ZodDefault<z.ZodBoolean>;
15606
+ land: z.ZodOptional<z.ZodObject<{
15607
+ organization_id: z.ZodOptional<z.ZodString>;
15608
+ keep: z.ZodDefault<z.ZodBoolean>;
15609
+ attach_to: z.ZodDefault<z.ZodArray<z.ZodObject<{
15610
+ entity_type: z.ZodString;
15611
+ entity_id: z.ZodString;
15612
+ label: z.ZodOptional<z.ZodString>;
15613
+ }, z.core.$strict>>>;
15614
+ }, z.core.$strict>>;
14914
15615
  }, z.core.$strict>;
14915
15616
  readonly WebBrowserFetchResult: z.ZodObject<{
14916
15617
  url: z.ZodString;
@@ -14919,6 +15620,516 @@ declare const NAMED_SCHEMAS: {
14919
15620
  content: z.ZodString;
14920
15621
  truncated: z.ZodBoolean;
14921
15622
  elapsed_ms: z.ZodInt;
15623
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
15624
+ state: z.ZodLiteral<"saved">;
15625
+ processed_document_id: z.ZodString;
15626
+ source_id: z.ZodString;
15627
+ reused_existing: z.ZodBoolean;
15628
+ new_version_of: z.ZodNullable<z.ZodString>;
15629
+ kept: z.ZodBoolean;
15630
+ intelligence: z.ZodEnum<{
15631
+ never: "never";
15632
+ queued: "queued";
15633
+ deferred: "deferred";
15634
+ }>;
15635
+ original_file_id: z.ZodNullable<z.ZodString>;
15636
+ organization_id: z.ZodString;
15637
+ notices: z.ZodArray<z.ZodObject<{
15638
+ code: z.ZodString;
15639
+ message: z.ZodString;
15640
+ remedy: z.ZodString;
15641
+ }, z.core.$strict>>;
15642
+ }, z.core.$strict>, z.ZodObject<{
15643
+ state: z.ZodLiteral<"not_saved">;
15644
+ outbox_id: z.ZodString;
15645
+ reason: z.ZodEnum<{
15646
+ signed_out: "signed_out";
15647
+ queued: "queued";
15648
+ offline: "offline";
15649
+ rejected: "rejected";
15650
+ }>;
15651
+ message: z.ZodString;
15652
+ }, z.core.$strict>], "state">>;
15653
+ }, z.core.$strict>;
15654
+ readonly WebAttachTarget: z.ZodObject<{
15655
+ entity_type: z.ZodString;
15656
+ entity_id: z.ZodString;
15657
+ label: z.ZodOptional<z.ZodString>;
15658
+ }, z.core.$strict>;
15659
+ readonly WebLand: z.ZodObject<{
15660
+ organization_id: z.ZodOptional<z.ZodString>;
15661
+ keep: z.ZodDefault<z.ZodBoolean>;
15662
+ attach_to: z.ZodDefault<z.ZodArray<z.ZodObject<{
15663
+ entity_type: z.ZodString;
15664
+ entity_id: z.ZodString;
15665
+ label: z.ZodOptional<z.ZodString>;
15666
+ }, z.core.$strict>>>;
15667
+ }, z.core.$strict>;
15668
+ readonly WebNotSavedReason: z.ZodEnum<{
15669
+ signed_out: "signed_out";
15670
+ queued: "queued";
15671
+ offline: "offline";
15672
+ rejected: "rejected";
15673
+ }>;
15674
+ readonly WebSourceNotice: z.ZodObject<{
15675
+ code: z.ZodString;
15676
+ message: z.ZodString;
15677
+ remedy: z.ZodString;
15678
+ }, z.core.$strict>;
15679
+ readonly WebSourceState: z.ZodDiscriminatedUnion<[z.ZodObject<{
15680
+ state: z.ZodLiteral<"saved">;
15681
+ processed_document_id: z.ZodString;
15682
+ source_id: z.ZodString;
15683
+ reused_existing: z.ZodBoolean;
15684
+ new_version_of: z.ZodNullable<z.ZodString>;
15685
+ kept: z.ZodBoolean;
15686
+ intelligence: z.ZodEnum<{
15687
+ never: "never";
15688
+ queued: "queued";
15689
+ deferred: "deferred";
15690
+ }>;
15691
+ original_file_id: z.ZodNullable<z.ZodString>;
15692
+ organization_id: z.ZodString;
15693
+ notices: z.ZodArray<z.ZodObject<{
15694
+ code: z.ZodString;
15695
+ message: z.ZodString;
15696
+ remedy: z.ZodString;
15697
+ }, z.core.$strict>>;
15698
+ }, z.core.$strict>, z.ZodObject<{
15699
+ state: z.ZodLiteral<"not_saved">;
15700
+ outbox_id: z.ZodString;
15701
+ reason: z.ZodEnum<{
15702
+ signed_out: "signed_out";
15703
+ queued: "queued";
15704
+ offline: "offline";
15705
+ rejected: "rejected";
15706
+ }>;
15707
+ message: z.ZodString;
15708
+ }, z.core.$strict>], "state">;
15709
+ readonly ToolsParseFile: z.ZodObject<{
15710
+ path: z.ZodString;
15711
+ bytes: z.ZodInt;
15712
+ }, z.core.$strict>;
15713
+ readonly ToolsWebScrapeParams: z.ZodObject<{
15714
+ urls: z.ZodArray<z.ZodString>;
15715
+ use_cache: z.ZodDefault<z.ZodBoolean>;
15716
+ get_links: z.ZodDefault<z.ZodBoolean>;
15717
+ engine: z.ZodDefault<z.ZodEnum<{
15718
+ auto: "auto";
15719
+ browser: "browser";
15720
+ }>>;
15721
+ concurrency: z.ZodDefault<z.ZodInt>;
15722
+ delay_ms: z.ZodDefault<z.ZodInt>;
15723
+ spool_dir: z.ZodString;
15724
+ }, z.core.$strict>;
15725
+ readonly ToolsWebScrapePage: z.ZodObject<{
15726
+ page: z.ZodObject<{
15727
+ url: z.ZodString;
15728
+ ok: z.ZodBoolean;
15729
+ status: z.ZodNullable<z.ZodInt>;
15730
+ title: z.ZodNullable<z.ZodString>;
15731
+ text: z.ZodString;
15732
+ truncated: z.ZodBoolean;
15733
+ links: z.ZodArray<z.ZodString>;
15734
+ error: z.ZodNullable<z.ZodString>;
15735
+ via: z.ZodNullable<z.ZodString>;
15736
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
15737
+ state: z.ZodLiteral<"saved">;
15738
+ processed_document_id: z.ZodString;
15739
+ source_id: z.ZodString;
15740
+ reused_existing: z.ZodBoolean;
15741
+ new_version_of: z.ZodNullable<z.ZodString>;
15742
+ kept: z.ZodBoolean;
15743
+ intelligence: z.ZodEnum<{
15744
+ never: "never";
15745
+ queued: "queued";
15746
+ deferred: "deferred";
15747
+ }>;
15748
+ original_file_id: z.ZodNullable<z.ZodString>;
15749
+ organization_id: z.ZodString;
15750
+ notices: z.ZodArray<z.ZodObject<{
15751
+ code: z.ZodString;
15752
+ message: z.ZodString;
15753
+ remedy: z.ZodString;
15754
+ }, z.core.$strict>>;
15755
+ }, z.core.$strict>, z.ZodObject<{
15756
+ state: z.ZodLiteral<"not_saved">;
15757
+ outbox_id: z.ZodString;
15758
+ reason: z.ZodEnum<{
15759
+ signed_out: "signed_out";
15760
+ queued: "queued";
15761
+ offline: "offline";
15762
+ rejected: "rejected";
15763
+ }>;
15764
+ message: z.ZodString;
15765
+ }, z.core.$strict>], "state">>;
15766
+ }, z.core.$strict>;
15767
+ parse: z.ZodNullable<z.ZodObject<{
15768
+ path: z.ZodString;
15769
+ bytes: z.ZodInt;
15770
+ }, z.core.$strict>>;
15771
+ html: z.ZodNullable<z.ZodObject<{
15772
+ path: z.ZodString;
15773
+ bytes: z.ZodInt;
15774
+ }, z.core.$strict>>;
15775
+ }, z.core.$strict>;
15776
+ readonly ToolsWebScrapeResult: z.ZodObject<{
15777
+ pages: z.ZodArray<z.ZodObject<{
15778
+ page: z.ZodObject<{
15779
+ url: z.ZodString;
15780
+ ok: z.ZodBoolean;
15781
+ status: z.ZodNullable<z.ZodInt>;
15782
+ title: z.ZodNullable<z.ZodString>;
15783
+ text: z.ZodString;
15784
+ truncated: z.ZodBoolean;
15785
+ links: z.ZodArray<z.ZodString>;
15786
+ error: z.ZodNullable<z.ZodString>;
15787
+ via: z.ZodNullable<z.ZodString>;
15788
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
15789
+ state: z.ZodLiteral<"saved">;
15790
+ processed_document_id: z.ZodString;
15791
+ source_id: z.ZodString;
15792
+ reused_existing: z.ZodBoolean;
15793
+ new_version_of: z.ZodNullable<z.ZodString>;
15794
+ kept: z.ZodBoolean;
15795
+ intelligence: z.ZodEnum<{
15796
+ never: "never";
15797
+ queued: "queued";
15798
+ deferred: "deferred";
15799
+ }>;
15800
+ original_file_id: z.ZodNullable<z.ZodString>;
15801
+ organization_id: z.ZodString;
15802
+ notices: z.ZodArray<z.ZodObject<{
15803
+ code: z.ZodString;
15804
+ message: z.ZodString;
15805
+ remedy: z.ZodString;
15806
+ }, z.core.$strict>>;
15807
+ }, z.core.$strict>, z.ZodObject<{
15808
+ state: z.ZodLiteral<"not_saved">;
15809
+ outbox_id: z.ZodString;
15810
+ reason: z.ZodEnum<{
15811
+ signed_out: "signed_out";
15812
+ queued: "queued";
15813
+ offline: "offline";
15814
+ rejected: "rejected";
15815
+ }>;
15816
+ message: z.ZodString;
15817
+ }, z.core.$strict>], "state">>;
15818
+ }, z.core.$strict>;
15819
+ parse: z.ZodNullable<z.ZodObject<{
15820
+ path: z.ZodString;
15821
+ bytes: z.ZodInt;
15822
+ }, z.core.$strict>>;
15823
+ html: z.ZodNullable<z.ZodObject<{
15824
+ path: z.ZodString;
15825
+ bytes: z.ZodInt;
15826
+ }, z.core.$strict>>;
15827
+ }, z.core.$strict>>;
15828
+ elapsed_ms: z.ZodInt;
15829
+ }, z.core.$strict>;
15830
+ readonly ToolsWebBrowserFetchParams: z.ZodObject<{
15831
+ url: z.ZodString;
15832
+ wait_for: z.ZodOptional<z.ZodString>;
15833
+ wait_timeout_ms: z.ZodDefault<z.ZodInt>;
15834
+ extract_text: z.ZodDefault<z.ZodBoolean>;
15835
+ spool_dir: z.ZodString;
15836
+ }, z.core.$strict>;
15837
+ readonly ToolsWebBrowserFetchResult: z.ZodObject<{
15838
+ result: z.ZodObject<{
15839
+ url: z.ZodString;
15840
+ status: z.ZodNullable<z.ZodInt>;
15841
+ title: z.ZodNullable<z.ZodString>;
15842
+ content: z.ZodString;
15843
+ truncated: z.ZodBoolean;
15844
+ elapsed_ms: z.ZodInt;
15845
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
15846
+ state: z.ZodLiteral<"saved">;
15847
+ processed_document_id: z.ZodString;
15848
+ source_id: z.ZodString;
15849
+ reused_existing: z.ZodBoolean;
15850
+ new_version_of: z.ZodNullable<z.ZodString>;
15851
+ kept: z.ZodBoolean;
15852
+ intelligence: z.ZodEnum<{
15853
+ never: "never";
15854
+ queued: "queued";
15855
+ deferred: "deferred";
15856
+ }>;
15857
+ original_file_id: z.ZodNullable<z.ZodString>;
15858
+ organization_id: z.ZodString;
15859
+ notices: z.ZodArray<z.ZodObject<{
15860
+ code: z.ZodString;
15861
+ message: z.ZodString;
15862
+ remedy: z.ZodString;
15863
+ }, z.core.$strict>>;
15864
+ }, z.core.$strict>, z.ZodObject<{
15865
+ state: z.ZodLiteral<"not_saved">;
15866
+ outbox_id: z.ZodString;
15867
+ reason: z.ZodEnum<{
15868
+ signed_out: "signed_out";
15869
+ queued: "queued";
15870
+ offline: "offline";
15871
+ rejected: "rejected";
15872
+ }>;
15873
+ message: z.ZodString;
15874
+ }, z.core.$strict>], "state">>;
15875
+ }, z.core.$strict>;
15876
+ parse: z.ZodNullable<z.ZodObject<{
15877
+ path: z.ZodString;
15878
+ bytes: z.ZodInt;
15879
+ }, z.core.$strict>>;
15880
+ }, z.core.$strict>;
15881
+ readonly WebRuntimeStateName: z.ZodEnum<{
15882
+ not_installed: "not_installed";
15883
+ installing: "installing";
15884
+ installed: "installed";
15885
+ failed: "failed";
15886
+ }>;
15887
+ readonly WebRuntimeParams: z.ZodObject<{}, z.core.$strict>;
15888
+ readonly WebRuntimeState: z.ZodObject<{
15889
+ state: z.ZodEnum<{
15890
+ not_installed: "not_installed";
15891
+ installing: "installing";
15892
+ installed: "installed";
15893
+ failed: "failed";
15894
+ }>;
15895
+ error: z.ZodNullable<z.ZodString>;
15896
+ size_bytes: z.ZodNullable<z.ZodInt>;
15897
+ can_show_window: z.ZodBoolean;
15898
+ }, z.core.$strict>;
15899
+ readonly WebOutboxItem: z.ZodObject<{
15900
+ outbox_id: z.ZodString;
15901
+ url: z.ZodString;
15902
+ title: z.ZodNullable<z.ZodString>;
15903
+ organization_id: z.ZodNullable<z.ZodString>;
15904
+ reason: z.ZodEnum<{
15905
+ signed_out: "signed_out";
15906
+ queued: "queued";
15907
+ offline: "offline";
15908
+ rejected: "rejected";
15909
+ }>;
15910
+ message: z.ZodString;
15911
+ attempts: z.ZodInt;
15912
+ created_at_ms: z.ZodInt;
15913
+ last_attempt_at_ms: z.ZodNullable<z.ZodInt>;
15914
+ bytes: z.ZodInt;
15915
+ }, z.core.$strict>;
15916
+ readonly WebOutboxListParams: z.ZodObject<{}, z.core.$strict>;
15917
+ readonly WebOutboxListResult: z.ZodObject<{
15918
+ items: z.ZodArray<z.ZodObject<{
15919
+ outbox_id: z.ZodString;
15920
+ url: z.ZodString;
15921
+ title: z.ZodNullable<z.ZodString>;
15922
+ organization_id: z.ZodNullable<z.ZodString>;
15923
+ reason: z.ZodEnum<{
15924
+ signed_out: "signed_out";
15925
+ queued: "queued";
15926
+ offline: "offline";
15927
+ rejected: "rejected";
15928
+ }>;
15929
+ message: z.ZodString;
15930
+ attempts: z.ZodInt;
15931
+ created_at_ms: z.ZodInt;
15932
+ last_attempt_at_ms: z.ZodNullable<z.ZodInt>;
15933
+ bytes: z.ZodInt;
15934
+ }, z.core.$strict>>;
15935
+ bytes: z.ZodInt;
15936
+ cap_bytes: z.ZodInt;
15937
+ }, z.core.$strict>;
15938
+ readonly WebOutboxRetryParams: z.ZodObject<{
15939
+ outbox_id: z.ZodOptional<z.ZodString>;
15940
+ }, z.core.$strict>;
15941
+ readonly WebOutboxRetryResult: z.ZodObject<{
15942
+ saved: z.ZodInt;
15943
+ waiting: z.ZodInt;
15944
+ }, z.core.$strict>;
15945
+ readonly WebOutboxDiscardParams: z.ZodObject<{
15946
+ outbox_id: z.ZodString;
15947
+ }, z.core.$strict>;
15948
+ readonly WebOutboxDiscardResult: z.ZodObject<{
15949
+ discarded: z.ZodBoolean;
15950
+ }, z.core.$strict>;
15951
+ readonly WebLogVia: z.ZodEnum<{
15952
+ server: "server";
15953
+ browser: "browser";
15954
+ this_computer: "this_computer";
15955
+ }>;
15956
+ readonly WebLogCaller: z.ZodEnum<{
15957
+ agent: "agent";
15958
+ other: "other";
15959
+ person: "person";
15960
+ research: "research";
15961
+ phone: "phone";
15962
+ }>;
15963
+ readonly WebLogResult: z.ZodEnum<{
15964
+ failed: "failed";
15965
+ saved: "saved";
15966
+ not_saved: "not_saved";
15967
+ blocked: "blocked";
15968
+ read: "read";
15969
+ }>;
15970
+ readonly WebLogEntry: z.ZodObject<{
15971
+ id: z.ZodString;
15972
+ at_ms: z.ZodInt;
15973
+ caller: z.ZodEnum<{
15974
+ agent: "agent";
15975
+ other: "other";
15976
+ person: "person";
15977
+ research: "research";
15978
+ phone: "phone";
15979
+ }>;
15980
+ url: z.ZodString;
15981
+ title: z.ZodNullable<z.ZodString>;
15982
+ result: z.ZodEnum<{
15983
+ failed: "failed";
15984
+ saved: "saved";
15985
+ not_saved: "not_saved";
15986
+ blocked: "blocked";
15987
+ read: "read";
15988
+ }>;
15989
+ detail: z.ZodNullable<z.ZodString>;
15990
+ via: z.ZodEnum<{
15991
+ server: "server";
15992
+ browser: "browser";
15993
+ this_computer: "this_computer";
15994
+ }>;
15995
+ duration_ms: z.ZodInt;
15996
+ processed_document_id: z.ZodNullable<z.ZodString>;
15997
+ }, z.core.$strict>;
15998
+ readonly WebLogListParams: z.ZodObject<{
15999
+ since_ms: z.ZodOptional<z.ZodInt>;
16000
+ limit: z.ZodDefault<z.ZodInt>;
16001
+ }, z.core.$strict>;
16002
+ readonly WebLogListResult: z.ZodObject<{
16003
+ entries: z.ZodArray<z.ZodObject<{
16004
+ id: z.ZodString;
16005
+ at_ms: z.ZodInt;
16006
+ caller: z.ZodEnum<{
16007
+ agent: "agent";
16008
+ other: "other";
16009
+ person: "person";
16010
+ research: "research";
16011
+ phone: "phone";
16012
+ }>;
16013
+ url: z.ZodString;
16014
+ title: z.ZodNullable<z.ZodString>;
16015
+ result: z.ZodEnum<{
16016
+ failed: "failed";
16017
+ saved: "saved";
16018
+ not_saved: "not_saved";
16019
+ blocked: "blocked";
16020
+ read: "read";
16021
+ }>;
16022
+ detail: z.ZodNullable<z.ZodString>;
16023
+ via: z.ZodEnum<{
16024
+ server: "server";
16025
+ browser: "browser";
16026
+ this_computer: "this_computer";
16027
+ }>;
16028
+ duration_ms: z.ZodInt;
16029
+ processed_document_id: z.ZodNullable<z.ZodString>;
16030
+ }, z.core.$strict>>;
16031
+ }, z.core.$strict>;
16032
+ readonly WebLogClearParams: z.ZodObject<{}, z.core.$strict>;
16033
+ readonly WebLogClearResult: z.ZodObject<{
16034
+ cleared: z.ZodInt;
16035
+ }, z.core.$strict>;
16036
+ readonly WebProgressEvent: z.ZodObject<{
16037
+ request_id: z.ZodString;
16038
+ phase: z.ZodEnum<{
16039
+ installing: "installing";
16040
+ fetching: "fetching";
16041
+ saving: "saving";
16042
+ }>;
16043
+ done: z.ZodInt;
16044
+ total: z.ZodInt;
16045
+ }, z.core.$strict>;
16046
+ readonly WebResearchItemState: z.ZodEnum<{
16047
+ failed: "failed";
16048
+ waiting: "waiting";
16049
+ saved: "saved";
16050
+ blocked: "blocked";
16051
+ fetching: "fetching";
16052
+ thin: "thin";
16053
+ cannot_edit: "cannot_edit";
16054
+ }>;
16055
+ readonly WebResearchItem: z.ZodObject<{
16056
+ topic_id: z.ZodString;
16057
+ topic_name: z.ZodString;
16058
+ source_id: z.ZodString;
16059
+ url: z.ZodString;
16060
+ title: z.ZodNullable<z.ZodString>;
16061
+ level: z.ZodInt;
16062
+ last_failure: z.ZodNullable<z.ZodString>;
16063
+ state: z.ZodEnum<{
16064
+ failed: "failed";
16065
+ waiting: "waiting";
16066
+ saved: "saved";
16067
+ blocked: "blocked";
16068
+ fetching: "fetching";
16069
+ thin: "thin";
16070
+ cannot_edit: "cannot_edit";
16071
+ }>;
16072
+ message: z.ZodNullable<z.ZodString>;
16073
+ }, z.core.$strict>;
16074
+ readonly WebResearchQueueParams: z.ZodObject<{
16075
+ topic_id: z.ZodOptional<z.ZodString>;
16076
+ }, z.core.$strict>;
16077
+ readonly WebResearchQueueResult: z.ZodObject<{
16078
+ state: z.ZodEnum<{
16079
+ ready: "ready";
16080
+ signed_out: "signed_out";
16081
+ unavailable: "unavailable";
16082
+ }>;
16083
+ problem: z.ZodNullable<z.ZodString>;
16084
+ items: z.ZodArray<z.ZodObject<{
16085
+ topic_id: z.ZodString;
16086
+ topic_name: z.ZodString;
16087
+ source_id: z.ZodString;
16088
+ url: z.ZodString;
16089
+ title: z.ZodNullable<z.ZodString>;
16090
+ level: z.ZodInt;
16091
+ last_failure: z.ZodNullable<z.ZodString>;
16092
+ state: z.ZodEnum<{
16093
+ failed: "failed";
16094
+ waiting: "waiting";
16095
+ saved: "saved";
16096
+ blocked: "blocked";
16097
+ fetching: "fetching";
16098
+ thin: "thin";
16099
+ cannot_edit: "cannot_edit";
16100
+ }>;
16101
+ message: z.ZodNullable<z.ZodString>;
16102
+ }, z.core.$strict>>;
16103
+ view_only: z.ZodInt;
16104
+ }, z.core.$strict>;
16105
+ readonly WebResearchFetchParams: z.ZodObject<{
16106
+ topic_id: z.ZodOptional<z.ZodString>;
16107
+ source_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
16108
+ }, z.core.$strict>;
16109
+ readonly WebResearchFetchResult: z.ZodObject<{
16110
+ items: z.ZodArray<z.ZodObject<{
16111
+ topic_id: z.ZodString;
16112
+ topic_name: z.ZodString;
16113
+ source_id: z.ZodString;
16114
+ url: z.ZodString;
16115
+ title: z.ZodNullable<z.ZodString>;
16116
+ level: z.ZodInt;
16117
+ last_failure: z.ZodNullable<z.ZodString>;
16118
+ state: z.ZodEnum<{
16119
+ failed: "failed";
16120
+ waiting: "waiting";
16121
+ saved: "saved";
16122
+ blocked: "blocked";
16123
+ fetching: "fetching";
16124
+ thin: "thin";
16125
+ cannot_edit: "cannot_edit";
16126
+ }>;
16127
+ message: z.ZodNullable<z.ZodString>;
16128
+ }, z.core.$strict>>;
16129
+ saved: z.ZodInt;
16130
+ thin: z.ZodInt;
16131
+ failed: z.ZodInt;
16132
+ cannot_edit: z.ZodInt;
14922
16133
  }, z.core.$strict>;
14923
16134
  readonly ToolsServiceProgress: z.ZodObject<{
14924
16135
  phase: z.ZodEnum<{