stim 1.31.0 → 1.32.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/{acquire-artifact-P84h3ssa.mjs → acquire-artifact-CI9fIokp.mjs} +1 -1
- package/dist/{act-lcOIEy32.mjs → act-BfChMxcU.mjs} +62 -13
- package/dist/{activity-Dw4N_RFe.mjs → activity-yjH7Q3zn.mjs} +1 -1
- package/dist/{agent-device-usage-output-Boie2yB-.mjs → agent-device-usage-output-DO412bsG.mjs} +3 -3
- package/dist/{android-DhiWSOFU.mjs → android-BNm5A40S.mjs} +29 -29
- package/dist/{android-aIuJZoDu.mjs → android-D56S_GX3.mjs} +5 -5
- package/dist/api.mjs +21 -21
- package/dist/{artifact-ta3xA0c4.mjs → artifact-C8Nvp07y.mjs} +10 -10
- package/dist/{artifact-Cr34-Yyy.mjs → artifact-k1x9Jrn0.mjs} +10 -10
- package/dist/{auto-placement-DtTRG0rk.mjs → auto-placement--nfdQ9rp.mjs} +5 -5
- package/dist/{browser-web-DuULNZrS.mjs → browser-web-6RDAeH0z.mjs} +5 -5
- package/dist/{build-BpFFbdXD.mjs → build-VXX_dtl5.mjs} +15 -15
- package/dist/{build-plan-DH1rT11x.mjs → build-plan-BK34X2iY.mjs} +4 -4
- package/dist/{ccache-DVDO2ocE.mjs → ccache-BrwGIxmV.mjs} +7 -7
- package/dist/{cli-C0jjwTuM.mjs → cli-Jc7obreB.mjs} +17 -17
- package/dist/cli.mjs +1 -1
- package/dist/{client-DhJOvSvh.mjs → client-lDmA-5jx.mjs} +3 -3
- package/dist/{command-output-VrXd6qPX.mjs → command-output-CfPW1bKP.mjs} +1 -1
- package/dist/{dependencies-DIU-5rnG.mjs → dependencies-DkZ8681S.mjs} +28 -28
- package/dist/{dev-client-DeAg0fso.mjs → dev-client-eDZy6RoX.mjs} +2 -2
- package/dist/{device-DuNLOlR6.mjs → device-CTozKhU0.mjs} +6 -6
- package/dist/{device-C2WsPgFt.mjs → device-CeIikWac.mjs} +8 -8
- package/dist/{device-android-BjhH0Ru3.mjs → device-android-zgD9We85.mjs} +3 -3
- package/dist/{device-capacity-Du5wBTNJ.mjs → device-capacity-Bki6B-7h.mjs} +3 -3
- package/dist/device-host-worker.mjs +7 -7
- package/dist/{device-ios-CUYUhSYO.mjs → device-ios-TE5ejeXx.mjs} +3 -3
- package/dist/{device-lease-run-CHXQEn-7.mjs → device-lease-run-DeNGjJZM.mjs} +3 -3
- package/dist/{device-pool-kUHO7MHO.mjs → device-pool-mjyUYaau.mjs} +2 -2
- package/dist/{device-provision-e7bKS7lx.mjs → device-provision-j_B7G0e6.mjs} +6 -6
- package/dist/{doctor-hva3sd9f.mjs → doctor-BlrcoQ7B.mjs} +10 -10
- package/dist/{doctor-B6kIVgU9.mjs → doctor-CNZuvTSe.mjs} +1 -1
- package/dist/{doctor-BGcsAgAV.mjs → doctor-sSLtn-j1.mjs} +11 -11
- package/dist/{doctor-watchman-DJY550yz.mjs → doctor-watchman-CCuboyj1.mjs} +2 -2
- package/dist/{eas-build-CBFgseh1.mjs → eas-build-CaG-Sfs9.mjs} +2 -2
- package/dist/{eas-fallback-DFXdz4d6.mjs → eas-fallback-BpX1lpco.mjs} +2 -2
- package/dist/{eas-session-ledger-aFBLTZr2.mjs → eas-session-ledger-B-nTfdfk.mjs} +1 -1
- package/dist/{error-diagnostics-CCsq_3uG.mjs → error-diagnostics-q56Im4D8.mjs} +3 -3
- package/dist/{gc-DASUa3Z_.mjs → gc-By2Kc-Ek.mjs} +2 -2
- package/dist/{gc-B0K4d_PL.mjs → gc-Dv6nb9nf.mjs} +10 -10
- package/dist/{guide-Civo5-zV.mjs → guide-CwpsGWTJ.mjs} +71 -22
- package/dist/{hosted-android-CH1Sm4wo.mjs → hosted-android-c5nPJA6S.mjs} +3 -3
- package/dist/{hosted-client-5ur3YpxY.mjs → hosted-client-Hs-fD4L3.mjs} +2 -2
- package/dist/{hosted-logs-BYg4yeti.mjs → hosted-logs-BteXG8rm.mjs} +12 -6
- package/dist/{hosted-logs-sync-BPe8xnMu.mjs → hosted-logs-sync-B8bjLEMs.mjs} +4 -4
- package/dist/{hosted-macos-BagT0Gn3.mjs → hosted-macos-B4byscei.mjs} +4 -4
- package/dist/{hosted-native-kaR4nUHk.mjs → hosted-native-Bh9IJ_t5.mjs} +5 -5
- package/dist/{idle-shutdown-BWHQ7mQG.mjs → idle-shutdown-BaeCo4ps.mjs} +3 -3
- package/dist/{ios-BKR-Dq46.mjs → ios-D1XKSITX.mjs} +8 -8
- package/dist/{ios-DUL68MI5.mjs → ios-D3oK9-O4.mjs} +22 -22
- package/dist/{ios-device-Dz8gFZ0K.mjs → ios-device-D7Gi3e1I.mjs} +1 -1
- package/dist/{ios-project-Br1tVYWX.mjs → ios-project-DDQlX_jX.mjs} +5 -5
- package/dist/{js-swap-BfG8XpyS.mjs → js-swap-C8N5DXHl.mjs} +3 -3
- package/dist/{launch-CrGndh8T.mjs → launch-DxpvL6il.mjs} +12 -12
- package/dist/{lightened-DZ9Ip0T3.mjs → lightened-Df6II_XI.mjs} +2 -2
- package/dist/{logs-DpIKWT3A.mjs → logs-CuWJWF88.mjs} +5 -5
- package/dist/{logs-C-hfMsxK.mjs → logs-zv3ge7c6.mjs} +3 -3
- package/dist/{macos-DZ9ZSolN.mjs → macos-C6U-4Iip.mjs} +14 -14
- package/dist/{macos-DNmKwfDy.mjs → macos-CbRZheLw.mjs} +1 -1
- package/dist/maintenance-run.mjs +3 -3
- package/dist/{metro-request-RDhyx85c.mjs → metro-request-DODHNXCN.mjs} +7 -1
- package/dist/{native-android-DExhFqR6.mjs → native-android-9dVFqvTT.mjs} +10 -10
- package/dist/{native-gradle-artifact-inputs-Bcmbdc23.mjs → native-gradle-artifact-inputs-BlY97pt8.mjs} +1 -1
- package/dist/{native-runtime-D4qgnjK_.mjs → native-runtime-DQfxW5Au.mjs} +3 -3
- package/dist/{native-xcode-inputs-EWma1lXh.mjs → native-xcode-inputs-tDuUvSU8.mjs} +1 -1
- package/dist/{native-xcode-ios-Y6rzmWTc.mjs → native-xcode-ios-CG-PD-7g.mjs} +11 -11
- package/dist/offload-worker.mjs +13 -13
- package/dist/{phone-reverses-Drj5QQCh.mjs → phone-reverses-CnNwdz9A.mjs} +1 -1
- package/dist/{placement-log-CFT8SnlS.mjs → placement-log-CRL0IY-k.mjs} +1 -1
- package/dist/{plan-placement-DhKCH_wF.mjs → plan-placement-2imvnlWP.mjs} +4 -4
- package/dist/{ports-BNtJ5DCj.mjs → ports-CKktj5lV.mjs} +1 -1
- package/dist/{prebuild-D0hvmO4j.mjs → prebuild-CyNrUWgV.mjs} +5 -5
- package/dist/{project-DCLkDM8C.mjs → project-Crtcbfl0.mjs} +11 -11
- package/dist/{react-native-android-Dp7vctEA.mjs → react-native-android-Cabe2YER.mjs} +17 -17
- package/dist/{react-native-build-vK2lFYfN.mjs → react-native-build-DhWBUV_H.mjs} +4 -4
- package/dist/{react-native-doctor-BtWzwZHU.mjs → react-native-doctor-D-twmBon.mjs} +4 -4
- package/dist/{react-native-ios-DW1Ax3Yv.mjs → react-native-ios-u_ley41B.mjs} +12 -12
- package/dist/{reload-B-d7-CsI.mjs → reload-D2TpUlns.mjs} +6 -6
- package/dist/{reload-BS_ntVV_.mjs → reload-f9hvEHE9.mjs} +1 -1
- package/dist/{remote-DScVlaMz.mjs → remote-BsBAjlD2.mjs} +6 -6
- package/dist/{result-Epkl6gyG.mjs → result-EOsWV6sp.mjs} +10 -10
- package/dist/{selection-C95m--1_.mjs → selection-C4ZQz_ER.mjs} +1 -1
- package/dist/{server-command-B1gDRJB2.mjs → server-command-BMyKtnjH.mjs} +2 -2
- package/dist/{server-expo-CP4dURQp.mjs → server-expo-BLxcN2x2.mjs} +1 -1
- package/dist/server-expo-DwR3eD-a.mjs +2 -0
- package/dist/{settings-CjTRNCi3.mjs → settings-jeS0WmUF.mjs} +2 -2
- package/dist/{settings-payload-zf5EnCTg.mjs → settings-payload-CrX933Xi.mjs} +1 -1
- package/dist/{settings-write-Fe0K6BeC.mjs → settings-write-DMcT23Kl.mjs} +2 -2
- package/dist/settings.schema.json +2 -2
- package/dist/{slot-launch-B4MHzVX2.mjs → slot-launch-CSpQcFZw.mjs} +2 -2
- package/dist/{stage-DDrnM0CY.mjs → stage-Cf9uSM1a.mjs} +1 -1
- package/dist/{start-LSwIFlBv.mjs → start-CLN_r9EG.mjs} +5 -5
- package/dist/{start-BXl5tkv8.mjs → start-CquYgzVf.mjs} +1 -1
- package/dist/{stats-EgpYD536.mjs → stats-BVEZuSlg.mjs} +3 -3
- package/dist/{status-DBMD7ZQT.mjs → status-Bhdy07v0.mjs} +1 -1
- package/dist/{status-BLDvhatv.mjs → status-D0ruTmPl.mjs} +12 -12
- package/dist/{status-watch-BwG4lJ1q.mjs → status-watch-DSu_hhg6.mjs} +1 -1
- package/dist/status-worker.mjs +1 -1
- package/dist/{stop-BfNhzvXO.mjs → stop-B616ZyTv.mjs} +2 -2
- package/dist/{stop-4SAV_RR8.mjs → stop-RZqER_Ww.mjs} +2 -2
- package/dist/{stop-WyrZQuX6.mjs → stop-W4DK8qZq.mjs} +9 -9
- package/dist/supervisor-run.mjs +131 -39
- package/dist/{support-Cs24xRQa.mjs → support-NxnD8QXd.mjs} +6 -6
- package/dist/{support-Cffz6_Ft.mjs → support-S_5nkkzs.mjs} +3 -3
- package/dist/{swiftpm-macos-D0CzQtpp.mjs → swiftpm-macos-Gtq9bNQb.mjs} +2 -2
- package/dist/{toolchain-BEra9AIX.mjs → toolchain-B2bN8jEo.mjs} +1 -1
- package/dist/{toolchain-CGdgD4x4.mjs → toolchain-Bnm8vUCV.mjs} +2 -2
- package/dist/{web-BE89ONcc.mjs → web-BdWG8b5_.mjs} +3 -3
- package/dist/web-DwuluWJt.mjs +2 -0
- package/dist/web-run.mjs +1 -1
- package/dist/{workspaces-BNEyJ1B_.mjs → workspaces-C59v9bpD.mjs} +6 -5
- package/dist/{worktree-BTrii9e_.mjs → worktree-CinoSsGy.mjs} +10 -10
- package/dist/{worktree-DB3Ypdj6.mjs → worktree-K9F50fD_.mjs} +1 -1
- package/package.json +7 -7
- package/dist/server-expo-D3k9mvP8.mjs +0 -2
- package/dist/web-DQPxvFVD.mjs +0 -2
package/dist/cli.mjs
CHANGED
|
@@ -4,6 +4,6 @@ const encode = (version) => version.split(".", 3).reduce((sum, part) => sum * 1e
|
|
|
4
4
|
if (encode(process.versions.node) < encode("22.12.0")) {
|
|
5
5
|
process.stderr.write(`STIM_NODE_UNSUPPORTED: Stim needs Node 22.12.0 or later; this is Node ${process.versions.node} at ${process.execPath}. To run Stim where a project pins an older Node, see https://stim.appandflow.com/docs/requirements#older-node-pins\n`);
|
|
6
6
|
process.exitCode = 1;
|
|
7
|
-
} else import("./cli-
|
|
7
|
+
} else import("./cli-Jc7obreB.mjs");
|
|
8
8
|
//#endregion
|
|
9
9
|
export {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { C as reportSignal, E as debugLog, b as operationState, c as throwIfCancelled, t as getExecutor } from "./exec-aULwtNly.mjs";
|
|
2
2
|
import { ct as resolveEndpoint, lt as sayHello, rt as openAuthenticated, v as loadConfig$1 } from "./config-D5qNWJEP.mjs";
|
|
3
3
|
import { o as git, s as gitAsync } from "./operation-exec-Dp4FuIGR.mjs";
|
|
4
|
-
import { G as planCacheEmptying, R as maintenanceLogger, n as CCACHE_UNAVAILABLE, t as CCACHE_NOT_RUN, ur as discoverCaches, z as emptyCaches } from "./ccache-
|
|
4
|
+
import { G as planCacheEmptying, R as maintenanceLogger, n as CCACHE_UNAVAILABLE, t as CCACHE_NOT_RUN, ur as discoverCaches, z as emptyCaches } from "./ccache-BrwGIxmV.mjs";
|
|
5
5
|
import { t as canonicalPath } from "./paths-BsJMoPP2.mjs";
|
|
6
|
-
import { A as COMPILATION_CACHE_NOT_RUN, D as readRubyVersion, S as workerToolchain, b as toolchainNotes, c as iosToolchainAsync, j as COMPILATION_CACHE_UNAVAILABLE, o as cocoapodsDifference, st as runCancellationSignal, y as toolchainMismatches } from "./toolchain-
|
|
6
|
+
import { A as COMPILATION_CACHE_NOT_RUN, D as readRubyVersion, S as workerToolchain, b as toolchainNotes, c as iosToolchainAsync, j as COMPILATION_CACHE_UNAVAILABLE, o as cocoapodsDifference, st as runCancellationSignal, y as toolchainMismatches } from "./toolchain-Bnm8vUCV.mjs";
|
|
7
7
|
import { t as resolveMaintenanceSettings } from "./settings-D9LtQaUw.mjs";
|
|
8
|
-
import { f as workerFailureReason, m as pairedMachines, o as namedBuildMachine, t as OffloadRefusal } from "./selection-
|
|
8
|
+
import { f as workerFailureReason, m as pairedMachines, o as namedBuildMachine, t as OffloadRefusal } from "./selection-C4ZQz_ER.mjs";
|
|
9
9
|
import { n as fingerprintNativeInputs, r as manifestDigest } from "./native-inputs-TRTTTRxt.mjs";
|
|
10
10
|
import { a as sourceManifest, i as nativeTransferManifest, n as gitVisiblePaths, r as nativeFileDigest, t as checkNativeTransferMembership } from "./native-source-D1AzWiuP.mjs";
|
|
11
11
|
import { createHash, webcrypto } from "node:crypto";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as stripAnsi } from "./process-output-Fpl8PYi8.mjs";
|
|
2
|
-
import { t as NO_PROJECT_REFUSAL } from "./project-
|
|
2
|
+
import { t as NO_PROJECT_REFUSAL } from "./project-Crtcbfl0.mjs";
|
|
3
3
|
import { quotedPath as quotedPath$1 } from "@stim-cli/core";
|
|
4
4
|
import chalk from "chalk";
|
|
5
5
|
//#region src/diagnostics/launch-error-preview.ts
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import { o as cancellableSleep, t as getExecutor, x as withDrainingCancellation } from "./exec-aULwtNly.mjs";
|
|
2
2
|
import { f as writeWorkspaceStateAsync, k as workspaceLogsDir, r as readWorkspaceState } from "./workspace-state-3bF4TB8P.mjs";
|
|
3
3
|
import { D as upsertProject, H as deviceSlotKey, V as deviceSlotFileKey, k as withConfigLockAsync, m as getProject, u as getConcurrencyLimits, y as recordIosSchemeApprovals } from "./config-D5qNWJEP.mjs";
|
|
4
|
-
import { _ as stepTimer, c as launchErrorReport, i as formatDuration, l as phaseLine, n as appReadinessMessage, v as launchErrorPreview } from "./command-output-
|
|
4
|
+
import { _ as stepTimer, c as launchErrorReport, i as formatDuration, l as phaseLine, n as appReadinessMessage, v as launchErrorPreview } from "./command-output-CfPW1bKP.mjs";
|
|
5
5
|
import { J as resolveCacheProviderConfig, Q as resolveSettings, St as gitCommonDirAsync, Vt as repoRootAsync, an as makeTemporaryDirectory, at as settingsLayers, dt as detectProviders, nt as settingOriginScope, on as removeTemporaryEntry } from "./settings-C6UTYW2K.mjs";
|
|
6
|
-
import { L as workspaceDevServerMode, f as projectRegistry, i as findProjectRoot, v as detectIsExpo, z as writeWorkspaceLaunchAsync } from "./project-
|
|
6
|
+
import { L as workspaceDevServerMode, f as projectRegistry, i as findProjectRoot, v as detectIsExpo, z as writeWorkspaceLaunchAsync } from "./project-Crtcbfl0.mjs";
|
|
7
7
|
import { o as workspaceLinks } from "./stim-desktop-1XxET4S8.mjs";
|
|
8
8
|
import { c as pidExists, d as resolveProjectMetro, f as signalProcessTree } from "./metro-mKHEMO-a.mjs";
|
|
9
9
|
import { i as createNdjsonWriter } from "./ndjson-CrjIsGzw.mjs";
|
|
10
|
-
import { An as checkEasAuth, At as ensureRemoteBootOwned, Bt as RELEASE_VERIFY_WAIT_MS, Cn as gateMetroOrigin, Dt as bundleEntryPoint, Gt as unattributedLaunchLines, Ht as isBundleProof, It as LAUNCH_BUNDLING, Jt as verifyLaunch, Kt as unverifiedLaunchLines, Ln as resolveEasCliBin, Lt as LAUNCH_FATAL, Nn as loadProjectProvider, Nt as remoteIosDeps, Pt as resolveRemoteContext, Rn as resolveRemote, Rt as LAUNCH_UNVERIFIED, Sn as readRemoteSimulatorArch, Ut as readCollectorRecords, Wt as readMetroRecords, Yt as verifyReleaseLaunch, an as devClientUrl, c as budgetGate, dn as installIosApp, en as IOS_DEV_MENU_OFF_DEFAULTS_PLIST, fn as iosAppProcess, gn as restartedAppNote, hn as launchIosApp, in as clearOtherUserApps, kt as ensureMetroReachable, zn as uploadRemote } from "./ccache-
|
|
11
|
-
import { St as acquireBuildSlot, Tt as releaseBuildSlot, ct as recordRunStats, it as readRunEstimates, ot as recordCapacityRefusal } from "./workspaces-
|
|
12
|
-
import { E as readPodState, H as readBundleId, T as podsAreStale, U as resolveScheme, V as readBundleExecutable, c as iosToolchainAsync, k as runPodInstall } from "./toolchain-
|
|
13
|
-
import { F as waitForBuild, M as acquireBuildLock, P as releaseBuildLock } from "./activity-
|
|
10
|
+
import { An as checkEasAuth, At as ensureRemoteBootOwned, Bt as RELEASE_VERIFY_WAIT_MS, Cn as gateMetroOrigin, Dt as bundleEntryPoint, Gt as unattributedLaunchLines, Ht as isBundleProof, It as LAUNCH_BUNDLING, Jt as verifyLaunch, Kt as unverifiedLaunchLines, Ln as resolveEasCliBin, Lt as LAUNCH_FATAL, Nn as loadProjectProvider, Nt as remoteIosDeps, Pt as resolveRemoteContext, Rn as resolveRemote, Rt as LAUNCH_UNVERIFIED, Sn as readRemoteSimulatorArch, Ut as readCollectorRecords, Wt as readMetroRecords, Yt as verifyReleaseLaunch, an as devClientUrl, c as budgetGate, dn as installIosApp, en as IOS_DEV_MENU_OFF_DEFAULTS_PLIST, fn as iosAppProcess, gn as restartedAppNote, hn as launchIosApp, in as clearOtherUserApps, kt as ensureMetroReachable, zn as uploadRemote } from "./ccache-BrwGIxmV.mjs";
|
|
11
|
+
import { St as acquireBuildSlot, Tt as releaseBuildSlot, ct as recordRunStats, it as readRunEstimates, ot as recordCapacityRefusal } from "./workspaces-C59v9bpD.mjs";
|
|
12
|
+
import { E as readPodState, H as readBundleId, T as podsAreStale, U as resolveScheme, V as readBundleExecutable, c as iosToolchainAsync, k as runPodInstall } from "./toolchain-Bnm8vUCV.mjs";
|
|
13
|
+
import { F as waitForBuild, M as acquireBuildLock, P as releaseBuildLock } from "./activity-yjH7Q3zn.mjs";
|
|
14
14
|
import { A as untrackedNativeFiles, C as resolveBuild, c as evictBuild, m as fingerprintProject, w as storeBuild } from "./build-cache-BsKim4V7.mjs";
|
|
15
15
|
import { d as listAllIosSims, h as listIosRuntimesAsync, r as clearIosAppData } from "./ios-CdAV4-1E.mjs";
|
|
16
16
|
import { n as readHostedIos, o as writeHostedIosAsync } from "./ios-state-BEIJRJ7P.mjs";
|
|
17
|
-
import { n as hostedMetroPortProbe } from "./hosted-native-
|
|
18
|
-
import { i as prepareHostedIos, r as placeHostedIos } from "./phone-reverses-
|
|
17
|
+
import { n as hostedMetroPortProbe } from "./hosted-native-Bh9IJ_t5.mjs";
|
|
18
|
+
import { i as prepareHostedIos, r as placeHostedIos } from "./phone-reverses-CnNwdz9A.mjs";
|
|
19
19
|
import { n as verifyCollectorOwnership } from "./ownership-CCfiBfOP.mjs";
|
|
20
|
-
import { n as nativeRunCommand, r as siblingPlatformSlots, t as launchSlotScope } from "./slot-launch-
|
|
21
|
-
import { a as discoverXcodeProject, r as buildIos } from "./react-native-build-
|
|
22
|
-
import { c as startDevServer, g as detectBundleId } from "./start-
|
|
20
|
+
import { n as nativeRunCommand, r as siblingPlatformSlots, t as launchSlotScope } from "./slot-launch-CSpQcFZw.mjs";
|
|
21
|
+
import { a as discoverXcodeProject, r as buildIos } from "./react-native-build-DhWBUV_H.mjs";
|
|
22
|
+
import { c as startDevServer, g as detectBundleId } from "./start-CLN_r9EG.mjs";
|
|
23
23
|
import { t as spawnEntry } from "./spawn-entry-jw19m8Nl.mjs";
|
|
24
|
-
import { a as acquireRunLease, c as lostRefusal, d as runLease, s as lostLine, t as DEBUG_VERIFY_STEP_MS, u as releaseLeaseOnAbort } from "./device-lease-run-
|
|
25
|
-
import { r as checkDeviceCapacity } from "./device-capacity-
|
|
26
|
-
import { n as clearIosAdoptionPending } from "./device-ios-
|
|
27
|
-
import { i as deviceLabel, o as deviceShortName, t as appNameFromPath } from "./support-
|
|
24
|
+
import { a as acquireRunLease, c as lostRefusal, d as runLease, s as lostLine, t as DEBUG_VERIFY_STEP_MS, u as releaseLeaseOnAbort } from "./device-lease-run-DeNGjJZM.mjs";
|
|
25
|
+
import { r as checkDeviceCapacity } from "./device-capacity-Bki6B-7h.mjs";
|
|
26
|
+
import { n as clearIosAdoptionPending } from "./device-ios-TE5ejeXx.mjs";
|
|
27
|
+
import { i as deviceLabel, o as deviceShortName, t as appNameFromPath } from "./support-NxnD8QXd.mjs";
|
|
28
28
|
import { a as sealAppForDevice, r as gateProfileForDevice } from "./ios-signing-BJzvDPfU.mjs";
|
|
29
|
-
import { a as resolveEasDevelopmentBuild } from "./eas-build-
|
|
30
|
-
import { c as isWirelessIosDevice, i as iosDeviceProcess, l as listIosDevices, n as installIosDeviceApp, p as verifyIosDeviceReleaseLaunch, r as iosDeviceBounds, t as awaitIosDeviceLaunch, u as localNetworkPending } from "./ios-device-
|
|
31
|
-
import { a as captureNativeCrashes, c as simulatorConsolePaths, i as bundleBindFailure, n as IOS_CRASH_REPORT_RETRY, s as printNativeCrashReport, t as errorDiagnostics } from "./error-diagnostics-
|
|
32
|
-
import { t as followHostedLaunchLogs } from "./hosted-logs-sync-
|
|
33
|
-
import { a as runPrebuild, d as memoizedFingerprint, n as planPrebuildAsync } from "./prebuild-
|
|
34
|
-
import { i as launchOutcomeRecord, n as ensureWorkspaceStorageSafely } from "./native-runtime-
|
|
35
|
-
import { n as devClientTakesDevMenuParams, r as hasDevClient, t as devClientScheme } from "./dev-client-
|
|
36
|
-
import { t as automaticDevicePlacement } from "./auto-placement
|
|
37
|
-
import { t as checkEasFallback } from "./eas-fallback-
|
|
38
|
-
import { i as warmMetro, n as ensureBooted, r as ensureOwnedDevice } from "./device-
|
|
39
|
-
import { t as selectFromPool } from "./device-pool-
|
|
40
|
-
import { s as reportIosResult } from "./ios-project-
|
|
41
|
-
import { i as swapJsBundle } from "./js-swap-
|
|
29
|
+
import { a as resolveEasDevelopmentBuild } from "./eas-build-CaG-Sfs9.mjs";
|
|
30
|
+
import { c as isWirelessIosDevice, i as iosDeviceProcess, l as listIosDevices, n as installIosDeviceApp, p as verifyIosDeviceReleaseLaunch, r as iosDeviceBounds, t as awaitIosDeviceLaunch, u as localNetworkPending } from "./ios-device-D7Gi3e1I.mjs";
|
|
31
|
+
import { a as captureNativeCrashes, c as simulatorConsolePaths, i as bundleBindFailure, n as IOS_CRASH_REPORT_RETRY, s as printNativeCrashReport, t as errorDiagnostics } from "./error-diagnostics-q56Im4D8.mjs";
|
|
32
|
+
import { t as followHostedLaunchLogs } from "./hosted-logs-sync-B8bjLEMs.mjs";
|
|
33
|
+
import { a as runPrebuild, d as memoizedFingerprint, n as planPrebuildAsync } from "./prebuild-CyNrUWgV.mjs";
|
|
34
|
+
import { i as launchOutcomeRecord, n as ensureWorkspaceStorageSafely } from "./native-runtime-DQfxW5Au.mjs";
|
|
35
|
+
import { n as devClientTakesDevMenuParams, r as hasDevClient, t as devClientScheme } from "./dev-client-eDZy6RoX.mjs";
|
|
36
|
+
import { t as automaticDevicePlacement } from "./auto-placement--nfdQ9rp.mjs";
|
|
37
|
+
import { t as checkEasFallback } from "./eas-fallback-BpX1lpco.mjs";
|
|
38
|
+
import { i as warmMetro, n as ensureBooted, r as ensureOwnedDevice } from "./device-CTozKhU0.mjs";
|
|
39
|
+
import { t as selectFromPool } from "./device-pool-mjyUYaau.mjs";
|
|
40
|
+
import { s as reportIosResult } from "./ios-project-DDQlX_jX.mjs";
|
|
41
|
+
import { i as swapJsBundle } from "./js-swap-C8N5DXHl.mjs";
|
|
42
42
|
import { mkdirSync, openSync, writeFileSync } from "node:fs";
|
|
43
43
|
import { networkInterfaces } from "node:os";
|
|
44
44
|
import { basename, join } from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as resolvePackageJson, b as isPackageResolvable } from "./project-
|
|
2
|
-
import { bn as readBundleSchemes, yn as pickDevClientScheme } from "./ccache-
|
|
1
|
+
import { C as resolvePackageJson, b as isPackageResolvable } from "./project-Crtcbfl0.mjs";
|
|
2
|
+
import { bn as readBundleSchemes, yn as pickDevClientScheme } from "./ccache-BrwGIxmV.mjs";
|
|
3
3
|
import { dirname, join } from "node:path";
|
|
4
4
|
import { isJsonObject, readJsonObject } from "@stim-cli/core/state";
|
|
5
5
|
//#region src/commands/dev-client.ts
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { U as deviceSlotPlatforms } from "./config-D5qNWJEP.mjs";
|
|
2
|
-
import { s as ownedDeviceLabel } from "./project-
|
|
2
|
+
import { s as ownedDeviceLabel } from "./project-Crtcbfl0.mjs";
|
|
3
3
|
import { x as configureNewOwnedAvd } from "./android-DsEj2CCs.mjs";
|
|
4
4
|
import { c as pidExists } from "./metro-mKHEMO-a.mjs";
|
|
5
|
-
import { pt as teardownOwnedAvd } from "./workspaces-
|
|
6
|
-
import { h as tailLines } from "./activity-
|
|
5
|
+
import { pt as teardownOwnedAvd } from "./workspaces-C59v9bpD.mjs";
|
|
6
|
+
import { h as tailLines } from "./activity-yjH7Q3zn.mjs";
|
|
7
7
|
import "./ios-CdAV4-1E.mjs";
|
|
8
|
-
import { t as clearDeviceIdleShutdown } from "./idle-shutdown-
|
|
9
|
-
import { i as ensureOwnedIosDevice, r as ensureIosBooted } from "./device-ios-
|
|
8
|
+
import { t as clearDeviceIdleShutdown } from "./idle-shutdown-BaeCo4ps.mjs";
|
|
9
|
+
import { i as ensureOwnedIosDevice, r as ensureIosBooted } from "./device-ios-TE5ejeXx.mjs";
|
|
10
10
|
import { t as reconcileSimSlim } from "./simslim-93xmPh-d.mjs";
|
|
11
|
-
import { n as ensureAndroidBooted, r as ensureOwnedAndroidDevice, t as ANDROID_BOOT_TIMEOUT_MS } from "./device-android-
|
|
11
|
+
import { n as ensureAndroidBooted, r as ensureOwnedAndroidDevice, t as ANDROID_BOOT_TIMEOUT_MS } from "./device-android-zgD9We85.mjs";
|
|
12
12
|
import { existsSync } from "node:fs";
|
|
13
13
|
import { dirname, join, resolve, sep } from "node:path";
|
|
14
14
|
import { rotatedLogPath } from "@stim-cli/core";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as getExecutor } from "./exec-aULwtNly.mjs";
|
|
2
2
|
import { r as readWorkspaceState$1 } from "./workspace-state-3bF4TB8P.mjs";
|
|
3
3
|
import { G as parseDeviceSlotOption, H as deviceSlotKey, K as projectDeviceSlots, U as deviceSlotPlatforms, m as getProject } from "./config-D5qNWJEP.mjs";
|
|
4
|
-
import { r as clockTime } from "./command-output-
|
|
5
|
-
import { I as readWorkspaceLaunches, P as readRemoteSession, i as findProjectRoot$1, t as NO_PROJECT_REFUSAL } from "./project-
|
|
4
|
+
import { r as clockTime } from "./command-output-CfPW1bKP.mjs";
|
|
5
|
+
import { I as readWorkspaceLaunches, P as readRemoteSession, i as findProjectRoot$1, t as NO_PROJECT_REFUSAL } from "./project-Crtcbfl0.mjs";
|
|
6
6
|
import { $ as probeEmulatorSerial, A as getAvdNameForSerialAsync, E as emulatorProbeSession, P as listAdbDevicesAsync, Z as physicalDeviceModel, at as resolvePhysicalDevice, c as androidPoolNoCandidatesRefusal, d as androidToolPath, it as resolveOwnedAvdSerialAsync, s as androidPoolCandidates, u as androidToolCwd } from "./android-DsEj2CCs.mjs";
|
|
7
|
-
import { En as runProcessOperation } from "./ccache-
|
|
8
|
-
import { C as parseLeaseDuration, D as releaseWorkspaceLeases, j as takeLease, y as fileLeaseIo } from "./activity-
|
|
7
|
+
import { En as runProcessOperation } from "./ccache-BrwGIxmV.mjs";
|
|
8
|
+
import { C as parseLeaseDuration, D as releaseWorkspaceLeases, j as takeLease, y as fileLeaseIo } from "./activity-yjH7Q3zn.mjs";
|
|
9
9
|
import { D as resolveOwnedIosSim, f as listAllIosSimsAsync } from "./ios-CdAV4-1E.mjs";
|
|
10
|
-
import { l as parseDeviceWait, p as waitForDevice } from "./device-lease-run-
|
|
11
|
-
import { n as runProvision } from "./device-provision-
|
|
12
|
-
import { a as iosPoolCandidates, c as isWirelessIosDevice, f as resolveIosPhysicalDevice, l as listIosDevices, o as iosPoolNoCandidatesRefusal } from "./ios-device-
|
|
13
|
-
import { t as selectFromPool } from "./device-pool-
|
|
10
|
+
import { l as parseDeviceWait, p as waitForDevice } from "./device-lease-run-DeNGjJZM.mjs";
|
|
11
|
+
import { n as runProvision } from "./device-provision-j_B7G0e6.mjs";
|
|
12
|
+
import { a as iosPoolCandidates, c as isWirelessIosDevice, f as resolveIosPhysicalDevice, l as listIosDevices, o as iosPoolNoCandidatesRefusal } from "./ios-device-D7Gi3e1I.mjs";
|
|
13
|
+
import { t as selectFromPool } from "./device-pool-mjyUYaau.mjs";
|
|
14
14
|
import { hostedNativeRecords } from "@stim-cli/core/state";
|
|
15
15
|
import chalk from "chalk";
|
|
16
16
|
//#region src/commands/device-tools.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { D as ownership_claim_exports, t as getExecutor } from "./exec-aULwtNly.mjs";
|
|
2
2
|
import { K as projectDeviceSlots, M as acquireAvdClaim, O as withConfigLock, T as setDevice, U as deviceSlotPlatforms, a as clearDevice, i as clearAndroidBootPending, k as withConfigLockAsync, t as allConsolePortsAndSerials, v as loadConfig, x as releaseAndroidConsolePort } from "./config-D5qNWJEP.mjs";
|
|
3
|
-
import { l as phaseLine } from "./command-output-
|
|
3
|
+
import { l as phaseLine } from "./command-output-CfPW1bKP.mjs";
|
|
4
4
|
import { l as androidDataPartitionSizeGbSetting, o as androidAvdConfigSetting } from "./settings-C6UTYW2K.mjs";
|
|
5
5
|
import { A as getAvdNameForSerialAsync, G as ownedAvdName, H as ownedAvdDeviceProfile, J as ownedAvdSystemImage, P as listAdbDevicesAsync, Q as pickDefaultSystemImage, R as listAvdsAsync, S as createOwnedAvd, V as nextConsolePort, W as ownedAvdMatchesConfiguration, _ as avdPoolConfiguration, b as bootAndroidEmulator, bt as parkedMaxSetting, ht as adoptParked, it as resolveOwnedAvdSerialAsync, n as OWNED_AVD_CONFIG_DEFAULTS, p as assertOwnedAvdStoppedAsync, t as DEFAULT_AVD_DEVICE_PROFILE, ut as waitForBoot, vt as isLegacyDeletionClaim, xt as readParked, z as listInstalledSystemImages } from "./android-DsEj2CCs.mjs";
|
|
6
6
|
import { c as pidExists } from "./metro-mKHEMO-a.mjs";
|
|
7
|
-
import { gt as teardownParkedAvd, pt as teardownOwnedAvd } from "./workspaces-
|
|
7
|
+
import { gt as teardownParkedAvd, pt as teardownOwnedAvd } from "./workspaces-C59v9bpD.mjs";
|
|
8
8
|
import { B as reportMemoryCulprits, L as memoryCulpritsUnderAsync, R as readHostMemoryPressure, V as memoryCulpritAdvice, f as listAllIosSimsAsync } from "./ios-CdAV4-1E.mjs";
|
|
9
|
-
import { _ as withDeviceBootAdmission, n as DeviceAdmissionRefusal, s as countLiveOwnedDevicesFrom } from "./device-capacity-
|
|
9
|
+
import { _ as withDeviceBootAdmission, n as DeviceAdmissionRefusal, s as countLiveOwnedDevicesFrom } from "./device-capacity-Bki6B-7h.mjs";
|
|
10
10
|
import { claimRemoveCommand, clearClaimChild, markClaimChildPending, processGroupAlive, releaseClaim, setClaimChild } from "@stim-cli/core/ownership-claim";
|
|
11
11
|
import { randomUUID } from "node:crypto";
|
|
12
12
|
import { existsSync } from "node:fs";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { D as ownership_claim_exports, d as workspaceProcessLockError, u as withWorkspaceProcessLock } from "./exec-aULwtNly.mjs";
|
|
2
2
|
import { K as projectDeviceSlots, U as deviceSlotPlatforms, d as getConfigDir, k as withConfigLockAsync$1, p as getPlatformDeviceLimits, u as getConcurrencyLimits, v as loadConfig$1 } from "./config-D5qNWJEP.mjs";
|
|
3
|
-
import { a as formatElapsed, l as phaseLine } from "./command-output-
|
|
3
|
+
import { a as formatElapsed, l as phaseLine } from "./command-output-CfPW1bKP.mjs";
|
|
4
4
|
import { g as deviceReclaimIdleMinutesSetting } from "./settings-C6UTYW2K.mjs";
|
|
5
5
|
import { N as listAdbDevices, P as listAdbDevicesAsync } from "./android-DsEj2CCs.mjs";
|
|
6
|
-
import { ot as recordCapacityRefusal, st as recordCapacityWait, v as withIdleWorkspace } from "./workspaces-
|
|
6
|
+
import { ot as recordCapacityRefusal, st as recordCapacityWait, v as withIdleWorkspace } from "./workspaces-C59v9bpD.mjs";
|
|
7
7
|
import { t as canonicalPath } from "./paths-BsJMoPP2.mjs";
|
|
8
8
|
import { d as listAllIosSims, f as listAllIosSimsAsync, l as iosRuntimeMatches, y as parseRuntimeVersion } from "./ios-CdAV4-1E.mjs";
|
|
9
|
-
import { i as writeIdleShutdownEvent, n as dueIdleDevices, r as shutDownIdleDevices } from "./idle-shutdown-
|
|
9
|
+
import { i as writeIdleShutdownEvent, n as dueIdleDevices, r as shutDownIdleDevices } from "./idle-shutdown-BaeCo4ps.mjs";
|
|
10
10
|
import { realpathSync } from "node:fs";
|
|
11
11
|
import { basename, join } from "node:path";
|
|
12
12
|
import { workspaceId } from "@stim-cli/core";
|
|
@@ -5,15 +5,15 @@ import { i as macosProcess, o as requiredMacosRecord } from "./state-CiflgxTP.mj
|
|
|
5
5
|
import { A as getAvdNameForSerialAsync, F as listAvdDeviceProfiles, G as ownedAvdName, J as ownedAvdSystemImage, P as listAdbDevicesAsync, Q as pickDefaultSystemImage, R as listAvdsAsync, S as createOwnedAvd, Tt as forgetCreatedDeviceAsync, a as androidDeviceAbi, b as bootAndroidEmulator, d as androidToolPath, f as assertOwnedAvdStopped, g as avdPathExists, it as resolveOwnedAvdSerialAsync, j as hostSystemImageArch, rt as resetAdoptedAvd, t as DEFAULT_AVD_DEVICE_PROFILE, ut as waitForBoot, y as avdStorageRoots, z as listInstalledSystemImages } from "./android-DsEj2CCs.mjs";
|
|
6
6
|
import { a as parsePidof, i as parseLogcatLine, t as androidClockOffset } from "./android-BeeC15Ve.mjs";
|
|
7
7
|
import { i as createNdjsonWriter } from "./ndjson-CrjIsGzw.mjs";
|
|
8
|
-
import { _n as reverseMetroPorts, dn as installIosApp, fn as iosAppProcess, hn as launchIosApp, ln as installAndroidApp, mn as launchAndroidReleaseApp, pn as launchAndroidApp, tn as androidAppProcess, vn as writeDebugHttpHost } from "./ccache-
|
|
9
|
-
import { ht as teardownOwnedIosSim, pt as teardownOwnedAvd } from "./workspaces-
|
|
8
|
+
import { _n as reverseMetroPorts, dn as installIosApp, fn as iosAppProcess, hn as launchIosApp, ln as installAndroidApp, mn as launchAndroidReleaseApp, pn as launchAndroidApp, tn as androidAppProcess, vn as writeDebugHttpHost } from "./ccache-BrwGIxmV.mjs";
|
|
9
|
+
import { ht as teardownOwnedIosSim, pt as teardownOwnedAvd } from "./workspaces-C59v9bpD.mjs";
|
|
10
10
|
import { E as resolveIosCreation, R as readHostMemoryPressure, T as resetIosPrivacy, a as createOwnedIosSim, d as listAllIosSims, g as listUserApps, j as uninstallIosApp, n as bootIosSim, w as resetIosKeychain } from "./ios-CdAV4-1E.mjs";
|
|
11
|
-
import { i as stopMacosAppHeld, n as stopHostedBundleInstances } from "./stop-
|
|
11
|
+
import { i as stopMacosAppHeld, n as stopHostedBundleInstances } from "./stop-B616ZyTv.mjs";
|
|
12
12
|
import { t as spawnEntry } from "./spawn-entry-jw19m8Nl.mjs";
|
|
13
|
-
import { o as countLiveOwnedDevicesByPlatform } from "./device-capacity-
|
|
14
|
-
import { a as muteBootedSimulator } from "./device-ios-
|
|
15
|
-
import { _ as findAapt } from "./support-
|
|
16
|
-
import { i as muteBootedEmulator } from "./device-android-
|
|
13
|
+
import { o as countLiveOwnedDevicesByPlatform } from "./device-capacity-Bki6B-7h.mjs";
|
|
14
|
+
import { a as muteBootedSimulator } from "./device-ios-TE5ejeXx.mjs";
|
|
15
|
+
import { _ as findAapt } from "./support-S_5nkkzs.mjs";
|
|
16
|
+
import { i as muteBootedEmulator } from "./device-android-zgD9We85.mjs";
|
|
17
17
|
import { t as waitForMacosRegistration } from "./registration-BwCe64PH.mjs";
|
|
18
18
|
import { n as parseLogStreamLine } from "./ios-CsRVik64.mjs";
|
|
19
19
|
import { createHash, randomUUID } from "node:crypto";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { D as ownership_claim_exports, n as isTimeoutError, o as cancellableSleep, t as getExecutor, u as withWorkspaceProcessLock } from "./exec-aULwtNly.mjs";
|
|
2
2
|
import { D as workspaceId$1, k as workspaceLogsDir$1 } from "./workspace-state-3bF4TB8P.mjs";
|
|
3
3
|
import { K as projectDeviceSlots, T as setDevice, U as deviceSlotPlatforms, a as clearDevice, d as getConfigDir, k as withConfigLockAsync$1, v as loadConfig$1, w as saveConfig } from "./config-D5qNWJEP.mjs";
|
|
4
|
-
import { l as phaseLine } from "./command-output-
|
|
4
|
+
import { l as phaseLine } from "./command-output-CfPW1bKP.mjs";
|
|
5
5
|
import { D as iosSimSlimProfileSetting, E as iosSimSlimDefaultSetting } from "./settings-C6UTYW2K.mjs";
|
|
6
6
|
import { Ct as selectParked, bt as parkedMaxSetting, gt as dropParked, ht as adoptParked, xt as readParked } from "./android-DsEj2CCs.mjs";
|
|
7
7
|
import { i as createNdjsonWriter } from "./ndjson-CrjIsGzw.mjs";
|
|
8
|
-
import { _t as teardownParkedIosSim, ht as teardownOwnedIosSim } from "./workspaces-
|
|
8
|
+
import { _t as teardownParkedIosSim, ht as teardownOwnedIosSim } from "./workspaces-C59v9bpD.mjs";
|
|
9
9
|
import { A as springBoardRunning, B as reportMemoryCulprits, C as renameIosSim, D as resolveOwnedIosSim, E as resolveIosCreation, F as hostMemoryPressureAdvice, M as waitForSpringBoard, N as configuredIosSimulatorViewer, R as readHostMemoryPressure, S as readSpringBoardPid, T as resetIosPrivacy, _ as ownedSimName, a as createOwnedIosSim, d as listAllIosSims, f as listAllIosSimsAsync, h as listIosRuntimesAsync, n as bootIosSim, p as listIosDeviceTypesAsync, u as iosSimulatorFailureAdvice, w as resetIosKeychain, y as parseRuntimeVersion } from "./ios-CdAV4-1E.mjs";
|
|
10
|
-
import { _ as withDeviceBootAdmission, f as runtimeMismatch, l as deviceTypeMismatch, n as DeviceAdmissionRefusal } from "./device-capacity-
|
|
10
|
+
import { _ as withDeviceBootAdmission, f as runtimeMismatch, l as deviceTypeMismatch, n as DeviceAdmissionRefusal } from "./device-capacity-Bki6B-7h.mjs";
|
|
11
11
|
import { createHash } from "node:crypto";
|
|
12
12
|
import { readFileSync } from "node:fs";
|
|
13
13
|
import { homedir } from "node:os";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { b as operationState } from "./exec-aULwtNly.mjs";
|
|
2
2
|
import { H as deviceSlotKey } from "./config-D5qNWJEP.mjs";
|
|
3
|
-
import { a as formatElapsed, r as clockTime } from "./command-output-
|
|
4
|
-
import { Xt as APP_READINESS_TIMEOUT_MS, zt as MANIFEST_VERIFY_TIMEOUT_MS } from "./ccache-
|
|
5
|
-
import { E as releaseRunLease, S as parseLease, T as raiseLease, b as leaseIsExpired, j as takeLease, v as deviceLeasePath, y as fileLeaseIo } from "./activity-
|
|
3
|
+
import { a as formatElapsed, r as clockTime } from "./command-output-CfPW1bKP.mjs";
|
|
4
|
+
import { Xt as APP_READINESS_TIMEOUT_MS, zt as MANIFEST_VERIFY_TIMEOUT_MS } from "./ccache-BrwGIxmV.mjs";
|
|
5
|
+
import { E as releaseRunLease, S as parseLease, T as raiseLease, b as leaseIsExpired, j as takeLease, v as deviceLeasePath, y as fileLeaseIo } from "./activity-yjH7Q3zn.mjs";
|
|
6
6
|
//#region src/engine/device-lease-run.ts
|
|
7
7
|
const LEASE_STEP_FLOOR_MS = 6e4;
|
|
8
8
|
const DEBUG_VERIFY_STEP_MS = MANIFEST_VERIFY_TIMEOUT_MS + APP_READINESS_TIMEOUT_MS;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { H as deviceSlotKey } from "./config-D5qNWJEP.mjs";
|
|
2
|
-
import { A as selectPoolDevice, S as parseLease, b as leaseIsExpired, v as deviceLeasePath, y as fileLeaseIo } from "./activity-
|
|
3
|
-
import { i as DEVICE_WAIT_POLL_MS, n as DEVICE_BUSY, o as leaseExpiryText } from "./device-lease-run-
|
|
2
|
+
import { A as selectPoolDevice, S as parseLease, b as leaseIsExpired, v as deviceLeasePath, y as fileLeaseIo } from "./activity-yjH7Q3zn.mjs";
|
|
3
|
+
import { i as DEVICE_WAIT_POLL_MS, n as DEVICE_BUSY, o as leaseExpiryText } from "./device-lease-run-DeNGjJZM.mjs";
|
|
4
4
|
//#region src/engine/device-pool.ts
|
|
5
5
|
function heldPoolId(root, platform, now, io = fileLeaseIo, slot = "default") {
|
|
6
6
|
const record = io.readHolder(root)[deviceSlotKey(platform, slot)];
|
|
@@ -2,13 +2,13 @@ import { b as operationState, t as getExecutor } from "./exec-aULwtNly.mjs";
|
|
|
2
2
|
import { v as loadConfig$1 } from "./config-D5qNWJEP.mjs";
|
|
3
3
|
import { t as createLineReader } from "./process-output-Fpl8PYi8.mjs";
|
|
4
4
|
import { X as resolveProjectSettings, Y as resolveIosProjectDir, an as makeTemporaryDirectory, it as settingValueAt, on as removeTemporaryEntry } from "./settings-C6UTYW2K.mjs";
|
|
5
|
-
import { f as projectRegistry, g as selectNativeXcodeProject, i as findProjectRoot$1, p as NativeXcodeError, t as NO_PROJECT_REFUSAL } from "./project-
|
|
6
|
-
import { U as resolveScheme, q as xcodebuildArgs } from "./toolchain-
|
|
7
|
-
import { a as discoverXcodeProject } from "./react-native-build-
|
|
8
|
-
import { m as resolveConfiguration, y as resolveSchemeSelection } from "./support-
|
|
5
|
+
import { f as projectRegistry, g as selectNativeXcodeProject, i as findProjectRoot$1, p as NativeXcodeError, t as NO_PROJECT_REFUSAL } from "./project-Crtcbfl0.mjs";
|
|
6
|
+
import { U as resolveScheme, q as xcodebuildArgs } from "./toolchain-Bnm8vUCV.mjs";
|
|
7
|
+
import { a as discoverXcodeProject } from "./react-native-build-DhWBUV_H.mjs";
|
|
8
|
+
import { m as resolveConfiguration, y as resolveSchemeSelection } from "./support-NxnD8QXd.mjs";
|
|
9
9
|
import { n as findSigningIdentities, o as parsePlist, s as parseProvisioningProfilePlist, t as decodeProvisioningProfile } from "./ios-signing-BJzvDPfU.mjs";
|
|
10
|
-
import { f as resolveIosPhysicalDevice, l as listIosDevices } from "./ios-device-
|
|
11
|
-
import { i as nativeXcodePackages, t as nativeXcodeHasPackages } from "./native-xcode-inputs-
|
|
10
|
+
import { f as resolveIosPhysicalDevice, l as listIosDevices } from "./ios-device-D7Gi3e1I.mjs";
|
|
11
|
+
import { i as nativeXcodePackages, t as nativeXcodeHasPackages } from "./native-xcode-inputs-tDuUvSU8.mjs";
|
|
12
12
|
import { existsSync, readdirSync, realpathSync, statSync } from "node:fs";
|
|
13
13
|
import { homedir } from "node:os";
|
|
14
14
|
import { join } from "node:path";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { C as reportSignal, T as trackReportResource, t as getExecutor } from "./exec-aULwtNly.mjs";
|
|
2
2
|
import { T as workspaceDerivedData, r as readWorkspaceState$1, y as sharedBuildCache } from "./workspace-state-3bF4TB8P.mjs";
|
|
3
3
|
import { p as getPlatformDeviceLimits, s as configCorruptRepair, st as realIo, u as getConcurrencyLimits, v as loadConfig$1 } from "./config-D5qNWJEP.mjs";
|
|
4
|
-
import { d as quotedPath, u as plural } from "./command-output-
|
|
4
|
+
import { d as quotedPath, u as plural } from "./command-output-CfPW1bKP.mjs";
|
|
5
5
|
import { l as gitQuietAsync, o as git } from "./operation-exec-Dp4FuIGR.mjs";
|
|
6
6
|
import { Bt as repoRoot, D as iosSimSlimProfileSetting, E as iosSimSlimDefaultSetting, G as remoteIosSetting, Nt as locallyKnownUpstreamAsync, Q as resolveSettings, R as projectSettingsContext, St as gitCommonDirAsync, U as remoteAndroidSetting, V as readCommittedSettings, Vt as repoRootAsync, Wt as resolveSourceCheckoutAsync, Y as resolveIosProjectDir, a as SETTING_SHAPE_REMEDY, an as makeTemporaryDirectory, at as settingsLayers, cn as temporaryRoot, ct as webSettings, i as SETTINGS_WITH_RESOLVE_TIME_FALLBACK, in as filesystemDevice, it as settingValueAt, jt as listWorktreesAsync, k as mergeSettingsLayers, m as defaultAndroidLayout, q as resolveAndroidLayout, r as PATH_SETTINGS, rt as settingShapeErrors, st as unknownSettingKeys, tt as settingOrigin, yt as dirtyFingerprintFiles } from "./settings-C6UTYW2K.mjs";
|
|
7
|
-
import { C as resolvePackageJson, _ as appProjectProblem, b as isPackageResolvable, v as detectIsExpo } from "./project-
|
|
7
|
+
import { C as resolvePackageJson, _ as appProjectProblem, b as isPackageResolvable, v as detectIsExpo } from "./project-Crtcbfl0.mjs";
|
|
8
8
|
import { bt as parkedMaxSetting, j as hostSystemImageArch, mt as POOL_SETTING_REMEDY, o as androidHome } from "./android-DsEj2CCs.mjs";
|
|
9
|
-
import { An as checkEasAuth$1, Fn as providerFromConfig, Gn as easCliSupport, Kn as easCliUpgradeRemedy, Ln as resolveEasCliBin, Pn as ownerFromConfig, Wn as MIN_EAS_CLI_SIMULATOR_VERSION, a as projectCmakeLauncher, i as ccacheInstallCommand, jt as readInstalledEasCliVersionAsync } from "./ccache-
|
|
10
|
-
import { wt as listBuildSlots } from "./workspaces-
|
|
11
|
-
import { X as podInstallCommand } from "./toolchain-
|
|
12
|
-
import { N as listBuildLocks } from "./activity-
|
|
9
|
+
import { An as checkEasAuth$1, Fn as providerFromConfig, Gn as easCliSupport, Kn as easCliUpgradeRemedy, Ln as resolveEasCliBin, Pn as ownerFromConfig, Wn as MIN_EAS_CLI_SIMULATOR_VERSION, a as projectCmakeLauncher, i as ccacheInstallCommand, jt as readInstalledEasCliVersionAsync } from "./ccache-BrwGIxmV.mjs";
|
|
10
|
+
import { wt as listBuildSlots } from "./workspaces-C59v9bpD.mjs";
|
|
11
|
+
import { X as podInstallCommand } from "./toolchain-Bnm8vUCV.mjs";
|
|
12
|
+
import { N as listBuildLocks } from "./activity-yjH7Q3zn.mjs";
|
|
13
13
|
import { m as fingerprintProject, o as diffFingerprintSources } from "./build-cache-BsKim4V7.mjs";
|
|
14
14
|
import { F as hostMemoryPressureAdvice, z as readHostMemoryPressureAsync } from "./ios-CdAV4-1E.mjs";
|
|
15
15
|
import { p as resolveOptimizations, u as compilerCacheFallbackMessage } from "./errors-DHm_U5gv.mjs";
|
|
16
16
|
import { n as hasInstalledDependencies, r as installedNpmTreeIsValidAsync, t as dependencyState } from "./dependency-state-DZVln1P9.mjs";
|
|
17
|
-
import { g as androidPathRoomRemedy, i as ccacheEnabled, l as androidSdkRefusal, m as androidPathRoomMessage, p as androidPathRoom, t as apkOutputsDir } from "./react-native-build-
|
|
18
|
-
import { a as envSettingRefusal, i as configSettingRefusal } from "./settings-payload-
|
|
19
|
-
import { a as countLiveOwnedDevicesAsync, i as countLiveOwnedDevices } from "./device-capacity-
|
|
17
|
+
import { g as androidPathRoomRemedy, i as ccacheEnabled, l as androidSdkRefusal, m as androidPathRoomMessage, p as androidPathRoom, t as apkOutputsDir } from "./react-native-build-DhWBUV_H.mjs";
|
|
18
|
+
import { a as envSettingRefusal, i as configSettingRefusal } from "./settings-payload-CrX933Xi.mjs";
|
|
19
|
+
import { a as countLiveOwnedDevicesAsync, i as countLiveOwnedDevices } from "./device-capacity-Bki6B-7h.mjs";
|
|
20
20
|
import { t as readDoctorFingerprint } from "./doctor-fingerprint-o7ZI9YLn.mjs";
|
|
21
21
|
import { i as probeSigningIdentities } from "./ios-signing-BJzvDPfU.mjs";
|
|
22
22
|
import { a as findChrome, t as CHROME_INSTALL_REMEDY } from "./chrome-DyDWurWG.mjs";
|
|
23
23
|
import { n as simslimIsOnPath } from "./simslim-93xmPh-d.mjs";
|
|
24
|
-
import { t as MIN_EAS_CLI_BUILD_DOWNLOAD_VERSION } from "./eas-build-
|
|
24
|
+
import { t as MIN_EAS_CLI_BUILD_DOWNLOAD_VERSION } from "./eas-build-CaG-Sfs9.mjs";
|
|
25
25
|
import { r as resolveAndroidCompilerCache, t as readAndroidCasToolchain } from "./android-cas-CbumHXIq.mjs";
|
|
26
26
|
import { existsSync, lstatSync, readFileSync, readdirSync, realpathSync, rmSync } from "node:fs";
|
|
27
27
|
import { basename, dirname, isAbsolute, join, relative, resolve, sep } from "node:path";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as readDoctorReport, i as parseDoctorPlatform, n as doctorCommand, o as shadowedStimFinding, r as doctorSuccessLines, s as toolchainReport, t as applySandboxFix } from "./doctor-
|
|
1
|
+
import { a as readDoctorReport, i as parseDoctorPlatform, n as doctorCommand, o as shadowedStimFinding, r as doctorSuccessLines, s as toolchainReport, t as applySandboxFix } from "./doctor-sSLtn-j1.mjs";
|
|
2
2
|
export { applySandboxFix, doctorCommand as default, doctorSuccessLines, parseDoctorPlatform, readDoctorReport, shadowedStimFinding, toolchainReport };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { $ as doctorIo, m as getProject, nt as keyConfirmer, v as loadConfig$1 } from "./config-D5qNWJEP.mjs";
|
|
2
|
-
import { f as refuseNoProject, l as phaseLine } from "./command-output-
|
|
2
|
+
import { f as refuseNoProject, l as phaseLine } from "./command-output-CfPW1bKP.mjs";
|
|
3
3
|
import { Bt as repoRoot, z as projectSettingsContextAsync } from "./settings-C6UTYW2K.mjs";
|
|
4
|
-
import { f as projectRegistry, t as NO_PROJECT_REFUSAL } from "./project-
|
|
5
|
-
import { Qn as inspectWatchmanMemory, f as inspectBudget, l as budgetLine, nr as memorySweepIsScoped } from "./ccache-
|
|
6
|
-
import { c as inspectStimVersions, s as compareStimVersions } from "./eas-session-ledger-
|
|
7
|
-
import { L as detectXcodeMajorAsync } from "./toolchain-
|
|
4
|
+
import { f as projectRegistry, t as NO_PROJECT_REFUSAL } from "./project-Crtcbfl0.mjs";
|
|
5
|
+
import { Qn as inspectWatchmanMemory, f as inspectBudget, l as budgetLine, nr as memorySweepIsScoped } from "./ccache-BrwGIxmV.mjs";
|
|
6
|
+
import { c as inspectStimVersions, s as compareStimVersions } from "./eas-session-ledger-B-nTfdfk.mjs";
|
|
7
|
+
import { L as detectXcodeMajorAsync } from "./toolchain-Bnm8vUCV.mjs";
|
|
8
8
|
import { H as memoryCulpritFindings, U as readMemoryCulpritsAsync, f as listAllIosSimsAsync, h as listIosRuntimesAsync, l as iosRuntimeMatches, x as pickDefaultIosCreation } from "./ios-CdAV4-1E.mjs";
|
|
9
|
-
import { s as offloadCheck } from "./client-
|
|
10
|
-
import { g as configuredMachines, p as inspectBuildMachines, v as inspectDeviceHostMachines } from "./selection-
|
|
9
|
+
import { s as offloadCheck } from "./client-lDmA-5jx.mjs";
|
|
10
|
+
import { g as configuredMachines, p as inspectBuildMachines, v as inspectDeviceHostMachines } from "./selection-C4ZQz_ER.mjs";
|
|
11
11
|
import { r as maintenanceStatus, t as maintenanceLine } from "./status-GQ-JqvRi.mjs";
|
|
12
|
-
import { a as writeIgnoreDirs, c as recordDoctorRun, i as watchedCheckouts, n as inspectNestedWorktrees, r as nestedWorktreeFinding } from "./doctor-watchman-
|
|
13
|
-
import { c as checkWorktreeStorageLayout, l as readMachineSettings, o as runDoctor } from "./doctor-
|
|
14
|
-
import { h as resolveDeviceType, v as resolveRuntime } from "./support-
|
|
15
|
-
import { t as confirmInTerminal } from "./device-provision-
|
|
12
|
+
import { a as writeIgnoreDirs, c as recordDoctorRun, i as watchedCheckouts, n as inspectNestedWorktrees, r as nestedWorktreeFinding } from "./doctor-watchman-CCuboyj1.mjs";
|
|
13
|
+
import { c as checkWorktreeStorageLayout, l as readMachineSettings, o as runDoctor } from "./doctor-BlrcoQ7B.mjs";
|
|
14
|
+
import { h as resolveDeviceType, v as resolveRuntime } from "./support-NxnD8QXd.mjs";
|
|
15
|
+
import { t as confirmInTerminal } from "./device-provision-j_B7G0e6.mjs";
|
|
16
16
|
import { isJsonObject, maintenanceNdjsonFile, readHostedAppMetadata, readHostedSessions } from "@stim-cli/core/state";
|
|
17
17
|
import { dirname, join, sep } from "path";
|
|
18
18
|
import chalk from "chalk";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { D as upsertProject, d as getConfigDir, k as withConfigLockAsync$1, m as getProject } from "./config-D5qNWJEP.mjs";
|
|
2
2
|
import { l as gitQuietAsync } from "./operation-exec-Dp4FuIGR.mjs";
|
|
3
3
|
import { Vt as repoRootAsync, jt as listWorktreesAsync } from "./settings-C6UTYW2K.mjs";
|
|
4
|
-
import { f as projectRegistry } from "./project-
|
|
5
|
-
import { d as parseWatchRoots, m as runWatchman, s as compareStimVersions } from "./eas-session-ledger-
|
|
4
|
+
import { f as projectRegistry } from "./project-Crtcbfl0.mjs";
|
|
5
|
+
import { d as parseWatchRoots, m as runWatchman, s as compareStimVersions } from "./eas-session-ledger-B-nTfdfk.mjs";
|
|
6
6
|
import { mkdirSync, readFileSync, realpathSync, renameSync, rmSync, unlinkSync, writeFileSync } from "node:fs";
|
|
7
7
|
import { dirname, isAbsolute, join, relative, sep } from "node:path";
|
|
8
8
|
import { isJsonObject } from "@stim-cli/core/state";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { D as ownership_claim_exports, c as throwIfCancelled, t as getExecutor } from "./exec-aULwtNly.mjs";
|
|
2
2
|
import { a as killOnAbort, r as childEnvironment } from "./operation-exec-Dp4FuIGR.mjs";
|
|
3
|
-
import { Gn as easCliSupport, Kn as easCliUpgradeRemedy, Ln as resolveEasCliBin, Vn as remoteCliInvocation } from "./ccache-
|
|
4
|
-
import { M as acquireBuildLock, P as releaseBuildLock } from "./activity-
|
|
3
|
+
import { Gn as easCliSupport, Kn as easCliUpgradeRemedy, Ln as resolveEasCliBin, Vn as remoteCliInvocation } from "./ccache-BrwGIxmV.mjs";
|
|
4
|
+
import { M as acquireBuildLock, P as releaseBuildLock } from "./activity-yjH7Q3zn.mjs";
|
|
5
5
|
import { createHash } from "node:crypto";
|
|
6
6
|
import { existsSync, realpathSync, statSync } from "node:fs";
|
|
7
7
|
//#region src/engine/eas-build.ts
|
|
@@ -2,8 +2,8 @@ import { c as throwIfCancelled, t as getExecutor } from "./exec-aULwtNly.mjs";
|
|
|
2
2
|
import { m as getProject } from "./config-D5qNWJEP.mjs";
|
|
3
3
|
import { r as childEnvironment } from "./operation-exec-Dp4FuIGR.mjs";
|
|
4
4
|
import { dt as detectProviders, ft as planMetroReach } from "./settings-C6UTYW2K.mjs";
|
|
5
|
-
import { M as readMetroTunnel, P as readRemoteSession } from "./project-
|
|
6
|
-
import { Gn as easCliSupport, Hn as remoteCommand, Ln as resolveEasCliBin, Mn as isEasAuthFailureText, Un as MIN_EAS_CLI_DEVICE_VERSION, Wn as MIN_EAS_CLI_SIMULATOR_VERSION, jt as readInstalledEasCliVersionAsync } from "./ccache-
|
|
5
|
+
import { M as readMetroTunnel, P as readRemoteSession } from "./project-Crtcbfl0.mjs";
|
|
6
|
+
import { Gn as easCliSupport, Hn as remoteCommand, Ln as resolveEasCliBin, Mn as isEasAuthFailureText, Un as MIN_EAS_CLI_DEVICE_VERSION, Wn as MIN_EAS_CLI_SIMULATOR_VERSION, jt as readInstalledEasCliVersionAsync } from "./ccache-BrwGIxmV.mjs";
|
|
7
7
|
//#region src/engine/eas-fallback.ts
|
|
8
8
|
const AVAILABILITY_TIMEOUT_MS = 3e4;
|
|
9
9
|
function unusable(code, reason) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { C as reportSignal, t as getExecutor } from "./exec-aULwtNly.mjs";
|
|
2
2
|
import { M as withDirLock$1, N as withDirLockAsync$1, w as workspaceAgentDeviceDir } from "./workspace-state-3bF4TB8P.mjs";
|
|
3
3
|
import { H as deviceSlotKey, K as projectDeviceSlots } from "./config-D5qNWJEP.mjs";
|
|
4
|
-
import { a as formatElapsed, o as formatLongDuration, r as clockTime, u as plural } from "./command-output-
|
|
4
|
+
import { a as formatElapsed, o as formatLongDuration, r as clockTime, u as plural } from "./command-output-CfPW1bKP.mjs";
|
|
5
5
|
import { n as isInsideProject } from "./metro-mKHEMO-a.mjs";
|
|
6
6
|
import { r as cdpEndpoint } from "./state-CM_HvvkS.mjs";
|
|
7
7
|
import { accessSync, constants, existsSync, mkdirSync, realpathSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as getExecutor } from "./exec-aULwtNly.mjs";
|
|
2
2
|
import { r as readWorkspaceState$1 } from "./workspace-state-3bF4TB8P.mjs";
|
|
3
3
|
import { H as deviceSlotKey, U as deviceSlotPlatforms, m as getProject } from "./config-D5qNWJEP.mjs";
|
|
4
|
-
import { v as launchErrorPreview } from "./command-output-
|
|
5
|
-
import { I as readWorkspaceLaunches } from "./project-
|
|
4
|
+
import { v as launchErrorPreview } from "./command-output-CfPW1bKP.mjs";
|
|
5
|
+
import { I as readWorkspaceLaunches } from "./project-Crtcbfl0.mjs";
|
|
6
6
|
import { o as androidHome, u as androidToolCwd } from "./android-DsEj2CCs.mjs";
|
|
7
7
|
import { d as resolveProjectMetro } from "./metro-mKHEMO-a.mjs";
|
|
8
8
|
import { i as parseLogcatLine, n as androidLogGroups, r as isAndroidCrashText } from "./android-BeeC15Ve.mjs";
|
|
9
|
-
import { S as parseLease, v as deviceLeasePath, y as fileLeaseIo } from "./activity-
|
|
9
|
+
import { S as parseLease, v as deviceLeasePath, y as fileLeaseIo } from "./activity-yjH7Q3zn.mjs";
|
|
10
10
|
import { r as deviceConsoleLevel } from "./ios-device-CiBA-er9.mjs";
|
|
11
11
|
import { createHash, randomUUID } from "node:crypto";
|
|
12
12
|
import { existsSync, readFileSync, renameSync } from "node:fs";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _t as findStaleDeviceRecords, ft as describeParkedSims, gt as findOrphanedDevices, pt as describeUnverifiableDevices, q as selectCaches, ut as deleteParkedSims, vt as findStaleProjectDevices } from "./ccache-
|
|
2
|
-
import { a as runGc, i as readGcReport, n as executeGc, o as withGcMaintenanceClaim, r as gcCommand, s as formatGcReport, t as collectGcReport } from "./gc-
|
|
1
|
+
import { _t as findStaleDeviceRecords, ft as describeParkedSims, gt as findOrphanedDevices, pt as describeUnverifiableDevices, q as selectCaches, ut as deleteParkedSims, vt as findStaleProjectDevices } from "./ccache-BrwGIxmV.mjs";
|
|
2
|
+
import { a as runGc, i as readGcReport, n as executeGc, o as withGcMaintenanceClaim, r as gcCommand, s as formatGcReport, t as collectGcReport } from "./gc-Dv6nb9nf.mjs";
|
|
3
3
|
export { collectGcReport, gcCommand as default, deleteParkedSims, describeParkedSims, describeUnverifiableDevices, executeGc, findOrphanedDevices, findStaleDeviceRecords, findStaleProjectDevices, formatGcReport, readGcReport, runGc, selectCaches, withGcMaintenanceClaim };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { D as ownership_claim_exports, S as process_identity_exports, c as throwIfCancelled, l as WorkspaceProcessCleanupError, m as declareSpawnsOn, t as getExecutor, v as stopDeclaringSpawnsOn, x as withDrainingCancellation } from "./exec-aULwtNly.mjs";
|
|
2
2
|
import { E as workspaceDir, u as workspaceLastUsed } from "./workspace-state-3bF4TB8P.mjs";
|
|
3
3
|
import { C as removeProject, F as formatBytes, I as isOnMountedVolume, K as projectDeviceSlots, L as listMountedVolumes, M as acquireAvdClaim, P as directorySizeAsync, R as measuredDirectorySizeAsync, d as getConfigDir, k as withConfigLockAsync$1, v as loadConfig$1, z as volumeRootFor } from "./config-D5qNWJEP.mjs";
|
|
4
|
-
import { d as quotedPath$1, h as shortUdid, o as formatLongDuration, u as plural } from "./command-output-
|
|
4
|
+
import { d as quotedPath$1, h as shortUdid, o as formatLongDuration, u as plural } from "./command-output-CfPW1bKP.mjs";
|
|
5
5
|
import { t as runOperationFile } from "./operation-exec-Dp4FuIGR.mjs";
|
|
6
6
|
import { $t as TRASH_MANIFEST, Ft as matchWorktreeEntry, Wt as resolveSourceCheckoutAsync, Zt as TRASH_CLAIMS, en as deleteTrashEntry, jt as listWorktreesAsync } from "./settings-C6UTYW2K.mjs";
|
|
7
|
-
import { i as findProjectRoot$1, v as detectIsExpo } from "./project-
|
|
7
|
+
import { i as findProjectRoot$1, v as detectIsExpo } from "./project-Crtcbfl0.mjs";
|
|
8
8
|
import { B as listOrphanedAvdDirectories, Et as readCreatedDevices$1, R as listAvdsAsync, Tt as forgetCreatedDeviceAsync, U as ownedAvdDirectory, bt as parkedMaxSetting, h as avdNameAbsent, mt as POOL_SETTING_REMEDY } from "./android-DsEj2CCs.mjs";
|
|
9
|
-
import { $ as gradleVersionLines, $n as memoryCacheKind, B as includesArchives, Ct as describeError, En as runProcessOperation, F as gcOptionsOf, Ft as withEasProjectLock, G as planCacheEmptying, H as includesRecordings, J as selectsBeyondCaches, Jn as parseArchiveSelector, K as previewScopedEmptying, L as openGcLog, Q as deleteGradleVersions, St as deleteEasSessions, U as includesWorkspaceOutputs, V as includesParkedDevices, W as isWorkspacesScope, X as collectGradleVersions, Y as trimCaches, Zn as collectMemoryReport, _t as findStaleDeviceRecords, ar as scopedMemoryReport, at as DEVICE_LIST_TIMEOUT_MS, bt as withAndroidAvdSizes, ct as collectParkedSims, dt as deleteProjectDevices, er as memoryLines, et as gradleVersionsPending, fr as sizeCaches, gt as findOrphanedDevices, ht as eraseParkedDevices, ir as reclaimMemory, it as collectInventory, lt as deleteParkedAvds, mt as deviceSweepIsScoped, nr as memorySweepIsScoped, ot as collectDeviceLeases, pt as describeUnverifiableDevices, q as selectCaches, rr as memoryWorkPending, rt as getMachineCacheReport, sr as phase, st as collectParkedAvds, tr as memoryScope, tt as includesGradleVersions, ur as discoverCaches, ut as deleteParkedSims, vt as findStaleProjectDevices, wt as withRemoteSessionGcLocks, xt as collectEasSessionSweep, yt as unverifiedDeviceCommand, z as emptyCaches } from "./ccache-
|
|
10
|
-
import { n as easMachineStateRoot$1, o as removeEasSessionClaimAsync, r as readEasSessionLedger$1 } from "./eas-session-ledger-
|
|
11
|
-
import { At as mapLimited, Dt as createGcResults, Et as GC_OUTPUT, I as idleDeviceLines, M as collectIdleDevices, Mt as sizeConcurrency, N as collectIdleDevicesAsync, R as parseIdleDuration, a as collectOrphanedWorkspaces, b as workspaceInUseAsync, c as isInsideWorkspaces, f as rootPresence, g as ARTIFACT_DIRS, i as clearWorkspaceOutputs, jt as readConcurrency, kt as eachLimited, n as REBUILD_COST, o as collectWorkspaceOutputs, p as sizeText, r as WORKSPACE_OUTPUT_DIRS, s as deleteOrphanedWorkspaces, t as LIGHTEN_AFTER_MS, u as listWorkspaceDirs, v as withIdleWorkspace, wt as listBuildSlots, z as shutDownIdleDevices } from "./workspaces-
|
|
9
|
+
import { $ as gradleVersionLines, $n as memoryCacheKind, B as includesArchives, Ct as describeError, En as runProcessOperation, F as gcOptionsOf, Ft as withEasProjectLock, G as planCacheEmptying, H as includesRecordings, J as selectsBeyondCaches, Jn as parseArchiveSelector, K as previewScopedEmptying, L as openGcLog, Q as deleteGradleVersions, St as deleteEasSessions, U as includesWorkspaceOutputs, V as includesParkedDevices, W as isWorkspacesScope, X as collectGradleVersions, Y as trimCaches, Zn as collectMemoryReport, _t as findStaleDeviceRecords, ar as scopedMemoryReport, at as DEVICE_LIST_TIMEOUT_MS, bt as withAndroidAvdSizes, ct as collectParkedSims, dt as deleteProjectDevices, er as memoryLines, et as gradleVersionsPending, fr as sizeCaches, gt as findOrphanedDevices, ht as eraseParkedDevices, ir as reclaimMemory, it as collectInventory, lt as deleteParkedAvds, mt as deviceSweepIsScoped, nr as memorySweepIsScoped, ot as collectDeviceLeases, pt as describeUnverifiableDevices, q as selectCaches, rr as memoryWorkPending, rt as getMachineCacheReport, sr as phase, st as collectParkedAvds, tr as memoryScope, tt as includesGradleVersions, ur as discoverCaches, ut as deleteParkedSims, vt as findStaleProjectDevices, wt as withRemoteSessionGcLocks, xt as collectEasSessionSweep, yt as unverifiedDeviceCommand, z as emptyCaches } from "./ccache-BrwGIxmV.mjs";
|
|
10
|
+
import { n as easMachineStateRoot$1, o as removeEasSessionClaimAsync, r as readEasSessionLedger$1 } from "./eas-session-ledger-B-nTfdfk.mjs";
|
|
11
|
+
import { At as mapLimited, Dt as createGcResults, Et as GC_OUTPUT, I as idleDeviceLines, M as collectIdleDevices, Mt as sizeConcurrency, N as collectIdleDevicesAsync, R as parseIdleDuration, a as collectOrphanedWorkspaces, b as workspaceInUseAsync, c as isInsideWorkspaces, f as rootPresence, g as ARTIFACT_DIRS, i as clearWorkspaceOutputs, jt as readConcurrency, kt as eachLimited, n as REBUILD_COST, o as collectWorkspaceOutputs, p as sizeText, r as WORKSPACE_OUTPUT_DIRS, s as deleteOrphanedWorkspaces, t as LIGHTEN_AFTER_MS, u as listWorkspaceDirs, v as withIdleWorkspace, wt as listBuildSlots, z as shutDownIdleDevices } from "./workspaces-C59v9bpD.mjs";
|
|
12
12
|
import { t as canonicalPath } from "./paths-BsJMoPP2.mjs";
|
|
13
|
-
import { N as listBuildLocks, k as removeExpiredLease } from "./activity-
|
|
13
|
+
import { N as listBuildLocks, k as removeExpiredLease } from "./activity-yjH7Q3zn.mjs";
|
|
14
14
|
import { d as listAllIosSims, f as listAllIosSimsAsync } from "./ios-CdAV4-1E.mjs";
|
|
15
15
|
import { t as resolveMaintenanceSettings } from "./settings-D9LtQaUw.mjs";
|
|
16
16
|
import { r as readCollectors } from "./ownership-CCfiBfOP.mjs";
|
|
17
|
-
import { A as deleteSelectedArchives, O as describeDereferenced, j as sweepArchiveStaging, k as reclaimProject } from "./worktree-
|
|
17
|
+
import { A as deleteSelectedArchives, O as describeDereferenced, j as sweepArchiveStaging, k as reclaimProject } from "./worktree-CinoSsGy.mjs";
|
|
18
18
|
import { p as writeCacheFile } from "./warm-progress-_aTMvkIH.mjs";
|
|
19
|
-
import { a as restoreProblem, o as workspaceKeys } from "./lightened-
|
|
20
|
-
import { C as candidateRootsAsync, D as worktreeRemovalReason, E as worktreePullRequestNote, S as maintenancePinned, T as removeWorktrees, _ as finishedWorkspaces, a as previewMaintenance, b as cachedDeviceActivity, c as deleteTempLeftovers, d as appRoots, f as artifactWorktrees, g as stopIdleWorkspace, h as planIdleStop, l as tempLeftoverLines, m as collectArtifactsAsync, o as triggeringRoot, p as clearArtifact, s as collectTempLeftovers, t as deleteIdleWorkspaceDevices, u as tempLeftoverSection, w as collectWorktreeSweep, x as cachedDeviceActivityAsync, y as ownedDeviceUsage } from "./act-
|
|
21
|
-
import { i as getSwiftpmCacheUsage, n as swiftpmCacheLines, r as getAgentDeviceUsage, t as agentDeviceLines } from "./agent-device-usage-output-
|
|
19
|
+
import { a as restoreProblem, o as workspaceKeys } from "./lightened-Df6II_XI.mjs";
|
|
20
|
+
import { C as candidateRootsAsync, D as worktreeRemovalReason, E as worktreePullRequestNote, S as maintenancePinned, T as removeWorktrees, _ as finishedWorkspaces, a as previewMaintenance, b as cachedDeviceActivity, c as deleteTempLeftovers, d as appRoots, f as artifactWorktrees, g as stopIdleWorkspace, h as planIdleStop, l as tempLeftoverLines, m as collectArtifactsAsync, o as triggeringRoot, p as clearArtifact, s as collectTempLeftovers, t as deleteIdleWorkspaceDevices, u as tempLeftoverSection, w as collectWorktreeSweep, x as cachedDeviceActivityAsync, y as ownedDeviceUsage } from "./act-BfChMxcU.mjs";
|
|
21
|
+
import { i as getSwiftpmCacheUsage, n as swiftpmCacheLines, r as getAgentDeviceUsage, t as agentDeviceLines } from "./agent-device-usage-output-DO412bsG.mjs";
|
|
22
22
|
import { claimRemoveCommand, isClaimRefusal, isClaimUnavailable, readClaimSet, releaseClaim, tryAcquireClaim } from "@stim-cli/core/ownership-claim";
|
|
23
23
|
import { existsSync, lstatSync, readFileSync, readdirSync, statSync } from "node:fs";
|
|
24
24
|
import { basename, dirname, isAbsolute, join, relative, resolve, sep } from "node:path";
|