@stim-cli/core 1.27.0 → 1.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/state.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as findPeer, $a as hostedMacosAppSlot, $c as queryJsonLogs, $i as readDevServerStopRequest, $l as withConfigLock, $n as MachineUsageState, $o as runId, $r as MaintenanceMode, $s as maintenanceAttemptFile, $t as pullRequestCacheFile, A as BuildLedgerRecord, Aa as parseHostedAndroidDevice, Ac as worktreeArchiveRoot, Ai as BUILD_HISTORY_LIMIT, Al as TracePhases, An as BuildPhase, Ao as RemoteDeviceBackend, Ar as MacosAppRecord, As as buildLedgerDir, At as offloadSummary, Au as machineCacheUsageFile, B as HOSTED_LOGS_PAGE_BYTES, Ba as readHostedSessions, Bc as advanceTail, Bi as MAINTENANCE_LOG_NAME, Bl as allMetroPorts, Bn as DeviceLeaseState, Bo as TUNNEL_MODES, Br as ArchivedWorkspace, Bs as deviceHostMachinesFile, Bt as DeviceViewersRecord, Bu as AgentActionReaderOptions, C as BuildLedgerCache, Ca as HostedNativeOffer, Cc as workspaceLightenedFile, Ci as parseHostedAndroidPlacement, Cl as readStateFile, Cn as BuildCause, Co as settingsJsonSchema, Cr as WebBrowserState, Cs as prefersRemote, Ct as StatsCapacityWait, Cu as buildSlotsDir, D as BuildLedgerOutcome, Da as hostedConsolePort, Dc as workspaceRecordingsDir, Di as parseHostedNativePlacement, Dl as TRACE_ENV, Dn as BuildMissCategory, Do as IOS_SIMULATOR_APPS, Dr as WorktreeFacts, Ds as archiveRoot, Dt as StatsScope, Du as tryAcquireBuildSlotClaim, E as BuildLedgerFailure, Ea as deviceHostRoot, Ec as workspaceMetadataFile, Ei as hostedNativeRecords, El as EndSpan, En as BuildHistoryEntry, Eo as ANDROID_PCH_CHOICES, Er as WorkspaceStage, Es as archiveLock, Et as StatsReport, Eu as saturation, F as GcLogStatus, Fa as parseHostedOfferRequest, Fc as ERROR_SOURCES, Fi as DevServerStopRequest, Fl as DebugLog, Fn as BuildResult, Fo as SettingEntry, Fr as parseMacosRecord, Fs as clientIdentityKeyFile, Ft as statsProjectKey, Fu as AgentDeviceUsage, G as parseHostedLogsCursor, Ga as HostedAgentGrant, Gc as fileIdentity, Gi as WarmRecord, Gl as getParkedMax, Gn as EnvironmentState, Go as coerceSettingText, Gr as readArchiveAsync, Gs as easMachineStateRoot, Gt as ENDED_AGENT_RETENTION_MS, Gu as LEVELS, H as HostedLogsPage, Ha as HOSTED_MACOS_APP_SLOTS, Hc as buildCriteria, Hi as READY_PHASE_MS, Hl as configCorruptRepair, Hn as DiskMeasure, Ho as WEB_VIEWPORTS, Hr as archivedUsage, Hs as deviceViewersDir, Ht as readViewedDevices, Hu as AgentTarget, I as GcLogTrigger, Ia as parseHostedPlatformDevice, Ic as LogQueryOptions, Ii as DeviceIdleShutdownRecord, Il as createDebugLog, In as BuildWaitingFor, Io as SettingScope, Ir as readHostedMacosApp, Is as configLockPath, It as trimCapacityRefusals, Iu as AgentDeviceUsageRoots, J as Endpoint, Ja as HostedAppLaunch, Jc as isExpoErrorContext, Ji as lastNativeUseFrom, Jl as getRepoSettings, Jn as LastBuildReport, Jo as isSensitiveReference, Jr as readArchivesAsync, Js as emulatorLogFile, Jt as agentSessionOf, Ju as levelRank, K as readHostedNativeLogsCheckpoint, Ka as HostedAgentIssuedGrant, Kc as fileSizes, Ki as WorkspaceState, Kl as getProject, Kn as GitChip, Ko as expectedShape, Kr as readArchiveState, Ks as easSessionLedgerFile, Kt as PullRequestCacheEntry, Ku as NdjsonRecord, L as isGcLogRecord, La as parseHostedRequest, Lc as LogQueryPlan, Li as IDLE_STOP_KEY, Ll as debugLogDir, Ln as ChecksState, Lo as SettingType, Lr as readMacosRecord, Ls as createdDevicesFile, Lt as trimCapacityWaits, Lu as agentDeviceUsageFile, M as readBuildLedger, Ma as parseHostedDevice, Mc as LogDir, Mi as DEVICE_RECLAIM_REASON, Ml as redactCommandLine, Mn as BuildPlanPayload, Mo as SETTING_GROUPS, Mr as MacosBuild, Ms as buildLedgerLock, Mt as readRunEstimates, Mu as SwiftpmCacheUsage, N as GcLogOptions, Na as parseHostedLocalDeviceCount, Nc as LogDirQuery, Ni as DEV_SERVER_STOP_REQUEST_KEY, Nl as trace, Nn as BuildPlatform, No as SETTING_SCOPES, Nr as MacosProcess, Ns as buildMachinesFile, Nt as readStats, Nu as readSwiftpmCacheUsage, O as BuildLedgerPlacement, Oa as hostedDeviceId, Oc as workspaceStateFile, Oi as unreadableHostedNative, Ol as Trace, On as BuildMissChange, Oo as REMOTE_DEVICE_BACKENDS, Or as WorktreeGit, Os as budgetSweepFile, Ot as decodeStats, Ou as MachineCacheUsage, P as GcLogRecord, Pa as parseHostedNativeOffer, Pc as openLogDir, Pi as DevServerStopRecord, Pl as DEBUG_ENV, Pn as BuildReport, Po as SettingDefinition, Pr as macosAppState, Ps as buildMachinesLock, Pt as readStatsReport, Pu as swiftpmCacheUsageFile, Q as endpoint, Qa as hostedAgentDriverName, Qc as planLogQuery, Qi as readDevServerStop, Ql as windowsShortDirKey, Qn as MachineOwnerKind, Qo as RUN_ID_ENV, Qr as MaintenanceCheck, Qs as gitMergeCacheDir, Qt as listStatusCacheEntries, R as readGcLog, Ra as readHostedDevice, Rc as NATIVE_CRASH_LOG_PREFIX, Ri as IdleStopRecord, Rl as debugLoggingEnabled, Rn as DeviceActivity, Ro as SettingWriteResult, Rr as ArchivedBytes, Rs as createdDevicesLock, Rt as trimSamples, Ru as readAgentDeviceUsage, S as BUILD_LEDGER_CAP, Sa as HostedIosDevice, Sc as workspaceGradleBuild, Si as hostedAndroidStatus, Sl as readJsonObject, Sn as BuildCacheHit, So as SETTINGS_SCHEMA_URL, Sr as WarmStep, Ss as placementWord, St as StatsCapacityRefusal, Su as buildSlotPath, T as BuildLedgerDevice, Ta as deviceHostArea, Tc as workspaceLogsDir, Ti as HostedNativePlacement, Tl as readHomeIdentity, Tn as BuildDiagnostic, To as ANDROID_EMULATOR_APPS, Tr as WorkspacePhase, Ts as archiveDir, Tt as StatsRecord, Tu as maxLoadPerCore, U as hostedMacosLogsDir, Ua as HostedAgentAccess, Uc as bundleMarkerPlatform, Ui as WARM_KEY, Ul as findEnclosingWorktreeRoot, Un as EndedAgentSession, Uo as WebViewport, Ur as linkReplacedArchives, Us as diskUsageCacheDir, Ut as stimBuildDigest, Uu as createAgentActionReader, V as HostedLogsCursor, Va as HOSTED_AGENT_DRIVERS, Vc as attachExpoErrorContext, Vi as MetroLastStop, Vl as buildWorkerRoot, Vn as DevicePlacement, Vo as TunnelMode, Vr as archiveEnabled, Vs as deviceHostMachinesLock, Vt as ViewedDevice, Vu as AgentRecordSelection, W as hostedNativeLogsDir, Wa as HostedAgentDriverName, Wc as compileGrep, Wi as WORKSPACE_AGENT_KEY, Wl as getConcurrencyLimits, Wn as EnvironmentDisk, Wo as acceptsShape, Wr as readArchive, Ws as diskUsageWalkClaims, Wt as AgentSessionsCache, Wu as createAsyncAgentActionReader, X as TailnetPeer, Xa as HostedMacosDevice, Xc as markerWindow, Xi as parseMissReason, Xl as loadConfig, Xn as MEMORY_SOURCES, Xo as settingDefinition, Xr as MaintenanceAction, Xs as gcLogFile, Xt as diskUsageFailureFile, Xu as parseNdjsonText, Y as TAILNET_MACHINE_PATTERN, Ya as HostedMacosChoice, Yc as logFiles, Yi as lastUseFrom, Yl as isPathPrefix, Yn as MACHINE_OWNER_KINDS, Yo as replacementAdvice, Yr as DiskPressureLevel, Ys as gcLogDir, Yt as diskUsageCacheFile, Yu as parseNdjsonLine, Z as cannotHost, Za as HostedMacosPlacement, Zc as parseSince, Zi as readBuildHistory, Zl as windowsShortDir, Zn as MachineOwner, Zo as settingValueError, Zr as MaintenanceActionKind, Zs as getConfigPath, Zt as endedAgentSessionOf, Zu as readNdjsonGenerations, _ as isSetupJournalPrunable, _a as HostedDevicePlatform, _c as workspaceAgentDeviceDir, _i as HostedAndroidPlacement, _l as readCreatedDevices, _n as AndroidRuntimeFacts, _o as readHostedAppMetadata, _r as StatusPayload, _s as recordingEnabled, _t as RunEstimates, _u as MACHINE_CREDENTIALS_VERSION, a as MachineView, aa as readWorkspaceAgent, ac as pullRequestCacheDir, ai as MaintenanceStatus, al as tailRead, an as readPullRequestCache, ao as parseHostedMacosPlacement, ar as PHYSICAL_DEVICE_CONNECTIONS, as as RecordedSegment, at as HostedMetroRequest, au as ConcurrencyLimits, b as agentDeviceStateDirs, ba as HostedDeviceSession, bc as workspaceEndedAgentsFile, bi as hostedAndroidPlacements, bl as isJsonObject, bn as BUILD_RESULTS, bo as validHostedAppBlob, br as WORKSPACE_PHASES, bs as PlacementWord, bt as STATS_VERSION, bu as readBuildMachines, c as SummaryBuild, ca as DEVICE_HOST_LIMITS, cc as setupJournalFile, ci as readMaintenanceAttempt, cl as fingerprintMemoDir, cn as ACTIVITY_RECENCY_BASES, co as HostedAppFile, cr as PlannedPhase, cs as closedSegmentName, ct as DeviceHostMachineCredential, cu as DoctorRunRecord, d as WorktreeRow, da as HostedAndroidChoice, dc as sharedGradle, di as HostedIosStatus, dl as readFingerprintMemo, dn as ActiveBuildState, do as hostedAppArea, dr as STATUS_ISSUE_CODES, ds as listRecordedDevicesAsync, dt as CAPACITY_REFUSAL_LIMIT, du as RepoRecord, ea as readDeviceIdleShutdowns, ec as maintenanceChildLogFile, ei as MaintenancePass, el as queryLogs, en as readAgentSessionsCache, eo as hostedMacosBundleId, er as MacosBuildPlanPayload, es as validRunId, et as machineEndpoint, eu as withConfigLockAsync, f as statusViews, fa as HostedAndroidDevice, fc as sharedPods, fi as hostedIosPlacements, fl as countErrorEntries, fn as ActivityDriver, fo as hostedAppAttempt, fr as SimulatorState, fs as listSegments, ft as CAPACITY_REFUSAL_MAX_AGE_MS, fu as SettingsObject, g as isJournalExpired, ga as HostedDevicePhase, gc as trashRoot, gi as unreadableHostedIos, gl as EasSessionLedgerRead, gn as AndroidDeviceState, go as readHostedApp, gr as StatusIssueCode, gs as recordingDeviceName, gt as ReadStatsResult, gu as BuildMachineCredential, h as SetupJournal, ha as HostedDeviceOfferRequest, hc as supervisorPidFile, hi as parseHostedIosPlacement, hl as EasSessionClaim, hn as AgentTool, ho as parseHostedAppOffer, hr as StatusIssue, hs as recordedBytes, ht as PLACEMENT_DECISIONS, hu as clientIdentity, i as ArchivedSummary, ia as readWarmRecord, ic as maintenanceStateFile, ii as MaintenanceState, il as sortByTs, in as readEndedAgentSessions, io as parseHostedMacosDevice, ir as NativeBuildStep, is as RecordedDevice, it as HostedMetroGateway, iu as validateAutomaticPool, j as isBuildLedgerRecord, ja as parseHostedChoice, jc as createNdjsonTail, ji as DEVICE_IDLE_SHUTDOWN_KEY, jl as redactArgv, jn as BuildPlacement, jo as SETTINGS, jr as MacosAppState, js as buildLedgerFile, jt as projectRootDirectories, ju as readMachineCacheUsage, k as BuildLedgerPlatform, ka as hostedWorkerSettleMs, kc as workspaceStateLock, ki as BUILD_HISTORY_KEY, kl as TraceArgs, kn as BuildMissReason, ko as REPLACED_SETTINGS, kr as WorktreePullRequest, ks as budgetSweepLock, kt as findProjectRoot, ku as SimRuntimeUsage, l as SummaryHistoryEntry, la as DeviceHostLimits, lc as sharedCcache, li as readMaintenanceState, ll as fingerprintMemoFile, ln as AGENT_TOOLS, lo as HostedAppOffer, lr as RemoteDeviceState, ls as footageDrops, lt as readDeviceHostMachines, lu as PlatformRecords, m as SetupCapability, ma as HostedDeviceOffer, mc as supervisorLogFile, mi as hostedIosStatus, ml as CreatedDevices, mn as AgentSession, mo as parseHostedAppManifest, mr as StatusCapacity, ms as openSegmentName, mt as OffloadSummary, mu as SupervisorRecord, n as KeyedEntities, na as readIdleStop, nc as maintenanceNdjsonFile, ni as MaintenanceRecord, nl as readLogTimeline, nn as readDiskUsage, no as parseHostedAgentGrant, nr as MetroBundleState, ns as RECORDING_FOOTAGE_MS, nt as HOSTED_METRO_GATEWAYS_KEY, nu as automaticMachineEnabled, o as SUMMARY_ARCHIVES, oa as readWorkspaceState, oc as serverLocalSocket, oi as MemoryCulprit, ol as FINGERPRINT_MEMO_SCHEMA, on as withDerivedFacts, oo as HOSTED_APP_CHUNK_BYTES, or as PhysicalDeviceConnection, os as RecordingPlatform, ot as hostedMetroGateways, ou as Config, p as workspaceSummary, pa as HostedDevice, pc as statsFile, pi as hostedIosRecords, pl as CreatedDevicePlatform, pn as ActivityRecencyBasis, po as hostedAppBlobs, pr as StatsPlatform, ps as listSegmentsAsync, pt as HISTORY_LIMIT, pu as StimConfig, q as readLogsSince, qa as HostedAgentLease, qc as followLogs, qi as buildDiagnostics, ql as getProjectSettings, qn as GitChipPart, qo as isLayeredSetting, qr as readArchives, qs as easSessionLedgerLock, qt as StatusCacheEntry, qu as SOURCES, r as applyKeyedDelta, ra as readLastBuilds, rc as maintenanceRunClaims, ri as MaintenanceSize, rl as recordMatches, rn as readDiskUsageFailure, ro as parseHostedMacosChoice, rr as NATIVE_BUILD_STEPS, rs as RECORDING_PLATFORMS, rt as HOSTED_METRO_REQUESTS_KEY, ru as requireAutomaticMachine, s as StatusViews, sa as workspaceLastUsed, sc as serverSetupDir, si as parseMaintenanceState, sl as FingerprintMemoRecord, sn as withGitChip, so as HostedAppDelivery, sr as PhysicalDeviceState, ss as capDrops, st as hostedMetroRequests, su as DeviceRecord, t as KeyedDelta, ta as readDevicePlacement, tc as maintenanceDir, ti as MaintenancePressure, tl as readLogRecords, tn as readBuildDetail, to as parseHostedAgentAccess, tr as MemorySource, ts as RECORDING_CAP_BYTES, tt as parseMachine, tu as AutomaticPoolRole, u as WorkspaceSummary, ua as HOSTED_PARKED_CANDIDATES, uc as sharedCompilationCache, ui as HostedIosPlacement, ul as fingerprintMemoLock, un as APP_PROCESS_STATES, uo as HostedAppRecord, ur as RunOutcomeKind, us as listRecordedDevices, ut as BuildMachineTotals, uu as ProjectRecord, v as parseSetupJournal, va as HostedDeviceRequest, vc as workspaceBuildDetailFile, vi as HostedAndroidStatus, vl as readEasSessionLedger, vn as AppPresence, vo as rememberHostedAppBlobRename, vr as TUTORIAL_VERSION, vs as AutomaticPlacement, vt as RunHistory, vu as MachineCredential, w as BuildLedgerCacheResult, wa as assertHostedDeviceLedger, wc as workspaceLogErrorIndex, wi as unreadableHostedAndroid, wl as withStateReadCache, wn as BuildDetail, wo as ANDROID_COMPILER_CACHE_CHOICES, wr as WebPageState, ws as agentSessionsCacheFile, wt as StatsPlacement, wu as machineCapacity, x as agentDeviceStateDirsAsync, xa as HostedIosChoice, xc as workspaceEndedAgentsLock, xi as hostedAndroidRecords, xl as readJsonFile, xn as BuildActivity, xo as SETTINGS_SCHEMA_FILE, xr as WORKSPACE_STAGE_KINDS, xs as mayRunHere, xt as StatsBucket, xu as MachineCapacity, y as readSetupJournal, ya as HostedDeviceSelectors, yc as workspaceDerivedData, yi as hostedAndroidDeviceName, yl as validEasSessionClaim, yn as BUILD_PHASES, yo as validHostedAppArguments, yr as WEB_PAGE_STATES, ys as PLACEMENT_WORDS, yt as RunSample, yu as parseMachineCredential, z as HOSTED_LOGS_FIRST_BYTES, za as readHostedDeviceLedger, zc as QueryCriteria, zi as LAST_BUILD_KEYS, zl as ParkedMax, zn as DeviceAppProcess, zo as SettingsPayload, zr as ArchivedUsage, zs as deviceHostMachinesClaims, zt as wholePhases, zu as readAgentDeviceUsageCache } from "./index-DfpdqDFf.mjs";
2
- export { ACTIVITY_RECENCY_BASES, AGENT_TOOLS, ANDROID_COMPILER_CACHE_CHOICES, ANDROID_EMULATOR_APPS, ANDROID_PCH_CHOICES, APP_PROCESS_STATES, ActiveBuildState, ActivityDriver, ActivityRecencyBasis, AgentActionReaderOptions, AgentDeviceUsage, AgentDeviceUsageRoots, AgentRecordSelection, AgentSession, AgentSessionsCache, AgentTarget, AgentTool, AndroidDeviceState, AndroidRuntimeFacts, AppPresence, ArchivedBytes, ArchivedSummary, ArchivedUsage, ArchivedWorkspace, AutomaticPlacement, AutomaticPoolRole, BUILD_HISTORY_KEY, BUILD_HISTORY_LIMIT, BUILD_LEDGER_CAP, BUILD_PHASES, BUILD_RESULTS, BuildActivity, BuildCacheHit, BuildCause, BuildDetail, BuildDiagnostic, BuildHistoryEntry, BuildLedgerCache, BuildLedgerCacheResult, BuildLedgerDevice, BuildLedgerFailure, BuildLedgerOutcome, BuildLedgerPlacement, BuildLedgerPlatform, BuildLedgerRecord, BuildMachineCredential, BuildMachineTotals, BuildMissCategory, BuildMissChange, BuildMissReason, BuildPhase, BuildPlacement, BuildPlanPayload, BuildPlatform, BuildReport, BuildResult, BuildWaitingFor, CAPACITY_REFUSAL_LIMIT, CAPACITY_REFUSAL_MAX_AGE_MS, ChecksState, ConcurrencyLimits, Config, CreatedDevicePlatform, CreatedDevices, DEBUG_ENV, DEVICE_HOST_LIMITS, DEVICE_IDLE_SHUTDOWN_KEY, DEVICE_RECLAIM_REASON, DEV_SERVER_STOP_REQUEST_KEY, DebugLog, DevServerStopRecord, DevServerStopRequest, DeviceActivity, DeviceAppProcess, DeviceHostLimits, DeviceHostMachineCredential, DeviceIdleShutdownRecord, DeviceLeaseState, DevicePlacement, DeviceRecord, DeviceViewersRecord, DiskMeasure, DiskPressureLevel, DoctorRunRecord, ENDED_AGENT_RETENTION_MS, ERROR_SOURCES, EasSessionClaim, EasSessionLedgerRead, EndSpan, EndedAgentSession, Endpoint, EnvironmentDisk, EnvironmentState, FINGERPRINT_MEMO_SCHEMA, FingerprintMemoRecord, GcLogOptions, GcLogRecord, GcLogStatus, GcLogTrigger, GitChip, GitChipPart, HISTORY_LIMIT, HOSTED_AGENT_DRIVERS, HOSTED_APP_CHUNK_BYTES, HOSTED_LOGS_FIRST_BYTES, HOSTED_LOGS_PAGE_BYTES, HOSTED_MACOS_APP_SLOTS, HOSTED_METRO_GATEWAYS_KEY, HOSTED_METRO_REQUESTS_KEY, HOSTED_PARKED_CANDIDATES, HostedAgentAccess, HostedAgentDriverName, HostedAgentGrant, HostedAgentIssuedGrant, HostedAgentLease, HostedAndroidChoice, HostedAndroidDevice, HostedAndroidPlacement, HostedAndroidStatus, HostedAppDelivery, HostedAppFile, HostedAppLaunch, HostedAppOffer, HostedAppRecord, HostedDevice, HostedDeviceOffer, HostedDeviceOfferRequest, HostedDevicePhase, HostedDevicePlatform, HostedDeviceRequest, HostedDeviceSelectors, HostedDeviceSession, HostedIosChoice, HostedIosDevice, HostedIosPlacement, HostedIosStatus, HostedLogsCursor, HostedLogsPage, HostedMacosChoice, HostedMacosDevice, HostedMacosPlacement, HostedMetroGateway, HostedMetroRequest, HostedNativeOffer, HostedNativePlacement, IDLE_STOP_KEY, IOS_SIMULATOR_APPS, IdleStopRecord, KeyedDelta, KeyedEntities, LAST_BUILD_KEYS, LEVELS, LastBuildReport, LogDir, LogDirQuery, LogQueryOptions, LogQueryPlan, MACHINE_CREDENTIALS_VERSION, MACHINE_OWNER_KINDS, MAINTENANCE_LOG_NAME, MEMORY_SOURCES, MachineCacheUsage, MachineCapacity, MachineCredential, MachineOwner, MachineOwnerKind, MachineUsageState, MachineView, MacosAppRecord, MacosAppState, MacosBuild, MacosBuildPlanPayload, MacosProcess, MaintenanceAction, MaintenanceActionKind, MaintenanceCheck, MaintenanceMode, MaintenancePass, MaintenancePressure, MaintenanceRecord, MaintenanceSize, MaintenanceState, MaintenanceStatus, MemoryCulprit, MemorySource, MetroBundleState, MetroLastStop, NATIVE_BUILD_STEPS, NATIVE_CRASH_LOG_PREFIX, NativeBuildStep, NdjsonRecord, OffloadSummary, PHYSICAL_DEVICE_CONNECTIONS, PLACEMENT_DECISIONS, PLACEMENT_WORDS, ParkedMax, PhysicalDeviceConnection, PhysicalDeviceState, PlacementWord, PlannedPhase, PlatformRecords, ProjectRecord, PullRequestCacheEntry, QueryCriteria, READY_PHASE_MS, RECORDING_CAP_BYTES, RECORDING_FOOTAGE_MS, RECORDING_PLATFORMS, REMOTE_DEVICE_BACKENDS, REPLACED_SETTINGS, RUN_ID_ENV, ReadStatsResult, RecordedDevice, RecordedSegment, RecordingPlatform, RemoteDeviceBackend, RemoteDeviceState, RepoRecord, RunEstimates, RunHistory, RunOutcomeKind, RunSample, SETTINGS, SETTINGS_SCHEMA_FILE, SETTINGS_SCHEMA_URL, SETTING_GROUPS, SETTING_SCOPES, SOURCES, STATS_VERSION, STATUS_ISSUE_CODES, SUMMARY_ARCHIVES, SettingDefinition, SettingEntry, SettingScope, SettingType, SettingWriteResult, SettingsObject, SettingsPayload, SetupCapability, SetupJournal, SimRuntimeUsage, SimulatorState, StatsBucket, StatsCapacityRefusal, StatsCapacityWait, StatsPlacement, StatsPlatform, StatsRecord, StatsReport, StatsScope, StatusCacheEntry, StatusCapacity, StatusIssue, StatusIssueCode, StatusPayload, StatusViews, StimConfig, SummaryBuild, SummaryHistoryEntry, SupervisorRecord, SwiftpmCacheUsage, TAILNET_MACHINE_PATTERN, TRACE_ENV, TUNNEL_MODES, TUTORIAL_VERSION, TailnetPeer, Trace, TraceArgs, TracePhases, TunnelMode, ViewedDevice, WARM_KEY, WEB_PAGE_STATES, WEB_VIEWPORTS, WORKSPACE_AGENT_KEY, WORKSPACE_PHASES, WORKSPACE_STAGE_KINDS, WarmRecord, WarmStep, WebBrowserState, WebPageState, WebViewport, WorkspacePhase, WorkspaceStage, WorkspaceState, WorkspaceSummary, WorktreeFacts, WorktreeGit, WorktreePullRequest, WorktreeRow, acceptsShape, advanceTail, agentDeviceStateDirs, agentDeviceStateDirsAsync, agentDeviceUsageFile, agentSessionOf, agentSessionsCacheFile, allMetroPorts, applyKeyedDelta, archiveDir, archiveEnabled, archiveLock, archiveRoot, archivedUsage, assertHostedDeviceLedger, attachExpoErrorContext, automaticMachineEnabled, budgetSweepFile, budgetSweepLock, buildCriteria, buildDiagnostics, buildLedgerDir, buildLedgerFile, buildLedgerLock, buildMachinesFile, buildMachinesLock, buildSlotPath, buildSlotsDir, buildWorkerRoot, bundleMarkerPlatform, cannotHost, capDrops, clientIdentity, clientIdentityKeyFile, closedSegmentName, coerceSettingText, compileGrep, configCorruptRepair, configLockPath, countErrorEntries, createAgentActionReader, createAsyncAgentActionReader, createDebugLog, createNdjsonTail, createdDevicesFile, createdDevicesLock, debugLogDir, debugLoggingEnabled, decodeStats, deviceHostArea, deviceHostMachinesClaims, deviceHostMachinesFile, deviceHostMachinesLock, deviceHostRoot, deviceViewersDir, diskUsageCacheDir, diskUsageCacheFile, diskUsageFailureFile, diskUsageWalkClaims, easMachineStateRoot, easSessionLedgerFile, easSessionLedgerLock, emulatorLogFile, endedAgentSessionOf, endpoint, expectedShape, fileIdentity, fileSizes, findEnclosingWorktreeRoot, findPeer, findProjectRoot, fingerprintMemoDir, fingerprintMemoFile, fingerprintMemoLock, followLogs, footageDrops, gcLogDir, gcLogFile, getConcurrencyLimits, getConfigPath, getParkedMax, getProject, getProjectSettings, getRepoSettings, gitMergeCacheDir, hostedAgentDriverName, hostedAndroidDeviceName, hostedAndroidPlacements, hostedAndroidRecords, hostedAndroidStatus, hostedAppArea, hostedAppAttempt, hostedAppBlobs, hostedConsolePort, hostedDeviceId, hostedIosPlacements, hostedIosRecords, hostedIosStatus, hostedMacosAppSlot, hostedMacosBundleId, hostedMacosLogsDir, hostedMetroGateways, hostedMetroRequests, hostedNativeLogsDir, hostedNativeRecords, hostedWorkerSettleMs, isBuildLedgerRecord, isExpoErrorContext, isGcLogRecord, isJournalExpired, isJsonObject, isLayeredSetting, isPathPrefix, isSensitiveReference, isSetupJournalPrunable, lastNativeUseFrom, lastUseFrom, levelRank, linkReplacedArchives, listRecordedDevices, listRecordedDevicesAsync, listSegments, listSegmentsAsync, listStatusCacheEntries, loadConfig, logFiles, machineCacheUsageFile, machineCapacity, machineEndpoint, macosAppState, maintenanceAttemptFile, maintenanceChildLogFile, maintenanceDir, maintenanceNdjsonFile, maintenanceRunClaims, maintenanceStateFile, markerWindow, maxLoadPerCore, mayRunHere, offloadSummary, openLogDir, openSegmentName, parseHostedAgentAccess, parseHostedAgentGrant, parseHostedAndroidDevice, parseHostedAndroidPlacement, parseHostedAppManifest, parseHostedAppOffer, parseHostedChoice, parseHostedDevice, parseHostedIosPlacement, parseHostedLocalDeviceCount, parseHostedLogsCursor, parseHostedMacosChoice, parseHostedMacosDevice, parseHostedMacosPlacement, parseHostedNativeOffer, parseHostedNativePlacement, parseHostedOfferRequest, parseHostedPlatformDevice, parseHostedRequest, parseMachine, parseMachineCredential, parseMacosRecord, parseMaintenanceState, parseMissReason, parseNdjsonLine, parseNdjsonText, parseSetupJournal, parseSince, placementWord, planLogQuery, prefersRemote, projectRootDirectories, pullRequestCacheDir, pullRequestCacheFile, queryJsonLogs, queryLogs, readAgentDeviceUsage, readAgentDeviceUsageCache, readAgentSessionsCache, readArchive, readArchiveAsync, readArchiveState, readArchives, readArchivesAsync, readBuildDetail, readBuildHistory, readBuildLedger, readBuildMachines, readCreatedDevices, readDevServerStop, readDevServerStopRequest, readDeviceHostMachines, readDeviceIdleShutdowns, readDevicePlacement, readDiskUsage, readDiskUsageFailure, readEasSessionLedger, readEndedAgentSessions, readFingerprintMemo, readGcLog, readHomeIdentity, readHostedApp, readHostedAppMetadata, readHostedDevice, readHostedDeviceLedger, readHostedMacosApp, readHostedNativeLogsCheckpoint, readHostedSessions, readIdleStop, readJsonFile, readJsonObject, readLastBuilds, readLogRecords, readLogTimeline, readLogsSince, readMachineCacheUsage, readMacosRecord, readMaintenanceAttempt, readMaintenanceState, readNdjsonGenerations, readPullRequestCache, readRunEstimates, readSetupJournal, readStateFile, readStats, readStatsReport, readSwiftpmCacheUsage, readViewedDevices, readWarmRecord, readWorkspaceAgent, readWorkspaceState, recordMatches, recordedBytes, recordingDeviceName, recordingEnabled, redactArgv, redactCommandLine, rememberHostedAppBlobRename, replacementAdvice, requireAutomaticMachine, runId, saturation, serverLocalSocket, serverSetupDir, settingDefinition, settingValueError, settingsJsonSchema, setupJournalFile, sharedCcache, sharedCompilationCache, sharedGradle, sharedPods, sortByTs, statsFile, statsProjectKey, statusViews, stimBuildDigest, supervisorLogFile, supervisorPidFile, swiftpmCacheUsageFile, tailRead, trace, trashRoot, trimCapacityRefusals, trimCapacityWaits, trimSamples, tryAcquireBuildSlotClaim, unreadableHostedAndroid, unreadableHostedIos, unreadableHostedNative, validEasSessionClaim, validHostedAppArguments, validHostedAppBlob, validRunId, validateAutomaticPool, wholePhases, windowsShortDir, windowsShortDirKey, withConfigLock, withConfigLockAsync, withDerivedFacts, withGitChip, withStateReadCache, workspaceAgentDeviceDir, workspaceBuildDetailFile, workspaceDerivedData, workspaceEndedAgentsFile, workspaceEndedAgentsLock, workspaceGradleBuild, workspaceLastUsed, workspaceLightenedFile, workspaceLogErrorIndex, workspaceLogsDir, workspaceMetadataFile, workspaceRecordingsDir, workspaceStateFile, workspaceStateLock, workspaceSummary, worktreeArchiveRoot };
1
+ import { $ as TailnetPeer, $a as AgentSession, $c as DevServerStopRecord, $i as createDebugLog, $l as parseHostedNativeOffer, $n as configLockPath, $o as StatsPlatform, $r as LogQueryOptions, $s as macosAppState, $t as diskUsageCacheFile, $u as AgentRecordSelection, A as BuildLedgerPlatform, Aa as StimConfig, Ac as HostedIosStatus, Ai as CreatedDevicePlatform, Al as HostedAndroidChoice, An as listSegmentsAsync, Ao as EnvironmentState, Ar as statsFile, As as SETTING_SCOPES, At as StatsReport, Au as hostedAppArea, B as HOSTED_LOGS_FIRST_BYTES, Ba as buildSlotsDir, Bc as hostedAndroidRecords, Bi as readStateFile, Bl as HostedIosChoice, Bn as prefersRemote, Bo as MacosBuildPlanPayload, Br as workspaceLightenedFile, Bs as WebViewport, Bt as trimCapacityRefusals, Bu as MachineCacheUsage, C as BuildLedgerBoot, Ca as Config, Cc as MaintenanceState, Ci as FINGERPRINT_MEMO_SCHEMA, Cl as readWarmRecord, Cn as RecordingPlatform, Co as DeviceActivity, Cr as serverLocalSocket, Cs as ANDROID_PCH_CHOICES, Ct as RunSample, Cu as parseHostedMacosDevice, D as BuildLedgerFailure, Da as ProjectRecord, Dc as readMaintenanceAttempt, Di as fingerprintMemoLock, Dl as DEVICE_HOST_LIMITS, Dn as listRecordedDevices, Do as DiskMeasure, Dr as sharedCompilationCache, Ds as RemoteDeviceBackend, Dt as StatsCapacityWait, Du as HostedAppFile, E as BuildLedgerDevice, Ea as PlatformRecords, Ec as parseMaintenanceState, Ei as fingerprintMemoFile, El as workspaceLastUsed, En as footageDrops, Eo as DevicePlacement, Er as sharedCcache, Es as REPLACED_SETTINGS, Et as StatsCapacityRefusal, Eu as HostedAppDelivery, F as GcLogRecord, Fa as MachineCredential, Fc as unreadableHostedIos, Fi as readEasSessionLedger, Fl as HostedDevicePhase, Fn as AutomaticPlacement, Fo as MACHINE_OWNER_KINDS, Fr as workspaceBuildDetailFile, Fs as SettingWriteResult, Ft as projectRootDirectories, Fu as readHostedApp, G as hostedNativeLogsDir, Ga as saturation, Gc as hostedNativeRecords, Gi as Trace, Gl as deviceHostRoot, Gn as budgetSweepFile, Go as PHYSICAL_DEVICE_CONNECTIONS, Gr as workspaceStateFile, Gs as isSensitiveReference, Gt as ViewedDevice, Gu as readSwiftpmCacheUsage, H as HostedLogsCursor, Ha as loadState, Hc as parseHostedAndroidPlacement, Hi as readHomeIdentity, Hl as HostedNativeOffer, Hn as archiveDir, Ho as MetroBundleState, Hr as workspaceLogsDir, Hs as coerceSettingText, Ht as trimSamples, Hu as machineCacheUsageFile, I as GcLogStatus, Ia as parseMachineCredential, Ic as HostedAndroidPlacement, Ii as validEasSessionClaim, Il as HostedDevicePlatform, In as PLACEMENT_WORDS, Io as MEMORY_SOURCES, Ir as workspaceDerivedData, Is as SettingsPayload, It as readRunEstimates, Iu as readHostedAppMetadata, J as readLogsSince, Ja as AGENT_TOOLS, Jc as BUILD_HISTORY_KEY, Ji as redactArgv, Jl as hostedWorkerSettleMs, Jn as buildLedgerFile, Jo as PlannedPhase, Jr as createNdjsonTail, Js as settingValueError, Jt as AgentSessionsCache, Ju as AgentDeviceUsageRoots, K as parseHostedLogsCursor, Ka as tryAcquireBuildSlotClaim, Kc as parseHostedNativePlacement, Ki as TraceArgs, Kl as hostedConsolePort, Kn as budgetSweepLock, Ko as PhysicalDeviceConnection, Kr as workspaceStateLock, Ks as replacementAdvice, Kt as readViewedDevices, Ku as swiftpmCacheUsageFile, L as GcLogTrigger, La as readBuildMachines, Lc as HostedAndroidStatus, Li as isJsonObject, Ll as HostedDeviceRequest, Ln as PlacementWord, Lo as MachineOwner, Lr as workspaceEndedAgentsFile, Ls as TUNNEL_MODES, Lt as readStats, Lu as rememberHostedAppBlobRename, M as isBuildLedgerRecord, Ma as clientIdentity, Mc as hostedIosRecords, Mi as EasSessionClaim, Ml as HostedDevice, Mn as recordedBytes, Mo as GitChipPart, Mr as supervisorPidFile, Ms as SettingEntry, Mt as decodeStats, Mu as hostedAppBlobs, N as readBuildLedger, Na as BuildMachineCredential, Nc as hostedIosStatus, Ni as EasSessionLedgerRead, Nl as HostedDeviceOffer, Nn as recordingDeviceName, No as LastBuildReport, Nr as trashRoot, Ns as SettingScope, Nt as findProjectRoot, Nu as parseHostedAppManifest, O as BuildLedgerOutcome, Oa as RepoRecord, Oc as readMaintenanceState, Oi as readFingerprintMemo, Ol as DeviceHostLimits, On as listRecordedDevicesAsync, Oo as EndedAgentSession, Or as sharedGradle, Os as SETTINGS, Ot as StatsPlacement, Ou as HostedAppOffer, P as GcLogOptions, Pa as MACHINE_CREDENTIALS_VERSION, Pc as parseHostedIosPlacement, Pi as readCreatedDevices, Pl as HostedDeviceOfferRequest, Pn as recordingEnabled, Po as LoadState, Pr as workspaceAgentDeviceDir, Ps as SettingType, Pt as offloadSummary, Pu as parseHostedAppOffer, Q as TAILNET_MACHINE_PATTERN, Qa as ActivityRecencyBasis, Qc as DEV_SERVER_STOP_REQUEST_KEY, Qi as DebugLog, Ql as parseHostedLocalDeviceCount, Qn as clientIdentityKeyFile, Qo as SimulatorState, Qr as ERROR_SOURCES, Qs as MacosProcess, Qt as agentSessionOf, Qu as AgentActionReaderOptions, R as isGcLogRecord, Ra as MachineCapacity, Rc as hostedAndroidDeviceName, Ri as readJsonFile, Rl as HostedDeviceSelectors, Rn as mayRunHere, Ro as MachineOwnerKind, Rr as workspaceEndedAgentsLock, Rs as TunnelMode, Rt as readStatsReport, Ru as validHostedAppArguments, S as BUILD_LEDGER_CAP, Sa as ConcurrencyLimits, Sc as MaintenanceSize, Si as tailRead, Sl as readLastBuilds, Sn as RecordedSegment, So as ChecksState, Sr as pullRequestCacheDir, Ss as ANDROID_EMULATOR_APPS, St as RunHistory, Su as parseHostedMacosChoice, T as BuildLedgerCacheResult, Ta as DoctorRunRecord, Tc as MemoryCulprit, Ti as fingerprintMemoDir, Tl as readWorkspaceState, Tn as closedSegmentName, To as DeviceLeaseState, Tr as setupJournalFile, Ts as REMOTE_DEVICE_BACKENDS, Tt as StatsBucket, Tu as HOSTED_APP_CHUNK_BYTES, U as HostedLogsPage, Ua as machineCapacity, Uc as unreadableHostedAndroid, Ui as EndSpan, Ul as assertHostedDeviceLedger, Un as archiveLock, Uo as NATIVE_BUILD_STEPS, Ur as workspaceMetadataFile, Us as expectedShape, Ut as wholePhases, Uu as readMachineCacheUsage, V as HOSTED_LOGS_PAGE_BYTES, Va as loadPerCore, Vc as hostedAndroidStatus, Vi as withStateReadCache, Vl as HostedIosDevice, Vn as agentSessionsCacheFile, Vo as MemorySource, Vr as workspaceLogErrorIndex, Vs as acceptsShape, Vt as trimCapacityWaits, Vu as SimRuntimeUsage, W as hostedMacosLogsDir, Wa as maxLoadPerCore, Wc as HostedNativePlacement, Wi as TRACE_ENV, Wl as deviceHostArea, Wn as archiveRoot, Wo as NativeBuildStep, Wr as workspaceRecordingsDir, Ws as isLayeredSetting, Wt as DeviceViewersRecord, Wu as SwiftpmCacheUsage, X as Endpoint, Xa as ActiveBuildState, Xc as DEVICE_IDLE_SHUTDOWN_KEY, Xi as trace, Xl as parseHostedChoice, Xn as buildMachinesFile, Xo as RunOutcomeKind, Xr as LogDirQuery, Xs as MacosAppState, Xt as PullRequestCacheEntry, Xu as readAgentDeviceUsage, Y as DEFAULT_SERVER_PORT, Ya as APP_PROCESS_STATES, Yc as BUILD_HISTORY_LIMIT, Yi as redactCommandLine, Yl as parseHostedAndroidDevice, Yn as buildLedgerLock, Yo as RemoteDeviceState, Yr as LogDir, Ys as MacosAppRecord, Yt as ENDED_AGENT_RETENTION_MS, Yu as agentDeviceUsageFile, Z as MachineTransport, Za as ActivityDriver, Zc as DEVICE_RECLAIM_REASON, Zi as DEBUG_ENV, Zl as parseHostedDevice, Zn as buildMachinesLock, Zo as STATUS_ISSUE_CODES, Zr as openLogDir, Zs as MacosBuild, Zt as StatusCacheEntry, Zu as readAgentDeviceUsageCache, _ as isSetupJournalPrunable, _a as withConfigLockAsync, _c as MaintenanceCheck, _i as queryLogs, _l as readDevServerStop, _n as validRunId, _o as BuildPlanPayload, _r as maintenanceChildLogFile, _s as WorkspaceStage, _t as HISTORY_LIMIT, _u as hostedAgentDriverName, a as MachineView, aa as configCorruptRepair, ac as ArchivedWorkspace, ad as SOURCES, ai as buildCriteria, al as MAINTENANCE_LOG_NAME, an as readBuildDetail, ao as BUILD_RESULTS, ar as deviceViewersDir, as as StatusDeviceSlots, at as parseMachine, au as readHostedSessions, b as agentDeviceStateDirs, ba as requireAutomaticMachine, bc as MaintenancePressure, bi as recordMatches, bl as readDevicePlacement, bn as RECORDING_PLATFORMS, bo as BuildResult, br as maintenanceRunClaims, bs as WorktreePullRequest, bt as ReadStatsResult, bu as parseHostedAgentAccess, c as SummaryBuild, ca as getParkedMax, cc as linkReplacedArchives, cd as parseNdjsonText, ci as fileIdentity, cl as WARM_KEY, cn as readEndedAgentSessions, co as BuildCause, cr as easMachineStateRoot, cs as StatusPayload, ct as HostedMetroLinks, cu as HostedAgentAccess, d as WorktreeRow, da as getRepoSettings, dc as readArchiveState, di as isExpoErrorContext, dl as WorkspaceState, dn as withGitChip, do as BuildHistoryEntry, dr as emulatorLogFile, ds as WORKSPACE_PHASES, dt as hostedMetroRequests, du as HostedAgentIssuedGrant, ea as debugLogDir, ec as parseMacosRecord, ed as AgentTarget, ei as LogQueryPlan, el as DevServerStopRequest, en as diskUsageFailureFile, eo as AgentTool, er as createdDevicesFile, es as StatusBuildSlotHolder, et as cannotHost, eu as parseHostedOfferRequest, f as statusViews, fa as isPathPrefix, fc as readArchives, fi as logFiles, fl as buildDiagnostics, fn as SETTINGS_SCHEMA_FILE, fo as BuildMissCategory, fr as gcLogDir, fs as WORKSPACE_STAGE_KINDS, ft as DeviceHostMachineCredential, fu as HostedAgentLease, g as isJournalExpired, ga as withConfigLock, gc as MaintenanceActionKind, gi as queryJsonLogs, gl as readBuildHistory, gn as runId, go as BuildPlacement, gr as maintenanceAttemptFile, gs as WorkspacePhase, gt as CAPACITY_REFUSAL_MAX_AGE_MS, gu as HostedMacosPlacement, h as SetupJournal, ha as windowsShortDirKey, hc as MaintenanceAction, hi as planLogQuery, hl as parseMissReason, hn as RUN_ID_ENV, ho as BuildPhase, hr as gitMergeCacheDir, hs as WebPageState, ht as CAPACITY_REFUSAL_LIMIT, hu as HostedMacosDevice, i as ArchivedSummary, ia as buildWorkerRoot, ic as ArchivedUsage, id as NdjsonRecord, ii as attachExpoErrorContext, il as LAST_BUILD_KEYS, in as readAgentSessionsCache, io as BUILD_PHASES, ir as deviceHostMachinesLock, is as StatusDeviceSlotHolder, it as machineEndpoint, iu as readHostedDeviceLedger, j as BuildLedgerRecord, ja as SupervisorRecord, jc as hostedIosPlacements, ji as CreatedDevices, jl as HostedAndroidDevice, jn as openSegmentName, jo as GitChip, jr as supervisorLogFile, js as SettingDefinition, jt as StatsScope, ju as hostedAppAttempt, k as BuildLedgerPlacement, ka as SettingsObject, kc as HostedIosPlacement, ki as countErrorEntries, kl as HOSTED_PARKED_CANDIDATES, kn as listSegments, ko as EnvironmentDisk, kr as sharedPods, ks as SETTING_GROUPS, kt as StatsRecord, ku as HostedAppRecord, l as SummaryHistoryEntry, la as getProject, lc as readArchive, ld as readNdjsonGenerations, li as fileSizes, ll as WORKSPACE_AGENT_KEY, ln as readPullRequestCache, lo as BuildDetail, lr as easSessionLedgerFile, ls as TUTORIAL_VERSION, lt as HostedMetroRequest, lu as HostedAgentDriverName, m as SetupCapability, ma as windowsShortDir, mc as DiskPressureLevel, mi as parseSince, ml as lastUseFrom, mn as settingsJsonSchema, mo as BuildMissReason, mr as getConfigPath, ms as WebBrowserState, mt as BuildMachineTotals, mu as HostedMacosChoice, n as KeyedEntities, na as ParkedMax, nc as readMacosRecord, nd as createAsyncAgentActionReader, ni as QueryCriteria, nl as IDLE_STOP_KEY, nn as listStatusCacheEntries, no as AndroidRuntimeFacts, nr as deviceHostMachinesClaims, ns as StatusCapacity, nt as findPeer, nu as parseHostedRequest, o as SUMMARY_ARCHIVES, oa as findEnclosingWorktreeRoot, oc as archiveEnabled, od as levelRank, oi as bundleMarkerPlatform, ol as MetroLastStop, on as readDiskUsage, oo as BuildActivity, or as diskUsageCacheDir, os as StatusIssue, ot as HOSTED_METRO_LINKS_KEY, ou as HOSTED_AGENT_DRIVERS, p as workspaceSummary, pa as loadConfig, pc as readArchivesAsync, pi as markerWindow, pl as lastNativeUseFrom, pn as SETTINGS_SCHEMA_URL, po as BuildMissChange, pr as gcLogFile, ps as WarmStep, pt as readDeviceHostMachines, pu as HostedAppLaunch, q as readHostedNativeLogsCheckpoint, qa as ACTIVITY_RECENCY_BASES, qc as unreadableHostedNative, qi as TracePhases, ql as hostedDeviceId, qn as buildLedgerDir, qo as PhysicalDeviceState, qr as worktreeArchiveRoot, qs as settingDefinition, qt as stimBuildDigest, qu as AgentDeviceUsage, r as applyKeyedDelta, ra as allMetroPorts, rc as ArchivedBytes, rd as LEVELS, ri as advanceTail, rl as IdleStopRecord, rn as pullRequestCacheFile, ro as AppPresence, rr as deviceHostMachinesFile, rs as StatusCapacityLoad, rt as localEndpoint, ru as readHostedDevice, s as StatusViews, sa as getConcurrencyLimits, sc as archivedUsage, sd as parseNdjsonLine, si as compileGrep, sl as READY_PHASE_MS, sn as readDiskUsageFailure, so as BuildCacheHit, sr as diskUsageWalkClaims, ss as StatusIssueCode, st as HOSTED_METRO_REQUESTS_KEY, su as HOSTED_MACOS_APP_SLOTS, t as KeyedDelta, ta as debugLoggingEnabled, tc as readHostedMacosApp, td as createAgentActionReader, ti as NATIVE_CRASH_LOG_PREFIX, tl as DeviceIdleShutdownRecord, tn as endedAgentSessionOf, to as AndroidDeviceState, tr as createdDevicesLock, ts as StatusBuildSlots, tt as endpoint, tu as parseHostedPlatformDevice, u as WorkspaceSummary, ua as getProjectSettings, uc as readArchiveAsync, ui as followLogs, ul as WarmRecord, un as withDerivedFacts, uo as BuildDiagnostic, ur as easSessionLedgerLock, us as WEB_PAGE_STATES, ut as hostedMetroLinks, uu as HostedAgentGrant, v as parseSetupJournal, va as AutomaticPoolRole, vc as MaintenanceMode, vi as readLogRecords, vl as readDevServerStopRequest, vn as RECORDING_CAP_BYTES, vo as BuildPlatform, vr as maintenanceDir, vs as WorktreeFacts, vt as OffloadSummary, vu as hostedMacosAppSlot, w as BuildLedgerCache, wa as DeviceRecord, wc as MaintenanceStatus, wi as FingerprintMemoRecord, wl as readWorkspaceAgent, wn as capDrops, wo as DeviceAppProcess, wr as serverSetupDir, ws as IOS_SIMULATOR_APPS, wt as STATS_VERSION, wu as parseHostedMacosPlacement, x as agentDeviceStateDirsAsync, xa as validateAutomaticPool, xc as MaintenanceRecord, xi as sortByTs, xl as readIdleStop, xn as RecordedDevice, xo as BuildWaitingFor, xr as maintenanceStateFile, xs as ANDROID_COMPILER_CACHE_CHOICES, xt as RunEstimates, xu as parseHostedAgentGrant, y as readSetupJournal, ya as automaticMachineEnabled, yc as MaintenancePass, yi as readLogTimeline, yl as readDeviceIdleShutdowns, yn as RECORDING_FOOTAGE_MS, yo as BuildReport, yr as maintenanceNdjsonFile, ys as WorktreeGit, yt as PLACEMENT_DECISIONS, yu as hostedMacosBundleId, z as readGcLog, za as buildSlotPath, zc as hostedAndroidPlacements, zi as readJsonObject, zl as HostedDeviceSession, zn as placementWord, zo as MachineUsageState, zr as workspaceGradleBuild, zs as WEB_VIEWPORTS, zt as statsProjectKey, zu as validHostedAppBlob } from "./index-BYn5zs27.mjs";
2
+ export { ACTIVITY_RECENCY_BASES, AGENT_TOOLS, ANDROID_COMPILER_CACHE_CHOICES, ANDROID_EMULATOR_APPS, ANDROID_PCH_CHOICES, APP_PROCESS_STATES, ActiveBuildState, ActivityDriver, ActivityRecencyBasis, AgentActionReaderOptions, AgentDeviceUsage, AgentDeviceUsageRoots, AgentRecordSelection, AgentSession, AgentSessionsCache, AgentTarget, AgentTool, AndroidDeviceState, AndroidRuntimeFacts, AppPresence, ArchivedBytes, ArchivedSummary, ArchivedUsage, ArchivedWorkspace, AutomaticPlacement, AutomaticPoolRole, BUILD_HISTORY_KEY, BUILD_HISTORY_LIMIT, BUILD_LEDGER_CAP, BUILD_PHASES, BUILD_RESULTS, BuildActivity, BuildCacheHit, BuildCause, BuildDetail, BuildDiagnostic, BuildHistoryEntry, BuildLedgerBoot, BuildLedgerCache, BuildLedgerCacheResult, BuildLedgerDevice, BuildLedgerFailure, BuildLedgerOutcome, BuildLedgerPlacement, BuildLedgerPlatform, BuildLedgerRecord, BuildMachineCredential, BuildMachineTotals, BuildMissCategory, BuildMissChange, BuildMissReason, BuildPhase, BuildPlacement, BuildPlanPayload, BuildPlatform, BuildReport, BuildResult, BuildWaitingFor, CAPACITY_REFUSAL_LIMIT, CAPACITY_REFUSAL_MAX_AGE_MS, ChecksState, ConcurrencyLimits, Config, CreatedDevicePlatform, CreatedDevices, DEBUG_ENV, DEFAULT_SERVER_PORT, DEVICE_HOST_LIMITS, DEVICE_IDLE_SHUTDOWN_KEY, DEVICE_RECLAIM_REASON, DEV_SERVER_STOP_REQUEST_KEY, DebugLog, DevServerStopRecord, DevServerStopRequest, DeviceActivity, DeviceAppProcess, DeviceHostLimits, DeviceHostMachineCredential, DeviceIdleShutdownRecord, DeviceLeaseState, DevicePlacement, DeviceRecord, DeviceViewersRecord, DiskMeasure, DiskPressureLevel, DoctorRunRecord, ENDED_AGENT_RETENTION_MS, ERROR_SOURCES, EasSessionClaim, EasSessionLedgerRead, EndSpan, EndedAgentSession, Endpoint, EnvironmentDisk, EnvironmentState, FINGERPRINT_MEMO_SCHEMA, FingerprintMemoRecord, GcLogOptions, GcLogRecord, GcLogStatus, GcLogTrigger, 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_LINKS_KEY, HOSTED_METRO_REQUESTS_KEY, HOSTED_PARKED_CANDIDATES, HostedAgentAccess, HostedAgentDriverName, HostedAgentGrant, HostedAgentIssuedGrant, HostedAgentLease, HostedAndroidChoice, HostedAndroidDevice, HostedAndroidPlacement, HostedAndroidStatus, HostedAppDelivery, HostedAppFile, HostedAppLaunch, HostedAppOffer, HostedAppRecord, HostedDevice, HostedDeviceOffer, HostedDeviceOfferRequest, HostedDevicePhase, HostedDevicePlatform, HostedDeviceRequest, HostedDeviceSelectors, HostedDeviceSession, HostedIosChoice, HostedIosDevice, HostedIosPlacement, HostedIosStatus, HostedLogsCursor, HostedLogsPage, HostedMacosChoice, HostedMacosDevice, HostedMacosPlacement, HostedMetroLinks, HostedMetroRequest, HostedNativeOffer, HostedNativePlacement, IDLE_STOP_KEY, IOS_SIMULATOR_APPS, IdleStopRecord, KeyedDelta, KeyedEntities, LAST_BUILD_KEYS, LEVELS, LastBuildReport, LoadState, LogDir, LogDirQuery, LogQueryOptions, LogQueryPlan, MACHINE_CREDENTIALS_VERSION, MACHINE_OWNER_KINDS, MAINTENANCE_LOG_NAME, MEMORY_SOURCES, MachineCacheUsage, MachineCapacity, MachineCredential, MachineOwner, MachineOwnerKind, MachineTransport, MachineUsageState, MachineView, MacosAppRecord, MacosAppState, MacosBuild, MacosBuildPlanPayload, MacosProcess, MaintenanceAction, MaintenanceActionKind, MaintenanceCheck, MaintenanceMode, MaintenancePass, MaintenancePressure, MaintenanceRecord, MaintenanceSize, MaintenanceState, MaintenanceStatus, MemoryCulprit, MemorySource, MetroBundleState, MetroLastStop, NATIVE_BUILD_STEPS, NATIVE_CRASH_LOG_PREFIX, NativeBuildStep, NdjsonRecord, OffloadSummary, PHYSICAL_DEVICE_CONNECTIONS, PLACEMENT_DECISIONS, PLACEMENT_WORDS, ParkedMax, PhysicalDeviceConnection, PhysicalDeviceState, PlacementWord, PlannedPhase, PlatformRecords, ProjectRecord, PullRequestCacheEntry, QueryCriteria, READY_PHASE_MS, RECORDING_CAP_BYTES, RECORDING_FOOTAGE_MS, RECORDING_PLATFORMS, REMOTE_DEVICE_BACKENDS, REPLACED_SETTINGS, RUN_ID_ENV, ReadStatsResult, RecordedDevice, RecordedSegment, RecordingPlatform, RemoteDeviceBackend, RemoteDeviceState, RepoRecord, RunEstimates, RunHistory, RunOutcomeKind, RunSample, SETTINGS, SETTINGS_SCHEMA_FILE, SETTINGS_SCHEMA_URL, SETTING_GROUPS, SETTING_SCOPES, SOURCES, STATS_VERSION, STATUS_ISSUE_CODES, SUMMARY_ARCHIVES, SettingDefinition, SettingEntry, SettingScope, SettingType, SettingWriteResult, SettingsObject, SettingsPayload, SetupCapability, SetupJournal, SimRuntimeUsage, SimulatorState, StatsBucket, StatsCapacityRefusal, StatsCapacityWait, StatsPlacement, StatsPlatform, StatsRecord, StatsReport, StatsScope, StatusBuildSlotHolder, StatusBuildSlots, StatusCacheEntry, StatusCapacity, StatusCapacityLoad, StatusDeviceSlotHolder, StatusDeviceSlots, StatusIssue, StatusIssueCode, StatusPayload, StatusViews, StimConfig, SummaryBuild, SummaryHistoryEntry, SupervisorRecord, SwiftpmCacheUsage, TAILNET_MACHINE_PATTERN, TRACE_ENV, TUNNEL_MODES, TUTORIAL_VERSION, TailnetPeer, Trace, TraceArgs, TracePhases, TunnelMode, ViewedDevice, WARM_KEY, WEB_PAGE_STATES, WEB_VIEWPORTS, WORKSPACE_AGENT_KEY, WORKSPACE_PHASES, WORKSPACE_STAGE_KINDS, WarmRecord, WarmStep, WebBrowserState, WebPageState, WebViewport, WorkspacePhase, WorkspaceStage, WorkspaceState, WorkspaceSummary, WorktreeFacts, WorktreeGit, WorktreePullRequest, WorktreeRow, acceptsShape, advanceTail, agentDeviceStateDirs, agentDeviceStateDirsAsync, agentDeviceUsageFile, agentSessionOf, agentSessionsCacheFile, allMetroPorts, applyKeyedDelta, archiveDir, archiveEnabled, archiveLock, archiveRoot, archivedUsage, assertHostedDeviceLedger, attachExpoErrorContext, automaticMachineEnabled, budgetSweepFile, budgetSweepLock, buildCriteria, buildDiagnostics, buildLedgerDir, buildLedgerFile, buildLedgerLock, buildMachinesFile, buildMachinesLock, buildSlotPath, buildSlotsDir, buildWorkerRoot, bundleMarkerPlatform, cannotHost, capDrops, clientIdentity, clientIdentityKeyFile, closedSegmentName, coerceSettingText, compileGrep, configCorruptRepair, configLockPath, countErrorEntries, createAgentActionReader, createAsyncAgentActionReader, createDebugLog, createNdjsonTail, createdDevicesFile, createdDevicesLock, debugLogDir, debugLoggingEnabled, decodeStats, deviceHostArea, deviceHostMachinesClaims, deviceHostMachinesFile, deviceHostMachinesLock, deviceHostRoot, deviceViewersDir, diskUsageCacheDir, diskUsageCacheFile, diskUsageFailureFile, diskUsageWalkClaims, easMachineStateRoot, easSessionLedgerFile, easSessionLedgerLock, emulatorLogFile, endedAgentSessionOf, endpoint, expectedShape, fileIdentity, fileSizes, findEnclosingWorktreeRoot, findPeer, findProjectRoot, fingerprintMemoDir, fingerprintMemoFile, fingerprintMemoLock, followLogs, footageDrops, gcLogDir, gcLogFile, getConcurrencyLimits, getConfigPath, getParkedMax, getProject, getProjectSettings, getRepoSettings, gitMergeCacheDir, hostedAgentDriverName, hostedAndroidDeviceName, hostedAndroidPlacements, hostedAndroidRecords, hostedAndroidStatus, hostedAppArea, hostedAppAttempt, hostedAppBlobs, hostedConsolePort, hostedDeviceId, hostedIosPlacements, hostedIosRecords, hostedIosStatus, hostedMacosAppSlot, hostedMacosBundleId, hostedMacosLogsDir, hostedMetroLinks, hostedMetroRequests, hostedNativeLogsDir, hostedNativeRecords, hostedWorkerSettleMs, isBuildLedgerRecord, isExpoErrorContext, isGcLogRecord, isJournalExpired, isJsonObject, isLayeredSetting, isPathPrefix, isSensitiveReference, isSetupJournalPrunable, lastNativeUseFrom, lastUseFrom, levelRank, linkReplacedArchives, listRecordedDevices, listRecordedDevicesAsync, listSegments, listSegmentsAsync, listStatusCacheEntries, loadConfig, loadPerCore, loadState, localEndpoint, logFiles, machineCacheUsageFile, machineCapacity, machineEndpoint, macosAppState, maintenanceAttemptFile, maintenanceChildLogFile, maintenanceDir, maintenanceNdjsonFile, maintenanceRunClaims, maintenanceStateFile, markerWindow, maxLoadPerCore, mayRunHere, offloadSummary, openLogDir, openSegmentName, parseHostedAgentAccess, parseHostedAgentGrant, parseHostedAndroidDevice, parseHostedAndroidPlacement, parseHostedAppManifest, parseHostedAppOffer, parseHostedChoice, parseHostedDevice, parseHostedIosPlacement, parseHostedLocalDeviceCount, parseHostedLogsCursor, parseHostedMacosChoice, parseHostedMacosDevice, parseHostedMacosPlacement, parseHostedNativeOffer, parseHostedNativePlacement, parseHostedOfferRequest, parseHostedPlatformDevice, parseHostedRequest, parseMachine, parseMachineCredential, parseMacosRecord, parseMaintenanceState, parseMissReason, parseNdjsonLine, parseNdjsonText, parseSetupJournal, parseSince, placementWord, planLogQuery, prefersRemote, projectRootDirectories, pullRequestCacheDir, pullRequestCacheFile, queryJsonLogs, queryLogs, readAgentDeviceUsage, readAgentDeviceUsageCache, readAgentSessionsCache, readArchive, readArchiveAsync, readArchiveState, readArchives, readArchivesAsync, readBuildDetail, readBuildHistory, readBuildLedger, readBuildMachines, readCreatedDevices, readDevServerStop, readDevServerStopRequest, readDeviceHostMachines, readDeviceIdleShutdowns, readDevicePlacement, readDiskUsage, readDiskUsageFailure, readEasSessionLedger, readEndedAgentSessions, readFingerprintMemo, readGcLog, readHomeIdentity, readHostedApp, readHostedAppMetadata, readHostedDevice, readHostedDeviceLedger, readHostedMacosApp, readHostedNativeLogsCheckpoint, readHostedSessions, readIdleStop, readJsonFile, readJsonObject, readLastBuilds, readLogRecords, readLogTimeline, readLogsSince, readMachineCacheUsage, readMacosRecord, readMaintenanceAttempt, readMaintenanceState, readNdjsonGenerations, readPullRequestCache, readRunEstimates, readSetupJournal, readStateFile, readStats, readStatsReport, readSwiftpmCacheUsage, readViewedDevices, readWarmRecord, readWorkspaceAgent, readWorkspaceState, recordMatches, recordedBytes, recordingDeviceName, recordingEnabled, redactArgv, redactCommandLine, rememberHostedAppBlobRename, replacementAdvice, requireAutomaticMachine, runId, saturation, serverLocalSocket, serverSetupDir, settingDefinition, settingValueError, settingsJsonSchema, setupJournalFile, sharedCcache, sharedCompilationCache, sharedGradle, sharedPods, sortByTs, statsFile, statsProjectKey, statusViews, stimBuildDigest, supervisorLogFile, supervisorPidFile, swiftpmCacheUsageFile, tailRead, trace, trashRoot, trimCapacityRefusals, trimCapacityWaits, trimSamples, tryAcquireBuildSlotClaim, unreadableHostedAndroid, unreadableHostedIos, unreadableHostedNative, validEasSessionClaim, validHostedAppArguments, validHostedAppBlob, validRunId, validateAutomaticPool, wholePhases, windowsShortDir, windowsShortDirKey, withConfigLock, withConfigLockAsync, withDerivedFacts, withGitChip, withStateReadCache, workspaceAgentDeviceDir, workspaceBuildDetailFile, workspaceDerivedData, workspaceEndedAgentsFile, workspaceEndedAgentsLock, workspaceGradleBuild, workspaceLastUsed, workspaceLightenedFile, workspaceLogErrorIndex, workspaceLogsDir, workspaceMetadataFile, workspaceRecordingsDir, workspaceStateFile, workspaceStateLock, workspaceSummary, worktreeArchiveRoot };
package/dist/state.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { S as tryAcquireClaim, _ as releaseClaim, f as isClaimRefusal, g as readClaimSet } from "./ownership-claim-DG2GMIoo.mjs";
2
2
  import { inspectProcessIdentity } from "./process-identity.mjs";
3
- import { $ as withDirLockAsync, C as workspaceName, J as readJsonFile, Q as withDirLock, T as workspaceStateDir, U as ambientContext, W as ambientEnv, X as readStateFile, Y as readJsonObject, Z as withStateReadCache, _ as rotatedLogPath, d as ensurePrivateDir, g as rotateLog, q as isJsonObject, t as LOG_ROTATE_BYTES, u as configDir } from "./core-B_w6CiKQ.mjs";
3
+ import { $ as withDirLockAsync, C as workspaceName, J as readJsonFile, Q as withDirLock, T as workspaceStateDir, U as ambientContext, W as ambientEnv, X as readStateFile, Y as readJsonObject, Z as withStateReadCache, _ as rotatedLogPath, d as ensurePrivateDir, g as rotateLog, q as isJsonObject, t as LOG_ROTATE_BYTES, u as configDir } from "./core-Hohf5Wnt.mjs";
4
4
  import { readOrCreateKeyFile } from "./noise-session.mjs";
5
5
  import { validHomeId } from "./workspace-link.mjs";
6
6
  import { a as workspaceSummary, i as statusViews, n as applyKeyedDelta, o as withDerivedFacts, r as SUMMARY_ARCHIVES, s as withGitChip, t as KeyedEntities } from "./keyed-delta-BBoOeR2J.mjs";
@@ -10,7 +10,6 @@ import { basename, dirname, isAbsolute, join, posix, relative, resolve, sep, win
10
10
  import { createHash, randomBytes } from "node:crypto";
11
11
  import { setImmediate as setImmediate$1 } from "node:timers/promises";
12
12
  import { lstat, open, readFile, readdir, stat } from "node:fs/promises";
13
- import { isIP } from "node:net";
14
13
  import { StringDecoder } from "node:string_decoder";
15
14
  //#region state/log-selection.ts
16
15
  var BoundedSelection = class {
@@ -970,7 +969,14 @@ function allMetroPorts() {
970
969
  //#endregion
971
970
  //#region state/tailnet.ts
972
971
  const DEFAULT_SERVE_PORT = 7443;
973
- const TAILNET_MACHINE_PATTERN = "^[A-Za-z0-9][A-Za-z0-9.-]*(?::(?!0+$)(?:[0-5]?[0-9]{1,4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?$";
972
+ /** stim-server's own port, which a machine on the local network connects to directly. */
973
+ const DEFAULT_SERVER_PORT = 7787;
974
+ const LOCAL_PREFIX = "local:";
975
+ /**
976
+ * A `remote.machines` entry: a tailnet name, or `local:` and a host name or IPv4 address on the local network, each
977
+ * optionally with `:<port>`.
978
+ */
979
+ const TAILNET_MACHINE_PATTERN = "^(?:local:)?[A-Za-z0-9][A-Za-z0-9.-]*(?::(?!0+$)(?:[0-5]?[0-9]{1,4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?$";
974
980
  function peerPresence(peer) {
975
981
  const lastSeen = typeof peer.LastSeen === "string" ? peer.LastSeen : "";
976
982
  return {
@@ -978,12 +984,19 @@ function peerPresence(peer) {
978
984
  ...lastSeen && Date.parse(lastSeen) > 0 ? { lastSeen } : {}
979
985
  };
980
986
  }
987
+ /**
988
+ * A `remote.machines` entry's parts. A `tailscale` entry names a tailnet peer and the port of its `tailscale serve`
989
+ * route; a `local` entry names a host on the local network and stim-server's own port there.
990
+ */
981
991
  function parseMachine(entry) {
982
- if (!(/* @__PURE__ */ new RegExp("^[A-Za-z0-9][A-Za-z0-9.-]*(?::(?!0+$)(?:[0-5]?[0-9]{1,4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?$")).test(entry.trim())) return null;
983
- const [name, port] = entry.trim().split(":");
992
+ const trimmed = entry.trim();
993
+ if (!(/* @__PURE__ */ new RegExp("^(?:local:)?[A-Za-z0-9][A-Za-z0-9.-]*(?::(?!0+$)(?:[0-5]?[0-9]{1,4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?$")).test(trimmed)) return null;
994
+ const local = trimmed.startsWith(LOCAL_PREFIX);
995
+ const [name, port] = (local ? trimmed.slice(6) : trimmed).split(":");
984
996
  return {
997
+ transport: local ? "local" : "tailscale",
985
998
  name: name.toLowerCase(),
986
- port: port === void 0 ? DEFAULT_SERVE_PORT : Number(port)
999
+ port: port !== void 0 ? Number(port) : local ? DEFAULT_SERVER_PORT : DEFAULT_SERVE_PORT
987
1000
  };
988
1001
  }
989
1002
  /**
@@ -1014,7 +1027,7 @@ function findPeer(status, name) {
1014
1027
  */
1015
1028
  function cannotHost(status, entry) {
1016
1029
  const parsed = parseMachine(entry);
1017
- const peer = parsed ? findPeer(status, parsed.name) : "missing";
1030
+ const peer = parsed?.transport === "tailscale" ? findPeer(status, parsed.name) : "missing";
1018
1031
  return typeof peer === "object" && peer.os !== void 0 && peer.os !== "macOS";
1019
1032
  }
1020
1033
  /**
@@ -1031,13 +1044,25 @@ function endpoint(peer, port) {
1031
1044
  };
1032
1045
  }
1033
1046
  /**
1034
- * Where to reach a `remote.machines` entry now, or why Stim cannot. The tailnet only carries the bytes: the Noise
1035
- * handshake, pinned to the worker's server key, decides whether the machine answering is the one this machine paired
1036
- * with.
1047
+ * A `local` entry's stim-server, reached directly with plain WebSocket: protocol 2's Noise session authenticates and
1048
+ * encrypts it, so it needs no TLS.
1049
+ */
1050
+ function localEndpoint(name, port) {
1051
+ return {
1052
+ url: `ws://${name}:${port}`,
1053
+ servername: name,
1054
+ host: `${name}:${port}`
1055
+ };
1056
+ }
1057
+ /**
1058
+ * Where to reach a `remote.machines` entry now, or why Stim cannot. The tailnet or local network only carries the
1059
+ * bytes: the Noise handshake, pinned to the worker's server key, decides whether the machine answering is the one this
1060
+ * machine paired with. `current` is `tailscale status --json`, which a `local` entry does not need.
1037
1061
  */
1038
1062
  function machineEndpoint(machine, current) {
1039
1063
  const parsed = parseMachine(machine);
1040
- if (!parsed) return `${machine} is not a tailnet name`;
1064
+ if (!parsed) return `${machine} is not a tailnet name or local: address`;
1065
+ if (parsed.transport === "local") return localEndpoint(parsed.name, parsed.port);
1041
1066
  if (!isJsonObject(current)) return "Tailscale is not running";
1042
1067
  const peer = findPeer(current, parsed.name);
1043
1068
  if (peer === "missing") return `no peer on this tailnet is named ${parsed.name}`;
@@ -2007,7 +2032,18 @@ const SETTINGS = [
2007
2032
  scopes: MACHINE,
2008
2033
  default: 5,
2009
2034
  env: "STIM_MAINTENANCE_IDLE_CHECK_MINUTES",
2010
- description: "Interval in minutes of the check that shuts down owned simulators and emulators idle for devices.idleShutdownMinutes, also with no dev server running"
2035
+ description: "Interval in minutes of the check that shuts down owned simulators and emulators idle for devices.idleShutdownMinutes, also with no dev server running, and stops workspaces idle for maintenance.idleStopHours"
2036
+ },
2037
+ {
2038
+ key: "maintenance.idleStopHours",
2039
+ type: {
2040
+ kind: "number",
2041
+ minimum: 0
2042
+ },
2043
+ scopes: EVERY,
2044
+ default: 6,
2045
+ env: "STIM_MAINTENANCE_IDLE_STOP_HOURS",
2046
+ description: "Hours with no native run, Metro bundle or HMR request, agent-device command, Stim command or live view before automatic maintenance and gc --delete stop a workspace's dev server and shut down its owned simulators and emulators, as stim stop does; device and app log lines do not count; 0 never"
2011
2047
  },
2012
2048
  {
2013
2049
  key: "maintenance.sweepHours",
@@ -2240,11 +2276,18 @@ const SETTINGS = [
2240
2276
  default: false,
2241
2277
  description: "Whether a machine approved for builds or device hosting here may update this machine's stim-server service to that machine's own stim-server build; releases from npm need no setting"
2242
2278
  },
2279
+ {
2280
+ key: "server.lanAddresses",
2281
+ type: { kind: "strings" },
2282
+ scopes: MACHINE,
2283
+ default: [],
2284
+ description: "IPv4 addresses or network interface names (such as en0) on which stim-server also accepts machines and phones on the local network, without Tailscale, on its own port. Empty listens on no local network address. Wildcard addresses are refused. Connections there run protocol 2's Noise authentication and encryption, without TLS"
2285
+ },
2243
2286
  {
2244
2287
  key: "remote.machines",
2245
2288
  type: { kind: "strings" },
2246
2289
  scopes: MACHINE,
2247
- description: "Tailscale names of the remote machines this machine may build on and host owned simulators, emulators and macOS apps on, each optionally with :<port> of its tailscale serve route (default 7443). The order is the placement priority: each workload goes to the first machine with room and a load under its own limit. What each is used for follows the build and device-host approvals it grants, which doctor --fix asks for separately"
2290
+ description: "The remote machines this machine may build on and host owned simulators, emulators and macOS apps on: a Tailscale name, optionally with :<port> of its tailscale serve route (default 7443), or local: and a host name or IPv4 address on the local network, optionally with :<port> of its stim-server (default 7787), whose server key doctor --fix pins after a person confirms its fingerprint. The order is the placement priority: each workload goes to the first machine with room and a load under its own limit. What each is used for follows the build and device-host approvals it grants, which doctor --fix asks for separately"
2248
2291
  },
2249
2292
  {
2250
2293
  key: "remote.buildPoolDisabled",
@@ -2534,11 +2577,21 @@ function liveNativeBuilds() {
2534
2577
  }
2535
2578
  return count;
2536
2579
  }
2537
- function machineCapacity() {
2580
+ /** The 5-minute load average per CPU, rounded to one decimal, and the CPU count it divides by. */
2581
+ function loadPerCore() {
2538
2582
  const cpus = Math.max(1, availableParallelism());
2539
2583
  return {
2540
2584
  cpus,
2541
- loadPerCore: Math.round(loadavg()[1] / cpus * 10) / 10,
2585
+ loadPerCore: Math.round(loadavg()[1] / cpus * 10) / 10
2586
+ };
2587
+ }
2588
+ function loadState(load, busyAt, limit) {
2589
+ if (limit !== null && limit > 0 && load >= limit) return "holding";
2590
+ return load >= busyAt ? "busy" : "free";
2591
+ }
2592
+ function machineCapacity() {
2593
+ return {
2594
+ ...loadPerCore(),
2542
2595
  builds: liveNativeBuilds() + liveOffloadedSlots(),
2543
2596
  maxBuilds: getConcurrencyLimits().maxBuilds,
2544
2597
  maxLoadPerCore: maxLoadPerCore()
@@ -2563,7 +2616,8 @@ function parseMachineCredential(value) {
2563
2616
  address,
2564
2617
  requestedAt
2565
2618
  ].every((field) => typeof field === "string" && field)) return null;
2566
- if (transport !== "tailscale" || state !== "pending" && state !== "approved") return null;
2619
+ if (transport !== "tailscale" && transport !== "local" || state !== "pending" && state !== "approved") return null;
2620
+ if (typeof machine !== "string" || parseMachine(machine)?.transport !== transport) return null;
2567
2621
  if (serverKey !== void 0 && (typeof serverKey !== "string" || !KEY.test(serverKey))) return null;
2568
2622
  if (ticket !== void 0 && (typeof ticket !== "string" || !KEY.test(ticket))) return null;
2569
2623
  if (state === "approved" && (serverKey === void 0 || typeof deviceId !== "string" || !deviceId)) return null;
@@ -6249,21 +6303,21 @@ function hostedAndroidDeviceName(device) {
6249
6303
  //#endregion
6250
6304
  //#region state/hosted-metro.ts
6251
6305
  const HOSTED_METRO_REQUESTS_KEY = "hostedMetroRequests";
6252
- const HOSTED_METRO_GATEWAYS_KEY = "hostedMetroGateways";
6306
+ const HOSTED_METRO_LINKS_KEY = "hostedMetroLinks";
6253
6307
  function hostedMetroRequests(state) {
6254
6308
  const raw = state?.[HOSTED_METRO_REQUESTS_KEY];
6255
6309
  if (!isJsonObject(raw)) return {};
6256
6310
  return Object.fromEntries(Object.entries(raw).filter((entry) => {
6257
6311
  const [session, value] = entry;
6258
- return /^[a-f0-9-]{36}$/.test(session) && isJsonObject(value) && typeof value.id === "string" && typeof value.machine === "string" && typeof value.address === "string" && isIP(value.address) !== 0 && typeof value.peer === "string" && isIP(value.peer) !== 0 && typeof value.secret === "string" && /^[a-f0-9]{64}$/.test(value.secret);
6312
+ return /^[a-f0-9-]{36}$/.test(session) && isJsonObject(value) && typeof value.id === "string" && typeof value.machine === "string";
6259
6313
  }));
6260
6314
  }
6261
- function hostedMetroGateways(state) {
6262
- const raw = state?.[HOSTED_METRO_GATEWAYS_KEY];
6315
+ function hostedMetroLinks(state) {
6316
+ const raw = state?.[HOSTED_METRO_LINKS_KEY];
6263
6317
  if (!isJsonObject(raw)) return {};
6264
6318
  return Object.fromEntries(Object.entries(raw).filter((entry) => {
6265
6319
  const value = entry[1];
6266
- return isJsonObject(value) && typeof value.id === "string" && typeof value.processToken === "string" && (value.port === void 0 || typeof value.port === "number" && Number.isInteger(value.port) && value.port > 0 && value.port <= 65535) && (value.error === void 0 || typeof value.error === "string");
6320
+ return isJsonObject(value) && typeof value.id === "string" && typeof value.processToken === "string" && (value.ready === void 0 || value.ready === true) && (value.error === void 0 || typeof value.error === "string");
6267
6321
  }));
6268
6322
  }
6269
6323
  //#endregion
@@ -6416,7 +6470,8 @@ function parseMaintenanceState(value) {
6416
6470
  if (!Array.isArray(value.plan) || !value.plan.every((action) => isJsonObject(action) && KINDS.includes(String(action.kind)) && typeof action.target === "string" && finite(action.bytes) && typeof action.reason === "string" && (action.workspace === void 0 || typeof action.workspace === "string") && (action.dir === void 0 || typeof action.dir === "string") && (action.olderThanDays === void 0 || finite(action.olderThanDays)) && (action.check === void 0 || [
6417
6471
  "worktree",
6418
6472
  "sweep",
6419
- "disk"
6473
+ "disk",
6474
+ "idle"
6420
6475
  ].includes(String(action.check))) && (action.level === void 0 || action.level === 2 || action.level === 3))) return null;
6421
6476
  if (!Array.isArray(value.recent) || !value.recent.every((record) => isJsonObject(record) && record.src === "maintenance" && finite(record.ts) && typeof record.msg === "string" && [
6422
6477
  "debug",
@@ -6720,4 +6775,4 @@ function isSetupJournalPrunable(journal, now) {
6720
6775
  return Date.parse(journal.expiresAt) + 36e5 < now;
6721
6776
  }
6722
6777
  //#endregion
6723
- export { ACTIVITY_RECENCY_BASES, AGENT_TOOLS, ANDROID_COMPILER_CACHE_CHOICES, ANDROID_EMULATOR_APPS, ANDROID_PCH_CHOICES, APP_PROCESS_STATES, BUILD_HISTORY_KEY, BUILD_HISTORY_LIMIT, BUILD_LEDGER_CAP, BUILD_PHASES, BUILD_RESULTS, CAPACITY_REFUSAL_LIMIT, CAPACITY_REFUSAL_MAX_AGE_MS, DEBUG_ENV, DEVICE_HOST_LIMITS, DEVICE_IDLE_SHUTDOWN_KEY, DEVICE_RECLAIM_REASON, DEV_SERVER_STOP_REQUEST_KEY, ENDED_AGENT_RETENTION_MS, ERROR_SOURCES, FINGERPRINT_MEMO_SCHEMA, HISTORY_LIMIT, HOSTED_AGENT_DRIVERS, HOSTED_APP_CHUNK_BYTES, HOSTED_LOGS_FIRST_BYTES, HOSTED_LOGS_PAGE_BYTES, HOSTED_MACOS_APP_SLOTS, HOSTED_METRO_GATEWAYS_KEY, HOSTED_METRO_REQUESTS_KEY, HOSTED_PARKED_CANDIDATES, IDLE_STOP_KEY, IOS_SIMULATOR_APPS, KeyedEntities, LAST_BUILD_KEYS, LEVELS, MACHINE_CREDENTIALS_VERSION, MACHINE_OWNER_KINDS, MAINTENANCE_LOG_NAME, MEMORY_SOURCES, NATIVE_BUILD_STEPS, NATIVE_CRASH_LOG_PREFIX, PHYSICAL_DEVICE_CONNECTIONS, PLACEMENT_DECISIONS, PLACEMENT_WORDS, READY_PHASE_MS, RECORDING_CAP_BYTES, RECORDING_FOOTAGE_MS, RECORDING_PLATFORMS, REMOTE_DEVICE_BACKENDS, REPLACED_SETTINGS, RUN_ID_ENV, SETTINGS, SETTINGS_SCHEMA_FILE, SETTINGS_SCHEMA_URL, SETTING_GROUPS, SETTING_SCOPES, SOURCES, STATS_VERSION, STATUS_ISSUE_CODES, SUMMARY_ARCHIVES, TAILNET_MACHINE_PATTERN, TRACE_ENV, TUNNEL_MODES, TUTORIAL_VERSION, WARM_KEY, WEB_PAGE_STATES, WEB_VIEWPORTS, WORKSPACE_AGENT_KEY, WORKSPACE_PHASES, WORKSPACE_STAGE_KINDS, acceptsShape, advanceTail, agentDeviceStateDirs, agentDeviceStateDirsAsync, agentDeviceUsageFile, agentSessionOf, agentSessionsCacheFile, allMetroPorts, applyKeyedDelta, archiveDir, archiveEnabled, archiveLock, archiveRoot, archivedUsage, assertHostedDeviceLedger, attachExpoErrorContext, automaticMachineEnabled, budgetSweepFile, budgetSweepLock, buildCriteria, buildDiagnostics, buildLedgerDir, buildLedgerFile, buildLedgerLock, buildMachinesFile, buildMachinesLock, buildSlotPath, buildSlotsDir, buildWorkerRoot, bundleMarkerPlatform, cannotHost, capDrops, clientIdentity, clientIdentityKeyFile, closedSegmentName, coerceSettingText, compileGrep, configCorruptRepair, configLockPath, countErrorEntries, createAgentActionReader, createAsyncAgentActionReader, createDebugLog, createNdjsonTail, createdDevicesFile, createdDevicesLock, debugLogDir, debugLoggingEnabled, decodeStats, deviceHostArea, deviceHostMachinesClaims, deviceHostMachinesFile, deviceHostMachinesLock, deviceHostRoot, deviceViewersDir, diskUsageCacheDir, diskUsageCacheFile, diskUsageFailureFile, diskUsageWalkClaims, easMachineStateRoot, easSessionLedgerFile, easSessionLedgerLock, emulatorLogFile, endedAgentSessionOf, endpoint, expectedShape, fileIdentity, fileSizes, findEnclosingWorktreeRoot, findPeer, findProjectRoot, fingerprintMemoDir, fingerprintMemoFile, fingerprintMemoLock, followLogs, footageDrops, gcLogDir, gcLogFile, getConcurrencyLimits, getConfigPath, getParkedMax, getProject, getProjectSettings, getRepoSettings, gitMergeCacheDir, hostedAgentDriverName, hostedAndroidDeviceName, hostedAndroidPlacements, hostedAndroidRecords, hostedAndroidStatus, hostedAppArea, hostedAppAttempt, hostedAppBlobs, hostedConsolePort, hostedDeviceId, hostedIosPlacements, hostedIosRecords, hostedIosStatus, hostedMacosAppSlot, hostedMacosBundleId, hostedMacosLogsDir, hostedMetroGateways, hostedMetroRequests, hostedNativeLogsDir, hostedNativeRecords, hostedWorkerSettleMs, isBuildLedgerRecord, isExpoErrorContext, isGcLogRecord, isJournalExpired, isJsonObject, isLayeredSetting, isPathPrefix, isSensitiveReference, isSetupJournalPrunable, lastNativeUseFrom, lastUseFrom, levelRank, linkReplacedArchives, listRecordedDevices, listRecordedDevicesAsync, listSegments, listSegmentsAsync, listStatusCacheEntries, loadConfig, logFiles, machineCacheUsageFile, machineCapacity, machineEndpoint, macosAppState, maintenanceAttemptFile, maintenanceChildLogFile, maintenanceDir, maintenanceNdjsonFile, maintenanceRunClaims, maintenanceStateFile, markerWindow, maxLoadPerCore, mayRunHere, offloadSummary, openLogDir, openSegmentName, parseHostedAgentAccess, parseHostedAgentGrant, parseHostedAndroidDevice, parseHostedAndroidPlacement, parseHostedAppManifest, parseHostedAppOffer, parseHostedChoice, parseHostedDevice, parseHostedIosPlacement, parseHostedLocalDeviceCount, parseHostedLogsCursor, parseHostedMacosChoice, parseHostedMacosDevice, parseHostedMacosPlacement, parseHostedNativeOffer, parseHostedNativePlacement, parseHostedOfferRequest, parseHostedPlatformDevice, parseHostedRequest, parseMachine, parseMachineCredential, parseMacosRecord, parseMaintenanceState, parseMissReason, parseNdjsonLine, parseNdjsonText, parseSetupJournal, parseSince, placementWord, planLogQuery, prefersRemote, projectRootDirectories, pullRequestCacheDir, pullRequestCacheFile, queryJsonLogs, queryLogs, readAgentDeviceUsage, readAgentDeviceUsageCache, readAgentSessionsCache, readArchive, readArchiveAsync, readArchiveState, readArchives, readArchivesAsync, readBuildDetail, readBuildHistory, readBuildLedger, readBuildMachines, readCreatedDevices, readDevServerStop, readDevServerStopRequest, readDeviceHostMachines, readDeviceIdleShutdowns, readDevicePlacement, readDiskUsage, readDiskUsageFailure, readEasSessionLedger, readEndedAgentSessions, readFingerprintMemo, readGcLog, readHomeIdentity, readHostedApp, readHostedAppMetadata, readHostedDevice, readHostedDeviceLedger, readHostedMacosApp, readHostedNativeLogsCheckpoint, readHostedSessions, readIdleStop, readJsonFile, readJsonObject, readLastBuilds, readLogRecords, readLogTimeline, readLogsSince, readMachineCacheUsage, readMacosRecord, readMaintenanceAttempt, readMaintenanceState, readNdjsonGenerations, readPullRequestCache, readRunEstimates, readSetupJournal, readStateFile, readStats, readStatsReport, readSwiftpmCacheUsage, readViewedDevices, readWarmRecord, readWorkspaceAgent, readWorkspaceState, recordMatches, recordedBytes, recordingDeviceName, recordingEnabled, redactArgv, redactCommandLine, rememberHostedAppBlobRename, replacementAdvice, requireAutomaticMachine, runId, saturation, serverLocalSocket, serverSetupDir, settingDefinition, settingValueError, settingsJsonSchema, setupJournalFile, sharedCcache, sharedCompilationCache, sharedGradle, sharedPods, sortByTs, statsFile, statsProjectKey, statusViews, stimBuildDigest, supervisorLogFile, supervisorPidFile, swiftpmCacheUsageFile, tailRead, trace, trashRoot, trimCapacityRefusals, trimCapacityWaits, trimSamples, tryAcquireBuildSlotClaim, unreadableHostedAndroid, unreadableHostedIos, unreadableHostedNative, validEasSessionClaim, validHostedAppArguments, validHostedAppBlob, validRunId, validateAutomaticPool, wholePhases, windowsShortDir, windowsShortDirKey, withConfigLock, withConfigLockAsync, withDerivedFacts, withGitChip, withStateReadCache, workspaceAgentDeviceDir, workspaceBuildDetailFile, workspaceDerivedData, workspaceEndedAgentsFile, workspaceEndedAgentsLock, workspaceGradleBuild, workspaceLastUsed, workspaceLightenedFile, workspaceLogErrorIndex, workspaceLogsDir, workspaceMetadataFile, workspaceRecordingsDir, workspaceStateFile, workspaceStateLock, workspaceSummary, worktreeArchiveRoot };
6778
+ export { ACTIVITY_RECENCY_BASES, AGENT_TOOLS, ANDROID_COMPILER_CACHE_CHOICES, ANDROID_EMULATOR_APPS, ANDROID_PCH_CHOICES, APP_PROCESS_STATES, BUILD_HISTORY_KEY, BUILD_HISTORY_LIMIT, BUILD_LEDGER_CAP, BUILD_PHASES, BUILD_RESULTS, CAPACITY_REFUSAL_LIMIT, CAPACITY_REFUSAL_MAX_AGE_MS, DEBUG_ENV, DEFAULT_SERVER_PORT, DEVICE_HOST_LIMITS, DEVICE_IDLE_SHUTDOWN_KEY, DEVICE_RECLAIM_REASON, DEV_SERVER_STOP_REQUEST_KEY, ENDED_AGENT_RETENTION_MS, ERROR_SOURCES, FINGERPRINT_MEMO_SCHEMA, HISTORY_LIMIT, HOSTED_AGENT_DRIVERS, HOSTED_APP_CHUNK_BYTES, HOSTED_LOGS_FIRST_BYTES, HOSTED_LOGS_PAGE_BYTES, HOSTED_MACOS_APP_SLOTS, HOSTED_METRO_LINKS_KEY, HOSTED_METRO_REQUESTS_KEY, HOSTED_PARKED_CANDIDATES, IDLE_STOP_KEY, IOS_SIMULATOR_APPS, KeyedEntities, LAST_BUILD_KEYS, LEVELS, MACHINE_CREDENTIALS_VERSION, MACHINE_OWNER_KINDS, MAINTENANCE_LOG_NAME, MEMORY_SOURCES, NATIVE_BUILD_STEPS, NATIVE_CRASH_LOG_PREFIX, PHYSICAL_DEVICE_CONNECTIONS, PLACEMENT_DECISIONS, PLACEMENT_WORDS, READY_PHASE_MS, RECORDING_CAP_BYTES, RECORDING_FOOTAGE_MS, RECORDING_PLATFORMS, REMOTE_DEVICE_BACKENDS, REPLACED_SETTINGS, RUN_ID_ENV, SETTINGS, SETTINGS_SCHEMA_FILE, SETTINGS_SCHEMA_URL, SETTING_GROUPS, SETTING_SCOPES, SOURCES, STATS_VERSION, STATUS_ISSUE_CODES, SUMMARY_ARCHIVES, TAILNET_MACHINE_PATTERN, TRACE_ENV, TUNNEL_MODES, TUTORIAL_VERSION, WARM_KEY, WEB_PAGE_STATES, WEB_VIEWPORTS, WORKSPACE_AGENT_KEY, WORKSPACE_PHASES, WORKSPACE_STAGE_KINDS, acceptsShape, advanceTail, agentDeviceStateDirs, agentDeviceStateDirsAsync, agentDeviceUsageFile, agentSessionOf, agentSessionsCacheFile, allMetroPorts, applyKeyedDelta, archiveDir, archiveEnabled, archiveLock, archiveRoot, archivedUsage, assertHostedDeviceLedger, attachExpoErrorContext, automaticMachineEnabled, budgetSweepFile, budgetSweepLock, buildCriteria, buildDiagnostics, buildLedgerDir, buildLedgerFile, buildLedgerLock, buildMachinesFile, buildMachinesLock, buildSlotPath, buildSlotsDir, buildWorkerRoot, bundleMarkerPlatform, cannotHost, capDrops, clientIdentity, clientIdentityKeyFile, closedSegmentName, coerceSettingText, compileGrep, configCorruptRepair, configLockPath, countErrorEntries, createAgentActionReader, createAsyncAgentActionReader, createDebugLog, createNdjsonTail, createdDevicesFile, createdDevicesLock, debugLogDir, debugLoggingEnabled, decodeStats, deviceHostArea, deviceHostMachinesClaims, deviceHostMachinesFile, deviceHostMachinesLock, deviceHostRoot, deviceViewersDir, diskUsageCacheDir, diskUsageCacheFile, diskUsageFailureFile, diskUsageWalkClaims, easMachineStateRoot, easSessionLedgerFile, easSessionLedgerLock, emulatorLogFile, endedAgentSessionOf, endpoint, expectedShape, fileIdentity, fileSizes, findEnclosingWorktreeRoot, findPeer, findProjectRoot, fingerprintMemoDir, fingerprintMemoFile, fingerprintMemoLock, followLogs, footageDrops, gcLogDir, gcLogFile, getConcurrencyLimits, getConfigPath, getParkedMax, getProject, getProjectSettings, getRepoSettings, gitMergeCacheDir, hostedAgentDriverName, hostedAndroidDeviceName, hostedAndroidPlacements, hostedAndroidRecords, hostedAndroidStatus, hostedAppArea, hostedAppAttempt, hostedAppBlobs, hostedConsolePort, hostedDeviceId, hostedIosPlacements, hostedIosRecords, hostedIosStatus, hostedMacosAppSlot, hostedMacosBundleId, hostedMacosLogsDir, hostedMetroLinks, hostedMetroRequests, hostedNativeLogsDir, hostedNativeRecords, hostedWorkerSettleMs, isBuildLedgerRecord, isExpoErrorContext, isGcLogRecord, isJournalExpired, isJsonObject, isLayeredSetting, isPathPrefix, isSensitiveReference, isSetupJournalPrunable, lastNativeUseFrom, lastUseFrom, levelRank, linkReplacedArchives, listRecordedDevices, listRecordedDevicesAsync, listSegments, listSegmentsAsync, listStatusCacheEntries, loadConfig, loadPerCore, loadState, localEndpoint, logFiles, machineCacheUsageFile, machineCapacity, machineEndpoint, macosAppState, maintenanceAttemptFile, maintenanceChildLogFile, maintenanceDir, maintenanceNdjsonFile, maintenanceRunClaims, maintenanceStateFile, markerWindow, maxLoadPerCore, mayRunHere, offloadSummary, openLogDir, openSegmentName, parseHostedAgentAccess, parseHostedAgentGrant, parseHostedAndroidDevice, parseHostedAndroidPlacement, parseHostedAppManifest, parseHostedAppOffer, parseHostedChoice, parseHostedDevice, parseHostedIosPlacement, parseHostedLocalDeviceCount, parseHostedLogsCursor, parseHostedMacosChoice, parseHostedMacosDevice, parseHostedMacosPlacement, parseHostedNativeOffer, parseHostedNativePlacement, parseHostedOfferRequest, parseHostedPlatformDevice, parseHostedRequest, parseMachine, parseMachineCredential, parseMacosRecord, parseMaintenanceState, parseMissReason, parseNdjsonLine, parseNdjsonText, parseSetupJournal, parseSince, placementWord, planLogQuery, prefersRemote, projectRootDirectories, pullRequestCacheDir, pullRequestCacheFile, queryJsonLogs, queryLogs, readAgentDeviceUsage, readAgentDeviceUsageCache, readAgentSessionsCache, readArchive, readArchiveAsync, readArchiveState, readArchives, readArchivesAsync, readBuildDetail, readBuildHistory, readBuildLedger, readBuildMachines, readCreatedDevices, readDevServerStop, readDevServerStopRequest, readDeviceHostMachines, readDeviceIdleShutdowns, readDevicePlacement, readDiskUsage, readDiskUsageFailure, readEasSessionLedger, readEndedAgentSessions, readFingerprintMemo, readGcLog, readHomeIdentity, readHostedApp, readHostedAppMetadata, readHostedDevice, readHostedDeviceLedger, readHostedMacosApp, readHostedNativeLogsCheckpoint, readHostedSessions, readIdleStop, readJsonFile, readJsonObject, readLastBuilds, readLogRecords, readLogTimeline, readLogsSince, readMachineCacheUsage, readMacosRecord, readMaintenanceAttempt, readMaintenanceState, readNdjsonGenerations, readPullRequestCache, readRunEstimates, readSetupJournal, readStateFile, readStats, readStatsReport, readSwiftpmCacheUsage, readViewedDevices, readWarmRecord, readWorkspaceAgent, readWorkspaceState, recordMatches, recordedBytes, recordingDeviceName, recordingEnabled, redactArgv, redactCommandLine, rememberHostedAppBlobRename, replacementAdvice, requireAutomaticMachine, runId, saturation, serverLocalSocket, serverSetupDir, settingDefinition, settingValueError, settingsJsonSchema, setupJournalFile, sharedCcache, sharedCompilationCache, sharedGradle, sharedPods, sortByTs, statsFile, statsProjectKey, statusViews, stimBuildDigest, supervisorLogFile, supervisorPidFile, swiftpmCacheUsageFile, tailRead, trace, trashRoot, trimCapacityRefusals, trimCapacityWaits, trimSamples, tryAcquireBuildSlotClaim, unreadableHostedAndroid, unreadableHostedIos, unreadableHostedNative, validEasSessionClaim, validHostedAppArguments, validHostedAppBlob, validRunId, validateAutomaticPool, wholePhases, windowsShortDir, windowsShortDirKey, withConfigLock, withConfigLockAsync, withDerivedFacts, withGitChip, withStateReadCache, workspaceAgentDeviceDir, workspaceBuildDetailFile, workspaceDerivedData, workspaceEndedAgentsFile, workspaceEndedAgentsLock, workspaceGradleBuild, workspaceLastUsed, workspaceLightenedFile, workspaceLogErrorIndex, workspaceLogsDir, workspaceMetadataFile, workspaceRecordingsDir, workspaceStateFile, workspaceStateLock, workspaceSummary, worktreeArchiveRoot };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stim-cli/core",
3
- "version": "1.27.0",
3
+ "version": "1.29.0",
4
4
  "description": "Shared internal cache and runtime primitives for Stim packages.",
5
5
  "license": "MIT",
6
6
  "repository": {