@ai-matrx/desktop-protocol 0.21.25 → 0.21.27

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-CXjW101n.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 MlInstallPhase, A as MlInstallProgress, f as MlProgress, G as MlRuntimeState, I as MlServiceState, J as MlServiceStatus, K as MlStatusParams, N as MlStatusResult, P as ModelsInstallParams, Q as ModelsInstallResult, R as ModelsProgressEvent, U as ModelsStatusParams, V as ModelsStatusResult, X as ModelsTranscribeParams, M as ModelsTranscribeResult, Y as NAMED_SCHEMAS, Z as NamedSchemaId, c as OPS, _ as OpDescriptor, a as OpParams, b as OpResult, $ as OpSpec, a0 as PING_TEXT, a1 as PONG_TEXT, a2 as ProtocolErrorBody, a3 as RelayMsg, a4 as RequestMsg, a5 as ResponseMsg, a6 as SERVICES, a7 as SUBPROTOCOL, a8 as ServiceId, a9 as ServiceOpName, aa as ServiceOpSpec, ab as ServiceSpec, S as StreamMeta, ac as StreamMsg, ad as TranscriptSegment, T as TranscriptionModelId, ae as TranscriptionModelInfo, W as Welcome, af as closeRule, i as isDesktopProtocolError, ag as isTerminalClose } from './models-CXjW101n.cjs';
2
+ import { O as OpName } from './models-BJsUM5sC.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-BJsUM5sC.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. */
@@ -55,10 +55,18 @@ declare const PROTOCOL_MAJOR: 1;
55
55
  * and the browser_* / awaiting_confirmation error reasons (REASONS_SINCE).
56
56
  * 1.29 — one name per chat in every window: apps.chats.titles_check (each chat's right name and
57
57
  * the windows where it differs) and apps.chats.titles_push (write it into every copy).
58
+ * 1.30 — Finder's file commands: fs.copy (Duplicate, Copy and Paste), fs.search_index (search
59
+ * "This Mac" through the OS's index) and fs.info (Get Info's created, owner, size on disk,
60
+ * item count and flags).
61
+ * 1.31 — language models on this computer (Confidential Chat's engine): models.llm.status,
62
+ * models.llm.install, models.llm.start and models.llm.stop (llama-server, one model at a
63
+ * time; status names the loopback port, never a URL).
64
+ * 1.32 — apps.projects.to_window `pin`: pin the moved chats in the target window, now when it is
65
+ * closed, else queued for its next close (result `pin`: when, pinned, already, queued).
58
66
  */
59
- declare const PROTOCOL_MINOR: 29;
67
+ declare const PROTOCOL_MINOR: 32;
60
68
  /** This package's version as the wire spells it ("major.minor"): hello, welcome, relay status. */
61
- declare const PROTOCOL_VERSION: "1.29";
69
+ declare const PROTOCOL_VERSION: "1.32";
62
70
  /** Internal building blocks — deliberately unnamed in $defs (inlined wherever used). */
63
71
  declare const u32: z.ZodInt;
64
72
  declare const nonNegInt: z.ZodInt;
@@ -390,6 +398,90 @@ declare const FsMoveResult: z.ZodObject<{
390
398
  to_path: z.ZodString;
391
399
  }, z.core.$strict>;
392
400
  type FsMoveResult = z.output<typeof FsMoveResult>;
401
+ /**
402
+ * Copy a file or a whole folder (Finder's Duplicate, Copy and Paste, ⌥-drag). Desktop only (1.30):
403
+ * the daemon has no copy. Timestamps and permission bits are kept, symlinks are copied as links.
404
+ * A name already at `to_path` is CONFLICT/already_exists unless `overwrite`; replacing a folder
405
+ * with a file (or the reverse) is CONFLICT/is_a_directory; copying a folder into itself is
406
+ * INVALID_PARAMS (no reason). A replaced item goes to the Trash first, as Finder's Replace.
407
+ */
408
+ declare const FsCopyParams: z.ZodObject<{
409
+ from_path: z.ZodString;
410
+ to_path: z.ZodString;
411
+ overwrite: z.ZodDefault<z.ZodBoolean>;
412
+ }, z.core.$strict>;
413
+ type FsCopyParams = z.output<typeof FsCopyParams>;
414
+ declare const FsCopyResult: z.ZodObject<{
415
+ from_path: z.ZodString;
416
+ to_path: z.ZodString;
417
+ }, z.core.$strict>;
418
+ type FsCopyResult = z.output<typeof FsCopyResult>;
419
+ /**
420
+ * Finder's Get Info facts beyond fs.stat (1.30): when it was made, who owns it, its size on disk
421
+ * (a folder's whole tree, bounded), how many items a folder holds, and its flags. null = the OS
422
+ * does not say (or the bound was hit before the folder's size was known).
423
+ */
424
+ declare const FsInfoParams: z.ZodObject<{
425
+ path: z.ZodString;
426
+ }, z.core.$strict>;
427
+ type FsInfoParams = z.output<typeof FsInfoParams>;
428
+ declare const FsInfoResult: z.ZodObject<{
429
+ entry: z.ZodObject<{
430
+ name: z.ZodString;
431
+ path: z.ZodString;
432
+ kind: z.ZodEnum<{
433
+ file: "file";
434
+ dir: "dir";
435
+ symlink: "symlink";
436
+ }>;
437
+ size: z.ZodInt;
438
+ mtime: z.ZodNumber;
439
+ mode: z.ZodInt;
440
+ target: z.ZodNullable<z.ZodString>;
441
+ }, z.core.$strict>;
442
+ created: z.ZodNullable<z.ZodNumber>;
443
+ owner: z.ZodNullable<z.ZodString>;
444
+ group: z.ZodNullable<z.ZodString>;
445
+ total_size: z.ZodNullable<z.ZodInt>;
446
+ size_on_disk: z.ZodNullable<z.ZodInt>;
447
+ items: z.ZodNullable<z.ZodInt>;
448
+ hidden: z.ZodBoolean;
449
+ locked: z.ZodNullable<z.ZodBoolean>;
450
+ read_only: z.ZodBoolean;
451
+ }, z.core.$strict>;
452
+ type FsInfoResult = z.output<typeof FsInfoResult>;
453
+ /**
454
+ * Search the computer's own index by name (Finder's "This Mac", 1.30): Spotlight on macOS; elsewhere,
455
+ * or when the index answers nothing usable, a bounded walk of `scope` (or the home folder). `source`
456
+ * says which one answered. Entries are FsEntry (never following links), most relevant first.
457
+ */
458
+ declare const FsSearchIndexParams: z.ZodObject<{
459
+ query: z.ZodString;
460
+ scope: z.ZodOptional<z.ZodString>;
461
+ max_results: z.ZodDefault<z.ZodInt>;
462
+ }, z.core.$strict>;
463
+ type FsSearchIndexParams = z.output<typeof FsSearchIndexParams>;
464
+ declare const FsSearchIndexResult: z.ZodObject<{
465
+ entries: z.ZodArray<z.ZodObject<{
466
+ name: z.ZodString;
467
+ path: z.ZodString;
468
+ kind: z.ZodEnum<{
469
+ file: "file";
470
+ dir: "dir";
471
+ symlink: "symlink";
472
+ }>;
473
+ size: z.ZodInt;
474
+ mtime: z.ZodNumber;
475
+ mode: z.ZodInt;
476
+ target: z.ZodNullable<z.ZodString>;
477
+ }, z.core.$strict>>;
478
+ truncated: z.ZodBoolean;
479
+ source: z.ZodEnum<{
480
+ index: "index";
481
+ walk: "walk";
482
+ }>;
483
+ }, z.core.$strict>;
484
+ type FsSearchIndexResult = z.output<typeof FsSearchIndexResult>;
393
485
  /**
394
486
  * Delete. Default goes to the OS Trash (Finder/Explorer semantics: undoable from the phone's
395
487
  * "Undo" toast via fs.move back). to_trash:false is a permanent delete — the daemon's behaviour,
@@ -805,8 +897,8 @@ type ExecCwdEvent = z.output<typeof ExecCwdEvent>;
805
897
  declare const SessionAttachParams: z.ZodObject<{
806
898
  resource_id: z.ZodString;
807
899
  mode: z.ZodDefault<z.ZodEnum<{
808
- control: "control";
809
900
  read_only: "read_only";
901
+ control: "control";
810
902
  }>>;
811
903
  since_seq: z.ZodOptional<z.ZodInt>;
812
904
  window_bytes: z.ZodOptional<z.ZodInt>;
@@ -957,8 +1049,8 @@ type SessionListResult = z.output<typeof SessionListResult>;
957
1049
  declare const SessionControlChangedEvent: z.ZodObject<{
958
1050
  controller_client_id: z.ZodNullable<z.ZodString>;
959
1051
  your_mode: z.ZodEnum<{
960
- control: "control";
961
1052
  read_only: "read_only";
1053
+ control: "control";
962
1054
  }>;
963
1055
  }, z.core.$strict>;
964
1056
  type SessionControlChangedEvent = z.output<typeof SessionControlChangedEvent>;
@@ -2850,6 +2942,7 @@ declare const AppsProjectsToWindowParams: z.ZodObject<{
2850
2942
  window: z.ZodString;
2851
2943
  take_off: z.ZodDefault<z.ZodBoolean>;
2852
2944
  group: z.ZodDefault<z.ZodBoolean>;
2945
+ pin: z.ZodOptional<z.ZodBoolean>;
2853
2946
  dry_run: z.ZodDefault<z.ZodBoolean>;
2854
2947
  }, z.core.$strict>;
2855
2948
  type AppsProjectsToWindowParams = z.output<typeof AppsProjectsToWindowParams>;
@@ -2886,9 +2979,37 @@ declare const AppsProjectsToWindowResult: z.ZodObject<{
2886
2979
  from_other_groups: z.ZodOptional<z.ZodInt>;
2887
2980
  group_exists: z.ZodOptional<z.ZodBoolean>;
2888
2981
  }, z.core.$strict>>;
2982
+ pin: z.ZodOptional<z.ZodObject<{
2983
+ ok: z.ZodBoolean;
2984
+ when: z.ZodEnum<{
2985
+ now: "now";
2986
+ next_close: "next_close";
2987
+ }>;
2988
+ pinned: z.ZodInt;
2989
+ already: z.ZodInt;
2990
+ queued: z.ZodInt;
2991
+ reason: z.ZodOptional<z.ZodString>;
2992
+ }, z.core.$strict>>;
2889
2993
  message: z.ZodString;
2890
2994
  }, z.core.$strict>;
2891
2995
  type AppsProjectsToWindowResult = z.output<typeof AppsProjectsToWindowResult>;
2996
+ /**
2997
+ * 1.32: pinning them in the target window. A window's pins are its own list (Claude's settings
2998
+ * file), written only while that window is closed; for an open window they are queued and written
2999
+ * when it next closes. Counts are what happened (or, on a dry run, what would): never a claimed pin.
3000
+ */
3001
+ declare const ProjectMovePin: z.ZodObject<{
3002
+ ok: z.ZodBoolean;
3003
+ when: z.ZodEnum<{
3004
+ now: "now";
3005
+ next_close: "next_close";
3006
+ }>;
3007
+ pinned: z.ZodInt;
3008
+ already: z.ZodInt;
3009
+ queued: z.ZodInt;
3010
+ reason: z.ZodOptional<z.ZodString>;
3011
+ }, z.core.$strict>;
3012
+ type ProjectMovePin = z.output<typeof ProjectMovePin>;
2892
3013
  /** Quit and reopen a window; refused (CONFLICT) while chats are open in it unless `force`. */
2893
3014
  /**
2894
3015
  * What a window's sidebar draws right now (read-only: Accessibility, no focus, no input). A closed
@@ -5739,6 +5860,12 @@ declare const FIELDS_SINCE: {
5739
5860
  readonly AppsWindowsUpdateStateResult: {
5740
5861
  readonly closed_by_update: "1.27";
5741
5862
  };
5863
+ readonly AppsProjectsToWindowParams: {
5864
+ readonly pin: "1.32";
5865
+ };
5866
+ readonly AppsProjectsToWindowResult: {
5867
+ readonly pin: "1.32";
5868
+ };
5742
5869
  };
5743
5870
  type FieldsSincePath = keyof typeof FIELDS_SINCE;
5744
5871
  /**
@@ -5798,7 +5925,7 @@ declare function forPeer(op: OpName | null, part: "error", value: unknown, versi
5798
5925
  declare const VERSIONED_RESULT_OPS: readonly OpName[];
5799
5926
 
5800
5927
  /** SHA-256 of generated/desktop-protocol.schema.json: the contract both sides of a service connection were built from. */
5801
- declare const CONTRACT_SHA256: "5994ab9f6c2dba636a90e18c99bd3a90736f23782b3f8df9e0d2d7234b8e2b1b";
5928
+ declare const CONTRACT_SHA256: "ee8e6c98c76f3557f832157e3b2b21bb23ebb74b67b79151f3b9ff788f5273ee";
5802
5929
 
5803
5930
  /**
5804
5931
  * The local tool catalog (SPEC §10): every tool a platform agent calls on a person's computer, the
@@ -5925,4 +6052,14 @@ declare function buildToolStatus(files: readonly unknown[], opts: {
5925
6052
  /** The committed text form. Columns: per platform, the three levels (P = programmatic, R = protocol, C = chat). */
5926
6053
  declare function renderToolStatusMarkdown(status: ToolStatus): string;
5927
6054
 
5928
- 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, FsDeleteParams, FsDeleteResult, FsEncoding, FsEntry, FsKind, FsListParams, FsListResult, FsMkdirParams, FsMkdirResult, FsMoveParams, FsMoveResult, FsPatchEditApplied, FsPatchParams, FsPatchResult, FsReadParams, FsReadResult, FsReadStreamParams, FsReadStreamResult, FsSearchContentParams, FsSearchContentResult, 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, 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, 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, renderToolStatusMarkdown, statusForPeer, u32, versionSubprotocol };
6055
+ /** The ops refused when these tools are off: those every sending tool has turned off. */
6056
+ declare function refusedOps(disabledTools: readonly string[]): ReadonlySet<string>;
6057
+ /** The catalog tools that send this op. */
6058
+ declare function toolsSending(op: string): string[];
6059
+ /**
6060
+ * For one tool switched off: the tools still on that keep ALL its ops open (turning it off alone
6061
+ * stops nothing until they are off too). Empty when turning it off stops at least one op.
6062
+ */
6063
+ declare function sharedOpsBlocking(tool: string, disabledTools: readonly string[]): string[];
6064
+
6065
+ 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, 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 };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { O as OpName } from './models-CXjW101n.js';
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 MlInstallPhase, A as MlInstallProgress, f as MlProgress, G as MlRuntimeState, I as MlServiceState, J as MlServiceStatus, K as MlStatusParams, N as MlStatusResult, P as ModelsInstallParams, Q as ModelsInstallResult, R as ModelsProgressEvent, U as ModelsStatusParams, V as ModelsStatusResult, X as ModelsTranscribeParams, M as ModelsTranscribeResult, Y as NAMED_SCHEMAS, Z as NamedSchemaId, c as OPS, _ as OpDescriptor, a as OpParams, b as OpResult, $ as OpSpec, a0 as PING_TEXT, a1 as PONG_TEXT, a2 as ProtocolErrorBody, a3 as RelayMsg, a4 as RequestMsg, a5 as ResponseMsg, a6 as SERVICES, a7 as SUBPROTOCOL, a8 as ServiceId, a9 as ServiceOpName, aa as ServiceOpSpec, ab as ServiceSpec, S as StreamMeta, ac as StreamMsg, ad as TranscriptSegment, T as TranscriptionModelId, ae as TranscriptionModelInfo, W as Welcome, af as closeRule, i as isDesktopProtocolError, ag as isTerminalClose } from './models-CXjW101n.js';
2
+ import { O as OpName } from './models-BJsUM5sC.js';
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-BJsUM5sC.js';
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.js';
5
5
 
6
6
  /** @ai-matrx/desktop-protocol — version and primitive schemas. Schema source: lint-enforced rules in scripts/check-schema-source.mjs. */
@@ -55,10 +55,18 @@ declare const PROTOCOL_MAJOR: 1;
55
55
  * and the browser_* / awaiting_confirmation error reasons (REASONS_SINCE).
56
56
  * 1.29 — one name per chat in every window: apps.chats.titles_check (each chat's right name and
57
57
  * the windows where it differs) and apps.chats.titles_push (write it into every copy).
58
+ * 1.30 — Finder's file commands: fs.copy (Duplicate, Copy and Paste), fs.search_index (search
59
+ * "This Mac" through the OS's index) and fs.info (Get Info's created, owner, size on disk,
60
+ * item count and flags).
61
+ * 1.31 — language models on this computer (Confidential Chat's engine): models.llm.status,
62
+ * models.llm.install, models.llm.start and models.llm.stop (llama-server, one model at a
63
+ * time; status names the loopback port, never a URL).
64
+ * 1.32 — apps.projects.to_window `pin`: pin the moved chats in the target window, now when it is
65
+ * closed, else queued for its next close (result `pin`: when, pinned, already, queued).
58
66
  */
59
- declare const PROTOCOL_MINOR: 29;
67
+ declare const PROTOCOL_MINOR: 32;
60
68
  /** This package's version as the wire spells it ("major.minor"): hello, welcome, relay status. */
61
- declare const PROTOCOL_VERSION: "1.29";
69
+ declare const PROTOCOL_VERSION: "1.32";
62
70
  /** Internal building blocks — deliberately unnamed in $defs (inlined wherever used). */
63
71
  declare const u32: z.ZodInt;
64
72
  declare const nonNegInt: z.ZodInt;
@@ -390,6 +398,90 @@ declare const FsMoveResult: z.ZodObject<{
390
398
  to_path: z.ZodString;
391
399
  }, z.core.$strict>;
392
400
  type FsMoveResult = z.output<typeof FsMoveResult>;
401
+ /**
402
+ * Copy a file or a whole folder (Finder's Duplicate, Copy and Paste, ⌥-drag). Desktop only (1.30):
403
+ * the daemon has no copy. Timestamps and permission bits are kept, symlinks are copied as links.
404
+ * A name already at `to_path` is CONFLICT/already_exists unless `overwrite`; replacing a folder
405
+ * with a file (or the reverse) is CONFLICT/is_a_directory; copying a folder into itself is
406
+ * INVALID_PARAMS (no reason). A replaced item goes to the Trash first, as Finder's Replace.
407
+ */
408
+ declare const FsCopyParams: z.ZodObject<{
409
+ from_path: z.ZodString;
410
+ to_path: z.ZodString;
411
+ overwrite: z.ZodDefault<z.ZodBoolean>;
412
+ }, z.core.$strict>;
413
+ type FsCopyParams = z.output<typeof FsCopyParams>;
414
+ declare const FsCopyResult: z.ZodObject<{
415
+ from_path: z.ZodString;
416
+ to_path: z.ZodString;
417
+ }, z.core.$strict>;
418
+ type FsCopyResult = z.output<typeof FsCopyResult>;
419
+ /**
420
+ * Finder's Get Info facts beyond fs.stat (1.30): when it was made, who owns it, its size on disk
421
+ * (a folder's whole tree, bounded), how many items a folder holds, and its flags. null = the OS
422
+ * does not say (or the bound was hit before the folder's size was known).
423
+ */
424
+ declare const FsInfoParams: z.ZodObject<{
425
+ path: z.ZodString;
426
+ }, z.core.$strict>;
427
+ type FsInfoParams = z.output<typeof FsInfoParams>;
428
+ declare const FsInfoResult: z.ZodObject<{
429
+ entry: z.ZodObject<{
430
+ name: z.ZodString;
431
+ path: z.ZodString;
432
+ kind: z.ZodEnum<{
433
+ file: "file";
434
+ dir: "dir";
435
+ symlink: "symlink";
436
+ }>;
437
+ size: z.ZodInt;
438
+ mtime: z.ZodNumber;
439
+ mode: z.ZodInt;
440
+ target: z.ZodNullable<z.ZodString>;
441
+ }, z.core.$strict>;
442
+ created: z.ZodNullable<z.ZodNumber>;
443
+ owner: z.ZodNullable<z.ZodString>;
444
+ group: z.ZodNullable<z.ZodString>;
445
+ total_size: z.ZodNullable<z.ZodInt>;
446
+ size_on_disk: z.ZodNullable<z.ZodInt>;
447
+ items: z.ZodNullable<z.ZodInt>;
448
+ hidden: z.ZodBoolean;
449
+ locked: z.ZodNullable<z.ZodBoolean>;
450
+ read_only: z.ZodBoolean;
451
+ }, z.core.$strict>;
452
+ type FsInfoResult = z.output<typeof FsInfoResult>;
453
+ /**
454
+ * Search the computer's own index by name (Finder's "This Mac", 1.30): Spotlight on macOS; elsewhere,
455
+ * or when the index answers nothing usable, a bounded walk of `scope` (or the home folder). `source`
456
+ * says which one answered. Entries are FsEntry (never following links), most relevant first.
457
+ */
458
+ declare const FsSearchIndexParams: z.ZodObject<{
459
+ query: z.ZodString;
460
+ scope: z.ZodOptional<z.ZodString>;
461
+ max_results: z.ZodDefault<z.ZodInt>;
462
+ }, z.core.$strict>;
463
+ type FsSearchIndexParams = z.output<typeof FsSearchIndexParams>;
464
+ declare const FsSearchIndexResult: z.ZodObject<{
465
+ entries: z.ZodArray<z.ZodObject<{
466
+ name: z.ZodString;
467
+ path: z.ZodString;
468
+ kind: z.ZodEnum<{
469
+ file: "file";
470
+ dir: "dir";
471
+ symlink: "symlink";
472
+ }>;
473
+ size: z.ZodInt;
474
+ mtime: z.ZodNumber;
475
+ mode: z.ZodInt;
476
+ target: z.ZodNullable<z.ZodString>;
477
+ }, z.core.$strict>>;
478
+ truncated: z.ZodBoolean;
479
+ source: z.ZodEnum<{
480
+ index: "index";
481
+ walk: "walk";
482
+ }>;
483
+ }, z.core.$strict>;
484
+ type FsSearchIndexResult = z.output<typeof FsSearchIndexResult>;
393
485
  /**
394
486
  * Delete. Default goes to the OS Trash (Finder/Explorer semantics: undoable from the phone's
395
487
  * "Undo" toast via fs.move back). to_trash:false is a permanent delete — the daemon's behaviour,
@@ -805,8 +897,8 @@ type ExecCwdEvent = z.output<typeof ExecCwdEvent>;
805
897
  declare const SessionAttachParams: z.ZodObject<{
806
898
  resource_id: z.ZodString;
807
899
  mode: z.ZodDefault<z.ZodEnum<{
808
- control: "control";
809
900
  read_only: "read_only";
901
+ control: "control";
810
902
  }>>;
811
903
  since_seq: z.ZodOptional<z.ZodInt>;
812
904
  window_bytes: z.ZodOptional<z.ZodInt>;
@@ -957,8 +1049,8 @@ type SessionListResult = z.output<typeof SessionListResult>;
957
1049
  declare const SessionControlChangedEvent: z.ZodObject<{
958
1050
  controller_client_id: z.ZodNullable<z.ZodString>;
959
1051
  your_mode: z.ZodEnum<{
960
- control: "control";
961
1052
  read_only: "read_only";
1053
+ control: "control";
962
1054
  }>;
963
1055
  }, z.core.$strict>;
964
1056
  type SessionControlChangedEvent = z.output<typeof SessionControlChangedEvent>;
@@ -2850,6 +2942,7 @@ declare const AppsProjectsToWindowParams: z.ZodObject<{
2850
2942
  window: z.ZodString;
2851
2943
  take_off: z.ZodDefault<z.ZodBoolean>;
2852
2944
  group: z.ZodDefault<z.ZodBoolean>;
2945
+ pin: z.ZodOptional<z.ZodBoolean>;
2853
2946
  dry_run: z.ZodDefault<z.ZodBoolean>;
2854
2947
  }, z.core.$strict>;
2855
2948
  type AppsProjectsToWindowParams = z.output<typeof AppsProjectsToWindowParams>;
@@ -2886,9 +2979,37 @@ declare const AppsProjectsToWindowResult: z.ZodObject<{
2886
2979
  from_other_groups: z.ZodOptional<z.ZodInt>;
2887
2980
  group_exists: z.ZodOptional<z.ZodBoolean>;
2888
2981
  }, z.core.$strict>>;
2982
+ pin: z.ZodOptional<z.ZodObject<{
2983
+ ok: z.ZodBoolean;
2984
+ when: z.ZodEnum<{
2985
+ now: "now";
2986
+ next_close: "next_close";
2987
+ }>;
2988
+ pinned: z.ZodInt;
2989
+ already: z.ZodInt;
2990
+ queued: z.ZodInt;
2991
+ reason: z.ZodOptional<z.ZodString>;
2992
+ }, z.core.$strict>>;
2889
2993
  message: z.ZodString;
2890
2994
  }, z.core.$strict>;
2891
2995
  type AppsProjectsToWindowResult = z.output<typeof AppsProjectsToWindowResult>;
2996
+ /**
2997
+ * 1.32: pinning them in the target window. A window's pins are its own list (Claude's settings
2998
+ * file), written only while that window is closed; for an open window they are queued and written
2999
+ * when it next closes. Counts are what happened (or, on a dry run, what would): never a claimed pin.
3000
+ */
3001
+ declare const ProjectMovePin: z.ZodObject<{
3002
+ ok: z.ZodBoolean;
3003
+ when: z.ZodEnum<{
3004
+ now: "now";
3005
+ next_close: "next_close";
3006
+ }>;
3007
+ pinned: z.ZodInt;
3008
+ already: z.ZodInt;
3009
+ queued: z.ZodInt;
3010
+ reason: z.ZodOptional<z.ZodString>;
3011
+ }, z.core.$strict>;
3012
+ type ProjectMovePin = z.output<typeof ProjectMovePin>;
2892
3013
  /** Quit and reopen a window; refused (CONFLICT) while chats are open in it unless `force`. */
2893
3014
  /**
2894
3015
  * What a window's sidebar draws right now (read-only: Accessibility, no focus, no input). A closed
@@ -5739,6 +5860,12 @@ declare const FIELDS_SINCE: {
5739
5860
  readonly AppsWindowsUpdateStateResult: {
5740
5861
  readonly closed_by_update: "1.27";
5741
5862
  };
5863
+ readonly AppsProjectsToWindowParams: {
5864
+ readonly pin: "1.32";
5865
+ };
5866
+ readonly AppsProjectsToWindowResult: {
5867
+ readonly pin: "1.32";
5868
+ };
5742
5869
  };
5743
5870
  type FieldsSincePath = keyof typeof FIELDS_SINCE;
5744
5871
  /**
@@ -5798,7 +5925,7 @@ declare function forPeer(op: OpName | null, part: "error", value: unknown, versi
5798
5925
  declare const VERSIONED_RESULT_OPS: readonly OpName[];
5799
5926
 
5800
5927
  /** SHA-256 of generated/desktop-protocol.schema.json: the contract both sides of a service connection were built from. */
5801
- declare const CONTRACT_SHA256: "5994ab9f6c2dba636a90e18c99bd3a90736f23782b3f8df9e0d2d7234b8e2b1b";
5928
+ declare const CONTRACT_SHA256: "ee8e6c98c76f3557f832157e3b2b21bb23ebb74b67b79151f3b9ff788f5273ee";
5802
5929
 
5803
5930
  /**
5804
5931
  * The local tool catalog (SPEC §10): every tool a platform agent calls on a person's computer, the
@@ -5925,4 +6052,14 @@ declare function buildToolStatus(files: readonly unknown[], opts: {
5925
6052
  /** The committed text form. Columns: per platform, the three levels (P = programmatic, R = protocol, C = chat). */
5926
6053
  declare function renderToolStatusMarkdown(status: ToolStatus): string;
5927
6054
 
5928
- 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, FsDeleteParams, FsDeleteResult, FsEncoding, FsEntry, FsKind, FsListParams, FsListResult, FsMkdirParams, FsMkdirResult, FsMoveParams, FsMoveResult, FsPatchEditApplied, FsPatchParams, FsPatchResult, FsReadParams, FsReadResult, FsReadStreamParams, FsReadStreamResult, FsSearchContentParams, FsSearchContentResult, 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, 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, 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, renderToolStatusMarkdown, statusForPeer, u32, versionSubprotocol };
6055
+ /** The ops refused when these tools are off: those every sending tool has turned off. */
6056
+ declare function refusedOps(disabledTools: readonly string[]): ReadonlySet<string>;
6057
+ /** The catalog tools that send this op. */
6058
+ declare function toolsSending(op: string): string[];
6059
+ /**
6060
+ * For one tool switched off: the tools still on that keep ALL its ops open (turning it off alone
6061
+ * stops nothing until they are off too). Empty when turning it off stops at least one op.
6062
+ */
6063
+ declare function sharedOpsBlocking(tool: string, disabledTools: readonly string[]): string[];
6064
+
6065
+ 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, 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 };