stim 1.34.0 → 1.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{acquire-artifact-B0SWoVNt.mjs → acquire-artifact-0E_iw7Rf.mjs} +1 -1
- package/dist/{act-7f7wIvCQ.mjs → act-CyxFP8Vj.mjs} +9 -10
- package/dist/{activity-DkS-Ir6V.mjs → activity-BQpJpAjA.mjs} +2 -2
- package/dist/{agent-device-usage-output-BVdgKbfz.mjs → agent-device-usage-output-BoOC3ZF9.mjs} +3 -3
- package/dist/{android-BU4uBX8I.mjs → android-CjcJE7uA.mjs} +5 -5
- package/dist/{android-D7qjT2fq.mjs → android-YRb1UzSy.mjs} +27 -29
- package/dist/api.mjs +21 -21
- package/dist/{artifact-CNnTZs3R.mjs → artifact-2NIRz6SC.mjs} +19 -15
- package/dist/{artifact-DmRtKFXW.mjs → artifact-BG4h_WTC.mjs} +11 -11
- package/dist/{auto-placement-DA65VQH7.mjs → auto-placement-CBdWa87P.mjs} +4 -5
- package/dist/{browser-web-Dn_hgKZC.mjs → browser-web-CNlRugJv.mjs} +5 -5
- package/dist/{build-D7SuVoRX.mjs → build-CNE3Wo5-.mjs} +15 -16
- package/dist/{build-cache-Cqj4FGnX.mjs → build-cache-_fkewiwH.mjs} +6 -1
- package/dist/{build-plan-Ct1FiA3E.mjs → build-plan-BSgR9yKo.mjs} +5 -5
- package/dist/{cli-DjdvQG5U.mjs → cli-DK24VzHi.mjs} +17 -17
- package/dist/cli.mjs +1 -1
- package/dist/{client-kU37gURU.mjs → client-Dy0eJJtz.mjs} +8 -7
- package/dist/{command-output-DjExb_tZ.mjs → command-output-CGxrQ3Bd.mjs} +1 -1
- package/dist/{dependencies-CZ7c8XX_.mjs → dependencies-IVl2Ga2D.mjs} +27 -30
- package/dist/{dev-client-D3wOllNd.mjs → dev-client-DDApoVvd.mjs} +2 -2
- package/dist/{device-android-ChfF5I9A.mjs → device-android-C-biM49_.mjs} +3 -3
- package/dist/{ccache-ChBMXlBq.mjs → device-capacity-C0PiTyRb.mjs} +1004 -21
- package/dist/device-host-worker.mjs +6 -7
- package/dist/{device-CWPFAqs0.mjs → device-mOFYiHiw.mjs} +8 -8
- package/dist/{device-DH5yf6TU.mjs → device-p_cp8IzW.mjs} +6 -6
- package/dist/{device-pool-EZziQ0uS.mjs → device-pool-nsMvt2X2.mjs} +2 -2
- package/dist/{device-provision-CfpEy-Vm.mjs → device-provision-BYYJuRKZ.mjs} +7 -7
- package/dist/{doctor-CGBsS_68.mjs → doctor-BBAb8NLe.mjs} +1 -1
- package/dist/{doctor-B5uEZiKp.mjs → doctor-BptE4PaK.mjs} +10 -11
- package/dist/{doctor-dwRboaXx.mjs → doctor-RosbBfTV.mjs} +11 -12
- package/dist/doctor-fingerprint.mjs +1 -1
- package/dist/{doctor-watchman-r7M9UPi0.mjs → doctor-watchman-CKOnCINh.mjs} +2 -2
- package/dist/{eas-build-BpHIt_M3.mjs → eas-build-BxJdzQnF.mjs} +2 -2
- package/dist/{eas-fallback-CNPcjq3K.mjs → eas-fallback-DU2WDF8r.mjs} +2 -2
- package/dist/{eas-session-ledger-CXwagcQ7.mjs → eas-session-ledger-DCUfh6m7.mjs} +1 -1
- package/dist/{error-diagnostics-Ym2mjmJ0.mjs → error-diagnostics-D6wlK-yX.mjs} +3 -3
- package/dist/{gc-C7YxKNci.mjs → gc-BUkonUfz.mjs} +10 -10
- package/dist/{gc-B464w_a5.mjs → gc-CvMEytXz.mjs} +2 -2
- package/dist/{guide-BFW-cB7R.mjs → guide-BWozWG7D.mjs} +21 -13
- package/dist/{hosted-android-B7yfqXEy.mjs → hosted-android-y6K3DKQT.mjs} +2 -2
- package/dist/{hosted-client-CQuzZwAu.mjs → hosted-client-Bb89P6an.mjs} +2 -2
- package/dist/{hosted-logs-DfYCqrrR.mjs → hosted-logs-DYPsnWMF.mjs} +2 -2
- package/dist/{hosted-logs-sync-Dlpa2mQF.mjs → hosted-logs-sync-DfUJ2GpF.mjs} +4 -4
- package/dist/{hosted-macos-JKefapEm.mjs → hosted-macos-DsEzYVY_.mjs} +4 -4
- package/dist/{hosted-native-B7OFt5gB.mjs → hosted-native-C9xQYYFb.mjs} +4 -4
- package/dist/{ios-sUPbWqEh.mjs → ios-BCKxjpRp.mjs} +8 -8
- package/dist/{ios-DSBs9c6d.mjs → ios-FhMkDfNC.mjs} +19 -21
- package/dist/{ios-device-Drplrgzo.mjs → ios-device-DMOnaH5n.mjs} +1 -1
- package/dist/{ios-project-DoTQYghg.mjs → ios-project-PXBDoaii.mjs} +5 -5
- package/dist/{ios-signing-R34vbrNU.mjs → ios-signing-CCFNjjWU.mjs} +1 -1
- package/dist/{js-swap-DrokhOfo.mjs → js-swap-07ikLRJJ.mjs} +3 -3
- package/dist/{launch-Cy-MWEZc.mjs → launch-CTq5gBim.mjs} +13 -13
- package/dist/{lightened-ALwQcQtV.mjs → lightened-DikgC3-S.mjs} +2 -2
- package/dist/{logs-DuED-01Z.mjs → logs-DwI3Rkpf.mjs} +5 -5
- package/dist/{logs-DWT7jGpF.mjs → logs-YDMfEohb.mjs} +3 -3
- package/dist/{macos-CtBtA_hW.mjs → macos-BoNM-l6f.mjs} +14 -14
- package/dist/{macos-kWGcfLzx.mjs → macos-C_e9f5-5.mjs} +1 -1
- package/dist/maintenance-run.mjs +3 -3
- package/dist/{native-android-tISP2EVp.mjs → native-android-Mv4YTrVN.mjs} +11 -11
- package/dist/{native-gradle-artifact-inputs-DVoeZkrw.mjs → native-gradle-artifact-inputs-C_TU6wPq.mjs} +2 -2
- package/dist/{native-runtime-CNgxeOCG.mjs → native-runtime-oDqT4UES.mjs} +3 -3
- package/dist/{native-xcode-inputs-DGzkhpu4.mjs → native-xcode-inputs-DsozghTX.mjs} +1 -1
- package/dist/{native-xcode-ios-B9nsfId2.mjs → native-xcode-ios-UXnH9NRY.mjs} +13 -13
- package/dist/offload-worker.mjs +15 -15
- package/dist/{phone-reverses-Bo0EzJ-P.mjs → phone-reverses-B9WyCBKQ.mjs} +1 -1
- package/dist/{placement-log-BsGvKLtU.mjs → placement-log-D0DZLcJk.mjs} +1 -1
- package/dist/{plan-placement-Am0IjuxB.mjs → plan-placement-DqmLrWoX.mjs} +4 -4
- package/dist/{ports-CNzg1LYD.mjs → ports-C1_1Qgdy.mjs} +1 -1
- package/dist/{prebuild-BfJII57G.mjs → prebuild-BptrXmh_.mjs} +6 -6
- package/dist/{project-DU3jjnBE.mjs → project-Dqqj3IkW.mjs} +11 -11
- package/dist/{react-native-android-3dZiJv-4.mjs → react-native-android-Bsm_o4A8.mjs} +18 -18
- package/dist/{react-native-build-CuvNPt-q.mjs → react-native-build-BTUcE926.mjs} +4 -4
- package/dist/{react-native-doctor-a35BwMUO.mjs → react-native-doctor-CfsCTKZt.mjs} +4 -4
- package/dist/{react-native-ios-CqnReM1t.mjs → react-native-ios-_cK2pjZn.mjs} +24 -19
- package/dist/{reload-YPnvXGlB.mjs → reload-CXgce4Yo.mjs} +1 -1
- package/dist/{reload-CC3sNo10.mjs → reload-DsTMtMDU.mjs} +6 -6
- package/dist/{remote-BfaIHnhM.mjs → remote-BsmYHUxH.mjs} +6 -6
- package/dist/{result-H-AxY7Ud.mjs → result-DK6nTO-M.mjs} +9 -10
- package/dist/{server-command-Bn_gOObU.mjs → server-command-Cu2w-UjB.mjs} +2 -2
- package/dist/{server-expo-CUJ2fuv1.mjs → server-expo-CjQwxvIi.mjs} +1 -1
- package/dist/server-expo-DbSypdNl.mjs +2 -0
- package/dist/{settings-DoWHJopy.mjs → settings-DcmVICCn.mjs} +2 -2
- package/dist/{settings-payload-Bxw3hid5.mjs → settings-payload-BoiFMiFq.mjs} +1 -1
- package/dist/{settings-write-C6d7EC54.mjs → settings-write-B3LzEVwf.mjs} +2 -2
- package/dist/{slot-launch-kq0-7w9C.mjs → slot-launch-DsQmPdlg.mjs} +2 -2
- package/dist/{stage-CBfMTUK3.mjs → stage-Dqk0qvaI.mjs} +1 -1
- package/dist/{start-WTMumMHi.mjs → start-DIFiT2P5.mjs} +5 -5
- package/dist/{start-Diu8q6_U.mjs → start-GkRBR1e3.mjs} +1 -1
- package/dist/{stats-D4cW247z.mjs → stats-Dz08IopP.mjs} +3 -3
- package/dist/{status-CEwxo-PS.mjs → status-DhKv_e8a.mjs} +11 -12
- package/dist/{status-B-oeWS0Z.mjs → status-Dost__Vn.mjs} +1 -1
- package/dist/{status-watch-D63R5nSI.mjs → status-watch-UecLnPQD.mjs} +1 -1
- package/dist/status-worker.mjs +1 -1
- package/dist/{stop-HL2RvhrE.mjs → stop-CcZISot5.mjs} +2 -2
- package/dist/{stop-Dm9ON6Os.mjs → stop-QFOqgICJ.mjs} +2 -2
- package/dist/{stop-vX4w3_8V.mjs → stop-vRe6TQk5.mjs} +9 -9
- package/dist/supervisor-run.mjs +7 -8
- package/dist/{support-BNe1_Hg7.mjs → support-CNqJDBrH.mjs} +3 -3
- package/dist/support-DW575Dnx.mjs +2050 -0
- package/dist/{swiftpm-artifact-inputs-uq5oV7xR.mjs → swiftpm-artifact-inputs-DQTJTczX.mjs} +1 -1
- package/dist/{swiftpm-macos-ClF203_2.mjs → swiftpm-macos-BKczZ0k9.mjs} +4 -4
- package/dist/{toolchain-CECahBDa.mjs → toolchain-BDlugtoh.mjs} +1 -1
- package/dist/{toolchain-CYonNjd_.mjs → toolchain-DRQyCvlp.mjs} +2 -2
- package/dist/web-D1m1LKEz.mjs +2 -0
- package/dist/{web-BdaMBr2O.mjs → web-TDWjHUT3.mjs} +3 -3
- package/dist/web-run.mjs +1 -1
- package/dist/{workspaces-B9v5V7Es.mjs → workspaces-CY3KSdC0.mjs} +2 -2
- package/dist/{worktree-C4MBOMz7.mjs → worktree-D6myrQ2H.mjs} +1 -1
- package/dist/{worktree-C3N86KpI.mjs → worktree-fKKe8j5M.mjs} +10 -10
- package/package.json +7 -7
- package/dist/device-capacity-CHC3dKWg.mjs +0 -867
- package/dist/device-ios-B3-Ah--R.mjs +0 -716
- package/dist/device-lease-run-i3FNX4OE.mjs +0 -282
- package/dist/idle-shutdown-DPD8oV36.mjs +0 -142
- package/dist/selection-CH-MUVGD.mjs +0 -791
- package/dist/server-expo-B59N16uT.mjs +0 -2
- package/dist/support-ivsfDj0v.mjs +0 -287
- package/dist/web-CIpHpGp8.mjs +0 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as getExecutor } from "./exec-CGuDzt40.mjs";
|
|
2
|
-
import { l as phaseLine } from "./command-output-
|
|
2
|
+
import { l as phaseLine } from "./command-output-CGxrQ3Bd.mjs";
|
|
3
3
|
import { Y as resolveIosProjectDir, q as resolveAndroidLayout } from "./settings-B5IBDfTx.mjs";
|
|
4
|
-
import { v as detectIsExpo } from "./project-
|
|
5
|
-
import { Y as bundlerPin, a as buildsOnlyOnWorker, c as iosToolchainAsync, n as androidToolchain, r as androidToolchainAsync, t as androidRequirements } from "./toolchain-
|
|
6
|
-
import { a as mainCheckoutProjectRoot, c as repairCxxLauncherState, i as detectLinkedLibraryGitMetadata, n as checkMainCheckout, o as reactNativeDoctorFindings, r as detectFingerprintParity } from "./doctor-
|
|
4
|
+
import { v as detectIsExpo } from "./project-Dqqj3IkW.mjs";
|
|
5
|
+
import { Y as bundlerPin, a as buildsOnlyOnWorker, c as iosToolchainAsync, n as androidToolchain, r as androidToolchainAsync, t as androidRequirements } from "./toolchain-DRQyCvlp.mjs";
|
|
6
|
+
import { a as mainCheckoutProjectRoot, c as repairCxxLauncherState, i as detectLinkedLibraryGitMetadata, n as checkMainCheckout, o as reactNativeDoctorFindings, r as detectFingerprintParity } from "./doctor-RosbBfTV.mjs";
|
|
7
7
|
import { existsSync, readdirSync, statSync } from "node:fs";
|
|
8
8
|
import { join, relative } from "node:path";
|
|
9
9
|
//#region src/diagnostics/doctor-ios-architectures.ts
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import { r as reportSignal } from "./exec-CGuDzt40.mjs";
|
|
2
|
-
import { i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-
|
|
2
|
+
import { i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-CGxrQ3Bd.mjs";
|
|
3
3
|
import { B as publicUrlSetting, G as remoteIosSetting, W as remoteEasFallbackSetting, Y as resolveIosProjectDir, a as SETTING_SHAPE_REMEDY, ot as tunnelModeSetting, p as cacheProviderSettingError, rt as settingShapeErrors } from "./settings-B5IBDfTx.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import { lt as statsProjectKey } from "./workspaces-
|
|
6
|
-
import { Y as bundlerPin, _t as runCancellationSignal, a as buildsOnlyOnWorker, c as iosToolchainAsync } from "./toolchain-
|
|
7
|
-
import { A as
|
|
4
|
+
import { Un as processContext } from "./device-capacity-C0PiTyRb.mjs";
|
|
5
|
+
import { lt as statsProjectKey } from "./workspaces-CY3KSdC0.mjs";
|
|
6
|
+
import { Y as bundlerPin, _t as runCancellationSignal, a as buildsOnlyOnWorker, c as iosToolchainAsync } from "./toolchain-DRQyCvlp.mjs";
|
|
7
|
+
import { A as trackedFingerprintPaths, _ as gitignoredFingerprintInputs, f as expoProductionEnvFiles, j as untrackedMissLine, m as fingerprintDiffRecord, n as buildCacheKey, o as configInputsChanged, p as filesystemBuildCapability, r as changedDuringBuildLine, v as ignoredFingerprintPaths, w as refingerprintAfterMutation, y as inputsChangedDuringBuild } from "./build-cache-_fkewiwH.mjs";
|
|
8
8
|
import { d as optimizationBuildProfile, l as artifactCachePolicy, p as resolveOptimizations } from "./errors-DHm_U5gv.mjs";
|
|
9
|
-
import { a as deviceModelRefusal, c as iosProjectPathError, f as podAction, h as resolveDeviceType, l as iosProviderRunOptions, m as resolveConfiguration, u as isReleaseConfiguration, v as resolveRuntime, x as simulatorBuildArch, y as resolveSchemeSelection } from "./support-
|
|
9
|
+
import { a as deviceModelRefusal, c as iosProjectPathError, f as podAction, h as resolveDeviceType, l as iosProviderRunOptions, m as resolveConfiguration, u as isReleaseConfiguration, v as resolveRuntime, x as simulatorBuildArch, y as resolveSchemeSelection } from "./support-DW575Dnx.mjs";
|
|
10
10
|
import { t as readDoctorFingerprint } from "./doctor-fingerprint-DqWvIhMb.mjs";
|
|
11
|
-
import { i as planEasDevelopmentBuild, n as easDeviceBuildRemedy } from "./eas-build-
|
|
12
|
-
import { c as fingerprintErrorMissReason, d as memoizedFingerprint, i as recordPrebuildAsync, o as staleNativeDirRefusal, s as explainBuildMiss } from "./prebuild-
|
|
13
|
-
import { r as planPayload, t as planCachedBuild } from "./build-plan-
|
|
14
|
-
import { t as IosRecipeRefusal } from "./ios-project-
|
|
15
|
-
import { a as hostedIosSelectors } from "./remote-
|
|
16
|
-
import { a as writeIpTxt, c as iosProcessRuntime, r as copyAppAside, s as iosMetroRuntime, t as DEFAULT_DEPS } from "./dependencies-
|
|
17
|
-
import { t as planHostedDevice } from "./plan-placement-
|
|
18
|
-
import { rmSync } from "node:fs";
|
|
11
|
+
import { i as planEasDevelopmentBuild, n as easDeviceBuildRemedy } from "./eas-build-BxJdzQnF.mjs";
|
|
12
|
+
import { c as fingerprintErrorMissReason, d as memoizedFingerprint, i as recordPrebuildAsync, o as staleNativeDirRefusal, s as explainBuildMiss } from "./prebuild-BptrXmh_.mjs";
|
|
13
|
+
import { r as planPayload, t as planCachedBuild } from "./build-plan-BSgR9yKo.mjs";
|
|
14
|
+
import { t as IosRecipeRefusal } from "./ios-project-PXBDoaii.mjs";
|
|
15
|
+
import { a as hostedIosSelectors } from "./remote-BsmYHUxH.mjs";
|
|
16
|
+
import { a as writeIpTxt, c as iosProcessRuntime, r as copyAppAside, s as iosMetroRuntime, t as DEFAULT_DEPS } from "./dependencies-IVl2Ga2D.mjs";
|
|
17
|
+
import { t as planHostedDevice } from "./plan-placement-DqmLrWoX.mjs";
|
|
18
|
+
import { existsSync, rmSync } from "node:fs";
|
|
19
|
+
import { join } from "node:path";
|
|
19
20
|
import chalk from "chalk";
|
|
20
21
|
//#region src/integrations/react-native-ios-plan.ts
|
|
21
22
|
function refuse(refusal, lines = []) {
|
|
@@ -353,6 +354,10 @@ function reactNativeIosArtifact({ operation, root, logFile, configuration, build
|
|
|
353
354
|
const installableCachedApp = async (cachedPath) => {
|
|
354
355
|
if (device) return prepareDeviceApp(cachedPath, device, { fresh: false });
|
|
355
356
|
if (!release) return cachedPath;
|
|
357
|
+
if (buildsOnlyOnWorker(await d.iosToolchain(root, null))) {
|
|
358
|
+
note(chalk.yellow(phaseLine("swap", `a cached ${configuration} app carries its builder's JS, and only a Mac with Xcode can replace it -- building fresh instead`)));
|
|
359
|
+
return null;
|
|
360
|
+
}
|
|
356
361
|
phase("swap", `regenerating this workspace's JS for the cached ${configuration} app`);
|
|
357
362
|
const swap = await d.swapJsBundle({
|
|
358
363
|
context: operation,
|
|
@@ -608,10 +613,10 @@ function reactNativeIosArtifact({ operation, root, logFile, configuration, build
|
|
|
608
613
|
},
|
|
609
614
|
offload: {
|
|
610
615
|
context: () => {
|
|
611
|
-
const runtime = physical
|
|
616
|
+
const runtime = physical ? null : target.offloadRuntime();
|
|
612
617
|
return {
|
|
613
618
|
runtime,
|
|
614
|
-
unsupported: target.offloadRefusal ?? (
|
|
619
|
+
unsupported: target.offloadRefusal ?? (!cachePolicy.write ? "the build cache is off" : !runtime ? udid ? `the runtime of simulator ${udid} is unknown` : "no simulator runtime is available for worker selection" : null)
|
|
615
620
|
};
|
|
616
621
|
},
|
|
617
622
|
target: async (runtime) => ({
|
|
@@ -625,7 +630,7 @@ function reactNativeIosArtifact({ operation, root, logFile, configuration, build
|
|
|
625
630
|
}),
|
|
626
631
|
request: (runtime) => ({
|
|
627
632
|
platform: "ios",
|
|
628
|
-
cacheArtifact: cachePolicy.write && cachePolicy.remote,
|
|
633
|
+
cacheArtifact: cachePolicy.write && cachePolicy.remote && !release,
|
|
629
634
|
reuseArtifact: cachePolicy.read && cachePolicy.remote,
|
|
630
635
|
runtime,
|
|
631
636
|
configuration,
|
|
@@ -636,10 +641,10 @@ function reactNativeIosArtifact({ operation, root, logFile, configuration, build
|
|
|
636
641
|
}),
|
|
637
642
|
fingerprintInputs: async () => ({
|
|
638
643
|
sources: storeSources,
|
|
639
|
-
ignored: await gitignoredFingerprintInputs(root, storeSources, {
|
|
644
|
+
ignored: [...await gitignoredFingerprintInputs(root, storeSources, {
|
|
640
645
|
platform: PLATFORM,
|
|
641
646
|
iosProjectPath: iosProject.relative
|
|
642
|
-
}, { env: operation?.env }),
|
|
647
|
+
}, { env: operation?.env }), ...release && isExpo ? expoProductionEnvFiles(operation?.env).map((name) => join(root, name)).filter((path) => existsSync(path)) : []],
|
|
643
648
|
ignoredPaths: ignoredFingerprintPaths(root, {
|
|
644
649
|
platform: PLATFORM,
|
|
645
650
|
iosProjectPath: iosProject.relative
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as reloadCommand, r as runReload, t as registerReload } from "./reload-
|
|
1
|
+
import { n as reloadCommand, r as runReload, t as registerReload } from "./reload-DsTMtMDU.mjs";
|
|
2
2
|
export { reloadCommand as default, registerReload, runReload };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { d as throwIfCancelled, l as cancellableSleep, s as loadScaledBudgetMs, u as cancelledError } from "./exec-CGuDzt40.mjs";
|
|
2
2
|
import { a as recordWorkspaceUseAsync, r as readWorkspaceState$1 } from "./workspace-state-BdZ-QgmB.mjs";
|
|
3
|
-
import { f as refuseNoProject, l as phaseLine } from "./command-output-
|
|
3
|
+
import { f as refuseNoProject, l as phaseLine } from "./command-output-CGxrQ3Bd.mjs";
|
|
4
4
|
import { ft as deviceSlotPlatforms, m as getProject, pt as parseDeviceSlotKey } from "./config-BW0fAtoK.mjs";
|
|
5
5
|
import { Vt as repoRootAsync } from "./settings-B5IBDfTx.mjs";
|
|
6
|
-
import { I as readWorkspaceLaunches, P as readRemoteSession, r as findCommandWorkspaceAsync } from "./project-
|
|
6
|
+
import { I as readWorkspaceLaunches, P as readRemoteSession, r as findCommandWorkspaceAsync } from "./project-Dqqj3IkW.mjs";
|
|
7
7
|
import { it as resolveOwnedAvdSerialAsync } from "./android-Iq0M2t2d.mjs";
|
|
8
8
|
import { a as listeningPidsAsync, d as resolveProjectMetro, h as isMetroRunning, u as processCwds } from "./metro-B5PVz0Wv.mjs";
|
|
9
|
-
import {
|
|
9
|
+
import { Nn as iosAppProcess, On as ensureMetroReverse, Sn as androidAppProcess } from "./device-capacity-C0PiTyRb.mjs";
|
|
10
10
|
import { d as webFactsAsync, o as readWebRecord, r as cdpEndpoint } from "./state-CtmYTRWm.mjs";
|
|
11
11
|
import { D as resolveOwnedIosSim, f as listAllIosSimsAsync } from "./ios-BdZdNsAj.mjs";
|
|
12
|
-
import { m as probeHostedSession } from "./hosted-client-
|
|
12
|
+
import { m as probeHostedSession } from "./hosted-client-Bb89P6an.mjs";
|
|
13
13
|
import { r as readHostedNative } from "./ios-state-CWsBysyN.mjs";
|
|
14
|
-
import { r as reopenHostedAndroidMetro } from "./hosted-android-
|
|
15
|
-
import { n as nativeRunCommand } from "./slot-launch-
|
|
14
|
+
import { r as reopenHostedAndroidMetro } from "./hosted-android-y6K3DKQT.mjs";
|
|
15
|
+
import { n as nativeRunCommand } from "./slot-launch-DsQmPdlg.mjs";
|
|
16
16
|
import { n as sendToOwnedPage, t as liveWebRecord } from "./page-Dj8IqvGM.mjs";
|
|
17
17
|
import { hostedAndroidDeviceName, hostedNativeRecords } from "@stim-cli/core/state";
|
|
18
18
|
import chalk from "chalk";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { f as WorkspaceProcessCleanupError } from "./exec-CGuDzt40.mjs";
|
|
2
|
-
import { l as phaseLine } from "./command-output-
|
|
2
|
+
import { l as phaseLine } from "./command-output-CGxrQ3Bd.mjs";
|
|
3
3
|
import { ft as deviceSlotPlatforms } from "./config-BW0fAtoK.mjs";
|
|
4
4
|
import { B as publicUrlSetting, G as remoteIosSetting, L as parseIosRemote, W as remoteEasFallbackSetting, ot as tunnelModeSetting } from "./settings-B5IBDfTx.mjs";
|
|
5
|
-
import "./
|
|
6
|
-
import { _t as runCancellationSignal } from "./toolchain-
|
|
7
|
-
import { b as resolveSimulatorAppFlag } from "./support-
|
|
8
|
-
import { n as devicePlacementRecord } from "./placement-log-
|
|
9
|
-
import { n as devicePlacementLine } from "./auto-placement-
|
|
5
|
+
import "./device-capacity-C0PiTyRb.mjs";
|
|
6
|
+
import { _t as runCancellationSignal } from "./toolchain-DRQyCvlp.mjs";
|
|
7
|
+
import { b as resolveSimulatorAppFlag } from "./support-DW575Dnx.mjs";
|
|
8
|
+
import { n as devicePlacementRecord } from "./placement-log-D0DZLcJk.mjs";
|
|
9
|
+
import { n as devicePlacementLine } from "./auto-placement-CBdWa87P.mjs";
|
|
10
10
|
import chalk from "chalk";
|
|
11
11
|
//#region src/commands/ios/remote.ts
|
|
12
12
|
function deviceRemoteConflict(remote, physical) {
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
import { w as workspaceAgentDeviceDir } from "./workspace-state-BdZ-QgmB.mjs";
|
|
2
|
-
import { i as formatDuration, l as phaseLine } from "./command-output-
|
|
2
|
+
import { i as formatDuration, l as phaseLine } from "./command-output-CGxrQ3Bd.mjs";
|
|
3
3
|
import { ft as deviceSlotPlatforms, m as getProject } from "./config-BW0fAtoK.mjs";
|
|
4
4
|
import { J as resolveCacheProviderConfig, L as parseIosRemote, U as remoteAndroidSetting, _ as inertSettingWarning, a as SETTING_SHAPE_REMEDY, at as settingsLayers, d as androidLayoutSetting, et as settingFile, f as androidLayoutSettingError, nt as settingOriginScope, p as cacheProviderSettingError, q as resolveAndroidLayout, rt as settingShapeErrors, s as androidAvdConfigSettingError, st as unknownSettingKeys, u as androidDataPartitionSizeGbSettingError } from "./settings-B5IBDfTx.mjs";
|
|
5
|
-
import { v as detectIsExpo } from "./project-
|
|
5
|
+
import { v as detectIsExpo } from "./project-Dqqj3IkW.mjs";
|
|
6
6
|
import { a as workspaceLinkLine } from "./stim-desktop-_WTria-r.mjs";
|
|
7
7
|
import { H as ownedAvdDeviceProfile, I as listAvdDeviceProfilesAsync, J as ownedAvdSystemImage, Q as pickDefaultSystemImage, bt as parkedMaxSetting, et as profileNeedsFoldFeature, j as hostSystemImageArch, l as androidSystemImageAbi, st as systemImageSupportsFold, t as DEFAULT_AVD_DEVICE_PROFILE, z as listInstalledSystemImages } from "./android-Iq0M2t2d.mjs";
|
|
8
|
-
import {
|
|
9
|
-
import { X as recordFinishedBuild } from "./workspaces-
|
|
8
|
+
import { C as CCACHE_UNAVAILABLE, Kn as UPLOAD_TIMEOUT_MS, Xn as isEasAuthFailureText, Yn as easAuthNote, qn as cacheLevel, t as DEFAULT_DEVICE_SLOT_WAIT_MS, w as ccacheActivityLine } from "./device-capacity-C0PiTyRb.mjs";
|
|
9
|
+
import { X as recordFinishedBuild } from "./workspaces-CY3KSdC0.mjs";
|
|
10
10
|
import { d as optimizationBuildProfile, l as artifactCachePolicy, p as resolveOptimizations, u as compilerCacheFallbackMessage } from "./errors-DHm_U5gv.mjs";
|
|
11
|
-
import { n as buildPlacementCandidates } from "./client-
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { t as DEFAULT_DEVICE_SLOT_WAIT_MS } from "./device-capacity-CHC3dKWg.mjs";
|
|
11
|
+
import { n as buildPlacementCandidates } from "./client-Dy0eJJtz.mjs";
|
|
12
|
+
import { q as parseDeviceWait } from "./support-DW575Dnx.mjs";
|
|
13
|
+
import { c as readProductFlavors, s as productFlavorRefusal } from "./react-native-build-BTUcE926.mjs";
|
|
15
14
|
import { t as androidImageInstallPolicy } from "./android-image-DFk26aY6.mjs";
|
|
16
15
|
import { n as resolveAndroidCas, r as resolveAndroidCompilerCache } from "./android-cas-Dhcjkys1.mjs";
|
|
17
|
-
import { r as isPhysicalDeviceRequest } from "./native-runtime-
|
|
18
|
-
import { C as remoteAvdFlagRefusal, D as systemImageRefusal, E as resolveVariant, T as resolveSystemImage, a as PLATFORM, m as deviceProfileRefusal, v as foldableImageRefusal, w as resolveDeviceProfile, y as isReleaseVariant } from "./support-
|
|
16
|
+
import { r as isPhysicalDeviceRequest } from "./native-runtime-oDqT4UES.mjs";
|
|
17
|
+
import { C as remoteAvdFlagRefusal, D as systemImageRefusal, E as resolveVariant, T as resolveSystemImage, a as PLATFORM, m as deviceProfileRefusal, v as foldableImageRefusal, w as resolveDeviceProfile, y as isReleaseVariant } from "./support-CNqJDBrH.mjs";
|
|
19
18
|
import { buildDiagnostics } from "@stim-cli/core/state";
|
|
20
19
|
import chalk from "chalk";
|
|
21
20
|
//#region src/commands/android/plan.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as getExecutor } from "./exec-CGuDzt40.mjs";
|
|
2
2
|
import { n as METRO_COMMAND_PORT } from "./settings-B5IBDfTx.mjs";
|
|
3
|
-
import { T as MODE_COMMAND } from "./project-
|
|
3
|
+
import { T as MODE_COMMAND } from "./project-Dqqj3IkW.mjs";
|
|
4
4
|
import { f as signalProcessTree } from "./metro-B5PVz0Wv.mjs";
|
|
5
5
|
import { i as createNdjsonWriter } from "./ndjson-CrjIsGzw.mjs";
|
|
6
|
-
import { g as projectNodeLine, p as recordFromLine, v as withProjectNode, y as superviseChildServer } from "./server-expo-
|
|
6
|
+
import { g as projectNodeLine, p as recordFromLine, v as withProjectNode, y as superviseChildServer } from "./server-expo-CjQwxvIi.mjs";
|
|
7
7
|
import { join } from "node:path";
|
|
8
8
|
import { LOG_ROTATE_BYTES } from "@stim-cli/core";
|
|
9
9
|
//#region src/supervisor/server-command.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { l as cancellableSleep, t as getExecutor } from "./exec-CGuDzt40.mjs";
|
|
2
2
|
import { n as stripAnsi, t as createLineReader } from "./process-output-Fpl8PYi8.mjs";
|
|
3
3
|
import { X as resolveProjectSettings } from "./settings-B5IBDfTx.mjs";
|
|
4
|
-
import { C as resolvePackageJson } from "./project-
|
|
4
|
+
import { C as resolvePackageJson } from "./project-Dqqj3IkW.mjs";
|
|
5
5
|
import { i as createNdjsonWriter } from "./ndjson-CrjIsGzw.mjs";
|
|
6
6
|
import { a as expoMetroStoreEnv, c as registerMetroStore, f as resolveMetroSharedCache, i as expoMetroConfigPath, n as supervisorError, o as metroStoreConfirmedRoot, s as metroStoreRoot } from "./errors-DHm_U5gv.mjs";
|
|
7
7
|
import { accessSync, constants, existsSync, readFileSync } from "node:fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as readSettingsPayload, l as settingEntry, o as layerFile, s as readSettingsContext, t as SettingsRefusal } from "./settings-payload-
|
|
2
|
-
import { i as unsetReplacedSetting, n as readScope, r as requireSetting, t as mutateSetting } from "./settings-write-
|
|
1
|
+
import { c as readSettingsPayload, l as settingEntry, o as layerFile, s as readSettingsContext, t as SettingsRefusal } from "./settings-payload-BoiFMiFq.mjs";
|
|
2
|
+
import { i as unsetReplacedSetting, n as readScope, r as requireSetting, t as mutateSetting } from "./settings-write-B3LzEVwf.mjs";
|
|
3
3
|
import { REPLACED_SETTINGS, SETTING_SCOPES } from "@stim-cli/core/state";
|
|
4
4
|
import chalk from "chalk";
|
|
5
5
|
//#region src/commands/settings.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { f as getConfigPath$1, g as getRepoSettings, h as getProjectSettings, v as loadConfig$1 } from "./config-BW0fAtoK.mjs";
|
|
2
2
|
import { a as killOnAbort, i as gitPath } from "./operation-exec-DKlBcKAL.mjs";
|
|
3
3
|
import { K as removedMachineSettings, V as readCommittedSettings, st as unknownSettingKeys } from "./settings-B5IBDfTx.mjs";
|
|
4
|
-
import { r as findCommandWorkspaceAsync } from "./project-
|
|
4
|
+
import { r as findCommandWorkspaceAsync } from "./project-Dqqj3IkW.mjs";
|
|
5
5
|
import { i as stimDesktopInstalledAsync, n as settingDefault, r as stimDesktopInstalled } from "./stim-desktop-_WTria-r.mjs";
|
|
6
6
|
import { join } from "node:path";
|
|
7
7
|
import { SETTINGS, SETTING_SCOPES, coerceSettingText, isJsonObject, replacementAdvice, settingDefinition, settingValueError } from "@stim-cli/core/state";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { p as withWorkspaceProcessLock } from "./exec-CGuDzt40.mjs";
|
|
2
2
|
import { f as getConfigPath$1, j as writeConfigSettingAsync, k as withConfigLockAsync$1 } from "./config-BW0fAtoK.mjs";
|
|
3
|
-
import { t as NO_PROJECT_REFUSAL } from "./project-
|
|
3
|
+
import { t as NO_PROJECT_REFUSAL } from "./project-Dqqj3IkW.mjs";
|
|
4
4
|
import { i as stimDesktopInstalledAsync } from "./stim-desktop-_WTria-r.mjs";
|
|
5
5
|
import { n as recordingLayers, t as deleteTurnedOffRecordings } from "./recordings-AKZfsW2W.mjs";
|
|
6
|
-
import { d as unknownEntries, l as settingEntry, o as layerFile, r as committedDirectory, s as readSettingsContext, t as SettingsRefusal, u as settingExample } from "./settings-payload-
|
|
6
|
+
import { d as unknownEntries, l as settingEntry, o as layerFile, r as committedDirectory, s as readSettingsContext, t as SettingsRefusal, u as settingExample } from "./settings-payload-BoiFMiFq.mjs";
|
|
7
7
|
import { existsSync, readFileSync, renameSync, unlinkSync, writeFileSync } from "node:fs";
|
|
8
8
|
import { join } from "node:path";
|
|
9
9
|
import { configDir } from "@stim-cli/core";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as readWorkspaceState$1 } from "./workspace-state-BdZ-QgmB.mjs";
|
|
2
2
|
import { ht as projectDeviceSlots, m as getProject, pt as parseDeviceSlotKey } from "./config-BW0fAtoK.mjs";
|
|
3
3
|
import { A as getAvdNameForSerialAsync, P as listAdbDevicesAsync } from "./android-Iq0M2t2d.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import { y as fileLeaseIo } from "./activity-
|
|
4
|
+
import { Dn as deviceShellArg } from "./device-capacity-C0PiTyRb.mjs";
|
|
5
|
+
import { y as fileLeaseIo } from "./activity-BQpJpAjA.mjs";
|
|
6
6
|
import { f as listAllIosSimsAsync } from "./ios-BdZdNsAj.mjs";
|
|
7
7
|
import { hostedNativeRecords } from "@stim-cli/core/state";
|
|
8
8
|
//#region src/engine/slot-launch.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as throwIfCancelled, t as getExecutor, w as withDrainingCancellation } from "./exec-CGuDzt40.mjs";
|
|
2
|
-
import { _t as runCancellationSignal } from "./toolchain-
|
|
2
|
+
import { _t as runCancellationSignal } from "./toolchain-DRQyCvlp.mjs";
|
|
3
3
|
import { existsSync, lstatSync, promises, readdirSync, realpathSync, statSync } from "node:fs";
|
|
4
4
|
import { dirname, isAbsolute, join, relative, resolve, sep } from "node:path";
|
|
5
5
|
import { validMacosResourceDestination } from "@stim-cli/core";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { D as ownership_claim_exports, T as process_identity_exports, c as waitForGroupExit, d as throwIfCancelled, f as WorkspaceProcessCleanupError, l as cancellableSleep, m as workspaceProcessLockError, o as groupExitBudgetMs, p as withWorkspaceProcessLock, t as getExecutor, w as withDrainingCancellation } from "./exec-CGuDzt40.mjs";
|
|
2
2
|
import { S as supervisorLogFile, _ as ensureWorkspaceStorage, i as recordWorkspaceUse, k as workspaceLogsDir$1, l as withWorkspaceStateLockAsync, n as clearWorkspaceStateKeys, r as readWorkspaceState$1, s as updateWorkspaceStateAsync, w as workspaceAgentDeviceDir } from "./workspace-state-BdZ-QgmB.mjs";
|
|
3
|
-
import { _ as stepTimer, l as phaseLine } from "./command-output-
|
|
3
|
+
import { _ as stepTimer, l as phaseLine } from "./command-output-CGxrQ3Bd.mjs";
|
|
4
4
|
import { D as upsertProject, S as releaseMetroPort, k as withConfigLockAsync$1, m as getProject } from "./config-BW0fAtoK.mjs";
|
|
5
5
|
import { A as metroCommandSetting, B as publicUrlSetting, G as remoteIosSetting, I as ngrokUrlSetting, J as resolveCacheProviderConfig, M as metroIdleStopMinutesSetting, N as metroPortSetting, P as metroTunnelSettingError, U as remoteAndroidSetting, Y as resolveIosProjectDir, Z as resolveProjectSettingsAsync, _ as inertSettingWarning, a as SETTING_SHAPE_REMEDY, dt as detectProviders, ft as planMetroReach, h as deviceIdleShutdownMinutesSetting, j as metroCommandSettingError, m as defaultAndroidLayout, ot as tunnelModeSetting, p as cacheProviderSettingError, q as resolveAndroidLayout, rt as settingShapeErrors, st as unknownSettingKeys, ut as PUBLIC_METRO_ENV } from "./settings-B5IBDfTx.mjs";
|
|
6
|
-
import { E as MODE_EXPO, M as readMetroTunnel, O as clearManagedMetroTunnel, S as readAppJson, T as MODE_COMMAND, c as projectProblem, i as findProjectRoot$1, t as NO_PROJECT_REFUSAL, v as detectIsExpo, w as MODE_BARE, x as readAppConfigText } from "./project-
|
|
6
|
+
import { E as MODE_EXPO, M as readMetroTunnel, O as clearManagedMetroTunnel, S as readAppJson, T as MODE_COMMAND, c as projectProblem, i as findProjectRoot$1, t as NO_PROJECT_REFUSAL, v as detectIsExpo, w as MODE_BARE, x as readAppConfigText } from "./project-Dqqj3IkW.mjs";
|
|
7
7
|
import { a as workspaceLinkLine, o as workspaceLinks } from "./stim-desktop-_WTria-r.mjs";
|
|
8
8
|
import { _ as PORT_INSPECTION_REMEDY, a as listeningPidsAsync, c as pidExists, d as resolveProjectMetro, f as signalProcessTree, g as reserveMetroPort, h as isMetroRunning, m as createPortProbe, u as processCwds, v as PortInspectionError } from "./metro-B5PVz0Wv.mjs";
|
|
9
9
|
import { a as levelRank } from "./ndjson-CrjIsGzw.mjs";
|
|
10
|
-
import {
|
|
11
|
-
import { C as stopTunnel, D as withManagedTunnelLock, S as startTunnelSequence, T as withManagedRemoteWorktreeLock, w as terminateChild, x as resolveSupervisorTarget } from "./workspaces-
|
|
12
|
-
import { i as restoreLightenedDependencies } from "./lightened-
|
|
10
|
+
import { Hn as exitAfterFlush, V as stopOwnedMetroForReset, Wn as runProcessOperation, ar as remoteCliInvocation, er as readProjectConfig, k as budgetGate } from "./device-capacity-C0PiTyRb.mjs";
|
|
11
|
+
import { C as stopTunnel, D as withManagedTunnelLock, S as startTunnelSequence, T as withManagedRemoteWorktreeLock, w as terminateChild, x as resolveSupervisorTarget } from "./workspaces-CY3KSdC0.mjs";
|
|
12
|
+
import { i as restoreLightenedDependencies } from "./lightened-DikgC3-S.mjs";
|
|
13
13
|
import { t as spawnEntry } from "./spawn-entry-jw19m8Nl.mjs";
|
|
14
14
|
import { n as windowsLauncherArgs } from "./detached-entry-tfrgGVWb.mjs";
|
|
15
15
|
import { appendFileSync, closeSync, mkdirSync, openSync, readFileSync } from "node:fs";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as registerStart, c as startDevServer, d as supervisorSignalable, f as tailLines, i as readLogTail, l as startFacts, n as liveSupervisor, o as resolveWorkspaceMetroPort, p as wantsExpoOwnTunnel, r as parseWait, s as startCommand, t as failureEvidence, u as supervisorEntry } from "./start-
|
|
1
|
+
import { a as registerStart, c as startDevServer, d as supervisorSignalable, f as tailLines, i as readLogTail, l as startFacts, n as liveSupervisor, o as resolveWorkspaceMetroPort, p as wantsExpoOwnTunnel, r as parseWait, s as startCommand, t as failureEvidence, u as supervisorEntry } from "./start-DIFiT2P5.mjs";
|
|
2
2
|
export { startCommand as default, failureEvidence, liveSupervisor, parseWait, readLogTail, registerStart, resolveWorkspaceMetroPort, startDevServer, startFacts, supervisorEntry, supervisorSignalable, tailLines, wantsExpoOwnTunnel };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { o as formatLongDuration } from "./command-output-
|
|
1
|
+
import { o as formatLongDuration } from "./command-output-CGxrQ3Bd.mjs";
|
|
2
2
|
import { rt as formatBytes } from "./config-BW0fAtoK.mjs";
|
|
3
|
-
import { i as findProjectRoot$1 } from "./project-
|
|
4
|
-
import { i as getSwiftpmCacheUsage, n as swiftpmCacheLines, r as getAgentDeviceUsage, t as agentDeviceLines } from "./agent-device-usage-output-
|
|
3
|
+
import { i as findProjectRoot$1 } from "./project-Dqqj3IkW.mjs";
|
|
4
|
+
import { i as getSwiftpmCacheUsage, n as swiftpmCacheLines, r as getAgentDeviceUsage, t as agentDeviceLines } from "./agent-device-usage-output-BoOC3ZF9.mjs";
|
|
5
5
|
import { t as readProjectStats } from "./stats-report-BVRCqwWA.mjs";
|
|
6
6
|
import { archivedUsage, readArchives } from "@stim-cli/core/state";
|
|
7
7
|
import chalk from "chalk";
|
|
@@ -1,29 +1,28 @@
|
|
|
1
1
|
import { T as process_identity_exports, t as getExecutor } from "./exec-CGuDzt40.mjs";
|
|
2
2
|
import { O as workspaceLogErrorIndex, k as workspaceLogsDir$1, r as readWorkspaceState$1 } from "./workspace-state-BdZ-QgmB.mjs";
|
|
3
|
-
import { a as formatElapsed, i as formatDuration, r as clockTime, u as plural } from "./command-output-
|
|
3
|
+
import { a as formatElapsed, i as formatDuration, r as clockTime, u as plural } from "./command-output-CGxrQ3Bd.mjs";
|
|
4
4
|
import { at as isOnMountedVolume, ct as volumeRootFor, d as getConfigDir, dt as deviceSlotKey, ht as projectDeviceSlots, it as isAbsentPath, ot as listMountedVolumes, p as getPlatformDeviceLimits, pt as parseDeviceSlotKey, rt as formatBytes, u as getConcurrencyLimits, v as loadConfig$1 } from "./config-BW0fAtoK.mjs";
|
|
5
5
|
import { s as gitAsync } from "./operation-exec-DKlBcKAL.mjs";
|
|
6
6
|
import { Bt as repoRoot, Ct as gitCommonDirOnDisk, Ot as linkedWorktreesOnDisk, Q as resolveSettings, lt as workspaceHiddenSetting, xt as gitCommonDir } from "./settings-B5IBDfTx.mjs";
|
|
7
|
-
import { I as readWorkspaceLaunches, M as readMetroTunnel, P as readRemoteSession, S as readAppJson, a as findServerWorkspace, l as projectShortcut, u as detectPlatforms, v as detectIsExpo, y as detectTutorial } from "./project-
|
|
7
|
+
import { I as readWorkspaceLaunches, M as readMetroTunnel, P as readRemoteSession, S as readAppJson, a as findServerWorkspace, l as projectShortcut, u as detectPlatforms, v as detectIsExpo, y as detectTutorial } from "./project-Dqqj3IkW.mjs";
|
|
8
8
|
import { H as ownedAvdDeviceProfile, K as ownedAvdSerialResolver, N as listAdbDevices, P as listAdbDevicesAsync, bt as parkedMaxSetting, mt as POOL_SETTING_REMEDY, xt as readParked } from "./android-Iq0M2t2d.mjs";
|
|
9
9
|
import { c as pidExists, d as resolveProjectMetro, h as isMetroRunning, i as listeningPids, l as processCwd, o as listeningPidsByPort, u as processCwds } from "./metro-B5PVz0Wv.mjs";
|
|
10
10
|
import { o as parseNdjsonLine } from "./ndjson-CrjIsGzw.mjs";
|
|
11
|
-
import {
|
|
11
|
+
import { Dr as readFootprints, Er as attributeMachineUsage, P as machineNumber, U as describeMetroLastStop, c as deviceSlotUsages, kn as hasMetroReverse, q as metroLastStop } from "./device-capacity-C0PiTyRb.mjs";
|
|
12
12
|
import { a as readWebPage, o as readWebRecord, u as webFacts } from "./state-CtmYTRWm.mjs";
|
|
13
|
-
import { A as poolLine, C as diskLine, D as loadLine, E as gitSummaryText, F as tightVolumes, I as unprovisionedWorktrees, L as withWebFacts, M as remoteDeviceState, N as slotUsageLines, O as metroReverseTargets, P as statusActivity, S as deviceLeaseStates, _ as addReverseMissingIssue, b as capacityLoad, g as activityLabel, j as remoteDeviceLine, k as parseDfFree, r as readEasSessionLedger$1, v as applyMachineMemory, w as environmentState, x as deviceLeaseLines, y as capacity } from "./eas-session-ledger-
|
|
14
|
-
import { Ct as buildSlotUsage, G as buildStatusLine, J as parseActiveBuild, K as bundlingActivity, U as activeBuildState, V as ACTIVE_BUILD_KEY, W as buildReport, at as readStats$1, lt as statsProjectKey$1, x as resolveSupervisorTarget } from "./workspaces-
|
|
15
|
-
import { a as createDeviceProcessTables, b as leaseIsExpired, h as tailLines, m as readWebActivity, r as createActivityReader, w as parseWorkspaceLeases, x as listLeaseFiles } from "./activity-
|
|
13
|
+
import { A as poolLine, C as diskLine, D as loadLine, E as gitSummaryText, F as tightVolumes, I as unprovisionedWorktrees, L as withWebFacts, M as remoteDeviceState, N as slotUsageLines, O as metroReverseTargets, P as statusActivity, S as deviceLeaseStates, _ as addReverseMissingIssue, b as capacityLoad, g as activityLabel, j as remoteDeviceLine, k as parseDfFree, r as readEasSessionLedger$1, v as applyMachineMemory, w as environmentState, x as deviceLeaseLines, y as capacity } from "./eas-session-ledger-DCUfh6m7.mjs";
|
|
14
|
+
import { Ct as buildSlotUsage, G as buildStatusLine, J as parseActiveBuild, K as bundlingActivity, U as activeBuildState, V as ACTIVE_BUILD_KEY, W as buildReport, at as readStats$1, lt as statsProjectKey$1, x as resolveSupervisorTarget } from "./workspaces-CY3KSdC0.mjs";
|
|
15
|
+
import { a as createDeviceProcessTables, b as leaseIsExpired, h as tailLines, m as readWebActivity, r as createActivityReader, w as parseWorkspaceLeases, x as listLeaseFiles } from "./activity-BQpJpAjA.mjs";
|
|
16
16
|
import { b as parseSimctlList, f as listAllIosSimsAsync } from "./ios-BdZdNsAj.mjs";
|
|
17
|
-
import { m as probeHostedSession } from "./hosted-client-
|
|
18
|
-
import "./hosted-macos-
|
|
19
|
-
import { i as readSupervisorState } from "./stop-
|
|
17
|
+
import { m as probeHostedSession } from "./hosted-client-Bb89P6an.mjs";
|
|
18
|
+
import "./hosted-macos-DsEzYVY_.mjs";
|
|
19
|
+
import { i as readSupervisorState } from "./stop-vRe6TQk5.mjs";
|
|
20
20
|
import { l as applyStatusMeasures, n as workspacePhase, s as mergeState, u as createStatusMeasurer } from "./warm-progress-q11Vdvhh.mjs";
|
|
21
21
|
import { r as workspaceRecordingEnabled } from "./recordings-AKZfsW2W.mjs";
|
|
22
22
|
import { n as maintenanceLines, r as maintenanceStatus } from "./status-DTFhDnd1.mjs";
|
|
23
|
-
import {
|
|
24
|
-
import { d as readIosDevices, s as isReachable } from "./ios-device-Drplrgzo.mjs";
|
|
23
|
+
import { d as readIosDevices, s as isReachable } from "./ios-device-DMOnaH5n.mjs";
|
|
25
24
|
import { t as triggerMaintenance } from "./trigger-BtB4kbe0.mjs";
|
|
26
|
-
import { a as createRefreshScheduler, c as watchStatusSources, n as WATCH_LIGHT_INTERVAL_MS, o as watchChangeKey, r as WATCH_MACHINE_INTERVAL_MS, s as watchPayload, t as WATCH_FALLBACK_MS } from "./status-watch-
|
|
25
|
+
import { a as createRefreshScheduler, c as watchStatusSources, n as WATCH_LIGHT_INTERVAL_MS, o as watchChangeKey, r as WATCH_MACHINE_INTERVAL_MS, s as watchPayload, t as WATCH_FALLBACK_MS } from "./status-watch-UecLnPQD.mjs";
|
|
27
26
|
import { t as watchStdoutReader } from "./stdout-reader-C8yjre1x.mjs";
|
|
28
27
|
import { createHash, randomUUID } from "node:crypto";
|
|
29
28
|
import { mkdirSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as runStatusWatch, r as statusCommand, t as readVolumes } from "./status-
|
|
1
|
+
import { n as runStatusWatch, r as statusCommand, t as readVolumes } from "./status-DhKv_e8a.mjs";
|
|
2
2
|
export { statusCommand as default, readVolumes, runStatusWatch };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as getExecutor } from "./exec-CGuDzt40.mjs";
|
|
2
2
|
import { d as androidToolPath } from "./android-Iq0M2t2d.mjs";
|
|
3
3
|
import { c as pidExists } from "./metro-B5PVz0Wv.mjs";
|
|
4
|
-
import { n as easMachineStateRoot } from "./eas-session-ledger-
|
|
4
|
+
import { n as easMachineStateRoot } from "./eas-session-ledger-DCUfh6m7.mjs";
|
|
5
5
|
import { b as parseSimctlList } from "./ios-BdZdNsAj.mjs";
|
|
6
6
|
import { existsSync, readdirSync, statSync, watch } from "node:fs";
|
|
7
7
|
import { basename, dirname, join } from "node:path";
|
package/dist/status-worker.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { D as ownership_claim_exports, T as process_identity_exports, p as withWorkspaceProcessLock } from "./exec-CGuDzt40.mjs";
|
|
2
2
|
import { E as workspaceDir, d as writeWorkspaceState, l as withWorkspaceStateLockAsync } from "./workspace-state-BdZ-QgmB.mjs";
|
|
3
3
|
import { a as macosRuntimeClaim, o as requiredMacosRecord } from "./state-DSOUqO-o.mjs";
|
|
4
|
-
import { A as runningBundleInstancesAsync, j as runningInstancesInAsync, k as hostedBundleDirs } from "./workspaces-
|
|
5
|
-
import { n as stopHostedMacos } from "./hosted-macos-
|
|
4
|
+
import { A as runningBundleInstancesAsync, j as runningInstancesInAsync, k as hostedBundleDirs } from "./workspaces-CY3KSdC0.mjs";
|
|
5
|
+
import { n as stopHostedMacos } from "./hosted-macos-DsEzYVY_.mjs";
|
|
6
6
|
import { readMacosRecord } from "@stim-cli/core/state";
|
|
7
7
|
//#region src/macos/stop.ts
|
|
8
8
|
const APP_EXIT_MS = 5e3;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { x as resolveSupervisorTarget } from "./workspaces-
|
|
2
|
-
import { a as resolveCollectorTargets, c as stopWorkspaceNow, i as readSupervisorState, n as clearSupervisorState, o as runStop, r as readCollectorState, s as stopCommand, t as clearCollectorState } from "./stop-
|
|
1
|
+
import { x as resolveSupervisorTarget } from "./workspaces-CY3KSdC0.mjs";
|
|
2
|
+
import { a as resolveCollectorTargets, c as stopWorkspaceNow, i as readSupervisorState, n as clearSupervisorState, o as runStop, r as readCollectorState, s as stopCommand, t as clearCollectorState } from "./stop-vRe6TQk5.mjs";
|
|
3
3
|
export { clearCollectorState, clearSupervisorState, stopCommand as default, readCollectorState, readSupervisorState, resolveCollectorTargets, resolveSupervisorTarget, runStop, stopWorkspaceNow };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { D as ownership_claim_exports, E as debugLog, T as process_identity_exports, f as WorkspaceProcessCleanupError, p as withWorkspaceProcessLock } from "./exec-CGuDzt40.mjs";
|
|
2
2
|
import { E as workspaceDir, c as withWorkspaceStateLock, d as writeWorkspaceState, l as withWorkspaceStateLockAsync, n as clearWorkspaceStateKeys, r as readWorkspaceState$1, s as updateWorkspaceStateAsync } from "./workspace-state-BdZ-QgmB.mjs";
|
|
3
|
-
import { f as refuseNoProject, l as phaseLine, p as releasedLeaseFact, u as plural } from "./command-output-
|
|
3
|
+
import { f as refuseNoProject, l as phaseLine, p as releasedLeaseFact, u as plural } from "./command-output-CGxrQ3Bd.mjs";
|
|
4
4
|
import { D as upsertProject, _t as validateDeviceSlot, ft as deviceSlotPlatforms, ht as projectDeviceSlots, k as withConfigLockAsync$1, m as getProject, mt as parseDeviceSlotOption, o as clearSupervisor, pt as parseDeviceSlotKey } from "./config-BW0fAtoK.mjs";
|
|
5
|
-
import { A as clearWorkspaceLaunches, M as readMetroTunnel, O as clearManagedMetroTunnel, P as readRemoteSession, T as MODE_COMMAND, j as clearWorkspaceSupervisor, k as clearRemoteSession, n as findCommandWorkspace } from "./project-
|
|
5
|
+
import { A as clearWorkspaceLaunches, M as readMetroTunnel, O as clearManagedMetroTunnel, P as readRemoteSession, T as MODE_COMMAND, j as clearWorkspaceSupervisor, k as clearRemoteSession, n as findCommandWorkspace } from "./project-Dqqj3IkW.mjs";
|
|
6
6
|
import { t as macosAppPresent } from "./state-DSOUqO-o.mjs";
|
|
7
7
|
import { nt as removeOwnedEmulatorMetroReverses } from "./android-Iq0M2t2d.mjs";
|
|
8
8
|
import { a as listeningPidsAsync, c as pidExists, d as resolveProjectMetro, h as isMetroRunning, p as signalProcessTreeAsync, r as killMetroTreeAsync, u as processCwds } from "./metro-B5PVz0Wv.mjs";
|
|
9
|
-
import {
|
|
10
|
-
import { C as stopTunnel, ht as teardownOwnedIosSim, mt as teardownOwnedBrowser, pt as teardownOwnedAvd, x as resolveSupervisorTarget } from "./workspaces-
|
|
11
|
-
import { ct as NATIVE_RUN_WAIT_MS, dt as decideStopAction, ft as describeNativeRunHolder, ht as requestNativeRunCancel, mt as nativeRunWaitNotice, pt as nativeRunHolder, st as NATIVE_RUN_LOCK, ut as clearNativeRunCancel } from "./toolchain-
|
|
12
|
-
import { O as releaseWorkspaceLeasesAsync, y as fileLeaseIo } from "./activity-
|
|
13
|
-
import { i as stopHostedAndroid } from "./hosted-android-
|
|
14
|
-
import { a as stopHostedIos, n as removePhoneReverses } from "./phone-reverses-
|
|
15
|
-
import { r as stopMacosApp } from "./stop-
|
|
9
|
+
import { J as requestDevServerStop, K as logVanishedSupervisor, X as withdrawDevServerStopRequest, Yt as endRecordedSession, tr as resolveEasCliBin } from "./device-capacity-C0PiTyRb.mjs";
|
|
10
|
+
import { C as stopTunnel, ht as teardownOwnedIosSim, mt as teardownOwnedBrowser, pt as teardownOwnedAvd, x as resolveSupervisorTarget } from "./workspaces-CY3KSdC0.mjs";
|
|
11
|
+
import { ct as NATIVE_RUN_WAIT_MS, dt as decideStopAction, ft as describeNativeRunHolder, ht as requestNativeRunCancel, mt as nativeRunWaitNotice, pt as nativeRunHolder, st as NATIVE_RUN_LOCK, ut as clearNativeRunCancel } from "./toolchain-DRQyCvlp.mjs";
|
|
12
|
+
import { O as releaseWorkspaceLeasesAsync, y as fileLeaseIo } from "./activity-BQpJpAjA.mjs";
|
|
13
|
+
import { i as stopHostedAndroid } from "./hosted-android-y6K3DKQT.mjs";
|
|
14
|
+
import { a as stopHostedIos, n as removePhoneReverses } from "./phone-reverses-B9WyCBKQ.mjs";
|
|
15
|
+
import { r as stopMacosApp } from "./stop-CcZISot5.mjs";
|
|
16
16
|
import { n as verifyCollectorOwnership } from "./ownership-hC7xvvxF.mjs";
|
|
17
17
|
import { hostedAndroidDeviceName, hostedAndroidRecords, hostedIosRecords, hostedNativeRecords, isJsonObject, parseHostedNativePlacement } from "@stim-cli/core/state";
|
|
18
18
|
import chalk from "chalk";
|
package/dist/supervisor-run.mjs
CHANGED
|
@@ -2,18 +2,17 @@ import { T as process_identity_exports, p as withWorkspaceProcessLock } from "./
|
|
|
2
2
|
import { c as withWorkspaceStateLock, d as writeWorkspaceState, j as workspaceStateFile$1, k as workspaceLogsDir$1, n as clearWorkspaceStateKeys, o as updateWorkspaceState, r as readWorkspaceState$1 } from "./workspace-state-BdZ-QgmB.mjs";
|
|
3
3
|
import { E as setSupervisor, U as parseMachine$1, ht as projectDeviceSlots, m as getProject, o as clearSupervisor, pt as parseDeviceSlotKey } from "./config-BW0fAtoK.mjs";
|
|
4
4
|
import { $ as runnableMetroCommand, X as resolveProjectSettings } from "./settings-B5IBDfTx.mjs";
|
|
5
|
-
import { D as clearExpoMetroTunnel, E as MODE_EXPO, N as readPidFile, R as writePidFile, T as MODE_COMMAND, d as nativeProjectIntegration, j as clearWorkspaceSupervisor, v as detectIsExpo, w as MODE_BARE } from "./project-
|
|
5
|
+
import { D as clearExpoMetroTunnel, E as MODE_EXPO, N as readPidFile, R as writePidFile, T as MODE_COMMAND, d as nativeProjectIntegration, j as clearWorkspaceSupervisor, v as detectIsExpo, w as MODE_BARE } from "./project-Dqqj3IkW.mjs";
|
|
6
6
|
import { K as ownedAvdSerialResolver } from "./android-Iq0M2t2d.mjs";
|
|
7
7
|
import { i as createNdjsonWriter } from "./ndjson-CrjIsGzw.mjs";
|
|
8
|
-
import {
|
|
9
|
-
import { d as parseWatchRoots, l as parseSubscriberNames, m as runWatchman, u as parseTriggerCount } from "./eas-session-ledger-
|
|
10
|
-
import { B as workspaceBuildInProgress, v as withIdleWorkspace } from "./workspaces-
|
|
11
|
-
import { S as parseLease, _ as workspaceDeviceLastUseAt, b as leaseIsExpired, r as createActivityReader, v as deviceLeasePath, w as parseWorkspaceLeases } from "./activity-
|
|
8
|
+
import { G as devServerStopRecord, H as describeDevServerStop, W as devServerStopLevel, Y as vanishedSupervisorMessage, b as shutDownIdleDevices, y as dueIdleDevices } from "./device-capacity-C0PiTyRb.mjs";
|
|
9
|
+
import { d as parseWatchRoots, l as parseSubscriberNames, m as runWatchman, u as parseTriggerCount } from "./eas-session-ledger-DCUfh6m7.mjs";
|
|
10
|
+
import { B as workspaceBuildInProgress, v as withIdleWorkspace } from "./workspaces-CY3KSdC0.mjs";
|
|
11
|
+
import { S as parseLease, _ as workspaceDeviceLastUseAt, b as leaseIsExpired, r as createActivityReader, v as deviceLeasePath, w as parseWorkspaceLeases } from "./activity-BQpJpAjA.mjs";
|
|
12
12
|
import { t as describeError } from "./errors-DHm_U5gv.mjs";
|
|
13
|
-
import { f as hostConnector, m as probeHostedSession } from "./hosted-client-
|
|
13
|
+
import { f as hostConnector, m as probeHostedSession } from "./hosted-client-Bb89P6an.mjs";
|
|
14
14
|
import { s as watchWorkspaceState, t as clearHostedMetro } from "./metro-request-2LmFpC1z.mjs";
|
|
15
15
|
import { t as relaunchWithLogFile } from "./detached-entry-tfrgGVWb.mjs";
|
|
16
|
-
import { n as dueIdleDevices, r as shutDownIdleDevices } from "./idle-shutdown-DPD8oV36.mjs";
|
|
17
16
|
import { t as triggerMaintenance } from "./trigger-BtB4kbe0.mjs";
|
|
18
17
|
import { existsSync, readFileSync, realpathSync, statSync } from "node:fs";
|
|
19
18
|
import { dirname, isAbsolute, join, resolve, sep } from "node:path";
|
|
@@ -894,7 +893,7 @@ async function runSupervisor({ root, port, tunnel = false, resetCache = false, i
|
|
|
894
893
|
try {
|
|
895
894
|
let start;
|
|
896
895
|
if (command) {
|
|
897
|
-
const startServer = startCommand ?? (await import("./server-command-
|
|
896
|
+
const startServer = startCommand ?? (await import("./server-command-Cu2w-UjB.mjs")).startCommandServer;
|
|
898
897
|
start = (opts) => startServer({
|
|
899
898
|
...opts,
|
|
900
899
|
command
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as getExecutor } from "./exec-CGuDzt40.mjs";
|
|
2
2
|
import { a as killOnAbort } from "./operation-exec-DKlBcKAL.mjs";
|
|
3
3
|
import { D as extractEmulatorFailure, E as emulatorProbeSession, O as findBuildTool, Q as pickDefaultSystemImage, T as emulatorFailureRemedy, c as androidPoolNoCandidatesRefusal, et as profileNeedsFoldFeature, j as hostSystemImageArch, l as androidSystemImageAbi, o as androidHome, s as androidPoolCandidates, w as emulatorDiskSpaceRemedy } from "./android-Iq0M2t2d.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { m as unknownAndroidSystemImageRefusal, p as unknownAndroidDeviceProfileRefusal, u as layerNote } from "./device-capacity-C0PiTyRb.mjs";
|
|
5
|
+
import { Q as pickDevClientScheme } from "./toolchain-DRQyCvlp.mjs";
|
|
6
6
|
import { n as decideSystemImage } from "./android-image-DFk26aY6.mjs";
|
|
7
|
-
import { t as devClientScheme } from "./dev-client-
|
|
7
|
+
import { t as devClientScheme } from "./dev-client-DDApoVvd.mjs";
|
|
8
8
|
import { existsSync, readFileSync, readdirSync } from "node:fs";
|
|
9
9
|
import { relative } from "node:path";
|
|
10
10
|
//#region src/commands/android/support.ts
|