@stim-cli/core 1.17.0 → 1.17.1

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.
@@ -147,7 +147,7 @@ declare function tryAcquireBuildSlotClaim({ max, details }: {
147
147
  /**
148
148
  * How busy this Mac is for native builds. `loadPerCore` is the 5-minute load average divided by the CPU count,
149
149
  * rounded to one decimal. `builds` counts this Stim home's runs that hold a live native-run claim and are in
150
- * prebuild, pods or compile here, not on a build machine, plus the build slots this Mac holds for other Macs'
150
+ * prebuild, pods or compile here, not on a remote Mac, plus the build slots this Mac holds for other Macs'
151
151
  * offloaded builds. `maxBuilds` is `concurrency.maxBuilds`, 0 when unlimited.
152
152
  */
153
153
  interface MachineCapacity {
@@ -163,7 +163,7 @@ declare function saturation(capacity: MachineCapacity): string | null;
163
163
  //#endregion
164
164
  //#region state/build-machines.d.ts
165
165
  /**
166
- * A build machine this Mac asked to build on. `machine` is the `offload.machines` entry; `nodeId` is the
166
+ * A remote Mac this Mac asked to build on. `machine` is the `remote.machines` entry; `nodeId` is the
167
167
  * worker's tailnet StableID pinned when the request was sent, which every later connection must match.
168
168
  */
169
169
  interface BuildMachineCredential {
@@ -273,20 +273,19 @@ interface StimConfig {
273
273
  metroCache?: unknown;
274
274
  };
275
275
  hosting?: {
276
- machines?: unknown;
277
276
  agentDriver?: unknown;
278
277
  };
279
278
  server?: {
280
279
  acceptClientBuilds?: unknown;
281
- };
282
- offload?: {
283
- machine?: unknown;
284
- machines?: unknown;
285
- mode?: unknown;
286
- workerRoot?: unknown;
287
280
  maxLoadPerCore?: unknown;
281
+ workerRoot?: unknown;
288
282
  gradleDaemonIdleMinutes?: unknown;
289
283
  };
284
+ remote?: {
285
+ machines?: unknown;
286
+ build?: unknown;
287
+ buildMode?: unknown;
288
+ };
290
289
  [key: string]: unknown;
291
290
  }
292
291
  type Config = StimConfig;
@@ -294,7 +293,7 @@ type Config = StimConfig;
294
293
  //#region state/config.d.ts
295
294
  declare function withConfigLock<T>(fn: () => T): T;
296
295
  declare function configCorruptRepair(path?: string): string;
297
- /** The build worker root: `offload.workerRoot` when it is absolute, else `$STIM_HOME/build-worker`. */
296
+ /** The build worker root: `server.workerRoot` when it is absolute, else `$STIM_HOME/build-worker`. */
298
297
  declare function buildWorkerRoot(config?: Config | null): string;
299
298
  declare function loadConfig(): Config | null;
300
299
  declare function getProject(projectPath: string): ProjectRecord | null;
@@ -489,10 +488,10 @@ declare function gitMergeCacheDir(): string;
489
488
  declare function pullRequestCacheDir(): string;
490
489
  declare function agentSessionsCacheFile(): string;
491
490
  declare function diskUsageCacheDir(): string;
492
- /** The build machines this Mac paired with, each with its pinned tailnet node and device token. */
491
+ /** The remote Macs this Mac paired with, each with its pinned tailnet node and device token. */
493
492
  declare function buildMachinesFile(): string;
494
493
  declare function buildMachinesLock(): string;
495
- /** The hosting machines this Mac asked for access, separate from build credentials. */
494
+ /** The remote Macs this Mac asked for access, separate from build credentials. */
496
495
  declare function deviceHostMachinesFile(): string;
497
496
  declare function deviceHostMachinesLock(): string;
498
497
  declare function deviceHostMachinesClaims(): string;
@@ -1011,7 +1010,7 @@ declare function buildDiagnostics(value: unknown): BuildDiagnostic[];
1011
1010
  declare function readDevicePlacement(state: WorkspaceState | null, platform: StatsPlatform, slot?: string): DevicePlacement | null;
1012
1011
  declare function readLastBuilds(state: WorkspaceState | null | undefined): Partial<Record<StatsPlatform, LastBuildReport>>;
1013
1012
  /** Each platform's recorded runs, newest first, at most `BUILD_HISTORY_LIMIT` each. */
1014
- declare function readBuildHistory(state: WorkspaceState | null | undefined): Partial<Record<StatsPlatform, BuildHistoryEntry[]>>;
1013
+ declare function readBuildHistory(state: WorkspaceState | null | undefined): Partial<Record<BuildPlatform, BuildHistoryEntry[]>>;
1015
1014
  declare function readWorkspaceState(root: string): WorkspaceState | null;
1016
1015
  declare function lastUseFrom(state: WorkspaceState | null, logMtimes: readonly number[]): number;
1017
1016
  declare function workspaceLastUsed(root: string): number;
@@ -1292,12 +1291,14 @@ declare function macosAppState(record: MacosAppRecord | null): MacosAppState | n
1292
1291
  //#endregion
1293
1292
  //#region state/status.d.ts
1294
1293
  type StatsPlatform = "ios" | "android";
1294
+ /** A platform whose build reports phases: the stats platforms and `macos`. */
1295
+ type BuildPlatform = StatsPlatform | "macos";
1295
1296
  type RunOutcomeKind = "hit" | "cold";
1296
1297
  declare const BUILD_PHASES: readonly ["prepare", "cache-lookup", "wait", "prebuild", "pods", "compile", "device", "install", "launch"];
1297
1298
  type BuildPhase = (typeof BUILD_PHASES)[number];
1298
1299
  type ActiveBuildState = "running" | "stale" | "unknown";
1299
1300
  /**
1300
- * Where a running build compiles: `local`, or the build machine it was offloaded to, with the phase it is in there
1301
+ * Where a running build compiles: `local`, or the remote Mac it was offloaded to, with the phase it is in there
1301
1302
  * (`sync`, `deps`, `prebuild`, `pods`, `build` or `fetch`) and when the offload and that phase started.
1302
1303
  */
1303
1304
  type BuildPlacement = "local" | {
@@ -1313,7 +1314,7 @@ interface BuildWaitingFor {
1313
1314
  since: string;
1314
1315
  }
1315
1316
  interface BuildReport {
1316
- platform: StatsPlatform;
1317
+ platform: BuildPlatform;
1317
1318
  slot: string;
1318
1319
  state: ActiveBuildState;
1319
1320
  phase: BuildPhase;
@@ -1359,15 +1360,16 @@ interface PlannedPhase {
1359
1360
  declare const NATIVE_BUILD_STEPS: readonly ["configure", "compile", "link", "resources", "script", "dex", "package", "sign"];
1360
1361
  type NativeBuildStep = (typeof NATIVE_BUILD_STEPS)[number];
1361
1362
  /**
1362
- * A running build's progress as its tool reports it. `unit` is `targets` for xcodebuild and `tasks` for Gradle.
1363
- * xcodebuild's `done` counts targets it finished and `total` the targets in its dependency graph, which includes
1364
- * targets with nothing to do; Gradle's `done` counts the tasks it reported, with a null `total`. They are counts, not
1365
- * a completion fraction. `status` reports the detail only during the `compile` phase. `line` is
1363
+ * A running build's progress as its tool reports it. `unit` is `targets` for xcodebuild, `tasks` for Gradle and
1364
+ * `steps` for SwiftPM. xcodebuild's `done` counts targets it finished and `total` the targets in its dependency graph,
1365
+ * which includes targets with nothing to do; Gradle's `done` counts the tasks it reported, with a null `total`;
1366
+ * SwiftPM's `done` and `total` are the `[done/total]` of its latest progress line, and its total can grow while it
1367
+ * builds. They are counts, not a completion fraction. `status` reports the detail only during the `compile` phase. `line` is
1366
1368
  * the latest compile, link or task line with paths shortened to file names.
1367
1369
  */
1368
1370
  interface BuildDetail {
1369
1371
  step: NativeBuildStep | null;
1370
- unit: "targets" | "tasks" | null;
1372
+ unit: "targets" | "tasks" | "steps" | null;
1371
1373
  done: number | null;
1372
1374
  total: number | null;
1373
1375
  line: string | null;
@@ -1383,7 +1385,7 @@ interface DevicePlacement {
1383
1385
  }
1384
1386
  interface LastBuildReport {
1385
1387
  devicePlacement?: DevicePlacement;
1386
- platform: StatsPlatform;
1388
+ platform: BuildPlatform;
1387
1389
  status: "ok" | "failed";
1388
1390
  cacheHit: BuildCacheHit;
1389
1391
  cacheSkipped: boolean;
@@ -1397,7 +1399,7 @@ interface LastBuildReport {
1397
1399
  buildMachine?: string;
1398
1400
  /** Where compilation ran: here or a machine name; absent when no build ran. */
1399
1401
  builtOn?: string;
1400
- /** The build machine that compiled the app when the build was offloaded. */
1402
+ /** The remote Mac that compiled the app when the build was offloaded. */
1401
1403
  offloadedTo?: string;
1402
1404
  /** Why the run built here after it considered offloading; absent when it offloaded or never considered it. */
1403
1405
  offloadFallback?: string;
@@ -1888,7 +1890,7 @@ interface EnvironmentState {
1888
1890
  build?: BuildReport | null;
1889
1891
  lastBuilds?: Partial<Record<StatsPlatform, LastBuildReport>>;
1890
1892
  /** Each platform's recent runs, newest first, at most `BUILD_HISTORY_LIMIT` each. */
1891
- builds?: Partial<Record<StatsPlatform, BuildHistoryEntry[]>>;
1893
+ builds?: Partial<Record<BuildPlatform, BuildHistoryEntry[]>>;
1892
1894
  disk?: EnvironmentDisk;
1893
1895
  /** The coding-agent sessions working in the environment, most recently active first; absent when none. */
1894
1896
  agents?: AgentSession[];
@@ -2024,7 +2026,7 @@ declare function readAgentSessionsCache(): AgentSessionsCache | null;
2024
2026
  //#region state/stim-build.d.ts
2025
2027
  /**
2026
2028
  * A digest of Stim's built code: the first 16 hex characters of the sha256 over the sorted `*.mjs` names and
2027
- * bytes of a `stim` `dist` directory. A client and a build machine offload only when both compute the same one.
2029
+ * bytes of a `stim` `dist` directory. A client and a remote Mac offload only when both compute the same one.
2028
2030
  */
2029
2031
  declare function stimBuildDigest(dir: string): string | null;
2030
2032
  //#endregion
@@ -2075,7 +2077,7 @@ interface RunSample {
2075
2077
  deviceSetup?: boolean;
2076
2078
  }
2077
2079
  type RunHistory = Partial<Record<StatsPlatform, Partial<Record<RunOutcomeKind, RunSample[]>>>>;
2078
- /** Where a compiling build ran: here, on a build machine, or here after offloading it failed. */
2080
+ /** Where a compiling build ran: here, on a remote Mac, or here after offloading it failed. */
2079
2081
  declare const PLACEMENT_DECISIONS: readonly ["here", "offloaded", "fell-back"];
2080
2082
  type PlacementDecision = (typeof PLACEMENT_DECISIONS)[number];
2081
2083
  interface StatsPlacement {
@@ -2206,7 +2208,7 @@ declare function readStatsReport(key: string | null, now: number): {
2206
2208
  declare function findProjectRoot(startDir: string): string | null;
2207
2209
  //#endregion
2208
2210
  //#region state/device-host-machines.d.ts
2209
- /** A separately approved hosting machine, pinned before sending its device token. */
2211
+ /** A separately approved remote Mac, pinned before sending its device token. */
2210
2212
  interface DeviceHostMachineCredential {
2211
2213
  machine: string;
2212
2214
  nodeId: string;
@@ -2338,4 +2340,4 @@ declare function readSetupJournal(hash: string): SetupJournal | null;
2338
2340
  declare function isJournalExpired(journal: SetupJournal, now?: number): boolean;
2339
2341
  declare function isSetupJournalPrunable(journal: SetupJournal, now: number): boolean;
2340
2342
  //#endregion
2341
- export { readRunEstimates as $, settingDefinition as $a, HostedAppLaunch as $i, readMacosRecord as $n, workspaceBuildDetailFile as $o, READY_PHASE_MS as $r, getProjectSettings as $s, BuildWaitingFor as $t, DeviceHostMachineCredential as A, ANDROID_PCH_CHOICES as Aa, AgentActionReaderOptions as Ac, HostedNativeOffer as Ai, StatusCapacity as An, easMachineStateRoot as Ao, HostedAndroidStatus as Ar, countErrorEntries as As, ActiveBuildState as At, RunHistory as B, SettingEntry as Ba, parseHostedNativeOffer as Bi, WebPageState as Bn, maintenanceRunClaims as Bo, unreadableHostedNative as Br, readJsonObject as Bs, BuildCacheHit as Bt, pinnedEndpoint as C, validHostedAppArguments as Ca, readSwiftpmCacheUsage as Cc, HostedDevicePhase as Ci, PhysicalDeviceState as Cn, createdDevicesFile as Co, HostedIosStatus as Cr, queryJsonLogs as Cs, readEndedAgentSessions as Ct, HostedMetroRequest as D, settingsJsonSchema as Da, agentDeviceUsageFile as Dc, HostedDeviceSession as Di, STATUS_ISSUE_CODES as Dn, deviceHostMachinesLock as Do, parseHostedIosPlacement as Dr, recordMatches as Ds, ACTIVITY_RECENCY_BASES as Dt, HostedMetroGateway as E, SETTINGS_SCHEMA_URL as Ea, AgentDeviceUsageRoots as Ec, HostedDeviceSelectors as Ei, RunOutcomeKind as En, deviceHostMachinesFile as Eo, hostedIosStatus as Er, readLogTimeline as Es, withGitChip as Et, HISTORY_LIMIT as F, RemoteDeviceBackend as Fa, SOURCES as Fc, hostedDeviceId as Fi, WEB_PAGE_STATES as Fn, gitMergeCacheDir as Fo, parseHostedAndroidPlacement as Fr, readCreatedDevices as Fs, AndroidDeviceState as Ft, StatsCapacityWait as G, TunnelMode as Ga, readHostedDeviceLedger as Gi, WorktreePullRequest as Gn, sharedCcache as Go, DEV_SERVER_STOP_REQUEST_KEY as Gr, buildWorkerRoot as Gs, BuildMissCategory as Gt, STATS_VERSION as H, SettingType as Ha, parseHostedPlatformDevice as Hi, WorkspaceStage as Hn, pullRequestCacheDir as Ho, BUILD_HISTORY_LIMIT as Hr, withStateReadCache as Hs, BuildDetail as Ht, OffloadSummary as I, SETTINGS as Ia, levelRank as Ic, parseHostedAndroidDevice as Ii, WORKSPACE_PHASES as In, maintenanceAttemptFile as Io, unreadableHostedAndroid as Ir, readEasSessionLedger as Is, AndroidRuntimeFacts as It, StatsReport as J, acceptsShape as Ja, HOSTED_MACOS_APP_SLOTS as Ji, MacosBuild as Jn, sharedPods as Jo, DeviceIdleShutdownRecord as Jr, findProjectByMetroPort as Js, BuildPhase as Jt, StatsPlacement as K, WEB_VIEWPORTS as Ka, readHostedSessions as Ki, MacosAppRecord as Kn, sharedCompilationCache as Ko, DevServerStopRecord as Kr, configCorruptRepair as Ks, BuildMissChange as Kt, PLACEMENT_DECISIONS as L, SETTING_GROUPS as La, parseNdjsonLine as Lc, parseHostedChoice as Li, WORKSPACE_STAGE_KINDS as Ln, maintenanceChildLogFile as Lo, HostedNativePlacement as Lr, validEasSessionClaim as Ls, AppPresence as Lt, BuildMachineTotals as M, OFFLOAD_MODES as Ma, createAgentActionReader as Mc, deviceHostArea as Mi, StatusIssueCode as Mn, easSessionLedgerLock as Mo, hostedAndroidPlacements as Mr, CreatedDevices as Ms, ActivityRecencyBasis as Mt, CAPACITY_REFUSAL_LIMIT as N, OffloadMode as Na, LEVELS as Nc, deviceHostRoot as Ni, StatusPayload as Nn, emulatorLogFile as No, hostedAndroidRecords as Nr, EasSessionClaim as Ns, AgentSession as Nt, hostedMetroGateways as O, ANDROID_COMPILER_CACHE_CHOICES as Oa, readAgentDeviceUsage as Oc, HostedIosChoice as Oi, SimulatorState as On, deviceViewersDir as Oo, unreadableHostedIos as Or, sortByTs as Os, AGENT_TOOLS as Ot, CAPACITY_REFUSAL_MAX_AGE_MS as P, REMOTE_DEVICE_BACKENDS as Pa, NdjsonRecord as Pc, hostedConsolePort as Pi, TUTORIAL_VERSION as Pn, getConfigPath as Po, hostedAndroidStatus as Pr, EasSessionLedgerRead as Ps, AgentTool as Pt, offloadSummary as Q, isSensitiveReference as Qa, HostedAgentLease as Qi, readHostedMacosApp as Qn, workspaceAgentDeviceDir as Qo, MetroLastStop as Qr, getProjectSetting as Qs, BuildResult as Qt, ReadStatsResult as R, SETTING_SCOPES as Ra, parseNdjsonText as Rc, parseHostedDevice as Ri, WarmStep as Rn, maintenanceDir as Ro, hostedNativeRecords as Rr, isJsonObject as Rs, BUILD_PHASES as Rt, parseMachine as S, rememberHostedAppBlobRename as Sa, SwiftpmCacheUsage as Sc, HostedDeviceOfferRequest as Si, PhysicalDeviceConnection as Sn, configLockPath as So, HostedIosPlacement as Sr, parseSince as Ss, readDiskUsage as St, HOSTED_METRO_REQUESTS_KEY as T, SETTINGS_SCHEMA_FILE as Ta, AgentDeviceUsage as Tc, HostedDeviceRequest as Ti, RemoteDeviceState as Tn, deviceHostMachinesClaims as To, hostedIosRecords as Tr, readLogRecords as Ts, withDerivedFacts as Tt, StatsBucket as U, SettingsPayload as Ua, parseHostedRequest as Ui, WorktreeFacts as Un, serverSetupDir as Uo, DEVICE_IDLE_SHUTDOWN_KEY as Ur, ParkedMax as Us, BuildDiagnostic as Ut, RunSample as V, SettingScope as Va, parseHostedOfferRequest as Vi, WorkspacePhase as Vn, maintenanceStateFile as Vo, BUILD_HISTORY_KEY as Vr, readStateFile as Vs, BuildCause as Vt, StatsCapacityRefusal as W, TUNNEL_MODES as Wa, readHostedDevice as Wi, WorktreeGit as Wn, setupJournalFile as Wo, DEVICE_RECLAIM_REASON as Wr, allMetroPorts as Ws, BuildHistoryEntry as Wt, decodeStats as X, expectedShape as Xa, HostedAgentDriverName as Xi, macosAppState as Xn, supervisorLogFile as Xo, IdleStopRecord as Xr, getParkedMax as Xs, BuildPlanPayload as Xt, StatsScope as Y, coerceSettingText as Ya, HostedAgentAccess as Yi, MacosProcess as Yn, statsFile as Yo, IDLE_STOP_KEY as Yr, getConcurrencyLimits as Ys, BuildPlacement as Yt, findProjectRoot as Z, isLayeredSetting as Za, HostedAgentGrant as Zi, parseMacosRecord as Zn, supervisorPidFile as Zo, LAST_BUILD_KEYS as Zr, getProject as Zs, BuildReport as Zt, Endpoint as _, hostedAppBlobs as _a, buildSlotPath as _c, workspaceLastUsed as _i, MemorySource as _n, archiveDir as _o, MaintenanceState as _r, compileGrep as _s, endedAgentSessionOf as _t, parseSetupJournal as a, parseHostedAgentAccess as aa, Config as ac, lastUseFrom as ai, DiskMeasure as an, RecordedSegment as ao, linkReplacedArchives as ar, workspaceLogsDir as as, trimSamples as at, endpoint as b, readHostedApp as ba, saturation as bc, HostedDevice as bi, NativeBuildStep as bn, buildMachinesFile as bo, readMaintenanceAttempt as br, logFiles as bs, readAgentSessionsCache as bt, HOSTED_LOGS_FIRST_BYTES as c, parseHostedMacosDevice as ca, PlatformRecords as cc, readDevServerStop as ci, EnvironmentState as cn, closedSegmentName as co, readArchives as cr, workspaceStateFile as cs, ViewedDevice as ct, HostedLogsPage as d, HostedAppDelivery as da, SettingsObject as dc, readDevicePlacement as di, LastBuildReport as dn, listSegments as do, MaintenanceCheck as dr, NATIVE_CRASH_LOG_PREFIX as ds, AgentSessionsCache as dt, HostedMacosChoice as ea, getRepoSettings as ec, WARM_KEY as ei, ChecksState as en, settingValueError as eo, ArchivedBytes as er, workspaceDerivedData as es, readStats as et, hostedMacosLogsDir as f, HostedAppFile as fa, StimConfig as fc, readIdleStop as fi, MACHINE_OWNER_KINDS as fn, openSegmentName as fo, MaintenanceMode as fr, QueryCriteria as fs, ENDED_AGENT_RETENTION_MS as ft, readLogsSince as g, hostedAppAttempt as ga, MachineCapacity as gc, readWorkspaceState as gi, MachineUsageState as gn, agentSessionsCacheFile as go, MaintenanceSize as gr, bundleMarkerPlatform as gs, diskUsageCacheFile as gt, readHostedNativeLogsCheckpoint as h, hostedAppArea as ha, readBuildMachines as hc, readWorkspaceAgent as hi, MachineOwnerKind as hn, recordingEnabled as ho, MaintenanceRecord as hr, buildCriteria as hs, agentSessionOf as ht, isSetupJournalPrunable as i, hostedMacosBundleId as ia, ConcurrencyLimits as ic, buildDiagnostics as ii, DevicePlacement as in, RecordedDevice as io, archivedUsage as ir, workspaceLogErrorIndex as is, trimCapacityWaits as it, readDeviceHostMachines as j, IOS_SIMULATOR_APPS as ja, AgentTarget as jc, assertHostedDeviceLedger as ji, StatusIssue as jn, easSessionLedgerFile as jo, hostedAndroidDeviceName as jr, CreatedDevicePlatform as js, ActivityDriver as jt, hostedMetroRequests as k, ANDROID_EMULATOR_APPS as ka, readAgentDeviceUsageCache as kc, HostedIosDevice as ki, StatsPlatform as kn, diskUsageCacheDir as ko, HostedAndroidPlacement as kr, tailRead as ks, APP_PROCESS_STATES as kt, HOSTED_LOGS_PAGE_BYTES as l, parseHostedMacosPlacement as la, ProjectRecord as lc, readDevServerStopRequest as li, GitChip as ln, footageDrops as lo, MaintenanceAction as lr, workspaceStateLock as ls, readViewedDevices as lt, parseHostedLogsCursor as m, HostedAppRecord as ma, BuildMachineCredential as mc, readWarmRecord as mi, MachineOwner as mn, recordingDeviceName as mo, MaintenancePressure as mr, attachExpoErrorContext as ms, StatusCacheEntry as mt, SetupJournal as n, HostedMacosPlacement as na, loadConfig as nc, WarmRecord as ni, DeviceAppProcess as nn, RECORDING_FOOTAGE_MS as no, ArchivedWorkspace as nr, workspaceEndedAgentsLock as ns, statsProjectKey as nt, readSetupJournal as o, parseHostedAgentGrant as oa, DeviceRecord as oc, parseMissReason as oi, EndedAgentSession as on, RecordingPlatform as oo, readArchive as or, workspaceMetadataFile as os, wholePhases as ot, hostedNativeLogsDir as p, HostedAppOffer as pa, SupervisorRecord as pc, readLastBuilds as pi, MEMORY_SOURCES as pn, recordedBytes as po, MaintenancePass as pr, advanceTail as ps, PullRequestCacheEntry as pt, StatsRecord as q, WebViewport as qa, HOSTED_AGENT_DRIVERS as qi, MacosAppState as qn, sharedGradle as qo, DevServerStopRequest as qr, findEnclosingWorktreeRoot as qs, BuildMissReason as qt, isJournalExpired as r, hostedMacosAppSlot as ra, withConfigLock as rc, WorkspaceState as ri, DeviceLeaseState as rn, RECORDING_PLATFORMS as ro, archiveEnabled as rr, workspaceGradleBuild as rs, trimCapacityRefusals as rt, agentDeviceStateDirs as s, parseHostedMacosChoice as sa, DoctorRunRecord as sc, readBuildHistory as si, EnvironmentDisk as sn, capDrops as so, readArchiveState as sr, workspaceRecordingsDir as ss, DeviceViewersRecord as st, SetupCapability as t, HostedMacosDevice as ta, isPathPrefix as tc, WORKSPACE_AGENT_KEY as ti, DeviceActivity as tn, RECORDING_CAP_BYTES as to, ArchivedUsage as tr, workspaceEndedAgentsFile as ts, readStatsReport as tt, HostedLogsCursor as u, HOSTED_APP_CHUNK_BYTES as ua, RepoRecord as uc, readDeviceIdleShutdowns as ui, GitChipPart as un, listRecordedDevices as uo, MaintenanceActionKind as ur, ERROR_SOURCES as us, stimBuildDigest as ut, TAILNET_MACHINE_PATTERN as v, parseHostedAppManifest as va, buildSlotsDir as vc, HostedAndroidChoice as vi, MetroBundleState as vn, archiveLock as vo, MaintenanceStatus as vr, fileSizes as vs, listStatusCacheEntries as vt, HOSTED_METRO_GATEWAYS_KEY as w, validHostedAppBlob as wa, swiftpmCacheUsageFile as wc, HostedDevicePlatform as wi, PlannedPhase as wn, createdDevicesLock as wo, hostedIosPlacements as wr, queryLogs as ws, readPullRequestCache as wt, findPeer as x, readHostedAppMetadata as xa, tryAcquireBuildSlotClaim as xc, HostedDeviceOffer as xi, PHYSICAL_DEVICE_CONNECTIONS as xn, buildMachinesLock as xo, readMaintenanceState as xr, markerWindow as xs, readBuildDetail as xt, TailnetPeer as y, parseHostedAppOffer as ya, machineCapacity as yc, HostedAndroidDevice as yi, NATIVE_BUILD_STEPS as yn, archiveRoot as yo, parseMaintenanceState as yr, followLogs as ys, pullRequestCacheFile as yt, RunEstimates as z, SettingDefinition as za, readNdjsonGenerations as zc, parseHostedLocalDeviceCount as zi, WebBrowserState as zn, maintenanceNdjsonFile as zo, parseHostedNativePlacement as zr, readJsonFile as zs, BUILD_RESULTS as zt };
2343
+ export { readRunEstimates as $, isSensitiveReference as $a, HostedAgentLease as $i, readHostedMacosApp as $n, workspaceAgentDeviceDir as $o, MetroLastStop as $r, getProjectSetting as $s, BuildResult as $t, DeviceHostMachineCredential as A, ANDROID_EMULATOR_APPS as Aa, readAgentDeviceUsageCache as Ac, HostedIosDevice as Ai, StatsPlatform as An, diskUsageCacheDir as Ao, HostedAndroidPlacement as Ar, tailRead as As, ActiveBuildState as At, RunHistory as B, SettingDefinition as Ba, readNdjsonGenerations as Bc, parseHostedLocalDeviceCount as Bi, WebBrowserState as Bn, maintenanceNdjsonFile as Bo, parseHostedNativePlacement as Br, readJsonFile as Bs, BuildCacheHit as Bt, pinnedEndpoint as C, rememberHostedAppBlobRename as Ca, SwiftpmCacheUsage as Cc, HostedDeviceOfferRequest as Ci, PhysicalDeviceConnection as Cn, configLockPath as Co, HostedIosPlacement as Cr, parseSince as Cs, readEndedAgentSessions as Ct, HostedMetroRequest as D, SETTINGS_SCHEMA_URL as Da, AgentDeviceUsageRoots as Dc, HostedDeviceSelectors as Di, RunOutcomeKind as Dn, deviceHostMachinesFile as Do, hostedIosStatus as Dr, readLogTimeline as Ds, ACTIVITY_RECENCY_BASES as Dt, HostedMetroGateway as E, SETTINGS_SCHEMA_FILE as Ea, AgentDeviceUsage as Ec, HostedDeviceRequest as Ei, RemoteDeviceState as En, deviceHostMachinesClaims as Eo, hostedIosRecords as Er, readLogRecords as Es, withGitChip as Et, HISTORY_LIMIT as F, REMOTE_DEVICE_BACKENDS as Fa, NdjsonRecord as Fc, hostedConsolePort as Fi, TUTORIAL_VERSION as Fn, getConfigPath as Fo, hostedAndroidStatus as Fr, EasSessionLedgerRead as Fs, AndroidDeviceState as Ft, StatsCapacityWait as G, TUNNEL_MODES as Ga, readHostedDevice as Gi, WorktreeGit as Gn, setupJournalFile as Go, DEVICE_RECLAIM_REASON as Gr, allMetroPorts as Gs, BuildMissCategory as Gt, STATS_VERSION as H, SettingScope as Ha, parseHostedOfferRequest as Hi, WorkspacePhase as Hn, maintenanceStateFile as Ho, BUILD_HISTORY_KEY as Hr, readStateFile as Hs, BuildDetail as Ht, OffloadSummary as I, RemoteDeviceBackend as Ia, SOURCES as Ic, hostedDeviceId as Ii, WEB_PAGE_STATES as In, gitMergeCacheDir as Io, parseHostedAndroidPlacement as Ir, readCreatedDevices as Is, AndroidRuntimeFacts as It, StatsReport as J, WebViewport as Ja, HOSTED_AGENT_DRIVERS as Ji, MacosAppState as Jn, sharedGradle as Jo, DevServerStopRequest as Jr, findEnclosingWorktreeRoot as Js, BuildPhase as Jt, StatsPlacement as K, TunnelMode as Ka, readHostedDeviceLedger as Ki, WorktreePullRequest as Kn, sharedCcache as Ko, DEV_SERVER_STOP_REQUEST_KEY as Kr, buildWorkerRoot as Ks, BuildMissChange as Kt, PLACEMENT_DECISIONS as L, SETTINGS as La, levelRank as Lc, parseHostedAndroidDevice as Li, WORKSPACE_PHASES as Ln, maintenanceAttemptFile as Lo, unreadableHostedAndroid as Lr, readEasSessionLedger as Ls, AppPresence as Lt, BuildMachineTotals as M, IOS_SIMULATOR_APPS as Ma, AgentTarget as Mc, assertHostedDeviceLedger as Mi, StatusIssue as Mn, easSessionLedgerFile as Mo, hostedAndroidDeviceName as Mr, CreatedDevicePlatform as Ms, ActivityRecencyBasis as Mt, CAPACITY_REFUSAL_LIMIT as N, OFFLOAD_MODES as Na, createAgentActionReader as Nc, deviceHostArea as Ni, StatusIssueCode as Nn, easSessionLedgerLock as No, hostedAndroidPlacements as Nr, CreatedDevices as Ns, AgentSession as Nt, hostedMetroGateways as O, settingsJsonSchema as Oa, agentDeviceUsageFile as Oc, HostedDeviceSession as Oi, STATUS_ISSUE_CODES as On, deviceHostMachinesLock as Oo, parseHostedIosPlacement as Or, recordMatches as Os, AGENT_TOOLS as Ot, CAPACITY_REFUSAL_MAX_AGE_MS as P, OffloadMode as Pa, LEVELS as Pc, deviceHostRoot as Pi, StatusPayload as Pn, emulatorLogFile as Po, hostedAndroidRecords as Pr, EasSessionClaim as Ps, AgentTool as Pt, offloadSummary as Q, isLayeredSetting as Qa, HostedAgentGrant as Qi, parseMacosRecord as Qn, supervisorPidFile as Qo, LAST_BUILD_KEYS as Qr, getProject as Qs, BuildReport as Qt, ReadStatsResult as R, SETTING_GROUPS as Ra, parseNdjsonLine as Rc, parseHostedChoice as Ri, WORKSPACE_STAGE_KINDS as Rn, maintenanceChildLogFile as Ro, HostedNativePlacement as Rr, validEasSessionClaim as Rs, BUILD_PHASES as Rt, parseMachine as S, readHostedAppMetadata as Sa, tryAcquireBuildSlotClaim as Sc, HostedDeviceOffer as Si, PHYSICAL_DEVICE_CONNECTIONS as Sn, buildMachinesLock as So, readMaintenanceState as Sr, markerWindow as Ss, readDiskUsage as St, HOSTED_METRO_REQUESTS_KEY as T, validHostedAppBlob as Ta, swiftpmCacheUsageFile as Tc, HostedDevicePlatform as Ti, PlannedPhase as Tn, createdDevicesLock as To, hostedIosPlacements as Tr, queryLogs as Ts, withDerivedFacts as Tt, StatsBucket as U, SettingType as Ua, parseHostedPlatformDevice as Ui, WorkspaceStage as Un, pullRequestCacheDir as Uo, BUILD_HISTORY_LIMIT as Ur, withStateReadCache as Us, BuildDiagnostic as Ut, RunSample as V, SettingEntry as Va, parseHostedNativeOffer as Vi, WebPageState as Vn, maintenanceRunClaims as Vo, unreadableHostedNative as Vr, readJsonObject as Vs, BuildCause as Vt, StatsCapacityRefusal as W, SettingsPayload as Wa, parseHostedRequest as Wi, WorktreeFacts as Wn, serverSetupDir as Wo, DEVICE_IDLE_SHUTDOWN_KEY as Wr, ParkedMax as Ws, BuildHistoryEntry as Wt, decodeStats as X, coerceSettingText as Xa, HostedAgentAccess as Xi, MacosProcess as Xn, statsFile as Xo, IDLE_STOP_KEY as Xr, getConcurrencyLimits as Xs, BuildPlanPayload as Xt, StatsScope as Y, acceptsShape as Ya, HOSTED_MACOS_APP_SLOTS as Yi, MacosBuild as Yn, sharedPods as Yo, DeviceIdleShutdownRecord as Yr, findProjectByMetroPort as Ys, BuildPlacement as Yt, findProjectRoot as Z, expectedShape as Za, HostedAgentDriverName as Zi, macosAppState as Zn, supervisorLogFile as Zo, IdleStopRecord as Zr, getParkedMax as Zs, BuildPlatform as Zt, Endpoint as _, hostedAppAttempt as _a, MachineCapacity as _c, readWorkspaceState as _i, MachineUsageState as _n, agentSessionsCacheFile as _o, MaintenanceSize as _r, bundleMarkerPlatform as _s, endedAgentSessionOf as _t, parseSetupJournal as a, hostedMacosBundleId as aa, ConcurrencyLimits as ac, buildDiagnostics as ai, DevicePlacement as an, RecordedDevice as ao, archivedUsage as ar, workspaceLogErrorIndex as as, trimSamples as at, endpoint as b, parseHostedAppOffer as ba, machineCapacity as bc, HostedAndroidDevice as bi, NATIVE_BUILD_STEPS as bn, archiveRoot as bo, parseMaintenanceState as br, followLogs as bs, readAgentSessionsCache as bt, HOSTED_LOGS_FIRST_BYTES as c, parseHostedMacosChoice as ca, DoctorRunRecord as cc, readBuildHistory as ci, EnvironmentDisk as cn, capDrops as co, readArchiveState as cr, workspaceRecordingsDir as cs, ViewedDevice as ct, HostedLogsPage as d, HOSTED_APP_CHUNK_BYTES as da, RepoRecord as dc, readDeviceIdleShutdowns as di, GitChipPart as dn, listRecordedDevices as do, MaintenanceActionKind as dr, ERROR_SOURCES as ds, AgentSessionsCache as dt, HostedAppLaunch as ea, getProjectSettings as ec, READY_PHASE_MS as ei, BuildWaitingFor as en, settingDefinition as eo, readMacosRecord as er, workspaceBuildDetailFile as es, readStats as et, hostedMacosLogsDir as f, HostedAppDelivery as fa, SettingsObject as fc, readDevicePlacement as fi, LastBuildReport as fn, listSegments as fo, MaintenanceCheck as fr, NATIVE_CRASH_LOG_PREFIX as fs, ENDED_AGENT_RETENTION_MS as ft, readLogsSince as g, hostedAppArea as ga, readBuildMachines as gc, readWorkspaceAgent as gi, MachineOwnerKind as gn, recordingEnabled as go, MaintenanceRecord as gr, buildCriteria as gs, diskUsageCacheFile as gt, readHostedNativeLogsCheckpoint as h, HostedAppRecord as ha, BuildMachineCredential as hc, readWarmRecord as hi, MachineOwner as hn, recordingDeviceName as ho, MaintenancePressure as hr, attachExpoErrorContext as hs, agentSessionOf as ht, isSetupJournalPrunable as i, hostedMacosAppSlot as ia, withConfigLock as ic, WorkspaceState as ii, DeviceLeaseState as in, RECORDING_PLATFORMS as io, archiveEnabled as ir, workspaceGradleBuild as is, trimCapacityWaits as it, readDeviceHostMachines as j, ANDROID_PCH_CHOICES as ja, AgentActionReaderOptions as jc, HostedNativeOffer as ji, StatusCapacity as jn, easMachineStateRoot as jo, HostedAndroidStatus as jr, countErrorEntries as js, ActivityDriver as jt, hostedMetroRequests as k, ANDROID_COMPILER_CACHE_CHOICES as ka, readAgentDeviceUsage as kc, HostedIosChoice as ki, SimulatorState as kn, deviceViewersDir as ko, unreadableHostedIos as kr, sortByTs as ks, APP_PROCESS_STATES as kt, HOSTED_LOGS_PAGE_BYTES as l, parseHostedMacosDevice as la, PlatformRecords as lc, readDevServerStop as li, EnvironmentState as ln, closedSegmentName as lo, readArchives as lr, workspaceStateFile as ls, readViewedDevices as lt, parseHostedLogsCursor as m, HostedAppOffer as ma, SupervisorRecord as mc, readLastBuilds as mi, MEMORY_SOURCES as mn, recordedBytes as mo, MaintenancePass as mr, advanceTail as ms, StatusCacheEntry as mt, SetupJournal as n, HostedMacosDevice as na, isPathPrefix as nc, WORKSPACE_AGENT_KEY as ni, DeviceActivity as nn, RECORDING_CAP_BYTES as no, ArchivedUsage as nr, workspaceEndedAgentsFile as ns, statsProjectKey as nt, readSetupJournal as o, parseHostedAgentAccess as oa, Config as oc, lastUseFrom as oi, DiskMeasure as on, RecordedSegment as oo, linkReplacedArchives as or, workspaceLogsDir as os, wholePhases as ot, hostedNativeLogsDir as p, HostedAppFile as pa, StimConfig as pc, readIdleStop as pi, MACHINE_OWNER_KINDS as pn, openSegmentName as po, MaintenanceMode as pr, QueryCriteria as ps, PullRequestCacheEntry as pt, StatsRecord as q, WEB_VIEWPORTS as qa, readHostedSessions as qi, MacosAppRecord as qn, sharedCompilationCache as qo, DevServerStopRecord as qr, configCorruptRepair as qs, BuildMissReason as qt, isJournalExpired as r, HostedMacosPlacement as ra, loadConfig as rc, WarmRecord as ri, DeviceAppProcess as rn, RECORDING_FOOTAGE_MS as ro, ArchivedWorkspace as rr, workspaceEndedAgentsLock as rs, trimCapacityRefusals as rt, agentDeviceStateDirs as s, parseHostedAgentGrant as sa, DeviceRecord as sc, parseMissReason as si, EndedAgentSession as sn, RecordingPlatform as so, readArchive as sr, workspaceMetadataFile as ss, DeviceViewersRecord as st, SetupCapability as t, HostedMacosChoice as ta, getRepoSettings as tc, WARM_KEY as ti, ChecksState as tn, settingValueError as to, ArchivedBytes as tr, workspaceDerivedData as ts, readStatsReport as tt, HostedLogsCursor as u, parseHostedMacosPlacement as ua, ProjectRecord as uc, readDevServerStopRequest as ui, GitChip as un, footageDrops as uo, MaintenanceAction as ur, workspaceStateLock as us, stimBuildDigest as ut, TAILNET_MACHINE_PATTERN as v, hostedAppBlobs as va, buildSlotPath as vc, workspaceLastUsed as vi, MemorySource as vn, archiveDir as vo, MaintenanceState as vr, compileGrep as vs, listStatusCacheEntries as vt, HOSTED_METRO_GATEWAYS_KEY as w, validHostedAppArguments as wa, readSwiftpmCacheUsage as wc, HostedDevicePhase as wi, PhysicalDeviceState as wn, createdDevicesFile as wo, HostedIosStatus as wr, queryJsonLogs as ws, readPullRequestCache as wt, findPeer as x, readHostedApp as xa, saturation as xc, HostedDevice as xi, NativeBuildStep as xn, buildMachinesFile as xo, readMaintenanceAttempt as xr, logFiles as xs, readBuildDetail as xt, TailnetPeer as y, parseHostedAppManifest as ya, buildSlotsDir as yc, HostedAndroidChoice as yi, MetroBundleState as yn, archiveLock as yo, MaintenanceStatus as yr, fileSizes as ys, pullRequestCacheFile as yt, RunEstimates as z, SETTING_SCOPES as za, parseNdjsonText as zc, parseHostedDevice as zi, WarmStep as zn, maintenanceDir as zo, hostedNativeRecords as zr, isJsonObject as zs, BUILD_RESULTS as zt };
@@ -1,5 +1,5 @@
1
- import { $t as BuildWaitingFor, Cn as PhysicalDeviceState, Ft as AndroidDeviceState, Gn as WorktreePullRequest, Hn as WorkspaceStage, Ht as BuildDetail, Jn as MacosBuild, Kn as MacosAppRecord, Kt as BuildMissChange, Nn as StatusPayload, Nt as AgentSession, On as SimulatorState, Tn as RemoteDeviceState, Un as WorktreeFacts, Ut as BuildDiagnostic, Wn as WorktreeGit, Wt as BuildHistoryEntry, Xt as BuildPlanPayload, Yt as BuildPlacement, Zt as BuildReport, an as DiskMeasure, cn as EnvironmentState, dn as LastBuildReport, gn as MachineUsageState, jn as StatusIssue, ln as GitChip, lr as MaintenanceAction, mn as MachineOwner, mr as MaintenancePressure, na as HostedMacosPlacement, nn as DeviceAppProcess, nr as ArchivedWorkspace, pr as MaintenancePass, qt as BuildMissReason, rn as DeviceLeaseState, sn as EnvironmentDisk, tn as DeviceActivity, vn as MetroBundleState, vr as MaintenanceStatus, zn as WebBrowserState } from "./index-DPp8a4-9.mjs";
2
- import { $n as UsageHistory, An as ReplaySpan, Dn as ReplayKeyframeParams, En as ReplayKeyframe, F as ControlBeginResult, Ft as LogsEndedEvent, G as DevicePosture, Gn as SimulatorCommand, Gt as MachineUsage, H as DeviceFrameArtwork, Ht as MachineHistory, In as ServerEvent, It as LogsEvent, Jn as StatusEvent, Jt as MacosWindowsEvent, K as DeviceUsageSeries, Kn as SimulatorOptions, Kt as MachineVolume, L as ControlEndedEvent, Lt as LogsQueryResult, Mt as LogLevel, Nn as RotateDirection, Nt as LogRecord, On as ReplayMarker, P as ControlBeginParams, Pn as SERVER_UPDATE_METHODS, Pt as LogSource, Tn as ReplayEndedEvent, Tt as KeyModifier, U as DeviceFrameEvent, V as DeviceAuth, Vt as MachineDetails, X as ErrorEvent, Zn as TouchPhase, Zt as Methods, a as ArchiveDetailParams, bt as InputSimulatorParams, ct as HelloParams, dr as WorkspaceFile, en as NotificationEntry, er as UsageSample, fn as PairingAuth, fr as WorkspaceFiles, gn as PushRegisterParams, hn as PushEvent, ht as InputKey, i as ActionResult, jn as ReplayTarget, jt as LogFilter, kn as ReplayRange, ln as PROTOCOL_VERSION, lt as HelloResult, mn as ProtocolError, mr as WorkspacePatch, n as ActionName, nn as NotificationLevel, nt as FrameEvent, on as NotificationsListResult, p as BuildClientSummary, pn as Platform, pt as InputButton, r as ActionParams, rn as NotificationSuppression, rt as FrameTarget, s as BUILD_METHODS, st as FramesSubscribeResult, t as ACTIONS, tn as NotificationEvent, tt as FrameDelayedEvent, ur as WorkspaceDiff, v as BuildMachineReport, w as BuildProgressEvent, x as BuildPlanParams, z as DEVICE_HOST_METHODS } from "./protocol-CfT6YiG_.mjs";
1
+ import { Bn as WebBrowserState, En as RemoteDeviceState, Ft as AndroidDeviceState, Gn as WorktreeGit, Ht as BuildDetail, Kn as WorktreePullRequest, Kt as BuildMissChange, Mn as StatusIssue, Nt as AgentSession, Pn as StatusPayload, Qt as BuildReport, Un as WorkspaceStage, Ut as BuildDiagnostic, Wn as WorktreeFacts, Wt as BuildHistoryEntry, Xt as BuildPlanPayload, Yn as MacosBuild, Yt as BuildPlacement, _n as MachineUsageState, cn as EnvironmentDisk, en as BuildWaitingFor, fn as LastBuildReport, hn as MachineOwner, hr as MaintenancePressure, in as DeviceLeaseState, kn as SimulatorState, ln as EnvironmentState, mr as MaintenancePass, nn as DeviceActivity, on as DiskMeasure, qn as MacosAppRecord, qt as BuildMissReason, ra as HostedMacosPlacement, rn as DeviceAppProcess, rr as ArchivedWorkspace, un as GitChip, ur as MaintenanceAction, wn as PhysicalDeviceState, yn as MetroBundleState, yr as MaintenanceStatus } from "./index-BTYoTeax.mjs";
2
+ import { $n as UsageHistory, An as ReplaySpan, Dn as ReplayKeyframeParams, En as ReplayKeyframe, F as ControlBeginResult, Ft as LogsEndedEvent, G as DevicePosture, Gn as SimulatorCommand, Gt as MachineUsage, H as DeviceFrameArtwork, Ht as MachineHistory, In as ServerEvent, It as LogsEvent, Jn as StatusEvent, Jt as MacosWindowsEvent, K as DeviceUsageSeries, Kn as SimulatorOptions, Kt as MachineVolume, L as ControlEndedEvent, Lt as LogsQueryResult, Mt as LogLevel, Nn as RotateDirection, Nt as LogRecord, On as ReplayMarker, P as ControlBeginParams, Pn as SERVER_UPDATE_METHODS, Pt as LogSource, Tn as ReplayEndedEvent, Tt as KeyModifier, U as DeviceFrameEvent, V as DeviceAuth, Vt as MachineDetails, X as ErrorEvent, Zn as TouchPhase, Zt as Methods, a as ArchiveDetailParams, bt as InputSimulatorParams, ct as HelloParams, dr as WorkspaceFile, en as NotificationEntry, er as UsageSample, fn as PairingAuth, fr as WorkspaceFiles, gn as PushRegisterParams, hn as PushEvent, ht as InputKey, i as ActionResult, jn as ReplayTarget, jt as LogFilter, kn as ReplayRange, ln as PROTOCOL_VERSION, lt as HelloResult, mn as ProtocolError, mr as WorkspacePatch, n as ActionName, nn as NotificationLevel, nt as FrameEvent, on as NotificationsListResult, p as BuildClientSummary, pn as Platform, pt as InputButton, r as ActionParams, rn as NotificationSuppression, rt as FrameTarget, s as BUILD_METHODS, st as FramesSubscribeResult, t as ACTIONS, tn as NotificationEvent, tt as FrameDelayedEvent, ur as WorkspaceDiff, v as BuildMachineReport, w as BuildProgressEvent, x as BuildPlanParams, z as DEVICE_HOST_METHODS } from "./protocol-BArCKISQ.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 HostedAppLaunch, Ci as HostedDevicePhase, Di as HostedDeviceSession, Nn as StatusPayload, Pc as NdjsonRecord, Si as HostedDeviceOfferRequest, Ti as HostedDeviceRequest, Wt as BuildHistoryEntry, Xt as BuildPlanPayload, d as HostedLogsPage, da as HostedAppDelivery, pa as HostedAppOffer, u as HostedLogsCursor, wi as HostedDevicePlatform, xi as HostedDeviceOffer } from "./index-DPp8a4-9.mjs";
1
+ import { Ci as HostedDeviceOfferRequest, Ei as HostedDeviceRequest, Fc as NdjsonRecord, Oi as HostedDeviceSession, Pn as StatusPayload, Si as HostedDeviceOffer, Ti as HostedDevicePlatform, Wt as BuildHistoryEntry, Xt as BuildPlanPayload, d as HostedLogsPage, ea as HostedAppLaunch, fa as HostedAppDelivery, ma as HostedAppOffer, u as HostedLogsCursor, wi as HostedDevicePhase } from "./index-BTYoTeax.mjs";
2
2
  //#region protocol.d.ts
3
3
  declare const PROTOCOL_VERSION = 1;
4
4
  declare const PROTOCOL_SCHEMA_FILE = "protocol.schema.json";
@@ -493,9 +493,9 @@ interface BuildPlanParams {
493
493
  }
494
494
  /** `stim ios|android --plan --json`. It builds, boots and installs nothing, and writes no Stim state. */
495
495
  type BuildPlanResult = BuildPlanPayload;
496
- /** A client's repository on a build machine: letters, digits, `.`, `_` and `-`, at most 80. */
496
+ /** A client's repository on a remote Mac: letters, digits, `.`, `_` and `-`, at most 80. */
497
497
  declare const BUILD_REPO_PATTERN = "^[A-Za-z0-9][A-Za-z0-9._-]{0,79}$";
498
- /** Asks a build machine what it can build, how busy it is, and how warm its copy of `repo` is. */
498
+ /** Asks a remote Mac what it can build, how busy it is, and how warm its copy of `repo` is. */
499
499
  interface BuildOfferParams {
500
500
  repo: string;
501
501
  /** sha256 of the repository's lockfile, compared with the one the machine last installed from. */
@@ -521,7 +521,7 @@ interface BuildToolchain {
521
521
  } | null;
522
522
  }
523
523
  /**
524
- * How busy the build machine is. `running` counts offloaded builds and `max` is how many it runs at once.
524
+ * How busy the remote Mac is. `running` counts offloaded builds and `max` is how many it runs at once.
525
525
  * `cpus`, `loadPerCore` (5-minute load average per CPU), `builds` (its own Stim native builds plus the offloaded
526
526
  * ones), `maxBuilds` (its `concurrency.maxBuilds`, 0 when unlimited) and `maxLoadPerCore` are absent from a
527
527
  * stim-server older than them. `declined` is why it would refuse a build now, null when it would take one.
@@ -701,7 +701,7 @@ interface MachineDetails {
701
701
  stats: Record<string, unknown> | null;
702
702
  statsError?: string;
703
703
  /**
704
- * `buildMachines` from `stim doctor --json --platform ios`; empty when `offload.machines` names none. The reply
704
+ * `remoteMachines` from `stim doctor --json --platform ios`; empty when `remote.machines` names none. The reply
705
705
  * never waits for doctor: `buildMachines` and `buildMachinesError` are the last result a background doctor run
706
706
  * settled, `buildMachinesAt` is when it settled, and `buildMachinesPending` is true while that result is stale
707
707
  * (or absent) and a refresh is running. A client that wants the refreshed result asks `machine.details` again.
@@ -711,7 +711,7 @@ interface MachineDetails {
711
711
  buildMachinesAt?: string;
712
712
  buildMachinesPending?: boolean;
713
713
  /**
714
- * The builds this Mac ran for other Macs as a build machine, one entry per client, from the audit log. `today` is
714
+ * The builds this Mac ran for other Macs, one entry per client, from the audit log. `today` is
715
715
  * this Mac's local calendar day. Absent from a server older than this field.
716
716
  */
717
717
  buildClients?: BuildClientSummary[];
@@ -730,7 +730,7 @@ interface BuildClientSummary {
730
730
  };
731
731
  lastAt: string;
732
732
  }
733
- /** One `offload.machines` entry as `stim doctor --json` reports it; `guide facts doctor` defines the fields. */
733
+ /** One `remote.machines` entry as `stim doctor --json` reports it; `guide facts doctor` defines the fields. */
734
734
  interface BuildMachineReport {
735
735
  machine: string;
736
736
  state: string;
@@ -1,2 +1,2 @@
1
- import { $ as FRAME_FPS, $n as UsageHistory, $t as NOTIFICATION_SUPPRESSIONS, A as CAPABILITIES, An as ReplaySpan, At as LegacyPushEvent, B as DEVICE_POSTURES, Bn as ServerUpdatePackage, Bt as METHODS, C as BuildPlatform, Cn as RecordingSetResult, Ct as InputWindowParams, D as BuildSyncParams, Dn as ReplayKeyframeParams, Dt as LEGACY_PUSH_EVENTS, E as BuildStartParams, En as ReplayKeyframe, Et as KeyframeParams, F as ControlBeginResult, Fn as ServeRoute, Ft as LogsEndedEvent, G as DevicePosture, Gn as SimulatorCommand, Gt as MachineUsage, H as DeviceFrameArtwork, Hn as ServerUpdateStartParams, Ht as MachineHistory, I as ControlEndParams, In as ServerEvent, It as LogsEvent, J as ERROR_CODES, Jn as StatusEvent, Jt as MacosWindowsEvent, K as DeviceUsageSeries, Kn as SimulatorOptions, Kt as MachineVolume, L as ControlEndedEvent, Ln as ServerMessage, Lt as LogsQueryResult, M as Capability, Mn as RequestId, Mt as LogLevel, N as ClientRequest, Nn as RotateDirection, Nt as LogRecord, O as BuildSyncResult, On as ReplayMarker, Ot as LOG_LEVELS, P as ControlBeginParams, Pn as SERVER_UPDATE_METHODS, Pt as LogSource, Q as FRAME_EDGE, Qn as UnsubscribeParams, Qt as NOTIFICATION_LEVELS, R as ControlPlatform, Rn as ServerResponse, Rt as MAX_INPUT_TEXT, S as BuildPlanResult, Sn as RecordingSetParams, St as InputTouchParams, T as BuildRequestAuth, Tn as ReplayEndedEvent, Tt as KeyModifier, U as DeviceFrameEvent, Un as ServerUpdateStatus, Ut as MachineHistoryParams, V as DeviceAuth, Vn as ServerUpdateProgress, Vt as MachineDetails, W as DeviceHostRequestAuth, Wn as SettingsResult, Wt as MachineUpdateStatus, X as ErrorEvent, Xn as TOUCH_PHASES, Xt as Method, Y as ErrorCode, Yn as SubscribeResult, Yt as MemoryPressure, Z as FEATURES, Zn as TouchPhase, Zt as Methods, _ as BuildMachineCapacity, _n as QuietHours, _t as InputPostureParams, a as ArchiveDetailParams, an as NotificationsListParams, ar as VIDEO_HEADER_VERSION, at as FramesSeekParams, b as BuildOfferResult, bn as REPLAY_RATES, bt as InputSimulatorParams, c as BUILD_REPO_PATTERN, cn as PROTOCOL_SCHEMA_FILE, cr as VideoCodec, ct as HelloParams, d as BuildAttachResult, dn as PUSH_TOKEN_PATTERN, dr as WorkspaceFile, dt as INPUT_BUTTONS, en as NotificationEntry, er as UsageSample, et as Feature, f as BuildCapacity, fn as PairingAuth, fr as WorkspaceFiles, ft as INPUT_KEYS, g as BuildJobParams, gn as PushRegisterParams, gt as InputKeyParams, h as BuildJobOutcome, hn as PushEvent, ht as InputKey, i as ActionResult, in as NotificationTarget, ir as VIDEO_FOLDED, it as FramesLiveParams, j as CONTROL_END_REASONS, jn as ReplayTarget, jt as LogFilter, k as BuildToolchain, kn as ReplayRange, kt as LOG_SOURCES, l as BuildAndroidOptions, ln as PROTOCOL_VERSION, lr as VideoPacket, lt as HelloResult, m as BuildFile, mn as ProtocolError, mr as WorkspacePatch, mt as InputButtonParams, n as ActionName, nn as NotificationLevel, nr as VIDEO_ARTWORK, nt as FrameEvent, o as ArchiveDetailResult, on as NotificationsListResult, or as VIDEO_KEYFRAME, ot as FramesSeekResult, p as BuildClientSummary, pn as Platform, pr as WorkspaceParams, pt as InputButton, q as DuoFramePose, qn as StatsResult, qt as MacosWindow, r as ActionParams, rn as NotificationSuppression, rr as VIDEO_CODECS, rt as FrameTarget, s as BUILD_METHODS, sn as PLATFORMS, sr as VIDEO_UNFOLDED, st as FramesSubscribeResult, t as ACTIONS, tn as NotificationEvent, tr as UsageSeries, tt as FrameDelayedEvent, u as BuildArtifactResult, un as PUSH_EVENTS, ur as WorkspaceDiff, ut as HostedSessionRow, v as BuildMachineReport, vn as RELOAD_PLATFORMS, vt as InputRotateParams, w as BuildProgressEvent, wn as ReloadPlatform, wt as KEY_MODIFIERS, x as BuildPlanParams, xn as ROTATE_DIRECTIONS, xt as InputTextParams, y as BuildOfferParams, yn as REPLAY_MARKER_KINDS, yt as InputScrollParams, z as DEVICE_HOST_METHODS, zn as ServerUpdateOutcome, zt as MAX_LOG_TAIL } from "./protocol-CfT6YiG_.mjs";
1
+ import { $ as FRAME_FPS, $n as UsageHistory, $t as NOTIFICATION_SUPPRESSIONS, A as CAPABILITIES, An as ReplaySpan, At as LegacyPushEvent, B as DEVICE_POSTURES, Bn as ServerUpdatePackage, Bt as METHODS, C as BuildPlatform, Cn as RecordingSetResult, Ct as InputWindowParams, D as BuildSyncParams, Dn as ReplayKeyframeParams, Dt as LEGACY_PUSH_EVENTS, E as BuildStartParams, En as ReplayKeyframe, Et as KeyframeParams, F as ControlBeginResult, Fn as ServeRoute, Ft as LogsEndedEvent, G as DevicePosture, Gn as SimulatorCommand, Gt as MachineUsage, H as DeviceFrameArtwork, Hn as ServerUpdateStartParams, Ht as MachineHistory, I as ControlEndParams, In as ServerEvent, It as LogsEvent, J as ERROR_CODES, Jn as StatusEvent, Jt as MacosWindowsEvent, K as DeviceUsageSeries, Kn as SimulatorOptions, Kt as MachineVolume, L as ControlEndedEvent, Ln as ServerMessage, Lt as LogsQueryResult, M as Capability, Mn as RequestId, Mt as LogLevel, N as ClientRequest, Nn as RotateDirection, Nt as LogRecord, O as BuildSyncResult, On as ReplayMarker, Ot as LOG_LEVELS, P as ControlBeginParams, Pn as SERVER_UPDATE_METHODS, Pt as LogSource, Q as FRAME_EDGE, Qn as UnsubscribeParams, Qt as NOTIFICATION_LEVELS, R as ControlPlatform, Rn as ServerResponse, Rt as MAX_INPUT_TEXT, S as BuildPlanResult, Sn as RecordingSetParams, St as InputTouchParams, T as BuildRequestAuth, Tn as ReplayEndedEvent, Tt as KeyModifier, U as DeviceFrameEvent, Un as ServerUpdateStatus, Ut as MachineHistoryParams, V as DeviceAuth, Vn as ServerUpdateProgress, Vt as MachineDetails, W as DeviceHostRequestAuth, Wn as SettingsResult, Wt as MachineUpdateStatus, X as ErrorEvent, Xn as TOUCH_PHASES, Xt as Method, Y as ErrorCode, Yn as SubscribeResult, Yt as MemoryPressure, Z as FEATURES, Zn as TouchPhase, Zt as Methods, _ as BuildMachineCapacity, _n as QuietHours, _t as InputPostureParams, a as ArchiveDetailParams, an as NotificationsListParams, ar as VIDEO_HEADER_VERSION, at as FramesSeekParams, b as BuildOfferResult, bn as REPLAY_RATES, bt as InputSimulatorParams, c as BUILD_REPO_PATTERN, cn as PROTOCOL_SCHEMA_FILE, cr as VideoCodec, ct as HelloParams, d as BuildAttachResult, dn as PUSH_TOKEN_PATTERN, dr as WorkspaceFile, dt as INPUT_BUTTONS, en as NotificationEntry, er as UsageSample, et as Feature, f as BuildCapacity, fn as PairingAuth, fr as WorkspaceFiles, ft as INPUT_KEYS, g as BuildJobParams, gn as PushRegisterParams, gt as InputKeyParams, h as BuildJobOutcome, hn as PushEvent, ht as InputKey, i as ActionResult, in as NotificationTarget, ir as VIDEO_FOLDED, it as FramesLiveParams, j as CONTROL_END_REASONS, jn as ReplayTarget, jt as LogFilter, k as BuildToolchain, kn as ReplayRange, kt as LOG_SOURCES, l as BuildAndroidOptions, ln as PROTOCOL_VERSION, lr as VideoPacket, lt as HelloResult, m as BuildFile, mn as ProtocolError, mr as WorkspacePatch, mt as InputButtonParams, n as ActionName, nn as NotificationLevel, nr as VIDEO_ARTWORK, nt as FrameEvent, o as ArchiveDetailResult, on as NotificationsListResult, or as VIDEO_KEYFRAME, ot as FramesSeekResult, p as BuildClientSummary, pn as Platform, pr as WorkspaceParams, pt as InputButton, q as DuoFramePose, qn as StatsResult, qt as MacosWindow, r as ActionParams, rn as NotificationSuppression, rr as VIDEO_CODECS, rt as FrameTarget, s as BUILD_METHODS, sn as PLATFORMS, sr as VIDEO_UNFOLDED, st as FramesSubscribeResult, t as ACTIONS, tn as NotificationEvent, tr as UsageSeries, tt as FrameDelayedEvent, u as BuildArtifactResult, un as PUSH_EVENTS, ur as WorkspaceDiff, ut as HostedSessionRow, v as BuildMachineReport, vn as RELOAD_PLATFORMS, vt as InputRotateParams, w as BuildProgressEvent, wn as ReloadPlatform, wt as KEY_MODIFIERS, x as BuildPlanParams, xn as ROTATE_DIRECTIONS, xt as InputTextParams, y as BuildOfferParams, yn as REPLAY_MARKER_KINDS, yt as InputScrollParams, z as DEVICE_HOST_METHODS, zn as ServerUpdateOutcome, zt as MAX_LOG_TAIL } from "./protocol-BArCKISQ.mjs";
2
2
  export { ACTIONS, ActionName, ActionParams, ActionResult, ArchiveDetailParams, ArchiveDetailResult, BUILD_METHODS, BUILD_REPO_PATTERN, BuildAndroidOptions, BuildArtifactResult, BuildAttachResult, BuildCapacity, BuildClientSummary, BuildFile, BuildJobOutcome, BuildJobParams, BuildMachineCapacity, BuildMachineReport, BuildOfferParams, BuildOfferResult, BuildPlanParams, BuildPlanResult, BuildPlatform, BuildProgressEvent, BuildRequestAuth, BuildStartParams, BuildSyncParams, BuildSyncResult, BuildToolchain, CAPABILITIES, CONTROL_END_REASONS, Capability, ClientRequest, ControlBeginParams, ControlBeginResult, ControlEndParams, ControlEndedEvent, ControlPlatform, DEVICE_HOST_METHODS, DEVICE_POSTURES, DeviceAuth, DeviceFrameArtwork, DeviceFrameEvent, DeviceHostRequestAuth, DevicePosture, DeviceUsageSeries, DuoFramePose, ERROR_CODES, ErrorCode, ErrorEvent, FEATURES, FRAME_EDGE, FRAME_FPS, Feature, FrameDelayedEvent, FrameEvent, FrameTarget, FramesLiveParams, FramesSeekParams, FramesSeekResult, FramesSubscribeResult, HelloParams, HelloResult, HostedSessionRow, INPUT_BUTTONS, INPUT_KEYS, InputButton, InputButtonParams, InputKey, InputKeyParams, InputPostureParams, InputRotateParams, InputScrollParams, InputSimulatorParams, InputTextParams, InputTouchParams, InputWindowParams, KEY_MODIFIERS, KeyModifier, KeyframeParams, LEGACY_PUSH_EVENTS, LOG_LEVELS, LOG_SOURCES, LegacyPushEvent, LogFilter, LogLevel, LogRecord, LogSource, LogsEndedEvent, LogsEvent, LogsQueryResult, MAX_INPUT_TEXT, MAX_LOG_TAIL, METHODS, MachineDetails, MachineHistory, MachineHistoryParams, MachineUpdateStatus, MachineUsage, MachineVolume, MacosWindow, MacosWindowsEvent, MemoryPressure, Method, Methods, NOTIFICATION_LEVELS, NOTIFICATION_SUPPRESSIONS, NotificationEntry, NotificationEvent, NotificationLevel, NotificationSuppression, NotificationTarget, NotificationsListParams, NotificationsListResult, PLATFORMS, PROTOCOL_SCHEMA_FILE, PROTOCOL_VERSION, PUSH_EVENTS, PUSH_TOKEN_PATTERN, PairingAuth, Platform, ProtocolError, PushEvent, PushRegisterParams, QuietHours, RELOAD_PLATFORMS, REPLAY_MARKER_KINDS, REPLAY_RATES, ROTATE_DIRECTIONS, RecordingSetParams, RecordingSetResult, ReloadPlatform, ReplayEndedEvent, ReplayKeyframe, ReplayKeyframeParams, ReplayMarker, ReplayRange, ReplaySpan, ReplayTarget, RequestId, RotateDirection, SERVER_UPDATE_METHODS, ServeRoute, ServerEvent, ServerMessage, ServerResponse, ServerUpdateOutcome, ServerUpdatePackage, ServerUpdateProgress, ServerUpdateStartParams, ServerUpdateStatus, SettingsResult, SimulatorCommand, SimulatorOptions, StatsResult, StatusEvent, SubscribeResult, TOUCH_PHASES, TouchPhase, UnsubscribeParams, UsageHistory, UsageSample, UsageSeries, VIDEO_ARTWORK, VIDEO_CODECS, VIDEO_FOLDED, VIDEO_HEADER_VERSION, VIDEO_KEYFRAME, VIDEO_UNFOLDED, VideoCodec, VideoPacket, WorkspaceDiff, WorkspaceFile, WorkspaceFiles, WorkspaceParams, WorkspacePatch };
package/dist/protocol.mjs CHANGED
@@ -344,7 +344,7 @@ const DEVICE_POSTURES = [
344
344
  "half-open",
345
345
  "unfolded"
346
346
  ];
347
- /** A client's repository on a build machine: letters, digits, `.`, `_` and `-`, at most 80. */
347
+ /** A client's repository on a remote Mac: letters, digits, `.`, `_` and `-`, at most 80. */
348
348
  const BUILD_REPO_PATTERN = "^[A-Za-z0-9][A-Za-z0-9._-]{0,79}$";
349
349
  /**
350
350
  * What stim-server can push, named like the phone's notification settings: work `started` (a workspace began
package/dist/state.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as readRunEstimates, $a as settingDefinition, $i as HostedAppLaunch, $n as readMacosRecord, $o as workspaceBuildDetailFile, $r as READY_PHASE_MS, $s as getProjectSettings, $t as BuildWaitingFor, A as DeviceHostMachineCredential, Aa as ANDROID_PCH_CHOICES, Ac as AgentActionReaderOptions, Ai as HostedNativeOffer, An as StatusCapacity, Ao as easMachineStateRoot, Ar as HostedAndroidStatus, As as countErrorEntries, At as ActiveBuildState, B as RunHistory, Ba as SettingEntry, Bi as parseHostedNativeOffer, Bn as WebPageState, Bo as maintenanceRunClaims, Br as unreadableHostedNative, Bs as readJsonObject, Bt as BuildCacheHit, C as pinnedEndpoint, Ca as validHostedAppArguments, Cc as readSwiftpmCacheUsage, Ci as HostedDevicePhase, Cn as PhysicalDeviceState, Co as createdDevicesFile, Cr as HostedIosStatus, Cs as queryJsonLogs, Ct as readEndedAgentSessions, D as HostedMetroRequest, Da as settingsJsonSchema, Dc as agentDeviceUsageFile, Di as HostedDeviceSession, Dn as STATUS_ISSUE_CODES, Do as deviceHostMachinesLock, Dr as parseHostedIosPlacement, Ds as recordMatches, Dt as ACTIVITY_RECENCY_BASES, E as HostedMetroGateway, Ea as SETTINGS_SCHEMA_URL, Ec as AgentDeviceUsageRoots, Ei as HostedDeviceSelectors, En as RunOutcomeKind, Eo as deviceHostMachinesFile, Er as hostedIosStatus, Es as readLogTimeline, Et as withGitChip, F as HISTORY_LIMIT, Fa as RemoteDeviceBackend, Fc as SOURCES, Fi as hostedDeviceId, Fn as WEB_PAGE_STATES, Fo as gitMergeCacheDir, Fr as parseHostedAndroidPlacement, Fs as readCreatedDevices, Ft as AndroidDeviceState, G as StatsCapacityWait, Ga as TunnelMode, Gi as readHostedDeviceLedger, Gn as WorktreePullRequest, Go as sharedCcache, Gr as DEV_SERVER_STOP_REQUEST_KEY, Gs as buildWorkerRoot, Gt as BuildMissCategory, H as STATS_VERSION, Ha as SettingType, Hi as parseHostedPlatformDevice, Hn as WorkspaceStage, Ho as pullRequestCacheDir, Hr as BUILD_HISTORY_LIMIT, Hs as withStateReadCache, Ht as BuildDetail, I as OffloadSummary, Ia as SETTINGS, Ic as levelRank, Ii as parseHostedAndroidDevice, In as WORKSPACE_PHASES, Io as maintenanceAttemptFile, Ir as unreadableHostedAndroid, Is as readEasSessionLedger, It as AndroidRuntimeFacts, J as StatsReport, Ja as acceptsShape, Ji as HOSTED_MACOS_APP_SLOTS, Jn as MacosBuild, Jo as sharedPods, Jr as DeviceIdleShutdownRecord, Js as findProjectByMetroPort, Jt as BuildPhase, K as StatsPlacement, Ka as WEB_VIEWPORTS, Ki as readHostedSessions, Kn as MacosAppRecord, Ko as sharedCompilationCache, Kr as DevServerStopRecord, Ks as configCorruptRepair, Kt as BuildMissChange, L as PLACEMENT_DECISIONS, La as SETTING_GROUPS, Lc as parseNdjsonLine, Li as parseHostedChoice, Ln as WORKSPACE_STAGE_KINDS, Lo as maintenanceChildLogFile, Lr as HostedNativePlacement, Ls as validEasSessionClaim, Lt as AppPresence, M as BuildMachineTotals, Ma as OFFLOAD_MODES, Mc as createAgentActionReader, Mi as deviceHostArea, Mn as StatusIssueCode, Mo as easSessionLedgerLock, Mr as hostedAndroidPlacements, Ms as CreatedDevices, Mt as ActivityRecencyBasis, N as CAPACITY_REFUSAL_LIMIT, Na as OffloadMode, Nc as LEVELS, Ni as deviceHostRoot, Nn as StatusPayload, No as emulatorLogFile, Nr as hostedAndroidRecords, Ns as EasSessionClaim, Nt as AgentSession, O as hostedMetroGateways, Oa as ANDROID_COMPILER_CACHE_CHOICES, Oc as readAgentDeviceUsage, Oi as HostedIosChoice, On as SimulatorState, Oo as deviceViewersDir, Or as unreadableHostedIos, Os as sortByTs, Ot as AGENT_TOOLS, P as CAPACITY_REFUSAL_MAX_AGE_MS, Pa as REMOTE_DEVICE_BACKENDS, Pc as NdjsonRecord, Pi as hostedConsolePort, Pn as TUTORIAL_VERSION, Po as getConfigPath, Pr as hostedAndroidStatus, Ps as EasSessionLedgerRead, Pt as AgentTool, Q as offloadSummary, Qa as isSensitiveReference, Qi as HostedAgentLease, Qn as readHostedMacosApp, Qo as workspaceAgentDeviceDir, Qr as MetroLastStop, Qs as getProjectSetting, Qt as BuildResult, R as ReadStatsResult, Ra as SETTING_SCOPES, Rc as parseNdjsonText, Ri as parseHostedDevice, Rn as WarmStep, Ro as maintenanceDir, Rr as hostedNativeRecords, Rs as isJsonObject, Rt as BUILD_PHASES, S as parseMachine, Sa as rememberHostedAppBlobRename, Sc as SwiftpmCacheUsage, Si as HostedDeviceOfferRequest, Sn as PhysicalDeviceConnection, So as configLockPath, Sr as HostedIosPlacement, Ss as parseSince, St as readDiskUsage, T as HOSTED_METRO_REQUESTS_KEY, Ta as SETTINGS_SCHEMA_FILE, Tc as AgentDeviceUsage, Ti as HostedDeviceRequest, Tn as RemoteDeviceState, To as deviceHostMachinesClaims, Tr as hostedIosRecords, Ts as readLogRecords, Tt as withDerivedFacts, U as StatsBucket, Ua as SettingsPayload, Ui as parseHostedRequest, Un as WorktreeFacts, Uo as serverSetupDir, Ur as DEVICE_IDLE_SHUTDOWN_KEY, Us as ParkedMax, Ut as BuildDiagnostic, V as RunSample, Va as SettingScope, Vi as parseHostedOfferRequest, Vn as WorkspacePhase, Vo as maintenanceStateFile, Vr as BUILD_HISTORY_KEY, Vs as readStateFile, Vt as BuildCause, W as StatsCapacityRefusal, Wa as TUNNEL_MODES, Wi as readHostedDevice, Wn as WorktreeGit, Wo as setupJournalFile, Wr as DEVICE_RECLAIM_REASON, Ws as allMetroPorts, Wt as BuildHistoryEntry, X as decodeStats, Xa as expectedShape, Xi as HostedAgentDriverName, Xn as macosAppState, Xo as supervisorLogFile, Xr as IdleStopRecord, Xs as getParkedMax, Xt as BuildPlanPayload, Y as StatsScope, Ya as coerceSettingText, Yi as HostedAgentAccess, Yn as MacosProcess, Yo as statsFile, Yr as IDLE_STOP_KEY, Ys as getConcurrencyLimits, Yt as BuildPlacement, Z as findProjectRoot, Za as isLayeredSetting, Zi as HostedAgentGrant, Zn as parseMacosRecord, Zo as supervisorPidFile, Zr as LAST_BUILD_KEYS, Zs as getProject, Zt as BuildReport, _ as Endpoint, _a as hostedAppBlobs, _c as buildSlotPath, _i as workspaceLastUsed, _n as MemorySource, _o as archiveDir, _r as MaintenanceState, _s as compileGrep, _t as endedAgentSessionOf, a as parseSetupJournal, aa as parseHostedAgentAccess, ac as Config, ai as lastUseFrom, an as DiskMeasure, ao as RecordedSegment, ar as linkReplacedArchives, as as workspaceLogsDir, at as trimSamples, b as endpoint, ba as readHostedApp, bc as saturation, bi as HostedDevice, bn as NativeBuildStep, bo as buildMachinesFile, br as readMaintenanceAttempt, bs as logFiles, bt as readAgentSessionsCache, c as HOSTED_LOGS_FIRST_BYTES, ca as parseHostedMacosDevice, cc as PlatformRecords, ci as readDevServerStop, cn as EnvironmentState, co as closedSegmentName, cr as readArchives, cs as workspaceStateFile, ct as ViewedDevice, d as HostedLogsPage, da as HostedAppDelivery, dc as SettingsObject, di as readDevicePlacement, dn as LastBuildReport, do as listSegments, dr as MaintenanceCheck, ds as NATIVE_CRASH_LOG_PREFIX, dt as AgentSessionsCache, ea as HostedMacosChoice, ec as getRepoSettings, ei as WARM_KEY, en as ChecksState, eo as settingValueError, er as ArchivedBytes, es as workspaceDerivedData, et as readStats, f as hostedMacosLogsDir, fa as HostedAppFile, fc as StimConfig, fi as readIdleStop, fn as MACHINE_OWNER_KINDS, fo as openSegmentName, fr as MaintenanceMode, fs as QueryCriteria, ft as ENDED_AGENT_RETENTION_MS, g as readLogsSince, ga as hostedAppAttempt, gc as MachineCapacity, gi as readWorkspaceState, gn as MachineUsageState, go as agentSessionsCacheFile, gr as MaintenanceSize, gs as bundleMarkerPlatform, gt as diskUsageCacheFile, h as readHostedNativeLogsCheckpoint, ha as hostedAppArea, hc as readBuildMachines, hi as readWorkspaceAgent, hn as MachineOwnerKind, ho as recordingEnabled, hr as MaintenanceRecord, hs as buildCriteria, ht as agentSessionOf, i as isSetupJournalPrunable, ia as hostedMacosBundleId, ic as ConcurrencyLimits, ii as buildDiagnostics, in as DevicePlacement, io as RecordedDevice, ir as archivedUsage, is as workspaceLogErrorIndex, it as trimCapacityWaits, j as readDeviceHostMachines, ja as IOS_SIMULATOR_APPS, jc as AgentTarget, ji as assertHostedDeviceLedger, jn as StatusIssue, jo as easSessionLedgerFile, jr as hostedAndroidDeviceName, js as CreatedDevicePlatform, jt as ActivityDriver, k as hostedMetroRequests, ka as ANDROID_EMULATOR_APPS, kc as readAgentDeviceUsageCache, ki as HostedIosDevice, kn as StatsPlatform, ko as diskUsageCacheDir, kr as HostedAndroidPlacement, ks as tailRead, kt as APP_PROCESS_STATES, l as HOSTED_LOGS_PAGE_BYTES, la as parseHostedMacosPlacement, lc as ProjectRecord, li as readDevServerStopRequest, ln as GitChip, lo as footageDrops, lr as MaintenanceAction, ls as workspaceStateLock, lt as readViewedDevices, m as parseHostedLogsCursor, ma as HostedAppRecord, mc as BuildMachineCredential, mi as readWarmRecord, mn as MachineOwner, mo as recordingDeviceName, mr as MaintenancePressure, ms as attachExpoErrorContext, mt as StatusCacheEntry, n as SetupJournal, na as HostedMacosPlacement, nc as loadConfig, ni as WarmRecord, nn as DeviceAppProcess, no as RECORDING_FOOTAGE_MS, nr as ArchivedWorkspace, ns as workspaceEndedAgentsLock, nt as statsProjectKey, o as readSetupJournal, oa as parseHostedAgentGrant, oc as DeviceRecord, oi as parseMissReason, on as EndedAgentSession, oo as RecordingPlatform, or as readArchive, os as workspaceMetadataFile, ot as wholePhases, p as hostedNativeLogsDir, pa as HostedAppOffer, pc as SupervisorRecord, pi as readLastBuilds, pn as MEMORY_SOURCES, po as recordedBytes, pr as MaintenancePass, ps as advanceTail, pt as PullRequestCacheEntry, q as StatsRecord, qa as WebViewport, qi as HOSTED_AGENT_DRIVERS, qn as MacosAppState, qo as sharedGradle, qr as DevServerStopRequest, qs as findEnclosingWorktreeRoot, qt as BuildMissReason, r as isJournalExpired, ra as hostedMacosAppSlot, rc as withConfigLock, ri as WorkspaceState, rn as DeviceLeaseState, ro as RECORDING_PLATFORMS, rr as archiveEnabled, rs as workspaceGradleBuild, rt as trimCapacityRefusals, s as agentDeviceStateDirs, sa as parseHostedMacosChoice, sc as DoctorRunRecord, si as readBuildHistory, sn as EnvironmentDisk, so as capDrops, sr as readArchiveState, ss as workspaceRecordingsDir, st as DeviceViewersRecord, t as SetupCapability, ta as HostedMacosDevice, tc as isPathPrefix, ti as WORKSPACE_AGENT_KEY, tn as DeviceActivity, to as RECORDING_CAP_BYTES, tr as ArchivedUsage, ts as workspaceEndedAgentsFile, tt as readStatsReport, u as HostedLogsCursor, ua as HOSTED_APP_CHUNK_BYTES, uc as RepoRecord, ui as readDeviceIdleShutdowns, un as GitChipPart, uo as listRecordedDevices, ur as MaintenanceActionKind, us as ERROR_SOURCES, ut as stimBuildDigest, v as TAILNET_MACHINE_PATTERN, va as parseHostedAppManifest, vc as buildSlotsDir, vi as HostedAndroidChoice, vn as MetroBundleState, vo as archiveLock, vr as MaintenanceStatus, vs as fileSizes, vt as listStatusCacheEntries, w as HOSTED_METRO_GATEWAYS_KEY, wa as validHostedAppBlob, wc as swiftpmCacheUsageFile, wi as HostedDevicePlatform, wn as PlannedPhase, wo as createdDevicesLock, wr as hostedIosPlacements, ws as queryLogs, wt as readPullRequestCache, x as findPeer, xa as readHostedAppMetadata, xc as tryAcquireBuildSlotClaim, xi as HostedDeviceOffer, xn as PHYSICAL_DEVICE_CONNECTIONS, xo as buildMachinesLock, xr as readMaintenanceState, xs as markerWindow, xt as readBuildDetail, y as TailnetPeer, ya as parseHostedAppOffer, yc as machineCapacity, yi as HostedAndroidDevice, yn as NATIVE_BUILD_STEPS, yo as archiveRoot, yr as parseMaintenanceState, ys as followLogs, yt as pullRequestCacheFile, z as RunEstimates, za as SettingDefinition, zc as readNdjsonGenerations, zi as parseHostedLocalDeviceCount, zn as WebBrowserState, zo as maintenanceNdjsonFile, zr as parseHostedNativePlacement, zs as readJsonFile, zt as BUILD_RESULTS } from "./index-DPp8a4-9.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, AgentSession, AgentSessionsCache, AgentTarget, AgentTool, AndroidDeviceState, AndroidRuntimeFacts, AppPresence, ArchivedBytes, ArchivedUsage, ArchivedWorkspace, BUILD_HISTORY_KEY, BUILD_HISTORY_LIMIT, BUILD_PHASES, BUILD_RESULTS, BuildCacheHit, BuildCause, BuildDetail, BuildDiagnostic, BuildHistoryEntry, BuildMachineCredential, BuildMachineTotals, BuildMissCategory, BuildMissChange, BuildMissReason, BuildPhase, BuildPlacement, BuildPlanPayload, BuildReport, BuildResult, BuildWaitingFor, CAPACITY_REFUSAL_LIMIT, CAPACITY_REFUSAL_MAX_AGE_MS, ChecksState, ConcurrencyLimits, Config, CreatedDevicePlatform, CreatedDevices, DEVICE_IDLE_SHUTDOWN_KEY, DEVICE_RECLAIM_REASON, DEV_SERVER_STOP_REQUEST_KEY, DevServerStopRecord, DevServerStopRequest, DeviceActivity, DeviceAppProcess, DeviceHostMachineCredential, DeviceIdleShutdownRecord, DeviceLeaseState, DevicePlacement, DeviceRecord, DeviceViewersRecord, DiskMeasure, 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, HostedAgentAccess, HostedAgentDriverName, HostedAgentGrant, 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, LAST_BUILD_KEYS, LEVELS, LastBuildReport, MACHINE_OWNER_KINDS, MEMORY_SOURCES, MachineCapacity, MachineOwner, MachineOwnerKind, MachineUsageState, MacosAppRecord, MacosAppState, MacosBuild, MacosProcess, MaintenanceAction, MaintenanceActionKind, MaintenanceCheck, MaintenanceMode, MaintenancePass, MaintenancePressure, MaintenanceRecord, MaintenanceSize, MaintenanceState, MaintenanceStatus, 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, 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, SettingDefinition, SettingEntry, SettingScope, SettingType, SettingsObject, SettingsPayload, SetupCapability, SetupJournal, SimulatorState, StatsBucket, StatsCapacityRefusal, StatsCapacityWait, StatsPlacement, StatsPlatform, StatsRecord, StatsReport, StatsScope, StatusCacheEntry, StatusCapacity, StatusIssue, StatusIssueCode, StatusPayload, StimConfig, 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, WorktreeFacts, WorktreeGit, WorktreePullRequest, acceptsShape, advanceTail, agentDeviceStateDirs, agentDeviceUsageFile, agentSessionOf, agentSessionsCacheFile, allMetroPorts, archiveDir, archiveEnabled, archiveLock, archiveRoot, archivedUsage, assertHostedDeviceLedger, attachExpoErrorContext, buildCriteria, buildDiagnostics, buildMachinesFile, buildMachinesLock, buildSlotPath, buildSlotsDir, buildWorkerRoot, bundleMarkerPlatform, capDrops, closedSegmentName, coerceSettingText, compileGrep, configCorruptRepair, configLockPath, countErrorEntries, createAgentActionReader, createdDevicesFile, createdDevicesLock, decodeStats, deviceHostArea, deviceHostMachinesClaims, deviceHostMachinesFile, deviceHostMachinesLock, deviceHostRoot, deviceViewersDir, diskUsageCacheDir, diskUsageCacheFile, easMachineStateRoot, easSessionLedgerFile, easSessionLedgerLock, emulatorLogFile, endedAgentSessionOf, endpoint, expectedShape, fileSizes, findEnclosingWorktreeRoot, findPeer, findProjectByMetroPort, findProjectRoot, followLogs, footageDrops, getConcurrencyLimits, getConfigPath, getParkedMax, getProject, getProjectSetting, getProjectSettings, getRepoSettings, gitMergeCacheDir, hostedAndroidDeviceName, hostedAndroidPlacements, hostedAndroidRecords, hostedAndroidStatus, hostedAppArea, hostedAppAttempt, hostedAppBlobs, hostedConsolePort, hostedDeviceId, hostedIosPlacements, hostedIosRecords, hostedIosStatus, hostedMacosAppSlot, hostedMacosBundleId, hostedMacosLogsDir, hostedMetroGateways, hostedMetroRequests, hostedNativeLogsDir, hostedNativeRecords, isJournalExpired, isJsonObject, isLayeredSetting, isPathPrefix, isSensitiveReference, isSetupJournalPrunable, lastUseFrom, levelRank, linkReplacedArchives, listRecordedDevices, listSegments, listStatusCacheEntries, loadConfig, logFiles, machineCapacity, macosAppState, maintenanceAttemptFile, maintenanceChildLogFile, maintenanceDir, maintenanceNdjsonFile, maintenanceRunClaims, maintenanceStateFile, markerWindow, offloadSummary, openSegmentName, parseHostedAgentAccess, parseHostedAgentGrant, parseHostedAndroidDevice, parseHostedAndroidPlacement, parseHostedAppManifest, parseHostedAppOffer, parseHostedChoice, parseHostedDevice, parseHostedIosPlacement, parseHostedLocalDeviceCount, parseHostedLogsCursor, parseHostedMacosChoice, parseHostedMacosDevice, parseHostedMacosPlacement, parseHostedNativeOffer, parseHostedNativePlacement, parseHostedOfferRequest, parseHostedPlatformDevice, parseHostedRequest, parseMachine, parseMacosRecord, parseMaintenanceState, parseMissReason, parseNdjsonLine, parseNdjsonText, parseSetupJournal, parseSince, pinnedEndpoint, pullRequestCacheDir, pullRequestCacheFile, queryJsonLogs, queryLogs, readAgentDeviceUsage, readAgentDeviceUsageCache, readAgentSessionsCache, readArchive, readArchiveState, readArchives, readBuildDetail, readBuildHistory, readBuildMachines, readCreatedDevices, readDevServerStop, readDevServerStopRequest, readDeviceHostMachines, readDeviceIdleShutdowns, readDevicePlacement, readDiskUsage, readEasSessionLedger, readEndedAgentSessions, readHostedApp, readHostedAppMetadata, readHostedDevice, readHostedDeviceLedger, readHostedMacosApp, readHostedNativeLogsCheckpoint, readHostedSessions, readIdleStop, readJsonFile, readJsonObject, readLastBuilds, readLogRecords, readLogTimeline, readLogsSince, readMacosRecord, readMaintenanceAttempt, readMaintenanceState, readNdjsonGenerations, readPullRequestCache, readRunEstimates, readSetupJournal, readStateFile, readStats, readStatsReport, readSwiftpmCacheUsage, readViewedDevices, readWarmRecord, readWorkspaceAgent, readWorkspaceState, recordMatches, recordedBytes, recordingDeviceName, recordingEnabled, rememberHostedAppBlobRename, saturation, serverSetupDir, settingDefinition, settingValueError, settingsJsonSchema, setupJournalFile, sharedCcache, sharedCompilationCache, sharedGradle, sharedPods, sortByTs, statsFile, statsProjectKey, stimBuildDigest, supervisorLogFile, supervisorPidFile, swiftpmCacheUsageFile, tailRead, trimCapacityRefusals, trimCapacityWaits, trimSamples, tryAcquireBuildSlotClaim, unreadableHostedAndroid, unreadableHostedIos, unreadableHostedNative, validEasSessionClaim, validHostedAppArguments, validHostedAppBlob, wholePhases, withConfigLock, withDerivedFacts, withGitChip, withStateReadCache, workspaceAgentDeviceDir, workspaceBuildDetailFile, workspaceDerivedData, workspaceEndedAgentsFile, workspaceEndedAgentsLock, workspaceGradleBuild, workspaceLastUsed, workspaceLogErrorIndex, workspaceLogsDir, workspaceMetadataFile, workspaceRecordingsDir, workspaceStateFile, workspaceStateLock };
1
+ import { $ as readRunEstimates, $a as isSensitiveReference, $i as HostedAgentLease, $n as readHostedMacosApp, $o as workspaceAgentDeviceDir, $r as MetroLastStop, $s as getProjectSetting, $t as BuildResult, A as DeviceHostMachineCredential, Aa as ANDROID_EMULATOR_APPS, Ac as readAgentDeviceUsageCache, Ai as HostedIosDevice, An as StatsPlatform, Ao as diskUsageCacheDir, Ar as HostedAndroidPlacement, As as tailRead, At as ActiveBuildState, B as RunHistory, Ba as SettingDefinition, Bc as readNdjsonGenerations, Bi as parseHostedLocalDeviceCount, Bn as WebBrowserState, Bo as maintenanceNdjsonFile, Br as parseHostedNativePlacement, Bs as readJsonFile, Bt as BuildCacheHit, C as pinnedEndpoint, Ca as rememberHostedAppBlobRename, Cc as SwiftpmCacheUsage, Ci as HostedDeviceOfferRequest, Cn as PhysicalDeviceConnection, Co as configLockPath, Cr as HostedIosPlacement, Cs as parseSince, Ct as readEndedAgentSessions, D as HostedMetroRequest, Da as SETTINGS_SCHEMA_URL, Dc as AgentDeviceUsageRoots, Di as HostedDeviceSelectors, Dn as RunOutcomeKind, Do as deviceHostMachinesFile, Dr as hostedIosStatus, Ds as readLogTimeline, Dt as ACTIVITY_RECENCY_BASES, E as HostedMetroGateway, Ea as SETTINGS_SCHEMA_FILE, Ec as AgentDeviceUsage, Ei as HostedDeviceRequest, En as RemoteDeviceState, Eo as deviceHostMachinesClaims, Er as hostedIosRecords, Es as readLogRecords, Et as withGitChip, F as HISTORY_LIMIT, Fa as REMOTE_DEVICE_BACKENDS, Fc as NdjsonRecord, Fi as hostedConsolePort, Fn as TUTORIAL_VERSION, Fo as getConfigPath, Fr as hostedAndroidStatus, Fs as EasSessionLedgerRead, Ft as AndroidDeviceState, G as StatsCapacityWait, Ga as TUNNEL_MODES, Gi as readHostedDevice, Gn as WorktreeGit, Go as setupJournalFile, Gr as DEVICE_RECLAIM_REASON, Gs as allMetroPorts, Gt as BuildMissCategory, H as STATS_VERSION, Ha as SettingScope, Hi as parseHostedOfferRequest, Hn as WorkspacePhase, Ho as maintenanceStateFile, Hr as BUILD_HISTORY_KEY, Hs as readStateFile, Ht as BuildDetail, I as OffloadSummary, Ia as RemoteDeviceBackend, Ic as SOURCES, Ii as hostedDeviceId, In as WEB_PAGE_STATES, Io as gitMergeCacheDir, Ir as parseHostedAndroidPlacement, Is as readCreatedDevices, It as AndroidRuntimeFacts, J as StatsReport, Ja as WebViewport, Ji as HOSTED_AGENT_DRIVERS, Jn as MacosAppState, Jo as sharedGradle, Jr as DevServerStopRequest, Js as findEnclosingWorktreeRoot, Jt as BuildPhase, K as StatsPlacement, Ka as TunnelMode, Ki as readHostedDeviceLedger, Kn as WorktreePullRequest, Ko as sharedCcache, Kr as DEV_SERVER_STOP_REQUEST_KEY, Ks as buildWorkerRoot, Kt as BuildMissChange, L as PLACEMENT_DECISIONS, La as SETTINGS, Lc as levelRank, Li as parseHostedAndroidDevice, Ln as WORKSPACE_PHASES, Lo as maintenanceAttemptFile, Lr as unreadableHostedAndroid, Ls as readEasSessionLedger, Lt as AppPresence, M as BuildMachineTotals, Ma as IOS_SIMULATOR_APPS, Mc as AgentTarget, Mi as assertHostedDeviceLedger, Mn as StatusIssue, Mo as easSessionLedgerFile, Mr as hostedAndroidDeviceName, Ms as CreatedDevicePlatform, Mt as ActivityRecencyBasis, N as CAPACITY_REFUSAL_LIMIT, Na as OFFLOAD_MODES, Nc as createAgentActionReader, Ni as deviceHostArea, Nn as StatusIssueCode, No as easSessionLedgerLock, Nr as hostedAndroidPlacements, Ns as CreatedDevices, Nt as AgentSession, O as hostedMetroGateways, Oa as settingsJsonSchema, Oc as agentDeviceUsageFile, Oi as HostedDeviceSession, On as STATUS_ISSUE_CODES, Oo as deviceHostMachinesLock, Or as parseHostedIosPlacement, Os as recordMatches, Ot as AGENT_TOOLS, P as CAPACITY_REFUSAL_MAX_AGE_MS, Pa as OffloadMode, Pc as LEVELS, Pi as deviceHostRoot, Pn as StatusPayload, Po as emulatorLogFile, Pr as hostedAndroidRecords, Ps as EasSessionClaim, Pt as AgentTool, Q as offloadSummary, Qa as isLayeredSetting, Qi as HostedAgentGrant, Qn as parseMacosRecord, Qo as supervisorPidFile, Qr as LAST_BUILD_KEYS, Qs as getProject, Qt as BuildReport, R as ReadStatsResult, Ra as SETTING_GROUPS, Rc as parseNdjsonLine, Ri as parseHostedChoice, Rn as WORKSPACE_STAGE_KINDS, Ro as maintenanceChildLogFile, Rr as HostedNativePlacement, Rs as validEasSessionClaim, Rt as BUILD_PHASES, S as parseMachine, Sa as readHostedAppMetadata, Sc as tryAcquireBuildSlotClaim, Si as HostedDeviceOffer, Sn as PHYSICAL_DEVICE_CONNECTIONS, So as buildMachinesLock, Sr as readMaintenanceState, Ss as markerWindow, St as readDiskUsage, T as HOSTED_METRO_REQUESTS_KEY, Ta as validHostedAppBlob, Tc as swiftpmCacheUsageFile, Ti as HostedDevicePlatform, Tn as PlannedPhase, To as createdDevicesLock, Tr as hostedIosPlacements, Ts as queryLogs, Tt as withDerivedFacts, U as StatsBucket, Ua as SettingType, Ui as parseHostedPlatformDevice, Un as WorkspaceStage, Uo as pullRequestCacheDir, Ur as BUILD_HISTORY_LIMIT, Us as withStateReadCache, Ut as BuildDiagnostic, V as RunSample, Va as SettingEntry, Vi as parseHostedNativeOffer, Vn as WebPageState, Vo as maintenanceRunClaims, Vr as unreadableHostedNative, Vs as readJsonObject, Vt as BuildCause, W as StatsCapacityRefusal, Wa as SettingsPayload, Wi as parseHostedRequest, Wn as WorktreeFacts, Wo as serverSetupDir, Wr as DEVICE_IDLE_SHUTDOWN_KEY, Ws as ParkedMax, Wt as BuildHistoryEntry, X as decodeStats, Xa as coerceSettingText, Xi as HostedAgentAccess, Xn as MacosProcess, Xo as statsFile, Xr as IDLE_STOP_KEY, Xs as getConcurrencyLimits, Xt as BuildPlanPayload, Y as StatsScope, Ya as acceptsShape, Yi as HOSTED_MACOS_APP_SLOTS, Yn as MacosBuild, Yo as sharedPods, Yr as DeviceIdleShutdownRecord, Ys as findProjectByMetroPort, Yt as BuildPlacement, Z as findProjectRoot, Za as expectedShape, Zi as HostedAgentDriverName, Zn as macosAppState, Zo as supervisorLogFile, Zr as IdleStopRecord, Zs as getParkedMax, Zt as BuildPlatform, _ as Endpoint, _a as hostedAppAttempt, _c as MachineCapacity, _i as readWorkspaceState, _n as MachineUsageState, _o as agentSessionsCacheFile, _r as MaintenanceSize, _s as bundleMarkerPlatform, _t as endedAgentSessionOf, a as parseSetupJournal, aa as hostedMacosBundleId, ac as ConcurrencyLimits, ai as buildDiagnostics, an as DevicePlacement, ao as RecordedDevice, ar as archivedUsage, as as workspaceLogErrorIndex, at as trimSamples, b as endpoint, ba as parseHostedAppOffer, bc as machineCapacity, bi as HostedAndroidDevice, bn as NATIVE_BUILD_STEPS, bo as archiveRoot, br as parseMaintenanceState, bs as followLogs, bt as readAgentSessionsCache, c as HOSTED_LOGS_FIRST_BYTES, ca as parseHostedMacosChoice, cc as DoctorRunRecord, ci as readBuildHistory, cn as EnvironmentDisk, co as capDrops, cr as readArchiveState, cs as workspaceRecordingsDir, ct as ViewedDevice, d as HostedLogsPage, da as HOSTED_APP_CHUNK_BYTES, dc as RepoRecord, di as readDeviceIdleShutdowns, dn as GitChipPart, do as listRecordedDevices, dr as MaintenanceActionKind, ds as ERROR_SOURCES, dt as AgentSessionsCache, ea as HostedAppLaunch, ec as getProjectSettings, ei as READY_PHASE_MS, en as BuildWaitingFor, eo as settingDefinition, er as readMacosRecord, es as workspaceBuildDetailFile, et as readStats, f as hostedMacosLogsDir, fa as HostedAppDelivery, fc as SettingsObject, fi as readDevicePlacement, fn as LastBuildReport, fo as listSegments, fr as MaintenanceCheck, fs as NATIVE_CRASH_LOG_PREFIX, ft as ENDED_AGENT_RETENTION_MS, g as readLogsSince, ga as hostedAppArea, gc as readBuildMachines, gi as readWorkspaceAgent, gn as MachineOwnerKind, go as recordingEnabled, gr as MaintenanceRecord, gs as buildCriteria, gt as diskUsageCacheFile, h as readHostedNativeLogsCheckpoint, ha as HostedAppRecord, hc as BuildMachineCredential, hi as readWarmRecord, hn as MachineOwner, ho as recordingDeviceName, hr as MaintenancePressure, hs as attachExpoErrorContext, ht as agentSessionOf, i as isSetupJournalPrunable, ia as hostedMacosAppSlot, ic as withConfigLock, ii as WorkspaceState, in as DeviceLeaseState, io as RECORDING_PLATFORMS, ir as archiveEnabled, is as workspaceGradleBuild, it as trimCapacityWaits, j as readDeviceHostMachines, ja as ANDROID_PCH_CHOICES, jc as AgentActionReaderOptions, ji as HostedNativeOffer, jn as StatusCapacity, jo as easMachineStateRoot, jr as HostedAndroidStatus, js as countErrorEntries, jt as ActivityDriver, k as hostedMetroRequests, ka as ANDROID_COMPILER_CACHE_CHOICES, kc as readAgentDeviceUsage, ki as HostedIosChoice, kn as SimulatorState, ko as deviceViewersDir, kr as unreadableHostedIos, ks as sortByTs, kt as APP_PROCESS_STATES, l as HOSTED_LOGS_PAGE_BYTES, la as parseHostedMacosDevice, lc as PlatformRecords, li as readDevServerStop, ln as EnvironmentState, lo as closedSegmentName, lr as readArchives, ls as workspaceStateFile, lt as readViewedDevices, m as parseHostedLogsCursor, ma as HostedAppOffer, mc as SupervisorRecord, mi as readLastBuilds, mn as MEMORY_SOURCES, mo as recordedBytes, mr as MaintenancePass, ms as advanceTail, mt as StatusCacheEntry, n as SetupJournal, na as HostedMacosDevice, nc as isPathPrefix, ni as WORKSPACE_AGENT_KEY, nn as DeviceActivity, no as RECORDING_CAP_BYTES, nr as ArchivedUsage, ns as workspaceEndedAgentsFile, nt as statsProjectKey, o as readSetupJournal, oa as parseHostedAgentAccess, oc as Config, oi as lastUseFrom, on as DiskMeasure, oo as RecordedSegment, or as linkReplacedArchives, os as workspaceLogsDir, ot as wholePhases, p as hostedNativeLogsDir, pa as HostedAppFile, pc as StimConfig, pi as readIdleStop, pn as MACHINE_OWNER_KINDS, po as openSegmentName, pr as MaintenanceMode, ps as QueryCriteria, pt as PullRequestCacheEntry, q as StatsRecord, qa as WEB_VIEWPORTS, qi as readHostedSessions, qn as MacosAppRecord, qo as sharedCompilationCache, qr as DevServerStopRecord, qs as configCorruptRepair, qt as BuildMissReason, r as isJournalExpired, ra as HostedMacosPlacement, rc as loadConfig, ri as WarmRecord, rn as DeviceAppProcess, ro as RECORDING_FOOTAGE_MS, rr as ArchivedWorkspace, rs as workspaceEndedAgentsLock, rt as trimCapacityRefusals, s as agentDeviceStateDirs, sa as parseHostedAgentGrant, sc as DeviceRecord, si as parseMissReason, sn as EndedAgentSession, so as RecordingPlatform, sr as readArchive, ss as workspaceMetadataFile, st as DeviceViewersRecord, t as SetupCapability, ta as HostedMacosChoice, tc as getRepoSettings, ti as WARM_KEY, tn as ChecksState, to as settingValueError, tr as ArchivedBytes, ts as workspaceDerivedData, tt as readStatsReport, u as HostedLogsCursor, ua as parseHostedMacosPlacement, uc as ProjectRecord, ui as readDevServerStopRequest, un as GitChip, uo as footageDrops, ur as MaintenanceAction, us as workspaceStateLock, ut as stimBuildDigest, v as TAILNET_MACHINE_PATTERN, va as hostedAppBlobs, vc as buildSlotPath, vi as workspaceLastUsed, vn as MemorySource, vo as archiveDir, vr as MaintenanceState, vs as compileGrep, vt as listStatusCacheEntries, w as HOSTED_METRO_GATEWAYS_KEY, wa as validHostedAppArguments, wc as readSwiftpmCacheUsage, wi as HostedDevicePhase, wn as PhysicalDeviceState, wo as createdDevicesFile, wr as HostedIosStatus, ws as queryJsonLogs, wt as readPullRequestCache, x as findPeer, xa as readHostedApp, xc as saturation, xi as HostedDevice, xn as NativeBuildStep, xo as buildMachinesFile, xr as readMaintenanceAttempt, xs as logFiles, xt as readBuildDetail, y as TailnetPeer, ya as parseHostedAppManifest, yc as buildSlotsDir, yi as HostedAndroidChoice, yn as MetroBundleState, yo as archiveLock, yr as MaintenanceStatus, ys as fileSizes, yt as pullRequestCacheFile, z as RunEstimates, za as SETTING_SCOPES, zc as parseNdjsonText, zi as parseHostedDevice, zn as WarmStep, zo as maintenanceDir, zr as hostedNativeRecords, zs as isJsonObject, zt as BUILD_RESULTS } from "./index-BTYoTeax.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, AgentSession, AgentSessionsCache, AgentTarget, AgentTool, AndroidDeviceState, AndroidRuntimeFacts, AppPresence, ArchivedBytes, ArchivedUsage, ArchivedWorkspace, BUILD_HISTORY_KEY, BUILD_HISTORY_LIMIT, BUILD_PHASES, BUILD_RESULTS, 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, DEVICE_IDLE_SHUTDOWN_KEY, DEVICE_RECLAIM_REASON, DEV_SERVER_STOP_REQUEST_KEY, DevServerStopRecord, DevServerStopRequest, DeviceActivity, DeviceAppProcess, DeviceHostMachineCredential, DeviceIdleShutdownRecord, DeviceLeaseState, DevicePlacement, DeviceRecord, DeviceViewersRecord, DiskMeasure, 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, HostedAgentAccess, HostedAgentDriverName, HostedAgentGrant, 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, LAST_BUILD_KEYS, LEVELS, LastBuildReport, MACHINE_OWNER_KINDS, MEMORY_SOURCES, MachineCapacity, MachineOwner, MachineOwnerKind, MachineUsageState, MacosAppRecord, MacosAppState, MacosBuild, MacosProcess, MaintenanceAction, MaintenanceActionKind, MaintenanceCheck, MaintenanceMode, MaintenancePass, MaintenancePressure, MaintenanceRecord, MaintenanceSize, MaintenanceState, MaintenanceStatus, 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, 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, SettingDefinition, SettingEntry, SettingScope, SettingType, SettingsObject, SettingsPayload, SetupCapability, SetupJournal, SimulatorState, StatsBucket, StatsCapacityRefusal, StatsCapacityWait, StatsPlacement, StatsPlatform, StatsRecord, StatsReport, StatsScope, StatusCacheEntry, StatusCapacity, StatusIssue, StatusIssueCode, StatusPayload, StimConfig, 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, WorktreeFacts, WorktreeGit, WorktreePullRequest, acceptsShape, advanceTail, agentDeviceStateDirs, agentDeviceUsageFile, agentSessionOf, agentSessionsCacheFile, allMetroPorts, archiveDir, archiveEnabled, archiveLock, archiveRoot, archivedUsage, assertHostedDeviceLedger, attachExpoErrorContext, buildCriteria, buildDiagnostics, buildMachinesFile, buildMachinesLock, buildSlotPath, buildSlotsDir, buildWorkerRoot, bundleMarkerPlatform, capDrops, closedSegmentName, coerceSettingText, compileGrep, configCorruptRepair, configLockPath, countErrorEntries, createAgentActionReader, createdDevicesFile, createdDevicesLock, decodeStats, deviceHostArea, deviceHostMachinesClaims, deviceHostMachinesFile, deviceHostMachinesLock, deviceHostRoot, deviceViewersDir, diskUsageCacheDir, diskUsageCacheFile, easMachineStateRoot, easSessionLedgerFile, easSessionLedgerLock, emulatorLogFile, endedAgentSessionOf, endpoint, expectedShape, fileSizes, findEnclosingWorktreeRoot, findPeer, findProjectByMetroPort, findProjectRoot, followLogs, footageDrops, getConcurrencyLimits, getConfigPath, getParkedMax, getProject, getProjectSetting, getProjectSettings, getRepoSettings, gitMergeCacheDir, hostedAndroidDeviceName, hostedAndroidPlacements, hostedAndroidRecords, hostedAndroidStatus, hostedAppArea, hostedAppAttempt, hostedAppBlobs, hostedConsolePort, hostedDeviceId, hostedIosPlacements, hostedIosRecords, hostedIosStatus, hostedMacosAppSlot, hostedMacosBundleId, hostedMacosLogsDir, hostedMetroGateways, hostedMetroRequests, hostedNativeLogsDir, hostedNativeRecords, isJournalExpired, isJsonObject, isLayeredSetting, isPathPrefix, isSensitiveReference, isSetupJournalPrunable, lastUseFrom, levelRank, linkReplacedArchives, listRecordedDevices, listSegments, listStatusCacheEntries, loadConfig, logFiles, machineCapacity, macosAppState, maintenanceAttemptFile, maintenanceChildLogFile, maintenanceDir, maintenanceNdjsonFile, maintenanceRunClaims, maintenanceStateFile, markerWindow, offloadSummary, openSegmentName, parseHostedAgentAccess, parseHostedAgentGrant, parseHostedAndroidDevice, parseHostedAndroidPlacement, parseHostedAppManifest, parseHostedAppOffer, parseHostedChoice, parseHostedDevice, parseHostedIosPlacement, parseHostedLocalDeviceCount, parseHostedLogsCursor, parseHostedMacosChoice, parseHostedMacosDevice, parseHostedMacosPlacement, parseHostedNativeOffer, parseHostedNativePlacement, parseHostedOfferRequest, parseHostedPlatformDevice, parseHostedRequest, parseMachine, parseMacosRecord, parseMaintenanceState, parseMissReason, parseNdjsonLine, parseNdjsonText, parseSetupJournal, parseSince, pinnedEndpoint, pullRequestCacheDir, pullRequestCacheFile, queryJsonLogs, queryLogs, readAgentDeviceUsage, readAgentDeviceUsageCache, readAgentSessionsCache, readArchive, readArchiveState, readArchives, readBuildDetail, readBuildHistory, readBuildMachines, readCreatedDevices, readDevServerStop, readDevServerStopRequest, readDeviceHostMachines, readDeviceIdleShutdowns, readDevicePlacement, readDiskUsage, readEasSessionLedger, readEndedAgentSessions, readHostedApp, readHostedAppMetadata, readHostedDevice, readHostedDeviceLedger, readHostedMacosApp, readHostedNativeLogsCheckpoint, readHostedSessions, readIdleStop, readJsonFile, readJsonObject, readLastBuilds, readLogRecords, readLogTimeline, readLogsSince, readMacosRecord, readMaintenanceAttempt, readMaintenanceState, readNdjsonGenerations, readPullRequestCache, readRunEstimates, readSetupJournal, readStateFile, readStats, readStatsReport, readSwiftpmCacheUsage, readViewedDevices, readWarmRecord, readWorkspaceAgent, readWorkspaceState, recordMatches, recordedBytes, recordingDeviceName, recordingEnabled, rememberHostedAppBlobRename, saturation, serverSetupDir, settingDefinition, settingValueError, settingsJsonSchema, setupJournalFile, sharedCcache, sharedCompilationCache, sharedGradle, sharedPods, sortByTs, statsFile, statsProjectKey, stimBuildDigest, supervisorLogFile, supervisorPidFile, swiftpmCacheUsageFile, tailRead, trimCapacityRefusals, trimCapacityWaits, trimSamples, tryAcquireBuildSlotClaim, unreadableHostedAndroid, unreadableHostedIos, unreadableHostedNative, validEasSessionClaim, validHostedAppArguments, validHostedAppBlob, wholePhases, withConfigLock, withDerivedFacts, withGitChip, withStateReadCache, workspaceAgentDeviceDir, workspaceBuildDetailFile, workspaceDerivedData, workspaceEndedAgentsFile, workspaceEndedAgentsLock, workspaceGradleBuild, workspaceLastUsed, workspaceLogErrorIndex, workspaceLogsDir, workspaceMetadataFile, workspaceRecordingsDir, workspaceStateFile, workspaceStateLock };
package/dist/state.mjs CHANGED
@@ -488,14 +488,14 @@ function agentSessionsCacheFile() {
488
488
  function diskUsageCacheDir() {
489
489
  return join(configDir(), "disk-usage");
490
490
  }
491
- /** The build machines this Mac paired with, each with its pinned tailnet node and device token. */
491
+ /** The remote Macs this Mac paired with, each with its pinned tailnet node and device token. */
492
492
  function buildMachinesFile() {
493
493
  return join(configDir(), "build-machines.json");
494
494
  }
495
495
  function buildMachinesLock() {
496
496
  return join(configDir(), "build-machines.lock");
497
497
  }
498
- /** The hosting machines this Mac asked for access, separate from build credentials. */
498
+ /** The remote Macs this Mac asked for access, separate from build credentials. */
499
499
  function deviceHostMachinesFile() {
500
500
  return join(configDir(), "device-host-machines.json");
501
501
  }
@@ -575,9 +575,9 @@ function configCorrupt(reason, path = getConfigPath()) {
575
575
  corrupt.code = "STIM_CONFIG_CORRUPT";
576
576
  return corrupt;
577
577
  }
578
- /** The build worker root: `offload.workerRoot` when it is absolute, else `$STIM_HOME/build-worker`. */
578
+ /** The build worker root: `server.workerRoot` when it is absolute, else `$STIM_HOME/build-worker`. */
579
579
  function buildWorkerRoot(config = loadConfig()) {
580
- const configured = config?.offload?.workerRoot;
580
+ const configured = config?.server?.workerRoot;
581
581
  return typeof configured === "string" && configured.startsWith("/") ? configured : join(configDir(), "build-worker");
582
582
  }
583
583
  function loadConfig() {
@@ -1011,8 +1011,8 @@ const SETTINGS = [
1011
1011
  pattern: TAILNET_MACHINE_PATTERN,
1012
1012
  patternHelp: "eas, proxy, auto, or a tailnet machine name"
1013
1013
  },
1014
- scopes: PROJECT,
1015
- description: "Default iOS remote target: eas, proxy, or an approved Mac in hosting.machines; auto places on an approved Mac when this Mac is full or busy"
1014
+ scopes: EVERY,
1015
+ description: "Default iOS remote target: eas, proxy, or an approved Mac in remote.machines; auto places on an approved Mac when this Mac is full or busy"
1016
1016
  },
1017
1017
  {
1018
1018
  key: "ios.simslimProfile",
@@ -1109,8 +1109,8 @@ const SETTINGS = [
1109
1109
  pattern: TAILNET_MACHINE_PATTERN,
1110
1110
  patternHelp: "eas, proxy, auto, or a tailnet machine name"
1111
1111
  },
1112
- scopes: PROJECT,
1113
- description: "Default Android remote target: eas, proxy, or an approved Mac in hosting.machines; auto places on an approved Mac when this Mac is full or busy"
1112
+ scopes: EVERY,
1113
+ description: "Default Android remote target: eas, proxy, or an approved Mac in remote.machines; auto places on an approved Mac when this Mac is full or busy"
1114
1114
  },
1115
1115
  {
1116
1116
  key: "metro.tunnel",
@@ -1630,12 +1630,6 @@ const SETTINGS = [
1630
1630
  scopedHomeValue: 0,
1631
1631
  description: "Parked emulators kept for adoption; 0 turns parking off"
1632
1632
  },
1633
- {
1634
- key: "hosting.machines",
1635
- type: { kind: "strings" },
1636
- scopes: MACHINE,
1637
- description: "Tailscale names of the Macs that may host owned simulator sessions for this one, each optionally with :<port> of its tailscale serve route (default 7443); doctor --fix asks for separate device-host approval"
1638
- },
1639
1633
  {
1640
1634
  key: "hosting.agentDriver",
1641
1635
  type: {
@@ -1654,13 +1648,13 @@ const SETTINGS = [
1654
1648
  description: "Whether a Mac approved for builds or device hosting here may update this Mac's stim-server service to that Mac's own stim-server build; releases from npm need no setting"
1655
1649
  },
1656
1650
  {
1657
- key: "offload.machines",
1651
+ key: "remote.machines",
1658
1652
  type: { kind: "strings" },
1659
1653
  scopes: MACHINE,
1660
- description: "Tailscale names of the Macs that may build for this one, each optionally with :<port> of its tailscale serve route (default 7443)"
1654
+ description: "Tailscale names of the remote Macs this Mac may build on and host owned simulators on, each optionally with :<port> of its tailscale serve route (default 7443); what each is used for follows the build and device-host approvals it grants, which doctor --fix asks for separately"
1661
1655
  },
1662
1656
  {
1663
- key: "offload.machine",
1657
+ key: "remote.build",
1664
1658
  type: {
1665
1659
  kind: "string",
1666
1660
  pattern: TAILNET_MACHINE_PATTERN,
@@ -1668,38 +1662,38 @@ const SETTINGS = [
1668
1662
  },
1669
1663
  scopes: MACHINE,
1670
1664
  default: "auto",
1671
- env: "STIM_OFFLOAD_MACHINE",
1672
- description: "Build placement: auto follows offload.mode with local fallback; local always builds here; a name in offload.machines requires that machine without fallback. The ios, android and macos --build-machine flag overrides this setting and its environment override"
1665
+ env: "STIM_REMOTE_BUILD",
1666
+ description: "Build placement: auto follows remote.buildMode with local fallback; local always builds here; a name in remote.machines requires that remote Mac without fallback. The ios, android and macos --remote-build flag overrides this setting and its environment override"
1673
1667
  },
1674
1668
  {
1675
- key: "offload.mode",
1669
+ key: "remote.buildMode",
1676
1670
  type: {
1677
1671
  kind: "choice",
1678
1672
  choices: OFFLOAD_MODES
1679
1673
  },
1680
1674
  scopes: MACHINE,
1681
1675
  default: "auto",
1682
- env: "STIM_OFFLOAD_MODE",
1683
- description: "When offload.machine is auto, where iOS simulator Debug, Android emulator debug and macOS SwiftPM Debug builds run: auto builds here while this Mac has a free concurrency.maxBuilds slot and its load is under offload.maxLoadPerCore, and otherwise offloads to a less loaded machine in offload.machines; force offloads whenever a machine can take the build; off always builds here"
1676
+ env: "STIM_REMOTE_BUILD_MODE",
1677
+ description: "When remote.build is auto, where iOS simulator Debug, Android emulator debug and macOS SwiftPM Debug builds run: auto builds here while this Mac has a free concurrency.maxBuilds slot and its load is under server.maxLoadPerCore, and otherwise builds on a less loaded Mac in remote.machines; force builds on a remote Mac whenever one can take the build; off always builds here"
1684
1678
  },
1685
1679
  {
1686
- key: "offload.maxLoadPerCore",
1680
+ key: "server.maxLoadPerCore",
1687
1681
  type: {
1688
1682
  kind: "number",
1689
1683
  minimum: .1
1690
1684
  },
1691
1685
  scopes: MACHINE,
1692
1686
  default: 2,
1693
- description: "Load per core (5-minute load average divided by the CPU count) at which a Mac counts as saturated: a build machine declines offloaded builds, and auto offload stops preferring this Mac; also the busy threshold for automatic iOS and Android device placement"
1687
+ description: "Load per core (5-minute load average divided by the CPU count) at which this Mac counts as saturated: it declines builds other Macs send it, automatic build placement stops preferring it, and automatic iOS and Android device placement treats it as busy"
1694
1688
  },
1695
1689
  {
1696
- key: "offload.workerRoot",
1690
+ key: "server.workerRoot",
1697
1691
  type: ABSOLUTE_PATH,
1698
1692
  scopes: MACHINE,
1699
- description: "Directory where stim-server keeps the checkouts, dependencies and build state of Macs that build here; default $STIM_HOME/build-worker"
1693
+ description: "Directory where stim-server keeps the checkouts, dependencies and build state of the Macs that build here; default $STIM_HOME/build-worker"
1700
1694
  },
1701
1695
  {
1702
- key: "offload.gradleDaemonIdleMinutes",
1696
+ key: "server.gradleDaemonIdleMinutes",
1703
1697
  type: {
1704
1698
  kind: "number",
1705
1699
  integer: true,
@@ -1708,7 +1702,7 @@ const SETTINGS = [
1708
1702
  },
1709
1703
  scopes: MACHINE,
1710
1704
  default: 30,
1711
- description: "Minutes the Gradle daemon of an offloaded Android build stays warm on this build machine after the build; 0 stops it when the build ends"
1705
+ description: "Minutes the Gradle daemon of an Android build another Mac sent here stays warm after the build; 0 stops it when the build ends"
1712
1706
  },
1713
1707
  {
1714
1708
  key: "caches.buildCache",
@@ -1878,7 +1872,7 @@ function tryAcquireBuildSlotClaim({ max, details }) {
1878
1872
  if (refusal && !busy) throw refusal;
1879
1873
  return null;
1880
1874
  }
1881
- /** Build slots held for a build machine's offloaded builds, which run under another Stim home. */
1875
+ /** Build slots held for a remote Mac's offloaded builds, which run under another Stim home. */
1882
1876
  function liveOffloadedSlots() {
1883
1877
  let names;
1884
1878
  try {
@@ -1896,9 +1890,9 @@ function liveOffloadedSlots() {
1896
1890
  return count;
1897
1891
  }
1898
1892
  function maxLoadPerCore() {
1899
- const value = loadConfig()?.offload?.maxLoadPerCore;
1893
+ const value = loadConfig()?.server?.maxLoadPerCore;
1900
1894
  if (typeof value === "number" && Number.isFinite(value) && value > 0) return value;
1901
- return settingDefinition("offload.maxLoadPerCore").default;
1895
+ return settingDefinition("server.maxLoadPerCore").default;
1902
1896
  }
1903
1897
  function liveNativeBuilds() {
1904
1898
  const dir = join(configDir(), "workspaces");
@@ -3220,7 +3214,7 @@ function readBuildDetail(root, claimId) {
3220
3214
  if (typeof raw.updatedAt !== "string") return null;
3221
3215
  return {
3222
3216
  step: NATIVE_BUILD_STEPS.includes(raw.step) ? raw.step : null,
3223
- unit: raw.unit === "targets" || raw.unit === "tasks" ? raw.unit : null,
3217
+ unit: raw.unit === "targets" || raw.unit === "tasks" || raw.unit === "steps" ? raw.unit : null,
3224
3218
  done: countOrNull(raw.done),
3225
3219
  total: countOrNull(raw.total),
3226
3220
  line: typeof raw.line === "string" ? raw.line : null,
@@ -3286,7 +3280,7 @@ function readAgentSessionsCache() {
3286
3280
  //#region state/stim-build.ts
3287
3281
  /**
3288
3282
  * A digest of Stim's built code: the first 16 hex characters of the sha256 over the sorted `*.mjs` names and
3289
- * bytes of a `stim` `dist` directory. A client and a build machine offload only when both compute the same one.
3283
+ * bytes of a `stim` `dist` directory. A client and a remote Mac offload only when both compute the same one.
3290
3284
  */
3291
3285
  function stimBuildDigest(dir) {
3292
3286
  try {
@@ -3525,7 +3519,11 @@ function historyEntry(platform, value) {
3525
3519
  function readBuildHistory(state) {
3526
3520
  const history = state?.[BUILD_HISTORY_KEY];
3527
3521
  const builds = {};
3528
- for (const platform of ["ios", "android"]) {
3522
+ for (const platform of [
3523
+ "ios",
3524
+ "android",
3525
+ "macos"
3526
+ ]) {
3529
3527
  const list = history?.[platform];
3530
3528
  if (!Array.isArray(list)) continue;
3531
3529
  const entries = list.slice(0, 10).map((value) => historyEntry(platform, value)).filter((entry) => entry !== null);
@@ -3622,7 +3620,7 @@ function readViewedDevices(dir = deviceViewersDir()) {
3622
3620
  //#endregion
3623
3621
  //#region state/stats.ts
3624
3622
  const STATS_VERSION = 1;
3625
- /** Where a compiling build ran: here, on a build machine, or here after offloading it failed. */
3623
+ /** Where a compiling build ran: here, on a remote Mac, or here after offloading it failed. */
3626
3624
  const PLACEMENT_DECISIONS = [
3627
3625
  "here",
3628
3626
  "offloaded",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stim-cli/core",
3
- "version": "1.17.0",
3
+ "version": "1.17.1",
4
4
  "description": "Shared internal cache and runtime primitives for Stim packages.",
5
5
  "license": "MIT",
6
6
  "repository": {