@stim-cli/core 1.20.0 → 1.20.2

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.
@@ -3,6 +3,7 @@ import fs, { existsSync, lstatSync, mkdirSync, readFileSync, readdirSync, realpa
3
3
  import os from "node:os";
4
4
  import path, { basename, dirname, join } from "node:path";
5
5
  import { createHash, randomBytes, timingSafeEqual } from "node:crypto";
6
+ import { AsyncLocalStorage } from "node:async_hooks";
6
7
  import { spawnSync } from "node:child_process";
7
8
  import { connect, createServer, isIP } from "node:net";
8
9
  //#region dir-lock.ts
@@ -152,6 +153,48 @@ function withDirLock(lockPath, fn, { waitMs = DEFAULT_LOCK_WAIT_MS, pollMs = DEF
152
153
  }
153
154
  }
154
155
  //#endregion
156
+ //#region state/json-file.ts
157
+ const readScope = new AsyncLocalStorage();
158
+ /**
159
+ * Runs `fn` with each state file read from disk at most once: inside it, including after an `await`, `readStateFile`
160
+ * returns the text of the first read of that path, and a path found missing stays missing. Callers still parse every time, so no two
161
+ * share a mutable object. Only for computations that write none of the files they read.
162
+ */
163
+ function withStateReadCache(fn) {
164
+ return readScope.run(/* @__PURE__ */ new Map(), fn);
165
+ }
166
+ function readStateFile(path) {
167
+ const cache = readScope.getStore();
168
+ if (!cache) return readFileSync(path, "utf-8");
169
+ const cached = cache.get(path);
170
+ if (cached) {
171
+ if ("missing" in cached) throw cached.missing;
172
+ return cached.text;
173
+ }
174
+ try {
175
+ const text = readFileSync(path, "utf-8");
176
+ cache.set(path, { text });
177
+ return text;
178
+ } catch (error) {
179
+ if (error.code === "ENOENT") cache.set(path, { missing: error });
180
+ throw error;
181
+ }
182
+ }
183
+ function readJsonFile(path) {
184
+ return JSON.parse(readStateFile(path));
185
+ }
186
+ function isJsonObject(value) {
187
+ return typeof value === "object" && value !== null && !Array.isArray(value);
188
+ }
189
+ function readJsonObject(path) {
190
+ try {
191
+ const value = readJsonFile(path);
192
+ return isJsonObject(value) ? value : null;
193
+ } catch {
194
+ return null;
195
+ }
196
+ }
197
+ //#endregion
155
198
  //#region macos-resources.ts
156
199
  /** Whether a resource destination is a contained, non-empty path under Contents/Resources. */
157
200
  function validMacosResourceDestination(value) {
@@ -480,7 +523,9 @@ function logSize(file) {
480
523
  }
481
524
  function cachePathSetting(key) {
482
525
  try {
483
- const value = JSON.parse(fs.readFileSync(path.join(configDir(), "config.json"), "utf-8"))?.caches?.[key];
526
+ const parsed = JSON.parse(fs.readFileSync(path.join(configDir(), "config.json"), "utf-8"));
527
+ const caches = isJsonObject(parsed) ? parsed.caches : void 0;
528
+ const value = isJsonObject(caches) ? caches[key] : void 0;
484
529
  return typeof value === "string" && path.isAbsolute(value) ? value : null;
485
530
  } catch {
486
531
  return null;
@@ -557,7 +602,7 @@ function readCacheManifest(file) {
557
602
  const parsed = JSON.parse(fs.readFileSync(file, "utf-8"));
558
603
  return {
559
604
  version: 1,
560
- caches: Array.isArray(parsed?.caches) ? parsed.caches : []
605
+ caches: (isJsonObject(parsed) && Array.isArray(parsed.caches) ? parsed.caches : []).filter(isJsonObject)
561
606
  };
562
607
  } catch {
563
608
  return {
@@ -584,8 +629,29 @@ function updateCacheManifest(file, mutate) {
584
629
  return next;
585
630
  }, { ensureParent: () => fs.mkdirSync(parent, { recursive: true }) });
586
631
  }
632
+ function realOrResolved(dir) {
633
+ try {
634
+ return fs.realpathSync(dir);
635
+ } catch {
636
+ return path.resolve(dir);
637
+ }
638
+ }
639
+ function cacheDirRefusal(dir) {
640
+ if (!path.isAbsolute(dir)) return `${dir} is not an absolute path`;
641
+ const target = realOrResolved(dir);
642
+ if (path.dirname(target) === target) return `${dir} is a filesystem root`;
643
+ const guarded = [
644
+ os.homedir(),
645
+ os.tmpdir(),
646
+ configDir()
647
+ ].find((held) => {
648
+ const inside = path.relative(target, realOrResolved(held));
649
+ return inside !== ".." && !inside.startsWith(`..${path.sep}`) && !path.isAbsolute(inside);
650
+ });
651
+ return guarded ? `${dir} is or contains ${guarded}` : null;
652
+ }
587
653
  function registerCache({ dir, name, prune, note, entriesDepth, layout, replaces = [] }) {
588
- if (!path.isAbsolute(dir)) return;
654
+ if (cacheDirRefusal(dir)) return;
589
655
  try {
590
656
  updateCacheManifest(path.join(configDir(), "caches.json"), (caches) => {
591
657
  const others = caches.filter((cache) => cache.dir !== dir && !replaces.some((match) => matchesCache(cache, match)));
@@ -612,4 +678,4 @@ function matchesCache(cache, match) {
612
678
  return match.layout === void 0 || cache.layout === match.layout;
613
679
  }
614
680
  //#endregion
615
- export { storeArtifact as A, workspaceSlug as C, compiledHelper as D, createMetroGateway as E, withDirLock as M, artifactIn as O, workspaceName as S, createMetroBridge as T, sharedStoreRoot as _, buildCacheRoot as a, workspaceId as b, cachePathSetting as c, hostSimulatorArch as d, metroCacheRoot as f, rotatedLogPath as g, rotateLog as h, buildCacheKey as i, validMacosResourceDestination as j, resolveArtifact as k, configDir as l, registerCache as m, METRO_NAMED_CACHE_LAYOUT as n, cacheManifestLockPath as o, readCacheManifest as p, STORE_ROOT_TAG as r, cacheNameSegment as s, LOG_ROTATE_BYTES as t, ensurePrivateDir as u, tagSharedStore as v, workspaceStateDir as w, workspaceLogDir as x, updateCacheManifest as y };
681
+ export { resolveArtifact as A, workspaceName as C, createMetroGateway as D, createMetroBridge as E, readJsonObject as F, readStateFile as I, withStateReadCache as L, validMacosResourceDestination as M, isJsonObject as N, compiledHelper as O, readJsonFile as P, withDirLock as R, workspaceLogDir as S, workspaceStateDir as T, rotatedLogPath as _, buildCacheRoot as a, updateCacheManifest as b, cacheNameSegment as c, ensurePrivateDir as d, hostSimulatorArch as f, rotateLog as g, registerCache as h, buildCacheKey as i, storeArtifact as j, artifactIn as k, cachePathSetting as l, readCacheManifest as m, METRO_NAMED_CACHE_LAYOUT as n, cacheDirRefusal as o, metroCacheRoot as p, STORE_ROOT_TAG as r, cacheManifestLockPath as s, LOG_ROTATE_BYTES as t, configDir as u, sharedStoreRoot as v, workspaceSlug as w, workspaceId as x, tagSharedStore as y };
@@ -852,6 +852,17 @@ declare function parseHostedMacosPlacement(value: unknown): HostedMacosPlacement
852
852
  //#endregion
853
853
  //#region state/device-host.d.ts
854
854
  type HostedDevicePlatform = "ios" | "android" | "macos";
855
+ /** Deadlines stim-server gives each hosted worker run. Clients derive their waits from these. */
856
+ interface DeviceHostLimits {
857
+ prepareMs: number;
858
+ offerMs: number;
859
+ stopMs: number;
860
+ logsMs: number;
861
+ killGraceMs: number;
862
+ }
863
+ declare const DEVICE_HOST_LIMITS: Readonly<DeviceHostLimits>;
864
+ /** How long a cancelled hosted worker run can take to settle: SIGTERM, SIGKILL after the grace, then it is abandoned. */
865
+ declare function hostedWorkerSettleMs(limits?: Pick<DeviceHostLimits, "killGraceMs">): number;
855
866
  interface HostedIosChoice {
856
867
  deviceTypeId: string;
857
868
  runtimeId: string;
@@ -1768,9 +1779,10 @@ type AppPresence = "none" | "closed" | null;
1768
1779
  declare const WORKSPACE_STAGE_KINDS: readonly ["building", "warming", "ready", "build-failed", "running", "stopped"];
1769
1780
  /**
1770
1781
  * Where a workspace is, first match wins: `building` while a build runs, `warming` and `ready` from `phase` when
1771
- * nothing is live, `build-failed` when the newest run of either platform failed, `running` when it is live or holds
1772
- * a remote device, else `stopped`. `since` is when that began: the build's start, the warm phase's time, the failed
1773
- * run's end (else start), the supervisor's start, or Metro's last stop. `platform` names the build for `building`
1782
+ * nothing is live, `build-failed` when the newest run of either platform failed, `running` when it is live, its
1783
+ * macOS app is running or orphaned, or it holds a remote device, else `stopped`. `since` is when that began: the
1784
+ * build's start, the warm phase's time, the failed run's end (else start), the supervisor's start (else the running
1785
+ * macOS app's build end, else its start), or Metro's last stop. `platform` names the build for `building`
1774
1786
  * and `build-failed`. `closedApps` lists, for `running`, the devices whose `appPresence` is `closed`.
1775
1787
  */
1776
1788
  interface WorkspaceStage {
@@ -1946,6 +1958,8 @@ interface EnvironmentState {
1946
1958
  recording?: {
1947
1959
  enabled: boolean;
1948
1960
  };
1961
+ /** Present when `workspace.hidden` is true: clients list the workspace under Hidden. */
1962
+ hidden?: true;
1949
1963
  /** Where the workspace is, from `workspaceStage`; `stim status --json` always sets it. */
1950
1964
  stage?: WorkspaceStage;
1951
1965
  /** The step a `warming` workspace's warm is in; absent in every other phase. */
@@ -2460,4 +2474,4 @@ declare function readSetupJournal(hash: string): SetupJournal | null;
2460
2474
  declare function isJournalExpired(journal: SetupJournal, now?: number): boolean;
2461
2475
  declare function isSetupJournalPrunable(journal: SetupJournal, now: number): boolean;
2462
2476
  //#endregion
2463
- export { projectRootDirectories as $, TunnelMode as $a, createAgentActionReader as $c, readHostedDeviceLedger as $i, MacosAppState as $n, maintenanceStateFile as $o, DevServerStopRecord as $r, readStateFile as $s, BuildPlacement as $t, DeviceHostMachineCredential as A, rememberHostedAppBlobRename as Aa, ProjectRecord as Ac, HostedDeviceOfferRequest as Ai, PlannedPhase as An, archiveRoot as Ao, HostedIosStatus as Ar, fileSizes as As, ACTIVITY_RECENCY_BASES as At, RunHistory as B, OFFLOAD_MODES as Ba, machineCapacity as Bc, deviceHostArea as Bi, TUTORIAL_VERSION as Bn, diskUsageCacheDir as Bo, hostedAndroidRecords as Br, sortByTs as Bs, AppPresence as Bt, pinnedEndpoint as C, hostedAppArea as Ca, requireAutomaticMachine as Cc, readWorkspaceAgent as Ci, MemorySource as Cn, openSegmentName as Co, MaintenanceState as Cr, NATIVE_CRASH_LOG_PREFIX as Cs, readBuildDetail as Ct, HostedMetroRequest as D, parseHostedAppOffer as Da, DeviceRecord as Dc, HostedAndroidDevice as Di, PHYSICAL_DEVICE_CONNECTIONS as Dn, agentSessionsCacheFile as Do, readMaintenanceAttempt as Dr, buildCriteria as Ds, readPullRequestCache as Dt, HostedMetroGateway as E, parseHostedAppManifest as Ea, Config as Ec, HostedAndroidChoice as Ei, NativeBuildStep as En, recordingEnabled as Eo, parseMaintenanceState as Er, attachExpoErrorContext as Es, readEndedAgentSessions as Et, HISTORY_LIMIT as F, settingsJsonSchema as Fa, BuildMachineCredential as Fc, HostedDeviceSession as Fi, StatsPlatform as Fn, createdDevicesLock as Fo, unreadableHostedIos as Fr, queryJsonLogs as Fs, ActivityRecencyBasis as Ft, StatsCapacityWait as G, SETTING_GROUPS as Ga, swiftpmCacheUsageFile as Gc, parseHostedChoice as Gi, WebBrowserState as Gn, emulatorLogFile as Go, hostedNativeRecords as Gr, EasSessionClaim as Gs, BuildCause as Gt, STATS_VERSION as H, REMOTE_DEVICE_BACKENDS as Ha, tryAcquireBuildSlotClaim as Hc, hostedConsolePort as Hi, WORKSPACE_PHASES as Hn, easMachineStateRoot as Ho, parseHostedAndroidPlacement as Hr, countErrorEntries as Hs, BUILD_RESULTS as Ht, OffloadSummary as I, ANDROID_COMPILER_CACHE_CHOICES as Ia, readBuildMachines as Ic, HostedIosChoice as Ii, StatusCapacity as In, deviceHostMachinesClaims as Io, HostedAndroidPlacement as Ir, queryLogs as Is, AgentSession as It, StatsReport as J, SettingEntry as Ja, agentDeviceUsageFile as Jc, parseHostedNativeOffer as Ji, WorkspaceStage as Jn, maintenanceAttemptFile as Jo, BUILD_HISTORY_KEY as Jr, readEasSessionLedger as Js, BuildHistoryEntry as Jt, StatsPlacement as K, SETTING_SCOPES as Ka, AgentDeviceUsage as Kc, parseHostedDevice as Ki, WebPageState as Kn, getConfigPath as Ko, parseHostedNativePlacement as Kr, EasSessionLedgerRead as Ks, BuildDetail as Kt, PLACEMENT_DECISIONS as L, ANDROID_EMULATOR_APPS as La, MachineCapacity as Lc, HostedIosDevice as Li, StatusIssue as Ln, deviceHostMachinesFile as Lo, HostedAndroidStatus as Lr, readLogRecords as Ls, AgentTool as Lt, BuildMachineTotals as M, validHostedAppBlob as Ma, SettingsObject as Mc, HostedDevicePlatform as Mi, RunOutcomeKind as Mn, buildMachinesLock as Mo, hostedIosRecords as Mr, logFiles as Ms, APP_PROCESS_STATES as Mt, CAPACITY_REFUSAL_LIMIT as N, SETTINGS_SCHEMA_FILE as Na, StimConfig as Nc, HostedDeviceRequest as Ni, STATUS_ISSUE_CODES as Nn, configLockPath as No, hostedIosStatus as Nr, markerWindow as Ns, ActiveBuildState as Nt, hostedMetroGateways as O, readHostedApp as Oa, DoctorRunRecord as Oc, HostedDevice as Oi, PhysicalDeviceConnection as On, archiveDir as Oo, readMaintenanceState as Or, bundleMarkerPlatform as Os, withDerivedFacts as Ot, CAPACITY_REFUSAL_MAX_AGE_MS as P, SETTINGS_SCHEMA_URL as Pa, SupervisorRecord as Pc, HostedDeviceSelectors as Pi, SimulatorState as Pn, createdDevicesFile as Po, parseHostedIosPlacement as Pr, parseSince as Ps, ActivityDriver as Pt, offloadSummary as Q, TUNNEL_MODES as Qa, AgentTarget as Qc, readHostedDevice as Qi, MacosAppRecord as Qn, maintenanceRunClaims as Qo, DEV_SERVER_STOP_REQUEST_KEY as Qr, readJsonObject as Qs, BuildPhase as Qt, ReadStatsResult as R, ANDROID_PCH_CHOICES as Ra, buildSlotPath as Rc, HostedNativeOffer as Ri, StatusIssueCode as Rn, deviceHostMachinesLock as Ro, hostedAndroidDeviceName as Rr, readLogTimeline as Rs, AndroidDeviceState as Rt, parseMachine as S, HostedAppRecord as Sa, automaticMachineEnabled as Sc, readWarmRecord as Si, MacosBuildPlanPayload as Sn, listSegments as So, MaintenanceSize as Sr, ERROR_SOURCES as Ss, readAgentSessionsCache as St, HOSTED_METRO_REQUESTS_KEY as T, hostedAppBlobs as Ta, ConcurrencyLimits as Tc, workspaceLastUsed as Ti, NATIVE_BUILD_STEPS as Tn, recordingDeviceName as To, MemoryCulprit as Tr, advanceTail as Ts, readDiskUsageFailure as Tt, StatsBucket as U, RemoteDeviceBackend as Ua, SwiftpmCacheUsage as Uc, hostedDeviceId as Ui, WORKSPACE_STAGE_KINDS as Un, easSessionLedgerFile as Uo, unreadableHostedAndroid as Ur, CreatedDevicePlatform as Us, BuildActivity as Ut, RunSample as V, OffloadMode as Va, saturation as Vc, deviceHostRoot as Vi, WEB_PAGE_STATES as Vn, diskUsageWalkClaims as Vo, hostedAndroidStatus as Vr, tailRead as Vs, BUILD_PHASES as Vt, StatsCapacityRefusal as W, SETTINGS as Wa, readSwiftpmCacheUsage as Wc, parseHostedAndroidDevice as Wi, WarmStep as Wn, easSessionLedgerLock as Wo, HostedNativePlacement as Wr, CreatedDevices as Ws, BuildCacheHit as Wt, decodeStats as X, SettingType as Xa, readAgentDeviceUsageCache as Xc, parseHostedPlatformDevice as Xi, WorktreeGit as Xn, maintenanceDir as Xo, DEVICE_IDLE_SHUTDOWN_KEY as Xr, isJsonObject as Xs, BuildMissChange as Xt, StatsScope as Y, SettingScope as Ya, readAgentDeviceUsage as Yc, parseHostedOfferRequest as Yi, WorktreeFacts as Yn, maintenanceChildLogFile as Yo, BUILD_HISTORY_LIMIT as Yr, validEasSessionClaim as Ys, BuildMissCategory as Yt, findProjectRoot as Z, SettingsPayload as Za, AgentActionReaderOptions as Zc, parseHostedRequest as Zi, WorktreePullRequest as Zn, maintenanceNdjsonFile as Zo, DEVICE_RECLAIM_REASON as Zr, readJsonFile as Zs, BuildMissReason as Zt, Endpoint as _, parseHostedMacosPlacement as _a, getRepoSettings as _c, readDevServerStopRequest as _i, MACHINE_OWNER_KINDS as _n, RecordingPlatform as _o, MaintenanceCheck as _r, workspaceLogsDir as _s, diskUsageCacheFile as _t, parseSetupJournal as a, HostedAgentGrant as aa, debugLoggingEnabled as ac, MAINTENANCE_LOG_NAME as ai, parseNdjsonText as al, ChecksState as an, isLayeredSetting as ao, readMacosRecord as ar, sharedGradle as as, trimCapacityWaits as at, endpoint as b, HostedAppFile as ba, withConfigLock as bc, readIdleStop as bi, MachineOwnerKind as bn, footageDrops as bo, MaintenancePressure as br, workspaceStateFile as bs, listStatusCacheEntries as bt, HOSTED_LOGS_FIRST_BYTES as c, HostedMacosChoice as ca, buildWorkerRoot as cc, WARM_KEY as ci, DeviceLeaseState as cn, settingValueError as co, ArchivedWorkspace as cr, supervisorLogFile as cs, DeviceViewersRecord as ct, HostedLogsPage as d, hostedMacosAppSlot as da, findProjectByMetroPort as dc, WorkspaceState as di, EndedAgentSession as dn, validRunId as do, linkReplacedArchives as dr, workspaceBuildDetailFile as ds, stimBuildDigest as dt, readHostedSessions as ea, withStateReadCache as ec, DevServerStopRequest as ei, LEVELS as el, BuildPlanPayload as en, WEB_VIEWPORTS as eo, MacosBuild as er, pullRequestCacheDir as es, readRunEstimates as et, hostedMacosLogsDir as f, hostedMacosBundleId as fa, getConcurrencyLimits as fc, buildDiagnostics as fi, EnvironmentDisk as fn, RECORDING_CAP_BYTES as fo, readArchive as fr, workspaceDerivedData as fs, AgentSessionsCache as ft, readLogsSince as g, parseHostedMacosDevice as ga, getProjectSettings as gc, readDevServerStop as gi, LastBuildReport as gn, RecordedSegment as go, MaintenanceActionKind as gr, workspaceLogErrorIndex as gs, agentSessionOf as gt, readHostedNativeLogsCheckpoint as h, parseHostedMacosChoice as ha, getProjectSetting as hc, readBuildHistory as hi, GitChipPart as hn, RecordedDevice as ho, MaintenanceAction as hr, workspaceGradleBuild as hs, StatusCacheEntry as ht, isSetupJournalPrunable as i, HostedAgentDriverName as ia, debugLogDir as ic, LAST_BUILD_KEYS as ii, parseNdjsonLine as il, BuildWaitingFor as in, expectedShape as io, readHostedMacosApp as ir, sharedCompilationCache as is, trimCapacityRefusals as it, readDeviceHostMachines as j, validHostedAppArguments as ja, RepoRecord as jc, HostedDevicePhase as ji, RemoteDeviceState as jn, buildMachinesFile as jo, hostedIosPlacements as jr, followLogs as js, AGENT_TOOLS as jt, hostedMetroRequests as k, readHostedAppMetadata as ka, PlatformRecords as kc, HostedDeviceOffer as ki, PhysicalDeviceState as kn, archiveLock as ko, HostedIosPlacement as kr, compileGrep as ks, withGitChip as kt, HOSTED_LOGS_PAGE_BYTES as l, HostedMacosDevice as la, configCorruptRepair as lc, WORKSPACE_AGENT_KEY as li, DevicePlacement as ln, RUN_ID_ENV as lo, archiveEnabled as lr, supervisorPidFile as ls, ViewedDevice as lt, parseHostedLogsCursor as m, parseHostedAgentGrant as ma, getProject as mc, parseMissReason as mi, GitChip as mn, RECORDING_PLATFORMS as mo, readArchives as mr, workspaceEndedAgentsLock as ms, PullRequestCacheEntry as mt, SetupJournal as n, HOSTED_MACOS_APP_SLOTS as na, DebugLog as nc, IDLE_STOP_KEY as ni, SOURCES as nl, BuildReport as nn, acceptsShape as no, macosAppState as nr, setupJournalFile as ns, readStatsReport as nt, readSetupJournal as o, HostedAgentLease as oa, ParkedMax as oc, MetroLastStop as oi, readNdjsonGenerations as ol, DeviceActivity as on, isSensitiveReference as oo, ArchivedBytes as or, sharedPods as os, trimSamples as ot, hostedNativeLogsDir as p, parseHostedAgentAccess as pa, getParkedMax as pc, lastUseFrom as pi, EnvironmentState as pn, RECORDING_FOOTAGE_MS as po, readArchiveState as pr, workspaceEndedAgentsFile as ps, ENDED_AGENT_RETENTION_MS as pt, StatsRecord as q, SettingDefinition as qa, AgentDeviceUsageRoots as qc, parseHostedLocalDeviceCount as qi, WorkspacePhase as qn, gitMergeCacheDir as qo, unreadableHostedNative as qr, readCreatedDevices as qs, BuildDiagnostic as qt, isJournalExpired as r, HostedAgentAccess as ra, createDebugLog as rc, IdleStopRecord as ri, levelRank as rl, BuildResult as rn, coerceSettingText as ro, parseMacosRecord as rr, sharedCcache as rs, statsProjectKey as rt, agentDeviceStateDirs as s, HostedAppLaunch as sa, allMetroPorts as sc, READY_PHASE_MS as si, DeviceAppProcess as sn, settingDefinition as so, ArchivedUsage as sr, statsFile as ss, wholePhases as st, SetupCapability as t, HOSTED_AGENT_DRIVERS as ta, DEBUG_ENV as tc, DeviceIdleShutdownRecord as ti, NdjsonRecord as tl, BuildPlatform as tn, WebViewport as to, MacosProcess as tr, serverSetupDir as ts, readStats as tt, HostedLogsCursor as u, HostedMacosPlacement as ua, findEnclosingWorktreeRoot as uc, WarmRecord as ui, DiskMeasure as un, runId as uo, archivedUsage as ur, workspaceAgentDeviceDir as us, readViewedDevices as ut, TAILNET_MACHINE_PATTERN as v, HOSTED_APP_CHUNK_BYTES as va, isPathPrefix as vc, readDeviceIdleShutdowns as vi, MEMORY_SOURCES as vn, capDrops as vo, MaintenanceMode as vr, workspaceMetadataFile as vs, diskUsageFailureFile as vt, HOSTED_METRO_GATEWAYS_KEY as w, hostedAppAttempt as wa, validateAutomaticPool as wc, readWorkspaceState as wi, MetroBundleState as wn, recordedBytes as wo, MaintenanceStatus as wr, QueryCriteria as ws, readDiskUsage as wt, findPeer as x, HostedAppOffer as xa, AutomaticPoolRole as xc, readLastBuilds as xi, MachineUsageState as xn, listRecordedDevices as xo, MaintenanceRecord as xr, workspaceStateLock as xs, pullRequestCacheFile as xt, TailnetPeer as y, HostedAppDelivery as ya, loadConfig as yc, readDevicePlacement as yi, MachineOwner as yn, closedSegmentName as yo, MaintenancePass as yr, workspaceRecordingsDir as ys, endedAgentSessionOf as yt, RunEstimates as z, IOS_SIMULATOR_APPS as za, buildSlotsDir as zc, assertHostedDeviceLedger as zi, StatusPayload as zn, deviceViewersDir as zo, hostedAndroidPlacements as zr, recordMatches as zs, AndroidRuntimeFacts as zt };
2477
+ export { projectRootDirectories as $, SettingType as $a, readAgentDeviceUsageCache as $c, parseHostedPlatformDevice as $i, MacosAppState as $n, maintenanceDir as $o, DevServerStopRecord as $r, isJsonObject as $s, BuildPlacement as $t, DeviceHostMachineCredential as A, parseHostedAppOffer as Aa, DeviceRecord as Ac, HostedDevice as Ai, PlannedPhase as An, agentSessionsCacheFile as Ao, HostedIosStatus as Ar, buildCriteria as As, ACTIVITY_RECENCY_BASES as At, RunHistory as B, ANDROID_EMULATOR_APPS as Ba, MachineCapacity as Bc, HostedNativeOffer as Bi, TUTORIAL_VERSION as Bn, deviceHostMachinesFile as Bo, hostedAndroidRecords as Br, readLogRecords as Bs, AppPresence as Bt, pinnedEndpoint as C, HostedAppFile as Ca, withConfigLock as Cc, readWorkspaceAgent as Ci, MemorySource as Cn, footageDrops as Co, MaintenanceState as Cr, workspaceStateFile as Cs, readBuildDetail as Ct, HostedMetroRequest as D, hostedAppAttempt as Da, validateAutomaticPool as Dc, DeviceHostLimits as Di, PHYSICAL_DEVICE_CONNECTIONS as Dn, recordedBytes as Do, readMaintenanceAttempt as Dr, QueryCriteria as Ds, readPullRequestCache as Dt, HostedMetroGateway as E, hostedAppArea as Ea, requireAutomaticMachine as Ec, DEVICE_HOST_LIMITS as Ei, NativeBuildStep as En, openSegmentName as Eo, parseMaintenanceState as Er, NATIVE_CRASH_LOG_PREFIX as Es, readEndedAgentSessions as Et, HISTORY_LIMIT as F, validHostedAppBlob as Fa, SettingsObject as Fc, HostedDeviceRequest as Fi, StatsPlatform as Fn, buildMachinesLock as Fo, unreadableHostedIos as Fr, logFiles as Fs, ActivityRecencyBasis as Ft, StatsCapacityWait as G, REMOTE_DEVICE_BACKENDS as Ga, tryAcquireBuildSlotClaim as Gc, hostedDeviceId as Gi, WebBrowserState as Gn, easMachineStateRoot as Go, hostedNativeRecords as Gr, countErrorEntries as Gs, BuildCause as Gt, STATS_VERSION as H, IOS_SIMULATOR_APPS as Ha, buildSlotsDir as Hc, deviceHostArea as Hi, WORKSPACE_PHASES as Hn, deviceViewersDir as Ho, parseHostedAndroidPlacement as Hr, recordMatches as Hs, BUILD_RESULTS as Ht, OffloadSummary as I, SETTINGS_SCHEMA_FILE as Ia, StimConfig as Ic, HostedDeviceSelectors as Ii, StatusCapacity as In, configLockPath as Io, HostedAndroidPlacement as Ir, markerWindow as Is, AgentSession as It, StatsReport as J, SETTING_GROUPS as Ja, swiftpmCacheUsageFile as Jc, parseHostedChoice as Ji, WorkspaceStage as Jn, emulatorLogFile as Jo, BUILD_HISTORY_KEY as Jr, EasSessionClaim as Js, BuildHistoryEntry as Jt, StatsPlacement as K, RemoteDeviceBackend as Ka, SwiftpmCacheUsage as Kc, hostedWorkerSettleMs as Ki, WebPageState as Kn, easSessionLedgerFile as Ko, parseHostedNativePlacement as Kr, CreatedDevicePlatform as Ks, BuildDetail as Kt, PLACEMENT_DECISIONS as L, SETTINGS_SCHEMA_URL as La, SupervisorRecord as Lc, HostedDeviceSession as Li, StatusIssue as Ln, createdDevicesFile as Lo, HostedAndroidStatus as Lr, parseSince as Ls, AgentTool as Lt, BuildMachineTotals as M, readHostedAppMetadata as Ma, PlatformRecords as Mc, HostedDeviceOfferRequest as Mi, RunOutcomeKind as Mn, archiveLock as Mo, hostedIosRecords as Mr, compileGrep as Ms, APP_PROCESS_STATES as Mt, CAPACITY_REFUSAL_LIMIT as N, rememberHostedAppBlobRename as Na, ProjectRecord as Nc, HostedDevicePhase as Ni, STATUS_ISSUE_CODES as Nn, archiveRoot as No, hostedIosStatus as Nr, fileSizes as Ns, ActiveBuildState as Nt, hostedMetroGateways as O, hostedAppBlobs as Oa, ConcurrencyLimits as Oc, HostedAndroidChoice as Oi, PhysicalDeviceConnection as On, recordingDeviceName as Oo, readMaintenanceState as Or, advanceTail as Os, withDerivedFacts as Ot, CAPACITY_REFUSAL_MAX_AGE_MS as P, validHostedAppArguments as Pa, RepoRecord as Pc, HostedDevicePlatform as Pi, SimulatorState as Pn, buildMachinesFile as Po, parseHostedIosPlacement as Pr, followLogs as Ps, ActivityDriver as Pt, offloadSummary as Q, SettingScope as Qa, readAgentDeviceUsage as Qc, parseHostedOfferRequest as Qi, MacosAppRecord as Qn, maintenanceChildLogFile as Qo, DEV_SERVER_STOP_REQUEST_KEY as Qr, validEasSessionClaim as Qs, BuildPhase as Qt, ReadStatsResult as R, settingsJsonSchema as Ra, BuildMachineCredential as Rc, HostedIosChoice as Ri, StatusIssueCode as Rn, createdDevicesLock as Ro, hostedAndroidDeviceName as Rr, queryJsonLogs as Rs, AndroidDeviceState as Rt, parseMachine as S, HostedAppDelivery as Sa, loadConfig as Sc, readWarmRecord as Si, MacosBuildPlanPayload as Sn, closedSegmentName as So, MaintenanceSize as Sr, workspaceRecordingsDir as Ss, readAgentSessionsCache as St, HOSTED_METRO_REQUESTS_KEY as T, HostedAppRecord as Ta, automaticMachineEnabled as Tc, workspaceLastUsed as Ti, NATIVE_BUILD_STEPS as Tn, listSegments as To, MemoryCulprit as Tr, ERROR_SOURCES as Ts, readDiskUsageFailure as Tt, StatsBucket as U, OFFLOAD_MODES as Ua, machineCapacity as Uc, deviceHostRoot as Ui, WORKSPACE_STAGE_KINDS as Un, diskUsageCacheDir as Uo, unreadableHostedAndroid as Ur, sortByTs as Us, BuildActivity as Ut, RunSample as V, ANDROID_PCH_CHOICES as Va, buildSlotPath as Vc, assertHostedDeviceLedger as Vi, WEB_PAGE_STATES as Vn, deviceHostMachinesLock as Vo, hostedAndroidStatus as Vr, readLogTimeline as Vs, BUILD_PHASES as Vt, StatsCapacityRefusal as W, OffloadMode as Wa, saturation as Wc, hostedConsolePort as Wi, WarmStep as Wn, diskUsageWalkClaims as Wo, HostedNativePlacement as Wr, tailRead as Ws, BuildCacheHit as Wt, decodeStats as X, SettingDefinition as Xa, AgentDeviceUsageRoots as Xc, parseHostedLocalDeviceCount as Xi, WorktreeGit as Xn, gitMergeCacheDir as Xo, DEVICE_IDLE_SHUTDOWN_KEY as Xr, readCreatedDevices as Xs, BuildMissChange as Xt, StatsScope as Y, SETTING_SCOPES as Ya, AgentDeviceUsage as Yc, parseHostedDevice as Yi, WorktreeFacts as Yn, getConfigPath as Yo, BUILD_HISTORY_LIMIT as Yr, EasSessionLedgerRead as Ys, BuildMissCategory as Yt, findProjectRoot as Z, SettingEntry as Za, agentDeviceUsageFile as Zc, parseHostedNativeOffer as Zi, WorktreePullRequest as Zn, maintenanceAttemptFile as Zo, DEVICE_RECLAIM_REASON as Zr, readEasSessionLedger as Zs, BuildMissReason as Zt, Endpoint as _, parseHostedAgentGrant as _a, getProject as _c, readDevServerStopRequest as _i, MACHINE_OWNER_KINDS as _n, RECORDING_PLATFORMS as _o, MaintenanceCheck as _r, workspaceEndedAgentsLock as _s, diskUsageCacheFile as _t, parseSetupJournal as a, HOSTED_MACOS_APP_SLOTS as aa, DebugLog as ac, MAINTENANCE_LOG_NAME as ai, SOURCES as al, ChecksState as an, acceptsShape as ao, readMacosRecord as ar, setupJournalFile as as, trimCapacityWaits as at, endpoint as b, parseHostedMacosPlacement as ba, getRepoSettings as bc, readIdleStop as bi, MachineOwnerKind as bn, RecordingPlatform as bo, MaintenancePressure as br, workspaceLogsDir as bs, listStatusCacheEntries as bt, HOSTED_LOGS_FIRST_BYTES as c, HostedAgentGrant as ca, debugLoggingEnabled as cc, WARM_KEY as ci, parseNdjsonText as cl, DeviceLeaseState as cn, isLayeredSetting as co, ArchivedWorkspace as cr, sharedGradle as cs, DeviceViewersRecord as ct, HostedLogsPage as d, HostedMacosChoice as da, buildWorkerRoot as dc, WorkspaceState as di, EndedAgentSession as dn, settingValueError as do, linkReplacedArchives as dr, supervisorLogFile as ds, stimBuildDigest as dt, parseHostedRequest as ea, readJsonFile as ec, DevServerStopRequest as ei, AgentActionReaderOptions as el, BuildPlanPayload as en, SettingsPayload as eo, MacosBuild as er, maintenanceNdjsonFile as es, readRunEstimates as et, hostedMacosLogsDir as f, HostedMacosDevice as fa, configCorruptRepair as fc, buildDiagnostics as fi, EnvironmentDisk as fn, RUN_ID_ENV as fo, readArchive as fr, supervisorPidFile as fs, AgentSessionsCache as ft, readLogsSince as g, parseHostedAgentAccess as ga, getParkedMax as gc, readDevServerStop as gi, LastBuildReport as gn, RECORDING_FOOTAGE_MS as go, MaintenanceActionKind as gr, workspaceEndedAgentsFile as gs, agentSessionOf as gt, readHostedNativeLogsCheckpoint as h, hostedMacosBundleId as ha, getConcurrencyLimits as hc, readBuildHistory as hi, GitChipPart as hn, RECORDING_CAP_BYTES as ho, MaintenanceAction as hr, workspaceDerivedData as hs, StatusCacheEntry as ht, isSetupJournalPrunable as i, HOSTED_AGENT_DRIVERS as ia, DEBUG_ENV as ic, LAST_BUILD_KEYS as ii, NdjsonRecord as il, BuildWaitingFor as in, WebViewport as io, readHostedMacosApp as ir, serverSetupDir as is, trimCapacityRefusals as it, readDeviceHostMachines as j, readHostedApp as ja, DoctorRunRecord as jc, HostedDeviceOffer as ji, RemoteDeviceState as jn, archiveDir as jo, hostedIosPlacements as jr, bundleMarkerPlatform as js, AGENT_TOOLS as jt, hostedMetroRequests as k, parseHostedAppManifest as ka, Config as kc, HostedAndroidDevice as ki, PhysicalDeviceState as kn, recordingEnabled as ko, HostedIosPlacement as kr, attachExpoErrorContext as ks, withGitChip as kt, HOSTED_LOGS_PAGE_BYTES as l, HostedAgentLease as la, ParkedMax as lc, WORKSPACE_AGENT_KEY as li, readNdjsonGenerations as ll, DevicePlacement as ln, isSensitiveReference as lo, archiveEnabled as lr, sharedPods as ls, ViewedDevice as lt, parseHostedLogsCursor as m, hostedMacosAppSlot as ma, findProjectByMetroPort as mc, parseMissReason as mi, GitChip as mn, validRunId as mo, readArchives as mr, workspaceBuildDetailFile as ms, PullRequestCacheEntry as mt, SetupJournal as n, readHostedDeviceLedger as na, readStateFile as nc, IDLE_STOP_KEY as ni, createAgentActionReader as nl, BuildReport as nn, TunnelMode as no, macosAppState as nr, maintenanceStateFile as ns, readStatsReport as nt, readSetupJournal as o, HostedAgentAccess as oa, createDebugLog as oc, MetroLastStop as oi, levelRank as ol, DeviceActivity as on, coerceSettingText as oo, ArchivedBytes as or, sharedCcache as os, trimSamples as ot, hostedNativeLogsDir as p, HostedMacosPlacement as pa, findEnclosingWorktreeRoot as pc, lastUseFrom as pi, EnvironmentState as pn, runId as po, readArchiveState as pr, workspaceAgentDeviceDir as ps, ENDED_AGENT_RETENTION_MS as pt, StatsRecord as q, SETTINGS as qa, readSwiftpmCacheUsage as qc, parseHostedAndroidDevice as qi, WorkspacePhase as qn, easSessionLedgerLock as qo, unreadableHostedNative as qr, CreatedDevices as qs, BuildDiagnostic as qt, isJournalExpired as r, readHostedSessions as ra, withStateReadCache as rc, IdleStopRecord as ri, LEVELS as rl, BuildResult as rn, WEB_VIEWPORTS as ro, parseMacosRecord as rr, pullRequestCacheDir as rs, statsProjectKey as rt, agentDeviceStateDirs as s, HostedAgentDriverName as sa, debugLogDir as sc, READY_PHASE_MS as si, parseNdjsonLine as sl, DeviceAppProcess as sn, expectedShape as so, ArchivedUsage as sr, sharedCompilationCache as ss, wholePhases as st, SetupCapability as t, readHostedDevice as ta, readJsonObject as tc, DeviceIdleShutdownRecord as ti, AgentTarget as tl, BuildPlatform as tn, TUNNEL_MODES as to, MacosProcess as tr, maintenanceRunClaims as ts, readStats as tt, HostedLogsCursor as u, HostedAppLaunch as ua, allMetroPorts as uc, WarmRecord as ui, DiskMeasure as un, settingDefinition as uo, archivedUsage as ur, statsFile as us, readViewedDevices as ut, TAILNET_MACHINE_PATTERN as v, parseHostedMacosChoice as va, getProjectSetting as vc, readDeviceIdleShutdowns as vi, MEMORY_SOURCES as vn, RecordedDevice as vo, MaintenanceMode as vr, workspaceGradleBuild as vs, diskUsageFailureFile as vt, HOSTED_METRO_GATEWAYS_KEY as w, HostedAppOffer as wa, AutomaticPoolRole as wc, readWorkspaceState as wi, MetroBundleState as wn, listRecordedDevices as wo, MaintenanceStatus as wr, workspaceStateLock as ws, readDiskUsage as wt, findPeer as x, HOSTED_APP_CHUNK_BYTES as xa, isPathPrefix as xc, readLastBuilds as xi, MachineUsageState as xn, capDrops as xo, MaintenanceRecord as xr, workspaceMetadataFile as xs, pullRequestCacheFile as xt, TailnetPeer as y, parseHostedMacosDevice as ya, getProjectSettings as yc, readDevicePlacement as yi, MachineOwner as yn, RecordedSegment as yo, MaintenancePass as yr, workspaceLogErrorIndex as ys, endedAgentSessionOf as yt, RunEstimates as z, ANDROID_COMPILER_CACHE_CHOICES as za, readBuildMachines as zc, HostedIosDevice as zi, StatusPayload as zn, deviceHostMachinesClaims as zo, hostedAndroidPlacements as zr, queryLogs as zs, AndroidRuntimeFacts as zt };
package/dist/index.d.mts CHANGED
@@ -122,6 +122,7 @@ interface CacheManifest {
122
122
  declare function cacheManifestLockPath(file: string): string;
123
123
  declare function readCacheManifest(file: string): CacheManifest;
124
124
  declare function updateCacheManifest(file: string, mutate: (caches: Array<Record<string, unknown>>) => Array<Record<string, unknown>>): CacheManifest;
125
+ declare function cacheDirRefusal(dir: string): string | null;
125
126
  declare function registerCache({ dir, name, prune, note, entriesDepth, layout, replaces }: RegisterOptions): void;
126
127
  //#endregion
127
- export { BuildRunOptions, CacheManifest, CacheRegistrationMatch, type DirLockOptions, LOG_ROTATE_BYTES, METRO_NAMED_CACHE_LAYOUT, type MetroBridge, RegisterOptions, STORE_ROOT_TAG, type StoreArtifactOptions, artifactIn, buildCacheKey, buildCacheRoot, cacheManifestLockPath, cacheNameSegment, cachePathSetting, compiledHelper, configDir, createMetroBridge, createMetroGateway, ensurePrivateDir, hostSimulatorArch, metroCacheRoot, quotedPath, readCacheManifest, registerCache, resolveArtifact, rotateLog, rotatedLogPath, sharedStoreRoot, storeArtifact, tagSharedStore, updateCacheManifest, validMacosResourceDestination, withDirLock, workspaceId, workspaceLogDir, workspaceName, workspaceSlug, workspaceStateDir };
128
+ export { BuildRunOptions, CacheManifest, CacheRegistrationMatch, type DirLockOptions, LOG_ROTATE_BYTES, METRO_NAMED_CACHE_LAYOUT, type MetroBridge, RegisterOptions, STORE_ROOT_TAG, type StoreArtifactOptions, artifactIn, buildCacheKey, buildCacheRoot, cacheDirRefusal, cacheManifestLockPath, cacheNameSegment, cachePathSetting, compiledHelper, configDir, createMetroBridge, createMetroGateway, ensurePrivateDir, hostSimulatorArch, metroCacheRoot, quotedPath, readCacheManifest, registerCache, resolveArtifact, rotateLog, rotatedLogPath, sharedStoreRoot, storeArtifact, tagSharedStore, updateCacheManifest, validMacosResourceDestination, withDirLock, workspaceId, workspaceLogDir, workspaceName, workspaceSlug, workspaceStateDir };
package/dist/index.mjs CHANGED
@@ -1,3 +1,3 @@
1
1
  import { S as quotedPath } from "./ownership-claim-O31Y5iIb.mjs";
2
- import { A as storeArtifact, C as workspaceSlug, D as compiledHelper, E as createMetroGateway, M as withDirLock, O as artifactIn, S as workspaceName, T as createMetroBridge, _ as sharedStoreRoot, a as buildCacheRoot, b as workspaceId, c as cachePathSetting, d as hostSimulatorArch, f as metroCacheRoot, g as rotatedLogPath, h as rotateLog, i as buildCacheKey, j as validMacosResourceDestination, k as resolveArtifact, l as configDir, m as registerCache, n as METRO_NAMED_CACHE_LAYOUT, o as cacheManifestLockPath, p as readCacheManifest, r as STORE_ROOT_TAG, s as cacheNameSegment, t as LOG_ROTATE_BYTES, u as ensurePrivateDir, v as tagSharedStore, w as workspaceStateDir, x as workspaceLogDir, y as updateCacheManifest } from "./core-Btea8jlo.mjs";
3
- export { LOG_ROTATE_BYTES, METRO_NAMED_CACHE_LAYOUT, STORE_ROOT_TAG, artifactIn, buildCacheKey, buildCacheRoot, cacheManifestLockPath, cacheNameSegment, cachePathSetting, compiledHelper, configDir, createMetroBridge, createMetroGateway, ensurePrivateDir, hostSimulatorArch, metroCacheRoot, quotedPath, readCacheManifest, registerCache, resolveArtifact, rotateLog, rotatedLogPath, sharedStoreRoot, storeArtifact, tagSharedStore, updateCacheManifest, validMacosResourceDestination, withDirLock, workspaceId, workspaceLogDir, workspaceName, workspaceSlug, workspaceStateDir };
2
+ import { A as resolveArtifact, C as workspaceName, D as createMetroGateway, E as createMetroBridge, M as validMacosResourceDestination, O as compiledHelper, R as withDirLock, S as workspaceLogDir, T as workspaceStateDir, _ as rotatedLogPath, a as buildCacheRoot, b as updateCacheManifest, c as cacheNameSegment, d as ensurePrivateDir, f as hostSimulatorArch, g as rotateLog, h as registerCache, i as buildCacheKey, j as storeArtifact, k as artifactIn, 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 } from "./core-BkgfKqJ8.mjs";
3
+ export { LOG_ROTATE_BYTES, METRO_NAMED_CACHE_LAYOUT, STORE_ROOT_TAG, artifactIn, buildCacheKey, buildCacheRoot, cacheDirRefusal, cacheManifestLockPath, cacheNameSegment, cachePathSetting, compiledHelper, configDir, createMetroBridge, createMetroGateway, ensurePrivateDir, hostSimulatorArch, metroCacheRoot, quotedPath, readCacheManifest, registerCache, resolveArtifact, rotateLog, rotatedLogPath, sharedStoreRoot, storeArtifact, tagSharedStore, updateCacheManifest, validMacosResourceDestination, withDirLock, workspaceId, workspaceLogDir, workspaceName, workspaceSlug, workspaceStateDir };
@@ -1,5 +1,5 @@
1
- import { $t as BuildPlacement, Gn as WebBrowserState, It as AgentSession, Jn as WorkspaceStage, Jt as BuildHistoryEntry, Kt as BuildDetail, Ln as StatusIssue, Pn as SimulatorState, Qn as MacosAppRecord, Rt as AndroidDeviceState, Ut as BuildActivity, Xn as WorktreeGit, Xt as BuildMissChange, Yn as WorktreeFacts, Zn as WorktreePullRequest, Zt as BuildMissReason, br as MaintenancePressure, cn as DeviceLeaseState, cr as ArchivedWorkspace, en as BuildPlanPayload, er as MacosBuild, fn as EnvironmentDisk, gn as LastBuildReport, hr as MaintenanceAction, in as BuildWaitingFor, jn as RemoteDeviceState, kn as PhysicalDeviceState, mn as GitChip, nn as BuildReport, on as DeviceActivity, pn as EnvironmentState, qt as BuildDiagnostic, sn as DeviceAppProcess, ua as HostedMacosPlacement, un as DiskMeasure, wn as MetroBundleState, wr as MaintenanceStatus, xn as MachineUsageState, yn as MachineOwner, yr as MaintenancePass, zn as StatusPayload } from "./index-DNBFsz-Q.mjs";
2
- import { $n as TouchPhase, $t as Methods, An as ReplayMarker, B as DEVICE_HOST_METHODS, Dn as ReplayEndedEvent, Dt as KeyModifier, F as ControlBeginParams, Fn as RotateDirection, Ft as LogRecord, H as DeviceAuth, I as ControlBeginResult, In as SERVER_UPDATE_METHODS, It as LogSource, Jn as SimulatorOptions, Jt as MachineVolume, K as DevicePosture, Lt as LogsEndedEvent, Mn as ReplaySpan, Nn as ReplayTarget, Nt as LogFilter, On as ReplayKeyframe, Pt as LogLevel, R as ControlEndedEvent, Rn as ServerEvent, Rt as LogsEvent, S as BuildPlanParams, St as InputSimulatorParams, T as BuildProgressEvent, U as DeviceFrameArtwork, Ut as MachineDetails, W as DeviceFrameEvent, Wt as MachineHistory, Xn as StatusEvent, Xt as MacosWindowsEvent, Z as ErrorEvent, _n as PushEvent, _t as InputKey, a as ArchiveDetailParams, an as NotificationSuppression, cn as NotificationsListResult, ct as FramesSubscribeResult, dn as PROTOCOL_VERSION, dt as HelloResult, fr as WorkspaceDiff, gn as ProtocolError, gr as WorkspacePatch, hn as Platform, ht as InputButton, i as ActionResult, in as NotificationLevel, it as FrameTarget, jn as ReplayRange, kn as ReplayKeyframeParams, m as BuildClientSummary, mn as PairingAuth, mr as WorkspaceFiles, n as ActionName, nn as NotificationEntry, nr as UsageSample, nt as FrameDelayedEvent, pr as WorkspaceFile, q as DeviceUsageSeries, qn as SimulatorCommand, qt as MachineUsage, r as ActionParams, rn as NotificationEvent, rt as FrameEvent, s as BUILD_METHODS, t as ACTIONS, tr as UsageHistory, ut as HelloParams, vn as PushRegisterParams, y as BuildMachineReport, zt as LogsQueryResult } from "./protocol-Bp-bcZIR.mjs";
1
+ import { $t as BuildPlacement, Gn as WebBrowserState, It as AgentSession, Jn as WorkspaceStage, Jt as BuildHistoryEntry, Kt as BuildDetail, Ln as StatusIssue, Ot as withDerivedFacts, Pn as SimulatorState, Qn as MacosAppRecord, Rt as AndroidDeviceState, Ut as BuildActivity, Xn as WorktreeGit, Xt as BuildMissChange, Yn as WorktreeFacts, Zn as WorktreePullRequest, Zt as BuildMissReason, br as MaintenancePressure, cn as DeviceLeaseState, cr as ArchivedWorkspace, en as BuildPlanPayload, er as MacosBuild, fn as EnvironmentDisk, gn as LastBuildReport, hr as MaintenanceAction, in as BuildWaitingFor, jn as RemoteDeviceState, kn as PhysicalDeviceState, mn as GitChip, nn as BuildReport, on as DeviceActivity, pa as HostedMacosPlacement, pn as EnvironmentState, qt as BuildDiagnostic, sn as DeviceAppProcess, un as DiskMeasure, wn as MetroBundleState, wr as MaintenanceStatus, xn as MachineUsageState, yn as MachineOwner, yr as MaintenancePass, zn as StatusPayload } from "./index-VDWBflH3.mjs";
2
+ import { $n as TouchPhase, $t as Methods, An as ReplayMarker, B as DEVICE_HOST_METHODS, Dn as ReplayEndedEvent, Dt as KeyModifier, F as ControlBeginParams, Fn as RotateDirection, Ft as LogRecord, H as DeviceAuth, I as ControlBeginResult, In as SERVER_UPDATE_METHODS, It as LogSource, Jn as SimulatorOptions, Jt as MachineVolume, K as DevicePosture, Lt as LogsEndedEvent, Mn as ReplaySpan, Nn as ReplayTarget, Nt as LogFilter, On as ReplayKeyframe, Pt as LogLevel, R as ControlEndedEvent, Rn as ServerEvent, Rt as LogsEvent, S as BuildPlanParams, St as InputSimulatorParams, T as BuildProgressEvent, U as DeviceFrameArtwork, Ut as MachineDetails, W as DeviceFrameEvent, Wt as MachineHistory, Xn as StatusEvent, Xt as MacosWindowsEvent, Z as ErrorEvent, _n as PushEvent, _t as InputKey, a as ArchiveDetailParams, an as NotificationSuppression, cn as NotificationsListResult, ct as FramesSubscribeResult, dn as PROTOCOL_VERSION, dt as HelloResult, fr as WorkspaceDiff, gn as ProtocolError, gr as WorkspacePatch, hn as Platform, ht as InputButton, i as ActionResult, in as NotificationLevel, it as FrameTarget, jn as ReplayRange, kn as ReplayKeyframeParams, m as BuildClientSummary, mn as PairingAuth, mr as WorkspaceFiles, n as ActionName, nn as NotificationEntry, nr as UsageSample, nt as FrameDelayedEvent, pr as WorkspaceFile, q as DeviceUsageSeries, qn as SimulatorCommand, qt as MachineUsage, r as ActionParams, rn as NotificationEvent, rt as FrameEvent, s as BUILD_METHODS, t as ACTIONS, tr as UsageHistory, ut as HelloParams, vn as PushRegisterParams, y as BuildMachineReport, zt as LogsQueryResult } from "./protocol-pH632kA3.mjs";
3
3
  //#region phone-protocol.d.ts
4
4
  type PhonePlatform = BuildPlanParams["platform"];
5
5
  type PhoneDevicePlatform = Platform;
@@ -481,4 +481,4 @@ type PhoneResponse<M extends PhoneMethod = PhoneMethod> = {
481
481
  };
482
482
  type PhoneServerMessage = PhoneResponse | PhoneServerEvent;
483
483
  //#endregion
484
- export { ACTIONS, type PhoneActionName as ActionName, PhoneActionName, type PhoneActionParams as ActionParams, PhoneActionParams, type PhoneActionResult as ActionResult, PhoneActionResult, type PhoneAgentSession as AgentSession, PhoneAgentSession, type PhoneAndroidState as AndroidState, PhoneAndroidState, type PhoneAppPresence as AppPresence, PhoneAppPresence, type PhoneArchiveDetailResult as ArchiveDetailResult, PhoneArchiveDetailResult, type PhoneBuildActivity as BuildActivity, PhoneBuildActivity, type PhoneBuildCacheHit as BuildCacheHit, PhoneBuildCacheHit, type PhoneBuildClientSummary as BuildClientSummary, PhoneBuildClientSummary, type PhoneBuildDetail as BuildDetail, PhoneBuildDetail, type PhoneBuildDiagnostic as BuildDiagnostic, PhoneBuildDiagnostic, type PhoneBuildHistoryEntry as BuildHistoryEntry, PhoneBuildHistoryEntry, type PhoneBuildMachineReport as BuildMachineReport, PhoneBuildMachineReport, type PhoneBuildMissCategory as BuildMissCategory, PhoneBuildMissCategory, type PhoneBuildMissChange as BuildMissChange, PhoneBuildMissChange, type PhoneBuildMissReason as BuildMissReason, PhoneBuildMissReason, type PhoneBuildPhase as BuildPhase, PhoneBuildPhase, type PhoneBuildPlacement as BuildPlacement, PhoneBuildPlacement, type PhoneBuildPlan as BuildPlan, PhoneBuildPlan, type PhoneBuildPlanParams as BuildPlanParams, PhoneBuildPlanParams, type PhoneBuildReport as BuildReport, PhoneBuildReport, type PhoneBuildResult as BuildResult, PhoneBuildResult, type PhoneClientAuth as ClientAuth, PhoneClientAuth, type PhoneControlBeginParams as ControlBeginParams, PhoneControlBeginParams, type PhoneControlBeginResult as ControlBeginResult, PhoneControlBeginResult, type PhoneControlEndedEvent as ControlEndedEvent, PhoneControlEndedEvent, type PhoneDeviceActivity as DeviceActivity, PhoneDeviceActivity, type PhoneDeviceAppProcess as DeviceAppProcess, PhoneDeviceAppProcess, type PhoneDeviceDisk as DeviceDisk, PhoneDeviceDisk, type PhoneDeviceFrameArtwork as DeviceFrameArtwork, PhoneDeviceFrameArtwork, type PhoneDeviceFrameEvent as DeviceFrameEvent, PhoneDeviceFrameEvent, type PhoneDeviceLeaseState as DeviceLeaseState, PhoneDeviceLeaseState, type PhoneDevicePlatform as DevicePlatform, PhoneDevicePlatform, type PhoneDevicePosture as DevicePosture, PhoneDevicePosture, type PhoneEndedAgentSession as EndedAgentSession, PhoneEndedAgentSession, type PhoneEnvironmentState as EnvironmentState, PhoneEnvironmentState, type PhoneErrorEvent as ErrorEvent, PhoneErrorEvent, type PhoneFrameDelayedEvent as FrameDelayedEvent, PhoneFrameDelayedEvent, type PhoneFrameEvent as FrameEvent, PhoneFrameEvent, type PhoneFrameTarget as FrameTarget, PhoneFrameTarget, type PhoneGitChipFacts as GitChipFacts, PhoneGitChipFacts, type PhoneGitChipPart as GitChipPart, PhoneGitChipPart, type PhoneHelloResult as HelloResult, PhoneHelloResult, type PhoneInputButton as InputButton, PhoneInputButton, type PhoneInputKey as InputKey, PhoneInputKey, type PhoneInputSimulatorParams as InputSimulatorParams, PhoneInputSimulatorParams, type PhoneKeyModifier as KeyModifier, PhoneKeyModifier, type PhoneLastBuild as LastBuild, PhoneLastBuild, type PhoneLogFilter as LogFilter, PhoneLogFilter, type PhoneLogLevel as LogLevel, PhoneLogLevel, type PhoneLogRecord as LogRecord, PhoneLogRecord, type PhoneLogSource as LogSource, PhoneLogSource, type PhoneLogsEndedEvent as LogsEndedEvent, PhoneLogsEndedEvent, type PhoneLogsEvent as LogsEvent, PhoneLogsEvent, type PhoneMachineDetails as MachineDetails, PhoneMachineDetails, type PhoneMachineHistory as MachineHistory, PhoneMachineHistory, type PhoneMachineOwner as MachineOwner, PhoneMachineOwner, type PhoneMachineOwnerKind as MachineOwnerKind, PhoneMachineOwnerKind, type PhoneMachineUsage as MachineUsage, PhoneMachineUsage, type PhoneMachineUsageState as MachineUsageState, PhoneMachineUsageState, type PhoneMachineVolume as MachineVolume, PhoneMachineVolume, type PhoneMacosAppState as MacosAppState, PhoneMacosAppState, type PhoneMacosWindowsEvent as MacosWindowsEvent, PhoneMacosWindowsEvent, type PhoneMemoryPressure as MemoryPressure, PhoneMemoryPressure, type PhoneMethod as Method, PhoneMethod, type PhoneMethods as Methods, PhoneMethods, type PhoneMetroBundle as MetroBundle, PhoneMetroBundle, type PhoneNotificationEntry as NotificationEntry, PhoneNotificationEntry, type PhoneNotificationEvent as NotificationEvent, PhoneNotificationEvent, type PhoneNotificationLevel as NotificationLevel, PhoneNotificationLevel, type PhoneNotificationSuppression as NotificationSuppression, PhoneNotificationSuppression, type PhoneNotificationTarget as NotificationTarget, PhoneNotificationTarget, type PhoneNotificationsListResult as NotificationsListResult, PhoneNotificationsListResult, PROTOCOL_VERSION, type PhonePairingPayload as PairingPayload, PhonePairingPayload, PhoneMaintenanceStatus, PhonePhysicalDeviceState, type PhonePhysicalDeviceState as PhysicalDeviceState, PhonePlatform, type PhonePlatform as Platform, PhoneProtocolError, type PhoneProtocolError as ProtocolError, PhonePullRequestFacts, type PhonePullRequestFacts as PullRequestFacts, PhonePushEvent, type PhonePushEvent as PushEvent, PhonePushRegisterParams, type PhonePushRegisterParams as PushRegisterParams, PhoneReloadPlatform, type PhoneReloadPlatform as ReloadPlatform, PhoneRemoteDeviceState, type PhoneRemoteDeviceState as RemoteDeviceState, PhoneReplayEndedEvent, type PhoneReplayEndedEvent as ReplayEndedEvent, PhoneReplayKeyframe, type PhoneReplayKeyframe as ReplayKeyframe, PhoneReplayMarker, type PhoneReplayMarker as ReplayMarker, PhoneReplayRange, type PhoneReplayRange as ReplayRange, PhoneReplayRate, type PhoneReplayRate as ReplayRate, PhoneReplaySpan, type PhoneReplaySpan as ReplaySpan, PhoneResponse, type PhoneResponse as Response, PhoneRotateDirection, type PhoneRotateDirection as RotateDirection, PhoneServerEvent, type PhoneServerEvent as ServerEvent, PhoneServerMessage, type PhoneServerMessage as ServerMessage, PhoneSimState, type PhoneSimState as SimState, PhoneSimulatorCommand, type PhoneSimulatorCommand as SimulatorCommand, PhoneSimulatorOptions, type PhoneSimulatorOptions as SimulatorOptions, PhoneStackFrame, type PhoneStackFrame as StackFrame, PhoneStageFacts, type PhoneStageFacts as StageFacts, PhoneStatusEvent, type PhoneStatusEvent as StatusEvent, PhoneStatusIssue, type PhoneStatusIssue as StatusIssue, PhoneStatusPayload, type PhoneStatusPayload as StatusPayload, PhoneStatusUsage, type PhoneStatusUsage as StatusUsage, PhoneTouchPhase, type PhoneTouchPhase as TouchPhase, PhoneUsageSample, type PhoneUsageSample as UsageSample, PhoneWebBrowserState, type PhoneWebBrowserState as WebBrowserState, PhoneWorkspaceDiff, type PhoneWorkspaceDiff as WorkspaceDiff, PhoneWorkspaceDisk, type PhoneWorkspaceDisk as WorkspaceDisk, PhoneWorkspaceFile, type PhoneWorkspaceFile as WorkspaceFile, PhoneWorkspaceFiles, type PhoneWorkspaceFiles as WorkspaceFiles, PhoneWorkspacePatch, type PhoneWorkspacePatch as WorkspacePatch, PhoneWorktreeFacts, type PhoneWorktreeFacts as WorktreeFacts, PhoneWorktreeGit, type PhoneWorktreeGit as WorktreeGit };
484
+ export { ACTIONS, type PhoneActionName as ActionName, PhoneActionName, type PhoneActionParams as ActionParams, PhoneActionParams, type PhoneActionResult as ActionResult, PhoneActionResult, type PhoneAgentSession as AgentSession, PhoneAgentSession, type PhoneAndroidState as AndroidState, PhoneAndroidState, type PhoneAppPresence as AppPresence, PhoneAppPresence, type PhoneArchiveDetailResult as ArchiveDetailResult, PhoneArchiveDetailResult, type PhoneBuildActivity as BuildActivity, PhoneBuildActivity, type PhoneBuildCacheHit as BuildCacheHit, PhoneBuildCacheHit, type PhoneBuildClientSummary as BuildClientSummary, PhoneBuildClientSummary, type PhoneBuildDetail as BuildDetail, PhoneBuildDetail, type PhoneBuildDiagnostic as BuildDiagnostic, PhoneBuildDiagnostic, type PhoneBuildHistoryEntry as BuildHistoryEntry, PhoneBuildHistoryEntry, type PhoneBuildMachineReport as BuildMachineReport, PhoneBuildMachineReport, type PhoneBuildMissCategory as BuildMissCategory, PhoneBuildMissCategory, type PhoneBuildMissChange as BuildMissChange, PhoneBuildMissChange, type PhoneBuildMissReason as BuildMissReason, PhoneBuildMissReason, type PhoneBuildPhase as BuildPhase, PhoneBuildPhase, type PhoneBuildPlacement as BuildPlacement, PhoneBuildPlacement, type PhoneBuildPlan as BuildPlan, PhoneBuildPlan, type PhoneBuildPlanParams as BuildPlanParams, PhoneBuildPlanParams, type PhoneBuildReport as BuildReport, PhoneBuildReport, type PhoneBuildResult as BuildResult, PhoneBuildResult, type PhoneClientAuth as ClientAuth, PhoneClientAuth, type PhoneControlBeginParams as ControlBeginParams, PhoneControlBeginParams, type PhoneControlBeginResult as ControlBeginResult, PhoneControlBeginResult, type PhoneControlEndedEvent as ControlEndedEvent, PhoneControlEndedEvent, type PhoneDeviceActivity as DeviceActivity, PhoneDeviceActivity, type PhoneDeviceAppProcess as DeviceAppProcess, PhoneDeviceAppProcess, type PhoneDeviceDisk as DeviceDisk, PhoneDeviceDisk, type PhoneDeviceFrameArtwork as DeviceFrameArtwork, PhoneDeviceFrameArtwork, type PhoneDeviceFrameEvent as DeviceFrameEvent, PhoneDeviceFrameEvent, type PhoneDeviceLeaseState as DeviceLeaseState, PhoneDeviceLeaseState, type PhoneDevicePlatform as DevicePlatform, PhoneDevicePlatform, type PhoneDevicePosture as DevicePosture, PhoneDevicePosture, type PhoneEndedAgentSession as EndedAgentSession, PhoneEndedAgentSession, type PhoneEnvironmentState as EnvironmentState, PhoneEnvironmentState, type PhoneErrorEvent as ErrorEvent, PhoneErrorEvent, type PhoneFrameDelayedEvent as FrameDelayedEvent, PhoneFrameDelayedEvent, type PhoneFrameEvent as FrameEvent, PhoneFrameEvent, type PhoneFrameTarget as FrameTarget, PhoneFrameTarget, type PhoneGitChipFacts as GitChipFacts, PhoneGitChipFacts, type PhoneGitChipPart as GitChipPart, PhoneGitChipPart, type PhoneHelloResult as HelloResult, PhoneHelloResult, type PhoneInputButton as InputButton, PhoneInputButton, type PhoneInputKey as InputKey, PhoneInputKey, type PhoneInputSimulatorParams as InputSimulatorParams, PhoneInputSimulatorParams, type PhoneKeyModifier as KeyModifier, PhoneKeyModifier, type PhoneLastBuild as LastBuild, PhoneLastBuild, type PhoneLogFilter as LogFilter, PhoneLogFilter, type PhoneLogLevel as LogLevel, PhoneLogLevel, type PhoneLogRecord as LogRecord, PhoneLogRecord, type PhoneLogSource as LogSource, PhoneLogSource, type PhoneLogsEndedEvent as LogsEndedEvent, PhoneLogsEndedEvent, type PhoneLogsEvent as LogsEvent, PhoneLogsEvent, type PhoneMachineDetails as MachineDetails, PhoneMachineDetails, type PhoneMachineHistory as MachineHistory, PhoneMachineHistory, type PhoneMachineOwner as MachineOwner, PhoneMachineOwner, type PhoneMachineOwnerKind as MachineOwnerKind, PhoneMachineOwnerKind, type PhoneMachineUsage as MachineUsage, PhoneMachineUsage, type PhoneMachineUsageState as MachineUsageState, PhoneMachineUsageState, type PhoneMachineVolume as MachineVolume, PhoneMachineVolume, type PhoneMacosAppState as MacosAppState, PhoneMacosAppState, type PhoneMacosWindowsEvent as MacosWindowsEvent, PhoneMacosWindowsEvent, type PhoneMemoryPressure as MemoryPressure, PhoneMemoryPressure, type PhoneMethod as Method, PhoneMethod, type PhoneMethods as Methods, PhoneMethods, type PhoneMetroBundle as MetroBundle, PhoneMetroBundle, type PhoneNotificationEntry as NotificationEntry, PhoneNotificationEntry, type PhoneNotificationEvent as NotificationEvent, PhoneNotificationEvent, type PhoneNotificationLevel as NotificationLevel, PhoneNotificationLevel, type PhoneNotificationSuppression as NotificationSuppression, PhoneNotificationSuppression, type PhoneNotificationTarget as NotificationTarget, PhoneNotificationTarget, type PhoneNotificationsListResult as NotificationsListResult, PhoneNotificationsListResult, PROTOCOL_VERSION, type PhonePairingPayload as PairingPayload, PhonePairingPayload, PhoneMaintenanceStatus, PhonePhysicalDeviceState, type PhonePhysicalDeviceState as PhysicalDeviceState, PhonePlatform, type PhonePlatform as Platform, PhoneProtocolError, type PhoneProtocolError as ProtocolError, PhonePullRequestFacts, type PhonePullRequestFacts as PullRequestFacts, PhonePushEvent, type PhonePushEvent as PushEvent, PhonePushRegisterParams, type PhonePushRegisterParams as PushRegisterParams, PhoneReloadPlatform, type PhoneReloadPlatform as ReloadPlatform, PhoneRemoteDeviceState, type PhoneRemoteDeviceState as RemoteDeviceState, PhoneReplayEndedEvent, type PhoneReplayEndedEvent as ReplayEndedEvent, PhoneReplayKeyframe, type PhoneReplayKeyframe as ReplayKeyframe, PhoneReplayMarker, type PhoneReplayMarker as ReplayMarker, PhoneReplayRange, type PhoneReplayRange as ReplayRange, PhoneReplayRate, type PhoneReplayRate as ReplayRate, PhoneReplaySpan, type PhoneReplaySpan as ReplaySpan, PhoneResponse, type PhoneResponse as Response, PhoneRotateDirection, type PhoneRotateDirection as RotateDirection, PhoneServerEvent, type PhoneServerEvent as ServerEvent, PhoneServerMessage, type PhoneServerMessage as ServerMessage, PhoneSimState, type PhoneSimState as SimState, PhoneSimulatorCommand, type PhoneSimulatorCommand as SimulatorCommand, PhoneSimulatorOptions, type PhoneSimulatorOptions as SimulatorOptions, PhoneStackFrame, type PhoneStackFrame as StackFrame, PhoneStageFacts, type PhoneStageFacts as StageFacts, PhoneStatusEvent, type PhoneStatusEvent as StatusEvent, PhoneStatusIssue, type PhoneStatusIssue as StatusIssue, PhoneStatusPayload, type PhoneStatusPayload as StatusPayload, PhoneStatusUsage, type PhoneStatusUsage as StatusUsage, PhoneTouchPhase, type PhoneTouchPhase as TouchPhase, PhoneUsageSample, type PhoneUsageSample as UsageSample, PhoneWebBrowserState, type PhoneWebBrowserState as WebBrowserState, PhoneWorkspaceDiff, type PhoneWorkspaceDiff as WorkspaceDiff, PhoneWorkspaceDisk, type PhoneWorkspaceDisk as WorkspaceDisk, PhoneWorkspaceFile, type PhoneWorkspaceFile as WorkspaceFile, PhoneWorkspaceFiles, type PhoneWorkspaceFiles as WorkspaceFiles, PhoneWorkspacePatch, type PhoneWorkspacePatch as WorkspacePatch, PhoneWorktreeFacts, type PhoneWorktreeFacts as WorktreeFacts, PhoneWorktreeGit, type PhoneWorktreeGit as WorktreeGit, withDerivedFacts };
@@ -1,2 +1,3 @@
1
+ import { t as withDerivedFacts } from "./status-derived-C13g6eQt.mjs";
1
2
  import { ACTIONS, PROTOCOL_VERSION } from "./protocol.mjs";
2
- export { ACTIONS, PROTOCOL_VERSION };
3
+ export { ACTIONS, PROTOCOL_VERSION, withDerivedFacts };
@@ -1,4 +1,4 @@
1
- import { Ai as HostedDeviceOfferRequest, Fi as HostedDeviceSession, Jt as BuildHistoryEntry, Mi as HostedDevicePlatform, Ni as HostedDeviceRequest, d as HostedLogsPage, en as BuildPlanPayload, ji as HostedDevicePhase, ki as HostedDeviceOffer, sa as HostedAppLaunch, tl as NdjsonRecord, u as HostedLogsCursor, xa as HostedAppOffer, ya as HostedAppDelivery, zn as StatusPayload } from "./index-DNBFsz-Q.mjs";
1
+ import { Fi as HostedDeviceRequest, Jt as BuildHistoryEntry, Li as HostedDeviceSession, Mi as HostedDeviceOfferRequest, Ni as HostedDevicePhase, Pi as HostedDevicePlatform, Sa as HostedAppDelivery, d as HostedLogsPage, en as BuildPlanPayload, il as NdjsonRecord, ji as HostedDeviceOffer, u as HostedLogsCursor, ua as HostedAppLaunch, wa as HostedAppOffer, zn as StatusPayload } from "./index-VDWBflH3.mjs";
2
2
  //#region protocol.d.ts
3
3
  declare const PROTOCOL_VERSION = 1;
4
4
  declare const PROTOCOL_SCHEMA_FILE = "protocol.schema.json";
@@ -1,2 +1,2 @@
1
- import { $ as FRAME_EDGE, $n as TouchPhase, $t as Methods, A as BuildToolchain, An as ReplayMarker, At as LOG_LEVELS, B as DEVICE_HOST_METHODS, Bn as ServerResponse, Bt as MAX_INPUT_TEXT, C as BuildPlanResult, Cn as ROTATE_DIRECTIONS, Ct as InputTextParams, D as BuildStartParams, Dn as ReplayEndedEvent, Dt as KeyModifier, E as BuildRequestAuth, En as ReloadPlatform, Et as KEY_MODIFIERS, F as ControlBeginParams, Fn as RotateDirection, Ft as LogRecord, G as DeviceHostRequestAuth, Gn as ServerUpdateStatus, Gt as MachineHistoryParams, H as DeviceAuth, Hn as ServerUpdatePackage, Ht as METHODS, I as ControlBeginResult, In as SERVER_UPDATE_METHODS, It as LogSource, J as DuoFramePose, Jn as SimulatorOptions, Jt as MachineVolume, K as DevicePosture, Kn as SettingsResult, Kt as MachineUpdateStatus, L as ControlEndParams, Ln as ServeRoute, Lt as LogsEndedEvent, M as CONTROL_END_REASONS, Mn as ReplaySpan, Mt as LegacyPushEvent, N as Capability, Nn as ReplayTarget, Nt as LogFilter, O as BuildSyncParams, On as ReplayKeyframe, Ot as KeyframeParams, P as ClientRequest, Pn as RequestId, Pt as LogLevel, Q as FEATURES, Qn as TOUCH_PHASES, Qt as Method, R as ControlEndedEvent, Rn as ServerEvent, Rt as LogsEvent, S as BuildPlanParams, Sn as REPLAY_RATES, St as InputSimulatorParams, T as BuildProgressEvent, Tn as RecordingSetResult, Tt as InputWindowParams, U as DeviceFrameArtwork, Un as ServerUpdateProgress, Ut as MachineDetails, V as DEVICE_POSTURES, Vn as ServerUpdateOutcome, Vt as MAX_LOG_TAIL, W as DeviceFrameEvent, Wn as ServerUpdateStartParams, Wt as MachineHistory, X as ErrorCode, Xn as StatusEvent, Xt as MacosWindowsEvent, Y as ERROR_CODES, Yn as StatsResult, Yt as MacosWindow, Z as ErrorEvent, Zn as SubscribeResult, Zt as MemoryPressure, _ as BuildJobParams, _n as PushEvent, _t as InputKey, a as ArchiveDetailParams, an as NotificationSuppression, ar as VIDEO_CODECS, at as FramesLiveParams, b as BuildOfferParams, bn as RELOAD_PLATFORMS, bt as InputRotateParams, c as BUILD_REPO_PATTERN, cn as NotificationsListResult, cr as VIDEO_KEYFRAME, ct as FramesSubscribeResult, d as BuildArtifactResult, dn as PROTOCOL_VERSION, dr as VideoPacket, dt as HelloResult, en as NOTIFICATION_LEVELS, er as UnsubscribeParams, et as FRAME_FPS, f as BuildAttachResult, fn as PUSH_EVENTS, fr as WorkspaceDiff, ft as HostedSessionRow, g as BuildJobOutcome, gn as ProtocolError, gr as WorkspacePatch, gt as InputButtonParams, h as BuildFile, hn as Platform, hr as WorkspaceParams, ht as InputButton, i as ActionResult, in as NotificationLevel, ir as VIDEO_ARTWORK, it as FrameTarget, j as CAPABILITIES, jn as ReplayRange, jt as LOG_SOURCES, k as BuildSyncResult, kn as ReplayKeyframeParams, kt as LEGACY_PUSH_EVENTS, l as BUILD_RUBY_VERSION_PATTERN, ln as PLATFORMS, lr as VIDEO_UNFOLDED, lt as GradleOffloadInputs, m as BuildClientSummary, mn as PairingAuth, mr as WorkspaceFiles, mt as INPUT_KEYS, n as ActionName, nn as NotificationEntry, nr as UsageSample, nt as FrameDelayedEvent, o as ArchiveDetailResult, on as NotificationTarget, or as VIDEO_FOLDED, ot as FramesSeekParams, p as BuildCapacity, pn as PUSH_TOKEN_PATTERN, pr as WorkspaceFile, pt as INPUT_BUTTONS, q as DeviceUsageSeries, qn as SimulatorCommand, qt as MachineUsage, r as ActionParams, rn as NotificationEvent, rr as UsageSeries, rt as FrameEvent, s as BUILD_METHODS, sn as NotificationsListParams, sr as VIDEO_HEADER_VERSION, st as FramesSeekResult, t as ACTIONS, tn as NOTIFICATION_SUPPRESSIONS, tr as UsageHistory, tt as Feature, u as BuildAndroidOptions, un as PROTOCOL_SCHEMA_FILE, ur as VideoCodec, ut as HelloParams, v as BuildMachineCapacity, vn as PushRegisterParams, vt as InputKeyParams, w as BuildPlatform, wn as RecordingSetParams, wt as InputTouchParams, x as BuildOfferResult, xn as REPLAY_MARKER_KINDS, xt as InputScrollParams, y as BuildMachineReport, yn as QuietHours, yt as InputPostureParams, z as ControlPlatform, zn as ServerMessage, zt as LogsQueryResult } from "./protocol-Bp-bcZIR.mjs";
1
+ import { $ as FRAME_EDGE, $n as TouchPhase, $t as Methods, A as BuildToolchain, An as ReplayMarker, At as LOG_LEVELS, B as DEVICE_HOST_METHODS, Bn as ServerResponse, Bt as MAX_INPUT_TEXT, C as BuildPlanResult, Cn as ROTATE_DIRECTIONS, Ct as InputTextParams, D as BuildStartParams, Dn as ReplayEndedEvent, Dt as KeyModifier, E as BuildRequestAuth, En as ReloadPlatform, Et as KEY_MODIFIERS, F as ControlBeginParams, Fn as RotateDirection, Ft as LogRecord, G as DeviceHostRequestAuth, Gn as ServerUpdateStatus, Gt as MachineHistoryParams, H as DeviceAuth, Hn as ServerUpdatePackage, Ht as METHODS, I as ControlBeginResult, In as SERVER_UPDATE_METHODS, It as LogSource, J as DuoFramePose, Jn as SimulatorOptions, Jt as MachineVolume, K as DevicePosture, Kn as SettingsResult, Kt as MachineUpdateStatus, L as ControlEndParams, Ln as ServeRoute, Lt as LogsEndedEvent, M as CONTROL_END_REASONS, Mn as ReplaySpan, Mt as LegacyPushEvent, N as Capability, Nn as ReplayTarget, Nt as LogFilter, O as BuildSyncParams, On as ReplayKeyframe, Ot as KeyframeParams, P as ClientRequest, Pn as RequestId, Pt as LogLevel, Q as FEATURES, Qn as TOUCH_PHASES, Qt as Method, R as ControlEndedEvent, Rn as ServerEvent, Rt as LogsEvent, S as BuildPlanParams, Sn as REPLAY_RATES, St as InputSimulatorParams, T as BuildProgressEvent, Tn as RecordingSetResult, Tt as InputWindowParams, U as DeviceFrameArtwork, Un as ServerUpdateProgress, Ut as MachineDetails, V as DEVICE_POSTURES, Vn as ServerUpdateOutcome, Vt as MAX_LOG_TAIL, W as DeviceFrameEvent, Wn as ServerUpdateStartParams, Wt as MachineHistory, X as ErrorCode, Xn as StatusEvent, Xt as MacosWindowsEvent, Y as ERROR_CODES, Yn as StatsResult, Yt as MacosWindow, Z as ErrorEvent, Zn as SubscribeResult, Zt as MemoryPressure, _ as BuildJobParams, _n as PushEvent, _t as InputKey, a as ArchiveDetailParams, an as NotificationSuppression, ar as VIDEO_CODECS, at as FramesLiveParams, b as BuildOfferParams, bn as RELOAD_PLATFORMS, bt as InputRotateParams, c as BUILD_REPO_PATTERN, cn as NotificationsListResult, cr as VIDEO_KEYFRAME, ct as FramesSubscribeResult, d as BuildArtifactResult, dn as PROTOCOL_VERSION, dr as VideoPacket, dt as HelloResult, en as NOTIFICATION_LEVELS, er as UnsubscribeParams, et as FRAME_FPS, f as BuildAttachResult, fn as PUSH_EVENTS, fr as WorkspaceDiff, ft as HostedSessionRow, g as BuildJobOutcome, gn as ProtocolError, gr as WorkspacePatch, gt as InputButtonParams, h as BuildFile, hn as Platform, hr as WorkspaceParams, ht as InputButton, i as ActionResult, in as NotificationLevel, ir as VIDEO_ARTWORK, it as FrameTarget, j as CAPABILITIES, jn as ReplayRange, jt as LOG_SOURCES, k as BuildSyncResult, kn as ReplayKeyframeParams, kt as LEGACY_PUSH_EVENTS, l as BUILD_RUBY_VERSION_PATTERN, ln as PLATFORMS, lr as VIDEO_UNFOLDED, lt as GradleOffloadInputs, m as BuildClientSummary, mn as PairingAuth, mr as WorkspaceFiles, mt as INPUT_KEYS, n as ActionName, nn as NotificationEntry, nr as UsageSample, nt as FrameDelayedEvent, o as ArchiveDetailResult, on as NotificationTarget, or as VIDEO_FOLDED, ot as FramesSeekParams, p as BuildCapacity, pn as PUSH_TOKEN_PATTERN, pr as WorkspaceFile, pt as INPUT_BUTTONS, q as DeviceUsageSeries, qn as SimulatorCommand, qt as MachineUsage, r as ActionParams, rn as NotificationEvent, rr as UsageSeries, rt as FrameEvent, s as BUILD_METHODS, sn as NotificationsListParams, sr as VIDEO_HEADER_VERSION, st as FramesSeekResult, t as ACTIONS, tn as NOTIFICATION_SUPPRESSIONS, tr as UsageHistory, tt as Feature, u as BuildAndroidOptions, un as PROTOCOL_SCHEMA_FILE, ur as VideoCodec, ut as HelloParams, v as BuildMachineCapacity, vn as PushRegisterParams, vt as InputKeyParams, w as BuildPlatform, wn as RecordingSetParams, wt as InputTouchParams, x as BuildOfferResult, xn as REPLAY_MARKER_KINDS, xt as InputScrollParams, y as BuildMachineReport, yn as QuietHours, yt as InputPostureParams, z as ControlPlatform, zn as ServerMessage, zt as LogsQueryResult } from "./protocol-pH632kA3.mjs";
2
2
  export { ACTIONS, ActionName, ActionParams, ActionResult, ArchiveDetailParams, ArchiveDetailResult, BUILD_METHODS, BUILD_REPO_PATTERN, BUILD_RUBY_VERSION_PATTERN, BuildAndroidOptions, BuildArtifactResult, BuildAttachResult, BuildCapacity, BuildClientSummary, BuildFile, BuildJobOutcome, BuildJobParams, BuildMachineCapacity, BuildMachineReport, BuildOfferParams, BuildOfferResult, BuildPlanParams, BuildPlanResult, BuildPlatform, BuildProgressEvent, BuildRequestAuth, BuildStartParams, BuildSyncParams, BuildSyncResult, BuildToolchain, CAPABILITIES, CONTROL_END_REASONS, Capability, ClientRequest, ControlBeginParams, ControlBeginResult, ControlEndParams, ControlEndedEvent, ControlPlatform, DEVICE_HOST_METHODS, DEVICE_POSTURES, DeviceAuth, DeviceFrameArtwork, DeviceFrameEvent, DeviceHostRequestAuth, 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, 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, PairingAuth, Platform, ProtocolError, PushEvent, PushRegisterParams, QuietHours, RELOAD_PLATFORMS, REPLAY_MARKER_KINDS, REPLAY_RATES, ROTATE_DIRECTIONS, RecordingSetParams, RecordingSetResult, ReloadPlatform, 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, WorkspaceFile, WorkspaceFiles, WorkspaceParams, WorkspacePatch };