stim 1.20.0 → 1.20.1
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/{activity-BrGh9EAI.mjs → activity-BaMpUQ4-.mjs} +2 -2
- package/dist/{agent-device-usage-output-DVyv_hWj.mjs → agent-device-usage-output-VPaOgGaF.mjs} +3 -3
- package/dist/{android-Brx6EKvJ.mjs → android-CLbBJ2ve.mjs} +34 -34
- package/dist/{android-CK3fpEyZ.mjs → android-CZh6ElG5.mjs} +1 -1
- package/dist/{android-BsYNR81W.mjs → android-DE8-JfGW.mjs} +4 -4
- package/dist/{android-cas-DCAuXryb.mjs → android-cas-BFpS84v2.mjs} +1 -1
- package/dist/{android-0vv-OruW.mjs → android-eXfIjKJr.mjs} +5 -5
- package/dist/api-run.mjs +13 -13
- package/dist/{app-install-0LgaQRT7.mjs → app-install-Cg9YJy3x.mjs} +1 -1
- package/dist/{artifact-CnC0mfov.mjs → artifact-Ctb2jpw6.mjs} +11 -11
- package/dist/{artifact-DClXJNWx.mjs → artifact-DXk_Fle_.mjs} +12 -12
- package/dist/{browser-web-CzBmhmgs.mjs → browser-web-xQWC2RWl.mjs} +10 -10
- package/dist/{budget-BONq9vXY.mjs → budget-RFbwFpG5.mjs} +11 -11
- package/dist/{build-BixRI6sB.mjs → build-COBA1tBc.mjs} +19 -19
- package/dist/{build-plan-CP0tckNU.mjs → build-plan-CRjAA6Qi.mjs} +14 -14
- package/dist/{ccache-CjHQ5F8g.mjs → ccache-CtbqWxIC.mjs} +3 -3
- package/dist/{cli-B2R8wH1F.mjs → cli-sGqlPu1n.mjs} +17 -17
- package/dist/cli.mjs +1 -1
- package/dist/{client-BLy1Pw2V.mjs → client-zqjFd79D.mjs} +4 -4
- package/dist/collector-run.mjs +3 -3
- package/dist/{command-output-BjPN99ZB.mjs → command-output-CPDq_90S.mjs} +1 -1
- package/dist/{created-devices-HU_DAb_Q.mjs → created-devices-CXBMtoj5.mjs} +1 -1
- package/dist/{dev-client-ClATaJoH.mjs → dev-client-BqYjMIaC.mjs} +2 -2
- package/dist/{device-B7lsC0K1.mjs → device-BgNj-qVj.mjs} +7 -7
- package/dist/{device-DVCwAFlX.mjs → device-D4DqjSZZ.mjs} +9 -9
- package/dist/{device-capacity-Ca_ke1LE.mjs → device-capacity-DrwHwR97.mjs} +8 -8
- package/dist/device-host-worker.mjs +11 -11
- package/dist/{device-ios-CRUqPxKw.mjs → device-ios-DE8KJd3b.mjs} +7 -7
- package/dist/{device-lease-DHOBXGgS.mjs → device-lease-C309csaB.mjs} +5 -4
- package/dist/{device-lease-run-CvDeHTkG.mjs → device-lease-run-Baelt3nc.mjs} +3 -3
- package/dist/{device-pool-L2-5GxMy.mjs → device-pool-DtK9S6AD.mjs} +2 -2
- package/dist/{device-remote-Bmg42063.mjs → device-remote-DjsNw8DD.mjs} +11 -11
- package/dist/{doctor-C2MSuMMg.mjs → doctor-DiP9HsIP.mjs} +10 -10
- package/dist/{doctor-DPAqhVCK.mjs → doctor-Dunu3Nv1.mjs} +17 -17
- package/dist/{doctor-watchman-CB4NnVZm.mjs → doctor-watchman-XJzT8tK-.mjs} +5 -4
- package/dist/{eas-build-Dw_ec2Km.mjs → eas-build-0gadvrca.mjs} +3 -3
- package/dist/{eas-session-ledger-DZlC-Fq3.mjs → eas-session-ledger-DJDeL4Uq.mjs} +1 -1
- package/dist/{error-diagnostics-Du7I_GuY.mjs → error-diagnostics-BhQtoLrZ.mjs} +7 -7
- package/dist/{gc-PWp34zGb.mjs → gc-D5cz5G0k.mjs} +17 -17
- package/dist/{gradle-C2OEKCCI.mjs → gradle-CZZo1TSA.mjs} +4 -4
- package/dist/{guide-Dai9lphv.mjs → guide-DakjcoUt.mjs} +31 -166
- package/dist/{hosted-android-DQ-Agsd8.mjs → hosted-android-C-D8Dj0_.mjs} +3 -3
- package/dist/{hosted-client-Io01s5By.mjs → hosted-client--hNFgixu.mjs} +2 -2
- package/dist/{hosted-ios-DIxFnYp-.mjs → hosted-ios-Chx9XQyI.mjs} +1 -1
- package/dist/{hosted-logs-DP-ABU_M.mjs → hosted-logs-Bkz0Hxzh.mjs} +5 -5
- package/dist/{hosted-macos-Aziw9T_9.mjs → hosted-macos-ckTjN-0V.mjs} +4 -4
- package/dist/{hosted-native-BdAQi21M.mjs → hosted-native-3KXZ5-qn.mjs} +5 -5
- package/dist/{idle-shutdown-DdMqoSUB.mjs → idle-shutdown-DhAUyf5s.mjs} +6 -6
- package/dist/{ios-BZ9dg2Fr.mjs → ios-BDBN-xpf.mjs} +8 -8
- package/dist/{ios-CZuv6gRv.mjs → ios-CQ8bHQXB.mjs} +27 -27
- package/dist/{ios-device-BreZOpM0.mjs → ios-device-BWHKGaJq.mjs} +1 -1
- package/dist/{ios-CXLIUxXJ.mjs → ios-o896T9PE.mjs} +17 -13
- package/dist/{ios-project-B9drt_aY.mjs → ios-project-BeOXKPt2.mjs} +7 -7
- package/dist/{ios-state-CjrL2qv-.mjs → ios-state-BsXMwo5y.mjs} +1 -1
- package/dist/{js-swap-C8icNYIY.mjs → js-swap-Z_mSuRrx.mjs} +2 -2
- package/dist/{launch-YrbqaIFj.mjs → launch-BootbMk4.mjs} +34 -34
- package/dist/{launch-DxH0THLP.mjs → launch-V1zqiOYn.mjs} +17 -17
- package/dist/{launch-verify-BzRdbuO1.mjs → launch-verify-Dl78EVgR.mjs} +2 -2
- package/dist/{logs-DHaRNfg7.mjs → logs-Bh4eqCCc.mjs} +9 -9
- package/dist/{macos-V_3Ui7g4.mjs → macos-D7irBW3A.mjs} +14 -14
- package/dist/macos-kivF8qKz.mjs +2 -0
- package/dist/macos-run.mjs +1 -1
- package/dist/maintenance-run.mjs +4 -4
- package/dist/{metro-D_j9sN-B.mjs → metro-_ZIE3Axg.mjs} +1 -1
- package/dist/{metro-gateway-BBJldOdi.mjs → metro-gateway-BzlQZQmU.mjs} +2 -2
- package/dist/{miss-reason-BPAzZS0r.mjs → miss-reason-SuTptY-I.mjs} +2 -2
- package/dist/{named-ports-C2lvoPsb.mjs → named-ports-O1TIl7tx.mjs} +1 -1
- package/dist/{native-android-lHzaew7r.mjs → native-android-D94RlJ-X.mjs} +7 -7
- package/dist/{native-runtime-BRmWL7ru.mjs → native-runtime-D024BAvm.mjs} +5 -5
- package/dist/{native-xcode-inputs-eutS19jU.mjs → native-xcode-inputs-UElfGs59.mjs} +2 -3
- package/dist/{native-xcode-ios-DP3cHLwu.mjs → native-xcode-ios-CjS-nDVY.mjs} +12 -12
- package/dist/offload-worker.mjs +12 -12
- package/dist/{ownership-DXzMMSx6.mjs → ownership-BrjepDiv.mjs} +2 -2
- package/dist/{placement-log-reFbjqEr.mjs → placement-log-BItXET1x.mjs} +1 -1
- package/dist/{plan-BDk2AeY_.mjs → plan-Jwu_vr-F.mjs} +8 -8
- package/dist/{plan-placement-D_YYlE6N.mjs → plan-placement-B466UYMU.mjs} +3 -3
- package/dist/{ports-jzvAJXXL.mjs → ports-BFRL6JTj.mjs} +2 -2
- package/dist/{prebuild-Bw44QxVh.mjs → prebuild-DB_zLOLc.mjs} +3 -3
- package/dist/{preview-BaBJ72Al.mjs → preview-BRLFRhTz.mjs} +10 -10
- package/dist/{project-B8_duAzW.mjs → project-DX8fXyw_.mjs} +107 -43
- package/dist/{react-native-android-chm1DMlA.mjs → react-native-android-CuXM3QS8.mjs} +21 -21
- package/dist/{react-native-build-oAw6gQeW.mjs → react-native-build-JUF31S8U.mjs} +5 -5
- package/dist/{react-native-doctor-DYXoh-6I.mjs → react-native-doctor-BQHqiXaQ.mjs} +4 -4
- package/dist/{react-native-ios-SCTK_CT5.mjs → react-native-ios-DtVO4qf2.mjs} +13 -13
- package/dist/{reload-D34GkY78.mjs → reload-D9V7D8gP.mjs} +12 -12
- package/dist/{remote-BU9UyhCJ.mjs → remote-CZiTijxG.mjs} +5 -5
- package/dist/{remote-cache-Bsts6f6Y.mjs → remote-cache-fxcl5C-L.mjs} +3 -3
- package/dist/{result-BDoRk1k3.mjs → result-BrfgXtdO.mjs} +7 -7
- package/dist/{run-qvff78hv.mjs → run-ClC8UVB5.mjs} +1 -1
- package/dist/{server-command-7XIKlWtO.mjs → server-command-DnJYLnr4.mjs} +3 -3
- package/dist/{server-expo-CsYu2aKL.mjs → server-expo-CUuzP9Mp.mjs} +1 -1
- package/dist/server-expo-Dvkd7JcF.mjs +2 -0
- package/dist/{settings-CT3E71-i.mjs → settings-BuKMOANA.mjs} +1 -1
- package/dist/settings.schema.json +1 -1
- package/dist/{slot-launch-B9hn96wd.mjs → slot-launch-CeCRr6MK.mjs} +5 -5
- package/dist/{start-CdvcTaXr.mjs → start-CRkG-mZ7.mjs} +8 -8
- package/dist/{start-CbQCSnXQ.mjs → start-mh6bS27z.mjs} +1 -1
- package/dist/{state-Boo0IMJq.mjs → state-BUpAmt2r.mjs} +1 -1
- package/dist/{state-DI84A-uu.mjs → state-lqxdOH_g.mjs} +5 -4
- package/dist/{stats-BIIDrjA8.mjs → stats-CaB1MxMi.mjs} +3 -3
- package/dist/{status-DARMkc9q.mjs → status-C7vzkInu.mjs} +20 -20
- package/dist/{status-watch-DvmI3SmN.mjs → status-watch-ZaVqRdtW.mjs} +3 -3
- package/dist/{stop-iNemHsJC.mjs → stop-BO80KJoT.mjs} +16 -16
- package/dist/{stop-CCZS-C9m.mjs → stop-BU7JaFCg.mjs} +2 -2
- package/dist/{stop-WQPQHLuy.mjs → stop-Cftw_sXJ.mjs} +5 -5
- package/dist/supervisor-run.mjs +13 -13
- package/dist/{support-CnE_SIjt.mjs → support-Ca6PZbpr.mjs} +4 -4
- package/dist/{support-DCco5fut.mjs → support-Co0wk8Cv.mjs} +8 -8
- package/dist/{swiftpm-macos-afeNUExW.mjs → swiftpm-macos-siFSkmCO.mjs} +2 -2
- package/dist/{tailnet-CoJUb2tB.mjs → tailnet-D7-tE_ug.mjs} +3 -3
- package/dist/toolchain-B12psPA2.mjs +2 -0
- package/dist/{toolchain-DqyDXs30.mjs → toolchain-SqehyPLw.mjs} +4 -4
- package/dist/{warm-progress-C3ASD6z5.mjs → warm-progress-5FAXkXIg.mjs} +2 -2
- package/dist/{watchman-CQl51YZu.mjs → watchman-CqmaGcIb.mjs} +4 -4
- package/dist/{web-B3eldHFH.mjs → web-BTjzE8mc.mjs} +5 -5
- package/dist/web-CHN5gh34.mjs +2 -0
- package/dist/web-run.mjs +4 -4
- package/dist/{workspace-state-CSIFuuDa.mjs → workspace-state-CvgTFe-h.mjs} +3 -3
- package/dist/{workspaces-D2xSHBDY.mjs → workspaces-C4kqIOlx.mjs} +11 -11
- package/dist/{worktree-q7_OZNY0.mjs → worktree-Cgnm6vZt.mjs} +1 -1
- package/dist/{worktree-BxDqaTev.mjs → worktree-DtRsh6go.mjs} +23 -23
- package/package.json +6 -7
- package/dist/macos-C0iljhsN.mjs +0 -2
- package/dist/server-expo-DV43vep4.mjs +0 -2
- package/dist/toolchain-BIupIro1.mjs +0 -2
- package/dist/web-BLXpOe6b.mjs +0 -2
|
@@ -2,16 +2,16 @@ import { n as ownership_claim_exports } from "./process-identity-Biv3arCO.mjs";
|
|
|
2
2
|
import { t as getExecutor } from "./exec-B81Qodjn.mjs";
|
|
3
3
|
import { D as withConfigLock, H as projectDeviceSlots, _ as loadConfig, a as clearDevice, b as releaseAndroidConsolePort, i as clearAndroidBootPending, k as acquireAvdClaim, t as allConsolePortsAndSerials, w as setDevice, z as deviceSlotPlatforms } from "./config-D0LhTY3S.mjs";
|
|
4
4
|
import { l as androidDataPartitionSizeGbSetting, o as androidAvdConfigSetting } from "./settings-Bbztm4oV.mjs";
|
|
5
|
-
import { l as phaseLine } from "./command-output-
|
|
6
|
-
import { o as ownedDeviceLabel } from "./project-
|
|
7
|
-
import { A as listAvds, B as ownedAvdSystemImage, E as getAvdNameForSerial, F as ownedAvdDeviceProfile, J as resolveOwnedAvdSerial, L as ownedAvdMatchesConfiguration, O as listAdbDevices, P as nextConsolePort, R as ownedAvdName, W as pickDefaultSystemImage, b as createOwnedAvd, dt as parkedMaxSetting, f as assertOwnedAvdStopped, ft as readParked, g as avdPoolConfiguration, j as listInstalledSystemImages, lt as isLegacyDeletionClaim, n as OWNED_AVD_CONFIG_DEFAULTS, ot as adoptParked, t as DEFAULT_AVD_DEVICE_PROFILE, tt as waitForBoot, v as bootAndroidEmulator, y as configureNewOwnedAvd } from "./android-
|
|
8
|
-
import { s as pidExists } from "./metro-
|
|
9
|
-
import { v as teardownOwnedAvd, x as teardownParkedAvd } from "./workspaces-
|
|
10
|
-
import { F as memoryCulpritAdvice, N as memoryCulpritsUnder, P as readHostMemoryPressure, d as listAllIosSims } from "./ios-
|
|
11
|
-
import { t as clearDeviceIdleShutdown } from "./idle-shutdown-
|
|
12
|
-
import { i as countLiveOwnedDevices, n as DeviceAdmissionRefusal, p as withDeviceBootAdmission } from "./device-capacity-
|
|
5
|
+
import { l as phaseLine } from "./command-output-CPDq_90S.mjs";
|
|
6
|
+
import { o as ownedDeviceLabel } from "./project-DX8fXyw_.mjs";
|
|
7
|
+
import { A as listAvds, B as ownedAvdSystemImage, E as getAvdNameForSerial, F as ownedAvdDeviceProfile, J as resolveOwnedAvdSerial, L as ownedAvdMatchesConfiguration, O as listAdbDevices, P as nextConsolePort, R as ownedAvdName, W as pickDefaultSystemImage, b as createOwnedAvd, dt as parkedMaxSetting, f as assertOwnedAvdStopped, ft as readParked, g as avdPoolConfiguration, j as listInstalledSystemImages, lt as isLegacyDeletionClaim, n as OWNED_AVD_CONFIG_DEFAULTS, ot as adoptParked, t as DEFAULT_AVD_DEVICE_PROFILE, tt as waitForBoot, v as bootAndroidEmulator, y as configureNewOwnedAvd } from "./android-DE8-JfGW.mjs";
|
|
8
|
+
import { s as pidExists } from "./metro-_ZIE3Axg.mjs";
|
|
9
|
+
import { v as teardownOwnedAvd, x as teardownParkedAvd } from "./workspaces-C4kqIOlx.mjs";
|
|
10
|
+
import { F as memoryCulpritAdvice, N as memoryCulpritsUnder, P as readHostMemoryPressure, d as listAllIosSims } from "./ios-o896T9PE.mjs";
|
|
11
|
+
import { t as clearDeviceIdleShutdown } from "./idle-shutdown-DhAUyf5s.mjs";
|
|
12
|
+
import { i as countLiveOwnedDevices, n as DeviceAdmissionRefusal, p as withDeviceBootAdmission } from "./device-capacity-DrwHwR97.mjs";
|
|
13
13
|
import { t as reconcileSimSlim } from "./simslim-ChMfe8rg.mjs";
|
|
14
|
-
import { i as ensureOwnedIosDevice, r as ensureIosBooted } from "./device-ios-
|
|
14
|
+
import { i as ensureOwnedIosDevice, r as ensureIosBooted } from "./device-ios-DE8KJd3b.mjs";
|
|
15
15
|
import { claimRemoveCommand, clearClaimChild, markClaimChildPending, processGroupAlive, releaseClaim, setClaimChild } from "@stim-cli/core/ownership-claim";
|
|
16
16
|
import { captureProcessIdentity } from "@stim-cli/core/process-identity";
|
|
17
17
|
import { randomUUID } from "node:crypto";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { n as ownership_claim_exports } from "./process-identity-Biv3arCO.mjs";
|
|
2
2
|
import { H as projectDeviceSlots, _ as loadConfig$1, d as getConfigDir, u as getConcurrencyLimits, z as deviceSlotPlatforms } from "./config-D0LhTY3S.mjs";
|
|
3
3
|
import { g as deviceReclaimIdleMinutesSetting } from "./settings-Bbztm4oV.mjs";
|
|
4
|
-
import { w as workspaceLogsDir$1 } from "./workspace-state-
|
|
5
|
-
import { a as formatElapsed, l as phaseLine } from "./command-output-
|
|
6
|
-
import { O as listAdbDevices } from "./android-
|
|
7
|
-
import { T as canonicalPath, f as withIdleWorkspace } from "./workspaces-
|
|
8
|
-
import { Nt as recordCapacityRefusal, Pt as recordCapacityWait } from "./budget-
|
|
9
|
-
import { a as withWorkspaceProcessLock, o as workspaceProcessLockError } from "./named-ports-
|
|
4
|
+
import { w as workspaceLogsDir$1 } from "./workspace-state-CvgTFe-h.mjs";
|
|
5
|
+
import { a as formatElapsed, l as phaseLine } from "./command-output-CPDq_90S.mjs";
|
|
6
|
+
import { O as listAdbDevices } from "./android-DE8-JfGW.mjs";
|
|
7
|
+
import { T as canonicalPath, f as withIdleWorkspace } from "./workspaces-C4kqIOlx.mjs";
|
|
8
|
+
import { Nt as recordCapacityRefusal, Pt as recordCapacityWait } from "./budget-RFbwFpG5.mjs";
|
|
9
|
+
import { a as withWorkspaceProcessLock, o as workspaceProcessLockError } from "./named-ports-O1TIl7tx.mjs";
|
|
10
10
|
import { r as createNdjsonWriter } from "./ndjson-GOnbyvso.mjs";
|
|
11
|
-
import { d as listAllIosSims, l as iosRuntimeMatches, y as parseRuntimeVersion } from "./ios-
|
|
12
|
-
import { n as dueIdleDevices, r as shutDownIdleDevices } from "./idle-shutdown-
|
|
11
|
+
import { d as listAllIosSims, l as iosRuntimeMatches, y as parseRuntimeVersion } from "./ios-o896T9PE.mjs";
|
|
12
|
+
import { n as dueIdleDevices, r as shutDownIdleDevices } from "./idle-shutdown-DhAUyf5s.mjs";
|
|
13
13
|
import { realpathSync } from "node:fs";
|
|
14
14
|
import { basename, join } from "node:path";
|
|
15
15
|
import { DEVICE_RECLAIM_REASON, automaticMachineEnabled } from "@stim-cli/core/state";
|
|
@@ -2,18 +2,18 @@ import { t as process_identity_exports } from "./process-identity-Biv3arCO.mjs";
|
|
|
2
2
|
import { t as getExecutor } from "./exec-B81Qodjn.mjs";
|
|
3
3
|
import { t as spawnEntry } from "./spawn-entry-Dcb7sDUz.mjs";
|
|
4
4
|
import { D as withConfigLock$1, _ as loadConfig$1, c as ensureConfig } from "./config-D0LhTY3S.mjs";
|
|
5
|
-
import { c as writeWorkspaceState, p as ensureWorkspaceStorage } from "./workspace-state-
|
|
6
|
-
import { A as listAvds, B as ownedAvdSystemImage, D as hostSystemImageArch, E as getAvdNameForSerial, J as resolveOwnedAvdSerial, O as listAdbDevices, R as ownedAvdName, W as pickDefaultSystemImage, _ as avdStorageRoots, a as androidDeviceAbi, b as createOwnedAvd, d as androidToolPath, f as assertOwnedAvdStopped, h as avdPathExists, j as listInstalledSystemImages, k as listAvdDeviceProfiles, q as resetAdoptedAvd, t as DEFAULT_AVD_DEVICE_PROFILE, tt as waitForBoot, v as bootAndroidEmulator } from "./android-
|
|
7
|
-
import { t as forgetCreatedDevice } from "./created-devices-
|
|
8
|
-
import { b as teardownOwnedIosSim, v as teardownOwnedAvd } from "./workspaces-
|
|
5
|
+
import { c as writeWorkspaceState, p as ensureWorkspaceStorage } from "./workspace-state-CvgTFe-h.mjs";
|
|
6
|
+
import { A as listAvds, B as ownedAvdSystemImage, D as hostSystemImageArch, E as getAvdNameForSerial, J as resolveOwnedAvdSerial, O as listAdbDevices, R as ownedAvdName, W as pickDefaultSystemImage, _ as avdStorageRoots, a as androidDeviceAbi, b as createOwnedAvd, d as androidToolPath, f as assertOwnedAvdStopped, h as avdPathExists, j as listInstalledSystemImages, k as listAvdDeviceProfiles, q as resetAdoptedAvd, t as DEFAULT_AVD_DEVICE_PROFILE, tt as waitForBoot, v as bootAndroidEmulator } from "./android-DE8-JfGW.mjs";
|
|
7
|
+
import { t as forgetCreatedDevice } from "./created-devices-CXBMtoj5.mjs";
|
|
8
|
+
import { b as teardownOwnedIosSim, v as teardownOwnedAvd } from "./workspaces-C4kqIOlx.mjs";
|
|
9
9
|
import { r as createNdjsonWriter } from "./ndjson-GOnbyvso.mjs";
|
|
10
|
-
import { C as resetIosKeychain, P as readHostMemoryPressure, T as resolveIosCreation, a as createOwnedIosSim, d as listAllIosSims, g as listUserApps, k as uninstallIosApp, n as bootIosSim, w as resetIosPrivacy } from "./ios-
|
|
11
|
-
import { i as macosProcess, o as requiredMacosRecord } from "./state-
|
|
12
|
-
import { C as reverseMetroPorts, _ as installIosApp, b as launchAndroidReleaseApp, h as installAndroidApp, s as androidAppProcess, v as iosAppProcess, w as writeDebugHttpHost, x as launchIosApp, y as launchAndroidApp } from "./app-install-
|
|
13
|
-
import { i as countLiveOwnedDevices } from "./device-capacity-
|
|
14
|
-
import { _ as findAapt } from "./support-
|
|
15
|
-
import { n as parseLogcatLine, r as parsePidof, t as androidClockOffset } from "./android-
|
|
16
|
-
import { r as stopMacosAppHeld } from "./stop-
|
|
10
|
+
import { C as resetIosKeychain, P as readHostMemoryPressure, T as resolveIosCreation, a as createOwnedIosSim, d as listAllIosSims, g as listUserApps, k as uninstallIosApp, n as bootIosSim, w as resetIosPrivacy } from "./ios-o896T9PE.mjs";
|
|
11
|
+
import { i as macosProcess, o as requiredMacosRecord } from "./state-BUpAmt2r.mjs";
|
|
12
|
+
import { C as reverseMetroPorts, _ as installIosApp, b as launchAndroidReleaseApp, h as installAndroidApp, s as androidAppProcess, v as iosAppProcess, w as writeDebugHttpHost, x as launchIosApp, y as launchAndroidApp } from "./app-install-Cg9YJy3x.mjs";
|
|
13
|
+
import { i as countLiveOwnedDevices } from "./device-capacity-DrwHwR97.mjs";
|
|
14
|
+
import { _ as findAapt } from "./support-Ca6PZbpr.mjs";
|
|
15
|
+
import { n as parseLogcatLine, r as parsePidof, t as androidClockOffset } from "./android-CZh6ElG5.mjs";
|
|
16
|
+
import { r as stopMacosAppHeld } from "./stop-Cftw_sXJ.mjs";
|
|
17
17
|
import { n as parseLogStreamLine } from "./ios-VGvNdsv2.mjs";
|
|
18
18
|
import { chmodSync, closeSync, copyFileSync, createReadStream, existsSync, lstatSync, mkdirSync, openSync, readFileSync, readdirSync, realpathSync, renameSync, rmSync, statfsSync, symlinkSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname, isAbsolute, join, posix, relative, sep } from "node:path";
|
|
@@ -2,13 +2,13 @@ import { n as ownership_claim_exports } from "./process-identity-Biv3arCO.mjs";
|
|
|
2
2
|
import { t as getExecutor } from "./exec-B81Qodjn.mjs";
|
|
3
3
|
import { C as saveConfig, D as withConfigLock, H as projectDeviceSlots, _ as loadConfig, a as clearDevice, d as getConfigDir, w as setDevice, z as deviceSlotPlatforms } from "./config-D0LhTY3S.mjs";
|
|
4
4
|
import { T as iosSimSlimProfileSetting } from "./settings-Bbztm4oV.mjs";
|
|
5
|
-
import { S as workspaceId } from "./workspace-state-
|
|
6
|
-
import { l as phaseLine } from "./command-output-
|
|
7
|
-
import { dt as parkedMaxSetting, ft as readParked, mt as selectParked, ot as adoptParked, st as dropParked } from "./android-
|
|
8
|
-
import { S as teardownParkedIosSim } from "./workspaces-
|
|
9
|
-
import { a as withWorkspaceProcessLock } from "./named-ports-
|
|
10
|
-
import { A as configuredIosSimulatorViewer, C as resetIosKeychain, E as resolveOwnedIosSim, M as hostMemoryPressureAdvice, N as memoryCulpritsUnder, P as readHostMemoryPressure, S as renameIosSim, T as resolveIosCreation, _ as ownedSimName, a as createOwnedIosSim, d as listAllIosSims, m as listIosRuntimes, n as bootIosSim, p as listIosDeviceTypes, u as iosSimulatorFailureAdvice, w as resetIosPrivacy, y as parseRuntimeVersion } from "./ios-
|
|
11
|
-
import { a as deviceTypeMismatch, c as runtimeMismatch, n as DeviceAdmissionRefusal, p as withDeviceBootAdmission } from "./device-capacity-
|
|
5
|
+
import { S as workspaceId } from "./workspace-state-CvgTFe-h.mjs";
|
|
6
|
+
import { l as phaseLine } from "./command-output-CPDq_90S.mjs";
|
|
7
|
+
import { dt as parkedMaxSetting, ft as readParked, mt as selectParked, ot as adoptParked, st as dropParked } from "./android-DE8-JfGW.mjs";
|
|
8
|
+
import { S as teardownParkedIosSim } from "./workspaces-C4kqIOlx.mjs";
|
|
9
|
+
import { a as withWorkspaceProcessLock } from "./named-ports-O1TIl7tx.mjs";
|
|
10
|
+
import { A as configuredIosSimulatorViewer, C as resetIosKeychain, E as resolveOwnedIosSim, M as hostMemoryPressureAdvice, N as memoryCulpritsUnder, P as readHostMemoryPressure, S as renameIosSim, T as resolveIosCreation, _ as ownedSimName, a as createOwnedIosSim, d as listAllIosSims, m as listIosRuntimes, n as bootIosSim, p as listIosDeviceTypes, u as iosSimulatorFailureAdvice, w as resetIosPrivacy, y as parseRuntimeVersion } from "./ios-o896T9PE.mjs";
|
|
11
|
+
import { a as deviceTypeMismatch, c as runtimeMismatch, n as DeviceAdmissionRefusal, p as withDeviceBootAdmission } from "./device-capacity-DrwHwR97.mjs";
|
|
12
12
|
import chalk from "chalk";
|
|
13
13
|
//#region src/engine/device-ios.ts
|
|
14
14
|
function startIosBoot(udid, configure, label, out, simulatorApp, root, deviceSlotWait) {
|
|
@@ -3,12 +3,13 @@ import { t as getExecutor } from "./exec-B81Qodjn.mjs";
|
|
|
3
3
|
import { B as parseDeviceSlotKey, R as deviceSlotKey, W as validateDeviceSlot, d as getConfigDir } from "./config-D0LhTY3S.mjs";
|
|
4
4
|
import { r as register } from "./cache-manifest-qA3dT2x2.mjs";
|
|
5
5
|
import { m as defaultAndroidLayout } from "./settings-Bbztm4oV.mjs";
|
|
6
|
-
import { D as withDirLock$1, c as writeWorkspaceState, m as sharedBuildCache, n as clearWorkspaceStateKeys, o as withWorkspaceStateLock, r as readWorkspaceState } from "./workspace-state-
|
|
7
|
-
import { a as formatElapsed, i as formatDuration, m as shortHash } from "./command-output-
|
|
6
|
+
import { D as withDirLock$1, c as writeWorkspaceState, m as sharedBuildCache, n as clearWorkspaceStateKeys, o as withWorkspaceStateLock, r as readWorkspaceState$1 } from "./workspace-state-CvgTFe-h.mjs";
|
|
7
|
+
import { a as formatElapsed, i as formatDuration, m as shortHash } from "./command-output-CPDq_90S.mjs";
|
|
8
8
|
import { n as declareSpawnsOn, o as stopDeclaringSpawnsOn } from "./spawn-claims-Kqiifsk2.mjs";
|
|
9
9
|
import { existsSync, mkdirSync, readFileSync, readdirSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
10
10
|
import { join } from "node:path";
|
|
11
11
|
import { join as join$1, posix as posix$1, relative as relative$1, sep as sep$1 } from "path";
|
|
12
|
+
import { isJsonObject } from "@stim-cli/core/state";
|
|
12
13
|
import { buildUploadTimeoutMs } from "@stim-cli/cache";
|
|
13
14
|
import { existsSync as existsSync$1, mkdirSync as mkdirSync$1, readFileSync as readFileSync$1, readdirSync as readdirSync$1, realpathSync as realpathSync$1, rmSync as rmSync$1, statSync as statSync$1, writeFileSync as writeFileSync$1 } from "fs";
|
|
14
15
|
import { isDeepStrictEqual } from "util";
|
|
@@ -916,7 +917,7 @@ const fileLeaseIo = {
|
|
|
916
917
|
return withDirLock$1(lockPath, fn, { ensureParent: () => mkdirSync(deviceLocksDir(), { recursive: true }) });
|
|
917
918
|
},
|
|
918
919
|
readHolder(root) {
|
|
919
|
-
return parseWorkspaceLeases(readWorkspaceState(root)?.deviceLeases);
|
|
920
|
+
return parseWorkspaceLeases(readWorkspaceState$1(root)?.deviceLeases);
|
|
920
921
|
},
|
|
921
922
|
writeHolder(root, leases) {
|
|
922
923
|
if (Object.keys(leases).length === 0) clearWorkspaceStateKeys(root, ["deviceLeases"]);
|
|
@@ -937,7 +938,7 @@ function parseLease(raw) {
|
|
|
937
938
|
} catch {
|
|
938
939
|
return null;
|
|
939
940
|
}
|
|
940
|
-
if (!
|
|
941
|
+
if (!isJsonObject(parsed)) return null;
|
|
941
942
|
const entry = parsed;
|
|
942
943
|
if (entry.version !== 1 || !isPlatform(entry.platform)) return null;
|
|
943
944
|
const id = text(entry.id);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { R as deviceSlotKey } from "./config-D0LhTY3S.mjs";
|
|
2
|
-
import { a as parseLease, c as raiseLease, l as releaseRunLease, n as fileLeaseIo, p as takeLease, r as leaseIsExpired, t as deviceLeasePath } from "./device-lease-
|
|
3
|
-
import { a as formatElapsed, r as clockTime } from "./command-output-
|
|
4
|
-
import { a as VERIFY_TIMEOUT_MS, m as APP_READINESS_TIMEOUT_MS } from "./launch-verify-
|
|
2
|
+
import { a as parseLease, c as raiseLease, l as releaseRunLease, n as fileLeaseIo, p as takeLease, r as leaseIsExpired, t as deviceLeasePath } from "./device-lease-C309csaB.mjs";
|
|
3
|
+
import { a as formatElapsed, r as clockTime } from "./command-output-CPDq_90S.mjs";
|
|
4
|
+
import { a as VERIFY_TIMEOUT_MS, m as APP_READINESS_TIMEOUT_MS } from "./launch-verify-Dl78EVgR.mjs";
|
|
5
5
|
//#region src/engine/device-lease-run.ts
|
|
6
6
|
const LEASE_STEP_FLOOR_MS = 6e4;
|
|
7
7
|
const DEBUG_VERIFY_STEP_MS = VERIFY_TIMEOUT_MS + APP_READINESS_TIMEOUT_MS;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { R as deviceSlotKey } from "./config-D0LhTY3S.mjs";
|
|
2
|
-
import { a as parseLease, f as selectPoolDevice, n as fileLeaseIo, r as leaseIsExpired, t as deviceLeasePath } from "./device-lease-
|
|
3
|
-
import { i as DEVICE_WAIT_POLL_MS, n as DEVICE_BUSY, o as leaseExpiryText } from "./device-lease-run-
|
|
2
|
+
import { a as parseLease, f as selectPoolDevice, n as fileLeaseIo, r as leaseIsExpired, t as deviceLeasePath } from "./device-lease-C309csaB.mjs";
|
|
3
|
+
import { i as DEVICE_WAIT_POLL_MS, n as DEVICE_BUSY, o as leaseExpiryText } from "./device-lease-run-Baelt3nc.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)];
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as getExecutor } from "./exec-B81Qodjn.mjs";
|
|
2
2
|
import { d as getConfigDir } from "./config-D0LhTY3S.mjs";
|
|
3
3
|
import { ot as planMetroReach } from "./settings-Bbztm4oV.mjs";
|
|
4
|
-
import { E as workspaceStateFile, S as workspaceId, w as workspaceLogsDir$1, x as workspaceDir } from "./workspace-state-
|
|
5
|
-
import { a as formatElapsed } from "./command-output-
|
|
6
|
-
import { N as readRemoteSession, O as clearRemoteSession, j as readMetroTunnel, o as ownedDeviceLabel } from "./project-
|
|
7
|
-
import { s as pidExists } from "./metro-
|
|
8
|
-
import { N as probePublicHttp } from "./workspaces-
|
|
9
|
-
import { a as withWorkspaceProcessLock } from "./named-ports-
|
|
10
|
-
import { v as nativeRunWaitNotice } from "./tailnet-
|
|
11
|
-
import { D as sanitizeDeviceLabel } from "./ios-
|
|
12
|
-
import { c as readMetroRecords, o as isBundleProof } from "./launch-verify-
|
|
13
|
-
import { i as INSTALL_ERROR, o as LAUNCH_ERROR, u as devClientDeepLink } from "./app-install-
|
|
14
|
-
import { a as removeEasSessionClaim, i as recordEasSessionClaim, n as easMachineStateRoot$1, o as compareStimVersions, r as readEasSessionLedger$1, t as assertEasMachineRootWritable } from "./eas-session-ledger-
|
|
4
|
+
import { E as workspaceStateFile, S as workspaceId, w as workspaceLogsDir$1, x as workspaceDir } from "./workspace-state-CvgTFe-h.mjs";
|
|
5
|
+
import { a as formatElapsed } from "./command-output-CPDq_90S.mjs";
|
|
6
|
+
import { N as readRemoteSession, O as clearRemoteSession, j as readMetroTunnel, o as ownedDeviceLabel } from "./project-DX8fXyw_.mjs";
|
|
7
|
+
import { s as pidExists } from "./metro-_ZIE3Axg.mjs";
|
|
8
|
+
import { N as probePublicHttp } from "./workspaces-C4kqIOlx.mjs";
|
|
9
|
+
import { a as withWorkspaceProcessLock } from "./named-ports-O1TIl7tx.mjs";
|
|
10
|
+
import { v as nativeRunWaitNotice } from "./tailnet-D7-tE_ug.mjs";
|
|
11
|
+
import { D as sanitizeDeviceLabel } from "./ios-o896T9PE.mjs";
|
|
12
|
+
import { c as readMetroRecords, o as isBundleProof } from "./launch-verify-Dl78EVgR.mjs";
|
|
13
|
+
import { i as INSTALL_ERROR, o as LAUNCH_ERROR, u as devClientDeepLink } from "./app-install-Cg9YJy3x.mjs";
|
|
14
|
+
import { a as removeEasSessionClaim, i as recordEasSessionClaim, n as easMachineStateRoot$1, o as compareStimVersions, r as readEasSessionLedger$1, t as assertEasMachineRootWritable } from "./eas-session-ledger-DJDeL4Uq.mjs";
|
|
15
15
|
import { existsSync, mkdirSync, realpathSync, writeFileSync } from "node:fs";
|
|
16
16
|
import { dirname, join, resolve } from "node:path";
|
|
17
17
|
import { readJsonObject } from "@stim-cli/core/state";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { _ as loadConfig$1, p as getProject } from "./config-D0LhTY3S.mjs";
|
|
2
2
|
import { Et as repoRoot, I as projectSettingsContext } from "./settings-Bbztm4oV.mjs";
|
|
3
|
-
import { f as refuseNoProject, l as phaseLine } from "./command-output-
|
|
4
|
-
import { d as projectRegistry } from "./project-
|
|
5
|
-
import { J as inspectWatchmanMemory, Q as memorySweepIsScoped, a as inspectBudget, n as budgetLine } from "./budget-
|
|
6
|
-
import { C as inspectDeviceHostMachines, b as inspectBuildMachines, d as simulatorRuntime, s as offloadCheck } from "./client-
|
|
7
|
-
import { I as memoryCulpritFindings, L as readMemoryCulprits, h as listIosRuntimesAsync, l as iosRuntimeMatches, x as pickDefaultIosCreation } from "./ios-
|
|
8
|
-
import { T as detectXcodeMajor } from "./toolchain-
|
|
9
|
-
import { o as compareStimVersions, s as inspectStimVersions } from "./eas-session-ledger-
|
|
10
|
-
import { h as resolveDeviceType, v as resolveRuntime } from "./support-
|
|
3
|
+
import { f as refuseNoProject, l as phaseLine } from "./command-output-CPDq_90S.mjs";
|
|
4
|
+
import { d as projectRegistry } from "./project-DX8fXyw_.mjs";
|
|
5
|
+
import { J as inspectWatchmanMemory, Q as memorySweepIsScoped, a as inspectBudget, n as budgetLine } from "./budget-RFbwFpG5.mjs";
|
|
6
|
+
import { C as inspectDeviceHostMachines, b as inspectBuildMachines, d as simulatorRuntime, s as offloadCheck } from "./client-zqjFd79D.mjs";
|
|
7
|
+
import { I as memoryCulpritFindings, L as readMemoryCulprits, h as listIosRuntimesAsync, l as iosRuntimeMatches, x as pickDefaultIosCreation } from "./ios-o896T9PE.mjs";
|
|
8
|
+
import { T as detectXcodeMajor } from "./toolchain-SqehyPLw.mjs";
|
|
9
|
+
import { o as compareStimVersions, s as inspectStimVersions } from "./eas-session-ledger-DJDeL4Uq.mjs";
|
|
10
|
+
import { h as resolveDeviceType, v as resolveRuntime } from "./support-Co0wk8Cv.mjs";
|
|
11
11
|
import { r as maintenanceStatus, t as maintenanceLine } from "./status-BDGHwkCs.mjs";
|
|
12
|
-
import { a as writeIgnoreDirs, i as watchedCheckouts, n as inspectNestedWorktrees, r as nestedWorktreeFinding, s as recordDoctorRun } from "./doctor-watchman-
|
|
13
|
-
import { i as runDoctor, o as readMachineSettings } from "./doctor-
|
|
12
|
+
import { a as writeIgnoreDirs, i as watchedCheckouts, n as inspectNestedWorktrees, r as nestedWorktreeFinding, s as recordDoctorRun } from "./doctor-watchman-XJzT8tK-.mjs";
|
|
13
|
+
import { i as runDoctor, o as readMachineSettings } from "./doctor-Dunu3Nv1.mjs";
|
|
14
14
|
import { dirname, join, sep } from "path";
|
|
15
15
|
import { isJsonObject, maintenanceNdjsonFile, readHostedAppMetadata, readHostedSessions } from "@stim-cli/core/state";
|
|
16
16
|
import { mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "fs";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { t as getExecutor } from "./exec-B81Qodjn.mjs";
|
|
2
2
|
import { _ as loadConfig$1, s as configCorruptRepair, u as getConcurrencyLimits } from "./config-D0LhTY3S.mjs";
|
|
3
3
|
import { B as remoteAndroidSetting, D as mergeSettingsLayers, Et as repoRoot, G as resolveIosProjectDir, H as remoteIosSetting, I as projectSettingsContext, It as temporaryRoot, Nt as filesystemDevice, Ot as resolveSourceCheckout, Pt as makeTemporaryDirectory, Q as settingShapeErrors, St as locallyKnownUpstream, T as iosSimSlimProfileSetting, U as resolveAndroidLayout, X as settingOrigin, a as SETTING_SHAPE_REMEDY, et as settingsLayers, ft as dirtyFingerprintFiles, i as SETTINGS_WITH_RESOLVE_TIME_FALLBACK, m as defaultAndroidLayout, mt as gitCommonDir, nt as unknownSettingKeys, q as resolveSettings, r as PATH_SETTINGS, rt as webSettings, xt as listWorktrees } from "./settings-Bbztm4oV.mjs";
|
|
4
|
-
import { C as diffFingerprintSources, D as fingerprintProject, h as listBuildLocks } from "./device-lease-
|
|
5
|
-
import { b as workspaceDerivedData, m as sharedBuildCache } from "./workspace-state-
|
|
6
|
-
import { d as quotedPath, u as plural } from "./command-output-
|
|
7
|
-
import { S as resolvePackageJson, _ as detectIsExpo, g as appProjectProblem, y as isPackageResolvable } from "./project-
|
|
8
|
-
import { D as hostSystemImageArch, at as POOL_SETTING_REMEDY, dt as parkedMaxSetting, o as androidHome } from "./android-
|
|
9
|
-
import { I as listBuildSlots } from "./workspaces-
|
|
10
|
-
import { l as realIo } from "./tailnet-
|
|
4
|
+
import { C as diffFingerprintSources, D as fingerprintProject, h as listBuildLocks } from "./device-lease-C309csaB.mjs";
|
|
5
|
+
import { b as workspaceDerivedData, m as sharedBuildCache } from "./workspace-state-CvgTFe-h.mjs";
|
|
6
|
+
import { d as quotedPath, u as plural } from "./command-output-CPDq_90S.mjs";
|
|
7
|
+
import { S as resolvePackageJson, _ as detectIsExpo, g as appProjectProblem, y as isPackageResolvable } from "./project-DX8fXyw_.mjs";
|
|
8
|
+
import { D as hostSystemImageArch, at as POOL_SETTING_REMEDY, dt as parkedMaxSetting, o as androidHome } from "./android-DE8-JfGW.mjs";
|
|
9
|
+
import { I as listBuildSlots } from "./workspaces-C4kqIOlx.mjs";
|
|
10
|
+
import { l as realIo } from "./tailnet-D7-tE_ug.mjs";
|
|
11
11
|
import { p as resolveOptimizations, u as compilerCacheFallbackMessage } from "./errors-DzkMYh8Q.mjs";
|
|
12
|
-
import { f as resolveEasCliBin, i as checkEasAuth$1, l as ownerFromConfig, u as providerFromConfig } from "./remote-cache-
|
|
13
|
-
import { M as hostMemoryPressureAdvice, P as readHostMemoryPressure } from "./ios-
|
|
14
|
-
import { i as projectCmakeLauncher } from "./ccache-
|
|
15
|
-
import { r as androidSdkRefusal } from "./gradle-
|
|
16
|
-
import { L as podInstallCommand } from "./toolchain-
|
|
17
|
-
import { i as countLiveOwnedDevices } from "./device-capacity-
|
|
18
|
-
import { d as androidPathRoomRemedy, i as ccacheEnabled, l as androidPathRoom, t as apkOutputsDir, u as androidPathRoomMessage } from "./react-native-build-
|
|
19
|
-
import { r as resolveAndroidCompilerCache, t as readAndroidCasToolchain } from "./android-cas-
|
|
20
|
-
import { g as easCliUpgradeRemedy, h as easCliSupport, m as MIN_EAS_CLI_SIMULATOR_VERSION, s as readInstalledEasCliVersion } from "./device-remote-
|
|
21
|
-
import { t as MIN_EAS_CLI_BUILD_DOWNLOAD_VERSION } from "./eas-build-
|
|
12
|
+
import { f as resolveEasCliBin, i as checkEasAuth$1, l as ownerFromConfig, u as providerFromConfig } from "./remote-cache-fxcl5C-L.mjs";
|
|
13
|
+
import { M as hostMemoryPressureAdvice, P as readHostMemoryPressure } from "./ios-o896T9PE.mjs";
|
|
14
|
+
import { i as projectCmakeLauncher } from "./ccache-CtbqWxIC.mjs";
|
|
15
|
+
import { r as androidSdkRefusal } from "./gradle-CZZo1TSA.mjs";
|
|
16
|
+
import { L as podInstallCommand } from "./toolchain-SqehyPLw.mjs";
|
|
17
|
+
import { i as countLiveOwnedDevices } from "./device-capacity-DrwHwR97.mjs";
|
|
18
|
+
import { d as androidPathRoomRemedy, i as ccacheEnabled, l as androidPathRoom, t as apkOutputsDir, u as androidPathRoomMessage } from "./react-native-build-JUF31S8U.mjs";
|
|
19
|
+
import { r as resolveAndroidCompilerCache, t as readAndroidCasToolchain } from "./android-cas-BFpS84v2.mjs";
|
|
20
|
+
import { g as easCliUpgradeRemedy, h as easCliSupport, m as MIN_EAS_CLI_SIMULATOR_VERSION, s as readInstalledEasCliVersion } from "./device-remote-DjsNw8DD.mjs";
|
|
21
|
+
import { t as MIN_EAS_CLI_BUILD_DOWNLOAD_VERSION } from "./eas-build-0gadvrca.mjs";
|
|
22
22
|
import { n as simslimIsOnPath } from "./simslim-ChMfe8rg.mjs";
|
|
23
23
|
import { n as hasInstalledDependencies, r as installedNpmTreeIsValid, t as dependencyState } from "./dependency-state-B2m8eqsS.mjs";
|
|
24
24
|
import { a as findChrome, t as CHROME_INSTALL_REMEDY } from "./chrome-Dp2lMLBe.mjs";
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { t as getExecutor } from "./exec-B81Qodjn.mjs";
|
|
2
2
|
import { E as upsertProject, d as getConfigDir, p as getProject } from "./config-D0LhTY3S.mjs";
|
|
3
3
|
import { Et as repoRoot, xt as listWorktrees } from "./settings-Bbztm4oV.mjs";
|
|
4
|
-
import { d as projectRegistry } from "./project-
|
|
5
|
-
import { o as runWatchman, r as parseWatchRoots } from "./watchman-
|
|
6
|
-
import { o as compareStimVersions } from "./eas-session-ledger-
|
|
4
|
+
import { d as projectRegistry } from "./project-DX8fXyw_.mjs";
|
|
5
|
+
import { o as runWatchman, r as parseWatchRoots } from "./watchman-CqmaGcIb.mjs";
|
|
6
|
+
import { o as compareStimVersions } from "./eas-session-ledger-DJDeL4Uq.mjs";
|
|
7
7
|
import { mkdirSync, readFileSync, realpathSync, renameSync, rmSync, unlinkSync, writeFileSync } from "node:fs";
|
|
8
8
|
import { dirname, isAbsolute, join, relative, sep } from "node:path";
|
|
9
|
+
import { isJsonObject } from "@stim-cli/core/state";
|
|
9
10
|
//#region src/guide-status.ts
|
|
10
11
|
const DAY_MS = 864e5;
|
|
11
12
|
const DOCTOR_STALE_MS = 7 * DAY_MS;
|
|
@@ -67,7 +68,7 @@ async function fetchLatest(fetchImpl) {
|
|
|
67
68
|
const res = await fetchImpl(LATEST_URL, { signal: AbortSignal.timeout(UPDATE_CHECK_TIMEOUT_MS) });
|
|
68
69
|
if (!res.ok) return null;
|
|
69
70
|
const body = await res.json();
|
|
70
|
-
return typeof body.version === "string" ? body.version : null;
|
|
71
|
+
return isJsonObject(body) && typeof body.version === "string" ? body.version : null;
|
|
71
72
|
}
|
|
72
73
|
async function checkForUpdate(running, { now = /* @__PURE__ */ new Date(), fetch: fetchImpl = fetch } = {}) {
|
|
73
74
|
if (process.env.STIM_NO_UPDATE_CHECK) return null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as ownership_claim_exports } from "./process-identity-Biv3arCO.mjs";
|
|
2
2
|
import { t as getExecutor } from "./exec-B81Qodjn.mjs";
|
|
3
|
-
import { g as releaseBuildLock, m as acquireBuildLock } from "./device-lease-
|
|
4
|
-
import { f as resolveEasCliBin } from "./remote-cache-
|
|
5
|
-
import { g as easCliUpgradeRemedy, h as easCliSupport, s as readInstalledEasCliVersion } from "./device-remote-
|
|
3
|
+
import { g as releaseBuildLock, m as acquireBuildLock } from "./device-lease-C309csaB.mjs";
|
|
4
|
+
import { f as resolveEasCliBin } from "./remote-cache-fxcl5C-L.mjs";
|
|
5
|
+
import { g as easCliUpgradeRemedy, h as easCliSupport, s as readInstalledEasCliVersion } from "./device-remote-DjsNw8DD.mjs";
|
|
6
6
|
import { existsSync, realpathSync, statSync } from "node:fs";
|
|
7
7
|
import { createHash } from "node:crypto";
|
|
8
8
|
//#region src/engine/eas-build.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as getExecutor } from "./exec-B81Qodjn.mjs";
|
|
2
|
-
import { D as withDirLock } from "./workspace-state-
|
|
2
|
+
import { D as withDirLock } from "./workspace-state-CvgTFe-h.mjs";
|
|
3
3
|
import { accessSync, constants, existsSync, mkdirSync, realpathSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
4
4
|
import { delimiter, dirname, join, resolve } from "node:path";
|
|
5
5
|
import { easMachineStateRoot, easMachineStateRoot as easMachineStateRoot$1, easSessionLedgerFile, easSessionLedgerLock, readEasSessionLedger, readEasSessionLedger as readEasSessionLedger$1, validEasSessionClaim } from "@stim-cli/core/state";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as getExecutor } from "./exec-B81Qodjn.mjs";
|
|
2
2
|
import { R as deviceSlotKey, p as getProject, z as deviceSlotPlatforms } from "./config-D0LhTY3S.mjs";
|
|
3
|
-
import { a as parseLease, n as fileLeaseIo, t as deviceLeasePath } from "./device-lease-
|
|
4
|
-
import { D as withDirLock, r as readWorkspaceState$1 } from "./workspace-state-
|
|
5
|
-
import { v as launchErrorPreview } from "./command-output-
|
|
6
|
-
import { F as readWorkspaceLaunches } from "./project-
|
|
7
|
-
import { o as androidHome, u as androidToolCwd } from "./android-
|
|
8
|
-
import { u as resolveProjectMetro } from "./metro-
|
|
3
|
+
import { a as parseLease, n as fileLeaseIo, t as deviceLeasePath } from "./device-lease-C309csaB.mjs";
|
|
4
|
+
import { D as withDirLock, r as readWorkspaceState$1 } from "./workspace-state-CvgTFe-h.mjs";
|
|
5
|
+
import { v as launchErrorPreview } from "./command-output-CPDq_90S.mjs";
|
|
6
|
+
import { F as readWorkspaceLaunches } from "./project-DX8fXyw_.mjs";
|
|
7
|
+
import { o as androidHome, u as androidToolCwd } from "./android-DE8-JfGW.mjs";
|
|
8
|
+
import { u as resolveProjectMetro } from "./metro-_ZIE3Axg.mjs";
|
|
9
9
|
import { r as deviceConsoleLevel } from "./ios-device-B1B14xND.mjs";
|
|
10
|
-
import { n as parseLogcatLine, t as androidClockOffset } from "./android-
|
|
10
|
+
import { n as parseLogcatLine, t as androidClockOffset } from "./android-CZh6ElG5.mjs";
|
|
11
11
|
import { existsSync, mkdirSync, readFileSync, readdirSync, renameSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
12
12
|
import { basename, dirname, join, resolve, sep } from "node:path";
|
|
13
13
|
import { NATIVE_CRASH_LOG_PREFIX, attachExpoErrorContext, readLogRecords, readLogTimeline } from "@stim-cli/core/state";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { n as ownership_claim_exports, t as process_identity_exports } from "./process-identity-Biv3arCO.mjs";
|
|
2
2
|
import { t as getExecutor } from "./exec-B81Qodjn.mjs";
|
|
3
3
|
import { A as directorySize, D as withConfigLock$1, F as volumeRootFor, H as projectDeviceSlots, M as isOnMountedVolume, N as listMountedVolumes, S as removeProject, _ as loadConfig$1, j as formatBytes, k as acquireAvdClaim } from "./config-D0LhTY3S.mjs";
|
|
4
|
-
import { d as removeExpiredLease, h as listBuildLocks } from "./device-lease-
|
|
5
|
-
import { D as withDirLock$1, E as workspaceStateFile, s as workspaceLastUsed, x as workspaceDir } from "./workspace-state-
|
|
6
|
-
import { h as shortUdid, o as formatLongDuration, u as plural } from "./command-output-
|
|
7
|
-
import { _ as detectIsExpo, r as findProjectRoot } from "./project-
|
|
8
|
-
import { A as listAvds, H as parseAvdSystemImage, I as ownedAvdDirectory, M as listOrphanedAvdDirectories, V as parseAvdDeviceProfile, _ as avdStorageRoots, at as POOL_SETTING_REMEDY, d as androidToolPath, dt as parkedMaxSetting, ft as readParked, it as isStimOwnedSim, j as listInstalledSystemImages, m as avdNameAbsent, o as androidHome, p as avdIniPaths, rt as isStimOwnedAvd } from "./android-
|
|
9
|
-
import { n as readCreatedDevices$1, t as forgetCreatedDevice } from "./created-devices-
|
|
10
|
-
import { C as recordGcResult, I as listBuildSlots, T as canonicalPath, a as collectWorkspaceOutputs, c as listWorkspaceDirs, f as withIdleWorkspace, i as collectOrphanedWorkspaces, l as rootPresence, n as WORKSPACE_OUTPUT_DIRS, o as deleteOrphanedWorkspaces, p as workspaceInUse, r as clearWorkspaceOutputs, s as isInsideWorkspaces, t as REBUILD_COST, u as sizeText, w as takeGcResults } from "./workspaces-
|
|
11
|
-
import { $ as memoryWorkPending, A as findStaleProjectDevices, B as previewScopedEmptying, C as deleteProjectDevices, D as eraseParkedDevices, E as deviceSweepIsScoped, F as includesParkedDevices, H as selectsBeyondCaches, I as includesRecordings, L as includesWorkspaceOutputs, M as withAndroidAvdSizes, N as emptyCaches, O as findOrphanedDevices, P as includesArchives, Q as memorySweepIsScoped, R as isWorkspacesScope, S as deleteParkedSims, T as describeUnverifiableDevices, U as trimCaches, V as selectCaches, W as parseArchiveSelector, X as memoryLines, Y as memoryCacheKind, Z as memoryScope, _ as DEVICE_LIST_TIMEOUT_MS, at as discoverCaches, b as collectParkedSims, d as collectIdleDevices, et as reclaimMemory, h as shutDownIdleDevices, j as unverifiedDeviceCommand, k as findStaleDeviceRecords, m as parseIdleDuration, nt as phase, p as idleDeviceLines, q as collectMemoryReport, st as sizeCaches, tt as scopedMemoryReport, v as collectDeviceLeases, w as describeParkedSims, x as deleteParkedAvds, y as collectParkedAvds, z as planCacheEmptying } from "./budget-
|
|
12
|
-
import { f as resolveEasCliBin } from "./remote-cache-
|
|
13
|
-
import { d as listAllIosSims } from "./ios-
|
|
14
|
-
import { C as parseSessionListPage, T as verifyStoppedSession, _ as findOrphanedOwnedSessions, b as isDefinitiveMissingSessionError, d as withRemoteSessionLock, f as withEasProjectLock, v as getSessionArgs, w as stopSessionArgs, x as listOwnedSessionsArgs, y as inspectSessionForTeardown } from "./device-remote-
|
|
15
|
-
import { a as removeEasSessionClaim, n as easMachineStateRoot$1, r as readEasSessionLedger$1 } from "./eas-session-ledger-
|
|
16
|
-
import { r as readCollectors } from "./ownership-
|
|
17
|
-
import { c as removeWorktrees, l as worktreePullRequestNote, n as previewMaintenance, s as collectWorktreeSweep, u as worktreeRemovalReason } from "./preview-
|
|
18
|
-
import { _ as reclaimProject, g as describeDereferenced, v as deleteSelectedArchives, y as sweepArchiveStaging } from "./worktree-
|
|
19
|
-
import { i as getSwiftpmCacheUsage, n as swiftpmCacheLines, r as getAgentDeviceUsage, t as agentDeviceLines } from "./agent-device-usage-output-
|
|
4
|
+
import { d as removeExpiredLease, h as listBuildLocks } from "./device-lease-C309csaB.mjs";
|
|
5
|
+
import { D as withDirLock$1, E as workspaceStateFile, s as workspaceLastUsed, x as workspaceDir } from "./workspace-state-CvgTFe-h.mjs";
|
|
6
|
+
import { h as shortUdid, o as formatLongDuration, u as plural } from "./command-output-CPDq_90S.mjs";
|
|
7
|
+
import { _ as detectIsExpo, r as findProjectRoot } from "./project-DX8fXyw_.mjs";
|
|
8
|
+
import { A as listAvds, H as parseAvdSystemImage, I as ownedAvdDirectory, M as listOrphanedAvdDirectories, V as parseAvdDeviceProfile, _ as avdStorageRoots, at as POOL_SETTING_REMEDY, d as androidToolPath, dt as parkedMaxSetting, ft as readParked, it as isStimOwnedSim, j as listInstalledSystemImages, m as avdNameAbsent, o as androidHome, p as avdIniPaths, rt as isStimOwnedAvd } from "./android-DE8-JfGW.mjs";
|
|
9
|
+
import { n as readCreatedDevices$1, t as forgetCreatedDevice } from "./created-devices-CXBMtoj5.mjs";
|
|
10
|
+
import { C as recordGcResult, I as listBuildSlots, T as canonicalPath, a as collectWorkspaceOutputs, c as listWorkspaceDirs, f as withIdleWorkspace, i as collectOrphanedWorkspaces, l as rootPresence, n as WORKSPACE_OUTPUT_DIRS, o as deleteOrphanedWorkspaces, p as workspaceInUse, r as clearWorkspaceOutputs, s as isInsideWorkspaces, t as REBUILD_COST, u as sizeText, w as takeGcResults } from "./workspaces-C4kqIOlx.mjs";
|
|
11
|
+
import { $ as memoryWorkPending, A as findStaleProjectDevices, B as previewScopedEmptying, C as deleteProjectDevices, D as eraseParkedDevices, E as deviceSweepIsScoped, F as includesParkedDevices, H as selectsBeyondCaches, I as includesRecordings, L as includesWorkspaceOutputs, M as withAndroidAvdSizes, N as emptyCaches, O as findOrphanedDevices, P as includesArchives, Q as memorySweepIsScoped, R as isWorkspacesScope, S as deleteParkedSims, T as describeUnverifiableDevices, U as trimCaches, V as selectCaches, W as parseArchiveSelector, X as memoryLines, Y as memoryCacheKind, Z as memoryScope, _ as DEVICE_LIST_TIMEOUT_MS, at as discoverCaches, b as collectParkedSims, d as collectIdleDevices, et as reclaimMemory, h as shutDownIdleDevices, j as unverifiedDeviceCommand, k as findStaleDeviceRecords, m as parseIdleDuration, nt as phase, p as idleDeviceLines, q as collectMemoryReport, st as sizeCaches, tt as scopedMemoryReport, v as collectDeviceLeases, w as describeParkedSims, x as deleteParkedAvds, y as collectParkedAvds, z as planCacheEmptying } from "./budget-RFbwFpG5.mjs";
|
|
12
|
+
import { f as resolveEasCliBin } from "./remote-cache-fxcl5C-L.mjs";
|
|
13
|
+
import { d as listAllIosSims } from "./ios-o896T9PE.mjs";
|
|
14
|
+
import { C as parseSessionListPage, T as verifyStoppedSession, _ as findOrphanedOwnedSessions, b as isDefinitiveMissingSessionError, d as withRemoteSessionLock, f as withEasProjectLock, v as getSessionArgs, w as stopSessionArgs, x as listOwnedSessionsArgs, y as inspectSessionForTeardown } from "./device-remote-DjsNw8DD.mjs";
|
|
15
|
+
import { a as removeEasSessionClaim, n as easMachineStateRoot$1, r as readEasSessionLedger$1 } from "./eas-session-ledger-DJDeL4Uq.mjs";
|
|
16
|
+
import { r as readCollectors } from "./ownership-BrjepDiv.mjs";
|
|
17
|
+
import { c as removeWorktrees, l as worktreePullRequestNote, n as previewMaintenance, s as collectWorktreeSweep, u as worktreeRemovalReason } from "./preview-BRLFRhTz.mjs";
|
|
18
|
+
import { _ as reclaimProject, g as describeDereferenced, v as deleteSelectedArchives, y as sweepArchiveStaging } from "./worktree-DtRsh6go.mjs";
|
|
19
|
+
import { i as getSwiftpmCacheUsage, n as swiftpmCacheLines, r as getAgentDeviceUsage, t as agentDeviceLines } from "./agent-device-usage-output-VPaOgGaF.mjs";
|
|
20
20
|
import { existsSync, lstatSync, readFileSync, readdirSync, rmSync, statSync } from "node:fs";
|
|
21
21
|
import { basename, dirname, join } from "node:path";
|
|
22
22
|
import { basename as basename$1, dirname as dirname$1, isAbsolute as isAbsolute$1, join as join$1 } from "path";
|
|
@@ -1526,7 +1526,7 @@ function parseSimRuntimeList(jsonOutput) {
|
|
|
1526
1526
|
if (parsed === null || typeof parsed !== "object" || Array.isArray(parsed)) throw new Error("Expected simctl runtime list to return a JSON object.");
|
|
1527
1527
|
const runtimes = [];
|
|
1528
1528
|
for (const [key, value] of Object.entries(parsed)) {
|
|
1529
|
-
if (
|
|
1529
|
+
if (!isJsonObject(value)) continue;
|
|
1530
1530
|
const entry = value;
|
|
1531
1531
|
if (entry.platformIdentifier !== IOS_SIMULATOR_PLATFORM) continue;
|
|
1532
1532
|
runtimes.push({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as getExecutor } from "./exec-B81Qodjn.mjs";
|
|
2
2
|
import { n as stripAnsi, r as waitForChild, t as createLineReader } from "./process-output-Fpl8PYi8.mjs";
|
|
3
|
-
import { l as phaseLine } from "./command-output-
|
|
4
|
-
import { o as androidHome } from "./android-
|
|
3
|
+
import { l as phaseLine } from "./command-output-CPDq_90S.mjs";
|
|
4
|
+
import { o as androidHome } from "./android-DE8-JfGW.mjs";
|
|
5
5
|
import { a as spawnDeclared } from "./spawn-claims-Kqiifsk2.mjs";
|
|
6
|
-
import { a as readCcacheActivity, n as CCACHE_UNAVAILABLE } from "./ccache-
|
|
7
|
-
import { M as startBuildHeartbeat, y as HEARTBEAT_INTERVAL_MS } from "./toolchain-
|
|
6
|
+
import { a as readCcacheActivity, n as CCACHE_UNAVAILABLE } from "./ccache-CtbqWxIC.mjs";
|
|
7
|
+
import { M as startBuildHeartbeat, y as HEARTBEAT_INTERVAL_MS } from "./toolchain-SqehyPLw.mjs";
|
|
8
8
|
import { existsSync, mkdirSync, readFileSync, readdirSync, rmSync, statSync } from "node:fs";
|
|
9
9
|
import { dirname, isAbsolute, join, relative, sep } from "node:path";
|
|
10
10
|
import { fileURLToPath } from "node:url";
|