@stim-cli/core 1.26.0 → 1.28.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.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { F as BuildSwiftpmArtifactQuery, M as BuildReactNativeArtifactQuery, m as BuildArtifactIdentity } from "./protocol-swbEkLsj.mjs";
2
- import { Server } from "node:net";
1
+ import { F as BuildSwiftpmArtifactQuery, M as BuildReactNativeArtifactQuery, m as BuildArtifactIdentity } from "./protocol-CPg61C01.mjs";
2
+ import { Server, Socket } from "node:net";
3
3
  //#region dir-lock.d.ts
4
4
  interface DirLockOptions {
5
5
  waitMs?: number;
@@ -147,18 +147,31 @@ interface MetroBridge {
147
147
  server: Server;
148
148
  close: () => Promise<void>;
149
149
  }
150
- /** Bind this gateway only to the client's own Tailscale address; `peer` is the pinned worker's literal address. */
151
- declare function createMetroGateway({ metroPort, peer, secret }: {
152
- metroPort: number;
153
- peer: string;
154
- secret: string;
155
- }): MetroBridge;
156
- /** Bind this endpoint only to worker loopback; `peer` comes from the approved client's authenticated connection. */
157
- declare function createMetroBridge({ gatewayPort, peer, secret }: {
158
- gatewayPort: number;
159
- peer: string;
160
- secret: string;
161
- }): MetroBridge;
150
+ /** A client-initiated connection waiting to carry one Metro TCP stream. */
151
+ interface MetroLink {
152
+ /**
153
+ * Takes over the accepted worker socket, which is paused, and owns it until either side closes. False when the link
154
+ * is already closing; the socket is untouched and the bridge tries another link.
155
+ */
156
+ open: (socket: Socket) => boolean;
157
+ /** Ends a link that never carried a stream. */
158
+ close: () => void;
159
+ }
160
+ /** The idle links a hosted session's client keeps open; a bridge takes one per accepted connection. */
161
+ interface MetroLinks {
162
+ /**
163
+ * False when the links are closed; the caller closes the link. At `METRO_LINK_LIMIT` idle links it closes the oldest,
164
+ * so links that died without a close cannot crowd out live ones.
165
+ */
166
+ add: (link: MetroLink) => boolean;
167
+ remove: (link: MetroLink) => void;
168
+ /** Resolves the newest idle link, waiting at most `waitMs` for one; null when none arrived or the links closed. */
169
+ take: (waitMs: number) => Promise<MetroLink | null>;
170
+ close: () => void;
171
+ }
172
+ declare function createMetroLinks(): MetroLinks;
173
+ /** Bind this endpoint only to worker loopback; each accepted connection rides one link its client opened. */
174
+ declare function createMetroBridge(links: Pick<MetroLinks, "add" | "take">, waitMs?: number): MetroBridge;
162
175
  //#endregion
163
176
  //#region react-native-artifact.d.ts
164
177
  /** Validates and canonicalizes the choices used by completed React Native peer artifacts. */
@@ -237,4 +250,4 @@ declare function updateCacheManifest(file: string, mutate: (caches: Array<Record
237
250
  declare function cacheDirRefusal(dir: string): string | null;
238
251
  declare function registerCache({ dir, name, prune, note, entriesDepth, layout, replaces }: RegisterOptions): void;
239
252
  //#endregion
240
- export { type AsyncStoreArtifactOptions, BuildRunOptions, CacheManifest, CacheRegistrationMatch, type DirLockOptions, LOG_ROTATE_BYTES, METRO_NAMED_CACHE_LAYOUT, type MetroBridge, RegisterOptions, STORE_ROOT_TAG, type StimContext, type StimOutput, type StoreArtifactOptions, type UnitLine, ambientContext, ambientEnv, ambientWrite, artifactIn, buildCacheKey, buildCacheRoot, cacheDirRefusal, cacheManifestLockPath, cacheNameSegment, cachePathSetting, compiledHelper, configDir, createMetroBridge, createMetroGateway, dependencyInstall, dependencyLockfile, ensurePrivateDir, hostSimulatorArch, metroCacheRoot, quoteUnitWord, quotedPath, reactNativeArtifactIdentity, reactNativeArtifactQuery, readCacheManifest, registerCache, resolveArtifact, reusableDependencies, rotateLog, rotatedLogPath, sharedStoreRoot, storeArtifact, storeArtifactAsync, swiftpmArtifactQuery, tagSharedStore, unitLines, unitWords, updateCacheManifest, validMacosResourceDestination, withAmbientContext, withDirLock, withDirLockAsync, withDirLockTransaction, workspaceId, workspaceLogDir, workspaceName, workspaceSlug, workspaceStateDir };
253
+ export { type AsyncStoreArtifactOptions, BuildRunOptions, CacheManifest, CacheRegistrationMatch, type DirLockOptions, LOG_ROTATE_BYTES, METRO_NAMED_CACHE_LAYOUT, type MetroBridge, type MetroLink, type MetroLinks, RegisterOptions, STORE_ROOT_TAG, type StimContext, type StimOutput, type StoreArtifactOptions, type UnitLine, ambientContext, ambientEnv, ambientWrite, artifactIn, buildCacheKey, buildCacheRoot, cacheDirRefusal, cacheManifestLockPath, cacheNameSegment, cachePathSetting, compiledHelper, configDir, createMetroBridge, createMetroLinks, dependencyInstall, dependencyLockfile, ensurePrivateDir, hostSimulatorArch, metroCacheRoot, quoteUnitWord, quotedPath, reactNativeArtifactIdentity, reactNativeArtifactQuery, readCacheManifest, registerCache, resolveArtifact, reusableDependencies, rotateLog, rotatedLogPath, sharedStoreRoot, storeArtifact, storeArtifactAsync, swiftpmArtifactQuery, tagSharedStore, unitLines, unitWords, updateCacheManifest, validMacosResourceDestination, withAmbientContext, withDirLock, withDirLockAsync, withDirLockTransaction, workspaceId, workspaceLogDir, workspaceName, workspaceSlug, workspaceStateDir };
package/dist/index.mjs CHANGED
@@ -1,3 +1,3 @@
1
1
  import { C as quotedPath } from "./ownership-claim-DG2GMIoo.mjs";
2
- import { $ as withDirLockAsync, A as createMetroGateway, B as unitLines, C as workspaceName, D as reactNativeArtifactIdentity, E as swiftpmArtifactQuery, F as storeArtifactAsync, G as ambientWrite, H as validMacosResourceDestination, I as artifactIn, K as withAmbientContext, L as resolveArtifact, M as dependencyLockfile, N as reusableDependencies, O as reactNativeArtifactQuery, P as compiledHelper, Q as withDirLock, R as storeArtifact, S as workspaceLogDir, T as workspaceStateDir, U as ambientContext, V as unitWords, W as ambientEnv, _ as rotatedLogPath, a as buildCacheRoot, b as updateCacheManifest, c as cacheNameSegment, d as ensurePrivateDir, et as withDirLockTransaction, f as hostSimulatorArch, g as rotateLog, h as registerCache, i as buildCacheKey, j as dependencyInstall, k as createMetroBridge, l as cachePathSetting, m as readCacheManifest, n as METRO_NAMED_CACHE_LAYOUT, o as cacheDirRefusal, p as metroCacheRoot, r as STORE_ROOT_TAG, s as cacheManifestLockPath, t as LOG_ROTATE_BYTES, u as configDir, v as sharedStoreRoot, w as workspaceSlug, x as workspaceId, y as tagSharedStore, z as quoteUnitWord } from "./core-Cd3b_fBm.mjs";
3
- export { LOG_ROTATE_BYTES, METRO_NAMED_CACHE_LAYOUT, STORE_ROOT_TAG, ambientContext, ambientEnv, ambientWrite, artifactIn, buildCacheKey, buildCacheRoot, cacheDirRefusal, cacheManifestLockPath, cacheNameSegment, cachePathSetting, compiledHelper, configDir, createMetroBridge, createMetroGateway, dependencyInstall, dependencyLockfile, ensurePrivateDir, hostSimulatorArch, metroCacheRoot, quoteUnitWord, quotedPath, reactNativeArtifactIdentity, reactNativeArtifactQuery, readCacheManifest, registerCache, resolveArtifact, reusableDependencies, rotateLog, rotatedLogPath, sharedStoreRoot, storeArtifact, storeArtifactAsync, swiftpmArtifactQuery, tagSharedStore, unitLines, unitWords, updateCacheManifest, validMacosResourceDestination, withAmbientContext, withDirLock, withDirLockAsync, withDirLockTransaction, workspaceId, workspaceLogDir, workspaceName, workspaceSlug, workspaceStateDir };
2
+ import { $ as withDirLockAsync, A as createMetroLinks, B as unitLines, C as workspaceName, D as reactNativeArtifactIdentity, E as swiftpmArtifactQuery, F as storeArtifactAsync, G as ambientWrite, H as validMacosResourceDestination, I as artifactIn, K as withAmbientContext, L as resolveArtifact, M as dependencyLockfile, N as reusableDependencies, O as reactNativeArtifactQuery, P as compiledHelper, Q as withDirLock, R as storeArtifact, S as workspaceLogDir, T as workspaceStateDir, U as ambientContext, V as unitWords, W as ambientEnv, _ as rotatedLogPath, a as buildCacheRoot, b as updateCacheManifest, c as cacheNameSegment, d as ensurePrivateDir, et as withDirLockTransaction, f as hostSimulatorArch, g as rotateLog, h as registerCache, i as buildCacheKey, j as dependencyInstall, k as createMetroBridge, l as cachePathSetting, m as readCacheManifest, n as METRO_NAMED_CACHE_LAYOUT, o as cacheDirRefusal, p as metroCacheRoot, r as STORE_ROOT_TAG, s as cacheManifestLockPath, t as LOG_ROTATE_BYTES, u as configDir, v as sharedStoreRoot, w as workspaceSlug, x as workspaceId, y as tagSharedStore, z as quoteUnitWord } from "./core-Hohf5Wnt.mjs";
3
+ export { LOG_ROTATE_BYTES, METRO_NAMED_CACHE_LAYOUT, STORE_ROOT_TAG, ambientContext, ambientEnv, ambientWrite, artifactIn, buildCacheKey, buildCacheRoot, cacheDirRefusal, cacheManifestLockPath, cacheNameSegment, cachePathSetting, compiledHelper, configDir, createMetroBridge, createMetroLinks, dependencyInstall, dependencyLockfile, ensurePrivateDir, hostSimulatorArch, metroCacheRoot, quoteUnitWord, quotedPath, reactNativeArtifactIdentity, reactNativeArtifactQuery, readCacheManifest, registerCache, resolveArtifact, reusableDependencies, rotateLog, rotatedLogPath, sharedStoreRoot, storeArtifact, storeArtifactAsync, swiftpmArtifactQuery, tagSharedStore, unitLines, unitWords, updateCacheManifest, validMacosResourceDestination, withAmbientContext, withDirLock, withDirLockAsync, withDirLockTransaction, workspaceId, workspaceLogDir, workspaceName, workspaceSlug, workspaceStateDir };
@@ -70,6 +70,9 @@ interface RawSocket {
70
70
  close(code?: number, reason?: string): void;
71
71
  terminate(): void;
72
72
  ping?(): void;
73
+ /** Stops and restarts reading from the network, as `ws` 8 does. */
74
+ pause?(): void;
75
+ resume?(): void;
73
76
  on(event: "message", listener: (data: unknown, isBinary: boolean) => void): unknown;
74
77
  on(event: "close", listener: (code: number, reason: Buffer) => void): unknown;
75
78
  on(event: "error", listener: (error: Error) => void): unknown;
@@ -111,6 +114,8 @@ declare class NoiseSocket extends EventEmitter {
111
114
  close(code?: number, reason?: string): void;
112
115
  terminate(): void;
113
116
  ping(): void;
117
+ pause(): void;
118
+ resume(): void;
114
119
  }
115
120
  interface InitiateOptions {
116
121
  keyPair: NoiseKeyPair;
@@ -225,6 +225,12 @@ var NoiseSocket = class extends EventEmitter {
225
225
  ping() {
226
226
  this.#raw.ping?.();
227
227
  }
228
+ pause() {
229
+ this.#raw.pause?.();
230
+ }
231
+ resume() {
232
+ this.#raw.resume?.();
233
+ }
228
234
  };
229
235
  /**
230
236
  * Runs the client side of the protocol 2 handshake on an open WebSocket. It rejects with {@link HandshakeRefusal} and
@@ -1,5 +1,5 @@
1
- import { Bn as MachineOwner, Cn as BuildReport, Dn as DeviceActivity, Fn as GitChip, Gn as MetroBundleState, Hn as MachineUsageState, Jr as MaintenanceStatus, Ln as LastBuildReport, Nn as EnvironmentDisk, On as DeviceAppProcess, Or as ArchivedUsage, Pn as EnvironmentState, Qn as RemoteDeviceState, Tn as BuildWaitingFor, Ur as MaintenancePass, Wr as MaintenancePressure, Xn as PhysicalDeviceState, Yt as withDerivedFacts, _n as BuildMissChange, _r as WorktreeGit, a as MachineView, an as AndroidDeviceState, bn as BuildPlacement, f as statusViews, fr as WebBrowserState, gr as WorktreeFacts, hn as BuildHistoryEntry, hr as WorkspaceStage, i as ArchivedSummary, ir as StatusIssue, jn as DiskMeasure, kn as DeviceLeaseState, kr as ArchivedWorkspace, mn as BuildDiagnostic, or as StatusPayload, pn as BuildDetail, r as applyKeyedDelta, rn as AgentSession, tr as SimulatorState, un as BuildActivity, vn as BuildMissReason, vr as WorktreePullRequest, xn as BuildPlanPayload, xr as MacosBuild, yr as MacosAppRecord, za as HostedMacosPlacement, zr as MaintenanceAction } from "./index-CVIwytv5.mjs";
2
- import { $ as DesktopBuildEndedEvent, $n as PushEvent, Ar as SimulatorCommand, Bn as NotificationSuppression, Cn as MachineDetails, Ct as DesktopWorktreeWarmProgressEvent, Dt as DeviceUsageSeries, Et as DevicePosture, G as ControlBeginParams, Gt as HelloResult, Ht as FramesSubscribeResult, Ir as TouchPhase, It as FrameDelayedEvent, J as ControlEndedEvent, K as ControlBeginResult, Kn as PROTOCOL_VERSION, Ln as NotificationEntry, Lt as FrameEvent, Nr as StatusEvent, O as BuildPlanParams, On as MachineUsage, Pn as Methods, Qn as ProtocolError, Qr as WorkspaceFiles, Rn as NotificationEvent, Rr as UsageHistory, Rt as FrameTarget, St as DesktopWorktreeWarmEndedEvent, T as BuildMachineReport, Tn as MachineHistory, Tt as DeviceFrameEvent, Un as NotificationsListResult, Wt as HelloParams, X as DEVICE_HOST_METHODS, Xr as WorkspaceEvent, Yn as Platform, Yr as WorkspaceDiff, Yt as InputButton, Zr as WorkspaceFile, Zt as InputKey, _n as LogsEndedEvent, _t as DesktopStartProgressEvent, a as ActionResult, bt as DesktopWorktreeRemoveEndedEvent, c as ArchivedListParams, ct as DesktopReloadProgressEvent, dr as ReplayKeyframe, ei as WorkspacePatch, er as PushRegisterParams, et as DesktopBuildProgressEvent, fr as ReplayKeyframeParams, ft as DesktopRunEndedEvent, gn as LogSource, gr as ReplayTarget, gt as DesktopStartEndedEvent, hn as LogRecord, hr as ReplaySpan, i as ActionParams, j as BuildProgressEvent, jn as MacosWindowsEvent, jr as SimulatorOptions, jt as ErrorEvent, kn as MachineVolume, lt as DesktopReportEvent, mn as LogLevel, mr as ReplayRange, ni as WorkspacesEvent, nn as InputSimulatorParams, nt as DesktopGcProgressEvent, o as ArchiveDetailParams, pn as LogFilter, pr as ReplayMarker, pt as DesktopRunProgressEvent, r as ActionName, sn as KeyModifier, st as DesktopReloadEndedEvent, t as ACTIONS, ti as WorkspaceRef, tt as DesktopGcEndedEvent, u as BUILD_METHODS, ur as ReplayEndedEvent, v as BuildClientSummary, vn as LogsEvent, vr as RotateDirection, vt as DesktopStopEndedEvent, wn as MachineEvent, wt as DeviceFrameArtwork, xr as ServerEvent, xt as DesktopWorktreeRemoveProgressEvent, yn as LogsQueryResult, yr as SERVER_UPDATE_METHODS, yt as DesktopStopProgressEvent, zn as NotificationLevel, zr as UsageSample } from "./protocol-swbEkLsj.mjs";
1
+ import { Ao as LastBuildReport, Do as EnvironmentState, Eo as EnvironmentDisk, Io as MachineUsageState, Js as MacosBuild, Ko as RemoteDeviceState, Ks as MacosAppRecord, Oo as GitChip, Po as MachineOwner, Qa as AndroidDeviceState, So as DeviceLeaseState, Wo as PhysicalDeviceState, Xa as AgentSession, Yo as SimulatorState, _c as MaintenancePressure, _s as WorktreePullRequest, a as MachineView, as as StatusPayload, bo as DeviceActivity, co as BuildHistoryEntry, do as BuildMissReason, ds as WebBrowserState, f as statusViews, fc as MaintenanceAction, gc as MaintenancePass, go as BuildReport, gs as WorktreeGit, hs as WorktreeFacts, i as ArchivedSummary, mo as BuildPlanPayload, ms as WorkspaceStage, nc as ArchivedWorkspace, oo as BuildDetail, po as BuildPlacement, pu as HostedMacosPlacement, r as applyKeyedDelta, ro as BuildActivity, rs as StatusIssue, sn as withDerivedFacts, so as BuildDiagnostic, tc as ArchivedUsage, uo as BuildMissChange, vo as BuildWaitingFor, wo as DiskMeasure, xc as MaintenanceStatus, xo as DeviceAppProcess, zo as MetroBundleState } from "./index-31SZcxv0.mjs";
2
+ import { $ as DesktopBuildEndedEvent, $n as ProtocolError, $r as WorkspaceFiles, Bn as NotificationLevel, Br as UsageSample, Cn as MachineDetails, Ct as DesktopWorktreeWarmProgressEvent, Dt as DeviceUsageSeries, Et as DevicePosture, G as ControlBeginParams, Gt as HelloResult, Ht as FramesSubscribeResult, It as FrameDelayedEvent, J as ControlEndedEvent, K as ControlBeginResult, Lr as TouchPhase, Lt as FrameEvent, Mr as SimulatorOptions, O as BuildPlanParams, On as MachineUsage, Pn as Methods, Pr as StatusEvent, Qr as WorkspaceFile, Rn as NotificationEntry, Rt as FrameTarget, Sr as ServerEvent, St as DesktopWorktreeWarmEndedEvent, T as BuildMachineReport, Tn as MachineHistory, Tt as DeviceFrameEvent, Vn as NotificationSuppression, Wn as NotificationsListResult, Wt as HelloParams, X as DEVICE_HOST_METHODS, Xn as Platform, Xr as WorkspaceDiff, Yt as InputButton, Zr as WorkspaceEvent, Zt as InputKey, _n as LogsEndedEvent, _r as ReplayTarget, _t as DesktopStartProgressEvent, a as ActionResult, br as SERVER_UPDATE_METHODS, bt as DesktopWorktreeRemoveEndedEvent, c as ArchivedListParams, ct as DesktopReloadProgressEvent, dr as ReplayEndedEvent, er as PushEvent, et as DesktopBuildProgressEvent, fr as ReplayKeyframe, ft as DesktopRunEndedEvent, gn as LogSource, gr as ReplaySpan, gt as DesktopStartEndedEvent, hn as LogRecord, hr as ReplayRange, i as ActionParams, j as BuildProgressEvent, jn as MacosWindowsEvent, jr as SimulatorCommand, jt as ErrorEvent, kn as MachineVolume, lt as DesktopReportEvent, mn as LogLevel, mr as ReplayMarker, ni as WorkspaceRef, nn as InputSimulatorParams, nt as DesktopGcProgressEvent, o as ArchiveDetailParams, pn as LogFilter, pr as ReplayKeyframeParams, pt as DesktopRunProgressEvent, qn as PROTOCOL_VERSION, r as ActionName, ri as WorkspacesEvent, sn as KeyModifier, st as DesktopReloadEndedEvent, t as ACTIONS, ti as WorkspacePatch, tr as PushRegisterParams, tt as DesktopGcEndedEvent, u as BUILD_METHODS, v as BuildClientSummary, vn as LogsEvent, vt as DesktopStopEndedEvent, wn as MachineEvent, wt as DeviceFrameArtwork, xt as DesktopWorktreeRemoveProgressEvent, yn as LogsQueryResult, yr as RotateDirection, yt as DesktopStopProgressEvent, zn as NotificationEvent, zr as UsageHistory } from "./protocol-CPg61C01.mjs";
3
3
  //#region phone-protocol.d.ts
4
4
  type PhonePlatform = BuildPlanParams["platform"];
5
5
  type PhoneDevicePlatform = Platform;
@@ -1,4 +1,4 @@
1
- import { A as HostedLogsCursor, Do as SettingWriteResult, Ia as HostedAppLaunch, Jr as MaintenanceStatus, Or as ArchivedUsage, Pn as EnvironmentState, To as SettingScope, Un as MacosBuildPlanPayload, Ya as HostedAppDelivery, Za as HostedAppOffer, a as MachineView, aa as HostedDevicePlatform, ca as HostedDeviceSession, d as WorktreeRow, du as NdjsonRecord, gr as WorktreeFacts, hn as BuildHistoryEntry, i as ArchivedSummary, ia as HostedDevicePhase, j as HostedLogsPage, kr as ArchivedWorkspace, na as HostedDeviceOffer, oa as HostedDeviceRequest, or as StatusPayload, ra as HostedDeviceOfferRequest, t as KeyedDelta, u as WorkspaceSummary, xn as BuildPlanPayload } from "./index-CVIwytv5.mjs";
1
+ import { Al as HostedDeviceOffer, As as SettingScope, Cu as HostedAppDelivery, Do as EnvironmentState, H as HostedLogsCursor, Il as HostedDeviceSession, Lo as MacosBuildPlanPayload, Ml as HostedDevicePhase, Ms as SettingWriteResult, Nl as HostedDevicePlatform, Pl as HostedDeviceRequest, Tu as HostedAppOffer, U as HostedLogsPage, a as MachineView, as as StatusPayload, co as BuildHistoryEntry, d as WorktreeRow, hs as WorktreeFacts, i as ArchivedSummary, jl as HostedDeviceOfferRequest, mo as BuildPlanPayload, nc as ArchivedWorkspace, t as KeyedDelta, tc as ArchivedUsage, td as NdjsonRecord, u as WorkspaceSummary, uu as HostedAppLaunch, xc as MaintenanceStatus } from "./index-31SZcxv0.mjs";
2
2
  //#region protocol.d.ts
3
3
  declare const PROTOCOL_VERSION = 2;
4
4
  declare const PROTOCOL_SCHEMA_FILE = "protocol.schema.json";
@@ -28,6 +28,8 @@ type Capability = (typeof CAPABILITIES)[number];
28
28
  * `hosted-ios-data` is iOS build handoff and native log queries, persisted before device deletion.
29
29
  * `hosted-android-data` is Android APK build handoff and native log queries, persisted before device deletion.
30
30
  * `hosted-ios-process` and `hosted-android-process` accept native app offers in process mode, with live process readiness and no Metro.
31
+ * `hosted-metro-link` carries hosted Metro over `device-host.metro.link` connections the client opens, so the host never
32
+ * connects to the client.
31
33
  * `hosted-metro-ports` is `device-host.metro.ports`, which names the listed ports that already accept loopback
32
34
  * connections on the host, apart from the requesting client's own dev-client bridges.
33
35
  * `native-xcode-build` accepts native Xcode provider requests with a separate source-transfer identity.
@@ -62,9 +64,9 @@ type Capability = (typeof CAPABILITIES)[number];
62
64
  * `desktop-plan` reads next-build reports for selected folders on the proved local Desktop connection.
63
65
  * `desktop-reload` streams reload output and its terminal result on the proved local Desktop connection.
64
66
  */
65
- declare const FEATURES: readonly ["physical-ios", "physical-android", "notifications", "macos-window", "macos-windows", "macos-window-select", "macos-window-control", "macos-keyboard-extended", "device-frames", "macos-hosted", "ios-hosted", "android-hosted", "hosted-ios-agent", "hosted-android-agent", "duo-frames", "workspace-diff", "hosted-congestion", "hosted-ios-data", "hosted-ios-process", "native-xcode-build", "native-xcode-toolchain", "build-artifact-cache", "native-gradle-build", "native-gradle-artifact-cache", "native-gradle-peer-cache", "react-native-peer-cache", "fingerprint-sources", "fingerprint-ignored", "fingerprint-tracked", "swiftpm-peer-cache", "build-dependency-cache", "hosted-android-data", "hosted-android-process", "hosted-metro-ports", "server-update", "build-compat", "build-jdk", "status-views", "desktop-reports", "desktop-report-platform", "desktop-report-invalidate-target", "desktop-settings", "desktop-settings-schema", "desktop-settings-write", "desktop-full-logs", "desktop-doctor-run", "desktop-machine-access", "desktop-stop", "desktop-reload", "desktop-start", "desktop-run", "desktop-build", "desktop-gc", "desktop-worktree-remove", "desktop-worktree-warm", "desktop-plan"];
67
+ declare const FEATURES: readonly ["physical-ios", "physical-android", "notifications", "macos-window", "macos-windows", "macos-window-select", "macos-window-control", "macos-keyboard-extended", "device-frames", "macos-hosted", "ios-hosted", "android-hosted", "hosted-ios-agent", "hosted-android-agent", "duo-frames", "workspace-diff", "hosted-congestion", "hosted-ios-data", "hosted-ios-process", "native-xcode-build", "native-xcode-toolchain", "build-artifact-cache", "native-gradle-build", "native-gradle-artifact-cache", "native-gradle-peer-cache", "react-native-peer-cache", "fingerprint-sources", "fingerprint-ignored", "fingerprint-tracked", "swiftpm-peer-cache", "build-dependency-cache", "hosted-android-data", "hosted-android-process", "hosted-metro-ports", "hosted-metro-link", "server-update", "build-compat", "build-jdk", "status-views", "desktop-reports", "desktop-report-platform", "desktop-report-invalidate-target", "desktop-settings", "desktop-settings-schema", "desktop-settings-write", "desktop-full-logs", "desktop-doctor-run", "desktop-machine-access", "desktop-stop", "desktop-reload", "desktop-start", "desktop-run", "desktop-build", "desktop-gc", "desktop-worktree-remove", "desktop-worktree-warm", "desktop-plan"];
66
68
  type Feature = (typeof FEATURES)[number];
67
- declare const METHODS: readonly ["hello", "desktop.authenticate", "desktop.reports.get", "desktop.reports.subscribe", "desktop.reports.invalidate", "desktop.settings.get", "desktop.settings.schema", "desktop.settings.write", "desktop.logs.subscribe", "desktop.doctor.run", "desktop.machine-access.subscribe", "desktop.stop.subscribe", "desktop.reload.subscribe", "desktop.start.subscribe", "desktop.run.subscribe", "desktop.build.subscribe", "desktop.gc.subscribe", "desktop.worktree.remove.subscribe", "desktop.worktree.warm.subscribe", "desktop.plan.get", "desktop.plan.cancel", "route.setup", "status.subscribe", "workspaces.subscribe", "workspace.subscribe", "machine.subscribe", "builds.history", "archived.list", "worktrees.list", "maintenance.get", "logs.query", "logs.subscribe", "stats.get", "settings.get", "workspace.files", "workspace.diff", "frames.subscribe", "frames.keyframe", "frames.seek", "frames.live", "replay.range", "archive.detail", "replay.keyframe", "recording.set", "build.plan", "machine.get", "machine.history", "machine.details", "unsubscribe", "action", "control.begin", "control.end", "input.touch", "input.text", "input.button", "input.rotate", "input.posture", "input.simulator", "input.scroll", "input.key", "input.window", "push.register", "push.unregister", "notifications.list", "build.offer", "build.sync", "build.start", "build.cancel", "build.artifact", "build.cached-artifact", "build.attach", "device-host.offer", "device-host.reserve", "device-host.attach", "device-host.stop", "device-host.app.offer", "device-host.app.chunk", "device-host.app.handoff", "device-host.app.launch", "device-host.app.attach", "device-host.logs.query", "device-host.metro.open", "device-host.metro.ports", "device-host.metro.close", "device-host.frames.subscribe", "device-host.frames.keyframe", "device-host.frames.congested", "device-host.unsubscribe", "device-host.control.begin", "device-host.control.end", "device-host.input.touch", "device-host.input.text", "device-host.input.scroll", "device-host.input.key", "device-host.input.button", "device-host.input.rotate", "device-host.input.posture", "device-host.input.window", "server.update.status", "server.update.start", "server.update.chunk", "machines.update.start", "machines.update.status", "device-host.sessions", "device-host.sessions.stop"];
69
+ declare const METHODS: readonly ["hello", "desktop.authenticate", "desktop.reports.get", "desktop.reports.subscribe", "desktop.reports.invalidate", "desktop.settings.get", "desktop.settings.schema", "desktop.settings.write", "desktop.logs.subscribe", "desktop.doctor.run", "desktop.machine-access.subscribe", "desktop.stop.subscribe", "desktop.reload.subscribe", "desktop.start.subscribe", "desktop.run.subscribe", "desktop.build.subscribe", "desktop.gc.subscribe", "desktop.worktree.remove.subscribe", "desktop.worktree.warm.subscribe", "desktop.plan.get", "desktop.plan.cancel", "route.setup", "status.subscribe", "workspaces.subscribe", "workspace.subscribe", "machine.subscribe", "builds.history", "archived.list", "worktrees.list", "maintenance.get", "logs.query", "logs.subscribe", "stats.get", "settings.get", "workspace.files", "workspace.diff", "frames.subscribe", "frames.keyframe", "frames.seek", "frames.live", "replay.range", "archive.detail", "replay.keyframe", "recording.set", "build.plan", "machine.get", "machine.history", "machine.details", "unsubscribe", "action", "control.begin", "control.end", "input.touch", "input.text", "input.button", "input.rotate", "input.posture", "input.simulator", "input.scroll", "input.key", "input.window", "push.register", "push.unregister", "notifications.list", "build.offer", "build.sync", "build.start", "build.cancel", "build.artifact", "build.cached-artifact", "build.attach", "device-host.offer", "device-host.reserve", "device-host.attach", "device-host.stop", "device-host.app.offer", "device-host.app.chunk", "device-host.app.handoff", "device-host.app.launch", "device-host.app.attach", "device-host.logs.query", "device-host.metro.open", "device-host.metro.ports", "device-host.metro.close", "device-host.metro.link", "device-host.frames.subscribe", "device-host.frames.keyframe", "device-host.frames.congested", "device-host.unsubscribe", "device-host.control.begin", "device-host.control.end", "device-host.input.touch", "device-host.input.text", "device-host.input.scroll", "device-host.input.key", "device-host.input.button", "device-host.input.rotate", "device-host.input.posture", "device-host.input.window", "server.update.status", "server.update.start", "server.update.chunk", "machines.update.start", "machines.update.status", "device-host.sessions", "device-host.sessions.stop"];
68
70
  /**
69
71
  * The methods that update this server's `stim-server service`. A machine this one approved for `build` or
70
72
  * `device-host` may call them; they need neither `read` nor `control`.
@@ -73,7 +75,7 @@ declare const SERVER_UPDATE_METHODS: readonly ["server.update.status", "server.u
73
75
  /** The methods a connection with the `build` capability may call; they need `build`, not `read`. */
74
76
  declare const BUILD_METHODS: readonly ["build.offer", "build.sync", "build.start", "build.cancel", "build.artifact", "build.cached-artifact", "build.attach"];
75
77
  /** Methods restricted to explicitly approved device-host clients. */
76
- declare const DEVICE_HOST_METHODS: readonly ["device-host.offer", "device-host.reserve", "device-host.attach", "device-host.stop", "device-host.app.offer", "device-host.app.chunk", "device-host.app.handoff", "device-host.app.launch", "device-host.app.attach", "device-host.logs.query", "device-host.metro.open", "device-host.metro.ports", "device-host.metro.close", "device-host.frames.subscribe", "device-host.frames.keyframe", "device-host.frames.congested", "device-host.unsubscribe", "device-host.control.begin", "device-host.control.end", "device-host.input.touch", "device-host.input.text", "device-host.input.scroll", "device-host.input.key", "device-host.input.button", "device-host.input.rotate", "device-host.input.posture", "device-host.input.window"];
78
+ declare const DEVICE_HOST_METHODS: readonly ["device-host.offer", "device-host.reserve", "device-host.attach", "device-host.stop", "device-host.app.offer", "device-host.app.chunk", "device-host.app.handoff", "device-host.app.launch", "device-host.app.attach", "device-host.logs.query", "device-host.metro.open", "device-host.metro.ports", "device-host.metro.close", "device-host.metro.link", "device-host.frames.subscribe", "device-host.frames.keyframe", "device-host.frames.congested", "device-host.unsubscribe", "device-host.control.begin", "device-host.control.end", "device-host.input.touch", "device-host.input.text", "device-host.input.scroll", "device-host.input.key", "device-host.input.button", "device-host.input.rotate", "device-host.input.posture", "device-host.input.window"];
77
79
  type Method = (typeof METHODS)[number];
78
80
  declare const PUSH_TOKEN_PATTERN = "^(Expo|Exponent)PushToken\\[[^\\]\\s]{1,256}\\]$";
79
81
  /**
@@ -1414,8 +1416,6 @@ interface Methods {
1414
1416
  "device-host.metro.open": {
1415
1417
  params: {
1416
1418
  session: string;
1417
- gatewayPort: number;
1418
- secret: string;
1419
1419
  clientMetroPort?: number;
1420
1420
  };
1421
1421
  result: {
@@ -1438,6 +1438,12 @@ interface Methods {
1438
1438
  port: null;
1439
1439
  };
1440
1440
  };
1441
+ "device-host.metro.link": {
1442
+ params: {
1443
+ session: string;
1444
+ };
1445
+ result: Record<string, never>;
1446
+ };
1441
1447
  "device-host.frames.subscribe": {
1442
1448
  params: {
1443
1449
  session: string;
@@ -2175,6 +2181,13 @@ interface DesktopMachineAccessEndedEvent {
2175
2181
  stdout: string;
2176
2182
  message: string;
2177
2183
  }
2184
+ /**
2185
+ * Sent on a `device-host.metro.link` connection when the host pairs it with one Metro stream; binary frames follow.
2186
+ * Only device-host links receive it, so it is not a `ServerEvent`.
2187
+ */
2188
+ interface MetroLinkOpenEvent {
2189
+ event: "device-host.metro.link.open";
2190
+ }
2178
2191
  type ServerEvent = DesktopMachineAccessProgressEvent | DesktopMachineAccessEndedEvent | DesktopWorktreeWarmProgressEvent | DesktopWorktreeWarmEndedEvent | DesktopWorktreeRemoveProgressEvent | DesktopWorktreeRemoveEndedEvent | DesktopGcProgressEvent | DesktopGcEndedEvent | DesktopBuildProgressEvent | DesktopBuildEndedEvent | DesktopRunProgressEvent | DesktopRunEndedEvent | DesktopStartProgressEvent | DesktopStartEndedEvent | DesktopReloadProgressEvent | DesktopReloadEndedEvent | DesktopStopProgressEvent | DesktopStopEndedEvent | DesktopReportEvent | BuildProgressEvent | NotificationEvent | StatusEvent | WorkspacesEvent | WorkspaceEvent | MachineEvent | LogsEvent | LogsEndedEvent | FrameEvent | DeviceFrameEvent | MacosWindowsEvent | FrameDelayedEvent | ReplayEndedEvent | ErrorEvent | ControlEndedEvent;
2179
2192
  type ServerMessage = ServerResponse | ServerEvent;
2180
2193
  type ServeRoute = {
@@ -2193,4 +2206,4 @@ type ServeRoute = {
2193
2206
  port: number;
2194
2207
  };
2195
2208
  //#endregion
2196
- export { DesktopBuildEndedEvent as $, PushEvent as $n, WorkspaceParams as $r, InputPostureParams as $t, BuildPlatform as A, MacosWindow as An, SimulatorCommand as Ar, ErrorCode as At, CAPABILITIES as B, NotificationSuppression as Bn, UsageSeries as Br, FramesSeekParams as Bt, BuildJobParams as C, MachineDetails as Cn, ServerResponse as Cr, DesktopWorktreeWarmProgressEvent as Ct, BuildOfferResult as D, MachineUpdateStatus as Dn, ServerUpdateStartParams as Dr, DeviceUsageSeries as Dt, BuildOfferParams as E, MachineHistoryParams as En, ServerUpdateProgress as Er, DevicePosture as Et, BuildSwiftpmArtifactQuery as F, NOTIFICATION_LEVELS as Fn, TOUCH_PHASES as Fr, Feature as Ft, ControlBeginParams as G, PROTOCOL_SCHEMA_FILE as Gn, VIDEO_KEYFRAME as Gr, HelloResult as Gt, CachedBuildArtifact as H, NotificationsListParams as Hn, VIDEO_CODECS as Hr, FramesSubscribeResult as Ht, BuildSyncParams as I, NOTIFICATION_SUPPRESSIONS as In, TouchPhase as Ir, FrameDelayedEvent as It, ControlEndedEvent as J, PUSH_TOKEN_PATTERN as Jn, VideoPacket as Jr, INPUT_KEYS as Jt, ControlBeginResult as K, PROTOCOL_VERSION as Kn, VIDEO_UNFOLDED as Kr, HostedSessionRow as Kt, BuildSyncResult as L, NotificationEntry as Ln, UnsubscribeParams as Lr, FrameEvent as Lt, BuildReactNativeArtifactQuery as M, MemoryPressure as Mn, StatsResult as Mr, FEATURES as Mt, BuildStartParams as N, Method as Nn, StatusEvent as Nr, FRAME_EDGE as Nt, BuildPlanParams as O, MachineUsage as On, ServerUpdateStatus as Or, DuoFramePose as Ot, BuildStimIdentity as P, Methods as Pn, SubscribeResult as Pr, FRAME_FPS as Pt, DesktopBootstrapChallenge as Q, ProtocolError as Qn, WorkspaceFiles as Qr, InputKeyParams as Qt, BuildToolchain as R, NotificationEvent as Rn, UsageHistory as Rr, FrameTarget as Rt, BuildJobOutcome as S, METHODS as Sn, ServerMessage as Sr, DesktopWorktreeWarmEndedEvent as St, BuildMachineReport as T, MachineHistory as Tn, ServerUpdatePackage as Tr, DeviceFrameEvent as Tt, Capability as U, NotificationsListResult as Un, VIDEO_FOLDED as Ur, GradleOffloadInputs as Ut, CONTROL_END_REASONS as V, NotificationTarget as Vn, VIDEO_ARTWORK as Vr, FramesSeekResult as Vt, ClientRequest as W, PLATFORMS as Wn, VIDEO_HEADER_VERSION as Wr, HelloParams as Wt, DEVICE_HOST_METHODS as X, PlatformBuildOptions as Xn, WorkspaceEvent as Xr, InputButtonParams as Xt, ControlPlatform as Y, Platform as Yn, WorkspaceDiff as Yr, InputButton as Yt, DEVICE_POSTURES as Z, PlatformRunOptions as Zn, WorkspaceFile as Zr, InputKey as Zt, BuildCapacity as _, LogsEndedEvent as _n, RequestId as _r, DesktopStartProgressEvent as _t, ActionResult as a, InputWindowParams as an, ROTATE_DIRECTIONS as ar, DesktopMachineAccessProgressEvent as at, BuildFingerprintSource as b, MAX_INPUT_TEXT as bn, ServeRoute as br, DesktopWorktreeRemoveEndedEvent as bt, ArchivedListParams as c, KeyframeParams as cn, ReloadPlatform as cr, DesktopReloadProgressEvent as ct, BUILD_REPO_PATTERN as d, LOG_SOURCES as dn, ReplayKeyframe as dr, DesktopReportTarget as dt, WorkspacePatch as ei, InputRotateParams as en, PushRegisterParams as er, DesktopBuildProgressEvent as et, BUILD_RUBY_VERSION_PATTERN as f, LegacyPushEvent as fn, ReplayKeyframeParams as fr, DesktopRunEndedEvent as ft, BuildAttachResult as g, LogSource as gn, ReplayTarget as gr, DesktopStartEndedEvent as gt, BuildArtifactResult as h, LogRecord as hn, ReplaySpan as hr, DesktopSettingsWriteResult as ht, ActionParams as i, InputTouchParams as in, REPLAY_RATES as ir, DesktopMachineAccessEndedEvent as it, BuildProgressEvent as j, MacosWindowsEvent as jn, SimulatorOptions as jr, ErrorEvent as jt, BuildPlanResult as k, MachineVolume as kn, SettingsResult as kr, ERROR_CODES as kt, ArchivedListResult as l, LEGACY_PUSH_EVENTS as ln, RemoteDiagnosis as lr, DesktopReportEvent as lt, BuildArtifactIdentity as m, LogLevel as mn, ReplayRange as mr, DesktopSettingsWriteParams as mt, ARCHIVED_PAGE_LIMIT as n, WorkspacesEvent as ni, InputSimulatorParams as nn, RELOAD_PLATFORMS as nr, DesktopGcProgressEvent as nt, ArchiveDetailParams as o, KEY_MODIFIERS as on, RecordingSetParams as or, DesktopPlanRefusal as ot, BuildAndroidOptions as p, LogFilter as pn, ReplayMarker as pr, DesktopRunProgressEvent as pt, ControlEndParams as q, PUSH_EVENTS as qn, VideoCodec as qr, INPUT_BUTTONS as qt, ActionName as r, WorkspacesSnapshot as ri, InputTextParams as rn, REPLAY_MARKER_KINDS as rr, DesktopLogFilter as rt, ArchiveDetailResult as s, KeyModifier as sn, RecordingSetResult as sr, DesktopReloadEndedEvent as st, ACTIONS as t, WorkspaceRef as ti, InputScrollParams as tn, QuietHours as tr, DesktopGcEndedEvent as tt, BUILD_METHODS as u, LOG_LEVELS as un, ReplayEndedEvent as ur, DesktopReportSnapshot as ut, BuildClientSummary as v, LogsEvent as vn, RotateDirection as vr, DesktopStopEndedEvent as vt, BuildMachineCapacity as w, MachineEvent as wn, ServerUpdateOutcome as wr, DeviceFrameArtwork as wt, BuildGradleArtifactQuery as x, MAX_LOG_TAIL as xn, ServerEvent as xr, DesktopWorktreeRemoveProgressEvent as xt, BuildFile as y, LogsQueryResult as yn, SERVER_UPDATE_METHODS as yr, DesktopStopProgressEvent as yt, BuildsHistoryResult as z, NotificationLevel as zn, UsageSample as zr, FramesLiveParams as zt };
2209
+ export { DesktopBuildEndedEvent as $, ProtocolError as $n, WorkspaceFiles as $r, InputPostureParams as $t, BuildPlatform as A, MacosWindow as An, SettingsResult as Ar, ErrorCode as At, CAPABILITIES as B, NotificationLevel as Bn, UsageSample as Br, FramesSeekParams as Bt, BuildJobParams as C, MachineDetails as Cn, ServerMessage as Cr, DesktopWorktreeWarmProgressEvent as Ct, BuildOfferResult as D, MachineUpdateStatus as Dn, ServerUpdateProgress as Dr, DeviceUsageSeries as Dt, BuildOfferParams as E, MachineHistoryParams as En, ServerUpdatePackage as Er, DevicePosture as Et, BuildSwiftpmArtifactQuery as F, MetroLinkOpenEvent as Fn, SubscribeResult as Fr, Feature as Ft, ControlBeginParams as G, PLATFORMS as Gn, VIDEO_HEADER_VERSION as Gr, HelloResult as Gt, CachedBuildArtifact as H, NotificationTarget as Hn, VIDEO_ARTWORK as Hr, FramesSubscribeResult as Ht, BuildSyncParams as I, NOTIFICATION_LEVELS as In, TOUCH_PHASES as Ir, FrameDelayedEvent as It, ControlEndedEvent as J, PUSH_EVENTS as Jn, VideoCodec as Jr, INPUT_KEYS as Jt, ControlBeginResult as K, PROTOCOL_SCHEMA_FILE as Kn, VIDEO_KEYFRAME as Kr, HostedSessionRow as Kt, BuildSyncResult as L, NOTIFICATION_SUPPRESSIONS as Ln, TouchPhase as Lr, FrameEvent as Lt, BuildReactNativeArtifactQuery as M, MemoryPressure as Mn, SimulatorOptions as Mr, FEATURES as Mt, BuildStartParams as N, Method as Nn, StatsResult as Nr, FRAME_EDGE as Nt, BuildPlanParams as O, MachineUsage as On, ServerUpdateStartParams as Or, DuoFramePose as Ot, BuildStimIdentity as P, Methods as Pn, StatusEvent as Pr, FRAME_FPS as Pt, DesktopBootstrapChallenge as Q, PlatformRunOptions as Qn, WorkspaceFile as Qr, InputKeyParams as Qt, BuildToolchain as R, NotificationEntry as Rn, UnsubscribeParams as Rr, FrameTarget as Rt, BuildJobOutcome as S, METHODS as Sn, ServerEvent as Sr, DesktopWorktreeWarmEndedEvent as St, BuildMachineReport as T, MachineHistory as Tn, ServerUpdateOutcome as Tr, DeviceFrameEvent as Tt, Capability as U, NotificationsListParams as Un, VIDEO_CODECS as Ur, GradleOffloadInputs as Ut, CONTROL_END_REASONS as V, NotificationSuppression as Vn, UsageSeries as Vr, FramesSeekResult as Vt, ClientRequest as W, NotificationsListResult as Wn, VIDEO_FOLDED as Wr, HelloParams as Wt, DEVICE_HOST_METHODS as X, Platform as Xn, WorkspaceDiff as Xr, InputButtonParams as Xt, ControlPlatform as Y, PUSH_TOKEN_PATTERN as Yn, VideoPacket as Yr, InputButton as Yt, DEVICE_POSTURES as Z, PlatformBuildOptions as Zn, WorkspaceEvent as Zr, InputKey as Zt, BuildCapacity as _, LogsEndedEvent as _n, ReplayTarget as _r, DesktopStartProgressEvent as _t, ActionResult as a, InputWindowParams as an, REPLAY_RATES as ar, DesktopMachineAccessProgressEvent as at, BuildFingerprintSource as b, MAX_INPUT_TEXT as bn, SERVER_UPDATE_METHODS as br, DesktopWorktreeRemoveEndedEvent as bt, ArchivedListParams as c, KeyframeParams as cn, RecordingSetResult as cr, DesktopReloadProgressEvent as ct, BUILD_REPO_PATTERN as d, LOG_SOURCES as dn, ReplayEndedEvent as dr, DesktopReportTarget as dt, WorkspaceParams as ei, InputRotateParams as en, PushEvent as er, DesktopBuildProgressEvent as et, BUILD_RUBY_VERSION_PATTERN as f, LegacyPushEvent as fn, ReplayKeyframe as fr, DesktopRunEndedEvent as ft, BuildAttachResult as g, LogSource as gn, ReplaySpan as gr, DesktopStartEndedEvent as gt, BuildArtifactResult as h, LogRecord as hn, ReplayRange as hr, DesktopSettingsWriteResult as ht, ActionParams as i, WorkspacesSnapshot as ii, InputTouchParams as in, REPLAY_MARKER_KINDS as ir, DesktopMachineAccessEndedEvent as it, BuildProgressEvent as j, MacosWindowsEvent as jn, SimulatorCommand as jr, ErrorEvent as jt, BuildPlanResult as k, MachineVolume as kn, ServerUpdateStatus as kr, ERROR_CODES as kt, ArchivedListResult as l, LEGACY_PUSH_EVENTS as ln, ReloadPlatform as lr, DesktopReportEvent as lt, BuildArtifactIdentity as m, LogLevel as mn, ReplayMarker as mr, DesktopSettingsWriteParams as mt, ARCHIVED_PAGE_LIMIT as n, WorkspaceRef as ni, InputSimulatorParams as nn, QuietHours as nr, DesktopGcProgressEvent as nt, ArchiveDetailParams as o, KEY_MODIFIERS as on, ROTATE_DIRECTIONS as or, DesktopPlanRefusal as ot, BuildAndroidOptions as p, LogFilter as pn, ReplayKeyframeParams as pr, DesktopRunProgressEvent as pt, ControlEndParams as q, PROTOCOL_VERSION as qn, VIDEO_UNFOLDED as qr, INPUT_BUTTONS as qt, ActionName as r, WorkspacesEvent as ri, InputTextParams as rn, RELOAD_PLATFORMS as rr, DesktopLogFilter as rt, ArchiveDetailResult as s, KeyModifier as sn, RecordingSetParams as sr, DesktopReloadEndedEvent as st, ACTIONS as t, WorkspacePatch as ti, InputScrollParams as tn, PushRegisterParams as tr, DesktopGcEndedEvent as tt, BUILD_METHODS as u, LOG_LEVELS as un, RemoteDiagnosis as ur, DesktopReportSnapshot as ut, BuildClientSummary as v, LogsEvent as vn, RequestId as vr, DesktopStopEndedEvent as vt, BuildMachineCapacity as w, MachineEvent as wn, ServerResponse as wr, DeviceFrameArtwork as wt, BuildGradleArtifactQuery as x, MAX_LOG_TAIL as xn, ServeRoute as xr, DesktopWorktreeRemoveProgressEvent as xt, BuildFile as y, LogsQueryResult as yn, RotateDirection as yr, DesktopStopProgressEvent as yt, BuildsHistoryResult as z, NotificationEvent as zn, UsageHistory as zr, FramesLiveParams as zt };
@@ -1,2 +1,2 @@
1
- import { $ as DesktopBuildEndedEvent, $n as PushEvent, $r as WorkspaceParams, $t as InputPostureParams, A as BuildPlatform, An as MacosWindow, Ar as SimulatorCommand, At as ErrorCode, B as CAPABILITIES, Bn as NotificationSuppression, Br as UsageSeries, Bt as FramesSeekParams, C as BuildJobParams, Cn as MachineDetails, Cr as ServerResponse, Ct as DesktopWorktreeWarmProgressEvent, D as BuildOfferResult, Dn as MachineUpdateStatus, Dr as ServerUpdateStartParams, Dt as DeviceUsageSeries, E as BuildOfferParams, En as MachineHistoryParams, Er as ServerUpdateProgress, Et as DevicePosture, F as BuildSwiftpmArtifactQuery, Fn as NOTIFICATION_LEVELS, Fr as TOUCH_PHASES, Ft as Feature, G as ControlBeginParams, Gn as PROTOCOL_SCHEMA_FILE, Gr as VIDEO_KEYFRAME, Gt as HelloResult, H as CachedBuildArtifact, Hn as NotificationsListParams, Hr as VIDEO_CODECS, Ht as FramesSubscribeResult, I as BuildSyncParams, In as NOTIFICATION_SUPPRESSIONS, Ir as TouchPhase, It as FrameDelayedEvent, J as ControlEndedEvent, Jn as PUSH_TOKEN_PATTERN, Jr as VideoPacket, Jt as INPUT_KEYS, K as ControlBeginResult, Kn as PROTOCOL_VERSION, Kr as VIDEO_UNFOLDED, Kt as HostedSessionRow, L as BuildSyncResult, Ln as NotificationEntry, Lr as UnsubscribeParams, Lt as FrameEvent, M as BuildReactNativeArtifactQuery, Mn as MemoryPressure, Mr as StatsResult, Mt as FEATURES, N as BuildStartParams, Nn as Method, Nr as StatusEvent, Nt as FRAME_EDGE, O as BuildPlanParams, On as MachineUsage, Or as ServerUpdateStatus, Ot as DuoFramePose, P as BuildStimIdentity, Pn as Methods, Pr as SubscribeResult, Pt as FRAME_FPS, Q as DesktopBootstrapChallenge, Qn as ProtocolError, Qr as WorkspaceFiles, Qt as InputKeyParams, R as BuildToolchain, Rn as NotificationEvent, Rr as UsageHistory, Rt as FrameTarget, S as BuildJobOutcome, Sn as METHODS, Sr as ServerMessage, St as DesktopWorktreeWarmEndedEvent, T as BuildMachineReport, Tn as MachineHistory, Tr as ServerUpdatePackage, Tt as DeviceFrameEvent, U as Capability, Un as NotificationsListResult, Ur as VIDEO_FOLDED, Ut as GradleOffloadInputs, V as CONTROL_END_REASONS, Vn as NotificationTarget, Vr as VIDEO_ARTWORK, Vt as FramesSeekResult, W as ClientRequest, Wn as PLATFORMS, Wr as VIDEO_HEADER_VERSION, Wt as HelloParams, X as DEVICE_HOST_METHODS, Xn as PlatformBuildOptions, Xr as WorkspaceEvent, Xt as InputButtonParams, Y as ControlPlatform, Yn as Platform, Yr as WorkspaceDiff, Yt as InputButton, Z as DEVICE_POSTURES, Zn as PlatformRunOptions, Zr as WorkspaceFile, Zt as InputKey, _ as BuildCapacity, _n as LogsEndedEvent, _r as RequestId, _t as DesktopStartProgressEvent, a as ActionResult, an as InputWindowParams, ar as ROTATE_DIRECTIONS, at as DesktopMachineAccessProgressEvent, b as BuildFingerprintSource, bn as MAX_INPUT_TEXT, br as ServeRoute, bt as DesktopWorktreeRemoveEndedEvent, c as ArchivedListParams, cn as KeyframeParams, cr as ReloadPlatform, ct as DesktopReloadProgressEvent, d as BUILD_REPO_PATTERN, dn as LOG_SOURCES, dr as ReplayKeyframe, dt as DesktopReportTarget, ei as WorkspacePatch, en as InputRotateParams, er as PushRegisterParams, et as DesktopBuildProgressEvent, f as BUILD_RUBY_VERSION_PATTERN, fn as LegacyPushEvent, fr as ReplayKeyframeParams, ft as DesktopRunEndedEvent, g as BuildAttachResult, gn as LogSource, gr as ReplayTarget, gt as DesktopStartEndedEvent, h as BuildArtifactResult, hn as LogRecord, hr as ReplaySpan, ht as DesktopSettingsWriteResult, i as ActionParams, in as InputTouchParams, ir as REPLAY_RATES, it as DesktopMachineAccessEndedEvent, j as BuildProgressEvent, jn as MacosWindowsEvent, jr as SimulatorOptions, jt as ErrorEvent, k as BuildPlanResult, kn as MachineVolume, kr as SettingsResult, kt as ERROR_CODES, l as ArchivedListResult, ln as LEGACY_PUSH_EVENTS, lr as RemoteDiagnosis, lt as DesktopReportEvent, m as BuildArtifactIdentity, mn as LogLevel, mr as ReplayRange, mt as DesktopSettingsWriteParams, n as ARCHIVED_PAGE_LIMIT, ni as WorkspacesEvent, nn as InputSimulatorParams, nr as RELOAD_PLATFORMS, nt as DesktopGcProgressEvent, o as ArchiveDetailParams, on as KEY_MODIFIERS, or as RecordingSetParams, ot as DesktopPlanRefusal, p as BuildAndroidOptions, pn as LogFilter, pr as ReplayMarker, pt as DesktopRunProgressEvent, q as ControlEndParams, qn as PUSH_EVENTS, qr as VideoCodec, qt as INPUT_BUTTONS, r as ActionName, ri as WorkspacesSnapshot, rn as InputTextParams, rr as REPLAY_MARKER_KINDS, rt as DesktopLogFilter, s as ArchiveDetailResult, sn as KeyModifier, sr as RecordingSetResult, st as DesktopReloadEndedEvent, t as ACTIONS, ti as WorkspaceRef, tn as InputScrollParams, tr as QuietHours, tt as DesktopGcEndedEvent, u as BUILD_METHODS, un as LOG_LEVELS, ur as ReplayEndedEvent, ut as DesktopReportSnapshot, v as BuildClientSummary, vn as LogsEvent, vr as RotateDirection, vt as DesktopStopEndedEvent, w as BuildMachineCapacity, wn as MachineEvent, wr as ServerUpdateOutcome, wt as DeviceFrameArtwork, x as BuildGradleArtifactQuery, xn as MAX_LOG_TAIL, xr as ServerEvent, xt as DesktopWorktreeRemoveProgressEvent, y as BuildFile, yn as LogsQueryResult, yr as SERVER_UPDATE_METHODS, yt as DesktopStopProgressEvent, z as BuildsHistoryResult, zn as NotificationLevel, zr as UsageSample, zt as FramesLiveParams } from "./protocol-swbEkLsj.mjs";
2
- export { ACTIONS, ARCHIVED_PAGE_LIMIT, ActionName, ActionParams, ActionResult, ArchiveDetailParams, ArchiveDetailResult, ArchivedListParams, ArchivedListResult, BUILD_METHODS, BUILD_REPO_PATTERN, BUILD_RUBY_VERSION_PATTERN, BuildAndroidOptions, BuildArtifactIdentity, BuildArtifactResult, BuildAttachResult, BuildCapacity, BuildClientSummary, BuildFile, BuildFingerprintSource, BuildGradleArtifactQuery, BuildJobOutcome, BuildJobParams, BuildMachineCapacity, BuildMachineReport, BuildOfferParams, BuildOfferResult, BuildPlanParams, BuildPlanResult, BuildPlatform, BuildProgressEvent, BuildReactNativeArtifactQuery, BuildStartParams, BuildStimIdentity, BuildSwiftpmArtifactQuery, BuildSyncParams, BuildSyncResult, BuildToolchain, BuildsHistoryResult, CAPABILITIES, CONTROL_END_REASONS, CachedBuildArtifact, Capability, ClientRequest, ControlBeginParams, ControlBeginResult, ControlEndParams, ControlEndedEvent, ControlPlatform, DEVICE_HOST_METHODS, DEVICE_POSTURES, DesktopBootstrapChallenge, DesktopBuildEndedEvent, DesktopBuildProgressEvent, DesktopGcEndedEvent, DesktopGcProgressEvent, DesktopLogFilter, DesktopMachineAccessEndedEvent, DesktopMachineAccessProgressEvent, DesktopPlanRefusal, DesktopReloadEndedEvent, DesktopReloadProgressEvent, DesktopReportEvent, DesktopReportSnapshot, DesktopReportTarget, DesktopRunEndedEvent, DesktopRunProgressEvent, DesktopSettingsWriteParams, DesktopSettingsWriteResult, DesktopStartEndedEvent, DesktopStartProgressEvent, DesktopStopEndedEvent, DesktopStopProgressEvent, DesktopWorktreeRemoveEndedEvent, DesktopWorktreeRemoveProgressEvent, DesktopWorktreeWarmEndedEvent, DesktopWorktreeWarmProgressEvent, DeviceFrameArtwork, DeviceFrameEvent, DevicePosture, DeviceUsageSeries, DuoFramePose, ERROR_CODES, ErrorCode, ErrorEvent, FEATURES, FRAME_EDGE, FRAME_FPS, Feature, FrameDelayedEvent, FrameEvent, FrameTarget, FramesLiveParams, FramesSeekParams, FramesSeekResult, FramesSubscribeResult, GradleOffloadInputs, HelloParams, HelloResult, HostedSessionRow, INPUT_BUTTONS, INPUT_KEYS, InputButton, InputButtonParams, InputKey, InputKeyParams, InputPostureParams, InputRotateParams, InputScrollParams, InputSimulatorParams, InputTextParams, InputTouchParams, InputWindowParams, KEY_MODIFIERS, KeyModifier, KeyframeParams, LEGACY_PUSH_EVENTS, LOG_LEVELS, LOG_SOURCES, LegacyPushEvent, LogFilter, LogLevel, LogRecord, LogSource, LogsEndedEvent, LogsEvent, LogsQueryResult, MAX_INPUT_TEXT, MAX_LOG_TAIL, METHODS, MachineDetails, MachineEvent, MachineHistory, MachineHistoryParams, MachineUpdateStatus, MachineUsage, MachineVolume, MacosWindow, MacosWindowsEvent, MemoryPressure, Method, Methods, NOTIFICATION_LEVELS, NOTIFICATION_SUPPRESSIONS, NotificationEntry, NotificationEvent, NotificationLevel, NotificationSuppression, NotificationTarget, NotificationsListParams, NotificationsListResult, PLATFORMS, PROTOCOL_SCHEMA_FILE, PROTOCOL_VERSION, PUSH_EVENTS, PUSH_TOKEN_PATTERN, Platform, PlatformBuildOptions, PlatformRunOptions, ProtocolError, PushEvent, PushRegisterParams, QuietHours, RELOAD_PLATFORMS, REPLAY_MARKER_KINDS, REPLAY_RATES, ROTATE_DIRECTIONS, RecordingSetParams, RecordingSetResult, ReloadPlatform, RemoteDiagnosis, ReplayEndedEvent, ReplayKeyframe, ReplayKeyframeParams, ReplayMarker, ReplayRange, ReplaySpan, ReplayTarget, RequestId, RotateDirection, SERVER_UPDATE_METHODS, ServeRoute, ServerEvent, ServerMessage, ServerResponse, ServerUpdateOutcome, ServerUpdatePackage, ServerUpdateProgress, ServerUpdateStartParams, ServerUpdateStatus, SettingsResult, SimulatorCommand, SimulatorOptions, StatsResult, StatusEvent, SubscribeResult, TOUCH_PHASES, TouchPhase, UnsubscribeParams, UsageHistory, UsageSample, UsageSeries, VIDEO_ARTWORK, VIDEO_CODECS, VIDEO_FOLDED, VIDEO_HEADER_VERSION, VIDEO_KEYFRAME, VIDEO_UNFOLDED, VideoCodec, VideoPacket, WorkspaceDiff, WorkspaceEvent, WorkspaceFile, WorkspaceFiles, WorkspaceParams, WorkspacePatch, WorkspaceRef, WorkspacesEvent, WorkspacesSnapshot };
1
+ import { $ as DesktopBuildEndedEvent, $n as ProtocolError, $r as WorkspaceFiles, $t as InputPostureParams, A as BuildPlatform, An as MacosWindow, Ar as SettingsResult, At as ErrorCode, B as CAPABILITIES, Bn as NotificationLevel, Br as UsageSample, Bt as FramesSeekParams, C as BuildJobParams, Cn as MachineDetails, Cr as ServerMessage, Ct as DesktopWorktreeWarmProgressEvent, D as BuildOfferResult, Dn as MachineUpdateStatus, Dr as ServerUpdateProgress, Dt as DeviceUsageSeries, E as BuildOfferParams, En as MachineHistoryParams, Er as ServerUpdatePackage, Et as DevicePosture, F as BuildSwiftpmArtifactQuery, Fn as MetroLinkOpenEvent, Fr as SubscribeResult, Ft as Feature, G as ControlBeginParams, Gn as PLATFORMS, Gr as VIDEO_HEADER_VERSION, Gt as HelloResult, H as CachedBuildArtifact, Hn as NotificationTarget, Hr as VIDEO_ARTWORK, Ht as FramesSubscribeResult, I as BuildSyncParams, In as NOTIFICATION_LEVELS, Ir as TOUCH_PHASES, It as FrameDelayedEvent, J as ControlEndedEvent, Jn as PUSH_EVENTS, Jr as VideoCodec, Jt as INPUT_KEYS, K as ControlBeginResult, Kn as PROTOCOL_SCHEMA_FILE, Kr as VIDEO_KEYFRAME, Kt as HostedSessionRow, L as BuildSyncResult, Ln as NOTIFICATION_SUPPRESSIONS, Lr as TouchPhase, Lt as FrameEvent, M as BuildReactNativeArtifactQuery, Mn as MemoryPressure, Mr as SimulatorOptions, Mt as FEATURES, N as BuildStartParams, Nn as Method, Nr as StatsResult, Nt as FRAME_EDGE, O as BuildPlanParams, On as MachineUsage, Or as ServerUpdateStartParams, Ot as DuoFramePose, P as BuildStimIdentity, Pn as Methods, Pr as StatusEvent, Pt as FRAME_FPS, Q as DesktopBootstrapChallenge, Qn as PlatformRunOptions, Qr as WorkspaceFile, Qt as InputKeyParams, R as BuildToolchain, Rn as NotificationEntry, Rr as UnsubscribeParams, Rt as FrameTarget, S as BuildJobOutcome, Sn as METHODS, Sr as ServerEvent, St as DesktopWorktreeWarmEndedEvent, T as BuildMachineReport, Tn as MachineHistory, Tr as ServerUpdateOutcome, Tt as DeviceFrameEvent, U as Capability, Un as NotificationsListParams, Ur as VIDEO_CODECS, Ut as GradleOffloadInputs, V as CONTROL_END_REASONS, Vn as NotificationSuppression, Vr as UsageSeries, Vt as FramesSeekResult, W as ClientRequest, Wn as NotificationsListResult, Wr as VIDEO_FOLDED, Wt as HelloParams, X as DEVICE_HOST_METHODS, Xn as Platform, Xr as WorkspaceDiff, Xt as InputButtonParams, Y as ControlPlatform, Yn as PUSH_TOKEN_PATTERN, Yr as VideoPacket, Yt as InputButton, Z as DEVICE_POSTURES, Zn as PlatformBuildOptions, Zr as WorkspaceEvent, Zt as InputKey, _ as BuildCapacity, _n as LogsEndedEvent, _r as ReplayTarget, _t as DesktopStartProgressEvent, a as ActionResult, an as InputWindowParams, ar as REPLAY_RATES, at as DesktopMachineAccessProgressEvent, b as BuildFingerprintSource, bn as MAX_INPUT_TEXT, br as SERVER_UPDATE_METHODS, bt as DesktopWorktreeRemoveEndedEvent, c as ArchivedListParams, cn as KeyframeParams, cr as RecordingSetResult, ct as DesktopReloadProgressEvent, d as BUILD_REPO_PATTERN, dn as LOG_SOURCES, dr as ReplayEndedEvent, dt as DesktopReportTarget, ei as WorkspaceParams, en as InputRotateParams, er as PushEvent, et as DesktopBuildProgressEvent, f as BUILD_RUBY_VERSION_PATTERN, fn as LegacyPushEvent, fr as ReplayKeyframe, ft as DesktopRunEndedEvent, g as BuildAttachResult, gn as LogSource, gr as ReplaySpan, gt as DesktopStartEndedEvent, h as BuildArtifactResult, hn as LogRecord, hr as ReplayRange, ht as DesktopSettingsWriteResult, i as ActionParams, ii as WorkspacesSnapshot, in as InputTouchParams, ir as REPLAY_MARKER_KINDS, it as DesktopMachineAccessEndedEvent, j as BuildProgressEvent, jn as MacosWindowsEvent, jr as SimulatorCommand, jt as ErrorEvent, k as BuildPlanResult, kn as MachineVolume, kr as ServerUpdateStatus, kt as ERROR_CODES, l as ArchivedListResult, ln as LEGACY_PUSH_EVENTS, lr as ReloadPlatform, lt as DesktopReportEvent, m as BuildArtifactIdentity, mn as LogLevel, mr as ReplayMarker, mt as DesktopSettingsWriteParams, n as ARCHIVED_PAGE_LIMIT, ni as WorkspaceRef, nn as InputSimulatorParams, nr as QuietHours, nt as DesktopGcProgressEvent, o as ArchiveDetailParams, on as KEY_MODIFIERS, or as ROTATE_DIRECTIONS, ot as DesktopPlanRefusal, p as BuildAndroidOptions, pn as LogFilter, pr as ReplayKeyframeParams, pt as DesktopRunProgressEvent, q as ControlEndParams, qn as PROTOCOL_VERSION, qr as VIDEO_UNFOLDED, qt as INPUT_BUTTONS, r as ActionName, ri as WorkspacesEvent, rn as InputTextParams, rr as RELOAD_PLATFORMS, rt as DesktopLogFilter, s as ArchiveDetailResult, sn as KeyModifier, sr as RecordingSetParams, st as DesktopReloadEndedEvent, t as ACTIONS, ti as WorkspacePatch, tn as InputScrollParams, tr as PushRegisterParams, tt as DesktopGcEndedEvent, u as BUILD_METHODS, un as LOG_LEVELS, ur as RemoteDiagnosis, ut as DesktopReportSnapshot, v as BuildClientSummary, vn as LogsEvent, vr as RequestId, vt as DesktopStopEndedEvent, w as BuildMachineCapacity, wn as MachineEvent, wr as ServerResponse, wt as DeviceFrameArtwork, x as BuildGradleArtifactQuery, xn as MAX_LOG_TAIL, xr as ServeRoute, xt as DesktopWorktreeRemoveProgressEvent, y as BuildFile, yn as LogsQueryResult, yr as RotateDirection, yt as DesktopStopProgressEvent, z as BuildsHistoryResult, zn as NotificationEvent, zr as UsageHistory, zt as FramesLiveParams } from "./protocol-CPg61C01.mjs";
2
+ export { ACTIONS, ARCHIVED_PAGE_LIMIT, ActionName, ActionParams, ActionResult, ArchiveDetailParams, ArchiveDetailResult, ArchivedListParams, ArchivedListResult, BUILD_METHODS, BUILD_REPO_PATTERN, BUILD_RUBY_VERSION_PATTERN, BuildAndroidOptions, BuildArtifactIdentity, BuildArtifactResult, BuildAttachResult, BuildCapacity, BuildClientSummary, BuildFile, BuildFingerprintSource, BuildGradleArtifactQuery, BuildJobOutcome, BuildJobParams, BuildMachineCapacity, BuildMachineReport, BuildOfferParams, BuildOfferResult, BuildPlanParams, BuildPlanResult, BuildPlatform, BuildProgressEvent, BuildReactNativeArtifactQuery, BuildStartParams, BuildStimIdentity, BuildSwiftpmArtifactQuery, BuildSyncParams, BuildSyncResult, BuildToolchain, BuildsHistoryResult, CAPABILITIES, CONTROL_END_REASONS, CachedBuildArtifact, Capability, ClientRequest, ControlBeginParams, ControlBeginResult, ControlEndParams, ControlEndedEvent, ControlPlatform, DEVICE_HOST_METHODS, DEVICE_POSTURES, DesktopBootstrapChallenge, DesktopBuildEndedEvent, DesktopBuildProgressEvent, DesktopGcEndedEvent, DesktopGcProgressEvent, DesktopLogFilter, DesktopMachineAccessEndedEvent, DesktopMachineAccessProgressEvent, DesktopPlanRefusal, DesktopReloadEndedEvent, DesktopReloadProgressEvent, DesktopReportEvent, DesktopReportSnapshot, DesktopReportTarget, DesktopRunEndedEvent, DesktopRunProgressEvent, DesktopSettingsWriteParams, DesktopSettingsWriteResult, DesktopStartEndedEvent, DesktopStartProgressEvent, DesktopStopEndedEvent, DesktopStopProgressEvent, DesktopWorktreeRemoveEndedEvent, DesktopWorktreeRemoveProgressEvent, DesktopWorktreeWarmEndedEvent, DesktopWorktreeWarmProgressEvent, DeviceFrameArtwork, DeviceFrameEvent, DevicePosture, DeviceUsageSeries, DuoFramePose, ERROR_CODES, ErrorCode, ErrorEvent, FEATURES, FRAME_EDGE, FRAME_FPS, Feature, FrameDelayedEvent, FrameEvent, FrameTarget, FramesLiveParams, FramesSeekParams, FramesSeekResult, FramesSubscribeResult, GradleOffloadInputs, HelloParams, HelloResult, HostedSessionRow, INPUT_BUTTONS, INPUT_KEYS, InputButton, InputButtonParams, InputKey, InputKeyParams, InputPostureParams, InputRotateParams, InputScrollParams, InputSimulatorParams, InputTextParams, InputTouchParams, InputWindowParams, KEY_MODIFIERS, KeyModifier, KeyframeParams, LEGACY_PUSH_EVENTS, LOG_LEVELS, LOG_SOURCES, LegacyPushEvent, LogFilter, LogLevel, LogRecord, LogSource, LogsEndedEvent, LogsEvent, LogsQueryResult, MAX_INPUT_TEXT, MAX_LOG_TAIL, METHODS, MachineDetails, MachineEvent, MachineHistory, MachineHistoryParams, MachineUpdateStatus, MachineUsage, MachineVolume, MacosWindow, MacosWindowsEvent, MemoryPressure, Method, Methods, MetroLinkOpenEvent, NOTIFICATION_LEVELS, NOTIFICATION_SUPPRESSIONS, NotificationEntry, NotificationEvent, NotificationLevel, NotificationSuppression, NotificationTarget, NotificationsListParams, NotificationsListResult, PLATFORMS, PROTOCOL_SCHEMA_FILE, PROTOCOL_VERSION, PUSH_EVENTS, PUSH_TOKEN_PATTERN, Platform, PlatformBuildOptions, PlatformRunOptions, ProtocolError, PushEvent, PushRegisterParams, QuietHours, RELOAD_PLATFORMS, REPLAY_MARKER_KINDS, REPLAY_RATES, ROTATE_DIRECTIONS, RecordingSetParams, RecordingSetResult, ReloadPlatform, RemoteDiagnosis, ReplayEndedEvent, ReplayKeyframe, ReplayKeyframeParams, ReplayMarker, ReplayRange, ReplaySpan, ReplayTarget, RequestId, RotateDirection, SERVER_UPDATE_METHODS, ServeRoute, ServerEvent, ServerMessage, ServerResponse, ServerUpdateOutcome, ServerUpdatePackage, ServerUpdateProgress, ServerUpdateStartParams, ServerUpdateStatus, SettingsResult, SimulatorCommand, SimulatorOptions, StatsResult, StatusEvent, SubscribeResult, TOUCH_PHASES, TouchPhase, UnsubscribeParams, UsageHistory, UsageSample, UsageSeries, VIDEO_ARTWORK, VIDEO_CODECS, VIDEO_FOLDED, VIDEO_HEADER_VERSION, VIDEO_KEYFRAME, VIDEO_UNFOLDED, VideoCodec, VideoPacket, WorkspaceDiff, WorkspaceEvent, WorkspaceFile, WorkspaceFiles, WorkspaceParams, WorkspacePatch, WorkspaceRef, WorkspacesEvent, WorkspacesSnapshot };
package/dist/protocol.mjs CHANGED
@@ -31,6 +31,8 @@ const CAPABILITIES = [
31
31
  * `hosted-ios-data` is iOS build handoff and native log queries, persisted before device deletion.
32
32
  * `hosted-android-data` is Android APK build handoff and native log queries, persisted before device deletion.
33
33
  * `hosted-ios-process` and `hosted-android-process` accept native app offers in process mode, with live process readiness and no Metro.
34
+ * `hosted-metro-link` carries hosted Metro over `device-host.metro.link` connections the client opens, so the host never
35
+ * connects to the client.
34
36
  * `hosted-metro-ports` is `device-host.metro.ports`, which names the listed ports that already accept loopback
35
37
  * connections on the host, apart from the requesting client's own dev-client bridges.
36
38
  * `native-xcode-build` accepts native Xcode provider requests with a separate source-transfer identity.
@@ -100,6 +102,7 @@ const FEATURES = [
100
102
  "hosted-android-data",
101
103
  "hosted-android-process",
102
104
  "hosted-metro-ports",
105
+ "hosted-metro-link",
103
106
  "server-update",
104
107
  "build-compat",
105
108
  "build-jdk",
@@ -208,6 +211,7 @@ const METHODS = [
208
211
  "device-host.metro.open",
209
212
  "device-host.metro.ports",
210
213
  "device-host.metro.close",
214
+ "device-host.metro.link",
211
215
  "device-host.frames.subscribe",
212
216
  "device-host.frames.keyframe",
213
217
  "device-host.frames.congested",
@@ -264,6 +268,7 @@ const DEVICE_HOST_METHODS = [
264
268
  "device-host.metro.open",
265
269
  "device-host.metro.ports",
266
270
  "device-host.metro.close",
271
+ "device-host.metro.link",
267
272
  "device-host.frames.subscribe",
268
273
  "device-host.frames.keyframe",
269
274
  "device-host.frames.congested",