@stim-cli/core 1.17.0 → 1.17.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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 {
@@ -174,6 +174,7 @@ interface BuildMachineCredential {
174
174
  deviceToken: string;
175
175
  state: "pending" | "approved";
176
176
  requestedAt: string;
177
+ expiresAt?: string;
177
178
  ticketHash?: string;
178
179
  }
179
180
  declare function readBuildMachines(): BuildMachineCredential[];
@@ -273,20 +274,19 @@ interface StimConfig {
273
274
  metroCache?: unknown;
274
275
  };
275
276
  hosting?: {
276
- machines?: unknown;
277
277
  agentDriver?: unknown;
278
278
  };
279
279
  server?: {
280
280
  acceptClientBuilds?: unknown;
281
- };
282
- offload?: {
283
- machine?: unknown;
284
- machines?: unknown;
285
- mode?: unknown;
286
- workerRoot?: unknown;
287
281
  maxLoadPerCore?: unknown;
282
+ workerRoot?: unknown;
288
283
  gradleDaemonIdleMinutes?: unknown;
289
284
  };
285
+ remote?: {
286
+ machines?: unknown;
287
+ build?: unknown;
288
+ buildMode?: unknown;
289
+ };
290
290
  [key: string]: unknown;
291
291
  }
292
292
  type Config = StimConfig;
@@ -294,7 +294,7 @@ type Config = StimConfig;
294
294
  //#region state/config.d.ts
295
295
  declare function withConfigLock<T>(fn: () => T): T;
296
296
  declare function configCorruptRepair(path?: string): string;
297
- /** The build worker root: `offload.workerRoot` when it is absolute, else `$STIM_HOME/build-worker`. */
297
+ /** The build worker root: `server.workerRoot` when it is absolute, else `$STIM_HOME/build-worker`. */
298
298
  declare function buildWorkerRoot(config?: Config | null): string;
299
299
  declare function loadConfig(): Config | null;
300
300
  declare function getProject(projectPath: string): ProjectRecord | null;
@@ -489,10 +489,10 @@ declare function gitMergeCacheDir(): string;
489
489
  declare function pullRequestCacheDir(): string;
490
490
  declare function agentSessionsCacheFile(): string;
491
491
  declare function diskUsageCacheDir(): string;
492
- /** The build machines this Mac paired with, each with its pinned tailnet node and device token. */
492
+ /** The remote Macs this Mac paired with, each with its pinned tailnet node and device token. */
493
493
  declare function buildMachinesFile(): string;
494
494
  declare function buildMachinesLock(): string;
495
- /** The hosting machines this Mac asked for access, separate from build credentials. */
495
+ /** The remote Macs this Mac asked for access, separate from build credentials. */
496
496
  declare function deviceHostMachinesFile(): string;
497
497
  declare function deviceHostMachinesLock(): string;
498
498
  declare function deviceHostMachinesClaims(): string;
@@ -1011,7 +1011,7 @@ declare function buildDiagnostics(value: unknown): BuildDiagnostic[];
1011
1011
  declare function readDevicePlacement(state: WorkspaceState | null, platform: StatsPlatform, slot?: string): DevicePlacement | null;
1012
1012
  declare function readLastBuilds(state: WorkspaceState | null | undefined): Partial<Record<StatsPlatform, LastBuildReport>>;
1013
1013
  /** 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[]>>;
1014
+ declare function readBuildHistory(state: WorkspaceState | null | undefined): Partial<Record<BuildPlatform, BuildHistoryEntry[]>>;
1015
1015
  declare function readWorkspaceState(root: string): WorkspaceState | null;
1016
1016
  declare function lastUseFrom(state: WorkspaceState | null, logMtimes: readonly number[]): number;
1017
1017
  declare function workspaceLastUsed(root: string): number;
@@ -1062,7 +1062,12 @@ declare function unreadableHostedNative(slot: string, platform: "ios" | "android
1062
1062
  /** A workspace slot's placement; null device means its reservation has not reached ready yet. */
1063
1063
  interface HostedAndroidPlacement extends HostedNativePlacement<HostedAndroidDevice> {}
1064
1064
  /** Public hosting facts; the host's serial, AVD name and private Metro gateway are excluded. */
1065
- type HostedAndroidStatus = Pick<HostedAndroidPlacement, "machine" | "session" | "selected" | "reason" | "agent"> & {
1065
+ type HostedAndroidStatus = {
1066
+ machine: string;
1067
+ session: string;
1068
+ selected: string;
1069
+ reason?: string;
1070
+ agent: HostedAgentAccess;
1066
1071
  device: {
1067
1072
  name: string;
1068
1073
  systemImage: string;
@@ -1082,7 +1087,12 @@ declare function hostedAndroidDeviceName(device: HostedAndroidDevice): string;
1082
1087
  /** A workspace slot's placement; null device means its reservation has not reached ready yet. */
1083
1088
  interface HostedIosPlacement extends HostedNativePlacement<HostedIosDevice> {}
1084
1089
  /** Public hosting facts; the host's UDID and private Metro gateway are excluded. */
1085
- type HostedIosStatus = Pick<HostedIosPlacement, "machine" | "session" | "selected" | "reason" | "agent"> & {
1090
+ type HostedIosStatus = {
1091
+ machine: string;
1092
+ session: string;
1093
+ selected: string;
1094
+ reason?: string;
1095
+ agent: HostedAgentAccess;
1086
1096
  device: {
1087
1097
  name: string;
1088
1098
  runtime: string;
@@ -1292,12 +1302,14 @@ declare function macosAppState(record: MacosAppRecord | null): MacosAppState | n
1292
1302
  //#endregion
1293
1303
  //#region state/status.d.ts
1294
1304
  type StatsPlatform = "ios" | "android";
1305
+ /** A platform whose build reports phases: the stats platforms and `macos`. */
1306
+ type BuildPlatform = StatsPlatform | "macos";
1295
1307
  type RunOutcomeKind = "hit" | "cold";
1296
1308
  declare const BUILD_PHASES: readonly ["prepare", "cache-lookup", "wait", "prebuild", "pods", "compile", "device", "install", "launch"];
1297
1309
  type BuildPhase = (typeof BUILD_PHASES)[number];
1298
1310
  type ActiveBuildState = "running" | "stale" | "unknown";
1299
1311
  /**
1300
- * Where a running build compiles: `local`, or the build machine it was offloaded to, with the phase it is in there
1312
+ * Where a running build compiles: `local`, or the remote Mac it was offloaded to, with the phase it is in there
1301
1313
  * (`sync`, `deps`, `prebuild`, `pods`, `build` or `fetch`) and when the offload and that phase started.
1302
1314
  */
1303
1315
  type BuildPlacement = "local" | {
@@ -1313,7 +1325,7 @@ interface BuildWaitingFor {
1313
1325
  since: string;
1314
1326
  }
1315
1327
  interface BuildReport {
1316
- platform: StatsPlatform;
1328
+ platform: BuildPlatform;
1317
1329
  slot: string;
1318
1330
  state: ActiveBuildState;
1319
1331
  phase: BuildPhase;
@@ -1359,15 +1371,16 @@ interface PlannedPhase {
1359
1371
  declare const NATIVE_BUILD_STEPS: readonly ["configure", "compile", "link", "resources", "script", "dex", "package", "sign"];
1360
1372
  type NativeBuildStep = (typeof NATIVE_BUILD_STEPS)[number];
1361
1373
  /**
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
1374
+ * A running build's progress as its tool reports it. `unit` is `targets` for xcodebuild, `tasks` for Gradle and
1375
+ * `steps` for SwiftPM. xcodebuild's `done` counts targets it finished and `total` the targets in its dependency graph,
1376
+ * which includes targets with nothing to do; Gradle's `done` counts the tasks it reported, with a null `total`;
1377
+ * SwiftPM's `done` and `total` are the `[done/total]` of its latest progress line, and its total can grow while it
1378
+ * builds. They are counts, not a completion fraction. `status` reports the detail only during the `compile` phase. `line` is
1366
1379
  * the latest compile, link or task line with paths shortened to file names.
1367
1380
  */
1368
1381
  interface BuildDetail {
1369
1382
  step: NativeBuildStep | null;
1370
- unit: "targets" | "tasks" | null;
1383
+ unit: "targets" | "tasks" | "steps" | null;
1371
1384
  done: number | null;
1372
1385
  total: number | null;
1373
1386
  line: string | null;
@@ -1383,7 +1396,7 @@ interface DevicePlacement {
1383
1396
  }
1384
1397
  interface LastBuildReport {
1385
1398
  devicePlacement?: DevicePlacement;
1386
- platform: StatsPlatform;
1399
+ platform: BuildPlatform;
1387
1400
  status: "ok" | "failed";
1388
1401
  cacheHit: BuildCacheHit;
1389
1402
  cacheSkipped: boolean;
@@ -1397,7 +1410,7 @@ interface LastBuildReport {
1397
1410
  buildMachine?: string;
1398
1411
  /** Where compilation ran: here or a machine name; absent when no build ran. */
1399
1412
  builtOn?: string;
1400
- /** The build machine that compiled the app when the build was offloaded. */
1413
+ /** The remote Mac that compiled the app when the build was offloaded. */
1401
1414
  offloadedTo?: string;
1402
1415
  /** Why the run built here after it considered offloading; absent when it offloaded or never considered it. */
1403
1416
  offloadFallback?: string;
@@ -1888,7 +1901,7 @@ interface EnvironmentState {
1888
1901
  build?: BuildReport | null;
1889
1902
  lastBuilds?: Partial<Record<StatsPlatform, LastBuildReport>>;
1890
1903
  /** Each platform's recent runs, newest first, at most `BUILD_HISTORY_LIMIT` each. */
1891
- builds?: Partial<Record<StatsPlatform, BuildHistoryEntry[]>>;
1904
+ builds?: Partial<Record<BuildPlatform, BuildHistoryEntry[]>>;
1892
1905
  disk?: EnvironmentDisk;
1893
1906
  /** The coding-agent sessions working in the environment, most recently active first; absent when none. */
1894
1907
  agents?: AgentSession[];
@@ -2024,7 +2037,7 @@ declare function readAgentSessionsCache(): AgentSessionsCache | null;
2024
2037
  //#region state/stim-build.d.ts
2025
2038
  /**
2026
2039
  * 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.
2040
+ * bytes of a `stim` `dist` directory. A client and a remote Mac offload only when both compute the same one.
2028
2041
  */
2029
2042
  declare function stimBuildDigest(dir: string): string | null;
2030
2043
  //#endregion
@@ -2075,7 +2088,7 @@ interface RunSample {
2075
2088
  deviceSetup?: boolean;
2076
2089
  }
2077
2090
  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. */
2091
+ /** Where a compiling build ran: here, on a remote Mac, or here after offloading it failed. */
2079
2092
  declare const PLACEMENT_DECISIONS: readonly ["here", "offloaded", "fell-back"];
2080
2093
  type PlacementDecision = (typeof PLACEMENT_DECISIONS)[number];
2081
2094
  interface StatsPlacement {
@@ -2206,7 +2219,7 @@ declare function readStatsReport(key: string | null, now: number): {
2206
2219
  declare function findProjectRoot(startDir: string): string | null;
2207
2220
  //#endregion
2208
2221
  //#region state/device-host-machines.d.ts
2209
- /** A separately approved hosting machine, pinned before sending its device token. */
2222
+ /** A separately approved remote Mac, pinned before sending its device token. */
2210
2223
  interface DeviceHostMachineCredential {
2211
2224
  machine: string;
2212
2225
  nodeId: string;
@@ -2215,6 +2228,7 @@ interface DeviceHostMachineCredential {
2215
2228
  deviceToken: string;
2216
2229
  state: "pending" | "approved";
2217
2230
  requestedAt: string;
2231
+ expiresAt?: string;
2218
2232
  ticketHash?: string;
2219
2233
  }
2220
2234
  /** An absent store is empty; unreadable or malformed credentials refuse access without discarding pins. */
@@ -2338,4 +2352,4 @@ declare function readSetupJournal(hash: string): SetupJournal | null;
2338
2352
  declare function isJournalExpired(journal: SetupJournal, now?: number): boolean;
2339
2353
  declare function isSetupJournalPrunable(journal: SetupJournal, now: number): boolean;
2340
2354
  //#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 };
2355
+ 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-lRdEfJSb.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-DcI3hDw9.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-lRdEfJSb.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-DcI3hDw9.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