@ai-matrx/desktop-protocol 0.10.0 → 0.11.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 './registry-B3NqARgh.cjs';
3
- export { B as BEARER_PREFIX, f as CLOSE_RULES, g as CancelMsg, h as ClientToCoreMsg, e as ClientType, j as CloseAction, k as CloseCode, l as CloseCodeValue, C as CloseOutcome, m as CloseRule, n as CoreToClientMsg, o as CreditMsg, D as DesktopProtocolError, d as EVENTS, p as EndMsg, E as EndReason, q as ErrorCode, r as ErrorCodeName, s as ErrorData, t as ErrorMsg, u as ErrorReason, v as ErrorReasonName, w as EventMsg, x as EventName, F as FsPatchEditFailure, H as HelloMsg, L as Limits, N as NAMED_SCHEMAS, y as NamedSchemaId, c as OPS, z as OpDescriptor, a as OpParams, b as OpResult, A as OpSpec, P as PING_TEXT, G as PONG_TEXT, I as ProtocolErrorBody, R as RelayMsg, J as RequestMsg, K as ResponseMsg, M as SERVICES, Q as SUBPROTOCOL, T as ServiceId, U as ServiceOpName, V as ServiceOpSpec, X as ServiceSpec, S as StreamMeta, Y as StreamMsg, W as Welcome, Z as closeRule, i as isDesktopProtocolError, _ as isTerminalClose } from './registry-B3NqARgh.cjs';
2
+ import { O as OpName } from './models-CxAHZMAM.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-CxAHZMAM.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. */
@@ -1041,297 +1041,6 @@ declare const RelayCallEnvelope: z.ZodObject<{
1041
1041
  }, z.core.$strict>;
1042
1042
  type RelayCallEnvelope = z.output<typeof RelayCallEnvelope>;
1043
1043
 
1044
- /**
1045
- * @ai-matrx/desktop-protocol — the `models` capability (SPEC §6): local AI models on the device,
1046
- * served by Matrx 2's `ml` Python service (SPEC §3.10). Schema source: lint-enforced rules in
1047
- * scripts/check-schema-source.mjs.
1048
- *
1049
- * Two contracts share these shapes, both generated from this file (SPEC P11):
1050
- * - the Router ops `models.*` (every transport: relay, localhost, extension, the app's screen);
1051
- * - the internal service ops `ml.*` between the desktop core and the Python service
1052
- * (src/schema/service.ts, `SERVICES` in registry.ts). A forwarded op uses the SAME named
1053
- * schema on both hops, so the two can never disagree.
1054
- */
1055
-
1056
- /** The heavy runtime (inference packages) is installed on first use, never shipped in the app. */
1057
- declare const MlRuntimeState: z.ZodEnum<{
1058
- not_installed: "not_installed";
1059
- installing: "installing";
1060
- installed: "installed";
1061
- failed: "failed";
1062
- }>;
1063
- /** `packages`: the locked inference wheels; `model`: one model's weights; `verifying`: hashes and a load test. */
1064
- declare const MlInstallPhase: z.ZodEnum<{
1065
- model: "model";
1066
- packages: "packages";
1067
- verifying: "verifying";
1068
- }>;
1069
- declare const MlInstallProgress: z.ZodObject<{
1070
- phase: z.ZodEnum<{
1071
- model: "model";
1072
- packages: "packages";
1073
- verifying: "verifying";
1074
- }>;
1075
- item: z.ZodString;
1076
- bytes_done: z.ZodInt;
1077
- bytes_total: z.ZodNullable<z.ZodInt>;
1078
- }, z.core.$strict>;
1079
- declare const TranscriptionModelInfo: z.ZodObject<{
1080
- id: z.ZodEnum<{
1081
- tiny: "tiny";
1082
- base: "base";
1083
- small: "small";
1084
- "large-v3-turbo": "large-v3-turbo";
1085
- }>;
1086
- size_bytes: z.ZodInt;
1087
- multilingual: z.ZodBoolean;
1088
- installed: z.ZodBoolean;
1089
- }, z.core.$strict>;
1090
- /** What the `ml` service itself reports (the core adds the supervisor's view in ModelsStatusResult). */
1091
- declare const MlStatusParams: z.ZodObject<{}, z.core.$strict>;
1092
- /** The supervisor's view of the `ml` service process. */
1093
- declare const MlServiceState: z.ZodEnum<{
1094
- failed: "failed";
1095
- starting: "starting";
1096
- ready: "ready";
1097
- restarting: "restarting";
1098
- stopped: "stopped";
1099
- }>;
1100
- declare const MlServiceStatus: z.ZodObject<{
1101
- state: z.ZodEnum<{
1102
- failed: "failed";
1103
- starting: "starting";
1104
- ready: "ready";
1105
- restarting: "restarting";
1106
- stopped: "stopped";
1107
- }>;
1108
- pid: z.ZodNullable<z.ZodInt>;
1109
- restarts: z.ZodInt;
1110
- python: z.ZodNullable<z.ZodString>;
1111
- error: z.ZodNullable<z.ZodString>;
1112
- }, z.core.$strict>;
1113
- declare const ModelsStatusParams: z.ZodObject<{}, z.core.$strict>;
1114
- /** Whisper sizes the device can run (CTranslate2 weights). Larger = slower, more accurate. */
1115
- declare const TranscriptionModelId: z.ZodEnum<{
1116
- tiny: "tiny";
1117
- base: "base";
1118
- small: "small";
1119
- "large-v3-turbo": "large-v3-turbo";
1120
- }>;
1121
- type TranscriptionModelId = z.output<typeof TranscriptionModelId>;
1122
- declare const MlStatusResult: z.ZodObject<{
1123
- runtime: z.ZodEnum<{
1124
- not_installed: "not_installed";
1125
- installing: "installing";
1126
- installed: "installed";
1127
- failed: "failed";
1128
- }>;
1129
- install: z.ZodNullable<z.ZodObject<{
1130
- phase: z.ZodEnum<{
1131
- model: "model";
1132
- packages: "packages";
1133
- verifying: "verifying";
1134
- }>;
1135
- item: z.ZodString;
1136
- bytes_done: z.ZodInt;
1137
- bytes_total: z.ZodNullable<z.ZodInt>;
1138
- }, z.core.$strict>>;
1139
- error: z.ZodNullable<z.ZodString>;
1140
- accelerator: z.ZodEnum<{
1141
- cpu: "cpu";
1142
- cuda: "cuda";
1143
- }>;
1144
- models: z.ZodArray<z.ZodObject<{
1145
- id: z.ZodEnum<{
1146
- tiny: "tiny";
1147
- base: "base";
1148
- small: "small";
1149
- "large-v3-turbo": "large-v3-turbo";
1150
- }>;
1151
- size_bytes: z.ZodInt;
1152
- multilingual: z.ZodBoolean;
1153
- installed: z.ZodBoolean;
1154
- }, z.core.$strict>>;
1155
- default_model: z.ZodEnum<{
1156
- tiny: "tiny";
1157
- base: "base";
1158
- small: "small";
1159
- "large-v3-turbo": "large-v3-turbo";
1160
- }>;
1161
- }, z.core.$strict>;
1162
- type MlStatusResult = z.output<typeof MlStatusResult>;
1163
- /** A progress report while `ml.install` / `ml.transcribe` runs. */
1164
- declare const MlProgress: z.ZodObject<{
1165
- kind: z.ZodEnum<{
1166
- install: "install";
1167
- transcribe: "transcribe";
1168
- }>;
1169
- fraction: z.ZodNullable<z.ZodNumber>;
1170
- install: z.ZodNullable<z.ZodObject<{
1171
- phase: z.ZodEnum<{
1172
- model: "model";
1173
- packages: "packages";
1174
- verifying: "verifying";
1175
- }>;
1176
- item: z.ZodString;
1177
- bytes_done: z.ZodInt;
1178
- bytes_total: z.ZodNullable<z.ZodInt>;
1179
- }, z.core.$strict>>;
1180
- segment: z.ZodNullable<z.ZodObject<{
1181
- start_s: z.ZodNumber;
1182
- end_s: z.ZodNumber;
1183
- text: z.ZodString;
1184
- }, z.core.$strict>>;
1185
- }, z.core.$strict>;
1186
- type MlProgress = z.output<typeof MlProgress>;
1187
- declare const ModelsStatusResult: z.ZodObject<{
1188
- service: z.ZodObject<{
1189
- state: z.ZodEnum<{
1190
- failed: "failed";
1191
- starting: "starting";
1192
- ready: "ready";
1193
- restarting: "restarting";
1194
- stopped: "stopped";
1195
- }>;
1196
- pid: z.ZodNullable<z.ZodInt>;
1197
- restarts: z.ZodInt;
1198
- python: z.ZodNullable<z.ZodString>;
1199
- error: z.ZodNullable<z.ZodString>;
1200
- }, z.core.$strict>;
1201
- transcription: z.ZodNullable<z.ZodObject<{
1202
- runtime: z.ZodEnum<{
1203
- not_installed: "not_installed";
1204
- installing: "installing";
1205
- installed: "installed";
1206
- failed: "failed";
1207
- }>;
1208
- install: z.ZodNullable<z.ZodObject<{
1209
- phase: z.ZodEnum<{
1210
- model: "model";
1211
- packages: "packages";
1212
- verifying: "verifying";
1213
- }>;
1214
- item: z.ZodString;
1215
- bytes_done: z.ZodInt;
1216
- bytes_total: z.ZodNullable<z.ZodInt>;
1217
- }, z.core.$strict>>;
1218
- error: z.ZodNullable<z.ZodString>;
1219
- accelerator: z.ZodEnum<{
1220
- cpu: "cpu";
1221
- cuda: "cuda";
1222
- }>;
1223
- models: z.ZodArray<z.ZodObject<{
1224
- id: z.ZodEnum<{
1225
- tiny: "tiny";
1226
- base: "base";
1227
- small: "small";
1228
- "large-v3-turbo": "large-v3-turbo";
1229
- }>;
1230
- size_bytes: z.ZodInt;
1231
- multilingual: z.ZodBoolean;
1232
- installed: z.ZodBoolean;
1233
- }, z.core.$strict>>;
1234
- default_model: z.ZodEnum<{
1235
- tiny: "tiny";
1236
- base: "base";
1237
- small: "small";
1238
- "large-v3-turbo": "large-v3-turbo";
1239
- }>;
1240
- }, z.core.$strict>>;
1241
- }, z.core.$strict>;
1242
- type ModelsStatusResult = z.output<typeof ModelsStatusResult>;
1243
- /**
1244
- * Transcribe an audio or video file on the device. Any format the bundled decoder reads (wav, mp3,
1245
- * m4a, webm/opus, mp4…). `language` is ISO 639-1; omitted = detect. `translate` = into English.
1246
- */
1247
- declare const ModelsTranscribeParams: z.ZodObject<{
1248
- path: z.ZodString;
1249
- model: z.ZodOptional<z.ZodEnum<{
1250
- tiny: "tiny";
1251
- base: "base";
1252
- small: "small";
1253
- "large-v3-turbo": "large-v3-turbo";
1254
- }>>;
1255
- language: z.ZodOptional<z.ZodString>;
1256
- task: z.ZodDefault<z.ZodEnum<{
1257
- transcribe: "transcribe";
1258
- translate: "translate";
1259
- }>>;
1260
- }, z.core.$strict>;
1261
- type ModelsTranscribeParams = z.output<typeof ModelsTranscribeParams>;
1262
- declare const ModelsTranscribeResult: z.ZodObject<{
1263
- text: z.ZodString;
1264
- language: z.ZodString;
1265
- language_probability: z.ZodNumber;
1266
- duration_s: z.ZodNumber;
1267
- model: z.ZodEnum<{
1268
- tiny: "tiny";
1269
- base: "base";
1270
- small: "small";
1271
- "large-v3-turbo": "large-v3-turbo";
1272
- }>;
1273
- segments: z.ZodArray<z.ZodObject<{
1274
- start_s: z.ZodNumber;
1275
- end_s: z.ZodNumber;
1276
- text: z.ZodString;
1277
- }, z.core.$strict>>;
1278
- elapsed_ms: z.ZodInt;
1279
- }, z.core.$strict>;
1280
- type ModelsTranscribeResult = z.output<typeof ModelsTranscribeResult>;
1281
- /** Install the runtime (if missing) and one model's weights (default: the default model). */
1282
- declare const ModelsInstallParams: z.ZodObject<{
1283
- model: z.ZodOptional<z.ZodEnum<{
1284
- tiny: "tiny";
1285
- base: "base";
1286
- small: "small";
1287
- "large-v3-turbo": "large-v3-turbo";
1288
- }>>;
1289
- }, z.core.$strict>;
1290
- type ModelsInstallParams = z.output<typeof ModelsInstallParams>;
1291
- declare const ModelsInstallResult: z.ZodObject<{
1292
- model: z.ZodEnum<{
1293
- tiny: "tiny";
1294
- base: "base";
1295
- small: "small";
1296
- "large-v3-turbo": "large-v3-turbo";
1297
- }>;
1298
- elapsed_ms: z.ZodInt;
1299
- }, z.core.$strict>;
1300
- type ModelsInstallResult = z.output<typeof ModelsInstallResult>;
1301
- /** Sent to the client that started a `models.install` or `models.transcribe`, for that request. */
1302
- declare const ModelsProgressEvent: z.ZodObject<{
1303
- request_id: z.ZodString;
1304
- progress: z.ZodObject<{
1305
- kind: z.ZodEnum<{
1306
- install: "install";
1307
- transcribe: "transcribe";
1308
- }>;
1309
- fraction: z.ZodNullable<z.ZodNumber>;
1310
- install: z.ZodNullable<z.ZodObject<{
1311
- phase: z.ZodEnum<{
1312
- model: "model";
1313
- packages: "packages";
1314
- verifying: "verifying";
1315
- }>;
1316
- item: z.ZodString;
1317
- bytes_done: z.ZodInt;
1318
- bytes_total: z.ZodNullable<z.ZodInt>;
1319
- }, z.core.$strict>>;
1320
- segment: z.ZodNullable<z.ZodObject<{
1321
- start_s: z.ZodNumber;
1322
- end_s: z.ZodNumber;
1323
- text: z.ZodString;
1324
- }, z.core.$strict>>;
1325
- }, z.core.$strict>;
1326
- }, z.core.$strict>;
1327
- type ModelsProgressEvent = z.output<typeof ModelsProgressEvent>;
1328
- declare const TranscriptSegment: z.ZodObject<{
1329
- start_s: z.ZodNumber;
1330
- end_s: z.ZodNumber;
1331
- text: z.ZodString;
1332
- }, z.core.$strict>;
1333
- type TranscriptSegment = z.output<typeof TranscriptSegment>;
1334
-
1335
1044
  /**
1336
1045
  * @ai-matrx/desktop-protocol — cap apps (SPEC §6): the desktop apps a person uses (Claude, Codex,
1337
1046
  * Cursor, VS Code, Antigravity, and any app a later adapter adds), their profiles and usage.
@@ -2146,4 +1855,4 @@ declare function buildToolStatus(files: readonly unknown[], opts: {
2146
1855
  /** The committed text form. Columns: per platform, the three levels (P = programmatic, R = protocol, C = chat). */
2147
1856
  declare function renderToolStatusMarkdown(status: ToolStatus): string;
2148
1857
 
2149
- 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, ContractHash, CoreToServiceMsg, DEFAULT_MAX_FRAME_PAYLOAD_BYTES, DEFAULT_MAX_MESSAGE_BYTES, DEFAULT_WINDOW_BYTES, DeviceId, ExecCwdEvent, ExecExitedEvent, 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, FsWatchParams, FsWatchResult, FsWriteParams, FsWriteResult, LEGACY_ACTIONS, LEGACY_DISPATCHERS, type LegacyDisposition, MlInstallPhase, MlInstallProgress, MlProgress, MlRuntimeState, MlServiceState, MlServiceStatus, MlStatusParams, MlStatusResult, ModelsInstallParams, ModelsInstallResult, ModelsProgressEvent, ModelsStatusParams, ModelsStatusResult, ModelsTranscribeParams, ModelsTranscribeResult, NULL_SINCE, OpName, OsPermissionName, PROTOCOL_MAJOR, PROTOCOL_MINOR, PROTOCOL_VERSION, 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, SERVICE_MAX_FRAME_BYTES, 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, 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, TranscriptSegment, TranscriptionModelId, TranscriptionModelInfo, VERSIONED_RESULT_OPS, announcedVersion, buildToolStatus, builtOps, compareVersions, epochMs, forPeer, knows, negotiate, nonNegInt, renderToolStatusMarkdown, statusForPeer, u32, versionSubprotocol };
1858
+ 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, ContractHash, CoreToServiceMsg, DEFAULT_MAX_FRAME_PAYLOAD_BYTES, DEFAULT_MAX_MESSAGE_BYTES, DEFAULT_WINDOW_BYTES, DeviceId, ExecCwdEvent, ExecExitedEvent, 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, FsWatchParams, FsWatchResult, FsWriteParams, FsWriteResult, LEGACY_ACTIONS, LEGACY_DISPATCHERS, type LegacyDisposition, NULL_SINCE, OpName, OsPermissionName, PROTOCOL_MAJOR, PROTOCOL_MINOR, PROTOCOL_VERSION, 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, SERVICE_MAX_FRAME_BYTES, 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, 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, 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 './registry-B3NqARgh.js';
3
- export { B as BEARER_PREFIX, f as CLOSE_RULES, g as CancelMsg, h as ClientToCoreMsg, e as ClientType, j as CloseAction, k as CloseCode, l as CloseCodeValue, C as CloseOutcome, m as CloseRule, n as CoreToClientMsg, o as CreditMsg, D as DesktopProtocolError, d as EVENTS, p as EndMsg, E as EndReason, q as ErrorCode, r as ErrorCodeName, s as ErrorData, t as ErrorMsg, u as ErrorReason, v as ErrorReasonName, w as EventMsg, x as EventName, F as FsPatchEditFailure, H as HelloMsg, L as Limits, N as NAMED_SCHEMAS, y as NamedSchemaId, c as OPS, z as OpDescriptor, a as OpParams, b as OpResult, A as OpSpec, P as PING_TEXT, G as PONG_TEXT, I as ProtocolErrorBody, R as RelayMsg, J as RequestMsg, K as ResponseMsg, M as SERVICES, Q as SUBPROTOCOL, T as ServiceId, U as ServiceOpName, V as ServiceOpSpec, X as ServiceSpec, S as StreamMeta, Y as StreamMsg, W as Welcome, Z as closeRule, i as isDesktopProtocolError, _ as isTerminalClose } from './registry-B3NqARgh.js';
2
+ import { O as OpName } from './models-CxAHZMAM.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-CxAHZMAM.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. */
@@ -1041,297 +1041,6 @@ declare const RelayCallEnvelope: z.ZodObject<{
1041
1041
  }, z.core.$strict>;
1042
1042
  type RelayCallEnvelope = z.output<typeof RelayCallEnvelope>;
1043
1043
 
1044
- /**
1045
- * @ai-matrx/desktop-protocol — the `models` capability (SPEC §6): local AI models on the device,
1046
- * served by Matrx 2's `ml` Python service (SPEC §3.10). Schema source: lint-enforced rules in
1047
- * scripts/check-schema-source.mjs.
1048
- *
1049
- * Two contracts share these shapes, both generated from this file (SPEC P11):
1050
- * - the Router ops `models.*` (every transport: relay, localhost, extension, the app's screen);
1051
- * - the internal service ops `ml.*` between the desktop core and the Python service
1052
- * (src/schema/service.ts, `SERVICES` in registry.ts). A forwarded op uses the SAME named
1053
- * schema on both hops, so the two can never disagree.
1054
- */
1055
-
1056
- /** The heavy runtime (inference packages) is installed on first use, never shipped in the app. */
1057
- declare const MlRuntimeState: z.ZodEnum<{
1058
- not_installed: "not_installed";
1059
- installing: "installing";
1060
- installed: "installed";
1061
- failed: "failed";
1062
- }>;
1063
- /** `packages`: the locked inference wheels; `model`: one model's weights; `verifying`: hashes and a load test. */
1064
- declare const MlInstallPhase: z.ZodEnum<{
1065
- model: "model";
1066
- packages: "packages";
1067
- verifying: "verifying";
1068
- }>;
1069
- declare const MlInstallProgress: z.ZodObject<{
1070
- phase: z.ZodEnum<{
1071
- model: "model";
1072
- packages: "packages";
1073
- verifying: "verifying";
1074
- }>;
1075
- item: z.ZodString;
1076
- bytes_done: z.ZodInt;
1077
- bytes_total: z.ZodNullable<z.ZodInt>;
1078
- }, z.core.$strict>;
1079
- declare const TranscriptionModelInfo: z.ZodObject<{
1080
- id: z.ZodEnum<{
1081
- tiny: "tiny";
1082
- base: "base";
1083
- small: "small";
1084
- "large-v3-turbo": "large-v3-turbo";
1085
- }>;
1086
- size_bytes: z.ZodInt;
1087
- multilingual: z.ZodBoolean;
1088
- installed: z.ZodBoolean;
1089
- }, z.core.$strict>;
1090
- /** What the `ml` service itself reports (the core adds the supervisor's view in ModelsStatusResult). */
1091
- declare const MlStatusParams: z.ZodObject<{}, z.core.$strict>;
1092
- /** The supervisor's view of the `ml` service process. */
1093
- declare const MlServiceState: z.ZodEnum<{
1094
- failed: "failed";
1095
- starting: "starting";
1096
- ready: "ready";
1097
- restarting: "restarting";
1098
- stopped: "stopped";
1099
- }>;
1100
- declare const MlServiceStatus: z.ZodObject<{
1101
- state: z.ZodEnum<{
1102
- failed: "failed";
1103
- starting: "starting";
1104
- ready: "ready";
1105
- restarting: "restarting";
1106
- stopped: "stopped";
1107
- }>;
1108
- pid: z.ZodNullable<z.ZodInt>;
1109
- restarts: z.ZodInt;
1110
- python: z.ZodNullable<z.ZodString>;
1111
- error: z.ZodNullable<z.ZodString>;
1112
- }, z.core.$strict>;
1113
- declare const ModelsStatusParams: z.ZodObject<{}, z.core.$strict>;
1114
- /** Whisper sizes the device can run (CTranslate2 weights). Larger = slower, more accurate. */
1115
- declare const TranscriptionModelId: z.ZodEnum<{
1116
- tiny: "tiny";
1117
- base: "base";
1118
- small: "small";
1119
- "large-v3-turbo": "large-v3-turbo";
1120
- }>;
1121
- type TranscriptionModelId = z.output<typeof TranscriptionModelId>;
1122
- declare const MlStatusResult: z.ZodObject<{
1123
- runtime: z.ZodEnum<{
1124
- not_installed: "not_installed";
1125
- installing: "installing";
1126
- installed: "installed";
1127
- failed: "failed";
1128
- }>;
1129
- install: z.ZodNullable<z.ZodObject<{
1130
- phase: z.ZodEnum<{
1131
- model: "model";
1132
- packages: "packages";
1133
- verifying: "verifying";
1134
- }>;
1135
- item: z.ZodString;
1136
- bytes_done: z.ZodInt;
1137
- bytes_total: z.ZodNullable<z.ZodInt>;
1138
- }, z.core.$strict>>;
1139
- error: z.ZodNullable<z.ZodString>;
1140
- accelerator: z.ZodEnum<{
1141
- cpu: "cpu";
1142
- cuda: "cuda";
1143
- }>;
1144
- models: z.ZodArray<z.ZodObject<{
1145
- id: z.ZodEnum<{
1146
- tiny: "tiny";
1147
- base: "base";
1148
- small: "small";
1149
- "large-v3-turbo": "large-v3-turbo";
1150
- }>;
1151
- size_bytes: z.ZodInt;
1152
- multilingual: z.ZodBoolean;
1153
- installed: z.ZodBoolean;
1154
- }, z.core.$strict>>;
1155
- default_model: z.ZodEnum<{
1156
- tiny: "tiny";
1157
- base: "base";
1158
- small: "small";
1159
- "large-v3-turbo": "large-v3-turbo";
1160
- }>;
1161
- }, z.core.$strict>;
1162
- type MlStatusResult = z.output<typeof MlStatusResult>;
1163
- /** A progress report while `ml.install` / `ml.transcribe` runs. */
1164
- declare const MlProgress: z.ZodObject<{
1165
- kind: z.ZodEnum<{
1166
- install: "install";
1167
- transcribe: "transcribe";
1168
- }>;
1169
- fraction: z.ZodNullable<z.ZodNumber>;
1170
- install: z.ZodNullable<z.ZodObject<{
1171
- phase: z.ZodEnum<{
1172
- model: "model";
1173
- packages: "packages";
1174
- verifying: "verifying";
1175
- }>;
1176
- item: z.ZodString;
1177
- bytes_done: z.ZodInt;
1178
- bytes_total: z.ZodNullable<z.ZodInt>;
1179
- }, z.core.$strict>>;
1180
- segment: z.ZodNullable<z.ZodObject<{
1181
- start_s: z.ZodNumber;
1182
- end_s: z.ZodNumber;
1183
- text: z.ZodString;
1184
- }, z.core.$strict>>;
1185
- }, z.core.$strict>;
1186
- type MlProgress = z.output<typeof MlProgress>;
1187
- declare const ModelsStatusResult: z.ZodObject<{
1188
- service: z.ZodObject<{
1189
- state: z.ZodEnum<{
1190
- failed: "failed";
1191
- starting: "starting";
1192
- ready: "ready";
1193
- restarting: "restarting";
1194
- stopped: "stopped";
1195
- }>;
1196
- pid: z.ZodNullable<z.ZodInt>;
1197
- restarts: z.ZodInt;
1198
- python: z.ZodNullable<z.ZodString>;
1199
- error: z.ZodNullable<z.ZodString>;
1200
- }, z.core.$strict>;
1201
- transcription: z.ZodNullable<z.ZodObject<{
1202
- runtime: z.ZodEnum<{
1203
- not_installed: "not_installed";
1204
- installing: "installing";
1205
- installed: "installed";
1206
- failed: "failed";
1207
- }>;
1208
- install: z.ZodNullable<z.ZodObject<{
1209
- phase: z.ZodEnum<{
1210
- model: "model";
1211
- packages: "packages";
1212
- verifying: "verifying";
1213
- }>;
1214
- item: z.ZodString;
1215
- bytes_done: z.ZodInt;
1216
- bytes_total: z.ZodNullable<z.ZodInt>;
1217
- }, z.core.$strict>>;
1218
- error: z.ZodNullable<z.ZodString>;
1219
- accelerator: z.ZodEnum<{
1220
- cpu: "cpu";
1221
- cuda: "cuda";
1222
- }>;
1223
- models: z.ZodArray<z.ZodObject<{
1224
- id: z.ZodEnum<{
1225
- tiny: "tiny";
1226
- base: "base";
1227
- small: "small";
1228
- "large-v3-turbo": "large-v3-turbo";
1229
- }>;
1230
- size_bytes: z.ZodInt;
1231
- multilingual: z.ZodBoolean;
1232
- installed: z.ZodBoolean;
1233
- }, z.core.$strict>>;
1234
- default_model: z.ZodEnum<{
1235
- tiny: "tiny";
1236
- base: "base";
1237
- small: "small";
1238
- "large-v3-turbo": "large-v3-turbo";
1239
- }>;
1240
- }, z.core.$strict>>;
1241
- }, z.core.$strict>;
1242
- type ModelsStatusResult = z.output<typeof ModelsStatusResult>;
1243
- /**
1244
- * Transcribe an audio or video file on the device. Any format the bundled decoder reads (wav, mp3,
1245
- * m4a, webm/opus, mp4…). `language` is ISO 639-1; omitted = detect. `translate` = into English.
1246
- */
1247
- declare const ModelsTranscribeParams: z.ZodObject<{
1248
- path: z.ZodString;
1249
- model: z.ZodOptional<z.ZodEnum<{
1250
- tiny: "tiny";
1251
- base: "base";
1252
- small: "small";
1253
- "large-v3-turbo": "large-v3-turbo";
1254
- }>>;
1255
- language: z.ZodOptional<z.ZodString>;
1256
- task: z.ZodDefault<z.ZodEnum<{
1257
- transcribe: "transcribe";
1258
- translate: "translate";
1259
- }>>;
1260
- }, z.core.$strict>;
1261
- type ModelsTranscribeParams = z.output<typeof ModelsTranscribeParams>;
1262
- declare const ModelsTranscribeResult: z.ZodObject<{
1263
- text: z.ZodString;
1264
- language: z.ZodString;
1265
- language_probability: z.ZodNumber;
1266
- duration_s: z.ZodNumber;
1267
- model: z.ZodEnum<{
1268
- tiny: "tiny";
1269
- base: "base";
1270
- small: "small";
1271
- "large-v3-turbo": "large-v3-turbo";
1272
- }>;
1273
- segments: z.ZodArray<z.ZodObject<{
1274
- start_s: z.ZodNumber;
1275
- end_s: z.ZodNumber;
1276
- text: z.ZodString;
1277
- }, z.core.$strict>>;
1278
- elapsed_ms: z.ZodInt;
1279
- }, z.core.$strict>;
1280
- type ModelsTranscribeResult = z.output<typeof ModelsTranscribeResult>;
1281
- /** Install the runtime (if missing) and one model's weights (default: the default model). */
1282
- declare const ModelsInstallParams: z.ZodObject<{
1283
- model: z.ZodOptional<z.ZodEnum<{
1284
- tiny: "tiny";
1285
- base: "base";
1286
- small: "small";
1287
- "large-v3-turbo": "large-v3-turbo";
1288
- }>>;
1289
- }, z.core.$strict>;
1290
- type ModelsInstallParams = z.output<typeof ModelsInstallParams>;
1291
- declare const ModelsInstallResult: z.ZodObject<{
1292
- model: z.ZodEnum<{
1293
- tiny: "tiny";
1294
- base: "base";
1295
- small: "small";
1296
- "large-v3-turbo": "large-v3-turbo";
1297
- }>;
1298
- elapsed_ms: z.ZodInt;
1299
- }, z.core.$strict>;
1300
- type ModelsInstallResult = z.output<typeof ModelsInstallResult>;
1301
- /** Sent to the client that started a `models.install` or `models.transcribe`, for that request. */
1302
- declare const ModelsProgressEvent: z.ZodObject<{
1303
- request_id: z.ZodString;
1304
- progress: z.ZodObject<{
1305
- kind: z.ZodEnum<{
1306
- install: "install";
1307
- transcribe: "transcribe";
1308
- }>;
1309
- fraction: z.ZodNullable<z.ZodNumber>;
1310
- install: z.ZodNullable<z.ZodObject<{
1311
- phase: z.ZodEnum<{
1312
- model: "model";
1313
- packages: "packages";
1314
- verifying: "verifying";
1315
- }>;
1316
- item: z.ZodString;
1317
- bytes_done: z.ZodInt;
1318
- bytes_total: z.ZodNullable<z.ZodInt>;
1319
- }, z.core.$strict>>;
1320
- segment: z.ZodNullable<z.ZodObject<{
1321
- start_s: z.ZodNumber;
1322
- end_s: z.ZodNumber;
1323
- text: z.ZodString;
1324
- }, z.core.$strict>>;
1325
- }, z.core.$strict>;
1326
- }, z.core.$strict>;
1327
- type ModelsProgressEvent = z.output<typeof ModelsProgressEvent>;
1328
- declare const TranscriptSegment: z.ZodObject<{
1329
- start_s: z.ZodNumber;
1330
- end_s: z.ZodNumber;
1331
- text: z.ZodString;
1332
- }, z.core.$strict>;
1333
- type TranscriptSegment = z.output<typeof TranscriptSegment>;
1334
-
1335
1044
  /**
1336
1045
  * @ai-matrx/desktop-protocol — cap apps (SPEC §6): the desktop apps a person uses (Claude, Codex,
1337
1046
  * Cursor, VS Code, Antigravity, and any app a later adapter adds), their profiles and usage.
@@ -2146,4 +1855,4 @@ declare function buildToolStatus(files: readonly unknown[], opts: {
2146
1855
  /** The committed text form. Columns: per platform, the three levels (P = programmatic, R = protocol, C = chat). */
2147
1856
  declare function renderToolStatusMarkdown(status: ToolStatus): string;
2148
1857
 
2149
- 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, ContractHash, CoreToServiceMsg, DEFAULT_MAX_FRAME_PAYLOAD_BYTES, DEFAULT_MAX_MESSAGE_BYTES, DEFAULT_WINDOW_BYTES, DeviceId, ExecCwdEvent, ExecExitedEvent, 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, FsWatchParams, FsWatchResult, FsWriteParams, FsWriteResult, LEGACY_ACTIONS, LEGACY_DISPATCHERS, type LegacyDisposition, MlInstallPhase, MlInstallProgress, MlProgress, MlRuntimeState, MlServiceState, MlServiceStatus, MlStatusParams, MlStatusResult, ModelsInstallParams, ModelsInstallResult, ModelsProgressEvent, ModelsStatusParams, ModelsStatusResult, ModelsTranscribeParams, ModelsTranscribeResult, NULL_SINCE, OpName, OsPermissionName, PROTOCOL_MAJOR, PROTOCOL_MINOR, PROTOCOL_VERSION, 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, SERVICE_MAX_FRAME_BYTES, 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, 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, TranscriptSegment, TranscriptionModelId, TranscriptionModelInfo, VERSIONED_RESULT_OPS, announcedVersion, buildToolStatus, builtOps, compareVersions, epochMs, forPeer, knows, negotiate, nonNegInt, renderToolStatusMarkdown, statusForPeer, u32, versionSubprotocol };
1858
+ 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, ContractHash, CoreToServiceMsg, DEFAULT_MAX_FRAME_PAYLOAD_BYTES, DEFAULT_MAX_MESSAGE_BYTES, DEFAULT_WINDOW_BYTES, DeviceId, ExecCwdEvent, ExecExitedEvent, 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, FsWatchParams, FsWatchResult, FsWriteParams, FsWriteResult, LEGACY_ACTIONS, LEGACY_DISPATCHERS, type LegacyDisposition, NULL_SINCE, OpName, OsPermissionName, PROTOCOL_MAJOR, PROTOCOL_MINOR, PROTOCOL_VERSION, 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, SERVICE_MAX_FRAME_BYTES, 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, 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, announcedVersion, buildToolStatus, builtOps, compareVersions, epochMs, forPeer, knows, negotiate, nonNegInt, renderToolStatusMarkdown, statusForPeer, u32, versionSubprotocol };