@stim-cli/core 1.21.0 → 1.22.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 ReadStatsResult, $a as validHostedAppArguments, $c as withConfigLock, $i as HostedDeviceSelectors, $n as StatusIssueCode, $o as archiveRoot, $r as HostedAndroidStatus, $s as NATIVE_CRASH_LOG_PREFIX, $t as AndroidDeviceState, A as readLogsSince, Aa as HostedMacosDevice, Ac as readJsonObject, Ai as parseMissReason, Al as readMachineCacheUsage, An as GitChipPart, Ao as settingDefinition, Ar as DiskPressureLevel, As as sharedGradle, At as StatusCacheEntry, B as HOSTED_METRO_REQUESTS_KEY, Ba as HOSTED_APP_CHUNK_BYTES, Bc as allMetroPorts, Bi as readWorkspaceState, Bl as AgentRecordSelection, Bn as NATIVE_BUILD_STEPS, Bo as RecordingPlatform, Br as MaintenanceStatus, Bs as workspaceGradleBuild, Bt as readDiskUsageFailure, C as HOSTED_LOGS_PAGE_BYTES, Ca as HostedAgentAccess, Cc as EasSessionClaim, Ci as READY_PHASE_MS, Cl as buildSlotsDir, Cn as DeviceLeaseState, Co as WEB_VIEWPORTS, Cr as ArchivedWorkspace, Cs as maintenanceStateFile, Ct as DeviceViewersRecord, D as hostedNativeLogsDir, Da as HostedAgentLease, Dc as validEasSessionClaim, Di as WorkspaceState, Dl as MachineCacheUsage, Dn as EnvironmentDisk, Do as expectedShape, Dr as readArchive, Ds as setupJournalFile, Dt as AgentSessionsCache, E as hostedMacosLogsDir, Ea as HostedAgentIssuedGrant, Ec as readEasSessionLedger, Ei as WarmRecord, El as tryAcquireBuildSlotClaim, En as EndedAgentSession, Eo as coerceSettingText, Er as linkReplacedArchives, Es as serverSetupDir, Et as stimBuildDigest, F as endpoint, Fa as parseHostedAgentAccess, Fc as DebugLog, Fi as readDevicePlacement, Fl as AgentDeviceUsageRoots, Fn as MachineOwnerKind, Fo as RECORDING_CAP_BYTES, Fr as MaintenancePass, Fs as workspaceAgentDeviceDir, Ft as listStatusCacheEntries, G as DeviceHostMachineCredential, Ga as hostedAppArea, Gc as getParkedMax, Gi as HostedAndroidChoice, Gl as NdjsonRecord, Gn as PlannedPhase, Go as listSegments, Gr as HostedIosPlacement, Gs as workspaceStateFile, Gt as ACTIVITY_RECENCY_BASES, H as HostedMetroRequest, Ha as HostedAppFile, Hc as configCorruptRepair, Hi as DEVICE_HOST_LIMITS, Hl as createAgentActionReader, Hn as PHYSICAL_DEVICE_CONNECTIONS, Ho as closedSegmentName, Hr as parseMaintenanceState, Hs as workspaceLogsDir, Ht as readPullRequestCache, I as findPeer, Ia as parseHostedAgentGrant, Ic as createDebugLog, Ii as readIdleStop, Il as agentDeviceUsageFile, In as MachineUsageState, Io as RECORDING_FOOTAGE_MS, Ir as MaintenancePressure, Is as workspaceBuildDetailFile, It as pullRequestCacheFile, J as CAPACITY_REFUSAL_LIMIT, Ja as parseHostedAppManifest, Jc as getRepoSettings, Ji as HostedDeviceOffer, Jl as parseNdjsonLine, Jn as STATUS_ISSUE_CODES, Jo as recordingDeviceName, Jr as hostedIosRecords, Js as LogDirQuery, Jt as ActiveBuildState, K as readDeviceHostMachines, Ka as hostedAppAttempt, Kc as getProject, Ki as HostedAndroidDevice, Kl as SOURCES, Kn as RemoteDeviceState, Ko as openSegmentName, Kr as HostedIosStatus, Ks as workspaceStateLock, Kt as AGENT_TOOLS, L as machineEndpoint, La as parseHostedMacosChoice, Lc as debugLogDir, Li as readLastBuilds, Ll as readAgentDeviceUsage, Ln as MacosBuildPlanPayload, Lo as RECORDING_PLATFORMS, Lr as MaintenanceRecord, Ls as workspaceDerivedData, Lt as readAgentSessionsCache, M as TAILNET_MACHINE_PATTERN, Ma as hostedAgentDriverName, Mc as withStateReadCache, Mi as readDevServerStop, Ml as readSwiftpmCacheUsage, Mn as MACHINE_OWNER_KINDS, Mo as RUN_ID_ENV, Mr as MaintenanceActionKind, Ms as statsFile, Mt as diskUsageCacheFile, N as TailnetPeer, Na as hostedMacosAppSlot, Nc as readHomeIdentity, Ni as readDevServerStopRequest, Nl as swiftpmCacheUsageFile, Nn as MEMORY_SOURCES, No as runId, Nr as MaintenanceCheck, Ns as supervisorLogFile, Nt as diskUsageFailureFile, O as parseHostedLogsCursor, Oa as HostedAppLaunch, Oc as isJsonObject, Oi as buildDiagnostics, Ol as SimRuntimeUsage, On as EnvironmentState, Oo as isLayeredSetting, Or as readArchiveState, Os as sharedCcache, Ot as ENDED_AGENT_RETENTION_MS, P as cannotHost, Pa as hostedMacosBundleId, Pc as DEBUG_ENV, Pi as readDeviceIdleShutdowns, Pl as AgentDeviceUsage, Pn as MachineOwner, Po as validRunId, Pr as MaintenanceMode, Ps as supervisorPidFile, Pt as endedAgentSessionOf, Q as PLACEMENT_DECISIONS, Qa as rememberHostedAppBlobRename, Qc as windowsShortDirKey, Qi as HostedDeviceRequest, Qn as StatusIssue, Qo as archiveLock, Qr as HostedAndroidPlacement, Qs as LogQueryPlan, Qt as AgentTool, R as parseMachine, Ra as parseHostedMacosDevice, Rc as debugLoggingEnabled, Ri as readWarmRecord, Rl as readAgentDeviceUsageCache, Rn as MemorySource, Ro as RecordedDevice, Rr as MaintenanceSize, Rs as workspaceEndedAgentsFile, Rt as readBuildDetail, S as HOSTED_LOGS_FIRST_BYTES, Sa as HOSTED_MACOS_APP_SLOTS, Sc as CreatedDevices, Si as MetroLastStop, Sl as buildSlotPath, Sn as DeviceAppProcess, So as TunnelMode, Sr as ArchivedUsage, Ss as maintenanceRunClaims, St as wholePhases, T as HostedLogsPage, Ta as HostedAgentGrant, Tc as readCreatedDevices, Ti as WORKSPACE_AGENT_KEY, Tl as saturation, Tn as DiskMeasure, To as acceptsShape, Tr as archivedUsage, Ts as serverLocalSocket, Tt as readViewedDevices, U as hostedMetroGateways, Ua as HostedAppOffer, Uc as findEnclosingWorktreeRoot, Ui as DeviceHostLimits, Ul as createAsyncAgentActionReader, Un as PhysicalDeviceConnection, Uo as footageDrops, Ur as readMaintenanceAttempt, Us as workspaceMetadataFile, Ut as withDerivedFacts, V as HostedMetroGateway, Va as HostedAppDelivery, Vc as buildWorkerRoot, Vi as workspaceLastUsed, Vl as AgentTarget, Vn as NativeBuildStep, Vo as capDrops, Vr as MemoryCulprit, Vs as workspaceLogErrorIndex, Vt as readEndedAgentSessions, W as hostedMetroRequests, Wa as HostedAppRecord, Wc as getConcurrencyLimits, Wi as HOSTED_PARKED_CANDIDATES, Wl as LEVELS, Wn as PhysicalDeviceState, Wo as listRecordedDevices, Wr as readMaintenanceState, Ws as workspaceRecordingsDir, Wt as withGitChip, X as HISTORY_LIMIT, Xa as readHostedApp, Xc as loadConfig, Xi as HostedDevicePhase, Xl as readNdjsonGenerations, Xn as StatsPlatform, Xo as agentSessionsCacheFile, Xr as parseHostedIosPlacement, Xs as ERROR_SOURCES, Xt as ActivityRecencyBasis, Y as CAPACITY_REFUSAL_MAX_AGE_MS, Ya as parseHostedAppOffer, Yc as isPathPrefix, Yi as HostedDeviceOfferRequest, Yl as parseNdjsonText, Yn as SimulatorState, Yo as recordingEnabled, Yr as hostedIosStatus, Ys as openLogDir, Yt as ActivityDriver, Z as OffloadSummary, Za as readHostedAppMetadata, Zc as windowsShortDir, Zi as HostedDevicePlatform, Zn as StatusCapacity, Zo as archiveDir, Zr as unreadableHostedIos, Zs as LogQueryOptions, Zt as AgentSession, _ as isSetupJournalPrunable, _a as parseHostedRequest, _c as recordMatches, _i as DeviceIdleShutdownRecord, _l as MACHINE_CREDENTIALS_VERSION, _n as BuildReport, _o as SettingScope, _r as macosAppState, _s as gitMergeCacheDir, _t as readStatsReport, a as MachineView, aa as deviceHostArea, ac as compileGrep, ai as unreadableHostedAndroid, al as ConcurrencyLimits, an as BuildCacheHit, ao as ANDROID_EMULATOR_APPS, ar as WarmStep, as as createdDevicesLock, at as StatsCapacityRefusal, b as agentDeviceStateDirs, ba as readHostedSessions, bc as countErrorEntries, bi as LAST_BUILD_KEYS, bl as readBuildMachines, bn as ChecksState, bo as SettingsPayload, br as readMacosRecord, bs as maintenanceDir, bt as trimCapacityWaits, c as SummaryBuild, ca as hostedDeviceId, cc as isExpoErrorContext, ci as parseHostedNativePlacement, cl as DoctorRunRecord, cn as BuildDiagnostic, co as OFFLOAD_MODES, cr as WorkspacePhase, cs as deviceHostMachinesLock, ct as StatsRecord, d as WorktreeRow, da as parseHostedChoice, dc as parseSince, di as BUILD_HISTORY_LIMIT, dl as RepoRecord, dn as BuildMissChange, do as RemoteDeviceBackend, dr as WorktreeGit, ds as diskUsageWalkClaims, dt as decodeStats, ea as HostedDeviceSession, ec as QueryCriteria, ei as hostedAndroidDeviceName, el as withConfigLockAsync, en as AndroidRuntimeFacts, eo as validHostedAppBlob, er as StatusPayload, es as buildMachinesFile, et as RunEstimates, f as statusViews, fa as parseHostedDevice, fc as planLogQuery, fi as DEVICE_IDLE_SHUTDOWN_KEY, fl as SettingsObject, fn as BuildMissReason, fo as SETTINGS, fr as WorktreePullRequest, fs as easMachineStateRoot, ft as findProjectRoot, g as isJournalExpired, ga as parseHostedPlatformDevice, gc as readLogTimeline, gi as DevServerStopRequest, gl as BuildMachineCredential, gn as BuildPlatform, go as SettingEntry, gr as MacosProcess, gs as getConfigPath, gt as readStats, h as SetupJournal, ha as parseHostedOfferRequest, hc as readLogRecords, hi as DevServerStopRecord, hl as clientIdentity, hn as BuildPlanPayload, ho as SettingDefinition, hr as MacosBuild, hs as emulatorLogFile, ht as readRunEstimates, i as ArchivedSummary, ia as assertHostedDeviceLedger, ic as bundleMarkerPlatform, ii as parseHostedAndroidPlacement, il as validateAutomaticPool, in as BuildActivity, io as ANDROID_COMPILER_CACHE_CHOICES, ir as WORKSPACE_STAGE_KINDS, is as createdDevicesFile, it as StatsBucket, j as Endpoint, ja as HostedMacosPlacement, jc as readStateFile, ji as readBuildHistory, jl as SwiftpmCacheUsage, jn as LastBuildReport, jo as settingValueError, jr as MaintenanceAction, js as sharedPods, jt as agentSessionOf, k as readHostedNativeLogsCheckpoint, ka as HostedMacosChoice, kc as readJsonFile, ki as lastUseFrom, kl as machineCacheUsageFile, kn as GitChip, ko as isSensitiveReference, kr as readArchives, ks as sharedCompilationCache, kt as PullRequestCacheEntry, l as SummaryHistoryEntry, la as hostedWorkerSettleMs, lc as logFiles, li as unreadableHostedNative, ll as PlatformRecords, ln as BuildHistoryEntry, lo as OffloadMode, lr as WorkspaceStage, ls as deviceViewersDir, lt as StatsReport, m as SetupCapability, ma as parseHostedNativeOffer, mc as queryLogs, mi as DEV_SERVER_STOP_REQUEST_KEY, ml as SupervisorRecord, mn as BuildPlacement, mo as SETTING_SCOPES, mr as MacosAppState, ms as easSessionLedgerLock, mt as projectRootDirectories, n as KeyedEntities, na as HostedIosDevice, nc as attachExpoErrorContext, ni as hostedAndroidRecords, nl as automaticMachineEnabled, nn as BUILD_PHASES, no as SETTINGS_SCHEMA_URL, nr as WEB_PAGE_STATES, ns as clientIdentityKeyFile, nt as RunSample, o as SUMMARY_ARCHIVES, oa as deviceHostRoot, oc as fileSizes, oi as HostedNativePlacement, ol as Config, on as BuildCause, oo as ANDROID_PCH_CHOICES, or as WebBrowserState, os as deviceHostMachinesClaims, ot as StatsCapacityWait, p as workspaceSummary, pa as parseHostedLocalDeviceCount, pc as queryJsonLogs, pi as DEVICE_RECLAIM_REASON, pl as StimConfig, pn as BuildPhase, po as SETTING_GROUPS, pr as MacosAppRecord, ps as easSessionLedgerFile, pt as offloadSummary, q as BuildMachineTotals, qa as hostedAppBlobs, qc as getProjectSettings, qi as HostedDevice, ql as levelRank, qn as RunOutcomeKind, qo as recordedBytes, qr as hostedIosPlacements, qs as LogDir, qt as APP_PROCESS_STATES, r as applyKeyedDelta, ra as HostedNativeOffer, rc as buildCriteria, ri as hostedAndroidStatus, rl as requireAutomaticMachine, rn as BUILD_RESULTS, ro as settingsJsonSchema, rr as WORKSPACE_PHASES, rs as configLockPath, rt as STATS_VERSION, s as StatusViews, sa as hostedConsolePort, sc as followLogs, si as hostedNativeRecords, sl as DeviceRecord, sn as BuildDetail, so as IOS_SIMULATOR_APPS, sr as WebPageState, ss as deviceHostMachinesFile, st as StatsPlacement, t as KeyedDelta, ta as HostedIosChoice, tc as advanceTail, ti as hostedAndroidPlacements, tl as AutomaticPoolRole, tn as AppPresence, to as SETTINGS_SCHEMA_FILE, tr as TUTORIAL_VERSION, ts as buildMachinesLock, tt as RunHistory, u as WorkspaceSummary, ua as parseHostedAndroidDevice, uc as markerWindow, ui as BUILD_HISTORY_KEY, ul as ProjectRecord, un as BuildMissCategory, uo as REMOTE_DEVICE_BACKENDS, ur as WorktreeFacts, us as diskUsageCacheDir, ut as StatsScope, v as parseSetupJournal, va as readHostedDevice, vc as sortByTs, vi as IDLE_STOP_KEY, vl as MachineCredential, vn as BuildResult, vo as SettingType, vr as parseMacosRecord, vs as maintenanceAttemptFile, vt as statsProjectKey, w as HostedLogsCursor, wa as HostedAgentDriverName, wc as EasSessionLedgerRead, wi as WARM_KEY, wl as machineCapacity, wn as DevicePlacement, wo as WebViewport, wr as archiveEnabled, ws as pullRequestCacheDir, wt as ViewedDevice, x as agentDeviceStateDirsAsync, xa as HOSTED_AGENT_DRIVERS, xc as CreatedDevicePlatform, xi as MAINTENANCE_LOG_NAME, xl as MachineCapacity, xn as DeviceActivity, xo as TUNNEL_MODES, xr as ArchivedBytes, xs as maintenanceNdjsonFile, xt as trimSamples, y as readSetupJournal, ya as readHostedDeviceLedger, yc as tailRead, yi as IdleStopRecord, yl as parseMachineCredential, yn as BuildWaitingFor, yo as SettingWriteResult, yr as readHostedMacosApp, ys as maintenanceChildLogFile, yt as trimCapacityRefusals, z as HOSTED_METRO_GATEWAYS_KEY, za as parseHostedMacosPlacement, zc as ParkedMax, zi as readWorkspaceAgent, zl as AgentActionReaderOptions, zn as MetroBundleState, zo as RecordedSegment, zr as MaintenanceState, zs as workspaceEndedAgentsLock, zt as readDiskUsage } from "./index-_wkluvP_.mjs";
2
- export { ACTIVITY_RECENCY_BASES, AGENT_TOOLS, ANDROID_COMPILER_CACHE_CHOICES, ANDROID_EMULATOR_APPS, ANDROID_PCH_CHOICES, APP_PROCESS_STATES, ActiveBuildState, ActivityDriver, ActivityRecencyBasis, AgentActionReaderOptions, AgentDeviceUsage, AgentDeviceUsageRoots, AgentRecordSelection, AgentSession, AgentSessionsCache, AgentTarget, AgentTool, AndroidDeviceState, AndroidRuntimeFacts, AppPresence, ArchivedBytes, ArchivedSummary, ArchivedUsage, ArchivedWorkspace, AutomaticPoolRole, BUILD_HISTORY_KEY, BUILD_HISTORY_LIMIT, BUILD_PHASES, BUILD_RESULTS, BuildActivity, BuildCacheHit, BuildCause, BuildDetail, BuildDiagnostic, BuildHistoryEntry, BuildMachineCredential, BuildMachineTotals, BuildMissCategory, BuildMissChange, BuildMissReason, BuildPhase, BuildPlacement, BuildPlanPayload, BuildPlatform, BuildReport, BuildResult, BuildWaitingFor, CAPACITY_REFUSAL_LIMIT, CAPACITY_REFUSAL_MAX_AGE_MS, ChecksState, ConcurrencyLimits, Config, CreatedDevicePlatform, CreatedDevices, DEBUG_ENV, DEVICE_HOST_LIMITS, DEVICE_IDLE_SHUTDOWN_KEY, DEVICE_RECLAIM_REASON, DEV_SERVER_STOP_REQUEST_KEY, DebugLog, DevServerStopRecord, DevServerStopRequest, DeviceActivity, DeviceAppProcess, DeviceHostLimits, DeviceHostMachineCredential, DeviceIdleShutdownRecord, DeviceLeaseState, DevicePlacement, DeviceRecord, DeviceViewersRecord, DiskMeasure, DiskPressureLevel, DoctorRunRecord, ENDED_AGENT_RETENTION_MS, ERROR_SOURCES, EasSessionClaim, EasSessionLedgerRead, EndedAgentSession, Endpoint, EnvironmentDisk, EnvironmentState, GitChip, GitChipPart, HISTORY_LIMIT, HOSTED_AGENT_DRIVERS, HOSTED_APP_CHUNK_BYTES, HOSTED_LOGS_FIRST_BYTES, HOSTED_LOGS_PAGE_BYTES, HOSTED_MACOS_APP_SLOTS, HOSTED_METRO_GATEWAYS_KEY, HOSTED_METRO_REQUESTS_KEY, HOSTED_PARKED_CANDIDATES, HostedAgentAccess, HostedAgentDriverName, HostedAgentGrant, HostedAgentIssuedGrant, HostedAgentLease, HostedAndroidChoice, HostedAndroidDevice, HostedAndroidPlacement, HostedAndroidStatus, HostedAppDelivery, HostedAppFile, HostedAppLaunch, HostedAppOffer, HostedAppRecord, HostedDevice, HostedDeviceOffer, HostedDeviceOfferRequest, HostedDevicePhase, HostedDevicePlatform, HostedDeviceRequest, HostedDeviceSelectors, HostedDeviceSession, HostedIosChoice, HostedIosDevice, HostedIosPlacement, HostedIosStatus, HostedLogsCursor, HostedLogsPage, HostedMacosChoice, HostedMacosDevice, HostedMacosPlacement, HostedMetroGateway, HostedMetroRequest, HostedNativeOffer, HostedNativePlacement, IDLE_STOP_KEY, IOS_SIMULATOR_APPS, IdleStopRecord, KeyedDelta, KeyedEntities, LAST_BUILD_KEYS, LEVELS, LastBuildReport, LogDir, LogDirQuery, LogQueryOptions, LogQueryPlan, MACHINE_CREDENTIALS_VERSION, MACHINE_OWNER_KINDS, MAINTENANCE_LOG_NAME, MEMORY_SOURCES, MachineCacheUsage, MachineCapacity, MachineCredential, MachineOwner, MachineOwnerKind, MachineUsageState, MachineView, MacosAppRecord, MacosAppState, MacosBuild, MacosBuildPlanPayload, MacosProcess, MaintenanceAction, MaintenanceActionKind, MaintenanceCheck, MaintenanceMode, MaintenancePass, MaintenancePressure, MaintenanceRecord, MaintenanceSize, MaintenanceState, MaintenanceStatus, MemoryCulprit, MemorySource, MetroBundleState, MetroLastStop, NATIVE_BUILD_STEPS, NATIVE_CRASH_LOG_PREFIX, NativeBuildStep, NdjsonRecord, OFFLOAD_MODES, OffloadMode, OffloadSummary, PHYSICAL_DEVICE_CONNECTIONS, PLACEMENT_DECISIONS, ParkedMax, PhysicalDeviceConnection, PhysicalDeviceState, PlannedPhase, PlatformRecords, ProjectRecord, PullRequestCacheEntry, QueryCriteria, READY_PHASE_MS, RECORDING_CAP_BYTES, RECORDING_FOOTAGE_MS, RECORDING_PLATFORMS, REMOTE_DEVICE_BACKENDS, RUN_ID_ENV, ReadStatsResult, RecordedDevice, RecordedSegment, RecordingPlatform, RemoteDeviceBackend, RemoteDeviceState, RepoRecord, RunEstimates, RunHistory, RunOutcomeKind, RunSample, SETTINGS, SETTINGS_SCHEMA_FILE, SETTINGS_SCHEMA_URL, SETTING_GROUPS, SETTING_SCOPES, SOURCES, STATS_VERSION, STATUS_ISSUE_CODES, SUMMARY_ARCHIVES, SettingDefinition, SettingEntry, SettingScope, SettingType, SettingWriteResult, SettingsObject, SettingsPayload, SetupCapability, SetupJournal, SimRuntimeUsage, SimulatorState, StatsBucket, StatsCapacityRefusal, StatsCapacityWait, StatsPlacement, StatsPlatform, StatsRecord, StatsReport, StatsScope, StatusCacheEntry, StatusCapacity, StatusIssue, StatusIssueCode, StatusPayload, StatusViews, StimConfig, SummaryBuild, SummaryHistoryEntry, SupervisorRecord, SwiftpmCacheUsage, TAILNET_MACHINE_PATTERN, TUNNEL_MODES, TUTORIAL_VERSION, TailnetPeer, TunnelMode, ViewedDevice, WARM_KEY, WEB_PAGE_STATES, WEB_VIEWPORTS, WORKSPACE_AGENT_KEY, WORKSPACE_PHASES, WORKSPACE_STAGE_KINDS, WarmRecord, WarmStep, WebBrowserState, WebPageState, WebViewport, WorkspacePhase, WorkspaceStage, WorkspaceState, WorkspaceSummary, WorktreeFacts, WorktreeGit, WorktreePullRequest, WorktreeRow, acceptsShape, advanceTail, agentDeviceStateDirs, agentDeviceStateDirsAsync, agentDeviceUsageFile, agentSessionOf, agentSessionsCacheFile, allMetroPorts, applyKeyedDelta, archiveDir, archiveEnabled, archiveLock, archiveRoot, archivedUsage, assertHostedDeviceLedger, attachExpoErrorContext, automaticMachineEnabled, buildCriteria, buildDiagnostics, buildMachinesFile, buildMachinesLock, buildSlotPath, buildSlotsDir, buildWorkerRoot, bundleMarkerPlatform, cannotHost, capDrops, clientIdentity, clientIdentityKeyFile, closedSegmentName, coerceSettingText, compileGrep, configCorruptRepair, configLockPath, countErrorEntries, createAgentActionReader, createAsyncAgentActionReader, createDebugLog, createdDevicesFile, createdDevicesLock, debugLogDir, debugLoggingEnabled, decodeStats, deviceHostArea, deviceHostMachinesClaims, deviceHostMachinesFile, deviceHostMachinesLock, deviceHostRoot, deviceViewersDir, diskUsageCacheDir, diskUsageCacheFile, diskUsageFailureFile, diskUsageWalkClaims, easMachineStateRoot, easSessionLedgerFile, easSessionLedgerLock, emulatorLogFile, endedAgentSessionOf, endpoint, expectedShape, fileSizes, findEnclosingWorktreeRoot, findPeer, findProjectRoot, followLogs, footageDrops, getConcurrencyLimits, getConfigPath, getParkedMax, getProject, getProjectSettings, getRepoSettings, gitMergeCacheDir, hostedAgentDriverName, hostedAndroidDeviceName, hostedAndroidPlacements, hostedAndroidRecords, hostedAndroidStatus, hostedAppArea, hostedAppAttempt, hostedAppBlobs, hostedConsolePort, hostedDeviceId, hostedIosPlacements, hostedIosRecords, hostedIosStatus, hostedMacosAppSlot, hostedMacosBundleId, hostedMacosLogsDir, hostedMetroGateways, hostedMetroRequests, hostedNativeLogsDir, hostedNativeRecords, hostedWorkerSettleMs, isExpoErrorContext, isJournalExpired, isJsonObject, isLayeredSetting, isPathPrefix, isSensitiveReference, isSetupJournalPrunable, lastUseFrom, levelRank, linkReplacedArchives, listRecordedDevices, listSegments, listStatusCacheEntries, loadConfig, logFiles, machineCacheUsageFile, machineCapacity, machineEndpoint, macosAppState, maintenanceAttemptFile, maintenanceChildLogFile, maintenanceDir, maintenanceNdjsonFile, maintenanceRunClaims, maintenanceStateFile, markerWindow, offloadSummary, openLogDir, openSegmentName, parseHostedAgentAccess, parseHostedAgentGrant, parseHostedAndroidDevice, parseHostedAndroidPlacement, parseHostedAppManifest, parseHostedAppOffer, parseHostedChoice, parseHostedDevice, parseHostedIosPlacement, parseHostedLocalDeviceCount, parseHostedLogsCursor, parseHostedMacosChoice, parseHostedMacosDevice, parseHostedMacosPlacement, parseHostedNativeOffer, parseHostedNativePlacement, parseHostedOfferRequest, parseHostedPlatformDevice, parseHostedRequest, parseMachine, parseMachineCredential, parseMacosRecord, parseMaintenanceState, parseMissReason, parseNdjsonLine, parseNdjsonText, parseSetupJournal, parseSince, planLogQuery, projectRootDirectories, pullRequestCacheDir, pullRequestCacheFile, queryJsonLogs, queryLogs, readAgentDeviceUsage, readAgentDeviceUsageCache, readAgentSessionsCache, readArchive, readArchiveState, readArchives, readBuildDetail, readBuildHistory, readBuildMachines, readCreatedDevices, readDevServerStop, readDevServerStopRequest, readDeviceHostMachines, readDeviceIdleShutdowns, readDevicePlacement, readDiskUsage, readDiskUsageFailure, readEasSessionLedger, readEndedAgentSessions, readHomeIdentity, readHostedApp, readHostedAppMetadata, readHostedDevice, readHostedDeviceLedger, readHostedMacosApp, readHostedNativeLogsCheckpoint, readHostedSessions, readIdleStop, readJsonFile, readJsonObject, readLastBuilds, readLogRecords, readLogTimeline, readLogsSince, readMachineCacheUsage, readMacosRecord, readMaintenanceAttempt, readMaintenanceState, readNdjsonGenerations, readPullRequestCache, readRunEstimates, readSetupJournal, readStateFile, readStats, readStatsReport, readSwiftpmCacheUsage, readViewedDevices, readWarmRecord, readWorkspaceAgent, readWorkspaceState, recordMatches, recordedBytes, recordingDeviceName, recordingEnabled, rememberHostedAppBlobRename, requireAutomaticMachine, runId, saturation, serverLocalSocket, serverSetupDir, settingDefinition, settingValueError, settingsJsonSchema, setupJournalFile, sharedCcache, sharedCompilationCache, sharedGradle, sharedPods, sortByTs, statsFile, statsProjectKey, statusViews, stimBuildDigest, supervisorLogFile, supervisorPidFile, swiftpmCacheUsageFile, tailRead, trimCapacityRefusals, trimCapacityWaits, trimSamples, tryAcquireBuildSlotClaim, unreadableHostedAndroid, unreadableHostedIos, unreadableHostedNative, validEasSessionClaim, validHostedAppArguments, validHostedAppBlob, validRunId, validateAutomaticPool, wholePhases, windowsShortDir, windowsShortDirKey, withConfigLock, withConfigLockAsync, withDerivedFacts, withGitChip, withStateReadCache, workspaceAgentDeviceDir, workspaceBuildDetailFile, workspaceDerivedData, workspaceEndedAgentsFile, workspaceEndedAgentsLock, workspaceGradleBuild, workspaceLastUsed, workspaceLogErrorIndex, workspaceLogsDir, workspaceMetadataFile, workspaceRecordingsDir, workspaceStateFile, workspaceStateLock, workspaceSummary };
1
+ import { $ as ReadStatsResult, $a as readHostedAppMetadata, $c as isPathPrefix, $i as HostedDevicePlatform, $l as parseNdjsonText, $n as StatusIssueCode, $o as recordingEnabled, $r as unreadableHostedIos, $s as openLogDir, $t as AndroidDeviceState, A as readLogsSince, Aa as HostedAppLaunch, Ac as readEasSessionLedger, Ai as buildDiagnostics, Al as tryAcquireBuildSlotClaim, An as GitChipPart, Ao as isLayeredSetting, Ar as readArchives, As as serverSetupDir, At as StatusCacheEntry, B as HOSTED_METRO_REQUESTS_KEY, Ba as parseHostedMacosDevice, Bc as createDebugLog, Bi as readWarmRecord, Bl as agentDeviceUsageFile, Bn as NATIVE_BUILD_STEPS, Bo as RecordedDevice, Br as MaintenanceSize, Bs as workspaceBuildDetailFile, Bt as readDiskUsageFailure, C as HOSTED_LOGS_PAGE_BYTES, Ca as HOSTED_AGENT_DRIVERS, Cc as tailRead, Ci as MAINTENANCE_LOG_NAME, Cl as parseMachineCredential, Cn as DeviceLeaseState, Co as TUNNEL_MODES, Cr as ArchivedWorkspace, Cs as maintenanceChildLogFile, Ct as DeviceViewersRecord, D as hostedNativeLogsDir, Da as HostedAgentGrant, Dc as EasSessionClaim, Di as WORKSPACE_AGENT_KEY, Dl as buildSlotsDir, Dn as EnvironmentDisk, Do as acceptsShape, Dr as readArchive, Ds as maintenanceStateFile, Dt as AgentSessionsCache, E as hostedMacosLogsDir, Ea as HostedAgentDriverName, Ec as CreatedDevices, Ei as WARM_KEY, El as buildSlotPath, En as EndedAgentSession, Eo as WebViewport, Er as linkReplacedArchives, Es as maintenanceRunClaims, Et as stimBuildDigest, F as endpoint, Fa as hostedMacosAppSlot, Fc as readStateFile, Fi as readDevServerStopRequest, Fl as SwiftpmCacheUsage, Fn as MachineOwnerKind, Fo as runId, Fr as MaintenanceCheck, Fs as sharedPods, Ft as listStatusCacheEntries, G as DeviceHostMachineCredential, Ga as HostedAppOffer, Gc as buildWorkerRoot, Gi as DeviceHostLimits, Gl as AgentTarget, Gn as PlannedPhase, Go as footageDrops, Gr as readMaintenanceAttempt, Gs as workspaceLogErrorIndex, Gt as ACTIVITY_RECENCY_BASES, H as HostedMetroRequest, Ha as HOSTED_APP_CHUNK_BYTES, Hc as debugLoggingEnabled, Hi as readWorkspaceState, Hl as readAgentDeviceUsageCache, Hn as PHYSICAL_DEVICE_CONNECTIONS, Ho as RecordingPlatform, Hr as MaintenanceStatus, Hs as workspaceEndedAgentsFile, Ht as readPullRequestCache, I as findPeer, Ia as hostedMacosBundleId, Ic as withStateReadCache, Ii as readDeviceIdleShutdowns, Il as readSwiftpmCacheUsage, In as MachineUsageState, Io as validRunId, Ir as MaintenanceMode, Is as statsFile, It as pullRequestCacheFile, J as CAPACITY_REFUSAL_LIMIT, Ja as hostedAppAttempt, Jc as getConcurrencyLimits, Ji as HostedAndroidDevice, Jl as LEVELS, Jn as STATUS_ISSUE_CODES, Jo as listSegments, Jr as HostedIosStatus, Js as workspaceRecordingsDir, Jt as ActiveBuildState, K as readDeviceHostMachines, Ka as HostedAppRecord, Kc as configCorruptRepair, Ki as HOSTED_PARKED_CANDIDATES, Kl as createAgentActionReader, Kn as RemoteDeviceState, Ko as listRecordedDevices, Kr as readMaintenanceState, Ks as workspaceLogsDir, Kt as AGENT_TOOLS, L as machineEndpoint, La as parseHostedAgentAccess, Lc as readHomeIdentity, Li as readDevicePlacement, Ll as swiftpmCacheUsageFile, Ln as MacosBuildPlanPayload, Lo as RECORDING_CAP_BYTES, Lr as MaintenancePass, Ls as supervisorLogFile, Lt as readAgentSessionsCache, M as TAILNET_MACHINE_PATTERN, Ma as HostedMacosDevice, Mc as isJsonObject, Mi as parseMissReason, Ml as SimRuntimeUsage, Mn as MACHINE_OWNER_KINDS, Mo as settingDefinition, Mr as DiskPressureLevel, Ms as sharedCcache, Mt as diskUsageCacheFile, N as TailnetPeer, Na as HostedMacosPlacement, Nc as readJsonFile, Ni as readBuildHistory, Nl as machineCacheUsageFile, Nn as MEMORY_SOURCES, No as settingValueError, Nr as MaintenanceAction, Ns as sharedCompilationCache, Nt as diskUsageFailureFile, O as parseHostedLogsCursor, Oa as HostedAgentIssuedGrant, Oc as EasSessionLedgerRead, Oi as WarmRecord, Ol as machineCapacity, On as EnvironmentState, Oo as coerceSettingText, Or as readArchiveAsync, Os as pullRequestCacheDir, Ot as ENDED_AGENT_RETENTION_MS, P as cannotHost, Pa as hostedAgentDriverName, Pc as readJsonObject, Pi as readDevServerStop, Pl as readMachineCacheUsage, Pn as MachineOwner, Po as RUN_ID_ENV, Pr as MaintenanceActionKind, Ps as sharedGradle, Pt as endedAgentSessionOf, Q as PLACEMENT_DECISIONS, Qa as readHostedApp, Qc as getRepoSettings, Qi as HostedDevicePhase, Ql as parseNdjsonLine, Qn as StatusIssue, Qo as recordingDeviceName, Qr as parseHostedIosPlacement, Qs as LogDirQuery, Qt as AgentTool, R as parseMachine, Ra as parseHostedAgentGrant, Rc as DEBUG_ENV, Ri as readIdleStop, Rl as AgentDeviceUsage, Rn as MemorySource, Ro as RECORDING_FOOTAGE_MS, Rr as MaintenancePressure, Rs as supervisorPidFile, Rt as readBuildDetail, S as HOSTED_LOGS_FIRST_BYTES, Sa as readHostedSessions, Sc as sortByTs, Si as LAST_BUILD_KEYS, Sl as MachineCredential, Sn as DeviceAppProcess, So as SettingsPayload, Sr as ArchivedUsage, Ss as maintenanceAttemptFile, St as wholePhases, T as HostedLogsPage, Ta as HostedAgentAccess, Tc as CreatedDevicePlatform, Ti as READY_PHASE_MS, Tl as MachineCapacity, Tn as DiskMeasure, To as WEB_VIEWPORTS, Tr as archivedUsage, Ts as maintenanceNdjsonFile, Tt as readViewedDevices, U as hostedMetroGateways, Ua as HostedAppDelivery, Uc as ParkedMax, Ui as workspaceLastUsed, Ul as AgentActionReaderOptions, Un as PhysicalDeviceConnection, Uo as capDrops, Ur as MemoryCulprit, Us as workspaceEndedAgentsLock, Ut as withDerivedFacts, V as HostedMetroGateway, Va as parseHostedMacosPlacement, Vc as debugLogDir, Vi as readWorkspaceAgent, Vl as readAgentDeviceUsage, Vn as NativeBuildStep, Vo as RecordedSegment, Vr as MaintenanceState, Vs as workspaceDerivedData, Vt as readEndedAgentSessions, W as hostedMetroRequests, Wa as HostedAppFile, Wc as allMetroPorts, Wi as DEVICE_HOST_LIMITS, Wl as AgentRecordSelection, Wn as PhysicalDeviceState, Wo as closedSegmentName, Wr as parseMaintenanceState, Ws as workspaceGradleBuild, Wt as withGitChip, X as HISTORY_LIMIT, Xa as parseHostedAppManifest, Xc as getProject, Xi as HostedDeviceOffer, Xl as SOURCES, Xn as StatsPlatform, Xo as openSegmentName, Xr as hostedIosRecords, Xs as workspaceStateLock, Xt as ActivityRecencyBasis, Y as CAPACITY_REFUSAL_MAX_AGE_MS, Ya as hostedAppBlobs, Yc as getParkedMax, Yi as HostedDevice, Yl as NdjsonRecord, Yn as SimulatorState, Yo as listSegmentsAsync, Yr as hostedIosPlacements, Ys as workspaceStateFile, Yt as ActivityDriver, Z as OffloadSummary, Za as parseHostedAppOffer, Zc as getProjectSettings, Zi as HostedDeviceOfferRequest, Zl as levelRank, Zn as StatusCapacity, Zo as recordedBytes, Zr as hostedIosStatus, Zs as LogDir, Zt as AgentSession, _ as isSetupJournalPrunable, _a as parseHostedOfferRequest, _c as queryJsonLogs, _i as DevServerStopRecord, _l as StimConfig, _n as BuildReport, _o as SettingDefinition, _r as macosAppState, _s as easSessionLedgerFile, _t as readStatsReport, a as MachineView, aa as HostedNativeOffer, ac as advanceTail, ai as hostedAndroidStatus, al as AutomaticPoolRole, an as BuildCacheHit, ao as settingsJsonSchema, ar as WarmStep, as as buildMachinesLock, at as StatsCapacityRefusal, b as agentDeviceStateDirs, ba as readHostedDevice, bc as readLogTimeline, bi as IDLE_STOP_KEY, bl as BuildMachineCredential, bn as ChecksState, bo as SettingType, br as readMacosRecord, bs as getConfigPath, bt as trimCapacityWaits, c as SummaryBuild, ca as deviceHostRoot, cc as bundleMarkerPlatform, ci as HostedNativePlacement, cl as validateAutomaticPool, cn as BuildDiagnostic, co as ANDROID_PCH_CHOICES, cr as WorkspacePhase, cs as createdDevicesFile, ct as StatsRecord, d as WorktreeRow, da as hostedWorkerSettleMs, dc as followLogs, di as unreadableHostedNative, dl as DeviceRecord, dn as BuildMissChange, do as OffloadMode, dr as WorktreeGit, ds as deviceHostMachinesFile, dt as decodeStats, ea as HostedDeviceRequest, ec as ERROR_SOURCES, ei as HostedAndroidPlacement, el as loadConfig, en as AndroidRuntimeFacts, eo as rememberHostedAppBlobRename, er as StatusPayload, es as agentSessionsCacheFile, et as RunEstimates, eu as readNdjsonGenerations, f as statusViews, fa as parseHostedAndroidDevice, fc as isExpoErrorContext, fi as BUILD_HISTORY_KEY, fl as DoctorRunRecord, fn as BuildMissReason, fo as REMOTE_DEVICE_BACKENDS, fr as WorktreePullRequest, fs as deviceHostMachinesLock, ft as findProjectRoot, g as isJournalExpired, ga as parseHostedNativeOffer, gc as planLogQuery, gi as DEV_SERVER_STOP_REQUEST_KEY, gl as SettingsObject, gn as BuildPlatform, go as SETTING_SCOPES, gr as MacosProcess, gs as easMachineStateRoot, gt as readStats, h as SetupJournal, ha as parseHostedLocalDeviceCount, hc as parseSince, hi as DEVICE_RECLAIM_REASON, hl as RepoRecord, hn as BuildPlanPayload, ho as SETTING_GROUPS, hr as MacosBuild, hs as diskUsageWalkClaims, ht as readRunEstimates, i as ArchivedSummary, ia as HostedIosDevice, ic as QueryCriteria, ii as hostedAndroidRecords, il as withConfigLockAsync, in as BuildActivity, io as SETTINGS_SCHEMA_URL, ir as WORKSPACE_STAGE_KINDS, is as buildMachinesFile, it as StatsBucket, j as Endpoint, ja as HostedMacosChoice, jc as validEasSessionClaim, ji as lastUseFrom, jl as MachineCacheUsage, jn as LastBuildReport, jo as isSensitiveReference, jr as readArchivesAsync, js as setupJournalFile, jt as agentSessionOf, k as readHostedNativeLogsCheckpoint, ka as HostedAgentLease, kc as readCreatedDevices, ki as WorkspaceState, kl as saturation, kn as GitChip, ko as expectedShape, kr as readArchiveState, ks as serverLocalSocket, kt as PullRequestCacheEntry, l as SummaryHistoryEntry, la as hostedConsolePort, lc as compileGrep, li as hostedNativeRecords, ll as ConcurrencyLimits, ln as BuildHistoryEntry, lo as IOS_SIMULATOR_APPS, lr as WorkspaceStage, ls as createdDevicesLock, lt as StatsReport, m as SetupCapability, ma as parseHostedDevice, mc as markerWindow, mi as DEVICE_IDLE_SHUTDOWN_KEY, ml as ProjectRecord, mn as BuildPlacement, mo as SETTINGS, mr as MacosAppState, ms as diskUsageCacheDir, mt as projectRootDirectories, n as KeyedEntities, na as HostedDeviceSession, nc as LogQueryPlan, ni as hostedAndroidDeviceName, nl as windowsShortDirKey, nn as BUILD_PHASES, no as validHostedAppBlob, nr as WEB_PAGE_STATES, ns as archiveLock, nt as RunSample, o as SUMMARY_ARCHIVES, oa as assertHostedDeviceLedger, oc as attachExpoErrorContext, oi as parseHostedAndroidPlacement, ol as automaticMachineEnabled, on as BuildCause, oo as ANDROID_COMPILER_CACHE_CHOICES, or as WebBrowserState, os as clientIdentityKeyFile, ot as StatsCapacityWait, p as workspaceSummary, pa as parseHostedChoice, pc as logFiles, pi as BUILD_HISTORY_LIMIT, pl as PlatformRecords, pn as BuildPhase, po as RemoteDeviceBackend, pr as MacosAppRecord, ps as deviceViewersDir, pt as offloadSummary, q as BuildMachineTotals, qa as hostedAppArea, qc as findEnclosingWorktreeRoot, qi as HostedAndroidChoice, ql as createAsyncAgentActionReader, qn as RunOutcomeKind, qo as listRecordedDevicesAsync, qr as HostedIosPlacement, qs as workspaceMetadataFile, qt as APP_PROCESS_STATES, r as applyKeyedDelta, ra as HostedIosChoice, rc as NATIVE_CRASH_LOG_PREFIX, ri as hostedAndroidPlacements, rl as withConfigLock, rn as BUILD_RESULTS, ro as SETTINGS_SCHEMA_FILE, rr as WORKSPACE_PHASES, rs as archiveRoot, rt as STATS_VERSION, s as StatusViews, sa as deviceHostArea, sc as buildCriteria, si as unreadableHostedAndroid, sl as requireAutomaticMachine, sn as BuildDetail, so as ANDROID_EMULATOR_APPS, sr as WebPageState, ss as configLockPath, st as StatsPlacement, t as KeyedDelta, ta as HostedDeviceSelectors, tc as LogQueryOptions, ti as HostedAndroidStatus, tl as windowsShortDir, tn as AppPresence, to as validHostedAppArguments, tr as TUTORIAL_VERSION, ts as archiveDir, tt as RunHistory, u as WorkspaceSummary, ua as hostedDeviceId, uc as fileSizes, ui as parseHostedNativePlacement, ul as Config, un as BuildMissCategory, uo as OFFLOAD_MODES, ur as WorktreeFacts, us as deviceHostMachinesClaims, ut as StatsScope, v as parseSetupJournal, va as parseHostedPlatformDevice, vc as queryLogs, vi as DevServerStopRequest, vl as SupervisorRecord, vn as BuildResult, vo as SettingEntry, vr as parseMacosRecord, vs as easSessionLedgerLock, vt as statsProjectKey, w as HostedLogsCursor, wa as HOSTED_MACOS_APP_SLOTS, wc as countErrorEntries, wi as MetroLastStop, wl as readBuildMachines, wn as DevicePlacement, wo as TunnelMode, wr as archiveEnabled, ws as maintenanceDir, wt as ViewedDevice, x as agentDeviceStateDirsAsync, xa as readHostedDeviceLedger, xc as recordMatches, xi as IdleStopRecord, xl as MACHINE_CREDENTIALS_VERSION, xn as DeviceActivity, xo as SettingWriteResult, xr as ArchivedBytes, xs as gitMergeCacheDir, xt as trimSamples, y as readSetupJournal, ya as parseHostedRequest, yc as readLogRecords, yi as DeviceIdleShutdownRecord, yl as clientIdentity, yn as BuildWaitingFor, yo as SettingScope, yr as readHostedMacosApp, ys as emulatorLogFile, yt as trimCapacityRefusals, z as HOSTED_METRO_GATEWAYS_KEY, za as parseHostedMacosChoice, zc as DebugLog, zi as readLastBuilds, zl as AgentDeviceUsageRoots, zn as MetroBundleState, zo as RECORDING_PLATFORMS, zr as MaintenanceRecord, zs as workspaceAgentDeviceDir, zt as readDiskUsage } from "./index-DKq1j8dw.mjs";
2
+ export { ACTIVITY_RECENCY_BASES, AGENT_TOOLS, ANDROID_COMPILER_CACHE_CHOICES, ANDROID_EMULATOR_APPS, ANDROID_PCH_CHOICES, APP_PROCESS_STATES, ActiveBuildState, ActivityDriver, ActivityRecencyBasis, AgentActionReaderOptions, AgentDeviceUsage, AgentDeviceUsageRoots, AgentRecordSelection, AgentSession, AgentSessionsCache, AgentTarget, AgentTool, AndroidDeviceState, AndroidRuntimeFacts, AppPresence, ArchivedBytes, ArchivedSummary, ArchivedUsage, ArchivedWorkspace, AutomaticPoolRole, BUILD_HISTORY_KEY, BUILD_HISTORY_LIMIT, BUILD_PHASES, BUILD_RESULTS, BuildActivity, BuildCacheHit, BuildCause, BuildDetail, BuildDiagnostic, BuildHistoryEntry, BuildMachineCredential, BuildMachineTotals, BuildMissCategory, BuildMissChange, BuildMissReason, BuildPhase, BuildPlacement, BuildPlanPayload, BuildPlatform, BuildReport, BuildResult, BuildWaitingFor, CAPACITY_REFUSAL_LIMIT, CAPACITY_REFUSAL_MAX_AGE_MS, ChecksState, ConcurrencyLimits, Config, CreatedDevicePlatform, CreatedDevices, DEBUG_ENV, DEVICE_HOST_LIMITS, DEVICE_IDLE_SHUTDOWN_KEY, DEVICE_RECLAIM_REASON, DEV_SERVER_STOP_REQUEST_KEY, DebugLog, DevServerStopRecord, DevServerStopRequest, DeviceActivity, DeviceAppProcess, DeviceHostLimits, DeviceHostMachineCredential, DeviceIdleShutdownRecord, DeviceLeaseState, DevicePlacement, DeviceRecord, DeviceViewersRecord, DiskMeasure, DiskPressureLevel, DoctorRunRecord, ENDED_AGENT_RETENTION_MS, ERROR_SOURCES, EasSessionClaim, EasSessionLedgerRead, EndedAgentSession, Endpoint, EnvironmentDisk, EnvironmentState, GitChip, GitChipPart, HISTORY_LIMIT, HOSTED_AGENT_DRIVERS, HOSTED_APP_CHUNK_BYTES, HOSTED_LOGS_FIRST_BYTES, HOSTED_LOGS_PAGE_BYTES, HOSTED_MACOS_APP_SLOTS, HOSTED_METRO_GATEWAYS_KEY, HOSTED_METRO_REQUESTS_KEY, HOSTED_PARKED_CANDIDATES, HostedAgentAccess, HostedAgentDriverName, HostedAgentGrant, HostedAgentIssuedGrant, HostedAgentLease, HostedAndroidChoice, HostedAndroidDevice, HostedAndroidPlacement, HostedAndroidStatus, HostedAppDelivery, HostedAppFile, HostedAppLaunch, HostedAppOffer, HostedAppRecord, HostedDevice, HostedDeviceOffer, HostedDeviceOfferRequest, HostedDevicePhase, HostedDevicePlatform, HostedDeviceRequest, HostedDeviceSelectors, HostedDeviceSession, HostedIosChoice, HostedIosDevice, HostedIosPlacement, HostedIosStatus, HostedLogsCursor, HostedLogsPage, HostedMacosChoice, HostedMacosDevice, HostedMacosPlacement, HostedMetroGateway, HostedMetroRequest, HostedNativeOffer, HostedNativePlacement, IDLE_STOP_KEY, IOS_SIMULATOR_APPS, IdleStopRecord, KeyedDelta, KeyedEntities, LAST_BUILD_KEYS, LEVELS, LastBuildReport, LogDir, LogDirQuery, LogQueryOptions, LogQueryPlan, MACHINE_CREDENTIALS_VERSION, MACHINE_OWNER_KINDS, MAINTENANCE_LOG_NAME, MEMORY_SOURCES, MachineCacheUsage, MachineCapacity, MachineCredential, MachineOwner, MachineOwnerKind, MachineUsageState, MachineView, MacosAppRecord, MacosAppState, MacosBuild, MacosBuildPlanPayload, MacosProcess, MaintenanceAction, MaintenanceActionKind, MaintenanceCheck, MaintenanceMode, MaintenancePass, MaintenancePressure, MaintenanceRecord, MaintenanceSize, MaintenanceState, MaintenanceStatus, MemoryCulprit, MemorySource, MetroBundleState, MetroLastStop, NATIVE_BUILD_STEPS, NATIVE_CRASH_LOG_PREFIX, NativeBuildStep, NdjsonRecord, OFFLOAD_MODES, OffloadMode, OffloadSummary, PHYSICAL_DEVICE_CONNECTIONS, PLACEMENT_DECISIONS, ParkedMax, PhysicalDeviceConnection, PhysicalDeviceState, PlannedPhase, PlatformRecords, ProjectRecord, PullRequestCacheEntry, QueryCriteria, READY_PHASE_MS, RECORDING_CAP_BYTES, RECORDING_FOOTAGE_MS, RECORDING_PLATFORMS, REMOTE_DEVICE_BACKENDS, RUN_ID_ENV, ReadStatsResult, RecordedDevice, RecordedSegment, RecordingPlatform, RemoteDeviceBackend, RemoteDeviceState, RepoRecord, RunEstimates, RunHistory, RunOutcomeKind, RunSample, SETTINGS, SETTINGS_SCHEMA_FILE, SETTINGS_SCHEMA_URL, SETTING_GROUPS, SETTING_SCOPES, SOURCES, STATS_VERSION, STATUS_ISSUE_CODES, SUMMARY_ARCHIVES, SettingDefinition, SettingEntry, SettingScope, SettingType, SettingWriteResult, SettingsObject, SettingsPayload, SetupCapability, SetupJournal, SimRuntimeUsage, SimulatorState, StatsBucket, StatsCapacityRefusal, StatsCapacityWait, StatsPlacement, StatsPlatform, StatsRecord, StatsReport, StatsScope, StatusCacheEntry, StatusCapacity, StatusIssue, StatusIssueCode, StatusPayload, StatusViews, StimConfig, SummaryBuild, SummaryHistoryEntry, SupervisorRecord, SwiftpmCacheUsage, TAILNET_MACHINE_PATTERN, TUNNEL_MODES, TUTORIAL_VERSION, TailnetPeer, TunnelMode, ViewedDevice, WARM_KEY, WEB_PAGE_STATES, WEB_VIEWPORTS, WORKSPACE_AGENT_KEY, WORKSPACE_PHASES, WORKSPACE_STAGE_KINDS, WarmRecord, WarmStep, WebBrowserState, WebPageState, WebViewport, WorkspacePhase, WorkspaceStage, WorkspaceState, WorkspaceSummary, WorktreeFacts, WorktreeGit, WorktreePullRequest, WorktreeRow, acceptsShape, advanceTail, agentDeviceStateDirs, agentDeviceStateDirsAsync, agentDeviceUsageFile, agentSessionOf, agentSessionsCacheFile, allMetroPorts, applyKeyedDelta, archiveDir, archiveEnabled, archiveLock, archiveRoot, archivedUsage, assertHostedDeviceLedger, attachExpoErrorContext, automaticMachineEnabled, buildCriteria, buildDiagnostics, buildMachinesFile, buildMachinesLock, buildSlotPath, buildSlotsDir, buildWorkerRoot, bundleMarkerPlatform, cannotHost, capDrops, clientIdentity, clientIdentityKeyFile, closedSegmentName, coerceSettingText, compileGrep, configCorruptRepair, configLockPath, countErrorEntries, createAgentActionReader, createAsyncAgentActionReader, createDebugLog, createdDevicesFile, createdDevicesLock, debugLogDir, debugLoggingEnabled, decodeStats, deviceHostArea, deviceHostMachinesClaims, deviceHostMachinesFile, deviceHostMachinesLock, deviceHostRoot, deviceViewersDir, diskUsageCacheDir, diskUsageCacheFile, diskUsageFailureFile, diskUsageWalkClaims, easMachineStateRoot, easSessionLedgerFile, easSessionLedgerLock, emulatorLogFile, endedAgentSessionOf, endpoint, expectedShape, fileSizes, findEnclosingWorktreeRoot, findPeer, findProjectRoot, followLogs, footageDrops, getConcurrencyLimits, getConfigPath, getParkedMax, getProject, getProjectSettings, getRepoSettings, gitMergeCacheDir, hostedAgentDriverName, hostedAndroidDeviceName, hostedAndroidPlacements, hostedAndroidRecords, hostedAndroidStatus, hostedAppArea, hostedAppAttempt, hostedAppBlobs, hostedConsolePort, hostedDeviceId, hostedIosPlacements, hostedIosRecords, hostedIosStatus, hostedMacosAppSlot, hostedMacosBundleId, hostedMacosLogsDir, hostedMetroGateways, hostedMetroRequests, hostedNativeLogsDir, hostedNativeRecords, hostedWorkerSettleMs, isExpoErrorContext, isJournalExpired, isJsonObject, isLayeredSetting, isPathPrefix, isSensitiveReference, isSetupJournalPrunable, lastUseFrom, levelRank, linkReplacedArchives, listRecordedDevices, listRecordedDevicesAsync, listSegments, listSegmentsAsync, listStatusCacheEntries, loadConfig, logFiles, machineCacheUsageFile, machineCapacity, machineEndpoint, macosAppState, maintenanceAttemptFile, maintenanceChildLogFile, maintenanceDir, maintenanceNdjsonFile, maintenanceRunClaims, maintenanceStateFile, markerWindow, offloadSummary, openLogDir, openSegmentName, parseHostedAgentAccess, parseHostedAgentGrant, parseHostedAndroidDevice, parseHostedAndroidPlacement, parseHostedAppManifest, parseHostedAppOffer, parseHostedChoice, parseHostedDevice, parseHostedIosPlacement, parseHostedLocalDeviceCount, parseHostedLogsCursor, parseHostedMacosChoice, parseHostedMacosDevice, parseHostedMacosPlacement, parseHostedNativeOffer, parseHostedNativePlacement, parseHostedOfferRequest, parseHostedPlatformDevice, parseHostedRequest, parseMachine, parseMachineCredential, parseMacosRecord, parseMaintenanceState, parseMissReason, parseNdjsonLine, parseNdjsonText, parseSetupJournal, parseSince, planLogQuery, projectRootDirectories, pullRequestCacheDir, pullRequestCacheFile, queryJsonLogs, queryLogs, readAgentDeviceUsage, readAgentDeviceUsageCache, readAgentSessionsCache, readArchive, readArchiveAsync, readArchiveState, readArchives, readArchivesAsync, readBuildDetail, readBuildHistory, readBuildMachines, readCreatedDevices, readDevServerStop, readDevServerStopRequest, readDeviceHostMachines, readDeviceIdleShutdowns, readDevicePlacement, readDiskUsage, readDiskUsageFailure, readEasSessionLedger, readEndedAgentSessions, readHomeIdentity, readHostedApp, readHostedAppMetadata, readHostedDevice, readHostedDeviceLedger, readHostedMacosApp, readHostedNativeLogsCheckpoint, readHostedSessions, readIdleStop, readJsonFile, readJsonObject, readLastBuilds, readLogRecords, readLogTimeline, readLogsSince, readMachineCacheUsage, readMacosRecord, readMaintenanceAttempt, readMaintenanceState, readNdjsonGenerations, readPullRequestCache, readRunEstimates, readSetupJournal, readStateFile, readStats, readStatsReport, readSwiftpmCacheUsage, readViewedDevices, readWarmRecord, readWorkspaceAgent, readWorkspaceState, recordMatches, recordedBytes, recordingDeviceName, recordingEnabled, rememberHostedAppBlobRename, requireAutomaticMachine, runId, saturation, serverLocalSocket, serverSetupDir, settingDefinition, settingValueError, settingsJsonSchema, setupJournalFile, sharedCcache, sharedCompilationCache, sharedGradle, sharedPods, sortByTs, statsFile, statsProjectKey, statusViews, stimBuildDigest, supervisorLogFile, supervisorPidFile, swiftpmCacheUsageFile, tailRead, trimCapacityRefusals, trimCapacityWaits, trimSamples, tryAcquireBuildSlotClaim, unreadableHostedAndroid, unreadableHostedIos, unreadableHostedNative, validEasSessionClaim, validHostedAppArguments, validHostedAppBlob, validRunId, validateAutomaticPool, wholePhases, windowsShortDir, windowsShortDirKey, withConfigLock, withConfigLockAsync, withDerivedFacts, withGitChip, withStateReadCache, workspaceAgentDeviceDir, workspaceBuildDetailFile, workspaceDerivedData, workspaceEndedAgentsFile, workspaceEndedAgentsLock, workspaceGradleBuild, workspaceLastUsed, workspaceLogErrorIndex, workspaceLogsDir, workspaceMetadataFile, workspaceRecordingsDir, workspaceStateFile, workspaceStateLock, workspaceSummary };
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-DHUs_Dir.mjs";
2
2
  import { inspectProcessIdentity } from "./process-identity.mjs";
3
- import { C as workspaceName, G as withStateReadCache, H as readJsonFile, K as withDirLock, L as ambientContext, R as ambientEnv, T as workspaceStateDir, U as readJsonObject, V as isJsonObject, W as readStateFile, _ as rotatedLogPath, d as ensurePrivateDir, g as rotateLog, q as withDirLockAsync, t as LOG_ROTATE_BYTES, u as configDir } from "./core-DisO3hs1.mjs";
3
+ import { C as workspaceName, H as ambientContext, J as readJsonObject, K as isJsonObject, Q as withDirLockAsync, T as workspaceStateDir, U as ambientEnv, X as withStateReadCache, Y as readStateFile, Z as withDirLock, _ as rotatedLogPath, d as ensurePrivateDir, g as rotateLog, q as readJsonFile, t as LOG_ROTATE_BYTES, u as configDir } from "./core-BTsCO1nW.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";
@@ -9,7 +9,7 @@ import { availableParallelism, homedir, loadavg } from "node:os";
9
9
  import { basename, dirname, isAbsolute, join, posix, relative, resolve, sep, win32 } from "node:path";
10
10
  import { createHash, randomBytes } from "node:crypto";
11
11
  import { setImmediate as setImmediate$1 } from "node:timers/promises";
12
- import { open, readFile, readdir, stat } from "node:fs/promises";
12
+ import { lstat, open, readFile, readdir, stat } from "node:fs/promises";
13
13
  import { isIP } from "node:net";
14
14
  import { StringDecoder } from "node:string_decoder";
15
15
  //#region state/log-selection.ts
@@ -1538,6 +1538,12 @@ const SETTINGS = [
1538
1538
  scopes: PROJECT,
1539
1539
  description: "Development Info.plist relative to the Swift Package directory."
1540
1540
  },
1541
+ {
1542
+ key: "macos.artifactInputs",
1543
+ type: OBJECT,
1544
+ scopes: PROJECT,
1545
+ description: "Complete pinned, repeatable SwiftPM inputs producing a relocatable app for completed artifact caching."
1546
+ },
1541
1547
  {
1542
1548
  key: "macos.arguments",
1543
1549
  type: { kind: "strings" },
@@ -3832,44 +3838,105 @@ function listDir(dir) {
3832
3838
  return [];
3833
3839
  }
3834
3840
  }
3841
+ async function listDirAsync(dir, signal) {
3842
+ signal?.throwIfAborted();
3843
+ try {
3844
+ const names = await readdir(dir);
3845
+ signal?.throwIfAborted();
3846
+ return names;
3847
+ } catch {
3848
+ signal?.throwIfAborted();
3849
+ return [];
3850
+ }
3851
+ }
3852
+ function segmentName(name, closedOnly) {
3853
+ const closed = SEGMENT.exec(name);
3854
+ const part = closed ? null : PART.exec(name);
3855
+ if (!closed && (closedOnly || !part)) return null;
3856
+ const start = Number((closed ?? part)[1]);
3857
+ return {
3858
+ start,
3859
+ end: closed ? Math.max(start, Number(closed[2])) : null
3860
+ };
3861
+ }
3862
+ function segmentRecord(file, range, metadata) {
3863
+ return {
3864
+ file,
3865
+ start: range.start,
3866
+ end: range.end ?? Math.max(range.start, Math.floor(metadata.mtimeMs)),
3867
+ bytes: metadata.size,
3868
+ open: range.end === null
3869
+ };
3870
+ }
3871
+ function deviceName(name) {
3872
+ const match = DEVICE.exec(name);
3873
+ return match ? {
3874
+ platform: match[1],
3875
+ slot: match[2]
3876
+ } : null;
3877
+ }
3835
3878
  /** The segments in one device directory, oldest first. Files that are not segments are left out; `closedOnly` excludes files still being written. */
3836
3879
  function listSegments(dir, closedOnly = false) {
3837
3880
  const segments = [];
3838
3881
  for (const name of listDir(dir)) {
3839
- const closed = SEGMENT.exec(name);
3840
- const part = closed ? null : PART.exec(name);
3841
- if (!closed && (closedOnly || !part)) continue;
3842
- let stat;
3882
+ const range = segmentName(name, closedOnly);
3883
+ if (!range) continue;
3884
+ const file = join(dir, name);
3885
+ try {
3886
+ segments.push(segmentRecord(file, range, statSync(file)));
3887
+ } catch {}
3888
+ }
3889
+ return segments.toSorted((a, b) => a.start - b.start);
3890
+ }
3891
+ /** Reads current segment files asynchronously, oldest first; cancellation propagates. */
3892
+ async function listSegmentsAsync(dir, closedOnly = false, signal) {
3893
+ const segments = [];
3894
+ for (const name of await listDirAsync(dir, signal)) {
3895
+ signal?.throwIfAborted();
3896
+ const range = segmentName(name, closedOnly);
3897
+ if (!range) continue;
3898
+ const file = join(dir, name);
3843
3899
  try {
3844
- stat = statSync(join(dir, name));
3900
+ const metadata = await stat(file);
3901
+ signal?.throwIfAborted();
3902
+ segments.push(segmentRecord(file, range, metadata));
3845
3903
  } catch {
3846
- continue;
3904
+ signal?.throwIfAborted();
3847
3905
  }
3848
- const start = Number((closed ?? part)[1]);
3849
- segments.push({
3850
- file: join(dir, name),
3851
- start,
3852
- end: closed ? Math.max(start, Number(closed[2])) : Math.max(start, Math.floor(stat.mtimeMs)),
3853
- bytes: stat.size,
3854
- open: part !== null
3855
- });
3856
3906
  }
3907
+ signal?.throwIfAborted();
3857
3908
  return segments.toSorted((a, b) => a.start - b.start);
3858
3909
  }
3859
3910
  /** Every device slot recorded under a workspace's recordings directory. */
3860
3911
  function listRecordedDevices(recordingsDir, closedOnly = false) {
3861
3912
  return listDir(recordingsDir).flatMap((name) => {
3862
- const match = DEVICE.exec(name);
3863
- if (!match) return [];
3913
+ const device = deviceName(name);
3914
+ if (!device) return [];
3864
3915
  const dir = join(recordingsDir, name);
3865
3916
  return [{
3866
- platform: match[1],
3867
- slot: match[2],
3917
+ ...device,
3868
3918
  dir,
3869
3919
  segments: listSegments(dir, closedOnly)
3870
3920
  }];
3871
3921
  });
3872
3922
  }
3923
+ /** Reads current device slots and their segment files asynchronously; cancellation propagates. */
3924
+ async function listRecordedDevicesAsync(recordingsDir, closedOnly = false, signal) {
3925
+ const devices = [];
3926
+ for (const name of await listDirAsync(recordingsDir, signal)) {
3927
+ signal?.throwIfAborted();
3928
+ const device = deviceName(name);
3929
+ if (!device) continue;
3930
+ const dir = join(recordingsDir, name);
3931
+ devices.push({
3932
+ ...device,
3933
+ dir,
3934
+ segments: await listSegmentsAsync(dir, closedOnly, signal)
3935
+ });
3936
+ }
3937
+ signal?.throwIfAborted();
3938
+ return devices;
3939
+ }
3873
3940
  function recordedBytes(devices) {
3874
3941
  return devices.reduce((sum, device) => sum + device.segments.reduce((total, s) => total + s.bytes, 0), 0);
3875
3942
  }
@@ -5479,6 +5546,10 @@ function parseMacosRecord(value) {
5479
5546
  startedAt: b.startedAt,
5480
5547
  ...typeof b.finishedAt === "string" ? { finishedAt: b.finishedAt } : {},
5481
5548
  ...typeof b.durationMs === "number" ? { durationMs: b.durationMs } : {},
5549
+ ...typeof b.fingerprint === "string" ? { fingerprint: b.fingerprint } : {},
5550
+ ...typeof b.cacheKey === "string" ? { cacheKey: b.cacheKey } : {},
5551
+ ...typeof b.cacheHit === "boolean" ? { cacheHit: b.cacheHit } : {},
5552
+ ...b.cacheSource === "local" || b.cacheSource === "provider" || b.cacheSource === "peer" ? { cacheSource: b.cacheSource } : {},
5482
5553
  ...typeof b.error === "string" ? { error: b.error } : {},
5483
5554
  ...typeof b.buildMachine === "string" ? { buildMachine: b.buildMachine } : {},
5484
5555
  ...typeof b.builtOn === "string" ? { builtOn: b.builtOn } : {},
@@ -5861,7 +5932,29 @@ function readArchives() {
5861
5932
  return names.flatMap((name) => {
5862
5933
  const archive = readArchive(name);
5863
5934
  return archive ? [archive] : [];
5864
- }).toSorted((a, b) => Date.parse(b.removedAt) - Date.parse(a.removedAt) || b.id.localeCompare(a.id));
5935
+ }).toSorted(archiveOrder);
5936
+ }
5937
+ function archiveOrder(a, b) {
5938
+ return Date.parse(b.removedAt) - Date.parse(a.removedAt) || b.id.localeCompare(a.id);
5939
+ }
5940
+ /** Reads current archive files asynchronously, outside the synchronous state-read cache; cancellation propagates. */
5941
+ async function readArchivesAsync(signal) {
5942
+ signal?.throwIfAborted();
5943
+ let names;
5944
+ try {
5945
+ names = await readdir(archiveRoot());
5946
+ } catch {
5947
+ signal?.throwIfAborted();
5948
+ return [];
5949
+ }
5950
+ const archives = [];
5951
+ for (const name of names) {
5952
+ signal?.throwIfAborted();
5953
+ const archive = await readArchiveAsync(name, signal);
5954
+ if (archive) archives.push(archive);
5955
+ }
5956
+ signal?.throwIfAborted();
5957
+ return archives.toSorted(archiveOrder);
5865
5958
  }
5866
5959
  function readArchive(id) {
5867
5960
  if (!id || id.startsWith(".") || basename(id) !== id || id.includes("\0")) return null;
@@ -5871,8 +5964,33 @@ function readArchive(id) {
5871
5964
  } catch {
5872
5965
  return null;
5873
5966
  }
5874
- const record = readJsonObject(join(archiveRoot(), id, "archive.json"));
5875
- if (!record || record.id !== id || [
5967
+ return archiveRecord(id, readJsonObject(join(archiveRoot(), id, "archive.json")));
5968
+ }
5969
+ /** Reads a current archive without the synchronous state-read cache; invalid or missing records return null. */
5970
+ async function readArchiveAsync(id, signal) {
5971
+ signal?.throwIfAborted();
5972
+ if (!id || id.startsWith(".") || basename(id) !== id || id.includes("\0")) return null;
5973
+ const dir = join(archiveRoot(), id);
5974
+ try {
5975
+ const directory = await lstat(dir);
5976
+ signal?.throwIfAborted();
5977
+ if (!directory.isDirectory()) return null;
5978
+ const file = await lstat(join(dir, "archive.json"));
5979
+ signal?.throwIfAborted();
5980
+ if (!file.isFile()) return null;
5981
+ const text = await readFile(join(dir, "archive.json"), {
5982
+ encoding: "utf8",
5983
+ signal
5984
+ });
5985
+ signal?.throwIfAborted();
5986
+ return archiveRecord(id, JSON.parse(text));
5987
+ } catch {
5988
+ signal?.throwIfAborted();
5989
+ return null;
5990
+ }
5991
+ }
5992
+ function archiveRecord(id, record) {
5993
+ if (!isJsonObject(record) || record.id !== id || [
5876
5994
  "projectRoot",
5877
5995
  "project",
5878
5996
  "workspace",
@@ -5992,4 +6110,4 @@ function isSetupJournalPrunable(journal, now) {
5992
6110
  return Date.parse(journal.expiresAt) + 36e5 < now;
5993
6111
  }
5994
6112
  //#endregion
5995
- export { ACTIVITY_RECENCY_BASES, AGENT_TOOLS, ANDROID_COMPILER_CACHE_CHOICES, ANDROID_EMULATOR_APPS, ANDROID_PCH_CHOICES, APP_PROCESS_STATES, BUILD_HISTORY_KEY, BUILD_HISTORY_LIMIT, BUILD_PHASES, BUILD_RESULTS, CAPACITY_REFUSAL_LIMIT, CAPACITY_REFUSAL_MAX_AGE_MS, DEBUG_ENV, DEVICE_HOST_LIMITS, DEVICE_IDLE_SHUTDOWN_KEY, DEVICE_RECLAIM_REASON, DEV_SERVER_STOP_REQUEST_KEY, ENDED_AGENT_RETENTION_MS, ERROR_SOURCES, HISTORY_LIMIT, HOSTED_AGENT_DRIVERS, HOSTED_APP_CHUNK_BYTES, HOSTED_LOGS_FIRST_BYTES, HOSTED_LOGS_PAGE_BYTES, HOSTED_MACOS_APP_SLOTS, HOSTED_METRO_GATEWAYS_KEY, HOSTED_METRO_REQUESTS_KEY, HOSTED_PARKED_CANDIDATES, IDLE_STOP_KEY, IOS_SIMULATOR_APPS, KeyedEntities, LAST_BUILD_KEYS, LEVELS, MACHINE_CREDENTIALS_VERSION, MACHINE_OWNER_KINDS, MAINTENANCE_LOG_NAME, MEMORY_SOURCES, NATIVE_BUILD_STEPS, NATIVE_CRASH_LOG_PREFIX, OFFLOAD_MODES, PHYSICAL_DEVICE_CONNECTIONS, PLACEMENT_DECISIONS, READY_PHASE_MS, RECORDING_CAP_BYTES, RECORDING_FOOTAGE_MS, RECORDING_PLATFORMS, REMOTE_DEVICE_BACKENDS, RUN_ID_ENV, SETTINGS, SETTINGS_SCHEMA_FILE, SETTINGS_SCHEMA_URL, SETTING_GROUPS, SETTING_SCOPES, SOURCES, STATS_VERSION, STATUS_ISSUE_CODES, SUMMARY_ARCHIVES, TAILNET_MACHINE_PATTERN, TUNNEL_MODES, TUTORIAL_VERSION, WARM_KEY, WEB_PAGE_STATES, WEB_VIEWPORTS, WORKSPACE_AGENT_KEY, WORKSPACE_PHASES, WORKSPACE_STAGE_KINDS, acceptsShape, advanceTail, agentDeviceStateDirs, agentDeviceStateDirsAsync, agentDeviceUsageFile, agentSessionOf, agentSessionsCacheFile, allMetroPorts, applyKeyedDelta, archiveDir, archiveEnabled, archiveLock, archiveRoot, archivedUsage, assertHostedDeviceLedger, attachExpoErrorContext, automaticMachineEnabled, buildCriteria, buildDiagnostics, buildMachinesFile, buildMachinesLock, buildSlotPath, buildSlotsDir, buildWorkerRoot, bundleMarkerPlatform, cannotHost, capDrops, clientIdentity, clientIdentityKeyFile, closedSegmentName, coerceSettingText, compileGrep, configCorruptRepair, configLockPath, countErrorEntries, createAgentActionReader, createAsyncAgentActionReader, createDebugLog, createdDevicesFile, createdDevicesLock, debugLogDir, debugLoggingEnabled, decodeStats, deviceHostArea, deviceHostMachinesClaims, deviceHostMachinesFile, deviceHostMachinesLock, deviceHostRoot, deviceViewersDir, diskUsageCacheDir, diskUsageCacheFile, diskUsageFailureFile, diskUsageWalkClaims, easMachineStateRoot, easSessionLedgerFile, easSessionLedgerLock, emulatorLogFile, endedAgentSessionOf, endpoint, expectedShape, fileSizes, findEnclosingWorktreeRoot, findPeer, findProjectRoot, followLogs, footageDrops, getConcurrencyLimits, getConfigPath, getParkedMax, getProject, getProjectSettings, getRepoSettings, gitMergeCacheDir, hostedAgentDriverName, hostedAndroidDeviceName, hostedAndroidPlacements, hostedAndroidRecords, hostedAndroidStatus, hostedAppArea, hostedAppAttempt, hostedAppBlobs, hostedConsolePort, hostedDeviceId, hostedIosPlacements, hostedIosRecords, hostedIosStatus, hostedMacosAppSlot, hostedMacosBundleId, hostedMacosLogsDir, hostedMetroGateways, hostedMetroRequests, hostedNativeLogsDir, hostedNativeRecords, hostedWorkerSettleMs, isExpoErrorContext, isJournalExpired, isJsonObject, isLayeredSetting, isPathPrefix, isSensitiveReference, isSetupJournalPrunable, lastUseFrom, levelRank, linkReplacedArchives, listRecordedDevices, listSegments, listStatusCacheEntries, loadConfig, logFiles, machineCacheUsageFile, machineCapacity, machineEndpoint, macosAppState, maintenanceAttemptFile, maintenanceChildLogFile, maintenanceDir, maintenanceNdjsonFile, maintenanceRunClaims, maintenanceStateFile, markerWindow, offloadSummary, openLogDir, openSegmentName, parseHostedAgentAccess, parseHostedAgentGrant, parseHostedAndroidDevice, parseHostedAndroidPlacement, parseHostedAppManifest, parseHostedAppOffer, parseHostedChoice, parseHostedDevice, parseHostedIosPlacement, parseHostedLocalDeviceCount, parseHostedLogsCursor, parseHostedMacosChoice, parseHostedMacosDevice, parseHostedMacosPlacement, parseHostedNativeOffer, parseHostedNativePlacement, parseHostedOfferRequest, parseHostedPlatformDevice, parseHostedRequest, parseMachine, parseMachineCredential, parseMacosRecord, parseMaintenanceState, parseMissReason, parseNdjsonLine, parseNdjsonText, parseSetupJournal, parseSince, planLogQuery, projectRootDirectories, pullRequestCacheDir, pullRequestCacheFile, queryJsonLogs, queryLogs, readAgentDeviceUsage, readAgentDeviceUsageCache, readAgentSessionsCache, readArchive, readArchiveState, readArchives, readBuildDetail, readBuildHistory, readBuildMachines, readCreatedDevices, readDevServerStop, readDevServerStopRequest, readDeviceHostMachines, readDeviceIdleShutdowns, readDevicePlacement, readDiskUsage, readDiskUsageFailure, readEasSessionLedger, readEndedAgentSessions, readHomeIdentity, readHostedApp, readHostedAppMetadata, readHostedDevice, readHostedDeviceLedger, readHostedMacosApp, readHostedNativeLogsCheckpoint, readHostedSessions, readIdleStop, readJsonFile, readJsonObject, readLastBuilds, readLogRecords, readLogTimeline, readLogsSince, readMachineCacheUsage, readMacosRecord, readMaintenanceAttempt, readMaintenanceState, readNdjsonGenerations, readPullRequestCache, readRunEstimates, readSetupJournal, readStateFile, readStats, readStatsReport, readSwiftpmCacheUsage, readViewedDevices, readWarmRecord, readWorkspaceAgent, readWorkspaceState, recordMatches, recordedBytes, recordingDeviceName, recordingEnabled, rememberHostedAppBlobRename, requireAutomaticMachine, runId, saturation, serverLocalSocket, serverSetupDir, settingDefinition, settingValueError, settingsJsonSchema, setupJournalFile, sharedCcache, sharedCompilationCache, sharedGradle, sharedPods, sortByTs, statsFile, statsProjectKey, statusViews, stimBuildDigest, supervisorLogFile, supervisorPidFile, swiftpmCacheUsageFile, tailRead, trimCapacityRefusals, trimCapacityWaits, trimSamples, tryAcquireBuildSlotClaim, unreadableHostedAndroid, unreadableHostedIos, unreadableHostedNative, validEasSessionClaim, validHostedAppArguments, validHostedAppBlob, validRunId, validateAutomaticPool, wholePhases, windowsShortDir, windowsShortDirKey, withConfigLock, withConfigLockAsync, withDerivedFacts, withGitChip, withStateReadCache, workspaceAgentDeviceDir, workspaceBuildDetailFile, workspaceDerivedData, workspaceEndedAgentsFile, workspaceEndedAgentsLock, workspaceGradleBuild, workspaceLastUsed, workspaceLogErrorIndex, workspaceLogsDir, workspaceMetadataFile, workspaceRecordingsDir, workspaceStateFile, workspaceStateLock, workspaceSummary };
6113
+ export { ACTIVITY_RECENCY_BASES, AGENT_TOOLS, ANDROID_COMPILER_CACHE_CHOICES, ANDROID_EMULATOR_APPS, ANDROID_PCH_CHOICES, APP_PROCESS_STATES, BUILD_HISTORY_KEY, BUILD_HISTORY_LIMIT, BUILD_PHASES, BUILD_RESULTS, CAPACITY_REFUSAL_LIMIT, CAPACITY_REFUSAL_MAX_AGE_MS, DEBUG_ENV, DEVICE_HOST_LIMITS, DEVICE_IDLE_SHUTDOWN_KEY, DEVICE_RECLAIM_REASON, DEV_SERVER_STOP_REQUEST_KEY, ENDED_AGENT_RETENTION_MS, ERROR_SOURCES, HISTORY_LIMIT, HOSTED_AGENT_DRIVERS, HOSTED_APP_CHUNK_BYTES, HOSTED_LOGS_FIRST_BYTES, HOSTED_LOGS_PAGE_BYTES, HOSTED_MACOS_APP_SLOTS, HOSTED_METRO_GATEWAYS_KEY, HOSTED_METRO_REQUESTS_KEY, HOSTED_PARKED_CANDIDATES, IDLE_STOP_KEY, IOS_SIMULATOR_APPS, KeyedEntities, LAST_BUILD_KEYS, LEVELS, MACHINE_CREDENTIALS_VERSION, MACHINE_OWNER_KINDS, MAINTENANCE_LOG_NAME, MEMORY_SOURCES, NATIVE_BUILD_STEPS, NATIVE_CRASH_LOG_PREFIX, OFFLOAD_MODES, PHYSICAL_DEVICE_CONNECTIONS, PLACEMENT_DECISIONS, READY_PHASE_MS, RECORDING_CAP_BYTES, RECORDING_FOOTAGE_MS, RECORDING_PLATFORMS, REMOTE_DEVICE_BACKENDS, RUN_ID_ENV, SETTINGS, SETTINGS_SCHEMA_FILE, SETTINGS_SCHEMA_URL, SETTING_GROUPS, SETTING_SCOPES, SOURCES, STATS_VERSION, STATUS_ISSUE_CODES, SUMMARY_ARCHIVES, TAILNET_MACHINE_PATTERN, TUNNEL_MODES, TUTORIAL_VERSION, WARM_KEY, WEB_PAGE_STATES, WEB_VIEWPORTS, WORKSPACE_AGENT_KEY, WORKSPACE_PHASES, WORKSPACE_STAGE_KINDS, acceptsShape, advanceTail, agentDeviceStateDirs, agentDeviceStateDirsAsync, agentDeviceUsageFile, agentSessionOf, agentSessionsCacheFile, allMetroPorts, applyKeyedDelta, archiveDir, archiveEnabled, archiveLock, archiveRoot, archivedUsage, assertHostedDeviceLedger, attachExpoErrorContext, automaticMachineEnabled, buildCriteria, buildDiagnostics, buildMachinesFile, buildMachinesLock, buildSlotPath, buildSlotsDir, buildWorkerRoot, bundleMarkerPlatform, cannotHost, capDrops, clientIdentity, clientIdentityKeyFile, closedSegmentName, coerceSettingText, compileGrep, configCorruptRepair, configLockPath, countErrorEntries, createAgentActionReader, createAsyncAgentActionReader, createDebugLog, createdDevicesFile, createdDevicesLock, debugLogDir, debugLoggingEnabled, decodeStats, deviceHostArea, deviceHostMachinesClaims, deviceHostMachinesFile, deviceHostMachinesLock, deviceHostRoot, deviceViewersDir, diskUsageCacheDir, diskUsageCacheFile, diskUsageFailureFile, diskUsageWalkClaims, easMachineStateRoot, easSessionLedgerFile, easSessionLedgerLock, emulatorLogFile, endedAgentSessionOf, endpoint, expectedShape, fileSizes, findEnclosingWorktreeRoot, findPeer, findProjectRoot, followLogs, footageDrops, getConcurrencyLimits, getConfigPath, getParkedMax, getProject, getProjectSettings, getRepoSettings, gitMergeCacheDir, hostedAgentDriverName, hostedAndroidDeviceName, hostedAndroidPlacements, hostedAndroidRecords, hostedAndroidStatus, hostedAppArea, hostedAppAttempt, hostedAppBlobs, hostedConsolePort, hostedDeviceId, hostedIosPlacements, hostedIosRecords, hostedIosStatus, hostedMacosAppSlot, hostedMacosBundleId, hostedMacosLogsDir, hostedMetroGateways, hostedMetroRequests, hostedNativeLogsDir, hostedNativeRecords, hostedWorkerSettleMs, isExpoErrorContext, isJournalExpired, isJsonObject, isLayeredSetting, isPathPrefix, isSensitiveReference, isSetupJournalPrunable, lastUseFrom, levelRank, linkReplacedArchives, listRecordedDevices, listRecordedDevicesAsync, listSegments, listSegmentsAsync, listStatusCacheEntries, loadConfig, logFiles, machineCacheUsageFile, machineCapacity, machineEndpoint, macosAppState, maintenanceAttemptFile, maintenanceChildLogFile, maintenanceDir, maintenanceNdjsonFile, maintenanceRunClaims, maintenanceStateFile, markerWindow, offloadSummary, openLogDir, openSegmentName, parseHostedAgentAccess, parseHostedAgentGrant, parseHostedAndroidDevice, parseHostedAndroidPlacement, parseHostedAppManifest, parseHostedAppOffer, parseHostedChoice, parseHostedDevice, parseHostedIosPlacement, parseHostedLocalDeviceCount, parseHostedLogsCursor, parseHostedMacosChoice, parseHostedMacosDevice, parseHostedMacosPlacement, parseHostedNativeOffer, parseHostedNativePlacement, parseHostedOfferRequest, parseHostedPlatformDevice, parseHostedRequest, parseMachine, parseMachineCredential, parseMacosRecord, parseMaintenanceState, parseMissReason, parseNdjsonLine, parseNdjsonText, parseSetupJournal, parseSince, planLogQuery, projectRootDirectories, pullRequestCacheDir, pullRequestCacheFile, queryJsonLogs, queryLogs, readAgentDeviceUsage, readAgentDeviceUsageCache, readAgentSessionsCache, readArchive, readArchiveAsync, readArchiveState, readArchives, readArchivesAsync, readBuildDetail, readBuildHistory, readBuildMachines, readCreatedDevices, readDevServerStop, readDevServerStopRequest, readDeviceHostMachines, readDeviceIdleShutdowns, readDevicePlacement, readDiskUsage, readDiskUsageFailure, readEasSessionLedger, readEndedAgentSessions, readHomeIdentity, readHostedApp, readHostedAppMetadata, readHostedDevice, readHostedDeviceLedger, readHostedMacosApp, readHostedNativeLogsCheckpoint, readHostedSessions, readIdleStop, readJsonFile, readJsonObject, readLastBuilds, readLogRecords, readLogTimeline, readLogsSince, readMachineCacheUsage, readMacosRecord, readMaintenanceAttempt, readMaintenanceState, readNdjsonGenerations, readPullRequestCache, readRunEstimates, readSetupJournal, readStateFile, readStats, readStatsReport, readSwiftpmCacheUsage, readViewedDevices, readWarmRecord, readWorkspaceAgent, readWorkspaceState, recordMatches, recordedBytes, recordingDeviceName, recordingEnabled, rememberHostedAppBlobRename, requireAutomaticMachine, runId, saturation, serverLocalSocket, serverSetupDir, settingDefinition, settingValueError, settingsJsonSchema, setupJournalFile, sharedCcache, sharedCompilationCache, sharedGradle, sharedPods, sortByTs, statsFile, statsProjectKey, statusViews, stimBuildDigest, supervisorLogFile, supervisorPidFile, swiftpmCacheUsageFile, tailRead, trimCapacityRefusals, trimCapacityWaits, trimSamples, tryAcquireBuildSlotClaim, unreadableHostedAndroid, unreadableHostedIos, unreadableHostedNative, validEasSessionClaim, validHostedAppArguments, validHostedAppBlob, validRunId, validateAutomaticPool, wholePhases, windowsShortDir, windowsShortDirKey, withConfigLock, withConfigLockAsync, withDerivedFacts, withGitChip, withStateReadCache, workspaceAgentDeviceDir, workspaceBuildDetailFile, workspaceDerivedData, workspaceEndedAgentsFile, workspaceEndedAgentsLock, workspaceGradleBuild, workspaceLastUsed, workspaceLogErrorIndex, workspaceLogsDir, workspaceMetadataFile, workspaceRecordingsDir, workspaceStateFile, workspaceStateLock, workspaceSummary };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stim-cli/core",
3
- "version": "1.21.0",
3
+ "version": "1.22.0",
4
4
  "description": "Shared internal cache and runtime primitives for Stim packages.",
5
5
  "license": "MIT",
6
6
  "repository": {