stim 1.22.0 → 1.23.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-Co2k4f7O.mjs → acquire-artifact-ybouwJSR.mjs} +1 -1
- package/dist/{act-DsuqEkiM.mjs → act-DG54PWtJ.mjs} +6 -6
- package/dist/{activity-CMLmzp7o.mjs → activity-B5RtpFda.mjs} +1 -1
- package/dist/{agent-device-usage-output-DUFaTMdd.mjs → agent-device-usage-output-UJ5gC80l.mjs} +3 -3
- package/dist/{android-ByRMUoiJ.mjs → android-BoUJKbfz.mjs} +23 -23
- package/dist/{android-DGkNqa_c.mjs → android-CHH4KLOR.mjs} +5 -5
- package/dist/api.mjs +18 -18
- package/dist/{artifact-DJPy518Y.mjs → artifact-5RteZem7.mjs} +9 -9
- package/dist/{artifact-8EY8SAPw.mjs → artifact-Dwdo7k1E.mjs} +9 -9
- package/dist/{browser-web-Bcv99PBM.mjs → browser-web-CeEVlGug.mjs} +5 -5
- package/dist/{budget-Cvwn54qV.mjs → budget-DnPX3DXj.mjs} +7 -7
- package/dist/{build-CabC3G23.mjs → build-CqufZFqy.mjs} +14 -14
- package/dist/{build-plan-DUC8Ka9y.mjs → build-plan-C8CIvRyi.mjs} +3 -3
- package/dist/{ccache-Btwc36-I.mjs → ccache-RcAy92gH.mjs} +2 -2
- package/dist/{cli-CHZa9Lvk.mjs → cli-D-J9fWGV.mjs} +17 -17
- package/dist/cli.mjs +1 -1
- package/dist/{client-OyRoEuSr.mjs → client-yyso1bwi.mjs} +5 -5
- package/dist/{command-output-gwpm28fu.mjs → command-output-Db8BqzxH.mjs} +1 -1
- package/dist/{dev-client-BSDR5h3F.mjs → dev-client-BnYSDiKa.mjs} +2 -2
- package/dist/{device-DklWZLqb.mjs → device-BvzPUBs3.mjs} +11 -11
- package/dist/{device-B-L3Fbxy.mjs → device-CCkWmkAA.mjs} +6 -6
- package/dist/{device-capacity-DK5_EwRS.mjs → device-capacity-CjaSdrhg.mjs} +4 -4
- package/dist/device-host-worker.mjs +5 -5
- package/dist/{device-ios-DoB6KFCO.mjs → device-ios-uOiEETX2.mjs} +3 -3
- package/dist/{device-lease-run-xJPQ_QQG.mjs → device-lease-run-BgwPHc6u.mjs} +3 -3
- package/dist/{device-pool-BMkdsefq.mjs → device-pool-C-ptmZTa.mjs} +2 -2
- package/dist/{doctor-Bo7BXLux.mjs → doctor-8sr2tFOL.mjs} +10 -10
- package/dist/{doctor-D5_EzwfA.mjs → doctor-D2SN3Ltx.mjs} +9 -9
- package/dist/{doctor-thjWAV0z.mjs → doctor-pxxvipYC.mjs} +1 -1
- package/dist/{doctor-watchman-N2wDotwQ.mjs → doctor-watchman-sy_RNhFt.mjs} +2 -2
- package/dist/{eas-build-CwknaQYj.mjs → eas-build-CyjU5K7E.mjs} +2 -2
- package/dist/{eas-fallback-CSgAulr5.mjs → eas-fallback-DV3Wytf1.mjs} +5 -5
- package/dist/{eas-session-ledger-DlY_serQ.mjs → eas-session-ledger-BzzsX97d.mjs} +1 -1
- package/dist/{error-diagnostics-DBWO2rxE.mjs → error-diagnostics-C6sVoeqO.mjs} +3 -3
- package/dist/{gc-CXxN-4SE.mjs → gc-CDoogxAI.mjs} +9 -9
- package/dist/{gc-DnNDQyaP.mjs → gc-DLbzvTP2.mjs} +2 -2
- package/dist/{guide-Br0LEfKy.mjs → guide-BC37GcDG.mjs} +53 -20
- package/dist/{hosted-android-B-9f-jkd.mjs → hosted-android-CkclQig_.mjs} +2 -2
- package/dist/{hosted-client-DZAPrcro.mjs → hosted-client-ByuMMO5s.mjs} +1 -1
- package/dist/{hosted-ios-CsCS21hn.mjs → hosted-ios-DtYHeuYR.mjs} +1 -1
- package/dist/{hosted-logs-FIRx9X2f.mjs → hosted-logs-Br84qWy1.mjs} +2 -2
- package/dist/{hosted-macos-_awYSpfv.mjs → hosted-macos-DdtYajZt.mjs} +4 -4
- package/dist/{hosted-native-BdzE668-.mjs → hosted-native-UPI9zdZ4.mjs} +3 -3
- package/dist/{idle-shutdown-DDg3SdvY.mjs → idle-shutdown-DO7oIRlc.mjs} +4 -4
- package/dist/{ios-pm4nL6By.mjs → ios-DZZbNYlY.mjs} +19 -19
- package/dist/{ios-device--h_-8ENa.mjs → ios-device-JC3uWM4K.mjs} +1 -1
- package/dist/{ios-project-CZhKODF3.mjs → ios-project-CVyNwjAF.mjs} +4 -4
- package/dist/{ios-Ds1clbIt.mjs → ios-vbUOqGXu.mjs} +8 -8
- package/dist/{js-swap-Bwhh4S7V.mjs → js-swap-C3QxUFJR.mjs} +3 -3
- package/dist/{launch-CCzXlc8r.mjs → launch-Bz7JtaC4.mjs} +10 -10
- package/dist/{launch-BjxemNpK.mjs → launch-CHY3p-yz.mjs} +26 -26
- package/dist/{logs-jTS_lHSo.mjs → logs-CtNeNDuq.mjs} +4 -4
- package/dist/{logs-BfwwadsZ.mjs → logs-mxqsWpJs.mjs} +6 -6
- package/dist/{macos-DVlSSyUg.mjs → macos-inNFbBWc.mjs} +1 -1
- package/dist/{macos-NfV2D7dO.mjs → macos-u0BoHKnO.mjs} +11 -11
- package/dist/maintenance-run.mjs +4 -4
- package/dist/{native-android-CqgnOgsT.mjs → native-android-CdCSylTn.mjs} +9 -9
- package/dist/{native-run-NwUuxbkg.mjs → native-run-BUTu8T7A.mjs} +1 -1
- package/dist/{native-runtime-B7KIafpM.mjs → native-runtime-CRSOZxKY.mjs} +3 -3
- package/dist/{native-xcode-inputs-D_VOfFL7.mjs → native-xcode-inputs-G6rkkhxu.mjs} +1 -1
- package/dist/{native-xcode-ios-BYDOHWLN.mjs → native-xcode-ios-_os2PlCD.mjs} +12 -12
- package/dist/offload-worker.mjs +12 -12
- package/dist/{plan-placement-DIsMtN-d.mjs → plan-placement-BU42oOyT.mjs} +1 -1
- package/dist/{ports-Cy1RkmuQ.mjs → ports-BSmQKzW7.mjs} +1 -1
- package/dist/{prebuild-D4JoEAEs.mjs → prebuild-BFm63bQ0.mjs} +17 -5
- package/dist/{project-wM_XFTvE.mjs → project-CTLNHCfE.mjs} +11 -11
- package/dist/{react-native-android-6OZ7MSM7.mjs → react-native-android-CFgUroxW.mjs} +20 -23
- package/dist/{react-native-build-Dvd8hC21.mjs → react-native-build-CmJkTljQ.mjs} +4 -4
- package/dist/{react-native-doctor-DsoSF1Y9.mjs → react-native-doctor-LTF-Xt8l.mjs} +5 -5
- package/dist/{react-native-ios-4u1Rn-GR.mjs → react-native-ios-ChBF1MkB.mjs} +16 -16
- package/dist/{reload-BzkYabB-.mjs → reload-DF9hqUUB.mjs} +6 -6
- package/dist/{reload-D7AVlb8N.mjs → reload-RBi1nj6Z.mjs} +1 -1
- package/dist/{remote-DjGDmlTZ.mjs → remote-BmvMCcJw.mjs} +4 -4
- package/dist/{result-D2Ykz_iD.mjs → result-Cx5CRLvS.mjs} +9 -9
- package/dist/{server-command-C6QjeupS.mjs → server-command-BTiGPEjS.mjs} +2 -2
- package/dist/server-expo-C-Buqvn_.mjs +2 -0
- package/dist/{server-expo-CrjB29pq.mjs → server-expo-D9lEz4aq.mjs} +1 -1
- package/dist/{settings-DpR-1Wnn.mjs → settings-eKF_vJJs.mjs} +1 -1
- package/dist/{settings-write-CzD60rOD.mjs → settings-write-79mQRr9C.mjs} +1 -1
- package/dist/{slot-launch-CbfmNgM6.mjs → slot-launch-D7M2nE4b.mjs} +2 -2
- package/dist/{stage-Bps5oius.mjs → stage-DKNM4ZPd.mjs} +1 -1
- package/dist/{start-Br-oxqMD.mjs → start-CRfN1kWV.mjs} +1 -1
- package/dist/{start-EojN4WFz.mjs → start-bjfiScgz.mjs} +4 -4
- package/dist/{stats-D3GerlFW.mjs → stats-DioA6cBU.mjs} +3 -3
- package/dist/{status-EvrK72L2.mjs → status-Eqx_20WC.mjs} +1 -1
- package/dist/{status-WBDajew2.mjs → status-kzbeWk4x.mjs} +11 -11
- package/dist/{status-watch-Bg_u-pwR.mjs → status-watch-BIqqbJ6q.mjs} +1 -1
- package/dist/status-worker.mjs +1 -1
- package/dist/{stop-DTZ9uTw3.mjs → stop-B18d8KDw.mjs} +2 -2
- package/dist/{stop-Mv6W9FAk.mjs → stop-B2uLQfoM.mjs} +9 -9
- package/dist/{stop-Dky10AEJ.mjs → stop-DzLJc7Ei.mjs} +2 -2
- package/dist/supervisor-run.mjs +8 -8
- package/dist/{support-CNioewsd.mjs → support-BTpZ6RAJ.mjs} +10 -6
- package/dist/{support-yUiOjnVY.mjs → support-DTBV56gy.mjs} +3 -3
- package/dist/{swiftpm-macos-BIak-Rxv.mjs → swiftpm-macos-r_WSKlXr.mjs} +3 -3
- package/dist/{toolchain-DpJMHq0n.mjs → toolchain-CWeGJgCc.mjs} +1 -1
- package/dist/{toolchain-BY8X8HXx.mjs → toolchain-GVgnf8d1.mjs} +1 -1
- package/dist/web-Cduk0NSE.mjs +2 -0
- package/dist/{web-DKx6yoFA.mjs → web-CwREhjD-.mjs} +3 -3
- package/dist/web-run.mjs +1 -1
- package/dist/{workspaces-CpANmBlq.mjs → workspaces-BxzYlo3P.mjs} +2 -2
- package/dist/{worktree-CHecZ4Oq.mjs → worktree-8lqn_lBp.mjs} +12 -12
- package/dist/{worktree-ZqZVjD9K.mjs → worktree-BxfVxG_b.mjs} +1 -1
- package/dist/{xcode-BXn9-xYx.mjs → xcode-iQnROM5o.mjs} +3 -3
- package/package.json +7 -7
- package/dist/server-expo-D58c9L0M.mjs +0 -2
- package/dist/web-CZ07gd77.mjs +0 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { h as shortUdid, i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-
|
|
2
|
-
import { jn as schemesFromInfoPlist, kn as pickDevClientScheme } from "./budget-
|
|
3
|
-
import { f as podAction, h as resolveDeviceType, i as deviceLabel, m as resolveConfiguration, n as buildLogFile, s as iosConfigurationSetting, t as appNameFromPath, u as isReleaseConfiguration, v as resolveRuntime } from "./support-
|
|
4
|
-
import { n as ensureWorkspaceStorageSafely } from "./native-runtime-
|
|
5
|
-
import { t as devClientScheme } from "./dev-client-
|
|
6
|
-
import { a as lastBuildRecord, i as iosFacts, n as cacheDescription, s as writeLastBuild } from "./ios-project-
|
|
7
|
-
import { n as registerIos, r as runIosOperation, t as iosCommand } from "./ios-
|
|
8
|
-
import { a as collectorEntry, o as replaceCollector } from "./launch-
|
|
1
|
+
import { h as shortUdid, i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-Db8BqzxH.mjs";
|
|
2
|
+
import { jn as schemesFromInfoPlist, kn as pickDevClientScheme } from "./budget-DnPX3DXj.mjs";
|
|
3
|
+
import { f as podAction, h as resolveDeviceType, i as deviceLabel, m as resolveConfiguration, n as buildLogFile, s as iosConfigurationSetting, t as appNameFromPath, u as isReleaseConfiguration, v as resolveRuntime } from "./support-BTpZ6RAJ.mjs";
|
|
4
|
+
import { n as ensureWorkspaceStorageSafely } from "./native-runtime-CRSOZxKY.mjs";
|
|
5
|
+
import { t as devClientScheme } from "./dev-client-BnYSDiKa.mjs";
|
|
6
|
+
import { a as lastBuildRecord, i as iosFacts, n as cacheDescription, s as writeLastBuild } from "./ios-project-CVyNwjAF.mjs";
|
|
7
|
+
import { n as registerIos, r as runIosOperation, t as iosCommand } from "./ios-DZZbNYlY.mjs";
|
|
8
|
+
import { a as collectorEntry, o as replaceCollector } from "./launch-CHY3p-yz.mjs";
|
|
9
9
|
export { appNameFromPath, buildLogFile, cacheDescription, collectorEntry, iosCommand as default, devClientScheme, deviceLabel, ensureWorkspaceStorageSafely, formatDuration, iosConfigurationSetting, iosFacts, isReleaseConfiguration, lastBuildRecord, phaseLine, pickDevClientScheme, podAction, registerIos, replaceCollector, resolveConfiguration, resolveDeviceType, resolveRuntime, runIosOperation, schemesFromInfoPlist, shortHash, shortUdid, writeLastBuild };
|
|
@@ -2,9 +2,9 @@ import { d as spawnDeclared, m as operationState, t as getExecutor } from "./exe
|
|
|
2
2
|
import { r as waitForChild, t as createLineReader } from "./process-output-Fpl8PYi8.mjs";
|
|
3
3
|
import { a as killOnAbort, f as throwIfCancelled, t as runOperationFile } from "./operation-exec-BW0em61G.mjs";
|
|
4
4
|
import { Ht as makeTemporaryDirectory, Ut as removeTemporaryEntry } from "./settings-C7O8A6ZI.mjs";
|
|
5
|
-
import { Xn as bundleInvocation } from "./budget-
|
|
6
|
-
import { t as cleanLine } from "./server-expo-
|
|
7
|
-
import { _ as tailLines, h as startBuildHeartbeat, r as HEARTBEAT_INTERVAL_MS } from "./xcode-
|
|
5
|
+
import { Xn as bundleInvocation } from "./budget-DnPX3DXj.mjs";
|
|
6
|
+
import { t as cleanLine } from "./server-expo-D9lEz4aq.mjs";
|
|
7
|
+
import { _ as tailLines, h as startBuildHeartbeat, r as HEARTBEAT_INTERVAL_MS } from "./xcode-iQnROM5o.mjs";
|
|
8
8
|
import { randomUUID } from "node:crypto";
|
|
9
9
|
import { existsSync, mkdirSync, readFileSync, readdirSync, rmSync, writeFileSync } from "node:fs";
|
|
10
10
|
import { basename, join } from "node:path";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { m as workspaceLogsDir } from "./paths-DQtTgsBf.mjs";
|
|
2
2
|
import { B as deviceSlotFileKey, C as saveConfig, E as upsertProject, H as deviceSlotPlatforms, O as withConfigLockAsync, P as formatBytes, V as deviceSlotKey, _ as loadConfig, w as setDevice } from "./config-DlrsduwG.mjs";
|
|
3
|
-
import { _ as stepTimer, c as launchErrorReport, i as formatDuration, l as phaseLine, n as appReadinessMessage, v as launchErrorPreview } from "./command-output-
|
|
4
|
-
import { L as workspaceDevServerMode } from "./project-
|
|
3
|
+
import { _ as stepTimer, c as launchErrorReport, i as formatDuration, l as phaseLine, n as appReadinessMessage, v as launchErrorPreview } from "./command-output-Db8BqzxH.mjs";
|
|
4
|
+
import { L as workspaceDevServerMode } from "./project-CTLNHCfE.mjs";
|
|
5
5
|
import { c as pidExists, f as signalProcessTree } from "./metro-DiXtA3Ty.mjs";
|
|
6
|
-
import { En as restartedAppNote, Jt as LAUNCH_FATAL, Xt as RELEASE_VERIFY_WAIT_MS, Yt as LAUNCH_UNVERIFIED, Zt as VERIFY_TIMEOUT_MS, bn as installConflictKind, dn as androidAppProcess, fn as androidDevClientUrl, nn as unverifiedLaunchLines, qt as LAUNCH_BUNDLING, sn as ADB_INSTALL_TIMEOUT_MS, tn as unattributedLaunchLines } from "./budget-
|
|
7
|
-
import { D as teardownOwnedAvd } from "./workspaces-
|
|
6
|
+
import { En as restartedAppNote, Jt as LAUNCH_FATAL, Xt as RELEASE_VERIFY_WAIT_MS, Yt as LAUNCH_UNVERIFIED, Zt as VERIFY_TIMEOUT_MS, bn as installConflictKind, dn as androidAppProcess, fn as androidDevClientUrl, nn as unverifiedLaunchLines, qt as LAUNCH_BUNDLING, sn as ADB_INSTALL_TIMEOUT_MS, tn as unattributedLaunchLines } from "./budget-DnPX3DXj.mjs";
|
|
7
|
+
import { D as teardownOwnedAvd } from "./workspaces-BxzYlo3P.mjs";
|
|
8
8
|
import { p as providerUploadOutcome } from "./build-cache-Dv7RN200.mjs";
|
|
9
9
|
import { $ as resetAdoptedAvd, i as androidDataFreeBytes, it as trimAndroidCaches, u as androidToolCwd } from "./android-C7sVmyI9.mjs";
|
|
10
10
|
import { o as workspaceLinks } from "./stim-desktop-D5OGpYZM.mjs";
|
|
11
11
|
import { n as verifyCollectorOwnership, r as readCollectors } from "./ownership-C5fo5Edb.mjs";
|
|
12
|
-
import { n as nativeRunCommand, r as siblingPlatformSlots, t as launchSlotScope } from "./slot-launch-
|
|
12
|
+
import { n as nativeRunCommand, r as siblingPlatformSlots, t as launchSlotScope } from "./slot-launch-D7M2nE4b.mjs";
|
|
13
13
|
import { t as spawnEntry } from "./spawn-entry-jw19m8Nl.mjs";
|
|
14
|
-
import { c as lostRefusal, s as lostLine, t as DEBUG_VERIFY_STEP_MS } from "./device-lease-run-
|
|
15
|
-
import { a as printNativeCrashReport, r as captureNativeCrashes, t as errorDiagnostics } from "./error-diagnostics-
|
|
16
|
-
import { i as launchOutcomeRecord } from "./native-runtime-
|
|
17
|
-
import { a as PLATFORM, b as noDeviceDiagnostic, h as displayPath, n as LAUNCH_FAILED, r as NO_DEVICE, t as INSTALL_FAILED } from "./support-
|
|
18
|
-
import { a as reportAndroidResult, i as persistLastBuild, n as finishAndroidUpload } from "./result-
|
|
14
|
+
import { c as lostRefusal, s as lostLine, t as DEBUG_VERIFY_STEP_MS } from "./device-lease-run-BgwPHc6u.mjs";
|
|
15
|
+
import { a as printNativeCrashReport, r as captureNativeCrashes, t as errorDiagnostics } from "./error-diagnostics-C6sVoeqO.mjs";
|
|
16
|
+
import { i as launchOutcomeRecord } from "./native-runtime-CRSOZxKY.mjs";
|
|
17
|
+
import { a as PLATFORM, b as noDeviceDiagnostic, h as displayPath, n as LAUNCH_FAILED, r as NO_DEVICE, t as INSTALL_FAILED } from "./support-DTBV56gy.mjs";
|
|
18
|
+
import { a as reportAndroidResult, i as persistLastBuild, n as finishAndroidUpload } from "./result-Cx5CRLvS.mjs";
|
|
19
19
|
import { mkdirSync, openSync, statSync } from "node:fs";
|
|
20
20
|
import { basename, join } from "node:path";
|
|
21
21
|
import { ambientEnv } from "@stim-cli/core";
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import { t as getExecutor } from "./exec-DEoAhcze.mjs";
|
|
2
2
|
import { m as workspaceLogsDir } from "./paths-DQtTgsBf.mjs";
|
|
3
3
|
import { B as deviceSlotFileKey, E as upsertProject, V as deviceSlotKey, p as getProject, u as getConcurrencyLimits, v as recordIosSchemeApprovals } from "./config-DlrsduwG.mjs";
|
|
4
|
-
import { _ as stepTimer, c as launchErrorReport, i as formatDuration, l as phaseLine, n as appReadinessMessage, v as launchErrorPreview } from "./command-output-
|
|
4
|
+
import { _ as stepTimer, c as launchErrorReport, i as formatDuration, l as phaseLine, n as appReadinessMessage, v as launchErrorPreview } from "./command-output-Db8BqzxH.mjs";
|
|
5
5
|
import { u as cancellableSleep } from "./operation-exec-BW0em61G.mjs";
|
|
6
6
|
import { d as writeWorkspaceState, r as readWorkspaceState } from "./workspace-state-U08dEzhG.mjs";
|
|
7
7
|
import { $ as settingOriginScope, G as resolveCacheProviderConfig, Ht as makeTemporaryDirectory, Nt as repoRootAsync, Ut as removeTemporaryEntry, Y as resolveSettings, ct as detectProviders, nt as settingsLayers, vt as gitCommonDirAsync } from "./settings-C7O8A6ZI.mjs";
|
|
8
|
-
import { L as workspaceDevServerMode, f as projectRegistry, i as findProjectRoot, v as detectIsExpo, z as writeWorkspaceLaunch } from "./project-
|
|
8
|
+
import { L as workspaceDevServerMode, f as projectRegistry, i as findProjectRoot, v as detectIsExpo, z as writeWorkspaceLaunch } from "./project-CTLNHCfE.mjs";
|
|
9
9
|
import { r as createNdjsonWriter } from "./ndjson-CgE_o3Dl.mjs";
|
|
10
10
|
import { c as pidExists, d as resolveProjectMetro, f as signalProcessTree } from "./metro-DiXtA3Ty.mjs";
|
|
11
|
-
import { $t as readCollectorRecords, Bn as checkEasAuth, Bt as ensureMetroReachable, En as restartedAppNote, Gt as resolveRemoteContext, J as recordRunStats, Jn as resolveRemote, Jt as LAUNCH_FATAL, K as recordCapacityRefusal, Mn as readRemoteSimulatorArch, Nn as gateMetroOrigin, Qt as isBundleProof, Rt as bundleEntryPoint, Sn as iosAppProcess, Tn as launchIosApp, Un as loadProjectProvider, Vt as ensureRemoteBootOwned, W as readRunEstimates, Wt as remoteIosDeps, Xt as RELEASE_VERIFY_WAIT_MS, Yn as uploadRemote, Yt as LAUNCH_UNVERIFIED, an as verifyReleaseLaunch, en as readMetroRecords, hn as devClientUrl, in as verifyLaunch, mn as clearOtherUserApps, nn as unverifiedLaunchLines, qn as resolveEasCliBin, qt as LAUNCH_BUNDLING, t as budgetGate, tn as unattributedLaunchLines, un as IOS_DEV_MENU_OFF_DEFAULTS_PLIST, xn as installIosApp } from "./budget-
|
|
12
|
-
import { I as acquireBuildSlot, R as releaseBuildSlot } from "./workspaces-
|
|
13
|
-
import { F as waitForBuild, M as acquireBuildLock, P as releaseBuildLock } from "./activity-
|
|
11
|
+
import { $t as readCollectorRecords, Bn as checkEasAuth, Bt as ensureMetroReachable, En as restartedAppNote, Gt as resolveRemoteContext, J as recordRunStats, Jn as resolveRemote, Jt as LAUNCH_FATAL, K as recordCapacityRefusal, Mn as readRemoteSimulatorArch, Nn as gateMetroOrigin, Qt as isBundleProof, Rt as bundleEntryPoint, Sn as iosAppProcess, Tn as launchIosApp, Un as loadProjectProvider, Vt as ensureRemoteBootOwned, W as readRunEstimates, Wt as remoteIosDeps, Xt as RELEASE_VERIFY_WAIT_MS, Yn as uploadRemote, Yt as LAUNCH_UNVERIFIED, an as verifyReleaseLaunch, en as readMetroRecords, hn as devClientUrl, in as verifyLaunch, mn as clearOtherUserApps, nn as unverifiedLaunchLines, qn as resolveEasCliBin, qt as LAUNCH_BUNDLING, t as budgetGate, tn as unattributedLaunchLines, un as IOS_DEV_MENU_OFF_DEFAULTS_PLIST, xn as installIosApp } from "./budget-DnPX3DXj.mjs";
|
|
12
|
+
import { I as acquireBuildSlot, R as releaseBuildSlot } from "./workspaces-BxzYlo3P.mjs";
|
|
13
|
+
import { F as waitForBuild, M as acquireBuildLock, P as releaseBuildLock } from "./activity-B5RtpFda.mjs";
|
|
14
14
|
import { b as untrackedNativeFiles, g as storeBuild, h as resolveBuild, l as fingerprintProject } from "./build-cache-Dv7RN200.mjs";
|
|
15
15
|
import { d as listAllIosSims, h as listIosRuntimesAsync, r as clearIosAppData } from "./ios-hcBpnEGk.mjs";
|
|
16
16
|
import { o as workspaceLinks } from "./stim-desktop-D5OGpYZM.mjs";
|
|
17
|
-
import { f as readBundleExecutable, m as resolveScheme, p as readBundleId } from "./xcode-
|
|
18
|
-
import { h as readPodState, m as podsAreStale, v as runPodInstall } from "./toolchain-
|
|
17
|
+
import { f as readBundleExecutable, m as resolveScheme, p as readBundleId } from "./xcode-iQnROM5o.mjs";
|
|
18
|
+
import { h as readPodState, m as podsAreStale, v as runPodInstall } from "./toolchain-CWeGJgCc.mjs";
|
|
19
19
|
import { n as readHostedIos, o as writeHostedIos } from "./ios-state-Dtw5K2aI.mjs";
|
|
20
|
-
import { n as prepareHostedIos, t as placeHostedIos } from "./hosted-ios-
|
|
20
|
+
import { n as prepareHostedIos, t as placeHostedIos } from "./hosted-ios-DtYHeuYR.mjs";
|
|
21
21
|
import { n as verifyCollectorOwnership } from "./ownership-C5fo5Edb.mjs";
|
|
22
|
-
import { n as nativeRunCommand, r as siblingPlatformSlots, t as launchSlotScope } from "./slot-launch-
|
|
23
|
-
import { c as startDevServer, g as detectBundleId } from "./start-
|
|
22
|
+
import { n as nativeRunCommand, r as siblingPlatformSlots, t as launchSlotScope } from "./slot-launch-D7M2nE4b.mjs";
|
|
23
|
+
import { c as startDevServer, g as detectBundleId } from "./start-bjfiScgz.mjs";
|
|
24
24
|
import { t as spawnEntry } from "./spawn-entry-jw19m8Nl.mjs";
|
|
25
|
-
import { a as discoverXcodeProject, r as buildIos } from "./react-native-build-
|
|
26
|
-
import { a as acquireRunLease, c as lostRefusal, d as runLease, s as lostLine, t as DEBUG_VERIFY_STEP_MS, u as releaseLeaseOnAbort } from "./device-lease-run-
|
|
27
|
-
import { r as checkDeviceCapacity } from "./device-capacity-
|
|
28
|
-
import { n as clearIosAdoptionPending } from "./device-ios-
|
|
29
|
-
import { i as deviceLabel, o as deviceShortName, t as appNameFromPath } from "./support-
|
|
25
|
+
import { a as discoverXcodeProject, r as buildIos } from "./react-native-build-CmJkTljQ.mjs";
|
|
26
|
+
import { a as acquireRunLease, c as lostRefusal, d as runLease, s as lostLine, t as DEBUG_VERIFY_STEP_MS, u as releaseLeaseOnAbort } from "./device-lease-run-BgwPHc6u.mjs";
|
|
27
|
+
import { r as checkDeviceCapacity } from "./device-capacity-CjaSdrhg.mjs";
|
|
28
|
+
import { n as clearIosAdoptionPending } from "./device-ios-uOiEETX2.mjs";
|
|
29
|
+
import { i as deviceLabel, o as deviceShortName, t as appNameFromPath } from "./support-BTpZ6RAJ.mjs";
|
|
30
30
|
import { a as sealAppForDevice, r as gateProfileForDevice } from "./ios-signing-BtAffm0A.mjs";
|
|
31
|
-
import { a as resolveEasDevelopmentBuild } from "./eas-build-
|
|
32
|
-
import { a as printNativeCrashReport, n as IOS_CRASH_REPORT_RETRY, o as simulatorConsolePaths, r as captureNativeCrashes, t as errorDiagnostics } from "./error-diagnostics-
|
|
33
|
-
import { i as launchOutcomeRecord, n as ensureWorkspaceStorageSafely } from "./native-runtime-
|
|
34
|
-
import { i as runPrebuild, n as planPrebuildAsync } from "./prebuild-
|
|
35
|
-
import { n as devClientTakesDevMenuParams, t as devClientScheme } from "./dev-client-
|
|
36
|
-
import { n as automaticDevicePlacement, t as checkEasFallback } from "./eas-fallback-
|
|
37
|
-
import { n as ensureBooted, o as warmMetro, r as ensureOwnedDevice } from "./device-
|
|
38
|
-
import { t as selectFromPool } from "./device-pool-
|
|
39
|
-
import { o as reportIosResult } from "./ios-project-
|
|
40
|
-
import { c as isWirelessIosDevice, i as iosDeviceProcess, l as listIosDevices, n as installIosDeviceApp, p as verifyIosDeviceReleaseLaunch, r as iosDeviceBounds, t as awaitIosDeviceLaunch, u as localNetworkPending } from "./ios-device
|
|
41
|
-
import { i as swapJsBundle } from "./js-swap-
|
|
31
|
+
import { a as resolveEasDevelopmentBuild } from "./eas-build-CyjU5K7E.mjs";
|
|
32
|
+
import { a as printNativeCrashReport, n as IOS_CRASH_REPORT_RETRY, o as simulatorConsolePaths, r as captureNativeCrashes, t as errorDiagnostics } from "./error-diagnostics-C6sVoeqO.mjs";
|
|
33
|
+
import { i as launchOutcomeRecord, n as ensureWorkspaceStorageSafely } from "./native-runtime-CRSOZxKY.mjs";
|
|
34
|
+
import { i as runPrebuild, n as planPrebuildAsync } from "./prebuild-BFm63bQ0.mjs";
|
|
35
|
+
import { n as devClientTakesDevMenuParams, t as devClientScheme } from "./dev-client-BnYSDiKa.mjs";
|
|
36
|
+
import { n as automaticDevicePlacement, t as checkEasFallback } from "./eas-fallback-DV3Wytf1.mjs";
|
|
37
|
+
import { n as ensureBooted, o as warmMetro, r as ensureOwnedDevice } from "./device-CCkWmkAA.mjs";
|
|
38
|
+
import { t as selectFromPool } from "./device-pool-C-ptmZTa.mjs";
|
|
39
|
+
import { o as reportIosResult } from "./ios-project-CVyNwjAF.mjs";
|
|
40
|
+
import { c as isWirelessIosDevice, i as iosDeviceProcess, l as listIosDevices, n as installIosDeviceApp, p as verifyIosDeviceReleaseLaunch, r as iosDeviceBounds, t as awaitIosDeviceLaunch, u as localNetworkPending } from "./ios-device-JC3uWM4K.mjs";
|
|
41
|
+
import { i as swapJsBundle } from "./js-swap-C3QxUFJR.mjs";
|
|
42
42
|
import { mkdirSync, openSync, writeFileSync } from "node:fs";
|
|
43
43
|
import { networkInterfaces } from "node:os";
|
|
44
44
|
import { basename, join } from "node:path";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { m as workspaceLogsDir$1 } from "./paths-DQtTgsBf.mjs";
|
|
2
2
|
import { W as parseDeviceSlotOption, _ as loadConfig$1, g as isPathPrefix } from "./config-DlrsduwG.mjs";
|
|
3
|
-
import { f as refuseNoProject, v as launchErrorPreview } from "./command-output-
|
|
3
|
+
import { f as refuseNoProject, v as launchErrorPreview } from "./command-output-Db8BqzxH.mjs";
|
|
4
4
|
import { r as readWorkspaceState$1 } from "./workspace-state-U08dEzhG.mjs";
|
|
5
|
-
import { n as findCommandWorkspace } from "./project-
|
|
5
|
+
import { n as findCommandWorkspace } from "./project-CTLNHCfE.mjs";
|
|
6
6
|
import { n as SOURCES$1, t as LEVELS$1 } from "./ndjson-CgE_o3Dl.mjs";
|
|
7
|
-
import { a as followAgentActions, i as followHostedLogs, n as openWorkspaceLogs } from "./logs-
|
|
8
|
-
import { t as errorDiagnostics } from "./error-diagnostics-
|
|
7
|
+
import { a as followAgentActions, i as followHostedLogs, n as openWorkspaceLogs } from "./logs-mxqsWpJs.mjs";
|
|
8
|
+
import { t as errorDiagnostics } from "./error-diagnostics-C6sVoeqO.mjs";
|
|
9
9
|
import { t as watchStdoutReader } from "./stdout-reader-C8yjre1x.mjs";
|
|
10
10
|
import { realpathSync } from "node:fs";
|
|
11
11
|
import { relative, sep } from "node:path";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { g as process_identity_exports } from "./exec-DEoAhcze.mjs";
|
|
2
2
|
import { m as workspaceLogsDir$1 } from "./paths-DQtTgsBf.mjs";
|
|
3
3
|
import { G as projectDeviceSlots, _ as loadConfig$1 } from "./config-DlrsduwG.mjs";
|
|
4
|
-
import { n as pullHostedNativeLogs, t as pullHostedMacosLogs } from "./hosted-logs-
|
|
5
|
-
import { l as phaseLine } from "./command-output-
|
|
6
|
-
import { f as readAgentDeviceRecordsAsync, n as agentDeviceLiveness, o as envDir } from "./activity-
|
|
7
|
-
import { l as connectHost } from "./hosted-client-
|
|
4
|
+
import { n as pullHostedNativeLogs, t as pullHostedMacosLogs } from "./hosted-logs-Br84qWy1.mjs";
|
|
5
|
+
import { l as phaseLine } from "./command-output-Db8BqzxH.mjs";
|
|
6
|
+
import { f as readAgentDeviceRecordsAsync, n as agentDeviceLiveness, o as envDir } from "./activity-B5RtpFda.mjs";
|
|
7
|
+
import { l as connectHost } from "./hosted-client-ByuMMO5s.mjs";
|
|
8
8
|
import { n as readHostedIos, t as readHostedAndroid } from "./ios-state-Dtw5K2aI.mjs";
|
|
9
|
-
import "./hosted-macos-
|
|
10
|
-
import { i as captureWorkspaceCrashes } from "./error-diagnostics-
|
|
9
|
+
import "./hosted-macos-DdtYajZt.mjs";
|
|
10
|
+
import { i as captureWorkspaceCrashes } from "./error-diagnostics-C6sVoeqO.mjs";
|
|
11
11
|
import { readdirSync, statSync, watch } from "node:fs";
|
|
12
12
|
import { homedir } from "node:os";
|
|
13
13
|
import { dirname, join, relative, resolve, sep } from "node:path";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as runMacos, r as waitForLaunchServices, t as macosCommand } from "./macos-
|
|
1
|
+
import { n as runMacos, r as waitForLaunchServices, t as macosCommand } from "./macos-u0BoHKnO.mjs";
|
|
2
2
|
export { macosCommand as default, runMacos, waitForLaunchServices };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { d as spawnDeclared, h as withDrainingCancellation, i as withWorkspaceProcessLock, t as getExecutor } from "./exec-DEoAhcze.mjs";
|
|
2
2
|
import { d as workspaceDir, l as workspaceAgentDeviceDir, m as workspaceLogsDir$1, n as ensureWorkspaceStorage } from "./paths-DQtTgsBf.mjs";
|
|
3
3
|
import { E as upsertProject, u as getConcurrencyLimits } from "./config-DlrsduwG.mjs";
|
|
4
|
-
import { l as phaseLine } from "./command-output-
|
|
4
|
+
import { l as phaseLine } from "./command-output-Db8BqzxH.mjs";
|
|
5
5
|
import { f as throwIfCancelled } from "./operation-exec-BW0em61G.mjs";
|
|
6
6
|
import { d as writeWorkspaceState, i as recordWorkspaceUse } from "./workspace-state-U08dEzhG.mjs";
|
|
7
7
|
import { J as resolveProjectSettingsAsync, a as SETTING_SHAPE_REMEDY, et as settingShapeErrors } from "./settings-C7O8A6ZI.mjs";
|
|
8
|
-
import { f as projectRegistry, i as findProjectRoot$1, s as ownedDeviceLabel } from "./project-
|
|
8
|
+
import { f as projectRegistry, i as findProjectRoot$1, s as ownedDeviceLabel } from "./project-CTLNHCfE.mjs";
|
|
9
9
|
import { i as macosProcess, n as macosDir, o as requiredMacosRecord, r as macosLogFile } from "./state-08I3hw3_.mjs";
|
|
10
10
|
import { r as createNdjsonWriter } from "./ndjson-CgE_o3Dl.mjs";
|
|
11
|
-
import { B as recordFinishedBuild, Fn as processContext, H as tapBuildLog, In as runProcessOperation, M as NO_BUILD_PROGRESS, V as startBuildProgress, z as recordBuildPhase } from "./budget-
|
|
12
|
-
import { d as runCancellationSignal, f as withNativeBuildRun } from "./native-run-
|
|
13
|
-
import { I as acquireBuildSlot, R as releaseBuildSlot } from "./workspaces-
|
|
11
|
+
import { B as recordFinishedBuild, Fn as processContext, H as tapBuildLog, In as runProcessOperation, M as NO_BUILD_PROGRESS, V as startBuildProgress, z as recordBuildPhase } from "./budget-DnPX3DXj.mjs";
|
|
12
|
+
import { d as runCancellationSignal, f as withNativeBuildRun } from "./native-run-BUTu8T7A.mjs";
|
|
13
|
+
import { I as acquireBuildSlot, R as releaseBuildSlot } from "./workspaces-BxzYlo3P.mjs";
|
|
14
14
|
import { D as sanitizeDeviceLabel } from "./ios-hcBpnEGk.mjs";
|
|
15
|
-
import { c as offloadPlacement, h as setRemoteLogSink, i as closeOffload, l as placementLoad, n as buildPlacementCandidates, o as offloadBuild, r as chooseBuildMachine, u as remotePhaseText } from "./client-
|
|
15
|
+
import { c as offloadPlacement, h as setRemoteLogSink, i as closeOffload, l as placementLoad, n as buildPlacementCandidates, o as offloadBuild, r as chooseBuildMachine, u as remotePhaseText } from "./client-yyso1bwi.mjs";
|
|
16
16
|
import { a as requireLocalBuild, i as parseBuildMachineOption, r as namedBuildMachine, s as resolveBuildPlacement, t as OffloadRefusal } from "./selection-DSMbWEX2.mjs";
|
|
17
|
-
import { l as connectHost } from "./hosted-client-
|
|
18
|
-
import { t as placeHostedMacos } from "./hosted-macos-
|
|
19
|
-
import { r as stopMacosAppHeld, t as stopBundleInstances } from "./stop-
|
|
17
|
+
import { l as connectHost } from "./hosted-client-ByuMMO5s.mjs";
|
|
18
|
+
import { t as placeHostedMacos } from "./hosted-macos-DdtYajZt.mjs";
|
|
19
|
+
import { r as stopMacosAppHeld, t as stopBundleInstances } from "./stop-DzLJc7Ei.mjs";
|
|
20
20
|
import { t as spawnEntry } from "./spawn-entry-jw19m8Nl.mjs";
|
|
21
21
|
import { t as buildPlacementRecord } from "./placement-log-BnGgJRRZ.mjs";
|
|
22
|
-
import { t as reidentifyBundle } from "./stage-
|
|
22
|
+
import { t as reidentifyBundle } from "./stage-DKNM4ZPd.mjs";
|
|
23
23
|
import { t as validateMacosArtifactPlatform } from "./artifact-platform-CXcmX_j3.mjs";
|
|
24
24
|
import { t as waitForMacosRegistration } from "./registration-BcRgF6Ox.mjs";
|
|
25
25
|
import { createHash, randomUUID } from "node:crypto";
|
|
@@ -345,7 +345,7 @@ async function planMacos(context, root, buildMachineFlag) {
|
|
|
345
345
|
if (selected.failure) throw Object.assign(new Error(selected.failure.message), selected.failure);
|
|
346
346
|
const macos = settings.macos;
|
|
347
347
|
if (!macos?.product || !macos.infoPlist) throw Object.assign(/* @__PURE__ */ new Error("Set macos.product and macos.infoPlist explicitly in .stim.json. See stim guide macos."), { code: "STIM_BAD_ARG" });
|
|
348
|
-
const { swiftpmMacosProject } = await import("./swiftpm-macos-
|
|
348
|
+
const { swiftpmMacosProject } = await import("./swiftpm-macos-r_WSKlXr.mjs");
|
|
349
349
|
const recipe = await swiftpmMacosProject(root).prepare(context, settings);
|
|
350
350
|
let identity = null;
|
|
351
351
|
let cacheHit = false;
|
package/dist/maintenance-run.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { P as formatBytes } from "./config-DlrsduwG.mjs";
|
|
2
|
-
import { Tt as deviceSweepIsScoped, u as resolveBudget } from "./budget-
|
|
2
|
+
import { Tt as deviceSweepIsScoped, u as resolveBudget } from "./budget-DnPX3DXj.mjs";
|
|
3
3
|
import { I as memoryCulpritAdvice, N as memoryCulpritsUnder } from "./ios-hcBpnEGk.mjs";
|
|
4
|
-
import { v as maintenanceLogger } from "./client-
|
|
4
|
+
import { v as maintenanceLogger } from "./client-yyso1bwi.mjs";
|
|
5
5
|
import { t as resolveMaintenanceSettings } from "./settings-Djl-mpjX.mjs";
|
|
6
6
|
import { t as relaunchWithLogFile } from "./detached-entry-BwNEtIrP.mjs";
|
|
7
|
-
import { A as levelFloors, C as measureDisk, D as measureSizes, M as lowestFree, O as sizeScanDeferred, T as measurePressure, j as levelStillShort, k as diskPressureLevel } from "./worktree-
|
|
8
|
-
import { i as plannedMaintenance, m as measureOwnedDevices, n as diskRecovered, o as triggeringRoot, r as executeAction } from "./act-
|
|
7
|
+
import { A as levelFloors, C as measureDisk, D as measureSizes, M as lowestFree, O as sizeScanDeferred, T as measurePressure, j as levelStillShort, k as diskPressureLevel } from "./worktree-8lqn_lBp.mjs";
|
|
8
|
+
import { i as plannedMaintenance, m as measureOwnedDevices, n as diskRecovered, o as triggeringRoot, r as executeAction } from "./act-DG54PWtJ.mjs";
|
|
9
9
|
import { r as due, t as capChildLog } from "./attempt-DW-mQqM7.mjs";
|
|
10
10
|
import { releaseClaim, tryAcquireClaim } from "@stim-cli/core/ownership-claim";
|
|
11
11
|
import { randomBytes } from "node:crypto";
|
|
@@ -3,18 +3,18 @@ import { d as workspaceDir, i as sharedBuildCache } from "./paths-DQtTgsBf.mjs";
|
|
|
3
3
|
import { H as deviceSlotPlatforms, p as getProject, q as validateDeviceSlot } from "./config-DlrsduwG.mjs";
|
|
4
4
|
import { tt as settingValueAt } from "./settings-C7O8A6ZI.mjs";
|
|
5
5
|
import { r as register } from "./cache-manifest-DSeQjt-Q.mjs";
|
|
6
|
-
import { Y as statsProjectKey } from "./budget-
|
|
7
|
-
import { d as runCancellationSignal } from "./native-run-
|
|
6
|
+
import { Y as statsProjectKey } from "./budget-DnPX3DXj.mjs";
|
|
7
|
+
import { d as runCancellationSignal } from "./native-run-BUTu8T7A.mjs";
|
|
8
8
|
import { h as resolveBuild, o as entryDir, t as artifactIn } from "./build-cache-Dv7RN200.mjs";
|
|
9
9
|
import { B as ownedAvdDeviceProfile, E as findBuildTool, I as listInstalledSystemImages, K as ownedAvdSystemImage, V as ownedAvdDirectory, X as pickDefaultSystemImage, l as androidSystemImageAbi, o as androidHome } from "./android-C7sVmyI9.mjs";
|
|
10
|
-
import { o as resolveCcache } from "./ccache-
|
|
11
|
-
import { r as androidToolchainAsync } from "./toolchain-
|
|
10
|
+
import { o as resolveCcache } from "./ccache-RcAy92gH.mjs";
|
|
11
|
+
import { r as androidToolchainAsync } from "./toolchain-CWeGJgCc.mjs";
|
|
12
12
|
import { a as nativeGradleTransfer, t as gradleOffloadInputs } from "./native-gradle-inputs-Dnh84Zbd.mjs";
|
|
13
|
-
import { d as buildGradle, l as androidSdkRefusal } from "./react-native-build-
|
|
14
|
-
import { l as skippedMissReason, o as explainBuildMiss } from "./prebuild-
|
|
15
|
-
import { c as resolveAndroidRunPlan } from "./result-
|
|
16
|
-
import { n as androidProcessRuntime } from "./launch-
|
|
17
|
-
import { n as planFlagRefusal, r as planPayload } from "./build-plan-
|
|
13
|
+
import { d as buildGradle, l as androidSdkRefusal } from "./react-native-build-CmJkTljQ.mjs";
|
|
14
|
+
import { l as skippedMissReason, o as explainBuildMiss } from "./prebuild-BFm63bQ0.mjs";
|
|
15
|
+
import { c as resolveAndroidRunPlan } from "./result-Cx5CRLvS.mjs";
|
|
16
|
+
import { n as androidProcessRuntime } from "./launch-Bz7JtaC4.mjs";
|
|
17
|
+
import { n as planFlagRefusal, r as planPayload } from "./build-plan-C8CIvRyi.mjs";
|
|
18
18
|
import { a as nativeGradleWorkerArtifactIdentity, n as gradleArtifactInputs, r as nativeGradleArtifactSnapshot, t as NATIVE_GRADLE_CACHE_LIMIT } from "./native-gradle-artifact-inputs-DHFnmrVf.mjs";
|
|
19
19
|
import { createHash } from "node:crypto";
|
|
20
20
|
import { createReadStream, createWriteStream, existsSync, readFileSync, statSync } from "node:fs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as withWorkspaceProcessLock, l as refuseDeclaredSpawns, m as operationState, p as isTermination, s as allowDeclaredSpawns, u as signalDeclaredSpawns, x as ownership_claim_exports } from "./exec-DEoAhcze.mjs";
|
|
2
2
|
import { d as workspaceDir } from "./paths-DQtTgsBf.mjs";
|
|
3
|
-
import { a as formatElapsed, l as phaseLine } from "./command-output-
|
|
3
|
+
import { a as formatElapsed, l as phaseLine } from "./command-output-Db8BqzxH.mjs";
|
|
4
4
|
import { o as updateWorkspaceState, r as readWorkspaceState, t as clearWorkspaceStateKey } from "./workspace-state-U08dEzhG.mjs";
|
|
5
5
|
import { t as canonicalPath } from "./paths-BsJMoPP2.mjs";
|
|
6
6
|
import { existsSync, mkdirSync } from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as ensureWorkspaceStorage } from "./paths-DQtTgsBf.mjs";
|
|
2
|
-
import { l as phaseLine } from "./command-output-
|
|
2
|
+
import { l as phaseLine } from "./command-output-Db8BqzxH.mjs";
|
|
3
3
|
import { r as readWorkspaceState$1 } from "./workspace-state-U08dEzhG.mjs";
|
|
4
4
|
import { j as metroPortSetting } from "./settings-C7O8A6ZI.mjs";
|
|
5
5
|
import { d as resolveProjectMetro } from "./metro-DiXtA3Ty.mjs";
|
|
6
|
-
import { Yt as LAUNCH_UNVERIFIED, qt as LAUNCH_BUNDLING } from "./budget-
|
|
7
|
-
import { c as startDevServer } from "./start-
|
|
6
|
+
import { Yt as LAUNCH_UNVERIFIED, qt as LAUNCH_BUNDLING } from "./budget-DnPX3DXj.mjs";
|
|
7
|
+
import { c as startDevServer } from "./start-bjfiScgz.mjs";
|
|
8
8
|
import { readIdleStop } from "@stim-cli/core/state";
|
|
9
9
|
import chalk from "chalk";
|
|
10
10
|
//#region src/commands/native-runtime.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as workspaceDir, u as workspaceDerivedData } from "./paths-DQtTgsBf.mjs";
|
|
2
2
|
import { a as killOnAbort, l as gitQuietAsync, r as childEnvironment } from "./operation-exec-BW0em61G.mjs";
|
|
3
|
-
import { h as pbxString, m as pbxReferences } from "./project-
|
|
3
|
+
import { h as pbxString, m as pbxReferences } from "./project-CTLNHCfE.mjs";
|
|
4
4
|
import { n as fingerprintNativeInputs, t as NativeInputError } from "./native-inputs-TRTTTRxt.mjs";
|
|
5
5
|
import { createHash } from "node:crypto";
|
|
6
6
|
import { existsSync, readFileSync, realpathSync } from "node:fs";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { t as getExecutor } from "./exec-DEoAhcze.mjs";
|
|
2
2
|
import { o as sharedCompilationCache } from "./paths-DQtTgsBf.mjs";
|
|
3
3
|
import { G as resolveCacheProviderConfig, Nt as repoRootAsync, U as remoteIosSetting, et as settingShapeErrors } from "./settings-C7O8A6ZI.mjs";
|
|
4
|
-
import { g as selectNativeXcodeProject, h as pbxString, p as NativeXcodeError } from "./project-
|
|
4
|
+
import { g as selectNativeXcodeProject, h as pbxString, p as NativeXcodeError } from "./project-CTLNHCfE.mjs";
|
|
5
5
|
import { r as register } from "./cache-manifest-DSeQjt-Q.mjs";
|
|
6
|
-
import { Fn as processContext, Y as statsProjectKey } from "./budget-
|
|
7
|
-
import { d as runCancellationSignal } from "./native-run-
|
|
6
|
+
import { Fn as processContext, Y as statsProjectKey } from "./budget-DnPX3DXj.mjs";
|
|
7
|
+
import { d as runCancellationSignal } from "./native-run-BUTu8T7A.mjs";
|
|
8
8
|
import { n as buildCacheKey, s as filesystemBuildCapability } from "./build-cache-Dv7RN200.mjs";
|
|
9
9
|
import { l as artifactCachePolicy, p as resolveOptimizations } from "./errors-ccaPc4ox.mjs";
|
|
10
|
-
import { a as buildXcode, l as parseSwiftVersion, r as HEARTBEAT_INTERVAL_MS, s as compilationCacheSettings, u as parseXcodeMajor } from "./xcode-
|
|
11
|
-
import { a as nativeTransferRefusal } from "./client-
|
|
12
|
-
import { _ as runCaptured, a as iosToolchainAsync, h as readPodState, m as podsAreStale, v as runPodInstall } from "./toolchain-
|
|
13
|
-
import { a as deviceModelRefusal, h as resolveDeviceType, m as resolveConfiguration, v as resolveRuntime, x as simulatorBuildArch, y as resolveSchemeSelection } from "./support-
|
|
10
|
+
import { a as buildXcode, l as parseSwiftVersion, r as HEARTBEAT_INTERVAL_MS, s as compilationCacheSettings, u as parseXcodeMajor } from "./xcode-iQnROM5o.mjs";
|
|
11
|
+
import { a as nativeTransferRefusal } from "./client-yyso1bwi.mjs";
|
|
12
|
+
import { _ as runCaptured, a as iosToolchainAsync, h as readPodState, m as podsAreStale, v as runPodInstall } from "./toolchain-CWeGJgCc.mjs";
|
|
13
|
+
import { a as deviceModelRefusal, h as resolveDeviceType, m as resolveConfiguration, v as resolveRuntime, x as simulatorBuildArch, y as resolveSchemeSelection } from "./support-BTpZ6RAJ.mjs";
|
|
14
14
|
import { r as gateProfileForDevice } from "./ios-signing-BtAffm0A.mjs";
|
|
15
|
-
import { l as skippedMissReason, o as explainBuildMiss } from "./prebuild-
|
|
16
|
-
import { n as planFlagRefusal, t as planCachedBuild } from "./build-plan-
|
|
17
|
-
import { t as IosRecipeRefusal } from "./ios-project-
|
|
18
|
-
import { i as DEFAULT_DEPS, r as iosProcessRuntime } from "./launch-
|
|
19
|
-
import { a as nativeXcodeSources, i as nativeXcodePackages, n as nativeXcodeInputSnapshot, t as nativeXcodeHasPackages } from "./native-xcode-inputs-
|
|
15
|
+
import { l as skippedMissReason, o as explainBuildMiss } from "./prebuild-BFm63bQ0.mjs";
|
|
16
|
+
import { n as planFlagRefusal, t as planCachedBuild } from "./build-plan-C8CIvRyi.mjs";
|
|
17
|
+
import { t as IosRecipeRefusal } from "./ios-project-CVyNwjAF.mjs";
|
|
18
|
+
import { i as DEFAULT_DEPS, r as iosProcessRuntime } from "./launch-CHY3p-yz.mjs";
|
|
19
|
+
import { a as nativeXcodeSources, i as nativeXcodePackages, n as nativeXcodeInputSnapshot, t as nativeXcodeHasPackages } from "./native-xcode-inputs-G6rkkhxu.mjs";
|
|
20
20
|
import { existsSync } from "node:fs";
|
|
21
21
|
import { join } from "node:path";
|
|
22
22
|
//#region src/integrations/native-xcode-ios.ts
|
package/dist/offload-worker.mjs
CHANGED
|
@@ -4,24 +4,24 @@ import { k as writeConfigSetting } from "./config-DlrsduwG.mjs";
|
|
|
4
4
|
import { n as stripAnsi } from "./process-output-Fpl8PYi8.mjs";
|
|
5
5
|
import { o as git, s as gitAsync } from "./operation-exec-BW0em61G.mjs";
|
|
6
6
|
import { d as androidLayoutSetting, y as iosProjectDirSetting } from "./settings-C7O8A6ZI.mjs";
|
|
7
|
-
import { f as projectRegistry, g as selectNativeXcodeProject } from "./project-
|
|
7
|
+
import { f as projectRegistry, g as selectNativeXcodeProject } from "./project-CTLNHCfE.mjs";
|
|
8
8
|
import { o as parseNdjsonText } from "./ndjson-CgE_o3Dl.mjs";
|
|
9
|
-
import { Fn as processContext } from "./budget-
|
|
9
|
+
import { Fn as processContext } from "./budget-DnPX3DXj.mjs";
|
|
10
10
|
import { l as fingerprintProject, m as refingerprintAfterMutation } from "./build-cache-Dv7RN200.mjs";
|
|
11
|
-
import { n as CCACHE_UNAVAILABLE, o as resolveCcache } from "./ccache-
|
|
12
|
-
import { _ as clearCorruptCompilationCache, f as reactNativeArtifactReceipt, g as COMPILATION_CACHE_CORRUPT, m as reactNativeBuildQuery, p as reactNativeArtifactToolchain } from "./client-
|
|
13
|
-
import { f as workerToolchain, h as readPodState, i as availableIphone, m as podsAreStale, v as runPodInstall } from "./toolchain-
|
|
11
|
+
import { n as CCACHE_UNAVAILABLE, o as resolveCcache } from "./ccache-RcAy92gH.mjs";
|
|
12
|
+
import { _ as clearCorruptCompilationCache, f as reactNativeArtifactReceipt, g as COMPILATION_CACHE_CORRUPT, m as reactNativeBuildQuery, p as reactNativeArtifactToolchain } from "./client-yyso1bwi.mjs";
|
|
13
|
+
import { f as workerToolchain, h as readPodState, i as availableIphone, m as podsAreStale, v as runPodInstall } from "./toolchain-CWeGJgCc.mjs";
|
|
14
14
|
import { n as fingerprintNativeInputs, r as manifestDigest } from "./native-inputs-TRTTTRxt.mjs";
|
|
15
15
|
import { a as sourceManifest, o as verifyNativeTransfer } from "./native-source-Y0yLhFyQ.mjs";
|
|
16
16
|
import { i as nativeGradleOutputs, n as gradleStateDirectories, o as validateGradleManifest, s as verifyGradleTransfer, t as gradleOffloadInputs } from "./native-gradle-inputs-Dnh84Zbd.mjs";
|
|
17
|
-
import { n as buildAndroid, o as gradlewPath, r as buildIos, u as assembleTaskFor } from "./react-native-build-
|
|
18
|
-
import { f as podAction } from "./support-
|
|
19
|
-
import { i as runPrebuild, r as recordPrebuild, t as planPrebuild } from "./prebuild-
|
|
20
|
-
import { g as dumpApkManifest, p as apkPackage } from "./support-
|
|
21
|
-
import { n as buildAndroidOperation, t as buildIosOperation } from "./build-
|
|
22
|
-
import { i as stageBundle, n as resolveBundleExtras } from "./stage-
|
|
17
|
+
import { n as buildAndroid, o as gradlewPath, r as buildIos, u as assembleTaskFor } from "./react-native-build-CmJkTljQ.mjs";
|
|
18
|
+
import { f as podAction } from "./support-BTpZ6RAJ.mjs";
|
|
19
|
+
import { i as runPrebuild, r as recordPrebuild, t as planPrebuild } from "./prebuild-BFm63bQ0.mjs";
|
|
20
|
+
import { g as dumpApkManifest, p as apkPackage } from "./support-DTBV56gy.mjs";
|
|
21
|
+
import { n as buildAndroidOperation, t as buildIosOperation } from "./build-CqufZFqy.mjs";
|
|
22
|
+
import { i as stageBundle, n as resolveBundleExtras } from "./stage-DKNM4ZPd.mjs";
|
|
23
23
|
import { t as logLines } from "./run-DidHghD1.mjs";
|
|
24
|
-
import { r as nativeXcodeMetadataDirectories } from "./native-xcode-inputs-
|
|
24
|
+
import { r as nativeXcodeMetadataDirectories } from "./native-xcode-inputs-G6rkkhxu.mjs";
|
|
25
25
|
import { n as swiftpmArtifactInputs, r as swiftpmArtifactSnapshot, t as readSwiftpmArtifactToolchain } from "./swiftpm-artifact-inputs-DFcGsXDP.mjs";
|
|
26
26
|
import { a as nativeGradleWorkerArtifactIdentity, i as nativeGradleArtifactSnapshotFromReceipt, o as nativeGradleWorkerScope } from "./native-gradle-artifact-inputs-DHFnmrVf.mjs";
|
|
27
27
|
import { createHash } from "node:crypto";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as hostingMachines } from "./selection-DSMbWEX2.mjs";
|
|
2
2
|
import { r as readHostedNative } from "./ios-state-Dtw5K2aI.mjs";
|
|
3
|
-
import { i as probeHost, n as automaticDevicePlacement } from "./eas-fallback-
|
|
3
|
+
import { i as probeHost, n as automaticDevicePlacement } from "./eas-fallback-DV3Wytf1.mjs";
|
|
4
4
|
import { automaticMachineEnabled } from "@stim-cli/core/state";
|
|
5
5
|
//#region src/device-host/plan-placement.ts
|
|
6
6
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as getProject } from "./config-DlrsduwG.mjs";
|
|
2
|
-
import { n as findCommandWorkspace } from "./project-
|
|
2
|
+
import { n as findCommandWorkspace } from "./project-CTLNHCfE.mjs";
|
|
3
3
|
import { n as getNamedPort, t as clearNamedPorts } from "./named-ports-DkEzOfzO.mjs";
|
|
4
4
|
//#region src/commands/ports.ts
|
|
5
5
|
async function inProject(action) {
|
|
@@ -4,10 +4,10 @@ import { n as stripAnsi, r as waitForChild, t as createLineReader } from "./proc
|
|
|
4
4
|
import { o as git, s as gitAsync } from "./operation-exec-BW0em61G.mjs";
|
|
5
5
|
import { o as updateWorkspaceState, r as readWorkspaceState$1 } from "./workspace-state-U08dEzhG.mjs";
|
|
6
6
|
import { yt as gitCommonDirOnDisk } from "./settings-C7O8A6ZI.mjs";
|
|
7
|
-
import { v as detectIsExpo } from "./project-
|
|
8
|
-
import { Zn as remoteCliInvocation } from "./budget-
|
|
7
|
+
import { v as detectIsExpo } from "./project-CTLNHCfE.mjs";
|
|
8
|
+
import { Zn as remoteCliInvocation } from "./budget-DnPX3DXj.mjs";
|
|
9
9
|
import { a as diffFingerprintSources, v as storedSources } from "./build-cache-Dv7RN200.mjs";
|
|
10
|
-
import { i as expoBinRefusal, r as expoBinPath } from "./server-expo-
|
|
10
|
+
import { i as expoBinRefusal, o as expoSdkMajor, r as expoBinPath } from "./server-expo-D9lEz4aq.mjs";
|
|
11
11
|
import { existsSync, realpathSync } from "node:fs";
|
|
12
12
|
import { dirname, join, relative } from "node:path";
|
|
13
13
|
import { ambientContext } from "@stim-cli/core";
|
|
@@ -342,11 +342,22 @@ function recordPrebuild(root, platform, fingerprint) {
|
|
|
342
342
|
}
|
|
343
343
|
}));
|
|
344
344
|
}
|
|
345
|
+
/**
|
|
346
|
+
* @expo/cli 57 made `expo prebuild` delete existing native folders by default and added `--no-clean`
|
|
347
|
+
* to keep them (expo/expo#47209); earlier CLIs keep them by default and reject `--no-clean`.
|
|
348
|
+
*/
|
|
349
|
+
function keepNativeDirArgs(root) {
|
|
350
|
+
return (expoSdkMajor(root) ?? 0) >= 57 ? ["--no-clean"] : [];
|
|
351
|
+
}
|
|
352
|
+
function staleNativeDirRemedy(platform) {
|
|
353
|
+
const dir = nativeDirName(platform);
|
|
354
|
+
return `Fix what the output above reports. Stim ran \`expo prebuild\` over the existing ${dir}/ without deleting it, which keeps what earlier config plugins wrote there. If ${dir}/ predates a removed config plugin or an Expo SDK upgrade, delete ${dir}/ and run again so Stim generates it fresh.`;
|
|
355
|
+
}
|
|
345
356
|
function staleNativeDirRefusal(platform) {
|
|
346
357
|
const dir = nativeDirName(platform);
|
|
347
358
|
return {
|
|
348
359
|
code: PREBUILD_ERROR,
|
|
349
|
-
message: `The fingerprint leaves ${dir}/ out of the cache key, and Stim cannot show that ${dir}/ was generated from the current app config. Git tracks files in it, or could not say whether it does, so Stim will not
|
|
360
|
+
message: `The fingerprint leaves ${dir}/ out of the cache key, and Stim cannot show that ${dir}/ was generated from the current app config. Git tracks files in it, or could not say whether it does, so Stim will not run \`expo prebuild\` over it.`,
|
|
350
361
|
remedy: `Stop excluding ${dir}/ from the fingerprint (check .fingerprintignore) so the cache key covers its files, or add ${dir}/ to .gitignore and untrack it so Stim regenerates it from the app config.`
|
|
351
362
|
};
|
|
352
363
|
}
|
|
@@ -417,7 +428,7 @@ async function runPrebuild(root, platform, logWriter, { spawnFn = null, now = Da
|
|
|
417
428
|
"-p",
|
|
418
429
|
platform,
|
|
419
430
|
"--no-install",
|
|
420
|
-
...clean ? ["--clean"] : []
|
|
431
|
+
...clean ? ["--clean"] : dirExists ? keepNativeDirArgs(root) : []
|
|
421
432
|
], "expo");
|
|
422
433
|
child = spawnDeclared(ambientContext(), () => spawn(invocation.file, invocation.args, {
|
|
423
434
|
cwd: root,
|
|
@@ -463,6 +474,7 @@ async function runPrebuild(root, platform, logWriter, { spawnFn = null, now = Da
|
|
|
463
474
|
failed: true,
|
|
464
475
|
code: PREBUILD_ERROR,
|
|
465
476
|
reason: `\`expo prebuild -p ${platform}\` failed (${how}).`,
|
|
477
|
+
...dirExists && !clean ? { remedy: staleNativeDirRemedy(platform) } : {},
|
|
466
478
|
lastLines: tail.slice(),
|
|
467
479
|
durationMs
|
|
468
480
|
});
|
|
@@ -308,8 +308,8 @@ const nativeAndroidIntegration = {
|
|
|
308
308
|
application: true,
|
|
309
309
|
platforms: () => ["android"],
|
|
310
310
|
validate: (operation) => operation === "android" ? null : void 0,
|
|
311
|
-
android: async () => (await import("./native-android-
|
|
312
|
-
doctor: async () => (await import("./native-android-
|
|
311
|
+
android: async () => (await import("./native-android-CdCSylTn.mjs")).nativeAndroidProject(root),
|
|
312
|
+
doctor: async () => (await import("./native-android-CdCSylTn.mjs")).nativeAndroidDoctor(root)
|
|
313
313
|
};
|
|
314
314
|
}
|
|
315
315
|
};
|
|
@@ -737,8 +737,8 @@ const nativeXcodeProjectIntegration = {
|
|
|
737
737
|
application: problem === null,
|
|
738
738
|
platforms: () => problem ? [] : ["ios"],
|
|
739
739
|
validate: (operation) => operation === "ios" ? problem : void 0,
|
|
740
|
-
ios: async () => (await import("./native-xcode-ios-
|
|
741
|
-
doctor: async () => (await import("./native-xcode-ios-
|
|
740
|
+
ios: async () => (await import("./native-xcode-ios-_os2PlCD.mjs")).nativeXcodeIosProject(root),
|
|
741
|
+
doctor: async () => (await import("./native-xcode-ios-_os2PlCD.mjs")).nativeXcodeDoctor(root)
|
|
742
742
|
};
|
|
743
743
|
}
|
|
744
744
|
};
|
|
@@ -943,7 +943,7 @@ function createProjectRegistry(integrations) {
|
|
|
943
943
|
//#region src/integrations/projects.ts
|
|
944
944
|
const expo = {
|
|
945
945
|
mode: MODE_EXPO,
|
|
946
|
-
loadDevServer: async () => (await import("./server-expo-
|
|
946
|
+
loadDevServer: async () => (await import("./server-expo-C-Buqvn_.mjs")).startExpoServer,
|
|
947
947
|
platforms(root) {
|
|
948
948
|
const appJson = readAppJson(root);
|
|
949
949
|
const config = appJson?.expo ?? appJson;
|
|
@@ -993,9 +993,9 @@ const projectRegistry = createProjectRegistry([
|
|
|
993
993
|
ownedRoots: problem === null ? [join(root, "ios"), join(root, "android")] : [],
|
|
994
994
|
platforms: (resolved) => nativeProjectIntegration(root).platforms(root, resolved),
|
|
995
995
|
validate: (operation) => operation === "ios" || operation === "android" || operation === "dev-server" ? problem : void 0,
|
|
996
|
-
ios: async (settings) => (await import("./react-native-ios-
|
|
997
|
-
android: async (resolved) => (await import("./react-native-android-
|
|
998
|
-
doctor: async () => (await import("./react-native-doctor-
|
|
996
|
+
ios: async (settings) => (await import("./react-native-ios-ChBF1MkB.mjs")).reactNativeIosProject(root, settings),
|
|
997
|
+
android: async (resolved) => (await import("./react-native-android-CFgUroxW.mjs")).reactNativeAndroidProject(root, resolved),
|
|
998
|
+
doctor: async () => (await import("./react-native-doctor-LTF-Xt8l.mjs")).reactNativeProjectDoctor(root)
|
|
999
999
|
};
|
|
1000
1000
|
}
|
|
1001
1001
|
},
|
|
@@ -1009,9 +1009,9 @@ const projectRegistry = createProjectRegistry([
|
|
|
1009
1009
|
application: true,
|
|
1010
1010
|
platforms: ({ settings }) => settingValueAt(settings, "macos.product") && settingValueAt(settings, "macos.infoPlist") ? ["macos"] : [],
|
|
1011
1011
|
validate: (operation) => operation === "macos" ? null : void 0,
|
|
1012
|
-
macos: async () => (await import("./swiftpm-macos-
|
|
1012
|
+
macos: async () => (await import("./swiftpm-macos-r_WSKlXr.mjs")).swiftpmMacosProject(root),
|
|
1013
1013
|
doctor: async () => {
|
|
1014
|
-
const { macosToolchain, macosToolchainAsync } = await import("./toolchain-
|
|
1014
|
+
const { macosToolchain, macosToolchainAsync } = await import("./toolchain-GVgnf8d1.mjs");
|
|
1015
1015
|
return {
|
|
1016
1016
|
inspect: () => [],
|
|
1017
1017
|
offloadTargets: ({ options: { host = process.platform, platform, operation } }) => host === "darwin" && platform === void 0 ? async () => [{
|
|
@@ -1031,7 +1031,7 @@ const projectRegistry = createProjectRegistry([
|
|
|
1031
1031
|
application: false,
|
|
1032
1032
|
platforms: ({ settings }) => webSettings(settings).url !== null ? ["web"] : [],
|
|
1033
1033
|
validate: (operation) => operation === "web" ? null : void 0,
|
|
1034
|
-
web: async () => (await import("./browser-web-
|
|
1034
|
+
web: async () => (await import("./browser-web-CeEVlGug.mjs")).browserWebProject(root)
|
|
1035
1035
|
};
|
|
1036
1036
|
}
|
|
1037
1037
|
},
|