stim 1.26.0 → 1.28.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-DVsvSwf7.mjs → acquire-artifact-CKByBnTD.mjs} +2 -2
- package/dist/{act-C-BqJEpu.mjs → act-8iswyfRa.mjs} +319 -126
- package/dist/{activity-Lnb_EoRY.mjs → activity-DRMg4_mD.mjs} +6 -6
- package/dist/{agent-device-usage-output-DbXy5tg8.mjs → agent-device-usage-output-tE90fDdo.mjs} +5 -5
- package/dist/{android-CiNQw3kq.mjs → android-CHmSU4B4.mjs} +101 -45
- package/dist/{android-DTAcRwBC.mjs → android-CsPs-7Mg.mjs} +23 -18
- package/dist/{android-B5P81yI-.mjs → android-D577ApKG.mjs} +37 -15
- package/dist/{android-CSbLRD53.mjs → android-YWCbmkVK.mjs} +5 -5
- package/dist/{android-cas-BTVhZ0Qs.mjs → android-cas-_aDifWW0.mjs} +4 -4
- package/dist/android-cas-compiler.mjs +1 -1
- package/dist/api.d.mts +14 -4
- package/dist/api.mjs +39 -29
- package/dist/{apk-signed-tail-B46U9hXc.mjs → apk-signed-tail-CQbwM0qO.mjs} +2 -2
- package/dist/{artifact-CsAP6AGK.mjs → artifact-DYtHjxsn.mjs} +19 -24
- package/dist/{artifact-BxREhAaV.mjs → artifact-bFkfD3vf.mjs} +18 -23
- package/dist/{artifact-platform-CMRc0M_r.mjs → artifact-platform-BO2Uvk_A.mjs} +1 -1
- package/dist/auto-placement-BVqs8AJi.mjs +350 -0
- package/dist/{browser-web-rYPyqhTf.mjs → browser-web-BUaLcafY.mjs} +16 -16
- package/dist/{build-DPhApsjV.mjs → build-cQURy_KW.mjs} +35 -31
- package/dist/{build-cache-DrXNCy3T.mjs → build-cache-CZULpXVl.mjs} +43 -21
- package/dist/{build-plan-DrMMdayj.mjs → build-plan-CxoYfxsc.mjs} +7 -6
- package/dist/{cache-manifest-BEZ9Bpl1.mjs → cache-manifest-DEjqGGat.mjs} +1 -1
- package/dist/cache-manifest.mjs +1 -1
- package/dist/{budget-k2mZGvvk.mjs → ccache-Bm_A1xX9.mjs} +562 -1604
- package/dist/{cdp-BG3FJCCx.mjs → cdp-C3svvXiE.mjs} +1 -1
- package/dist/{chrome-BvV8ssI3.mjs → chrome-DyDWurWG.mjs} +1 -1
- package/dist/{cli-BBKFGOFl.mjs → cli-CpbaLDa7.mjs} +24 -23
- package/dist/cli.mjs +1 -1
- package/dist/{client-D9CaRks-.mjs → client-YxCer6ab.mjs} +84 -65
- package/dist/collector-run.d.mts +10 -9
- package/dist/collector-run.mjs +42 -27
- package/dist/{command-output-BF5AR2dL.mjs → command-output-C8R1KIvi.mjs} +1 -1
- package/dist/{config-BktkY_zC.mjs → config-Cn94Jc0g.mjs} +23 -4
- package/dist/{dependencies-Dw6wfQdv.mjs → dependencies-DKeMzwXY.mjs} +108 -60
- package/dist/{dependency-state-DFB41vfr.mjs → dependency-state-CojA2o0t.mjs} +14 -7
- package/dist/{detached-entry-KmieOKgN.mjs → detached-entry-BPlSaCwC.mjs} +1 -1
- package/dist/{dev-client-DXR_tPVY.mjs → dev-client-D-BW5uiq.mjs} +2 -2
- package/dist/{device-BK-zwyd_.mjs → device-CgXfbcz5.mjs} +25 -24
- package/dist/{device-capacity-DCSvUF0l.mjs → device-capacity-Cd8lMSn3.mjs} +175 -22
- package/dist/{device-BcYeHSFu.mjs → device-eeK95Lir.mjs} +16 -16
- package/dist/device-host-worker.mjs +22 -20
- package/dist/{device-ios-BLGfXQeK.mjs → device-ios-Cc9ulihb.mjs} +251 -23
- package/dist/{device-lease-run-BmvIl7bI.mjs → device-lease-run-Mtzp4THX.mjs} +5 -5
- package/dist/{device-pool-Dluix4H3.mjs → device-pool-eRz6DtCg.mjs} +3 -3
- package/dist/{doctor-Bhg1ii70.mjs → doctor-Bz_ouYAW.mjs} +28 -16
- package/dist/{doctor-Cp-BhzTS.mjs → doctor-C2QyhejJ.mjs} +1 -1
- package/dist/{doctor-fingerprint-D3a04Mhu.mjs → doctor-fingerprint-o7ZI9YLn.mjs} +1 -1
- package/dist/doctor-fingerprint.mjs +1 -1
- package/dist/{doctor-watchman-BStK05nt.mjs → doctor-watchman-BTW82PDC.mjs} +5 -5
- package/dist/{doctor-OnwP94ne.mjs → doctor-xf7ht-5n.mjs} +76 -32
- package/dist/{eas-build-Dsj93iM9.mjs → eas-build-Dm6q68QY.mjs} +4 -4
- package/dist/eas-fallback-DajNpxf-.mjs +87 -0
- package/dist/{eas-session-ledger-B5vygTiD.mjs → eas-session-ledger-CBFo_Uo1.mjs} +37 -8
- package/dist/{error-diagnostics-BOOm9Db7.mjs → error-diagnostics-D1QfyJzQ.mjs} +51 -25
- package/dist/{exec-VFRpu1iA.mjs → exec-aULwtNly.mjs} +57 -6
- package/dist/{gc-ldgr-hXU.mjs → gc-DM5oMm-J.mjs} +161 -45
- package/dist/{gc-C_79zvz4.mjs → gc-PLFwb0k4.mjs} +2 -2
- package/dist/{guide-D7K0X6KG.mjs → guide-C4I46XAk.mjs} +674 -213
- package/dist/{hosted-android-Bk54ej6n.mjs → hosted-android-DlaKLbW0.mjs} +6 -7
- package/dist/{hosted-client-fHO8yqzc.mjs → hosted-client-DDRm9hPJ.mjs} +51 -20
- package/dist/{hosted-logs-BfbmDM4M.mjs → hosted-logs-bSebOKbz.mjs} +8 -8
- package/dist/{hosted-logs-sync-B0pvmOk-.mjs → hosted-logs-sync-B0c53W_c.mjs} +5 -5
- package/dist/{hosted-macos-CPl0OZ9h.mjs → hosted-macos-B7-8Pv4H.mjs} +6 -6
- package/dist/{hosted-native-CpDB3-PO.mjs → hosted-native-CDe33CSr.mjs} +22 -18
- package/dist/{idle-shutdown-FfxL1KdG.mjs → idle-shutdown-CQ0QwU9J.mjs} +7 -8
- package/dist/{ios-WxpDJ5T1.mjs → ios-B1DYuOjh.mjs} +27 -11
- package/dist/{ios-B7-lToDu.mjs → ios-B1HvafEG.mjs} +8 -8
- package/dist/{ios-ENC4sRPA.mjs → ios-CsRVik64.mjs} +7 -1
- package/dist/{ios-device-CsyryvpT.mjs → ios-device-B4elVFKi.mjs} +3 -3
- package/dist/{ios-device-B6HK951C.mjs → ios-device-CiBA-er9.mjs} +1 -1
- package/dist/{ios-project-Ty5pHl9O.mjs → ios-project-CR4mZ7CH.mjs} +22 -9
- package/dist/{ios-signing-4c_qXvQm.mjs → ios-signing-BJzvDPfU.mjs} +2 -2
- package/dist/{ios-state-Cw7-WQf2.mjs → ios-state-BPHqMDdZ.mjs} +1 -1
- package/dist/{ios-ftxdQbJS.mjs → ios-tg4tp3q1.mjs} +94 -37
- package/dist/{js-swap-BMhXYVDS.mjs → js-swap-CVpSW1fn.mjs} +8 -7
- package/dist/{launch-DOp8RjDz.mjs → launch-DoySmhjz.mjs} +42 -38
- package/dist/lightened-DFAJgfIk.mjs +171 -0
- package/dist/{logs-s1dRIG1E.mjs → logs-BGsW7iPe.mjs} +46 -21
- package/dist/{logs-dQDki6Tt.mjs → logs-DI5ILkYB.mjs} +7 -7
- package/dist/{macos-DBBPNnIA.mjs → macos-Bo9st9Di.mjs} +73 -38
- package/dist/{macos-B0VEV3Gf.mjs → macos-C12RMJQF.mjs} +1 -1
- package/dist/macos-run.mjs +1 -1
- package/dist/maintenance-run.mjs +7 -7
- package/dist/{metro-CjC10t6E.mjs → metro-BnhXV2Mj.mjs} +4 -4
- package/dist/{metro-gateway-B6_PgD0L.mjs → metro-request-DXyKjVDF.mjs} +26 -47
- package/dist/{named-ports-BG0j1X4g.mjs → named-ports-Phoi2POD.mjs} +3 -3
- package/dist/{native-android-CL2NGiik.mjs → native-android-vxgtLD7w.mjs} +17 -18
- package/dist/{native-gradle-artifact-inputs-btSUulme.mjs → native-gradle-artifact-inputs-BN96IVw8.mjs} +5 -5
- package/dist/{native-runtime-Dq3RBcON.mjs → native-runtime-DG4Rodzj.mjs} +9 -8
- package/dist/{native-source-D-4Dh4JU.mjs → native-source-D1AzWiuP.mjs} +1 -1
- package/dist/{native-xcode-inputs-BW7H8JGu.mjs → native-xcode-inputs-BKarCoKg.mjs} +3 -3
- package/dist/{native-xcode-ios-CBXJAxfC.mjs → native-xcode-ios-8A-efGa5.mjs} +17 -17
- package/dist/{ndjson-CgE_o3Dl.mjs → ndjson-Dy2W4vRa.mjs} +2 -2
- package/dist/offload-worker.mjs +23 -24
- package/dist/{operation-exec-CUZifp6Z.mjs → operation-exec-Dp4FuIGR.mjs} +1 -1
- package/dist/{ownership-BjYvMNX_.mjs → ownership-DJCq48IJ.mjs} +3 -3
- package/dist/{page-CzEA_-5_.mjs → page-CQJlcj3x.mjs} +2 -2
- package/dist/{phone-reverses-lmj6kcPm.mjs → phone-reverses-BzTa8g1F.mjs} +18 -4
- package/dist/{placement-log-DIFPQAXp.mjs → placement-log-Cvhta5ib.mjs} +3 -3
- package/dist/{plan-placement-IiiSQhtz.mjs → plan-placement-WkZdccuN.mjs} +36 -10
- package/dist/{ports-C2_w1Z0Z.mjs → ports-UV4mJgyC.mjs} +3 -3
- package/dist/{prebuild-gmouvmJZ.mjs → prebuild-k8d_tqOq.mjs} +16 -17
- package/dist/{project-BUu6Is4k.mjs → project-Sui52ywT.mjs} +17 -17
- package/dist/{pull-request-CbNlkFok.mjs → pull-request-BzLmzAIQ.mjs} +2 -2
- package/dist/pull-requests.mjs +1 -1
- package/dist/{react-native-android-Cgg99REN.mjs → react-native-android-DANlGGQf.mjs} +32 -26
- package/dist/{react-native-build-oNwqF5Wb.mjs → react-native-build-jUHnIfZ9.mjs} +9 -9
- package/dist/{react-native-doctor-BhA3KUte.mjs → react-native-doctor-DCWRjS7K.mjs} +6 -6
- package/dist/{react-native-ios-B-nf4rjN.mjs → react-native-ios-BwMsFMXi.mjs} +23 -17
- package/dist/{recordings-BldzVKq0.mjs → recordings-iy0mkm7b.mjs} +1 -1
- package/dist/{registration-CN6nlhcD.mjs → registration-BwCe64PH.mjs} +1 -1
- package/dist/{reload-C9OduiNc.mjs → reload-Bj7QyuDy.mjs} +1 -1
- package/dist/{reload-CCR7KC_l.mjs → reload-c_uEyc_X.mjs} +16 -16
- package/dist/{remote-C8S7FlPF.mjs → remote-DFlpAqdV.mjs} +23 -10
- package/dist/{result-7F5hEwQJ.mjs → result-BIcXREyC.mjs} +32 -21
- package/dist/{run-BqB0v3pt.mjs → run-y2HwyNvg.mjs} +3 -3
- package/dist/{selection-BNPBZ6T5.mjs → selection-CXgM_VK_.mjs} +37 -29
- package/dist/{server-bare-A75rDIdD.mjs → server-bare-2N4vSRZG.mjs} +2 -2
- package/dist/{server-command-CssKFOD7.mjs → server-command-qneHPcRI.mjs} +6 -6
- package/dist/{server-expo-eQfOdydb.mjs → server-expo-Ccm9zB0o.mjs} +4 -4
- package/dist/server-expo-WulkyAwT.mjs +2 -0
- package/dist/{settings-CosW5X-S.mjs → settings-CY5JZlNN.mjs} +375 -62
- package/dist/{settings-OaGQF-ri.mjs → settings-Cfd_Q6ys.mjs} +24 -3
- package/dist/settings-payload-DwQiEMCn.mjs +257 -0
- package/dist/settings-write-CJpjkeAd.mjs +185 -0
- package/dist/settings.schema.json +51 -33
- package/dist/{simslim-Bax1qcxu.mjs → simslim-DCQwzoPy.mjs} +2 -2
- package/dist/{slot-launch-CYCEhfBY.mjs → slot-launch-BpmanOnk.mjs} +6 -6
- package/dist/{stage-jKQ7CP_B.mjs → stage-CmugrSG5.mjs} +2 -2
- package/dist/{start-C_wefNKB.mjs → start-CHH3zgIU.mjs} +1 -1
- package/dist/{start-_BdJ32cZ.mjs → start-DYLk6GXn.mjs} +27 -22
- package/dist/{state-C1i2nMOP.mjs → state-B2QJbDwz.mjs} +4 -4
- package/dist/{state-C4OdpOTF.mjs → state-BXC1Lfxw.mjs} +2 -2
- package/dist/{stats-tEpEEH-u.mjs → stats-DxKqhcGp.mjs} +5 -5
- package/dist/{stats-report-n2U5plhk.mjs → stats-report-B86Cv7Uc.mjs} +1 -1
- package/dist/{status-CRXz-Gtj.mjs → status-7ULDEJ1e.mjs} +1 -1
- package/dist/{status-DQrqodLj.mjs → status-BHCkOZga.mjs} +51 -28
- package/dist/{status-B9M7x4CZ.mjs → status-D_Ljc89p.mjs} +1 -1
- package/dist/{status-watch-B5wDIH_o.mjs → status-watch-BmsPqYSU.mjs} +18 -7
- package/dist/status-worker.mjs +1 -1
- package/dist/{stim-desktop-6Dqp-gjX.mjs → stim-desktop-CbWo21kb.mjs} +2 -2
- package/dist/{stop-DRqQVqDJ.mjs → stop-D-dGE9gh.mjs} +21 -20
- package/dist/{stop-ySNQHXMG.mjs → stop-DQvE-P76.mjs} +10 -6
- package/dist/{stop-CmdNhGlC.mjs → stop-b2pouxAO.mjs} +2 -2
- package/dist/supervisor-run.mjs +237 -63
- package/dist/{support-BGSCBoib.mjs → support-04IhBUTT.mjs} +6 -6
- package/dist/{support-CVOCp0Ft.mjs → support-BtlJKjyQ.mjs} +12 -11
- package/dist/{swiftpm-artifact-inputs-CfUzt_0Z.mjs → swiftpm-artifact-inputs-Cj2UpmPN.mjs} +4 -4
- package/dist/{swiftpm-macos-x6HPpl_2.mjs → swiftpm-macos-BhF2stxY.mjs} +11 -12
- package/dist/{toolchain-J4J8MrAr.mjs → toolchain-mLA_km-b.mjs} +321 -15
- package/dist/{toolchain-DoavrvIA.mjs → toolchain-qktiV8xc.mjs} +1 -1
- package/dist/{trigger-KVaWWNyn.mjs → trigger-DMou-X7j.mjs} +2 -2
- package/dist/trigger-qp2ji5wE.mjs +2 -0
- package/dist/{warm-progress-DvhTX_eu.mjs → warm-progress-B0Vpuvpl.mjs} +731 -727
- package/dist/{web-Bihbf7-u.mjs → web-BYmK0TjL.mjs} +9 -9
- package/dist/web-CrVLVQZY.mjs +2 -0
- package/dist/web-run.mjs +9 -9
- package/dist/windows-report.mjs +1 -1
- package/dist/{workspace-state-pUg3_RRA.mjs → workspace-state-kIZrdlSg.mjs} +3 -3
- package/dist/{workspaces-g2lhdBXF.mjs → workspaces-CmOcceDN.mjs} +1879 -74
- package/dist/{worktree-BKuklFh_.mjs → worktree-2dk5edza.mjs} +933 -534
- package/dist/worktree-nliAoHxB.mjs +2 -0
- package/package.json +7 -7
- package/dist/ccache-Bx5TbxwG.mjs +0 -143
- package/dist/eas-fallback-FwkeqqGi.mjs +0 -381
- package/dist/hosted-ios-D55QhYaD.mjs +0 -15
- package/dist/native-run-BfIDFKLH.mjs +0 -275
- package/dist/server-expo-wvcj5tiZ.mjs +0 -2
- package/dist/settings-write-QjYfSrjF.mjs +0 -360
- package/dist/trigger-DzJu208Q.mjs +0 -2
- package/dist/web-BFLueSh-.mjs +0 -2
- package/dist/worktree-Bm4cb-nU.mjs +0 -2
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { C as reportSignal, _ as spawnDeclared, b as operationState, c as throwIfCancelled, t as getExecutor } from "./exec-
|
|
2
|
-
import { r as readWorkspaceState } from "./workspace-state-
|
|
3
|
-
import { H as deviceSlotPlatforms, p as getProject, q as validateDeviceSlot } from "./config-
|
|
1
|
+
import { C as reportSignal, _ as spawnDeclared, b as operationState, c as throwIfCancelled, t as getExecutor } from "./exec-aULwtNly.mjs";
|
|
2
|
+
import { r as readWorkspaceState } from "./workspace-state-kIZrdlSg.mjs";
|
|
3
|
+
import { H as deviceSlotPlatforms, p as getProject, q as validateDeviceSlot } from "./config-Cn94Jc0g.mjs";
|
|
4
4
|
import { r as waitForChild, t as createLineReader } from "./process-output-Fpl8PYi8.mjs";
|
|
5
|
-
import { i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-
|
|
6
|
-
import { a as killOnAbort, t as runOperationFile } from "./operation-exec-
|
|
7
|
-
import {
|
|
8
|
-
import { v as detectIsExpo } from "./project-
|
|
9
|
-
import { E as findBuildTool, F as listAvdsAsync, I as listInstalledSystemImages, K as ownedAvdSystemImage, V as ownedAvdDirectory, X as pickDefaultSystemImage, k as hostSystemImageArch, l as androidSystemImageAbi, r as androidBuildToolName } from "./android-
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { h as
|
|
16
|
-
import {
|
|
17
|
-
import { t as readDoctorFingerprint } from "./doctor-fingerprint-
|
|
18
|
-
import { i as planEasDevelopmentBuild } from "./eas-build-
|
|
19
|
-
import { a as runPrebuild, c as fingerprintErrorMissReason, d as memoizedFingerprint, i as recordPrebuildAsync, n as planPrebuildAsync, o as staleNativeDirRefusal, s as explainBuildMiss, t as planPrebuild } from "./prebuild-
|
|
20
|
-
import { a as PLATFORM, c as androidGradleProject, g as dumpApkManifest, h as displayPath, i as NO_FINGERPRINT, l as androidJobLayout, o as androidBuildOptions, p as apkPackage, r as NO_DEVICE } from "./support-
|
|
5
|
+
import { i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-C8R1KIvi.mjs";
|
|
6
|
+
import { a as killOnAbort, t as runOperationFile } from "./operation-exec-Dp4FuIGR.mjs";
|
|
7
|
+
import { B as publicUrlSetting, H as realpathInside, W as remoteEasFallbackSetting, an as makeTemporaryDirectory, at as settingsLayers, m as defaultAndroidLayout, nt as settingOriginScope, on as removeTemporaryEntry, ot as tunnelModeSetting, q as resolveAndroidLayout } from "./settings-CY5JZlNN.mjs";
|
|
8
|
+
import { v as detectIsExpo } from "./project-Sui52ywT.mjs";
|
|
9
|
+
import { E as findBuildTool, F as listAvdsAsync, I as listInstalledSystemImages, K as ownedAvdSystemImage, V as ownedAvdDirectory, X as pickDefaultSystemImage, k as hostSystemImageArch, l as androidSystemImageAbi, r as androidBuildToolName } from "./android-CsPs-7Mg.mjs";
|
|
10
|
+
import { An as checkEasAuth, Bn as bundleInvocation, Nn as loadProjectProvider, Rn as resolveRemote, Tn as processContext, s as resolveCcache } from "./ccache-Bm_A1xX9.mjs";
|
|
11
|
+
import { lt as statsProjectKey } from "./workspaces-CmOcceDN.mjs";
|
|
12
|
+
import { G as tailLines, U as startBuildHeartbeat, j as HEARTBEAT_INTERVAL_MS, r as androidToolchainAsync, t as androidRequirements } from "./toolchain-mLA_km-b.mjs";
|
|
13
|
+
import { A as untrackedNativeFiles, C as resolveBuild, E as storedAssetManifest, M as captureAssetManifest, N as compareAssetManifests, P as readAssetManifest, S as refingerprintAfterMutation, _ as inputsChangedDuringBuild, a as configInputsChanged, d as filesystemBuildCapability, f as fingerprintDiffRecord, h as gitignoredFingerprintInputs, j as assetDiffReason, k as untrackedMissLine, m as fingerprintProject, n as buildCacheKey, r as changedDuringBuildLine, w as storeBuild } from "./build-cache-CZULpXVl.mjs";
|
|
14
|
+
import { s as expoTelemetryEnv, t as cleanLine } from "./server-expo-Ccm9zB0o.mjs";
|
|
15
|
+
import { c as readProductFlavors, h as androidPathRoomRefusal, n as buildAndroid, s as productFlavorRefusal } from "./react-native-build-jUHnIfZ9.mjs";
|
|
16
|
+
import { h as detectAppIds, m as detectAndroidPackage } from "./start-DYLk6GXn.mjs";
|
|
17
|
+
import { t as readDoctorFingerprint } from "./doctor-fingerprint-o7ZI9YLn.mjs";
|
|
18
|
+
import { i as planEasDevelopmentBuild } from "./eas-build-Dm6q68QY.mjs";
|
|
19
|
+
import { a as runPrebuild, c as fingerprintErrorMissReason, d as memoizedFingerprint, i as recordPrebuildAsync, n as planPrebuildAsync, o as staleNativeDirRefusal, s as explainBuildMiss, t as planPrebuild } from "./prebuild-k8d_tqOq.mjs";
|
|
20
|
+
import { a as PLATFORM, c as androidGradleProject, g as dumpApkManifest, h as displayPath, i as NO_FINGERPRINT, l as androidJobLayout, o as androidBuildOptions, p as apkPackage, r as NO_DEVICE } from "./support-04IhBUTT.mjs";
|
|
21
21
|
import { t as AndroidRecipeRefusal } from "./android-project-BCAAmMwz.mjs";
|
|
22
|
-
import { u as resolveAndroidRunPlan } from "./result-
|
|
23
|
-
import { t as
|
|
24
|
-
import {
|
|
25
|
-
import { n as planFlagRefusal, r as planPayload, t as planCachedBuild } from "./build-plan-
|
|
26
|
-
import { n as detectEntryFile, r as refreshUpdatesManifestFile, t as UPDATES_MANIFEST_NAME } from "./js-swap-
|
|
27
|
-
import { t as planHostedDevice } from "./plan-placement-
|
|
22
|
+
import { u as resolveAndroidRunPlan } from "./result-BIcXREyC.mjs";
|
|
23
|
+
import { n as androidProcessRuntime, t as androidMetroRuntime } from "./launch-DoySmhjz.mjs";
|
|
24
|
+
import { t as checkEasFallback } from "./eas-fallback-DajNpxf-.mjs";
|
|
25
|
+
import { n as planFlagRefusal, r as planPayload, t as planCachedBuild } from "./build-plan-CxoYfxsc.mjs";
|
|
26
|
+
import { n as detectEntryFile, r as refreshUpdatesManifestFile, t as UPDATES_MANIFEST_NAME } from "./js-swap-CVpSW1fn.mjs";
|
|
27
|
+
import { t as planHostedDevice } from "./plan-placement-WkZdccuN.mjs";
|
|
28
28
|
import { constants, existsSync, mkdirSync, readFileSync, renameSync } from "node:fs";
|
|
29
29
|
import { basename, dirname, isAbsolute, join, relative } from "node:path";
|
|
30
30
|
import chalk from "chalk";
|
|
@@ -614,6 +614,7 @@ async function planReactNativeAndroid(root, opts, runtimeKind, { context: settin
|
|
|
614
614
|
slot,
|
|
615
615
|
platform: "android",
|
|
616
616
|
machine: target.machine,
|
|
617
|
+
...target.placement ? { placement: target.placement } : {},
|
|
617
618
|
selectors: {
|
|
618
619
|
...target.systemImage ? { systemImage: target.systemImage } : {},
|
|
619
620
|
...target.deviceProfile ? { deviceProfile: target.deviceProfile } : {}
|
|
@@ -638,9 +639,14 @@ async function planReactNativeAndroid(root, opts, runtimeKind, { context: settin
|
|
|
638
639
|
localOnlyFlags: typeof opts.systemImage === "string" ? ["--system-image"] : []
|
|
639
640
|
}) } : {}
|
|
640
641
|
});
|
|
642
|
+
if (hostedPlan.kind === "refused") return refuse({
|
|
643
|
+
code: hostedPlan.code,
|
|
644
|
+
message: hostedPlan.message,
|
|
645
|
+
remedy: hostedPlan.remedy
|
|
646
|
+
});
|
|
641
647
|
if (hostedPlan.kind === "unknown") return refuse({
|
|
642
648
|
code: "STIM_BAD_ARG",
|
|
643
|
-
message: `android.remote is ${target.machine}, and its emulator ABI is unknown here: ${hostedPlan.reason}.`,
|
|
649
|
+
message: `android.remote is ${target.placement ?? target.machine}, and its emulator ABI is unknown here: ${hostedPlan.reason}.`,
|
|
644
650
|
remedy: "Run `stim android` to build for the remote device, or unset android.remote to plan the owned emulator."
|
|
645
651
|
});
|
|
646
652
|
if (hostedPlan.kind === "local" && replacement.refusal) return refuse(replacement.refusal);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { _ as spawnDeclared, t as getExecutor } from "./exec-
|
|
2
|
-
import { x as sharedCompilationCache } from "./workspace-state-
|
|
1
|
+
import { _ as spawnDeclared, t as getExecutor } from "./exec-aULwtNly.mjs";
|
|
2
|
+
import { x as sharedCompilationCache } from "./workspace-state-kIZrdlSg.mjs";
|
|
3
3
|
import { n as stripAnsi, r as waitForChild, t as createLineReader } from "./process-output-Fpl8PYi8.mjs";
|
|
4
|
-
import { l as phaseLine } from "./command-output-
|
|
5
|
-
import { a as killOnAbort } from "./operation-exec-
|
|
6
|
-
import { C as resolvePackageJson } from "./project-
|
|
7
|
-
import { o as androidHome } from "./android-
|
|
8
|
-
import {
|
|
4
|
+
import { l as phaseLine } from "./command-output-C8R1KIvi.mjs";
|
|
5
|
+
import { a as killOnAbort } from "./operation-exec-Dp4FuIGR.mjs";
|
|
6
|
+
import { C as resolvePackageJson } from "./project-Sui52ywT.mjs";
|
|
7
|
+
import { o as androidHome } from "./android-CsPs-7Mg.mjs";
|
|
8
|
+
import { n as CCACHE_UNAVAILABLE, o as readCcacheActivity } from "./ccache-Bm_A1xX9.mjs";
|
|
9
|
+
import { r as register } from "./cache-manifest-DEjqGGat.mjs";
|
|
10
|
+
import { F as compilationCacheSettings, L as parseSwiftVersion, M as SWIFT_PREFIX_MAPPING_MIN_SWIFT, N as buildXcode, R as parseXcodeMajor, U as startBuildHeartbeat, W as swiftPrefixMappingSupported, j as HEARTBEAT_INTERVAL_MS, z as pickXcodeProject } from "./toolchain-mLA_km-b.mjs";
|
|
9
11
|
import { p as resolveOptimizations } from "./errors-DHm_U5gv.mjs";
|
|
10
|
-
import { a as readCcacheActivity, n as CCACHE_UNAVAILABLE } from "./ccache-Bx5TbxwG.mjs";
|
|
11
|
-
import { F as compilationCacheSettings, L as parseSwiftVersion, M as SWIFT_PREFIX_MAPPING_MIN_SWIFT, N as buildXcode, R as parseXcodeMajor, U as startBuildHeartbeat, W as swiftPrefixMappingSupported, j as HEARTBEAT_INTERVAL_MS, z as pickXcodeProject } from "./toolchain-J4J8MrAr.mjs";
|
|
12
12
|
import { createHash } from "node:crypto";
|
|
13
13
|
import { existsSync, mkdirSync, readFileSync, readdirSync, rmSync, statSync } from "node:fs";
|
|
14
14
|
import { dirname, isAbsolute, join, relative, sep } from "node:path";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as getExecutor } from "./exec-
|
|
2
|
-
import { l as phaseLine } from "./command-output-
|
|
3
|
-
import {
|
|
4
|
-
import { v as detectIsExpo } from "./project-
|
|
5
|
-
import { J as bundlerPin, n as androidToolchain, r as androidToolchainAsync, s as iosToolchainAsync, t as androidRequirements } from "./toolchain-
|
|
6
|
-
import { a as reactNativeDoctorFindings, i as mainCheckoutProjectRoot, n as detectFingerprintParity, r as detectLinkedLibraryGitMetadata, s as repairCxxLauncherState, t as checkMainCheckout } from "./doctor-
|
|
1
|
+
import { t as getExecutor } from "./exec-aULwtNly.mjs";
|
|
2
|
+
import { l as phaseLine } from "./command-output-C8R1KIvi.mjs";
|
|
3
|
+
import { Y as resolveIosProjectDir, q as resolveAndroidLayout } from "./settings-CY5JZlNN.mjs";
|
|
4
|
+
import { v as detectIsExpo } from "./project-Sui52ywT.mjs";
|
|
5
|
+
import { J as bundlerPin, n as androidToolchain, r as androidToolchainAsync, s as iosToolchainAsync, t as androidRequirements } from "./toolchain-mLA_km-b.mjs";
|
|
6
|
+
import { a as reactNativeDoctorFindings, i as mainCheckoutProjectRoot, n as detectFingerprintParity, r as detectLinkedLibraryGitMetadata, s as repairCxxLauncherState, t as checkMainCheckout } from "./doctor-xf7ht-5n.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,20 +1,20 @@
|
|
|
1
|
-
import { C as reportSignal } from "./exec-
|
|
2
|
-
import { i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { C as reportSignal } from "./exec-aULwtNly.mjs";
|
|
2
|
+
import { i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-C8R1KIvi.mjs";
|
|
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-CY5JZlNN.mjs";
|
|
4
|
+
import { Tn as processContext } from "./ccache-Bm_A1xX9.mjs";
|
|
5
|
+
import { lt as statsProjectKey } from "./workspaces-CmOcceDN.mjs";
|
|
6
|
+
import { J as bundlerPin, ot as runCancellationSignal, s as iosToolchainAsync } from "./toolchain-mLA_km-b.mjs";
|
|
7
|
+
import { O as trackedFingerprintPaths, S as refingerprintAfterMutation, _ as inputsChangedDuringBuild, a as configInputsChanged, d as filesystemBuildCapability, f as fingerprintDiffRecord, g as ignoredFingerprintPaths, h as gitignoredFingerprintInputs, k as untrackedMissLine, n as buildCacheKey, r as changedDuringBuildLine } from "./build-cache-CZULpXVl.mjs";
|
|
7
8
|
import { d as optimizationBuildProfile, l as artifactCachePolicy, p as resolveOptimizations } from "./errors-DHm_U5gv.mjs";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { i as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { a as
|
|
16
|
-
import {
|
|
17
|
-
import { t as planHostedDevice } from "./plan-placement-IiiSQhtz.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-BtlJKjyQ.mjs";
|
|
10
|
+
import { t as readDoctorFingerprint } from "./doctor-fingerprint-o7ZI9YLn.mjs";
|
|
11
|
+
import { i as planEasDevelopmentBuild, n as easDeviceBuildRemedy } from "./eas-build-Dm6q68QY.mjs";
|
|
12
|
+
import { c as fingerprintErrorMissReason, d as memoizedFingerprint, i as recordPrebuildAsync, o as staleNativeDirRefusal, s as explainBuildMiss } from "./prebuild-k8d_tqOq.mjs";
|
|
13
|
+
import { r as planPayload, t as planCachedBuild } from "./build-plan-CxoYfxsc.mjs";
|
|
14
|
+
import { t as IosRecipeRefusal } from "./ios-project-CR4mZ7CH.mjs";
|
|
15
|
+
import { a as hostedIosSelectors } from "./remote-DFlpAqdV.mjs";
|
|
16
|
+
import { a as writeIpTxt, c as iosProcessRuntime, r as copyAppAside, s as iosMetroRuntime, t as DEFAULT_DEPS } from "./dependencies-DKeMzwXY.mjs";
|
|
17
|
+
import { t as planHostedDevice } from "./plan-placement-WkZdccuN.mjs";
|
|
18
18
|
import { rmSync } from "node:fs";
|
|
19
19
|
import chalk from "chalk";
|
|
20
20
|
//#region src/integrations/react-native-ios-plan.ts
|
|
@@ -158,6 +158,7 @@ async function planReactNativeIos(root, opts, d, schemeProblem, { context: setti
|
|
|
158
158
|
slot,
|
|
159
159
|
platform: "ios",
|
|
160
160
|
machine: iosRemote.machine,
|
|
161
|
+
...iosRemote.placement ? { placement: iosRemote.placement } : {},
|
|
161
162
|
selectors: hostedIosSelectors(resolveDeviceType(opts.deviceType, settings), resolveRuntime(opts.runtime, settings)),
|
|
162
163
|
sameKey: (choice) => keyArch("runtime" in choice ? choice.architecture : null) === arch,
|
|
163
164
|
...remoteEasFallbackSetting(settings) ? { eas: () => d.checkEasFallback({
|
|
@@ -174,9 +175,14 @@ async function planReactNativeIos(root, opts, d, schemeProblem, { context: setti
|
|
|
174
175
|
localOnlyFlags: typeof opts.runtime === "string" ? ["--runtime"] : []
|
|
175
176
|
}) } : {}
|
|
176
177
|
});
|
|
178
|
+
if (planned.kind === "refused") return refuse({
|
|
179
|
+
code: planned.code,
|
|
180
|
+
message: planned.message,
|
|
181
|
+
remedy: planned.remedy
|
|
182
|
+
});
|
|
177
183
|
if (planned.kind === "unknown") return refuse({
|
|
178
184
|
code: "STIM_BAD_ARG",
|
|
179
|
-
message: `ios.remote is ${iosRemote.machine}, and its simulator architecture is unknown here: ${planned.reason}.`,
|
|
185
|
+
message: `ios.remote is ${iosRemote.placement ?? iosRemote.machine}, and its simulator architecture is unknown here: ${planned.reason}.`,
|
|
180
186
|
remedy: "Run `stim ios` to build for the remote device, or unset ios.remote to plan the owned simulator."
|
|
181
187
|
});
|
|
182
188
|
placement = planned.placement;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ct as gitCommonDirOnDisk } from "./settings-CY5JZlNN.mjs";
|
|
2
2
|
import { existsSync } from "node:fs";
|
|
3
3
|
import { loadConfig, recordingEnabled, workspaceRecordingsDir } from "@stim-cli/core/state";
|
|
4
4
|
import { rm } from "node:fs/promises";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as process_identity_exports } from "./exec-
|
|
1
|
+
import { S as process_identity_exports } from "./exec-aULwtNly.mjs";
|
|
2
2
|
import { readMacosRecord } from "@stim-cli/core/state";
|
|
3
3
|
//#region src/macos/registration.ts
|
|
4
4
|
function waitForMacosRegistration(root, launchId, child, deadline) {
|
|
@@ -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-c_uEyc_X.mjs";
|
|
2
2
|
export { reloadCommand as default, registerReload, runReload };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { c as throwIfCancelled, i as loadScaledBudgetMs, o as cancellableSleep, s as cancelledError } from "./exec-
|
|
2
|
-
import { a as recordWorkspaceUseAsync, r as readWorkspaceState$1 } from "./workspace-state-
|
|
3
|
-
import { H as deviceSlotPlatforms, U as parseDeviceSlotKey, p as getProject } from "./config-
|
|
4
|
-
import { f as refuseNoProject, l as phaseLine } from "./command-output-
|
|
5
|
-
import {
|
|
6
|
-
import { I as readWorkspaceLaunches, P as readRemoteSession, r as findCommandWorkspaceAsync } from "./project-
|
|
7
|
-
import { nt as resolveOwnedAvdSerialAsync } from "./android-
|
|
8
|
-
import { a as listeningPidsAsync, d as resolveProjectMetro, h as isMetroRunning, u as processCwds } from "./metro-
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { D as resolveOwnedIosSim, f as listAllIosSimsAsync } from "./ios-
|
|
12
|
-
import {
|
|
13
|
-
import { r as readHostedNative } from "./ios-state-
|
|
14
|
-
import { r as reopenHostedAndroidMetro } from "./hosted-android-
|
|
15
|
-
import { n as nativeRunCommand } from "./slot-launch-
|
|
16
|
-
import { n as sendToOwnedPage, t as liveWebRecord } from "./page-
|
|
1
|
+
import { c as throwIfCancelled, i as loadScaledBudgetMs, o as cancellableSleep, s as cancelledError } from "./exec-aULwtNly.mjs";
|
|
2
|
+
import { a as recordWorkspaceUseAsync, r as readWorkspaceState$1 } from "./workspace-state-kIZrdlSg.mjs";
|
|
3
|
+
import { H as deviceSlotPlatforms, U as parseDeviceSlotKey, p as getProject } from "./config-Cn94Jc0g.mjs";
|
|
4
|
+
import { f as refuseNoProject, l as phaseLine } from "./command-output-C8R1KIvi.mjs";
|
|
5
|
+
import { Vt as repoRootAsync } from "./settings-CY5JZlNN.mjs";
|
|
6
|
+
import { I as readWorkspaceLaunches, P as readRemoteSession, r as findCommandWorkspaceAsync } from "./project-Sui52ywT.mjs";
|
|
7
|
+
import { nt as resolveOwnedAvdSerialAsync } from "./android-CsPs-7Mg.mjs";
|
|
8
|
+
import { a as listeningPidsAsync, d as resolveProjectMetro, h as isMetroRunning, u as processCwds } from "./metro-BnhXV2Mj.mjs";
|
|
9
|
+
import { fn as iosAppProcess, sn as ensureMetroReverse, tn as androidAppProcess } from "./ccache-Bm_A1xX9.mjs";
|
|
10
|
+
import { d as webFactsAsync, o as readWebRecord, r as cdpEndpoint } from "./state-B2QJbDwz.mjs";
|
|
11
|
+
import { D as resolveOwnedIosSim, f as listAllIosSimsAsync } from "./ios-B1DYuOjh.mjs";
|
|
12
|
+
import { p as probeHostedSession } from "./hosted-client-DDRm9hPJ.mjs";
|
|
13
|
+
import { r as readHostedNative } from "./ios-state-BPHqMDdZ.mjs";
|
|
14
|
+
import { r as reopenHostedAndroidMetro } from "./hosted-android-DlaKLbW0.mjs";
|
|
15
|
+
import { n as nativeRunCommand } from "./slot-launch-BpmanOnk.mjs";
|
|
16
|
+
import { n as sendToOwnedPage, t as liveWebRecord } from "./page-CQJlcj3x.mjs";
|
|
17
17
|
import { hostedAndroidDeviceName, hostedNativeRecords } from "@stim-cli/core/state";
|
|
18
18
|
import { WebSocket } from "ws";
|
|
19
19
|
import chalk from "chalk";
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { l as WorkspaceProcessCleanupError } from "./exec-
|
|
2
|
-
import { H as deviceSlotPlatforms } from "./config-
|
|
3
|
-
import { l as phaseLine } from "./command-output-
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import { l as WorkspaceProcessCleanupError } from "./exec-aULwtNly.mjs";
|
|
2
|
+
import { H as deviceSlotPlatforms } from "./config-Cn94Jc0g.mjs";
|
|
3
|
+
import { l as phaseLine } from "./command-output-C8R1KIvi.mjs";
|
|
4
|
+
import { B as publicUrlSetting, G as remoteIosSetting, L as parseIosRemote, W as remoteEasFallbackSetting, ot as tunnelModeSetting } from "./settings-CY5JZlNN.mjs";
|
|
5
|
+
import "./ccache-Bm_A1xX9.mjs";
|
|
6
|
+
import { ot as runCancellationSignal } from "./toolchain-mLA_km-b.mjs";
|
|
7
|
+
import { b as resolveSimulatorAppFlag } from "./support-BtlJKjyQ.mjs";
|
|
8
|
+
import { n as devicePlacementRecord } from "./placement-log-Cvhta5ib.mjs";
|
|
9
|
+
import { n as devicePlacementLine } from "./auto-placement-BVqs8AJi.mjs";
|
|
9
10
|
import chalk from "chalk";
|
|
10
11
|
//#region src/commands/ios/remote.ts
|
|
11
12
|
function deviceRemoteConflict(remote, physical) {
|
|
@@ -25,6 +26,7 @@ function resolveIosRemote({ opts, settings, physical, recorded }) {
|
|
|
25
26
|
} };
|
|
26
27
|
return {
|
|
27
28
|
machine,
|
|
29
|
+
...target?.kind === "machine" && target.placement ? { placement: target.placement } : {},
|
|
28
30
|
backend: !physical && target?.kind === "backend" ? target.backend : null,
|
|
29
31
|
recorded
|
|
30
32
|
};
|
|
@@ -68,7 +70,8 @@ function selectIosTarget({ root, slot, opts, settings, physical, appMode, metroC
|
|
|
68
70
|
async function selectIosPlacement(args) {
|
|
69
71
|
const selection = selectIosTarget(args);
|
|
70
72
|
if ("failure" in selection || selection.machine !== "auto") return selection;
|
|
71
|
-
const { root, slot, d, opts, deviceType, runtime, noWait, phase, log, release, appMode, metroCheck } = args;
|
|
73
|
+
const { root, slot, d, opts, deviceType, runtime, noWait, waitMs, phase, log, release, appMode, metroCheck } = args;
|
|
74
|
+
const signal = runCancellationSignal(args.operation) ?? args.operation?.signal;
|
|
72
75
|
const viewer = resolveSimulatorAppFlag(opts.simulatorApp, args.physical, null);
|
|
73
76
|
if ("refusal" in viewer) return { failure: viewer.refusal };
|
|
74
77
|
const refusal = await args.validateSelectors();
|
|
@@ -86,11 +89,15 @@ async function selectIosPlacement(args) {
|
|
|
86
89
|
root,
|
|
87
90
|
slot,
|
|
88
91
|
platform: "ios",
|
|
92
|
+
placement: selection.placement,
|
|
89
93
|
...localSims ? { localSims } : {},
|
|
90
94
|
selectors: hostedIosSelectors(deviceType, runtime),
|
|
91
95
|
appMode,
|
|
92
96
|
buildMachine: opts.remoteBuild,
|
|
93
97
|
noWait,
|
|
98
|
+
...waitMs === void 0 ? {} : { waitMs },
|
|
99
|
+
onWait: (line) => phase("placement:", line),
|
|
100
|
+
signal,
|
|
94
101
|
...easFallback ? { eas: () => d.checkEasFallback({
|
|
95
102
|
root,
|
|
96
103
|
platform: "ios",
|
|
@@ -108,6 +115,7 @@ async function selectIosPlacement(args) {
|
|
|
108
115
|
phase("placement:", devicePlacementLine(placed.placement, placed.skipped));
|
|
109
116
|
log?.(devicePlacementRecord({
|
|
110
117
|
platform: "ios",
|
|
118
|
+
selected: selection.placement,
|
|
111
119
|
fromFlag: opts.remote !== void 0,
|
|
112
120
|
easFallback,
|
|
113
121
|
placed
|
|
@@ -137,6 +145,11 @@ async function selectIosPlacement(args) {
|
|
|
137
145
|
devicePlacement: placed.placement
|
|
138
146
|
};
|
|
139
147
|
} catch (error) {
|
|
148
|
+
if (signal?.aborted) return { failure: {
|
|
149
|
+
code: "STIM_CANCELLED",
|
|
150
|
+
message: "The run was cancelled while it waited for a remote machine.",
|
|
151
|
+
remedy: "Run the command again when you want the app on a device."
|
|
152
|
+
} };
|
|
140
153
|
return { failure: {
|
|
141
154
|
code: error.code ?? "STIM_HOSTING_REFUSED",
|
|
142
155
|
message: error.message,
|
|
@@ -180,7 +193,7 @@ async function iosPlacementBudget(d, root, note, hosted, automatic, simSnapshot,
|
|
|
180
193
|
}
|
|
181
194
|
function hostedIosMetroNote(hosted, settings, note, simulatorApp) {
|
|
182
195
|
if (hosted && (settings.iosSimulatorApp !== void 0 || simulatorApp !== void 0)) note(chalk.dim(phaseLine("device", "iosSimulatorApp is ignored on a hosting Mac; the simulator boots headless.")));
|
|
183
|
-
if (hosted && (publicUrlSetting(settings) || tunnelModeSetting(settings))) note(chalk.dim(phaseLine("metro", "metro.publicUrl and metro.tunnel are ignored on a hosting Mac; Metro uses
|
|
196
|
+
if (hosted && (publicUrlSetting(settings) || tunnelModeSetting(settings))) note(chalk.dim(phaseLine("metro", "metro.publicUrl and metro.tunnel are ignored on a hosting Mac; Metro uses links this machine opens to the host.")));
|
|
184
197
|
}
|
|
185
198
|
async function connectIosBackend(root, backend, deviceType, d, env, operation) {
|
|
186
199
|
if (!backend) return {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { w as workspaceAgentDeviceDir } from "./workspace-state-
|
|
2
|
-
import { H as deviceSlotPlatforms, p as getProject } from "./config-
|
|
3
|
-
import { i as formatDuration, l as phaseLine } from "./command-output-
|
|
4
|
-
import {
|
|
5
|
-
import { v as detectIsExpo } from "./project-
|
|
6
|
-
import { a as workspaceLinkLine } from "./stim-desktop-
|
|
7
|
-
import { B as ownedAvdDeviceProfile, I as listInstalledSystemImages, K as ownedAvdSystemImage, N as listAvdDeviceProfilesAsync, Q as profileNeedsFoldFeature, X as pickDefaultSystemImage, at as systemImageSupportsFold, k as hostSystemImageArch, l as androidSystemImageAbi, t as DEFAULT_AVD_DEVICE_PROFILE, vt as parkedMaxSetting } from "./android-
|
|
8
|
-
import {
|
|
1
|
+
import { w as workspaceAgentDeviceDir } from "./workspace-state-kIZrdlSg.mjs";
|
|
2
|
+
import { H as deviceSlotPlatforms, p as getProject } from "./config-Cn94Jc0g.mjs";
|
|
3
|
+
import { i as formatDuration, l as phaseLine } from "./command-output-C8R1KIvi.mjs";
|
|
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-CY5JZlNN.mjs";
|
|
5
|
+
import { v as detectIsExpo } from "./project-Sui52ywT.mjs";
|
|
6
|
+
import { a as workspaceLinkLine } from "./stim-desktop-CbWo21kb.mjs";
|
|
7
|
+
import { B as ownedAvdDeviceProfile, I as listInstalledSystemImages, K as ownedAvdSystemImage, N as listAvdDeviceProfilesAsync, Q as profileNeedsFoldFeature, X as pickDefaultSystemImage, at as systemImageSupportsFold, k as hostSystemImageArch, l as androidSystemImageAbi, t as DEFAULT_AVD_DEVICE_PROFILE, vt as parkedMaxSetting } from "./android-CsPs-7Mg.mjs";
|
|
8
|
+
import { Mn as isEasAuthFailureText, On as UPLOAD_TIMEOUT_MS, jn as easAuthNote, kn as cacheLevel, n as CCACHE_UNAVAILABLE, r as ccacheActivityLine } from "./ccache-Bm_A1xX9.mjs";
|
|
9
|
+
import { X as recordFinishedBuild } from "./workspaces-CmOcceDN.mjs";
|
|
9
10
|
import { d as optimizationBuildProfile, l as artifactCachePolicy, p as resolveOptimizations, u as compilerCacheFallbackMessage } from "./errors-DHm_U5gv.mjs";
|
|
10
|
-
import { n as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
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-BGSCBoib.mjs";
|
|
11
|
+
import { n as buildPlacementCandidates } from "./client-YxCer6ab.mjs";
|
|
12
|
+
import { c as readProductFlavors, s as productFlavorRefusal } from "./react-native-build-jUHnIfZ9.mjs";
|
|
13
|
+
import { l as parseDeviceWait } from "./device-lease-run-Mtzp4THX.mjs";
|
|
14
|
+
import { t as DEFAULT_DEVICE_SLOT_WAIT_MS } from "./device-capacity-Cd8lMSn3.mjs";
|
|
15
|
+
import { n as resolveAndroidCas, r as resolveAndroidCompilerCache } from "./android-cas-_aDifWW0.mjs";
|
|
16
|
+
import { r as isPhysicalDeviceRequest } from "./native-runtime-DG4Rodzj.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-04IhBUTT.mjs";
|
|
18
18
|
import { buildDiagnostics } from "@stim-cli/core/state";
|
|
19
19
|
import chalk from "chalk";
|
|
20
20
|
//#region src/commands/android/plan.ts
|
|
@@ -83,7 +83,7 @@ function resolveAndroidBuildPlan({ settings, settingsContext, env, easProfile, v
|
|
|
83
83
|
const layoutError = androidLayoutError(settings, root, bound, detectExpo);
|
|
84
84
|
if (layoutError) return fail("STIM_BAD_ARG", layoutError, SETTING_SHAPE_REMEDY);
|
|
85
85
|
const layout = resolveAndroidLayout(settings, root, bound);
|
|
86
|
-
for (const key of unknownSettingKeys(settings)) warn("setting",
|
|
86
|
+
for (const key of unknownSettingKeys(settings)) warn("setting", inertSettingWarning(settings, key));
|
|
87
87
|
let optimizations;
|
|
88
88
|
try {
|
|
89
89
|
optimizations = resolveOptimizations(settings, env);
|
|
@@ -197,6 +197,7 @@ async function resolveAndroidRunPlan({ settings, settingsContext, env, slot, sig
|
|
|
197
197
|
} : machine ? {
|
|
198
198
|
kind: "hosted",
|
|
199
199
|
machine,
|
|
200
|
+
...remoteTarget?.kind === "machine" && remoteTarget.placement ? { placement: remoteTarget.placement } : {},
|
|
200
201
|
systemImage,
|
|
201
202
|
deviceProfile
|
|
202
203
|
} : remoteBackend ? {
|
|
@@ -308,7 +309,7 @@ function androidFacts({ root, slot, serial, avdName = null, deviceName = null, s
|
|
|
308
309
|
...devServer ? { devServer } : {}
|
|
309
310
|
};
|
|
310
311
|
}
|
|
311
|
-
function lastBuildRecord({ devicePlacement, fingerprint, cacheKey, cacheHit, cacheSkipped = false, durationMs, appPath, bundleId, startedAt, status, errorCode = null, avdName = null, deviceName = null, missReason = null, diagnostics = null, configuration = null, buildMachine = "auto", builtOn, offloadedTo = null, offloadFallback = null }) {
|
|
312
|
+
function lastBuildRecord({ devicePlacement, fingerprint, cacheKey, cacheHit, cacheSkipped = false, durationMs, appPath, bundleId, startedAt, status, errorCode = null, avdName = null, deviceName = null, missReason = null, diagnostics = null, configuration = null, buildMachine = "auto", builtOn, offloadedTo = null, offloadFallback = null, message = null, remedy = null, deviceSerial = null }) {
|
|
312
313
|
const record = {
|
|
313
314
|
platform: PLATFORM,
|
|
314
315
|
avdName: avdName ?? null,
|
|
@@ -333,6 +334,13 @@ function lastBuildRecord({ devicePlacement, fingerprint, cacheKey, cacheHit, cac
|
|
|
333
334
|
if (missReason && !cacheLevel(cacheHit)) record.missReason = missReason;
|
|
334
335
|
const recorded = status === "failed" ? buildDiagnostics(diagnostics) : [];
|
|
335
336
|
if (recorded.length) record.diagnostics = recorded;
|
|
337
|
+
const device = deviceName ?? avdName;
|
|
338
|
+
const ledger = {
|
|
339
|
+
...device && device !== deviceSerial ? { device: { name: device } } : {},
|
|
340
|
+
...message ? { message } : {},
|
|
341
|
+
...remedy ? { remedy } : {}
|
|
342
|
+
};
|
|
343
|
+
if (Object.keys(ledger).length) record.ledger = ledger;
|
|
336
344
|
return record;
|
|
337
345
|
}
|
|
338
346
|
async function finishAndroidUpload(uploadPending, remote, phase) {
|
|
@@ -426,14 +434,16 @@ function cacheOutcome(cacheHit, providerName = null, offloadedTo = null) {
|
|
|
426
434
|
if (cacheHit === "local") return "cache hit";
|
|
427
435
|
return offloadedTo ? `built on ${offloadedTo}` : "built";
|
|
428
436
|
}
|
|
429
|
-
function persistLastBuild({ recordBuild = recordFinishedBuild, root, record, startedAt, durationMs, status, errorCode = null, diagnostics = null, out }) {
|
|
437
|
+
function persistLastBuild({ recordBuild = recordFinishedBuild, root, record, startedAt, durationMs, status, errorCode = null, diagnostics = null, message = null, remedy = null, out }) {
|
|
430
438
|
const lastBuild = lastBuildRecord({
|
|
431
439
|
...record,
|
|
432
440
|
startedAt,
|
|
433
441
|
durationMs,
|
|
434
442
|
status,
|
|
435
443
|
errorCode,
|
|
436
|
-
diagnostics
|
|
444
|
+
diagnostics,
|
|
445
|
+
message,
|
|
446
|
+
remedy
|
|
437
447
|
});
|
|
438
448
|
try {
|
|
439
449
|
recordBuild(root, lastBuild);
|
|
@@ -451,7 +461,8 @@ function persistThrownBuild({ acquired, error, ...args }) {
|
|
|
451
461
|
persistLastBuild({
|
|
452
462
|
...args,
|
|
453
463
|
status: "failed",
|
|
454
|
-
errorCode: typeof code === "string" ? code : void 0
|
|
464
|
+
errorCode: typeof code === "string" ? code : void 0,
|
|
465
|
+
message: error instanceof Error ? error.message : String(error)
|
|
455
466
|
});
|
|
456
467
|
}
|
|
457
468
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as ownership_claim_exports, S as process_identity_exports, t as getExecutor } from "./exec-
|
|
2
|
-
import { a as macosRuntimeClaim, i as macosProcess, r as macosLogFile, s as updateMacosRecord } from "./state-
|
|
3
|
-
import {
|
|
1
|
+
import { D as ownership_claim_exports, S as process_identity_exports, t as getExecutor } from "./exec-aULwtNly.mjs";
|
|
2
|
+
import { a as macosRuntimeClaim, i as macosProcess, r as macosLogFile, s as updateMacosRecord } from "./state-BXC1Lfxw.mjs";
|
|
3
|
+
import { i as createNdjsonWriter } from "./ndjson-Dy2W4vRa.mjs";
|
|
4
4
|
import { LOG_ROTATE_BYTES } from "@stim-cli/core";
|
|
5
5
|
import { readMacosRecord } from "@stim-cli/core/state";
|
|
6
6
|
import { StringDecoder } from "node:string_decoder";
|