@ai-matrx/desktop-protocol 0.15.0 → 0.16.0

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-iOvmEOHd.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-iOvmEOHd.cjs';
2
+ import { O as OpName } from './models-k4pDkXUe.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-k4pDkXUe.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. */
@@ -16,10 +16,12 @@ declare const PROTOCOL_MAJOR: 1;
16
16
  * 1.3 — the `proc` capability (processes, listening ports, stopping one) and `clipboard`.
17
17
  * 1.4 — computer control: `system`, `screen`, `window`, `input`, `power`, `resources`; polled
18
18
  * folder watches (fs.watch.start/events/stop) and background jobs (exec.job.*).
19
+ * 1.5 — `coding.history.import_missing`: Claude Code history the platform lacks, imported by the
20
+ * `coding` Python service.
19
21
  */
20
- declare const PROTOCOL_MINOR: 4;
22
+ declare const PROTOCOL_MINOR: 5;
21
23
  /** This package's version as the wire spells it ("major.minor"): hello, welcome, relay status. */
22
- declare const PROTOCOL_VERSION: "1.4";
24
+ declare const PROTOCOL_VERSION: "1.5";
23
25
  /** Internal building blocks — deliberately unnamed in $defs (inlined wherever used). */
24
26
  declare const u32: z.ZodInt;
25
27
  declare const nonNegInt: z.ZodInt;
@@ -1410,6 +1412,7 @@ declare const ServiceShutdown: z.ZodObject<{
1410
1412
  /** Supervised Python services. `tools` joins when it is built. */
1411
1413
  declare const ServiceName: z.ZodEnum<{
1412
1414
  ml: "ml";
1415
+ coding: "coding";
1413
1416
  }>;
1414
1417
  type ServiceName = z.output<typeof ServiceName>;
1415
1418
  declare const CoreToServiceMsg: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1435,6 +1438,7 @@ declare const ServiceToCoreMsg: z.ZodDiscriminatedUnion<[z.ZodObject<{
1435
1438
  type: z.ZodLiteral<"welcome">;
1436
1439
  service: z.ZodEnum<{
1437
1440
  ml: "ml";
1441
+ coding: "coding";
1438
1442
  }>;
1439
1443
  contract: z.ZodString;
1440
1444
  pid: z.ZodInt;
@@ -1527,6 +1531,7 @@ declare const ServiceWelcome: z.ZodObject<{
1527
1531
  type: z.ZodLiteral<"welcome">;
1528
1532
  service: z.ZodEnum<{
1529
1533
  ml: "ml";
1534
+ coding: "coding";
1530
1535
  }>;
1531
1536
  contract: z.ZodString;
1532
1537
  pid: z.ZodInt;
@@ -2415,6 +2420,172 @@ declare const ExecJobListResult: z.ZodObject<{
2415
2420
  }, z.core.$strict>;
2416
2421
  type ExecJobListResult = z.output<typeof ExecJobListResult>;
2417
2422
 
2423
+ /**
2424
+ * @ai-matrx/desktop-protocol — the `coding` capability's Claude Code history (SPEC §6 `coding`):
2425
+ * "Import missing history" — every Claude Code session on this computer that AI Matrx lacks, or is
2426
+ * behind on, imported through the shared importer (matrx-coding-history, the same code Matrx Local
2427
+ * runs) in Matrx 2's `coding` Python service (SPEC §3.10). Schema source: lint-enforced rules in
2428
+ * scripts/check-schema-source.mjs.
2429
+ *
2430
+ * Two contracts, both generated from this file (SPEC P11):
2431
+ * - the Router op `coding.history.import_missing` (every transport) and its progress event;
2432
+ * - the internal service ops `coding.plan_missing` / `coding.import_next` between the core and
2433
+ * the Python service. The core runs the loop: each service call is one bounded batch carrying
2434
+ * a fresh access token, so a long run never outlives its credential.
2435
+ */
2436
+
2437
+ declare const CodingHistoryFailure: z.ZodObject<{
2438
+ session_id: z.ZodString;
2439
+ reason: z.ZodString;
2440
+ }, z.core.$strict>;
2441
+ /** Service op `coding.plan_missing`: read the cloud's list and this computer's history (stat only). */
2442
+ declare const CodingPlanMissingParams: z.ZodObject<{
2443
+ credentials: z.ZodObject<{
2444
+ access_token: z.ZodString;
2445
+ user_id: z.ZodString;
2446
+ server_url: z.ZodString;
2447
+ }, z.core.$strict>;
2448
+ }, z.core.$strict>;
2449
+ /** Service op `coding.import_next`: import the plan's next bounded batch. */
2450
+ declare const CodingImportNextParams: z.ZodObject<{
2451
+ plan_id: z.ZodString;
2452
+ credentials: z.ZodObject<{
2453
+ access_token: z.ZodString;
2454
+ user_id: z.ZodString;
2455
+ server_url: z.ZodString;
2456
+ }, z.core.$strict>;
2457
+ }, z.core.$strict>;
2458
+ declare const CodingHistoryImportMissingParams: z.ZodObject<{}, z.core.$strict>;
2459
+ /** What the core adds to every coding service op from its own sign-in (never sent by a client). */
2460
+ declare const CodingServiceCredentials: z.ZodObject<{
2461
+ access_token: z.ZodString;
2462
+ user_id: z.ZodString;
2463
+ server_url: z.ZodString;
2464
+ }, z.core.$strict>;
2465
+ type CodingServiceCredentials = z.output<typeof CodingServiceCredentials>;
2466
+ /**
2467
+ * Why a run stopped before it was done, as a state the screen can name:
2468
+ * signed_out — no usable AI Matrx sign-in (or it expired mid-run);
2469
+ * offline — the AI Matrx server did not answer;
2470
+ * organization_required — AI Matrx needs to know which organization files coding sessions;
2471
+ * claude_unavailable — Claude Code's account on this computer cannot be read;
2472
+ * cloud_list_unavailable — the server's list of sessions could not be proven complete;
2473
+ * history_too_large — more local sessions than the importer reads in one run.
2474
+ */
2475
+ declare const CodingHistoryBlocked: z.ZodEnum<{
2476
+ signed_out: "signed_out";
2477
+ offline: "offline";
2478
+ organization_required: "organization_required";
2479
+ claude_unavailable: "claude_unavailable";
2480
+ cloud_list_unavailable: "cloud_list_unavailable";
2481
+ history_too_large: "history_too_large";
2482
+ }>;
2483
+ type CodingHistoryBlocked = z.output<typeof CodingHistoryBlocked>;
2484
+ /** A run's counts so far, and its one honest line. */
2485
+ declare const CodingHistoryRun: z.ZodObject<{
2486
+ local_sessions: z.ZodInt;
2487
+ in_cloud: z.ZodInt;
2488
+ missing: z.ZodInt;
2489
+ behind: z.ZodInt;
2490
+ too_large: z.ZodInt;
2491
+ imported: z.ZodInt;
2492
+ changed: z.ZodInt;
2493
+ failed: z.ZodInt;
2494
+ failures: z.ZodArray<z.ZodObject<{
2495
+ session_id: z.ZodString;
2496
+ reason: z.ZodString;
2497
+ }, z.core.$strict>>;
2498
+ remaining: z.ZodInt;
2499
+ summary: z.ZodString;
2500
+ }, z.core.$strict>;
2501
+ type CodingHistoryRun = z.output<typeof CodingHistoryRun>;
2502
+ /** The answer to each service op: where the run stands. */
2503
+ declare const CodingHistoryStep: z.ZodObject<{
2504
+ plan_id: z.ZodNullable<z.ZodString>;
2505
+ finished: z.ZodBoolean;
2506
+ blocked: z.ZodNullable<z.ZodEnum<{
2507
+ signed_out: "signed_out";
2508
+ offline: "offline";
2509
+ organization_required: "organization_required";
2510
+ claude_unavailable: "claude_unavailable";
2511
+ cloud_list_unavailable: "cloud_list_unavailable";
2512
+ history_too_large: "history_too_large";
2513
+ }>>;
2514
+ run: z.ZodObject<{
2515
+ local_sessions: z.ZodInt;
2516
+ in_cloud: z.ZodInt;
2517
+ missing: z.ZodInt;
2518
+ behind: z.ZodInt;
2519
+ too_large: z.ZodInt;
2520
+ imported: z.ZodInt;
2521
+ changed: z.ZodInt;
2522
+ failed: z.ZodInt;
2523
+ failures: z.ZodArray<z.ZodObject<{
2524
+ session_id: z.ZodString;
2525
+ reason: z.ZodString;
2526
+ }, z.core.$strict>>;
2527
+ remaining: z.ZodInt;
2528
+ summary: z.ZodString;
2529
+ }, z.core.$strict>;
2530
+ }, z.core.$strict>;
2531
+ type CodingHistoryStep = z.output<typeof CodingHistoryStep>;
2532
+ /** The coding service's progress messages (sent while it reads a large history). */
2533
+ declare const CodingServiceProgress: z.ZodObject<{
2534
+ phase: z.ZodEnum<{
2535
+ checking: "checking";
2536
+ importing: "importing";
2537
+ }>;
2538
+ done: z.ZodInt;
2539
+ total: z.ZodInt;
2540
+ }, z.core.$strict>;
2541
+ type CodingServiceProgress = z.output<typeof CodingServiceProgress>;
2542
+ declare const CodingHistoryImportMissingResult: z.ZodObject<{
2543
+ state: z.ZodEnum<{
2544
+ cancelled: "cancelled";
2545
+ blocked: "blocked";
2546
+ done: "done";
2547
+ }>;
2548
+ blocked: z.ZodNullable<z.ZodEnum<{
2549
+ signed_out: "signed_out";
2550
+ offline: "offline";
2551
+ organization_required: "organization_required";
2552
+ claude_unavailable: "claude_unavailable";
2553
+ cloud_list_unavailable: "cloud_list_unavailable";
2554
+ history_too_large: "history_too_large";
2555
+ }>>;
2556
+ run: z.ZodObject<{
2557
+ local_sessions: z.ZodInt;
2558
+ in_cloud: z.ZodInt;
2559
+ missing: z.ZodInt;
2560
+ behind: z.ZodInt;
2561
+ too_large: z.ZodInt;
2562
+ imported: z.ZodInt;
2563
+ changed: z.ZodInt;
2564
+ failed: z.ZodInt;
2565
+ failures: z.ZodArray<z.ZodObject<{
2566
+ session_id: z.ZodString;
2567
+ reason: z.ZodString;
2568
+ }, z.core.$strict>>;
2569
+ remaining: z.ZodInt;
2570
+ summary: z.ZodString;
2571
+ }, z.core.$strict>;
2572
+ elapsed_ms: z.ZodInt;
2573
+ }, z.core.$strict>;
2574
+ type CodingHistoryImportMissingResult = z.output<typeof CodingHistoryImportMissingResult>;
2575
+ /** Sent to the client that started `coding.history.import_missing`, for that request. */
2576
+ declare const CodingHistoryProgressEvent: z.ZodObject<{
2577
+ request_id: z.ZodString;
2578
+ phase: z.ZodEnum<{
2579
+ checking: "checking";
2580
+ importing: "importing";
2581
+ }>;
2582
+ done: z.ZodInt;
2583
+ total: z.ZodInt;
2584
+ imported: z.ZodInt;
2585
+ failed: z.ZodInt;
2586
+ }, z.core.$strict>;
2587
+ type CodingHistoryProgressEvent = z.output<typeof CodingHistoryProgressEvent>;
2588
+
2418
2589
  /**
2419
2590
  * Version skew is the normal state: a phone, the server and a desktop app in the field run
2420
2591
  * different package versions, and a minor protocol bump must never make any of them fail.
@@ -2501,7 +2672,7 @@ declare function forPeer(op: OpName | null, part: "error", value: unknown, versi
2501
2672
  declare const VERSIONED_RESULT_OPS: readonly OpName[];
2502
2673
 
2503
2674
  /** SHA-256 of generated/desktop-protocol.schema.json: the contract both sides of a service connection were built from. */
2504
- declare const CONTRACT_SHA256: "a5378bb523cbf52619f16e2accc788931ffb443e762052db4ca42c598792c181";
2675
+ declare const CONTRACT_SHA256: "c536cb055d02ce0704cee4693f08b4af9e83a38e00e6879160037c1006f2e72e";
2505
2676
 
2506
2677
  /**
2507
2678
  * The local tool catalog (SPEC §10): every tool a platform agent calls on a person's computer, the
@@ -2633,4 +2804,4 @@ declare function buildToolStatus(files: readonly unknown[], opts: {
2633
2804
  /** The committed text form. Columns: per platform, the three levels (P = programmatic, R = protocol, C = chat). */
2634
2805
  declare function renderToolStatusMarkdown(status: ToolStatus): string;
2635
2806
 
2636
- export { AbsPath, AppFeatureStatus, AppInfo, AppKey, AppProfile, AppProfileId, AppProfileLocator, AppSupport, AppUsageReading, AppsListParams, AppsListResult, AppsOpenParams, AppsOpenResult, AppsProfilesListParams, AppsProfilesListResult, AppsProfilesRemoveParams, AppsProfilesRemoveResult, AppsProfilesSaveParams, AppsProfilesSaveResult, CONTRACT_SHA256, type CatalogTool, type CellState, ClipboardReadParams, ClipboardReadResult, ClipboardWriteParams, ClipboardWriteResult, ContractHash, CoreToServiceMsg, DEFAULT_MAX_FRAME_PAYLOAD_BYTES, DEFAULT_MAX_MESSAGE_BYTES, DEFAULT_WINDOW_BYTES, DeviceId, 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, InputHotkeyParams, InputHotkeyResult, InputKey, InputMouseClickParams, InputMouseClickResult, InputMouseMoveParams, InputMouseMoveResult, InputPoint, InputTypeTextParams, InputTypeTextResult, LEGACY_ACTIONS, LEGACY_DISPATCHERS, type LegacyDisposition, NULL_SINCE, OpName, OsPermissionName, PROTOCOL_MAJOR, PROTOCOL_MINOR, PROTOCOL_VERSION, PowerPreventSleepParams, PowerPreventSleepResult, PowerStatusParams, PowerStatusResult, ProcInfo, ProcKillParams, ProcKillResult, ProcListParams, ProcListResult, ProcPort, ProcPortsParams, ProcPortsResult, ProcSort, 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, ResourcesDisk, ResourcesSnapshotParams, ResourcesSnapshotResult, 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, Signal, type StatusCell, type StatusEvidence, type StatusRow, SysinfoGetParams, SysinfoGetResult, SystemNotifyParams, SystemNotifyResult, SystemOpenPathParams, SystemOpenPathResult, SystemOpenUrlParams, SystemOpenUrlResult, TOOL_CATALOG, TOOL_GROUPS, TOOL_LEVELS, TOOL_PLATFORMS, type ToolGroup, type ToolGroupId, ToolLevel, ToolLevelResult, ToolName, ToolOutcome, type ToolPath, ToolPlatform, ToolResultsFile, type ToolState, type ToolStatus, ToolTransport, VERSIONED_RESULT_OPS, WindowFocusParams, WindowFocusResult, WindowInfo, WindowListParams, WindowListResult, WindowMinimizeParams, WindowMinimizeResult, WindowMoveParams, WindowMoveResult, announcedVersion, buildToolStatus, builtOps, compareVersions, epochMs, forPeer, knows, negotiate, nonNegInt, renderToolStatusMarkdown, statusForPeer, u32, versionSubprotocol };
2807
+ export { AbsPath, AppFeatureStatus, AppInfo, AppKey, AppProfile, AppProfileId, AppProfileLocator, AppSupport, AppUsageReading, AppsListParams, AppsListResult, AppsOpenParams, AppsOpenResult, AppsProfilesListParams, AppsProfilesListResult, AppsProfilesRemoveParams, AppsProfilesRemoveResult, AppsProfilesSaveParams, AppsProfilesSaveResult, CONTRACT_SHA256, type CatalogTool, type CellState, ClipboardReadParams, ClipboardReadResult, ClipboardWriteParams, ClipboardWriteResult, CodingHistoryBlocked, CodingHistoryFailure, CodingHistoryImportMissingParams, CodingHistoryImportMissingResult, CodingHistoryProgressEvent, CodingHistoryRun, CodingHistoryStep, CodingImportNextParams, CodingPlanMissingParams, CodingServiceCredentials, CodingServiceProgress, ContractHash, CoreToServiceMsg, DEFAULT_MAX_FRAME_PAYLOAD_BYTES, DEFAULT_MAX_MESSAGE_BYTES, DEFAULT_WINDOW_BYTES, DeviceId, 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, InputHotkeyParams, InputHotkeyResult, InputKey, InputMouseClickParams, InputMouseClickResult, InputMouseMoveParams, InputMouseMoveResult, InputPoint, InputTypeTextParams, InputTypeTextResult, LEGACY_ACTIONS, LEGACY_DISPATCHERS, type LegacyDisposition, NULL_SINCE, OpName, OsPermissionName, PROTOCOL_MAJOR, PROTOCOL_MINOR, PROTOCOL_VERSION, PowerPreventSleepParams, PowerPreventSleepResult, PowerStatusParams, PowerStatusResult, ProcInfo, ProcKillParams, ProcKillResult, ProcListParams, ProcListResult, ProcPort, ProcPortsParams, ProcPortsResult, ProcSort, 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, ResourcesDisk, ResourcesSnapshotParams, ResourcesSnapshotResult, 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, Signal, type StatusCell, type StatusEvidence, type StatusRow, SysinfoGetParams, SysinfoGetResult, SystemNotifyParams, SystemNotifyResult, SystemOpenPathParams, SystemOpenPathResult, SystemOpenUrlParams, SystemOpenUrlResult, TOOL_CATALOG, TOOL_GROUPS, TOOL_LEVELS, TOOL_PLATFORMS, type ToolGroup, type ToolGroupId, ToolLevel, ToolLevelResult, ToolName, ToolOutcome, type ToolPath, ToolPlatform, ToolResultsFile, type ToolState, type ToolStatus, ToolTransport, VERSIONED_RESULT_OPS, WindowFocusParams, WindowFocusResult, WindowInfo, WindowListParams, WindowListResult, WindowMinimizeParams, WindowMinimizeResult, WindowMoveParams, WindowMoveResult, announcedVersion, buildToolStatus, builtOps, compareVersions, epochMs, forPeer, knows, negotiate, nonNegInt, renderToolStatusMarkdown, statusForPeer, 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-iOvmEOHd.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-iOvmEOHd.js';
2
+ import { O as OpName } from './models-k4pDkXUe.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-k4pDkXUe.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. */
@@ -16,10 +16,12 @@ declare const PROTOCOL_MAJOR: 1;
16
16
  * 1.3 — the `proc` capability (processes, listening ports, stopping one) and `clipboard`.
17
17
  * 1.4 — computer control: `system`, `screen`, `window`, `input`, `power`, `resources`; polled
18
18
  * folder watches (fs.watch.start/events/stop) and background jobs (exec.job.*).
19
+ * 1.5 — `coding.history.import_missing`: Claude Code history the platform lacks, imported by the
20
+ * `coding` Python service.
19
21
  */
20
- declare const PROTOCOL_MINOR: 4;
22
+ declare const PROTOCOL_MINOR: 5;
21
23
  /** This package's version as the wire spells it ("major.minor"): hello, welcome, relay status. */
22
- declare const PROTOCOL_VERSION: "1.4";
24
+ declare const PROTOCOL_VERSION: "1.5";
23
25
  /** Internal building blocks — deliberately unnamed in $defs (inlined wherever used). */
24
26
  declare const u32: z.ZodInt;
25
27
  declare const nonNegInt: z.ZodInt;
@@ -1410,6 +1412,7 @@ declare const ServiceShutdown: z.ZodObject<{
1410
1412
  /** Supervised Python services. `tools` joins when it is built. */
1411
1413
  declare const ServiceName: z.ZodEnum<{
1412
1414
  ml: "ml";
1415
+ coding: "coding";
1413
1416
  }>;
1414
1417
  type ServiceName = z.output<typeof ServiceName>;
1415
1418
  declare const CoreToServiceMsg: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1435,6 +1438,7 @@ declare const ServiceToCoreMsg: z.ZodDiscriminatedUnion<[z.ZodObject<{
1435
1438
  type: z.ZodLiteral<"welcome">;
1436
1439
  service: z.ZodEnum<{
1437
1440
  ml: "ml";
1441
+ coding: "coding";
1438
1442
  }>;
1439
1443
  contract: z.ZodString;
1440
1444
  pid: z.ZodInt;
@@ -1527,6 +1531,7 @@ declare const ServiceWelcome: z.ZodObject<{
1527
1531
  type: z.ZodLiteral<"welcome">;
1528
1532
  service: z.ZodEnum<{
1529
1533
  ml: "ml";
1534
+ coding: "coding";
1530
1535
  }>;
1531
1536
  contract: z.ZodString;
1532
1537
  pid: z.ZodInt;
@@ -2415,6 +2420,172 @@ declare const ExecJobListResult: z.ZodObject<{
2415
2420
  }, z.core.$strict>;
2416
2421
  type ExecJobListResult = z.output<typeof ExecJobListResult>;
2417
2422
 
2423
+ /**
2424
+ * @ai-matrx/desktop-protocol — the `coding` capability's Claude Code history (SPEC §6 `coding`):
2425
+ * "Import missing history" — every Claude Code session on this computer that AI Matrx lacks, or is
2426
+ * behind on, imported through the shared importer (matrx-coding-history, the same code Matrx Local
2427
+ * runs) in Matrx 2's `coding` Python service (SPEC §3.10). Schema source: lint-enforced rules in
2428
+ * scripts/check-schema-source.mjs.
2429
+ *
2430
+ * Two contracts, both generated from this file (SPEC P11):
2431
+ * - the Router op `coding.history.import_missing` (every transport) and its progress event;
2432
+ * - the internal service ops `coding.plan_missing` / `coding.import_next` between the core and
2433
+ * the Python service. The core runs the loop: each service call is one bounded batch carrying
2434
+ * a fresh access token, so a long run never outlives its credential.
2435
+ */
2436
+
2437
+ declare const CodingHistoryFailure: z.ZodObject<{
2438
+ session_id: z.ZodString;
2439
+ reason: z.ZodString;
2440
+ }, z.core.$strict>;
2441
+ /** Service op `coding.plan_missing`: read the cloud's list and this computer's history (stat only). */
2442
+ declare const CodingPlanMissingParams: z.ZodObject<{
2443
+ credentials: z.ZodObject<{
2444
+ access_token: z.ZodString;
2445
+ user_id: z.ZodString;
2446
+ server_url: z.ZodString;
2447
+ }, z.core.$strict>;
2448
+ }, z.core.$strict>;
2449
+ /** Service op `coding.import_next`: import the plan's next bounded batch. */
2450
+ declare const CodingImportNextParams: z.ZodObject<{
2451
+ plan_id: z.ZodString;
2452
+ credentials: z.ZodObject<{
2453
+ access_token: z.ZodString;
2454
+ user_id: z.ZodString;
2455
+ server_url: z.ZodString;
2456
+ }, z.core.$strict>;
2457
+ }, z.core.$strict>;
2458
+ declare const CodingHistoryImportMissingParams: z.ZodObject<{}, z.core.$strict>;
2459
+ /** What the core adds to every coding service op from its own sign-in (never sent by a client). */
2460
+ declare const CodingServiceCredentials: z.ZodObject<{
2461
+ access_token: z.ZodString;
2462
+ user_id: z.ZodString;
2463
+ server_url: z.ZodString;
2464
+ }, z.core.$strict>;
2465
+ type CodingServiceCredentials = z.output<typeof CodingServiceCredentials>;
2466
+ /**
2467
+ * Why a run stopped before it was done, as a state the screen can name:
2468
+ * signed_out — no usable AI Matrx sign-in (or it expired mid-run);
2469
+ * offline — the AI Matrx server did not answer;
2470
+ * organization_required — AI Matrx needs to know which organization files coding sessions;
2471
+ * claude_unavailable — Claude Code's account on this computer cannot be read;
2472
+ * cloud_list_unavailable — the server's list of sessions could not be proven complete;
2473
+ * history_too_large — more local sessions than the importer reads in one run.
2474
+ */
2475
+ declare const CodingHistoryBlocked: z.ZodEnum<{
2476
+ signed_out: "signed_out";
2477
+ offline: "offline";
2478
+ organization_required: "organization_required";
2479
+ claude_unavailable: "claude_unavailable";
2480
+ cloud_list_unavailable: "cloud_list_unavailable";
2481
+ history_too_large: "history_too_large";
2482
+ }>;
2483
+ type CodingHistoryBlocked = z.output<typeof CodingHistoryBlocked>;
2484
+ /** A run's counts so far, and its one honest line. */
2485
+ declare const CodingHistoryRun: z.ZodObject<{
2486
+ local_sessions: z.ZodInt;
2487
+ in_cloud: z.ZodInt;
2488
+ missing: z.ZodInt;
2489
+ behind: z.ZodInt;
2490
+ too_large: z.ZodInt;
2491
+ imported: z.ZodInt;
2492
+ changed: z.ZodInt;
2493
+ failed: z.ZodInt;
2494
+ failures: z.ZodArray<z.ZodObject<{
2495
+ session_id: z.ZodString;
2496
+ reason: z.ZodString;
2497
+ }, z.core.$strict>>;
2498
+ remaining: z.ZodInt;
2499
+ summary: z.ZodString;
2500
+ }, z.core.$strict>;
2501
+ type CodingHistoryRun = z.output<typeof CodingHistoryRun>;
2502
+ /** The answer to each service op: where the run stands. */
2503
+ declare const CodingHistoryStep: z.ZodObject<{
2504
+ plan_id: z.ZodNullable<z.ZodString>;
2505
+ finished: z.ZodBoolean;
2506
+ blocked: z.ZodNullable<z.ZodEnum<{
2507
+ signed_out: "signed_out";
2508
+ offline: "offline";
2509
+ organization_required: "organization_required";
2510
+ claude_unavailable: "claude_unavailable";
2511
+ cloud_list_unavailable: "cloud_list_unavailable";
2512
+ history_too_large: "history_too_large";
2513
+ }>>;
2514
+ run: z.ZodObject<{
2515
+ local_sessions: z.ZodInt;
2516
+ in_cloud: z.ZodInt;
2517
+ missing: z.ZodInt;
2518
+ behind: z.ZodInt;
2519
+ too_large: z.ZodInt;
2520
+ imported: z.ZodInt;
2521
+ changed: z.ZodInt;
2522
+ failed: z.ZodInt;
2523
+ failures: z.ZodArray<z.ZodObject<{
2524
+ session_id: z.ZodString;
2525
+ reason: z.ZodString;
2526
+ }, z.core.$strict>>;
2527
+ remaining: z.ZodInt;
2528
+ summary: z.ZodString;
2529
+ }, z.core.$strict>;
2530
+ }, z.core.$strict>;
2531
+ type CodingHistoryStep = z.output<typeof CodingHistoryStep>;
2532
+ /** The coding service's progress messages (sent while it reads a large history). */
2533
+ declare const CodingServiceProgress: z.ZodObject<{
2534
+ phase: z.ZodEnum<{
2535
+ checking: "checking";
2536
+ importing: "importing";
2537
+ }>;
2538
+ done: z.ZodInt;
2539
+ total: z.ZodInt;
2540
+ }, z.core.$strict>;
2541
+ type CodingServiceProgress = z.output<typeof CodingServiceProgress>;
2542
+ declare const CodingHistoryImportMissingResult: z.ZodObject<{
2543
+ state: z.ZodEnum<{
2544
+ cancelled: "cancelled";
2545
+ blocked: "blocked";
2546
+ done: "done";
2547
+ }>;
2548
+ blocked: z.ZodNullable<z.ZodEnum<{
2549
+ signed_out: "signed_out";
2550
+ offline: "offline";
2551
+ organization_required: "organization_required";
2552
+ claude_unavailable: "claude_unavailable";
2553
+ cloud_list_unavailable: "cloud_list_unavailable";
2554
+ history_too_large: "history_too_large";
2555
+ }>>;
2556
+ run: z.ZodObject<{
2557
+ local_sessions: z.ZodInt;
2558
+ in_cloud: z.ZodInt;
2559
+ missing: z.ZodInt;
2560
+ behind: z.ZodInt;
2561
+ too_large: z.ZodInt;
2562
+ imported: z.ZodInt;
2563
+ changed: z.ZodInt;
2564
+ failed: z.ZodInt;
2565
+ failures: z.ZodArray<z.ZodObject<{
2566
+ session_id: z.ZodString;
2567
+ reason: z.ZodString;
2568
+ }, z.core.$strict>>;
2569
+ remaining: z.ZodInt;
2570
+ summary: z.ZodString;
2571
+ }, z.core.$strict>;
2572
+ elapsed_ms: z.ZodInt;
2573
+ }, z.core.$strict>;
2574
+ type CodingHistoryImportMissingResult = z.output<typeof CodingHistoryImportMissingResult>;
2575
+ /** Sent to the client that started `coding.history.import_missing`, for that request. */
2576
+ declare const CodingHistoryProgressEvent: z.ZodObject<{
2577
+ request_id: z.ZodString;
2578
+ phase: z.ZodEnum<{
2579
+ checking: "checking";
2580
+ importing: "importing";
2581
+ }>;
2582
+ done: z.ZodInt;
2583
+ total: z.ZodInt;
2584
+ imported: z.ZodInt;
2585
+ failed: z.ZodInt;
2586
+ }, z.core.$strict>;
2587
+ type CodingHistoryProgressEvent = z.output<typeof CodingHistoryProgressEvent>;
2588
+
2418
2589
  /**
2419
2590
  * Version skew is the normal state: a phone, the server and a desktop app in the field run
2420
2591
  * different package versions, and a minor protocol bump must never make any of them fail.
@@ -2501,7 +2672,7 @@ declare function forPeer(op: OpName | null, part: "error", value: unknown, versi
2501
2672
  declare const VERSIONED_RESULT_OPS: readonly OpName[];
2502
2673
 
2503
2674
  /** SHA-256 of generated/desktop-protocol.schema.json: the contract both sides of a service connection were built from. */
2504
- declare const CONTRACT_SHA256: "a5378bb523cbf52619f16e2accc788931ffb443e762052db4ca42c598792c181";
2675
+ declare const CONTRACT_SHA256: "c536cb055d02ce0704cee4693f08b4af9e83a38e00e6879160037c1006f2e72e";
2505
2676
 
2506
2677
  /**
2507
2678
  * The local tool catalog (SPEC §10): every tool a platform agent calls on a person's computer, the
@@ -2633,4 +2804,4 @@ declare function buildToolStatus(files: readonly unknown[], opts: {
2633
2804
  /** The committed text form. Columns: per platform, the three levels (P = programmatic, R = protocol, C = chat). */
2634
2805
  declare function renderToolStatusMarkdown(status: ToolStatus): string;
2635
2806
 
2636
- export { AbsPath, AppFeatureStatus, AppInfo, AppKey, AppProfile, AppProfileId, AppProfileLocator, AppSupport, AppUsageReading, AppsListParams, AppsListResult, AppsOpenParams, AppsOpenResult, AppsProfilesListParams, AppsProfilesListResult, AppsProfilesRemoveParams, AppsProfilesRemoveResult, AppsProfilesSaveParams, AppsProfilesSaveResult, CONTRACT_SHA256, type CatalogTool, type CellState, ClipboardReadParams, ClipboardReadResult, ClipboardWriteParams, ClipboardWriteResult, ContractHash, CoreToServiceMsg, DEFAULT_MAX_FRAME_PAYLOAD_BYTES, DEFAULT_MAX_MESSAGE_BYTES, DEFAULT_WINDOW_BYTES, DeviceId, 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, InputHotkeyParams, InputHotkeyResult, InputKey, InputMouseClickParams, InputMouseClickResult, InputMouseMoveParams, InputMouseMoveResult, InputPoint, InputTypeTextParams, InputTypeTextResult, LEGACY_ACTIONS, LEGACY_DISPATCHERS, type LegacyDisposition, NULL_SINCE, OpName, OsPermissionName, PROTOCOL_MAJOR, PROTOCOL_MINOR, PROTOCOL_VERSION, PowerPreventSleepParams, PowerPreventSleepResult, PowerStatusParams, PowerStatusResult, ProcInfo, ProcKillParams, ProcKillResult, ProcListParams, ProcListResult, ProcPort, ProcPortsParams, ProcPortsResult, ProcSort, 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, ResourcesDisk, ResourcesSnapshotParams, ResourcesSnapshotResult, 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, Signal, type StatusCell, type StatusEvidence, type StatusRow, SysinfoGetParams, SysinfoGetResult, SystemNotifyParams, SystemNotifyResult, SystemOpenPathParams, SystemOpenPathResult, SystemOpenUrlParams, SystemOpenUrlResult, TOOL_CATALOG, TOOL_GROUPS, TOOL_LEVELS, TOOL_PLATFORMS, type ToolGroup, type ToolGroupId, ToolLevel, ToolLevelResult, ToolName, ToolOutcome, type ToolPath, ToolPlatform, ToolResultsFile, type ToolState, type ToolStatus, ToolTransport, VERSIONED_RESULT_OPS, WindowFocusParams, WindowFocusResult, WindowInfo, WindowListParams, WindowListResult, WindowMinimizeParams, WindowMinimizeResult, WindowMoveParams, WindowMoveResult, announcedVersion, buildToolStatus, builtOps, compareVersions, epochMs, forPeer, knows, negotiate, nonNegInt, renderToolStatusMarkdown, statusForPeer, u32, versionSubprotocol };
2807
+ export { AbsPath, AppFeatureStatus, AppInfo, AppKey, AppProfile, AppProfileId, AppProfileLocator, AppSupport, AppUsageReading, AppsListParams, AppsListResult, AppsOpenParams, AppsOpenResult, AppsProfilesListParams, AppsProfilesListResult, AppsProfilesRemoveParams, AppsProfilesRemoveResult, AppsProfilesSaveParams, AppsProfilesSaveResult, CONTRACT_SHA256, type CatalogTool, type CellState, ClipboardReadParams, ClipboardReadResult, ClipboardWriteParams, ClipboardWriteResult, CodingHistoryBlocked, CodingHistoryFailure, CodingHistoryImportMissingParams, CodingHistoryImportMissingResult, CodingHistoryProgressEvent, CodingHistoryRun, CodingHistoryStep, CodingImportNextParams, CodingPlanMissingParams, CodingServiceCredentials, CodingServiceProgress, ContractHash, CoreToServiceMsg, DEFAULT_MAX_FRAME_PAYLOAD_BYTES, DEFAULT_MAX_MESSAGE_BYTES, DEFAULT_WINDOW_BYTES, DeviceId, 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, InputHotkeyParams, InputHotkeyResult, InputKey, InputMouseClickParams, InputMouseClickResult, InputMouseMoveParams, InputMouseMoveResult, InputPoint, InputTypeTextParams, InputTypeTextResult, LEGACY_ACTIONS, LEGACY_DISPATCHERS, type LegacyDisposition, NULL_SINCE, OpName, OsPermissionName, PROTOCOL_MAJOR, PROTOCOL_MINOR, PROTOCOL_VERSION, PowerPreventSleepParams, PowerPreventSleepResult, PowerStatusParams, PowerStatusResult, ProcInfo, ProcKillParams, ProcKillResult, ProcListParams, ProcListResult, ProcPort, ProcPortsParams, ProcPortsResult, ProcSort, 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, ResourcesDisk, ResourcesSnapshotParams, ResourcesSnapshotResult, 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, Signal, type StatusCell, type StatusEvidence, type StatusRow, SysinfoGetParams, SysinfoGetResult, SystemNotifyParams, SystemNotifyResult, SystemOpenPathParams, SystemOpenPathResult, SystemOpenUrlParams, SystemOpenUrlResult, TOOL_CATALOG, TOOL_GROUPS, TOOL_LEVELS, TOOL_PLATFORMS, type ToolGroup, type ToolGroupId, ToolLevel, ToolLevelResult, ToolName, ToolOutcome, type ToolPath, ToolPlatform, ToolResultsFile, type ToolState, type ToolStatus, ToolTransport, VERSIONED_RESULT_OPS, WindowFocusParams, WindowFocusResult, WindowInfo, WindowListParams, WindowListResult, WindowMinimizeParams, WindowMinimizeResult, WindowMoveParams, WindowMoveResult, announcedVersion, buildToolStatus, builtOps, compareVersions, epochMs, forPeer, knows, negotiate, nonNegInt, renderToolStatusMarkdown, statusForPeer, u32, versionSubprotocol };