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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as process_identity_exports } from "./process-identity-Biv3arCO.mjs";
|
|
2
2
|
import { t as getExecutor } from "./exec-B81Qodjn.mjs";
|
|
3
|
-
import { i as listLeaseFiles, r as leaseIsExpired } from "./device-lease-
|
|
4
|
-
import { r as readWorkspaceState$1, w as workspaceLogsDir$1 } from "./workspace-state-
|
|
3
|
+
import { i as listLeaseFiles, r as leaseIsExpired } from "./device-lease-C309csaB.mjs";
|
|
4
|
+
import { r as readWorkspaceState$1, w as workspaceLogsDir$1 } from "./workspace-state-CvgTFe-h.mjs";
|
|
5
5
|
import { closeSync, fstatSync, openSync, readFileSync, readSync, readdirSync, statSync } from "node:fs";
|
|
6
6
|
import { basename, join, resolve } from "node:path";
|
|
7
7
|
import { agentDeviceStateDirs, readViewedDevices } from "@stim-cli/core/state";
|
package/dist/{agent-device-usage-output-DVyv_hWj.mjs → agent-device-usage-output-VPaOgGaF.mjs}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as process_identity_exports } from "./process-identity-Biv3arCO.mjs";
|
|
2
2
|
import { t as getExecutor } from "./exec-B81Qodjn.mjs";
|
|
3
3
|
import { j as formatBytes } from "./config-D0LhTY3S.mjs";
|
|
4
|
-
import { o as formatLongDuration } from "./command-output-
|
|
5
|
-
import { c as listWorkspaceDirs } from "./workspaces-
|
|
6
|
-
import { a as envDir, l as processMatches, s as parseAgentDeviceRecord } from "./activity-
|
|
4
|
+
import { o as formatLongDuration } from "./command-output-CPDq_90S.mjs";
|
|
5
|
+
import { c as listWorkspaceDirs } from "./workspaces-C4kqIOlx.mjs";
|
|
6
|
+
import { a as envDir, l as processMatches, s as parseAgentDeviceRecord } from "./activity-BaMpUQ4-.mjs";
|
|
7
7
|
import { existsSync, mkdirSync, readFileSync, readdirSync, realpathSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
8
8
|
import { dirname, isAbsolute, join, relative, resolve, sep } from "node:path";
|
|
9
9
|
import { agentDeviceUsageFile, readAgentDeviceUsageCache, readSwiftpmCacheUsage, swiftpmCacheUsageFile } from "@stim-cli/core/state";
|
|
@@ -2,41 +2,41 @@ import { n as ownership_claim_exports } from "./process-identity-Biv3arCO.mjs";
|
|
|
2
2
|
import { t as getExecutor } from "./exec-B81Qodjn.mjs";
|
|
3
3
|
import { E as upsertProject, L as deviceSlotFileKey, V as parseDeviceSlotOption, W as validateDeviceSlot, p as getProject, u as getConcurrencyLimits, z as deviceSlotPlatforms } from "./config-D0LhTY3S.mjs";
|
|
4
4
|
import { I as projectSettingsContext, K as resolveProjectSettings, L as publicUrlSetting, N as metroWarmupUrlSetting, V as remoteEasFallbackSetting, W as resolveCacheProviderConfig, a as SETTING_SHAPE_REMEDY, at as detectProviders, g as deviceReclaimIdleMinutesSetting, j as metroPortSetting, q as resolveSettings, tt as tunnelModeSetting } from "./settings-Bbztm4oV.mjs";
|
|
5
|
-
import { _ as waitForBuild, g as releaseBuildLock, m as acquireBuildLock } from "./device-lease-
|
|
6
|
-
import { c as writeWorkspaceState, f as emulatorLogFile, i as recordWorkspaceUse, r as readWorkspaceState$1, w as workspaceLogsDir$1 } from "./workspace-state-
|
|
7
|
-
import { _ as stepTimer, f as refuseNoProject, g as stepClock, i as formatDuration, l as phaseLine } from "./command-output-
|
|
8
|
-
import { I as workspaceDevServerMode, R as writeWorkspaceLaunch, c as projectShortcut, d as projectRegistry, r as findProjectRoot, t as NO_PROJECT_REFUSAL } from "./project-
|
|
9
|
-
import { G as probeEmulatorSerial, J as resolveOwnedAvdSerial, O as listAdbDevices, U as physicalDeviceModel, Y as resolvePhysicalDevice, a as androidDeviceAbi, ht as configuredAndroidEmulatorApp, j as listInstalledSystemImages, tt as waitForBoot } from "./android-
|
|
10
|
-
import { s as pidExists, u as resolveProjectMetro } from "./metro-
|
|
11
|
-
import { F as acquireBuildSlot, L as releaseBuildSlot } from "./workspaces-
|
|
12
|
-
import { At as createRunRecorder, Ft as recordRunStats, It as statsProjectKey$1, Nt as recordCapacityRefusal, Ot as startBuildProgress, jt as readRunEstimates, kt as tapBuildLog, t as budgetGate, yt as NO_BUILD_PROGRESS } from "./budget-
|
|
13
|
-
import { S as withNativeBuildRun, b as runCancellation, p as cancelledFailure, x as runCancellationSignal } from "./tailnet-
|
|
5
|
+
import { _ as waitForBuild, g as releaseBuildLock, m as acquireBuildLock } from "./device-lease-C309csaB.mjs";
|
|
6
|
+
import { c as writeWorkspaceState, f as emulatorLogFile, i as recordWorkspaceUse, r as readWorkspaceState$1, w as workspaceLogsDir$1 } from "./workspace-state-CvgTFe-h.mjs";
|
|
7
|
+
import { _ as stepTimer, f as refuseNoProject, g as stepClock, i as formatDuration, l as phaseLine } from "./command-output-CPDq_90S.mjs";
|
|
8
|
+
import { I as workspaceDevServerMode, R as writeWorkspaceLaunch, c as projectShortcut, d as projectRegistry, r as findProjectRoot, t as NO_PROJECT_REFUSAL } from "./project-DX8fXyw_.mjs";
|
|
9
|
+
import { G as probeEmulatorSerial, J as resolveOwnedAvdSerial, O as listAdbDevices, U as physicalDeviceModel, Y as resolvePhysicalDevice, a as androidDeviceAbi, ht as configuredAndroidEmulatorApp, j as listInstalledSystemImages, tt as waitForBoot } from "./android-DE8-JfGW.mjs";
|
|
10
|
+
import { s as pidExists, u as resolveProjectMetro } from "./metro-_ZIE3Axg.mjs";
|
|
11
|
+
import { F as acquireBuildSlot, L as releaseBuildSlot } from "./workspaces-C4kqIOlx.mjs";
|
|
12
|
+
import { At as createRunRecorder, Ft as recordRunStats, It as statsProjectKey$1, Nt as recordCapacityRefusal, Ot as startBuildProgress, jt as readRunEstimates, kt as tapBuildLog, t as budgetGate, yt as NO_BUILD_PROGRESS } from "./budget-RFbwFpG5.mjs";
|
|
13
|
+
import { S as withNativeBuildRun, b as runCancellation, p as cancelledFailure, x as runCancellationSignal } from "./tailnet-D7-tE_ug.mjs";
|
|
14
14
|
import { r as createNdjsonWriter } from "./ndjson-GOnbyvso.mjs";
|
|
15
|
-
import { f as resolveEasCliBin, i as checkEasAuth, m as uploadRemote, p as resolveRemote } from "./remote-cache-
|
|
16
|
-
import { f as setRemoteLogSink, g as parseBuildMachineOption, y as resolveBuildPlacement } from "./client-
|
|
17
|
-
import { c as startDevServer } from "./start-
|
|
18
|
-
import { d as verifyAndroidReleaseLaunch, f as verifyLaunch } from "./launch-verify-
|
|
19
|
-
import { b as launchAndroidReleaseApp, h as installAndroidApp, r as DEFAULT_METRO_PORT, t as ADB_INSTALL_TIMEOUT_MS, y as launchAndroidApp } from "./app-install-
|
|
20
|
-
import { n as ensureWorkspaceStorageSafely, r as isPhysicalDeviceRequest, t as ensureDevServer } from "./native-runtime-
|
|
21
|
-
import { n as devicePlacementRecord } from "./placement-log-
|
|
22
|
-
import { t as CCACHE_NOT_RUN } from "./ccache-
|
|
23
|
-
import { n as DeviceAdmissionRefusal, r as checkDeviceCapacity } from "./device-capacity-
|
|
24
|
-
import { S as pooledAndroidDevice, a as PLATFORM, b as noDeviceDiagnostic, g as dumpApkManifest, h as displayPath, o as androidBuildOptions, p as apkPackage, r as NO_DEVICE, s as androidDevClientScheme } from "./support-
|
|
25
|
-
import { r as resolveAndroidRunPlan, t as androidDeviceSelectorRefusal } from "./plan-
|
|
26
|
-
import { t as acquireAndroidArtifact } from "./artifact-
|
|
27
|
-
import { a as acquireRunLease, d as runLease, f as waitFlagConflict, o as leaseExpiryText, u as releaseLeaseOnSignal } from "./device-lease-run-
|
|
28
|
-
import { a as reportAndroidResult, i as persistLastBuild, n as finishAndroidUpload } from "./result-
|
|
29
|
-
import { r as hostedMetroSettings } from "./metro-gateway-
|
|
30
|
-
import { a as writeHostedAndroid, i as writeDevicePlacement, t as readHostedAndroid } from "./ios-state-
|
|
31
|
-
import { a as refusePlan, c as devicePlacementLine, i as printPlan, n as planFlagRefusal, o as checkEasFallback, s as automaticDevicePlacement } from "./build-plan-
|
|
32
|
-
import { n as prepareHostedAndroid, t as placeHostedAndroid } from "./hosted-android-
|
|
33
|
-
import { r as siblingPlatformSlots, t as launchSlotScope } from "./slot-launch-
|
|
34
|
-
import { S as ownedSessionName, a as ensureMetroReachable, c as remoteAndroidDeps, n as binOnPath, o as ensureRemoteBootOwned, u as resolveRemoteContext } from "./device-remote-
|
|
35
|
-
import { a as resolveEasDevelopmentBuild, r as isEasBuildFailure } from "./eas-build-
|
|
36
|
-
import { n as verifyCollectorOwnership } from "./ownership-
|
|
37
|
-
import { a as AvdRecoveryError, i as AvdBootError, n as ensureBooted, o as warmMetro, r as ensureOwnedDevice, t as didSetUpDevice } from "./device-
|
|
38
|
-
import { t as selectFromPool } from "./device-pool-
|
|
39
|
-
import { r as finishAndroidRun } from "./launch-
|
|
15
|
+
import { f as resolveEasCliBin, i as checkEasAuth, m as uploadRemote, p as resolveRemote } from "./remote-cache-fxcl5C-L.mjs";
|
|
16
|
+
import { f as setRemoteLogSink, g as parseBuildMachineOption, y as resolveBuildPlacement } from "./client-zqjFd79D.mjs";
|
|
17
|
+
import { c as startDevServer } from "./start-CRkG-mZ7.mjs";
|
|
18
|
+
import { d as verifyAndroidReleaseLaunch, f as verifyLaunch } from "./launch-verify-Dl78EVgR.mjs";
|
|
19
|
+
import { b as launchAndroidReleaseApp, h as installAndroidApp, r as DEFAULT_METRO_PORT, t as ADB_INSTALL_TIMEOUT_MS, y as launchAndroidApp } from "./app-install-Cg9YJy3x.mjs";
|
|
20
|
+
import { n as ensureWorkspaceStorageSafely, r as isPhysicalDeviceRequest, t as ensureDevServer } from "./native-runtime-D024BAvm.mjs";
|
|
21
|
+
import { n as devicePlacementRecord } from "./placement-log-BItXET1x.mjs";
|
|
22
|
+
import { t as CCACHE_NOT_RUN } from "./ccache-CtbqWxIC.mjs";
|
|
23
|
+
import { n as DeviceAdmissionRefusal, r as checkDeviceCapacity } from "./device-capacity-DrwHwR97.mjs";
|
|
24
|
+
import { S as pooledAndroidDevice, a as PLATFORM, b as noDeviceDiagnostic, g as dumpApkManifest, h as displayPath, o as androidBuildOptions, p as apkPackage, r as NO_DEVICE, s as androidDevClientScheme } from "./support-Ca6PZbpr.mjs";
|
|
25
|
+
import { r as resolveAndroidRunPlan, t as androidDeviceSelectorRefusal } from "./plan-Jwu_vr-F.mjs";
|
|
26
|
+
import { t as acquireAndroidArtifact } from "./artifact-DXk_Fle_.mjs";
|
|
27
|
+
import { a as acquireRunLease, d as runLease, f as waitFlagConflict, o as leaseExpiryText, u as releaseLeaseOnSignal } from "./device-lease-run-Baelt3nc.mjs";
|
|
28
|
+
import { a as reportAndroidResult, i as persistLastBuild, n as finishAndroidUpload } from "./result-BrfgXtdO.mjs";
|
|
29
|
+
import { r as hostedMetroSettings } from "./metro-gateway-BzlQZQmU.mjs";
|
|
30
|
+
import { a as writeHostedAndroid, i as writeDevicePlacement, t as readHostedAndroid } from "./ios-state-BsXMwo5y.mjs";
|
|
31
|
+
import { a as refusePlan, c as devicePlacementLine, i as printPlan, n as planFlagRefusal, o as checkEasFallback, s as automaticDevicePlacement } from "./build-plan-CRjAA6Qi.mjs";
|
|
32
|
+
import { n as prepareHostedAndroid, t as placeHostedAndroid } from "./hosted-android-C-D8Dj0_.mjs";
|
|
33
|
+
import { r as siblingPlatformSlots, t as launchSlotScope } from "./slot-launch-CeCRr6MK.mjs";
|
|
34
|
+
import { S as ownedSessionName, a as ensureMetroReachable, c as remoteAndroidDeps, n as binOnPath, o as ensureRemoteBootOwned, u as resolveRemoteContext } from "./device-remote-DjsNw8DD.mjs";
|
|
35
|
+
import { a as resolveEasDevelopmentBuild, r as isEasBuildFailure } from "./eas-build-0gadvrca.mjs";
|
|
36
|
+
import { n as verifyCollectorOwnership } from "./ownership-BrjepDiv.mjs";
|
|
37
|
+
import { a as AvdRecoveryError, i as AvdBootError, n as ensureBooted, o as warmMetro, r as ensureOwnedDevice, t as didSetUpDevice } from "./device-D4DqjSZZ.mjs";
|
|
38
|
+
import { t as selectFromPool } from "./device-pool-DtK9S6AD.mjs";
|
|
39
|
+
import { r as finishAndroidRun } from "./launch-V1zqiOYn.mjs";
|
|
40
40
|
import { t as unsupportedPlan } from "./project-plan-BPwbLwQu.mjs";
|
|
41
41
|
import { basename, join } from "node:path";
|
|
42
42
|
import { hostedAndroidStatus, parseMachine } from "@stim-cli/core/state";
|
|
@@ -3,11 +3,11 @@ import { t as getExecutor } from "./exec-B81Qodjn.mjs";
|
|
|
3
3
|
import { C as saveConfig, D as withConfigLock$1, H as projectDeviceSlots, I as assignSlotDevice, U as removeSlotDevice, _ as loadConfig$1, c as ensureConfig, d as getConfigDir, f as getConfigPath$1, z as deviceSlotPlatforms } from "./config-D0LhTY3S.mjs";
|
|
4
4
|
import { c as androidDataPartitionSizeBytes } from "./settings-Bbztm4oV.mjs";
|
|
5
5
|
import { n as settingDefault, r as stimDesktopInstalled, t as STIM_DESKTOP_OPEN_OPTIONS } from "./stim-desktop-8GQX2OV8.mjs";
|
|
6
|
-
import { n as readCreatedDevices$1, r as recordCreatedDevice, t as forgetCreatedDevice } from "./created-devices-
|
|
7
|
-
import { d as signalProcessTree, s as pidExists } from "./metro-
|
|
6
|
+
import { n as readCreatedDevices$1, r as recordCreatedDevice, t as forgetCreatedDevice } from "./created-devices-CXBMtoj5.mjs";
|
|
7
|
+
import { d as signalProcessTree, s as pidExists } from "./metro-_ZIE3Axg.mjs";
|
|
8
8
|
import { join } from "node:path";
|
|
9
9
|
import { dirname as dirname$1, isAbsolute as isAbsolute$1, join as join$1, resolve as resolve$1 } from "path";
|
|
10
|
-
import { ANDROID_EMULATOR_APPS, getParkedMax, loadConfig, settingDefinition } from "@stim-cli/core/state";
|
|
10
|
+
import { ANDROID_EMULATOR_APPS, getParkedMax, isJsonObject, loadConfig, settingDefinition } from "@stim-cli/core/state";
|
|
11
11
|
import { existsSync, lstatSync, mkdirSync, openSync, readFileSync, readdirSync, realpathSync, renameSync, rmSync, statSync, writeFileSync } from "fs";
|
|
12
12
|
import { homedir, tmpdir } from "os";
|
|
13
13
|
import { isDeepStrictEqual } from "node:util";
|
|
@@ -34,7 +34,7 @@ function parkedMaxSetting(platform, options = {}) {
|
|
|
34
34
|
return getParkedMax(platform, options);
|
|
35
35
|
}
|
|
36
36
|
function isParkedRecord(value, platform) {
|
|
37
|
-
if (
|
|
37
|
+
if (!isJsonObject(value)) return false;
|
|
38
38
|
const record = value;
|
|
39
39
|
return typeof record.udid === "string" && typeof record.name === "string" && record.name.startsWith("stim-") && typeof record.parkedAt === "string" && (platform === "android" ? record.udid === record.name && /^stim-[A-Za-z0-9._-]+$/.test(record.name) && typeof record.systemImage === "string" && typeof record.configuration === "string" && (record.packageName === void 0 || typeof record.packageName === "string") && (record.cacheKey === void 0 || typeof record.cacheKey === "string") : typeof record.deviceTypeIdentifier === "string" && typeof record.runtimeIdentifier === "string" && typeof record.simslimManaged === "boolean" && (record.bundleId === void 0 || typeof record.bundleId === "string") && (record.cacheKey === void 0 || typeof record.cacheKey === "string") && (record.schemeApprovals === void 0 || Array.isArray(record.schemeApprovals) && record.schemeApprovals.every((v) => typeof v === "string")));
|
|
40
40
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { d as getConfigDir } from "./config-D0LhTY3S.mjs";
|
|
2
2
|
import { r as register } from "./cache-manifest-qA3dT2x2.mjs";
|
|
3
3
|
import { m as defaultAndroidLayout } from "./settings-Bbztm4oV.mjs";
|
|
4
|
-
import { D as withDirLock$1, p as ensureWorkspaceStorage } from "./workspace-state-
|
|
4
|
+
import { D as withDirLock$1, p as ensureWorkspaceStorage } from "./workspace-state-CvgTFe-h.mjs";
|
|
5
5
|
import { accessSync, constants, existsSync, mkdirSync, readFileSync, realpathSync, renameSync, statSync, writeFileSync } from "node:fs";
|
|
6
6
|
import { join } from "node:path";
|
|
7
7
|
import { isJsonObject, readJsonFile } from "@stim-cli/core/state";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-
|
|
2
|
-
import { E as resolveVariant, T as resolveSystemImage, _ as findAapt, b as noDeviceDiagnostic, d as androidVariantSetting, f as apkDevClientFacts, g as dumpApkManifest, h as displayPath, i as NO_FINGERPRINT, p as apkPackage, r as NO_DEVICE, s as androidDevClientScheme, u as androidSystemImageSetting, x as parseXmltree, y as isReleaseVariant } from "./support-
|
|
3
|
-
import { r as lastBuildRecord, t as androidFacts } from "./result-
|
|
4
|
-
import { i as runAndroidOperation, n as registerAndroid, r as runAndroid, t as androidCommand } from "./android-
|
|
5
|
-
import { a as killPreviousCollector, i as collectorLogFile, o as startCollector } from "./launch-
|
|
1
|
+
import { i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-CPDq_90S.mjs";
|
|
2
|
+
import { E as resolveVariant, T as resolveSystemImage, _ as findAapt, b as noDeviceDiagnostic, d as androidVariantSetting, f as apkDevClientFacts, g as dumpApkManifest, h as displayPath, i as NO_FINGERPRINT, p as apkPackage, r as NO_DEVICE, s as androidDevClientScheme, u as androidSystemImageSetting, x as parseXmltree, y as isReleaseVariant } from "./support-Ca6PZbpr.mjs";
|
|
3
|
+
import { r as lastBuildRecord, t as androidFacts } from "./result-BrfgXtdO.mjs";
|
|
4
|
+
import { i as runAndroidOperation, n as registerAndroid, r as runAndroid, t as androidCommand } from "./android-CLbBJ2ve.mjs";
|
|
5
|
+
import { a as killPreviousCollector, i as collectorLogFile, o as startCollector } from "./launch-V1zqiOYn.mjs";
|
|
6
6
|
export { NO_DEVICE, NO_FINGERPRINT, androidDevClientScheme, androidFacts, androidSystemImageSetting, androidVariantSetting, apkDevClientFacts, apkPackage, collectorLogFile, androidCommand as default, displayPath, dumpApkManifest, findAapt, formatDuration, isReleaseVariant, killPreviousCollector, lastBuildRecord, noDeviceDiagnostic, parseXmltree, phaseLine, registerAndroid, resolveSystemImage, resolveVariant, runAndroid, runAndroidOperation, shortHash, startCollector };
|
package/dist/api-run.mjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { t as StimError } from "./api-zuX3ynYN.mjs";
|
|
2
2
|
import { E as upsertProject, p as getProject, y as refuseRelativeStimPaths } from "./config-D0LhTY3S.mjs";
|
|
3
3
|
import { K as resolveProjectSettings, Q as settingShapeErrors, a as SETTING_SHAPE_REMEDY } from "./settings-Bbztm4oV.mjs";
|
|
4
|
-
import { i as recordWorkspaceUse, p as ensureWorkspaceStorage, w as workspaceLogsDir$1, x as workspaceDir } from "./workspace-state-
|
|
5
|
-
import { l as phaseLine } from "./command-output-
|
|
6
|
-
import { d as projectRegistry } from "./project-
|
|
7
|
-
import { Dt as recordFinishedBuild, Ot as startBuildProgress, kt as tapBuildLog } from "./budget-
|
|
8
|
-
import { S as withNativeBuildRun, x as runCancellationSignal } from "./tailnet-
|
|
4
|
+
import { i as recordWorkspaceUse, p as ensureWorkspaceStorage, w as workspaceLogsDir$1, x as workspaceDir } from "./workspace-state-CvgTFe-h.mjs";
|
|
5
|
+
import { l as phaseLine } from "./command-output-CPDq_90S.mjs";
|
|
6
|
+
import { d as projectRegistry } from "./project-DX8fXyw_.mjs";
|
|
7
|
+
import { Dt as recordFinishedBuild, Ot as startBuildProgress, kt as tapBuildLog } from "./budget-RFbwFpG5.mjs";
|
|
8
|
+
import { S as withNativeBuildRun, x as runCancellationSignal } from "./tailnet-D7-tE_ug.mjs";
|
|
9
9
|
import { r as createNdjsonWriter } from "./ndjson-GOnbyvso.mjs";
|
|
10
|
-
import { y as resolveBuildPlacement } from "./client-
|
|
11
|
-
import { n as macosDir } from "./state-
|
|
12
|
-
import { n as buildAndroidOperation, t as buildIosOperation } from "./build-
|
|
13
|
-
import { i as runAndroidOperation } from "./android-
|
|
14
|
-
import { r as runIosOperation } from "./ios-
|
|
15
|
-
import { n as runMacos, r as buildMacosBundle } from "./macos-
|
|
16
|
-
import { c as stopWorkspaceNow } from "./stop-
|
|
17
|
-
import { t as runWeb } from "./web-
|
|
10
|
+
import { y as resolveBuildPlacement } from "./client-zqjFd79D.mjs";
|
|
11
|
+
import { n as macosDir } from "./state-BUpAmt2r.mjs";
|
|
12
|
+
import { n as buildAndroidOperation, t as buildIosOperation } from "./build-COBA1tBc.mjs";
|
|
13
|
+
import { i as runAndroidOperation } from "./android-CLbBJ2ve.mjs";
|
|
14
|
+
import { r as runIosOperation } from "./ios-CQ8bHQXB.mjs";
|
|
15
|
+
import { n as runMacos, r as buildMacosBundle } from "./macos-D7irBW3A.mjs";
|
|
16
|
+
import { c as stopWorkspaceNow } from "./stop-BO80KJoT.mjs";
|
|
17
|
+
import { t as runWeb } from "./web-BTjzE8mc.mjs";
|
|
18
18
|
import { mkdirSync, mkdtempSync, realpathSync, rmSync } from "node:fs";
|
|
19
19
|
import { join } from "node:path";
|
|
20
20
|
import { queryJsonLogs } from "@stim-cli/core/state";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as debugLog, t as getExecutor } from "./exec-B81Qodjn.mjs";
|
|
2
|
-
import { R as deviceHoldsApk, g as listUserApps, k as uninstallIosApp, u as iosSimulatorFailureAdvice, z as deviceHoldsBundle } from "./ios-
|
|
2
|
+
import { R as deviceHoldsApk, g as listUserApps, k as uninstallIosApp, u as iosSimulatorFailureAdvice, z as deviceHoldsBundle } from "./ios-o896T9PE.mjs";
|
|
3
3
|
import { t as DEV_MENU_LAUNCH_ARGS } from "./ios-device-B1B14xND.mjs";
|
|
4
4
|
import { join } from "node:path";
|
|
5
5
|
//#region src/engine/app-schemes.ts
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { n as ownership_claim_exports } from "./process-identity-Biv3arCO.mjs";
|
|
2
|
-
import { A as providerDownloadPath, j as providerUploadOutcome, k as prepareProviderDownloadDir, v as waitForSharedBuild } from "./device-lease-
|
|
3
|
-
import { x as workspaceDir } from "./workspace-state-
|
|
4
|
-
import { _ as stepTimer, i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-
|
|
5
|
-
import { x as runCancellationSignal } from "./tailnet-
|
|
6
|
-
import { a as easAuthNote, s as isEasAuthFailureText, t as RESOLVE_TIMEOUT_MS } from "./remote-cache-
|
|
7
|
-
import { _ as requireLocalBuild, c as offloadPlacement, h as namedBuildMachine, i as closeOffload, l as placementLoad, n as buildPlacementCandidates, o as offloadBuild, p as OffloadRefusal, r as chooseBuildMachine, u as remotePhaseText } from "./client-
|
|
8
|
-
import { i as skippedMissReason } from "./miss-reason-
|
|
9
|
-
import { t as buildPlacementRecord } from "./placement-log-
|
|
2
|
+
import { A as providerDownloadPath, j as providerUploadOutcome, k as prepareProviderDownloadDir, v as waitForSharedBuild } from "./device-lease-C309csaB.mjs";
|
|
3
|
+
import { x as workspaceDir } from "./workspace-state-CvgTFe-h.mjs";
|
|
4
|
+
import { _ as stepTimer, i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-CPDq_90S.mjs";
|
|
5
|
+
import { x as runCancellationSignal } from "./tailnet-D7-tE_ug.mjs";
|
|
6
|
+
import { a as easAuthNote, s as isEasAuthFailureText, t as RESOLVE_TIMEOUT_MS } from "./remote-cache-fxcl5C-L.mjs";
|
|
7
|
+
import { _ as requireLocalBuild, c as offloadPlacement, h as namedBuildMachine, i as closeOffload, l as placementLoad, n as buildPlacementCandidates, o as offloadBuild, p as OffloadRefusal, r as chooseBuildMachine, u as remotePhaseText } from "./client-zqjFd79D.mjs";
|
|
8
|
+
import { i as skippedMissReason } from "./miss-reason-SuTptY-I.mjs";
|
|
9
|
+
import { t as buildPlacementRecord } from "./placement-log-BItXET1x.mjs";
|
|
10
10
|
import { t as runArtifactLifecycle } from "./artifact-lifecycle-DzPpBYvK.mjs";
|
|
11
|
-
import { S as compilationCacheActivityLine, _ as COMPILATION_CACHE_NOT_RUN } from "./toolchain-
|
|
12
|
-
import { S as xcodeFailureReport, p as printDiagnostics } from "./support-
|
|
13
|
-
import { r as finishIosUpload, t as IosRecipeRefusal } from "./ios-project-
|
|
11
|
+
import { S as compilationCacheActivityLine, _ as COMPILATION_CACHE_NOT_RUN } from "./toolchain-SqehyPLw.mjs";
|
|
12
|
+
import { S as xcodeFailureReport, p as printDiagnostics } from "./support-Co0wk8Cv.mjs";
|
|
13
|
+
import { r as finishIosUpload, t as IosRecipeRefusal } from "./ios-project-BeOXKPt2.mjs";
|
|
14
14
|
import { rmSync } from "node:fs";
|
|
15
15
|
import { join } from "node:path";
|
|
16
16
|
import { machineCapacity } from "@stim-cli/core/state";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { n as ownership_claim_exports } from "./process-identity-Biv3arCO.mjs";
|
|
2
|
-
import { A as providerDownloadPath, k as prepareProviderDownloadDir, v as waitForSharedBuild } from "./device-lease-
|
|
3
|
-
import { x as workspaceDir } from "./workspace-state-
|
|
4
|
-
import { _ as stepTimer, i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-
|
|
5
|
-
import { x as runCancellationSignal } from "./tailnet-
|
|
6
|
-
import { a as easAuthNote, s as isEasAuthFailureText, t as RESOLVE_TIMEOUT_MS } from "./remote-cache-
|
|
7
|
-
import { _ as requireLocalBuild, c as offloadPlacement, h as namedBuildMachine, i as closeOffload, l as placementLoad, n as buildPlacementCandidates, o as offloadBuild, p as OffloadRefusal, r as chooseBuildMachine, u as remotePhaseText } from "./client-
|
|
8
|
-
import { i as skippedMissReason } from "./miss-reason-
|
|
9
|
-
import { t as buildPlacementRecord } from "./placement-log-
|
|
2
|
+
import { A as providerDownloadPath, k as prepareProviderDownloadDir, v as waitForSharedBuild } from "./device-lease-C309csaB.mjs";
|
|
3
|
+
import { x as workspaceDir } from "./workspace-state-CvgTFe-h.mjs";
|
|
4
|
+
import { _ as stepTimer, i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-CPDq_90S.mjs";
|
|
5
|
+
import { x as runCancellationSignal } from "./tailnet-D7-tE_ug.mjs";
|
|
6
|
+
import { a as easAuthNote, s as isEasAuthFailureText, t as RESOLVE_TIMEOUT_MS } from "./remote-cache-fxcl5C-L.mjs";
|
|
7
|
+
import { _ as requireLocalBuild, c as offloadPlacement, h as namedBuildMachine, i as closeOffload, l as placementLoad, n as buildPlacementCandidates, o as offloadBuild, p as OffloadRefusal, r as chooseBuildMachine, u as remotePhaseText } from "./client-zqjFd79D.mjs";
|
|
8
|
+
import { i as skippedMissReason } from "./miss-reason-SuTptY-I.mjs";
|
|
9
|
+
import { t as buildPlacementRecord } from "./placement-log-BItXET1x.mjs";
|
|
10
10
|
import { t as runArtifactLifecycle } from "./artifact-lifecycle-DzPpBYvK.mjs";
|
|
11
|
-
import { n as CCACHE_UNAVAILABLE, r as ccacheActivityLine, t as CCACHE_NOT_RUN } from "./ccache-
|
|
12
|
-
import { c as formatDiagnostic } from "./gradle-
|
|
13
|
-
import { a as PLATFORM, h as displayPath } from "./support-
|
|
14
|
-
import { i as AndroidRecipeRefusal } from "./plan-
|
|
11
|
+
import { n as CCACHE_UNAVAILABLE, r as ccacheActivityLine, t as CCACHE_NOT_RUN } from "./ccache-CtbqWxIC.mjs";
|
|
12
|
+
import { c as formatDiagnostic } from "./gradle-CZZo1TSA.mjs";
|
|
13
|
+
import { a as PLATFORM, h as displayPath } from "./support-Ca6PZbpr.mjs";
|
|
14
|
+
import { i as AndroidRecipeRefusal } from "./plan-Jwu_vr-F.mjs";
|
|
15
15
|
import { rmSync } from "node:fs";
|
|
16
16
|
import { join } from "node:path";
|
|
17
17
|
import { machineCapacity } from "@stim-cli/core/state";
|
|
@@ -2,18 +2,18 @@ import { t as getExecutor } from "./exec-B81Qodjn.mjs";
|
|
|
2
2
|
import { t as spawnEntry } from "./spawn-entry-Dcb7sDUz.mjs";
|
|
3
3
|
import { p as getProject } from "./config-D0LhTY3S.mjs";
|
|
4
4
|
import { a as SETTING_SHAPE_REMEDY, j as metroPortSetting, rt as webSettings } from "./settings-Bbztm4oV.mjs";
|
|
5
|
-
import { r as readWorkspaceState, w as workspaceLogsDir, x as workspaceDir } from "./workspace-state-
|
|
6
|
-
import { l as phaseLine } from "./command-output-
|
|
7
|
-
import { _ as detectIsExpo, y as isPackageResolvable } from "./project-
|
|
8
|
-
import { u as resolveProjectMetro } from "./metro-
|
|
9
|
-
import { P as resolveSupervisorTarget, _ as teardownBrowserHeld } from "./workspaces-
|
|
10
|
-
import { a as withWorkspaceProcessLock, i as reserveBrowserPort, n as getNamedPort } from "./named-ports-
|
|
5
|
+
import { r as readWorkspaceState, w as workspaceLogsDir, x as workspaceDir } from "./workspace-state-CvgTFe-h.mjs";
|
|
6
|
+
import { l as phaseLine } from "./command-output-CPDq_90S.mjs";
|
|
7
|
+
import { _ as detectIsExpo, y as isPackageResolvable } from "./project-DX8fXyw_.mjs";
|
|
8
|
+
import { u as resolveProjectMetro } from "./metro-_ZIE3Axg.mjs";
|
|
9
|
+
import { P as resolveSupervisorTarget, _ as teardownBrowserHeld } from "./workspaces-C4kqIOlx.mjs";
|
|
10
|
+
import { a as withWorkspaceProcessLock, i as reserveBrowserPort, n as getNamedPort } from "./named-ports-O1TIl7tx.mjs";
|
|
11
11
|
import { s as readNdjsonGenerations } from "./ndjson-GOnbyvso.mjs";
|
|
12
|
-
import { o as resolveWorkspaceMetroPort } from "./start-
|
|
12
|
+
import { o as resolveWorkspaceMetroPort } from "./start-CRkG-mZ7.mjs";
|
|
13
13
|
import { n as windowsLauncherArgs } from "./detached-entry-BXq4fIl-.mjs";
|
|
14
|
-
import { d as webLogFile, o as readWebRecord, p as webSupervisorLogFile, s as updateWebRecord } from "./state-
|
|
15
|
-
import { c as readMetroRecords } from "./launch-verify-
|
|
16
|
-
import { a as sleep } from "./native-runtime-
|
|
14
|
+
import { d as webLogFile, o as readWebRecord, p as webSupervisorLogFile, s as updateWebRecord } from "./state-lqxdOH_g.mjs";
|
|
15
|
+
import { c as readMetroRecords } from "./launch-verify-Dl78EVgR.mjs";
|
|
16
|
+
import { a as sleep } from "./native-runtime-D024BAvm.mjs";
|
|
17
17
|
import { n as sendToOwnedPage, t as liveWebRecord } from "./page-Bv9s2KwY.mjs";
|
|
18
18
|
import { a as findChrome, t as CHROME_INSTALL_REMEDY } from "./chrome-Dp2lMLBe.mjs";
|
|
19
19
|
import { mkdirSync, openSync } from "node:fs";
|
|
@@ -2,19 +2,19 @@ import { n as ownership_claim_exports, t as process_identity_exports } from "./p
|
|
|
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, P as measuredDirectorySize, _ as loadConfig$1, a as clearDevice, d as getConfigDir, j as formatBytes, o as clearSupervisor, p as getProject, z as deviceSlotPlatforms } from "./config-D0LhTY3S.mjs";
|
|
4
4
|
import { i as registeredCaches } from "./cache-manifest-qA3dT2x2.mjs";
|
|
5
|
-
import { h as listBuildLocks, i as listLeaseFiles, r as leaseIsExpired } from "./device-lease-
|
|
6
|
-
import { a as updateWorkspaceState, c as writeWorkspaceState, m as sharedBuildCache, r as readWorkspaceState$1, t as clearWorkspaceStateKey, w as workspaceLogsDir$1, x as workspaceDir } from "./workspace-state-
|
|
7
|
-
import { a as formatElapsed, l as phaseLine, o as formatLongDuration, u as plural } from "./command-output-
|
|
8
|
-
import { A as clearWorkspaceSupervisor, M as readPidFile } from "./project-
|
|
9
|
-
import { A as listAvds, I as ownedAvdDirectory, ft as readParked, it as isStimOwnedSim, rt as isStimOwnedAvd, st as dropParked, z as ownedAvdSerialResolver } from "./android-
|
|
10
|
-
import { r as killMetroTree, u as resolveProjectMetro } from "./metro-
|
|
11
|
-
import { C as recordGcResult, I as listBuildSlots, P as resolveSupervisorTarget, S as teardownParkedIosSim, T as canonicalPath, a as collectWorkspaceOutputs, b as teardownOwnedIosSim, f as withIdleWorkspace, g as eraseParkedIosSim, h as eraseParkedAvd, r as clearWorkspaceOutputs, v as teardownOwnedAvd, x as teardownParkedAvd } from "./workspaces-
|
|
12
|
-
import { a as withWorkspaceProcessLock, o as workspaceProcessLockError } from "./named-ports-
|
|
5
|
+
import { h as listBuildLocks, i as listLeaseFiles, r as leaseIsExpired } from "./device-lease-C309csaB.mjs";
|
|
6
|
+
import { a as updateWorkspaceState, c as writeWorkspaceState, m as sharedBuildCache, r as readWorkspaceState$1, t as clearWorkspaceStateKey, w as workspaceLogsDir$1, x as workspaceDir } from "./workspace-state-CvgTFe-h.mjs";
|
|
7
|
+
import { a as formatElapsed, l as phaseLine, o as formatLongDuration, u as plural } from "./command-output-CPDq_90S.mjs";
|
|
8
|
+
import { A as clearWorkspaceSupervisor, M as readPidFile } from "./project-DX8fXyw_.mjs";
|
|
9
|
+
import { A as listAvds, I as ownedAvdDirectory, ft as readParked, it as isStimOwnedSim, rt as isStimOwnedAvd, st as dropParked, z as ownedAvdSerialResolver } from "./android-DE8-JfGW.mjs";
|
|
10
|
+
import { r as killMetroTree, u as resolveProjectMetro } from "./metro-_ZIE3Axg.mjs";
|
|
11
|
+
import { C as recordGcResult, I as listBuildSlots, P as resolveSupervisorTarget, S as teardownParkedIosSim, T as canonicalPath, a as collectWorkspaceOutputs, b as teardownOwnedIosSim, f as withIdleWorkspace, g as eraseParkedIosSim, h as eraseParkedAvd, r as clearWorkspaceOutputs, v as teardownOwnedAvd, x as teardownParkedAvd } from "./workspaces-C4kqIOlx.mjs";
|
|
12
|
+
import { a as withWorkspaceProcessLock, o as workspaceProcessLockError } from "./named-ports-O1TIl7tx.mjs";
|
|
13
13
|
import { r as createNdjsonWriter } from "./ndjson-GOnbyvso.mjs";
|
|
14
14
|
import { n as supervisorError } from "./errors-DzkMYh8Q.mjs";
|
|
15
|
-
import { a as parseWatchmanPid, d as capacity, g as formatSpace, h as environmentState, i as parseWatchmanClients, n as parseTriggerCount, r as parseWatchRoots, t as parseSubscriberNames } from "./watchman-
|
|
16
|
-
import { i as createDeviceProcessTables, o as idleForMs, p as workspaceActivity, r as createActivityReader } from "./activity-
|
|
17
|
-
import { d as listAllIosSims, p as listIosDeviceTypes, y as parseRuntimeVersion } from "./ios-
|
|
15
|
+
import { a as parseWatchmanPid, d as capacity, g as formatSpace, h as environmentState, i as parseWatchmanClients, n as parseTriggerCount, r as parseWatchRoots, t as parseSubscriberNames } from "./watchman-CqmaGcIb.mjs";
|
|
16
|
+
import { i as createDeviceProcessTables, o as idleForMs, p as workspaceActivity, r as createActivityReader } from "./activity-BaMpUQ4-.mjs";
|
|
17
|
+
import { d as listAllIosSims, p as listIosDeviceTypes, y as parseRuntimeVersion } from "./ios-o896T9PE.mjs";
|
|
18
18
|
import { existsSync, mkdirSync, readFileSync, renameSync, rmSync, statSync, statfsSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { basename, dirname, isAbsolute, join, resolve, sep } from "node:path";
|
|
20
20
|
import { basename as basename$1, dirname as dirname$1, isAbsolute as isAbsolute$1, join as join$1, relative as relative$1, resolve as resolve$1 } from "path";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { E as upsertProject, p as getProject, u as getConcurrencyLimits } from "./config-D0LhTY3S.mjs";
|
|
2
2
|
import { K as resolveProjectSettings, W as resolveCacheProviderConfig, a as SETTING_SHAPE_REMEDY } from "./settings-Bbztm4oV.mjs";
|
|
3
|
-
import { _ as waitForBuild, g as releaseBuildLock, j as providerUploadOutcome, m as acquireBuildLock } from "./device-lease-
|
|
4
|
-
import { i as recordWorkspaceUse, w as workspaceLogsDir, x as workspaceDir } from "./workspace-state-
|
|
5
|
-
import { l as phaseLine } from "./command-output-
|
|
6
|
-
import { _ as detectIsExpo, d as projectRegistry } from "./project-
|
|
7
|
-
import { D as hostSystemImageArch } from "./android-
|
|
8
|
-
import { F as acquireBuildSlot, L as releaseBuildSlot } from "./workspaces-
|
|
9
|
-
import { At as createRunRecorder, Dt as recordFinishedBuild, Ft as recordRunStats, It as statsProjectKey, Ot as startBuildProgress, jt as readRunEstimates, kt as tapBuildLog } from "./budget-
|
|
10
|
-
import { S as withNativeBuildRun, x as runCancellationSignal } from "./tailnet-
|
|
3
|
+
import { _ as waitForBuild, g as releaseBuildLock, j as providerUploadOutcome, m as acquireBuildLock } from "./device-lease-C309csaB.mjs";
|
|
4
|
+
import { i as recordWorkspaceUse, w as workspaceLogsDir, x as workspaceDir } from "./workspace-state-CvgTFe-h.mjs";
|
|
5
|
+
import { l as phaseLine } from "./command-output-CPDq_90S.mjs";
|
|
6
|
+
import { _ as detectIsExpo, d as projectRegistry } from "./project-DX8fXyw_.mjs";
|
|
7
|
+
import { D as hostSystemImageArch } from "./android-DE8-JfGW.mjs";
|
|
8
|
+
import { F as acquireBuildSlot, L as releaseBuildSlot } from "./workspaces-C4kqIOlx.mjs";
|
|
9
|
+
import { At as createRunRecorder, Dt as recordFinishedBuild, Ft as recordRunStats, It as statsProjectKey, Ot as startBuildProgress, jt as readRunEstimates, kt as tapBuildLog } from "./budget-RFbwFpG5.mjs";
|
|
10
|
+
import { S as withNativeBuildRun, x as runCancellationSignal } from "./tailnet-D7-tE_ug.mjs";
|
|
11
11
|
import { r as createNdjsonWriter } from "./ndjson-GOnbyvso.mjs";
|
|
12
12
|
import { d as optimizationBuildProfile, l as artifactCachePolicy } from "./errors-DzkMYh8Q.mjs";
|
|
13
|
-
import { i as checkEasAuth, m as uploadRemote, p as resolveRemote } from "./remote-cache-
|
|
14
|
-
import { f as setRemoteLogSink, y as resolveBuildPlacement } from "./client-
|
|
15
|
-
import { m as listIosRuntimes } from "./ios-
|
|
16
|
-
import { n as ensureWorkspaceStorageSafely } from "./native-runtime-
|
|
17
|
-
import { A as readBundleId } from "./toolchain-
|
|
18
|
-
import { n as resolveAndroidBuildPlan } from "./plan-
|
|
19
|
-
import { t as acquireAndroidArtifact } from "./artifact-
|
|
20
|
-
import { i as persistLastBuild, n as finishAndroidUpload } from "./result-
|
|
21
|
-
import { c as iosProjectPathError, g as resolveIosBuildSetup, m as resolveConfiguration, x as simulatorBuildArch, y as resolveSchemeSelection } from "./support-
|
|
22
|
-
import { a as lastBuildRecord } from "./ios-project-
|
|
23
|
-
import { t as acquireIosArtifact } from "./artifact-
|
|
13
|
+
import { i as checkEasAuth, m as uploadRemote, p as resolveRemote } from "./remote-cache-fxcl5C-L.mjs";
|
|
14
|
+
import { f as setRemoteLogSink, y as resolveBuildPlacement } from "./client-zqjFd79D.mjs";
|
|
15
|
+
import { m as listIosRuntimes } from "./ios-o896T9PE.mjs";
|
|
16
|
+
import { n as ensureWorkspaceStorageSafely } from "./native-runtime-D024BAvm.mjs";
|
|
17
|
+
import { A as readBundleId } from "./toolchain-SqehyPLw.mjs";
|
|
18
|
+
import { n as resolveAndroidBuildPlan } from "./plan-Jwu_vr-F.mjs";
|
|
19
|
+
import { t as acquireAndroidArtifact } from "./artifact-DXk_Fle_.mjs";
|
|
20
|
+
import { i as persistLastBuild, n as finishAndroidUpload } from "./result-BrfgXtdO.mjs";
|
|
21
|
+
import { c as iosProjectPathError, g as resolveIosBuildSetup, m as resolveConfiguration, x as simulatorBuildArch, y as resolveSchemeSelection } from "./support-Co0wk8Cv.mjs";
|
|
22
|
+
import { a as lastBuildRecord } from "./ios-project-BeOXKPt2.mjs";
|
|
23
|
+
import { t as acquireIosArtifact } from "./artifact-Ctb2jpw6.mjs";
|
|
24
24
|
import { constants, copyFileSync, cpSync, mkdirSync, mkdtempSync, rmSync } from "node:fs";
|
|
25
25
|
import { basename, join } from "node:path";
|
|
26
26
|
import { loadCacheProvider } from "@stim-cli/cache";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { t as getExecutor } from "./exec-B81Qodjn.mjs";
|
|
2
2
|
import { _ as loadConfig$1, p as getProject } from "./config-D0LhTY3S.mjs";
|
|
3
3
|
import { Ft as removeTemporaryEntry, Pt as makeTemporaryDirectory, at as detectProviders, ot as planMetroReach } from "./settings-Bbztm4oV.mjs";
|
|
4
|
-
import { w as entryDir, y as artifactIn } from "./device-lease-
|
|
5
|
-
import { i as formatDuration, l as phaseLine, m as shortHash, u as plural } from "./command-output-
|
|
6
|
-
import { N as readRemoteSession, j as readMetroTunnel } from "./project-
|
|
7
|
-
import { Mt as readStats$1, s as peekBudget, wt as estimateBuild } from "./budget-
|
|
8
|
-
import { a as easAuthNote, f as resolveEasCliBin, s as isEasAuthFailureText } from "./remote-cache-
|
|
9
|
-
import { S as hostingMachines, h as namedBuildMachine, v as resolveBuildMachine } from "./client-
|
|
10
|
-
import { P as readHostMemoryPressure } from "./ios-
|
|
11
|
-
import { r as predictBuildMiss } from "./miss-reason-
|
|
12
|
-
import { s as peekDeviceSlots } from "./device-capacity-
|
|
13
|
-
import { d as requireHostedAppMode, o as call, s as connectHost } from "./hosted-client
|
|
14
|
-
import { r as readHostedNative, s as writeHostedNative } from "./ios-state-
|
|
15
|
-
import { n as prepareHostedNative } from "./hosted-native-
|
|
16
|
-
import { h as easCliSupport, m as MIN_EAS_CLI_SIMULATOR_VERSION, p as MIN_EAS_CLI_DEVICE_VERSION, s as readInstalledEasCliVersion } from "./device-remote-
|
|
17
|
-
import { i as staleNativeDirRefusal } from "./prebuild-
|
|
4
|
+
import { w as entryDir, y as artifactIn } from "./device-lease-C309csaB.mjs";
|
|
5
|
+
import { i as formatDuration, l as phaseLine, m as shortHash, u as plural } from "./command-output-CPDq_90S.mjs";
|
|
6
|
+
import { N as readRemoteSession, j as readMetroTunnel } from "./project-DX8fXyw_.mjs";
|
|
7
|
+
import { Mt as readStats$1, s as peekBudget, wt as estimateBuild } from "./budget-RFbwFpG5.mjs";
|
|
8
|
+
import { a as easAuthNote, f as resolveEasCliBin, s as isEasAuthFailureText } from "./remote-cache-fxcl5C-L.mjs";
|
|
9
|
+
import { S as hostingMachines, h as namedBuildMachine, v as resolveBuildMachine } from "./client-zqjFd79D.mjs";
|
|
10
|
+
import { P as readHostMemoryPressure } from "./ios-o896T9PE.mjs";
|
|
11
|
+
import { r as predictBuildMiss } from "./miss-reason-SuTptY-I.mjs";
|
|
12
|
+
import { s as peekDeviceSlots } from "./device-capacity-DrwHwR97.mjs";
|
|
13
|
+
import { d as requireHostedAppMode, o as call, s as connectHost } from "./hosted-client--hNFgixu.mjs";
|
|
14
|
+
import { r as readHostedNative, s as writeHostedNative } from "./ios-state-BsXMwo5y.mjs";
|
|
15
|
+
import { n as prepareHostedNative } from "./hosted-native-3KXZ5-qn.mjs";
|
|
16
|
+
import { h as easCliSupport, m as MIN_EAS_CLI_SIMULATOR_VERSION, p as MIN_EAS_CLI_DEVICE_VERSION, s as readInstalledEasCliVersion } from "./device-remote-DjsNw8DD.mjs";
|
|
17
|
+
import { i as staleNativeDirRefusal } from "./prebuild-DB_zLOLc.mjs";
|
|
18
18
|
import { automaticMachineEnabled, isJsonObject, machineCapacity, parseHostedChoice, parseHostedNativeOffer } from "@stim-cli/core/state";
|
|
19
19
|
import { resolveTieredBuild } from "@stim-cli/cache";
|
|
20
20
|
import chalk from "chalk";
|
|
@@ -2,9 +2,9 @@ import { t as getExecutor } from "./exec-B81Qodjn.mjs";
|
|
|
2
2
|
import { _ as loadConfig } from "./config-D0LhTY3S.mjs";
|
|
3
3
|
import { r as register } from "./cache-manifest-qA3dT2x2.mjs";
|
|
4
4
|
import { m as defaultAndroidLayout } from "./settings-Bbztm4oV.mjs";
|
|
5
|
-
import { h as sharedCcache, w as workspaceLogsDir } from "./workspace-state-
|
|
6
|
-
import { l as phaseLine } from "./command-output-
|
|
7
|
-
import { o as machineNumber } from "./budget-
|
|
5
|
+
import { h as sharedCcache, w as workspaceLogsDir } from "./workspace-state-CvgTFe-h.mjs";
|
|
6
|
+
import { l as phaseLine } from "./command-output-CPDq_90S.mjs";
|
|
7
|
+
import { o as machineNumber } from "./budget-RFbwFpG5.mjs";
|
|
8
8
|
import { readFileSync, realpathSync } from "node:fs";
|
|
9
9
|
import { isAbsolute, join, relative } from "node:path";
|
|
10
10
|
import chalk from "chalk";
|
|
@@ -5,23 +5,23 @@ import { runId } from "@stim-cli/core/state";
|
|
|
5
5
|
import { Command } from "commander";
|
|
6
6
|
//#region bin/cli.ts
|
|
7
7
|
const commands = /* @__PURE__ */ new Map([
|
|
8
|
-
["doctor", () => import("./doctor-
|
|
9
|
-
["worktree", () => import("./worktree-
|
|
10
|
-
["start", () => import("./start-
|
|
11
|
-
["ports", () => import("./ports-
|
|
12
|
-
["stop", () => import("./stop-
|
|
13
|
-
["ios", () => import("./ios-
|
|
14
|
-
["android", () => import("./android-
|
|
15
|
-
["web", () => import("./web-
|
|
16
|
-
["macos", () => import("./macos-
|
|
17
|
-
["reload", () => import("./reload-
|
|
18
|
-
["device", () => import("./device-
|
|
19
|
-
["logs", () => import("./logs-
|
|
20
|
-
["settings", () => import("./settings-
|
|
21
|
-
["status", () => import("./status-
|
|
22
|
-
["stats", () => import("./stats-
|
|
23
|
-
["gc", () => import("./gc-
|
|
24
|
-
["guide", () => import("./guide-
|
|
8
|
+
["doctor", () => import("./doctor-DiP9HsIP.mjs")],
|
|
9
|
+
["worktree", () => import("./worktree-Cgnm6vZt.mjs")],
|
|
10
|
+
["start", () => import("./start-mh6bS27z.mjs")],
|
|
11
|
+
["ports", () => import("./ports-BFRL6JTj.mjs")],
|
|
12
|
+
["stop", () => import("./stop-BU7JaFCg.mjs")],
|
|
13
|
+
["ios", () => import("./ios-BDBN-xpf.mjs")],
|
|
14
|
+
["android", () => import("./android-eXfIjKJr.mjs")],
|
|
15
|
+
["web", () => import("./web-CHN5gh34.mjs")],
|
|
16
|
+
["macos", () => import("./macos-kivF8qKz.mjs")],
|
|
17
|
+
["reload", () => import("./reload-D9V7D8gP.mjs")],
|
|
18
|
+
["device", () => import("./device-BgNj-qVj.mjs")],
|
|
19
|
+
["logs", () => import("./logs-Bh4eqCCc.mjs")],
|
|
20
|
+
["settings", () => import("./settings-BuKMOANA.mjs")],
|
|
21
|
+
["status", () => import("./status-C7vzkInu.mjs")],
|
|
22
|
+
["stats", () => import("./stats-CaB1MxMi.mjs")],
|
|
23
|
+
["gc", () => import("./gc-D5cz5G0k.mjs")],
|
|
24
|
+
["guide", () => import("./guide-DakjcoUt.mjs")]
|
|
25
25
|
]);
|
|
26
26
|
const pkg = JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf-8"));
|
|
27
27
|
const program = new Command();
|
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-sGqlPu1n.mjs");
|
|
8
8
|
//#endregion
|
|
9
9
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as debugLog, t as getExecutor } from "./exec-B81Qodjn.mjs";
|
|
2
2
|
import { _ as loadConfig$1, d as getConfigDir } from "./config-D0LhTY3S.mjs";
|
|
3
|
-
import { D as withDirLock } from "./workspace-state-
|
|
4
|
-
import { a as markApproved, c as pinnedEndpoint$1, i as lapsedLine, l as realIo, n as findPeer$1, o as parseMachine$1, r as isLapsed, s as pendingReport, t as endpoint, u as requestedLine, x as runCancellationSignal } from "./tailnet-
|
|
5
|
-
import { n as CCACHE_UNAVAILABLE } from "./ccache-
|
|
6
|
-
import { l as toolchainMismatches, m as readRubyVersion, v as COMPILATION_CACHE_UNAVAILABLE } from "./toolchain-
|
|
3
|
+
import { D as withDirLock } from "./workspace-state-CvgTFe-h.mjs";
|
|
4
|
+
import { a as markApproved, c as pinnedEndpoint$1, i as lapsedLine, l as realIo, n as findPeer$1, o as parseMachine$1, r as isLapsed, s as pendingReport, t as endpoint, u as requestedLine, x as runCancellationSignal } from "./tailnet-D7-tE_ug.mjs";
|
|
5
|
+
import { n as CCACHE_UNAVAILABLE } from "./ccache-CtbqWxIC.mjs";
|
|
6
|
+
import { l as toolchainMismatches, m as readRubyVersion, v as COMPILATION_CACHE_UNAVAILABLE } from "./toolchain-SqehyPLw.mjs";
|
|
7
7
|
import { c as gitVisiblePaths, i as nativeGradleTransfer, l as nativeTransferManifest, m as manifestDigest, s as checkNativeTransferMembership, u as sourceManifest } from "./native-gradle-inputs-BQnIdAlL.mjs";
|
|
8
8
|
import { closeSync, existsSync, lstatSync, mkdirSync, openSync, readFileSync, readlinkSync, realpathSync, renameSync, rmSync, writeFileSync, writeSync } from "node:fs";
|
|
9
9
|
import { basename, dirname, isAbsolute, join, relative, sep } from "node:path";
|
package/dist/collector-run.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as process_identity_exports } from "./process-identity-Biv3arCO.mjs";
|
|
2
2
|
import { R as deviceSlotKey, W as validateDeviceSlot } from "./config-D0LhTY3S.mjs";
|
|
3
|
-
import { w as workspaceLogsDir } from "./workspace-state-
|
|
3
|
+
import { w as workspaceLogsDir } from "./workspace-state-CvgTFe-h.mjs";
|
|
4
4
|
import { t as createLineReader } from "./process-output-Fpl8PYi8.mjs";
|
|
5
5
|
import { r as createNdjsonWriter } from "./ndjson-GOnbyvso.mjs";
|
|
6
6
|
import { a as startIosDeviceConsole, i as parseDeviceConsoleLine } from "./ios-device-B1B14xND.mjs";
|
|
7
|
-
import { a as unregisterCollector, i as registerCollector, r as readCollectors, t as collectorProcessTitle } from "./ownership-
|
|
8
|
-
import { a as waitForAppPid, i as startAndroidLogcat, n as parseLogcatLine, o as watchAppPid, t as androidClockOffset } from "./android-
|
|
7
|
+
import { a as unregisterCollector, i as registerCollector, r as readCollectors, t as collectorProcessTitle } from "./ownership-BrjepDiv.mjs";
|
|
8
|
+
import { a as waitForAppPid, i as startAndroidLogcat, n as parseLogcatLine, o as watchAppPid, t as androidClockOffset } from "./android-CZh6ElG5.mjs";
|
|
9
9
|
import { n as parseLogStreamLine, r as startIosLogStream, t as appNameFromBundleId } from "./ios-VGvNdsv2.mjs";
|
|
10
10
|
import { existsSync } from "node:fs";
|
|
11
11
|
import { isAbsolute, join, resolve } from "node:path";
|
|
@@ -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-DX8fXyw_.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,5 +1,5 @@
|
|
|
1
1
|
import { d as getConfigDir } from "./config-D0LhTY3S.mjs";
|
|
2
|
-
import { D as withDirLock$1 } from "./workspace-state-
|
|
2
|
+
import { D as withDirLock$1 } from "./workspace-state-CvgTFe-h.mjs";
|
|
3
3
|
import { renameSync, rmSync, writeFileSync } from "node:fs";
|
|
4
4
|
import { createdDevicesFile, createdDevicesLock, readCreatedDevices, readCreatedDevices as readCreatedDevices$1 } from "@stim-cli/core/state";
|
|
5
5
|
import { ensurePrivateDir } from "@stim-cli/core";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as resolvePackageJson, y as isPackageResolvable } from "./project-
|
|
2
|
-
import { E as readBundleSchemes, T as pickDevClientScheme } from "./app-install-
|
|
1
|
+
import { S as resolvePackageJson, y as isPackageResolvable } from "./project-DX8fXyw_.mjs";
|
|
2
|
+
import { E as readBundleSchemes, T as pickDevClientScheme } from "./app-install-Cg9YJy3x.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,11 +1,11 @@
|
|
|
1
1
|
import { H as projectDeviceSlots, R as deviceSlotKey, V as parseDeviceSlotOption, p as getProject } from "./config-D0LhTY3S.mjs";
|
|
2
|
-
import { n as fileLeaseIo, o as parseLeaseDuration, p as takeLease, u as releaseWorkspaceLeases } from "./device-lease-
|
|
3
|
-
import { r as clockTime } from "./command-output-
|
|
4
|
-
import { r as findProjectRoot, t as NO_PROJECT_REFUSAL } from "./project-
|
|
5
|
-
import { E as getAvdNameForSerial, G as probeEmulatorSerial, N as memoizeEmulatorProbe, O as listAdbDevices, U as physicalDeviceModel, Y as resolvePhysicalDevice, c as androidPoolNoCandidatesRefusal, s as androidPoolCandidates } from "./android-
|
|
6
|
-
import { l as parseDeviceWait, p as waitForDevice } from "./device-lease-run-
|
|
7
|
-
import { t as selectFromPool } from "./device-pool-
|
|
8
|
-
import { a as iosPoolCandidates, c as isWirelessIosDevice, f as resolveIosPhysicalDevice, l as listIosDevices, o as iosPoolNoCandidatesRefusal } from "./ios-device-
|
|
2
|
+
import { n as fileLeaseIo, o as parseLeaseDuration, p as takeLease, u as releaseWorkspaceLeases } from "./device-lease-C309csaB.mjs";
|
|
3
|
+
import { r as clockTime } from "./command-output-CPDq_90S.mjs";
|
|
4
|
+
import { r as findProjectRoot, t as NO_PROJECT_REFUSAL } from "./project-DX8fXyw_.mjs";
|
|
5
|
+
import { E as getAvdNameForSerial, G as probeEmulatorSerial, N as memoizeEmulatorProbe, O as listAdbDevices, U as physicalDeviceModel, Y as resolvePhysicalDevice, c as androidPoolNoCandidatesRefusal, s as androidPoolCandidates } from "./android-DE8-JfGW.mjs";
|
|
6
|
+
import { l as parseDeviceWait, p as waitForDevice } from "./device-lease-run-Baelt3nc.mjs";
|
|
7
|
+
import { t as selectFromPool } from "./device-pool-DtK9S6AD.mjs";
|
|
8
|
+
import { a as iosPoolCandidates, c as isWirelessIosDevice, f as resolveIosPhysicalDevice, l as listIosDevices, o as iosPoolNoCandidatesRefusal } from "./ios-device-BWHKGaJq.mjs";
|
|
9
9
|
import chalk from "chalk";
|
|
10
10
|
//#region src/commands/device.ts
|
|
11
11
|
const DEFAULT_FOR = "5m";
|