stim 1.23.1 → 1.25.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/README.md +3 -2
- package/dist/{acquire-artifact-BzYRDgaP.mjs → acquire-artifact-zA4S7RHE.mjs} +2 -2
- package/dist/{act-vxiMwdf5.mjs → act-BbHS3oV8.mjs} +41 -26
- package/dist/{activity-BpWUPgUm.mjs → activity-BpjwrQXU.mjs} +6 -6
- package/dist/{agent-device-usage-output-CUlLsbRt.mjs → agent-device-usage-output-Bnkerfod.mjs} +5 -5
- package/dist/{android-DtfRGLcc.mjs → android-BGwuK3Mc.mjs} +75 -50
- package/dist/{android-CLi6DSiS.mjs → android-CNZgRC-4.mjs} +5 -5
- package/dist/{android-C7sVmyI9.mjs → android-Cjcj8MCw.mjs} +140 -46
- package/dist/{android-cas-ngferVq2.mjs → android-cas-BVqh2Zep.mjs} +3 -3
- package/dist/android-cas-compiler.mjs +1 -1
- package/dist/{android-project-DVWyCbWU.d.mts → android-project-CTYaETc0.d.mts} +6 -2
- package/dist/{android-DR5lZ2Az.mjs → android-saBeB4lr.mjs} +13 -3
- package/dist/api.d.mts +22 -5
- package/dist/api.mjs +32 -31
- package/dist/{artifact-Xvgibgzq.mjs → artifact-Co8zixVx.mjs} +19 -17
- package/dist/{artifact-DBI3DALs.mjs → artifact-DN8JNwqS.mjs} +18 -17
- package/dist/{artifact-platform-CXcmX_j3.mjs → artifact-platform-CMRc0M_r.mjs} +3 -3
- package/dist/{browser-web-BJN9ZHxB.mjs → browser-web-CCgZsHmI.mjs} +16 -17
- package/dist/{budget-3ivAK99e.mjs → budget-HyShrIpL.mjs} +149 -47
- package/dist/{build-Dv9s8Fz-.mjs → build-CAiw8Ezm.mjs} +33 -29
- package/dist/{build-cache-Dv7RN200.mjs → build-cache-CKCzxzxA.mjs} +172 -21
- package/dist/{build-plan-BmbdHQbr.mjs → build-plan-zCuHGlA8.mjs} +8 -7
- package/dist/{cache-manifest-DSeQjt-Q.mjs → cache-manifest-BPXRONJz.mjs} +1 -1
- package/dist/cache-manifest.mjs +1 -1
- package/dist/{ccache-CH2EWGPB.mjs → ccache-h1FKhZeg.mjs} +6 -6
- package/dist/{cdp-3fwICjzi.mjs → cdp-BG3FJCCx.mjs} +1 -1
- package/dist/{chrome-Bbw689-6.mjs → chrome-BvV8ssI3.mjs} +1 -1
- package/dist/{cli-BkK6Wr5i.mjs → cli-C4w607Pz.mjs} +20 -20
- package/dist/cli.mjs +1 -1
- package/dist/{client-B4MMzfo_.mjs → client-BQsmyp_-.mjs} +274 -39
- package/dist/collector-run.mjs +6 -6
- package/dist/{command-output-YKGWivpG.mjs → command-output-BBvS1H6v.mjs} +3 -2
- package/dist/{config-DlrsduwG.mjs → config-BZhXY15H.mjs} +3 -3
- package/dist/{created-devices-x9rN6bhs.mjs → created-devices-D2Aca-xu.mjs} +6 -2
- package/dist/{dependency-state-1I9KZT1Y.mjs → dependency-state-BwNCYG5Q.mjs} +2 -2
- package/dist/{detached-entry-BwNEtIrP.mjs → detached-entry-KmieOKgN.mjs} +1 -1
- package/dist/{dev-client-BFxiDpkf.mjs → dev-client-CHoXXZeg.mjs} +3 -3
- package/dist/{device-CiNYxqp6.mjs → device-B9FqTBYW.mjs} +81 -54
- package/dist/{device-B7ljwccX.mjs → device-F5-4z9ef.mjs} +16 -16
- package/dist/{device-capacity-DH0QsZYZ.mjs → device-capacity-ZYaRALv5.mjs} +20 -16
- package/dist/device-host-worker.mjs +17 -17
- package/dist/{device-ios-CbVDtDIy.mjs → device-ios-DkHBrmvH.mjs} +32 -50
- package/dist/{device-lease-run-DXPSwdbb.mjs → device-lease-run-ogEeJ62K.mjs} +6 -6
- package/dist/{device-pool-B4iOXIrD.mjs → device-pool-BIg8MU8l.mjs} +3 -3
- package/dist/{doctor-DRu-8ld6.mjs → doctor-A_Nr_fDe.mjs} +1 -1
- package/dist/{doctor-HUC1igzw.mjs → doctor-Bm8TVpGn.mjs} +37 -31
- package/dist/{doctor-fingerprint-DZLoYFVb.mjs → doctor-fingerprint-zlujA1Gs.mjs} +1 -1
- package/dist/doctor-fingerprint.mjs +1 -1
- package/dist/{doctor-C6t4Maue.mjs → doctor-k3P3PizH.mjs} +14 -14
- package/dist/{doctor-watchman-iGBpC6KM.mjs → doctor-watchman-BovI1y3-.mjs} +5 -5
- package/dist/{eas-build-DMWSSvxq.mjs → eas-build-CyDKNTBP.mjs} +4 -4
- package/dist/{eas-fallback-vKlrqxgE.mjs → eas-fallback-gaZi-dJL.mjs} +16 -15
- package/dist/{eas-session-ledger-BQF9Yyy9.mjs → eas-session-ledger-BMCA1gdO.mjs} +12 -8
- package/dist/{error-diagnostics-DYsjJIHz.mjs → error-diagnostics-B1Mj_-7h.mjs} +17 -42
- package/dist/{errors-ccaPc4ox.mjs → errors-DHm_U5gv.mjs} +2 -1
- package/dist/{exec-DEoAhcze.mjs → exec-VFRpu1iA.mjs} +116 -28
- package/dist/{gc-BW8E1uSC.mjs → gc-B9jcnmIk.mjs} +205 -28
- package/dist/{gc-dDE4QPVu.mjs → gc-eaz403W6.mjs} +2 -2
- package/dist/{guide-DYYEO3Wz.mjs → guide-DR0K0xW9.mjs} +328 -89
- package/dist/{hosted-android-xcfgCgSF.mjs → hosted-android-Bvb2-ZxD.mjs} +4 -4
- package/dist/{hosted-client-Bt-tndxV.mjs → hosted-client-rsRqysJc.mjs} +4 -4
- package/dist/{hosted-ios-y19jCYFF.mjs → hosted-ios-RtVcJH3u.mjs} +1 -1
- package/dist/{hosted-logs-DzJKzKlj.mjs → hosted-logs-CWKGYWNX.mjs} +11 -6
- package/dist/{hosted-macos-BJusKvqL.mjs → hosted-macos-d0pv9Tth.mjs} +7 -7
- package/dist/{hosted-native-BmQC6U_x.mjs → hosted-native-BxTizGU2.mjs} +58 -11
- package/dist/{idle-shutdown-CJmUOV5x.mjs → idle-shutdown-BIyfl0Zj.mjs} +10 -10
- package/dist/{ios-hcBpnEGk.mjs → ios-BQzvJlzw.mjs} +122 -17
- package/dist/{ios-CWjqfSm_.mjs → ios-BRVM8b0P.mjs} +81 -49
- package/dist/{ios-DTOYZGMJ.mjs → ios-Dvt97HgQ.mjs} +8 -8
- package/dist/{ios-xtlRHaeB.mjs → ios-ENC4sRPA.mjs} +1 -1
- package/dist/{ios-device-BXZ0c7Kb.mjs → ios-device-B6HK951C.mjs} +1 -1
- package/dist/{ios-device-DFGuwF4U.mjs → ios-device-CKSvk0bu.mjs} +3 -3
- package/dist/{ios-project-CSZYI1iu.mjs → ios-project-DCUDo06I.mjs} +5 -5
- package/dist/{ios-signing-BtAffm0A.mjs → ios-signing-4c_qXvQm.mjs} +2 -2
- package/dist/{ios-state-Dtw5K2aI.mjs → ios-state-CT9nV5SP.mjs} +15 -7
- package/dist/{js-swap-BSBHldmm.mjs → js-swap-Z9HbC4cj.mjs} +7 -6
- package/dist/{launch-D-zq8SHG.mjs → launch-D0lPvFFu.mjs} +49 -30
- package/dist/{launch-CP2wDCVd.mjs → launch-DscF1QfM.mjs} +52 -50
- package/dist/{logs-pNvA2hHK.mjs → logs-BsIRre8x.mjs} +16 -9
- package/dist/{logs-By5aw3g9.mjs → logs-Crs9y34Z.mjs} +8 -6
- package/dist/{macos-CPMahOC2.mjs → macos-CcUlJPMu.mjs} +1 -1
- package/dist/{macos-C67FZ2ft.mjs → macos-D477nfzH.mjs} +49 -42
- package/dist/macos-run.mjs +1 -1
- package/dist/maintenance-run.mjs +7 -7
- package/dist/{metro-DiXtA3Ty.mjs → metro-1pJgCX4U.mjs} +4 -4
- package/dist/{metro-gateway-CKZqKqx7.mjs → metro-gateway-Bp9gJQAN.mjs} +3 -4
- package/dist/{named-ports-DkEzOfzO.mjs → named-ports-BVbn8SvC.mjs} +3 -3
- package/dist/{native-android-_MWSs3PP.mjs → native-android-BvMizJn1.mjs} +17 -17
- package/dist/{native-gradle-artifact-inputs-DHFnmrVf.mjs → native-gradle-artifact-inputs-BJscK4vN.mjs} +5 -5
- package/dist/{native-run-Dv88i0aU.mjs → native-run-D5OJsGwA.mjs} +6 -6
- package/dist/{native-runtime-DBRfY_PN.mjs → native-runtime-B9w_Qyz3.mjs} +10 -9
- package/dist/{native-source-Y0yLhFyQ.mjs → native-source-D-4Dh4JU.mjs} +7 -4
- package/dist/{native-xcode-inputs-CqViUh3r.mjs → native-xcode-inputs-Cv4l-obn.mjs} +2 -2
- package/dist/{native-xcode-ios-vFgqL_yS.mjs → native-xcode-ios-DGrg90hE.mjs} +21 -20
- package/dist/offload-worker.d.mts +12 -4
- package/dist/offload-worker.mjs +78 -43
- package/dist/{operation-exec-BW0em61G.mjs → operation-exec-CUZifp6Z.mjs} +2 -25
- package/dist/{ownership-C5fo5Edb.mjs → ownership-jxxz-19m.mjs} +3 -3
- package/dist/{page-DBL2PiUU.mjs → page-CzEA_-5_.mjs} +2 -3
- package/dist/phone-reverses-CYb7RRAx.mjs +57 -0
- package/dist/{placement-log-BnGgJRRZ.mjs → placement-log-DjOXJRIH.mjs} +1 -1
- package/dist/{plan-placement-cr0fEU7b.mjs → plan-placement-BqKgKHCi.mjs} +3 -3
- package/dist/{ports-DpXjKkSV.mjs → ports-DtS1Amb0.mjs} +3 -3
- package/dist/{prebuild-BligW0QS.mjs → prebuild-JUaqOLpc.mjs} +14 -9
- package/dist/{project-DhCtQWWU.mjs → project-BiC68mIp.mjs} +21 -17
- package/dist/{pull-request-W1IuLXDt.mjs → pull-request-CbNlkFok.mjs} +2 -2
- package/dist/pull-requests.mjs +1 -1
- package/dist/{react-native-android-ZlhQfhvq.mjs → react-native-android-DRYqoJc4.mjs} +76 -32
- package/dist/{react-native-build-CelbTO_y.mjs → react-native-build-CwZB-agu.mjs} +23 -20
- package/dist/{react-native-doctor-LTIaP7lv.mjs → react-native-doctor-BCrytK7h.mjs} +10 -9
- package/dist/{react-native-ios-C5W0SA6f.mjs → react-native-ios-Cr1buNFo.mjs} +41 -24
- package/dist/{recordings-CQmfzAh7.mjs → recordings-BaoQ0t-J.mjs} +1 -1
- package/dist/{registration-BcRgF6Ox.mjs → registration-CN6nlhcD.mjs} +1 -1
- package/dist/{reload-QcwnYLYV.mjs → reload-Beftw2X3.mjs} +1 -1
- package/dist/{reload-COJWTbae.mjs → reload-FbSgMF8x.mjs} +144 -42
- package/dist/{remote-DR8qUERM.mjs → remote-BuZj6AyU.mjs} +16 -7
- package/dist/{result-utnBea7x.mjs → result-CR2vk2cj.mjs} +41 -18
- package/dist/{run-DidHghD1.mjs → run-BtzE09Dl.mjs} +2 -2
- package/dist/{selection-DSMbWEX2.mjs → selection-D5cxEl3t.mjs} +13 -7
- package/dist/{server-bare-CafzuyFB.mjs → server-bare-CH9X0RLn.mjs} +56 -4
- package/dist/{server-command-B9o92sLM.mjs → server-command-CaBbDNU2.mjs} +5 -5
- package/dist/server-expo-C16Zf2k7.mjs +2 -0
- package/dist/{server-expo-BXrWxNYh.mjs → server-expo-Ck8EIidM.mjs} +14 -9
- package/dist/{settings-C7O8A6ZI.mjs → settings-B5tCoq9N.mjs} +132 -39
- package/dist/{settings-PfJx8uK1.mjs → settings-DzH9mGQZ.mjs} +1 -1
- package/dist/{settings-write-Chuy7Cte.mjs → settings-write-n0zwfohx.mjs} +7 -7
- package/dist/settings.schema.json +51 -0
- package/dist/{simslim-BNckWpXi.mjs → simslim-BjxszUAb.mjs} +22 -7
- package/dist/{slot-launch-B7AuoWJv.mjs → slot-launch-QeuJMlnJ.mjs} +6 -6
- package/dist/{stage-C4u17aES.mjs → stage-D8xlRU2D.mjs} +2 -3
- package/dist/{start-BL_BsiWt.mjs → start-C1JLjkNw.mjs} +1 -1
- package/dist/{start-CU8mCPC7.mjs → start-YMpNwLhh.mjs} +75 -35
- package/dist/{state--smjFSTL.mjs → state-DMRNP7-4.mjs} +4 -4
- package/dist/{state-08I3hw3_.mjs → state-DPaM3u5K.mjs} +2 -2
- package/dist/{stats-CO6sK0Nh.mjs → stats-CP7STzZw.mjs} +5 -5
- package/dist/{stats-report-BzaPrRm6.mjs → stats-report-n2U5plhk.mjs} +1 -1
- package/dist/{status-_WPHzVft.mjs → status-CRLiJ-O_.mjs} +24 -24
- package/dist/{status-BRROykC8.mjs → status-Fect2w9R.mjs} +1 -1
- package/dist/{status-CrJutl6-.mjs → status-cNw6i0_t.mjs} +1 -1
- package/dist/{status-watch-BHFasOZN.mjs → status-watch-Bc2J4TZn.mjs} +5 -5
- package/dist/status-worker.mjs +1 -1
- package/dist/stim-clonefile.c +18 -0
- package/dist/{stim-desktop-D5OGpYZM.mjs → stim-desktop-DS0mzR8U.mjs} +2 -2
- package/dist/{stop-iuFHjUST.mjs → stop-Br7LKxBE.mjs} +2 -2
- package/dist/{stop-CR5689oB.mjs → stop-COP6PQqw.mjs} +5 -5
- package/dist/{stop-BJ06ipTZ.mjs → stop-Db9Kh-UA.mjs} +109 -56
- package/dist/supervisor-run.mjs +17 -17
- package/dist/{support-CbXPbUMJ.mjs → support-Cxj9CmII.mjs} +6 -6
- package/dist/{support-TWuQlHQo.mjs → support-qKcbgmI5.mjs} +14 -11
- package/dist/{swiftpm-artifact-inputs-DFcGsXDP.mjs → swiftpm-artifact-inputs-iY9fsmOc.mjs} +4 -4
- package/dist/{swiftpm-macos-DbwGCpZg.mjs → swiftpm-macos-Bp_sn9P4.mjs} +15 -14
- package/dist/{toolchain-XkA2PfJZ.mjs → toolchain-DB1aeqxO.mjs} +1 -1
- package/dist/{toolchain-B9hCFCQw.mjs → toolchain-VzLJzZ7O.mjs} +69 -37
- package/dist/trigger-BLsHgAGR.mjs +2 -0
- package/dist/{trigger-Cbyc41d_.mjs → trigger-CBMe2YLH.mjs} +2 -2
- package/dist/{warm-progress-CA3TgT3-.mjs → warm-progress-BV3ZPmcY.mjs} +6 -6
- package/dist/{web-DRF_oFXk.mjs → web-B4Yjyt1G.mjs} +12 -10
- package/dist/web-DS4UDWvf.mjs +2 -0
- package/dist/web-run.mjs +8 -9
- package/dist/windows-report.mjs +12 -1
- package/dist/windows-report.ps1 +1 -1
- package/dist/{workspace-state-U08dEzhG.mjs → workspace-state-CPSp3mav.mjs} +11 -4
- package/dist/{workspaces-e41xsjKr.mjs → workspaces-C9w4aeXF.mjs} +36 -32
- package/dist/{worktree-B4Nj3EGS.mjs → worktree-CclFIe1Z.mjs} +324 -99
- package/dist/{worktree-BEwxVwKF.mjs → worktree-Ct9Gk3KL.mjs} +1 -1
- package/dist/{xcode-Rq744mBF.mjs → xcode-CiIIDnuD.mjs} +42 -28
- package/package.json +7 -7
- package/shim/bundle-response.cjs +53 -1
- package/shim/bundle-response.d.cts +1 -1
- package/shim/expo-metro-config.cjs +23 -1
- package/dist/native-gradle-inputs-Dnh84Zbd.mjs +0 -211
- package/dist/server-expo-Ddr8cG_c.mjs +0 -2
- package/dist/trigger-yb_nFzPF.mjs +0 -2
- package/dist/web-kDE9Myoy.mjs +0 -2
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as ownership_claim_exports, E as debugLog, S as process_identity_exports, u as withWorkspaceProcessLock } from "./exec-VFRpu1iA.mjs";
|
|
2
2
|
import { d as workspaceDir } from "./paths-DQtTgsBf.mjs";
|
|
3
|
-
import { E as upsertProject, G as projectDeviceSlots, H as deviceSlotPlatforms, O as withConfigLockAsync$1, U as parseDeviceSlotKey, W as parseDeviceSlotOption, o as clearSupervisor, p as getProject, q as validateDeviceSlot } from "./config-
|
|
4
|
-
import { f as refuseNoProject, l as phaseLine, p as releasedLeaseFact, u as plural } from "./command-output-
|
|
5
|
-
import { c as withWorkspaceStateLock, d as writeWorkspaceState, l as withWorkspaceStateLockAsync, n as clearWorkspaceStateKeys, r as readWorkspaceState$1, s as updateWorkspaceStateAsync } from "./workspace-state-
|
|
6
|
-
import { A as clearWorkspaceLaunches, M as readMetroTunnel, O as clearManagedMetroTunnel, P as readRemoteSession, T as MODE_COMMAND, j as clearWorkspaceSupervisor, k as clearRemoteSession, n as findCommandWorkspace } from "./project-
|
|
7
|
-
import { t as macosAppPresent } from "./state-
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { O as
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { n as
|
|
3
|
+
import { E as upsertProject, G as projectDeviceSlots, H as deviceSlotPlatforms, O as withConfigLockAsync$1, U as parseDeviceSlotKey, W as parseDeviceSlotOption, o as clearSupervisor, p as getProject, q as validateDeviceSlot } from "./config-BZhXY15H.mjs";
|
|
4
|
+
import { f as refuseNoProject, l as phaseLine, p as releasedLeaseFact, u as plural } from "./command-output-BBvS1H6v.mjs";
|
|
5
|
+
import { c as withWorkspaceStateLock, d as writeWorkspaceState, l as withWorkspaceStateLockAsync, n as clearWorkspaceStateKeys, r as readWorkspaceState$1, s as updateWorkspaceStateAsync } from "./workspace-state-CPSp3mav.mjs";
|
|
6
|
+
import { A as clearWorkspaceLaunches, M as readMetroTunnel, O as clearManagedMetroTunnel, P as readRemoteSession, T as MODE_COMMAND, j as clearWorkspaceSupervisor, k as clearRemoteSession, n as findCommandWorkspace } from "./project-BiC68mIp.mjs";
|
|
7
|
+
import { t as macosAppPresent } from "./state-DPaM3u5K.mjs";
|
|
8
|
+
import { et as removeOwnedEmulatorMetroReverses } from "./android-Cjcj8MCw.mjs";
|
|
9
|
+
import { a as listeningPidsAsync, c as pidExists, d as resolveProjectMetro, h as isMetroRunning, p as signalProcessTreeAsync, r as killMetroTreeAsync, u as processCwds } from "./metro-1pJgCX4U.mjs";
|
|
10
|
+
import { S as withdrawDevServerStopRequest, Vt as endRecordedSession, Xn as resolveEasCliBin, b as requestDevServerStop, v as logVanishedSupervisor } from "./budget-HyShrIpL.mjs";
|
|
11
|
+
import { a as decideStopAction, c as nativeRunWaitNotice, i as clearNativeRunCancel, l as requestNativeRunCancel, n as NATIVE_RUN_WAIT_MS, o as describeNativeRunHolder, s as nativeRunHolder, t as NATIVE_RUN_LOCK } from "./native-run-D5OJsGwA.mjs";
|
|
12
|
+
import { A as teardownOwnedIosSim, O as teardownOwnedAvd, g as resolveSupervisorTarget, k as teardownOwnedBrowser, v as stopTunnel } from "./workspaces-C9w4aeXF.mjs";
|
|
13
|
+
import { O as releaseWorkspaceLeasesAsync, y as fileLeaseIo } from "./activity-BpjwrQXU.mjs";
|
|
14
|
+
import { i as stopHostedAndroid } from "./hosted-android-Bvb2-ZxD.mjs";
|
|
15
|
+
import { r as stopHostedIos } from "./hosted-ios-RtVcJH3u.mjs";
|
|
16
|
+
import { n as stopMacosApp } from "./stop-COP6PQqw.mjs";
|
|
17
|
+
import { n as verifyCollectorOwnership } from "./ownership-jxxz-19m.mjs";
|
|
18
|
+
import { n as removePhoneReverses } from "./phone-reverses-CYb7RRAx.mjs";
|
|
17
19
|
import { hostedAndroidDeviceName, hostedAndroidRecords, hostedIosRecords, hostedNativeRecords, isJsonObject, parseHostedNativePlacement } from "@stim-cli/core/state";
|
|
18
20
|
import chalk from "chalk";
|
|
19
21
|
//#region src/commands/stop.ts
|
|
@@ -303,6 +305,24 @@ async function stopWorkspace({ root, operation, project = void 0, state = void 0
|
|
|
303
305
|
isAlive,
|
|
304
306
|
inspectIdentity
|
|
305
307
|
});
|
|
308
|
+
let phoneReversesRemoved = false;
|
|
309
|
+
const releasePhoneReverses = async () => {
|
|
310
|
+
if (phoneReversesRemoved) return;
|
|
311
|
+
phoneReversesRemoved = true;
|
|
312
|
+
try {
|
|
313
|
+
await removePhoneReverses(root, {
|
|
314
|
+
slot: hostedSlot,
|
|
315
|
+
operation
|
|
316
|
+
});
|
|
317
|
+
} catch (error) {
|
|
318
|
+
operation?.signal.throwIfAborted();
|
|
319
|
+
report(chalk.yellow(phaseLine("device", `could not remove the adb reverse from the phone: ${error instanceof Error ? error.message : error}`)));
|
|
320
|
+
}
|
|
321
|
+
};
|
|
322
|
+
const releaseReverses = async () => {
|
|
323
|
+
await removeOwnedEmulatorReverses(proj, reservedPort, operation);
|
|
324
|
+
await releasePhoneReverses();
|
|
325
|
+
};
|
|
306
326
|
if (target.status === "none") report(chalk.dim(phaseLine("stop", "no supervisor recorded")));
|
|
307
327
|
else if (target.status === "stale") {
|
|
308
328
|
logVanishedSupervisor(root, sup);
|
|
@@ -326,7 +346,8 @@ async function stopWorkspace({ root, operation, project = void 0, state = void 0
|
|
|
326
346
|
root,
|
|
327
347
|
killGroup,
|
|
328
348
|
waiter,
|
|
329
|
-
report
|
|
349
|
+
report,
|
|
350
|
+
releaseReverses
|
|
330
351
|
});
|
|
331
352
|
if (outcomes.supervisor.status !== "stopped") {
|
|
332
353
|
ok = false;
|
|
@@ -373,8 +394,10 @@ async function stopWorkspace({ root, operation, project = void 0, state = void 0
|
|
|
373
394
|
status: "skipped",
|
|
374
395
|
reason: "the supervisor owns the dev server on this port"
|
|
375
396
|
};
|
|
376
|
-
else if (reservedPort === null)
|
|
377
|
-
|
|
397
|
+
else if (reservedPort === null) {
|
|
398
|
+
report(chalk.dim(phaseLine("metro", "no port reserved")));
|
|
399
|
+
await releasePhoneReverses();
|
|
400
|
+
} else {
|
|
378
401
|
const metro = await stopMetro(reservedPort, root, {
|
|
379
402
|
server: sup,
|
|
380
403
|
supervisorGone: target.status === "stale",
|
|
@@ -382,7 +405,8 @@ async function stopWorkspace({ root, operation, project = void 0, state = void 0
|
|
|
382
405
|
inspectIdentity,
|
|
383
406
|
waiter,
|
|
384
407
|
resolveMetro,
|
|
385
|
-
report
|
|
408
|
+
report,
|
|
409
|
+
releaseReverses
|
|
386
410
|
});
|
|
387
411
|
outcomes.metro = metro.outcome;
|
|
388
412
|
keepPort = metro.keepPort;
|
|
@@ -624,7 +648,8 @@ async function reapCollectors(root, collectors, { isAlive, signal, report, verif
|
|
|
624
648
|
entries
|
|
625
649
|
};
|
|
626
650
|
}
|
|
627
|
-
async function stopSupervisor(target, { root, killGroup, waiter, report }) {
|
|
651
|
+
async function stopSupervisor(target, { root, killGroup, waiter, report, releaseReverses }) {
|
|
652
|
+
await releaseReverses();
|
|
628
653
|
report(chalk.dim(phaseLine("stop", `sending SIGTERM to supervisor process group ${target.pid}`)));
|
|
629
654
|
try {
|
|
630
655
|
await withWorkspaceStateLockAsync(root, () => requestDevServerStop(root, target.processToken, { by: "stim stop" }));
|
|
@@ -669,7 +694,7 @@ async function stopSupervisor(target, { root, killGroup, waiter, report }) {
|
|
|
669
694
|
reason
|
|
670
695
|
};
|
|
671
696
|
}
|
|
672
|
-
async function stopMetro(port, root, { server, supervisorGone, signalServer, inspectIdentity, waiter, resolveMetro, report }) {
|
|
697
|
+
async function stopMetro(port, root, { server, supervisorGone, signalServer, inspectIdentity, waiter, resolveMetro, report, releaseReverses }) {
|
|
673
698
|
const serverPid = numberOrNull(server?.serverPid);
|
|
674
699
|
const serverProcessToken = server?.serverProcessToken;
|
|
675
700
|
const serverRecord = {
|
|
@@ -692,6 +717,7 @@ async function stopMetro(port, root, { server, supervisorGone, signalServer, ins
|
|
|
692
717
|
}
|
|
693
718
|
if (identity === "same") {
|
|
694
719
|
report(chalk.dim(phaseLine("metro", `sending SIGTERM to dev server pid ${serverPid} left by the supervisor`)));
|
|
720
|
+
await releaseReverses();
|
|
695
721
|
let signalled = false;
|
|
696
722
|
try {
|
|
697
723
|
signalled = await signalServer(serverPid, server?.mode === MODE_COMMAND);
|
|
@@ -721,6 +747,7 @@ async function stopMetro(port, root, { server, supervisorGone, signalServer, ins
|
|
|
721
747
|
}
|
|
722
748
|
const resolution = await resolveMetro(port, root);
|
|
723
749
|
if (resolution.missing) {
|
|
750
|
+
await releaseReverses();
|
|
724
751
|
report(chalk.dim(phaseLine("metro", `nothing listening on port ${port}`)));
|
|
725
752
|
return {
|
|
726
753
|
outcome: {
|
|
@@ -746,11 +773,19 @@ function occupiedSkipReason(reason, holders) {
|
|
|
746
773
|
const named = (holders || []).filter(Boolean);
|
|
747
774
|
return named.length ? `${reason} -- held by UI-test runner ${named.join(", ")}` : `${reason} -- ${OCCUPANCY_HINT}`;
|
|
748
775
|
}
|
|
776
|
+
async function removeOwnedEmulatorReverses(project, metroPort, operation) {
|
|
777
|
+
if (metroPort === null) return;
|
|
778
|
+
for (const { platforms } of projectDeviceSlots(project)) {
|
|
779
|
+
const android = platforms.android;
|
|
780
|
+
if (android?.owned && android.avdName && android.consolePort) await removeOwnedEmulatorMetroReverses(android.avdName, `emulator-${android.consolePort}`, metroPort, operation);
|
|
781
|
+
}
|
|
782
|
+
}
|
|
749
783
|
async function shutDownDevices(project, workspace, { teardownIos, teardownAvd, report }) {
|
|
750
784
|
const device = {
|
|
751
785
|
ios: null,
|
|
752
786
|
android: null
|
|
753
787
|
};
|
|
788
|
+
const entries = [];
|
|
754
789
|
for (const { slot, platforms } of projectDeviceSlots(project)) {
|
|
755
790
|
const iosKey = slot === "default" ? "ios" : `ios:${slot}`;
|
|
756
791
|
const androidKey = slot === "default" ? "android" : `android:${slot}`;
|
|
@@ -758,64 +793,82 @@ async function shutDownDevices(project, workspace, { teardownIos, teardownAvd, r
|
|
|
758
793
|
const iosUdid = ios?.deviceUdid;
|
|
759
794
|
const iosName = ios?.deviceName;
|
|
760
795
|
if (iosUdid) {
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
status: "skipped",
|
|
764
|
-
kind: "not-owned",
|
|
765
|
-
label: iosUdid,
|
|
766
|
-
reason: "Stim does not own this device"
|
|
767
|
-
};
|
|
768
|
-
report(chalk.dim(phaseLine("device", `${iosUdid} is not Stim-owned, leaving it running`)));
|
|
769
|
-
} else {
|
|
796
|
+
let result = null;
|
|
797
|
+
if (ios?.owned) {
|
|
770
798
|
debugLog.log("stop.device.start", {
|
|
771
799
|
platform: "ios",
|
|
772
800
|
slot,
|
|
773
801
|
deviceId: iosUdid
|
|
774
802
|
});
|
|
775
|
-
|
|
803
|
+
result = teardownIos(iosUdid, {
|
|
776
804
|
del: false,
|
|
777
805
|
label: iosName,
|
|
778
806
|
workspace
|
|
807
|
+
}).then((outcome) => {
|
|
808
|
+
debugLog.log("stop.device.end", {
|
|
809
|
+
platform: "ios",
|
|
810
|
+
slot,
|
|
811
|
+
deviceId: iosUdid,
|
|
812
|
+
status: outcome.status
|
|
813
|
+
});
|
|
814
|
+
return outcome;
|
|
779
815
|
});
|
|
780
|
-
debugLog.log("stop.device.end", {
|
|
781
|
-
platform: "ios",
|
|
782
|
-
slot,
|
|
783
|
-
deviceId: iosUdid,
|
|
784
|
-
status: result.status
|
|
785
|
-
});
|
|
786
|
-
device[iosKey] = reportDevice(iosUdid, result, report, "ios");
|
|
787
816
|
}
|
|
817
|
+
entries.push({
|
|
818
|
+
key: iosKey,
|
|
819
|
+
kind: "ios",
|
|
820
|
+
label: iosUdid,
|
|
821
|
+
result
|
|
822
|
+
});
|
|
788
823
|
}
|
|
789
824
|
const android = platforms.android;
|
|
790
825
|
if (android?.avdName) {
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
kind: "not-owned",
|
|
795
|
-
label: android.avdName,
|
|
796
|
-
reason: "Stim does not own this device"
|
|
797
|
-
};
|
|
798
|
-
report(chalk.dim(phaseLine("device", `${android.avdName} is not Stim-owned, leaving it running`)));
|
|
799
|
-
} else {
|
|
826
|
+
const avdName = android.avdName;
|
|
827
|
+
let result = null;
|
|
828
|
+
if (android.owned) {
|
|
800
829
|
debugLog.log("stop.device.start", {
|
|
801
830
|
platform: "android",
|
|
802
831
|
slot,
|
|
803
|
-
deviceId:
|
|
832
|
+
deviceId: avdName
|
|
804
833
|
});
|
|
805
|
-
|
|
834
|
+
result = teardownAvd(avdName, {
|
|
806
835
|
del: false,
|
|
807
836
|
workspace
|
|
837
|
+
}).then((outcome) => {
|
|
838
|
+
debugLog.log("stop.device.end", {
|
|
839
|
+
platform: "android",
|
|
840
|
+
slot,
|
|
841
|
+
deviceId: avdName,
|
|
842
|
+
status: outcome.status
|
|
843
|
+
});
|
|
844
|
+
return outcome;
|
|
808
845
|
});
|
|
809
|
-
debugLog.log("stop.device.end", {
|
|
810
|
-
platform: "android",
|
|
811
|
-
slot,
|
|
812
|
-
deviceId: android.avdName,
|
|
813
|
-
status: result.status
|
|
814
|
-
});
|
|
815
|
-
device[androidKey] = reportDevice(android.avdName, result, report, "android");
|
|
816
846
|
}
|
|
847
|
+
entries.push({
|
|
848
|
+
key: androidKey,
|
|
849
|
+
kind: "android",
|
|
850
|
+
label: avdName,
|
|
851
|
+
result
|
|
852
|
+
});
|
|
817
853
|
}
|
|
818
854
|
}
|
|
855
|
+
const settled = await Promise.allSettled(entries.map((entry) => entry.result));
|
|
856
|
+
entries.forEach(({ key, kind, label }, index) => {
|
|
857
|
+
const outcome = settled[index];
|
|
858
|
+
if (outcome?.status === "rejected") return;
|
|
859
|
+
if (!outcome?.value) {
|
|
860
|
+
device[key] = {
|
|
861
|
+
status: "skipped",
|
|
862
|
+
kind: "not-owned",
|
|
863
|
+
label,
|
|
864
|
+
reason: "Stim does not own this device"
|
|
865
|
+
};
|
|
866
|
+
report(chalk.dim(phaseLine("device", `${label} is not Stim-owned, leaving it running`)));
|
|
867
|
+
return;
|
|
868
|
+
}
|
|
869
|
+
device[key] = reportDevice(label, outcome.value, report, kind);
|
|
870
|
+
});
|
|
871
|
+
for (const outcome of settled) if (outcome.status === "rejected") throw outcome.reason;
|
|
819
872
|
return device;
|
|
820
873
|
}
|
|
821
874
|
function deviceShutdownRemedy(kind, label) {
|
package/dist/supervisor-run.mjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S as process_identity_exports, u as withWorkspaceProcessLock } from "./exec-VFRpu1iA.mjs";
|
|
2
2
|
import { g as workspaceStateFile$1, m as workspaceLogsDir$1 } from "./paths-DQtTgsBf.mjs";
|
|
3
|
-
import { G as projectDeviceSlots, T as setSupervisor, U as parseDeviceSlotKey, o as clearSupervisor, p as getProject } from "./config-
|
|
4
|
-
import { c as withWorkspaceStateLock, d as writeWorkspaceState, n as clearWorkspaceStateKeys, o as updateWorkspaceState, r as readWorkspaceState$1 } from "./workspace-state-
|
|
5
|
-
import {
|
|
6
|
-
import { D as clearExpoMetroTunnel, E as MODE_EXPO, N as readPidFile, R as writePidFile, T as MODE_COMMAND, d as nativeProjectIntegration, j as clearWorkspaceSupervisor, v as detectIsExpo, w as MODE_BARE } from "./project-
|
|
3
|
+
import { G as projectDeviceSlots, T as setSupervisor, U as parseDeviceSlotKey, o as clearSupervisor, p as getProject } from "./config-BZhXY15H.mjs";
|
|
4
|
+
import { c as withWorkspaceStateLock, d as writeWorkspaceState, n as clearWorkspaceStateKeys, o as updateWorkspaceState, r as readWorkspaceState$1 } from "./workspace-state-CPSp3mav.mjs";
|
|
5
|
+
import { J as resolveProjectSettings, Z as runnableMetroCommand } from "./settings-B5tCoq9N.mjs";
|
|
6
|
+
import { D as clearExpoMetroTunnel, E as MODE_EXPO, N as readPidFile, R as writePidFile, T as MODE_COMMAND, d as nativeProjectIntegration, j as clearWorkspaceSupervisor, v as detectIsExpo, w as MODE_BARE } from "./project-BiC68mIp.mjs";
|
|
7
|
+
import { W as ownedAvdSerialResolver } from "./android-Cjcj8MCw.mjs";
|
|
7
8
|
import { r as createNdjsonWriter } from "./ndjson-CgE_o3Dl.mjs";
|
|
8
|
-
import { d as parseWatchRoots, l as parseSubscriberNames, m as runWatchman, u as parseTriggerCount } from "./eas-session-ledger-
|
|
9
|
-
import { A as workspaceBuildInProgress, _ as devServerStopRecord, g as devServerStopLevel, m as describeDevServerStop, x as vanishedSupervisorMessage } from "./budget-
|
|
10
|
-
import {
|
|
11
|
-
import { S as parseLease, _ as workspaceDeviceLastUseAt, b as leaseIsExpired, r as createActivityReader, v as deviceLeasePath, w as parseWorkspaceLeases } from "./activity-
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { t as triggerMaintenance } from "./trigger-Cbyc41d_.mjs";
|
|
9
|
+
import { d as parseWatchRoots, l as parseSubscriberNames, m as runWatchman, u as parseTriggerCount } from "./eas-session-ledger-BMCA1gdO.mjs";
|
|
10
|
+
import { A as workspaceBuildInProgress, _ as devServerStopRecord, g as devServerStopLevel, m as describeDevServerStop, x as vanishedSupervisorMessage } from "./budget-HyShrIpL.mjs";
|
|
11
|
+
import { p as withIdleWorkspace } from "./workspaces-C9w4aeXF.mjs";
|
|
12
|
+
import { S as parseLease, _ as workspaceDeviceLastUseAt, b as leaseIsExpired, r as createActivityReader, v as deviceLeasePath, w as parseWorkspaceLeases } from "./activity-BpjwrQXU.mjs";
|
|
13
|
+
import { t as describeError } from "./errors-DHm_U5gv.mjs";
|
|
14
|
+
import { f as probeHostedSession } from "./hosted-client-rsRqysJc.mjs";
|
|
15
|
+
import { o as watchWorkspaceState, t as clearHostedMetro } from "./metro-gateway-Bp9gJQAN.mjs";
|
|
16
|
+
import { t as relaunchWithLogFile } from "./detached-entry-KmieOKgN.mjs";
|
|
17
|
+
import { n as dueIdleDevices, r as shutDownIdleDevices } from "./idle-shutdown-BIyfl0Zj.mjs";
|
|
18
|
+
import { t as triggerMaintenance } from "./trigger-CBMe2YLH.mjs";
|
|
19
19
|
import { existsSync, readFileSync, realpathSync, statSync } from "node:fs";
|
|
20
20
|
import { dirname, isAbsolute, join, resolve, sep } from "node:path";
|
|
21
21
|
import { LOG_ROTATE_BYTES, createMetroGateway } from "@stim-cli/core";
|
|
@@ -629,7 +629,7 @@ async function runSupervisor({ root, port, tunnel = false, resetCache = false, i
|
|
|
629
629
|
try {
|
|
630
630
|
let start;
|
|
631
631
|
if (command) {
|
|
632
|
-
const startServer = startCommand ?? (await import("./server-command-
|
|
632
|
+
const startServer = startCommand ?? (await import("./server-command-CaBbDNU2.mjs")).startCommandServer;
|
|
633
633
|
start = (opts) => startServer({
|
|
634
634
|
...opts,
|
|
635
635
|
command
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as getExecutor } from "./exec-
|
|
2
|
-
import { a as killOnAbort } from "./operation-exec-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { d as unknownAndroidSystemImageRefusal, s as layerNote, u as unknownAndroidDeviceProfileRefusal } from "./device-capacity-
|
|
6
|
-
import { t as devClientScheme } from "./dev-client-
|
|
1
|
+
import { t as getExecutor } from "./exec-VFRpu1iA.mjs";
|
|
2
|
+
import { a as killOnAbort } from "./operation-exec-CUZifp6Z.mjs";
|
|
3
|
+
import { C as emulatorDiskSpaceRemedy, E as findBuildTool, Q as profileNeedsFoldFeature, R as memoizeEmulatorProbe, T as extractEmulatorFailure, X as pickDefaultSystemImage, c as androidPoolNoCandidatesRefusal, k as hostSystemImageArch, l as androidSystemImageAbi, o as androidHome, s as androidPoolCandidates, w as emulatorFailureRemedy } from "./android-Cjcj8MCw.mjs";
|
|
4
|
+
import { Mn as pickDevClientScheme } from "./budget-HyShrIpL.mjs";
|
|
5
|
+
import { d as unknownAndroidSystemImageRefusal, s as layerNote, u as unknownAndroidDeviceProfileRefusal } from "./device-capacity-ZYaRALv5.mjs";
|
|
6
|
+
import { t as devClientScheme } from "./dev-client-CHoXXZeg.mjs";
|
|
7
7
|
import { existsSync, readFileSync, readdirSync } from "node:fs";
|
|
8
8
|
import { relative } from "node:path";
|
|
9
9
|
//#region src/commands/android/support.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { m as workspaceLogsDir } from "./paths-DQtTgsBf.mjs";
|
|
2
|
-
import { h as shortUdid, l as phaseLine } from "./command-output-
|
|
3
|
-
import { a as SETTING_SHAPE_REMEDY,
|
|
4
|
-
import {
|
|
5
|
-
import { p as resolveOptimizations } from "./errors-
|
|
6
|
-
import { y as describeDiagnostic } from "./xcode-
|
|
7
|
-
import {
|
|
8
|
-
import { l as parseDeviceWait } from "./device-lease-run-
|
|
9
|
-
import { f as unknownIosDeviceTypeRefusal, p as unknownIosRuntimeRefusal, s as layerNote, t as DEFAULT_DEVICE_SLOT_WAIT_MS } from "./device-capacity-
|
|
10
|
-
import { t as IosDeviceMismatchError } from "./device-ios-
|
|
2
|
+
import { h as shortUdid, l as phaseLine } from "./command-output-BBvS1H6v.mjs";
|
|
3
|
+
import { a as SETTING_SHAPE_REMEDY, at as unknownSettingKeys, b as iosProjectDirSettingError, p as cacheProviderSettingError, tt as settingShapeErrors, y as iosProjectDirSetting } from "./settings-B5tCoq9N.mjs";
|
|
4
|
+
import { M as parseIosSimulatorApp } from "./ios-BQzvJlzw.mjs";
|
|
5
|
+
import { p as resolveOptimizations } from "./errors-DHm_U5gv.mjs";
|
|
6
|
+
import { y as describeDiagnostic } from "./xcode-CiIIDnuD.mjs";
|
|
7
|
+
import { c as resolveBuildPlacement } from "./selection-D5cxEl3t.mjs";
|
|
8
|
+
import { l as parseDeviceWait } from "./device-lease-run-ogEeJ62K.mjs";
|
|
9
|
+
import { f as unknownIosDeviceTypeRefusal, p as unknownIosRuntimeRefusal, s as layerNote, t as DEFAULT_DEVICE_SLOT_WAIT_MS } from "./device-capacity-ZYaRALv5.mjs";
|
|
10
|
+
import { t as IosDeviceMismatchError } from "./device-ios-DkHBrmvH.mjs";
|
|
11
11
|
import { basename, join } from "node:path";
|
|
12
12
|
import chalk from "chalk";
|
|
13
13
|
function buildLogFile(root) {
|
|
@@ -115,7 +115,7 @@ function resolveSimulatorAppFlag(flag, physical, remoteBackend, automatic = fals
|
|
|
115
115
|
} };
|
|
116
116
|
return { simulatorApp };
|
|
117
117
|
}
|
|
118
|
-
async function deviceModelRefusal({ slot, deviceTypeFlag, runtimeFlag, deviceType, runtime, deviceTypeOrigin = null, runtimeOrigin = null, physical, remoteBackend, hosted = false, listRuntimes, signal }) {
|
|
118
|
+
async function deviceModelRefusal({ slot, deviceTypeFlag, runtimeFlag, deviceType, runtime, deviceTypeOrigin = null, runtimeOrigin = null, physical, remoteBackend, hosted = false, listRuntimes, signal, snapshot }) {
|
|
119
119
|
if (slot && slot !== "default" && remoteBackend) return {
|
|
120
120
|
code: "STIM_BAD_ARG",
|
|
121
121
|
message: "Named slots currently support local simulators and physical devices.",
|
|
@@ -145,7 +145,10 @@ async function deviceModelRefusal({ slot, deviceTypeFlag, runtimeFlag, deviceTyp
|
|
|
145
145
|
if (!deviceType && !runtime) return null;
|
|
146
146
|
let runtimes;
|
|
147
147
|
try {
|
|
148
|
-
runtimes = await listRuntimes({
|
|
148
|
+
runtimes = await listRuntimes({
|
|
149
|
+
signal,
|
|
150
|
+
snapshot
|
|
151
|
+
});
|
|
149
152
|
} catch (error) {
|
|
150
153
|
return {
|
|
151
154
|
code: "STIM_NO_DEVICE",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as getExecutor } from "./exec-
|
|
2
|
-
import { s as gitAsync } from "./operation-exec-
|
|
3
|
-
import { n as buildCacheKey } from "./build-cache-
|
|
1
|
+
import { t as getExecutor } from "./exec-VFRpu1iA.mjs";
|
|
2
|
+
import { s as gitAsync } from "./operation-exec-CUZifp6Z.mjs";
|
|
3
|
+
import { n as buildCacheKey } from "./build-cache-CKCzxzxA.mjs";
|
|
4
4
|
import { n as fingerprintNativeInputs, r as manifestDigest } from "./native-inputs-TRTTTRxt.mjs";
|
|
5
|
-
import { a as sourceManifest, r as nativeFileDigest } from "./native-source-
|
|
5
|
+
import { a as sourceManifest, r as nativeFileDigest } from "./native-source-D-4Dh4JU.mjs";
|
|
6
6
|
import { createHash } from "node:crypto";
|
|
7
7
|
import { join, relative, resolve, sep } from "node:path";
|
|
8
8
|
import { isJsonObject } from "@stim-cli/core/state";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { T as trackReportResource, _ as spawnDeclared, t as getExecutor } from "./exec-VFRpu1iA.mjs";
|
|
2
2
|
import { i as sharedBuildCache } from "./paths-DQtTgsBf.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { r as register } from "./cache-manifest-
|
|
5
|
-
import { d as runCancellationSignal } from "./native-run-
|
|
6
|
-
import "./build-cache-
|
|
7
|
-
import { l as artifactCachePolicy, p as resolveOptimizations } from "./errors-
|
|
8
|
-
import { l as macosToolchainAsync } from "./toolchain-
|
|
9
|
-
import { r as nativeFileDigest } from "./native-source-
|
|
10
|
-
import { a as validateInfoPlist, i as stageBundle, n as resolveBundleExtras, r as setBundleName, t as reidentifyBundle } from "./stage-
|
|
11
|
-
import { t as validateMacosArtifactPlatform } from "./artifact-platform-
|
|
12
|
-
import { t as logLines } from "./run-
|
|
13
|
-
import { n as swiftpmArtifactInputs, r as swiftpmArtifactSnapshot, t as readSwiftpmArtifactToolchain } from "./swiftpm-artifact-inputs-
|
|
3
|
+
import { K as resolveCacheProviderConfig, Pt as repoRootAsync, R as projectSettingsContextAsync, nt as settingValueAt } from "./settings-B5tCoq9N.mjs";
|
|
4
|
+
import { r as register } from "./cache-manifest-BPXRONJz.mjs";
|
|
5
|
+
import { d as runCancellationSignal } from "./native-run-D5OJsGwA.mjs";
|
|
6
|
+
import "./build-cache-CKCzxzxA.mjs";
|
|
7
|
+
import { l as artifactCachePolicy, p as resolveOptimizations } from "./errors-DHm_U5gv.mjs";
|
|
8
|
+
import { l as macosToolchainAsync } from "./toolchain-VzLJzZ7O.mjs";
|
|
9
|
+
import { r as nativeFileDigest } from "./native-source-D-4Dh4JU.mjs";
|
|
10
|
+
import { a as validateInfoPlist, i as stageBundle, n as resolveBundleExtras, r as setBundleName, t as reidentifyBundle } from "./stage-D8xlRU2D.mjs";
|
|
11
|
+
import { t as validateMacosArtifactPlatform } from "./artifact-platform-CMRc0M_r.mjs";
|
|
12
|
+
import { t as logLines } from "./run-BtzE09Dl.mjs";
|
|
13
|
+
import { n as swiftpmArtifactInputs, r as swiftpmArtifactSnapshot, t as readSwiftpmArtifactToolchain } from "./swiftpm-artifact-inputs-iY9fsmOc.mjs";
|
|
14
14
|
import { createHash } from "node:crypto";
|
|
15
15
|
import { createReadStream, createWriteStream, existsSync, realpathSync } from "node:fs";
|
|
16
16
|
import { tmpdir } from "node:os";
|
|
@@ -474,9 +474,10 @@ function swiftpmMacosProject(root) {
|
|
|
474
474
|
});
|
|
475
475
|
},
|
|
476
476
|
offload: {
|
|
477
|
-
target: async () => ({
|
|
477
|
+
target: async (runsOnWorker) => ({
|
|
478
478
|
platform: "macos",
|
|
479
|
-
local: await macosToolchainAsync()
|
|
479
|
+
local: await macosToolchainAsync(),
|
|
480
|
+
...runsOnWorker ? { runsOnWorker: true } : {}
|
|
480
481
|
}),
|
|
481
482
|
request: (id) => ({
|
|
482
483
|
platform: "macos",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as macosToolchain, l as macosToolchainAsync } from "./toolchain-
|
|
1
|
+
import { c as macosToolchain, l as macosToolchainAsync } from "./toolchain-VzLJzZ7O.mjs";
|
|
2
2
|
export { macosToolchain, macosToolchainAsync };
|