@stim-cli/core 1.17.0 → 1.17.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{index-DPp8a4-9.d.mts → index-lRdEfJSb.d.mts} +43 -29
- package/dist/phone-protocol.d.mts +2 -2
- package/dist/{protocol-CfT6YiG_.d.mts → protocol-DcI3hDw9.d.mts} +7 -7
- package/dist/protocol.d.mts +1 -1
- package/dist/protocol.mjs +1 -1
- package/dist/receive-protocol.mjs +907 -530
- package/dist/state.d.mts +2 -2
- package/dist/state.mjs +38 -38
- package/package.json +1 -1
package/dist/state.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as readRunEstimates, $a as settingDefinition, $i as HostedAppLaunch, $n as readMacosRecord, $o as workspaceBuildDetailFile, $r as READY_PHASE_MS, $s as getProjectSettings, $t as BuildWaitingFor, A as DeviceHostMachineCredential, Aa as ANDROID_PCH_CHOICES, Ac as AgentActionReaderOptions, Ai as HostedNativeOffer, An as StatusCapacity, Ao as easMachineStateRoot, Ar as HostedAndroidStatus, As as countErrorEntries, At as ActiveBuildState, B as RunHistory, Ba as SettingEntry, Bi as parseHostedNativeOffer, Bn as WebPageState, Bo as maintenanceRunClaims, Br as unreadableHostedNative, Bs as readJsonObject, Bt as BuildCacheHit, C as pinnedEndpoint, Ca as validHostedAppArguments, Cc as readSwiftpmCacheUsage, Ci as HostedDevicePhase, Cn as PhysicalDeviceState, Co as createdDevicesFile, Cr as HostedIosStatus, Cs as queryJsonLogs, Ct as readEndedAgentSessions, D as HostedMetroRequest, Da as settingsJsonSchema, Dc as agentDeviceUsageFile, Di as HostedDeviceSession, Dn as STATUS_ISSUE_CODES, Do as deviceHostMachinesLock, Dr as parseHostedIosPlacement, Ds as recordMatches, Dt as ACTIVITY_RECENCY_BASES, E as HostedMetroGateway, Ea as SETTINGS_SCHEMA_URL, Ec as AgentDeviceUsageRoots, Ei as HostedDeviceSelectors, En as RunOutcomeKind, Eo as deviceHostMachinesFile, Er as hostedIosStatus, Es as readLogTimeline, Et as withGitChip, F as HISTORY_LIMIT, Fa as RemoteDeviceBackend, Fc as SOURCES, Fi as hostedDeviceId, Fn as WEB_PAGE_STATES, Fo as gitMergeCacheDir, Fr as parseHostedAndroidPlacement, Fs as readCreatedDevices, Ft as AndroidDeviceState, G as StatsCapacityWait, Ga as TunnelMode, Gi as readHostedDeviceLedger, Gn as WorktreePullRequest, Go as sharedCcache, Gr as DEV_SERVER_STOP_REQUEST_KEY, Gs as buildWorkerRoot, Gt as BuildMissCategory, H as STATS_VERSION, Ha as SettingType, Hi as parseHostedPlatformDevice, Hn as WorkspaceStage, Ho as pullRequestCacheDir, Hr as BUILD_HISTORY_LIMIT, Hs as withStateReadCache, Ht as BuildDetail, I as OffloadSummary, Ia as SETTINGS, Ic as levelRank, Ii as parseHostedAndroidDevice, In as WORKSPACE_PHASES, Io as maintenanceAttemptFile, Ir as unreadableHostedAndroid, Is as readEasSessionLedger, It as AndroidRuntimeFacts, J as StatsReport, Ja as acceptsShape, Ji as HOSTED_MACOS_APP_SLOTS, Jn as MacosBuild, Jo as sharedPods, Jr as DeviceIdleShutdownRecord, Js as findProjectByMetroPort, Jt as BuildPhase, K as StatsPlacement, Ka as WEB_VIEWPORTS, Ki as readHostedSessions, Kn as MacosAppRecord, Ko as sharedCompilationCache, Kr as DevServerStopRecord, Ks as configCorruptRepair, Kt as BuildMissChange, L as PLACEMENT_DECISIONS, La as SETTING_GROUPS, Lc as parseNdjsonLine, Li as parseHostedChoice, Ln as WORKSPACE_STAGE_KINDS, Lo as maintenanceChildLogFile, Lr as HostedNativePlacement, Ls as validEasSessionClaim, Lt as AppPresence, M as BuildMachineTotals, Ma as OFFLOAD_MODES, Mc as createAgentActionReader, Mi as deviceHostArea, Mn as StatusIssueCode, Mo as easSessionLedgerLock, Mr as hostedAndroidPlacements, Ms as CreatedDevices, Mt as ActivityRecencyBasis, N as CAPACITY_REFUSAL_LIMIT, Na as OffloadMode, Nc as LEVELS, Ni as deviceHostRoot, Nn as StatusPayload, No as emulatorLogFile, Nr as hostedAndroidRecords, Ns as EasSessionClaim, Nt as AgentSession, O as hostedMetroGateways, Oa as ANDROID_COMPILER_CACHE_CHOICES, Oc as readAgentDeviceUsage, Oi as HostedIosChoice, On as SimulatorState, Oo as deviceViewersDir, Or as unreadableHostedIos, Os as sortByTs, Ot as AGENT_TOOLS, P as CAPACITY_REFUSAL_MAX_AGE_MS, Pa as REMOTE_DEVICE_BACKENDS, Pc as NdjsonRecord, Pi as hostedConsolePort, Pn as TUTORIAL_VERSION, Po as getConfigPath, Pr as hostedAndroidStatus, Ps as EasSessionLedgerRead, Pt as AgentTool, Q as offloadSummary, Qa as isSensitiveReference, Qi as HostedAgentLease, Qn as readHostedMacosApp, Qo as workspaceAgentDeviceDir, Qr as MetroLastStop, Qs as getProjectSetting, Qt as BuildResult, R as ReadStatsResult, Ra as SETTING_SCOPES, Rc as parseNdjsonText, Ri as parseHostedDevice, Rn as WarmStep, Ro as maintenanceDir, Rr as hostedNativeRecords, Rs as isJsonObject, Rt as BUILD_PHASES, S as parseMachine, Sa as rememberHostedAppBlobRename, Sc as SwiftpmCacheUsage, Si as HostedDeviceOfferRequest, Sn as PhysicalDeviceConnection, So as configLockPath, Sr as HostedIosPlacement, Ss as parseSince, St as readDiskUsage, T as HOSTED_METRO_REQUESTS_KEY, Ta as SETTINGS_SCHEMA_FILE, Tc as AgentDeviceUsage, Ti as HostedDeviceRequest, Tn as RemoteDeviceState, To as deviceHostMachinesClaims, Tr as hostedIosRecords, Ts as readLogRecords, Tt as withDerivedFacts, U as StatsBucket, Ua as SettingsPayload, Ui as parseHostedRequest, Un as WorktreeFacts, Uo as serverSetupDir, Ur as DEVICE_IDLE_SHUTDOWN_KEY, Us as ParkedMax, Ut as BuildDiagnostic, V as RunSample, Va as SettingScope, Vi as parseHostedOfferRequest, Vn as WorkspacePhase, Vo as maintenanceStateFile, Vr as BUILD_HISTORY_KEY, Vs as readStateFile, Vt as BuildCause, W as StatsCapacityRefusal, Wa as TUNNEL_MODES, Wi as readHostedDevice, Wn as WorktreeGit, Wo as setupJournalFile, Wr as DEVICE_RECLAIM_REASON, Ws as allMetroPorts, Wt as BuildHistoryEntry, X as decodeStats, Xa as expectedShape, Xi as HostedAgentDriverName, Xn as macosAppState, Xo as supervisorLogFile, Xr as IdleStopRecord, Xs as getParkedMax, Xt as BuildPlanPayload, Y as StatsScope, Ya as coerceSettingText, Yi as HostedAgentAccess, Yn as MacosProcess, Yo as statsFile, Yr as IDLE_STOP_KEY, Ys as getConcurrencyLimits, Yt as BuildPlacement, Z as findProjectRoot, Za as isLayeredSetting, Zi as HostedAgentGrant, Zn as parseMacosRecord, Zo as supervisorPidFile, Zr as LAST_BUILD_KEYS, Zs as getProject, Zt as BuildReport, _ as Endpoint, _a as hostedAppBlobs, _c as buildSlotPath, _i as workspaceLastUsed, _n as MemorySource, _o as archiveDir, _r as MaintenanceState, _s as compileGrep, _t as endedAgentSessionOf, a as parseSetupJournal, aa as parseHostedAgentAccess, ac as Config, ai as lastUseFrom, an as DiskMeasure, ao as RecordedSegment, ar as linkReplacedArchives, as as workspaceLogsDir, at as trimSamples, b as endpoint, ba as readHostedApp, bc as saturation, bi as HostedDevice, bn as NativeBuildStep, bo as buildMachinesFile, br as readMaintenanceAttempt, bs as logFiles, bt as readAgentSessionsCache, c as HOSTED_LOGS_FIRST_BYTES, ca as parseHostedMacosDevice, cc as PlatformRecords, ci as readDevServerStop, cn as EnvironmentState, co as closedSegmentName, cr as readArchives, cs as workspaceStateFile, ct as ViewedDevice, d as HostedLogsPage, da as HostedAppDelivery, dc as SettingsObject, di as readDevicePlacement, dn as LastBuildReport, do as listSegments, dr as MaintenanceCheck, ds as NATIVE_CRASH_LOG_PREFIX, dt as AgentSessionsCache, ea as HostedMacosChoice, ec as getRepoSettings, ei as WARM_KEY, en as ChecksState, eo as settingValueError, er as ArchivedBytes, es as workspaceDerivedData, et as readStats, f as hostedMacosLogsDir, fa as HostedAppFile, fc as StimConfig, fi as readIdleStop, fn as MACHINE_OWNER_KINDS, fo as openSegmentName, fr as MaintenanceMode, fs as QueryCriteria, ft as ENDED_AGENT_RETENTION_MS, g as readLogsSince, ga as hostedAppAttempt, gc as MachineCapacity, gi as readWorkspaceState, gn as MachineUsageState, go as agentSessionsCacheFile, gr as MaintenanceSize, gs as bundleMarkerPlatform, gt as diskUsageCacheFile, h as readHostedNativeLogsCheckpoint, ha as hostedAppArea, hc as readBuildMachines, hi as readWorkspaceAgent, hn as MachineOwnerKind, ho as recordingEnabled, hr as MaintenanceRecord, hs as buildCriteria, ht as agentSessionOf, i as isSetupJournalPrunable, ia as hostedMacosBundleId, ic as ConcurrencyLimits, ii as buildDiagnostics, in as DevicePlacement, io as RecordedDevice, ir as archivedUsage, is as workspaceLogErrorIndex, it as trimCapacityWaits, j as readDeviceHostMachines, ja as IOS_SIMULATOR_APPS, jc as AgentTarget, ji as assertHostedDeviceLedger, jn as StatusIssue, jo as easSessionLedgerFile, jr as hostedAndroidDeviceName, js as CreatedDevicePlatform, jt as ActivityDriver, k as hostedMetroRequests, ka as ANDROID_EMULATOR_APPS, kc as readAgentDeviceUsageCache, ki as HostedIosDevice, kn as StatsPlatform, ko as diskUsageCacheDir, kr as HostedAndroidPlacement, ks as tailRead, kt as APP_PROCESS_STATES, l as HOSTED_LOGS_PAGE_BYTES, la as parseHostedMacosPlacement, lc as ProjectRecord, li as readDevServerStopRequest, ln as GitChip, lo as footageDrops, lr as MaintenanceAction, ls as workspaceStateLock, lt as readViewedDevices, m as parseHostedLogsCursor, ma as HostedAppRecord, mc as BuildMachineCredential, mi as readWarmRecord, mn as MachineOwner, mo as recordingDeviceName, mr as MaintenancePressure, ms as attachExpoErrorContext, mt as StatusCacheEntry, n as SetupJournal, na as HostedMacosPlacement, nc as loadConfig, ni as WarmRecord, nn as DeviceAppProcess, no as RECORDING_FOOTAGE_MS, nr as ArchivedWorkspace, ns as workspaceEndedAgentsLock, nt as statsProjectKey, o as readSetupJournal, oa as parseHostedAgentGrant, oc as DeviceRecord, oi as parseMissReason, on as EndedAgentSession, oo as RecordingPlatform, or as readArchive, os as workspaceMetadataFile, ot as wholePhases, p as hostedNativeLogsDir, pa as HostedAppOffer, pc as SupervisorRecord, pi as readLastBuilds, pn as MEMORY_SOURCES, po as recordedBytes, pr as MaintenancePass, ps as advanceTail, pt as PullRequestCacheEntry, q as StatsRecord, qa as WebViewport, qi as HOSTED_AGENT_DRIVERS, qn as MacosAppState, qo as sharedGradle, qr as DevServerStopRequest, qs as findEnclosingWorktreeRoot, qt as BuildMissReason, r as isJournalExpired, ra as hostedMacosAppSlot, rc as withConfigLock, ri as WorkspaceState, rn as DeviceLeaseState, ro as RECORDING_PLATFORMS, rr as archiveEnabled, rs as workspaceGradleBuild, rt as trimCapacityRefusals, s as agentDeviceStateDirs, sa as parseHostedMacosChoice, sc as DoctorRunRecord, si as readBuildHistory, sn as EnvironmentDisk, so as capDrops, sr as readArchiveState, ss as workspaceRecordingsDir, st as DeviceViewersRecord, t as SetupCapability, ta as HostedMacosDevice, tc as isPathPrefix, ti as WORKSPACE_AGENT_KEY, tn as DeviceActivity, to as RECORDING_CAP_BYTES, tr as ArchivedUsage, ts as workspaceEndedAgentsFile, tt as readStatsReport, u as HostedLogsCursor, ua as HOSTED_APP_CHUNK_BYTES, uc as RepoRecord, ui as readDeviceIdleShutdowns, un as GitChipPart, uo as listRecordedDevices, ur as MaintenanceActionKind, us as ERROR_SOURCES, ut as stimBuildDigest, v as TAILNET_MACHINE_PATTERN, va as parseHostedAppManifest, vc as buildSlotsDir, vi as HostedAndroidChoice, vn as MetroBundleState, vo as archiveLock, vr as MaintenanceStatus, vs as fileSizes, vt as listStatusCacheEntries, w as HOSTED_METRO_GATEWAYS_KEY, wa as validHostedAppBlob, wc as swiftpmCacheUsageFile, wi as HostedDevicePlatform, wn as PlannedPhase, wo as createdDevicesLock, wr as hostedIosPlacements, ws as queryLogs, wt as readPullRequestCache, x as findPeer, xa as readHostedAppMetadata, xc as tryAcquireBuildSlotClaim, xi as HostedDeviceOffer, xn as PHYSICAL_DEVICE_CONNECTIONS, xo as buildMachinesLock, xr as readMaintenanceState, xs as markerWindow, xt as readBuildDetail, y as TailnetPeer, ya as parseHostedAppOffer, yc as machineCapacity, yi as HostedAndroidDevice, yn as NATIVE_BUILD_STEPS, yo as archiveRoot, yr as parseMaintenanceState, ys as followLogs, yt as pullRequestCacheFile, z as RunEstimates, za as SettingDefinition, zc as readNdjsonGenerations, zi as parseHostedLocalDeviceCount, zn as WebBrowserState, zo as maintenanceNdjsonFile, zr as parseHostedNativePlacement, zs as readJsonFile, zt as BUILD_RESULTS } from "./index-DPp8a4-9.mjs";
|
|
2
|
-
export { ACTIVITY_RECENCY_BASES, AGENT_TOOLS, ANDROID_COMPILER_CACHE_CHOICES, ANDROID_EMULATOR_APPS, ANDROID_PCH_CHOICES, APP_PROCESS_STATES, ActiveBuildState, ActivityDriver, ActivityRecencyBasis, AgentActionReaderOptions, AgentDeviceUsage, AgentDeviceUsageRoots, AgentSession, AgentSessionsCache, AgentTarget, AgentTool, AndroidDeviceState, AndroidRuntimeFacts, AppPresence, ArchivedBytes, ArchivedUsage, ArchivedWorkspace, BUILD_HISTORY_KEY, BUILD_HISTORY_LIMIT, BUILD_PHASES, BUILD_RESULTS, BuildCacheHit, BuildCause, BuildDetail, BuildDiagnostic, BuildHistoryEntry, BuildMachineCredential, BuildMachineTotals, BuildMissCategory, BuildMissChange, BuildMissReason, BuildPhase, BuildPlacement, BuildPlanPayload, BuildReport, BuildResult, BuildWaitingFor, CAPACITY_REFUSAL_LIMIT, CAPACITY_REFUSAL_MAX_AGE_MS, ChecksState, ConcurrencyLimits, Config, CreatedDevicePlatform, CreatedDevices, DEVICE_IDLE_SHUTDOWN_KEY, DEVICE_RECLAIM_REASON, DEV_SERVER_STOP_REQUEST_KEY, DevServerStopRecord, DevServerStopRequest, DeviceActivity, DeviceAppProcess, DeviceHostMachineCredential, DeviceIdleShutdownRecord, DeviceLeaseState, DevicePlacement, DeviceRecord, DeviceViewersRecord, DiskMeasure, DoctorRunRecord, ENDED_AGENT_RETENTION_MS, ERROR_SOURCES, EasSessionClaim, EasSessionLedgerRead, EndedAgentSession, Endpoint, EnvironmentDisk, EnvironmentState, GitChip, GitChipPart, HISTORY_LIMIT, HOSTED_AGENT_DRIVERS, HOSTED_APP_CHUNK_BYTES, HOSTED_LOGS_FIRST_BYTES, HOSTED_LOGS_PAGE_BYTES, HOSTED_MACOS_APP_SLOTS, HOSTED_METRO_GATEWAYS_KEY, HOSTED_METRO_REQUESTS_KEY, HostedAgentAccess, HostedAgentDriverName, HostedAgentGrant, HostedAgentLease, HostedAndroidChoice, HostedAndroidDevice, HostedAndroidPlacement, HostedAndroidStatus, HostedAppDelivery, HostedAppFile, HostedAppLaunch, HostedAppOffer, HostedAppRecord, HostedDevice, HostedDeviceOffer, HostedDeviceOfferRequest, HostedDevicePhase, HostedDevicePlatform, HostedDeviceRequest, HostedDeviceSelectors, HostedDeviceSession, HostedIosChoice, HostedIosDevice, HostedIosPlacement, HostedIosStatus, HostedLogsCursor, HostedLogsPage, HostedMacosChoice, HostedMacosDevice, HostedMacosPlacement, HostedMetroGateway, HostedMetroRequest, HostedNativeOffer, HostedNativePlacement, IDLE_STOP_KEY, IOS_SIMULATOR_APPS, IdleStopRecord, LAST_BUILD_KEYS, LEVELS, LastBuildReport, MACHINE_OWNER_KINDS, MEMORY_SOURCES, MachineCapacity, MachineOwner, MachineOwnerKind, MachineUsageState, MacosAppRecord, MacosAppState, MacosBuild, MacosProcess, MaintenanceAction, MaintenanceActionKind, MaintenanceCheck, MaintenanceMode, MaintenancePass, MaintenancePressure, MaintenanceRecord, MaintenanceSize, MaintenanceState, MaintenanceStatus, MemorySource, MetroBundleState, MetroLastStop, NATIVE_BUILD_STEPS, NATIVE_CRASH_LOG_PREFIX, NativeBuildStep, NdjsonRecord, OFFLOAD_MODES, OffloadMode, OffloadSummary, PHYSICAL_DEVICE_CONNECTIONS, PLACEMENT_DECISIONS, ParkedMax, PhysicalDeviceConnection, PhysicalDeviceState, PlannedPhase, PlatformRecords, ProjectRecord, PullRequestCacheEntry, QueryCriteria, READY_PHASE_MS, RECORDING_CAP_BYTES, RECORDING_FOOTAGE_MS, RECORDING_PLATFORMS, REMOTE_DEVICE_BACKENDS, ReadStatsResult, RecordedDevice, RecordedSegment, RecordingPlatform, RemoteDeviceBackend, RemoteDeviceState, RepoRecord, RunEstimates, RunHistory, RunOutcomeKind, RunSample, SETTINGS, SETTINGS_SCHEMA_FILE, SETTINGS_SCHEMA_URL, SETTING_GROUPS, SETTING_SCOPES, SOURCES, STATS_VERSION, STATUS_ISSUE_CODES, SettingDefinition, SettingEntry, SettingScope, SettingType, SettingsObject, SettingsPayload, SetupCapability, SetupJournal, SimulatorState, StatsBucket, StatsCapacityRefusal, StatsCapacityWait, StatsPlacement, StatsPlatform, StatsRecord, StatsReport, StatsScope, StatusCacheEntry, StatusCapacity, StatusIssue, StatusIssueCode, StatusPayload, StimConfig, SupervisorRecord, SwiftpmCacheUsage, TAILNET_MACHINE_PATTERN, TUNNEL_MODES, TUTORIAL_VERSION, TailnetPeer, TunnelMode, ViewedDevice, WARM_KEY, WEB_PAGE_STATES, WEB_VIEWPORTS, WORKSPACE_AGENT_KEY, WORKSPACE_PHASES, WORKSPACE_STAGE_KINDS, WarmRecord, WarmStep, WebBrowserState, WebPageState, WebViewport, WorkspacePhase, WorkspaceStage, WorkspaceState, WorktreeFacts, WorktreeGit, WorktreePullRequest, acceptsShape, advanceTail, agentDeviceStateDirs, agentDeviceUsageFile, agentSessionOf, agentSessionsCacheFile, allMetroPorts, archiveDir, archiveEnabled, archiveLock, archiveRoot, archivedUsage, assertHostedDeviceLedger, attachExpoErrorContext, buildCriteria, buildDiagnostics, buildMachinesFile, buildMachinesLock, buildSlotPath, buildSlotsDir, buildWorkerRoot, bundleMarkerPlatform, capDrops, closedSegmentName, coerceSettingText, compileGrep, configCorruptRepair, configLockPath, countErrorEntries, createAgentActionReader, createdDevicesFile, createdDevicesLock, decodeStats, deviceHostArea, deviceHostMachinesClaims, deviceHostMachinesFile, deviceHostMachinesLock, deviceHostRoot, deviceViewersDir, diskUsageCacheDir, diskUsageCacheFile, easMachineStateRoot, easSessionLedgerFile, easSessionLedgerLock, emulatorLogFile, endedAgentSessionOf, endpoint, expectedShape, fileSizes, findEnclosingWorktreeRoot, findPeer, findProjectByMetroPort, findProjectRoot, followLogs, footageDrops, getConcurrencyLimits, getConfigPath, getParkedMax, getProject, getProjectSetting, getProjectSettings, getRepoSettings, gitMergeCacheDir, hostedAndroidDeviceName, hostedAndroidPlacements, hostedAndroidRecords, hostedAndroidStatus, hostedAppArea, hostedAppAttempt, hostedAppBlobs, hostedConsolePort, hostedDeviceId, hostedIosPlacements, hostedIosRecords, hostedIosStatus, hostedMacosAppSlot, hostedMacosBundleId, hostedMacosLogsDir, hostedMetroGateways, hostedMetroRequests, hostedNativeLogsDir, hostedNativeRecords, isJournalExpired, isJsonObject, isLayeredSetting, isPathPrefix, isSensitiveReference, isSetupJournalPrunable, lastUseFrom, levelRank, linkReplacedArchives, listRecordedDevices, listSegments, listStatusCacheEntries, loadConfig, logFiles, machineCapacity, macosAppState, maintenanceAttemptFile, maintenanceChildLogFile, maintenanceDir, maintenanceNdjsonFile, maintenanceRunClaims, maintenanceStateFile, markerWindow, offloadSummary, openSegmentName, parseHostedAgentAccess, parseHostedAgentGrant, parseHostedAndroidDevice, parseHostedAndroidPlacement, parseHostedAppManifest, parseHostedAppOffer, parseHostedChoice, parseHostedDevice, parseHostedIosPlacement, parseHostedLocalDeviceCount, parseHostedLogsCursor, parseHostedMacosChoice, parseHostedMacosDevice, parseHostedMacosPlacement, parseHostedNativeOffer, parseHostedNativePlacement, parseHostedOfferRequest, parseHostedPlatformDevice, parseHostedRequest, parseMachine, parseMacosRecord, parseMaintenanceState, parseMissReason, parseNdjsonLine, parseNdjsonText, parseSetupJournal, parseSince, pinnedEndpoint, pullRequestCacheDir, pullRequestCacheFile, queryJsonLogs, queryLogs, readAgentDeviceUsage, readAgentDeviceUsageCache, readAgentSessionsCache, readArchive, readArchiveState, readArchives, readBuildDetail, readBuildHistory, readBuildMachines, readCreatedDevices, readDevServerStop, readDevServerStopRequest, readDeviceHostMachines, readDeviceIdleShutdowns, readDevicePlacement, readDiskUsage, readEasSessionLedger, readEndedAgentSessions, readHostedApp, readHostedAppMetadata, readHostedDevice, readHostedDeviceLedger, readHostedMacosApp, readHostedNativeLogsCheckpoint, readHostedSessions, readIdleStop, readJsonFile, readJsonObject, readLastBuilds, readLogRecords, readLogTimeline, readLogsSince, readMacosRecord, readMaintenanceAttempt, readMaintenanceState, readNdjsonGenerations, readPullRequestCache, readRunEstimates, readSetupJournal, readStateFile, readStats, readStatsReport, readSwiftpmCacheUsage, readViewedDevices, readWarmRecord, readWorkspaceAgent, readWorkspaceState, recordMatches, recordedBytes, recordingDeviceName, recordingEnabled, rememberHostedAppBlobRename, saturation, serverSetupDir, settingDefinition, settingValueError, settingsJsonSchema, setupJournalFile, sharedCcache, sharedCompilationCache, sharedGradle, sharedPods, sortByTs, statsFile, statsProjectKey, stimBuildDigest, supervisorLogFile, supervisorPidFile, swiftpmCacheUsageFile, tailRead, trimCapacityRefusals, trimCapacityWaits, trimSamples, tryAcquireBuildSlotClaim, unreadableHostedAndroid, unreadableHostedIos, unreadableHostedNative, validEasSessionClaim, validHostedAppArguments, validHostedAppBlob, wholePhases, withConfigLock, withDerivedFacts, withGitChip, withStateReadCache, workspaceAgentDeviceDir, workspaceBuildDetailFile, workspaceDerivedData, workspaceEndedAgentsFile, workspaceEndedAgentsLock, workspaceGradleBuild, workspaceLastUsed, workspaceLogErrorIndex, workspaceLogsDir, workspaceMetadataFile, workspaceRecordingsDir, workspaceStateFile, workspaceStateLock };
|
|
1
|
+
import { $ as readRunEstimates, $a as isSensitiveReference, $i as HostedAgentLease, $n as readHostedMacosApp, $o as workspaceAgentDeviceDir, $r as MetroLastStop, $s as getProjectSetting, $t as BuildResult, A as DeviceHostMachineCredential, Aa as ANDROID_EMULATOR_APPS, Ac as readAgentDeviceUsageCache, Ai as HostedIosDevice, An as StatsPlatform, Ao as diskUsageCacheDir, Ar as HostedAndroidPlacement, As as tailRead, At as ActiveBuildState, B as RunHistory, Ba as SettingDefinition, Bc as readNdjsonGenerations, Bi as parseHostedLocalDeviceCount, Bn as WebBrowserState, Bo as maintenanceNdjsonFile, Br as parseHostedNativePlacement, Bs as readJsonFile, Bt as BuildCacheHit, C as pinnedEndpoint, Ca as rememberHostedAppBlobRename, Cc as SwiftpmCacheUsage, Ci as HostedDeviceOfferRequest, Cn as PhysicalDeviceConnection, Co as configLockPath, Cr as HostedIosPlacement, Cs as parseSince, Ct as readEndedAgentSessions, D as HostedMetroRequest, Da as SETTINGS_SCHEMA_URL, Dc as AgentDeviceUsageRoots, Di as HostedDeviceSelectors, Dn as RunOutcomeKind, Do as deviceHostMachinesFile, Dr as hostedIosStatus, Ds as readLogTimeline, Dt as ACTIVITY_RECENCY_BASES, E as HostedMetroGateway, Ea as SETTINGS_SCHEMA_FILE, Ec as AgentDeviceUsage, Ei as HostedDeviceRequest, En as RemoteDeviceState, Eo as deviceHostMachinesClaims, Er as hostedIosRecords, Es as readLogRecords, Et as withGitChip, F as HISTORY_LIMIT, Fa as REMOTE_DEVICE_BACKENDS, Fc as NdjsonRecord, Fi as hostedConsolePort, Fn as TUTORIAL_VERSION, Fo as getConfigPath, Fr as hostedAndroidStatus, Fs as EasSessionLedgerRead, Ft as AndroidDeviceState, G as StatsCapacityWait, Ga as TUNNEL_MODES, Gi as readHostedDevice, Gn as WorktreeGit, Go as setupJournalFile, Gr as DEVICE_RECLAIM_REASON, Gs as allMetroPorts, Gt as BuildMissCategory, H as STATS_VERSION, Ha as SettingScope, Hi as parseHostedOfferRequest, Hn as WorkspacePhase, Ho as maintenanceStateFile, Hr as BUILD_HISTORY_KEY, Hs as readStateFile, Ht as BuildDetail, I as OffloadSummary, Ia as RemoteDeviceBackend, Ic as SOURCES, Ii as hostedDeviceId, In as WEB_PAGE_STATES, Io as gitMergeCacheDir, Ir as parseHostedAndroidPlacement, Is as readCreatedDevices, It as AndroidRuntimeFacts, J as StatsReport, Ja as WebViewport, Ji as HOSTED_AGENT_DRIVERS, Jn as MacosAppState, Jo as sharedGradle, Jr as DevServerStopRequest, Js as findEnclosingWorktreeRoot, Jt as BuildPhase, K as StatsPlacement, Ka as TunnelMode, Ki as readHostedDeviceLedger, Kn as WorktreePullRequest, Ko as sharedCcache, Kr as DEV_SERVER_STOP_REQUEST_KEY, Ks as buildWorkerRoot, Kt as BuildMissChange, L as PLACEMENT_DECISIONS, La as SETTINGS, Lc as levelRank, Li as parseHostedAndroidDevice, Ln as WORKSPACE_PHASES, Lo as maintenanceAttemptFile, Lr as unreadableHostedAndroid, Ls as readEasSessionLedger, Lt as AppPresence, M as BuildMachineTotals, Ma as IOS_SIMULATOR_APPS, Mc as AgentTarget, Mi as assertHostedDeviceLedger, Mn as StatusIssue, Mo as easSessionLedgerFile, Mr as hostedAndroidDeviceName, Ms as CreatedDevicePlatform, Mt as ActivityRecencyBasis, N as CAPACITY_REFUSAL_LIMIT, Na as OFFLOAD_MODES, Nc as createAgentActionReader, Ni as deviceHostArea, Nn as StatusIssueCode, No as easSessionLedgerLock, Nr as hostedAndroidPlacements, Ns as CreatedDevices, Nt as AgentSession, O as hostedMetroGateways, Oa as settingsJsonSchema, Oc as agentDeviceUsageFile, Oi as HostedDeviceSession, On as STATUS_ISSUE_CODES, Oo as deviceHostMachinesLock, Or as parseHostedIosPlacement, Os as recordMatches, Ot as AGENT_TOOLS, P as CAPACITY_REFUSAL_MAX_AGE_MS, Pa as OffloadMode, Pc as LEVELS, Pi as deviceHostRoot, Pn as StatusPayload, Po as emulatorLogFile, Pr as hostedAndroidRecords, Ps as EasSessionClaim, Pt as AgentTool, Q as offloadSummary, Qa as isLayeredSetting, Qi as HostedAgentGrant, Qn as parseMacosRecord, Qo as supervisorPidFile, Qr as LAST_BUILD_KEYS, Qs as getProject, Qt as BuildReport, R as ReadStatsResult, Ra as SETTING_GROUPS, Rc as parseNdjsonLine, Ri as parseHostedChoice, Rn as WORKSPACE_STAGE_KINDS, Ro as maintenanceChildLogFile, Rr as HostedNativePlacement, Rs as validEasSessionClaim, Rt as BUILD_PHASES, S as parseMachine, Sa as readHostedAppMetadata, Sc as tryAcquireBuildSlotClaim, Si as HostedDeviceOffer, Sn as PHYSICAL_DEVICE_CONNECTIONS, So as buildMachinesLock, Sr as readMaintenanceState, Ss as markerWindow, St as readDiskUsage, T as HOSTED_METRO_REQUESTS_KEY, Ta as validHostedAppBlob, Tc as swiftpmCacheUsageFile, Ti as HostedDevicePlatform, Tn as PlannedPhase, To as createdDevicesLock, Tr as hostedIosPlacements, Ts as queryLogs, Tt as withDerivedFacts, U as StatsBucket, Ua as SettingType, Ui as parseHostedPlatformDevice, Un as WorkspaceStage, Uo as pullRequestCacheDir, Ur as BUILD_HISTORY_LIMIT, Us as withStateReadCache, Ut as BuildDiagnostic, V as RunSample, Va as SettingEntry, Vi as parseHostedNativeOffer, Vn as WebPageState, Vo as maintenanceRunClaims, Vr as unreadableHostedNative, Vs as readJsonObject, Vt as BuildCause, W as StatsCapacityRefusal, Wa as SettingsPayload, Wi as parseHostedRequest, Wn as WorktreeFacts, Wo as serverSetupDir, Wr as DEVICE_IDLE_SHUTDOWN_KEY, Ws as ParkedMax, Wt as BuildHistoryEntry, X as decodeStats, Xa as coerceSettingText, Xi as HostedAgentAccess, Xn as MacosProcess, Xo as statsFile, Xr as IDLE_STOP_KEY, Xs as getConcurrencyLimits, Xt as BuildPlanPayload, Y as StatsScope, Ya as acceptsShape, Yi as HOSTED_MACOS_APP_SLOTS, Yn as MacosBuild, Yo as sharedPods, Yr as DeviceIdleShutdownRecord, Ys as findProjectByMetroPort, Yt as BuildPlacement, Z as findProjectRoot, Za as expectedShape, Zi as HostedAgentDriverName, Zn as macosAppState, Zo as supervisorLogFile, Zr as IdleStopRecord, Zs as getParkedMax, Zt as BuildPlatform, _ as Endpoint, _a as hostedAppAttempt, _c as MachineCapacity, _i as readWorkspaceState, _n as MachineUsageState, _o as agentSessionsCacheFile, _r as MaintenanceSize, _s as bundleMarkerPlatform, _t as endedAgentSessionOf, a as parseSetupJournal, aa as hostedMacosBundleId, ac as ConcurrencyLimits, ai as buildDiagnostics, an as DevicePlacement, ao as RecordedDevice, ar as archivedUsage, as as workspaceLogErrorIndex, at as trimSamples, b as endpoint, ba as parseHostedAppOffer, bc as machineCapacity, bi as HostedAndroidDevice, bn as NATIVE_BUILD_STEPS, bo as archiveRoot, br as parseMaintenanceState, bs as followLogs, bt as readAgentSessionsCache, c as HOSTED_LOGS_FIRST_BYTES, ca as parseHostedMacosChoice, cc as DoctorRunRecord, ci as readBuildHistory, cn as EnvironmentDisk, co as capDrops, cr as readArchiveState, cs as workspaceRecordingsDir, ct as ViewedDevice, d as HostedLogsPage, da as HOSTED_APP_CHUNK_BYTES, dc as RepoRecord, di as readDeviceIdleShutdowns, dn as GitChipPart, do as listRecordedDevices, dr as MaintenanceActionKind, ds as ERROR_SOURCES, dt as AgentSessionsCache, ea as HostedAppLaunch, ec as getProjectSettings, ei as READY_PHASE_MS, en as BuildWaitingFor, eo as settingDefinition, er as readMacosRecord, es as workspaceBuildDetailFile, et as readStats, f as hostedMacosLogsDir, fa as HostedAppDelivery, fc as SettingsObject, fi as readDevicePlacement, fn as LastBuildReport, fo as listSegments, fr as MaintenanceCheck, fs as NATIVE_CRASH_LOG_PREFIX, ft as ENDED_AGENT_RETENTION_MS, g as readLogsSince, ga as hostedAppArea, gc as readBuildMachines, gi as readWorkspaceAgent, gn as MachineOwnerKind, go as recordingEnabled, gr as MaintenanceRecord, gs as buildCriteria, gt as diskUsageCacheFile, h as readHostedNativeLogsCheckpoint, ha as HostedAppRecord, hc as BuildMachineCredential, hi as readWarmRecord, hn as MachineOwner, ho as recordingDeviceName, hr as MaintenancePressure, hs as attachExpoErrorContext, ht as agentSessionOf, i as isSetupJournalPrunable, ia as hostedMacosAppSlot, ic as withConfigLock, ii as WorkspaceState, in as DeviceLeaseState, io as RECORDING_PLATFORMS, ir as archiveEnabled, is as workspaceGradleBuild, it as trimCapacityWaits, j as readDeviceHostMachines, ja as ANDROID_PCH_CHOICES, jc as AgentActionReaderOptions, ji as HostedNativeOffer, jn as StatusCapacity, jo as easMachineStateRoot, jr as HostedAndroidStatus, js as countErrorEntries, jt as ActivityDriver, k as hostedMetroRequests, ka as ANDROID_COMPILER_CACHE_CHOICES, kc as readAgentDeviceUsage, ki as HostedIosChoice, kn as SimulatorState, ko as deviceViewersDir, kr as unreadableHostedIos, ks as sortByTs, kt as APP_PROCESS_STATES, l as HOSTED_LOGS_PAGE_BYTES, la as parseHostedMacosDevice, lc as PlatformRecords, li as readDevServerStop, ln as EnvironmentState, lo as closedSegmentName, lr as readArchives, ls as workspaceStateFile, lt as readViewedDevices, m as parseHostedLogsCursor, ma as HostedAppOffer, mc as SupervisorRecord, mi as readLastBuilds, mn as MEMORY_SOURCES, mo as recordedBytes, mr as MaintenancePass, ms as advanceTail, mt as StatusCacheEntry, n as SetupJournal, na as HostedMacosDevice, nc as isPathPrefix, ni as WORKSPACE_AGENT_KEY, nn as DeviceActivity, no as RECORDING_CAP_BYTES, nr as ArchivedUsage, ns as workspaceEndedAgentsFile, nt as statsProjectKey, o as readSetupJournal, oa as parseHostedAgentAccess, oc as Config, oi as lastUseFrom, on as DiskMeasure, oo as RecordedSegment, or as linkReplacedArchives, os as workspaceLogsDir, ot as wholePhases, p as hostedNativeLogsDir, pa as HostedAppFile, pc as StimConfig, pi as readIdleStop, pn as MACHINE_OWNER_KINDS, po as openSegmentName, pr as MaintenanceMode, ps as QueryCriteria, pt as PullRequestCacheEntry, q as StatsRecord, qa as WEB_VIEWPORTS, qi as readHostedSessions, qn as MacosAppRecord, qo as sharedCompilationCache, qr as DevServerStopRecord, qs as configCorruptRepair, qt as BuildMissReason, r as isJournalExpired, ra as HostedMacosPlacement, rc as loadConfig, ri as WarmRecord, rn as DeviceAppProcess, ro as RECORDING_FOOTAGE_MS, rr as ArchivedWorkspace, rs as workspaceEndedAgentsLock, rt as trimCapacityRefusals, s as agentDeviceStateDirs, sa as parseHostedAgentGrant, sc as DeviceRecord, si as parseMissReason, sn as EndedAgentSession, so as RecordingPlatform, sr as readArchive, ss as workspaceMetadataFile, st as DeviceViewersRecord, t as SetupCapability, ta as HostedMacosChoice, tc as getRepoSettings, ti as WARM_KEY, tn as ChecksState, to as settingValueError, tr as ArchivedBytes, ts as workspaceDerivedData, tt as readStatsReport, u as HostedLogsCursor, ua as parseHostedMacosPlacement, uc as ProjectRecord, ui as readDevServerStopRequest, un as GitChip, uo as footageDrops, ur as MaintenanceAction, us as workspaceStateLock, ut as stimBuildDigest, v as TAILNET_MACHINE_PATTERN, va as hostedAppBlobs, vc as buildSlotPath, vi as workspaceLastUsed, vn as MemorySource, vo as archiveDir, vr as MaintenanceState, vs as compileGrep, vt as listStatusCacheEntries, w as HOSTED_METRO_GATEWAYS_KEY, wa as validHostedAppArguments, wc as readSwiftpmCacheUsage, wi as HostedDevicePhase, wn as PhysicalDeviceState, wo as createdDevicesFile, wr as HostedIosStatus, ws as queryJsonLogs, wt as readPullRequestCache, x as findPeer, xa as readHostedApp, xc as saturation, xi as HostedDevice, xn as NativeBuildStep, xo as buildMachinesFile, xr as readMaintenanceAttempt, xs as logFiles, xt as readBuildDetail, y as TailnetPeer, ya as parseHostedAppManifest, yc as buildSlotsDir, yi as HostedAndroidChoice, yn as MetroBundleState, yo as archiveLock, yr as MaintenanceStatus, ys as fileSizes, yt as pullRequestCacheFile, z as RunEstimates, za as SETTING_SCOPES, zc as parseNdjsonText, zi as parseHostedDevice, zn as WarmStep, zo as maintenanceDir, zr as hostedNativeRecords, zs as isJsonObject, zt as BUILD_RESULTS } from "./index-lRdEfJSb.mjs";
|
|
2
|
+
export { ACTIVITY_RECENCY_BASES, AGENT_TOOLS, ANDROID_COMPILER_CACHE_CHOICES, ANDROID_EMULATOR_APPS, ANDROID_PCH_CHOICES, APP_PROCESS_STATES, ActiveBuildState, ActivityDriver, ActivityRecencyBasis, AgentActionReaderOptions, AgentDeviceUsage, AgentDeviceUsageRoots, AgentSession, AgentSessionsCache, AgentTarget, AgentTool, AndroidDeviceState, AndroidRuntimeFacts, AppPresence, ArchivedBytes, ArchivedUsage, ArchivedWorkspace, BUILD_HISTORY_KEY, BUILD_HISTORY_LIMIT, BUILD_PHASES, BUILD_RESULTS, BuildCacheHit, BuildCause, BuildDetail, BuildDiagnostic, BuildHistoryEntry, BuildMachineCredential, BuildMachineTotals, BuildMissCategory, BuildMissChange, BuildMissReason, BuildPhase, BuildPlacement, BuildPlanPayload, BuildPlatform, BuildReport, BuildResult, BuildWaitingFor, CAPACITY_REFUSAL_LIMIT, CAPACITY_REFUSAL_MAX_AGE_MS, ChecksState, ConcurrencyLimits, Config, CreatedDevicePlatform, CreatedDevices, DEVICE_IDLE_SHUTDOWN_KEY, DEVICE_RECLAIM_REASON, DEV_SERVER_STOP_REQUEST_KEY, DevServerStopRecord, DevServerStopRequest, DeviceActivity, DeviceAppProcess, DeviceHostMachineCredential, DeviceIdleShutdownRecord, DeviceLeaseState, DevicePlacement, DeviceRecord, DeviceViewersRecord, DiskMeasure, DoctorRunRecord, ENDED_AGENT_RETENTION_MS, ERROR_SOURCES, EasSessionClaim, EasSessionLedgerRead, EndedAgentSession, Endpoint, EnvironmentDisk, EnvironmentState, GitChip, GitChipPart, HISTORY_LIMIT, HOSTED_AGENT_DRIVERS, HOSTED_APP_CHUNK_BYTES, HOSTED_LOGS_FIRST_BYTES, HOSTED_LOGS_PAGE_BYTES, HOSTED_MACOS_APP_SLOTS, HOSTED_METRO_GATEWAYS_KEY, HOSTED_METRO_REQUESTS_KEY, HostedAgentAccess, HostedAgentDriverName, HostedAgentGrant, HostedAgentLease, HostedAndroidChoice, HostedAndroidDevice, HostedAndroidPlacement, HostedAndroidStatus, HostedAppDelivery, HostedAppFile, HostedAppLaunch, HostedAppOffer, HostedAppRecord, HostedDevice, HostedDeviceOffer, HostedDeviceOfferRequest, HostedDevicePhase, HostedDevicePlatform, HostedDeviceRequest, HostedDeviceSelectors, HostedDeviceSession, HostedIosChoice, HostedIosDevice, HostedIosPlacement, HostedIosStatus, HostedLogsCursor, HostedLogsPage, HostedMacosChoice, HostedMacosDevice, HostedMacosPlacement, HostedMetroGateway, HostedMetroRequest, HostedNativeOffer, HostedNativePlacement, IDLE_STOP_KEY, IOS_SIMULATOR_APPS, IdleStopRecord, LAST_BUILD_KEYS, LEVELS, LastBuildReport, MACHINE_OWNER_KINDS, MEMORY_SOURCES, MachineCapacity, MachineOwner, MachineOwnerKind, MachineUsageState, MacosAppRecord, MacosAppState, MacosBuild, MacosProcess, MaintenanceAction, MaintenanceActionKind, MaintenanceCheck, MaintenanceMode, MaintenancePass, MaintenancePressure, MaintenanceRecord, MaintenanceSize, MaintenanceState, MaintenanceStatus, MemorySource, MetroBundleState, MetroLastStop, NATIVE_BUILD_STEPS, NATIVE_CRASH_LOG_PREFIX, NativeBuildStep, NdjsonRecord, OFFLOAD_MODES, OffloadMode, OffloadSummary, PHYSICAL_DEVICE_CONNECTIONS, PLACEMENT_DECISIONS, ParkedMax, PhysicalDeviceConnection, PhysicalDeviceState, PlannedPhase, PlatformRecords, ProjectRecord, PullRequestCacheEntry, QueryCriteria, READY_PHASE_MS, RECORDING_CAP_BYTES, RECORDING_FOOTAGE_MS, RECORDING_PLATFORMS, REMOTE_DEVICE_BACKENDS, ReadStatsResult, RecordedDevice, RecordedSegment, RecordingPlatform, RemoteDeviceBackend, RemoteDeviceState, RepoRecord, RunEstimates, RunHistory, RunOutcomeKind, RunSample, SETTINGS, SETTINGS_SCHEMA_FILE, SETTINGS_SCHEMA_URL, SETTING_GROUPS, SETTING_SCOPES, SOURCES, STATS_VERSION, STATUS_ISSUE_CODES, SettingDefinition, SettingEntry, SettingScope, SettingType, SettingsObject, SettingsPayload, SetupCapability, SetupJournal, SimulatorState, StatsBucket, StatsCapacityRefusal, StatsCapacityWait, StatsPlacement, StatsPlatform, StatsRecord, StatsReport, StatsScope, StatusCacheEntry, StatusCapacity, StatusIssue, StatusIssueCode, StatusPayload, StimConfig, SupervisorRecord, SwiftpmCacheUsage, TAILNET_MACHINE_PATTERN, TUNNEL_MODES, TUTORIAL_VERSION, TailnetPeer, TunnelMode, ViewedDevice, WARM_KEY, WEB_PAGE_STATES, WEB_VIEWPORTS, WORKSPACE_AGENT_KEY, WORKSPACE_PHASES, WORKSPACE_STAGE_KINDS, WarmRecord, WarmStep, WebBrowserState, WebPageState, WebViewport, WorkspacePhase, WorkspaceStage, WorkspaceState, WorktreeFacts, WorktreeGit, WorktreePullRequest, acceptsShape, advanceTail, agentDeviceStateDirs, agentDeviceUsageFile, agentSessionOf, agentSessionsCacheFile, allMetroPorts, archiveDir, archiveEnabled, archiveLock, archiveRoot, archivedUsage, assertHostedDeviceLedger, attachExpoErrorContext, buildCriteria, buildDiagnostics, buildMachinesFile, buildMachinesLock, buildSlotPath, buildSlotsDir, buildWorkerRoot, bundleMarkerPlatform, capDrops, closedSegmentName, coerceSettingText, compileGrep, configCorruptRepair, configLockPath, countErrorEntries, createAgentActionReader, createdDevicesFile, createdDevicesLock, decodeStats, deviceHostArea, deviceHostMachinesClaims, deviceHostMachinesFile, deviceHostMachinesLock, deviceHostRoot, deviceViewersDir, diskUsageCacheDir, diskUsageCacheFile, easMachineStateRoot, easSessionLedgerFile, easSessionLedgerLock, emulatorLogFile, endedAgentSessionOf, endpoint, expectedShape, fileSizes, findEnclosingWorktreeRoot, findPeer, findProjectByMetroPort, findProjectRoot, followLogs, footageDrops, getConcurrencyLimits, getConfigPath, getParkedMax, getProject, getProjectSetting, getProjectSettings, getRepoSettings, gitMergeCacheDir, hostedAndroidDeviceName, hostedAndroidPlacements, hostedAndroidRecords, hostedAndroidStatus, hostedAppArea, hostedAppAttempt, hostedAppBlobs, hostedConsolePort, hostedDeviceId, hostedIosPlacements, hostedIosRecords, hostedIosStatus, hostedMacosAppSlot, hostedMacosBundleId, hostedMacosLogsDir, hostedMetroGateways, hostedMetroRequests, hostedNativeLogsDir, hostedNativeRecords, isJournalExpired, isJsonObject, isLayeredSetting, isPathPrefix, isSensitiveReference, isSetupJournalPrunable, lastUseFrom, levelRank, linkReplacedArchives, listRecordedDevices, listSegments, listStatusCacheEntries, loadConfig, logFiles, machineCapacity, macosAppState, maintenanceAttemptFile, maintenanceChildLogFile, maintenanceDir, maintenanceNdjsonFile, maintenanceRunClaims, maintenanceStateFile, markerWindow, offloadSummary, openSegmentName, parseHostedAgentAccess, parseHostedAgentGrant, parseHostedAndroidDevice, parseHostedAndroidPlacement, parseHostedAppManifest, parseHostedAppOffer, parseHostedChoice, parseHostedDevice, parseHostedIosPlacement, parseHostedLocalDeviceCount, parseHostedLogsCursor, parseHostedMacosChoice, parseHostedMacosDevice, parseHostedMacosPlacement, parseHostedNativeOffer, parseHostedNativePlacement, parseHostedOfferRequest, parseHostedPlatformDevice, parseHostedRequest, parseMachine, parseMacosRecord, parseMaintenanceState, parseMissReason, parseNdjsonLine, parseNdjsonText, parseSetupJournal, parseSince, pinnedEndpoint, pullRequestCacheDir, pullRequestCacheFile, queryJsonLogs, queryLogs, readAgentDeviceUsage, readAgentDeviceUsageCache, readAgentSessionsCache, readArchive, readArchiveState, readArchives, readBuildDetail, readBuildHistory, readBuildMachines, readCreatedDevices, readDevServerStop, readDevServerStopRequest, readDeviceHostMachines, readDeviceIdleShutdowns, readDevicePlacement, readDiskUsage, readEasSessionLedger, readEndedAgentSessions, readHostedApp, readHostedAppMetadata, readHostedDevice, readHostedDeviceLedger, readHostedMacosApp, readHostedNativeLogsCheckpoint, readHostedSessions, readIdleStop, readJsonFile, readJsonObject, readLastBuilds, readLogRecords, readLogTimeline, readLogsSince, readMacosRecord, readMaintenanceAttempt, readMaintenanceState, readNdjsonGenerations, readPullRequestCache, readRunEstimates, readSetupJournal, readStateFile, readStats, readStatsReport, readSwiftpmCacheUsage, readViewedDevices, readWarmRecord, readWorkspaceAgent, readWorkspaceState, recordMatches, recordedBytes, recordingDeviceName, recordingEnabled, rememberHostedAppBlobRename, saturation, serverSetupDir, settingDefinition, settingValueError, settingsJsonSchema, setupJournalFile, sharedCcache, sharedCompilationCache, sharedGradle, sharedPods, sortByTs, statsFile, statsProjectKey, stimBuildDigest, supervisorLogFile, supervisorPidFile, swiftpmCacheUsageFile, tailRead, trimCapacityRefusals, trimCapacityWaits, trimSamples, tryAcquireBuildSlotClaim, unreadableHostedAndroid, unreadableHostedIos, unreadableHostedNative, validEasSessionClaim, validHostedAppArguments, validHostedAppBlob, wholePhases, withConfigLock, withDerivedFacts, withGitChip, withStateReadCache, workspaceAgentDeviceDir, workspaceBuildDetailFile, workspaceDerivedData, workspaceEndedAgentsFile, workspaceEndedAgentsLock, workspaceGradleBuild, workspaceLastUsed, workspaceLogErrorIndex, workspaceLogsDir, workspaceMetadataFile, workspaceRecordingsDir, workspaceStateFile, workspaceStateLock };
|
package/dist/state.mjs
CHANGED
|
@@ -488,14 +488,14 @@ function agentSessionsCacheFile() {
|
|
|
488
488
|
function diskUsageCacheDir() {
|
|
489
489
|
return join(configDir(), "disk-usage");
|
|
490
490
|
}
|
|
491
|
-
/** The
|
|
491
|
+
/** The remote Macs this Mac paired with, each with its pinned tailnet node and device token. */
|
|
492
492
|
function buildMachinesFile() {
|
|
493
493
|
return join(configDir(), "build-machines.json");
|
|
494
494
|
}
|
|
495
495
|
function buildMachinesLock() {
|
|
496
496
|
return join(configDir(), "build-machines.lock");
|
|
497
497
|
}
|
|
498
|
-
/** The
|
|
498
|
+
/** The remote Macs this Mac asked for access, separate from build credentials. */
|
|
499
499
|
function deviceHostMachinesFile() {
|
|
500
500
|
return join(configDir(), "device-host-machines.json");
|
|
501
501
|
}
|
|
@@ -575,9 +575,9 @@ function configCorrupt(reason, path = getConfigPath()) {
|
|
|
575
575
|
corrupt.code = "STIM_CONFIG_CORRUPT";
|
|
576
576
|
return corrupt;
|
|
577
577
|
}
|
|
578
|
-
/** The build worker root: `
|
|
578
|
+
/** The build worker root: `server.workerRoot` when it is absolute, else `$STIM_HOME/build-worker`. */
|
|
579
579
|
function buildWorkerRoot(config = loadConfig()) {
|
|
580
|
-
const configured = config?.
|
|
580
|
+
const configured = config?.server?.workerRoot;
|
|
581
581
|
return typeof configured === "string" && configured.startsWith("/") ? configured : join(configDir(), "build-worker");
|
|
582
582
|
}
|
|
583
583
|
function loadConfig() {
|
|
@@ -1011,8 +1011,8 @@ const SETTINGS = [
|
|
|
1011
1011
|
pattern: TAILNET_MACHINE_PATTERN,
|
|
1012
1012
|
patternHelp: "eas, proxy, auto, or a tailnet machine name"
|
|
1013
1013
|
},
|
|
1014
|
-
scopes:
|
|
1015
|
-
description: "Default iOS remote target: eas, proxy, or an approved Mac in
|
|
1014
|
+
scopes: EVERY,
|
|
1015
|
+
description: "Default iOS remote target: eas, proxy, or an approved Mac in remote.machines; auto places on an approved Mac when this Mac is full or busy"
|
|
1016
1016
|
},
|
|
1017
1017
|
{
|
|
1018
1018
|
key: "ios.simslimProfile",
|
|
@@ -1109,8 +1109,8 @@ const SETTINGS = [
|
|
|
1109
1109
|
pattern: TAILNET_MACHINE_PATTERN,
|
|
1110
1110
|
patternHelp: "eas, proxy, auto, or a tailnet machine name"
|
|
1111
1111
|
},
|
|
1112
|
-
scopes:
|
|
1113
|
-
description: "Default Android remote target: eas, proxy, or an approved Mac in
|
|
1112
|
+
scopes: EVERY,
|
|
1113
|
+
description: "Default Android remote target: eas, proxy, or an approved Mac in remote.machines; auto places on an approved Mac when this Mac is full or busy"
|
|
1114
1114
|
},
|
|
1115
1115
|
{
|
|
1116
1116
|
key: "metro.tunnel",
|
|
@@ -1421,7 +1421,7 @@ const SETTINGS = [
|
|
|
1421
1421
|
scopes: MACHINE,
|
|
1422
1422
|
env: "STIM_BUDGET_MAX_COMMITTED_MEMORY_GB",
|
|
1423
1423
|
scopedHomeValue: 0,
|
|
1424
|
-
description: "Estimated memory, in GB, of
|
|
1424
|
+
description: "Estimated memory, in GB, of active environments before idle ones are reclaimed; unset is 60% of RAM, 0 is off"
|
|
1425
1425
|
},
|
|
1426
1426
|
{
|
|
1427
1427
|
key: "budget.maxLiveWorkspaces",
|
|
@@ -1429,7 +1429,7 @@ const SETTINGS = [
|
|
|
1429
1429
|
scopes: MACHINE,
|
|
1430
1430
|
env: "STIM_BUDGET_MAX_LIVE_WORKSPACES",
|
|
1431
1431
|
scopedHomeValue: 0,
|
|
1432
|
-
description: "
|
|
1432
|
+
description: "Active workspaces before idle ones are reclaimed; unset or 0 means no limit"
|
|
1433
1433
|
},
|
|
1434
1434
|
{
|
|
1435
1435
|
key: "maintenance.mode",
|
|
@@ -1630,12 +1630,6 @@ const SETTINGS = [
|
|
|
1630
1630
|
scopedHomeValue: 0,
|
|
1631
1631
|
description: "Parked emulators kept for adoption; 0 turns parking off"
|
|
1632
1632
|
},
|
|
1633
|
-
{
|
|
1634
|
-
key: "hosting.machines",
|
|
1635
|
-
type: { kind: "strings" },
|
|
1636
|
-
scopes: MACHINE,
|
|
1637
|
-
description: "Tailscale names of the Macs that may host owned simulator sessions for this one, each optionally with :<port> of its tailscale serve route (default 7443); doctor --fix asks for separate device-host approval"
|
|
1638
|
-
},
|
|
1639
1633
|
{
|
|
1640
1634
|
key: "hosting.agentDriver",
|
|
1641
1635
|
type: {
|
|
@@ -1654,13 +1648,13 @@ const SETTINGS = [
|
|
|
1654
1648
|
description: "Whether a Mac approved for builds or device hosting here may update this Mac's stim-server service to that Mac's own stim-server build; releases from npm need no setting"
|
|
1655
1649
|
},
|
|
1656
1650
|
{
|
|
1657
|
-
key: "
|
|
1651
|
+
key: "remote.machines",
|
|
1658
1652
|
type: { kind: "strings" },
|
|
1659
1653
|
scopes: MACHINE,
|
|
1660
|
-
description: "Tailscale names of the Macs
|
|
1654
|
+
description: "Tailscale names of the remote Macs this Mac may build on and host owned simulators on, each optionally with :<port> of its tailscale serve route (default 7443); what each is used for follows the build and device-host approvals it grants, which doctor --fix asks for separately"
|
|
1661
1655
|
},
|
|
1662
1656
|
{
|
|
1663
|
-
key: "
|
|
1657
|
+
key: "remote.build",
|
|
1664
1658
|
type: {
|
|
1665
1659
|
kind: "string",
|
|
1666
1660
|
pattern: TAILNET_MACHINE_PATTERN,
|
|
@@ -1668,38 +1662,38 @@ const SETTINGS = [
|
|
|
1668
1662
|
},
|
|
1669
1663
|
scopes: MACHINE,
|
|
1670
1664
|
default: "auto",
|
|
1671
|
-
env: "
|
|
1672
|
-
description: "Build placement: auto follows
|
|
1665
|
+
env: "STIM_REMOTE_BUILD",
|
|
1666
|
+
description: "Build placement: auto follows remote.buildMode with local fallback; local always builds here; a name in remote.machines requires that remote Mac without fallback. The ios, android and macos --remote-build flag overrides this setting and its environment override"
|
|
1673
1667
|
},
|
|
1674
1668
|
{
|
|
1675
|
-
key: "
|
|
1669
|
+
key: "remote.buildMode",
|
|
1676
1670
|
type: {
|
|
1677
1671
|
kind: "choice",
|
|
1678
1672
|
choices: OFFLOAD_MODES
|
|
1679
1673
|
},
|
|
1680
1674
|
scopes: MACHINE,
|
|
1681
1675
|
default: "auto",
|
|
1682
|
-
env: "
|
|
1683
|
-
description: "When
|
|
1676
|
+
env: "STIM_REMOTE_BUILD_MODE",
|
|
1677
|
+
description: "When remote.build is auto, where iOS simulator Debug, Android emulator debug and macOS SwiftPM Debug builds run: auto builds here while this Mac has a free concurrency.maxBuilds slot and its load is under server.maxLoadPerCore, and otherwise builds on a less loaded Mac in remote.machines; force builds on a remote Mac whenever one can take the build; off always builds here"
|
|
1684
1678
|
},
|
|
1685
1679
|
{
|
|
1686
|
-
key: "
|
|
1680
|
+
key: "server.maxLoadPerCore",
|
|
1687
1681
|
type: {
|
|
1688
1682
|
kind: "number",
|
|
1689
1683
|
minimum: .1
|
|
1690
1684
|
},
|
|
1691
1685
|
scopes: MACHINE,
|
|
1692
1686
|
default: 2,
|
|
1693
|
-
description: "Load per core (5-minute load average divided by the CPU count) at which
|
|
1687
|
+
description: "Load per core (5-minute load average divided by the CPU count) at which this Mac counts as saturated: it declines builds other Macs send it, automatic build placement stops preferring it, and automatic iOS and Android device placement treats it as busy"
|
|
1694
1688
|
},
|
|
1695
1689
|
{
|
|
1696
|
-
key: "
|
|
1690
|
+
key: "server.workerRoot",
|
|
1697
1691
|
type: ABSOLUTE_PATH,
|
|
1698
1692
|
scopes: MACHINE,
|
|
1699
|
-
description: "Directory where stim-server keeps the checkouts, dependencies and build state of Macs that build here; default $STIM_HOME/build-worker"
|
|
1693
|
+
description: "Directory where stim-server keeps the checkouts, dependencies and build state of the Macs that build here; default $STIM_HOME/build-worker"
|
|
1700
1694
|
},
|
|
1701
1695
|
{
|
|
1702
|
-
key: "
|
|
1696
|
+
key: "server.gradleDaemonIdleMinutes",
|
|
1703
1697
|
type: {
|
|
1704
1698
|
kind: "number",
|
|
1705
1699
|
integer: true,
|
|
@@ -1708,7 +1702,7 @@ const SETTINGS = [
|
|
|
1708
1702
|
},
|
|
1709
1703
|
scopes: MACHINE,
|
|
1710
1704
|
default: 30,
|
|
1711
|
-
description: "Minutes the Gradle daemon of an
|
|
1705
|
+
description: "Minutes the Gradle daemon of an Android build another Mac sent here stays warm after the build; 0 stops it when the build ends"
|
|
1712
1706
|
},
|
|
1713
1707
|
{
|
|
1714
1708
|
key: "caches.buildCache",
|
|
@@ -1878,7 +1872,7 @@ function tryAcquireBuildSlotClaim({ max, details }) {
|
|
|
1878
1872
|
if (refusal && !busy) throw refusal;
|
|
1879
1873
|
return null;
|
|
1880
1874
|
}
|
|
1881
|
-
/** Build slots held for a
|
|
1875
|
+
/** Build slots held for a remote Mac's offloaded builds, which run under another Stim home. */
|
|
1882
1876
|
function liveOffloadedSlots() {
|
|
1883
1877
|
let names;
|
|
1884
1878
|
try {
|
|
@@ -1896,9 +1890,9 @@ function liveOffloadedSlots() {
|
|
|
1896
1890
|
return count;
|
|
1897
1891
|
}
|
|
1898
1892
|
function maxLoadPerCore() {
|
|
1899
|
-
const value = loadConfig()?.
|
|
1893
|
+
const value = loadConfig()?.server?.maxLoadPerCore;
|
|
1900
1894
|
if (typeof value === "number" && Number.isFinite(value) && value > 0) return value;
|
|
1901
|
-
return settingDefinition("
|
|
1895
|
+
return settingDefinition("server.maxLoadPerCore").default;
|
|
1902
1896
|
}
|
|
1903
1897
|
function liveNativeBuilds() {
|
|
1904
1898
|
const dir = join(configDir(), "workspaces");
|
|
@@ -1964,6 +1958,7 @@ function parseCredential(value) {
|
|
|
1964
1958
|
deviceToken,
|
|
1965
1959
|
state,
|
|
1966
1960
|
requestedAt,
|
|
1961
|
+
...typeof value.expiresAt === "string" && value.expiresAt ? { expiresAt: value.expiresAt } : {},
|
|
1967
1962
|
...typeof value.ticketHash === "string" ? { ticketHash: value.ticketHash } : {}
|
|
1968
1963
|
};
|
|
1969
1964
|
}
|
|
@@ -3220,7 +3215,7 @@ function readBuildDetail(root, claimId) {
|
|
|
3220
3215
|
if (typeof raw.updatedAt !== "string") return null;
|
|
3221
3216
|
return {
|
|
3222
3217
|
step: NATIVE_BUILD_STEPS.includes(raw.step) ? raw.step : null,
|
|
3223
|
-
unit: raw.unit === "targets" || raw.unit === "tasks" ? raw.unit : null,
|
|
3218
|
+
unit: raw.unit === "targets" || raw.unit === "tasks" || raw.unit === "steps" ? raw.unit : null,
|
|
3224
3219
|
done: countOrNull(raw.done),
|
|
3225
3220
|
total: countOrNull(raw.total),
|
|
3226
3221
|
line: typeof raw.line === "string" ? raw.line : null,
|
|
@@ -3286,7 +3281,7 @@ function readAgentSessionsCache() {
|
|
|
3286
3281
|
//#region state/stim-build.ts
|
|
3287
3282
|
/**
|
|
3288
3283
|
* A digest of Stim's built code: the first 16 hex characters of the sha256 over the sorted `*.mjs` names and
|
|
3289
|
-
* bytes of a `stim` `dist` directory. A client and a
|
|
3284
|
+
* bytes of a `stim` `dist` directory. A client and a remote Mac offload only when both compute the same one.
|
|
3290
3285
|
*/
|
|
3291
3286
|
function stimBuildDigest(dir) {
|
|
3292
3287
|
try {
|
|
@@ -3525,7 +3520,11 @@ function historyEntry(platform, value) {
|
|
|
3525
3520
|
function readBuildHistory(state) {
|
|
3526
3521
|
const history = state?.[BUILD_HISTORY_KEY];
|
|
3527
3522
|
const builds = {};
|
|
3528
|
-
for (const platform of [
|
|
3523
|
+
for (const platform of [
|
|
3524
|
+
"ios",
|
|
3525
|
+
"android",
|
|
3526
|
+
"macos"
|
|
3527
|
+
]) {
|
|
3529
3528
|
const list = history?.[platform];
|
|
3530
3529
|
if (!Array.isArray(list)) continue;
|
|
3531
3530
|
const entries = list.slice(0, 10).map((value) => historyEntry(platform, value)).filter((entry) => entry !== null);
|
|
@@ -3622,7 +3621,7 @@ function readViewedDevices(dir = deviceViewersDir()) {
|
|
|
3622
3621
|
//#endregion
|
|
3623
3622
|
//#region state/stats.ts
|
|
3624
3623
|
const STATS_VERSION = 1;
|
|
3625
|
-
/** Where a compiling build ran: here, on a
|
|
3624
|
+
/** Where a compiling build ran: here, on a remote Mac, or here after offloading it failed. */
|
|
3626
3625
|
const PLACEMENT_DECISIONS = [
|
|
3627
3626
|
"here",
|
|
3628
3627
|
"offloaded",
|
|
@@ -4342,9 +4341,10 @@ function readDeviceHostMachines() {
|
|
|
4342
4341
|
"deviceToken",
|
|
4343
4342
|
"requestedAt"
|
|
4344
4343
|
].every((key) => typeof entry[key] === "string" && entry[key]) || entry.state !== "pending" && entry.state !== "approved" || machines.some((each) => each.machine === entry.machine)) throw new Error("Invalid device-host machine credential store");
|
|
4345
|
-
const { ticketHash, ...credential } = entry;
|
|
4344
|
+
const { ticketHash, expiresAt, ...credential } = entry;
|
|
4346
4345
|
machines.push({
|
|
4347
4346
|
...credential,
|
|
4347
|
+
...typeof expiresAt === "string" && expiresAt ? { expiresAt } : {},
|
|
4348
4348
|
...typeof ticketHash === "string" ? { ticketHash } : {}
|
|
4349
4349
|
});
|
|
4350
4350
|
}
|