@ai-matrx/desktop-protocol 0.21.28 → 0.21.29

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.
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { O as OpName } from './models-NgxBS190.cjs';
3
- export { B as BEARER_PREFIX, g as CLOSE_RULES, h as CancelMsg, j as ClientToCoreMsg, e as ClientType, k as CloseAction, l as CloseCode, m as CloseCodeValue, C as CloseOutcome, n as CloseRule, o as CoreToClientMsg, p as CreditMsg, D as DesktopProtocolError, d as EVENTS, q as EndMsg, E as EndReason, r as ErrorCode, s as ErrorCodeName, t as ErrorData, u as ErrorMsg, v as ErrorReason, w as ErrorReasonName, x as EventMsg, y as EventName, F as FsPatchEditFailure, H as HelloMsg, L as Limits, z as LlmRunning, A as LlmServerState, G as MlInstallPhase, I as MlInstallProgress, f as MlProgress, J as MlRuntimeState, K as MlServiceState, N as MlServiceStatus, P as MlStatusParams, Q as MlStatusResult, R as ModelsInstallParams, U as ModelsInstallResult, V as ModelsLlmInstallParams, X as ModelsLlmInstallResult, Y as ModelsLlmStartParams, Z as ModelsLlmStartResult, _ as ModelsLlmStatusParams, $ as ModelsLlmStatusResult, a0 as ModelsLlmStopParams, a1 as ModelsLlmStopResult, a2 as ModelsProgressEvent, a3 as ModelsStatusParams, a4 as ModelsStatusResult, a5 as ModelsTranscribeParams, M as ModelsTranscribeResult, a6 as NAMED_SCHEMAS, a7 as NamedSchemaId, c as OPS, a8 as OpDescriptor, a as OpParams, b as OpResult, a9 as OpSpec, aa as PING_TEXT, ab as PONG_TEXT, ac as ProtocolErrorBody, ad as RelayMsg, ae as RequestMsg, af as ResponseMsg, ag as SERVICES, ah as SUBPROTOCOL, ai as ServiceId, aj as ServiceOpName, ak as ServiceOpSpec, al as ServiceSpec, S as StreamMeta, am as StreamMsg, an as TextModelId, ao as TextModelInfo, ap as TranscriptSegment, T as TranscriptionModelId, aq as TranscriptionModelInfo, W as Welcome, ar as closeRule, i as isDesktopProtocolError, as as isTerminalClose } from './models-NgxBS190.cjs';
2
+ import { O as OpName } from './models-BpzT2hqF.cjs';
3
+ export { B as BEARER_PREFIX, g as CLOSE_RULES, h as CancelMsg, j as ClientToCoreMsg, e as ClientType, k as CloseAction, l as CloseCode, m as CloseCodeValue, C as CloseOutcome, n as CloseRule, o as CoreToClientMsg, p as CreditMsg, D as DesktopProtocolError, d as EVENTS, q as EndMsg, E as EndReason, r as ErrorCode, s as ErrorCodeName, t as ErrorData, u as ErrorMsg, v as ErrorReason, w as ErrorReasonName, x as EventMsg, y as EventName, F as FsPatchEditFailure, H as HelloMsg, L as Limits, z as LlmRunning, A as LlmServerState, G as MlInstallPhase, I as MlInstallProgress, f as MlProgress, J as MlRuntimeState, K as MlServiceState, N as MlServiceStatus, P as MlStatusParams, Q as MlStatusResult, R as ModelsInstallParams, U as ModelsInstallResult, V as ModelsLlmInstallParams, X as ModelsLlmInstallResult, Y as ModelsLlmStartParams, Z as ModelsLlmStartResult, _ as ModelsLlmStatusParams, $ as ModelsLlmStatusResult, a0 as ModelsLlmStopParams, a1 as ModelsLlmStopResult, a2 as ModelsProgressEvent, a3 as ModelsStatusParams, a4 as ModelsStatusResult, a5 as ModelsTranscribeParams, M as ModelsTranscribeResult, a6 as NAMED_SCHEMAS, a7 as NamedSchemaId, c as OPS, a8 as OpDescriptor, a as OpParams, b as OpResult, a9 as OpSpec, aa as PING_TEXT, ab as PONG_TEXT, ac as ProtocolErrorBody, ad as RelayMsg, ae as RequestMsg, af as ResponseMsg, ag as SERVICES, ah as SUBPROTOCOL, ai as ServiceId, aj as ServiceOpName, ak as ServiceOpSpec, al as ServiceSpec, S as StreamMeta, am as StreamMsg, an as TextModelId, ao as TextModelInfo, ap as TranscriptSegment, T as TranscriptionModelId, aq as TranscriptionModelInfo, W as Welcome, ar as closeRule, i as isDesktopProtocolError, as as isTerminalClose } from './models-BpzT2hqF.cjs';
4
4
  export { BROADCAST_CID, DecodedFrame, FRAME_HEADER_BYTES, FRAME_STRUCT_FORMAT, FRAME_VERSION, FrameChannel, FrameChannelValue, FrameFlag, assertFrameHeader, connectionEndFrame, decodeFrame, encodeFrame, hasFlag, isConnectionEnd, readCid, stampCid } from './frame.cjs';
5
5
 
6
6
  /** @ai-matrx/desktop-protocol — version and primitive schemas. Schema source: lint-enforced rules in scripts/check-schema-source.mjs. */
@@ -65,10 +65,27 @@ declare const PROTOCOL_MAJOR: 1;
65
65
  * closed, else queued for its next close (result `pin`: when, pinned, already, queued).
66
66
  * 1.33 — apps.chats.titles_check `stale_windows`: windows that keep writing replaced chat names
67
67
  * back from memory (rewritten each pass; reloading the window stops it).
68
+ * 1.34 — error reason `tool_disabled_on_device` (AUTH_FORBIDDEN): the person turned the tool
69
+ * that sends this op off for agents on this computer (the per-device tool policy,
70
+ * src/tools/policy.ts). An older peer gets the code and message without the reason.
71
+ * 1.35 — system.open_settings pane `microphone` (Privacy & Security › Microphone; Windows'
72
+ * microphone privacy page): the one place the person allows the microphone. A 1.34 core
73
+ * refuses the pane as INVALID_PARAMS, so a client asks only a 1.35 core for it.
74
+ * 1.36 — apps.projects.to_window `chat_ids` (a batch: exactly these chats of the project, no
75
+ * other) and `take_off_from` (take them off that one side window only, never main). A
76
+ * 1.35 core refuses them as INVALID_PARAMS, so a client sends them only to a 1.36 core.
77
+ * 1.37 — Matrx Local's remaining sidecar tools, served by the core: net.* (interfaces, Wi-Fi,
78
+ * Bluetooth, local devices, mDNS, port scan, download), automation.script, mail.*,
79
+ * messages.* (chats, list, send), contacts.*, calendar.*, reminders.*, photos.*, location.get, windows.*
80
+ * (registry, services, event log, features), schedule.* (an op on an interval),
81
+ * notes.* (Documents/Matrx/Notes), documents.* (PDF text, OCR, image resize, Office files)
82
+ * and entities.* (names, private data); browser.tool_metrics, browser.reset_counters and
83
+ * browser.log (the bridge's diagnostics for every one of the owner's clients). A 1.36 core
84
+ * answers UNKNOWN_OPERATION.
68
85
  */
69
- declare const PROTOCOL_MINOR: 33;
86
+ declare const PROTOCOL_MINOR: 37;
70
87
  /** This package's version as the wire spells it ("major.minor"): hello, welcome, relay status. */
71
- declare const PROTOCOL_VERSION: "1.33";
88
+ declare const PROTOCOL_VERSION: "1.37";
72
89
  /** Internal building blocks — deliberately unnamed in $defs (inlined wherever used). */
73
90
  declare const u32: z.ZodInt;
74
91
  declare const nonNegInt: z.ZodInt;
@@ -1149,6 +1166,7 @@ declare const RelayCallResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
1149
1166
  browser_account_mismatch: "browser_account_mismatch";
1150
1167
  browser_connection_off: "browser_connection_off";
1151
1168
  awaiting_confirmation: "awaiting_confirmation";
1169
+ tool_disabled_on_device: "tool_disabled_on_device";
1152
1170
  }>>;
1153
1171
  cap: z.ZodOptional<z.ZodString>;
1154
1172
  op: z.ZodOptional<z.ZodString>;
@@ -2957,6 +2975,8 @@ declare const AppsProjectsToWindowParams: z.ZodObject<{
2957
2975
  take_off: z.ZodDefault<z.ZodBoolean>;
2958
2976
  group: z.ZodDefault<z.ZodBoolean>;
2959
2977
  pin: z.ZodOptional<z.ZodBoolean>;
2978
+ chat_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
2979
+ take_off_from: z.ZodOptional<z.ZodString>;
2960
2980
  dry_run: z.ZodDefault<z.ZodBoolean>;
2961
2981
  }, z.core.$strict>;
2962
2982
  type AppsProjectsToWindowParams = z.output<typeof AppsProjectsToWindowParams>;
@@ -3192,6 +3212,7 @@ declare const ServiceErrorMsg: z.ZodObject<{
3192
3212
  browser_account_mismatch: "browser_account_mismatch";
3193
3213
  browser_connection_off: "browser_connection_off";
3194
3214
  awaiting_confirmation: "awaiting_confirmation";
3215
+ tool_disabled_on_device: "tool_disabled_on_device";
3195
3216
  }>>;
3196
3217
  cap: z.ZodOptional<z.ZodString>;
3197
3218
  op: z.ZodOptional<z.ZodString>;
@@ -3332,6 +3353,7 @@ declare const ServiceToCoreMsg: z.ZodDiscriminatedUnion<[z.ZodObject<{
3332
3353
  browser_account_mismatch: "browser_account_mismatch";
3333
3354
  browser_connection_off: "browser_connection_off";
3334
3355
  awaiting_confirmation: "awaiting_confirmation";
3356
+ tool_disabled_on_device: "tool_disabled_on_device";
3335
3357
  }>>;
3336
3358
  cap: z.ZodOptional<z.ZodString>;
3337
3359
  op: z.ZodOptional<z.ZodString>;
@@ -3911,6 +3933,7 @@ type ToolsServiceProgress = z.output<typeof ToolsServiceProgress>;
3911
3933
 
3912
3934
  /** (1.24) An OS settings page Matrx 2 can open: the person's own place to change what Matrx 2 only shows. */
3913
3935
  declare const SystemSettingsPane: z.ZodEnum<{
3936
+ microphone: "microphone";
3914
3937
  displays: "displays";
3915
3938
  night_shift: "night_shift";
3916
3939
  sound: "sound";
@@ -3926,6 +3949,7 @@ declare const SystemSettingsPane: z.ZodEnum<{
3926
3949
  type SystemSettingsPane = z.output<typeof SystemSettingsPane>;
3927
3950
  declare const SystemOpenSettingsParams: z.ZodObject<{
3928
3951
  pane: z.ZodEnum<{
3952
+ microphone: "microphone";
3929
3953
  displays: "displays";
3930
3954
  night_shift: "night_shift";
3931
3955
  sound: "sound";
@@ -3942,6 +3966,7 @@ declare const SystemOpenSettingsParams: z.ZodObject<{
3942
3966
  type SystemOpenSettingsParams = z.output<typeof SystemOpenSettingsParams>;
3943
3967
  declare const SystemOpenSettingsResult: z.ZodObject<{
3944
3968
  pane: z.ZodEnum<{
3969
+ microphone: "microphone";
3945
3970
  displays: "displays";
3946
3971
  night_shift: "night_shift";
3947
3972
  sound: "sound";
@@ -5579,6 +5604,16 @@ declare const BrowserPairCodeResult: z.ZodObject<{
5579
5604
  code: z.ZodString;
5580
5605
  }, z.core.$strict>;
5581
5606
  declare const BrowserPairResetParams: z.ZodObject<{}, z.core.$strict>;
5607
+ declare const BrowserToolMetricsParams: z.ZodObject<{
5608
+ client_instance: z.ZodString;
5609
+ }, z.core.$strict>;
5610
+ declare const BrowserResetCountersParams: z.ZodObject<{
5611
+ client_instance: z.ZodString;
5612
+ }, z.core.$strict>;
5613
+ /** `reset` false: that browser is not connected (its numbers by tool were cleared all the same). */
5614
+ declare const BrowserResetCountersResult: z.ZodObject<{
5615
+ reset: z.ZodBoolean;
5616
+ }, z.core.$strict>;
5582
5617
  /** Core → the app's screens: the session list changed (re-read browser.sessions). */
5583
5618
  declare const BrowserSessionsChangedEvent: z.ZodObject<{
5584
5619
  count: z.ZodInt;
@@ -5783,6 +5818,83 @@ declare const DesktopHealth: z.ZodObject<{
5783
5818
  }>;
5784
5819
  }, z.core.$strict>;
5785
5820
  type DesktopHealth = z.output<typeof DesktopHealth>;
5821
+ declare const BrowserToolMetric: z.ZodObject<{
5822
+ tool: z.ZodString;
5823
+ calls: z.ZodInt;
5824
+ errors: z.ZodInt;
5825
+ p50_ms: z.ZodNullable<z.ZodInt>;
5826
+ p95_ms: z.ZodNullable<z.ZodInt>;
5827
+ last_call_at_ms: z.ZodNullable<z.ZodInt>;
5828
+ last_error: z.ZodNullable<z.ZodString>;
5829
+ }, z.core.$strict>;
5830
+ type BrowserToolMetric = z.output<typeof BrowserToolMetric>;
5831
+ declare const BrowserToolMetricsResult: z.ZodObject<{
5832
+ client_instance: z.ZodString;
5833
+ tools: z.ZodArray<z.ZodObject<{
5834
+ tool: z.ZodString;
5835
+ calls: z.ZodInt;
5836
+ errors: z.ZodInt;
5837
+ p50_ms: z.ZodNullable<z.ZodInt>;
5838
+ p95_ms: z.ZodNullable<z.ZodInt>;
5839
+ last_call_at_ms: z.ZodNullable<z.ZodInt>;
5840
+ last_error: z.ZodNullable<z.ZodString>;
5841
+ }, z.core.$strict>>;
5842
+ }, z.core.$strict>;
5843
+ type BrowserToolMetricsResult = z.output<typeof BrowserToolMetricsResult>;
5844
+ declare const BrowserLogMessage: z.ZodObject<{
5845
+ seq: z.ZodInt;
5846
+ at_ms: z.ZodInt;
5847
+ direction: z.ZodEnum<{
5848
+ core: "core";
5849
+ to_browser: "to_browser";
5850
+ from_browser: "from_browser";
5851
+ }>;
5852
+ client_instance: z.ZodString;
5853
+ kind: z.ZodEnum<{
5854
+ result: "result";
5855
+ timeout: "timeout";
5856
+ progress: "progress";
5857
+ closed: "closed";
5858
+ register: "register";
5859
+ invoke: "invoke";
5860
+ }>;
5861
+ tool: z.ZodNullable<z.ZodString>;
5862
+ call_id: z.ZodNullable<z.ZodString>;
5863
+ ok: z.ZodNullable<z.ZodBoolean>;
5864
+ detail: z.ZodString;
5865
+ }, z.core.$strict>;
5866
+ type BrowserLogMessage = z.output<typeof BrowserLogMessage>;
5867
+ declare const BrowserLogParams: z.ZodObject<{
5868
+ after_seq: z.ZodDefault<z.ZodInt>;
5869
+ limit: z.ZodDefault<z.ZodInt>;
5870
+ }, z.core.$strict>;
5871
+ type BrowserLogParams = z.output<typeof BrowserLogParams>;
5872
+ declare const BrowserLogResult: z.ZodObject<{
5873
+ messages: z.ZodArray<z.ZodObject<{
5874
+ seq: z.ZodInt;
5875
+ at_ms: z.ZodInt;
5876
+ direction: z.ZodEnum<{
5877
+ core: "core";
5878
+ to_browser: "to_browser";
5879
+ from_browser: "from_browser";
5880
+ }>;
5881
+ client_instance: z.ZodString;
5882
+ kind: z.ZodEnum<{
5883
+ result: "result";
5884
+ timeout: "timeout";
5885
+ progress: "progress";
5886
+ closed: "closed";
5887
+ register: "register";
5888
+ invoke: "invoke";
5889
+ }>;
5890
+ tool: z.ZodNullable<z.ZodString>;
5891
+ call_id: z.ZodNullable<z.ZodString>;
5892
+ ok: z.ZodNullable<z.ZodBoolean>;
5893
+ detail: z.ZodString;
5894
+ }, z.core.$strict>>;
5895
+ last_seq: z.ZodInt;
5896
+ }, z.core.$strict>;
5897
+ type BrowserLogResult = z.output<typeof BrowserLogResult>;
5786
5898
  /** `POST /v1/pair` answer: the token rides `bearer.<pair_token>` on /v1/connect. */
5787
5899
  declare const BrowserPairResult: z.ZodObject<{
5788
5900
  pair_token: z.ZodString;
@@ -5790,6 +5902,1167 @@ declare const BrowserPairResult: z.ZodObject<{
5790
5902
  }, z.core.$strict>;
5791
5903
  type BrowserPairResult = z.output<typeof BrowserPairResult>;
5792
5904
 
5905
+ /**
5906
+ * @ai-matrx/desktop-protocol — cap net (SPEC §6, §10 desktop_net): the computer's own network as it
5907
+ * sees it (interfaces, Wi-Fi, Bluetooth, the devices on the local network, Bonjour services, open
5908
+ * ports on a host) and downloads onto the computer. Matrx Local's local_net and local_web.download.
5909
+ * Served by the core's `net` owner. Schema source: lint-enforced rules in
5910
+ * scripts/check-schema-source.mjs. Added in protocol 1.37.
5911
+ */
5912
+
5913
+ declare const NetInfoParams: z.ZodObject<{}, z.core.$strict>;
5914
+ type NetInfoParams = z.output<typeof NetInfoParams>;
5915
+ declare const NetAddress: z.ZodObject<{
5916
+ address: z.ZodString;
5917
+ family: z.ZodEnum<{
5918
+ ipv4: "ipv4";
5919
+ ipv6: "ipv6";
5920
+ }>;
5921
+ netmask: z.ZodNullable<z.ZodString>;
5922
+ cidr: z.ZodNullable<z.ZodString>;
5923
+ }, z.core.$strict>;
5924
+ type NetAddress = z.output<typeof NetAddress>;
5925
+ declare const NetInterface: z.ZodObject<{
5926
+ name: z.ZodString;
5927
+ mac: z.ZodNullable<z.ZodString>;
5928
+ internal: z.ZodBoolean;
5929
+ addresses: z.ZodArray<z.ZodObject<{
5930
+ address: z.ZodString;
5931
+ family: z.ZodEnum<{
5932
+ ipv4: "ipv4";
5933
+ ipv6: "ipv6";
5934
+ }>;
5935
+ netmask: z.ZodNullable<z.ZodString>;
5936
+ cidr: z.ZodNullable<z.ZodString>;
5937
+ }, z.core.$strict>>;
5938
+ }, z.core.$strict>;
5939
+ type NetInterface = z.output<typeof NetInterface>;
5940
+ declare const NetInfoResult: z.ZodObject<{
5941
+ hostname: z.ZodString;
5942
+ interfaces: z.ZodArray<z.ZodObject<{
5943
+ name: z.ZodString;
5944
+ mac: z.ZodNullable<z.ZodString>;
5945
+ internal: z.ZodBoolean;
5946
+ addresses: z.ZodArray<z.ZodObject<{
5947
+ address: z.ZodString;
5948
+ family: z.ZodEnum<{
5949
+ ipv4: "ipv4";
5950
+ ipv6: "ipv6";
5951
+ }>;
5952
+ netmask: z.ZodNullable<z.ZodString>;
5953
+ cidr: z.ZodNullable<z.ZodString>;
5954
+ }, z.core.$strict>>;
5955
+ }, z.core.$strict>>;
5956
+ gateway: z.ZodNullable<z.ZodString>;
5957
+ dns: z.ZodArray<z.ZodString>;
5958
+ }, z.core.$strict>;
5959
+ type NetInfoResult = z.output<typeof NetInfoResult>;
5960
+ declare const NetWifiParams: z.ZodObject<{}, z.core.$strict>;
5961
+ type NetWifiParams = z.output<typeof NetWifiParams>;
5962
+ declare const NetWifiNetwork: z.ZodObject<{
5963
+ ssid: z.ZodNullable<z.ZodString>;
5964
+ rssi: z.ZodNullable<z.ZodInt>;
5965
+ channel: z.ZodNullable<z.ZodString>;
5966
+ security: z.ZodNullable<z.ZodString>;
5967
+ }, z.core.$strict>;
5968
+ type NetWifiNetwork = z.output<typeof NetWifiNetwork>;
5969
+ declare const NetWifiResult: z.ZodObject<{
5970
+ available: z.ZodBoolean;
5971
+ current: z.ZodNullable<z.ZodObject<{
5972
+ ssid: z.ZodNullable<z.ZodString>;
5973
+ rssi: z.ZodNullable<z.ZodInt>;
5974
+ channel: z.ZodNullable<z.ZodString>;
5975
+ security: z.ZodNullable<z.ZodString>;
5976
+ }, z.core.$strict>>;
5977
+ networks: z.ZodArray<z.ZodObject<{
5978
+ ssid: z.ZodNullable<z.ZodString>;
5979
+ rssi: z.ZodNullable<z.ZodInt>;
5980
+ channel: z.ZodNullable<z.ZodString>;
5981
+ security: z.ZodNullable<z.ZodString>;
5982
+ }, z.core.$strict>>;
5983
+ }, z.core.$strict>;
5984
+ type NetWifiResult = z.output<typeof NetWifiResult>;
5985
+ declare const NetBluetoothParams: z.ZodObject<{}, z.core.$strict>;
5986
+ type NetBluetoothParams = z.output<typeof NetBluetoothParams>;
5987
+ declare const NetBluetoothDevice: z.ZodObject<{
5988
+ name: z.ZodString;
5989
+ address: z.ZodNullable<z.ZodString>;
5990
+ connected: z.ZodBoolean;
5991
+ kind: z.ZodNullable<z.ZodString>;
5992
+ battery: z.ZodNullable<z.ZodInt>;
5993
+ }, z.core.$strict>;
5994
+ type NetBluetoothDevice = z.output<typeof NetBluetoothDevice>;
5995
+ declare const NetBluetoothResult: z.ZodObject<{
5996
+ powered: z.ZodNullable<z.ZodBoolean>;
5997
+ devices: z.ZodArray<z.ZodObject<{
5998
+ name: z.ZodString;
5999
+ address: z.ZodNullable<z.ZodString>;
6000
+ connected: z.ZodBoolean;
6001
+ kind: z.ZodNullable<z.ZodString>;
6002
+ battery: z.ZodNullable<z.ZodInt>;
6003
+ }, z.core.$strict>>;
6004
+ }, z.core.$strict>;
6005
+ type NetBluetoothResult = z.output<typeof NetBluetoothResult>;
6006
+ declare const NetDevicesParams: z.ZodObject<{}, z.core.$strict>;
6007
+ type NetDevicesParams = z.output<typeof NetDevicesParams>;
6008
+ declare const NetDevice: z.ZodObject<{
6009
+ ip: z.ZodString;
6010
+ mac: z.ZodNullable<z.ZodString>;
6011
+ interface: z.ZodNullable<z.ZodString>;
6012
+ hostname: z.ZodNullable<z.ZodString>;
6013
+ }, z.core.$strict>;
6014
+ type NetDevice = z.output<typeof NetDevice>;
6015
+ declare const NetDevicesResult: z.ZodObject<{
6016
+ devices: z.ZodArray<z.ZodObject<{
6017
+ ip: z.ZodString;
6018
+ mac: z.ZodNullable<z.ZodString>;
6019
+ interface: z.ZodNullable<z.ZodString>;
6020
+ hostname: z.ZodNullable<z.ZodString>;
6021
+ }, z.core.$strict>>;
6022
+ }, z.core.$strict>;
6023
+ type NetDevicesResult = z.output<typeof NetDevicesResult>;
6024
+ declare const NetMdnsParams: z.ZodObject<{
6025
+ service_type: z.ZodOptional<z.ZodString>;
6026
+ timeout_s: z.ZodDefault<z.ZodInt>;
6027
+ }, z.core.$strict>;
6028
+ type NetMdnsParams = z.output<typeof NetMdnsParams>;
6029
+ declare const NetMdnsService: z.ZodObject<{
6030
+ name: z.ZodString;
6031
+ type: z.ZodString;
6032
+ domain: z.ZodString;
6033
+ interface: z.ZodNullable<z.ZodString>;
6034
+ }, z.core.$strict>;
6035
+ type NetMdnsService = z.output<typeof NetMdnsService>;
6036
+ declare const NetMdnsResult: z.ZodObject<{
6037
+ services: z.ZodArray<z.ZodObject<{
6038
+ name: z.ZodString;
6039
+ type: z.ZodString;
6040
+ domain: z.ZodString;
6041
+ interface: z.ZodNullable<z.ZodString>;
6042
+ }, z.core.$strict>>;
6043
+ }, z.core.$strict>;
6044
+ type NetMdnsResult = z.output<typeof NetMdnsResult>;
6045
+ declare const NetScanParams: z.ZodObject<{
6046
+ host: z.ZodString;
6047
+ ports: z.ZodArray<z.ZodInt>;
6048
+ timeout_ms: z.ZodDefault<z.ZodInt>;
6049
+ allow_public: z.ZodDefault<z.ZodBoolean>;
6050
+ }, z.core.$strict>;
6051
+ type NetScanParams = z.output<typeof NetScanParams>;
6052
+ declare const NetScanResult: z.ZodObject<{
6053
+ host: z.ZodString;
6054
+ address: z.ZodString;
6055
+ open: z.ZodArray<z.ZodInt>;
6056
+ closed: z.ZodInt;
6057
+ elapsed_ms: z.ZodInt;
6058
+ }, z.core.$strict>;
6059
+ type NetScanResult = z.output<typeof NetScanResult>;
6060
+ declare const NetDownloadParams: z.ZodObject<{
6061
+ url: z.ZodString;
6062
+ path: z.ZodString;
6063
+ overwrite: z.ZodDefault<z.ZodBoolean>;
6064
+ timeout_s: z.ZodDefault<z.ZodInt>;
6065
+ max_bytes: z.ZodDefault<z.ZodInt>;
6066
+ }, z.core.$strict>;
6067
+ type NetDownloadParams = z.output<typeof NetDownloadParams>;
6068
+ declare const NetDownloadResult: z.ZodObject<{
6069
+ path: z.ZodString;
6070
+ bytes: z.ZodInt;
6071
+ content_type: z.ZodNullable<z.ZodString>;
6072
+ url: z.ZodString;
6073
+ elapsed_ms: z.ZodInt;
6074
+ }, z.core.$strict>;
6075
+ type NetDownloadResult = z.output<typeof NetDownloadResult>;
6076
+
6077
+ /**
6078
+ * @ai-matrx/desktop-protocol — the person's own apps and automation (SPEC §6, §10 group 3): scripts
6079
+ * (AppleScript / JavaScript for Automation on a Mac, PowerShell on Windows), Mail, Messages,
6080
+ * Contacts, Calendar and Reminders, Photos, and where the computer is. Matrx Local's
6081
+ * local_mac_apps and local_windows_ps.run. Served by the core's `automation` and `personal`
6082
+ * owners through the OS's own scripting; each op answers PERMISSION_DENIED_OS (reason
6083
+ * `os_permission`) when the person has not allowed Matrx 2 that app, and PLATFORM_UNSUPPORTED
6084
+ * where the OS has no such app. Schema source: lint-enforced rules in
6085
+ * scripts/check-schema-source.mjs. Added in protocol 1.37.
6086
+ */
6087
+
6088
+ declare const AutomationScriptParams: z.ZodObject<{
6089
+ language: z.ZodEnum<{
6090
+ applescript: "applescript";
6091
+ jxa: "jxa";
6092
+ powershell: "powershell";
6093
+ }>;
6094
+ script: z.ZodString;
6095
+ timeout_s: z.ZodDefault<z.ZodInt>;
6096
+ }, z.core.$strict>;
6097
+ type AutomationScriptParams = z.output<typeof AutomationScriptParams>;
6098
+ declare const AutomationScriptResult: z.ZodObject<{
6099
+ stdout: z.ZodString;
6100
+ stderr: z.ZodString;
6101
+ exit_code: z.ZodInt;
6102
+ timed_out: z.ZodBoolean;
6103
+ truncated: z.ZodBoolean;
6104
+ elapsed_ms: z.ZodInt;
6105
+ }, z.core.$strict>;
6106
+ type AutomationScriptResult = z.output<typeof AutomationScriptResult>;
6107
+ declare const MailAccountsParams: z.ZodObject<{}, z.core.$strict>;
6108
+ type MailAccountsParams = z.output<typeof MailAccountsParams>;
6109
+ declare const MailAccount: z.ZodObject<{
6110
+ name: z.ZodString;
6111
+ emails: z.ZodArray<z.ZodString>;
6112
+ enabled: z.ZodBoolean;
6113
+ }, z.core.$strict>;
6114
+ type MailAccount = z.output<typeof MailAccount>;
6115
+ declare const MailAccountsResult: z.ZodObject<{
6116
+ accounts: z.ZodArray<z.ZodObject<{
6117
+ name: z.ZodString;
6118
+ emails: z.ZodArray<z.ZodString>;
6119
+ enabled: z.ZodBoolean;
6120
+ }, z.core.$strict>>;
6121
+ }, z.core.$strict>;
6122
+ type MailAccountsResult = z.output<typeof MailAccountsResult>;
6123
+ declare const MailListParams: z.ZodObject<{
6124
+ account: z.ZodOptional<z.ZodString>;
6125
+ mailbox: z.ZodDefault<z.ZodString>;
6126
+ unread_only: z.ZodDefault<z.ZodBoolean>;
6127
+ limit: z.ZodDefault<z.ZodInt>;
6128
+ }, z.core.$strict>;
6129
+ type MailListParams = z.output<typeof MailListParams>;
6130
+ declare const MailMessage: z.ZodObject<{
6131
+ id: z.ZodString;
6132
+ subject: z.ZodString;
6133
+ sender: z.ZodString;
6134
+ received_at_ms: z.ZodNullable<z.ZodInt>;
6135
+ read: z.ZodBoolean;
6136
+ account: z.ZodString;
6137
+ mailbox: z.ZodString;
6138
+ preview: z.ZodString;
6139
+ }, z.core.$strict>;
6140
+ type MailMessage = z.output<typeof MailMessage>;
6141
+ declare const MailListResult: z.ZodObject<{
6142
+ messages: z.ZodArray<z.ZodObject<{
6143
+ id: z.ZodString;
6144
+ subject: z.ZodString;
6145
+ sender: z.ZodString;
6146
+ received_at_ms: z.ZodNullable<z.ZodInt>;
6147
+ read: z.ZodBoolean;
6148
+ account: z.ZodString;
6149
+ mailbox: z.ZodString;
6150
+ preview: z.ZodString;
6151
+ }, z.core.$strict>>;
6152
+ }, z.core.$strict>;
6153
+ type MailListResult = z.output<typeof MailListResult>;
6154
+ declare const MailSendParams: z.ZodObject<{
6155
+ to: z.ZodArray<z.ZodString>;
6156
+ cc: z.ZodDefault<z.ZodArray<z.ZodString>>;
6157
+ subject: z.ZodString;
6158
+ body: z.ZodString;
6159
+ from: z.ZodOptional<z.ZodString>;
6160
+ send: z.ZodDefault<z.ZodBoolean>;
6161
+ }, z.core.$strict>;
6162
+ type MailSendParams = z.output<typeof MailSendParams>;
6163
+ declare const MailSendResult: z.ZodObject<{
6164
+ sent: z.ZodBoolean;
6165
+ }, z.core.$strict>;
6166
+ type MailSendResult = z.output<typeof MailSendResult>;
6167
+ /** Messages' chats (its own word in the app is conversations; the op says chats). */
6168
+ declare const MessagesChatsParams: z.ZodObject<{
6169
+ limit: z.ZodDefault<z.ZodInt>;
6170
+ }, z.core.$strict>;
6171
+ type MessagesChatsParams = z.output<typeof MessagesChatsParams>;
6172
+ declare const MessagesChat: z.ZodObject<{
6173
+ chat_id: z.ZodString;
6174
+ name: z.ZodNullable<z.ZodString>;
6175
+ participants: z.ZodArray<z.ZodString>;
6176
+ last_message_at_ms: z.ZodNullable<z.ZodInt>;
6177
+ service: z.ZodNullable<z.ZodString>;
6178
+ }, z.core.$strict>;
6179
+ type MessagesChat = z.output<typeof MessagesChat>;
6180
+ declare const MessagesChatsResult: z.ZodObject<{
6181
+ chats: z.ZodArray<z.ZodObject<{
6182
+ chat_id: z.ZodString;
6183
+ name: z.ZodNullable<z.ZodString>;
6184
+ participants: z.ZodArray<z.ZodString>;
6185
+ last_message_at_ms: z.ZodNullable<z.ZodInt>;
6186
+ service: z.ZodNullable<z.ZodString>;
6187
+ }, z.core.$strict>>;
6188
+ }, z.core.$strict>;
6189
+ type MessagesChatsResult = z.output<typeof MessagesChatsResult>;
6190
+ declare const MessagesListParams: z.ZodObject<{
6191
+ chat_id: z.ZodOptional<z.ZodString>;
6192
+ limit: z.ZodDefault<z.ZodInt>;
6193
+ }, z.core.$strict>;
6194
+ type MessagesListParams = z.output<typeof MessagesListParams>;
6195
+ declare const MessagesMessage: z.ZodObject<{
6196
+ id: z.ZodString;
6197
+ chat_id: z.ZodNullable<z.ZodString>;
6198
+ text: z.ZodString;
6199
+ from_me: z.ZodBoolean;
6200
+ sender: z.ZodNullable<z.ZodString>;
6201
+ sent_at_ms: z.ZodNullable<z.ZodInt>;
6202
+ }, z.core.$strict>;
6203
+ type MessagesMessage = z.output<typeof MessagesMessage>;
6204
+ declare const MessagesListResult: z.ZodObject<{
6205
+ messages: z.ZodArray<z.ZodObject<{
6206
+ id: z.ZodString;
6207
+ chat_id: z.ZodNullable<z.ZodString>;
6208
+ text: z.ZodString;
6209
+ from_me: z.ZodBoolean;
6210
+ sender: z.ZodNullable<z.ZodString>;
6211
+ sent_at_ms: z.ZodNullable<z.ZodInt>;
6212
+ }, z.core.$strict>>;
6213
+ }, z.core.$strict>;
6214
+ type MessagesListResult = z.output<typeof MessagesListResult>;
6215
+ declare const MessagesSendParams: z.ZodObject<{
6216
+ to: z.ZodString;
6217
+ text: z.ZodString;
6218
+ }, z.core.$strict>;
6219
+ type MessagesSendParams = z.output<typeof MessagesSendParams>;
6220
+ declare const MessagesSendResult: z.ZodObject<{
6221
+ sent: z.ZodBoolean;
6222
+ }, z.core.$strict>;
6223
+ type MessagesSendResult = z.output<typeof MessagesSendResult>;
6224
+ declare const ContactsSearchParams: z.ZodObject<{
6225
+ query: z.ZodString;
6226
+ limit: z.ZodDefault<z.ZodInt>;
6227
+ }, z.core.$strict>;
6228
+ type ContactsSearchParams = z.output<typeof ContactsSearchParams>;
6229
+ declare const ContactLabeled: z.ZodObject<{
6230
+ label: z.ZodNullable<z.ZodString>;
6231
+ value: z.ZodString;
6232
+ }, z.core.$strict>;
6233
+ type ContactLabeled = z.output<typeof ContactLabeled>;
6234
+ declare const ContactSummary: z.ZodObject<{
6235
+ id: z.ZodString;
6236
+ name: z.ZodString;
6237
+ organization: z.ZodNullable<z.ZodString>;
6238
+ emails: z.ZodArray<z.ZodObject<{
6239
+ label: z.ZodNullable<z.ZodString>;
6240
+ value: z.ZodString;
6241
+ }, z.core.$strict>>;
6242
+ phones: z.ZodArray<z.ZodObject<{
6243
+ label: z.ZodNullable<z.ZodString>;
6244
+ value: z.ZodString;
6245
+ }, z.core.$strict>>;
6246
+ }, z.core.$strict>;
6247
+ type ContactSummary = z.output<typeof ContactSummary>;
6248
+ declare const ContactsSearchResult: z.ZodObject<{
6249
+ contacts: z.ZodArray<z.ZodObject<{
6250
+ id: z.ZodString;
6251
+ name: z.ZodString;
6252
+ organization: z.ZodNullable<z.ZodString>;
6253
+ emails: z.ZodArray<z.ZodObject<{
6254
+ label: z.ZodNullable<z.ZodString>;
6255
+ value: z.ZodString;
6256
+ }, z.core.$strict>>;
6257
+ phones: z.ZodArray<z.ZodObject<{
6258
+ label: z.ZodNullable<z.ZodString>;
6259
+ value: z.ZodString;
6260
+ }, z.core.$strict>>;
6261
+ }, z.core.$strict>>;
6262
+ }, z.core.$strict>;
6263
+ type ContactsSearchResult = z.output<typeof ContactsSearchResult>;
6264
+ declare const ContactsGetParams: z.ZodObject<{
6265
+ id: z.ZodString;
6266
+ }, z.core.$strict>;
6267
+ type ContactsGetParams = z.output<typeof ContactsGetParams>;
6268
+ declare const ContactDetail: z.ZodObject<{
6269
+ id: z.ZodString;
6270
+ name: z.ZodString;
6271
+ organization: z.ZodNullable<z.ZodString>;
6272
+ job_title: z.ZodNullable<z.ZodString>;
6273
+ emails: z.ZodArray<z.ZodObject<{
6274
+ label: z.ZodNullable<z.ZodString>;
6275
+ value: z.ZodString;
6276
+ }, z.core.$strict>>;
6277
+ phones: z.ZodArray<z.ZodObject<{
6278
+ label: z.ZodNullable<z.ZodString>;
6279
+ value: z.ZodString;
6280
+ }, z.core.$strict>>;
6281
+ addresses: z.ZodArray<z.ZodObject<{
6282
+ label: z.ZodNullable<z.ZodString>;
6283
+ value: z.ZodString;
6284
+ }, z.core.$strict>>;
6285
+ birthday: z.ZodNullable<z.ZodString>;
6286
+ note: z.ZodNullable<z.ZodString>;
6287
+ }, z.core.$strict>;
6288
+ type ContactDetail = z.output<typeof ContactDetail>;
6289
+ declare const ContactsGetResult: z.ZodObject<{
6290
+ contact: z.ZodObject<{
6291
+ id: z.ZodString;
6292
+ name: z.ZodString;
6293
+ organization: z.ZodNullable<z.ZodString>;
6294
+ job_title: z.ZodNullable<z.ZodString>;
6295
+ emails: z.ZodArray<z.ZodObject<{
6296
+ label: z.ZodNullable<z.ZodString>;
6297
+ value: z.ZodString;
6298
+ }, z.core.$strict>>;
6299
+ phones: z.ZodArray<z.ZodObject<{
6300
+ label: z.ZodNullable<z.ZodString>;
6301
+ value: z.ZodString;
6302
+ }, z.core.$strict>>;
6303
+ addresses: z.ZodArray<z.ZodObject<{
6304
+ label: z.ZodNullable<z.ZodString>;
6305
+ value: z.ZodString;
6306
+ }, z.core.$strict>>;
6307
+ birthday: z.ZodNullable<z.ZodString>;
6308
+ note: z.ZodNullable<z.ZodString>;
6309
+ }, z.core.$strict>;
6310
+ }, z.core.$strict>;
6311
+ type ContactsGetResult = z.output<typeof ContactsGetResult>;
6312
+ declare const CalendarListParams: z.ZodObject<{
6313
+ from_ms: z.ZodInt;
6314
+ to_ms: z.ZodInt;
6315
+ calendar: z.ZodOptional<z.ZodString>;
6316
+ limit: z.ZodDefault<z.ZodInt>;
6317
+ }, z.core.$strict>;
6318
+ type CalendarListParams = z.output<typeof CalendarListParams>;
6319
+ declare const CalendarEvent: z.ZodObject<{
6320
+ id: z.ZodString;
6321
+ title: z.ZodString;
6322
+ start_ms: z.ZodInt;
6323
+ end_ms: z.ZodInt;
6324
+ all_day: z.ZodBoolean;
6325
+ calendar: z.ZodString;
6326
+ location: z.ZodNullable<z.ZodString>;
6327
+ notes: z.ZodNullable<z.ZodString>;
6328
+ }, z.core.$strict>;
6329
+ type CalendarEvent = z.output<typeof CalendarEvent>;
6330
+ declare const CalendarListResult: z.ZodObject<{
6331
+ events: z.ZodArray<z.ZodObject<{
6332
+ id: z.ZodString;
6333
+ title: z.ZodString;
6334
+ start_ms: z.ZodInt;
6335
+ end_ms: z.ZodInt;
6336
+ all_day: z.ZodBoolean;
6337
+ calendar: z.ZodString;
6338
+ location: z.ZodNullable<z.ZodString>;
6339
+ notes: z.ZodNullable<z.ZodString>;
6340
+ }, z.core.$strict>>;
6341
+ }, z.core.$strict>;
6342
+ type CalendarListResult = z.output<typeof CalendarListResult>;
6343
+ declare const CalendarCreateParams: z.ZodObject<{
6344
+ title: z.ZodString;
6345
+ start_ms: z.ZodInt;
6346
+ end_ms: z.ZodInt;
6347
+ all_day: z.ZodDefault<z.ZodBoolean>;
6348
+ calendar: z.ZodOptional<z.ZodString>;
6349
+ location: z.ZodOptional<z.ZodString>;
6350
+ notes: z.ZodOptional<z.ZodString>;
6351
+ }, z.core.$strict>;
6352
+ type CalendarCreateParams = z.output<typeof CalendarCreateParams>;
6353
+ declare const CalendarCreateResult: z.ZodObject<{
6354
+ id: z.ZodString;
6355
+ calendar: z.ZodString;
6356
+ }, z.core.$strict>;
6357
+ type CalendarCreateResult = z.output<typeof CalendarCreateResult>;
6358
+ declare const RemindersListParams: z.ZodObject<{
6359
+ list: z.ZodOptional<z.ZodString>;
6360
+ include_completed: z.ZodDefault<z.ZodBoolean>;
6361
+ limit: z.ZodDefault<z.ZodInt>;
6362
+ }, z.core.$strict>;
6363
+ type RemindersListParams = z.output<typeof RemindersListParams>;
6364
+ declare const Reminder: z.ZodObject<{
6365
+ id: z.ZodString;
6366
+ title: z.ZodString;
6367
+ list: z.ZodString;
6368
+ due_ms: z.ZodNullable<z.ZodInt>;
6369
+ completed: z.ZodBoolean;
6370
+ notes: z.ZodNullable<z.ZodString>;
6371
+ }, z.core.$strict>;
6372
+ type Reminder = z.output<typeof Reminder>;
6373
+ declare const RemindersListResult: z.ZodObject<{
6374
+ reminders: z.ZodArray<z.ZodObject<{
6375
+ id: z.ZodString;
6376
+ title: z.ZodString;
6377
+ list: z.ZodString;
6378
+ due_ms: z.ZodNullable<z.ZodInt>;
6379
+ completed: z.ZodBoolean;
6380
+ notes: z.ZodNullable<z.ZodString>;
6381
+ }, z.core.$strict>>;
6382
+ }, z.core.$strict>;
6383
+ type RemindersListResult = z.output<typeof RemindersListResult>;
6384
+ declare const RemindersCreateParams: z.ZodObject<{
6385
+ title: z.ZodString;
6386
+ due_ms: z.ZodOptional<z.ZodInt>;
6387
+ list: z.ZodOptional<z.ZodString>;
6388
+ notes: z.ZodOptional<z.ZodString>;
6389
+ }, z.core.$strict>;
6390
+ type RemindersCreateParams = z.output<typeof RemindersCreateParams>;
6391
+ declare const RemindersCreateResult: z.ZodObject<{
6392
+ id: z.ZodString;
6393
+ list: z.ZodString;
6394
+ }, z.core.$strict>;
6395
+ type RemindersCreateResult = z.output<typeof RemindersCreateResult>;
6396
+ declare const PhotosSearchParams: z.ZodObject<{
6397
+ query: z.ZodOptional<z.ZodString>;
6398
+ from_ms: z.ZodOptional<z.ZodInt>;
6399
+ to_ms: z.ZodOptional<z.ZodInt>;
6400
+ favorites_only: z.ZodDefault<z.ZodBoolean>;
6401
+ limit: z.ZodDefault<z.ZodInt>;
6402
+ }, z.core.$strict>;
6403
+ type PhotosSearchParams = z.output<typeof PhotosSearchParams>;
6404
+ declare const Photo: z.ZodObject<{
6405
+ id: z.ZodString;
6406
+ filename: z.ZodString;
6407
+ taken_at_ms: z.ZodNullable<z.ZodInt>;
6408
+ width: z.ZodNullable<z.ZodInt>;
6409
+ height: z.ZodNullable<z.ZodInt>;
6410
+ favorite: z.ZodBoolean;
6411
+ title: z.ZodNullable<z.ZodString>;
6412
+ }, z.core.$strict>;
6413
+ type Photo = z.output<typeof Photo>;
6414
+ declare const PhotosSearchResult: z.ZodObject<{
6415
+ photos: z.ZodArray<z.ZodObject<{
6416
+ id: z.ZodString;
6417
+ filename: z.ZodString;
6418
+ taken_at_ms: z.ZodNullable<z.ZodInt>;
6419
+ width: z.ZodNullable<z.ZodInt>;
6420
+ height: z.ZodNullable<z.ZodInt>;
6421
+ favorite: z.ZodBoolean;
6422
+ title: z.ZodNullable<z.ZodString>;
6423
+ }, z.core.$strict>>;
6424
+ }, z.core.$strict>;
6425
+ type PhotosSearchResult = z.output<typeof PhotosSearchResult>;
6426
+ declare const PhotosGetParams: z.ZodObject<{
6427
+ id: z.ZodString;
6428
+ export: z.ZodDefault<z.ZodBoolean>;
6429
+ }, z.core.$strict>;
6430
+ type PhotosGetParams = z.output<typeof PhotosGetParams>;
6431
+ declare const PhotosGetResult: z.ZodObject<{
6432
+ photo: z.ZodObject<{
6433
+ id: z.ZodString;
6434
+ filename: z.ZodString;
6435
+ taken_at_ms: z.ZodNullable<z.ZodInt>;
6436
+ width: z.ZodNullable<z.ZodInt>;
6437
+ height: z.ZodNullable<z.ZodInt>;
6438
+ favorite: z.ZodBoolean;
6439
+ title: z.ZodNullable<z.ZodString>;
6440
+ }, z.core.$strict>;
6441
+ path: z.ZodNullable<z.ZodString>;
6442
+ }, z.core.$strict>;
6443
+ type PhotosGetResult = z.output<typeof PhotosGetResult>;
6444
+ declare const LocationGetParams: z.ZodObject<{
6445
+ timeout_s: z.ZodDefault<z.ZodInt>;
6446
+ }, z.core.$strict>;
6447
+ type LocationGetParams = z.output<typeof LocationGetParams>;
6448
+ declare const LocationGetResult: z.ZodObject<{
6449
+ latitude: z.ZodNumber;
6450
+ longitude: z.ZodNumber;
6451
+ accuracy_m: z.ZodNullable<z.ZodNumber>;
6452
+ at_ms: z.ZodInt;
6453
+ source: z.ZodEnum<{
6454
+ windows: "windows";
6455
+ corelocation: "corelocation";
6456
+ geoclue: "geoclue";
6457
+ }>;
6458
+ }, z.core.$strict>;
6459
+ type LocationGetResult = z.output<typeof LocationGetResult>;
6460
+
6461
+ /**
6462
+ * @ai-matrx/desktop-protocol — cap windows (SPEC §10 desktop_windows_admin): Windows
6463
+ * administration — the registry, services, the event log and optional features. Matrx Local's
6464
+ * local_windows_ps. Served by the core's `windows` owner through reg.exe and PowerShell; every op
6465
+ * answers PLATFORM_UNSUPPORTED off Windows, and PERMISSION_DENIED_OS where Windows needs an
6466
+ * administrator. Schema source: lint-enforced rules in scripts/check-schema-source.mjs. Added in
6467
+ * protocol 1.37.
6468
+ */
6469
+
6470
+ declare const RegistryValueType: z.ZodEnum<{
6471
+ REG_SZ: "REG_SZ";
6472
+ REG_EXPAND_SZ: "REG_EXPAND_SZ";
6473
+ REG_MULTI_SZ: "REG_MULTI_SZ";
6474
+ REG_DWORD: "REG_DWORD";
6475
+ REG_QWORD: "REG_QWORD";
6476
+ REG_BINARY: "REG_BINARY";
6477
+ REG_NONE: "REG_NONE";
6478
+ }>;
6479
+ type RegistryValueType = z.output<typeof RegistryValueType>;
6480
+ declare const WindowsRegistryReadParams: z.ZodObject<{
6481
+ key: z.ZodString;
6482
+ name: z.ZodOptional<z.ZodString>;
6483
+ }, z.core.$strict>;
6484
+ type WindowsRegistryReadParams = z.output<typeof WindowsRegistryReadParams>;
6485
+ declare const RegistryValue: z.ZodObject<{
6486
+ name: z.ZodString;
6487
+ type: z.ZodEnum<{
6488
+ REG_SZ: "REG_SZ";
6489
+ REG_EXPAND_SZ: "REG_EXPAND_SZ";
6490
+ REG_MULTI_SZ: "REG_MULTI_SZ";
6491
+ REG_DWORD: "REG_DWORD";
6492
+ REG_QWORD: "REG_QWORD";
6493
+ REG_BINARY: "REG_BINARY";
6494
+ REG_NONE: "REG_NONE";
6495
+ }>;
6496
+ data: z.ZodString;
6497
+ }, z.core.$strict>;
6498
+ type RegistryValue = z.output<typeof RegistryValue>;
6499
+ declare const WindowsRegistryReadResult: z.ZodObject<{
6500
+ key: z.ZodString;
6501
+ exists: z.ZodBoolean;
6502
+ values: z.ZodArray<z.ZodObject<{
6503
+ name: z.ZodString;
6504
+ type: z.ZodEnum<{
6505
+ REG_SZ: "REG_SZ";
6506
+ REG_EXPAND_SZ: "REG_EXPAND_SZ";
6507
+ REG_MULTI_SZ: "REG_MULTI_SZ";
6508
+ REG_DWORD: "REG_DWORD";
6509
+ REG_QWORD: "REG_QWORD";
6510
+ REG_BINARY: "REG_BINARY";
6511
+ REG_NONE: "REG_NONE";
6512
+ }>;
6513
+ data: z.ZodString;
6514
+ }, z.core.$strict>>;
6515
+ subkeys: z.ZodArray<z.ZodString>;
6516
+ }, z.core.$strict>;
6517
+ type WindowsRegistryReadResult = z.output<typeof WindowsRegistryReadResult>;
6518
+ declare const WindowsRegistryWriteParams: z.ZodObject<{
6519
+ key: z.ZodString;
6520
+ name: z.ZodString;
6521
+ type: z.ZodDefault<z.ZodEnum<{
6522
+ REG_SZ: "REG_SZ";
6523
+ REG_EXPAND_SZ: "REG_EXPAND_SZ";
6524
+ REG_MULTI_SZ: "REG_MULTI_SZ";
6525
+ REG_DWORD: "REG_DWORD";
6526
+ REG_QWORD: "REG_QWORD";
6527
+ REG_BINARY: "REG_BINARY";
6528
+ REG_NONE: "REG_NONE";
6529
+ }>>;
6530
+ data: z.ZodString;
6531
+ delete: z.ZodDefault<z.ZodBoolean>;
6532
+ }, z.core.$strict>;
6533
+ type WindowsRegistryWriteParams = z.output<typeof WindowsRegistryWriteParams>;
6534
+ declare const WindowsRegistryWriteResult: z.ZodObject<{
6535
+ key: z.ZodString;
6536
+ name: z.ZodString;
6537
+ deleted: z.ZodBoolean;
6538
+ }, z.core.$strict>;
6539
+ type WindowsRegistryWriteResult = z.output<typeof WindowsRegistryWriteResult>;
6540
+ declare const WindowsServicesParams: z.ZodObject<{
6541
+ filter: z.ZodOptional<z.ZodString>;
6542
+ limit: z.ZodDefault<z.ZodInt>;
6543
+ }, z.core.$strict>;
6544
+ type WindowsServicesParams = z.output<typeof WindowsServicesParams>;
6545
+ declare const WindowsService: z.ZodObject<{
6546
+ name: z.ZodString;
6547
+ display_name: z.ZodString;
6548
+ status: z.ZodString;
6549
+ start_type: z.ZodNullable<z.ZodString>;
6550
+ }, z.core.$strict>;
6551
+ type WindowsService = z.output<typeof WindowsService>;
6552
+ declare const WindowsServicesResult: z.ZodObject<{
6553
+ services: z.ZodArray<z.ZodObject<{
6554
+ name: z.ZodString;
6555
+ display_name: z.ZodString;
6556
+ status: z.ZodString;
6557
+ start_type: z.ZodNullable<z.ZodString>;
6558
+ }, z.core.$strict>>;
6559
+ }, z.core.$strict>;
6560
+ type WindowsServicesResult = z.output<typeof WindowsServicesResult>;
6561
+ declare const WindowsServiceControlParams: z.ZodObject<{
6562
+ name: z.ZodString;
6563
+ action: z.ZodEnum<{
6564
+ start: "start";
6565
+ stop: "stop";
6566
+ restart: "restart";
6567
+ }>;
6568
+ }, z.core.$strict>;
6569
+ type WindowsServiceControlParams = z.output<typeof WindowsServiceControlParams>;
6570
+ declare const WindowsServiceControlResult: z.ZodObject<{
6571
+ name: z.ZodString;
6572
+ status: z.ZodString;
6573
+ }, z.core.$strict>;
6574
+ type WindowsServiceControlResult = z.output<typeof WindowsServiceControlResult>;
6575
+ declare const WindowsEventLogParams: z.ZodObject<{
6576
+ log: z.ZodDefault<z.ZodString>;
6577
+ levels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6578
+ error: "error";
6579
+ warning: "warning";
6580
+ critical: "critical";
6581
+ information: "information";
6582
+ verbose: "verbose";
6583
+ }>>>;
6584
+ since_ms: z.ZodOptional<z.ZodInt>;
6585
+ limit: z.ZodDefault<z.ZodInt>;
6586
+ }, z.core.$strict>;
6587
+ type WindowsEventLogParams = z.output<typeof WindowsEventLogParams>;
6588
+ declare const WindowsEvent: z.ZodObject<{
6589
+ id: z.ZodInt;
6590
+ level: z.ZodString;
6591
+ source: z.ZodString;
6592
+ at_ms: z.ZodInt;
6593
+ message: z.ZodString;
6594
+ }, z.core.$strict>;
6595
+ type WindowsEvent = z.output<typeof WindowsEvent>;
6596
+ declare const WindowsEventLogResult: z.ZodObject<{
6597
+ log: z.ZodString;
6598
+ events: z.ZodArray<z.ZodObject<{
6599
+ id: z.ZodInt;
6600
+ level: z.ZodString;
6601
+ source: z.ZodString;
6602
+ at_ms: z.ZodInt;
6603
+ message: z.ZodString;
6604
+ }, z.core.$strict>>;
6605
+ }, z.core.$strict>;
6606
+ type WindowsEventLogResult = z.output<typeof WindowsEventLogResult>;
6607
+ declare const WindowsFeaturesParams: z.ZodObject<{
6608
+ filter: z.ZodOptional<z.ZodString>;
6609
+ }, z.core.$strict>;
6610
+ type WindowsFeaturesParams = z.output<typeof WindowsFeaturesParams>;
6611
+ declare const WindowsFeature: z.ZodObject<{
6612
+ name: z.ZodString;
6613
+ state: z.ZodString;
6614
+ }, z.core.$strict>;
6615
+ type WindowsFeature = z.output<typeof WindowsFeature>;
6616
+ declare const WindowsFeaturesResult: z.ZodObject<{
6617
+ features: z.ZodArray<z.ZodObject<{
6618
+ name: z.ZodString;
6619
+ state: z.ZodString;
6620
+ }, z.core.$strict>>;
6621
+ }, z.core.$strict>;
6622
+ type WindowsFeaturesResult = z.output<typeof WindowsFeaturesResult>;
6623
+
6624
+ /**
6625
+ * @ai-matrx/desktop-protocol — cap schedule (SPEC §10 desktop_schedule): one protocol op run on
6626
+ * this computer again and again, on an interval, until it is cancelled or has run its count
6627
+ * (Matrx Local's ScheduleTask, ListScheduled, CancelScheduled). The core's `schedule` owner keeps
6628
+ * each task in its own device store, so tasks outlive a restart, and runs the op through the
6629
+ * Router as the device's owner, exactly as the agent would have sent it. A task can never run a
6630
+ * schedule op itself. Schema source: lint-enforced rules in scripts/check-schema-source.mjs.
6631
+ * Added in protocol 1.37.
6632
+ */
6633
+
6634
+ declare const ScheduleCreateParams: z.ZodObject<{
6635
+ name: z.ZodString;
6636
+ op: z.ZodString;
6637
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6638
+ interval_s: z.ZodInt;
6639
+ max_runs: z.ZodOptional<z.ZodInt>;
6640
+ run_now: z.ZodDefault<z.ZodBoolean>;
6641
+ }, z.core.$strict>;
6642
+ type ScheduleCreateParams = z.output<typeof ScheduleCreateParams>;
6643
+ declare const ScheduleRun: z.ZodObject<{
6644
+ at_ms: z.ZodInt;
6645
+ ok: z.ZodBoolean;
6646
+ elapsed_ms: z.ZodInt;
6647
+ error: z.ZodNullable<z.ZodString>;
6648
+ result_preview: z.ZodNullable<z.ZodString>;
6649
+ }, z.core.$strict>;
6650
+ type ScheduleRun = z.output<typeof ScheduleRun>;
6651
+ declare const ScheduledTask: z.ZodObject<{
6652
+ id: z.ZodString;
6653
+ name: z.ZodString;
6654
+ op: z.ZodString;
6655
+ params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6656
+ interval_s: z.ZodInt;
6657
+ max_runs: z.ZodNullable<z.ZodInt>;
6658
+ runs: z.ZodInt;
6659
+ created_at_ms: z.ZodInt;
6660
+ next_run_at_ms: z.ZodNullable<z.ZodInt>;
6661
+ state: z.ZodEnum<{
6662
+ cancelled: "cancelled";
6663
+ done: "done";
6664
+ active: "active";
6665
+ }>;
6666
+ recent: z.ZodArray<z.ZodObject<{
6667
+ at_ms: z.ZodInt;
6668
+ ok: z.ZodBoolean;
6669
+ elapsed_ms: z.ZodInt;
6670
+ error: z.ZodNullable<z.ZodString>;
6671
+ result_preview: z.ZodNullable<z.ZodString>;
6672
+ }, z.core.$strict>>;
6673
+ }, z.core.$strict>;
6674
+ type ScheduledTask = z.output<typeof ScheduledTask>;
6675
+ declare const ScheduleCreateResult: z.ZodObject<{
6676
+ task: z.ZodObject<{
6677
+ id: z.ZodString;
6678
+ name: z.ZodString;
6679
+ op: z.ZodString;
6680
+ params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6681
+ interval_s: z.ZodInt;
6682
+ max_runs: z.ZodNullable<z.ZodInt>;
6683
+ runs: z.ZodInt;
6684
+ created_at_ms: z.ZodInt;
6685
+ next_run_at_ms: z.ZodNullable<z.ZodInt>;
6686
+ state: z.ZodEnum<{
6687
+ cancelled: "cancelled";
6688
+ done: "done";
6689
+ active: "active";
6690
+ }>;
6691
+ recent: z.ZodArray<z.ZodObject<{
6692
+ at_ms: z.ZodInt;
6693
+ ok: z.ZodBoolean;
6694
+ elapsed_ms: z.ZodInt;
6695
+ error: z.ZodNullable<z.ZodString>;
6696
+ result_preview: z.ZodNullable<z.ZodString>;
6697
+ }, z.core.$strict>>;
6698
+ }, z.core.$strict>;
6699
+ }, z.core.$strict>;
6700
+ type ScheduleCreateResult = z.output<typeof ScheduleCreateResult>;
6701
+ declare const ScheduleListParams: z.ZodObject<{
6702
+ include_finished: z.ZodDefault<z.ZodBoolean>;
6703
+ }, z.core.$strict>;
6704
+ type ScheduleListParams = z.output<typeof ScheduleListParams>;
6705
+ declare const ScheduleListResult: z.ZodObject<{
6706
+ tasks: z.ZodArray<z.ZodObject<{
6707
+ id: z.ZodString;
6708
+ name: z.ZodString;
6709
+ op: z.ZodString;
6710
+ params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6711
+ interval_s: z.ZodInt;
6712
+ max_runs: z.ZodNullable<z.ZodInt>;
6713
+ runs: z.ZodInt;
6714
+ created_at_ms: z.ZodInt;
6715
+ next_run_at_ms: z.ZodNullable<z.ZodInt>;
6716
+ state: z.ZodEnum<{
6717
+ cancelled: "cancelled";
6718
+ done: "done";
6719
+ active: "active";
6720
+ }>;
6721
+ recent: z.ZodArray<z.ZodObject<{
6722
+ at_ms: z.ZodInt;
6723
+ ok: z.ZodBoolean;
6724
+ elapsed_ms: z.ZodInt;
6725
+ error: z.ZodNullable<z.ZodString>;
6726
+ result_preview: z.ZodNullable<z.ZodString>;
6727
+ }, z.core.$strict>>;
6728
+ }, z.core.$strict>>;
6729
+ }, z.core.$strict>;
6730
+ type ScheduleListResult = z.output<typeof ScheduleListResult>;
6731
+ declare const ScheduleCancelParams: z.ZodObject<{
6732
+ id: z.ZodString;
6733
+ }, z.core.$strict>;
6734
+ type ScheduleCancelParams = z.output<typeof ScheduleCancelParams>;
6735
+ declare const ScheduleCancelResult: z.ZodObject<{
6736
+ task: z.ZodObject<{
6737
+ id: z.ZodString;
6738
+ name: z.ZodString;
6739
+ op: z.ZodString;
6740
+ params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6741
+ interval_s: z.ZodInt;
6742
+ max_runs: z.ZodNullable<z.ZodInt>;
6743
+ runs: z.ZodInt;
6744
+ created_at_ms: z.ZodInt;
6745
+ next_run_at_ms: z.ZodNullable<z.ZodInt>;
6746
+ state: z.ZodEnum<{
6747
+ cancelled: "cancelled";
6748
+ done: "done";
6749
+ active: "active";
6750
+ }>;
6751
+ recent: z.ZodArray<z.ZodObject<{
6752
+ at_ms: z.ZodInt;
6753
+ ok: z.ZodBoolean;
6754
+ elapsed_ms: z.ZodInt;
6755
+ error: z.ZodNullable<z.ZodString>;
6756
+ result_preview: z.ZodNullable<z.ZodString>;
6757
+ }, z.core.$strict>>;
6758
+ }, z.core.$strict>;
6759
+ }, z.core.$strict>;
6760
+ type ScheduleCancelResult = z.output<typeof ScheduleCancelResult>;
6761
+
6762
+ /**
6763
+ * @ai-matrx/desktop-protocol — cap notes (SPEC §10 desktop_notes): the person's local notes, the
6764
+ * Markdown files in Documents/Matrx/Notes that Matrx Local kept (its ListDocuments,
6765
+ * ListDocumentFolders, ReadDocument, WriteDocument and SearchDocuments). A folder is a directory
6766
+ * under that root; a note is `<label>.md`. Every path is relative to the root and never leaves it.
6767
+ * Served by the core's `notes` owner. Schema source: lint-enforced rules in
6768
+ * scripts/check-schema-source.mjs. Added in protocol 1.37.
6769
+ */
6770
+
6771
+ declare const NotesFoldersParams: z.ZodObject<{}, z.core.$strict>;
6772
+ type NotesFoldersParams = z.output<typeof NotesFoldersParams>;
6773
+ declare const NotesFolder: z.ZodObject<{
6774
+ folder: z.ZodString;
6775
+ notes: z.ZodInt;
6776
+ }, z.core.$strict>;
6777
+ type NotesFolder = z.output<typeof NotesFolder>;
6778
+ declare const NotesFoldersResult: z.ZodObject<{
6779
+ root: z.ZodString;
6780
+ folders: z.ZodArray<z.ZodObject<{
6781
+ folder: z.ZodString;
6782
+ notes: z.ZodInt;
6783
+ }, z.core.$strict>>;
6784
+ }, z.core.$strict>;
6785
+ type NotesFoldersResult = z.output<typeof NotesFoldersResult>;
6786
+ declare const NotesListParams: z.ZodObject<{
6787
+ folder: z.ZodOptional<z.ZodString>;
6788
+ limit: z.ZodDefault<z.ZodInt>;
6789
+ }, z.core.$strict>;
6790
+ type NotesListParams = z.output<typeof NotesListParams>;
6791
+ declare const NoteEntry: z.ZodObject<{
6792
+ path: z.ZodString;
6793
+ label: z.ZodString;
6794
+ folder: z.ZodString;
6795
+ bytes: z.ZodInt;
6796
+ modified_at_ms: z.ZodInt;
6797
+ }, z.core.$strict>;
6798
+ type NoteEntry = z.output<typeof NoteEntry>;
6799
+ declare const NotesListResult: z.ZodObject<{
6800
+ root: z.ZodString;
6801
+ notes: z.ZodArray<z.ZodObject<{
6802
+ path: z.ZodString;
6803
+ label: z.ZodString;
6804
+ folder: z.ZodString;
6805
+ bytes: z.ZodInt;
6806
+ modified_at_ms: z.ZodInt;
6807
+ }, z.core.$strict>>;
6808
+ total: z.ZodInt;
6809
+ }, z.core.$strict>;
6810
+ type NotesListResult = z.output<typeof NotesListResult>;
6811
+ declare const NotesReadParams: z.ZodObject<{
6812
+ path: z.ZodString;
6813
+ }, z.core.$strict>;
6814
+ type NotesReadParams = z.output<typeof NotesReadParams>;
6815
+ declare const NotesReadResult: z.ZodObject<{
6816
+ path: z.ZodString;
6817
+ content: z.ZodString;
6818
+ bytes: z.ZodInt;
6819
+ modified_at_ms: z.ZodInt;
6820
+ hash: z.ZodString;
6821
+ }, z.core.$strict>;
6822
+ type NotesReadResult = z.output<typeof NotesReadResult>;
6823
+ declare const NotesWriteParams: z.ZodObject<{
6824
+ folder: z.ZodDefault<z.ZodString>;
6825
+ label: z.ZodString;
6826
+ content: z.ZodString;
6827
+ if_hash: z.ZodOptional<z.ZodString>;
6828
+ }, z.core.$strict>;
6829
+ type NotesWriteParams = z.output<typeof NotesWriteParams>;
6830
+ declare const NotesWriteResult: z.ZodObject<{
6831
+ path: z.ZodString;
6832
+ bytes: z.ZodInt;
6833
+ created: z.ZodBoolean;
6834
+ hash: z.ZodString;
6835
+ }, z.core.$strict>;
6836
+ type NotesWriteResult = z.output<typeof NotesWriteResult>;
6837
+ declare const NotesSearchParams: z.ZodObject<{
6838
+ query: z.ZodString;
6839
+ limit: z.ZodDefault<z.ZodInt>;
6840
+ }, z.core.$strict>;
6841
+ type NotesSearchParams = z.output<typeof NotesSearchParams>;
6842
+ declare const NotesMatch: z.ZodObject<{
6843
+ path: z.ZodString;
6844
+ label: z.ZodString;
6845
+ folder: z.ZodString;
6846
+ lines: z.ZodArray<z.ZodString>;
6847
+ }, z.core.$strict>;
6848
+ type NotesMatch = z.output<typeof NotesMatch>;
6849
+ declare const NotesSearchResult: z.ZodObject<{
6850
+ matches: z.ZodArray<z.ZodObject<{
6851
+ path: z.ZodString;
6852
+ label: z.ZodString;
6853
+ folder: z.ZodString;
6854
+ lines: z.ZodArray<z.ZodString>;
6855
+ }, z.core.$strict>>;
6856
+ total: z.ZodInt;
6857
+ }, z.core.$strict>;
6858
+ type NotesSearchResult = z.output<typeof NotesSearchResult>;
6859
+
6860
+ /**
6861
+ * @ai-matrx/desktop-protocol — caps documents and entities (SPEC §10 desktop_documents,
6862
+ * desktop_entities): a PDF's text, text in an image (OCR), an image resized, an Office file
6863
+ * written, and the names and private data in a text — all on the computer, nothing uploaded.
6864
+ * Matrx Local's local_media (ocr, resize, pdf_extract, office_generate) and local_ner. Served by
6865
+ * the core's `documents` owner with what the OS already has (macOS: PDFKit, Vision,
6866
+ * NaturalLanguage and sips; Windows: PowerShell; Linux: the usual command-line tools where
6867
+ * installed), answering PLATFORM_UNSUPPORTED, with what to install, where a computer has none.
6868
+ * Schema source: lint-enforced rules in scripts/check-schema-source.mjs. Added in protocol 1.37.
6869
+ */
6870
+
6871
+ /** The most text a documents op returns; longer text is cut and says so (`truncated`). */
6872
+ declare const DOCUMENTS_MAX_TEXT_CHARS: 1048576;
6873
+ declare const DocumentsPdfTextParams: z.ZodObject<{
6874
+ path: z.ZodString;
6875
+ first_page: z.ZodOptional<z.ZodInt>;
6876
+ last_page: z.ZodOptional<z.ZodInt>;
6877
+ max_chars: z.ZodDefault<z.ZodInt>;
6878
+ }, z.core.$strict>;
6879
+ type DocumentsPdfTextParams = z.output<typeof DocumentsPdfTextParams>;
6880
+ declare const DocumentsPdfPage: z.ZodObject<{
6881
+ page: z.ZodInt;
6882
+ text: z.ZodString;
6883
+ }, z.core.$strict>;
6884
+ type DocumentsPdfPage = z.output<typeof DocumentsPdfPage>;
6885
+ declare const DocumentsPdfTextResult: z.ZodObject<{
6886
+ pages: z.ZodInt;
6887
+ read: z.ZodArray<z.ZodObject<{
6888
+ page: z.ZodInt;
6889
+ text: z.ZodString;
6890
+ }, z.core.$strict>>;
6891
+ truncated: z.ZodBoolean;
6892
+ title: z.ZodNullable<z.ZodString>;
6893
+ author: z.ZodNullable<z.ZodString>;
6894
+ }, z.core.$strict>;
6895
+ type DocumentsPdfTextResult = z.output<typeof DocumentsPdfTextResult>;
6896
+ declare const DocumentsOcrParams: z.ZodObject<{
6897
+ path: z.ZodString;
6898
+ languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
6899
+ fast: z.ZodDefault<z.ZodBoolean>;
6900
+ }, z.core.$strict>;
6901
+ type DocumentsOcrParams = z.output<typeof DocumentsOcrParams>;
6902
+ declare const DocumentsOcrLine: z.ZodObject<{
6903
+ text: z.ZodString;
6904
+ confidence: z.ZodNullable<z.ZodNumber>;
6905
+ }, z.core.$strict>;
6906
+ type DocumentsOcrLine = z.output<typeof DocumentsOcrLine>;
6907
+ declare const DocumentsOcrResult: z.ZodObject<{
6908
+ text: z.ZodString;
6909
+ lines: z.ZodArray<z.ZodObject<{
6910
+ text: z.ZodString;
6911
+ confidence: z.ZodNullable<z.ZodNumber>;
6912
+ }, z.core.$strict>>;
6913
+ truncated: z.ZodBoolean;
6914
+ engine: z.ZodString;
6915
+ }, z.core.$strict>;
6916
+ type DocumentsOcrResult = z.output<typeof DocumentsOcrResult>;
6917
+ declare const DocumentsImageResizeParams: z.ZodObject<{
6918
+ path: z.ZodString;
6919
+ out_path: z.ZodOptional<z.ZodString>;
6920
+ max_size: z.ZodOptional<z.ZodInt>;
6921
+ format: z.ZodOptional<z.ZodEnum<{
6922
+ jpeg: "jpeg";
6923
+ png: "png";
6924
+ tiff: "tiff";
6925
+ heic: "heic";
6926
+ bmp: "bmp";
6927
+ gif: "gif";
6928
+ }>>;
6929
+ overwrite: z.ZodDefault<z.ZodBoolean>;
6930
+ }, z.core.$strict>;
6931
+ type DocumentsImageResizeParams = z.output<typeof DocumentsImageResizeParams>;
6932
+ declare const DocumentsImageResizeResult: z.ZodObject<{
6933
+ path: z.ZodString;
6934
+ width: z.ZodInt;
6935
+ height: z.ZodInt;
6936
+ bytes: z.ZodInt;
6937
+ }, z.core.$strict>;
6938
+ type DocumentsImageResizeResult = z.output<typeof DocumentsImageResizeResult>;
6939
+ declare const DocumentsParagraph: z.ZodObject<{
6940
+ style: z.ZodDefault<z.ZodEnum<{
6941
+ code: "code";
6942
+ title: "title";
6943
+ body: "body";
6944
+ quote: "quote";
6945
+ heading1: "heading1";
6946
+ heading2: "heading2";
6947
+ heading3: "heading3";
6948
+ bullet: "bullet";
6949
+ numbered: "numbered";
6950
+ }>>;
6951
+ text: z.ZodString;
6952
+ }, z.core.$strict>;
6953
+ type DocumentsParagraph = z.output<typeof DocumentsParagraph>;
6954
+ declare const DocumentsSheet: z.ZodObject<{
6955
+ name: z.ZodString;
6956
+ rows: z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
6957
+ header: z.ZodDefault<z.ZodBoolean>;
6958
+ }, z.core.$strict>;
6959
+ type DocumentsSheet = z.output<typeof DocumentsSheet>;
6960
+ declare const DocumentsOfficeGenerateParams: z.ZodObject<{
6961
+ kind: z.ZodEnum<{
6962
+ docx: "docx";
6963
+ xlsx: "xlsx";
6964
+ }>;
6965
+ path: z.ZodString;
6966
+ title: z.ZodOptional<z.ZodString>;
6967
+ paragraphs: z.ZodOptional<z.ZodArray<z.ZodObject<{
6968
+ style: z.ZodDefault<z.ZodEnum<{
6969
+ code: "code";
6970
+ title: "title";
6971
+ body: "body";
6972
+ quote: "quote";
6973
+ heading1: "heading1";
6974
+ heading2: "heading2";
6975
+ heading3: "heading3";
6976
+ bullet: "bullet";
6977
+ numbered: "numbered";
6978
+ }>>;
6979
+ text: z.ZodString;
6980
+ }, z.core.$strict>>>;
6981
+ sheets: z.ZodOptional<z.ZodArray<z.ZodObject<{
6982
+ name: z.ZodString;
6983
+ rows: z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
6984
+ header: z.ZodDefault<z.ZodBoolean>;
6985
+ }, z.core.$strict>>>;
6986
+ overwrite: z.ZodDefault<z.ZodBoolean>;
6987
+ }, z.core.$strict>;
6988
+ type DocumentsOfficeGenerateParams = z.output<typeof DocumentsOfficeGenerateParams>;
6989
+ declare const DocumentsOfficeGenerateResult: z.ZodObject<{
6990
+ path: z.ZodString;
6991
+ bytes: z.ZodInt;
6992
+ }, z.core.$strict>;
6993
+ type DocumentsOfficeGenerateResult = z.output<typeof DocumentsOfficeGenerateResult>;
6994
+ declare const EntitiesNerParams: z.ZodObject<{
6995
+ text: z.ZodString;
6996
+ labels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6997
+ organization: "organization";
6998
+ place: "place";
6999
+ person: "person";
7000
+ }>>>;
7001
+ }, z.core.$strict>;
7002
+ type EntitiesNerParams = z.output<typeof EntitiesNerParams>;
7003
+ declare const EntitySpan: z.ZodObject<{
7004
+ text: z.ZodString;
7005
+ label: z.ZodString;
7006
+ start: z.ZodInt;
7007
+ end: z.ZodInt;
7008
+ }, z.core.$strict>;
7009
+ type EntitySpan = z.output<typeof EntitySpan>;
7010
+ declare const EntitiesNerResult: z.ZodObject<{
7011
+ entities: z.ZodArray<z.ZodObject<{
7012
+ text: z.ZodString;
7013
+ label: z.ZodString;
7014
+ start: z.ZodInt;
7015
+ end: z.ZodInt;
7016
+ }, z.core.$strict>>;
7017
+ engine: z.ZodString;
7018
+ }, z.core.$strict>;
7019
+ type EntitiesNerResult = z.output<typeof EntitiesNerResult>;
7020
+ declare const PiiKind: z.ZodEnum<{
7021
+ url: "url";
7022
+ email: "email";
7023
+ phone: "phone";
7024
+ credit_card: "credit_card";
7025
+ us_ssn: "us_ssn";
7026
+ iban: "iban";
7027
+ ip_address: "ip_address";
7028
+ api_key: "api_key";
7029
+ }>;
7030
+ type PiiKind = z.output<typeof PiiKind>;
7031
+ declare const EntitiesPiiParams: z.ZodObject<{
7032
+ text: z.ZodString;
7033
+ kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
7034
+ url: "url";
7035
+ email: "email";
7036
+ phone: "phone";
7037
+ credit_card: "credit_card";
7038
+ us_ssn: "us_ssn";
7039
+ iban: "iban";
7040
+ ip_address: "ip_address";
7041
+ api_key: "api_key";
7042
+ }>>>;
7043
+ redact: z.ZodDefault<z.ZodBoolean>;
7044
+ }, z.core.$strict>;
7045
+ type EntitiesPiiParams = z.output<typeof EntitiesPiiParams>;
7046
+ declare const EntitiesPiiResult: z.ZodObject<{
7047
+ findings: z.ZodArray<z.ZodObject<{
7048
+ kind: z.ZodEnum<{
7049
+ url: "url";
7050
+ email: "email";
7051
+ phone: "phone";
7052
+ credit_card: "credit_card";
7053
+ us_ssn: "us_ssn";
7054
+ iban: "iban";
7055
+ ip_address: "ip_address";
7056
+ api_key: "api_key";
7057
+ }>;
7058
+ text: z.ZodString;
7059
+ start: z.ZodInt;
7060
+ end: z.ZodInt;
7061
+ }, z.core.$strict>>;
7062
+ redacted: z.ZodNullable<z.ZodString>;
7063
+ }, z.core.$strict>;
7064
+ type EntitiesPiiResult = z.output<typeof EntitiesPiiResult>;
7065
+
5793
7066
  /**
5794
7067
  * Version skew is the normal state: a phone, the server and a desktop app in the field run
5795
7068
  * different package versions, and a minor protocol bump must never make any of them fail.
@@ -5876,6 +7149,8 @@ declare const FIELDS_SINCE: {
5876
7149
  };
5877
7150
  readonly AppsProjectsToWindowParams: {
5878
7151
  readonly pin: "1.32";
7152
+ readonly chat_ids: "1.36";
7153
+ readonly take_off_from: "1.36";
5879
7154
  };
5880
7155
  readonly AppsProjectsToWindowResult: {
5881
7156
  readonly pin: "1.32";
@@ -5913,6 +7188,7 @@ declare const REASONS_SINCE: {
5913
7188
  readonly browser_account_mismatch: "1.28";
5914
7189
  readonly browser_connection_off: "1.28";
5915
7190
  readonly awaiting_confirmation: "1.28";
7191
+ readonly tool_disabled_on_device: "1.34";
5916
7192
  };
5917
7193
  /** A device status for a reader at `version`: `since_ms` null ("never") becomes 0 before 1.1. */
5918
7194
  declare function statusForPeer<T extends {
@@ -5942,7 +7218,7 @@ declare function forPeer(op: OpName | null, part: "error", value: unknown, versi
5942
7218
  declare const VERSIONED_RESULT_OPS: readonly OpName[];
5943
7219
 
5944
7220
  /** SHA-256 of generated/desktop-protocol.schema.json: the contract both sides of a service connection were built from. */
5945
- declare const CONTRACT_SHA256: "04a029fc56c9405f376906fc981659997f4617c98bd0b88bb052d1f6d587a7a2";
7221
+ declare const CONTRACT_SHA256: "1091ef68a5cb45a35a85998fc34560b4ddc035fe67d2d34594e935e92a2081dd";
5946
7222
 
5947
7223
  /**
5948
7224
  * The local tool catalog (SPEC §10): every tool a platform agent calls on a person's computer, the
@@ -5974,7 +7250,7 @@ declare const TOOL_GROUPS: readonly ToolGroup[];
5974
7250
  * the tool reads a local path; see `note`).
5975
7251
  */
5976
7252
  type ToolPath = "sandbox_proxy" | "device_op" | "server";
5977
- /** `built`: the ops exist and the tool is registered; `planned`: designed, not built; `broken`: registered but wrong on a device. */
7253
+ /** `built`: the ops exist in the protocol and Matrx 2's core serves them (registered on the platform for agents with the server tool); `planned`: designed, not built; `broken`: registered but wrong on a device. */
5978
7254
  type ToolState = "built" | "planned" | "broken";
5979
7255
  interface CatalogTool {
5980
7256
  /** The platform registry name (`tool.definition.name`). */
@@ -6079,4 +7355,4 @@ declare function toolsSending(op: string): string[];
6079
7355
  */
6080
7356
  declare function sharedOpsBlocking(tool: string, disabledTools: readonly string[]): string[];
6081
7357
 
6082
- export { AbsPath, AccountAgent, AccountAgentsListParams, AccountAgentsListResult, AccountReadState, AccountReset, AccountRowId, AccountUsage, AccountVaultCopyParams, AccountVaultCopyResult, AccountVaultListParams, AccountVaultListResult, AppFeatureStatus, AppInfo, AppKey, AppProfile, AppProfileId, AppProfileLocator, AppSupport, AppUsageReading, AppWindowInfo, AppsAccountsResetsParams, AppsAccountsResetsResult, AppsAccountsUsageParams, AppsAccountsUsageResult, AppsChatsChangedEvent, AppsChatsColdParams, AppsChatsColdResult, AppsChatsListParams, AppsChatsListResult, AppsChatsOpenParams, AppsChatsPlaceParams, AppsChatsPlaceResult, AppsChatsStarParams, AppsChatsStarResult, AppsChatsTitlesCheckParams, AppsChatsTitlesCheckResult, AppsChatsTitlesPushParams, AppsChatsTitlesPushResult, AppsChatsWatchParams, AppsChatsWatchResult, AppsChatsWatchStateEvent, AppsListParams, AppsListResult, AppsOpenParams, AppsOpenResult, AppsProfilesListParams, AppsProfilesListResult, AppsProfilesRemoveParams, AppsProfilesRemoveResult, AppsProfilesSaveParams, AppsProfilesSaveResult, AppsProjectsCopyParams, AppsProjectsCopyResult, AppsProjectsCreateParams, AppsProjectsCreateResult, AppsProjectsFileManyParams, AppsProjectsFileManyResult, AppsProjectsFileParams, AppsProjectsFileResult, AppsProjectsImportPinsParams, AppsProjectsImportPinsResult, AppsProjectsMoveParams, AppsProjectsMoveResult, AppsProjectsToWindowParams, AppsProjectsToWindowResult, AppsProjectsUnfileParams, AppsProjectsUnfileResult, AppsProjectsUpdateParams, AppsProjectsUpdateResult, AppsSpendParams, AppsSpendResult, AppsSyncRunParams, AppsSyncStatusParams, AppsSyncStatusResult, AppsWindowActionResult, AppsWindowsAddParams, AppsWindowsListParams, AppsWindowsListResult, AppsWindowsOpenParams, AppsWindowsProcessesParams, AppsWindowsProcessesResult, AppsWindowsRefreshUsageParams, AppsWindowsReloadParams, AppsWindowsReopenParams, AppsWindowsReopenResult, AppsWindowsRestartParams, AppsWindowsSaveNamesParams, AppsWindowsShownParams, AppsWindowsShownResult, AppsWindowsUpdateAndReopenParams, AppsWindowsUpdateAndReopenResult, AppsWindowsUpdateStateParams, AppsWindowsUpdateStateResult, AudioDevice, AudioDevicesParams, AudioDevicesResult, AudioLevelsParams, AudioLevelsResult, AudioPlayParams, AudioPlayResult, AudioRecordParams, AudioRecordResult, AudioSetLevelsParams, BrowserCallError, BrowserCallParams, BrowserCallPhase, BrowserCallResult, BrowserClientInstance, BrowserDisconnectParams, BrowserDisconnectResult, BrowserInvokeEvent, BrowserKind, BrowserPairCodeParams, BrowserPairCodeResult, BrowserPairRequest, BrowserPairResetParams, BrowserPairResult, BrowserProgressEvent, BrowserProgressParams, BrowserProgressResult, BrowserRegisterParams, BrowserRegisterResult, BrowserResultParams, BrowserResultResult, BrowserSession, BrowserSessionState, BrowserSessionsChangedEvent, BrowserSessionsParams, BrowserSessionsResult, BrowserSetEnabledParams, BrowserSetEnabledResult, CONTRACT_SHA256, type CatalogTool, type CellState, ChatAppProject, ChatFamily, ChatHidden, ChatId, ChatLastUse, ChatPin, ChatPlace, ChatProject, ChatProjectId, ChatRow, ChatRunning, ChatWindow, ClipboardReadParams, ClipboardReadResult, ClipboardWriteParams, ClipboardWriteResult, CodingHistoryBlocked, CodingHistoryFailure, CodingHistoryImportMissingParams, CodingHistoryImportMissingResult, CodingHistoryProgressEvent, CodingHistoryRun, CodingHistoryStep, CodingImportNextParams, CodingPlanMissingParams, CodingServiceCredentials, CodingServiceProgress, ColdChat, ContractHash, CoreToServiceMsg, DEFAULT_MAX_FRAME_PAYLOAD_BYTES, DEFAULT_MAX_MESSAGE_BYTES, DEFAULT_WINDOW_BYTES, DISCOVERY_FILE, DesktopHealth, DeviceId, DiagErrorEntry, DiagErrorKind, DiagErrorStatus, DiagErrorsChangedEvent, DiagErrorsListParams, DiagErrorsListResult, DiagErrorsReportParams, DiagErrorsReportResult, DiagProcess, EXCLUDED_TOOLS, ExecCwdEvent, ExecExitedEvent, ExecJobId, ExecJobInfo, ExecJobListParams, ExecJobListResult, ExecJobOutputParams, ExecJobOutputResult, ExecJobStartParams, ExecJobStartResult, ExecJobStopParams, ExecJobStopResult, ExecListParams, ExecListResult, ExecPtyKillParams, ExecPtyKillResult, ExecPtyResizeParams, ExecPtyResizeResult, ExecPtySignalParams, ExecPtySignalResult, ExecPtyStartParams, ExecPtyStartResult, ExecPtyWriteParams, ExecPtyWriteResult, ExecRunParams, ExecRunResult, ExecTitleEvent, FIELDS_SINCE, type FieldsSincePath, FrameHeader, FsChange, FsChangedEvent, FsCopyParams, FsCopyResult, FsDeleteParams, FsDeleteResult, FsEncoding, FsEntry, FsInfoParams, FsInfoResult, FsKind, FsListParams, FsListResult, FsMkdirParams, FsMkdirResult, FsMoveParams, FsMoveResult, FsPatchEditApplied, FsPatchParams, FsPatchResult, FsReadParams, FsReadResult, FsReadStreamParams, FsReadStreamResult, FsSearchContentParams, FsSearchContentResult, FsSearchIndexParams, FsSearchIndexResult, FsSearchPathsParams, FsSearchPathsResult, FsStatParams, FsStatResult, FsWatchEventsParams, FsWatchEventsResult, FsWatchId, FsWatchParams, FsWatchResult, FsWatchStartParams, FsWatchStartResult, FsWatchStopParams, FsWatchStopResult, FsWriteParams, FsWriteResult, GIT_MAX_OUTPUT_CHARS, GitAddParams, GitBranchParams, GitBranchResult, GitCloneParams, GitCommitParams, GitCommitResult, GitDiffParams, GitDiffResult, GitLogCommit, GitLogParams, GitLogResult, GitOutputResult, GitPullParams, GitPushParams, GitStashParams, GitStatusFile, GitStatusParams, GitStatusResult, InputHotkeyParams, InputHotkeyResult, InputKey, InputKeyboardSettingsParams, InputKeyboardSettingsResult, InputMouseClickParams, InputMouseClickResult, InputMouseMoveParams, InputMouseMoveResult, InputPoint, InputSetKeyboardSettingsParams, InputTypeTextParams, InputTypeTextResult, LEGACY_ACTIONS, LEGACY_DISPATCHERS, type LegacyDisposition, MATRX_EXTENSION_IDS, NULL_SINCE, OpName, OsPermissionName, PROTOCOL_MAJOR, PROTOCOL_MINOR, PROTOCOL_VERSION, PowerEnergy, PowerHistoryParams, PowerHistoryPoint, PowerHistoryResult, PowerPreventSleepParams, PowerPreventSleepResult, PowerStatusParams, PowerStatusResult, ProcInfo, ProcKillParams, ProcKillResult, ProcListParams, ProcListResult, ProcPort, ProcPortsParams, ProcPortsResult, ProcSort, ProjectMoveChat, ProjectMoveGroup, ProjectMovePin, ProjectMoveSkip, ProtocolVersion, PtyInfo, REASONS_SINCE, RELAY_CALL_HELLO_ID, RELAY_CALL_REQUEST_ID, RELAY_CALL_VERSION_HEADER, RelayAuthExpiringEvent, RelayCallEnvelope, RelayCallHello, RelayCallRequest, RelayCallResponse, RelayDeviceStatusEvent, RelayHopConnectionEnd, RelayHopEnvelopeHeader, RelayStatusResponse, RequestId, ResourceId, ResourceInfo, ResourcesActivityParams, ResourcesActivityResult, ResourcesDisk, ResourcesIncident, ResourcesIncidentsParams, ResourcesIncidentsResult, ResourcesJob, ResourcesJobKind, ResourcesPressure, ResourcesProcess, ResourcesSample, ResourcesSnapshotParams, ResourcesSnapshotResult, ResourcesStopJobParams, ResourcesStopJobResult, ResourcesStrain, ResourcesVerdict, SERVICE_MAX_FRAME_BYTES, ScreenCaptureParams, ScreenCaptureResult, ScreenDisplay, ScreenListParams, ScreenListResult, ServiceCancel, ServiceErrorMsg, ServiceHello, ServiceName, ServicePing, ServicePong, ServiceProgressMsg, ServiceRequest, ServiceResponse, ServiceShutdown, ServiceToCoreMsg, ServiceToken, ServiceWelcome, SessionAttachParams, SessionAttachResult, SessionControlChangedEvent, SessionDetachParams, SessionDetachResult, SessionListParams, SessionListResult, SessionReleaseParams, SessionReleaseResult, ShownSection, Signal, SpendAccount, SpendChat, SpendDay, SpendHelper, SpendIdle, SpendIdleScope, SpendLive, SpendModel, SpendScopes, SpendSplit, SpendStart, StackErrorsParams, StackErrorsResult, StackEvent, StackLogsParams, StackLogsResult, StackRunResult, StackServer, StackServerActionParams, StackServerActionResult, StackServerName, StackStartParams, StackStateParams, StackStateResult, StackStopParams, StackTone, StaleTitleWindow, type StatusCell, type StatusEvidence, type StatusRow, SysinfoGetParams, SysinfoGetResult, SysinfoHardwareParams, SysinfoHardwareResult, SystemNotifyParams, SystemNotifyResult, SystemOpenPathParams, SystemOpenPathResult, SystemOpenSettingsParams, SystemOpenSettingsResult, SystemOpenUrlParams, SystemOpenUrlResult, SystemSettingsPane, TOOL_CATALOG, TOOL_GROUPS, TOOL_LEVELS, TOOL_PLATFORMS, TitleCopies, TitleMismatch, type ToolGroup, type ToolGroupId, ToolLevel, ToolLevelResult, ToolName, ToolOutcome, type ToolPath, ToolPlatform, ToolResultsFile, type ToolState, type ToolStatus, ToolTransport, ToolsServiceProgress, ToolsWebSearchParams, VERSIONED_RESULT_OPS, VaultFieldSummary, VaultItemKind, VaultItemSummary, WEB_MAX_TEXT_CHARS, WebBrowserFetchParams, WebBrowserFetchResult, WebFetchParams, WebFetchResult, WebHeader, WebScrapePage, WebScrapeParams, WebScrapeResult, WebSearchHit, WebSearchParams, WebSearchQueryResult, WebSearchResult, WindowFocusParams, WindowFocusResult, WindowInfo, WindowListParams, WindowListResult, WindowMinimizeParams, WindowMinimizeResult, WindowMoveParams, WindowMoveResult, announcedVersion, buildToolStatus, builtOps, compareVersions, epochMs, forPeer, knows, negotiate, nonNegInt, refusedOps, renderToolStatusMarkdown, sharedOpsBlocking, statusForPeer, toolsSending, u32, versionSubprotocol };
7358
+ export { AbsPath, AccountAgent, AccountAgentsListParams, AccountAgentsListResult, AccountReadState, AccountReset, AccountRowId, AccountUsage, AccountVaultCopyParams, AccountVaultCopyResult, AccountVaultListParams, AccountVaultListResult, AppFeatureStatus, AppInfo, AppKey, AppProfile, AppProfileId, AppProfileLocator, AppSupport, AppUsageReading, AppWindowInfo, AppsAccountsResetsParams, AppsAccountsResetsResult, AppsAccountsUsageParams, AppsAccountsUsageResult, AppsChatsChangedEvent, AppsChatsColdParams, AppsChatsColdResult, AppsChatsListParams, AppsChatsListResult, AppsChatsOpenParams, AppsChatsPlaceParams, AppsChatsPlaceResult, AppsChatsStarParams, AppsChatsStarResult, AppsChatsTitlesCheckParams, AppsChatsTitlesCheckResult, AppsChatsTitlesPushParams, AppsChatsTitlesPushResult, AppsChatsWatchParams, AppsChatsWatchResult, AppsChatsWatchStateEvent, AppsListParams, AppsListResult, AppsOpenParams, AppsOpenResult, AppsProfilesListParams, AppsProfilesListResult, AppsProfilesRemoveParams, AppsProfilesRemoveResult, AppsProfilesSaveParams, AppsProfilesSaveResult, AppsProjectsCopyParams, AppsProjectsCopyResult, AppsProjectsCreateParams, AppsProjectsCreateResult, AppsProjectsFileManyParams, AppsProjectsFileManyResult, AppsProjectsFileParams, AppsProjectsFileResult, AppsProjectsImportPinsParams, AppsProjectsImportPinsResult, AppsProjectsMoveParams, AppsProjectsMoveResult, AppsProjectsToWindowParams, AppsProjectsToWindowResult, AppsProjectsUnfileParams, AppsProjectsUnfileResult, AppsProjectsUpdateParams, AppsProjectsUpdateResult, AppsSpendParams, AppsSpendResult, AppsSyncRunParams, AppsSyncStatusParams, AppsSyncStatusResult, AppsWindowActionResult, AppsWindowsAddParams, AppsWindowsListParams, AppsWindowsListResult, AppsWindowsOpenParams, AppsWindowsProcessesParams, AppsWindowsProcessesResult, AppsWindowsRefreshUsageParams, AppsWindowsReloadParams, AppsWindowsReopenParams, AppsWindowsReopenResult, AppsWindowsRestartParams, AppsWindowsSaveNamesParams, AppsWindowsShownParams, AppsWindowsShownResult, AppsWindowsUpdateAndReopenParams, AppsWindowsUpdateAndReopenResult, AppsWindowsUpdateStateParams, AppsWindowsUpdateStateResult, AudioDevice, AudioDevicesParams, AudioDevicesResult, AudioLevelsParams, AudioLevelsResult, AudioPlayParams, AudioPlayResult, AudioRecordParams, AudioRecordResult, AudioSetLevelsParams, AutomationScriptParams, AutomationScriptResult, BrowserCallError, BrowserCallParams, BrowserCallPhase, BrowserCallResult, BrowserClientInstance, BrowserDisconnectParams, BrowserDisconnectResult, BrowserInvokeEvent, BrowserKind, BrowserLogMessage, BrowserLogParams, BrowserLogResult, BrowserPairCodeParams, BrowserPairCodeResult, BrowserPairRequest, BrowserPairResetParams, BrowserPairResult, BrowserProgressEvent, BrowserProgressParams, BrowserProgressResult, BrowserRegisterParams, BrowserRegisterResult, BrowserResetCountersParams, BrowserResetCountersResult, BrowserResultParams, BrowserResultResult, BrowserSession, BrowserSessionState, BrowserSessionsChangedEvent, BrowserSessionsParams, BrowserSessionsResult, BrowserSetEnabledParams, BrowserSetEnabledResult, BrowserToolMetric, BrowserToolMetricsParams, BrowserToolMetricsResult, CONTRACT_SHA256, CalendarCreateParams, CalendarCreateResult, CalendarEvent, CalendarListParams, CalendarListResult, type CatalogTool, type CellState, ChatAppProject, ChatFamily, ChatHidden, ChatId, ChatLastUse, ChatPin, ChatPlace, ChatProject, ChatProjectId, ChatRow, ChatRunning, ChatWindow, ClipboardReadParams, ClipboardReadResult, ClipboardWriteParams, ClipboardWriteResult, CodingHistoryBlocked, CodingHistoryFailure, CodingHistoryImportMissingParams, CodingHistoryImportMissingResult, CodingHistoryProgressEvent, CodingHistoryRun, CodingHistoryStep, CodingImportNextParams, CodingPlanMissingParams, CodingServiceCredentials, CodingServiceProgress, ColdChat, ContactDetail, ContactLabeled, ContactSummary, ContactsGetParams, ContactsGetResult, ContactsSearchParams, ContactsSearchResult, ContractHash, CoreToServiceMsg, DEFAULT_MAX_FRAME_PAYLOAD_BYTES, DEFAULT_MAX_MESSAGE_BYTES, DEFAULT_WINDOW_BYTES, DISCOVERY_FILE, DOCUMENTS_MAX_TEXT_CHARS, DesktopHealth, DeviceId, DiagErrorEntry, DiagErrorKind, DiagErrorStatus, DiagErrorsChangedEvent, DiagErrorsListParams, DiagErrorsListResult, DiagErrorsReportParams, DiagErrorsReportResult, DiagProcess, DocumentsImageResizeParams, DocumentsImageResizeResult, DocumentsOcrLine, DocumentsOcrParams, DocumentsOcrResult, DocumentsOfficeGenerateParams, DocumentsOfficeGenerateResult, DocumentsParagraph, DocumentsPdfPage, DocumentsPdfTextParams, DocumentsPdfTextResult, DocumentsSheet, EXCLUDED_TOOLS, EntitiesNerParams, EntitiesNerResult, EntitiesPiiParams, EntitiesPiiResult, EntitySpan, ExecCwdEvent, ExecExitedEvent, ExecJobId, ExecJobInfo, ExecJobListParams, ExecJobListResult, ExecJobOutputParams, ExecJobOutputResult, ExecJobStartParams, ExecJobStartResult, ExecJobStopParams, ExecJobStopResult, ExecListParams, ExecListResult, ExecPtyKillParams, ExecPtyKillResult, ExecPtyResizeParams, ExecPtyResizeResult, ExecPtySignalParams, ExecPtySignalResult, ExecPtyStartParams, ExecPtyStartResult, ExecPtyWriteParams, ExecPtyWriteResult, ExecRunParams, ExecRunResult, ExecTitleEvent, FIELDS_SINCE, type FieldsSincePath, FrameHeader, FsChange, FsChangedEvent, FsCopyParams, FsCopyResult, FsDeleteParams, FsDeleteResult, FsEncoding, FsEntry, FsInfoParams, FsInfoResult, FsKind, FsListParams, FsListResult, FsMkdirParams, FsMkdirResult, FsMoveParams, FsMoveResult, FsPatchEditApplied, FsPatchParams, FsPatchResult, FsReadParams, FsReadResult, FsReadStreamParams, FsReadStreamResult, FsSearchContentParams, FsSearchContentResult, FsSearchIndexParams, FsSearchIndexResult, FsSearchPathsParams, FsSearchPathsResult, FsStatParams, FsStatResult, FsWatchEventsParams, FsWatchEventsResult, FsWatchId, FsWatchParams, FsWatchResult, FsWatchStartParams, FsWatchStartResult, FsWatchStopParams, FsWatchStopResult, FsWriteParams, FsWriteResult, GIT_MAX_OUTPUT_CHARS, GitAddParams, GitBranchParams, GitBranchResult, GitCloneParams, GitCommitParams, GitCommitResult, GitDiffParams, GitDiffResult, GitLogCommit, GitLogParams, GitLogResult, GitOutputResult, GitPullParams, GitPushParams, GitStashParams, GitStatusFile, GitStatusParams, GitStatusResult, InputHotkeyParams, InputHotkeyResult, InputKey, InputKeyboardSettingsParams, InputKeyboardSettingsResult, InputMouseClickParams, InputMouseClickResult, InputMouseMoveParams, InputMouseMoveResult, InputPoint, InputSetKeyboardSettingsParams, InputTypeTextParams, InputTypeTextResult, LEGACY_ACTIONS, LEGACY_DISPATCHERS, type LegacyDisposition, LocationGetParams, LocationGetResult, MATRX_EXTENSION_IDS, MailAccount, MailAccountsParams, MailAccountsResult, MailListParams, MailListResult, MailMessage, MailSendParams, MailSendResult, MessagesChat, MessagesChatsParams, MessagesChatsResult, MessagesListParams, MessagesListResult, MessagesMessage, MessagesSendParams, MessagesSendResult, NULL_SINCE, NetAddress, NetBluetoothDevice, NetBluetoothParams, NetBluetoothResult, NetDevice, NetDevicesParams, NetDevicesResult, NetDownloadParams, NetDownloadResult, NetInfoParams, NetInfoResult, NetInterface, NetMdnsParams, NetMdnsResult, NetMdnsService, NetScanParams, NetScanResult, NetWifiNetwork, NetWifiParams, NetWifiResult, NoteEntry, NotesFolder, NotesFoldersParams, NotesFoldersResult, NotesListParams, NotesListResult, NotesMatch, NotesReadParams, NotesReadResult, NotesSearchParams, NotesSearchResult, NotesWriteParams, NotesWriteResult, OpName, OsPermissionName, PROTOCOL_MAJOR, PROTOCOL_MINOR, PROTOCOL_VERSION, Photo, PhotosGetParams, PhotosGetResult, PhotosSearchParams, PhotosSearchResult, PiiKind, PowerEnergy, PowerHistoryParams, PowerHistoryPoint, PowerHistoryResult, PowerPreventSleepParams, PowerPreventSleepResult, PowerStatusParams, PowerStatusResult, ProcInfo, ProcKillParams, ProcKillResult, ProcListParams, ProcListResult, ProcPort, ProcPortsParams, ProcPortsResult, ProcSort, ProjectMoveChat, ProjectMoveGroup, ProjectMovePin, ProjectMoveSkip, ProtocolVersion, PtyInfo, REASONS_SINCE, RELAY_CALL_HELLO_ID, RELAY_CALL_REQUEST_ID, RELAY_CALL_VERSION_HEADER, RegistryValue, RegistryValueType, RelayAuthExpiringEvent, RelayCallEnvelope, RelayCallHello, RelayCallRequest, RelayCallResponse, RelayDeviceStatusEvent, RelayHopConnectionEnd, RelayHopEnvelopeHeader, RelayStatusResponse, Reminder, RemindersCreateParams, RemindersCreateResult, RemindersListParams, RemindersListResult, RequestId, ResourceId, ResourceInfo, ResourcesActivityParams, ResourcesActivityResult, ResourcesDisk, ResourcesIncident, ResourcesIncidentsParams, ResourcesIncidentsResult, ResourcesJob, ResourcesJobKind, ResourcesPressure, ResourcesProcess, ResourcesSample, ResourcesSnapshotParams, ResourcesSnapshotResult, ResourcesStopJobParams, ResourcesStopJobResult, ResourcesStrain, ResourcesVerdict, SERVICE_MAX_FRAME_BYTES, ScheduleCancelParams, ScheduleCancelResult, ScheduleCreateParams, ScheduleCreateResult, ScheduleListParams, ScheduleListResult, ScheduleRun, ScheduledTask, ScreenCaptureParams, ScreenCaptureResult, ScreenDisplay, ScreenListParams, ScreenListResult, ServiceCancel, ServiceErrorMsg, ServiceHello, ServiceName, ServicePing, ServicePong, ServiceProgressMsg, ServiceRequest, ServiceResponse, ServiceShutdown, ServiceToCoreMsg, ServiceToken, ServiceWelcome, SessionAttachParams, SessionAttachResult, SessionControlChangedEvent, SessionDetachParams, SessionDetachResult, SessionListParams, SessionListResult, SessionReleaseParams, SessionReleaseResult, ShownSection, Signal, SpendAccount, SpendChat, SpendDay, SpendHelper, SpendIdle, SpendIdleScope, SpendLive, SpendModel, SpendScopes, SpendSplit, SpendStart, StackErrorsParams, StackErrorsResult, StackEvent, StackLogsParams, StackLogsResult, StackRunResult, StackServer, StackServerActionParams, StackServerActionResult, StackServerName, StackStartParams, StackStateParams, StackStateResult, StackStopParams, StackTone, StaleTitleWindow, type StatusCell, type StatusEvidence, type StatusRow, SysinfoGetParams, SysinfoGetResult, SysinfoHardwareParams, SysinfoHardwareResult, SystemNotifyParams, SystemNotifyResult, SystemOpenPathParams, SystemOpenPathResult, SystemOpenSettingsParams, SystemOpenSettingsResult, SystemOpenUrlParams, SystemOpenUrlResult, SystemSettingsPane, TOOL_CATALOG, TOOL_GROUPS, TOOL_LEVELS, TOOL_PLATFORMS, TitleCopies, TitleMismatch, type ToolGroup, type ToolGroupId, ToolLevel, ToolLevelResult, ToolName, ToolOutcome, type ToolPath, ToolPlatform, ToolResultsFile, type ToolState, type ToolStatus, ToolTransport, ToolsServiceProgress, ToolsWebSearchParams, VERSIONED_RESULT_OPS, VaultFieldSummary, VaultItemKind, VaultItemSummary, WEB_MAX_TEXT_CHARS, WebBrowserFetchParams, WebBrowserFetchResult, WebFetchParams, WebFetchResult, WebHeader, WebScrapePage, WebScrapeParams, WebScrapeResult, WebSearchHit, WebSearchParams, WebSearchQueryResult, WebSearchResult, WindowFocusParams, WindowFocusResult, WindowInfo, WindowListParams, WindowListResult, WindowMinimizeParams, WindowMinimizeResult, WindowMoveParams, WindowMoveResult, WindowsEvent, WindowsEventLogParams, WindowsEventLogResult, WindowsFeature, WindowsFeaturesParams, WindowsFeaturesResult, WindowsRegistryReadParams, WindowsRegistryReadResult, WindowsRegistryWriteParams, WindowsRegistryWriteResult, WindowsService, WindowsServiceControlParams, WindowsServiceControlResult, WindowsServicesParams, WindowsServicesResult, announcedVersion, buildToolStatus, builtOps, compareVersions, epochMs, forPeer, knows, negotiate, nonNegInt, refusedOps, renderToolStatusMarkdown, sharedOpsBlocking, statusForPeer, toolsSending, u32, versionSubprotocol };