@stim-cli/core 1.18.0 → 1.19.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/{index-DcA9D2PQ.d.mts → index-BITArGWH.d.mts} +36 -4
- package/dist/phone-protocol.d.mts +2 -2
- package/dist/{protocol-DXP_JLAv.d.mts → protocol-CXPbHten.d.mts} +1 -1
- package/dist/protocol.d.mts +1 -1
- package/dist/receive-protocol.mjs +39 -15
- package/dist/state.d.mts +2 -2
- package/dist/state.mjs +107 -45
- package/package.json +1 -1
|
@@ -289,11 +289,19 @@ interface StimConfig {
|
|
|
289
289
|
machines?: unknown;
|
|
290
290
|
build?: unknown;
|
|
291
291
|
buildMode?: unknown;
|
|
292
|
+
buildPoolDisabled?: unknown;
|
|
293
|
+
devicePoolDisabled?: unknown;
|
|
292
294
|
};
|
|
293
295
|
[key: string]: unknown;
|
|
294
296
|
}
|
|
295
297
|
type Config = StimConfig;
|
|
296
298
|
//#endregion
|
|
299
|
+
//#region state/automatic-pools.d.ts
|
|
300
|
+
type AutomaticPoolRole = "build" | "device";
|
|
301
|
+
declare function automaticMachineEnabled(role: AutomaticPoolRole, machine: string, config?: StimConfig | null): boolean;
|
|
302
|
+
declare function requireAutomaticMachine(role: AutomaticPoolRole, machine: string): void;
|
|
303
|
+
declare function validateAutomaticPool(role: AutomaticPoolRole, config: StimConfig): void;
|
|
304
|
+
//#endregion
|
|
297
305
|
//#region state/config.d.ts
|
|
298
306
|
declare function withConfigLock<T>(fn: () => T): T;
|
|
299
307
|
declare function configCorruptRepair(path?: string): string;
|
|
@@ -513,6 +521,8 @@ declare function gitMergeCacheDir(): string;
|
|
|
513
521
|
declare function pullRequestCacheDir(): string;
|
|
514
522
|
declare function agentSessionsCacheFile(): string;
|
|
515
523
|
declare function diskUsageCacheDir(): string;
|
|
524
|
+
/** The ownership claim root that admits one disk-usage walk at a time on this machine. */
|
|
525
|
+
declare function diskUsageWalkClaims(): string;
|
|
516
526
|
/** The remote Macs this Mac paired with, each with its pinned tailnet node and device token. */
|
|
517
527
|
declare function buildMachinesFile(): string;
|
|
518
528
|
declare function buildMachinesLock(): string;
|
|
@@ -646,7 +656,7 @@ interface SettingDefinition {
|
|
|
646
656
|
type: SettingType;
|
|
647
657
|
scopes: readonly SettingScope[];
|
|
648
658
|
description: string;
|
|
649
|
-
default?: string | number | boolean;
|
|
659
|
+
default?: string | number | boolean | readonly string[];
|
|
650
660
|
env?: string;
|
|
651
661
|
sensitive?: boolean;
|
|
652
662
|
committedAt?: "repository";
|
|
@@ -1431,7 +1441,7 @@ interface BuildDetail {
|
|
|
1431
1441
|
type BuildCacheHit = "local" | "remote" | false;
|
|
1432
1442
|
/** A platform's most recent `ios` or `android` run in one workspace. */
|
|
1433
1443
|
interface DevicePlacement {
|
|
1434
|
-
decision: "local" | "hosted" | "waited-locally";
|
|
1444
|
+
decision: "local" | "hosted" | "waited-locally" | "eas";
|
|
1435
1445
|
reason: string;
|
|
1436
1446
|
machine?: string;
|
|
1437
1447
|
}
|
|
@@ -1543,6 +1553,21 @@ interface BuildPlanPayload {
|
|
|
1543
1553
|
/** With ios.remote or android.remote set to auto or a Mac, where the plan assumes the device runs, such as `this Mac; auto may use janics-mac-mini`. */
|
|
1544
1554
|
placement?: string;
|
|
1545
1555
|
}
|
|
1556
|
+
/** The read-only `stim macos --plan --json` payload; SwiftPM work and worker availability remain unknown. */
|
|
1557
|
+
interface MacosBuildPlanPayload {
|
|
1558
|
+
platform: "macos";
|
|
1559
|
+
product: string;
|
|
1560
|
+
buildMachine: string;
|
|
1561
|
+
fingerprint: null;
|
|
1562
|
+
cacheKey: null;
|
|
1563
|
+
cacheHit: false;
|
|
1564
|
+
provider: null;
|
|
1565
|
+
cacheSkipped: false;
|
|
1566
|
+
prebuild: null;
|
|
1567
|
+
outcome: null;
|
|
1568
|
+
expectedMs: null;
|
|
1569
|
+
basis: number;
|
|
1570
|
+
}
|
|
1546
1571
|
type ActivityState = "driven" | "active" | "idle" | "unknown";
|
|
1547
1572
|
interface ActivityDriver {
|
|
1548
1573
|
tool: string;
|
|
@@ -1868,7 +1893,7 @@ interface AndroidDeviceState {
|
|
|
1868
1893
|
idleShutdown?: DeviceIdleShutdownRecord;
|
|
1869
1894
|
}
|
|
1870
1895
|
/** The tutorial format version the installed Stim writes into the tutorial app. */
|
|
1871
|
-
declare const TUTORIAL_VERSION =
|
|
1896
|
+
declare const TUTORIAL_VERSION = 2;
|
|
1872
1897
|
interface EnvironmentState {
|
|
1873
1898
|
slots?: {
|
|
1874
1899
|
slot: string;
|
|
@@ -1936,8 +1961,10 @@ interface EnvironmentState {
|
|
|
1936
1961
|
dir: string;
|
|
1937
1962
|
errorsSinceMarker: number;
|
|
1938
1963
|
} | null;
|
|
1964
|
+
/** `installed` is whether the agent-device executable is on the PATH of the process that ran status. */
|
|
1939
1965
|
agentDevice?: {
|
|
1940
1966
|
stateDir: string;
|
|
1967
|
+
installed?: boolean;
|
|
1941
1968
|
};
|
|
1942
1969
|
worktree?: WorktreeFacts | null;
|
|
1943
1970
|
remoteDevices?: RemoteDeviceState[];
|
|
@@ -2037,6 +2064,8 @@ declare function withDerivedFacts<T extends EnvironmentState>(env: T): T;
|
|
|
2037
2064
|
//#region state/status-measures.d.ts
|
|
2038
2065
|
/** The file that caches `path`'s measured size, one file per folder. */
|
|
2039
2066
|
declare function diskUsageCacheFile(path: string): string;
|
|
2067
|
+
/** The file that records when the last walk of `path` failed, so other processes do not repeat it at once. */
|
|
2068
|
+
declare function diskUsageFailureFile(path: string): string;
|
|
2040
2069
|
/** The file that caches the pull request of the worktree at `path`. */
|
|
2041
2070
|
declare function pullRequestCacheFile(path: string): string;
|
|
2042
2071
|
/** One file of the disk-usage or pull-request cache. */
|
|
@@ -2061,6 +2090,8 @@ interface PullRequestCacheEntry {
|
|
|
2061
2090
|
declare function readPullRequestCache(path: string): PullRequestCacheEntry | null;
|
|
2062
2091
|
/** The cached size of the folder at `path`, or null before it was measured. */
|
|
2063
2092
|
declare function readDiskUsage(path: string): DiskMeasure | null;
|
|
2093
|
+
/** When the last walk of `path` failed (an ISO time), or null when none is recorded. */
|
|
2094
|
+
declare function readDiskUsageFailure(path: string): string | null;
|
|
2064
2095
|
/** The running build's tool detail its process last wrote, when the file belongs to the build with `claimId`. */
|
|
2065
2096
|
declare function readBuildDetail(root: string, claimId: string): BuildDetail | null;
|
|
2066
2097
|
/** The coding-agent sessions `status --watch` last found running on this Mac, and when it looked. */
|
|
@@ -2261,6 +2292,7 @@ declare function readStatsReport(key: string | null, now: number): {
|
|
|
2261
2292
|
report: StatsReport;
|
|
2262
2293
|
note: string | null;
|
|
2263
2294
|
};
|
|
2295
|
+
declare function projectRootDirectories(startDir: string): Generator<string>;
|
|
2264
2296
|
declare function findProjectRoot(startDir: string): string | null;
|
|
2265
2297
|
//#endregion
|
|
2266
2298
|
//#region state/device-host-machines.d.ts
|
|
@@ -2397,4 +2429,4 @@ declare function readSetupJournal(hash: string): SetupJournal | null;
|
|
|
2397
2429
|
declare function isJournalExpired(journal: SetupJournal, now?: number): boolean;
|
|
2398
2430
|
declare function isSetupJournalPrunable(journal: SetupJournal, now: number): boolean;
|
|
2399
2431
|
//#endregion
|
|
2400
|
-
export { readRunEstimates as $, isLayeredSetting as $a, HostedAgentGrant as $i, readHostedMacosApp as $n, sharedPods as $o, MAINTENANCE_LOG_NAME as $r, ParkedMax as $s, BuildResult as $t, DeviceHostMachineCredential as A, ANDROID_COMPILER_CACHE_CHOICES as Aa, saturation as Ac, HostedIosChoice as Ai, StatsPlatform as An, deviceHostMachinesClaims as Ao, HostedAndroidPlacement as Ar, readLogRecords as As, ActiveBuildState as At, RunHistory as B, SETTING_SCOPES as Ba, AgentActionReaderOptions as Bc, parseHostedDevice as Bi, WebBrowserState as Bn, gitMergeCacheDir as Bo, parseHostedNativePlacement as Br, readCreatedDevices as Bs, BuildCacheHit as Bt, pinnedEndpoint as C, readHostedAppMetadata as Ca, SupervisorRecord as Cc, HostedDeviceOffer as Ci, PhysicalDeviceConnection as Cn, archiveLock as Co, HostedIosPlacement as Cr, fileSizes as Cs, readEndedAgentSessions as Ct, HostedMetroRequest as D, SETTINGS_SCHEMA_FILE as Da, buildSlotPath as Dc, HostedDeviceRequest as Di, RunOutcomeKind as Dn, configLockPath as Do, hostedIosStatus as Dr, parseSince as Ds, ACTIVITY_RECENCY_BASES as Dt, HostedMetroGateway as E, validHostedAppBlob as Ea, MachineCapacity as Ec, HostedDevicePlatform as Ei, RemoteDeviceState as En, buildMachinesLock as Eo, hostedIosRecords as Er, markerWindow as Es, withGitChip as Et, HISTORY_LIMIT as F, OffloadMode as Fa, AgentDeviceUsage as Fc, deviceHostRoot as Fi, TUTORIAL_VERSION as Fn, easMachineStateRoot as Fo, hostedAndroidStatus as Fr, countErrorEntries as Fs, AndroidDeviceState as Ft, StatsCapacityWait as G, SettingsPayload as Ga, SOURCES as Gc, parseHostedRequest as Gi, WorktreeGit as Gn, maintenanceRunClaims as Go, DEVICE_RECLAIM_REASON as Gr, readJsonObject as Gs, BuildMissCategory as Gt, STATS_VERSION as H, SettingEntry as Ha, createAgentActionReader as Hc, parseHostedNativeOffer as Hi, WorkspacePhase as Hn, maintenanceChildLogFile as Ho, BUILD_HISTORY_KEY as Hr, validEasSessionClaim as Hs, BuildDetail as Ht, OffloadSummary as I, REMOTE_DEVICE_BACKENDS as Ia, AgentDeviceUsageRoots as Ic, hostedConsolePort as Ii, WEB_PAGE_STATES as In, easSessionLedgerFile as Io, parseHostedAndroidPlacement as Ir, CreatedDevicePlatform as Is, AndroidRuntimeFacts as It, StatsReport as J, WEB_VIEWPORTS as Ja, parseNdjsonText as Jc, readHostedSessions as Ji, MacosAppState as Jn, serverSetupDir as Jo, DevServerStopRequest as Jr, DEBUG_ENV as Js, BuildPhase as Jt, StatsPlacement as K, TUNNEL_MODES as Ka, levelRank as Kc, readHostedDevice as Ki, WorktreePullRequest as Kn, maintenanceStateFile as Ko, DEV_SERVER_STOP_REQUEST_KEY as Kr, readStateFile as Ks, BuildMissChange as Kt, PLACEMENT_DECISIONS as L, RemoteDeviceBackend as La, agentDeviceUsageFile as Lc, hostedDeviceId as Li, WORKSPACE_PHASES as Ln, easSessionLedgerLock as Lo, unreadableHostedAndroid as Lr, CreatedDevices as Ls, AppPresence as Lt, BuildMachineTotals as M, ANDROID_PCH_CHOICES as Ma, SwiftpmCacheUsage as Mc, HostedNativeOffer as Mi, StatusIssue as Mn, deviceHostMachinesLock as Mo, hostedAndroidDeviceName as Mr, recordMatches as Ms, ActivityRecencyBasis as Mt, CAPACITY_REFUSAL_LIMIT as N, IOS_SIMULATOR_APPS as Na, readSwiftpmCacheUsage as Nc, assertHostedDeviceLedger as Ni, StatusIssueCode as Nn, deviceViewersDir as No, hostedAndroidPlacements as Nr, sortByTs as Ns, AgentSession as Nt, hostedMetroGateways as O, SETTINGS_SCHEMA_URL as Oa, buildSlotsDir as Oc, HostedDeviceSelectors as Oi, STATUS_ISSUE_CODES as On, createdDevicesFile as Oo, parseHostedIosPlacement as Or, queryJsonLogs as Os, AGENT_TOOLS as Ot, CAPACITY_REFUSAL_MAX_AGE_MS as P, OFFLOAD_MODES as Pa, swiftpmCacheUsageFile as Pc, deviceHostArea as Pi, StatusPayload as Pn, diskUsageCacheDir as Po, hostedAndroidRecords as Pr, tailRead as Ps, AgentTool as Pt, offloadSummary as Q, expectedShape as Qa, HostedAgentDriverName as Qi, parseMacosRecord as Qn, sharedGradle as Qo, LAST_BUILD_KEYS as Qr, debugLoggingEnabled as Qs, BuildReport as Qt, ReadStatsResult as R, SETTINGS as Ra, readAgentDeviceUsage as Rc, parseHostedAndroidDevice as Ri, WORKSPACE_STAGE_KINDS as Rn, emulatorLogFile as Ro, HostedNativePlacement as Rr, EasSessionClaim as Rs, BUILD_PHASES as Rt, parseMachine as S, readHostedApp as Sa, StimConfig as Sc, HostedDevice as Si, PHYSICAL_DEVICE_CONNECTIONS as Sn, archiveDir as So, readMaintenanceState as Sr, compileGrep as Ss, readDiskUsage as St, HOSTED_METRO_REQUESTS_KEY as T, validHostedAppArguments as Ta, readBuildMachines as Tc, HostedDevicePhase as Ti, PlannedPhase as Tn, buildMachinesFile as To, hostedIosPlacements as Tr, logFiles as Ts, withDerivedFacts as Tt, StatsBucket as U, SettingScope as Ua, LEVELS as Uc, parseHostedOfferRequest as Ui, WorkspaceStage as Un, maintenanceDir as Uo, BUILD_HISTORY_LIMIT as Ur, isJsonObject as Us, BuildDiagnostic as Ut, RunSample as V, SettingDefinition as Va, AgentTarget as Vc, parseHostedLocalDeviceCount as Vi, WebPageState as Vn, maintenanceAttemptFile as Vo, unreadableHostedNative as Vr, readEasSessionLedger as Vs, BuildCause as Vt, StatsCapacityRefusal as W, SettingType as Wa, NdjsonRecord as Wc, parseHostedPlatformDevice as Wi, WorktreeFacts as Wn, maintenanceNdjsonFile as Wo, DEVICE_IDLE_SHUTDOWN_KEY as Wr, readJsonFile as Ws, BuildHistoryEntry as Wt, decodeStats as X, acceptsShape as Xa, HOSTED_MACOS_APP_SLOTS as Xi, MacosProcess as Xn, sharedCcache as Xo, IDLE_STOP_KEY as Xr, createDebugLog as Xs, BuildPlanPayload as Xt, StatsScope as Y, WebViewport as Ya, readNdjsonGenerations as Yc, HOSTED_AGENT_DRIVERS as Yi, MacosBuild as Yn, setupJournalFile as Yo, DeviceIdleShutdownRecord as Yr, DebugLog as Ys, BuildPlacement as Yt, findProjectRoot as Z, coerceSettingText as Za, HostedAgentAccess as Zi, macosAppState as Zn, sharedCompilationCache as Zo, IdleStopRecord as Zr, debugLogDir as Zs, BuildPlatform as Zt, Endpoint as _, hostedAppArea as _a, DoctorRunRecord as _c, readWorkspaceAgent as _i, MachineUsageState as _n, openSegmentName as _o, MaintenanceSize as _r, QueryCriteria as _s, endedAgentSessionOf as _t, parseSetupJournal as a, hostedMacosAppSlot as aa, getConcurrencyLimits as ac, WorkspaceState as ai, DevicePlacement as an, validRunId as ao, archivedUsage as ar, workspaceDerivedData as as, trimSamples as at, endpoint as b, parseHostedAppManifest as ba, RepoRecord as bc, HostedAndroidChoice as bi, NATIVE_BUILD_STEPS as bn, recordingEnabled as bo, parseMaintenanceState as br, buildCriteria as bs, readAgentSessionsCache as bt, HOSTED_LOGS_FIRST_BYTES as c, parseHostedAgentGrant as ca, getProjectSetting as cc, parseMissReason as ci, EnvironmentDisk as cn, RECORDING_PLATFORMS as co, readArchiveState as cr, workspaceGradleBuild as cs, ViewedDevice as ct, HostedLogsPage as d, parseHostedMacosPlacement as da, isPathPrefix as dc, readDevServerStopRequest as di, GitChipPart as dn, RecordingPlatform as do, MaintenanceActionKind as dr, workspaceMetadataFile as ds, AgentSessionsCache as dt, HostedAgentLease as ea, allMetroPorts as ec, MetroLastStop as ei, BuildWaitingFor as en, isSensitiveReference as eo, readMacosRecord as er, statsFile as es, readStats as et, hostedMacosLogsDir as f, HOSTED_APP_CHUNK_BYTES as fa, loadConfig as fc, readDeviceIdleShutdowns as fi, LastBuildReport as fn, capDrops as fo, MaintenanceCheck as fr, workspaceRecordingsDir as fs, ENDED_AGENT_RETENTION_MS as ft, readLogsSince as g, HostedAppRecord as ga, DeviceRecord as gc, readWarmRecord as gi, MachineOwnerKind as gn, listSegments as go, MaintenanceRecord as gr, NATIVE_CRASH_LOG_PREFIX as gs, diskUsageCacheFile as gt, readHostedNativeLogsCheckpoint as h, HostedAppOffer as ha, Config as hc, readLastBuilds as hi, MachineOwner as hn, listRecordedDevices as ho, MaintenancePressure as hr, ERROR_SOURCES as hs, agentSessionOf as ht, isSetupJournalPrunable as i, HostedMacosPlacement as ia, findProjectByMetroPort as ic, WarmRecord as ii, DeviceLeaseState as in, runId as io, archiveEnabled as ir, workspaceBuildDetailFile as is, trimCapacityWaits as it, readDeviceHostMachines as j, ANDROID_EMULATOR_APPS as ja, tryAcquireBuildSlotClaim as jc, HostedIosDevice as ji, StatusCapacity as jn, deviceHostMachinesFile as jo, HostedAndroidStatus as jr, readLogTimeline as js, ActivityDriver as jt, hostedMetroRequests as k, settingsJsonSchema as ka, machineCapacity as kc, HostedDeviceSession as ki, SimulatorState as kn, createdDevicesLock as ko, unreadableHostedIos as kr, queryLogs as ks, APP_PROCESS_STATES as kt, HOSTED_LOGS_PAGE_BYTES as l, parseHostedMacosChoice as la, getProjectSettings as lc, readBuildHistory as li, EnvironmentState as ln, RecordedDevice as lo, readArchives as lr, workspaceLogErrorIndex as ls, readViewedDevices as lt, parseHostedLogsCursor as m, HostedAppFile as ma, ConcurrencyLimits as mc, readIdleStop as mi, MEMORY_SOURCES as mn, footageDrops as mo, MaintenancePass as mr, workspaceStateLock as ms, StatusCacheEntry as mt, SetupJournal as n, HostedMacosChoice as na, configCorruptRepair as nc, WARM_KEY as ni, DeviceActivity as nn, settingValueError as no, ArchivedUsage as nr, supervisorPidFile as ns, statsProjectKey as nt, readSetupJournal as o, hostedMacosBundleId as oa, getParkedMax as oc, buildDiagnostics as oi, DiskMeasure as on, RECORDING_CAP_BYTES as oo, linkReplacedArchives as or, workspaceEndedAgentsFile as os, wholePhases as ot, hostedNativeLogsDir as p, HostedAppDelivery as pa, withConfigLock as pc, readDevicePlacement as pi, MACHINE_OWNER_KINDS as pn, closedSegmentName as po, MaintenanceMode as pr, workspaceStateFile as ps, PullRequestCacheEntry as pt, StatsRecord as q, TunnelMode as qa, parseNdjsonLine as qc, readHostedDeviceLedger as qi, MacosAppRecord as qn, pullRequestCacheDir as qo, DevServerStopRecord as qr, withStateReadCache as qs, BuildMissReason as qt, isJournalExpired as r, HostedMacosDevice as ra, findEnclosingWorktreeRoot as rc, WORKSPACE_AGENT_KEY as ri, DeviceAppProcess as rn, RUN_ID_ENV as ro, ArchivedWorkspace as rr, workspaceAgentDeviceDir as rs, trimCapacityRefusals as rt, agentDeviceStateDirs as s, parseHostedAgentAccess as sa, getProject as sc, lastUseFrom as si, EndedAgentSession as sn, RECORDING_FOOTAGE_MS as so, readArchive as sr, workspaceEndedAgentsLock as ss, DeviceViewersRecord as st, SetupCapability as t, HostedAppLaunch as ta, buildWorkerRoot as tc, READY_PHASE_MS as ti, ChecksState as tn, settingDefinition as to, ArchivedBytes as tr, supervisorLogFile as ts, readStatsReport as tt, HostedLogsCursor as u, parseHostedMacosDevice as ua, getRepoSettings as uc, readDevServerStop as ui, GitChip as un, RecordedSegment as uo, MaintenanceAction as ur, workspaceLogsDir as us, stimBuildDigest as ut, TAILNET_MACHINE_PATTERN as v, hostedAppAttempt as va, PlatformRecords as vc, readWorkspaceState as vi, MemorySource as vn, recordedBytes as vo, MaintenanceState as vr, advanceTail as vs, listStatusCacheEntries as vt, HOSTED_METRO_GATEWAYS_KEY as w, rememberHostedAppBlobRename as wa, BuildMachineCredential as wc, HostedDeviceOfferRequest as wi, PhysicalDeviceState as wn, archiveRoot as wo, HostedIosStatus as wr, followLogs as ws, readPullRequestCache as wt, findPeer as x, parseHostedAppOffer as xa, SettingsObject as xc, HostedAndroidDevice as xi, NativeBuildStep as xn, agentSessionsCacheFile as xo, readMaintenanceAttempt as xr, bundleMarkerPlatform as xs, readBuildDetail as xt, TailnetPeer as y, hostedAppBlobs as ya, ProjectRecord as yc, workspaceLastUsed as yi, MetroBundleState as yn, recordingDeviceName as yo, MaintenanceStatus as yr, attachExpoErrorContext as ys, pullRequestCacheFile as yt, RunEstimates as z, SETTING_GROUPS as za, readAgentDeviceUsageCache as zc, parseHostedChoice as zi, WarmStep as zn, getConfigPath as zo, hostedNativeRecords as zr, EasSessionLedgerRead as zs, BUILD_RESULTS as zt };
|
|
2432
|
+
export { projectRootDirectories as $, WebViewport as $a, NdjsonRecord as $c, HOSTED_AGENT_DRIVERS as $i, MacosBuild as $n, serverSetupDir as $o, DeviceIdleShutdownRecord as $r, DEBUG_ENV as $s, BuildPlanPayload as $t, DeviceHostMachineCredential as A, validHostedAppBlob as Aa, SettingsObject as Ac, HostedDevicePlatform as Ai, RemoteDeviceState as An, buildMachinesLock as Ao, hostedIosRecords as Ar, logFiles as As, ACTIVITY_RECENCY_BASES as At, RunHistory as B, REMOTE_DEVICE_BACKENDS as Ba, tryAcquireBuildSlotClaim as Bc, hostedConsolePort as Bi, WEB_PAGE_STATES as Bn, easMachineStateRoot as Bo, parseHostedAndroidPlacement as Br, countErrorEntries as Bs, AppPresence as Bt, pinnedEndpoint as C, hostedAppBlobs as Ca, ConcurrencyLimits as Cc, workspaceLastUsed as Ci, MetroBundleState as Cn, recordingDeviceName as Co, MaintenanceStatus as Cr, advanceTail as Cs, readBuildDetail as Ct, HostedMetroRequest as D, readHostedAppMetadata as Da, PlatformRecords as Dc, HostedDeviceOffer as Di, PhysicalDeviceConnection as Dn, archiveLock as Do, HostedIosPlacement as Dr, compileGrep as Ds, readPullRequestCache as Dt, HostedMetroGateway as E, readHostedApp as Ea, DoctorRunRecord as Ec, HostedDevice as Ei, PHYSICAL_DEVICE_CONNECTIONS as En, archiveDir as Eo, readMaintenanceState as Er, bundleMarkerPlatform as Es, readEndedAgentSessions as Et, HISTORY_LIMIT as F, ANDROID_EMULATOR_APPS as Fa, MachineCapacity as Fc, HostedIosDevice as Fi, StatusCapacity as Fn, deviceHostMachinesFile as Fo, HostedAndroidStatus as Fr, readLogRecords as Fs, ActivityRecencyBasis as Ft, StatsCapacityWait as G, SettingDefinition as Ga, AgentDeviceUsageRoots as Gc, parseHostedLocalDeviceCount as Gi, WebPageState as Gn, gitMergeCacheDir as Go, unreadableHostedNative as Gr, readCreatedDevices as Gs, BuildDetail as Gt, STATS_VERSION as H, SETTINGS as Ha, readSwiftpmCacheUsage as Hc, parseHostedAndroidDevice as Hi, WORKSPACE_STAGE_KINDS as Hn, easSessionLedgerLock as Ho, HostedNativePlacement as Hr, CreatedDevices as Hs, BUILD_RESULTS as Ht, OffloadSummary as I, ANDROID_PCH_CHOICES as Ia, buildSlotPath as Ic, HostedNativeOffer as Ii, StatusIssue as In, deviceHostMachinesLock as Io, hostedAndroidDeviceName as Ir, readLogTimeline as Is, AgentSession as It, StatsReport as J, SettingType as Ja, readAgentDeviceUsageCache as Jc, parseHostedPlatformDevice as Ji, WorktreeFacts as Jn, maintenanceDir as Jo, DEVICE_IDLE_SHUTDOWN_KEY as Jr, isJsonObject as Js, BuildMissCategory as Jt, StatsPlacement as K, SettingEntry as Ka, agentDeviceUsageFile as Kc, parseHostedNativeOffer as Ki, WorkspacePhase as Kn, maintenanceAttemptFile as Ko, BUILD_HISTORY_KEY as Kr, readEasSessionLedger as Ks, BuildDiagnostic as Kt, PLACEMENT_DECISIONS as L, IOS_SIMULATOR_APPS as La, buildSlotsDir as Lc, assertHostedDeviceLedger as Li, StatusIssueCode as Ln, deviceViewersDir as Lo, hostedAndroidPlacements as Lr, recordMatches as Ls, AgentTool as Lt, BuildMachineTotals as M, SETTINGS_SCHEMA_URL as Ma, SupervisorRecord as Mc, HostedDeviceSelectors as Mi, STATUS_ISSUE_CODES as Mn, createdDevicesFile as Mo, parseHostedIosPlacement as Mr, parseSince as Ms, APP_PROCESS_STATES as Mt, CAPACITY_REFUSAL_LIMIT as N, settingsJsonSchema as Na, BuildMachineCredential as Nc, HostedDeviceSession as Ni, SimulatorState as Nn, createdDevicesLock as No, unreadableHostedIos as Nr, queryJsonLogs as Ns, ActiveBuildState as Nt, hostedMetroGateways as O, rememberHostedAppBlobRename as Oa, ProjectRecord as Oc, HostedDeviceOfferRequest as Oi, PhysicalDeviceState as On, archiveRoot as Oo, HostedIosStatus as Or, fileSizes as Os, withDerivedFacts as Ot, CAPACITY_REFUSAL_MAX_AGE_MS as P, ANDROID_COMPILER_CACHE_CHOICES as Pa, readBuildMachines as Pc, HostedIosChoice as Pi, StatsPlatform as Pn, deviceHostMachinesClaims as Po, HostedAndroidPlacement as Pr, queryLogs as Ps, ActivityDriver as Pt, offloadSummary as Q, WEB_VIEWPORTS as Qa, LEVELS as Qc, readHostedSessions as Qi, MacosAppState as Qn, pullRequestCacheDir as Qo, DevServerStopRequest as Qr, withStateReadCache as Qs, BuildPlacement as Qt, ReadStatsResult as R, OFFLOAD_MODES as Ra, machineCapacity as Rc, deviceHostArea as Ri, StatusPayload as Rn, diskUsageCacheDir as Ro, hostedAndroidRecords as Rr, sortByTs as Rs, AndroidDeviceState as Rt, parseMachine as S, hostedAppAttempt as Sa, validateAutomaticPool as Sc, readWorkspaceState as Si, MemorySource as Sn, recordedBytes as So, MaintenanceState as Sr, QueryCriteria as Ss, readAgentSessionsCache as St, HOSTED_METRO_REQUESTS_KEY as T, parseHostedAppOffer as Ta, DeviceRecord as Tc, HostedAndroidDevice as Ti, NativeBuildStep as Tn, agentSessionsCacheFile as To, readMaintenanceAttempt as Tr, buildCriteria as Ts, readDiskUsageFailure as Tt, StatsBucket as U, SETTING_GROUPS as Ua, swiftpmCacheUsageFile as Uc, parseHostedChoice as Ui, WarmStep as Un, emulatorLogFile as Uo, hostedNativeRecords as Ur, EasSessionClaim as Us, BuildCacheHit as Ut, RunSample as V, RemoteDeviceBackend as Va, SwiftpmCacheUsage as Vc, hostedDeviceId as Vi, WORKSPACE_PHASES as Vn, easSessionLedgerFile as Vo, unreadableHostedAndroid as Vr, CreatedDevicePlatform as Vs, BUILD_PHASES as Vt, StatsCapacityRefusal as W, SETTING_SCOPES as Wa, AgentDeviceUsage as Wc, parseHostedDevice as Wi, WebBrowserState as Wn, getConfigPath as Wo, parseHostedNativePlacement as Wr, EasSessionLedgerRead as Ws, BuildCause as Wt, decodeStats as X, TUNNEL_MODES as Xa, AgentTarget as Xc, readHostedDevice as Xi, WorktreePullRequest as Xn, maintenanceRunClaims as Xo, DEV_SERVER_STOP_REQUEST_KEY as Xr, readJsonObject as Xs, BuildMissReason as Xt, StatsScope as Y, SettingsPayload as Ya, AgentActionReaderOptions as Yc, parseHostedRequest as Yi, WorktreeGit as Yn, maintenanceNdjsonFile as Yo, DEVICE_RECLAIM_REASON as Yr, readJsonFile as Ys, BuildMissChange as Yt, findProjectRoot as Z, TunnelMode as Za, createAgentActionReader as Zc, readHostedDeviceLedger as Zi, MacosAppRecord as Zn, maintenanceStateFile as Zo, DevServerStopRecord as Zr, readStateFile as Zs, BuildPhase as Zt, Endpoint as _, HostedAppDelivery as _a, loadConfig as _c, readDevicePlacement as _i, MEMORY_SOURCES as _n, closedSegmentName as _o, MaintenanceMode as _r, workspaceRecordingsDir as _s, diskUsageCacheFile as _t, parseSetupJournal as a, HostedAppLaunch as aa, allMetroPorts as ac, READY_PHASE_MS as ai, DeviceActivity as an, settingDefinition as ao, ArchivedBytes as ar, statsFile as as, trimCapacityWaits as at, endpoint as b, HostedAppRecord as ba, automaticMachineEnabled as bc, readWarmRecord as bi, MachineUsageState as bn, listSegments as bo, MaintenanceRecord as br, ERROR_SOURCES as bs, listStatusCacheEntries as bt, HOSTED_LOGS_FIRST_BYTES as c, HostedMacosPlacement as ca, findEnclosingWorktreeRoot as cc, WarmRecord as ci, DevicePlacement as cn, runId as co, archiveEnabled as cr, workspaceAgentDeviceDir as cs, DeviceViewersRecord as ct, HostedLogsPage as d, parseHostedAgentAccess as da, getParkedMax as dc, lastUseFrom as di, EnvironmentDisk as dn, RECORDING_FOOTAGE_MS as do, readArchive as dr, workspaceEndedAgentsFile as ds, stimBuildDigest as dt, HOSTED_MACOS_APP_SLOTS as ea, DebugLog as ec, IDLE_STOP_KEY as ei, SOURCES as el, BuildPlatform as en, acceptsShape as eo, MacosProcess as er, setupJournalFile as es, readRunEstimates as et, hostedMacosLogsDir as f, parseHostedAgentGrant as fa, getProject as fc, parseMissReason as fi, EnvironmentState as fn, RECORDING_PLATFORMS as fo, readArchiveState as fr, workspaceEndedAgentsLock as fs, AgentSessionsCache as ft, readLogsSince as g, HOSTED_APP_CHUNK_BYTES as ga, isPathPrefix as gc, readDeviceIdleShutdowns as gi, MACHINE_OWNER_KINDS as gn, capDrops as go, MaintenanceCheck as gr, workspaceMetadataFile as gs, agentSessionOf as gt, readHostedNativeLogsCheckpoint as h, parseHostedMacosPlacement as ha, getRepoSettings as hc, readDevServerStopRequest as hi, LastBuildReport as hn, RecordingPlatform as ho, MaintenanceActionKind as hr, workspaceLogsDir as hs, StatusCacheEntry as ht, isSetupJournalPrunable as i, HostedAgentLease as ia, ParkedMax as ic, MetroLastStop as ii, readNdjsonGenerations as il, ChecksState as in, isSensitiveReference as io, readMacosRecord as ir, sharedPods as is, trimCapacityRefusals as it, readDeviceHostMachines as j, SETTINGS_SCHEMA_FILE as ja, StimConfig as jc, HostedDeviceRequest as ji, RunOutcomeKind as jn, configLockPath as jo, hostedIosStatus as jr, markerWindow as js, AGENT_TOOLS as jt, hostedMetroRequests as k, validHostedAppArguments as ka, RepoRecord as kc, HostedDevicePhase as ki, PlannedPhase as kn, buildMachinesFile as ko, hostedIosPlacements as kr, followLogs as ks, withGitChip as kt, HOSTED_LOGS_PAGE_BYTES as l, hostedMacosAppSlot as la, findProjectByMetroPort as lc, WorkspaceState as li, DiskMeasure as ln, validRunId as lo, archivedUsage as lr, workspaceBuildDetailFile as ls, ViewedDevice as lt, parseHostedLogsCursor as m, parseHostedMacosDevice as ma, getProjectSettings as mc, readDevServerStop as mi, GitChipPart as mn, RecordedSegment as mo, MaintenanceAction as mr, workspaceLogErrorIndex as ms, PullRequestCacheEntry as mt, SetupJournal as n, HostedAgentDriverName as na, debugLogDir as nc, LAST_BUILD_KEYS as ni, parseNdjsonLine as nl, BuildResult as nn, expectedShape as no, parseMacosRecord as nr, sharedCompilationCache as ns, readStatsReport as nt, readSetupJournal as o, HostedMacosChoice as oa, buildWorkerRoot as oc, WARM_KEY as oi, DeviceAppProcess as on, settingValueError as oo, ArchivedUsage as or, supervisorLogFile as os, trimSamples as ot, hostedNativeLogsDir as p, parseHostedMacosChoice as pa, getProjectSetting as pc, readBuildHistory as pi, GitChip as pn, RecordedDevice as po, readArchives as pr, workspaceGradleBuild as ps, ENDED_AGENT_RETENTION_MS as pt, StatsRecord as q, SettingScope as qa, readAgentDeviceUsage as qc, parseHostedOfferRequest as qi, WorkspaceStage as qn, maintenanceChildLogFile as qo, BUILD_HISTORY_LIMIT as qr, validEasSessionClaim as qs, BuildHistoryEntry as qt, isJournalExpired as r, HostedAgentGrant as ra, debugLoggingEnabled as rc, MAINTENANCE_LOG_NAME as ri, parseNdjsonText as rl, BuildWaitingFor as rn, isLayeredSetting as ro, readHostedMacosApp as rr, sharedGradle as rs, statsProjectKey as rt, agentDeviceStateDirs as s, HostedMacosDevice as sa, configCorruptRepair as sc, WORKSPACE_AGENT_KEY as si, DeviceLeaseState as sn, RUN_ID_ENV as so, ArchivedWorkspace as sr, supervisorPidFile as ss, wholePhases as st, SetupCapability as t, HostedAgentAccess as ta, createDebugLog as tc, IdleStopRecord as ti, levelRank as tl, BuildReport as tn, coerceSettingText as to, macosAppState as tr, sharedCcache as ts, readStats as tt, HostedLogsCursor as u, hostedMacosBundleId as ua, getConcurrencyLimits as uc, buildDiagnostics as ui, EndedAgentSession as un, RECORDING_CAP_BYTES as uo, linkReplacedArchives as ur, workspaceDerivedData as us, readViewedDevices as ut, TAILNET_MACHINE_PATTERN as v, HostedAppFile as va, withConfigLock as vc, readIdleStop as vi, MachineOwner as vn, footageDrops as vo, MaintenancePass as vr, workspaceStateFile as vs, diskUsageFailureFile as vt, HOSTED_METRO_GATEWAYS_KEY as w, parseHostedAppManifest as wa, Config as wc, HostedAndroidChoice as wi, NATIVE_BUILD_STEPS as wn, recordingEnabled as wo, parseMaintenanceState as wr, attachExpoErrorContext as ws, readDiskUsage as wt, findPeer as x, hostedAppArea as xa, requireAutomaticMachine as xc, readWorkspaceAgent as xi, MacosBuildPlanPayload as xn, openSegmentName as xo, MaintenanceSize as xr, NATIVE_CRASH_LOG_PREFIX as xs, pullRequestCacheFile as xt, TailnetPeer as y, HostedAppOffer as ya, AutomaticPoolRole as yc, readLastBuilds as yi, MachineOwnerKind as yn, listRecordedDevices as yo, MaintenancePressure as yr, workspaceStateLock as ys, endedAgentSessionOf as yt, RunEstimates as z, OffloadMode as za, saturation as zc, deviceHostRoot as zi, TUTORIAL_VERSION as zn, diskUsageWalkClaims as zo, hostedAndroidStatus as zr, tailRead as zs, AndroidRuntimeFacts as zt };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { An as ReplayRange, B as DEVICE_HOST_METHODS, Dn as ReplayKeyframe, En as ReplayEndedEvent, Et as KeyModifier, F as ControlBeginParams, Fn as SERVER_UPDATE_METHODS, Ft as LogSource, H as DeviceAuth, Ht as MachineDetails, I as ControlBeginResult, It as LogsEndedEvent, K as DevicePosture, Kn as SimulatorCommand, Kt as MachineUsage, Ln as ServerEvent, Lt as LogsEvent, Mn as ReplayTarget, Mt as LogFilter, Nt as LogLevel, On as ReplayKeyframeParams, Pn as RotateDirection, Pt as LogRecord, Qn as TouchPhase, Qt as Methods, R as ControlEndedEvent, Rt as LogsQueryResult, S as BuildPlanParams, T as BuildProgressEvent, U as DeviceFrameArtwork, Ut as MachineHistory, W as DeviceFrameEvent, Yn as StatusEvent, Yt as MacosWindowsEvent, Z as ErrorEvent, _n as PushRegisterParams, a as ArchiveDetailParams, ct as FramesSubscribeResult, dr as WorkspaceDiff, er as UsageHistory, fr as WorkspaceFile, gn as PushEvent, gt as InputKey, hn as ProtocolError, hr as WorkspacePatch, i as ActionResult, in as NotificationSuppression, it as FrameTarget, jn as ReplaySpan, kn as ReplayMarker, lt as HelloParams, m as BuildClientSummary, mn as Platform, mt as InputButton, n as ActionName, nn as NotificationEvent, nt as FrameDelayedEvent, pn as PairingAuth, pr as WorkspaceFiles, q as DeviceUsageSeries, qn as SimulatorOptions, qt as MachineVolume, r as ActionParams, rn as NotificationLevel, rt as FrameEvent, s as BUILD_METHODS, sn as NotificationsListResult, t as ACTIONS, tn as NotificationEntry, tr as UsageSample, un as PROTOCOL_VERSION, ut as HelloResult, xt as InputSimulatorParams, y as BuildMachineReport } from "./protocol-
|
|
1
|
+
import { $n as MacosBuild, $t as BuildPlanPayload, An as RemoteDeviceState, Cn as MetroBundleState, Cr as MaintenanceStatus, Gt as BuildDetail, In as StatusIssue, It as AgentSession, Jn as WorktreeFacts, Kt as BuildDiagnostic, Nn as SimulatorState, On as PhysicalDeviceState, Qt as BuildPlacement, Rn as StatusPayload, Rt as AndroidDeviceState, Wn as WebBrowserState, Xn as WorktreePullRequest, Xt as BuildMissReason, Yn as WorktreeGit, Yt as BuildMissChange, Zn as MacosAppRecord, an as DeviceActivity, bn as MachineUsageState, ca as HostedMacosPlacement, dn as EnvironmentDisk, fn as EnvironmentState, hn as LastBuildReport, ln as DiskMeasure, mr as MaintenanceAction, on as DeviceAppProcess, pn as GitChip, qn as WorkspaceStage, qt as BuildHistoryEntry, rn as BuildWaitingFor, sn as DeviceLeaseState, sr as ArchivedWorkspace, tn as BuildReport, vn as MachineOwner, vr as MaintenancePass, yr as MaintenancePressure } from "./index-BITArGWH.mjs";
|
|
2
|
+
import { An as ReplayRange, B as DEVICE_HOST_METHODS, Dn as ReplayKeyframe, En as ReplayEndedEvent, Et as KeyModifier, F as ControlBeginParams, Fn as SERVER_UPDATE_METHODS, Ft as LogSource, H as DeviceAuth, Ht as MachineDetails, I as ControlBeginResult, It as LogsEndedEvent, K as DevicePosture, Kn as SimulatorCommand, Kt as MachineUsage, Ln as ServerEvent, Lt as LogsEvent, Mn as ReplayTarget, Mt as LogFilter, Nt as LogLevel, On as ReplayKeyframeParams, Pn as RotateDirection, Pt as LogRecord, Qn as TouchPhase, Qt as Methods, R as ControlEndedEvent, Rt as LogsQueryResult, S as BuildPlanParams, T as BuildProgressEvent, U as DeviceFrameArtwork, Ut as MachineHistory, W as DeviceFrameEvent, Yn as StatusEvent, Yt as MacosWindowsEvent, Z as ErrorEvent, _n as PushRegisterParams, a as ArchiveDetailParams, ct as FramesSubscribeResult, dr as WorkspaceDiff, er as UsageHistory, fr as WorkspaceFile, gn as PushEvent, gt as InputKey, hn as ProtocolError, hr as WorkspacePatch, i as ActionResult, in as NotificationSuppression, it as FrameTarget, jn as ReplaySpan, kn as ReplayMarker, lt as HelloParams, m as BuildClientSummary, mn as Platform, mt as InputButton, n as ActionName, nn as NotificationEvent, nt as FrameDelayedEvent, pn as PairingAuth, pr as WorkspaceFiles, q as DeviceUsageSeries, qn as SimulatorOptions, qt as MachineVolume, r as ActionParams, rn as NotificationLevel, rt as FrameEvent, s as BUILD_METHODS, sn as NotificationsListResult, t as ACTIONS, tn as NotificationEntry, tr as UsageSample, un as PROTOCOL_VERSION, ut as HelloResult, xt as InputSimulatorParams, y as BuildMachineReport } from "./protocol-CXPbHten.mjs";
|
|
3
3
|
//#region phone-protocol.d.ts
|
|
4
4
|
type PhonePlatform = BuildPlanParams["platform"];
|
|
5
5
|
type PhoneDevicePlatform = Platform;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $c as NdjsonRecord, $t as BuildPlanPayload, Ai as HostedDevicePlatform, Di as HostedDeviceOffer, Ni as HostedDeviceSession, Oi as HostedDeviceOfferRequest, Rn as StatusPayload, _a as HostedAppDelivery, aa as HostedAppLaunch, d as HostedLogsPage, ji as HostedDeviceRequest, ki as HostedDevicePhase, qt as BuildHistoryEntry, u as HostedLogsCursor, ya as HostedAppOffer } from "./index-BITArGWH.mjs";
|
|
2
2
|
//#region protocol.d.ts
|
|
3
3
|
declare const PROTOCOL_VERSION = 1;
|
|
4
4
|
declare const PROTOCOL_SCHEMA_FILE = "protocol.schema.json";
|
package/dist/protocol.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as FRAME_EDGE, $n as UnsubscribeParams, $t as NOTIFICATION_LEVELS, A as BuildToolchain, An as ReplayRange, At as LOG_SOURCES, B as DEVICE_HOST_METHODS, Bn as ServerUpdateOutcome, Bt as MAX_LOG_TAIL, C as BuildPlanResult, Cn as RecordingSetParams, Ct as InputTouchParams, D as BuildStartParams, Dn as ReplayKeyframe, Dt as KeyframeParams, E as BuildRequestAuth, En as ReplayEndedEvent, Et as KeyModifier, F as ControlBeginParams, Fn as SERVER_UPDATE_METHODS, Ft as LogSource, G as DeviceHostRequestAuth, Gn as SettingsResult, Gt as MachineUpdateStatus, H as DeviceAuth, Hn as ServerUpdateProgress, Ht as MachineDetails, I as ControlBeginResult, In as ServeRoute, It as LogsEndedEvent, J as DuoFramePose, Jn as StatsResult, Jt as MacosWindow, K as DevicePosture, Kn as SimulatorCommand, Kt as MachineUsage, L as ControlEndParams, Ln as ServerEvent, Lt as LogsEvent, M as CONTROL_END_REASONS, Mn as ReplayTarget, Mt as LogFilter, N as Capability, Nn as RequestId, Nt as LogLevel, O as BuildSyncParams, On as ReplayKeyframeParams, Ot as LEGACY_PUSH_EVENTS, P as ClientRequest, Pn as RotateDirection, Pt as LogRecord, Q as FEATURES, Qn as TouchPhase, Qt as Methods, R as ControlEndedEvent, Rn as ServerMessage, Rt as LogsQueryResult, S as BuildPlanParams, Sn as ROTATE_DIRECTIONS, St as InputTextParams, T as BuildProgressEvent, Tn as ReloadPlatform, Tt as KEY_MODIFIERS, U as DeviceFrameArtwork, Un as ServerUpdateStartParams, Ut as MachineHistory, V as DEVICE_POSTURES, Vn as ServerUpdatePackage, Vt as METHODS, W as DeviceFrameEvent, Wn as ServerUpdateStatus, Wt as MachineHistoryParams, X as ErrorCode, Xn as SubscribeResult, Xt as MemoryPressure, Y as ERROR_CODES, Yn as StatusEvent, Yt as MacosWindowsEvent, Z as ErrorEvent, Zn as TOUCH_PHASES, Zt as Method, _ as BuildJobParams, _n as PushRegisterParams, _t as InputKeyParams, a as ArchiveDetailParams, an as NotificationTarget, ar as VIDEO_FOLDED, at as FramesLiveParams, b as BuildOfferParams, bn as REPLAY_MARKER_KINDS, bt as InputScrollParams, c as BUILD_REPO_PATTERN, cn as PLATFORMS, cr as VIDEO_UNFOLDED, ct as FramesSubscribeResult, d as BuildArtifactResult, dn as PUSH_EVENTS, dr as WorkspaceDiff, dt as HostedSessionRow, en as NOTIFICATION_SUPPRESSIONS, er as UsageHistory, et as FRAME_FPS, f as BuildAttachResult, fn as PUSH_TOKEN_PATTERN, fr as WorkspaceFile, ft as INPUT_BUTTONS, g as BuildJobOutcome, gn as PushEvent, gt as InputKey, h as BuildFile, hn as ProtocolError, hr as WorkspacePatch, ht as InputButtonParams, i as ActionResult, in as NotificationSuppression, ir as VIDEO_CODECS, it as FrameTarget, j as CAPABILITIES, jn as ReplaySpan, jt as LegacyPushEvent, k as BuildSyncResult, kn as ReplayMarker, kt as LOG_LEVELS, l as BUILD_RUBY_VERSION_PATTERN, ln as PROTOCOL_SCHEMA_FILE, lr as VideoCodec, lt as HelloParams, m as BuildClientSummary, mn as Platform, mr as WorkspaceParams, mt as InputButton, n as ActionName, nn as NotificationEvent, nr as UsageSeries, nt as FrameDelayedEvent, o as ArchiveDetailResult, on as NotificationsListParams, or as VIDEO_HEADER_VERSION, ot as FramesSeekParams, p as BuildCapacity, pn as PairingAuth, pr as WorkspaceFiles, pt as INPUT_KEYS, q as DeviceUsageSeries, qn as SimulatorOptions, qt as MachineVolume, r as ActionParams, rn as NotificationLevel, rr as VIDEO_ARTWORK, rt as FrameEvent, s as BUILD_METHODS, sn as NotificationsListResult, sr as VIDEO_KEYFRAME, st as FramesSeekResult, t as ACTIONS, tn as NotificationEntry, tr as UsageSample, tt as Feature, u as BuildAndroidOptions, un as PROTOCOL_VERSION, ur as VideoPacket, ut as HelloResult, v as BuildMachineCapacity, vn as QuietHours, vt as InputPostureParams, w as BuildPlatform, wn as RecordingSetResult, wt as InputWindowParams, x as BuildOfferResult, xn as REPLAY_RATES, xt as InputSimulatorParams, y as BuildMachineReport, yn as RELOAD_PLATFORMS, yt as InputRotateParams, z as ControlPlatform, zn as ServerResponse, zt as MAX_INPUT_TEXT } from "./protocol-
|
|
1
|
+
import { $ as FRAME_EDGE, $n as UnsubscribeParams, $t as NOTIFICATION_LEVELS, A as BuildToolchain, An as ReplayRange, At as LOG_SOURCES, B as DEVICE_HOST_METHODS, Bn as ServerUpdateOutcome, Bt as MAX_LOG_TAIL, C as BuildPlanResult, Cn as RecordingSetParams, Ct as InputTouchParams, D as BuildStartParams, Dn as ReplayKeyframe, Dt as KeyframeParams, E as BuildRequestAuth, En as ReplayEndedEvent, Et as KeyModifier, F as ControlBeginParams, Fn as SERVER_UPDATE_METHODS, Ft as LogSource, G as DeviceHostRequestAuth, Gn as SettingsResult, Gt as MachineUpdateStatus, H as DeviceAuth, Hn as ServerUpdateProgress, Ht as MachineDetails, I as ControlBeginResult, In as ServeRoute, It as LogsEndedEvent, J as DuoFramePose, Jn as StatsResult, Jt as MacosWindow, K as DevicePosture, Kn as SimulatorCommand, Kt as MachineUsage, L as ControlEndParams, Ln as ServerEvent, Lt as LogsEvent, M as CONTROL_END_REASONS, Mn as ReplayTarget, Mt as LogFilter, N as Capability, Nn as RequestId, Nt as LogLevel, O as BuildSyncParams, On as ReplayKeyframeParams, Ot as LEGACY_PUSH_EVENTS, P as ClientRequest, Pn as RotateDirection, Pt as LogRecord, Q as FEATURES, Qn as TouchPhase, Qt as Methods, R as ControlEndedEvent, Rn as ServerMessage, Rt as LogsQueryResult, S as BuildPlanParams, Sn as ROTATE_DIRECTIONS, St as InputTextParams, T as BuildProgressEvent, Tn as ReloadPlatform, Tt as KEY_MODIFIERS, U as DeviceFrameArtwork, Un as ServerUpdateStartParams, Ut as MachineHistory, V as DEVICE_POSTURES, Vn as ServerUpdatePackage, Vt as METHODS, W as DeviceFrameEvent, Wn as ServerUpdateStatus, Wt as MachineHistoryParams, X as ErrorCode, Xn as SubscribeResult, Xt as MemoryPressure, Y as ERROR_CODES, Yn as StatusEvent, Yt as MacosWindowsEvent, Z as ErrorEvent, Zn as TOUCH_PHASES, Zt as Method, _ as BuildJobParams, _n as PushRegisterParams, _t as InputKeyParams, a as ArchiveDetailParams, an as NotificationTarget, ar as VIDEO_FOLDED, at as FramesLiveParams, b as BuildOfferParams, bn as REPLAY_MARKER_KINDS, bt as InputScrollParams, c as BUILD_REPO_PATTERN, cn as PLATFORMS, cr as VIDEO_UNFOLDED, ct as FramesSubscribeResult, d as BuildArtifactResult, dn as PUSH_EVENTS, dr as WorkspaceDiff, dt as HostedSessionRow, en as NOTIFICATION_SUPPRESSIONS, er as UsageHistory, et as FRAME_FPS, f as BuildAttachResult, fn as PUSH_TOKEN_PATTERN, fr as WorkspaceFile, ft as INPUT_BUTTONS, g as BuildJobOutcome, gn as PushEvent, gt as InputKey, h as BuildFile, hn as ProtocolError, hr as WorkspacePatch, ht as InputButtonParams, i as ActionResult, in as NotificationSuppression, ir as VIDEO_CODECS, it as FrameTarget, j as CAPABILITIES, jn as ReplaySpan, jt as LegacyPushEvent, k as BuildSyncResult, kn as ReplayMarker, kt as LOG_LEVELS, l as BUILD_RUBY_VERSION_PATTERN, ln as PROTOCOL_SCHEMA_FILE, lr as VideoCodec, lt as HelloParams, m as BuildClientSummary, mn as Platform, mr as WorkspaceParams, mt as InputButton, n as ActionName, nn as NotificationEvent, nr as UsageSeries, nt as FrameDelayedEvent, o as ArchiveDetailResult, on as NotificationsListParams, or as VIDEO_HEADER_VERSION, ot as FramesSeekParams, p as BuildCapacity, pn as PairingAuth, pr as WorkspaceFiles, pt as INPUT_KEYS, q as DeviceUsageSeries, qn as SimulatorOptions, qt as MachineVolume, r as ActionParams, rn as NotificationLevel, rr as VIDEO_ARTWORK, rt as FrameEvent, s as BUILD_METHODS, sn as NotificationsListResult, sr as VIDEO_KEYFRAME, st as FramesSeekResult, t as ACTIONS, tn as NotificationEntry, tr as UsageSample, tt as Feature, u as BuildAndroidOptions, un as PROTOCOL_VERSION, ur as VideoPacket, ut as HelloResult, v as BuildMachineCapacity, vn as QuietHours, vt as InputPostureParams, w as BuildPlatform, wn as RecordingSetResult, wt as InputWindowParams, x as BuildOfferResult, xn as REPLAY_RATES, xt as InputSimulatorParams, y as BuildMachineReport, yn as RELOAD_PLATFORMS, yt as InputRotateParams, z as ControlPlatform, zn as ServerResponse, zt as MAX_INPUT_TEXT } from "./protocol-CXPbHten.mjs";
|
|
2
2
|
export { ACTIONS, ActionName, ActionParams, ActionResult, ArchiveDetailParams, ArchiveDetailResult, BUILD_METHODS, BUILD_REPO_PATTERN, BUILD_RUBY_VERSION_PATTERN, BuildAndroidOptions, BuildArtifactResult, BuildAttachResult, BuildCapacity, BuildClientSummary, BuildFile, BuildJobOutcome, BuildJobParams, BuildMachineCapacity, BuildMachineReport, BuildOfferParams, BuildOfferResult, BuildPlanParams, BuildPlanResult, BuildPlatform, BuildProgressEvent, BuildRequestAuth, BuildStartParams, BuildSyncParams, BuildSyncResult, BuildToolchain, CAPABILITIES, CONTROL_END_REASONS, Capability, ClientRequest, ControlBeginParams, ControlBeginResult, ControlEndParams, ControlEndedEvent, ControlPlatform, DEVICE_HOST_METHODS, DEVICE_POSTURES, DeviceAuth, DeviceFrameArtwork, DeviceFrameEvent, DeviceHostRequestAuth, DevicePosture, DeviceUsageSeries, DuoFramePose, ERROR_CODES, ErrorCode, ErrorEvent, FEATURES, FRAME_EDGE, FRAME_FPS, Feature, FrameDelayedEvent, FrameEvent, FrameTarget, FramesLiveParams, FramesSeekParams, FramesSeekResult, FramesSubscribeResult, HelloParams, HelloResult, HostedSessionRow, INPUT_BUTTONS, INPUT_KEYS, InputButton, InputButtonParams, InputKey, InputKeyParams, InputPostureParams, InputRotateParams, InputScrollParams, InputSimulatorParams, InputTextParams, InputTouchParams, InputWindowParams, KEY_MODIFIERS, KeyModifier, KeyframeParams, LEGACY_PUSH_EVENTS, LOG_LEVELS, LOG_SOURCES, LegacyPushEvent, LogFilter, LogLevel, LogRecord, LogSource, LogsEndedEvent, LogsEvent, LogsQueryResult, MAX_INPUT_TEXT, MAX_LOG_TAIL, METHODS, MachineDetails, MachineHistory, MachineHistoryParams, MachineUpdateStatus, MachineUsage, MachineVolume, MacosWindow, MacosWindowsEvent, MemoryPressure, Method, Methods, NOTIFICATION_LEVELS, NOTIFICATION_SUPPRESSIONS, NotificationEntry, NotificationEvent, NotificationLevel, NotificationSuppression, NotificationTarget, NotificationsListParams, NotificationsListResult, PLATFORMS, PROTOCOL_SCHEMA_FILE, PROTOCOL_VERSION, PUSH_EVENTS, PUSH_TOKEN_PATTERN, PairingAuth, Platform, ProtocolError, PushEvent, PushRegisterParams, QuietHours, RELOAD_PLATFORMS, REPLAY_MARKER_KINDS, REPLAY_RATES, ROTATE_DIRECTIONS, RecordingSetParams, RecordingSetResult, ReloadPlatform, ReplayEndedEvent, ReplayKeyframe, ReplayKeyframeParams, ReplayMarker, ReplayRange, ReplaySpan, ReplayTarget, RequestId, RotateDirection, SERVER_UPDATE_METHODS, ServeRoute, ServerEvent, ServerMessage, ServerResponse, ServerUpdateOutcome, ServerUpdatePackage, ServerUpdateProgress, ServerUpdateStartParams, ServerUpdateStatus, SettingsResult, SimulatorCommand, SimulatorOptions, StatsResult, StatusEvent, SubscribeResult, TOUCH_PHASES, TouchPhase, UnsubscribeParams, UsageHistory, UsageSample, UsageSeries, VIDEO_ARTWORK, VIDEO_CODECS, VIDEO_FOLDED, VIDEO_HEADER_VERSION, VIDEO_KEYFRAME, VIDEO_UNFOLDED, VideoCodec, VideoPacket, WorkspaceDiff, WorkspaceFile, WorkspaceFiles, WorkspaceParams, WorkspacePatch };
|
|
@@ -1690,7 +1690,8 @@ const schema23 = {
|
|
|
1690
1690
|
"enum": [
|
|
1691
1691
|
"local",
|
|
1692
1692
|
"hosted",
|
|
1693
|
-
"waited-locally"
|
|
1693
|
+
"waited-locally",
|
|
1694
|
+
"eas"
|
|
1694
1695
|
]
|
|
1695
1696
|
},
|
|
1696
1697
|
"reason": { "type": "string" },
|
|
@@ -1724,7 +1725,7 @@ function validate47(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
1724
1725
|
}];
|
|
1725
1726
|
return false;
|
|
1726
1727
|
}
|
|
1727
|
-
if (!(data0 === "local" || data0 === "hosted" || data0 === "waited-locally")) {
|
|
1728
|
+
if (!(data0 === "local" || data0 === "hosted" || data0 === "waited-locally" || data0 === "eas")) {
|
|
1728
1729
|
validate47.errors = [{
|
|
1729
1730
|
instancePath: instancePath + "/decision",
|
|
1730
1731
|
schemaPath: "#/properties/decision/enum",
|
|
@@ -10374,7 +10375,10 @@ const schema88 = {
|
|
|
10374
10375
|
}, { "type": "null" }] },
|
|
10375
10376
|
"agentDevice": {
|
|
10376
10377
|
"type": "object",
|
|
10377
|
-
"properties": {
|
|
10378
|
+
"properties": {
|
|
10379
|
+
"stateDir": { "type": "string" },
|
|
10380
|
+
"installed": { "type": "boolean" }
|
|
10381
|
+
},
|
|
10378
10382
|
"required": ["stateDir"]
|
|
10379
10383
|
},
|
|
10380
10384
|
"disk": { "$ref": "#/definitions/EnvironmentDisk" }
|
|
@@ -17312,16 +17316,36 @@ function validate154(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
17312
17316
|
message: "must have required property '" + missing11 + "'"
|
|
17313
17317
|
}];
|
|
17314
17318
|
return false;
|
|
17315
|
-
} else
|
|
17316
|
-
if (
|
|
17317
|
-
|
|
17318
|
-
|
|
17319
|
-
|
|
17320
|
-
|
|
17321
|
-
|
|
17322
|
-
|
|
17323
|
-
|
|
17324
|
-
|
|
17319
|
+
} else {
|
|
17320
|
+
if (data69.stateDir !== void 0) {
|
|
17321
|
+
const _errs170 = errors;
|
|
17322
|
+
if (typeof data69.stateDir !== "string") {
|
|
17323
|
+
validate154.errors = [{
|
|
17324
|
+
instancePath: instancePath + "/agentDevice/stateDir",
|
|
17325
|
+
schemaPath: "#/properties/agentDevice/properties/stateDir/type",
|
|
17326
|
+
keyword: "type",
|
|
17327
|
+
params: { type: "string" },
|
|
17328
|
+
message: "must be string"
|
|
17329
|
+
}];
|
|
17330
|
+
return false;
|
|
17331
|
+
}
|
|
17332
|
+
var valid33 = _errs170 === errors;
|
|
17333
|
+
} else var valid33 = true;
|
|
17334
|
+
if (valid33) {
|
|
17335
|
+
if (data69.installed !== void 0) {
|
|
17336
|
+
const _errs172 = errors;
|
|
17337
|
+
if (typeof data69.installed !== "boolean") {
|
|
17338
|
+
validate154.errors = [{
|
|
17339
|
+
instancePath: instancePath + "/agentDevice/installed",
|
|
17340
|
+
schemaPath: "#/properties/agentDevice/properties/installed/type",
|
|
17341
|
+
keyword: "type",
|
|
17342
|
+
params: { type: "boolean" },
|
|
17343
|
+
message: "must be boolean"
|
|
17344
|
+
}];
|
|
17345
|
+
return false;
|
|
17346
|
+
}
|
|
17347
|
+
var valid33 = _errs172 === errors;
|
|
17348
|
+
} else var valid33 = true;
|
|
17325
17349
|
}
|
|
17326
17350
|
}
|
|
17327
17351
|
} else {
|
|
@@ -17339,7 +17363,7 @@ function validate154(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
17339
17363
|
} else var valid0 = true;
|
|
17340
17364
|
if (valid0) {
|
|
17341
17365
|
if (data.disk !== void 0) {
|
|
17342
|
-
const
|
|
17366
|
+
const _errs174 = errors;
|
|
17343
17367
|
if (!validate221(data.disk, {
|
|
17344
17368
|
instancePath: instancePath + "/disk",
|
|
17345
17369
|
parentData: data,
|
|
@@ -17349,7 +17373,7 @@ function validate154(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
17349
17373
|
vErrors = vErrors === null ? validate221.errors : vErrors.concat(validate221.errors);
|
|
17350
17374
|
errors = vErrors.length;
|
|
17351
17375
|
}
|
|
17352
|
-
var valid0 =
|
|
17376
|
+
var valid0 = _errs174 === errors;
|
|
17353
17377
|
} else var valid0 = true;
|
|
17354
17378
|
}
|
|
17355
17379
|
}
|
package/dist/state.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as readRunEstimates, $a as isLayeredSetting, $i as HostedAgentGrant, $n as readHostedMacosApp, $o as sharedPods, $r as MAINTENANCE_LOG_NAME, $s as ParkedMax, $t as BuildResult, A as DeviceHostMachineCredential, Aa as ANDROID_COMPILER_CACHE_CHOICES, Ac as saturation, Ai as HostedIosChoice, An as StatsPlatform, Ao as deviceHostMachinesClaims, Ar as HostedAndroidPlacement, As as readLogRecords, At as ActiveBuildState, B as RunHistory, Ba as SETTING_SCOPES, Bc as AgentActionReaderOptions, Bi as parseHostedDevice, Bn as WebBrowserState, Bo as gitMergeCacheDir, Br as parseHostedNativePlacement, Bs as readCreatedDevices, Bt as BuildCacheHit, C as pinnedEndpoint, Ca as readHostedAppMetadata, Cc as SupervisorRecord, Ci as HostedDeviceOffer, Cn as PhysicalDeviceConnection, Co as archiveLock, Cr as HostedIosPlacement, Cs as fileSizes, Ct as readEndedAgentSessions, D as HostedMetroRequest, Da as SETTINGS_SCHEMA_FILE, Dc as buildSlotPath, Di as HostedDeviceRequest, Dn as RunOutcomeKind, Do as configLockPath, Dr as hostedIosStatus, Ds as parseSince, Dt as ACTIVITY_RECENCY_BASES, E as HostedMetroGateway, Ea as validHostedAppBlob, Ec as MachineCapacity, Ei as HostedDevicePlatform, En as RemoteDeviceState, Eo as buildMachinesLock, Er as hostedIosRecords, Es as markerWindow, Et as withGitChip, F as HISTORY_LIMIT, Fa as OffloadMode, Fc as AgentDeviceUsage, Fi as deviceHostRoot, Fn as TUTORIAL_VERSION, Fo as easMachineStateRoot, Fr as hostedAndroidStatus, Fs as countErrorEntries, Ft as AndroidDeviceState, G as StatsCapacityWait, Ga as SettingsPayload, Gc as SOURCES, Gi as parseHostedRequest, Gn as WorktreeGit, Go as maintenanceRunClaims, Gr as DEVICE_RECLAIM_REASON, Gs as readJsonObject, Gt as BuildMissCategory, H as STATS_VERSION, Ha as SettingEntry, Hc as createAgentActionReader, Hi as parseHostedNativeOffer, Hn as WorkspacePhase, Ho as maintenanceChildLogFile, Hr as BUILD_HISTORY_KEY, Hs as validEasSessionClaim, Ht as BuildDetail, I as OffloadSummary, Ia as REMOTE_DEVICE_BACKENDS, Ic as AgentDeviceUsageRoots, Ii as hostedConsolePort, In as WEB_PAGE_STATES, Io as easSessionLedgerFile, Ir as parseHostedAndroidPlacement, Is as CreatedDevicePlatform, It as AndroidRuntimeFacts, J as StatsReport, Ja as WEB_VIEWPORTS, Jc as parseNdjsonText, Ji as readHostedSessions, Jn as MacosAppState, Jo as serverSetupDir, Jr as DevServerStopRequest, Js as DEBUG_ENV, Jt as BuildPhase, K as StatsPlacement, Ka as TUNNEL_MODES, Kc as levelRank, Ki as readHostedDevice, Kn as WorktreePullRequest, Ko as maintenanceStateFile, Kr as DEV_SERVER_STOP_REQUEST_KEY, Ks as readStateFile, Kt as BuildMissChange, L as PLACEMENT_DECISIONS, La as RemoteDeviceBackend, Lc as agentDeviceUsageFile, Li as hostedDeviceId, Ln as WORKSPACE_PHASES, Lo as easSessionLedgerLock, Lr as unreadableHostedAndroid, Ls as CreatedDevices, Lt as AppPresence, M as BuildMachineTotals, Ma as ANDROID_PCH_CHOICES, Mc as SwiftpmCacheUsage, Mi as HostedNativeOffer, Mn as StatusIssue, Mo as deviceHostMachinesLock, Mr as hostedAndroidDeviceName, Ms as recordMatches, Mt as ActivityRecencyBasis, N as CAPACITY_REFUSAL_LIMIT, Na as IOS_SIMULATOR_APPS, Nc as readSwiftpmCacheUsage, Ni as assertHostedDeviceLedger, Nn as StatusIssueCode, No as deviceViewersDir, Nr as hostedAndroidPlacements, Ns as sortByTs, Nt as AgentSession, O as hostedMetroGateways, Oa as SETTINGS_SCHEMA_URL, Oc as buildSlotsDir, Oi as HostedDeviceSelectors, On as STATUS_ISSUE_CODES, Oo as createdDevicesFile, Or as parseHostedIosPlacement, Os as queryJsonLogs, Ot as AGENT_TOOLS, P as CAPACITY_REFUSAL_MAX_AGE_MS, Pa as OFFLOAD_MODES, Pc as swiftpmCacheUsageFile, Pi as deviceHostArea, Pn as StatusPayload, Po as diskUsageCacheDir, Pr as hostedAndroidRecords, Ps as tailRead, Pt as AgentTool, Q as offloadSummary, Qa as expectedShape, Qi as HostedAgentDriverName, Qn as parseMacosRecord, Qo as sharedGradle, Qr as LAST_BUILD_KEYS, Qs as debugLoggingEnabled, Qt as BuildReport, R as ReadStatsResult, Ra as SETTINGS, Rc as readAgentDeviceUsage, Ri as parseHostedAndroidDevice, Rn as WORKSPACE_STAGE_KINDS, Ro as emulatorLogFile, Rr as HostedNativePlacement, Rs as EasSessionClaim, Rt as BUILD_PHASES, S as parseMachine, Sa as readHostedApp, Sc as StimConfig, Si as HostedDevice, Sn as PHYSICAL_DEVICE_CONNECTIONS, So as archiveDir, Sr as readMaintenanceState, Ss as compileGrep, St as readDiskUsage, T as HOSTED_METRO_REQUESTS_KEY, Ta as validHostedAppArguments, Tc as readBuildMachines, Ti as HostedDevicePhase, Tn as PlannedPhase, To as buildMachinesFile, Tr as hostedIosPlacements, Ts as logFiles, Tt as withDerivedFacts, U as StatsBucket, Ua as SettingScope, Uc as LEVELS, Ui as parseHostedOfferRequest, Un as WorkspaceStage, Uo as maintenanceDir, Ur as BUILD_HISTORY_LIMIT, Us as isJsonObject, Ut as BuildDiagnostic, V as RunSample, Va as SettingDefinition, Vc as AgentTarget, Vi as parseHostedLocalDeviceCount, Vn as WebPageState, Vo as maintenanceAttemptFile, Vr as unreadableHostedNative, Vs as readEasSessionLedger, Vt as BuildCause, W as StatsCapacityRefusal, Wa as SettingType, Wc as NdjsonRecord, Wi as parseHostedPlatformDevice, Wn as WorktreeFacts, Wo as maintenanceNdjsonFile, Wr as DEVICE_IDLE_SHUTDOWN_KEY, Ws as readJsonFile, Wt as BuildHistoryEntry, X as decodeStats, Xa as acceptsShape, Xi as HOSTED_MACOS_APP_SLOTS, Xn as MacosProcess, Xo as sharedCcache, Xr as IDLE_STOP_KEY, Xs as createDebugLog, Xt as BuildPlanPayload, Y as StatsScope, Ya as WebViewport, Yc as readNdjsonGenerations, Yi as HOSTED_AGENT_DRIVERS, Yn as MacosBuild, Yo as setupJournalFile, Yr as DeviceIdleShutdownRecord, Ys as DebugLog, Yt as BuildPlacement, Z as findProjectRoot, Za as coerceSettingText, Zi as HostedAgentAccess, Zn as macosAppState, Zo as sharedCompilationCache, Zr as IdleStopRecord, Zs as debugLogDir, Zt as BuildPlatform, _ as Endpoint, _a as hostedAppArea, _c as DoctorRunRecord, _i as readWorkspaceAgent, _n as MachineUsageState, _o as openSegmentName, _r as MaintenanceSize, _s as QueryCriteria, _t as endedAgentSessionOf, a as parseSetupJournal, aa as hostedMacosAppSlot, ac as getConcurrencyLimits, ai as WorkspaceState, an as DevicePlacement, ao as validRunId, ar as archivedUsage, as as workspaceDerivedData, at as trimSamples, b as endpoint, ba as parseHostedAppManifest, bc as RepoRecord, bi as HostedAndroidChoice, bn as NATIVE_BUILD_STEPS, bo as recordingEnabled, br as parseMaintenanceState, bs as buildCriteria, bt as readAgentSessionsCache, c as HOSTED_LOGS_FIRST_BYTES, ca as parseHostedAgentGrant, cc as getProjectSetting, ci as parseMissReason, cn as EnvironmentDisk, co as RECORDING_PLATFORMS, cr as readArchiveState, cs as workspaceGradleBuild, ct as ViewedDevice, d as HostedLogsPage, da as parseHostedMacosPlacement, dc as isPathPrefix, di as readDevServerStopRequest, dn as GitChipPart, do as RecordingPlatform, dr as MaintenanceActionKind, ds as workspaceMetadataFile, dt as AgentSessionsCache, ea as HostedAgentLease, ec as allMetroPorts, ei as MetroLastStop, en as BuildWaitingFor, eo as isSensitiveReference, er as readMacosRecord, es as statsFile, et as readStats, f as hostedMacosLogsDir, fa as HOSTED_APP_CHUNK_BYTES, fc as loadConfig, fi as readDeviceIdleShutdowns, fn as LastBuildReport, fo as capDrops, fr as MaintenanceCheck, fs as workspaceRecordingsDir, ft as ENDED_AGENT_RETENTION_MS, g as readLogsSince, ga as HostedAppRecord, gc as DeviceRecord, gi as readWarmRecord, gn as MachineOwnerKind, go as listSegments, gr as MaintenanceRecord, gs as NATIVE_CRASH_LOG_PREFIX, gt as diskUsageCacheFile, h as readHostedNativeLogsCheckpoint, ha as HostedAppOffer, hc as Config, hi as readLastBuilds, hn as MachineOwner, ho as listRecordedDevices, hr as MaintenancePressure, hs as ERROR_SOURCES, ht as agentSessionOf, i as isSetupJournalPrunable, ia as HostedMacosPlacement, ic as findProjectByMetroPort, ii as WarmRecord, in as DeviceLeaseState, io as runId, ir as archiveEnabled, is as workspaceBuildDetailFile, it as trimCapacityWaits, j as readDeviceHostMachines, ja as ANDROID_EMULATOR_APPS, jc as tryAcquireBuildSlotClaim, ji as HostedIosDevice, jn as StatusCapacity, jo as deviceHostMachinesFile, jr as HostedAndroidStatus, js as readLogTimeline, jt as ActivityDriver, k as hostedMetroRequests, ka as settingsJsonSchema, kc as machineCapacity, ki as HostedDeviceSession, kn as SimulatorState, ko as createdDevicesLock, kr as unreadableHostedIos, ks as queryLogs, kt as APP_PROCESS_STATES, l as HOSTED_LOGS_PAGE_BYTES, la as parseHostedMacosChoice, lc as getProjectSettings, li as readBuildHistory, ln as EnvironmentState, lo as RecordedDevice, lr as readArchives, ls as workspaceLogErrorIndex, lt as readViewedDevices, m as parseHostedLogsCursor, ma as HostedAppFile, mc as ConcurrencyLimits, mi as readIdleStop, mn as MEMORY_SOURCES, mo as footageDrops, mr as MaintenancePass, ms as workspaceStateLock, mt as StatusCacheEntry, n as SetupJournal, na as HostedMacosChoice, nc as configCorruptRepair, ni as WARM_KEY, nn as DeviceActivity, no as settingValueError, nr as ArchivedUsage, ns as supervisorPidFile, nt as statsProjectKey, o as readSetupJournal, oa as hostedMacosBundleId, oc as getParkedMax, oi as buildDiagnostics, on as DiskMeasure, oo as RECORDING_CAP_BYTES, or as linkReplacedArchives, os as workspaceEndedAgentsFile, ot as wholePhases, p as hostedNativeLogsDir, pa as HostedAppDelivery, pc as withConfigLock, pi as readDevicePlacement, pn as MACHINE_OWNER_KINDS, po as closedSegmentName, pr as MaintenanceMode, ps as workspaceStateFile, pt as PullRequestCacheEntry, q as StatsRecord, qa as TunnelMode, qc as parseNdjsonLine, qi as readHostedDeviceLedger, qn as MacosAppRecord, qo as pullRequestCacheDir, qr as DevServerStopRecord, qs as withStateReadCache, qt as BuildMissReason, r as isJournalExpired, ra as HostedMacosDevice, rc as findEnclosingWorktreeRoot, ri as WORKSPACE_AGENT_KEY, rn as DeviceAppProcess, ro as RUN_ID_ENV, rr as ArchivedWorkspace, rs as workspaceAgentDeviceDir, rt as trimCapacityRefusals, s as agentDeviceStateDirs, sa as parseHostedAgentAccess, sc as getProject, si as lastUseFrom, sn as EndedAgentSession, so as RECORDING_FOOTAGE_MS, sr as readArchive, ss as workspaceEndedAgentsLock, st as DeviceViewersRecord, t as SetupCapability, ta as HostedAppLaunch, tc as buildWorkerRoot, ti as READY_PHASE_MS, tn as ChecksState, to as settingDefinition, tr as ArchivedBytes, ts as supervisorLogFile, tt as readStatsReport, u as HostedLogsCursor, ua as parseHostedMacosDevice, uc as getRepoSettings, ui as readDevServerStop, un as GitChip, uo as RecordedSegment, ur as MaintenanceAction, us as workspaceLogsDir, ut as stimBuildDigest, v as TAILNET_MACHINE_PATTERN, va as hostedAppAttempt, vc as PlatformRecords, vi as readWorkspaceState, vn as MemorySource, vo as recordedBytes, vr as MaintenanceState, vs as advanceTail, vt as listStatusCacheEntries, w as HOSTED_METRO_GATEWAYS_KEY, wa as rememberHostedAppBlobRename, wc as BuildMachineCredential, wi as HostedDeviceOfferRequest, wn as PhysicalDeviceState, wo as archiveRoot, wr as HostedIosStatus, ws as followLogs, wt as readPullRequestCache, x as findPeer, xa as parseHostedAppOffer, xc as SettingsObject, xi as HostedAndroidDevice, xn as NativeBuildStep, xo as agentSessionsCacheFile, xr as readMaintenanceAttempt, xs as bundleMarkerPlatform, xt as readBuildDetail, y as TailnetPeer, ya as hostedAppBlobs, yc as ProjectRecord, yi as workspaceLastUsed, yn as MetroBundleState, yo as recordingDeviceName, yr as MaintenanceStatus, ys as attachExpoErrorContext, yt as pullRequestCacheFile, z as RunEstimates, za as SETTING_GROUPS, zc as readAgentDeviceUsageCache, zi as parseHostedChoice, zn as WarmStep, zo as getConfigPath, zr as hostedNativeRecords, zs as EasSessionLedgerRead, zt as BUILD_RESULTS } from "./index-DcA9D2PQ.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, DEBUG_ENV, DEVICE_IDLE_SHUTDOWN_KEY, DEVICE_RECLAIM_REASON, DEV_SERVER_STOP_REQUEST_KEY, DebugLog, 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, MAINTENANCE_LOG_NAME, 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, 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, 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, createDebugLog, createdDevicesFile, createdDevicesLock, debugLogDir, debugLoggingEnabled, 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, runId, 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, validRunId, wholePhases, withConfigLock, withDerivedFacts, withGitChip, withStateReadCache, workspaceAgentDeviceDir, workspaceBuildDetailFile, workspaceDerivedData, workspaceEndedAgentsFile, workspaceEndedAgentsLock, workspaceGradleBuild, workspaceLastUsed, workspaceLogErrorIndex, workspaceLogsDir, workspaceMetadataFile, workspaceRecordingsDir, workspaceStateFile, workspaceStateLock };
|
|
1
|
+
import { $ as projectRootDirectories, $a as WebViewport, $c as NdjsonRecord, $i as HOSTED_AGENT_DRIVERS, $n as MacosBuild, $o as serverSetupDir, $r as DeviceIdleShutdownRecord, $s as DEBUG_ENV, $t as BuildPlanPayload, A as DeviceHostMachineCredential, Aa as validHostedAppBlob, Ac as SettingsObject, Ai as HostedDevicePlatform, An as RemoteDeviceState, Ao as buildMachinesLock, Ar as hostedIosRecords, As as logFiles, At as ACTIVITY_RECENCY_BASES, B as RunHistory, Ba as REMOTE_DEVICE_BACKENDS, Bc as tryAcquireBuildSlotClaim, Bi as hostedConsolePort, Bn as WEB_PAGE_STATES, Bo as easMachineStateRoot, Br as parseHostedAndroidPlacement, Bs as countErrorEntries, Bt as AppPresence, C as pinnedEndpoint, Ca as hostedAppBlobs, Cc as ConcurrencyLimits, Ci as workspaceLastUsed, Cn as MetroBundleState, Co as recordingDeviceName, Cr as MaintenanceStatus, Cs as advanceTail, Ct as readBuildDetail, D as HostedMetroRequest, Da as readHostedAppMetadata, Dc as PlatformRecords, Di as HostedDeviceOffer, Dn as PhysicalDeviceConnection, Do as archiveLock, Dr as HostedIosPlacement, Ds as compileGrep, Dt as readPullRequestCache, E as HostedMetroGateway, Ea as readHostedApp, Ec as DoctorRunRecord, Ei as HostedDevice, En as PHYSICAL_DEVICE_CONNECTIONS, Eo as archiveDir, Er as readMaintenanceState, Es as bundleMarkerPlatform, Et as readEndedAgentSessions, F as HISTORY_LIMIT, Fa as ANDROID_EMULATOR_APPS, Fc as MachineCapacity, Fi as HostedIosDevice, Fn as StatusCapacity, Fo as deviceHostMachinesFile, Fr as HostedAndroidStatus, Fs as readLogRecords, Ft as ActivityRecencyBasis, G as StatsCapacityWait, Ga as SettingDefinition, Gc as AgentDeviceUsageRoots, Gi as parseHostedLocalDeviceCount, Gn as WebPageState, Go as gitMergeCacheDir, Gr as unreadableHostedNative, Gs as readCreatedDevices, Gt as BuildDetail, H as STATS_VERSION, Ha as SETTINGS, Hc as readSwiftpmCacheUsage, Hi as parseHostedAndroidDevice, Hn as WORKSPACE_STAGE_KINDS, Ho as easSessionLedgerLock, Hr as HostedNativePlacement, Hs as CreatedDevices, Ht as BUILD_RESULTS, I as OffloadSummary, Ia as ANDROID_PCH_CHOICES, Ic as buildSlotPath, Ii as HostedNativeOffer, In as StatusIssue, Io as deviceHostMachinesLock, Ir as hostedAndroidDeviceName, Is as readLogTimeline, It as AgentSession, J as StatsReport, Ja as SettingType, Jc as readAgentDeviceUsageCache, Ji as parseHostedPlatformDevice, Jn as WorktreeFacts, Jo as maintenanceDir, Jr as DEVICE_IDLE_SHUTDOWN_KEY, Js as isJsonObject, Jt as BuildMissCategory, K as StatsPlacement, Ka as SettingEntry, Kc as agentDeviceUsageFile, Ki as parseHostedNativeOffer, Kn as WorkspacePhase, Ko as maintenanceAttemptFile, Kr as BUILD_HISTORY_KEY, Ks as readEasSessionLedger, Kt as BuildDiagnostic, L as PLACEMENT_DECISIONS, La as IOS_SIMULATOR_APPS, Lc as buildSlotsDir, Li as assertHostedDeviceLedger, Ln as StatusIssueCode, Lo as deviceViewersDir, Lr as hostedAndroidPlacements, Ls as recordMatches, Lt as AgentTool, M as BuildMachineTotals, Ma as SETTINGS_SCHEMA_URL, Mc as SupervisorRecord, Mi as HostedDeviceSelectors, Mn as STATUS_ISSUE_CODES, Mo as createdDevicesFile, Mr as parseHostedIosPlacement, Ms as parseSince, Mt as APP_PROCESS_STATES, N as CAPACITY_REFUSAL_LIMIT, Na as settingsJsonSchema, Nc as BuildMachineCredential, Ni as HostedDeviceSession, Nn as SimulatorState, No as createdDevicesLock, Nr as unreadableHostedIos, Ns as queryJsonLogs, Nt as ActiveBuildState, O as hostedMetroGateways, Oa as rememberHostedAppBlobRename, Oc as ProjectRecord, Oi as HostedDeviceOfferRequest, On as PhysicalDeviceState, Oo as archiveRoot, Or as HostedIosStatus, Os as fileSizes, Ot as withDerivedFacts, P as CAPACITY_REFUSAL_MAX_AGE_MS, Pa as ANDROID_COMPILER_CACHE_CHOICES, Pc as readBuildMachines, Pi as HostedIosChoice, Pn as StatsPlatform, Po as deviceHostMachinesClaims, Pr as HostedAndroidPlacement, Ps as queryLogs, Pt as ActivityDriver, Q as offloadSummary, Qa as WEB_VIEWPORTS, Qc as LEVELS, Qi as readHostedSessions, Qn as MacosAppState, Qo as pullRequestCacheDir, Qr as DevServerStopRequest, Qs as withStateReadCache, Qt as BuildPlacement, R as ReadStatsResult, Ra as OFFLOAD_MODES, Rc as machineCapacity, Ri as deviceHostArea, Rn as StatusPayload, Ro as diskUsageCacheDir, Rr as hostedAndroidRecords, Rs as sortByTs, Rt as AndroidDeviceState, S as parseMachine, Sa as hostedAppAttempt, Sc as validateAutomaticPool, Si as readWorkspaceState, Sn as MemorySource, So as recordedBytes, Sr as MaintenanceState, Ss as QueryCriteria, St as readAgentSessionsCache, T as HOSTED_METRO_REQUESTS_KEY, Ta as parseHostedAppOffer, Tc as DeviceRecord, Ti as HostedAndroidDevice, Tn as NativeBuildStep, To as agentSessionsCacheFile, Tr as readMaintenanceAttempt, Ts as buildCriteria, Tt as readDiskUsageFailure, U as StatsBucket, Ua as SETTING_GROUPS, Uc as swiftpmCacheUsageFile, Ui as parseHostedChoice, Un as WarmStep, Uo as emulatorLogFile, Ur as hostedNativeRecords, Us as EasSessionClaim, Ut as BuildCacheHit, V as RunSample, Va as RemoteDeviceBackend, Vc as SwiftpmCacheUsage, Vi as hostedDeviceId, Vn as WORKSPACE_PHASES, Vo as easSessionLedgerFile, Vr as unreadableHostedAndroid, Vs as CreatedDevicePlatform, Vt as BUILD_PHASES, W as StatsCapacityRefusal, Wa as SETTING_SCOPES, Wc as AgentDeviceUsage, Wi as parseHostedDevice, Wn as WebBrowserState, Wo as getConfigPath, Wr as parseHostedNativePlacement, Ws as EasSessionLedgerRead, Wt as BuildCause, X as decodeStats, Xa as TUNNEL_MODES, Xc as AgentTarget, Xi as readHostedDevice, Xn as WorktreePullRequest, Xo as maintenanceRunClaims, Xr as DEV_SERVER_STOP_REQUEST_KEY, Xs as readJsonObject, Xt as BuildMissReason, Y as StatsScope, Ya as SettingsPayload, Yc as AgentActionReaderOptions, Yi as parseHostedRequest, Yn as WorktreeGit, Yo as maintenanceNdjsonFile, Yr as DEVICE_RECLAIM_REASON, Ys as readJsonFile, Yt as BuildMissChange, Z as findProjectRoot, Za as TunnelMode, Zc as createAgentActionReader, Zi as readHostedDeviceLedger, Zn as MacosAppRecord, Zo as maintenanceStateFile, Zr as DevServerStopRecord, Zs as readStateFile, Zt as BuildPhase, _ as Endpoint, _a as HostedAppDelivery, _c as loadConfig, _i as readDevicePlacement, _n as MEMORY_SOURCES, _o as closedSegmentName, _r as MaintenanceMode, _s as workspaceRecordingsDir, _t as diskUsageCacheFile, a as parseSetupJournal, aa as HostedAppLaunch, ac as allMetroPorts, ai as READY_PHASE_MS, an as DeviceActivity, ao as settingDefinition, ar as ArchivedBytes, as as statsFile, at as trimCapacityWaits, b as endpoint, ba as HostedAppRecord, bc as automaticMachineEnabled, bi as readWarmRecord, bn as MachineUsageState, bo as listSegments, br as MaintenanceRecord, bs as ERROR_SOURCES, bt as listStatusCacheEntries, c as HOSTED_LOGS_FIRST_BYTES, ca as HostedMacosPlacement, cc as findEnclosingWorktreeRoot, ci as WarmRecord, cn as DevicePlacement, co as runId, cr as archiveEnabled, cs as workspaceAgentDeviceDir, ct as DeviceViewersRecord, d as HostedLogsPage, da as parseHostedAgentAccess, dc as getParkedMax, di as lastUseFrom, dn as EnvironmentDisk, do as RECORDING_FOOTAGE_MS, dr as readArchive, ds as workspaceEndedAgentsFile, dt as stimBuildDigest, ea as HOSTED_MACOS_APP_SLOTS, ec as DebugLog, ei as IDLE_STOP_KEY, el as SOURCES, en as BuildPlatform, eo as acceptsShape, er as MacosProcess, es as setupJournalFile, et as readRunEstimates, f as hostedMacosLogsDir, fa as parseHostedAgentGrant, fc as getProject, fi as parseMissReason, fn as EnvironmentState, fo as RECORDING_PLATFORMS, fr as readArchiveState, fs as workspaceEndedAgentsLock, ft as AgentSessionsCache, g as readLogsSince, ga as HOSTED_APP_CHUNK_BYTES, gc as isPathPrefix, gi as readDeviceIdleShutdowns, gn as MACHINE_OWNER_KINDS, go as capDrops, gr as MaintenanceCheck, gs as workspaceMetadataFile, gt as agentSessionOf, h as readHostedNativeLogsCheckpoint, ha as parseHostedMacosPlacement, hc as getRepoSettings, hi as readDevServerStopRequest, hn as LastBuildReport, ho as RecordingPlatform, hr as MaintenanceActionKind, hs as workspaceLogsDir, ht as StatusCacheEntry, i as isSetupJournalPrunable, ia as HostedAgentLease, ic as ParkedMax, ii as MetroLastStop, il as readNdjsonGenerations, in as ChecksState, io as isSensitiveReference, ir as readMacosRecord, is as sharedPods, it as trimCapacityRefusals, j as readDeviceHostMachines, ja as SETTINGS_SCHEMA_FILE, jc as StimConfig, ji as HostedDeviceRequest, jn as RunOutcomeKind, jo as configLockPath, jr as hostedIosStatus, js as markerWindow, jt as AGENT_TOOLS, k as hostedMetroRequests, ka as validHostedAppArguments, kc as RepoRecord, ki as HostedDevicePhase, kn as PlannedPhase, ko as buildMachinesFile, kr as hostedIosPlacements, ks as followLogs, kt as withGitChip, l as HOSTED_LOGS_PAGE_BYTES, la as hostedMacosAppSlot, lc as findProjectByMetroPort, li as WorkspaceState, ln as DiskMeasure, lo as validRunId, lr as archivedUsage, ls as workspaceBuildDetailFile, lt as ViewedDevice, m as parseHostedLogsCursor, ma as parseHostedMacosDevice, mc as getProjectSettings, mi as readDevServerStop, mn as GitChipPart, mo as RecordedSegment, mr as MaintenanceAction, ms as workspaceLogErrorIndex, mt as PullRequestCacheEntry, n as SetupJournal, na as HostedAgentDriverName, nc as debugLogDir, ni as LAST_BUILD_KEYS, nl as parseNdjsonLine, nn as BuildResult, no as expectedShape, nr as parseMacosRecord, ns as sharedCompilationCache, nt as readStatsReport, o as readSetupJournal, oa as HostedMacosChoice, oc as buildWorkerRoot, oi as WARM_KEY, on as DeviceAppProcess, oo as settingValueError, or as ArchivedUsage, os as supervisorLogFile, ot as trimSamples, p as hostedNativeLogsDir, pa as parseHostedMacosChoice, pc as getProjectSetting, pi as readBuildHistory, pn as GitChip, po as RecordedDevice, pr as readArchives, ps as workspaceGradleBuild, pt as ENDED_AGENT_RETENTION_MS, q as StatsRecord, qa as SettingScope, qc as readAgentDeviceUsage, qi as parseHostedOfferRequest, qn as WorkspaceStage, qo as maintenanceChildLogFile, qr as BUILD_HISTORY_LIMIT, qs as validEasSessionClaim, qt as BuildHistoryEntry, r as isJournalExpired, ra as HostedAgentGrant, rc as debugLoggingEnabled, ri as MAINTENANCE_LOG_NAME, rl as parseNdjsonText, rn as BuildWaitingFor, ro as isLayeredSetting, rr as readHostedMacosApp, rs as sharedGradle, rt as statsProjectKey, s as agentDeviceStateDirs, sa as HostedMacosDevice, sc as configCorruptRepair, si as WORKSPACE_AGENT_KEY, sn as DeviceLeaseState, so as RUN_ID_ENV, sr as ArchivedWorkspace, ss as supervisorPidFile, st as wholePhases, t as SetupCapability, ta as HostedAgentAccess, tc as createDebugLog, ti as IdleStopRecord, tl as levelRank, tn as BuildReport, to as coerceSettingText, tr as macosAppState, ts as sharedCcache, tt as readStats, u as HostedLogsCursor, ua as hostedMacosBundleId, uc as getConcurrencyLimits, ui as buildDiagnostics, un as EndedAgentSession, uo as RECORDING_CAP_BYTES, ur as linkReplacedArchives, us as workspaceDerivedData, ut as readViewedDevices, v as TAILNET_MACHINE_PATTERN, va as HostedAppFile, vc as withConfigLock, vi as readIdleStop, vn as MachineOwner, vo as footageDrops, vr as MaintenancePass, vs as workspaceStateFile, vt as diskUsageFailureFile, w as HOSTED_METRO_GATEWAYS_KEY, wa as parseHostedAppManifest, wc as Config, wi as HostedAndroidChoice, wn as NATIVE_BUILD_STEPS, wo as recordingEnabled, wr as parseMaintenanceState, ws as attachExpoErrorContext, wt as readDiskUsage, x as findPeer, xa as hostedAppArea, xc as requireAutomaticMachine, xi as readWorkspaceAgent, xn as MacosBuildPlanPayload, xo as openSegmentName, xr as MaintenanceSize, xs as NATIVE_CRASH_LOG_PREFIX, xt as pullRequestCacheFile, y as TailnetPeer, ya as HostedAppOffer, yc as AutomaticPoolRole, yi as readLastBuilds, yn as MachineOwnerKind, yo as listRecordedDevices, yr as MaintenancePressure, ys as workspaceStateLock, yt as endedAgentSessionOf, z as RunEstimates, za as OffloadMode, zc as saturation, zi as deviceHostRoot, zn as TUTORIAL_VERSION, zo as diskUsageWalkClaims, zr as hostedAndroidStatus, zs as tailRead, zt as AndroidRuntimeFacts } from "./index-BITArGWH.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, AutomaticPoolRole, 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, DEBUG_ENV, DEVICE_IDLE_SHUTDOWN_KEY, DEVICE_RECLAIM_REASON, DEV_SERVER_STOP_REQUEST_KEY, DebugLog, 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, MAINTENANCE_LOG_NAME, MEMORY_SOURCES, MachineCapacity, MachineOwner, MachineOwnerKind, MachineUsageState, MacosAppRecord, MacosAppState, MacosBuild, MacosBuildPlanPayload, 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, 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, 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, automaticMachineEnabled, buildCriteria, buildDiagnostics, buildMachinesFile, buildMachinesLock, buildSlotPath, buildSlotsDir, buildWorkerRoot, bundleMarkerPlatform, capDrops, closedSegmentName, coerceSettingText, compileGrep, configCorruptRepair, configLockPath, countErrorEntries, createAgentActionReader, 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, 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, projectRootDirectories, pullRequestCacheDir, pullRequestCacheFile, queryJsonLogs, queryLogs, readAgentDeviceUsage, readAgentDeviceUsageCache, readAgentSessionsCache, readArchive, readArchiveState, readArchives, readBuildDetail, readBuildHistory, readBuildMachines, readCreatedDevices, readDevServerStop, readDevServerStopRequest, readDeviceHostMachines, readDeviceIdleShutdowns, readDevicePlacement, readDiskUsage, readDiskUsageFailure, 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, requireAutomaticMachine, runId, 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, validRunId, validateAutomaticPool, wholePhases, withConfigLock, withDerivedFacts, withGitChip, withStateReadCache, workspaceAgentDeviceDir, workspaceBuildDetailFile, workspaceDerivedData, workspaceEndedAgentsFile, workspaceEndedAgentsLock, workspaceGradleBuild, workspaceLastUsed, workspaceLogErrorIndex, workspaceLogsDir, workspaceMetadataFile, workspaceRecordingsDir, workspaceStateFile, workspaceStateLock };
|
package/dist/state.mjs
CHANGED
|
@@ -148,8 +148,8 @@ function readCompleteLines(path, start) {
|
|
|
148
148
|
let fd;
|
|
149
149
|
try {
|
|
150
150
|
fd = openSync(path, "r");
|
|
151
|
-
const stat = fstatSync(fd);
|
|
152
|
-
const size = stat.size;
|
|
151
|
+
const stat = fstatSync(fd, { bigint: true });
|
|
152
|
+
const size = Number(stat.size);
|
|
153
153
|
const identity = `${stat.dev}:${stat.ino}`;
|
|
154
154
|
if (size <= start) return {
|
|
155
155
|
text: "",
|
|
@@ -488,6 +488,10 @@ function agentSessionsCacheFile() {
|
|
|
488
488
|
function diskUsageCacheDir() {
|
|
489
489
|
return join(configDir(), "disk-usage");
|
|
490
490
|
}
|
|
491
|
+
/** The ownership claim root that admits one disk-usage walk at a time on this machine. */
|
|
492
|
+
function diskUsageWalkClaims() {
|
|
493
|
+
return join(configDir(), "disk-usage-walk.claims");
|
|
494
|
+
}
|
|
491
495
|
/** The remote Macs this Mac paired with, each with its pinned tailnet node and device token. */
|
|
492
496
|
function buildMachinesFile() {
|
|
493
497
|
return join(configDir(), "build-machines.json");
|
|
@@ -1009,10 +1013,10 @@ const SETTINGS = [
|
|
|
1009
1013
|
type: {
|
|
1010
1014
|
kind: "string",
|
|
1011
1015
|
pattern: TAILNET_MACHINE_PATTERN,
|
|
1012
|
-
patternHelp: "eas, proxy, auto, or a tailnet machine name"
|
|
1016
|
+
patternHelp: "eas, proxy, auto, local, or a tailnet machine name"
|
|
1013
1017
|
},
|
|
1014
1018
|
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"
|
|
1019
|
+
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; local runs here, overriding a lower layer"
|
|
1016
1020
|
},
|
|
1017
1021
|
{
|
|
1018
1022
|
key: "ios.simslimProfile",
|
|
@@ -1107,10 +1111,10 @@ const SETTINGS = [
|
|
|
1107
1111
|
type: {
|
|
1108
1112
|
kind: "string",
|
|
1109
1113
|
pattern: TAILNET_MACHINE_PATTERN,
|
|
1110
|
-
patternHelp: "eas, proxy, auto, or a tailnet machine name"
|
|
1114
|
+
patternHelp: "eas, proxy, auto, local, or a tailnet machine name"
|
|
1111
1115
|
},
|
|
1112
1116
|
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"
|
|
1117
|
+
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; local runs here, overriding a lower layer"
|
|
1114
1118
|
},
|
|
1115
1119
|
{
|
|
1116
1120
|
key: "metro.tunnel",
|
|
@@ -1739,6 +1743,27 @@ const SETTINGS = [
|
|
|
1739
1743
|
scopes: MACHINE,
|
|
1740
1744
|
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"
|
|
1741
1745
|
},
|
|
1746
|
+
{
|
|
1747
|
+
key: "remote.buildPoolDisabled",
|
|
1748
|
+
type: { kind: "strings" },
|
|
1749
|
+
scopes: MACHINE,
|
|
1750
|
+
default: [],
|
|
1751
|
+
description: "Members excluded from this requester's automatic build placement: local or exact remote.machines entries. Explicit placement and running builds are unaffected; at least one local or configured, approved remote member must stay enabled"
|
|
1752
|
+
},
|
|
1753
|
+
{
|
|
1754
|
+
key: "remote.devicePoolDisabled",
|
|
1755
|
+
type: { kind: "strings" },
|
|
1756
|
+
scopes: MACHINE,
|
|
1757
|
+
default: [],
|
|
1758
|
+
description: "Members excluded from this requester's automatic simulator and emulator placement: local or exact remote.machines entries. Explicit placement and existing sessions are unaffected; at least one local or configured, approved remote member must stay enabled"
|
|
1759
|
+
},
|
|
1760
|
+
{
|
|
1761
|
+
key: "remote.easFallback",
|
|
1762
|
+
type: BOOLEAN,
|
|
1763
|
+
scopes: EVERY,
|
|
1764
|
+
default: false,
|
|
1765
|
+
description: "When ios.remote or android.remote is auto, this Mac is at its concurrency.maxDevices cap and no Mac in remote.machines takes the run, run the simulator or emulator on a billed EAS Simulator instead of waiting or refusing, when eas-cli can"
|
|
1766
|
+
},
|
|
1742
1767
|
{
|
|
1743
1768
|
key: "remote.build",
|
|
1744
1769
|
type: {
|
|
@@ -1749,7 +1774,7 @@ const SETTINGS = [
|
|
|
1749
1774
|
scopes: MACHINE,
|
|
1750
1775
|
default: "auto",
|
|
1751
1776
|
env: "STIM_REMOTE_BUILD",
|
|
1752
|
-
description: "Build placement: auto follows remote.buildMode
|
|
1777
|
+
description: "Build placement: auto follows remote.buildMode within enabled automatic pool members; 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"
|
|
1753
1778
|
},
|
|
1754
1779
|
{
|
|
1755
1780
|
key: "remote.buildMode",
|
|
@@ -1760,7 +1785,7 @@ const SETTINGS = [
|
|
|
1760
1785
|
scopes: MACHINE,
|
|
1761
1786
|
default: "auto",
|
|
1762
1787
|
env: "STIM_REMOTE_BUILD_MODE",
|
|
1763
|
-
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
|
|
1788
|
+
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 an enabled remote Mac whenever one can take the build; off builds here when local is enabled in remote.buildPoolDisabled"
|
|
1764
1789
|
},
|
|
1765
1790
|
{
|
|
1766
1791
|
key: "server.maxLoadPerCore",
|
|
@@ -2057,6 +2082,60 @@ function readBuildMachines() {
|
|
|
2057
2082
|
}
|
|
2058
2083
|
}
|
|
2059
2084
|
//#endregion
|
|
2085
|
+
//#region state/device-host-machines.ts
|
|
2086
|
+
/** An absent store is empty; unreadable or malformed credentials refuse access without discarding pins. */
|
|
2087
|
+
function readDeviceHostMachines() {
|
|
2088
|
+
let value;
|
|
2089
|
+
try {
|
|
2090
|
+
value = readJsonFile(deviceHostMachinesFile());
|
|
2091
|
+
} catch (error) {
|
|
2092
|
+
if (error.code === "ENOENT") return [];
|
|
2093
|
+
throw error;
|
|
2094
|
+
}
|
|
2095
|
+
if (!isJsonObject(value) || value.version !== 1 || !Array.isArray(value.machines)) throw new Error("Invalid device-host machine credential store");
|
|
2096
|
+
const machines = [];
|
|
2097
|
+
for (const entry of value.machines) {
|
|
2098
|
+
if (!isJsonObject(entry) || ![
|
|
2099
|
+
"machine",
|
|
2100
|
+
"nodeId",
|
|
2101
|
+
"dnsName",
|
|
2102
|
+
"deviceId",
|
|
2103
|
+
"deviceToken",
|
|
2104
|
+
"requestedAt"
|
|
2105
|
+
].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");
|
|
2106
|
+
const { ticketHash, expiresAt, ...credential } = entry;
|
|
2107
|
+
machines.push({
|
|
2108
|
+
...credential,
|
|
2109
|
+
...typeof expiresAt === "string" && expiresAt ? { expiresAt } : {},
|
|
2110
|
+
...typeof ticketHash === "string" ? { ticketHash } : {}
|
|
2111
|
+
});
|
|
2112
|
+
}
|
|
2113
|
+
return machines;
|
|
2114
|
+
}
|
|
2115
|
+
//#endregion
|
|
2116
|
+
//#region state/automatic-pools.ts
|
|
2117
|
+
function automaticMachineEnabled(role, machine, config = loadConfig()) {
|
|
2118
|
+
const key = `${role}PoolDisabled`;
|
|
2119
|
+
const disabled = config?.remote?.[key];
|
|
2120
|
+
if (disabled === void 0) return true;
|
|
2121
|
+
if (!Array.isArray(disabled) || disabled.some((entry) => typeof entry !== "string" || !entry.trim())) throw Object.assign(/* @__PURE__ */ new Error(`remote.${key} must be a list of machine names or local.`), { code: "STIM_BAD_ARG" });
|
|
2122
|
+
return !disabled.includes(machine);
|
|
2123
|
+
}
|
|
2124
|
+
function requireAutomaticMachine(role, machine) {
|
|
2125
|
+
if (automaticMachineEnabled(role, machine)) return;
|
|
2126
|
+
throw Object.assign(/* @__PURE__ */ new Error(`${machine} is disabled in this requester's automatic ${role} pool.`), {
|
|
2127
|
+
code: role === "build" ? "STIM_OFFLOAD_REFUSED" : "STIM_HOSTING_REFUSED",
|
|
2128
|
+
remedy: `Enable it in remote.${role}PoolDisabled or select a machine explicitly.`
|
|
2129
|
+
});
|
|
2130
|
+
}
|
|
2131
|
+
function validateAutomaticPool(role, config) {
|
|
2132
|
+
if (automaticMachineEnabled(role, "local", config)) return;
|
|
2133
|
+
const configured = config.remote?.machines;
|
|
2134
|
+
const approved = role === "build" ? readBuildMachines() : readDeviceHostMachines();
|
|
2135
|
+
if (Array.isArray(configured) && configured.some((machine) => typeof machine === "string" && automaticMachineEnabled(role, machine, config) && approved.some((entry) => entry.machine === machine && entry.state === "approved"))) return;
|
|
2136
|
+
throw Object.assign(/* @__PURE__ */ new Error(`Keep at least one enabled automatic ${role} pool member: local or a configured, approved remote machine.`), { code: "STIM_BAD_ARG" });
|
|
2137
|
+
}
|
|
2138
|
+
//#endregion
|
|
2060
2139
|
//#region state/debug-log.ts
|
|
2061
2140
|
const DEBUG_ENV = "STIM_DEBUG";
|
|
2062
2141
|
const ENABLED_RECHECK_MS = 5e3;
|
|
@@ -3103,7 +3182,7 @@ const WORKSPACE_PHASES = [
|
|
|
3103
3182
|
"idle"
|
|
3104
3183
|
];
|
|
3105
3184
|
/** The tutorial format version the installed Stim writes into the tutorial app. */
|
|
3106
|
-
const TUTORIAL_VERSION =
|
|
3185
|
+
const TUTORIAL_VERSION = 2;
|
|
3107
3186
|
/**
|
|
3108
3187
|
* Where a memory figure comes from. `footprint` is each process's physical footprint, which Activity Monitor's Memory
|
|
3109
3188
|
* column shows. `rss` sums resident set sizes, which count pages shared between processes once per process, so a
|
|
@@ -3283,6 +3362,10 @@ function cacheName(path) {
|
|
|
3283
3362
|
function diskUsageCacheFile(path) {
|
|
3284
3363
|
return join(diskUsageCacheDir(), cacheName(path));
|
|
3285
3364
|
}
|
|
3365
|
+
/** The file that records when the last walk of `path` failed, so other processes do not repeat it at once. */
|
|
3366
|
+
function diskUsageFailureFile(path) {
|
|
3367
|
+
return join(diskUsageCacheDir(), cacheName(path).replace(/\.json$/, ".failed.json"));
|
|
3368
|
+
}
|
|
3286
3369
|
/** The file that caches the pull request of the worktree at `path`. */
|
|
3287
3370
|
function pullRequestCacheFile(path) {
|
|
3288
3371
|
return join(pullRequestCacheDir(), cacheName(path));
|
|
@@ -3382,6 +3465,12 @@ function readDiskUsage(path) {
|
|
|
3382
3465
|
measuredAt
|
|
3383
3466
|
};
|
|
3384
3467
|
}
|
|
3468
|
+
/** When the last walk of `path` failed (an ISO time), or null when none is recorded. */
|
|
3469
|
+
function readDiskUsageFailure(path) {
|
|
3470
|
+
const entry = readJsonObject(diskUsageFailureFile(path));
|
|
3471
|
+
if (!entry || entry.path !== path || typeof entry.failedAt !== "string") return null;
|
|
3472
|
+
return Number.isFinite(Date.parse(entry.failedAt)) ? entry.failedAt : null;
|
|
3473
|
+
}
|
|
3385
3474
|
function countOrNull(value) {
|
|
3386
3475
|
return typeof value === "number" && Number.isInteger(value) && value >= 0 ? value : null;
|
|
3387
3476
|
}
|
|
@@ -3623,7 +3712,7 @@ function buildDiagnostics(value) {
|
|
|
3623
3712
|
function devicePlacement(value) {
|
|
3624
3713
|
if (!value || typeof value !== "object" || Array.isArray(value)) return null;
|
|
3625
3714
|
const record = value;
|
|
3626
|
-
if (record.decision !== "local" && record.decision !== "hosted" && record.decision !== "waited-locally" || typeof record.reason !== "string") return null;
|
|
3715
|
+
if (record.decision !== "local" && record.decision !== "hosted" && record.decision !== "waited-locally" && record.decision !== "eas" || typeof record.reason !== "string") return null;
|
|
3627
3716
|
return {
|
|
3628
3717
|
decision: record.decision,
|
|
3629
3718
|
reason: record.reason,
|
|
@@ -4168,7 +4257,7 @@ function readStatsReport(key, now) {
|
|
|
4168
4257
|
note
|
|
4169
4258
|
};
|
|
4170
4259
|
}
|
|
4171
|
-
function
|
|
4260
|
+
function* projectRootDirectories(startDir) {
|
|
4172
4261
|
let dir;
|
|
4173
4262
|
try {
|
|
4174
4263
|
dir = realpathSync(resolve(startDir));
|
|
@@ -4176,12 +4265,16 @@ function findProjectRoot(startDir) {
|
|
|
4176
4265
|
dir = resolve(startDir);
|
|
4177
4266
|
}
|
|
4178
4267
|
while (true) {
|
|
4179
|
-
|
|
4268
|
+
yield dir;
|
|
4180
4269
|
const parent = dirname(dir);
|
|
4181
|
-
if (parent === dir) return
|
|
4270
|
+
if (parent === dir) return;
|
|
4182
4271
|
dir = parent;
|
|
4183
4272
|
}
|
|
4184
4273
|
}
|
|
4274
|
+
function findProjectRoot(startDir) {
|
|
4275
|
+
for (const dir of projectRootDirectories(startDir)) if (existsSync(join(dir, "package.json")) || existsSync(join(dir, "Package.swift"))) return dir;
|
|
4276
|
+
return null;
|
|
4277
|
+
}
|
|
4185
4278
|
//#endregion
|
|
4186
4279
|
//#region state/device-host.ts
|
|
4187
4280
|
function deviceHostRoot() {
|
|
@@ -4503,37 +4596,6 @@ function readHostedApp(session, attempt, workerHome) {
|
|
|
4503
4596
|
};
|
|
4504
4597
|
}
|
|
4505
4598
|
//#endregion
|
|
4506
|
-
//#region state/device-host-machines.ts
|
|
4507
|
-
/** An absent store is empty; unreadable or malformed credentials refuse access without discarding pins. */
|
|
4508
|
-
function readDeviceHostMachines() {
|
|
4509
|
-
let value;
|
|
4510
|
-
try {
|
|
4511
|
-
value = readJsonFile(deviceHostMachinesFile());
|
|
4512
|
-
} catch (error) {
|
|
4513
|
-
if (error.code === "ENOENT") return [];
|
|
4514
|
-
throw error;
|
|
4515
|
-
}
|
|
4516
|
-
if (!isJsonObject(value) || value.version !== 1 || !Array.isArray(value.machines)) throw new Error("Invalid device-host machine credential store");
|
|
4517
|
-
const machines = [];
|
|
4518
|
-
for (const entry of value.machines) {
|
|
4519
|
-
if (!isJsonObject(entry) || ![
|
|
4520
|
-
"machine",
|
|
4521
|
-
"nodeId",
|
|
4522
|
-
"dnsName",
|
|
4523
|
-
"deviceId",
|
|
4524
|
-
"deviceToken",
|
|
4525
|
-
"requestedAt"
|
|
4526
|
-
].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");
|
|
4527
|
-
const { ticketHash, expiresAt, ...credential } = entry;
|
|
4528
|
-
machines.push({
|
|
4529
|
-
...credential,
|
|
4530
|
-
...typeof expiresAt === "string" && expiresAt ? { expiresAt } : {},
|
|
4531
|
-
...typeof ticketHash === "string" ? { ticketHash } : {}
|
|
4532
|
-
});
|
|
4533
|
-
}
|
|
4534
|
-
return machines;
|
|
4535
|
-
}
|
|
4536
|
-
//#endregion
|
|
4537
4599
|
//#region state/macos.ts
|
|
4538
4600
|
function processRecord(value) {
|
|
4539
4601
|
if (!value || typeof value !== "object") return void 0;
|
|
@@ -5066,4 +5128,4 @@ function isSetupJournalPrunable(journal, now) {
|
|
|
5066
5128
|
return Date.parse(journal.expiresAt) + 36e5 < now;
|
|
5067
5129
|
}
|
|
5068
5130
|
//#endregion
|
|
5069
|
-
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_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, IDLE_STOP_KEY, IOS_SIMULATOR_APPS, LAST_BUILD_KEYS, LEVELS, 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, 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, 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, createDebugLog, createdDevicesFile, createdDevicesLock, debugLogDir, debugLoggingEnabled, 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, runId, 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, validRunId, wholePhases, withConfigLock, withDerivedFacts, withGitChip, withStateReadCache, workspaceAgentDeviceDir, workspaceBuildDetailFile, workspaceDerivedData, workspaceEndedAgentsFile, workspaceEndedAgentsLock, workspaceGradleBuild, workspaceLastUsed, workspaceLogErrorIndex, workspaceLogsDir, workspaceMetadataFile, workspaceRecordingsDir, workspaceStateFile, workspaceStateLock };
|
|
5131
|
+
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_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, IDLE_STOP_KEY, IOS_SIMULATOR_APPS, LAST_BUILD_KEYS, LEVELS, 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, 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, agentDeviceUsageFile, agentSessionOf, agentSessionsCacheFile, allMetroPorts, archiveDir, archiveEnabled, archiveLock, archiveRoot, archivedUsage, assertHostedDeviceLedger, attachExpoErrorContext, automaticMachineEnabled, buildCriteria, buildDiagnostics, buildMachinesFile, buildMachinesLock, buildSlotPath, buildSlotsDir, buildWorkerRoot, bundleMarkerPlatform, capDrops, closedSegmentName, coerceSettingText, compileGrep, configCorruptRepair, configLockPath, countErrorEntries, createAgentActionReader, 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, 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, projectRootDirectories, pullRequestCacheDir, pullRequestCacheFile, queryJsonLogs, queryLogs, readAgentDeviceUsage, readAgentDeviceUsageCache, readAgentSessionsCache, readArchive, readArchiveState, readArchives, readBuildDetail, readBuildHistory, readBuildMachines, readCreatedDevices, readDevServerStop, readDevServerStopRequest, readDeviceHostMachines, readDeviceIdleShutdowns, readDevicePlacement, readDiskUsage, readDiskUsageFailure, 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, requireAutomaticMachine, runId, 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, validRunId, validateAutomaticPool, wholePhases, withConfigLock, withDerivedFacts, withGitChip, withStateReadCache, workspaceAgentDeviceDir, workspaceBuildDetailFile, workspaceDerivedData, workspaceEndedAgentsFile, workspaceEndedAgentsLock, workspaceGradleBuild, workspaceLastUsed, workspaceLogErrorIndex, workspaceLogsDir, workspaceMetadataFile, workspaceRecordingsDir, workspaceStateFile, workspaceStateLock };
|