stim 1.27.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-BKN2Yuhg.mjs → acquire-artifact-CKByBnTD.mjs} +1 -1
- package/dist/{act-ROviTF_t.mjs → act-8iswyfRa.mjs} +36 -18
- package/dist/{activity-Cd-ysFes.mjs → activity-DRMg4_mD.mjs} +3 -3
- package/dist/{agent-device-usage-output-C5nCKWp9.mjs → agent-device-usage-output-tE90fDdo.mjs} +3 -3
- package/dist/{android-Cd6w7_qw.mjs → android-CHmSU4B4.mjs} +40 -37
- package/dist/{android-DriNoAVy.mjs → android-CsPs-7Mg.mjs} +3 -3
- package/dist/{android-Deb9X3_Y.mjs → android-D577ApKG.mjs} +1 -1
- package/dist/{android--HBgpvpW.mjs → android-YWCbmkVK.mjs} +5 -5
- package/dist/{android-cas-D5e6ecUg.mjs → android-cas-_aDifWW0.mjs} +2 -2
- package/dist/api.d.mts +1 -1
- package/dist/api.mjs +24 -24
- package/dist/{apk-signed-tail-BHQHx3Rm.mjs → apk-signed-tail-CQbwM0qO.mjs} +2 -2
- package/dist/{artifact-faemIZv5.mjs → artifact-DYtHjxsn.mjs} +12 -12
- package/dist/{artifact-0AGJYB9O.mjs → artifact-bFkfD3vf.mjs} +12 -12
- package/dist/{auto-placement-z-H5pJza.mjs → auto-placement-BVqs8AJi.mjs} +7 -7
- package/dist/{browser-web-slD8AvLp.mjs → browser-web-BUaLcafY.mjs} +10 -10
- package/dist/{build-hS0QyFlQ.mjs → build-cQURy_KW.mjs} +20 -20
- package/dist/{build-cache-gBJ-WKzA.mjs → build-cache-CZULpXVl.mjs} +3 -3
- package/dist/{build-plan-CBqYbzYM.mjs → build-plan-CxoYfxsc.mjs} +6 -6
- package/dist/{ccache-BWTze1Ls.mjs → ccache-Bm_A1xX9.mjs} +15 -14
- package/dist/{cli-ftXDLto1.mjs → cli-CpbaLDa7.mjs} +17 -17
- package/dist/cli.mjs +1 -1
- package/dist/{client-xsdxrhWA.mjs → client-YxCer6ab.mjs} +39 -6
- package/dist/collector-run.mjs +3 -3
- package/dist/{command-output-Dj-WT4BP.mjs → command-output-C8R1KIvi.mjs} +1 -1
- package/dist/{dependencies-BGokZ-Ng.mjs → dependencies-DKeMzwXY.mjs} +35 -35
- package/dist/{dependency-state-C3OtgG94.mjs → dependency-state-CojA2o0t.mjs} +1 -1
- package/dist/{dev-client-BMca82xo.mjs → dev-client-D-BW5uiq.mjs} +2 -2
- package/dist/{device-tM41-TUq.mjs → device-CgXfbcz5.mjs} +11 -11
- package/dist/{device-capacity-6LP7QsaA.mjs → device-capacity-Cd8lMSn3.mjs} +85 -17
- package/dist/{device-BJm0irrq.mjs → device-eeK95Lir.mjs} +13 -13
- package/dist/device-host-worker.mjs +13 -11
- package/dist/{device-ios-534c14fz.mjs → device-ios-Cc9ulihb.mjs} +7 -7
- package/dist/{device-lease-run-DwsGfjUN.mjs → device-lease-run-Mtzp4THX.mjs} +3 -3
- package/dist/{device-pool-BnQqvs6o.mjs → device-pool-eRz6DtCg.mjs} +2 -2
- package/dist/{doctor-DyqE9n1J.mjs → doctor-Bz_ouYAW.mjs} +12 -12
- package/dist/{doctor-Dbx1ZpD2.mjs → doctor-C2QyhejJ.mjs} +1 -1
- package/dist/doctor-fingerprint.mjs +1 -1
- package/dist/{doctor-watchman-CxDbyrrt.mjs → doctor-watchman-BTW82PDC.mjs} +3 -3
- package/dist/{doctor-F-3VUUyN.mjs → doctor-xf7ht-5n.mjs} +17 -17
- package/dist/{eas-build-CjNSWmjo.mjs → eas-build-Dm6q68QY.mjs} +2 -2
- package/dist/{eas-fallback-9fqb46kW.mjs → eas-fallback-DajNpxf-.mjs} +3 -3
- package/dist/{eas-session-ledger-DrP4OuuM.mjs → eas-session-ledger-CBFo_Uo1.mjs} +35 -6
- package/dist/{error-diagnostics-snej9k4j.mjs → error-diagnostics-D1QfyJzQ.mjs} +7 -7
- package/dist/{gc-CGZ1Yg88.mjs → gc-DM5oMm-J.mjs} +17 -16
- package/dist/{gc-BRwAY3qT.mjs → gc-PLFwb0k4.mjs} +2 -2
- package/dist/{guide-_rfEh_zM.mjs → guide-C4I46XAk.mjs} +106 -42
- package/dist/{hosted-android-BMKzUNnY.mjs → hosted-android-DlaKLbW0.mjs} +5 -6
- package/dist/{hosted-client-D7Pk_Oo1.mjs → hosted-client-DDRm9hPJ.mjs} +43 -16
- package/dist/{hosted-logs-B1gqQuva.mjs → hosted-logs-bSebOKbz.mjs} +5 -5
- package/dist/{hosted-logs-sync-Dg3qrZmV.mjs → hosted-logs-sync-B0c53W_c.mjs} +5 -5
- package/dist/{hosted-macos-B9w4H8hc.mjs → hosted-macos-B7-8Pv4H.mjs} +5 -5
- package/dist/{hosted-native-CdgaiuyP.mjs → hosted-native-CDe33CSr.mjs} +11 -8
- package/dist/{idle-shutdown-Cbvo5KEh.mjs → idle-shutdown-CQ0QwU9J.mjs} +5 -5
- package/dist/{ios-E26qSpkb.mjs → ios-B1DYuOjh.mjs} +2 -2
- package/dist/{ios-Bk4mWbtS.mjs → ios-B1HvafEG.mjs} +8 -8
- package/dist/{ios-device-C_QkIf1Z.mjs → ios-device-B4elVFKi.mjs} +1 -1
- package/dist/{ios-project-D8Jcy_br.mjs → ios-project-CR4mZ7CH.mjs} +6 -6
- package/dist/{ios-state-BZ03NFgF.mjs → ios-state-BPHqMDdZ.mjs} +1 -1
- package/dist/{ios-B5HlVMhQ.mjs → ios-tg4tp3q1.mjs} +30 -28
- package/dist/{js-swap-Dg2a945i.mjs → js-swap-CVpSW1fn.mjs} +4 -4
- package/dist/{launch-CRyBeNsA.mjs → launch-DoySmhjz.mjs} +17 -17
- package/dist/{lightened-BCsdAGj_.mjs → lightened-DFAJgfIk.mjs} +4 -4
- package/dist/{logs-aJQb-RDg.mjs → logs-BGsW7iPe.mjs} +6 -6
- package/dist/{logs-CC_-ZzEE.mjs → logs-DI5ILkYB.mjs} +4 -4
- package/dist/{macos-DlCBhMw5.mjs → macos-Bo9st9Di.mjs} +18 -18
- package/dist/{macos-BGmTpnv9.mjs → macos-C12RMJQF.mjs} +1 -1
- package/dist/macos-run.mjs +1 -1
- package/dist/maintenance-run.mjs +4 -4
- package/dist/{metro-CvyD-xwe.mjs → metro-BnhXV2Mj.mjs} +1 -1
- package/dist/{metro-gateway-BnHdqMO_.mjs → metro-request-DXyKjVDF.mjs} +25 -46
- package/dist/{named-ports-BCyMWA6b.mjs → named-ports-Phoi2POD.mjs} +1 -1
- package/dist/{native-android-DlpxCyOP.mjs → native-android-vxgtLD7w.mjs} +14 -14
- package/dist/{native-gradle-artifact-inputs-C13qT7R_.mjs → native-gradle-artifact-inputs-BN96IVw8.mjs} +3 -3
- package/dist/{native-runtime-DqaIBO5w.mjs → native-runtime-DG4Rodzj.mjs} +6 -6
- package/dist/{native-xcode-inputs-B1W8SrxB.mjs → native-xcode-inputs-BKarCoKg.mjs} +2 -2
- package/dist/{native-xcode-ios-QPP0Rm68.mjs → native-xcode-ios-8A-efGa5.mjs} +14 -14
- package/dist/offload-worker.mjs +18 -18
- package/dist/{ownership-Bx-0cku-.mjs → ownership-DJCq48IJ.mjs} +2 -2
- package/dist/{phone-reverses-C9yAaKEv.mjs → phone-reverses-BzTa8g1F.mjs} +3 -3
- package/dist/{placement-log-BXUbiZM6.mjs → placement-log-Cvhta5ib.mjs} +1 -1
- package/dist/{plan-placement-UxnQjv5Z.mjs → plan-placement-WkZdccuN.mjs} +5 -5
- package/dist/{ports-uUrghqWN.mjs → ports-UV4mJgyC.mjs} +2 -2
- package/dist/{prebuild-BDpToDgR.mjs → prebuild-k8d_tqOq.mjs} +8 -8
- package/dist/{project-DYj-HVx6.mjs → project-Sui52ywT.mjs} +14 -14
- package/dist/{react-native-android-DDBccgJw.mjs → react-native-android-DANlGGQf.mjs} +21 -21
- package/dist/{react-native-build-DaK2IFyP.mjs → react-native-build-jUHnIfZ9.mjs} +6 -6
- package/dist/{react-native-doctor-B-Mw6DcR.mjs → react-native-doctor-DCWRjS7K.mjs} +5 -5
- package/dist/{react-native-ios-DjYwUF9U.mjs → react-native-ios-BwMsFMXi.mjs} +14 -14
- package/dist/{recordings-C20iUZfp.mjs → recordings-iy0mkm7b.mjs} +1 -1
- package/dist/{reload-DJBeF_rC.mjs → reload-Bj7QyuDy.mjs} +1 -1
- package/dist/{reload-fUdkH2_p.mjs → reload-c_uEyc_X.mjs} +13 -13
- package/dist/{remote-y6n99WMW.mjs → remote-DFlpAqdV.mjs} +8 -8
- package/dist/{result-CTqBw2Te.mjs → result-BIcXREyC.mjs} +14 -14
- package/dist/{run-DaCeNKRm.mjs → run-y2HwyNvg.mjs} +1 -1
- package/dist/{selection-Bs8phwhN.mjs → selection-CXgM_VK_.mjs} +2 -2
- package/dist/{server-bare-BOh-iZEj.mjs → server-bare-2N4vSRZG.mjs} +1 -1
- package/dist/{server-command-8CuA51Cv.mjs → server-command-qneHPcRI.mjs} +4 -4
- package/dist/{server-expo-ABQs2XFA.mjs → server-expo-Ccm9zB0o.mjs} +2 -2
- package/dist/server-expo-WulkyAwT.mjs +2 -0
- package/dist/{settings-BDVI8Ivc.mjs → settings-CY5JZlNN.mjs} +46 -2
- package/dist/{settings-CMHhQNwI.mjs → settings-Cfd_Q6ys.mjs} +2 -2
- package/dist/{settings-payload-cm60Zhib.mjs → settings-payload-DwQiEMCn.mjs} +2 -2
- package/dist/{settings-write-BdNRLlBn.mjs → settings-write-CJpjkeAd.mjs} +3 -3
- package/dist/{slot-launch-0l7RqSpr.mjs → slot-launch-BpmanOnk.mjs} +5 -5
- package/dist/{stage-F4cAfJGi.mjs → stage-CmugrSG5.mjs} +1 -1
- package/dist/{start-DcqnF9p8.mjs → start-CHH3zgIU.mjs} +1 -1
- package/dist/{start-DrPwER_2.mjs → start-DYLk6GXn.mjs} +8 -8
- package/dist/{state-BX1y5syV.mjs → state-B2QJbDwz.mjs} +2 -2
- package/dist/{state-CZxLyetD.mjs → state-BXC1Lfxw.mjs} +1 -1
- package/dist/{stats-GxuCbles.mjs → stats-DxKqhcGp.mjs} +3 -3
- package/dist/{status-BfnK9pUd.mjs → status-BHCkOZga.mjs} +46 -23
- package/dist/{status-Bj7ZYvvc.mjs → status-D_Ljc89p.mjs} +1 -1
- package/dist/{status-watch-BfabQn03.mjs → status-watch-BmsPqYSU.mjs} +17 -6
- package/dist/status-worker.mjs +1 -1
- package/dist/{stop-D-EAr25B.mjs → stop-D-dGE9gh.mjs} +14 -14
- package/dist/{stop-CH79S3IZ.mjs → stop-DQvE-P76.mjs} +9 -5
- package/dist/{stop-x1Yu3He4.mjs → stop-b2pouxAO.mjs} +2 -2
- package/dist/supervisor-run.mjs +232 -58
- package/dist/{support-CNg_YsOk.mjs → support-04IhBUTT.mjs} +4 -4
- package/dist/{support-Be0UeVZU.mjs → support-BtlJKjyQ.mjs} +11 -10
- package/dist/{swiftpm-artifact-inputs-uPqYvGBv.mjs → swiftpm-artifact-inputs-Cj2UpmPN.mjs} +1 -1
- package/dist/{swiftpm-macos-Ch4YjY_A.mjs → swiftpm-macos-BhF2stxY.mjs} +7 -7
- package/dist/{toolchain-CbCG6C5Z.mjs → toolchain-mLA_km-b.mjs} +4 -4
- package/dist/{toolchain-JYAOquPg.mjs → toolchain-qktiV8xc.mjs} +1 -1
- package/dist/{warm-progress-C0RsbngN.mjs → warm-progress-B0Vpuvpl.mjs} +3 -3
- package/dist/{web-Cq_AQ4DK.mjs → web-BYmK0TjL.mjs} +6 -6
- package/dist/web-CrVLVQZY.mjs +2 -0
- package/dist/web-run.mjs +4 -4
- package/dist/{workspace-state-BjqdjnJR.mjs → workspace-state-kIZrdlSg.mjs} +1 -1
- package/dist/{workspaces-DFbj07jp.mjs → workspaces-CmOcceDN.mjs} +105 -25
- package/dist/{worktree-COAJ3-OD.mjs → worktree-2dk5edza.mjs} +23 -44
- package/dist/worktree-nliAoHxB.mjs +2 -0
- package/package.json +7 -7
- package/dist/server-expo-Ba_Y21vB.mjs +0 -2
- package/dist/web-Je6abcpz.mjs +0 -2
- package/dist/worktree-JGUd_53L.mjs +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { l as WorkspaceProcessCleanupError } from "./exec-aULwtNly.mjs";
|
|
2
|
-
import { I as waitForSharedBuild } from "./activity-
|
|
2
|
+
import { I as waitForSharedBuild } from "./activity-DRMg4_mD.mjs";
|
|
3
3
|
import { rmSync } from "node:fs";
|
|
4
4
|
//#region src/engine/artifact-lifecycle.ts
|
|
5
5
|
async function runArtifactLifecycle(phases) {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { l as WorkspaceProcessCleanupError, n as isTimeoutError, t as getExecutor } from "./exec-aULwtNly.mjs";
|
|
2
|
-
import { j as workspaceStateFile$1, k as workspaceLogsDir$1, r as readWorkspaceState$1, u as workspaceLastUsed } from "./workspace-state-
|
|
2
|
+
import { j as workspaceStateFile$1, k as workspaceLogsDir$1, r as readWorkspaceState$1, u as workspaceLastUsed } from "./workspace-state-kIZrdlSg.mjs";
|
|
3
3
|
import { F as isOnMountedVolume, G as projectDeviceSlots, I as listMountedVolumes, L as measuredDirectorySizeAsync, N as directorySizeAsync, P as formatBytes, _ as loadConfig$1, p as getProject } from "./config-Cn94Jc0g.mjs";
|
|
4
|
-
import { o as formatLongDuration, u as plural } from "./command-output-
|
|
4
|
+
import { o as formatLongDuration, u as plural } from "./command-output-C8R1KIvi.mjs";
|
|
5
5
|
import { c as gitQuiet, l as gitQuietAsync, n as runOperationFileQuiet, r as childEnvironment } from "./operation-exec-Dp4FuIGR.mjs";
|
|
6
|
-
import { At as
|
|
7
|
-
import { i as findProjectRoot$1 } from "./project-
|
|
8
|
-
import { F as listAvdsAsync, G as ownedAvdSerialResolverAsync, P as listAvds, V as ownedAvdDirectory, yt as readParked } from "./android-
|
|
9
|
-
import { A as diskPressureLevel, G as planCacheEmptying, N as lowestFree, P as protectWindowMs, X as collectGradleVersions, Z as deleteGradleVersion, Zn as collectMemoryReport, _ as resolveBudget, at as DEVICE_LIST_TIMEOUT_MS, ct as collectParkedSims, d as enforceBudget, dr as pruneCache, dt as deleteProjectDevices, j as levelFloors, lt as deleteParkedAvds, mt as deviceSweepIsScoped, nr as memorySweepIsScoped, nt as waitForGradleExit, or as stopIdleGradleDaemons, p as machineNumber, sr as phase, st as collectParkedAvds, u as cacheLabel, ur as discoverCaches, ut as deleteParkedSims, v as trimmableCaches, vt as findStaleProjectDevices, y as stopOwnedMetro, z as emptyCaches } from "./ccache-
|
|
6
|
+
import { At as listWorktrees, Et as hasUncommittedWorkAsync, Ft as matchWorktreeEntry, Kt as sourceCheckoutOf, O as maintenanceKeepSetting, Pt as lockReason, Ut as resolveFullRefAsync, Wt as resolveSourceCheckoutAsync, X as resolveProjectSettings, Xt as worktreeLockAsync, Z as resolveProjectSettingsAsync, bt as dirtyPathsAsync, h as deviceIdleShutdownMinutesSetting, jt as listWorktreesAsync, mt as LOCKED_REASON, qt as unpushedCommitsAsync, sn as removeTemporaryEntryAsync, wt as hasPopulatedSubmodulesAsync } from "./settings-CY5JZlNN.mjs";
|
|
7
|
+
import { i as findProjectRoot$1 } from "./project-Sui52ywT.mjs";
|
|
8
|
+
import { F as listAvdsAsync, G as ownedAvdSerialResolverAsync, P as listAvds, V as ownedAvdDirectory, yt as readParked } from "./android-CsPs-7Mg.mjs";
|
|
9
|
+
import { A as diskPressureLevel, G as planCacheEmptying, N as lowestFree, P as protectWindowMs, X as collectGradleVersions, Z as deleteGradleVersion, Zn as collectMemoryReport, _ as resolveBudget, at as DEVICE_LIST_TIMEOUT_MS, ct as collectParkedSims, d as enforceBudget, dr as pruneCache, dt as deleteProjectDevices, j as levelFloors, lt as deleteParkedAvds, mt as deviceSweepIsScoped, nr as memorySweepIsScoped, nt as waitForGradleExit, or as stopIdleGradleDaemons, p as machineNumber, sr as phase, st as collectParkedAvds, u as cacheLabel, ur as discoverCaches, ut as deleteParkedSims, v as trimmableCaches, vt as findStaleProjectDevices, y as stopOwnedMetro, z as emptyCaches } from "./ccache-Bm_A1xX9.mjs";
|
|
10
10
|
import { a as unregister, n as readManifest } from "./cache-manifest-DEjqGGat.mjs";
|
|
11
|
-
import {
|
|
11
|
+
import { B as workspaceBuildInProgress, Et as GC_OUTPUT, F as collectOwnedDeviceActivityAsync, Ot as takeGcResults, P as collectOwnedDeviceActivity, a as collectOrphanedWorkspaces, b as workspaceInUseAsync, c as isInsideWorkspaces, d as recentNativeUseReason, g as ARTIFACT_DIRS, h as workspaceDirRemoved, i as clearWorkspaceOutputs, jt as readConcurrency, kt as eachLimited, l as keptByLock, m as workspaceBuildReasons, o as collectWorkspaceOutputs, s as deleteOrphanedWorkspaces, t as LIGHTEN_AFTER_MS, u as listWorkspaceDirs, v as withIdleWorkspace, y as workspaceInUse } from "./workspaces-CmOcceDN.mjs";
|
|
12
12
|
import { t as canonicalPath } from "./paths-BsJMoPP2.mjs";
|
|
13
|
-
import { N as listBuildLocks, _ as workspaceDeviceLastUseAt, b as leaseIsExpired, g as workspaceActivity, x as listLeaseFiles } from "./activity-
|
|
14
|
-
import { d as listAllIosSims, f as listAllIosSimsAsync } from "./ios-
|
|
13
|
+
import { N as listBuildLocks, _ as workspaceDeviceLastUseAt, b as leaseIsExpired, g as workspaceActivity, x as listLeaseFiles } from "./activity-DRMg4_mD.mjs";
|
|
14
|
+
import { d as listAllIosSims, f as listAllIosSimsAsync } from "./ios-B1DYuOjh.mjs";
|
|
15
15
|
import { s as metroStoreRoot } from "./errors-DHm_U5gv.mjs";
|
|
16
16
|
import { t as resolveMaintenanceSettings } from "./settings-Djl-mpjX.mjs";
|
|
17
|
-
import { D as
|
|
17
|
+
import { D as stimCliUseOf, E as stimCliEntries, M as worktreeArchiveLimits, T as serviceRunningFrom, _ as cacheBlocked, a as nestedWorktrees, b as measurePressure, i as excludeWatchmanCookies, o as porcelainPath, p as removeWorktreeTarget, r as excludePodChurn, s as reclaimKeys, v as measureDisk, w as uncommittedActivityOf, x as measurePressureAsync, y as measureDiskAsync } from "./worktree-2dk5edza.mjs";
|
|
18
18
|
import { n as describePullRequest, r as endedPullRequest, s as pullRequestLookups } from "./pull-request-BzLmzAIQ.mjs";
|
|
19
|
-
import { a as lastFetchedAtAsync, c as mergeStateAsync, f as recordPullRequestLookup, i as fetchDefaultBranchAsync, o as localDefaultBranchAsync, r as FETCH_FRESH_MS } from "./warm-progress-
|
|
20
|
-
import { a as restoreProblem, r as recordLightened, t as finishLightened } from "./lightened-
|
|
21
|
-
import { i as writeIdleShutdownEvent, n as dueIdleDevices, r as shutDownIdleDevices } from "./idle-shutdown-
|
|
19
|
+
import { a as lastFetchedAtAsync, c as mergeStateAsync, f as recordPullRequestLookup, i as fetchDefaultBranchAsync, o as localDefaultBranchAsync, r as FETCH_FRESH_MS } from "./warm-progress-B0Vpuvpl.mjs";
|
|
20
|
+
import { a as restoreProblem, r as recordLightened, t as finishLightened } from "./lightened-DFAJgfIk.mjs";
|
|
21
|
+
import { i as writeIdleShutdownEvent, n as dueIdleDevices, r as shutDownIdleDevices } from "./idle-shutdown-CQ0QwU9J.mjs";
|
|
22
22
|
import { readClaimSet } from "@stim-cli/core/ownership-claim";
|
|
23
23
|
import { existsSync, lstatSync, readdirSync, readlinkSync, realpathSync, rmSync, statSync } from "node:fs";
|
|
24
24
|
import { tmpdir } from "node:os";
|
|
@@ -126,7 +126,7 @@ function removalBlocker(facts, olderThan, now, noOwnCommitsIdleMs) {
|
|
|
126
126
|
if (facts.bare) return skip("bare-repository", "bare repository");
|
|
127
127
|
if (typeof facts.source === "object") return skip("source-checkout-unknown", `source checkout unknown: ${facts.source.refusal}`);
|
|
128
128
|
if (facts.source === "source") return skip("source-checkout", "source checkout");
|
|
129
|
-
if (facts.locked) return skip("locked",
|
|
129
|
+
if (facts.locked) return skip("locked", LOCKED_REASON);
|
|
130
130
|
if (facts.nested?.length) return skip("nested-worktree", `contains the worktree ${facts.nested.join(", ")}`);
|
|
131
131
|
if (facts.inUse.length) return skip("in-use", `in use: ${facts.inUse.join("; ")}`);
|
|
132
132
|
if (facts.porcelain === null) return skip("status-unreadable", "git status could not be read");
|
|
@@ -1320,6 +1320,11 @@ async function planSweep({ settings, sizes, protectedRoot, pinned, now, devices
|
|
|
1320
1320
|
}) : { workspaces: [] };
|
|
1321
1321
|
for (const entry of outputs.workspaces) {
|
|
1322
1322
|
const root = entry.projectRoot === null ? null : canonicalPath(entry.projectRoot);
|
|
1323
|
+
if (root !== null && keptByLock(entry) && entry.keptReason) skips.push({
|
|
1324
|
+
target: root,
|
|
1325
|
+
reason: entry.keptReason,
|
|
1326
|
+
workspace: root
|
|
1327
|
+
});
|
|
1323
1328
|
if (root === null || !entry.willClear || root === protectedRoot) continue;
|
|
1324
1329
|
if (pinned(root)) {
|
|
1325
1330
|
skips.push({
|
|
@@ -1629,6 +1634,7 @@ function artifactWorktree(root, entries, source = sourceCheckoutOf(entries)) {
|
|
|
1629
1634
|
return {
|
|
1630
1635
|
path: entry.path,
|
|
1631
1636
|
linked: entry.path !== source.path,
|
|
1637
|
+
locked: Boolean(entry.locked),
|
|
1632
1638
|
keys
|
|
1633
1639
|
};
|
|
1634
1640
|
}
|
|
@@ -1725,6 +1731,7 @@ function buildNativeUseReason(keys, now) {
|
|
|
1725
1731
|
function artifactGuard(candidate, kind, pinned, locked, running) {
|
|
1726
1732
|
const { worktree, path, keys } = candidate;
|
|
1727
1733
|
if (keys.some(pinned)) return "pinned by maintenance.keep";
|
|
1734
|
+
if (candidate.locked) return LOCKED_REASON;
|
|
1728
1735
|
if (!pathExists(path)) return "it is already gone";
|
|
1729
1736
|
let real;
|
|
1730
1737
|
try {
|
|
@@ -1770,7 +1777,8 @@ async function collectArtifactsAsync(kind, options, signal, operation) {
|
|
|
1770
1777
|
const candidate = {
|
|
1771
1778
|
worktree: worktree.path,
|
|
1772
1779
|
path,
|
|
1773
|
-
keys: worktree.keys
|
|
1780
|
+
keys: worktree.keys,
|
|
1781
|
+
locked: worktree.locked
|
|
1774
1782
|
};
|
|
1775
1783
|
let reason = protectedHere ? "the command that started this pass runs inside its worktree" : artifactGuard(candidate, kind, options.pinned, void 0, running);
|
|
1776
1784
|
if (!reason) {
|
|
@@ -1828,7 +1836,8 @@ function collectArtifacts(kind, options) {
|
|
|
1828
1836
|
const candidate = {
|
|
1829
1837
|
worktree: worktree.path,
|
|
1830
1838
|
path,
|
|
1831
|
-
keys: worktree.keys
|
|
1839
|
+
keys: worktree.keys,
|
|
1840
|
+
locked: worktree.locked
|
|
1832
1841
|
};
|
|
1833
1842
|
const reason = protectedHere ? "the command that started this pass runs inside its worktree" : keptReason(candidate, kind, {
|
|
1834
1843
|
...options,
|
|
@@ -1867,7 +1876,8 @@ async function clearArtifact(action, kind, options) {
|
|
|
1867
1876
|
const candidate = {
|
|
1868
1877
|
worktree: worktree.path,
|
|
1869
1878
|
path: action.target,
|
|
1870
|
-
keys: worktree.keys
|
|
1879
|
+
keys: worktree.keys,
|
|
1880
|
+
locked: worktree.locked
|
|
1871
1881
|
};
|
|
1872
1882
|
const running = kind === "dependencies" ? await readRunningProcessesAsync() : null;
|
|
1873
1883
|
const early = keptReason(candidate, kind, {
|
|
@@ -1889,6 +1899,8 @@ async function clearArtifact(action, kind, options) {
|
|
|
1889
1899
|
const before = lowestFree(measureDisk());
|
|
1890
1900
|
const [key] = candidate.keys;
|
|
1891
1901
|
const remove = async () => {
|
|
1902
|
+
const lock = candidate.locked ? "locked" : await worktreeLockAsync(candidate.worktree);
|
|
1903
|
+
if (lock) return lockReason(lock);
|
|
1892
1904
|
const reason = keptReason(candidate, kind, {
|
|
1893
1905
|
...options,
|
|
1894
1906
|
now: Date.now(),
|
|
@@ -2285,6 +2297,11 @@ async function planLevel2({ settings, sizes, protectedRoot, pinned, now, operati
|
|
|
2285
2297
|
lighten: true
|
|
2286
2298
|
})).workspaces.flatMap((entry) => {
|
|
2287
2299
|
const root = entry.projectRoot === null ? null : canonicalPath(entry.projectRoot);
|
|
2300
|
+
if (root !== null && keptByLock(entry) && entry.keptReason) skips.push({
|
|
2301
|
+
target: root,
|
|
2302
|
+
reason: entry.keptReason,
|
|
2303
|
+
workspace: root
|
|
2304
|
+
});
|
|
2288
2305
|
if (root === null || !entry.willClear || root === protectedRoot || pinned(root)) return [];
|
|
2289
2306
|
const used = workspaceLastUsed(root);
|
|
2290
2307
|
return Number.isFinite(used) ? [{
|
|
@@ -2804,7 +2821,8 @@ async function clearOutputs(action, context) {
|
|
|
2804
2821
|
olderThan,
|
|
2805
2822
|
now,
|
|
2806
2823
|
measure: false,
|
|
2807
|
-
lighten
|
|
2824
|
+
lighten,
|
|
2825
|
+
only: root
|
|
2808
2826
|
});
|
|
2809
2827
|
const entry = report.workspaces.find((candidate) => candidate.projectRoot && canonicalPath(candidate.projectRoot) === root);
|
|
2810
2828
|
if (!entry) return kept("it has no build outputs any more");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { D as ownership_claim_exports, S as process_identity_exports, m as declareSpawnsOn, t as getExecutor, v as stopDeclaringSpawnsOn } from "./exec-aULwtNly.mjs";
|
|
2
|
-
import { M as withDirLock$1, N as withDirLockAsync$1, c as withWorkspaceStateLock, d as writeWorkspaceState, k as workspaceLogsDir$1, l as withWorkspaceStateLockAsync, n as clearWorkspaceStateKeys, r as readWorkspaceState$1 } from "./workspace-state-
|
|
2
|
+
import { M as withDirLock$1, N as withDirLockAsync$1, c as withWorkspaceStateLock, d as writeWorkspaceState, k as workspaceLogsDir$1, l as withWorkspaceStateLockAsync, n as clearWorkspaceStateKeys, r as readWorkspaceState$1 } from "./workspace-state-kIZrdlSg.mjs";
|
|
3
3
|
import { U as parseDeviceSlotKey, V as deviceSlotKey, d as getConfigDir, q as validateDeviceSlot } from "./config-Cn94Jc0g.mjs";
|
|
4
|
-
import { a as formatElapsed, i as formatDuration, m as shortHash } from "./command-output-
|
|
4
|
+
import { a as formatElapsed, i as formatDuration, m as shortHash } from "./command-output-C8R1KIvi.mjs";
|
|
5
5
|
import { n as runOperationFileQuiet } from "./operation-exec-Dp4FuIGR.mjs";
|
|
6
|
-
import { C as resolveBuild } from "./build-cache-
|
|
6
|
+
import { C as resolveBuild } from "./build-cache-CZULpXVl.mjs";
|
|
7
7
|
import { randomBytes } from "node:crypto";
|
|
8
8
|
import { closeSync, fstatSync, mkdirSync, openSync, readFileSync, readSync, readdirSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
9
9
|
import { homedir } from "node:os";
|
package/dist/{agent-device-usage-output-C5nCKWp9.mjs → agent-device-usage-output-tE90fDdo.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { S as process_identity_exports } from "./exec-aULwtNly.mjs";
|
|
2
2
|
import { P as formatBytes } from "./config-Cn94Jc0g.mjs";
|
|
3
|
-
import { o as formatLongDuration } from "./command-output-
|
|
4
|
-
import {
|
|
5
|
-
import { c as parseAgentDeviceRecord, o as envDir, u as processMatches } from "./activity-
|
|
3
|
+
import { o as formatLongDuration } from "./command-output-C8R1KIvi.mjs";
|
|
4
|
+
import { bt as measureDu, u as listWorkspaceDirs, xt as writeUsageCache, yt as canonical } from "./workspaces-CmOcceDN.mjs";
|
|
5
|
+
import { c as parseAgentDeviceRecord, o as envDir, u as processMatches } from "./activity-DRMg4_mD.mjs";
|
|
6
6
|
import { existsSync, readFileSync, readdirSync, statSync } from "node:fs";
|
|
7
7
|
import { homedir } from "node:os";
|
|
8
8
|
import { isAbsolute, join, relative, sep } from "node:path";
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import { D as ownership_claim_exports, t as getExecutor } from "./exec-aULwtNly.mjs";
|
|
2
|
-
import { a as recordWorkspaceUseAsync, f as writeWorkspaceStateAsync, g as emulatorLogFile, k as workspaceLogsDir$1, r as readWorkspaceState$1 } from "./workspace-state-
|
|
2
|
+
import { a as recordWorkspaceUseAsync, f as writeWorkspaceStateAsync, g as emulatorLogFile, k as workspaceLogsDir$1, r as readWorkspaceState$1 } from "./workspace-state-kIZrdlSg.mjs";
|
|
3
3
|
import { B as deviceSlotFileKey, E as upsertProject, H as deviceSlotPlatforms, O as withConfigLockAsync$1, W as parseDeviceSlotOption, p as getProject, q as validateDeviceSlot, u as getConcurrencyLimits } from "./config-Cn94Jc0g.mjs";
|
|
4
|
-
import { _ as stepTimer, f as refuseNoProject, g as stepClock, i as formatDuration, l as phaseLine } from "./command-output-
|
|
5
|
-
import { B as publicUrlSetting, F as metroWarmupUrlSetting, J as resolveCacheProviderConfig, N as metroPortSetting, Q as resolveSettings, W as remoteEasFallbackSetting, Z as resolveProjectSettingsAsync, a as SETTING_SHAPE_REMEDY, dt as detectProviders, g as deviceReclaimIdleMinutesSetting, ot as tunnelModeSetting, z as projectSettingsContextAsync } from "./settings-
|
|
6
|
-
import { f as projectRegistry, i as findProjectRoot$1, l as projectShortcut, t as NO_PROJECT_REFUSAL, z as writeWorkspaceLaunchAsync } from "./project-
|
|
7
|
-
import { A as listAdbDevices, Dt as configuredAndroidEmulatorApp, I as listInstalledSystemImages, Y as physicalDeviceModel, Z as probeEmulatorSerial, a as androidDeviceAbi, ct as waitForBoot, nt as resolveOwnedAvdSerialAsync, rt as resolvePhysicalDevice } from "./android-
|
|
8
|
-
import { c as pidExists, d as resolveProjectMetro } from "./metro-
|
|
4
|
+
import { _ as stepTimer, f as refuseNoProject, g as stepClock, i as formatDuration, l as phaseLine } from "./command-output-C8R1KIvi.mjs";
|
|
5
|
+
import { B as publicUrlSetting, F as metroWarmupUrlSetting, J as resolveCacheProviderConfig, N as metroPortSetting, Q as resolveSettings, W as remoteEasFallbackSetting, Z as resolveProjectSettingsAsync, a as SETTING_SHAPE_REMEDY, dt as detectProviders, g as deviceReclaimIdleMinutesSetting, ot as tunnelModeSetting, z as projectSettingsContextAsync } from "./settings-CY5JZlNN.mjs";
|
|
6
|
+
import { f as projectRegistry, i as findProjectRoot$1, l as projectShortcut, t as NO_PROJECT_REFUSAL, z as writeWorkspaceLaunchAsync } from "./project-Sui52ywT.mjs";
|
|
7
|
+
import { A as listAdbDevices, Dt as configuredAndroidEmulatorApp, I as listInstalledSystemImages, Y as physicalDeviceModel, Z as probeEmulatorSerial, a as androidDeviceAbi, ct as waitForBoot, nt as resolveOwnedAvdSerialAsync, rt as resolvePhysicalDevice } from "./android-CsPs-7Mg.mjs";
|
|
8
|
+
import { c as pidExists, d as resolveProjectMetro } from "./metro-BnhXV2Mj.mjs";
|
|
9
9
|
import { i as createNdjsonWriter } from "./ndjson-Dy2W4vRa.mjs";
|
|
10
|
-
import { An as checkEasAuth, At as ensureRemoteBootOwned, En as runProcessOperation, Et as binOnPath, Jt as verifyLaunch, Ln as resolveEasCliBin, Mt as remoteAndroidDeps, Pt as resolveRemoteContext, Qt as DEFAULT_METRO_PORT, Rn as resolveRemote, Zt as ADB_INSTALL_TIMEOUT_MS, c as budgetGate, kt as ensureMetroReachable, ln as installAndroidApp, mn as launchAndroidReleaseApp, pn as launchAndroidApp, qn as ownedSessionName, qt as verifyAndroidReleaseLaunch, t as CCACHE_NOT_RUN, wn as exitAfterFlush, zn as uploadRemote } from "./ccache-
|
|
11
|
-
import {
|
|
12
|
-
import { Q as cancelledFailure, at as runCancellation, ot as runCancellationSignal, st as withNativeBuildRun } from "./toolchain-
|
|
13
|
-
import { F as waitForBuild, M as acquireBuildLock, P as releaseBuildLock } from "./activity-
|
|
14
|
-
import { T as storedAppId } from "./build-cache-
|
|
15
|
-
import { S as setRemoteLogSink } from "./client-
|
|
16
|
-
import { d as resolveBuildPlacement, s as parseBuildMachineOption } from "./selection-
|
|
17
|
-
import { r as hostedMetroSettings } from "./metro-
|
|
18
|
-
import { a as writeHostedAndroidAsync, i as writeDevicePlacementAsync, t as readHostedAndroid } from "./ios-state-
|
|
19
|
-
import { n as prepareHostedAndroid, t as placeHostedAndroid } from "./hosted-android-
|
|
20
|
-
import { n as verifyCollectorOwnership } from "./ownership-
|
|
21
|
-
import { i as restoreLightenedDependencies, n as printLightenedFailure } from "./lightened-
|
|
22
|
-
import { c as startDevServer } from "./start-
|
|
23
|
-
import { a as acquireRunLease, d as runLease, f as waitFlagConflict, o as leaseExpiryText, u as releaseLeaseOnAbort } from "./device-lease-run-
|
|
24
|
-
import { n as DeviceAdmissionRefusal, r as checkDeviceCapacity } from "./device-capacity-
|
|
25
|
-
import { a as resolveEasDevelopmentBuild, r as isEasBuildFailure } from "./eas-build-
|
|
26
|
-
import { t as followHostedLaunchLogs } from "./hosted-logs-sync-
|
|
27
|
-
import { f as settleFingerprintCheck } from "./prebuild-
|
|
28
|
-
import { i as launchOutcomeRecord, n as ensureWorkspaceStorageSafely, r as isPhysicalDeviceRequest, t as ensureDevServer } from "./native-runtime-
|
|
29
|
-
import { n as devicePlacementRecord } from "./placement-log-
|
|
30
|
-
import { S as pooledAndroidDevice, a as PLATFORM, b as noDeviceDiagnostic, g as dumpApkManifest, h as displayPath, o as androidBuildOptions, p as apkPackage, r as NO_DEVICE, s as androidDevClientScheme } from "./support-
|
|
31
|
-
import { t as acquireAndroidArtifact } from "./artifact-
|
|
32
|
-
import { a as persistLastBuild, c as androidDeviceSelectorRefusal, i as logPostBuildFailure, n as finishAndroidUpload, o as persistThrownBuild, s as reportAndroidResult, u as resolveAndroidRunPlan } from "./result-
|
|
33
|
-
import { n as devicePlacementLine, t as automaticDevicePlacement } from "./auto-placement-
|
|
34
|
-
import { i as verifyAndroidMetroRun, r as finishAndroidRun } from "./launch-
|
|
35
|
-
import { t as checkEasFallback } from "./eas-fallback-
|
|
36
|
-
import { a as AvdRecoveryError, i as AvdBootError, n as ensureBooted, o as warmMetro, r as ensureOwnedDevice, t as didSetUpDevice } from "./device-
|
|
37
|
-
import { t as selectFromPool } from "./device-pool-
|
|
10
|
+
import { An as checkEasAuth, At as ensureRemoteBootOwned, En as runProcessOperation, Et as binOnPath, Jt as verifyLaunch, Ln as resolveEasCliBin, Mt as remoteAndroidDeps, Pt as resolveRemoteContext, Qt as DEFAULT_METRO_PORT, Rn as resolveRemote, Zt as ADB_INSTALL_TIMEOUT_MS, c as budgetGate, kt as ensureMetroReachable, ln as installAndroidApp, mn as launchAndroidReleaseApp, pn as launchAndroidApp, qn as ownedSessionName, qt as verifyAndroidReleaseLaunch, t as CCACHE_NOT_RUN, wn as exitAfterFlush, zn as uploadRemote } from "./ccache-Bm_A1xX9.mjs";
|
|
11
|
+
import { $ as tapBuildLog, H as NO_BUILD_PROGRESS, Q as startBuildProgress, St as acquireBuildSlot, Tt as releaseBuildSlot, Z as runFailureRecord, ct as recordRunStats, et as thrownRunFailureRecord, it as readRunEstimates, lt as statsProjectKey$1, ot as recordCapacityRefusal, rt as createRunRecorder } from "./workspaces-CmOcceDN.mjs";
|
|
12
|
+
import { Q as cancelledFailure, at as runCancellation, ot as runCancellationSignal, st as withNativeBuildRun } from "./toolchain-mLA_km-b.mjs";
|
|
13
|
+
import { F as waitForBuild, M as acquireBuildLock, P as releaseBuildLock } from "./activity-DRMg4_mD.mjs";
|
|
14
|
+
import { T as storedAppId } from "./build-cache-CZULpXVl.mjs";
|
|
15
|
+
import { S as setRemoteLogSink } from "./client-YxCer6ab.mjs";
|
|
16
|
+
import { d as resolveBuildPlacement, s as parseBuildMachineOption } from "./selection-CXgM_VK_.mjs";
|
|
17
|
+
import { r as hostedMetroSettings } from "./metro-request-DXyKjVDF.mjs";
|
|
18
|
+
import { a as writeHostedAndroidAsync, i as writeDevicePlacementAsync, t as readHostedAndroid } from "./ios-state-BPHqMDdZ.mjs";
|
|
19
|
+
import { n as prepareHostedAndroid, t as placeHostedAndroid } from "./hosted-android-DlaKLbW0.mjs";
|
|
20
|
+
import { n as verifyCollectorOwnership } from "./ownership-DJCq48IJ.mjs";
|
|
21
|
+
import { i as restoreLightenedDependencies, n as printLightenedFailure } from "./lightened-DFAJgfIk.mjs";
|
|
22
|
+
import { c as startDevServer } from "./start-DYLk6GXn.mjs";
|
|
23
|
+
import { a as acquireRunLease, d as runLease, f as waitFlagConflict, o as leaseExpiryText, u as releaseLeaseOnAbort } from "./device-lease-run-Mtzp4THX.mjs";
|
|
24
|
+
import { n as DeviceAdmissionRefusal, r as checkDeviceCapacity } from "./device-capacity-Cd8lMSn3.mjs";
|
|
25
|
+
import { a as resolveEasDevelopmentBuild, r as isEasBuildFailure } from "./eas-build-Dm6q68QY.mjs";
|
|
26
|
+
import { t as followHostedLaunchLogs } from "./hosted-logs-sync-B0c53W_c.mjs";
|
|
27
|
+
import { f as settleFingerprintCheck } from "./prebuild-k8d_tqOq.mjs";
|
|
28
|
+
import { i as launchOutcomeRecord, n as ensureWorkspaceStorageSafely, r as isPhysicalDeviceRequest, t as ensureDevServer } from "./native-runtime-DG4Rodzj.mjs";
|
|
29
|
+
import { n as devicePlacementRecord } from "./placement-log-Cvhta5ib.mjs";
|
|
30
|
+
import { S as pooledAndroidDevice, a as PLATFORM, b as noDeviceDiagnostic, g as dumpApkManifest, h as displayPath, o as androidBuildOptions, p as apkPackage, r as NO_DEVICE, s as androidDevClientScheme } from "./support-04IhBUTT.mjs";
|
|
31
|
+
import { t as acquireAndroidArtifact } from "./artifact-bFkfD3vf.mjs";
|
|
32
|
+
import { a as persistLastBuild, c as androidDeviceSelectorRefusal, i as logPostBuildFailure, n as finishAndroidUpload, o as persistThrownBuild, s as reportAndroidResult, u as resolveAndroidRunPlan } from "./result-BIcXREyC.mjs";
|
|
33
|
+
import { n as devicePlacementLine, t as automaticDevicePlacement } from "./auto-placement-BVqs8AJi.mjs";
|
|
34
|
+
import { i as verifyAndroidMetroRun, r as finishAndroidRun } from "./launch-DoySmhjz.mjs";
|
|
35
|
+
import { t as checkEasFallback } from "./eas-fallback-DajNpxf-.mjs";
|
|
36
|
+
import { a as AvdRecoveryError, i as AvdBootError, n as ensureBooted, o as warmMetro, r as ensureOwnedDevice, t as didSetUpDevice } from "./device-CgXfbcz5.mjs";
|
|
37
|
+
import { t as selectFromPool } from "./device-pool-eRz6DtCg.mjs";
|
|
38
38
|
import { t as unsupportedPlan } from "./project-plan-BPwbLwQu.mjs";
|
|
39
|
-
import { a as refusePlan, i as printPlan, n as planFlagRefusal } from "./build-plan-
|
|
39
|
+
import { a as refusePlan, i as printPlan, n as planFlagRefusal } from "./build-plan-CxoYfxsc.mjs";
|
|
40
40
|
import { join } from "node:path";
|
|
41
41
|
import { workspaceId } from "@stim-cli/core";
|
|
42
42
|
import { hostedAndroidStatus, parseMachine } from "@stim-cli/core/state";
|
|
@@ -193,7 +193,7 @@ async function selectAndroidPlacement({ target: selected, automatic = automaticD
|
|
|
193
193
|
}
|
|
194
194
|
//#endregion
|
|
195
195
|
//#region src/commands/android/hosted.ts
|
|
196
|
-
async function finishHostedAndroidRun({ target, artifact, root, slot = "default", release, appMode = release ? "release" : "development", isExpo, metroPort, logsDir, selectors, place, writePlacement, verifyLaunch: verify, followLogs, writeLaunch, readApkPackage, resolveDevClientScheme, now, started, startedAt, fail, phase, enterPhase, enterActivity, out, recordBuild, ...report }) {
|
|
196
|
+
async function finishHostedAndroidRun({ target, operation, artifact, root, slot = "default", release, appMode = release ? "release" : "development", isExpo, metroPort, logsDir, selectors, place, writePlacement, verifyLaunch: verify, followLogs, writeLaunch, readApkPackage, resolveDevClientScheme, now, started, startedAt, fail, phase, enterPhase, enterActivity, out, recordBuild, ...report }) {
|
|
197
197
|
const packageName = artifact.androidPackage ?? await readApkPackage(artifact.apkPath);
|
|
198
198
|
if (!artifact.apkPath || !packageName) return fail("STIM_INSTALL_FAILED", "The built APK has no package identity.");
|
|
199
199
|
const devClientScheme = appMode === "development" && isExpo ? await resolveDevClientScheme(root, artifact.apkPath) ?? void 0 : void 0;
|
|
@@ -250,6 +250,7 @@ async function finishHostedAndroidRun({ target, artifact, root, slot = "default"
|
|
|
250
250
|
let verification;
|
|
251
251
|
try {
|
|
252
252
|
verification = await verifyAndroidMetroRun({
|
|
253
|
+
operation,
|
|
253
254
|
root,
|
|
254
255
|
slot,
|
|
255
256
|
remoteDevice: false,
|
|
@@ -786,6 +787,7 @@ async function runAndroid(options = {}) {
|
|
|
786
787
|
waitMs: plan.deviceSlotWaitMs,
|
|
787
788
|
reclaimIdleMinutes: deviceReclaimIdleMinutesSetting(settings),
|
|
788
789
|
waitingFor: (info) => progress.waitingFor(info, "device-slot"),
|
|
790
|
+
onBootStart: () => progress.bootStarted(),
|
|
789
791
|
onWait: (ms) => {
|
|
790
792
|
stats.addDeviceSlotWaitMs(ms);
|
|
791
793
|
if (record.devicePlacement?.decision === "local" && ms > 0) record.devicePlacement.decision = "waited-locally";
|
|
@@ -854,7 +856,7 @@ async function runAndroid(options = {}) {
|
|
|
854
856
|
const remoteBackend = target.kind === "remote" ? target.backend : null;
|
|
855
857
|
if (hostedTarget) {
|
|
856
858
|
if (settings.androidEmulatorApp !== void 0) phase("device", "androidEmulatorApp is ignored on a hosting Mac; the emulator boots headless.");
|
|
857
|
-
if (appMode === "development" && (publicUrlSetting(settings) || tunnelModeSetting(settings))) phase("metro", "metro.publicUrl and metro.tunnel are ignored on a hosting Mac; Metro uses
|
|
859
|
+
if (appMode === "development" && (publicUrlSetting(settings) || tunnelModeSetting(settings))) phase("metro", "metro.publicUrl and metro.tunnel are ignored on a hosting Mac; Metro uses links this machine opens to the host.");
|
|
858
860
|
}
|
|
859
861
|
reclaimed = budget.reclaimed;
|
|
860
862
|
if (budget.refusal) return fail(budget.refusal.code, budget.refusal.message, budget.refusal.remedy);
|
|
@@ -1206,6 +1208,7 @@ async function runAndroid(options = {}) {
|
|
|
1206
1208
|
artifactAcquired = true;
|
|
1207
1209
|
if (runCancellation(context)) return fail("STIM_CANCELLED", "before install");
|
|
1208
1210
|
if (hostedTarget) return finishHostedAndroidRun({
|
|
1211
|
+
operation: context,
|
|
1209
1212
|
target: hostedTarget,
|
|
1210
1213
|
artifact,
|
|
1211
1214
|
root,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { D as ownership_claim_exports, S as process_identity_exports, l as WorkspaceProcessCleanupError, m as declareSpawnsOn, o as cancellableSleep, t as getExecutor, v as stopDeclaringSpawnsOn } from "./exec-aULwtNly.mjs";
|
|
2
|
-
import { M as withDirLock$1, N as withDirLockAsync$1 } from "./workspace-state-
|
|
2
|
+
import { M as withDirLock$1, N as withDirLockAsync$1 } from "./workspace-state-kIZrdlSg.mjs";
|
|
3
3
|
import { C as saveConfig, D as withConfigLock$1, G as projectDeviceSlots, H as deviceSlotPlatforms, K as removeSlotDevice, O as withConfigLockAsync$1, _ as loadConfig$1, c as ensureConfig, d as getConfigDir, f as getConfigPath$1, z as assignSlotDevice } from "./config-Cn94Jc0g.mjs";
|
|
4
4
|
import { n as runOperationFileQuiet, t as runOperationFile } from "./operation-exec-Dp4FuIGR.mjs";
|
|
5
|
-
import { c as androidDataPartitionSizeBytes } from "./settings-
|
|
5
|
+
import { c as androidDataPartitionSizeBytes } from "./settings-CY5JZlNN.mjs";
|
|
6
6
|
import { i as stimDesktopInstalledAsync, n as settingDefault, t as STIM_DESKTOP_OPEN_OPTIONS } from "./stim-desktop-CbWo21kb.mjs";
|
|
7
|
-
import { c as pidExists, p as signalProcessTreeAsync } from "./metro-
|
|
7
|
+
import { c as pidExists, p as signalProcessTreeAsync } from "./metro-BnhXV2Mj.mjs";
|
|
8
8
|
import { renameSync, rmSync, writeFileSync } from "node:fs";
|
|
9
9
|
import { isDeepStrictEqual } from "node:util";
|
|
10
10
|
import { join } from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-
|
|
2
|
-
import { E as resolveVariant, T as resolveSystemImage, _ as findAapt, b as noDeviceDiagnostic, d as androidVariantSetting, f as apkDevClientFacts, g as dumpApkManifest, h as displayPath, i as NO_FINGERPRINT, p as apkPackage, r as NO_DEVICE, s as androidDevClientScheme, u as androidSystemImageSetting, x as parseXmltree, y as isReleaseVariant } from "./support-
|
|
3
|
-
import { r as lastBuildRecord, t as androidFacts } from "./result-
|
|
4
|
-
import { i as runAndroidOperation, n as registerAndroid, r as runAndroid, t as androidCommand } from "./android-
|
|
5
|
-
import { a as collectorLogFile, o as killPreviousCollector, s as startCollector } from "./launch-
|
|
1
|
+
import { i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-C8R1KIvi.mjs";
|
|
2
|
+
import { E as resolveVariant, T as resolveSystemImage, _ as findAapt, b as noDeviceDiagnostic, d as androidVariantSetting, f as apkDevClientFacts, g as dumpApkManifest, h as displayPath, i as NO_FINGERPRINT, p as apkPackage, r as NO_DEVICE, s as androidDevClientScheme, u as androidSystemImageSetting, x as parseXmltree, y as isReleaseVariant } from "./support-04IhBUTT.mjs";
|
|
3
|
+
import { r as lastBuildRecord, t as androidFacts } from "./result-BIcXREyC.mjs";
|
|
4
|
+
import { i as runAndroidOperation, n as registerAndroid, r as runAndroid, t as androidCommand } from "./android-CHmSU4B4.mjs";
|
|
5
|
+
import { a as collectorLogFile, o as killPreviousCollector, s as startCollector } from "./launch-DoySmhjz.mjs";
|
|
6
6
|
export { NO_DEVICE, NO_FINGERPRINT, androidDevClientScheme, androidFacts, androidSystemImageSetting, androidVariantSetting, apkDevClientFacts, apkPackage, collectorLogFile, androidCommand as default, displayPath, dumpApkManifest, findAapt, formatDuration, isReleaseVariant, killPreviousCollector, lastBuildRecord, noDeviceDiagnostic, parseXmltree, phaseLine, registerAndroid, resolveSystemImage, resolveVariant, runAndroid, runAndroidOperation, shortHash, startCollector };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { M as withDirLock$1, _ as ensureWorkspaceStorage } from "./workspace-state-
|
|
1
|
+
import { M as withDirLock$1, _ as ensureWorkspaceStorage } from "./workspace-state-kIZrdlSg.mjs";
|
|
2
2
|
import { d as getConfigDir } from "./config-Cn94Jc0g.mjs";
|
|
3
|
-
import { m as defaultAndroidLayout } from "./settings-
|
|
3
|
+
import { m as defaultAndroidLayout } from "./settings-CY5JZlNN.mjs";
|
|
4
4
|
import { r as register } from "./cache-manifest-DEjqGGat.mjs";
|
|
5
5
|
import { createHash, randomUUID } from "node:crypto";
|
|
6
6
|
import { accessSync, constants, existsSync, mkdirSync, readFileSync, realpathSync, renameSync, statSync, writeFileSync } from "node:fs";
|
package/dist/api.d.mts
CHANGED
|
@@ -436,7 +436,7 @@ interface GradleVersionSweep {
|
|
|
436
436
|
}
|
|
437
437
|
//#endregion
|
|
438
438
|
//#region src/commands/gc/workspaces.d.ts
|
|
439
|
-
type WorkspaceKeptCode = "unresolved" | "in-use" | "last-use-unknown" | "recently-used";
|
|
439
|
+
type WorkspaceKeptCode = "unresolved" | "locked" | "lock-unknown" | "in-use" | "last-use-unknown" | "recently-used";
|
|
440
440
|
//#endregion
|
|
441
441
|
//#region src/commands/gc/logs.d.ts
|
|
442
442
|
type WorkspaceLogsKeptCode = "unresolved" | "in-use" | "collector";
|
package/dist/api.mjs
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { D as ownership_claim_exports, T as trackReportResource, b as operationState, c as throwIfCancelled, l as WorkspaceProcessCleanupError, s as cancelledError, w as runReport } from "./exec-aULwtNly.mjs";
|
|
2
|
-
import { E as workspaceDir, a as recordWorkspaceUseAsync, k as workspaceLogsDir$1, v as ensureWorkspaceStorageAsync } from "./workspace-state-
|
|
2
|
+
import { E as workspaceDir, a as recordWorkspaceUseAsync, k as workspaceLogsDir$1, v as ensureWorkspaceStorageAsync } from "./workspace-state-kIZrdlSg.mjs";
|
|
3
3
|
import { E as upsertProject, O as withConfigLockAsync$1, p as getProject, q as validateDeviceSlot, y as refuseRelativeStimPaths } from "./config-Cn94Jc0g.mjs";
|
|
4
|
-
import { l as phaseLine } from "./command-output-
|
|
5
|
-
import {
|
|
6
|
-
import { c as projectProblem, f as projectRegistry, i as findProjectRoot$1, r as findCommandWorkspaceAsync, t as NO_PROJECT_REFUSAL } from "./project-
|
|
7
|
-
import { n as macosDir } from "./state-
|
|
4
|
+
import { l as phaseLine } from "./command-output-C8R1KIvi.mjs";
|
|
5
|
+
import { Vt as repoRootAsync, Z as resolveProjectSettingsAsync, _ as inertSettingWarning, a as SETTING_SHAPE_REMEDY, p as cacheProviderSettingError, rt as settingShapeErrors, st as unknownSettingKeys } from "./settings-CY5JZlNN.mjs";
|
|
6
|
+
import { c as projectProblem, f as projectRegistry, i as findProjectRoot$1, r as findCommandWorkspaceAsync, t as NO_PROJECT_REFUSAL } from "./project-Sui52ywT.mjs";
|
|
7
|
+
import { n as macosDir } from "./state-BXC1Lfxw.mjs";
|
|
8
8
|
import { c as ensureHomeIdentity, s as workspaceShareURL } from "./stim-desktop-CbWo21kb.mjs";
|
|
9
9
|
import { i as createNdjsonWriter } from "./ndjson-Dy2W4vRa.mjs";
|
|
10
|
-
import {
|
|
11
|
-
import { ot as runCancellationSignal, st as withNativeBuildRun } from "./toolchain-
|
|
12
|
-
import { d as resolveBuildPlacement } from "./selection-
|
|
13
|
-
import { c as stopWorkspaceNow } from "./stop-D-
|
|
14
|
-
import { r as runReload } from "./reload-
|
|
15
|
-
import {
|
|
16
|
-
import { i as restoreLightenedDependencies } from "./lightened-
|
|
17
|
-
import { c as startDevServer } from "./start-
|
|
18
|
-
import { s as recordDoctorCheck } from "./doctor-watchman-
|
|
19
|
-
import { c as readSettingsPayload, s as readSettingsContext, t as SettingsRefusal } from "./settings-payload-
|
|
20
|
-
import { a as readDoctorReport } from "./doctor-
|
|
21
|
-
import { i as readGcReport, n as executeGc, o as withGcMaintenanceClaim } from "./gc-
|
|
22
|
-
import { r as readWorkspaceLogs, t as followWorkspaceLogs } from "./logs-
|
|
10
|
+
import { $ as tapBuildLog, Q as startBuildProgress, X as recordFinishedBuild, tt as errorRemedy } from "./workspaces-CmOcceDN.mjs";
|
|
11
|
+
import { ot as runCancellationSignal, st as withNativeBuildRun } from "./toolchain-mLA_km-b.mjs";
|
|
12
|
+
import { d as resolveBuildPlacement } from "./selection-CXgM_VK_.mjs";
|
|
13
|
+
import { c as stopWorkspaceNow } from "./stop-D-dGE9gh.mjs";
|
|
14
|
+
import { r as runReload } from "./reload-c_uEyc_X.mjs";
|
|
15
|
+
import { m as warmWorktreeTarget, p as removeWorktreeTarget } from "./worktree-2dk5edza.mjs";
|
|
16
|
+
import { i as restoreLightenedDependencies } from "./lightened-DFAJgfIk.mjs";
|
|
17
|
+
import { c as startDevServer } from "./start-DYLk6GXn.mjs";
|
|
18
|
+
import { s as recordDoctorCheck } from "./doctor-watchman-BTW82PDC.mjs";
|
|
19
|
+
import { c as readSettingsPayload, s as readSettingsContext, t as SettingsRefusal } from "./settings-payload-DwQiEMCn.mjs";
|
|
20
|
+
import { a as readDoctorReport } from "./doctor-Bz_ouYAW.mjs";
|
|
21
|
+
import { i as readGcReport, n as executeGc, o as withGcMaintenanceClaim } from "./gc-DM5oMm-J.mjs";
|
|
22
|
+
import { r as readWorkspaceLogs, t as followWorkspaceLogs } from "./logs-DI5ILkYB.mjs";
|
|
23
23
|
import { t as readProjectStats } from "./stats-report-B86Cv7Uc.mjs";
|
|
24
|
-
import { n as buildAndroidOperation, t as buildIosOperation } from "./build-
|
|
25
|
-
import { a as readAndroidBuildPlan, i as runAndroidOperation } from "./android-
|
|
26
|
-
import { i as readIosBuildPlan, r as runIosOperation } from "./ios-
|
|
27
|
-
import { a as buildMacosBundle, i as planMacos, n as runMacos } from "./macos-
|
|
28
|
-
import { t as runWeb } from "./web-
|
|
29
|
-
import { t as mutateSetting } from "./settings-write-
|
|
24
|
+
import { n as buildAndroidOperation, t as buildIosOperation } from "./build-cQURy_KW.mjs";
|
|
25
|
+
import { a as readAndroidBuildPlan, i as runAndroidOperation } from "./android-CHmSU4B4.mjs";
|
|
26
|
+
import { i as readIosBuildPlan, r as runIosOperation } from "./ios-tg4tp3q1.mjs";
|
|
27
|
+
import { a as buildMacosBundle, i as planMacos, n as runMacos } from "./macos-Bo9st9Di.mjs";
|
|
28
|
+
import { t as runWeb } from "./web-BYmK0TjL.mjs";
|
|
29
|
+
import { t as mutateSetting } from "./settings-write-CJpjkeAd.mjs";
|
|
30
30
|
import { randomBytes } from "node:crypto";
|
|
31
31
|
import { mkdirSync, mkdtempSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
32
32
|
import { stripVTControlCharacters } from "node:util";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { y as sharedBuildCache } from "./workspace-state-
|
|
2
|
-
import { E as findBuildTool } from "./android-
|
|
1
|
+
import { y as sharedBuildCache } from "./workspace-state-kIZrdlSg.mjs";
|
|
2
|
+
import { E as findBuildTool } from "./android-CsPs-7Mg.mjs";
|
|
3
3
|
import { createHash, randomUUID } from "node:crypto";
|
|
4
4
|
import { closeSync, fstatSync, openSync, readFileSync, readSync, realpathSync, renameSync, rmSync } from "node:fs";
|
|
5
5
|
import { basename, dirname, join } from "node:path";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { D as ownership_claim_exports, c as throwIfCancelled, x as withDrainingCancellation } from "./exec-aULwtNly.mjs";
|
|
2
|
-
import { E as workspaceDir } from "./workspace-state-
|
|
3
|
-
import { _ as stepTimer, i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-
|
|
4
|
-
import { Dn as RESOLVE_TIMEOUT_MS, Mn as isEasAuthFailureText, jn as easAuthNote } from "./ccache-
|
|
5
|
-
import { P as compilationCacheActivityLine, Q as cancelledFailure, k as COMPILATION_CACHE_NOT_RUN, ot as runCancellationSignal } from "./toolchain-
|
|
6
|
-
import { T as storedAppId, b as providerDownloadPath, x as providerUploadOutcome, y as prepareProviderDownloadDir } from "./build-cache-
|
|
7
|
-
import { C as COMPILATION_CACHE_CORRUPT, c as offloadPlacement, i as closeOffload, l as placementLoad, n as buildPlacementCandidates, o as offloadBuild, r as chooseBuildMachine, s as offloadCheck, u as remotePhaseText, w as clearCorruptCompilationCache } from "./client-
|
|
8
|
-
import { a as missingPackageManagerRemedy, c as podsFailedRemedy, h as predictedRefusal, i as fingerprintMismatchRemedy, l as requireLocalBuild, n as automaticBuild, o as namedBuildMachine, t as OffloadRefusal } from "./selection-
|
|
9
|
-
import { S as xcodeFailureReport, p as printDiagnostics } from "./support-
|
|
10
|
-
import { f as settleFingerprintCheck, u as skippedMissReason } from "./prebuild-
|
|
11
|
-
import { t as buildPlacementRecord } from "./placement-log-
|
|
12
|
-
import { n as settleArtifactUploads, t as acquireArtifact } from "./acquire-artifact-
|
|
13
|
-
import { r as finishIosUpload, t as IosRecipeRefusal } from "./ios-project-
|
|
2
|
+
import { E as workspaceDir } from "./workspace-state-kIZrdlSg.mjs";
|
|
3
|
+
import { _ as stepTimer, i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-C8R1KIvi.mjs";
|
|
4
|
+
import { Dn as RESOLVE_TIMEOUT_MS, Mn as isEasAuthFailureText, jn as easAuthNote } from "./ccache-Bm_A1xX9.mjs";
|
|
5
|
+
import { P as compilationCacheActivityLine, Q as cancelledFailure, k as COMPILATION_CACHE_NOT_RUN, ot as runCancellationSignal } from "./toolchain-mLA_km-b.mjs";
|
|
6
|
+
import { T as storedAppId, b as providerDownloadPath, x as providerUploadOutcome, y as prepareProviderDownloadDir } from "./build-cache-CZULpXVl.mjs";
|
|
7
|
+
import { C as COMPILATION_CACHE_CORRUPT, c as offloadPlacement, i as closeOffload, l as placementLoad, n as buildPlacementCandidates, o as offloadBuild, r as chooseBuildMachine, s as offloadCheck, u as remotePhaseText, w as clearCorruptCompilationCache } from "./client-YxCer6ab.mjs";
|
|
8
|
+
import { a as missingPackageManagerRemedy, c as podsFailedRemedy, h as predictedRefusal, i as fingerprintMismatchRemedy, l as requireLocalBuild, n as automaticBuild, o as namedBuildMachine, t as OffloadRefusal } from "./selection-CXgM_VK_.mjs";
|
|
9
|
+
import { S as xcodeFailureReport, p as printDiagnostics } from "./support-BtlJKjyQ.mjs";
|
|
10
|
+
import { f as settleFingerprintCheck, u as skippedMissReason } from "./prebuild-k8d_tqOq.mjs";
|
|
11
|
+
import { t as buildPlacementRecord } from "./placement-log-Cvhta5ib.mjs";
|
|
12
|
+
import { n as settleArtifactUploads, t as acquireArtifact } from "./acquire-artifact-CKByBnTD.mjs";
|
|
13
|
+
import { r as finishIosUpload, t as IosRecipeRefusal } from "./ios-project-CR4mZ7CH.mjs";
|
|
14
14
|
import { rmSync } from "node:fs";
|
|
15
15
|
import { join } from "node:path";
|
|
16
16
|
import { machineCapacity } from "@stim-cli/core/state";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { D as ownership_claim_exports, c as throwIfCancelled, x as withDrainingCancellation } from "./exec-aULwtNly.mjs";
|
|
2
|
-
import { E as workspaceDir } from "./workspace-state-
|
|
3
|
-
import { _ as stepTimer, i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-
|
|
4
|
-
import { Dn as RESOLVE_TIMEOUT_MS, Mn as isEasAuthFailureText, jn as easAuthNote, n as CCACHE_UNAVAILABLE, r as ccacheActivityLine, t as CCACHE_NOT_RUN } from "./ccache-
|
|
5
|
-
import { Q as cancelledFailure, ot as runCancellationSignal } from "./toolchain-
|
|
6
|
-
import { b as providerDownloadPath, y as prepareProviderDownloadDir } from "./build-cache-
|
|
7
|
-
import { c as offloadPlacement, i as closeOffload, l as placementLoad, n as buildPlacementCandidates, o as offloadBuild, r as chooseBuildMachine, u as remotePhaseText } from "./client-
|
|
8
|
-
import { a as missingPackageManagerRemedy, i as fingerprintMismatchRemedy, l as requireLocalBuild, n as automaticBuild, o as namedBuildMachine, t as OffloadRefusal } from "./selection-
|
|
9
|
-
import { f as formatDiagnostic } from "./react-native-build-
|
|
10
|
-
import { u as skippedMissReason } from "./prebuild-
|
|
11
|
-
import { t as buildPlacementRecord } from "./placement-log-
|
|
12
|
-
import { n as settleArtifactUploads, t as acquireArtifact } from "./acquire-artifact-
|
|
13
|
-
import { a as PLATFORM, h as displayPath } from "./support-
|
|
2
|
+
import { E as workspaceDir } from "./workspace-state-kIZrdlSg.mjs";
|
|
3
|
+
import { _ as stepTimer, i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-C8R1KIvi.mjs";
|
|
4
|
+
import { Dn as RESOLVE_TIMEOUT_MS, Mn as isEasAuthFailureText, jn as easAuthNote, n as CCACHE_UNAVAILABLE, r as ccacheActivityLine, t as CCACHE_NOT_RUN } from "./ccache-Bm_A1xX9.mjs";
|
|
5
|
+
import { Q as cancelledFailure, ot as runCancellationSignal } from "./toolchain-mLA_km-b.mjs";
|
|
6
|
+
import { b as providerDownloadPath, y as prepareProviderDownloadDir } from "./build-cache-CZULpXVl.mjs";
|
|
7
|
+
import { c as offloadPlacement, i as closeOffload, l as placementLoad, n as buildPlacementCandidates, o as offloadBuild, r as chooseBuildMachine, u as remotePhaseText } from "./client-YxCer6ab.mjs";
|
|
8
|
+
import { a as missingPackageManagerRemedy, i as fingerprintMismatchRemedy, l as requireLocalBuild, n as automaticBuild, o as namedBuildMachine, t as OffloadRefusal } from "./selection-CXgM_VK_.mjs";
|
|
9
|
+
import { f as formatDiagnostic } from "./react-native-build-jUHnIfZ9.mjs";
|
|
10
|
+
import { u as skippedMissReason } from "./prebuild-k8d_tqOq.mjs";
|
|
11
|
+
import { t as buildPlacementRecord } from "./placement-log-Cvhta5ib.mjs";
|
|
12
|
+
import { n as settleArtifactUploads, t as acquireArtifact } from "./acquire-artifact-CKByBnTD.mjs";
|
|
13
|
+
import { a as PLATFORM, h as displayPath } from "./support-04IhBUTT.mjs";
|
|
14
14
|
import { t as AndroidRecipeRefusal } from "./android-project-BCAAmMwz.mjs";
|
|
15
15
|
import { rmSync } from "node:fs";
|
|
16
16
|
import { join } from "node:path";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { _ as loadConfig$1, p as getProject } from "./config-Cn94Jc0g.mjs";
|
|
2
|
-
import { m as peekBudget } from "./ccache-
|
|
3
|
-
import { z as readHostMemoryPressureAsync } from "./ios-
|
|
4
|
-
import { _ as hostingMachines, o as namedBuildMachine, u as resolveBuildMachine } from "./selection-
|
|
5
|
-
import { c as call, l as connectHost,
|
|
6
|
-
import { c as writeHostedNativeAsync, r as readHostedNative } from "./ios-state-
|
|
7
|
-
import { i as prepareHostedNative } from "./hosted-native-
|
|
8
|
-
import {
|
|
2
|
+
import { m as peekBudget } from "./ccache-Bm_A1xX9.mjs";
|
|
3
|
+
import { z as readHostMemoryPressureAsync } from "./ios-B1DYuOjh.mjs";
|
|
4
|
+
import { _ as hostingMachines, o as namedBuildMachine, u as resolveBuildMachine } from "./selection-CXgM_VK_.mjs";
|
|
5
|
+
import { c as call, l as connectHost, m as requireHostedAppMode } from "./hosted-client-DDRm9hPJ.mjs";
|
|
6
|
+
import { c as writeHostedNativeAsync, r as readHostedNative } from "./ios-state-BPHqMDdZ.mjs";
|
|
7
|
+
import { i as prepareHostedNative } from "./hosted-native-CDe33CSr.mjs";
|
|
8
|
+
import { t as DEFAULT_DEVICE_SLOT_WAIT_MS, u as peekDeviceSlots } from "./device-capacity-Cd8lMSn3.mjs";
|
|
9
9
|
import { ambientEnv } from "@stim-cli/core";
|
|
10
10
|
import { automaticMachineEnabled, isJsonObject, machineCapacity, mayRunHere, parseHostedChoice, parseHostedNativeOffer, prefersRemote } from "@stim-cli/core/state";
|
|
11
11
|
import { setTimeout } from "node:timers/promises";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { D as ownership_claim_exports, S as process_identity_exports, c as throwIfCancelled, l as WorkspaceProcessCleanupError, s as cancelledError, t as getExecutor, u as withWorkspaceProcessLock } from "./exec-aULwtNly.mjs";
|
|
2
|
-
import { E as workspaceDir, k as workspaceLogsDir$1, l as withWorkspaceStateLockAsync, r as readWorkspaceState$1 } from "./workspace-state-
|
|
2
|
+
import { E as workspaceDir, k as workspaceLogsDir$1, l as withWorkspaceStateLockAsync, r as readWorkspaceState$1 } from "./workspace-state-kIZrdlSg.mjs";
|
|
3
3
|
import { p as getProject } from "./config-Cn94Jc0g.mjs";
|
|
4
|
-
import { l as phaseLine } from "./command-output-
|
|
5
|
-
import { N as metroPortSetting, a as SETTING_SHAPE_REMEDY, ct as webSettings } from "./settings-
|
|
6
|
-
import { b as isPackageResolvable, v as detectIsExpo } from "./project-
|
|
7
|
-
import { d as resolveProjectMetro } from "./metro-
|
|
4
|
+
import { l as phaseLine } from "./command-output-C8R1KIvi.mjs";
|
|
5
|
+
import { N as metroPortSetting, a as SETTING_SHAPE_REMEDY, ct as webSettings } from "./settings-CY5JZlNN.mjs";
|
|
6
|
+
import { b as isPackageResolvable, v as detectIsExpo } from "./project-Sui52ywT.mjs";
|
|
7
|
+
import { d as resolveProjectMetro } from "./metro-BnhXV2Mj.mjs";
|
|
8
8
|
import { c as readNdjsonGenerations$1 } from "./ndjson-Dy2W4vRa.mjs";
|
|
9
|
-
import { Wt as readMetroRecords } from "./ccache-
|
|
10
|
-
import { f as webLogFile, m as webSupervisorLogFile, o as readWebRecord, s as updateWebRecord } from "./state-
|
|
11
|
-
import {
|
|
12
|
-
import { i as reserveBrowserPort, n as getNamedPort } from "./named-ports-
|
|
9
|
+
import { Wt as readMetroRecords } from "./ccache-Bm_A1xX9.mjs";
|
|
10
|
+
import { f as webLogFile, m as webSupervisorLogFile, o as readWebRecord, s as updateWebRecord } from "./state-B2QJbDwz.mjs";
|
|
11
|
+
import { ft as teardownBrowserHeld, x as resolveSupervisorTarget } from "./workspaces-CmOcceDN.mjs";
|
|
12
|
+
import { i as reserveBrowserPort, n as getNamedPort } from "./named-ports-Phoi2POD.mjs";
|
|
13
13
|
import { n as sendToOwnedPage, t as liveWebRecord } from "./page-CQJlcj3x.mjs";
|
|
14
|
-
import { o as resolveWorkspaceMetroPort } from "./start-
|
|
14
|
+
import { o as resolveWorkspaceMetroPort } from "./start-DYLk6GXn.mjs";
|
|
15
15
|
import { t as spawnEntry } from "./spawn-entry-jw19m8Nl.mjs";
|
|
16
16
|
import { n as windowsLauncherArgs } from "./detached-entry-BPlSaCwC.mjs";
|
|
17
17
|
import { a as findChrome, t as CHROME_INSTALL_REMEDY } from "./chrome-DyDWurWG.mjs";
|