@stim-cli/core 1.23.1 → 1.25.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.
@@ -1,8 +1,8 @@
1
- import { C as quotedPath, S as tryAcquireClaim, _ as releaseClaim, r as ClaimRefusedError, x as sleepSync } from "./ownership-claim-DHUs_Dir.mjs";
1
+ import { C as quotedPath, S as tryAcquireClaim, _ as releaseClaim, r as ClaimRefusedError, x as sleepSync } from "./ownership-claim-DG2GMIoo.mjs";
2
2
  import { projectNodeBin } from "./toolchain.mjs";
3
3
  import fs, { existsSync, lstatSync, mkdirSync, readFileSync, readdirSync, realpathSync, renameSync, rmSync, rmdirSync, statSync, unlinkSync, utimesSync, writeFileSync } from "node:fs";
4
4
  import os from "node:os";
5
- import path, { basename, dirname, isAbsolute, join, relative, sep } from "node:path";
5
+ import path, { basename, dirname, isAbsolute, join, normalize, relative, sep } from "node:path";
6
6
  import { createHash, randomBytes, randomUUID, timingSafeEqual } from "node:crypto";
7
7
  import { setTimeout as setTimeout$1 } from "node:timers/promises";
8
8
  import { AsyncLocalStorage } from "node:async_hooks";
@@ -567,42 +567,60 @@ async function compiledHelper({ dir, name, inputs, version, compile, prune = tru
567
567
  }
568
568
  //#endregion
569
569
  //#region dependency-install.ts
570
+ const LOCKFILES = [
571
+ "pnpm-lock.yaml",
572
+ "yarn.lock",
573
+ "package-lock.json"
574
+ ];
570
575
  /**
571
- * The existing worker install command and marker identity for a repository's selected lockfile. The marker identity
572
- * also names the major of the Node `projectNodeBin` picks for the pin of the project at `project`, or `path` when it
573
- * picks none, so that native addons are rebuilt when the pinned Node changes major.
576
+ * The lockfile that governs the project at `project` inside `root`: the first one found from that directory up to
577
+ * `root`, as package managers resolve their own. `dir` is relative to `root`, `.` for `root` itself.
574
578
  */
575
- function dependencyInstall(root, packageName, project = ".", env = process.env) {
576
- const file = [
577
- "pnpm-lock.yaml",
578
- "yarn.lock",
579
- "package-lock.json"
580
- ].find((name) => existsSync(join(root, name)));
581
- if (!file) return null;
579
+ function dependencyLockfile(root, project = ".") {
580
+ let dir = normalize(project);
581
+ while (true) {
582
+ const file = LOCKFILES.find((name) => existsSync(join(root, dir, name)));
583
+ if (file) return {
584
+ dir,
585
+ file
586
+ };
587
+ if (dir === ".") return null;
588
+ dir = dirname(dir);
589
+ }
590
+ }
591
+ /**
592
+ * The existing worker install command and marker identity for the lockfile that governs the project at `project`.
593
+ * `dir` is where the install runs, relative to `root`, and `marker` names the area file that records the install
594
+ * there, so each install directory of a repository keeps its own. The marker identity also names the major of the
595
+ * Node `projectNodeBin` picks for the project's pin, or `path` when it picks none, so that native addons are rebuilt
596
+ * when the pinned Node changes major.
597
+ */
598
+ function dependencyInstall(root, project = ".", env = process.env) {
599
+ const selected = dependencyLockfile(root, project);
600
+ if (!selected) return null;
601
+ const { dir, file } = selected;
582
602
  const command = file === "pnpm-lock.yaml" ? "pnpm" : file === "yarn.lock" ? "yarn" : "npm";
583
- const args = command === "pnpm" ? [
584
- "install",
585
- "--frozen-lockfile",
586
- ...packageName ? ["--filter", `${packageName}...`] : []
587
- ] : command === "yarn" ? ["install", "--frozen-lockfile"] : ["ci"];
588
- const bytes = readFileSync(join(root, file));
603
+ const args = command === "npm" ? ["ci"] : ["install", "--frozen-lockfile"];
604
+ const bytes = readFileSync(join(root, dir, file));
589
605
  const node = projectNodeBin(join(root, project), env, void 0, root)?.version.split(".")[0] ?? "path";
590
606
  return {
591
607
  command,
592
608
  args,
609
+ dir,
610
+ marker: dir === "." ? "dependencies" : `dependencies-${createHash("sha256").update(dir.split(sep).join("/")).digest("hex").slice(0, 16)}`,
593
611
  lockfile: createHash("sha256").update(bytes).digest("hex"),
594
612
  digest: createHash("sha256").update(bytes).update(JSON.stringify(args)).update(`node ${node}`).digest("hex")
595
613
  };
596
614
  }
597
615
  /** Whether the worker can reuse this project's dependency install without running the package manager. */
598
- function reusableDependencies(area, project, packageName, lockfile, env = process.env) {
616
+ function reusableDependencies(area, project, lockfile, env = process.env) {
599
617
  try {
600
618
  const root = realpathSync(join(area, "src"));
601
619
  const selected = realpathSync(join(root, project));
602
620
  const path = relative(root, selected);
603
621
  if (path === ".." || path.startsWith(`..${sep}`) || isAbsolute(path)) return false;
604
- const install = dependencyInstall(root, packageName, path, env);
605
- return install?.lockfile === lockfile && existsSync(join(selected, "node_modules")) && readFileSync(join(area, "dependencies"), "utf8") === install.digest;
622
+ const install = dependencyInstall(root, path, env);
623
+ return install?.lockfile === lockfile && existsSync(join(root, install.dir, "node_modules")) && readFileSync(join(area, install.marker), "utf8") === install.digest;
606
624
  } catch {
607
625
  return false;
608
626
  }
@@ -702,6 +720,12 @@ function createMetroBridge({ gatewayPort, peer, secret }) {
702
720
  //#region react-native-artifact.ts
703
721
  const text$1 = (value) => typeof value === "string" && value.length > 0 && value.length <= 256 && !/[\0\r\n]/.test(value);
704
722
  const path$2 = (value) => text$1(value) && !/[\\:]/.test(value) && value.split("/").every((part) => part !== "" && part !== ".." && part !== ".git");
723
+ /** `compat` when `value` has a valid one, else its `stimBuild`; null without either. */
724
+ function stimIdentity(value) {
725
+ const { compat } = value;
726
+ if (compat !== void 0) return typeof compat === "number" && Number.isSafeInteger(compat) && compat > 0 ? { compat } : null;
727
+ return text$1(value.stimBuild) ? { stimBuild: value.stimBuild } : null;
728
+ }
705
729
  /** Validates and canonicalizes the choices used by completed React Native peer artifacts. */
706
730
  function reactNativeArtifactQuery(value) {
707
731
  if (!isJsonObject(value) || typeof value.project !== "string" || value.project !== "" && !path$2(value.project) || !text$1(value.fingerprint) || typeof value.isExpo !== "boolean" || Object.keys(value).some((key) => ![
@@ -714,7 +738,8 @@ function reactNativeArtifactQuery(value) {
714
738
  "android"
715
739
  ].includes(key))) return null;
716
740
  const tools = value.toolchain;
717
- if (!isJsonObject(tools) || !text$1(tools.stimBuild)) return null;
741
+ const stim = isJsonObject(tools) ? stimIdentity(tools) : null;
742
+ if (!isJsonObject(tools) || !stim) return null;
718
743
  const common = {
719
744
  project: value.project,
720
745
  fingerprint: value.fingerprint,
@@ -737,7 +762,7 @@ function reactNativeArtifactQuery(value) {
737
762
  ...common,
738
763
  platform: "ios",
739
764
  toolchain: {
740
- stimBuild: tools.stimBuild,
765
+ ...stim,
741
766
  arch: tools.arch,
742
767
  xcode: tools.xcode,
743
768
  simulatorSdk: tools.simulatorSdk,
@@ -772,7 +797,7 @@ function reactNativeArtifactQuery(value) {
772
797
  ...common,
773
798
  platform: "android",
774
799
  toolchain: {
775
- stimBuild: tools.stimBuild,
800
+ ...stim,
776
801
  jdk: tools.jdk
777
802
  },
778
803
  android: {
@@ -808,9 +833,12 @@ function swiftpmArtifactQuery(value) {
808
833
  "project",
809
834
  "sourceDigest",
810
835
  "stimBuild",
836
+ "compat",
811
837
  "inputs",
812
838
  "build"
813
- ].includes(key)) || typeof value.project !== "string" || value.project !== "" && !path$1(value.project) || typeof value.sourceDigest !== "string" || !/^[a-f0-9]{64}$/.test(value.sourceDigest) || !text(value.stimBuild) || value.stimBuild.length > 256) return null;
839
+ ].includes(key)) || typeof value.project !== "string" || value.project !== "" && !path$1(value.project) || typeof value.sourceDigest !== "string" || !/^[a-f0-9]{64}$/.test(value.sourceDigest)) return null;
840
+ const stim = stimIdentity(value);
841
+ if (!stim) return null;
814
842
  const { inputs, build } = value;
815
843
  if (!isJsonObject(inputs) || inputs.complete !== true || Object.keys(inputs).some((key) => ![
816
844
  "complete",
@@ -832,7 +860,7 @@ function swiftpmArtifactQuery(value) {
832
860
  return {
833
861
  project: value.project,
834
862
  sourceDigest: value.sourceDigest,
835
- stimBuild: value.stimBuild,
863
+ ...stim,
836
864
  inputs: {
837
865
  complete: true,
838
866
  ignored: normalized(inputs.ignored),
@@ -1068,4 +1096,4 @@ function matchesCache(cache, match) {
1068
1096
  return match.layout === void 0 || cache.layout === match.layout;
1069
1097
  }
1070
1098
  //#endregion
1071
- export { withDirLockTransaction as $, createMetroGateway as A, unitWords as B, workspaceName as C, reactNativeArtifactIdentity as D, swiftpmArtifactQuery as E, artifactIn as F, withAmbientContext as G, ambientContext as H, resolveArtifact as I, readJsonObject as J, isJsonObject as K, storeArtifact as L, reusableDependencies as M, compiledHelper as N, reactNativeArtifactQuery as O, storeArtifactAsync as P, withDirLockAsync as Q, quoteUnitWord as R, workspaceLogDir as S, workspaceStateDir as T, ambientEnv as U, validMacosResourceDestination as V, ambientWrite as W, withStateReadCache as X, readStateFile as Y, withDirLock as Z, 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, dependencyInstall as j, createMetroBridge as k, cachePathSetting as l, readCacheManifest as m, METRO_NAMED_CACHE_LAYOUT as n, cacheDirRefusal as o, metroCacheRoot as p, readJsonFile as q, 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, unitLines as z };
1099
+ export { withDirLockAsync as $, createMetroGateway as A, unitLines as B, workspaceName as C, reactNativeArtifactIdentity as D, swiftpmArtifactQuery as E, storeArtifactAsync as F, ambientWrite as G, validMacosResourceDestination as H, artifactIn as I, readJsonFile as J, withAmbientContext as K, resolveArtifact as L, dependencyLockfile as M, reusableDependencies as N, reactNativeArtifactQuery as O, compiledHelper as P, withDirLock as Q, storeArtifact as R, workspaceLogDir as S, workspaceStateDir as T, ambientContext as U, unitWords as V, ambientEnv as W, readStateFile as X, readJsonObject as Y, withStateReadCache as Z, rotatedLogPath as _, buildCacheRoot as a, updateCacheManifest as b, cacheNameSegment as c, ensurePrivateDir as d, withDirLockTransaction as et, hostSimulatorArch as f, rotateLog as g, registerCache as h, buildCacheKey as i, dependencyInstall as j, createMetroBridge as k, cachePathSetting as l, readCacheManifest as m, METRO_NAMED_CACHE_LAYOUT as n, cacheDirRefusal as o, metroCacheRoot as p, isJsonObject as q, 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, quoteUnitWord as z };
@@ -1,5 +1,6 @@
1
1
  import { o as ClaimHandle } from "./ownership-claim-RY3fbm1D.mjs";
2
2
  import { l as NoiseKeyPair } from "./noise-DYIbymAJ.mjs";
3
+ import { BigIntStats } from "node:fs";
3
4
  //#region state/ndjson.d.ts
4
5
  interface NdjsonRecord {
5
6
  ts?: number;
@@ -330,6 +331,7 @@ interface StimConfig {
330
331
  };
331
332
  remote?: {
332
333
  machines?: unknown;
334
+ easMaxDurationMinutes?: unknown;
333
335
  build?: unknown;
334
336
  buildMode?: unknown;
335
337
  buildPoolDisabled?: unknown;
@@ -559,16 +561,19 @@ declare function advanceTail(prev: TailState | null | undefined, chunk: string |
559
561
  state: TailState;
560
562
  records: NdjsonRecord[];
561
563
  };
562
- declare function followLogs({ dir, onRecord, criteria, intervalMs, offsets, errorContext }: {
564
+ declare function followLogs({ dir, onRecord, criteria, intervalMs, offsets, identities: seededIdentities, errorContext }: {
563
565
  dir: string;
564
566
  onRecord: (record: NdjsonRecord) => void;
565
567
  criteria?: QueryCriteria;
566
568
  /** An explicit polling interval. Omit for filesystem hints with a ten-second repair scan. */
567
569
  intervalMs?: number;
568
570
  offsets?: Record<string, number> | null;
571
+ /** `fileIdentity` of each file `offsets` was read from, so a replacement made since is recognized. */
572
+ identities?: Record<string, string> | null;
569
573
  /** Holds each Expo error until its code frame and stack stop growing, then attaches them. */
570
574
  errorContext?: ExpoContextTarget;
571
575
  }): () => void;
576
+ declare function fileIdentity(stat: BigIntStats): string | undefined;
572
577
  declare function sortByTs(records: NdjsonRecord[]): NdjsonRecord[];
573
578
  //#endregion
574
579
  //#region state/log-reader.d.ts
@@ -585,6 +590,8 @@ interface LogDirQuery extends LogQueryOptions {
585
590
  interface LogDir {
586
591
  /** Bytes read from each current `.ndjson` file, through its last complete line. */
587
592
  readonly sizes: Record<string, number>;
593
+ /** `fileIdentity` of each current `.ndjson` file that `sizes` was read from. */
594
+ readonly identities: Record<string, string>;
588
595
  /** The oldest timestamp in the directory. */
589
596
  readonly firstTs: number | undefined;
590
597
  /** Launch attempt records outside native crash files, in timeline order. */
@@ -658,12 +665,17 @@ declare function maintenanceAttemptFile(): string;
658
665
  declare function maintenanceNdjsonFile(): string;
659
666
  declare function maintenanceChildLogFile(): string;
660
667
  declare function maintenanceRunClaims(): string;
668
+ /** Dependency trees `worktree remove` moved out of a worktree before git removed it; gc deletes what is left. */
669
+ declare function trashRoot(): string;
661
670
  declare function archiveRoot(): string;
662
671
  declare function archiveDir(id: string): string;
663
672
  declare function archiveLock(): string;
664
673
  /** This machine's own long-term X25519 key as a client of other machines' stim-servers. */
665
674
  declare function clientIdentityKeyFile(): string;
666
- /** The Unix socket stim-server serves this machine's own user on, without Noise or pairing. */
675
+ /**
676
+ * The local Unix socket. sun_path permits 103 UTF-8 bytes on macOS and 107 on Linux. Longer paths use
677
+ * /tmp/stim-sockets-<uid>/<SHA-256 of the normalized absolute socket path>.sock.
678
+ */
667
679
  declare function serverLocalSocket(): string;
668
680
  declare function serverSetupDir(): string;
669
681
  declare function setupJournalFile(hash: string): string | null;
@@ -2326,7 +2338,8 @@ declare function readAgentSessionsCache(): AgentSessionsCache | null;
2326
2338
  //#region state/stim-build.d.ts
2327
2339
  /**
2328
2340
  * A digest of Stim's built code: the first 16 hex characters of the sha256 over the sorted `*.mjs` names and
2329
- * bytes of a `stim` `dist` directory. A client and a remote machine offload only when both compute the same one.
2341
+ * bytes of a `stim` `dist` directory. A remote machine that reports no build compatibility version offloads only
2342
+ * with the same one.
2330
2343
  */
2331
2344
  declare function stimBuildDigest(dir: string): string | null;
2332
2345
  //#endregion
@@ -2723,4 +2736,4 @@ declare class KeyedEntities<T> {
2723
2736
  /** Applies `delta` to `entities` keyed by `key`, keeping the order of `entities` and appending new keys. */
2724
2737
  declare function applyKeyedDelta<T>(entities: readonly T[], delta: KeyedDelta<T>, key: (entity: T) => string): T[];
2725
2738
  //#endregion
2726
- export { ReadStatsResult as $, readHostedAppMetadata as $a, isPathPrefix as $c, HostedDevicePlatform as $i, parseNdjsonText as $l, StatusIssueCode as $n, recordingEnabled as $o, unreadableHostedIos as $r, openLogDir as $s, AndroidDeviceState as $t, readLogsSince as A, HostedAppLaunch as Aa, readEasSessionLedger as Ac, buildDiagnostics as Ai, tryAcquireBuildSlotClaim as Al, GitChipPart as An, isLayeredSetting as Ao, readArchives as Ar, serverSetupDir as As, StatusCacheEntry as At, HOSTED_METRO_REQUESTS_KEY as B, parseHostedMacosDevice as Ba, createDebugLog as Bc, readWarmRecord as Bi, agentDeviceUsageFile as Bl, NATIVE_BUILD_STEPS as Bn, RecordedDevice as Bo, MaintenanceSize as Br, workspaceBuildDetailFile as Bs, readDiskUsageFailure as Bt, HOSTED_LOGS_PAGE_BYTES as C, HOSTED_AGENT_DRIVERS as Ca, tailRead as Cc, MAINTENANCE_LOG_NAME as Ci, parseMachineCredential as Cl, DeviceLeaseState as Cn, TUNNEL_MODES as Co, ArchivedWorkspace as Cr, maintenanceChildLogFile as Cs, DeviceViewersRecord as Ct, hostedNativeLogsDir as D, HostedAgentGrant as Da, EasSessionClaim as Dc, WORKSPACE_AGENT_KEY as Di, buildSlotsDir as Dl, EnvironmentDisk as Dn, acceptsShape as Do, readArchive as Dr, maintenanceStateFile as Ds, AgentSessionsCache as Dt, hostedMacosLogsDir as E, HostedAgentDriverName as Ea, CreatedDevices as Ec, WARM_KEY as Ei, buildSlotPath as El, EndedAgentSession as En, WebViewport as Eo, linkReplacedArchives as Er, maintenanceRunClaims as Es, stimBuildDigest as Et, endpoint as F, hostedMacosAppSlot as Fa, readStateFile as Fc, readDevServerStopRequest as Fi, SwiftpmCacheUsage as Fl, MachineOwnerKind as Fn, runId as Fo, MaintenanceCheck as Fr, sharedPods as Fs, listStatusCacheEntries as Ft, DeviceHostMachineCredential as G, HostedAppOffer as Ga, buildWorkerRoot as Gc, DeviceHostLimits as Gi, AgentTarget as Gl, PlannedPhase as Gn, footageDrops as Go, readMaintenanceAttempt as Gr, workspaceLogErrorIndex as Gs, ACTIVITY_RECENCY_BASES as Gt, HostedMetroRequest as H, HOSTED_APP_CHUNK_BYTES as Ha, debugLoggingEnabled as Hc, readWorkspaceState as Hi, readAgentDeviceUsageCache as Hl, PHYSICAL_DEVICE_CONNECTIONS as Hn, RecordingPlatform as Ho, MaintenanceStatus as Hr, workspaceEndedAgentsFile as Hs, readPullRequestCache as Ht, findPeer as I, hostedMacosBundleId as Ia, withStateReadCache as Ic, readDeviceIdleShutdowns as Ii, readSwiftpmCacheUsage as Il, MachineUsageState as In, validRunId as Io, MaintenanceMode as Ir, statsFile as Is, pullRequestCacheFile as It, CAPACITY_REFUSAL_LIMIT as J, hostedAppAttempt as Ja, getConcurrencyLimits as Jc, HostedAndroidDevice as Ji, LEVELS as Jl, STATUS_ISSUE_CODES as Jn, listSegments as Jo, HostedIosStatus as Jr, workspaceRecordingsDir as Js, ActiveBuildState as Jt, readDeviceHostMachines as K, HostedAppRecord as Ka, configCorruptRepair as Kc, HOSTED_PARKED_CANDIDATES as Ki, createAgentActionReader as Kl, RemoteDeviceState as Kn, listRecordedDevices as Ko, readMaintenanceState as Kr, workspaceLogsDir as Ks, AGENT_TOOLS as Kt, machineEndpoint as L, parseHostedAgentAccess as La, readHomeIdentity as Lc, readDevicePlacement as Li, swiftpmCacheUsageFile as Ll, MacosBuildPlanPayload as Ln, RECORDING_CAP_BYTES as Lo, MaintenancePass as Lr, supervisorLogFile as Ls, readAgentSessionsCache as Lt, TAILNET_MACHINE_PATTERN as M, HostedMacosDevice as Ma, isJsonObject as Mc, parseMissReason as Mi, SimRuntimeUsage as Ml, MACHINE_OWNER_KINDS as Mn, settingDefinition as Mo, DiskPressureLevel as Mr, sharedCcache as Ms, diskUsageCacheFile as Mt, TailnetPeer as N, HostedMacosPlacement as Na, readJsonFile as Nc, readBuildHistory as Ni, machineCacheUsageFile as Nl, MEMORY_SOURCES as Nn, settingValueError as No, MaintenanceAction as Nr, sharedCompilationCache as Ns, diskUsageFailureFile as Nt, parseHostedLogsCursor as O, HostedAgentIssuedGrant as Oa, EasSessionLedgerRead as Oc, WarmRecord as Oi, machineCapacity as Ol, EnvironmentState as On, coerceSettingText as Oo, readArchiveAsync as Or, pullRequestCacheDir as Os, ENDED_AGENT_RETENTION_MS as Ot, cannotHost as P, hostedAgentDriverName as Pa, readJsonObject as Pc, readDevServerStop as Pi, readMachineCacheUsage as Pl, MachineOwner as Pn, RUN_ID_ENV as Po, MaintenanceActionKind as Pr, sharedGradle as Ps, endedAgentSessionOf as Pt, PLACEMENT_DECISIONS as Q, readHostedApp as Qa, getRepoSettings as Qc, HostedDevicePhase as Qi, parseNdjsonLine as Ql, StatusIssue as Qn, recordingDeviceName as Qo, parseHostedIosPlacement as Qr, LogDirQuery as Qs, AgentTool as Qt, parseMachine as R, parseHostedAgentGrant as Ra, DEBUG_ENV as Rc, readIdleStop as Ri, AgentDeviceUsage as Rl, MemorySource as Rn, RECORDING_FOOTAGE_MS as Ro, MaintenancePressure as Rr, supervisorPidFile as Rs, readBuildDetail as Rt, HOSTED_LOGS_FIRST_BYTES as S, readHostedSessions as Sa, sortByTs as Sc, LAST_BUILD_KEYS as Si, MachineCredential as Sl, DeviceAppProcess as Sn, SettingsPayload as So, ArchivedUsage as Sr, maintenanceAttemptFile as Ss, wholePhases as St, HostedLogsPage as T, HostedAgentAccess as Ta, CreatedDevicePlatform as Tc, READY_PHASE_MS as Ti, MachineCapacity as Tl, DiskMeasure as Tn, WEB_VIEWPORTS as To, archivedUsage as Tr, maintenanceNdjsonFile as Ts, readViewedDevices as Tt, hostedMetroGateways as U, HostedAppDelivery as Ua, ParkedMax as Uc, workspaceLastUsed as Ui, AgentActionReaderOptions as Ul, PhysicalDeviceConnection as Un, capDrops as Uo, MemoryCulprit as Ur, workspaceEndedAgentsLock as Us, withDerivedFacts as Ut, HostedMetroGateway as V, parseHostedMacosPlacement as Va, debugLogDir as Vc, readWorkspaceAgent as Vi, readAgentDeviceUsage as Vl, NativeBuildStep as Vn, RecordedSegment as Vo, MaintenanceState as Vr, workspaceDerivedData as Vs, readEndedAgentSessions as Vt, hostedMetroRequests as W, HostedAppFile as Wa, allMetroPorts as Wc, DEVICE_HOST_LIMITS as Wi, AgentRecordSelection as Wl, PhysicalDeviceState as Wn, closedSegmentName as Wo, parseMaintenanceState as Wr, workspaceGradleBuild as Ws, withGitChip as Wt, HISTORY_LIMIT as X, parseHostedAppManifest as Xa, getProject as Xc, HostedDeviceOffer as Xi, SOURCES as Xl, StatsPlatform as Xn, openSegmentName as Xo, hostedIosRecords as Xr, workspaceStateLock as Xs, ActivityRecencyBasis as Xt, CAPACITY_REFUSAL_MAX_AGE_MS as Y, hostedAppBlobs as Ya, getParkedMax as Yc, HostedDevice as Yi, NdjsonRecord as Yl, SimulatorState as Yn, listSegmentsAsync as Yo, hostedIosPlacements as Yr, workspaceStateFile as Ys, ActivityDriver as Yt, OffloadSummary as Z, parseHostedAppOffer as Za, getProjectSettings as Zc, HostedDeviceOfferRequest as Zi, levelRank as Zl, StatusCapacity as Zn, recordedBytes as Zo, hostedIosStatus as Zr, LogDir as Zs, AgentSession as Zt, isSetupJournalPrunable as _, parseHostedOfferRequest as _a, queryJsonLogs as _c, DevServerStopRecord as _i, StimConfig as _l, BuildReport as _n, SettingDefinition as _o, macosAppState as _r, easSessionLedgerFile as _s, readStatsReport as _t, MachineView as a, HostedNativeOffer as aa, advanceTail as ac, hostedAndroidStatus as ai, AutomaticPoolRole as al, BuildCacheHit as an, settingsJsonSchema as ao, WarmStep as ar, buildMachinesLock as as, StatsCapacityRefusal as at, agentDeviceStateDirs as b, readHostedDevice as ba, readLogTimeline as bc, IDLE_STOP_KEY as bi, BuildMachineCredential as bl, ChecksState as bn, SettingType as bo, readMacosRecord as br, getConfigPath as bs, trimCapacityWaits as bt, SummaryBuild as c, deviceHostRoot as ca, bundleMarkerPlatform as cc, HostedNativePlacement as ci, validateAutomaticPool as cl, BuildDiagnostic as cn, ANDROID_PCH_CHOICES as co, WorkspacePhase as cr, createdDevicesFile as cs, StatsRecord as ct, WorktreeRow as d, hostedWorkerSettleMs as da, followLogs as dc, unreadableHostedNative as di, DeviceRecord as dl, BuildMissChange as dn, OffloadMode as do, WorktreeGit as dr, deviceHostMachinesFile as ds, decodeStats as dt, HostedDeviceRequest as ea, ERROR_SOURCES as ec, HostedAndroidPlacement as ei, loadConfig as el, AndroidRuntimeFacts as en, rememberHostedAppBlobRename as eo, StatusPayload as er, agentSessionsCacheFile as es, RunEstimates as et, readNdjsonGenerations as eu, statusViews as f, parseHostedAndroidDevice as fa, isExpoErrorContext as fc, BUILD_HISTORY_KEY as fi, DoctorRunRecord as fl, BuildMissReason as fn, REMOTE_DEVICE_BACKENDS as fo, WorktreePullRequest as fr, deviceHostMachinesLock as fs, findProjectRoot as ft, isJournalExpired as g, parseHostedNativeOffer as ga, planLogQuery as gc, DEV_SERVER_STOP_REQUEST_KEY as gi, SettingsObject as gl, BuildPlatform as gn, SETTING_SCOPES as go, MacosProcess as gr, easMachineStateRoot as gs, readStats as gt, SetupJournal as h, parseHostedLocalDeviceCount as ha, parseSince as hc, DEVICE_RECLAIM_REASON as hi, RepoRecord as hl, BuildPlanPayload as hn, SETTING_GROUPS as ho, MacosBuild as hr, diskUsageWalkClaims as hs, readRunEstimates as ht, ArchivedSummary as i, HostedIosDevice as ia, QueryCriteria as ic, hostedAndroidRecords as ii, withConfigLockAsync as il, BuildActivity as in, SETTINGS_SCHEMA_URL as io, WORKSPACE_STAGE_KINDS as ir, buildMachinesFile as is, StatsBucket as it, Endpoint as j, HostedMacosChoice as ja, validEasSessionClaim as jc, lastUseFrom as ji, MachineCacheUsage as jl, LastBuildReport as jn, isSensitiveReference as jo, readArchivesAsync as jr, setupJournalFile as js, agentSessionOf as jt, readHostedNativeLogsCheckpoint as k, HostedAgentLease as ka, readCreatedDevices as kc, WorkspaceState as ki, saturation as kl, GitChip as kn, expectedShape as ko, readArchiveState as kr, serverLocalSocket as ks, PullRequestCacheEntry as kt, SummaryHistoryEntry as l, hostedConsolePort as la, compileGrep as lc, hostedNativeRecords as li, ConcurrencyLimits as ll, BuildHistoryEntry as ln, IOS_SIMULATOR_APPS as lo, WorkspaceStage as lr, createdDevicesLock as ls, StatsReport as lt, SetupCapability as m, parseHostedDevice as ma, markerWindow as mc, DEVICE_IDLE_SHUTDOWN_KEY as mi, ProjectRecord as ml, BuildPlacement as mn, SETTINGS as mo, MacosAppState as mr, diskUsageCacheDir as ms, projectRootDirectories as mt, KeyedEntities as n, HostedDeviceSession as na, LogQueryPlan as nc, hostedAndroidDeviceName as ni, windowsShortDirKey as nl, BUILD_PHASES as nn, validHostedAppBlob as no, WEB_PAGE_STATES as nr, archiveLock as ns, RunSample as nt, SUMMARY_ARCHIVES as o, assertHostedDeviceLedger as oa, attachExpoErrorContext as oc, parseHostedAndroidPlacement as oi, automaticMachineEnabled as ol, BuildCause as on, ANDROID_COMPILER_CACHE_CHOICES as oo, WebBrowserState as or, clientIdentityKeyFile as os, StatsCapacityWait as ot, workspaceSummary as p, parseHostedChoice as pa, logFiles as pc, BUILD_HISTORY_LIMIT as pi, PlatformRecords as pl, BuildPhase as pn, RemoteDeviceBackend as po, MacosAppRecord as pr, deviceViewersDir as ps, offloadSummary as pt, BuildMachineTotals as q, hostedAppArea as qa, findEnclosingWorktreeRoot as qc, HostedAndroidChoice as qi, createAsyncAgentActionReader as ql, RunOutcomeKind as qn, listRecordedDevicesAsync as qo, HostedIosPlacement as qr, workspaceMetadataFile as qs, APP_PROCESS_STATES as qt, applyKeyedDelta as r, HostedIosChoice as ra, NATIVE_CRASH_LOG_PREFIX as rc, hostedAndroidPlacements as ri, withConfigLock as rl, BUILD_RESULTS as rn, SETTINGS_SCHEMA_FILE as ro, WORKSPACE_PHASES as rr, archiveRoot as rs, STATS_VERSION as rt, StatusViews as s, deviceHostArea as sa, buildCriteria as sc, unreadableHostedAndroid as si, requireAutomaticMachine as sl, BuildDetail as sn, ANDROID_EMULATOR_APPS as so, WebPageState as sr, configLockPath as ss, StatsPlacement as st, KeyedDelta as t, HostedDeviceSelectors as ta, LogQueryOptions as tc, HostedAndroidStatus as ti, windowsShortDir as tl, AppPresence as tn, validHostedAppArguments as to, TUTORIAL_VERSION as tr, archiveDir as ts, RunHistory as tt, WorkspaceSummary as u, hostedDeviceId as ua, fileSizes as uc, parseHostedNativePlacement as ui, Config as ul, BuildMissCategory as un, OFFLOAD_MODES as uo, WorktreeFacts as ur, deviceHostMachinesClaims as us, StatsScope as ut, parseSetupJournal as v, parseHostedPlatformDevice as va, queryLogs as vc, DevServerStopRequest as vi, SupervisorRecord as vl, BuildResult as vn, SettingEntry as vo, parseMacosRecord as vr, easSessionLedgerLock as vs, statsProjectKey as vt, HostedLogsCursor as w, HOSTED_MACOS_APP_SLOTS as wa, countErrorEntries as wc, MetroLastStop as wi, readBuildMachines as wl, DevicePlacement as wn, TunnelMode as wo, archiveEnabled as wr, maintenanceDir as ws, ViewedDevice as wt, agentDeviceStateDirsAsync as x, readHostedDeviceLedger as xa, recordMatches as xc, IdleStopRecord as xi, MACHINE_CREDENTIALS_VERSION as xl, DeviceActivity as xn, SettingWriteResult as xo, ArchivedBytes as xr, gitMergeCacheDir as xs, trimSamples as xt, readSetupJournal as y, parseHostedRequest as ya, readLogRecords as yc, DeviceIdleShutdownRecord as yi, clientIdentity as yl, BuildWaitingFor as yn, SettingScope as yo, readHostedMacosApp as yr, emulatorLogFile as ys, trimCapacityRefusals as yt, HOSTED_METRO_GATEWAYS_KEY as z, parseHostedMacosChoice as za, DebugLog as zc, readLastBuilds as zi, AgentDeviceUsageRoots as zl, MetroBundleState as zn, RECORDING_PLATFORMS as zo, MaintenanceRecord as zr, workspaceAgentDeviceDir as zs, readDiskUsage as zt };
2739
+ export { ReadStatsResult as $, readHostedAppMetadata as $a, getProjectSettings as $c, HostedDevicePlatform as $i, levelRank as $l, StatusIssueCode as $n, recordingEnabled as $o, unreadableHostedIos as $r, LogDirQuery as $s, AndroidDeviceState as $t, readLogsSince as A, HostedAppLaunch as Aa, EasSessionLedgerRead as Ac, buildDiagnostics as Ai, machineCapacity as Al, GitChipPart as An, isLayeredSetting as Ao, readArchives as Ar, serverSetupDir as As, StatusCacheEntry as At, HOSTED_METRO_REQUESTS_KEY as B, parseHostedMacosDevice as Ba, DEBUG_ENV as Bc, readWarmRecord as Bi, AgentDeviceUsage as Bl, NATIVE_BUILD_STEPS as Bn, RecordedDevice as Bo, MaintenanceSize as Br, workspaceAgentDeviceDir as Bs, readDiskUsageFailure as Bt, HOSTED_LOGS_PAGE_BYTES as C, HOSTED_AGENT_DRIVERS as Ca, recordMatches as Cc, MAINTENANCE_LOG_NAME as Ci, MACHINE_CREDENTIALS_VERSION as Cl, DeviceLeaseState as Cn, TUNNEL_MODES as Co, ArchivedWorkspace as Cr, maintenanceChildLogFile as Cs, DeviceViewersRecord as Ct, hostedNativeLogsDir as D, HostedAgentGrant as Da, CreatedDevicePlatform as Dc, WORKSPACE_AGENT_KEY as Di, MachineCapacity as Dl, EnvironmentDisk as Dn, acceptsShape as Do, readArchive as Dr, maintenanceStateFile as Ds, AgentSessionsCache as Dt, hostedMacosLogsDir as E, HostedAgentDriverName as Ea, countErrorEntries as Ec, WARM_KEY as Ei, readBuildMachines as El, EndedAgentSession as En, WebViewport as Eo, linkReplacedArchives as Er, maintenanceRunClaims as Es, stimBuildDigest as Et, endpoint as F, hostedMacosAppSlot as Fa, readJsonFile as Fc, readDevServerStopRequest as Fi, machineCacheUsageFile as Fl, MachineOwnerKind as Fn, runId as Fo, MaintenanceCheck as Fr, sharedPods as Fs, listStatusCacheEntries as Ft, DeviceHostMachineCredential as G, HostedAppOffer as Ga, ParkedMax as Gc, DeviceHostLimits as Gi, AgentActionReaderOptions as Gl, PlannedPhase as Gn, footageDrops as Go, readMaintenanceAttempt as Gr, workspaceGradleBuild as Gs, ACTIVITY_RECENCY_BASES as Gt, HostedMetroRequest as H, HOSTED_APP_CHUNK_BYTES as Ha, createDebugLog as Hc, readWorkspaceState as Hi, agentDeviceUsageFile as Hl, PHYSICAL_DEVICE_CONNECTIONS as Hn, RecordingPlatform as Ho, MaintenanceStatus as Hr, workspaceDerivedData as Hs, readPullRequestCache as Ht, findPeer as I, hostedMacosBundleId as Ia, readJsonObject as Ic, readDeviceIdleShutdowns as Ii, readMachineCacheUsage as Il, MachineUsageState as In, validRunId as Io, MaintenanceMode as Ir, statsFile as Is, pullRequestCacheFile as It, CAPACITY_REFUSAL_LIMIT as J, hostedAppAttempt as Ja, configCorruptRepair as Jc, HostedAndroidDevice as Ji, createAgentActionReader as Jl, STATUS_ISSUE_CODES as Jn, listSegments as Jo, HostedIosStatus as Jr, workspaceMetadataFile as Js, ActiveBuildState as Jt, readDeviceHostMachines as K, HostedAppRecord as Ka, allMetroPorts as Kc, HOSTED_PARKED_CANDIDATES as Ki, AgentRecordSelection as Kl, RemoteDeviceState as Kn, listRecordedDevices as Ko, readMaintenanceState as Kr, workspaceLogErrorIndex as Ks, AGENT_TOOLS as Kt, machineEndpoint as L, parseHostedAgentAccess as La, readStateFile as Lc, readDevicePlacement as Li, SwiftpmCacheUsage as Ll, MacosBuildPlanPayload as Ln, RECORDING_CAP_BYTES as Lo, MaintenancePass as Lr, supervisorLogFile as Ls, readAgentSessionsCache as Lt, TAILNET_MACHINE_PATTERN as M, HostedMacosDevice as Ma, readEasSessionLedger as Mc, parseMissReason as Mi, tryAcquireBuildSlotClaim as Ml, MACHINE_OWNER_KINDS as Mn, settingDefinition as Mo, DiskPressureLevel as Mr, sharedCcache as Ms, diskUsageCacheFile as Mt, TailnetPeer as N, HostedMacosPlacement as Na, validEasSessionClaim as Nc, readBuildHistory as Ni, MachineCacheUsage as Nl, MEMORY_SOURCES as Nn, settingValueError as No, MaintenanceAction as Nr, sharedCompilationCache as Ns, diskUsageFailureFile as Nt, parseHostedLogsCursor as O, HostedAgentIssuedGrant as Oa, CreatedDevices as Oc, WarmRecord as Oi, buildSlotPath as Ol, EnvironmentState as On, coerceSettingText as Oo, readArchiveAsync as Or, pullRequestCacheDir as Os, ENDED_AGENT_RETENTION_MS as Ot, cannotHost as P, hostedAgentDriverName as Pa, isJsonObject as Pc, readDevServerStop as Pi, SimRuntimeUsage as Pl, MachineOwner as Pn, RUN_ID_ENV as Po, MaintenanceActionKind as Pr, sharedGradle as Ps, endedAgentSessionOf as Pt, PLACEMENT_DECISIONS as Q, readHostedApp as Qa, getProject as Qc, HostedDevicePhase as Qi, SOURCES as Ql, StatusIssue as Qn, recordingDeviceName as Qo, parseHostedIosPlacement as Qr, LogDir as Qs, AgentTool as Qt, parseMachine as R, parseHostedAgentGrant as Ra, withStateReadCache as Rc, readIdleStop as Ri, readSwiftpmCacheUsage as Rl, MemorySource as Rn, RECORDING_FOOTAGE_MS as Ro, MaintenancePressure as Rr, supervisorPidFile as Rs, readBuildDetail as Rt, HOSTED_LOGS_FIRST_BYTES as S, readHostedSessions as Sa, readLogTimeline as Sc, LAST_BUILD_KEYS as Si, BuildMachineCredential as Sl, DeviceAppProcess as Sn, SettingsPayload as So, ArchivedUsage as Sr, maintenanceAttemptFile as Ss, wholePhases as St, HostedLogsPage as T, HostedAgentAccess as Ta, tailRead as Tc, READY_PHASE_MS as Ti, parseMachineCredential as Tl, DiskMeasure as Tn, WEB_VIEWPORTS as To, archivedUsage as Tr, maintenanceNdjsonFile as Ts, readViewedDevices as Tt, hostedMetroGateways as U, HostedAppDelivery as Ua, debugLogDir as Uc, workspaceLastUsed as Ui, readAgentDeviceUsage as Ul, PhysicalDeviceConnection as Un, capDrops as Uo, MemoryCulprit as Ur, workspaceEndedAgentsFile as Us, withDerivedFacts as Ut, HostedMetroGateway as V, parseHostedMacosPlacement as Va, DebugLog as Vc, readWorkspaceAgent as Vi, AgentDeviceUsageRoots as Vl, NativeBuildStep as Vn, RecordedSegment as Vo, MaintenanceState as Vr, workspaceBuildDetailFile as Vs, readEndedAgentSessions as Vt, hostedMetroRequests as W, HostedAppFile as Wa, debugLoggingEnabled as Wc, DEVICE_HOST_LIMITS as Wi, readAgentDeviceUsageCache as Wl, PhysicalDeviceState as Wn, closedSegmentName as Wo, parseMaintenanceState as Wr, workspaceEndedAgentsLock as Ws, withGitChip as Wt, HISTORY_LIMIT as X, parseHostedAppManifest as Xa, getConcurrencyLimits as Xc, HostedDeviceOffer as Xi, LEVELS as Xl, StatsPlatform as Xn, openSegmentName as Xo, hostedIosRecords as Xr, workspaceStateFile as Xs, ActivityRecencyBasis as Xt, CAPACITY_REFUSAL_MAX_AGE_MS as Y, hostedAppBlobs as Ya, findEnclosingWorktreeRoot as Yc, HostedDevice as Yi, createAsyncAgentActionReader as Yl, SimulatorState as Yn, listSegmentsAsync as Yo, hostedIosPlacements as Yr, workspaceRecordingsDir as Ys, ActivityDriver as Yt, OffloadSummary as Z, parseHostedAppOffer as Za, getParkedMax as Zc, HostedDeviceOfferRequest as Zi, NdjsonRecord as Zl, StatusCapacity as Zn, recordedBytes as Zo, hostedIosStatus as Zr, workspaceStateLock as Zs, AgentSession as Zt, isSetupJournalPrunable as _, parseHostedOfferRequest as _a, parseSince as _c, DevServerStopRecord as _i, RepoRecord as _l, BuildReport as _n, SettingDefinition as _o, macosAppState as _r, easSessionLedgerFile as _s, readStatsReport as _t, MachineView as a, HostedNativeOffer as aa, QueryCriteria as ac, hostedAndroidStatus as ai, withConfigLock as al, BuildCacheHit as an, settingsJsonSchema as ao, WarmStep as ar, buildMachinesLock as as, StatsCapacityRefusal as at, agentDeviceStateDirs as b, readHostedDevice as ba, queryLogs as bc, IDLE_STOP_KEY as bi, SupervisorRecord as bl, ChecksState as bn, SettingType as bo, readMacosRecord as br, getConfigPath as bs, trimCapacityWaits as bt, SummaryBuild as c, deviceHostRoot as ca, buildCriteria as cc, HostedNativePlacement as ci, automaticMachineEnabled as cl, BuildDiagnostic as cn, ANDROID_PCH_CHOICES as co, WorkspacePhase as cr, createdDevicesFile as cs, StatsRecord as ct, WorktreeRow as d, hostedWorkerSettleMs as da, fileIdentity as dc, unreadableHostedNative as di, ConcurrencyLimits as dl, BuildMissChange as dn, OffloadMode as do, WorktreeGit as dr, deviceHostMachinesFile as ds, decodeStats as dt, HostedDeviceRequest as ea, openLogDir as ec, HostedAndroidPlacement as ei, getRepoSettings as el, AndroidRuntimeFacts as en, rememberHostedAppBlobRename as eo, StatusPayload as er, agentSessionsCacheFile as es, RunEstimates as et, parseNdjsonLine as eu, statusViews as f, parseHostedAndroidDevice as fa, fileSizes as fc, BUILD_HISTORY_KEY as fi, Config as fl, BuildMissReason as fn, REMOTE_DEVICE_BACKENDS as fo, WorktreePullRequest as fr, deviceHostMachinesLock as fs, findProjectRoot as ft, isJournalExpired as g, parseHostedNativeOffer as ga, markerWindow as gc, DEV_SERVER_STOP_REQUEST_KEY as gi, ProjectRecord as gl, BuildPlatform as gn, SETTING_SCOPES as go, MacosProcess as gr, easMachineStateRoot as gs, readStats as gt, SetupJournal as h, parseHostedLocalDeviceCount as ha, logFiles as hc, DEVICE_RECLAIM_REASON as hi, PlatformRecords as hl, BuildPlanPayload as hn, SETTING_GROUPS as ho, MacosBuild as hr, diskUsageWalkClaims as hs, readRunEstimates as ht, ArchivedSummary as i, HostedIosDevice as ia, NATIVE_CRASH_LOG_PREFIX as ic, hostedAndroidRecords as ii, windowsShortDirKey as il, BuildActivity as in, SETTINGS_SCHEMA_URL as io, WORKSPACE_STAGE_KINDS as ir, buildMachinesFile as is, StatsBucket as it, Endpoint as j, HostedMacosChoice as ja, readCreatedDevices as jc, lastUseFrom as ji, saturation as jl, LastBuildReport as jn, isSensitiveReference as jo, readArchivesAsync as jr, setupJournalFile as js, agentSessionOf as jt, readHostedNativeLogsCheckpoint as k, HostedAgentLease as ka, EasSessionClaim as kc, WorkspaceState as ki, buildSlotsDir as kl, GitChip as kn, expectedShape as ko, readArchiveState as kr, serverLocalSocket as ks, PullRequestCacheEntry as kt, SummaryHistoryEntry as l, hostedConsolePort as la, bundleMarkerPlatform as lc, hostedNativeRecords as li, requireAutomaticMachine as ll, BuildHistoryEntry as ln, IOS_SIMULATOR_APPS as lo, WorkspaceStage as lr, createdDevicesLock as ls, StatsReport as lt, SetupCapability as m, parseHostedDevice as ma, isExpoErrorContext as mc, DEVICE_IDLE_SHUTDOWN_KEY as mi, DoctorRunRecord as ml, BuildPlacement as mn, SETTINGS as mo, MacosAppState as mr, diskUsageCacheDir as ms, projectRootDirectories as mt, KeyedEntities as n, HostedDeviceSession as na, LogQueryOptions as nc, hostedAndroidDeviceName as ni, loadConfig as nl, BUILD_PHASES as nn, validHostedAppBlob as no, WEB_PAGE_STATES as nr, archiveLock as ns, RunSample as nt, readNdjsonGenerations as nu, SUMMARY_ARCHIVES as o, assertHostedDeviceLedger as oa, advanceTail as oc, parseHostedAndroidPlacement as oi, withConfigLockAsync as ol, BuildCause as on, ANDROID_COMPILER_CACHE_CHOICES as oo, WebBrowserState as or, clientIdentityKeyFile as os, StatsCapacityWait as ot, workspaceSummary as p, parseHostedChoice as pa, followLogs as pc, BUILD_HISTORY_LIMIT as pi, DeviceRecord as pl, BuildPhase as pn, RemoteDeviceBackend as po, MacosAppRecord as pr, deviceViewersDir as ps, offloadSummary as pt, BuildMachineTotals as q, hostedAppArea as qa, buildWorkerRoot as qc, HostedAndroidChoice as qi, AgentTarget as ql, RunOutcomeKind as qn, listRecordedDevicesAsync as qo, HostedIosPlacement as qr, workspaceLogsDir as qs, APP_PROCESS_STATES as qt, applyKeyedDelta as r, HostedIosChoice as ra, LogQueryPlan as rc, hostedAndroidPlacements as ri, windowsShortDir as rl, BUILD_RESULTS as rn, SETTINGS_SCHEMA_FILE as ro, WORKSPACE_PHASES as rr, archiveRoot as rs, STATS_VERSION as rt, StatusViews as s, deviceHostArea as sa, attachExpoErrorContext as sc, unreadableHostedAndroid as si, AutomaticPoolRole as sl, BuildDetail as sn, ANDROID_EMULATOR_APPS as so, WebPageState as sr, configLockPath as ss, StatsPlacement as st, KeyedDelta as t, HostedDeviceSelectors as ta, ERROR_SOURCES as tc, HostedAndroidStatus as ti, isPathPrefix as tl, AppPresence as tn, validHostedAppArguments as to, TUTORIAL_VERSION as tr, archiveDir as ts, RunHistory as tt, parseNdjsonText as tu, WorkspaceSummary as u, hostedDeviceId as ua, compileGrep as uc, parseHostedNativePlacement as ui, validateAutomaticPool as ul, BuildMissCategory as un, OFFLOAD_MODES as uo, WorktreeFacts as ur, deviceHostMachinesClaims as us, StatsScope as ut, parseSetupJournal as v, parseHostedPlatformDevice as va, planLogQuery as vc, DevServerStopRequest as vi, SettingsObject as vl, BuildResult as vn, SettingEntry as vo, parseMacosRecord as vr, easSessionLedgerLock as vs, statsProjectKey as vt, HostedLogsCursor as w, HOSTED_MACOS_APP_SLOTS as wa, sortByTs as wc, MetroLastStop as wi, MachineCredential as wl, DevicePlacement as wn, TunnelMode as wo, archiveEnabled as wr, maintenanceDir as ws, ViewedDevice as wt, agentDeviceStateDirsAsync as x, readHostedDeviceLedger as xa, readLogRecords as xc, IdleStopRecord as xi, clientIdentity as xl, DeviceActivity as xn, SettingWriteResult as xo, ArchivedBytes as xr, gitMergeCacheDir as xs, trimSamples as xt, readSetupJournal as y, parseHostedRequest as ya, queryJsonLogs as yc, DeviceIdleShutdownRecord as yi, StimConfig as yl, BuildWaitingFor as yn, SettingScope as yo, readHostedMacosApp as yr, emulatorLogFile as ys, trimCapacityRefusals as yt, HOSTED_METRO_GATEWAYS_KEY as z, parseHostedMacosChoice as za, readHomeIdentity as zc, readLastBuilds as zi, swiftpmCacheUsageFile as zl, MetroBundleState as zn, RECORDING_PLATFORMS as zo, MaintenanceRecord as zr, trashRoot as zs, readDiskUsage as zt };
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { N as BuildSwiftpmArtifactQuery, j as BuildReactNativeArtifactQuery, m as BuildArtifactIdentity } from "./protocol-DuaMg7RJ.mjs";
1
+ import { F as BuildSwiftpmArtifactQuery, M as BuildReactNativeArtifactQuery, m as BuildArtifactIdentity } from "./protocol-XMSnfmrX.mjs";
2
2
  import { Server } from "node:net";
3
3
  //#region dir-lock.d.ts
4
4
  interface DirLockOptions {
@@ -117,18 +117,30 @@ declare function compiledHelper({ dir, name, inputs, version, compile, prune }:
117
117
  //#endregion
118
118
  //#region dependency-install.d.ts
119
119
  /**
120
- * The existing worker install command and marker identity for a repository's selected lockfile. The marker identity
121
- * also names the major of the Node `projectNodeBin` picks for the pin of the project at `project`, or `path` when it
122
- * picks none, so that native addons are rebuilt when the pinned Node changes major.
120
+ * The lockfile that governs the project at `project` inside `root`: the first one found from that directory up to
121
+ * `root`, as package managers resolve their own. `dir` is relative to `root`, `.` for `root` itself.
123
122
  */
124
- declare function dependencyInstall(root: string, packageName: string | null, project?: string, env?: NodeJS.ProcessEnv): {
123
+ declare function dependencyLockfile(root: string, project?: string): {
124
+ dir: string;
125
+ file: string;
126
+ } | null;
127
+ /**
128
+ * The existing worker install command and marker identity for the lockfile that governs the project at `project`.
129
+ * `dir` is where the install runs, relative to `root`, and `marker` names the area file that records the install
130
+ * there, so each install directory of a repository keeps its own. The marker identity also names the major of the
131
+ * Node `projectNodeBin` picks for the project's pin, or `path` when it picks none, so that native addons are rebuilt
132
+ * when the pinned Node changes major.
133
+ */
134
+ declare function dependencyInstall(root: string, project?: string, env?: NodeJS.ProcessEnv): {
125
135
  command: "pnpm" | "yarn" | "npm";
126
136
  args: string[];
137
+ dir: string;
138
+ marker: string;
127
139
  lockfile: string;
128
140
  digest: string;
129
141
  } | null;
130
142
  /** Whether the worker can reuse this project's dependency install without running the package manager. */
131
- declare function reusableDependencies(area: string, project: string, packageName: string | null, lockfile: string, env?: NodeJS.ProcessEnv): boolean;
143
+ declare function reusableDependencies(area: string, project: string, lockfile: string, env?: NodeJS.ProcessEnv): boolean;
132
144
  //#endregion
133
145
  //#region metro-bridge.d.ts
134
146
  interface MetroBridge {
@@ -225,4 +237,4 @@ declare function updateCacheManifest(file: string, mutate: (caches: Array<Record
225
237
  declare function cacheDirRefusal(dir: string): string | null;
226
238
  declare function registerCache({ dir, name, prune, note, entriesDepth, layout, replaces }: RegisterOptions): void;
227
239
  //#endregion
228
- 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, 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 };
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 };
package/dist/index.mjs CHANGED
@@ -1,3 +1,3 @@
1
- import { C as quotedPath } from "./ownership-claim-DHUs_Dir.mjs";
2
- import { $ as withDirLockTransaction, A as createMetroGateway, B as unitWords, C as workspaceName, D as reactNativeArtifactIdentity, E as swiftpmArtifactQuery, F as artifactIn, G as withAmbientContext, H as ambientContext, I as resolveArtifact, L as storeArtifact, M as reusableDependencies, N as compiledHelper, O as reactNativeArtifactQuery, P as storeArtifactAsync, Q as withDirLockAsync, R as quoteUnitWord, S as workspaceLogDir, T as workspaceStateDir, U as ambientEnv, V as validMacosResourceDestination, W as ambientWrite, Z as withDirLock, _ 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 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 unitLines } from "./core-B23eUZZp.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, 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 };
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 };
@@ -69,7 +69,7 @@ function claimFailure(err, retryCommand) {
69
69
  if (isClaimUnavailable(err)) return {
70
70
  code: CLAIM_UNAVAILABLE,
71
71
  message: err.message,
72
- remedy: `${err.remedy}, then ${retry}.`
72
+ remedy: err.remedy ? `${err.remedy}, then ${retry}.` : `Check that no process from the failed command is still running, then ${retry}.`
73
73
  };
74
74
  return null;
75
75
  }
@@ -1,2 +1,2 @@
1
- import { S as tryAcquireClaim, _ as releaseClaim, a as claimFailure, b as sharedClaimDir, c as clearClaimChild, d as inspectClaimSet, f as isClaimRefusal, g as readClaimSet, h as processGroupAlive, i as ClaimUnavailableError, l as clearFreeClaimSet, m as markClaimChildPending, n as CLAIM_UNAVAILABLE, o as claimLiveness, p as isClaimUnavailable, r as ClaimRefusedError, s as claimRemoveCommand, t as CLAIM_REFUSED, u as exclusiveClaimDir, v as setClaimChild, x as sleepSync, y as settleClaim } from "./ownership-claim-DHUs_Dir.mjs";
1
+ import { S as tryAcquireClaim, _ as releaseClaim, a as claimFailure, b as sharedClaimDir, c as clearClaimChild, d as inspectClaimSet, f as isClaimRefusal, g as readClaimSet, h as processGroupAlive, i as ClaimUnavailableError, l as clearFreeClaimSet, m as markClaimChildPending, n as CLAIM_UNAVAILABLE, o as claimLiveness, p as isClaimUnavailable, r as ClaimRefusedError, s as claimRemoveCommand, t as CLAIM_REFUSED, u as exclusiveClaimDir, v as setClaimChild, x as sleepSync, y as settleClaim } from "./ownership-claim-DG2GMIoo.mjs";
2
2
  export { CLAIM_REFUSED, CLAIM_UNAVAILABLE, ClaimRefusedError, ClaimUnavailableError, claimFailure, claimLiveness, claimRemoveCommand, clearClaimChild, clearFreeClaimSet, exclusiveClaimDir, inspectClaimSet, isClaimRefusal, isClaimUnavailable, markClaimChildPending, processGroupAlive, readClaimSet, releaseClaim, setClaimChild, settleClaim, sharedClaimDir, sleepSync, tryAcquireClaim };
@@ -1,5 +1,5 @@
1
- import { $t as AndroidDeviceState, Cn as DeviceLeaseState, Cr as ArchivedWorkspace, Dn as EnvironmentDisk, Hr as MaintenanceStatus, In as MachineUsageState, Kn as RemoteDeviceState, Lr as MaintenancePass, Na as HostedMacosPlacement, Nr as MaintenanceAction, On as EnvironmentState, Pn as MachineOwner, Qn as StatusIssue, Rr as MaintenancePressure, Sn as DeviceAppProcess, Sr as ArchivedUsage, Tn as DiskMeasure, Ut as withDerivedFacts, Wn as PhysicalDeviceState, Yn as SimulatorState, Zt as AgentSession, _n as BuildReport, a as MachineView, cn as BuildDiagnostic, dn as BuildMissChange, dr as WorktreeGit, er as StatusPayload, f as statusViews, fn as BuildMissReason, fr as WorktreePullRequest, hn as BuildPlanPayload, hr as MacosBuild, i as ArchivedSummary, in as BuildActivity, jn as LastBuildReport, kn as GitChip, ln as BuildHistoryEntry, lr as WorkspaceStage, mn as BuildPlacement, or as WebBrowserState, pr as MacosAppRecord, r as applyKeyedDelta, sn as BuildDetail, ur as WorktreeFacts, xn as DeviceActivity, yn as BuildWaitingFor, zn as MetroBundleState } from "./index-DKq1j8dw.mjs";
2
- import { $ as DesktopGcEndedEvent, $r as WorkspacesEvent, A as BuildProgressEvent, Ar as StatusEvent, Bt as FramesSubscribeResult, Cn as MachineHistory, Ct as DeviceFrameEvent, D as BuildPlanParams, Dn as MachineVolume, Dr as SimulatorCommand, En as MachineUsage, Fn as NotificationEntry, Fr as UsageHistory, Ft as FrameEvent, Ht as HelloParams, In as NotificationEvent, Ir as UsageSample, It as FrameTarget, J as DEVICE_HOST_METHODS, Jr as WorkspaceFile, K as ControlEndedEvent, Kr as WorkspaceDiff, Ln as NotificationLevel, Mn as Methods, Nr as TouchPhase, Or as SimulatorOptions, Pt as FrameDelayedEvent, Q as DesktopBuildProgressEvent, Qn as PushRegisterParams, Qr as WorkspaceRef, Rn as NotificationSuppression, Sn as MachineEvent, St as DeviceFrameArtwork, Tt as DeviceUsageSeries, U as ControlBeginParams, Ut as HelloResult, Vn as NotificationsListResult, W as ControlBeginResult, Wn as PROTOCOL_VERSION, Xn as ProtocolError, Yr as WorkspaceFiles, Yt as InputKey, Z as DesktopBuildEndedEvent, Zn as PushEvent, Zr as WorkspacePatch, _n as LogsQueryResult, _t as DesktopStopProgressEvent, a as ActionResult, an as KeyModifier, at as DesktopReloadEndedEvent, bt as DesktopWorktreeWarmEndedEvent, c as ArchivedListParams, cr as ReplayKeyframe, dn as LogFilter, dr as ReplayRange, dt as DesktopRunProgressEvent, en as InputSimulatorParams, et as DesktopGcProgressEvent, fn as LogLevel, fr as ReplaySpan, gn as LogsEvent, gr as SERVER_UPDATE_METHODS, gt as DesktopStopEndedEvent, hn as LogsEndedEvent, hr as RotateDirection, ht as DesktopStartProgressEvent, i as ActionParams, kn as MacosWindowsEvent, kt as ErrorEvent, lr as ReplayKeyframeParams, mn as LogSource, mt as DesktopStartEndedEvent, o as ArchiveDetailParams, ot as DesktopReloadProgressEvent, pn as LogRecord, pr as ReplayTarget, qn as Platform, qr as WorkspaceEvent, qt as InputButton, r as ActionName, sr as ReplayEndedEvent, st as DesktopReportEvent, t as ACTIONS, u as BUILD_METHODS, ur as ReplayMarker, ut as DesktopRunEndedEvent, v as BuildClientSummary, vr as ServerEvent, vt as DesktopWorktreeRemoveEndedEvent, w as BuildMachineReport, wt as DevicePosture, xn as MachineDetails, xt as DesktopWorktreeWarmProgressEvent, yt as DesktopWorktreeRemoveProgressEvent } from "./protocol-DuaMg7RJ.mjs";
1
+ import { $t as AndroidDeviceState, Cn as DeviceLeaseState, Cr as ArchivedWorkspace, Dn as EnvironmentDisk, Hr as MaintenanceStatus, In as MachineUsageState, Kn as RemoteDeviceState, Lr as MaintenancePass, Na as HostedMacosPlacement, Nr as MaintenanceAction, On as EnvironmentState, Pn as MachineOwner, Qn as StatusIssue, Rr as MaintenancePressure, Sn as DeviceAppProcess, Sr as ArchivedUsage, Tn as DiskMeasure, Ut as withDerivedFacts, Wn as PhysicalDeviceState, Yn as SimulatorState, Zt as AgentSession, _n as BuildReport, a as MachineView, cn as BuildDiagnostic, dn as BuildMissChange, dr as WorktreeGit, er as StatusPayload, f as statusViews, fn as BuildMissReason, fr as WorktreePullRequest, hn as BuildPlanPayload, hr as MacosBuild, i as ArchivedSummary, in as BuildActivity, jn as LastBuildReport, kn as GitChip, ln as BuildHistoryEntry, lr as WorkspaceStage, mn as BuildPlacement, or as WebBrowserState, pr as MacosAppRecord, r as applyKeyedDelta, sn as BuildDetail, ur as WorktreeFacts, xn as DeviceActivity, yn as BuildWaitingFor, zn as MetroBundleState } from "./index-kR1gVv1b.mjs";
2
+ import { $ as DesktopBuildEndedEvent, $n as PushEvent, $r as WorkspacePatch, Ar as SimulatorOptions, Bn as NotificationSuppression, Cn as MachineDetails, Ct as DesktopWorktreeWarmProgressEvent, Dt as DeviceUsageSeries, Et as DevicePosture, Fr as TouchPhase, G as ControlBeginParams, Gt as HelloResult, Ht as FramesSubscribeResult, It as FrameDelayedEvent, J as ControlEndedEvent, Jr as WorkspaceDiff, K as ControlBeginResult, Kn as PROTOCOL_VERSION, Ln as NotificationEntry, Lr as UsageHistory, Lt as FrameEvent, Mr as StatusEvent, O as BuildPlanParams, On as MachineUsage, Pn as Methods, Qn as ProtocolError, Rn as NotificationEvent, Rr as UsageSample, 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 WorkspaceFile, Yn as Platform, Yr as WorkspaceEvent, Yt as InputButton, Zr as WorkspaceFiles, Zt as InputKey, _n as LogsEndedEvent, _r as RotateDirection, _t as DesktopStartProgressEvent, a as ActionResult, br as ServerEvent, bt as DesktopWorktreeRemoveEndedEvent, c as ArchivedListParams, ct as DesktopReloadProgressEvent, dr as ReplayKeyframeParams, ei as WorkspaceRef, er as PushRegisterParams, et as DesktopBuildProgressEvent, fr as ReplayMarker, ft as DesktopRunEndedEvent, gn as LogSource, gt as DesktopStartEndedEvent, hn as LogRecord, hr as ReplayTarget, i as ActionParams, j as BuildProgressEvent, jn as MacosWindowsEvent, jt as ErrorEvent, kn as MachineVolume, kr as SimulatorCommand, lr as ReplayEndedEvent, lt as DesktopReportEvent, mn as LogLevel, mr as ReplaySpan, nn as InputSimulatorParams, nt as DesktopGcProgressEvent, o as ArchiveDetailParams, pn as LogFilter, pr as ReplayRange, pt as DesktopRunProgressEvent, r as ActionName, sn as KeyModifier, st as DesktopReloadEndedEvent, t as ACTIONS, ti as WorkspacesEvent, tt as DesktopGcEndedEvent, u as BUILD_METHODS, ur as ReplayKeyframe, v as BuildClientSummary, vn as LogsEvent, vr as SERVER_UPDATE_METHODS, vt as DesktopStopEndedEvent, wn as MachineEvent, wt as DeviceFrameArtwork, xt as DesktopWorktreeRemoveProgressEvent, yn as LogsQueryResult, yt as DesktopStopProgressEvent, zn as NotificationLevel } from "./protocol-XMSnfmrX.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 { $i as HostedDevicePlatform, Aa as HostedAppLaunch, Cr as ArchivedWorkspace, Ga as HostedAppOffer, Hr as MaintenanceStatus, Ln as MacosBuildPlanPayload, On as EnvironmentState, Qi as HostedDevicePhase, Sr as ArchivedUsage, T as HostedLogsPage, Ua as HostedAppDelivery, Xi as HostedDeviceOffer, Yl as NdjsonRecord, Zi as HostedDeviceOfferRequest, a as MachineView, d as WorktreeRow, ea as HostedDeviceRequest, er as StatusPayload, hn as BuildPlanPayload, i as ArchivedSummary, ln as BuildHistoryEntry, na as HostedDeviceSession, t as KeyedDelta, u as WorkspaceSummary, ur as WorktreeFacts, w as HostedLogsCursor, xo as SettingWriteResult, yo as SettingScope } from "./index-DKq1j8dw.mjs";
1
+ import { $i as HostedDevicePlatform, Aa as HostedAppLaunch, Cr as ArchivedWorkspace, Ga as HostedAppOffer, Hr as MaintenanceStatus, Ln as MacosBuildPlanPayload, On as EnvironmentState, Qi as HostedDevicePhase, Sr as ArchivedUsage, T as HostedLogsPage, Ua as HostedAppDelivery, Xi as HostedDeviceOffer, Zi as HostedDeviceOfferRequest, Zl as NdjsonRecord, a as MachineView, d as WorktreeRow, ea as HostedDeviceRequest, er as StatusPayload, hn as BuildPlanPayload, i as ArchivedSummary, ln as BuildHistoryEntry, na as HostedDeviceSession, t as KeyedDelta, u as WorkspaceSummary, ur as WorktreeFacts, w as HostedLogsCursor, xo as SettingWriteResult, yo as SettingScope } from "./index-kR1gVv1b.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,16 +28,23 @@ 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-ports` is `device-host.metro.ports`, which names the listed ports that already accept loopback
32
+ * connections on the host, apart from the requesting client's own dev-client bridges.
31
33
  * `native-xcode-build` accepts native Xcode provider requests with a separate source-transfer identity.
32
34
  * `native-xcode-toolchain` accepts native Xcode discovery without unrelated platform or Ruby probes.
33
35
  * `build-artifact-cache` offers and fetches exact completed native Xcode archives without a build job.
34
36
  * `native-gradle-build` accepts declared Gradle transfer inputs with no reusable artifact identity.
35
37
  * `native-gradle-artifact-cache` applies caller cache policy to verified worker-scoped APK reuse.
36
38
  * `react-native-peer-cache` offers development archives with build-proven fingerprints, options and toolchains.
39
+ * `fingerprint-sources` accepts `fingerprintSources` on `build.start`, so a fingerprint mismatch names the differing sources.
40
+ * `fingerprint-ignored` accepts `fingerprintIgnored` on `build.start`, the paths the caller's git ignored that the machine's git cannot.
41
+ * `fingerprint-tracked` accepts `fingerprintTracked` on `build.start`, the top-level entries the caller's git tracks although an ignore pattern matches them.
37
42
  * `native-gradle-peer-cache` queries and fetches completed APKs after rechecking worker-private inputs.
38
43
  * `swiftpm-peer-cache` queries and fetches completed SwiftPM apps after rechecking worker-private inputs.
39
44
  * `build-dependency-cache` checks dependency warmth against the requested project and install selection.
40
45
  * `server-update` is `server.update.status`, `server.update.start` and `server.update.chunk`.
46
+ * `build-compat` accepts `compat` on `build.start`, and in place of `stimBuild` in React Native and SwiftPM artifact
47
+ * queries.
41
48
  * `status-views` is `workspaces.subscribe`, `workspace.subscribe`, `machine.subscribe`, `builds.history`,
42
49
  * `archived.list`, `worktrees.list` and `maintenance.get`.
43
50
  * `desktop-reports` serves cached doctor/GC reports to the authenticated local Desktop connection.
@@ -52,9 +59,9 @@ type Capability = (typeof CAPABILITIES)[number];
52
59
  * `desktop-plan` reads next-build reports for selected folders on the proved local Desktop connection.
53
60
  * `desktop-reload` streams reload output and its terminal result on the proved local Desktop connection.
54
61
  */
55
- 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", "swiftpm-peer-cache", "build-dependency-cache", "hosted-android-data", "hosted-android-process", "server-update", "status-views", "desktop-reports", "desktop-report-platform", "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"];
62
+ 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", "status-views", "desktop-reports", "desktop-report-platform", "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"];
56
63
  type Feature = (typeof FEATURES)[number];
57
- 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.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"];
64
+ 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"];
58
65
  /**
59
66
  * The methods that update this server's `stim-server service`. A machine this one approved for `build` or
60
67
  * `device-host` may call them; they need neither `read` nor `control`.
@@ -63,7 +70,7 @@ declare const SERVER_UPDATE_METHODS: readonly ["server.update.status", "server.u
63
70
  /** The methods a connection with the `build` capability may call; they need `build`, not `read`. */
64
71
  declare const BUILD_METHODS: readonly ["build.offer", "build.sync", "build.start", "build.cancel", "build.artifact", "build.cached-artifact", "build.attach"];
65
72
  /** Methods restricted to explicitly approved device-host clients. */
66
- 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.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"];
73
+ 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"];
67
74
  type Method = (typeof METHODS)[number];
68
75
  declare const PUSH_TOKEN_PATTERN = "^(Expo|Exponent)PushToken\\[[^\\]\\s]{1,256}\\]$";
69
76
  /**
@@ -640,6 +647,17 @@ interface BuildOfferParams {
640
647
  reactNativeArtifact?: BuildReactNativeArtifactQuery;
641
648
  swiftpmArtifact?: BuildSwiftpmArtifactQuery;
642
649
  }
650
+ /**
651
+ * Which Stim built an artifact: the build compatibility version from a client that saw the `build-compat` feature,
652
+ * else the exact Stim build digest.
653
+ */
654
+ type BuildStimIdentity = {
655
+ stimBuild: string;
656
+ compat?: never;
657
+ } | {
658
+ compat: number;
659
+ stimBuild?: never;
660
+ };
643
661
  /** A post-mutation React Native fingerprint and the requested development build. */
644
662
  type BuildReactNativeArtifactQuery = {
645
663
  project: string;
@@ -647,8 +665,7 @@ type BuildReactNativeArtifactQuery = {
647
665
  isExpo: boolean;
648
666
  } & ({
649
667
  platform: "ios";
650
- toolchain: {
651
- stimBuild: string;
668
+ toolchain: BuildStimIdentity & {
652
669
  arch: string;
653
670
  xcode: string;
654
671
  simulatorSdk: string;
@@ -667,8 +684,7 @@ type BuildReactNativeArtifactQuery = {
667
684
  };
668
685
  } | {
669
686
  platform: "android";
670
- toolchain: {
671
- stimBuild: string;
687
+ toolchain: BuildStimIdentity & {
672
688
  jdk: string;
673
689
  };
674
690
  android: BuildAndroidOptions;
@@ -683,10 +699,9 @@ interface BuildGradleArtifactQuery {
683
699
  };
684
700
  }
685
701
  /** A complete SwiftPM source transfer and repeatable build; private input values stay on the worker. */
686
- interface BuildSwiftpmArtifactQuery {
702
+ type BuildSwiftpmArtifactQuery = BuildStimIdentity & {
687
703
  project: string;
688
704
  sourceDigest: string;
689
- stimBuild: string;
690
705
  inputs: {
691
706
  complete: true;
692
707
  ignored: string[];
@@ -700,7 +715,7 @@ interface BuildSwiftpmArtifactQuery {
700
715
  resources: Record<string, string>;
701
716
  assetCatalog: string | null;
702
717
  };
703
- }
718
+ };
704
719
  /** A native artifact identity whose key includes its complete inputs, target and toolchain. */
705
720
  interface BuildArtifactIdentity {
706
721
  fingerprint: string;
@@ -715,6 +730,8 @@ interface CachedBuildArtifact extends BuildArtifactIdentity {
715
730
  /** The toolchain a build must match exactly on both machines. */
716
731
  interface BuildToolchain {
717
732
  stimBuild: string | null;
733
+ /** The Stim build compatibility version, compared instead of `stimBuild`; absent from an older stim-server. */
734
+ compat?: number;
718
735
  /** The OS stim-server runs on, as Node names it; absent from a stim-server older than this field. */
719
736
  os?: string;
720
737
  arch: string;
@@ -793,6 +810,10 @@ interface BuildAndroidOptions {
793
810
  gradleRoot?: string | null;
794
811
  module?: string | null;
795
812
  }
813
+ interface BuildFingerprintSource {
814
+ id: string;
815
+ hash: string | null;
816
+ }
796
817
  interface GradleOffloadInputs {
797
818
  complete: true;
798
819
  ignored: string[];
@@ -812,6 +833,12 @@ interface BuildStartParams {
812
833
  iosProjectPath?: string | null;
813
834
  runtime?: string | null;
814
835
  fingerprint: string | null;
836
+ /** The id and hash of each source of `fingerprint`, so the machine can name the sources its fingerprint differs in. */
837
+ fingerprintSources?: BuildFingerprintSource[];
838
+ /** Paths relative to `project` that the client's git ignores for `fingerprint`, such as through .git/info/exclude. */
839
+ fingerprintIgnored?: string[];
840
+ /** Top-level entries of `project` that the client's git tracks although an ignore pattern matches them. */
841
+ fingerprintTracked?: string[];
815
842
  native?: {
816
843
  provider: "xcode";
817
844
  sourceDigest: string;
@@ -842,6 +869,8 @@ interface BuildStartParams {
842
869
  artifactInputs?: BuildSwiftpmArtifactQuery["inputs"];
843
870
  } | null;
844
871
  stimBuild: string;
872
+ /** The client's Stim build compatibility version, compared instead of `stimBuild` by a machine that reports one. */
873
+ compat?: number;
845
874
  cacheArtifact?: boolean;
846
875
  }
847
876
  interface BuildJobParams {
@@ -1358,6 +1387,14 @@ interface Methods {
1358
1387
  port: number;
1359
1388
  };
1360
1389
  };
1390
+ "device-host.metro.ports": {
1391
+ params: {
1392
+ ports: number[];
1393
+ };
1394
+ result: {
1395
+ busy: number[];
1396
+ };
1397
+ };
1361
1398
  "device-host.metro.close": {
1362
1399
  params: {
1363
1400
  session: string;
@@ -2121,4 +2158,4 @@ type ServeRoute = {
2121
2158
  port: number;
2122
2159
  };
2123
2160
  //#endregion
2124
- export { DesktopGcEndedEvent as $, QuietHours as $n, WorkspacesEvent as $r, InputScrollParams as $t, BuildProgressEvent as A, MemoryPressure as An, StatusEvent as Ar, FEATURES as At, CachedBuildArtifact as B, NotificationsListParams as Bn, VIDEO_FOLDED as Br, FramesSubscribeResult as Bt, BuildMachineCapacity as C, MachineHistory as Cn, ServerUpdateProgress as Cr, DeviceFrameEvent as Ct, BuildPlanParams as D, MachineVolume as Dn, SimulatorCommand as Dr, ERROR_CODES as Dt, BuildOfferResult as E, MachineUsage as En, SettingsResult as Er, DuoFramePose as Et, BuildSyncResult as F, NotificationEntry as Fn, UsageHistory as Fr, FrameEvent as Ft, ControlEndParams as G, PUSH_EVENTS as Gn, VideoPacket as Gr, INPUT_BUTTONS as Gt, ClientRequest as H, PLATFORMS as Hn, VIDEO_KEYFRAME as Hr, HelloParams as Ht, BuildToolchain as I, NotificationEvent as In, UsageSample as Ir, FrameTarget as It, DEVICE_HOST_METHODS as J, PlatformBuildOptions as Jn, WorkspaceFile as Jr, InputButtonParams as Jt, ControlEndedEvent as K, PUSH_TOKEN_PATTERN as Kn, WorkspaceDiff as Kr, INPUT_KEYS as Kt, BuildsHistoryResult as L, NotificationLevel as Ln, UsageSeries as Lr, FramesLiveParams as Lt, BuildStartParams as M, Methods as Mn, TOUCH_PHASES as Mr, FRAME_FPS as Mt, BuildSwiftpmArtifactQuery as N, NOTIFICATION_LEVELS as Nn, TouchPhase as Nr, Feature as Nt, BuildPlanResult as O, MacosWindow as On, SimulatorOptions as Or, ErrorCode as Ot, BuildSyncParams as P, NOTIFICATION_SUPPRESSIONS as Pn, UnsubscribeParams as Pr, FrameDelayedEvent as Pt, DesktopBuildProgressEvent as Q, PushRegisterParams as Qn, WorkspaceRef as Qr, InputRotateParams as Qt, CAPABILITIES as R, NotificationSuppression as Rn, VIDEO_ARTWORK as Rr, FramesSeekParams as Rt, BuildJobParams as S, MachineEvent as Sn, ServerUpdatePackage as Sr, DeviceFrameArtwork as St, BuildOfferParams as T, MachineUpdateStatus as Tn, ServerUpdateStatus as Tr, DeviceUsageSeries as Tt, ControlBeginParams as U, PROTOCOL_SCHEMA_FILE as Un, VIDEO_UNFOLDED as Ur, HelloResult as Ut, Capability as V, NotificationsListResult as Vn, VIDEO_HEADER_VERSION as Vr, GradleOffloadInputs as Vt, ControlBeginResult as W, PROTOCOL_VERSION as Wn, VideoCodec as Wr, HostedSessionRow as Wt, DesktopBootstrapChallenge as X, ProtocolError as Xn, WorkspaceParams as Xr, InputKeyParams as Xt, DEVICE_POSTURES as Y, PlatformRunOptions as Yn, WorkspaceFiles as Yr, InputKey as Yt, DesktopBuildEndedEvent as Z, PushEvent as Zn, WorkspacePatch as Zr, InputPostureParams as Zt, BuildCapacity as _, LogsQueryResult as _n, ServeRoute as _r, DesktopStopProgressEvent as _t, ActionResult as a, KeyModifier as an, RecordingSetResult as ar, DesktopReloadEndedEvent as at, BuildGradleArtifactQuery as b, METHODS as bn, ServerResponse as br, DesktopWorktreeWarmEndedEvent as bt, ArchivedListParams as c, LOG_LEVELS as cn, ReplayKeyframe as cr, DesktopReportSnapshot as ct, BUILD_REPO_PATTERN as d, LogFilter as dn, ReplayRange as dr, DesktopRunProgressEvent as dt, WorkspacesSnapshot as ei, InputSimulatorParams as en, RELOAD_PLATFORMS as er, DesktopGcProgressEvent as et, BUILD_RUBY_VERSION_PATTERN as f, LogLevel as fn, ReplaySpan as fr, DesktopSettingsWriteParams as ft, BuildAttachResult as g, LogsEvent as gn, SERVER_UPDATE_METHODS as gr, DesktopStopEndedEvent as gt, BuildArtifactResult as h, LogsEndedEvent as hn, RotateDirection as hr, DesktopStartProgressEvent as ht, ActionParams as i, KEY_MODIFIERS as in, RecordingSetParams as ir, DesktopPlanRefusal as it, BuildReactNativeArtifactQuery as j, Method as jn, SubscribeResult as jr, FRAME_EDGE as jt, BuildPlatform as k, MacosWindowsEvent as kn, StatsResult as kr, ErrorEvent as kt, ArchivedListResult as l, LOG_SOURCES as ln, ReplayKeyframeParams as lr, DesktopReportTarget as lt, BuildArtifactIdentity as m, LogSource as mn, RequestId as mr, DesktopStartEndedEvent as mt, ARCHIVED_PAGE_LIMIT as n, InputTouchParams as nn, REPLAY_RATES as nr, DesktopMachineAccessEndedEvent as nt, ArchiveDetailParams as o, KeyframeParams as on, ReloadPlatform as or, DesktopReloadProgressEvent as ot, BuildAndroidOptions as p, LogRecord as pn, ReplayTarget as pr, DesktopSettingsWriteResult as pt, ControlPlatform as q, Platform as qn, WorkspaceEvent as qr, InputButton as qt, ActionName as r, InputWindowParams as rn, ROTATE_DIRECTIONS as rr, DesktopMachineAccessProgressEvent as rt, ArchiveDetailResult as s, LEGACY_PUSH_EVENTS as sn, ReplayEndedEvent as sr, DesktopReportEvent as st, ACTIONS as t, InputTextParams as tn, REPLAY_MARKER_KINDS as tr, DesktopLogFilter as tt, BUILD_METHODS as u, LegacyPushEvent as un, ReplayMarker as ur, DesktopRunEndedEvent as ut, BuildClientSummary as v, MAX_INPUT_TEXT as vn, ServerEvent as vr, DesktopWorktreeRemoveEndedEvent as vt, BuildMachineReport as w, MachineHistoryParams as wn, ServerUpdateStartParams as wr, DevicePosture as wt, BuildJobOutcome as x, MachineDetails as xn, ServerUpdateOutcome as xr, DesktopWorktreeWarmProgressEvent as xt, BuildFile as y, MAX_LOG_TAIL as yn, ServerMessage as yr, DesktopWorktreeRemoveProgressEvent as yt, CONTROL_END_REASONS as z, NotificationTarget as zn, VIDEO_CODECS as zr, FramesSeekResult as zt };
2161
+ export { DesktopBuildEndedEvent as $, PushEvent as $n, WorkspacePatch as $r, InputPostureParams as $t, BuildPlatform as A, MacosWindow as An, SimulatorOptions as Ar, ErrorCode as At, CAPABILITIES as B, NotificationSuppression as Bn, VIDEO_ARTWORK as Br, FramesSeekParams as Bt, BuildJobParams as C, MachineDetails as Cn, ServerUpdateOutcome as Cr, DesktopWorktreeWarmProgressEvent as Ct, BuildOfferResult as D, MachineUpdateStatus as Dn, ServerUpdateStatus as Dr, DeviceUsageSeries as Dt, BuildOfferParams as E, MachineHistoryParams as En, ServerUpdateStartParams as Er, DevicePosture as Et, BuildSwiftpmArtifactQuery as F, NOTIFICATION_LEVELS as Fn, TouchPhase as Fr, Feature as Ft, ControlBeginParams as G, PROTOCOL_SCHEMA_FILE as Gn, VIDEO_UNFOLDED as Gr, HelloResult as Gt, CachedBuildArtifact as H, NotificationsListParams as Hn, VIDEO_FOLDED as Hr, FramesSubscribeResult as Ht, BuildSyncParams as I, NOTIFICATION_SUPPRESSIONS as In, UnsubscribeParams as Ir, FrameDelayedEvent as It, ControlEndedEvent as J, PUSH_TOKEN_PATTERN as Jn, WorkspaceDiff as Jr, INPUT_KEYS as Jt, ControlBeginResult as K, PROTOCOL_VERSION as Kn, VideoCodec as Kr, HostedSessionRow as Kt, BuildSyncResult as L, NotificationEntry as Ln, UsageHistory as Lr, FrameEvent as Lt, BuildReactNativeArtifactQuery as M, MemoryPressure as Mn, StatusEvent as Mr, FEATURES as Mt, BuildStartParams as N, Method as Nn, SubscribeResult as Nr, FRAME_EDGE as Nt, BuildPlanParams as O, MachineUsage as On, SettingsResult as Or, DuoFramePose as Ot, BuildStimIdentity as P, Methods as Pn, TOUCH_PHASES as Pr, FRAME_FPS as Pt, DesktopBootstrapChallenge as Q, ProtocolError as Qn, WorkspaceParams as Qr, InputKeyParams as Qt, BuildToolchain as R, NotificationEvent as Rn, UsageSample as Rr, FrameTarget as Rt, BuildJobOutcome as S, METHODS as Sn, ServerResponse as Sr, DesktopWorktreeWarmEndedEvent as St, BuildMachineReport as T, MachineHistory as Tn, ServerUpdateProgress as Tr, DeviceFrameEvent as Tt, Capability as U, NotificationsListResult as Un, VIDEO_HEADER_VERSION as Ur, GradleOffloadInputs as Ut, CONTROL_END_REASONS as V, NotificationTarget as Vn, VIDEO_CODECS as Vr, FramesSeekResult as Vt, ClientRequest as W, PLATFORMS as Wn, VIDEO_KEYFRAME as Wr, HelloParams as Wt, DEVICE_HOST_METHODS as X, PlatformBuildOptions as Xn, WorkspaceFile as Xr, InputButtonParams as Xt, ControlPlatform as Y, Platform as Yn, WorkspaceEvent as Yr, InputButton as Yt, DEVICE_POSTURES as Z, PlatformRunOptions as Zn, WorkspaceFiles as Zr, InputKey as Zt, BuildCapacity as _, LogsEndedEvent as _n, RotateDirection 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, ServerEvent 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, ReplayKeyframeParams as dr, DesktopReportTarget as dt, WorkspaceRef as ei, InputRotateParams as en, PushRegisterParams as er, DesktopBuildProgressEvent as et, BUILD_RUBY_VERSION_PATTERN as f, LegacyPushEvent as fn, ReplayMarker as fr, DesktopRunEndedEvent as ft, BuildAttachResult as g, LogSource as gn, RequestId as gr, DesktopStartEndedEvent as gt, BuildArtifactResult as h, LogRecord as hn, ReplayTarget as hr, DesktopSettingsWriteResult as ht, ActionParams as i, InputTouchParams as in, REPLAY_RATES as ir, DesktopMachineAccessEndedEvent as it, BuildProgressEvent as j, MacosWindowsEvent as jn, StatsResult as jr, ErrorEvent as jt, BuildPlanResult as k, MachineVolume as kn, SimulatorCommand as kr, ERROR_CODES as kt, ArchivedListResult as l, LEGACY_PUSH_EVENTS as ln, ReplayEndedEvent as lr, DesktopReportEvent as lt, BuildArtifactIdentity as m, LogLevel as mn, ReplaySpan as mr, DesktopSettingsWriteParams as mt, ARCHIVED_PAGE_LIMIT as n, WorkspacesSnapshot 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, ReplayRange as pr, DesktopRunProgressEvent as pt, ControlEndParams as q, PUSH_EVENTS as qn, VideoPacket as qr, INPUT_BUTTONS as qt, ActionName as r, 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, WorkspacesEvent as ti, InputScrollParams as tn, QuietHours as tr, DesktopGcEndedEvent as tt, BUILD_METHODS as u, LOG_LEVELS as un, ReplayKeyframe as ur, DesktopReportSnapshot as ut, BuildClientSummary as v, LogsEvent as vn, SERVER_UPDATE_METHODS as vr, DesktopStopEndedEvent as vt, BuildMachineCapacity as w, MachineEvent as wn, ServerUpdatePackage as wr, DeviceFrameArtwork as wt, BuildGradleArtifactQuery as x, MAX_LOG_TAIL as xn, ServerMessage as xr, DesktopWorktreeRemoveProgressEvent as xt, BuildFile as y, LogsQueryResult as yn, ServeRoute as yr, DesktopStopProgressEvent as yt, BuildsHistoryResult as z, NotificationLevel as zn, UsageSeries as zr, FramesLiveParams as zt };
@@ -1,2 +1,2 @@
1
- import { $ as DesktopGcEndedEvent, $n as QuietHours, $r as WorkspacesEvent, $t as InputScrollParams, A as BuildProgressEvent, An as MemoryPressure, Ar as StatusEvent, At as FEATURES, B as CachedBuildArtifact, Bn as NotificationsListParams, Br as VIDEO_FOLDED, Bt as FramesSubscribeResult, C as BuildMachineCapacity, Cn as MachineHistory, Cr as ServerUpdateProgress, Ct as DeviceFrameEvent, D as BuildPlanParams, Dn as MachineVolume, Dr as SimulatorCommand, Dt as ERROR_CODES, E as BuildOfferResult, En as MachineUsage, Er as SettingsResult, Et as DuoFramePose, F as BuildSyncResult, Fn as NotificationEntry, Fr as UsageHistory, Ft as FrameEvent, G as ControlEndParams, Gn as PUSH_EVENTS, Gr as VideoPacket, Gt as INPUT_BUTTONS, H as ClientRequest, Hn as PLATFORMS, Hr as VIDEO_KEYFRAME, Ht as HelloParams, I as BuildToolchain, In as NotificationEvent, Ir as UsageSample, It as FrameTarget, J as DEVICE_HOST_METHODS, Jn as PlatformBuildOptions, Jr as WorkspaceFile, Jt as InputButtonParams, K as ControlEndedEvent, Kn as PUSH_TOKEN_PATTERN, Kr as WorkspaceDiff, Kt as INPUT_KEYS, L as BuildsHistoryResult, Ln as NotificationLevel, Lr as UsageSeries, Lt as FramesLiveParams, M as BuildStartParams, Mn as Methods, Mr as TOUCH_PHASES, Mt as FRAME_FPS, N as BuildSwiftpmArtifactQuery, Nn as NOTIFICATION_LEVELS, Nr as TouchPhase, Nt as Feature, O as BuildPlanResult, On as MacosWindow, Or as SimulatorOptions, Ot as ErrorCode, P as BuildSyncParams, Pn as NOTIFICATION_SUPPRESSIONS, Pr as UnsubscribeParams, Pt as FrameDelayedEvent, Q as DesktopBuildProgressEvent, Qn as PushRegisterParams, Qr as WorkspaceRef, Qt as InputRotateParams, R as CAPABILITIES, Rn as NotificationSuppression, Rr as VIDEO_ARTWORK, Rt as FramesSeekParams, S as BuildJobParams, Sn as MachineEvent, Sr as ServerUpdatePackage, St as DeviceFrameArtwork, T as BuildOfferParams, Tn as MachineUpdateStatus, Tr as ServerUpdateStatus, Tt as DeviceUsageSeries, U as ControlBeginParams, Un as PROTOCOL_SCHEMA_FILE, Ur as VIDEO_UNFOLDED, Ut as HelloResult, V as Capability, Vn as NotificationsListResult, Vr as VIDEO_HEADER_VERSION, Vt as GradleOffloadInputs, W as ControlBeginResult, Wn as PROTOCOL_VERSION, Wr as VideoCodec, Wt as HostedSessionRow, X as DesktopBootstrapChallenge, Xn as ProtocolError, Xr as WorkspaceParams, Xt as InputKeyParams, Y as DEVICE_POSTURES, Yn as PlatformRunOptions, Yr as WorkspaceFiles, Yt as InputKey, Z as DesktopBuildEndedEvent, Zn as PushEvent, Zr as WorkspacePatch, Zt as InputPostureParams, _ as BuildCapacity, _n as LogsQueryResult, _r as ServeRoute, _t as DesktopStopProgressEvent, a as ActionResult, an as KeyModifier, ar as RecordingSetResult, at as DesktopReloadEndedEvent, b as BuildGradleArtifactQuery, bn as METHODS, br as ServerResponse, bt as DesktopWorktreeWarmEndedEvent, c as ArchivedListParams, cn as LOG_LEVELS, cr as ReplayKeyframe, ct as DesktopReportSnapshot, d as BUILD_REPO_PATTERN, dn as LogFilter, dr as ReplayRange, dt as DesktopRunProgressEvent, ei as WorkspacesSnapshot, en as InputSimulatorParams, er as RELOAD_PLATFORMS, et as DesktopGcProgressEvent, f as BUILD_RUBY_VERSION_PATTERN, fn as LogLevel, fr as ReplaySpan, ft as DesktopSettingsWriteParams, g as BuildAttachResult, gn as LogsEvent, gr as SERVER_UPDATE_METHODS, gt as DesktopStopEndedEvent, h as BuildArtifactResult, hn as LogsEndedEvent, hr as RotateDirection, ht as DesktopStartProgressEvent, i as ActionParams, in as KEY_MODIFIERS, ir as RecordingSetParams, it as DesktopPlanRefusal, j as BuildReactNativeArtifactQuery, jn as Method, jr as SubscribeResult, jt as FRAME_EDGE, k as BuildPlatform, kn as MacosWindowsEvent, kr as StatsResult, kt as ErrorEvent, l as ArchivedListResult, ln as LOG_SOURCES, lr as ReplayKeyframeParams, lt as DesktopReportTarget, m as BuildArtifactIdentity, mn as LogSource, mr as RequestId, mt as DesktopStartEndedEvent, n as ARCHIVED_PAGE_LIMIT, nn as InputTouchParams, nr as REPLAY_RATES, nt as DesktopMachineAccessEndedEvent, o as ArchiveDetailParams, on as KeyframeParams, or as ReloadPlatform, ot as DesktopReloadProgressEvent, p as BuildAndroidOptions, pn as LogRecord, pr as ReplayTarget, pt as DesktopSettingsWriteResult, q as ControlPlatform, qn as Platform, qr as WorkspaceEvent, qt as InputButton, r as ActionName, rn as InputWindowParams, rr as ROTATE_DIRECTIONS, rt as DesktopMachineAccessProgressEvent, s as ArchiveDetailResult, sn as LEGACY_PUSH_EVENTS, sr as ReplayEndedEvent, st as DesktopReportEvent, t as ACTIONS, tn as InputTextParams, tr as REPLAY_MARKER_KINDS, tt as DesktopLogFilter, u as BUILD_METHODS, un as LegacyPushEvent, ur as ReplayMarker, ut as DesktopRunEndedEvent, v as BuildClientSummary, vn as MAX_INPUT_TEXT, vr as ServerEvent, vt as DesktopWorktreeRemoveEndedEvent, w as BuildMachineReport, wn as MachineHistoryParams, wr as ServerUpdateStartParams, wt as DevicePosture, x as BuildJobOutcome, xn as MachineDetails, xr as ServerUpdateOutcome, xt as DesktopWorktreeWarmProgressEvent, y as BuildFile, yn as MAX_LOG_TAIL, yr as ServerMessage, yt as DesktopWorktreeRemoveProgressEvent, z as CONTROL_END_REASONS, zn as NotificationTarget, zr as VIDEO_CODECS, zt as FramesSeekResult } from "./protocol-DuaMg7RJ.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, BuildGradleArtifactQuery, BuildJobOutcome, BuildJobParams, BuildMachineCapacity, BuildMachineReport, BuildOfferParams, BuildOfferResult, BuildPlanParams, BuildPlanResult, BuildPlatform, BuildProgressEvent, BuildReactNativeArtifactQuery, BuildStartParams, 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, 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 PushEvent, $r as WorkspacePatch, $t as InputPostureParams, A as BuildPlatform, An as MacosWindow, Ar as SimulatorOptions, At as ErrorCode, B as CAPABILITIES, Bn as NotificationSuppression, Br as VIDEO_ARTWORK, Bt as FramesSeekParams, C as BuildJobParams, Cn as MachineDetails, Cr as ServerUpdateOutcome, Ct as DesktopWorktreeWarmProgressEvent, D as BuildOfferResult, Dn as MachineUpdateStatus, Dr as ServerUpdateStatus, Dt as DeviceUsageSeries, E as BuildOfferParams, En as MachineHistoryParams, Er as ServerUpdateStartParams, Et as DevicePosture, F as BuildSwiftpmArtifactQuery, Fn as NOTIFICATION_LEVELS, Fr as TouchPhase, Ft as Feature, G as ControlBeginParams, Gn as PROTOCOL_SCHEMA_FILE, Gr as VIDEO_UNFOLDED, Gt as HelloResult, H as CachedBuildArtifact, Hn as NotificationsListParams, Hr as VIDEO_FOLDED, Ht as FramesSubscribeResult, I as BuildSyncParams, In as NOTIFICATION_SUPPRESSIONS, Ir as UnsubscribeParams, It as FrameDelayedEvent, J as ControlEndedEvent, Jn as PUSH_TOKEN_PATTERN, Jr as WorkspaceDiff, Jt as INPUT_KEYS, K as ControlBeginResult, Kn as PROTOCOL_VERSION, Kr as VideoCodec, Kt as HostedSessionRow, L as BuildSyncResult, Ln as NotificationEntry, Lr as UsageHistory, Lt as FrameEvent, M as BuildReactNativeArtifactQuery, Mn as MemoryPressure, Mr as StatusEvent, Mt as FEATURES, N as BuildStartParams, Nn as Method, Nr as SubscribeResult, Nt as FRAME_EDGE, O as BuildPlanParams, On as MachineUsage, Or as SettingsResult, Ot as DuoFramePose, P as BuildStimIdentity, Pn as Methods, Pr as TOUCH_PHASES, Pt as FRAME_FPS, Q as DesktopBootstrapChallenge, Qn as ProtocolError, Qr as WorkspaceParams, Qt as InputKeyParams, R as BuildToolchain, Rn as NotificationEvent, Rr as UsageSample, Rt as FrameTarget, S as BuildJobOutcome, Sn as METHODS, Sr as ServerResponse, St as DesktopWorktreeWarmEndedEvent, T as BuildMachineReport, Tn as MachineHistory, Tr as ServerUpdateProgress, Tt as DeviceFrameEvent, U as Capability, Un as NotificationsListResult, Ur as VIDEO_HEADER_VERSION, Ut as GradleOffloadInputs, V as CONTROL_END_REASONS, Vn as NotificationTarget, Vr as VIDEO_CODECS, Vt as FramesSeekResult, W as ClientRequest, Wn as PLATFORMS, Wr as VIDEO_KEYFRAME, Wt as HelloParams, X as DEVICE_HOST_METHODS, Xn as PlatformBuildOptions, Xr as WorkspaceFile, Xt as InputButtonParams, Y as ControlPlatform, Yn as Platform, Yr as WorkspaceEvent, Yt as InputButton, Z as DEVICE_POSTURES, Zn as PlatformRunOptions, Zr as WorkspaceFiles, Zt as InputKey, _ as BuildCapacity, _n as LogsEndedEvent, _r as RotateDirection, _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 ServerEvent, 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 ReplayKeyframeParams, dt as DesktopReportTarget, ei as WorkspaceRef, en as InputRotateParams, er as PushRegisterParams, et as DesktopBuildProgressEvent, f as BUILD_RUBY_VERSION_PATTERN, fn as LegacyPushEvent, fr as ReplayMarker, ft as DesktopRunEndedEvent, g as BuildAttachResult, gn as LogSource, gr as RequestId, gt as DesktopStartEndedEvent, h as BuildArtifactResult, hn as LogRecord, hr as ReplayTarget, ht as DesktopSettingsWriteResult, i as ActionParams, in as InputTouchParams, ir as REPLAY_RATES, it as DesktopMachineAccessEndedEvent, j as BuildProgressEvent, jn as MacosWindowsEvent, jr as StatsResult, jt as ErrorEvent, k as BuildPlanResult, kn as MachineVolume, kr as SimulatorCommand, kt as ERROR_CODES, l as ArchivedListResult, ln as LEGACY_PUSH_EVENTS, lr as ReplayEndedEvent, lt as DesktopReportEvent, m as BuildArtifactIdentity, mn as LogLevel, mr as ReplaySpan, mt as DesktopSettingsWriteParams, n as ARCHIVED_PAGE_LIMIT, ni as WorkspacesSnapshot, 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 ReplayRange, pt as DesktopRunProgressEvent, q as ControlEndParams, qn as PUSH_EVENTS, qr as VideoPacket, qt as INPUT_BUTTONS, r as ActionName, 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 WorkspacesEvent, tn as InputScrollParams, tr as QuietHours, tt as DesktopGcEndedEvent, u as BUILD_METHODS, un as LOG_LEVELS, ur as ReplayKeyframe, ut as DesktopReportSnapshot, v as BuildClientSummary, vn as LogsEvent, vr as SERVER_UPDATE_METHODS, vt as DesktopStopEndedEvent, w as BuildMachineCapacity, wn as MachineEvent, wr as ServerUpdatePackage, wt as DeviceFrameArtwork, x as BuildGradleArtifactQuery, xn as MAX_LOG_TAIL, xr as ServerMessage, xt as DesktopWorktreeRemoveProgressEvent, y as BuildFile, yn as LogsQueryResult, yr as ServeRoute, yt as DesktopStopProgressEvent, z as BuildsHistoryResult, zn as NotificationLevel, zr as UsageSeries, zt as FramesLiveParams } from "./protocol-XMSnfmrX.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, 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,16 +31,23 @@ 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-ports` is `device-host.metro.ports`, which names the listed ports that already accept loopback
35
+ * connections on the host, apart from the requesting client's own dev-client bridges.
34
36
  * `native-xcode-build` accepts native Xcode provider requests with a separate source-transfer identity.
35
37
  * `native-xcode-toolchain` accepts native Xcode discovery without unrelated platform or Ruby probes.
36
38
  * `build-artifact-cache` offers and fetches exact completed native Xcode archives without a build job.
37
39
  * `native-gradle-build` accepts declared Gradle transfer inputs with no reusable artifact identity.
38
40
  * `native-gradle-artifact-cache` applies caller cache policy to verified worker-scoped APK reuse.
39
41
  * `react-native-peer-cache` offers development archives with build-proven fingerprints, options and toolchains.
42
+ * `fingerprint-sources` accepts `fingerprintSources` on `build.start`, so a fingerprint mismatch names the differing sources.
43
+ * `fingerprint-ignored` accepts `fingerprintIgnored` on `build.start`, the paths the caller's git ignored that the machine's git cannot.
44
+ * `fingerprint-tracked` accepts `fingerprintTracked` on `build.start`, the top-level entries the caller's git tracks although an ignore pattern matches them.
40
45
  * `native-gradle-peer-cache` queries and fetches completed APKs after rechecking worker-private inputs.
41
46
  * `swiftpm-peer-cache` queries and fetches completed SwiftPM apps after rechecking worker-private inputs.
42
47
  * `build-dependency-cache` checks dependency warmth against the requested project and install selection.
43
48
  * `server-update` is `server.update.status`, `server.update.start` and `server.update.chunk`.
49
+ * `build-compat` accepts `compat` on `build.start`, and in place of `stimBuild` in React Native and SwiftPM artifact
50
+ * queries.
44
51
  * `status-views` is `workspaces.subscribe`, `workspace.subscribe`, `machine.subscribe`, `builds.history`,
45
52
  * `archived.list`, `worktrees.list` and `maintenance.get`.
46
53
  * `desktop-reports` serves cached doctor/GC reports to the authenticated local Desktop connection.
@@ -82,11 +89,16 @@ const FEATURES = [
82
89
  "native-gradle-artifact-cache",
83
90
  "native-gradle-peer-cache",
84
91
  "react-native-peer-cache",
92
+ "fingerprint-sources",
93
+ "fingerprint-ignored",
94
+ "fingerprint-tracked",
85
95
  "swiftpm-peer-cache",
86
96
  "build-dependency-cache",
87
97
  "hosted-android-data",
88
98
  "hosted-android-process",
99
+ "hosted-metro-ports",
89
100
  "server-update",
101
+ "build-compat",
90
102
  "status-views",
91
103
  "desktop-reports",
92
104
  "desktop-report-platform",
@@ -189,6 +201,7 @@ const METHODS = [
189
201
  "device-host.app.attach",
190
202
  "device-host.logs.query",
191
203
  "device-host.metro.open",
204
+ "device-host.metro.ports",
192
205
  "device-host.metro.close",
193
206
  "device-host.frames.subscribe",
194
207
  "device-host.frames.keyframe",
@@ -244,6 +257,7 @@ const DEVICE_HOST_METHODS = [
244
257
  "device-host.app.attach",
245
258
  "device-host.logs.query",
246
259
  "device-host.metro.open",
260
+ "device-host.metro.ports",
247
261
  "device-host.metro.close",
248
262
  "device-host.frames.subscribe",
249
263
  "device-host.frames.keyframe",
package/dist/state.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as ReadStatsResult, $a as readHostedAppMetadata, $c as isPathPrefix, $i as HostedDevicePlatform, $l as parseNdjsonText, $n as StatusIssueCode, $o as recordingEnabled, $r as unreadableHostedIos, $s as openLogDir, $t as AndroidDeviceState, A as readLogsSince, Aa as HostedAppLaunch, Ac as readEasSessionLedger, Ai as buildDiagnostics, Al as tryAcquireBuildSlotClaim, An as GitChipPart, Ao as isLayeredSetting, Ar as readArchives, As as serverSetupDir, At as StatusCacheEntry, B as HOSTED_METRO_REQUESTS_KEY, Ba as parseHostedMacosDevice, Bc as createDebugLog, Bi as readWarmRecord, Bl as agentDeviceUsageFile, Bn as NATIVE_BUILD_STEPS, Bo as RecordedDevice, Br as MaintenanceSize, Bs as workspaceBuildDetailFile, Bt as readDiskUsageFailure, C as HOSTED_LOGS_PAGE_BYTES, Ca as HOSTED_AGENT_DRIVERS, Cc as tailRead, Ci as MAINTENANCE_LOG_NAME, Cl as parseMachineCredential, Cn as DeviceLeaseState, Co as TUNNEL_MODES, Cr as ArchivedWorkspace, Cs as maintenanceChildLogFile, Ct as DeviceViewersRecord, D as hostedNativeLogsDir, Da as HostedAgentGrant, Dc as EasSessionClaim, Di as WORKSPACE_AGENT_KEY, Dl as buildSlotsDir, Dn as EnvironmentDisk, Do as acceptsShape, Dr as readArchive, Ds as maintenanceStateFile, Dt as AgentSessionsCache, E as hostedMacosLogsDir, Ea as HostedAgentDriverName, Ec as CreatedDevices, Ei as WARM_KEY, El as buildSlotPath, En as EndedAgentSession, Eo as WebViewport, Er as linkReplacedArchives, Es as maintenanceRunClaims, Et as stimBuildDigest, F as endpoint, Fa as hostedMacosAppSlot, Fc as readStateFile, Fi as readDevServerStopRequest, Fl as SwiftpmCacheUsage, Fn as MachineOwnerKind, Fo as runId, Fr as MaintenanceCheck, Fs as sharedPods, Ft as listStatusCacheEntries, G as DeviceHostMachineCredential, Ga as HostedAppOffer, Gc as buildWorkerRoot, Gi as DeviceHostLimits, Gl as AgentTarget, Gn as PlannedPhase, Go as footageDrops, Gr as readMaintenanceAttempt, Gs as workspaceLogErrorIndex, Gt as ACTIVITY_RECENCY_BASES, H as HostedMetroRequest, Ha as HOSTED_APP_CHUNK_BYTES, Hc as debugLoggingEnabled, Hi as readWorkspaceState, Hl as readAgentDeviceUsageCache, Hn as PHYSICAL_DEVICE_CONNECTIONS, Ho as RecordingPlatform, Hr as MaintenanceStatus, Hs as workspaceEndedAgentsFile, Ht as readPullRequestCache, I as findPeer, Ia as hostedMacosBundleId, Ic as withStateReadCache, Ii as readDeviceIdleShutdowns, Il as readSwiftpmCacheUsage, In as MachineUsageState, Io as validRunId, Ir as MaintenanceMode, Is as statsFile, It as pullRequestCacheFile, J as CAPACITY_REFUSAL_LIMIT, Ja as hostedAppAttempt, Jc as getConcurrencyLimits, Ji as HostedAndroidDevice, Jl as LEVELS, Jn as STATUS_ISSUE_CODES, Jo as listSegments, Jr as HostedIosStatus, Js as workspaceRecordingsDir, Jt as ActiveBuildState, K as readDeviceHostMachines, Ka as HostedAppRecord, Kc as configCorruptRepair, Ki as HOSTED_PARKED_CANDIDATES, Kl as createAgentActionReader, Kn as RemoteDeviceState, Ko as listRecordedDevices, Kr as readMaintenanceState, Ks as workspaceLogsDir, Kt as AGENT_TOOLS, L as machineEndpoint, La as parseHostedAgentAccess, Lc as readHomeIdentity, Li as readDevicePlacement, Ll as swiftpmCacheUsageFile, Ln as MacosBuildPlanPayload, Lo as RECORDING_CAP_BYTES, Lr as MaintenancePass, Ls as supervisorLogFile, Lt as readAgentSessionsCache, M as TAILNET_MACHINE_PATTERN, Ma as HostedMacosDevice, Mc as isJsonObject, Mi as parseMissReason, Ml as SimRuntimeUsage, Mn as MACHINE_OWNER_KINDS, Mo as settingDefinition, Mr as DiskPressureLevel, Ms as sharedCcache, Mt as diskUsageCacheFile, N as TailnetPeer, Na as HostedMacosPlacement, Nc as readJsonFile, Ni as readBuildHistory, Nl as machineCacheUsageFile, Nn as MEMORY_SOURCES, No as settingValueError, Nr as MaintenanceAction, Ns as sharedCompilationCache, Nt as diskUsageFailureFile, O as parseHostedLogsCursor, Oa as HostedAgentIssuedGrant, Oc as EasSessionLedgerRead, Oi as WarmRecord, Ol as machineCapacity, On as EnvironmentState, Oo as coerceSettingText, Or as readArchiveAsync, Os as pullRequestCacheDir, Ot as ENDED_AGENT_RETENTION_MS, P as cannotHost, Pa as hostedAgentDriverName, Pc as readJsonObject, Pi as readDevServerStop, Pl as readMachineCacheUsage, Pn as MachineOwner, Po as RUN_ID_ENV, Pr as MaintenanceActionKind, Ps as sharedGradle, Pt as endedAgentSessionOf, Q as PLACEMENT_DECISIONS, Qa as readHostedApp, Qc as getRepoSettings, Qi as HostedDevicePhase, Ql as parseNdjsonLine, Qn as StatusIssue, Qo as recordingDeviceName, Qr as parseHostedIosPlacement, Qs as LogDirQuery, Qt as AgentTool, R as parseMachine, Ra as parseHostedAgentGrant, Rc as DEBUG_ENV, Ri as readIdleStop, Rl as AgentDeviceUsage, Rn as MemorySource, Ro as RECORDING_FOOTAGE_MS, Rr as MaintenancePressure, Rs as supervisorPidFile, Rt as readBuildDetail, S as HOSTED_LOGS_FIRST_BYTES, Sa as readHostedSessions, Sc as sortByTs, Si as LAST_BUILD_KEYS, Sl as MachineCredential, Sn as DeviceAppProcess, So as SettingsPayload, Sr as ArchivedUsage, Ss as maintenanceAttemptFile, St as wholePhases, T as HostedLogsPage, Ta as HostedAgentAccess, Tc as CreatedDevicePlatform, Ti as READY_PHASE_MS, Tl as MachineCapacity, Tn as DiskMeasure, To as WEB_VIEWPORTS, Tr as archivedUsage, Ts as maintenanceNdjsonFile, Tt as readViewedDevices, U as hostedMetroGateways, Ua as HostedAppDelivery, Uc as ParkedMax, Ui as workspaceLastUsed, Ul as AgentActionReaderOptions, Un as PhysicalDeviceConnection, Uo as capDrops, Ur as MemoryCulprit, Us as workspaceEndedAgentsLock, Ut as withDerivedFacts, V as HostedMetroGateway, Va as parseHostedMacosPlacement, Vc as debugLogDir, Vi as readWorkspaceAgent, Vl as readAgentDeviceUsage, Vn as NativeBuildStep, Vo as RecordedSegment, Vr as MaintenanceState, Vs as workspaceDerivedData, Vt as readEndedAgentSessions, W as hostedMetroRequests, Wa as HostedAppFile, Wc as allMetroPorts, Wi as DEVICE_HOST_LIMITS, Wl as AgentRecordSelection, Wn as PhysicalDeviceState, Wo as closedSegmentName, Wr as parseMaintenanceState, Ws as workspaceGradleBuild, Wt as withGitChip, X as HISTORY_LIMIT, Xa as parseHostedAppManifest, Xc as getProject, Xi as HostedDeviceOffer, Xl as SOURCES, Xn as StatsPlatform, Xo as openSegmentName, Xr as hostedIosRecords, Xs as workspaceStateLock, Xt as ActivityRecencyBasis, Y as CAPACITY_REFUSAL_MAX_AGE_MS, Ya as hostedAppBlobs, Yc as getParkedMax, Yi as HostedDevice, Yl as NdjsonRecord, Yn as SimulatorState, Yo as listSegmentsAsync, Yr as hostedIosPlacements, Ys as workspaceStateFile, Yt as ActivityDriver, Z as OffloadSummary, Za as parseHostedAppOffer, Zc as getProjectSettings, Zi as HostedDeviceOfferRequest, Zl as levelRank, Zn as StatusCapacity, Zo as recordedBytes, Zr as hostedIosStatus, Zs as LogDir, Zt as AgentSession, _ as isSetupJournalPrunable, _a as parseHostedOfferRequest, _c as queryJsonLogs, _i as DevServerStopRecord, _l as StimConfig, _n as BuildReport, _o as SettingDefinition, _r as macosAppState, _s as easSessionLedgerFile, _t as readStatsReport, a as MachineView, aa as HostedNativeOffer, ac as advanceTail, ai as hostedAndroidStatus, al as AutomaticPoolRole, an as BuildCacheHit, ao as settingsJsonSchema, ar as WarmStep, as as buildMachinesLock, at as StatsCapacityRefusal, b as agentDeviceStateDirs, ba as readHostedDevice, bc as readLogTimeline, bi as IDLE_STOP_KEY, bl as BuildMachineCredential, bn as ChecksState, bo as SettingType, br as readMacosRecord, bs as getConfigPath, bt as trimCapacityWaits, c as SummaryBuild, ca as deviceHostRoot, cc as bundleMarkerPlatform, ci as HostedNativePlacement, cl as validateAutomaticPool, cn as BuildDiagnostic, co as ANDROID_PCH_CHOICES, cr as WorkspacePhase, cs as createdDevicesFile, ct as StatsRecord, d as WorktreeRow, da as hostedWorkerSettleMs, dc as followLogs, di as unreadableHostedNative, dl as DeviceRecord, dn as BuildMissChange, do as OffloadMode, dr as WorktreeGit, ds as deviceHostMachinesFile, dt as decodeStats, ea as HostedDeviceRequest, ec as ERROR_SOURCES, ei as HostedAndroidPlacement, el as loadConfig, en as AndroidRuntimeFacts, eo as rememberHostedAppBlobRename, er as StatusPayload, es as agentSessionsCacheFile, et as RunEstimates, eu as readNdjsonGenerations, f as statusViews, fa as parseHostedAndroidDevice, fc as isExpoErrorContext, fi as BUILD_HISTORY_KEY, fl as DoctorRunRecord, fn as BuildMissReason, fo as REMOTE_DEVICE_BACKENDS, fr as WorktreePullRequest, fs as deviceHostMachinesLock, ft as findProjectRoot, g as isJournalExpired, ga as parseHostedNativeOffer, gc as planLogQuery, gi as DEV_SERVER_STOP_REQUEST_KEY, gl as SettingsObject, gn as BuildPlatform, go as SETTING_SCOPES, gr as MacosProcess, gs as easMachineStateRoot, gt as readStats, h as SetupJournal, ha as parseHostedLocalDeviceCount, hc as parseSince, hi as DEVICE_RECLAIM_REASON, hl as RepoRecord, hn as BuildPlanPayload, ho as SETTING_GROUPS, hr as MacosBuild, hs as diskUsageWalkClaims, ht as readRunEstimates, i as ArchivedSummary, ia as HostedIosDevice, ic as QueryCriteria, ii as hostedAndroidRecords, il as withConfigLockAsync, in as BuildActivity, io as SETTINGS_SCHEMA_URL, ir as WORKSPACE_STAGE_KINDS, is as buildMachinesFile, it as StatsBucket, j as Endpoint, ja as HostedMacosChoice, jc as validEasSessionClaim, ji as lastUseFrom, jl as MachineCacheUsage, jn as LastBuildReport, jo as isSensitiveReference, jr as readArchivesAsync, js as setupJournalFile, jt as agentSessionOf, k as readHostedNativeLogsCheckpoint, ka as HostedAgentLease, kc as readCreatedDevices, ki as WorkspaceState, kl as saturation, kn as GitChip, ko as expectedShape, kr as readArchiveState, ks as serverLocalSocket, kt as PullRequestCacheEntry, l as SummaryHistoryEntry, la as hostedConsolePort, lc as compileGrep, li as hostedNativeRecords, ll as ConcurrencyLimits, ln as BuildHistoryEntry, lo as IOS_SIMULATOR_APPS, lr as WorkspaceStage, ls as createdDevicesLock, lt as StatsReport, m as SetupCapability, ma as parseHostedDevice, mc as markerWindow, mi as DEVICE_IDLE_SHUTDOWN_KEY, ml as ProjectRecord, mn as BuildPlacement, mo as SETTINGS, mr as MacosAppState, ms as diskUsageCacheDir, mt as projectRootDirectories, n as KeyedEntities, na as HostedDeviceSession, nc as LogQueryPlan, ni as hostedAndroidDeviceName, nl as windowsShortDirKey, nn as BUILD_PHASES, no as validHostedAppBlob, nr as WEB_PAGE_STATES, ns as archiveLock, nt as RunSample, o as SUMMARY_ARCHIVES, oa as assertHostedDeviceLedger, oc as attachExpoErrorContext, oi as parseHostedAndroidPlacement, ol as automaticMachineEnabled, on as BuildCause, oo as ANDROID_COMPILER_CACHE_CHOICES, or as WebBrowserState, os as clientIdentityKeyFile, ot as StatsCapacityWait, p as workspaceSummary, pa as parseHostedChoice, pc as logFiles, pi as BUILD_HISTORY_LIMIT, pl as PlatformRecords, pn as BuildPhase, po as RemoteDeviceBackend, pr as MacosAppRecord, ps as deviceViewersDir, pt as offloadSummary, q as BuildMachineTotals, qa as hostedAppArea, qc as findEnclosingWorktreeRoot, qi as HostedAndroidChoice, ql as createAsyncAgentActionReader, qn as RunOutcomeKind, qo as listRecordedDevicesAsync, qr as HostedIosPlacement, qs as workspaceMetadataFile, qt as APP_PROCESS_STATES, r as applyKeyedDelta, ra as HostedIosChoice, rc as NATIVE_CRASH_LOG_PREFIX, ri as hostedAndroidPlacements, rl as withConfigLock, rn as BUILD_RESULTS, ro as SETTINGS_SCHEMA_FILE, rr as WORKSPACE_PHASES, rs as archiveRoot, rt as STATS_VERSION, s as StatusViews, sa as deviceHostArea, sc as buildCriteria, si as unreadableHostedAndroid, sl as requireAutomaticMachine, sn as BuildDetail, so as ANDROID_EMULATOR_APPS, sr as WebPageState, ss as configLockPath, st as StatsPlacement, t as KeyedDelta, ta as HostedDeviceSelectors, tc as LogQueryOptions, ti as HostedAndroidStatus, tl as windowsShortDir, tn as AppPresence, to as validHostedAppArguments, tr as TUTORIAL_VERSION, ts as archiveDir, tt as RunHistory, u as WorkspaceSummary, ua as hostedDeviceId, uc as fileSizes, ui as parseHostedNativePlacement, ul as Config, un as BuildMissCategory, uo as OFFLOAD_MODES, ur as WorktreeFacts, us as deviceHostMachinesClaims, ut as StatsScope, v as parseSetupJournal, va as parseHostedPlatformDevice, vc as queryLogs, vi as DevServerStopRequest, vl as SupervisorRecord, vn as BuildResult, vo as SettingEntry, vr as parseMacosRecord, vs as easSessionLedgerLock, vt as statsProjectKey, w as HostedLogsCursor, wa as HOSTED_MACOS_APP_SLOTS, wc as countErrorEntries, wi as MetroLastStop, wl as readBuildMachines, wn as DevicePlacement, wo as TunnelMode, wr as archiveEnabled, ws as maintenanceDir, wt as ViewedDevice, x as agentDeviceStateDirsAsync, xa as readHostedDeviceLedger, xc as recordMatches, xi as IdleStopRecord, xl as MACHINE_CREDENTIALS_VERSION, xn as DeviceActivity, xo as SettingWriteResult, xr as ArchivedBytes, xs as gitMergeCacheDir, xt as trimSamples, y as readSetupJournal, ya as parseHostedRequest, yc as readLogRecords, yi as DeviceIdleShutdownRecord, yl as clientIdentity, yn as BuildWaitingFor, yo as SettingScope, yr as readHostedMacosApp, ys as emulatorLogFile, yt as trimCapacityRefusals, z as HOSTED_METRO_GATEWAYS_KEY, za as parseHostedMacosChoice, zc as DebugLog, zi as readLastBuilds, zl as AgentDeviceUsageRoots, zn as MetroBundleState, zo as RECORDING_PLATFORMS, zr as MaintenanceRecord, zs as workspaceAgentDeviceDir, zt as readDiskUsage } from "./index-DKq1j8dw.mjs";
2
- export { ACTIVITY_RECENCY_BASES, AGENT_TOOLS, ANDROID_COMPILER_CACHE_CHOICES, ANDROID_EMULATOR_APPS, ANDROID_PCH_CHOICES, APP_PROCESS_STATES, ActiveBuildState, ActivityDriver, ActivityRecencyBasis, AgentActionReaderOptions, AgentDeviceUsage, AgentDeviceUsageRoots, AgentRecordSelection, AgentSession, AgentSessionsCache, AgentTarget, AgentTool, AndroidDeviceState, AndroidRuntimeFacts, AppPresence, ArchivedBytes, ArchivedSummary, ArchivedUsage, ArchivedWorkspace, AutomaticPoolRole, BUILD_HISTORY_KEY, BUILD_HISTORY_LIMIT, BUILD_PHASES, BUILD_RESULTS, BuildActivity, BuildCacheHit, BuildCause, BuildDetail, BuildDiagnostic, BuildHistoryEntry, BuildMachineCredential, BuildMachineTotals, BuildMissCategory, BuildMissChange, BuildMissReason, BuildPhase, BuildPlacement, BuildPlanPayload, BuildPlatform, BuildReport, BuildResult, BuildWaitingFor, CAPACITY_REFUSAL_LIMIT, CAPACITY_REFUSAL_MAX_AGE_MS, ChecksState, ConcurrencyLimits, Config, CreatedDevicePlatform, CreatedDevices, DEBUG_ENV, DEVICE_HOST_LIMITS, DEVICE_IDLE_SHUTDOWN_KEY, DEVICE_RECLAIM_REASON, DEV_SERVER_STOP_REQUEST_KEY, DebugLog, DevServerStopRecord, DevServerStopRequest, DeviceActivity, DeviceAppProcess, DeviceHostLimits, DeviceHostMachineCredential, DeviceIdleShutdownRecord, DeviceLeaseState, DevicePlacement, DeviceRecord, DeviceViewersRecord, DiskMeasure, DiskPressureLevel, DoctorRunRecord, ENDED_AGENT_RETENTION_MS, ERROR_SOURCES, EasSessionClaim, EasSessionLedgerRead, EndedAgentSession, Endpoint, EnvironmentDisk, EnvironmentState, GitChip, GitChipPart, HISTORY_LIMIT, HOSTED_AGENT_DRIVERS, HOSTED_APP_CHUNK_BYTES, HOSTED_LOGS_FIRST_BYTES, HOSTED_LOGS_PAGE_BYTES, HOSTED_MACOS_APP_SLOTS, HOSTED_METRO_GATEWAYS_KEY, HOSTED_METRO_REQUESTS_KEY, HOSTED_PARKED_CANDIDATES, HostedAgentAccess, HostedAgentDriverName, HostedAgentGrant, HostedAgentIssuedGrant, HostedAgentLease, HostedAndroidChoice, HostedAndroidDevice, HostedAndroidPlacement, HostedAndroidStatus, HostedAppDelivery, HostedAppFile, HostedAppLaunch, HostedAppOffer, HostedAppRecord, HostedDevice, HostedDeviceOffer, HostedDeviceOfferRequest, HostedDevicePhase, HostedDevicePlatform, HostedDeviceRequest, HostedDeviceSelectors, HostedDeviceSession, HostedIosChoice, HostedIosDevice, HostedIosPlacement, HostedIosStatus, HostedLogsCursor, HostedLogsPage, HostedMacosChoice, HostedMacosDevice, HostedMacosPlacement, HostedMetroGateway, HostedMetroRequest, HostedNativeOffer, HostedNativePlacement, IDLE_STOP_KEY, IOS_SIMULATOR_APPS, IdleStopRecord, KeyedDelta, KeyedEntities, LAST_BUILD_KEYS, LEVELS, LastBuildReport, LogDir, LogDirQuery, LogQueryOptions, LogQueryPlan, MACHINE_CREDENTIALS_VERSION, MACHINE_OWNER_KINDS, MAINTENANCE_LOG_NAME, MEMORY_SOURCES, MachineCacheUsage, MachineCapacity, MachineCredential, MachineOwner, MachineOwnerKind, MachineUsageState, MachineView, MacosAppRecord, MacosAppState, MacosBuild, MacosBuildPlanPayload, MacosProcess, MaintenanceAction, MaintenanceActionKind, MaintenanceCheck, MaintenanceMode, MaintenancePass, MaintenancePressure, MaintenanceRecord, MaintenanceSize, MaintenanceState, MaintenanceStatus, MemoryCulprit, MemorySource, MetroBundleState, MetroLastStop, NATIVE_BUILD_STEPS, NATIVE_CRASH_LOG_PREFIX, NativeBuildStep, NdjsonRecord, OFFLOAD_MODES, OffloadMode, OffloadSummary, PHYSICAL_DEVICE_CONNECTIONS, PLACEMENT_DECISIONS, ParkedMax, PhysicalDeviceConnection, PhysicalDeviceState, PlannedPhase, PlatformRecords, ProjectRecord, PullRequestCacheEntry, QueryCriteria, READY_PHASE_MS, RECORDING_CAP_BYTES, RECORDING_FOOTAGE_MS, RECORDING_PLATFORMS, REMOTE_DEVICE_BACKENDS, RUN_ID_ENV, ReadStatsResult, RecordedDevice, RecordedSegment, RecordingPlatform, RemoteDeviceBackend, RemoteDeviceState, RepoRecord, RunEstimates, RunHistory, RunOutcomeKind, RunSample, SETTINGS, SETTINGS_SCHEMA_FILE, SETTINGS_SCHEMA_URL, SETTING_GROUPS, SETTING_SCOPES, SOURCES, STATS_VERSION, STATUS_ISSUE_CODES, SUMMARY_ARCHIVES, SettingDefinition, SettingEntry, SettingScope, SettingType, SettingWriteResult, SettingsObject, SettingsPayload, SetupCapability, SetupJournal, SimRuntimeUsage, SimulatorState, StatsBucket, StatsCapacityRefusal, StatsCapacityWait, StatsPlacement, StatsPlatform, StatsRecord, StatsReport, StatsScope, StatusCacheEntry, StatusCapacity, StatusIssue, StatusIssueCode, StatusPayload, StatusViews, StimConfig, SummaryBuild, SummaryHistoryEntry, SupervisorRecord, SwiftpmCacheUsage, TAILNET_MACHINE_PATTERN, TUNNEL_MODES, TUTORIAL_VERSION, TailnetPeer, TunnelMode, ViewedDevice, WARM_KEY, WEB_PAGE_STATES, WEB_VIEWPORTS, WORKSPACE_AGENT_KEY, WORKSPACE_PHASES, WORKSPACE_STAGE_KINDS, WarmRecord, WarmStep, WebBrowserState, WebPageState, WebViewport, WorkspacePhase, WorkspaceStage, WorkspaceState, WorkspaceSummary, WorktreeFacts, WorktreeGit, WorktreePullRequest, WorktreeRow, acceptsShape, advanceTail, agentDeviceStateDirs, agentDeviceStateDirsAsync, agentDeviceUsageFile, agentSessionOf, agentSessionsCacheFile, allMetroPorts, applyKeyedDelta, archiveDir, archiveEnabled, archiveLock, archiveRoot, archivedUsage, assertHostedDeviceLedger, attachExpoErrorContext, automaticMachineEnabled, buildCriteria, buildDiagnostics, buildMachinesFile, buildMachinesLock, buildSlotPath, buildSlotsDir, buildWorkerRoot, bundleMarkerPlatform, cannotHost, capDrops, clientIdentity, clientIdentityKeyFile, closedSegmentName, coerceSettingText, compileGrep, configCorruptRepair, configLockPath, countErrorEntries, createAgentActionReader, createAsyncAgentActionReader, createDebugLog, createdDevicesFile, createdDevicesLock, debugLogDir, debugLoggingEnabled, decodeStats, deviceHostArea, deviceHostMachinesClaims, deviceHostMachinesFile, deviceHostMachinesLock, deviceHostRoot, deviceViewersDir, diskUsageCacheDir, diskUsageCacheFile, diskUsageFailureFile, diskUsageWalkClaims, easMachineStateRoot, easSessionLedgerFile, easSessionLedgerLock, emulatorLogFile, endedAgentSessionOf, endpoint, expectedShape, fileSizes, findEnclosingWorktreeRoot, findPeer, findProjectRoot, followLogs, footageDrops, getConcurrencyLimits, getConfigPath, getParkedMax, getProject, getProjectSettings, getRepoSettings, gitMergeCacheDir, hostedAgentDriverName, hostedAndroidDeviceName, hostedAndroidPlacements, hostedAndroidRecords, hostedAndroidStatus, hostedAppArea, hostedAppAttempt, hostedAppBlobs, hostedConsolePort, hostedDeviceId, hostedIosPlacements, hostedIosRecords, hostedIosStatus, hostedMacosAppSlot, hostedMacosBundleId, hostedMacosLogsDir, hostedMetroGateways, hostedMetroRequests, hostedNativeLogsDir, hostedNativeRecords, hostedWorkerSettleMs, isExpoErrorContext, isJournalExpired, isJsonObject, isLayeredSetting, isPathPrefix, isSensitiveReference, isSetupJournalPrunable, lastUseFrom, levelRank, linkReplacedArchives, listRecordedDevices, listRecordedDevicesAsync, listSegments, listSegmentsAsync, listStatusCacheEntries, loadConfig, logFiles, machineCacheUsageFile, machineCapacity, machineEndpoint, macosAppState, maintenanceAttemptFile, maintenanceChildLogFile, maintenanceDir, maintenanceNdjsonFile, maintenanceRunClaims, maintenanceStateFile, markerWindow, offloadSummary, openLogDir, openSegmentName, parseHostedAgentAccess, parseHostedAgentGrant, parseHostedAndroidDevice, parseHostedAndroidPlacement, parseHostedAppManifest, parseHostedAppOffer, parseHostedChoice, parseHostedDevice, parseHostedIosPlacement, parseHostedLocalDeviceCount, parseHostedLogsCursor, parseHostedMacosChoice, parseHostedMacosDevice, parseHostedMacosPlacement, parseHostedNativeOffer, parseHostedNativePlacement, parseHostedOfferRequest, parseHostedPlatformDevice, parseHostedRequest, parseMachine, parseMachineCredential, parseMacosRecord, parseMaintenanceState, parseMissReason, parseNdjsonLine, parseNdjsonText, parseSetupJournal, parseSince, planLogQuery, projectRootDirectories, pullRequestCacheDir, pullRequestCacheFile, queryJsonLogs, queryLogs, readAgentDeviceUsage, readAgentDeviceUsageCache, readAgentSessionsCache, readArchive, readArchiveAsync, readArchiveState, readArchives, readArchivesAsync, readBuildDetail, readBuildHistory, readBuildMachines, readCreatedDevices, readDevServerStop, readDevServerStopRequest, readDeviceHostMachines, readDeviceIdleShutdowns, readDevicePlacement, readDiskUsage, readDiskUsageFailure, readEasSessionLedger, readEndedAgentSessions, readHomeIdentity, readHostedApp, readHostedAppMetadata, readHostedDevice, readHostedDeviceLedger, readHostedMacosApp, readHostedNativeLogsCheckpoint, readHostedSessions, readIdleStop, readJsonFile, readJsonObject, readLastBuilds, readLogRecords, readLogTimeline, readLogsSince, readMachineCacheUsage, readMacosRecord, readMaintenanceAttempt, readMaintenanceState, readNdjsonGenerations, readPullRequestCache, readRunEstimates, readSetupJournal, readStateFile, readStats, readStatsReport, readSwiftpmCacheUsage, readViewedDevices, readWarmRecord, readWorkspaceAgent, readWorkspaceState, recordMatches, recordedBytes, recordingDeviceName, recordingEnabled, rememberHostedAppBlobRename, requireAutomaticMachine, runId, saturation, serverLocalSocket, serverSetupDir, settingDefinition, settingValueError, settingsJsonSchema, setupJournalFile, sharedCcache, sharedCompilationCache, sharedGradle, sharedPods, sortByTs, statsFile, statsProjectKey, statusViews, stimBuildDigest, supervisorLogFile, supervisorPidFile, swiftpmCacheUsageFile, tailRead, trimCapacityRefusals, trimCapacityWaits, trimSamples, tryAcquireBuildSlotClaim, unreadableHostedAndroid, unreadableHostedIos, unreadableHostedNative, validEasSessionClaim, validHostedAppArguments, validHostedAppBlob, validRunId, validateAutomaticPool, wholePhases, windowsShortDir, windowsShortDirKey, withConfigLock, withConfigLockAsync, withDerivedFacts, withGitChip, withStateReadCache, workspaceAgentDeviceDir, workspaceBuildDetailFile, workspaceDerivedData, workspaceEndedAgentsFile, workspaceEndedAgentsLock, workspaceGradleBuild, workspaceLastUsed, workspaceLogErrorIndex, workspaceLogsDir, workspaceMetadataFile, workspaceRecordingsDir, workspaceStateFile, workspaceStateLock, workspaceSummary };
1
+ import { $ as ReadStatsResult, $a as readHostedAppMetadata, $c as getProjectSettings, $i as HostedDevicePlatform, $l as levelRank, $n as StatusIssueCode, $o as recordingEnabled, $r as unreadableHostedIos, $s as LogDirQuery, $t as AndroidDeviceState, A as readLogsSince, Aa as HostedAppLaunch, Ac as EasSessionLedgerRead, Ai as buildDiagnostics, Al as machineCapacity, An as GitChipPart, Ao as isLayeredSetting, Ar as readArchives, As as serverSetupDir, At as StatusCacheEntry, B as HOSTED_METRO_REQUESTS_KEY, Ba as parseHostedMacosDevice, Bc as DEBUG_ENV, Bi as readWarmRecord, Bl as AgentDeviceUsage, Bn as NATIVE_BUILD_STEPS, Bo as RecordedDevice, Br as MaintenanceSize, Bs as workspaceAgentDeviceDir, Bt as readDiskUsageFailure, C as HOSTED_LOGS_PAGE_BYTES, Ca as HOSTED_AGENT_DRIVERS, Cc as recordMatches, Ci as MAINTENANCE_LOG_NAME, Cl as MACHINE_CREDENTIALS_VERSION, Cn as DeviceLeaseState, Co as TUNNEL_MODES, Cr as ArchivedWorkspace, Cs as maintenanceChildLogFile, Ct as DeviceViewersRecord, D as hostedNativeLogsDir, Da as HostedAgentGrant, Dc as CreatedDevicePlatform, Di as WORKSPACE_AGENT_KEY, Dl as MachineCapacity, Dn as EnvironmentDisk, Do as acceptsShape, Dr as readArchive, Ds as maintenanceStateFile, Dt as AgentSessionsCache, E as hostedMacosLogsDir, Ea as HostedAgentDriverName, Ec as countErrorEntries, Ei as WARM_KEY, El as readBuildMachines, En as EndedAgentSession, Eo as WebViewport, Er as linkReplacedArchives, Es as maintenanceRunClaims, Et as stimBuildDigest, F as endpoint, Fa as hostedMacosAppSlot, Fc as readJsonFile, Fi as readDevServerStopRequest, Fl as machineCacheUsageFile, Fn as MachineOwnerKind, Fo as runId, Fr as MaintenanceCheck, Fs as sharedPods, Ft as listStatusCacheEntries, G as DeviceHostMachineCredential, Ga as HostedAppOffer, Gc as ParkedMax, Gi as DeviceHostLimits, Gl as AgentActionReaderOptions, Gn as PlannedPhase, Go as footageDrops, Gr as readMaintenanceAttempt, Gs as workspaceGradleBuild, Gt as ACTIVITY_RECENCY_BASES, H as HostedMetroRequest, Ha as HOSTED_APP_CHUNK_BYTES, Hc as createDebugLog, Hi as readWorkspaceState, Hl as agentDeviceUsageFile, Hn as PHYSICAL_DEVICE_CONNECTIONS, Ho as RecordingPlatform, Hr as MaintenanceStatus, Hs as workspaceDerivedData, Ht as readPullRequestCache, I as findPeer, Ia as hostedMacosBundleId, Ic as readJsonObject, Ii as readDeviceIdleShutdowns, Il as readMachineCacheUsage, In as MachineUsageState, Io as validRunId, Ir as MaintenanceMode, Is as statsFile, It as pullRequestCacheFile, J as CAPACITY_REFUSAL_LIMIT, Ja as hostedAppAttempt, Jc as configCorruptRepair, Ji as HostedAndroidDevice, Jl as createAgentActionReader, Jn as STATUS_ISSUE_CODES, Jo as listSegments, Jr as HostedIosStatus, Js as workspaceMetadataFile, Jt as ActiveBuildState, K as readDeviceHostMachines, Ka as HostedAppRecord, Kc as allMetroPorts, Ki as HOSTED_PARKED_CANDIDATES, Kl as AgentRecordSelection, Kn as RemoteDeviceState, Ko as listRecordedDevices, Kr as readMaintenanceState, Ks as workspaceLogErrorIndex, Kt as AGENT_TOOLS, L as machineEndpoint, La as parseHostedAgentAccess, Lc as readStateFile, Li as readDevicePlacement, Ll as SwiftpmCacheUsage, Ln as MacosBuildPlanPayload, Lo as RECORDING_CAP_BYTES, Lr as MaintenancePass, Ls as supervisorLogFile, Lt as readAgentSessionsCache, M as TAILNET_MACHINE_PATTERN, Ma as HostedMacosDevice, Mc as readEasSessionLedger, Mi as parseMissReason, Ml as tryAcquireBuildSlotClaim, Mn as MACHINE_OWNER_KINDS, Mo as settingDefinition, Mr as DiskPressureLevel, Ms as sharedCcache, Mt as diskUsageCacheFile, N as TailnetPeer, Na as HostedMacosPlacement, Nc as validEasSessionClaim, Ni as readBuildHistory, Nl as MachineCacheUsage, Nn as MEMORY_SOURCES, No as settingValueError, Nr as MaintenanceAction, Ns as sharedCompilationCache, Nt as diskUsageFailureFile, O as parseHostedLogsCursor, Oa as HostedAgentIssuedGrant, Oc as CreatedDevices, Oi as WarmRecord, Ol as buildSlotPath, On as EnvironmentState, Oo as coerceSettingText, Or as readArchiveAsync, Os as pullRequestCacheDir, Ot as ENDED_AGENT_RETENTION_MS, P as cannotHost, Pa as hostedAgentDriverName, Pc as isJsonObject, Pi as readDevServerStop, Pl as SimRuntimeUsage, Pn as MachineOwner, Po as RUN_ID_ENV, Pr as MaintenanceActionKind, Ps as sharedGradle, Pt as endedAgentSessionOf, Q as PLACEMENT_DECISIONS, Qa as readHostedApp, Qc as getProject, Qi as HostedDevicePhase, Ql as SOURCES, Qn as StatusIssue, Qo as recordingDeviceName, Qr as parseHostedIosPlacement, Qs as LogDir, Qt as AgentTool, R as parseMachine, Ra as parseHostedAgentGrant, Rc as withStateReadCache, Ri as readIdleStop, Rl as readSwiftpmCacheUsage, Rn as MemorySource, Ro as RECORDING_FOOTAGE_MS, Rr as MaintenancePressure, Rs as supervisorPidFile, Rt as readBuildDetail, S as HOSTED_LOGS_FIRST_BYTES, Sa as readHostedSessions, Sc as readLogTimeline, Si as LAST_BUILD_KEYS, Sl as BuildMachineCredential, Sn as DeviceAppProcess, So as SettingsPayload, Sr as ArchivedUsage, Ss as maintenanceAttemptFile, St as wholePhases, T as HostedLogsPage, Ta as HostedAgentAccess, Tc as tailRead, Ti as READY_PHASE_MS, Tl as parseMachineCredential, Tn as DiskMeasure, To as WEB_VIEWPORTS, Tr as archivedUsage, Ts as maintenanceNdjsonFile, Tt as readViewedDevices, U as hostedMetroGateways, Ua as HostedAppDelivery, Uc as debugLogDir, Ui as workspaceLastUsed, Ul as readAgentDeviceUsage, Un as PhysicalDeviceConnection, Uo as capDrops, Ur as MemoryCulprit, Us as workspaceEndedAgentsFile, Ut as withDerivedFacts, V as HostedMetroGateway, Va as parseHostedMacosPlacement, Vc as DebugLog, Vi as readWorkspaceAgent, Vl as AgentDeviceUsageRoots, Vn as NativeBuildStep, Vo as RecordedSegment, Vr as MaintenanceState, Vs as workspaceBuildDetailFile, Vt as readEndedAgentSessions, W as hostedMetroRequests, Wa as HostedAppFile, Wc as debugLoggingEnabled, Wi as DEVICE_HOST_LIMITS, Wl as readAgentDeviceUsageCache, Wn as PhysicalDeviceState, Wo as closedSegmentName, Wr as parseMaintenanceState, Ws as workspaceEndedAgentsLock, Wt as withGitChip, X as HISTORY_LIMIT, Xa as parseHostedAppManifest, Xc as getConcurrencyLimits, Xi as HostedDeviceOffer, Xl as LEVELS, Xn as StatsPlatform, Xo as openSegmentName, Xr as hostedIosRecords, Xs as workspaceStateFile, Xt as ActivityRecencyBasis, Y as CAPACITY_REFUSAL_MAX_AGE_MS, Ya as hostedAppBlobs, Yc as findEnclosingWorktreeRoot, Yi as HostedDevice, Yl as createAsyncAgentActionReader, Yn as SimulatorState, Yo as listSegmentsAsync, Yr as hostedIosPlacements, Ys as workspaceRecordingsDir, Yt as ActivityDriver, Z as OffloadSummary, Za as parseHostedAppOffer, Zc as getParkedMax, Zi as HostedDeviceOfferRequest, Zl as NdjsonRecord, Zn as StatusCapacity, Zo as recordedBytes, Zr as hostedIosStatus, Zs as workspaceStateLock, Zt as AgentSession, _ as isSetupJournalPrunable, _a as parseHostedOfferRequest, _c as parseSince, _i as DevServerStopRecord, _l as RepoRecord, _n as BuildReport, _o as SettingDefinition, _r as macosAppState, _s as easSessionLedgerFile, _t as readStatsReport, a as MachineView, aa as HostedNativeOffer, ac as QueryCriteria, ai as hostedAndroidStatus, al as withConfigLock, an as BuildCacheHit, ao as settingsJsonSchema, ar as WarmStep, as as buildMachinesLock, at as StatsCapacityRefusal, b as agentDeviceStateDirs, ba as readHostedDevice, bc as queryLogs, bi as IDLE_STOP_KEY, bl as SupervisorRecord, bn as ChecksState, bo as SettingType, br as readMacosRecord, bs as getConfigPath, bt as trimCapacityWaits, c as SummaryBuild, ca as deviceHostRoot, cc as buildCriteria, ci as HostedNativePlacement, cl as automaticMachineEnabled, cn as BuildDiagnostic, co as ANDROID_PCH_CHOICES, cr as WorkspacePhase, cs as createdDevicesFile, ct as StatsRecord, d as WorktreeRow, da as hostedWorkerSettleMs, dc as fileIdentity, di as unreadableHostedNative, dl as ConcurrencyLimits, dn as BuildMissChange, do as OffloadMode, dr as WorktreeGit, ds as deviceHostMachinesFile, dt as decodeStats, ea as HostedDeviceRequest, ec as openLogDir, ei as HostedAndroidPlacement, el as getRepoSettings, en as AndroidRuntimeFacts, eo as rememberHostedAppBlobRename, er as StatusPayload, es as agentSessionsCacheFile, et as RunEstimates, eu as parseNdjsonLine, f as statusViews, fa as parseHostedAndroidDevice, fc as fileSizes, fi as BUILD_HISTORY_KEY, fl as Config, fn as BuildMissReason, fo as REMOTE_DEVICE_BACKENDS, fr as WorktreePullRequest, fs as deviceHostMachinesLock, ft as findProjectRoot, g as isJournalExpired, ga as parseHostedNativeOffer, gc as markerWindow, gi as DEV_SERVER_STOP_REQUEST_KEY, gl as ProjectRecord, gn as BuildPlatform, go as SETTING_SCOPES, gr as MacosProcess, gs as easMachineStateRoot, gt as readStats, h as SetupJournal, ha as parseHostedLocalDeviceCount, hc as logFiles, hi as DEVICE_RECLAIM_REASON, hl as PlatformRecords, hn as BuildPlanPayload, ho as SETTING_GROUPS, hr as MacosBuild, hs as diskUsageWalkClaims, ht as readRunEstimates, i as ArchivedSummary, ia as HostedIosDevice, ic as NATIVE_CRASH_LOG_PREFIX, ii as hostedAndroidRecords, il as windowsShortDirKey, in as BuildActivity, io as SETTINGS_SCHEMA_URL, ir as WORKSPACE_STAGE_KINDS, is as buildMachinesFile, it as StatsBucket, j as Endpoint, ja as HostedMacosChoice, jc as readCreatedDevices, ji as lastUseFrom, jl as saturation, jn as LastBuildReport, jo as isSensitiveReference, jr as readArchivesAsync, js as setupJournalFile, jt as agentSessionOf, k as readHostedNativeLogsCheckpoint, ka as HostedAgentLease, kc as EasSessionClaim, ki as WorkspaceState, kl as buildSlotsDir, kn as GitChip, ko as expectedShape, kr as readArchiveState, ks as serverLocalSocket, kt as PullRequestCacheEntry, l as SummaryHistoryEntry, la as hostedConsolePort, lc as bundleMarkerPlatform, li as hostedNativeRecords, ll as requireAutomaticMachine, ln as BuildHistoryEntry, lo as IOS_SIMULATOR_APPS, lr as WorkspaceStage, ls as createdDevicesLock, lt as StatsReport, m as SetupCapability, ma as parseHostedDevice, mc as isExpoErrorContext, mi as DEVICE_IDLE_SHUTDOWN_KEY, ml as DoctorRunRecord, mn as BuildPlacement, mo as SETTINGS, mr as MacosAppState, ms as diskUsageCacheDir, mt as projectRootDirectories, n as KeyedEntities, na as HostedDeviceSession, nc as LogQueryOptions, ni as hostedAndroidDeviceName, nl as loadConfig, nn as BUILD_PHASES, no as validHostedAppBlob, nr as WEB_PAGE_STATES, ns as archiveLock, nt as RunSample, nu as readNdjsonGenerations, o as SUMMARY_ARCHIVES, oa as assertHostedDeviceLedger, oc as advanceTail, oi as parseHostedAndroidPlacement, ol as withConfigLockAsync, on as BuildCause, oo as ANDROID_COMPILER_CACHE_CHOICES, or as WebBrowserState, os as clientIdentityKeyFile, ot as StatsCapacityWait, p as workspaceSummary, pa as parseHostedChoice, pc as followLogs, pi as BUILD_HISTORY_LIMIT, pl as DeviceRecord, pn as BuildPhase, po as RemoteDeviceBackend, pr as MacosAppRecord, ps as deviceViewersDir, pt as offloadSummary, q as BuildMachineTotals, qa as hostedAppArea, qc as buildWorkerRoot, qi as HostedAndroidChoice, ql as AgentTarget, qn as RunOutcomeKind, qo as listRecordedDevicesAsync, qr as HostedIosPlacement, qs as workspaceLogsDir, qt as APP_PROCESS_STATES, r as applyKeyedDelta, ra as HostedIosChoice, rc as LogQueryPlan, ri as hostedAndroidPlacements, rl as windowsShortDir, rn as BUILD_RESULTS, ro as SETTINGS_SCHEMA_FILE, rr as WORKSPACE_PHASES, rs as archiveRoot, rt as STATS_VERSION, s as StatusViews, sa as deviceHostArea, sc as attachExpoErrorContext, si as unreadableHostedAndroid, sl as AutomaticPoolRole, sn as BuildDetail, so as ANDROID_EMULATOR_APPS, sr as WebPageState, ss as configLockPath, st as StatsPlacement, t as KeyedDelta, ta as HostedDeviceSelectors, tc as ERROR_SOURCES, ti as HostedAndroidStatus, tl as isPathPrefix, tn as AppPresence, to as validHostedAppArguments, tr as TUTORIAL_VERSION, ts as archiveDir, tt as RunHistory, tu as parseNdjsonText, u as WorkspaceSummary, ua as hostedDeviceId, uc as compileGrep, ui as parseHostedNativePlacement, ul as validateAutomaticPool, un as BuildMissCategory, uo as OFFLOAD_MODES, ur as WorktreeFacts, us as deviceHostMachinesClaims, ut as StatsScope, v as parseSetupJournal, va as parseHostedPlatformDevice, vc as planLogQuery, vi as DevServerStopRequest, vl as SettingsObject, vn as BuildResult, vo as SettingEntry, vr as parseMacosRecord, vs as easSessionLedgerLock, vt as statsProjectKey, w as HostedLogsCursor, wa as HOSTED_MACOS_APP_SLOTS, wc as sortByTs, wi as MetroLastStop, wl as MachineCredential, wn as DevicePlacement, wo as TunnelMode, wr as archiveEnabled, ws as maintenanceDir, wt as ViewedDevice, x as agentDeviceStateDirsAsync, xa as readHostedDeviceLedger, xc as readLogRecords, xi as IdleStopRecord, xl as clientIdentity, xn as DeviceActivity, xo as SettingWriteResult, xr as ArchivedBytes, xs as gitMergeCacheDir, xt as trimSamples, y as readSetupJournal, ya as parseHostedRequest, yc as queryJsonLogs, yi as DeviceIdleShutdownRecord, yl as StimConfig, yn as BuildWaitingFor, yo as SettingScope, yr as readHostedMacosApp, ys as emulatorLogFile, yt as trimCapacityRefusals, z as HOSTED_METRO_GATEWAYS_KEY, za as parseHostedMacosChoice, zc as readHomeIdentity, zi as readLastBuilds, zl as swiftpmCacheUsageFile, zn as MetroBundleState, zo as RECORDING_PLATFORMS, zr as MaintenanceRecord, zs as trashRoot, zt as readDiskUsage } from "./index-kR1gVv1b.mjs";
2
+ export { ACTIVITY_RECENCY_BASES, AGENT_TOOLS, ANDROID_COMPILER_CACHE_CHOICES, ANDROID_EMULATOR_APPS, ANDROID_PCH_CHOICES, APP_PROCESS_STATES, ActiveBuildState, ActivityDriver, ActivityRecencyBasis, AgentActionReaderOptions, AgentDeviceUsage, AgentDeviceUsageRoots, AgentRecordSelection, AgentSession, AgentSessionsCache, AgentTarget, AgentTool, AndroidDeviceState, AndroidRuntimeFacts, AppPresence, ArchivedBytes, ArchivedSummary, ArchivedUsage, ArchivedWorkspace, AutomaticPoolRole, BUILD_HISTORY_KEY, BUILD_HISTORY_LIMIT, BUILD_PHASES, BUILD_RESULTS, BuildActivity, BuildCacheHit, BuildCause, BuildDetail, BuildDiagnostic, BuildHistoryEntry, BuildMachineCredential, BuildMachineTotals, BuildMissCategory, BuildMissChange, BuildMissReason, BuildPhase, BuildPlacement, BuildPlanPayload, BuildPlatform, BuildReport, BuildResult, BuildWaitingFor, CAPACITY_REFUSAL_LIMIT, CAPACITY_REFUSAL_MAX_AGE_MS, ChecksState, ConcurrencyLimits, Config, CreatedDevicePlatform, CreatedDevices, DEBUG_ENV, DEVICE_HOST_LIMITS, DEVICE_IDLE_SHUTDOWN_KEY, DEVICE_RECLAIM_REASON, DEV_SERVER_STOP_REQUEST_KEY, DebugLog, DevServerStopRecord, DevServerStopRequest, DeviceActivity, DeviceAppProcess, DeviceHostLimits, DeviceHostMachineCredential, DeviceIdleShutdownRecord, DeviceLeaseState, DevicePlacement, DeviceRecord, DeviceViewersRecord, DiskMeasure, DiskPressureLevel, DoctorRunRecord, ENDED_AGENT_RETENTION_MS, ERROR_SOURCES, EasSessionClaim, EasSessionLedgerRead, EndedAgentSession, Endpoint, EnvironmentDisk, EnvironmentState, GitChip, GitChipPart, HISTORY_LIMIT, HOSTED_AGENT_DRIVERS, HOSTED_APP_CHUNK_BYTES, HOSTED_LOGS_FIRST_BYTES, HOSTED_LOGS_PAGE_BYTES, HOSTED_MACOS_APP_SLOTS, HOSTED_METRO_GATEWAYS_KEY, HOSTED_METRO_REQUESTS_KEY, HOSTED_PARKED_CANDIDATES, HostedAgentAccess, HostedAgentDriverName, HostedAgentGrant, HostedAgentIssuedGrant, HostedAgentLease, HostedAndroidChoice, HostedAndroidDevice, HostedAndroidPlacement, HostedAndroidStatus, HostedAppDelivery, HostedAppFile, HostedAppLaunch, HostedAppOffer, HostedAppRecord, HostedDevice, HostedDeviceOffer, HostedDeviceOfferRequest, HostedDevicePhase, HostedDevicePlatform, HostedDeviceRequest, HostedDeviceSelectors, HostedDeviceSession, HostedIosChoice, HostedIosDevice, HostedIosPlacement, HostedIosStatus, HostedLogsCursor, HostedLogsPage, HostedMacosChoice, HostedMacosDevice, HostedMacosPlacement, HostedMetroGateway, HostedMetroRequest, HostedNativeOffer, HostedNativePlacement, IDLE_STOP_KEY, IOS_SIMULATOR_APPS, IdleStopRecord, KeyedDelta, KeyedEntities, LAST_BUILD_KEYS, LEVELS, LastBuildReport, LogDir, LogDirQuery, LogQueryOptions, LogQueryPlan, MACHINE_CREDENTIALS_VERSION, MACHINE_OWNER_KINDS, MAINTENANCE_LOG_NAME, MEMORY_SOURCES, MachineCacheUsage, MachineCapacity, MachineCredential, MachineOwner, MachineOwnerKind, MachineUsageState, MachineView, MacosAppRecord, MacosAppState, MacosBuild, MacosBuildPlanPayload, MacosProcess, MaintenanceAction, MaintenanceActionKind, MaintenanceCheck, MaintenanceMode, MaintenancePass, MaintenancePressure, MaintenanceRecord, MaintenanceSize, MaintenanceState, MaintenanceStatus, MemoryCulprit, MemorySource, MetroBundleState, MetroLastStop, NATIVE_BUILD_STEPS, NATIVE_CRASH_LOG_PREFIX, NativeBuildStep, NdjsonRecord, OFFLOAD_MODES, OffloadMode, OffloadSummary, PHYSICAL_DEVICE_CONNECTIONS, PLACEMENT_DECISIONS, ParkedMax, PhysicalDeviceConnection, PhysicalDeviceState, PlannedPhase, PlatformRecords, ProjectRecord, PullRequestCacheEntry, QueryCriteria, READY_PHASE_MS, RECORDING_CAP_BYTES, RECORDING_FOOTAGE_MS, RECORDING_PLATFORMS, REMOTE_DEVICE_BACKENDS, RUN_ID_ENV, ReadStatsResult, RecordedDevice, RecordedSegment, RecordingPlatform, RemoteDeviceBackend, RemoteDeviceState, RepoRecord, RunEstimates, RunHistory, RunOutcomeKind, RunSample, SETTINGS, SETTINGS_SCHEMA_FILE, SETTINGS_SCHEMA_URL, SETTING_GROUPS, SETTING_SCOPES, SOURCES, STATS_VERSION, STATUS_ISSUE_CODES, SUMMARY_ARCHIVES, SettingDefinition, SettingEntry, SettingScope, SettingType, SettingWriteResult, SettingsObject, SettingsPayload, SetupCapability, SetupJournal, SimRuntimeUsage, SimulatorState, StatsBucket, StatsCapacityRefusal, StatsCapacityWait, StatsPlacement, StatsPlatform, StatsRecord, StatsReport, StatsScope, StatusCacheEntry, StatusCapacity, StatusIssue, StatusIssueCode, StatusPayload, StatusViews, StimConfig, SummaryBuild, SummaryHistoryEntry, SupervisorRecord, SwiftpmCacheUsage, TAILNET_MACHINE_PATTERN, TUNNEL_MODES, TUTORIAL_VERSION, TailnetPeer, TunnelMode, ViewedDevice, WARM_KEY, WEB_PAGE_STATES, WEB_VIEWPORTS, WORKSPACE_AGENT_KEY, WORKSPACE_PHASES, WORKSPACE_STAGE_KINDS, WarmRecord, WarmStep, WebBrowserState, WebPageState, WebViewport, WorkspacePhase, WorkspaceStage, WorkspaceState, WorkspaceSummary, WorktreeFacts, WorktreeGit, WorktreePullRequest, WorktreeRow, acceptsShape, advanceTail, agentDeviceStateDirs, agentDeviceStateDirsAsync, agentDeviceUsageFile, agentSessionOf, agentSessionsCacheFile, allMetroPorts, applyKeyedDelta, archiveDir, archiveEnabled, archiveLock, archiveRoot, archivedUsage, assertHostedDeviceLedger, attachExpoErrorContext, automaticMachineEnabled, buildCriteria, buildDiagnostics, buildMachinesFile, buildMachinesLock, buildSlotPath, buildSlotsDir, buildWorkerRoot, bundleMarkerPlatform, cannotHost, capDrops, clientIdentity, clientIdentityKeyFile, closedSegmentName, coerceSettingText, compileGrep, configCorruptRepair, configLockPath, countErrorEntries, createAgentActionReader, createAsyncAgentActionReader, createDebugLog, createdDevicesFile, createdDevicesLock, debugLogDir, debugLoggingEnabled, decodeStats, deviceHostArea, deviceHostMachinesClaims, deviceHostMachinesFile, deviceHostMachinesLock, deviceHostRoot, deviceViewersDir, diskUsageCacheDir, diskUsageCacheFile, diskUsageFailureFile, diskUsageWalkClaims, easMachineStateRoot, easSessionLedgerFile, easSessionLedgerLock, emulatorLogFile, endedAgentSessionOf, endpoint, expectedShape, fileIdentity, fileSizes, findEnclosingWorktreeRoot, findPeer, findProjectRoot, followLogs, footageDrops, getConcurrencyLimits, getConfigPath, getParkedMax, getProject, getProjectSettings, getRepoSettings, gitMergeCacheDir, hostedAgentDriverName, hostedAndroidDeviceName, hostedAndroidPlacements, hostedAndroidRecords, hostedAndroidStatus, hostedAppArea, hostedAppAttempt, hostedAppBlobs, hostedConsolePort, hostedDeviceId, hostedIosPlacements, hostedIosRecords, hostedIosStatus, hostedMacosAppSlot, hostedMacosBundleId, hostedMacosLogsDir, hostedMetroGateways, hostedMetroRequests, hostedNativeLogsDir, hostedNativeRecords, hostedWorkerSettleMs, isExpoErrorContext, isJournalExpired, isJsonObject, isLayeredSetting, isPathPrefix, isSensitiveReference, isSetupJournalPrunable, lastUseFrom, levelRank, linkReplacedArchives, listRecordedDevices, listRecordedDevicesAsync, listSegments, listSegmentsAsync, listStatusCacheEntries, loadConfig, logFiles, machineCacheUsageFile, machineCapacity, machineEndpoint, macosAppState, maintenanceAttemptFile, maintenanceChildLogFile, maintenanceDir, maintenanceNdjsonFile, maintenanceRunClaims, maintenanceStateFile, markerWindow, offloadSummary, openLogDir, openSegmentName, parseHostedAgentAccess, parseHostedAgentGrant, parseHostedAndroidDevice, parseHostedAndroidPlacement, parseHostedAppManifest, parseHostedAppOffer, parseHostedChoice, parseHostedDevice, parseHostedIosPlacement, parseHostedLocalDeviceCount, parseHostedLogsCursor, parseHostedMacosChoice, parseHostedMacosDevice, parseHostedMacosPlacement, parseHostedNativeOffer, parseHostedNativePlacement, parseHostedOfferRequest, parseHostedPlatformDevice, parseHostedRequest, parseMachine, parseMachineCredential, parseMacosRecord, parseMaintenanceState, parseMissReason, parseNdjsonLine, parseNdjsonText, parseSetupJournal, parseSince, planLogQuery, projectRootDirectories, pullRequestCacheDir, pullRequestCacheFile, queryJsonLogs, queryLogs, readAgentDeviceUsage, readAgentDeviceUsageCache, readAgentSessionsCache, readArchive, readArchiveAsync, readArchiveState, readArchives, readArchivesAsync, readBuildDetail, readBuildHistory, readBuildMachines, readCreatedDevices, readDevServerStop, readDevServerStopRequest, readDeviceHostMachines, readDeviceIdleShutdowns, readDevicePlacement, readDiskUsage, readDiskUsageFailure, readEasSessionLedger, readEndedAgentSessions, readHomeIdentity, readHostedApp, readHostedAppMetadata, readHostedDevice, readHostedDeviceLedger, readHostedMacosApp, readHostedNativeLogsCheckpoint, readHostedSessions, readIdleStop, readJsonFile, readJsonObject, readLastBuilds, readLogRecords, readLogTimeline, readLogsSince, readMachineCacheUsage, readMacosRecord, readMaintenanceAttempt, readMaintenanceState, readNdjsonGenerations, readPullRequestCache, readRunEstimates, readSetupJournal, readStateFile, readStats, readStatsReport, readSwiftpmCacheUsage, readViewedDevices, readWarmRecord, readWorkspaceAgent, readWorkspaceState, recordMatches, recordedBytes, recordingDeviceName, recordingEnabled, rememberHostedAppBlobRename, requireAutomaticMachine, runId, saturation, serverLocalSocket, serverSetupDir, settingDefinition, settingValueError, settingsJsonSchema, setupJournalFile, sharedCcache, sharedCompilationCache, sharedGradle, sharedPods, sortByTs, statsFile, statsProjectKey, statusViews, stimBuildDigest, supervisorLogFile, supervisorPidFile, swiftpmCacheUsageFile, tailRead, trashRoot, trimCapacityRefusals, trimCapacityWaits, trimSamples, tryAcquireBuildSlotClaim, unreadableHostedAndroid, unreadableHostedIos, unreadableHostedNative, validEasSessionClaim, validHostedAppArguments, validHostedAppBlob, validRunId, validateAutomaticPool, wholePhases, windowsShortDir, windowsShortDirKey, withConfigLock, withConfigLockAsync, withDerivedFacts, withGitChip, withStateReadCache, workspaceAgentDeviceDir, workspaceBuildDetailFile, workspaceDerivedData, workspaceEndedAgentsFile, workspaceEndedAgentsLock, workspaceGradleBuild, workspaceLastUsed, workspaceLogErrorIndex, workspaceLogsDir, workspaceMetadataFile, workspaceRecordingsDir, workspaceStateFile, workspaceStateLock, workspaceSummary };
package/dist/state.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { S as tryAcquireClaim, _ as releaseClaim, f as isClaimRefusal, g as readClaimSet } from "./ownership-claim-DHUs_Dir.mjs";
1
+ import { S as tryAcquireClaim, _ as releaseClaim, f as isClaimRefusal, g as readClaimSet } from "./ownership-claim-DG2GMIoo.mjs";
2
2
  import { inspectProcessIdentity } from "./process-identity.mjs";
3
- import { C as workspaceName, H as ambientContext, J as readJsonObject, K as isJsonObject, Q as withDirLockAsync, T as workspaceStateDir, U as ambientEnv, X as withStateReadCache, Y as readStateFile, Z as withDirLock, _ as rotatedLogPath, d as ensurePrivateDir, g as rotateLog, q as readJsonFile, t as LOG_ROTATE_BYTES, u as configDir } from "./core-B23eUZZp.mjs";
3
+ import { $ as withDirLockAsync, C as workspaceName, J as readJsonFile, Q as withDirLock, T as workspaceStateDir, U as ambientContext, W as ambientEnv, X as readStateFile, Y as readJsonObject, Z as withStateReadCache, _ as rotatedLogPath, d as ensurePrivateDir, g as rotateLog, q as isJsonObject, t as LOG_ROTATE_BYTES, u as configDir } from "./core-Cd3b_fBm.mjs";
4
4
  import { readOrCreateKeyFile } from "./noise-session.mjs";
5
5
  import { validHomeId } from "./workspace-link.mjs";
6
6
  import { a as workspaceSummary, i as statusViews, n as applyKeyedDelta, o as withDerivedFacts, r as SUMMARY_ARCHIVES, s as withGitChip, t as KeyedEntities } from "./keyed-delta-BBoOeR2J.mjs";
@@ -740,6 +740,10 @@ function maintenanceChildLogFile() {
740
740
  function maintenanceRunClaims() {
741
741
  return join(maintenanceDir(), "run.claims");
742
742
  }
743
+ /** Dependency trees `worktree remove` moved out of a worktree before git removed it; gc deletes what is left. */
744
+ function trashRoot() {
745
+ return join(configDir(), "trash");
746
+ }
743
747
  function archiveRoot() {
744
748
  return join(configDir(), "archive");
745
749
  }
@@ -753,9 +757,16 @@ function archiveLock() {
753
757
  function clientIdentityKeyFile() {
754
758
  return join(configDir(), "client-identity.key");
755
759
  }
756
- /** The Unix socket stim-server serves this machine's own user on, without Noise or pairing. */
760
+ /**
761
+ * The local Unix socket. sun_path permits 103 UTF-8 bytes on macOS and 107 on Linux. Longer paths use
762
+ * /tmp/stim-sockets-<uid>/<SHA-256 of the normalized absolute socket path>.sock.
763
+ */
757
764
  function serverLocalSocket() {
758
- return join(configDir(), "server", "local.sock");
765
+ const path = join(configDir(), "server", "local.sock");
766
+ const uid = process.getuid?.();
767
+ const maximumPathBytes = process.platform === "linux" ? 107 : 103;
768
+ if (uid === void 0 || Buffer.byteLength(path) <= maximumPathBytes) return path;
769
+ return join("/tmp", `stim-sockets-${uid}`, `${createHash("sha256").update(path).digest("hex")}.sock`);
759
770
  }
760
771
  function serverSetupDir() {
761
772
  return join(configDir(), "server", "setup");
@@ -1275,6 +1286,16 @@ const SETTINGS = [
1275
1286
  default: "ios",
1276
1287
  description: "Directory under the app that holds a bare React Native app's Xcode project and Podfile"
1277
1288
  },
1289
+ {
1290
+ key: "ios.simslim",
1291
+ type: {
1292
+ kind: "choice",
1293
+ choices: ["on", "off"]
1294
+ },
1295
+ scopes: EVERY,
1296
+ default: "off",
1297
+ description: "Slim every Stim-owned iOS simulator with SimSlim's default categories when no ios.simslimProfile is set; off in a project opts that app out"
1298
+ },
1278
1299
  {
1279
1300
  key: "ios.simslimProfile",
1280
1301
  type: RELATIVE_PATH,
@@ -2170,6 +2191,17 @@ const SETTINGS = [
2170
2191
  default: false,
2171
2192
  description: "When ios.remote or android.remote is auto, this machine is at its concurrency.maxDevices cap and no remote.machines entry takes the run, run the simulator or emulator on a billed EAS Simulator instead of waiting or refusing, when eas-cli can"
2172
2193
  },
2194
+ {
2195
+ key: "remote.easMaxDurationMinutes",
2196
+ type: {
2197
+ kind: "number",
2198
+ integer: true,
2199
+ minimum: 1
2200
+ },
2201
+ scopes: MACHINE,
2202
+ default: 30,
2203
+ description: "Maximum minutes of each EAS Simulator session Stim creates, after which EAS stops it and stops billing; stim stop and gc --delete end a session sooner. EAS rejects a value above the account plan's session limit"
2204
+ },
2173
2205
  {
2174
2206
  key: "remote.build",
2175
2207
  type: {
@@ -2915,7 +2947,7 @@ function bundleMarkerPlatform(record) {
2915
2947
  return (/^RSC\((.+)\)$/.exec(tag)?.[1] ?? tag).toLowerCase();
2916
2948
  }
2917
2949
  function isAppDeviceRecord(record) {
2918
- return record.src === "device" && (record.event === "native_crash" || record.event === "hosted_native_log" || record.platform === "web");
2950
+ return record.src === "device" && (record.event === "native_crash" || record.platform === "web");
2919
2951
  }
2920
2952
  function recordMatches(record, criteria = {}) {
2921
2953
  if (!record) return false;
@@ -3262,10 +3294,11 @@ function advanceTail(prev, chunk, size) {
3262
3294
  records
3263
3295
  };
3264
3296
  }
3265
- function followLogs({ dir, onRecord, criteria = {}, intervalMs, offsets = null, errorContext }) {
3297
+ function followLogs({ dir, onRecord, criteria = {}, intervalMs, offsets = null, identities: seededIdentities = null, errorContext }) {
3266
3298
  const follower = errorContext ? expoContextFollower(onRecord, errorContext) : null;
3267
3299
  const state = /* @__PURE__ */ new Map();
3268
3300
  const decoders = /* @__PURE__ */ new Map();
3301
+ const identities = new Map(Object.entries(seededIdentities ?? {}));
3269
3302
  let stopped = false;
3270
3303
  let contextTimer;
3271
3304
  for (const [name, size] of Object.entries(offsets || fileSizes(dir))) {
@@ -3274,6 +3307,11 @@ function followLogs({ dir, onRecord, criteria = {}, intervalMs, offsets = null,
3274
3307
  partial: ""
3275
3308
  });
3276
3309
  decoders.set(name, new StringDecoder("utf8"));
3310
+ if (offsets) continue;
3311
+ try {
3312
+ const identity = fileIdentity(statSync(join(dir, name), { bigint: true }));
3313
+ if (identity !== void 0) identities.set(name, identity);
3314
+ } catch {}
3277
3315
  }
3278
3316
  function emit(records) {
3279
3317
  for (const record of records) {
@@ -3284,27 +3322,43 @@ function followLogs({ dir, onRecord, criteria = {}, intervalMs, offsets = null,
3284
3322
  }
3285
3323
  }
3286
3324
  function drainRotated(name, entry) {
3287
- const path = rotatedLogPath(join(dir, name));
3288
- let size;
3325
+ let fd;
3289
3326
  try {
3290
- size = statSync(path).size;
3327
+ fd = openSync(rotatedLogPath(join(dir, name)), "r");
3291
3328
  } catch {
3292
3329
  return;
3293
3330
  }
3294
- const decoder = decoders.get(name) ?? new StringDecoder("utf8");
3295
- emit(advanceTail(entry, readChunk(path, decoder, entry.offset, size) + decoder.end(), size).records);
3331
+ try {
3332
+ const stat = fstatSync(fd, { bigint: true });
3333
+ const known = identities.get(name);
3334
+ if (known !== void 0 && fileIdentity(stat) !== known) return;
3335
+ const size = Number(stat.size);
3336
+ const decoder = decoders.get(name) ?? new StringDecoder("utf8");
3337
+ emit(advanceTail(entry, readChunk(fd, decoder, entry.offset, size) + decoder.end(), size).records);
3338
+ } finally {
3339
+ closeSync(fd);
3340
+ }
3296
3341
  }
3297
3342
  function pollFile(name) {
3298
- const path = join(dir, name);
3299
- const size = statSync(path).size;
3300
- const entry = state.get(name);
3301
- if (entry && size < entry.offset) drainRotated(name, entry);
3302
- const { start, prev } = tailRead(entry, size);
3303
- if (prev !== entry) decoders.set(name, new StringDecoder("utf8"));
3304
- if (!decoders.has(name)) decoders.set(name, new StringDecoder("utf8"));
3305
- const next = advanceTail(prev, readChunk(path, decoders.get(name), start, size), size);
3306
- state.set(name, next.state);
3307
- emit(next.records);
3343
+ const fd = openSync(join(dir, name), "r");
3344
+ try {
3345
+ const stat = fstatSync(fd, { bigint: true });
3346
+ const size = Number(stat.size);
3347
+ const identity = fileIdentity(stat);
3348
+ const known = identities.get(name);
3349
+ const replaced = known !== void 0 && identity !== void 0 && identity !== known;
3350
+ const entry = state.get(name);
3351
+ if (entry && (replaced || size < entry.offset)) drainRotated(name, entry);
3352
+ const { start, prev } = tailRead(replaced ? void 0 : entry, size);
3353
+ if (prev !== entry) decoders.set(name, new StringDecoder("utf8"));
3354
+ if (!decoders.has(name)) decoders.set(name, new StringDecoder("utf8"));
3355
+ if (identity !== void 0) identities.set(name, identity);
3356
+ const next = advanceTail(prev, readChunk(fd, decoders.get(name), start, size), size);
3357
+ state.set(name, next.state);
3358
+ emit(next.records);
3359
+ } finally {
3360
+ closeSync(fd);
3361
+ }
3308
3362
  }
3309
3363
  function poll() {
3310
3364
  if (stopped) return;
@@ -3409,16 +3463,14 @@ function followLogs({ dir, onRecord, criteria = {}, intervalMs, offsets = null,
3409
3463
  follower?.flush();
3410
3464
  };
3411
3465
  }
3412
- function readChunk(path, decoder, start, size) {
3466
+ function readChunk(fd, decoder, start, size) {
3413
3467
  if (size <= start) return "";
3414
- const fd = openSync(path, "r");
3415
- try {
3416
- const buf = Buffer.allocUnsafe(size - start);
3417
- const read = readSync(fd, buf, 0, size - start, start);
3418
- return decoder.write(buf.subarray(0, read));
3419
- } finally {
3420
- closeSync(fd);
3421
- }
3468
+ const buf = Buffer.allocUnsafe(size - start);
3469
+ const read = readSync(fd, buf, 0, size - start, start);
3470
+ return decoder.write(buf.subarray(0, read));
3471
+ }
3472
+ function fileIdentity(stat) {
3473
+ return stat.ino === 0n ? void 0 : `${stat.dev}:${stat.ino}`;
3422
3474
  }
3423
3475
  function tsOf(record) {
3424
3476
  return typeof record?.ts === "number" && Number.isFinite(record.ts) ? record.ts : null;
@@ -3626,6 +3678,7 @@ async function openLogDir(dir, { order = "timeline", signal } = {}) {
3626
3678
  const ranked = order === "name" ? names : [...names.filter((name) => !name.startsWith(NATIVE_CRASH_LOG_PREFIX)), ...names.filter((name) => name.startsWith(NATIVE_CRASH_LOG_PREFIX))];
3627
3679
  const generations = [];
3628
3680
  const sizes = {};
3681
+ const identities = {};
3629
3682
  const close = async () => {
3630
3683
  await Promise.all(generations.map((generation) => generation.handle.close().catch(() => {})));
3631
3684
  };
@@ -3647,7 +3700,11 @@ async function openLogDir(dir, { order = "timeline", signal } = {}) {
3647
3700
  crash: name.startsWith(NATIVE_CRASH_LOG_PREFIX),
3648
3701
  index
3649
3702
  });
3650
- if (generation === 1) sizes[name] = index.size;
3703
+ if (generation === 1) {
3704
+ sizes[name] = index.size;
3705
+ const identity = fileIdentity(stat);
3706
+ if (identity !== void 0) identities[name] = identity;
3707
+ }
3651
3708
  } catch (error) {
3652
3709
  await handle.close().catch(() => {});
3653
3710
  throw error;
@@ -3661,6 +3718,7 @@ async function openLogDir(dir, { order = "timeline", signal } = {}) {
3661
3718
  for (const { index } of generations) if (index.minTs !== null && (firstTs === void 0 || index.minTs < firstTs)) firstTs = index.minTs;
3662
3719
  return {
3663
3720
  sizes,
3721
+ identities,
3664
3722
  firstTs,
3665
3723
  launchAttempts: () => generations.filter((generation) => !generation.crash).flatMap(({ index, rank, generation }) => index.launchAttempts.map(({ record, position }) => ({
3666
3724
  ts: tsKey(record),
@@ -4415,7 +4473,8 @@ function readAgentSessionsCache() {
4415
4473
  //#region state/stim-build.ts
4416
4474
  /**
4417
4475
  * A digest of Stim's built code: the first 16 hex characters of the sha256 over the sorted `*.mjs` names and
4418
- * bytes of a `stim` `dist` directory. A client and a remote machine offload only when both compute the same one.
4476
+ * bytes of a `stim` `dist` directory. A remote machine that reports no build compatibility version offloads only
4477
+ * with the same one.
4419
4478
  */
4420
4479
  function stimBuildDigest(dir) {
4421
4480
  try {
@@ -4593,16 +4652,18 @@ function readDevicePlacement(state, platform, slot = "default") {
4593
4652
  function lastBuildReport(platform, value) {
4594
4653
  if (!isJsonObject(value)) return null;
4595
4654
  const record = value;
4596
- if (record.platform !== platform || record.status !== "ok" && record.status !== "failed") return null;
4655
+ if (record.platform !== platform) return null;
4656
+ const status = record.status === "success" ? "ok" : record.status;
4657
+ if (status !== "ok" && status !== "failed") return null;
4597
4658
  if (typeof record.startedAt !== "string") return null;
4598
4659
  const durationMs = typeof record.durationMs === "number" && record.durationMs >= 0 ? record.durationMs : null;
4599
4660
  const finished = new Date(Date.parse(record.startedAt) + (durationMs ?? NaN));
4600
4661
  const reason = record.cacheHit === "local" || record.cacheHit === "remote" ? null : parseMissReason(record.missReason);
4601
- const diagnostics = record.status === "failed" ? buildDiagnostics(record.diagnostics) : [];
4662
+ const diagnostics = status === "failed" ? buildDiagnostics(record.diagnostics) : [];
4602
4663
  const placed = devicePlacement(record.devicePlacement);
4603
4664
  return {
4604
4665
  platform,
4605
- status: record.status,
4666
+ status,
4606
4667
  cacheHit: record.cacheHit === "local" || record.cacheHit === "remote" ? record.cacheHit : false,
4607
4668
  cacheSkipped: record.cacheSkipped === true,
4608
4669
  durationMs,
@@ -4640,7 +4701,7 @@ function historyEntry(platform, value) {
4640
4701
  const report = lastBuildReport(platform, value);
4641
4702
  if (!report) return null;
4642
4703
  const record = value;
4643
- const result = BUILD_RESULTS.includes(record.result) ? record.result : report.status === "ok" ? "succeeded" : "failed";
4704
+ const result = record.status === "success" ? "succeeded" : BUILD_RESULTS.includes(record.result) ? record.result : report.status === "ok" ? "succeeded" : "failed";
4644
4705
  return {
4645
4706
  ...report,
4646
4707
  result,
@@ -4916,7 +4977,7 @@ function parseRecord(text) {
4916
4977
  if (typeof version !== "number" || !Number.isInteger(version)) return null;
4917
4978
  return parsed;
4918
4979
  }
4919
- function normalize(record) {
4980
+ function normalize$1(record) {
4920
4981
  const projects = {};
4921
4982
  const source = record.projects;
4922
4983
  if (source && typeof source === "object" && !Array.isArray(source)) for (const [key, scope] of Object.entries(source)) projects[key] = normalizeScope(scope);
@@ -5104,7 +5165,7 @@ function decodeStats(text) {
5104
5165
  newerVersion: parsed.version
5105
5166
  };
5106
5167
  return {
5107
- record: normalize(parsed),
5168
+ record: normalize$1(parsed),
5108
5169
  newerVersion: null
5109
5170
  };
5110
5171
  }
@@ -6110,4 +6171,4 @@ function isSetupJournalPrunable(journal, now) {
6110
6171
  return Date.parse(journal.expiresAt) + 36e5 < now;
6111
6172
  }
6112
6173
  //#endregion
6113
- export { ACTIVITY_RECENCY_BASES, AGENT_TOOLS, ANDROID_COMPILER_CACHE_CHOICES, ANDROID_EMULATOR_APPS, ANDROID_PCH_CHOICES, APP_PROCESS_STATES, BUILD_HISTORY_KEY, BUILD_HISTORY_LIMIT, BUILD_PHASES, BUILD_RESULTS, CAPACITY_REFUSAL_LIMIT, CAPACITY_REFUSAL_MAX_AGE_MS, DEBUG_ENV, DEVICE_HOST_LIMITS, DEVICE_IDLE_SHUTDOWN_KEY, DEVICE_RECLAIM_REASON, DEV_SERVER_STOP_REQUEST_KEY, ENDED_AGENT_RETENTION_MS, ERROR_SOURCES, HISTORY_LIMIT, HOSTED_AGENT_DRIVERS, HOSTED_APP_CHUNK_BYTES, HOSTED_LOGS_FIRST_BYTES, HOSTED_LOGS_PAGE_BYTES, HOSTED_MACOS_APP_SLOTS, HOSTED_METRO_GATEWAYS_KEY, HOSTED_METRO_REQUESTS_KEY, HOSTED_PARKED_CANDIDATES, IDLE_STOP_KEY, IOS_SIMULATOR_APPS, KeyedEntities, LAST_BUILD_KEYS, LEVELS, MACHINE_CREDENTIALS_VERSION, MACHINE_OWNER_KINDS, MAINTENANCE_LOG_NAME, MEMORY_SOURCES, NATIVE_BUILD_STEPS, NATIVE_CRASH_LOG_PREFIX, OFFLOAD_MODES, PHYSICAL_DEVICE_CONNECTIONS, PLACEMENT_DECISIONS, READY_PHASE_MS, RECORDING_CAP_BYTES, RECORDING_FOOTAGE_MS, RECORDING_PLATFORMS, REMOTE_DEVICE_BACKENDS, RUN_ID_ENV, SETTINGS, SETTINGS_SCHEMA_FILE, SETTINGS_SCHEMA_URL, SETTING_GROUPS, SETTING_SCOPES, SOURCES, STATS_VERSION, STATUS_ISSUE_CODES, SUMMARY_ARCHIVES, TAILNET_MACHINE_PATTERN, TUNNEL_MODES, TUTORIAL_VERSION, WARM_KEY, WEB_PAGE_STATES, WEB_VIEWPORTS, WORKSPACE_AGENT_KEY, WORKSPACE_PHASES, WORKSPACE_STAGE_KINDS, acceptsShape, advanceTail, agentDeviceStateDirs, agentDeviceStateDirsAsync, agentDeviceUsageFile, agentSessionOf, agentSessionsCacheFile, allMetroPorts, applyKeyedDelta, archiveDir, archiveEnabled, archiveLock, archiveRoot, archivedUsage, assertHostedDeviceLedger, attachExpoErrorContext, automaticMachineEnabled, buildCriteria, buildDiagnostics, buildMachinesFile, buildMachinesLock, buildSlotPath, buildSlotsDir, buildWorkerRoot, bundleMarkerPlatform, cannotHost, capDrops, clientIdentity, clientIdentityKeyFile, closedSegmentName, coerceSettingText, compileGrep, configCorruptRepair, configLockPath, countErrorEntries, createAgentActionReader, createAsyncAgentActionReader, createDebugLog, createdDevicesFile, createdDevicesLock, debugLogDir, debugLoggingEnabled, decodeStats, deviceHostArea, deviceHostMachinesClaims, deviceHostMachinesFile, deviceHostMachinesLock, deviceHostRoot, deviceViewersDir, diskUsageCacheDir, diskUsageCacheFile, diskUsageFailureFile, diskUsageWalkClaims, easMachineStateRoot, easSessionLedgerFile, easSessionLedgerLock, emulatorLogFile, endedAgentSessionOf, endpoint, expectedShape, fileSizes, findEnclosingWorktreeRoot, findPeer, findProjectRoot, followLogs, footageDrops, getConcurrencyLimits, getConfigPath, getParkedMax, getProject, getProjectSettings, getRepoSettings, gitMergeCacheDir, hostedAgentDriverName, hostedAndroidDeviceName, hostedAndroidPlacements, hostedAndroidRecords, hostedAndroidStatus, hostedAppArea, hostedAppAttempt, hostedAppBlobs, hostedConsolePort, hostedDeviceId, hostedIosPlacements, hostedIosRecords, hostedIosStatus, hostedMacosAppSlot, hostedMacosBundleId, hostedMacosLogsDir, hostedMetroGateways, hostedMetroRequests, hostedNativeLogsDir, hostedNativeRecords, hostedWorkerSettleMs, isExpoErrorContext, isJournalExpired, isJsonObject, isLayeredSetting, isPathPrefix, isSensitiveReference, isSetupJournalPrunable, lastUseFrom, levelRank, linkReplacedArchives, listRecordedDevices, listRecordedDevicesAsync, listSegments, listSegmentsAsync, listStatusCacheEntries, loadConfig, logFiles, machineCacheUsageFile, machineCapacity, machineEndpoint, macosAppState, maintenanceAttemptFile, maintenanceChildLogFile, maintenanceDir, maintenanceNdjsonFile, maintenanceRunClaims, maintenanceStateFile, markerWindow, offloadSummary, openLogDir, openSegmentName, parseHostedAgentAccess, parseHostedAgentGrant, parseHostedAndroidDevice, parseHostedAndroidPlacement, parseHostedAppManifest, parseHostedAppOffer, parseHostedChoice, parseHostedDevice, parseHostedIosPlacement, parseHostedLocalDeviceCount, parseHostedLogsCursor, parseHostedMacosChoice, parseHostedMacosDevice, parseHostedMacosPlacement, parseHostedNativeOffer, parseHostedNativePlacement, parseHostedOfferRequest, parseHostedPlatformDevice, parseHostedRequest, parseMachine, parseMachineCredential, parseMacosRecord, parseMaintenanceState, parseMissReason, parseNdjsonLine, parseNdjsonText, parseSetupJournal, parseSince, planLogQuery, projectRootDirectories, pullRequestCacheDir, pullRequestCacheFile, queryJsonLogs, queryLogs, readAgentDeviceUsage, readAgentDeviceUsageCache, readAgentSessionsCache, readArchive, readArchiveAsync, readArchiveState, readArchives, readArchivesAsync, readBuildDetail, readBuildHistory, readBuildMachines, readCreatedDevices, readDevServerStop, readDevServerStopRequest, readDeviceHostMachines, readDeviceIdleShutdowns, readDevicePlacement, readDiskUsage, readDiskUsageFailure, readEasSessionLedger, readEndedAgentSessions, readHomeIdentity, readHostedApp, readHostedAppMetadata, readHostedDevice, readHostedDeviceLedger, readHostedMacosApp, readHostedNativeLogsCheckpoint, readHostedSessions, readIdleStop, readJsonFile, readJsonObject, readLastBuilds, readLogRecords, readLogTimeline, readLogsSince, readMachineCacheUsage, readMacosRecord, readMaintenanceAttempt, readMaintenanceState, readNdjsonGenerations, readPullRequestCache, readRunEstimates, readSetupJournal, readStateFile, readStats, readStatsReport, readSwiftpmCacheUsage, readViewedDevices, readWarmRecord, readWorkspaceAgent, readWorkspaceState, recordMatches, recordedBytes, recordingDeviceName, recordingEnabled, rememberHostedAppBlobRename, requireAutomaticMachine, runId, saturation, serverLocalSocket, serverSetupDir, settingDefinition, settingValueError, settingsJsonSchema, setupJournalFile, sharedCcache, sharedCompilationCache, sharedGradle, sharedPods, sortByTs, statsFile, statsProjectKey, statusViews, stimBuildDigest, supervisorLogFile, supervisorPidFile, swiftpmCacheUsageFile, tailRead, trimCapacityRefusals, trimCapacityWaits, trimSamples, tryAcquireBuildSlotClaim, unreadableHostedAndroid, unreadableHostedIos, unreadableHostedNative, validEasSessionClaim, validHostedAppArguments, validHostedAppBlob, validRunId, validateAutomaticPool, wholePhases, windowsShortDir, windowsShortDirKey, withConfigLock, withConfigLockAsync, withDerivedFacts, withGitChip, withStateReadCache, workspaceAgentDeviceDir, workspaceBuildDetailFile, workspaceDerivedData, workspaceEndedAgentsFile, workspaceEndedAgentsLock, workspaceGradleBuild, workspaceLastUsed, workspaceLogErrorIndex, workspaceLogsDir, workspaceMetadataFile, workspaceRecordingsDir, workspaceStateFile, workspaceStateLock, workspaceSummary };
6174
+ export { ACTIVITY_RECENCY_BASES, AGENT_TOOLS, ANDROID_COMPILER_CACHE_CHOICES, ANDROID_EMULATOR_APPS, ANDROID_PCH_CHOICES, APP_PROCESS_STATES, BUILD_HISTORY_KEY, BUILD_HISTORY_LIMIT, BUILD_PHASES, BUILD_RESULTS, CAPACITY_REFUSAL_LIMIT, CAPACITY_REFUSAL_MAX_AGE_MS, DEBUG_ENV, DEVICE_HOST_LIMITS, DEVICE_IDLE_SHUTDOWN_KEY, DEVICE_RECLAIM_REASON, DEV_SERVER_STOP_REQUEST_KEY, ENDED_AGENT_RETENTION_MS, ERROR_SOURCES, HISTORY_LIMIT, HOSTED_AGENT_DRIVERS, HOSTED_APP_CHUNK_BYTES, HOSTED_LOGS_FIRST_BYTES, HOSTED_LOGS_PAGE_BYTES, HOSTED_MACOS_APP_SLOTS, HOSTED_METRO_GATEWAYS_KEY, HOSTED_METRO_REQUESTS_KEY, HOSTED_PARKED_CANDIDATES, IDLE_STOP_KEY, IOS_SIMULATOR_APPS, KeyedEntities, LAST_BUILD_KEYS, LEVELS, MACHINE_CREDENTIALS_VERSION, MACHINE_OWNER_KINDS, MAINTENANCE_LOG_NAME, MEMORY_SOURCES, NATIVE_BUILD_STEPS, NATIVE_CRASH_LOG_PREFIX, OFFLOAD_MODES, PHYSICAL_DEVICE_CONNECTIONS, PLACEMENT_DECISIONS, READY_PHASE_MS, RECORDING_CAP_BYTES, RECORDING_FOOTAGE_MS, RECORDING_PLATFORMS, REMOTE_DEVICE_BACKENDS, RUN_ID_ENV, SETTINGS, SETTINGS_SCHEMA_FILE, SETTINGS_SCHEMA_URL, SETTING_GROUPS, SETTING_SCOPES, SOURCES, STATS_VERSION, STATUS_ISSUE_CODES, SUMMARY_ARCHIVES, TAILNET_MACHINE_PATTERN, TUNNEL_MODES, TUTORIAL_VERSION, WARM_KEY, WEB_PAGE_STATES, WEB_VIEWPORTS, WORKSPACE_AGENT_KEY, WORKSPACE_PHASES, WORKSPACE_STAGE_KINDS, acceptsShape, advanceTail, agentDeviceStateDirs, agentDeviceStateDirsAsync, agentDeviceUsageFile, agentSessionOf, agentSessionsCacheFile, allMetroPorts, applyKeyedDelta, archiveDir, archiveEnabled, archiveLock, archiveRoot, archivedUsage, assertHostedDeviceLedger, attachExpoErrorContext, automaticMachineEnabled, buildCriteria, buildDiagnostics, buildMachinesFile, buildMachinesLock, buildSlotPath, buildSlotsDir, buildWorkerRoot, bundleMarkerPlatform, cannotHost, capDrops, clientIdentity, clientIdentityKeyFile, closedSegmentName, coerceSettingText, compileGrep, configCorruptRepair, configLockPath, countErrorEntries, createAgentActionReader, createAsyncAgentActionReader, createDebugLog, createdDevicesFile, createdDevicesLock, debugLogDir, debugLoggingEnabled, decodeStats, deviceHostArea, deviceHostMachinesClaims, deviceHostMachinesFile, deviceHostMachinesLock, deviceHostRoot, deviceViewersDir, diskUsageCacheDir, diskUsageCacheFile, diskUsageFailureFile, diskUsageWalkClaims, easMachineStateRoot, easSessionLedgerFile, easSessionLedgerLock, emulatorLogFile, endedAgentSessionOf, endpoint, expectedShape, fileIdentity, fileSizes, findEnclosingWorktreeRoot, findPeer, findProjectRoot, followLogs, footageDrops, getConcurrencyLimits, getConfigPath, getParkedMax, getProject, getProjectSettings, getRepoSettings, gitMergeCacheDir, hostedAgentDriverName, hostedAndroidDeviceName, hostedAndroidPlacements, hostedAndroidRecords, hostedAndroidStatus, hostedAppArea, hostedAppAttempt, hostedAppBlobs, hostedConsolePort, hostedDeviceId, hostedIosPlacements, hostedIosRecords, hostedIosStatus, hostedMacosAppSlot, hostedMacosBundleId, hostedMacosLogsDir, hostedMetroGateways, hostedMetroRequests, hostedNativeLogsDir, hostedNativeRecords, hostedWorkerSettleMs, isExpoErrorContext, isJournalExpired, isJsonObject, isLayeredSetting, isPathPrefix, isSensitiveReference, isSetupJournalPrunable, lastUseFrom, levelRank, linkReplacedArchives, listRecordedDevices, listRecordedDevicesAsync, listSegments, listSegmentsAsync, listStatusCacheEntries, loadConfig, logFiles, machineCacheUsageFile, machineCapacity, machineEndpoint, macosAppState, maintenanceAttemptFile, maintenanceChildLogFile, maintenanceDir, maintenanceNdjsonFile, maintenanceRunClaims, maintenanceStateFile, markerWindow, offloadSummary, openLogDir, openSegmentName, parseHostedAgentAccess, parseHostedAgentGrant, parseHostedAndroidDevice, parseHostedAndroidPlacement, parseHostedAppManifest, parseHostedAppOffer, parseHostedChoice, parseHostedDevice, parseHostedIosPlacement, parseHostedLocalDeviceCount, parseHostedLogsCursor, parseHostedMacosChoice, parseHostedMacosDevice, parseHostedMacosPlacement, parseHostedNativeOffer, parseHostedNativePlacement, parseHostedOfferRequest, parseHostedPlatformDevice, parseHostedRequest, parseMachine, parseMachineCredential, parseMacosRecord, parseMaintenanceState, parseMissReason, parseNdjsonLine, parseNdjsonText, parseSetupJournal, parseSince, planLogQuery, projectRootDirectories, pullRequestCacheDir, pullRequestCacheFile, queryJsonLogs, queryLogs, readAgentDeviceUsage, readAgentDeviceUsageCache, readAgentSessionsCache, readArchive, readArchiveAsync, readArchiveState, readArchives, readArchivesAsync, readBuildDetail, readBuildHistory, readBuildMachines, readCreatedDevices, readDevServerStop, readDevServerStopRequest, readDeviceHostMachines, readDeviceIdleShutdowns, readDevicePlacement, readDiskUsage, readDiskUsageFailure, readEasSessionLedger, readEndedAgentSessions, readHomeIdentity, readHostedApp, readHostedAppMetadata, readHostedDevice, readHostedDeviceLedger, readHostedMacosApp, readHostedNativeLogsCheckpoint, readHostedSessions, readIdleStop, readJsonFile, readJsonObject, readLastBuilds, readLogRecords, readLogTimeline, readLogsSince, readMachineCacheUsage, readMacosRecord, readMaintenanceAttempt, readMaintenanceState, readNdjsonGenerations, readPullRequestCache, readRunEstimates, readSetupJournal, readStateFile, readStats, readStatsReport, readSwiftpmCacheUsage, readViewedDevices, readWarmRecord, readWorkspaceAgent, readWorkspaceState, recordMatches, recordedBytes, recordingDeviceName, recordingEnabled, rememberHostedAppBlobRename, requireAutomaticMachine, runId, saturation, serverLocalSocket, serverSetupDir, settingDefinition, settingValueError, settingsJsonSchema, setupJournalFile, sharedCcache, sharedCompilationCache, sharedGradle, sharedPods, sortByTs, statsFile, statsProjectKey, statusViews, stimBuildDigest, supervisorLogFile, supervisorPidFile, swiftpmCacheUsageFile, tailRead, trashRoot, trimCapacityRefusals, trimCapacityWaits, trimSamples, tryAcquireBuildSlotClaim, unreadableHostedAndroid, unreadableHostedIos, unreadableHostedNative, validEasSessionClaim, validHostedAppArguments, validHostedAppBlob, validRunId, validateAutomaticPool, wholePhases, windowsShortDir, windowsShortDirKey, withConfigLock, withConfigLockAsync, withDerivedFacts, withGitChip, withStateReadCache, workspaceAgentDeviceDir, workspaceBuildDetailFile, workspaceDerivedData, workspaceEndedAgentsFile, workspaceEndedAgentsLock, workspaceGradleBuild, workspaceLastUsed, workspaceLogErrorIndex, workspaceLogsDir, workspaceMetadataFile, workspaceRecordingsDir, workspaceStateFile, workspaceStateLock, workspaceSummary };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stim-cli/core",
3
- "version": "1.23.1",
3
+ "version": "1.25.0",
4
4
  "description": "Shared internal cache and runtime primitives for Stim packages.",
5
5
  "license": "MIT",
6
6
  "repository": {