@stim-cli/core 1.30.0 → 1.31.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 TailnetPeer, $a as AgentSession, $c as DevServerStopRecord, $i as createDebugLog, $l as parseHostedLocalDeviceCount, $n as configLockPath, $o as StatsPlatform, $r as LogQueryOptions, $s as macosAppState, $t as diskUsageCacheFile, $u as AgentActionReaderOptions, 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 HostedAppRecord, 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 validHostedAppBlob, 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 parseHostedMacosChoice, 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 HostedAppDelivery, 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 HOSTED_APP_CHUNK_BYTES, 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 parseHostedAppOffer, 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 SwiftpmCacheUsage, 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 SimRuntimeUsage, 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 readHostedApp, J as readLogsSince, Ja as AGENT_TOOLS, Jc as BUILD_HISTORY_KEY, Ji as redactArgv, Jl as hostedMemoryRefusal, Jn as buildLedgerFile, Jo as PlannedPhase, Jr as createNdjsonTail, Js as settingValueError, Jt as AgentSessionsCache, Ju as AgentDeviceUsage, 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 readSwiftpmCacheUsage, 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 readHostedAppMetadata, 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 hostedAppAttempt, 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 hostedAppBlobs, 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 HostedAppFile, 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 parseHostedAppManifest, Q as TAILNET_MACHINE_PATTERN, Qa as ActivityRecencyBasis, Qc as DEV_SERVER_STOP_REQUEST_KEY, Qi as DebugLog, Ql as parseHostedDevice, Qn as clientIdentityKeyFile, Qo as SimulatorState, Qr as ERROR_SOURCES, Qs as MacosProcess, Qt as agentSessionOf, Qu as readAgentDeviceUsageCache, 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 rememberHostedAppBlobRename, 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 parseHostedAgentGrant, 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 parseHostedMacosPlacement, 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 machineCacheUsageFile, 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 MachineCacheUsage, 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 readMachineCacheUsage, X as Endpoint, Xa as ActiveBuildState, Xc as DEVICE_IDLE_SHUTDOWN_KEY, Xi as trace, Xl as parseHostedAndroidDevice, Xn as buildMachinesFile, Xo as RunOutcomeKind, Xr as LogDirQuery, Xs as MacosAppState, Xt as PullRequestCacheEntry, Xu as agentDeviceUsageFile, Y as DEFAULT_SERVER_PORT, Ya as APP_PROCESS_STATES, Yc as BUILD_HISTORY_LIMIT, Yi as redactCommandLine, Yl as hostedWorkerSettleMs, Yn as buildLedgerLock, Yo as RemoteDeviceState, Yr as LogDir, Ys as MacosAppRecord, Yt as ENDED_AGENT_RETENTION_MS, Yu as AgentDeviceUsageRoots, Z as MachineTransport, Za as ActivityDriver, Zc as DEVICE_RECLAIM_REASON, Zi as DEBUG_ENV, Zl as parseHostedChoice, Zn as buildMachinesLock, Zo as STATUS_ISSUE_CODES, Zr as openLogDir, Zs as MacosBuild, Zt as StatusCacheEntry, Zu as readAgentDeviceUsage, _ 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 HostedMacosPlacement, a as MachineView, aa as configCorruptRepair, ac as ArchivedWorkspace, ad as NdjsonRecord, 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 readHostedDeviceLedger, 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 hostedMacosBundleId, c as SummaryBuild, ca as getParkedMax, cc as linkReplacedArchives, cd as parseNdjsonLine, ci as fileIdentity, cl as WARM_KEY, cn as readEndedAgentSessions, co as BuildCause, cr as easMachineStateRoot, cs as StatusPayload, ct as HostedMetroLinks, cu as HOSTED_MACOS_APP_SLOTS, 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 HostedAgentGrant, ea as debugLogDir, ec as parseMacosRecord, ed as AgentRecordSelection, ei as LogQueryPlan, el as DevServerStopRequest, en as diskUsageFailureFile, eo as AgentTool, er as createdDevicesFile, es as StatusBuildSlotHolder, et as cannotHost, eu as parseHostedNativeOffer, 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 HostedAgentIssuedGrant, 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 HostedMacosDevice, 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 HostedMacosChoice, i as ArchivedSummary, ia as buildWorkerRoot, ic as ArchivedUsage, id as LEVELS, 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 readHostedDevice, 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 hostedAppArea, 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 HostedAppOffer, l as SummaryHistoryEntry, la as getProject, lc as readArchive, ld as parseNdjsonText, 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 HostedAgentAccess, 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 HostedAppLaunch, n as KeyedEntities, na as ParkedMax, nc as readMacosRecord, nd as createAgentActionReader, 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 parseHostedPlatformDevice, o as SUMMARY_ARCHIVES, oa as findEnclosingWorktreeRoot, oc as archiveEnabled, od as SOURCES, 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 readHostedSessions, 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 HostedAgentLease, 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 swiftpmCacheUsageFile, r as applyKeyedDelta, ra as allMetroPorts, rc as ArchivedBytes, rd as createAsyncAgentActionReader, ri as advanceTail, rl as IdleStopRecord, rn as pullRequestCacheFile, ro as AppPresence, rr as deviceHostMachinesFile, rs as StatusCapacityLoad, rt as localEndpoint, ru as parseHostedRequest, s as StatusViews, sa as getConcurrencyLimits, sc as archivedUsage, sd as levelRank, 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_AGENT_DRIVERS, t as KeyedDelta, ta as debugLoggingEnabled, tc as readHostedMacosApp, td as AgentTarget, 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 parseHostedOfferRequest, u as WorkspaceSummary, ua as getProjectSettings, uc as readArchiveAsync, ud as readNdjsonGenerations, 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 HostedAgentDriverName, 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 hostedAgentDriverName, 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 parseHostedMacosDevice, 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 parseHostedAgentAccess, 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 hostedMacosAppSlot, 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 validHostedAppArguments } from "./index-BLhk-qn1.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, hostedMemoryRefusal, 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 };
1
+ import { $ as TailnetPeer, $a as ActiveBuildState, $c as BUILD_HISTORY_LIMIT, $i as DebugLog, $l as hostedMemoryRefusal, $n as clientIdentityKeyFile, $o as RunOutcomeKind, $r as ERROR_SOURCES, $s as MacosAppRecord, $t as agentSessionOf, $u as swiftpmCacheUsageFile, A as BuildLedgerPlatform, Aa as ProjectRecord, Ac as parseMaintenanceState, Ai as countErrorEntries, Al as workspaceLastUsed, An as listSegments, Ao as DiskMeasure, Ar as sharedPods, As as REPLACED_SETTINGS, At as StatsRecord, Au as parseHostedMacosDevice, B as HOSTED_LOGS_FIRST_BYTES, Ba as readBuildMachines, Bc as HostedAndroidPlacement, Bi as readJsonObject, Bl as HostedDevicePlatform, Bn as placementWord, Bo as MachineOwner, Br as workspaceGradleBuild, Bs as SettingsPayload, Bt as statsProjectKey, Bu as parseHostedAppManifest, C as BuildLedgerBoot, Ca as validateAutomaticPool, Cc as MaintenancePass, Ci as tailRead, Cl as readDeviceIdleShutdowns, Cn as RecordedSegment, Co as BuildResult, Cr as pullRequestCacheDir, Cs as WorktreeGit, Ct as RunHistory, Cu as HostedMacosPlacement, D as BuildLedgerFailure, Da as DoctorRunRecord, Dc as MaintenanceState, Di as fingerprintMemoFile, Dl as readWarmRecord, Dn as footageDrops, Do as DeviceAppProcess, Dr as sharedCcache, Ds as ANDROID_PCH_CHOICES, Dt as StatsCapacityRefusal, Du as parseHostedAgentAccess, E as BuildLedgerDevice, Ea as DeviceRecord, Ec as MaintenanceSize, Ei as fingerprintMemoDir, El as readLastBuilds, En as closedSegmentName, Eo as DeviceActivity, Er as setupJournalFile, Es as ANDROID_EMULATOR_APPS, Et as StatsBucket, Eu as hostedMacosBundleId, F as GcLogRecord, Fa as clientIdentity, Fc as hostedIosPlacements, Fi as readCreatedDevices, Fl as HostedAndroidDevice, Fn as recordingEnabled, Fo as GitChipPart, Fr as workspaceAgentDeviceDir, Fs as SettingDefinition, Ft as offloadSummary, Fu as HostedAppOffer, G as hostedNativeLogsDir, Ga as loadState, Gc as hostedAndroidStatus, Gi as TRACE_ENV, Gl as HostedIosDevice, Gn as archiveRoot, Go as MetroBundleState, Gr as workspaceRecordingsDir, Gs as acceptsShape, Gt as DeviceViewersRecord, Gu as validHostedAppArguments, H as HostedLogsCursor, Ha as buildSlotPath, Hc as hostedAndroidDeviceName, Hi as withStateReadCache, Hl as HostedDeviceSelectors, Hn as agentSessionsCacheFile, Ho as MachineUsageState, Hr as workspaceLogErrorIndex, Hs as TunnelMode, Ht as trimCapacityWaits, Hu as readHostedApp, I as GcLogStatus, Ia as BuildMachineCredential, Ic as hostedIosRecords, Ii as readEasSessionLedger, Il as HostedDevice, In as AutomaticPlacement, Io as LastBuildReport, Ir as workspaceBuildDetailFile, Is as SettingEntry, It as projectRootDirectories, Iu as HostedAppRecord, J as readLogsSince, Ja as saturation, Jc as HostedNativePlacement, Ji as TracePhases, Jl as assertHostedDeviceLedger, Jn as buildLedgerDir, Jo as PHYSICAL_DEVICE_CONNECTIONS, Jr as worktreeArchiveRoot, Js as isLayeredSetting, Jt as stimBuildDigest, Ju as SimRuntimeUsage, K as parseHostedLogsCursor, Ka as machineCapacity, Kc as parseHostedAndroidPlacement, Ki as Trace, Kl as HostedLocalPlatformCounts, Kn as budgetSweepFile, Ko as NATIVE_BUILD_STEPS, Kr as workspaceStateFile, Ks as coerceSettingText, Kt as ViewedDevice, Ku as validHostedAppBlob, L as GcLogTrigger, La as MACHINE_CREDENTIALS_VERSION, Lc as hostedIosStatus, Li as validEasSessionClaim, Ll as HostedDeviceOffer, Ln as PLACEMENT_WORDS, Lo as LoadState, Lr as workspaceDerivedData, Ls as SettingScope, Lt as readRunEstimates, Lu as hostedAppArea, M as isBuildLedgerRecord, Ma as SettingsObject, Mc as readMaintenanceState, Mi as CreatedDevices, Ml as DeviceHostLimits, Mn as openSegmentName, Mo as EnvironmentDisk, Mr as supervisorLogFile, Ms as SETTINGS, Mt as StatsScope, Mu as HOSTED_APP_CHUNK_BYTES, N as readBuildLedger, Na as StimConfig, Nc as HostedIosPlacement, Ni as EasSessionClaim, Nl as HOSTED_PARKED_CANDIDATES, Nn as recordedBytes, No as EnvironmentState, Nr as supervisorPidFile, Ns as SETTING_GROUPS, Nt as decodeStats, Nu as HostedAppDelivery, O as BuildLedgerOutcome, Oa as PlatformDeviceLimits, Oc as MaintenanceStatus, Oi as fingerprintMemoLock, Ol as readWorkspaceAgent, On as listRecordedDevices, Oo as DeviceLeaseState, Or as sharedCompilationCache, Os as IOS_SIMULATOR_APPS, Ot as StatsCapacityWait, Ou as parseHostedAgentGrant, P as GcLogOptions, Pa as SupervisorRecord, Pc as HostedIosStatus, Pi as EasSessionLedgerRead, Pl as HostedAndroidChoice, Pn as recordingDeviceName, Po as GitChip, Pr as trashRoot, Ps as SETTING_SCOPES, Pt as findProjectRoot, Pu as HostedAppFile, Q as TAILNET_MACHINE_PATTERN, Qa as APP_PROCESS_STATES, Qc as BUILD_HISTORY_KEY, Qi as DEBUG_ENV, Ql as hostedDeviceId, Qn as buildMachinesLock, Qo as RemoteDeviceState, Qr as openLogDir, Qs as settingValueError, Qt as StatusCacheEntry, Qu as readSwiftpmCacheUsage, R as isGcLogRecord, Ra as MachineCredential, Rc as parseHostedIosPlacement, Ri as isJsonObject, Rl as HostedDeviceOfferRequest, Rn as PlacementWord, Ro as MACHINE_OWNER_KINDS, Rr as workspaceEndedAgentsFile, Rs as SettingType, Rt as readStats, Ru as hostedAppAttempt, S as BUILD_LEDGER_CAP, Sa as requireAutomaticMachine, Sc as MaintenanceMode, Si as sortByTs, Sl as readDevServerStopRequest, Sn as RecordedDevice, So as BuildReport, Sr as maintenanceStateFile, Ss as WorktreeFacts, St as RunEstimates, Su as HostedMacosDevice, T as BuildLedgerCacheResult, Ta as Config, Tc as MaintenanceRecord, Ti as FingerprintMemoRecord, Tl as readIdleStop, Tn as capDrops, To as ChecksState, Tr as serverSetupDir, Ts as ANDROID_COMPILER_CACHE_CHOICES, Tt as STATS_VERSION, Tu as hostedMacosAppSlot, U as HostedLogsPage, Ua as buildSlotsDir, Uc as hostedAndroidPlacements, Ui as readHomeIdentity, Ul as HostedDeviceSession, Un as archiveDir, Uo as MacosBuildPlanPayload, Ur as workspaceLogsDir, Us as WEB_VIEWPORTS, Ut as trimSamples, Uu as readHostedAppMetadata, V as HOSTED_LOGS_PAGE_BYTES, Va as MachineCapacity, Vc as HostedAndroidStatus, Vi as readStateFile, Vl as HostedDeviceRequest, Vn as prefersRemote, Vo as MachineOwnerKind, Vr as workspaceLightenedFile, Vs as TUNNEL_MODES, Vt as trimCapacityRefusals, Vu as parseHostedAppOffer, W as hostedMacosLogsDir, Wa as loadPerCore, Wc as hostedAndroidRecords, Wi as EndSpan, Wl as HostedIosChoice, Wn as archiveLock, Wo as MemorySource, Wr as workspaceMetadataFile, Ws as WebViewport, Wt as wholePhases, Wu as rememberHostedAppBlobRename, X as Endpoint, Xa as ACTIVITY_RECENCY_BASES, Xc as parseHostedNativePlacement, Xi as redactCommandLine, Xl as deviceHostRoot, Xn as buildLedgerLock, Xo as PhysicalDeviceState, Xr as LogDir, Xs as replacementAdvice, Xt as ENDED_AGENT_RETENTION_MS, Xu as readMachineCacheUsage, Y as DEFAULT_SERVER_PORT, Ya as tryAcquireBuildSlotClaim, Yc as hostedNativeRecords, Yi as redactArgv, Yl as deviceHostArea, Yn as buildLedgerFile, Yo as PhysicalDeviceConnection, Yr as createNdjsonTail, Ys as isSensitiveReference, Yt as AgentSessionsCache, Yu as machineCacheUsageFile, Z as MachineTransport, Za as AGENT_TOOLS, Zc as unreadableHostedNative, Zi as trace, Zl as hostedConsolePort, Zn as buildMachinesFile, Zo as PlannedPhase, Zr as LogDirQuery, Zs as settingDefinition, Zt as PullRequestCacheEntry, Zu as SwiftpmCacheUsage, _ as isSetupJournalPrunable, _a as windowsShortDirKey, _c as readArchivesAsync, _i as queryJsonLogs, _l as lastNativeUseFrom, _n as runId, _o as BuildMissReason, _r as maintenanceAttemptFile, _s as WarmStep, _t as CAPACITY_REFUSAL_MAX_AGE_MS, _u as HostedAgentGrant, a as MachineView, aa as buildWorkerRoot, ac as readHostedMacosApp, ad as AgentActionReaderOptions, ai as attachExpoErrorContext, al as DeviceIdleShutdownRecord, an as readAgentSessionsCache, ao as AndroidRuntimeFacts, ar as deviceHostMachinesLock, as as StatusCapacity, at as parseMachine, au as parseHostedLocalPlatformCounts, b as agentDeviceStateDirs, ba as AutomaticPoolRole, bc as MaintenanceActionKind, bi as readLogTimeline, bl as readBuildHistory, bn as RECORDING_FOOTAGE_MS, bo as BuildPlanPayload, br as maintenanceNdjsonFile, bs as WorkspacePhase, bt as PLACEMENT_DECISIONS, bu as HostedAppLaunch, c as SummaryBuild, ca as getConcurrencyLimits, cc as ArchivedUsage, cd as createAgentActionReader, ci as compileGrep, cl as LAST_BUILD_KEYS, cn as readDiskUsageFailure, co as BUILD_RESULTS, cr as diskUsageWalkClaims, cs as StatusDeviceSlots, ct as HOSTED_METRO_REQUESTS_KEY, cu as parseHostedPlatformDevice, d as WorktreeRow, da as getProject, dc as archivedUsage, dd as NdjsonRecord, di as followLogs, dl as READY_PHASE_MS, dn as withDerivedFacts, do as BuildCause, dr as easSessionLedgerLock, ds as StatusPayload, dt as hostedMetroLinks, du as readHostedDeviceLedger, ea as createDebugLog, ec as MacosAppState, ed as AgentDeviceUsage, ei as LogQueryOptions, el as DEVICE_IDLE_SHUTDOWN_KEY, en as diskUsageCacheFile, eo as ActivityDriver, er as configLockPath, es as STATUS_ISSUE_CODES, et as cannotHost, eu as hostedWorkerSettleMs, f as statusViews, fa as getProjectSettings, fc as linkReplacedArchives, fd as SOURCES, fi as isExpoErrorContext, fl as WARM_KEY, fn as withGitChip, fo as BuildDetail, fr as emulatorLogFile, fs as StatusPlatformDeviceSlots, ft as hostedMetroRequests, fu as readHostedSessions, g as isJournalExpired, ga as windowsShortDir, gc as readArchives, gd as readNdjsonGenerations, gi as planLogQuery, gl as buildDiagnostics, gn as RUN_ID_ENV, go as BuildMissChange, gr as gitMergeCacheDir, gs as WORKSPACE_STAGE_KINDS, gt as CAPACITY_REFUSAL_LIMIT, gu as HostedAgentDriverName, h as SetupJournal, ha as loadConfig, hc as readArchiveState, hd as parseNdjsonText, hi as parseSince, hl as WorkspaceState, hn as settingsJsonSchema, ho as BuildMissCategory, hr as getConfigPath, hs as WORKSPACE_PHASES, ht as BuildMachineTotals, hu as HostedAgentAccess, i as ArchivedSummary, ia as allMetroPorts, ic as parseMacosRecord, id as readAgentDeviceUsageCache, ii as advanceTail, il as DevServerStopRequest, in as pullRequestCacheFile, io as AndroidDeviceState, ir as deviceHostMachinesFile, is as StatusBuildSlots, it as machineEndpoint, iu as parseHostedLocalDeviceCount, j as BuildLedgerRecord, ja as RepoRecord, jc as readMaintenanceAttempt, ji as CreatedDevicePlatform, jl as DEVICE_HOST_LIMITS, jn as listSegmentsAsync, jo as EndedAgentSession, jr as statsFile, js as RemoteDeviceBackend, jt as StatsReport, ju as parseHostedMacosPlacement, k as BuildLedgerPlacement, ka as PlatformRecords, kc as MemoryCulprit, ki as readFingerprintMemo, kl as readWorkspaceState, kn as listRecordedDevicesAsync, ko as DevicePlacement, kr as sharedGradle, ks as REMOTE_DEVICE_BACKENDS, kt as StatsPlacement, ku as parseHostedMacosChoice, l as SummaryHistoryEntry, la as getParkedMax, lc as ArchivedWorkspace, ld as createAsyncAgentActionReader, li as fileIdentity, ll as MAINTENANCE_LOG_NAME, ln as readEndedAgentSessions, lo as BuildActivity, lr as easMachineStateRoot, ls as StatusIssue, lt as HostedMetroLinks, lu as parseHostedRequest, m as SetupCapability, ma as isPathPrefix, mc as readArchiveAsync, md as parseNdjsonLine, mi as markerWindow, ml as WarmRecord, mn as SETTINGS_SCHEMA_URL, mo as BuildHistoryEntry, mr as gcLogFile, ms as WEB_PAGE_STATES, mt as readDeviceHostMachines, mu as HOSTED_MACOS_APP_SLOTS, n as KeyedEntities, na as debugLoggingEnabled, nc as MacosProcess, nd as agentDeviceUsageFile, ni as NATIVE_CRASH_LOG_PREFIX, nl as DEV_SERVER_STOP_REQUEST_KEY, nn as endedAgentSessionOf, no as AgentSession, nr as createdDevicesLock, ns as StatsPlatform, nt as findPeer, nu as parseHostedChoice, o as SUMMARY_ARCHIVES, oa as configCorruptRepair, oc as readMacosRecord, od as AgentRecordSelection, oi as buildCriteria, ol as IDLE_STOP_KEY, on as readBuildDetail, oo as AppPresence, or as deviceViewersDir, os as StatusCapacityLoad, ot as tailscaleEnv, ou as parseHostedNativeOffer, p as workspaceSummary, pa as getRepoSettings, pc as readArchive, pd as levelRank, pi as logFiles, pl as WORKSPACE_AGENT_KEY, pn as SETTINGS_SCHEMA_FILE, po as BuildDiagnostic, pr as gcLogDir, ps as TUTORIAL_VERSION, pt as DeviceHostMachineCredential, pu as HOSTED_AGENT_DRIVERS, q as readHostedNativeLogsCheckpoint, qa as maxLoadPerCore, qc as unreadableHostedAndroid, qi as TraceArgs, ql as HostedNativeOffer, qn as budgetSweepLock, qo as NativeBuildStep, qr as workspaceStateLock, qs as expectedShape, qt as readViewedDevices, qu as MachineCacheUsage, r as applyKeyedDelta, ra as ParkedMax, rc as macosAppState, rd as readAgentDeviceUsage, ri as QueryCriteria, rl as DevServerStopRecord, rn as listStatusCacheEntries, ro as AgentTool, rr as deviceHostMachinesClaims, rs as StatusBuildSlotHolder, rt as localEndpoint, ru as parseHostedDevice, s as StatusViews, sa as findEnclosingWorktreeRoot, sc as ArchivedBytes, sd as AgentTarget, si as bundleMarkerPlatform, sl as IdleStopRecord, sn as readDiskUsage, so as BUILD_PHASES, sr as diskUsageCacheDir, ss as StatusDeviceSlotHolder, st as HOSTED_METRO_LINKS_KEY, su as parseHostedOfferRequest, t as KeyedDelta, ta as debugLogDir, tc as MacosBuild, td as AgentDeviceUsageRoots, ti as LogQueryPlan, tl as DEVICE_RECLAIM_REASON, tn as diskUsageFailureFile, to as ActivityRecencyBasis, tr as createdDevicesFile, ts as SimulatorState, tt as endpoint, tu as parseHostedAndroidDevice, u as WorkspaceSummary, ua as getPlatformDeviceLimits, uc as archiveEnabled, ud as LEVELS, ui as fileSizes, ul as MetroLastStop, un as readPullRequestCache, uo as BuildCacheHit, ur as easSessionLedgerFile, us as StatusIssueCode, ut as HostedMetroRequest, uu as readHostedDevice, v as parseSetupJournal, va as withConfigLock, vc as DiskPressureLevel, vi as queryLogs, vl as lastUseFrom, vn as validRunId, vo as BuildPhase, vr as maintenanceChildLogFile, vs as WebBrowserState, vt as HISTORY_LIMIT, vu as HostedAgentIssuedGrant, w as BuildLedgerCache, wa as ConcurrencyLimits, wc as MaintenancePressure, wi as FINGERPRINT_MEMO_SCHEMA, wl as readDevicePlacement, wn as RecordingPlatform, wo as BuildWaitingFor, wr as serverLocalSocket, ws as WorktreePullRequest, wt as RunSample, wu as hostedAgentDriverName, x as agentDeviceStateDirsAsync, xa as automaticMachineEnabled, xc as MaintenanceCheck, xi as recordMatches, xl as readDevServerStop, xn as RECORDING_PLATFORMS, xo as BuildPlatform, xr as maintenanceRunClaims, xs as WorkspaceStage, xt as ReadStatsResult, xu as HostedMacosChoice, y as readSetupJournal, ya as withConfigLockAsync, yc as MaintenanceAction, yi as readLogRecords, yl as parseMissReason, yn as RECORDING_CAP_BYTES, yo as BuildPlacement, yr as maintenanceDir, ys as WebPageState, yt as OffloadSummary, yu as HostedAgentLease, z as readGcLog, za as parseMachineCredential, zc as unreadableHostedIos, zi as readJsonFile, zl as HostedDevicePhase, zn as mayRunHere, zo as MEMORY_SOURCES, zr as workspaceEndedAgentsLock, zs as SettingWriteResult, zt as readStatsReport, zu as hostedAppBlobs } from "./index-DiOvquvK.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, HostedLocalPlatformCounts, 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, PlatformDeviceLimits, 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, StatusPlatformDeviceSlots, 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, getPlatformDeviceLimits, getProject, getProjectSettings, getRepoSettings, gitMergeCacheDir, hostedAgentDriverName, hostedAndroidDeviceName, hostedAndroidPlacements, hostedAndroidRecords, hostedAndroidStatus, hostedAppArea, hostedAppAttempt, hostedAppBlobs, hostedConsolePort, hostedDeviceId, hostedIosPlacements, hostedIosRecords, hostedIosStatus, hostedMacosAppSlot, hostedMacosBundleId, hostedMacosLogsDir, hostedMemoryRefusal, 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, parseHostedLocalPlatformCounts, 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, tailscaleEnv, 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
@@ -890,6 +890,14 @@ function getConcurrencyLimits({ env = ambientEnv() } = {}) {
890
890
  maxDevices: resolveLimit(env.STIM_MAX_DEVICES, c.maxDevices)
891
891
  };
892
892
  }
893
+ function getPlatformDeviceLimits({ env = ambientEnv() } = {}) {
894
+ const c = loadConfig()?.concurrency || {};
895
+ return {
896
+ ios: resolveLimit(env.STIM_MAX_IOS_DEVICES, c.maxIosDevices),
897
+ android: resolveLimit(env.STIM_MAX_ANDROID_DEVICES, c.maxAndroidDevices),
898
+ macos: resolveLimit(env.STIM_MAX_MACOS_APPS, c.maxMacosApps)
899
+ };
900
+ }
893
901
  const MAX_SETTING = {
894
902
  ios: {
895
903
  key: "iosParkedMax",
@@ -985,6 +993,16 @@ function peerPresence(peer) {
985
993
  };
986
994
  }
987
995
  /**
996
+ * The environment to run the Tailscale CLI with. The macOS Tailscale.app CLI prints "The Tailscale GUI failed to start"
997
+ * instead of its output when `TERM` is unset, as under launchd (https://github.com/appandflow/stim/issues/4500).
998
+ */
999
+ function tailscaleEnv(env) {
1000
+ return env.TERM ? env : {
1001
+ ...env,
1002
+ TERM: "dumb"
1003
+ };
1004
+ }
1005
+ /**
988
1006
  * A `remote.machines` entry's parts. A `tailscale` entry names a tailnet peer and the port of its `tailscale serve`
989
1007
  * route; a `local` entry names a host on the local network and stim-server's own port there.
990
1008
  */
@@ -1841,7 +1859,31 @@ const SETTINGS = [
1841
1859
  scopes: MACHINE,
1842
1860
  default: 0,
1843
1861
  env: "STIM_MAX_DEVICES",
1844
- description: "Booted owned devices; 0 means no limit"
1862
+ description: "Booted owned iOS simulators and Android emulators together, and, separately, hosted macOS apps; 0 means no limit"
1863
+ },
1864
+ {
1865
+ key: "concurrency.maxIosDevices",
1866
+ type: CAPACITY,
1867
+ scopes: MACHINE,
1868
+ default: 0,
1869
+ env: "STIM_MAX_IOS_DEVICES",
1870
+ description: "Booted owned iOS simulators, also bounded by concurrency.maxDevices; 0 means no per-platform limit"
1871
+ },
1872
+ {
1873
+ key: "concurrency.maxAndroidDevices",
1874
+ type: CAPACITY,
1875
+ scopes: MACHINE,
1876
+ default: 0,
1877
+ env: "STIM_MAX_ANDROID_DEVICES",
1878
+ description: "Booted owned Android emulators, also bounded by concurrency.maxDevices; 0 means no per-platform limit"
1879
+ },
1880
+ {
1881
+ key: "concurrency.maxMacosApps",
1882
+ type: CAPACITY,
1883
+ scopes: MACHINE,
1884
+ default: 0,
1885
+ env: "STIM_MAX_MACOS_APPS",
1886
+ description: "Hosted macOS apps, also bounded by concurrency.maxDevices; 0 means no per-platform limit"
1845
1887
  },
1846
1888
  {
1847
1889
  key: "budget.minFreeDiskGb",
@@ -2308,7 +2350,7 @@ const SETTINGS = [
2308
2350
  type: BOOLEAN,
2309
2351
  scopes: EVERY,
2310
2352
  default: false,
2311
- description: "When ios.remote or android.remote is auto or remote, this machine is at its concurrency.maxDevices cap and no remote.machines entry takes the run, run the simulator or emulator on a billed EAS Simulator instead of waiting or refusing, when eas-cli can; remote-only never uses it"
2353
+ description: "When ios.remote or android.remote is auto or remote, this machine is at a device cap (concurrency.maxDevices or a per-platform cap) and no remote.machines entry takes the run, run the simulator or emulator on a billed EAS Simulator instead of waiting or refusing, when eas-cli can; remote-only never uses it"
2312
2354
  },
2313
2355
  {
2314
2356
  key: "remote.easMaxDurationMinutes",
@@ -5887,11 +5929,22 @@ function parseHostedLocalDeviceCount(value) {
5887
5929
  if (isJsonObject(value) && typeof value.unknown === "string" && value.unknown) return { unknown: value.unknown.slice(0, 4e3) };
5888
5930
  return null;
5889
5931
  }
5932
+ const isCount = (n) => typeof n === "number" && Number.isSafeInteger(n) && n >= 0;
5933
+ function parseHostedLocalPlatformCounts(value) {
5934
+ if (isJsonObject(value) && isCount(value.ios) && isCount(value.android)) return {
5935
+ ios: value.ios,
5936
+ android: value.android
5937
+ };
5938
+ if (isJsonObject(value) && typeof value.unknown === "string" && value.unknown) return { unknown: value.unknown.slice(0, 4e3) };
5939
+ return null;
5940
+ }
5890
5941
  function parseHostedNativeOffer(value) {
5891
5942
  if (!isJsonObject(value) || !isJsonObject(value.resources)) return null;
5892
5943
  const { resources } = value;
5893
5944
  const local = parseHostedLocalDeviceCount(resources.localDevices);
5894
5945
  if (resources.localDevices !== void 0 && local === null) return null;
5946
+ const localPlatforms = parseHostedLocalPlatformCounts(resources.localPlatforms);
5947
+ if (resources.localPlatforms !== void 0 && localPlatforms === null) return null;
5895
5948
  if (value.platform !== "ios" && value.platform !== "android" && value.platform !== "macos" || value.declined !== null && (typeof value.declined !== "string" || !value.declined || value.declined.length > 4e3) || !Number.isInteger(resources.cpus) || Number(resources.cpus) < 1 || ["loadPerCore", "memoryFreeBytes"].some((key) => typeof resources[key] !== "number" || !Number.isFinite(resources[key]) || resources[key] < 0) || resources.workerDiskFreeBytes !== null && (typeof resources.workerDiskFreeBytes !== "number" || !Number.isFinite(resources.workerDiskFreeBytes) || resources.workerDiskFreeBytes < 0) || resources.memoryPressure !== null && resources.memoryPressure !== "normal" && resources.memoryPressure !== "warning" && resources.memoryPressure !== "critical") return null;
5896
5949
  let choice = null;
5897
5950
  if (value.choice !== null) {
@@ -5929,7 +5982,8 @@ function parseHostedNativeOffer(value) {
5929
5982
  memoryFreeBytes: resources.memoryFreeBytes,
5930
5983
  memoryPressure: resources.memoryPressure,
5931
5984
  workerDiskFreeBytes: resources.workerDiskFreeBytes,
5932
- ...local !== null ? { localDevices: local } : {}
5985
+ ...local !== null ? { localDevices: local } : {},
5986
+ ...localPlatforms !== null ? { localPlatforms } : {}
5933
5987
  }
5934
5988
  };
5935
5989
  }
@@ -6780,4 +6834,4 @@ function isSetupJournalPrunable(journal, now) {
6780
6834
  return Date.parse(journal.expiresAt) + 36e5 < now;
6781
6835
  }
6782
6836
  //#endregion
6783
- 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, hostedMemoryRefusal, 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 };
6837
+ 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, getPlatformDeviceLimits, getProject, getProjectSettings, getRepoSettings, gitMergeCacheDir, hostedAgentDriverName, hostedAndroidDeviceName, hostedAndroidPlacements, hostedAndroidRecords, hostedAndroidStatus, hostedAppArea, hostedAppAttempt, hostedAppBlobs, hostedConsolePort, hostedDeviceId, hostedIosPlacements, hostedIosRecords, hostedIosStatus, hostedMacosAppSlot, hostedMacosBundleId, hostedMacosLogsDir, hostedMemoryRefusal, 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, parseHostedLocalPlatformCounts, 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, tailscaleEnv, 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.30.0",
3
+ "version": "1.31.0",
4
4
  "description": "Shared internal cache and runtime primitives for Stim packages.",
5
5
  "license": "MIT",
6
6
  "repository": {