stim 1.23.1 → 1.24.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-CEs02U2o.mjs} +2 -2
- package/dist/{act-vxiMwdf5.mjs → act-Cyvm8xYc.mjs} +40 -25
- package/dist/{activity-BpWUPgUm.mjs → activity-Dq3ZcdD8.mjs} +6 -6
- package/dist/{agent-device-usage-output-CUlLsbRt.mjs → agent-device-usage-output-CccomeE0.mjs} +5 -5
- package/dist/{android-C7sVmyI9.mjs → android-882m4hxX.mjs} +140 -46
- package/dist/{android-DtfRGLcc.mjs → android-BZppyPe_.mjs} +66 -46
- package/dist/{android-DR5lZ2Az.mjs → android-CX5IcRuf.mjs} +13 -3
- package/dist/{android-CLi6DSiS.mjs → android-DcztblCT.mjs} +5 -5
- package/dist/{android-cas-ngferVq2.mjs → android-cas-BtCOrNqb.mjs} +3 -3
- package/dist/android-cas-compiler.mjs +1 -1
- package/dist/api.d.mts +21 -4
- package/dist/api.mjs +32 -31
- package/dist/{artifact-Xvgibgzq.mjs → artifact-BR5VNArK.mjs} +17 -16
- package/dist/{artifact-DBI3DALs.mjs → artifact-Bdt_n9Jc.mjs} +17 -16
- package/dist/{artifact-platform-CXcmX_j3.mjs → artifact-platform-CMRc0M_r.mjs} +3 -3
- package/dist/{browser-web-BJN9ZHxB.mjs → browser-web-ycg9qWB8.mjs} +16 -17
- package/dist/{budget-3ivAK99e.mjs → budget-dPGuhNai.mjs} +101 -40
- package/dist/{build-Dv9s8Fz-.mjs → build-CaF574eS.mjs} +31 -28
- package/dist/{build-cache-Dv7RN200.mjs → build-cache-HFUQ9eLz.mjs} +152 -19
- package/dist/{build-plan-BmbdHQbr.mjs → build-plan-JsDUq4w1.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-CCn1S6qG.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-xqAidP7O.mjs} +20 -20
- package/dist/cli.mjs +1 -1
- package/dist/{client-B4MMzfo_.mjs → client-18-ZowoT.mjs} +254 -28
- package/dist/collector-run.mjs +6 -6
- package/dist/{command-output-YKGWivpG.mjs → command-output-DxC0k2rk.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-C56ll9hY.mjs} +2 -2
- package/dist/{detached-entry-BwNEtIrP.mjs → detached-entry-KmieOKgN.mjs} +1 -1
- package/dist/{dev-client-BFxiDpkf.mjs → dev-client-w_fok0Ek.mjs} +3 -3
- package/dist/{device-B7ljwccX.mjs → device-4RUugw5X.mjs} +16 -16
- package/dist/{device-CiNYxqp6.mjs → device-BktRGdjS.mjs} +40 -44
- package/dist/{device-capacity-DH0QsZYZ.mjs → device-capacity-Ic-kdmEV.mjs} +20 -16
- package/dist/device-host-worker.mjs +17 -17
- package/dist/{device-ios-CbVDtDIy.mjs → device-ios-DzpSlZyd.mjs} +23 -52
- package/dist/{device-lease-run-DXPSwdbb.mjs → device-lease-run-DUtkbqBQ.mjs} +5 -5
- package/dist/{device-pool-B4iOXIrD.mjs → device-pool-CgBHk401.mjs} +3 -3
- package/dist/{doctor-DRu-8ld6.mjs → doctor-BZ6oxNum.mjs} +1 -1
- package/dist/{doctor-HUC1igzw.mjs → doctor-C33AzVfR.mjs} +28 -28
- package/dist/{doctor-C6t4Maue.mjs → doctor-DZgpqR6J.mjs} +14 -14
- package/dist/{doctor-fingerprint-DZLoYFVb.mjs → doctor-fingerprint-zlujA1Gs.mjs} +1 -1
- package/dist/doctor-fingerprint.mjs +1 -1
- package/dist/{doctor-watchman-iGBpC6KM.mjs → doctor-watchman-B453A231.mjs} +5 -5
- package/dist/{eas-build-DMWSSvxq.mjs → eas-build-CxKUNHsb.mjs} +4 -4
- package/dist/{eas-fallback-vKlrqxgE.mjs → eas-fallback-LMxk9Kw0.mjs} +14 -14
- package/dist/{eas-session-ledger-BQF9Yyy9.mjs → eas-session-ledger-Ck6YXPAO.mjs} +12 -8
- package/dist/{error-diagnostics-DYsjJIHz.mjs → error-diagnostics-BkKCZq4P.mjs} +17 -42
- package/dist/{exec-DEoAhcze.mjs → exec-VFRpu1iA.mjs} +116 -28
- package/dist/{gc-dDE4QPVu.mjs → gc-DDWEAj0w.mjs} +2 -2
- package/dist/{gc-BW8E1uSC.mjs → gc-yVKpAOKM.mjs} +205 -28
- package/dist/{guide-DYYEO3Wz.mjs → guide-Bggftwc5.mjs} +222 -59
- package/dist/{hosted-android-xcfgCgSF.mjs → hosted-android-D4dweBof.mjs} +4 -4
- package/dist/{hosted-client-Bt-tndxV.mjs → hosted-client-BBTVe3X6.mjs} +4 -4
- package/dist/{hosted-ios-y19jCYFF.mjs → hosted-ios-Sn0djzg8.mjs} +1 -1
- package/dist/{hosted-logs-DzJKzKlj.mjs → hosted-logs-CYIZ5ubJ.mjs} +11 -6
- package/dist/{hosted-macos-BJusKvqL.mjs → hosted-macos-CXjsUNBR.mjs} +7 -7
- package/dist/{hosted-native-BmQC6U_x.mjs → hosted-native-Doxbfzem.mjs} +58 -11
- package/dist/{idle-shutdown-CJmUOV5x.mjs → idle-shutdown-BInjLKqm.mjs} +10 -10
- package/dist/{ios-CWjqfSm_.mjs → ios-B1FXRCMX.mjs} +71 -44
- package/dist/{ios-DTOYZGMJ.mjs → ios-BItP6lkn.mjs} +8 -8
- package/dist/{ios-hcBpnEGk.mjs → ios-CVUFFZ6C.mjs} +70 -13
- 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-BI38NFFH.mjs} +3 -3
- package/dist/{ios-project-CSZYI1iu.mjs → ios-project-KYqeJURj.mjs} +5 -5
- package/dist/{ios-signing-BtAffm0A.mjs → ios-signing-4c_qXvQm.mjs} +2 -2
- package/dist/{ios-state-Dtw5K2aI.mjs → ios-state-DlElquYD.mjs} +15 -7
- package/dist/{js-swap-BSBHldmm.mjs → js-swap-BvrQvXHY.mjs} +7 -6
- package/dist/{launch-CP2wDCVd.mjs → launch-BVlyQw3T.mjs} +51 -49
- package/dist/{launch-D-zq8SHG.mjs → launch-SfzGH_s9.mjs} +48 -29
- package/dist/{logs-pNvA2hHK.mjs → logs-DXE32kyb.mjs} +16 -9
- package/dist/{logs-By5aw3g9.mjs → logs-ovlU7m7N.mjs} +8 -6
- package/dist/{macos-CPMahOC2.mjs → macos-B3BveDrU.mjs} +1 -1
- package/dist/{macos-C67FZ2ft.mjs → macos-CCfhb-jT.mjs} +49 -42
- package/dist/macos-run.mjs +1 -1
- package/dist/maintenance-run.mjs +7 -7
- package/dist/{metro-DiXtA3Ty.mjs → metro-Bu8LBfzS.mjs} +4 -4
- package/dist/{metro-gateway-CKZqKqx7.mjs → metro-gateway-DtsOy-0P.mjs} +3 -4
- package/dist/{named-ports-DkEzOfzO.mjs → named-ports-BWDuU5oQ.mjs} +3 -3
- package/dist/{native-android-_MWSs3PP.mjs → native-android-96BBizbq.mjs} +17 -17
- package/dist/{native-gradle-artifact-inputs-DHFnmrVf.mjs → native-gradle-artifact-inputs-BcLYBZil.mjs} +5 -5
- package/dist/{native-run-Dv88i0aU.mjs → native-run-BmH7U8pr.mjs} +6 -6
- package/dist/{native-runtime-DBRfY_PN.mjs → native-runtime-DgtJkzIa.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-irplbQb0.mjs} +2 -2
- package/dist/{native-xcode-ios-vFgqL_yS.mjs → native-xcode-ios-BY-6hh6M.mjs} +18 -18
- package/dist/offload-worker.d.mts +7 -2
- package/dist/offload-worker.mjs +75 -41
- package/dist/{operation-exec-BW0em61G.mjs → operation-exec-CUZifp6Z.mjs} +2 -25
- package/dist/{ownership-C5fo5Edb.mjs → ownership-DxlZGDcV.mjs} +3 -3
- package/dist/{page-DBL2PiUU.mjs → page-CzEA_-5_.mjs} +2 -3
- package/dist/phone-reverses-BdsdesVF.mjs +57 -0
- package/dist/{placement-log-BnGgJRRZ.mjs → placement-log-DUvqqsB-.mjs} +1 -1
- package/dist/{plan-placement-cr0fEU7b.mjs → plan-placement-4axc0Hs7.mjs} +3 -3
- package/dist/{ports-DpXjKkSV.mjs → ports-D-E_OiAO.mjs} +3 -3
- package/dist/{prebuild-BligW0QS.mjs → prebuild-DmVCf5xb.mjs} +14 -9
- package/dist/{project-DhCtQWWU.mjs → project-Dz-hWkb-.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-DOinxgwB.mjs} +75 -32
- package/dist/{react-native-build-CelbTO_y.mjs → react-native-build-AuCu-aAP.mjs} +22 -19
- package/dist/{react-native-doctor-LTIaP7lv.mjs → react-native-doctor-2ivJUmwZ.mjs} +10 -9
- package/dist/{react-native-ios-C5W0SA6f.mjs → react-native-ios-D5zTIuH8.mjs} +38 -22
- package/dist/{recordings-CQmfzAh7.mjs → recordings-CdPwYwvs.mjs} +1 -1
- package/dist/{registration-BcRgF6Ox.mjs → registration-CN6nlhcD.mjs} +1 -1
- package/dist/{reload-COJWTbae.mjs → reload-C1TTVesC.mjs} +144 -42
- package/dist/{reload-QcwnYLYV.mjs → reload-Ck9RJeSq.mjs} +1 -1
- package/dist/{remote-DR8qUERM.mjs → remote-DEZ7AOVq.mjs} +7 -7
- package/dist/{result-utnBea7x.mjs → result-DqBrb12U.mjs} +40 -17
- package/dist/{run-DidHghD1.mjs → run-BIwoU44q.mjs} +2 -2
- package/dist/{selection-DSMbWEX2.mjs → selection-BLtvaqxc.mjs} +11 -5
- package/dist/{server-bare-CafzuyFB.mjs → server-bare-Z1ToVLPn.mjs} +2 -2
- package/dist/{server-command-B9o92sLM.mjs → server-command-C0pmjNdG.mjs} +5 -5
- package/dist/server-expo-CEntXzRw.mjs +2 -0
- package/dist/{server-expo-BXrWxNYh.mjs → server-expo-Tt_hLRpy.mjs} +8 -5
- package/dist/{settings-C7O8A6ZI.mjs → settings-RKwY33wv.mjs} +114 -19
- package/dist/{settings-PfJx8uK1.mjs → settings-kkt0vP4w.mjs} +1 -1
- package/dist/{settings-write-Chuy7Cte.mjs → settings-write--gj6MACV.mjs} +7 -7
- package/dist/settings.schema.json +13 -0
- package/dist/{simslim-BNckWpXi.mjs → simslim-CdWKT3vA.mjs} +2 -2
- package/dist/{slot-launch-B7AuoWJv.mjs → slot-launch-A1BgotaM.mjs} +6 -6
- package/dist/{stage-C4u17aES.mjs → stage-ERTMh88n.mjs} +2 -3
- package/dist/{start-CU8mCPC7.mjs → start-BKGrEhzG.mjs} +75 -35
- package/dist/{start-BL_BsiWt.mjs → start-Bmg_qmHi.mjs} +1 -1
- package/dist/{state--smjFSTL.mjs → state-B1ig0Kqy.mjs} +4 -4
- package/dist/{state-08I3hw3_.mjs → state-BfAltYJP.mjs} +2 -2
- package/dist/{stats-CO6sK0Nh.mjs → stats-B-ckuiUg.mjs} +5 -5
- package/dist/{stats-report-BzaPrRm6.mjs → stats-report-n2U5plhk.mjs} +1 -1
- package/dist/{status-_WPHzVft.mjs → status-DfFp6a76.mjs} +24 -24
- package/dist/{status-BRROykC8.mjs → status-Fect2w9R.mjs} +1 -1
- package/dist/{status-CrJutl6-.mjs → status-Pw-807f0.mjs} +1 -1
- package/dist/{status-watch-BHFasOZN.mjs → status-watch-XC7F-AMf.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-BFu7X_Do.mjs} +2 -2
- package/dist/{stop-BJ06ipTZ.mjs → stop-CL1kDHds.mjs} +55 -21
- package/dist/{stop-CR5689oB.mjs → stop-DhclRwOO.mjs} +5 -5
- package/dist/supervisor-run.mjs +16 -16
- package/dist/{support-TWuQlHQo.mjs → support-B1W-hmC2.mjs} +8 -8
- package/dist/{support-CbXPbUMJ.mjs → support-B3tzVhKn.mjs} +6 -6
- package/dist/{swiftpm-artifact-inputs-DFcGsXDP.mjs → swiftpm-artifact-inputs-BWYPj9Sn.mjs} +4 -4
- package/dist/{swiftpm-macos-DbwGCpZg.mjs → swiftpm-macos-BVCP5mO4.mjs} +14 -13
- package/dist/{toolchain-XkA2PfJZ.mjs → toolchain-BjgKdoEf.mjs} +1 -1
- package/dist/{toolchain-B9hCFCQw.mjs → toolchain-D3bmRMia.mjs} +57 -36
- 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-ol0ZypEu.mjs} +6 -6
- package/dist/{web-DRF_oFXk.mjs → web-BH7peScT.mjs} +12 -10
- package/dist/web-BdOFlTJr.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-CeBpIZgr.mjs} +11 -4
- package/dist/{workspaces-e41xsjKr.mjs → workspaces-CSV2Orf4.mjs} +36 -32
- package/dist/{worktree-BEwxVwKF.mjs → worktree-DEDUzO_L.mjs} +1 -1
- package/dist/{worktree-B4Nj3EGS.mjs → worktree-Dw8kfacb.mjs} +324 -99
- package/dist/{xcode-Rq744mBF.mjs → xcode-DHu41qQ4.mjs} +41 -27
- package/package.json +7 -7
- 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,29 +1,29 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S as process_identity_exports, t as getExecutor } from "./exec-VFRpu1iA.mjs";
|
|
2
2
|
import { m as workspaceLogsDir$1, p as workspaceLogErrorIndex } from "./paths-DQtTgsBf.mjs";
|
|
3
|
-
import { G as projectDeviceSlots, P as formatBytes, R as volumeRootFor, U as parseDeviceSlotKey, V as deviceSlotKey, _ as loadConfig$1, d as getConfigDir } from "./config-
|
|
4
|
-
import { a as formatElapsed, i as formatDuration, r as clockTime, u as plural } from "./command-output-
|
|
5
|
-
import { s as gitAsync } from "./operation-exec-
|
|
6
|
-
import { r as readWorkspaceState$1 } from "./workspace-state-
|
|
7
|
-
import { Mt as repoRoot, Y as resolveSettings, _t as gitCommonDir, ot as workspaceHiddenSetting, wt as linkedWorktreesOnDisk, yt as gitCommonDirOnDisk } from "./settings-
|
|
8
|
-
import { I as readWorkspaceLaunches, M as readMetroTunnel, P as readRemoteSession, S as readAppJson, a as findServerWorkspace, l as projectShortcut, u as detectPlatforms, v as detectIsExpo, y as detectTutorial } from "./project-
|
|
3
|
+
import { G as projectDeviceSlots, P as formatBytes, R as volumeRootFor, U as parseDeviceSlotKey, V as deviceSlotKey, _ as loadConfig$1, d as getConfigDir } from "./config-BZhXY15H.mjs";
|
|
4
|
+
import { a as formatElapsed, i as formatDuration, r as clockTime, u as plural } from "./command-output-DxC0k2rk.mjs";
|
|
5
|
+
import { s as gitAsync } from "./operation-exec-CUZifp6Z.mjs";
|
|
6
|
+
import { r as readWorkspaceState$1 } from "./workspace-state-CeBpIZgr.mjs";
|
|
7
|
+
import { Mt as repoRoot, Y as resolveSettings, _t as gitCommonDir, ot as workspaceHiddenSetting, wt as linkedWorktreesOnDisk, yt as gitCommonDirOnDisk } from "./settings-RKwY33wv.mjs";
|
|
8
|
+
import { I as readWorkspaceLaunches, M as readMetroTunnel, P as readRemoteSession, S as readAppJson, a as findServerWorkspace, l as projectShortcut, u as detectPlatforms, v as detectIsExpo, y as detectTutorial } from "./project-Dz-hWkb-.mjs";
|
|
9
|
+
import { A as listAdbDevices, B as ownedAvdDeviceProfile, W as ownedAvdSerialResolver, ft as POOL_SETTING_REMEDY, vt as parkedMaxSetting, yt as readParked } from "./android-882m4hxX.mjs";
|
|
10
|
+
import { c as pidExists, d as resolveProjectMetro, h as isMetroRunning, i as listeningPids, l as processCwd, o as listeningPidsByPort, u as processCwds } from "./metro-Bu8LBfzS.mjs";
|
|
9
11
|
import { a as parseNdjsonLine } from "./ndjson-CgE_o3Dl.mjs";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { h as
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import
|
|
18
|
-
import {
|
|
19
|
-
import "./
|
|
20
|
-
import { i as
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import { t as triggerMaintenance } from "./trigger-Cbyc41d_.mjs";
|
|
26
|
-
import { a as createRefreshScheduler, c as watchStatusSources, n as WATCH_LIGHT_INTERVAL_MS, o as watchChangeKey, r as WATCH_MACHINE_INTERVAL_MS, s as watchPayload, t as WATCH_FALLBACK_MS } from "./status-watch-BHFasOZN.mjs";
|
|
12
|
+
import { a as readWebPage, o as readWebRecord, u as webFacts } from "./state-B1ig0Kqy.mjs";
|
|
13
|
+
import { A as remoteDeviceState, C as environmentState, D as parseDfFree, E as metroReverseTargets, M as tightVolumes, N as unprovisionedWorktrees, O as poolLine, P as withWebFacts, S as diskLine, T as gitSummaryText, _ as addReverseMissingIssue, b as deviceLeaseLines, g as activityLabel, j as statusActivity, k as remoteDeviceLine, r as readEasSessionLedger$1, v as applyMachineMemory, x as deviceLeaseStates, y as capacity } from "./eas-session-ledger-Ck6YXPAO.mjs";
|
|
14
|
+
import { F as buildStatusLine, I as bundlingActivity, N as activeBuildState, P as buildReport, R as parseActiveBuild, Z as statsProjectKey$1, bn as hasMetroReverse, br as attributeMachineUsage, h as describeMetroLastStop, j as ACTIVE_BUILD_KEY, o as machineNumber, q as readStats$1, xr as readFootprints, y as metroLastStop } from "./budget-dPGuhNai.mjs";
|
|
15
|
+
import { g as resolveSupervisorTarget } from "./workspaces-CSV2Orf4.mjs";
|
|
16
|
+
import { a as createDeviceProcessTables, b as leaseIsExpired, h as tailLines, m as readWebActivity, r as createActivityReader, w as parseWorkspaceLeases, x as listLeaseFiles } from "./activity-Dq3ZcdD8.mjs";
|
|
17
|
+
import { b as parseSimctlList, f as listAllIosSimsAsync } from "./ios-CVUFFZ6C.mjs";
|
|
18
|
+
import { f as probeHostedSession } from "./hosted-client-BBTVe3X6.mjs";
|
|
19
|
+
import "./hosted-macos-CXjsUNBR.mjs";
|
|
20
|
+
import { i as readSupervisorState } from "./stop-CL1kDHds.mjs";
|
|
21
|
+
import { n as maintenanceLines, r as maintenanceStatus } from "./status-Fect2w9R.mjs";
|
|
22
|
+
import { f as mergeState, i as createStatusMeasurer, n as workspacePhase, r as applyStatusMeasures } from "./warm-progress-ol0ZypEu.mjs";
|
|
23
|
+
import { r as workspaceRecordingEnabled } from "./recordings-CdPwYwvs.mjs";
|
|
24
|
+
import { d as readIosDevices, s as isReachable } from "./ios-device-BI38NFFH.mjs";
|
|
25
|
+
import { t as triggerMaintenance } from "./trigger-CBMe2YLH.mjs";
|
|
26
|
+
import { a as createRefreshScheduler, c as watchStatusSources, n as WATCH_LIGHT_INTERVAL_MS, o as watchChangeKey, r as WATCH_MACHINE_INTERVAL_MS, s as watchPayload, t as WATCH_FALLBACK_MS } from "./status-watch-XC7F-AMf.mjs";
|
|
27
27
|
import { t as watchStdoutReader } from "./stdout-reader-C8yjre1x.mjs";
|
|
28
28
|
import { createHash, randomUUID } from "node:crypto";
|
|
29
29
|
import { mkdirSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as formatBytes } from "./config-
|
|
1
|
+
import { P as formatBytes } from "./config-BZhXY15H.mjs";
|
|
2
2
|
import { t as resolveMaintenanceSettings } from "./settings-Djl-mpjX.mjs";
|
|
3
3
|
import { claimRemoveCommand, readClaimSet } from "@stim-cli/core/ownership-claim";
|
|
4
4
|
import { maintenanceRunClaims, readMaintenanceState } from "@stim-cli/core/state";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as runStatusWatch, r as statusCommand, t as readVolumes } from "./status-
|
|
1
|
+
import { n as runStatusWatch, r as statusCommand, t as readVolumes } from "./status-DfFp6a76.mjs";
|
|
2
2
|
export { statusCommand as default, readVolumes, runStatusWatch };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as getExecutor } from "./exec-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { b as parseSimctlList } from "./ios-
|
|
1
|
+
import { t as getExecutor } from "./exec-VFRpu1iA.mjs";
|
|
2
|
+
import { d as androidToolPath } from "./android-882m4hxX.mjs";
|
|
3
|
+
import { c as pidExists } from "./metro-Bu8LBfzS.mjs";
|
|
4
|
+
import { n as easMachineStateRoot } from "./eas-session-ledger-Ck6YXPAO.mjs";
|
|
5
|
+
import { b as parseSimctlList } from "./ios-CVUFFZ6C.mjs";
|
|
6
6
|
import { existsSync, readdirSync, statSync, watch } from "node:fs";
|
|
7
7
|
import { basename, dirname, join } from "node:path";
|
|
8
8
|
//#region src/status-watch.ts
|
package/dist/status-worker.mjs
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Clones <source> to <destination> with one clonefile(2) call, which on APFS clones a whole directory hierarchy in a
|
|
2
|
+
// single operation instead of one file at a time. <destination> must not exist. clonefile(2) fails with EXDEV across
|
|
3
|
+
// volumes and ENOTSUP on file systems without clone support; the error goes to stderr and the exit status is 1.
|
|
4
|
+
|
|
5
|
+
#include <errno.h>
|
|
6
|
+
#include <stdio.h>
|
|
7
|
+
#include <string.h>
|
|
8
|
+
#include <sys/clonefile.h>
|
|
9
|
+
|
|
10
|
+
int main(int argc, char **argv) {
|
|
11
|
+
if (argc != 3) {
|
|
12
|
+
fputs("usage: stim-clonefile <source> <destination>\n", stderr);
|
|
13
|
+
return 64;
|
|
14
|
+
}
|
|
15
|
+
if (clonefile(argv[1], argv[2], CLONE_NOFOLLOW) == 0) return 0;
|
|
16
|
+
fprintf(stderr, "clonefile: %s\n", strerror(errno));
|
|
17
|
+
return 1;
|
|
18
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as getExecutor } from "./exec-
|
|
2
|
-
import { C as saveConfig, c as ensureConfig } from "./config-
|
|
1
|
+
import { t as getExecutor } from "./exec-VFRpu1iA.mjs";
|
|
2
|
+
import { C as saveConfig, c as ensureConfig } from "./config-BZhXY15H.mjs";
|
|
3
3
|
import { randomUUID } from "node:crypto";
|
|
4
4
|
import { workspaceId } from "@stim-cli/core";
|
|
5
5
|
import { readHomeIdentity, withConfigLockAsync } from "@stim-cli/core/state";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as resolveCollectorTargets, c as stopWorkspaceNow, i as readSupervisorState, n as clearSupervisorState, o as runStop, r as readCollectorState, s as stopCommand, t as clearCollectorState } from "./stop-
|
|
1
|
+
import { g as resolveSupervisorTarget } from "./workspaces-CSV2Orf4.mjs";
|
|
2
|
+
import { a as resolveCollectorTargets, c as stopWorkspaceNow, i as readSupervisorState, n as clearSupervisorState, o as runStop, r as readCollectorState, s as stopCommand, t as clearCollectorState } from "./stop-CL1kDHds.mjs";
|
|
3
3
|
export { clearCollectorState, clearSupervisorState, stopCommand as default, readCollectorState, readSupervisorState, resolveCollectorTargets, resolveSupervisorTarget, runStop, stopWorkspaceNow };
|
|
@@ -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-DxC0k2rk.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-CeBpIZgr.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-Dz-hWkb-.mjs";
|
|
7
|
+
import { t as macosAppPresent } from "./state-BfAltYJP.mjs";
|
|
8
|
+
import { et as removeOwnedEmulatorMetroReverses } from "./android-882m4hxX.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-Bu8LBfzS.mjs";
|
|
10
|
+
import { S as withdrawDevServerStopRequest, Vt as endRecordedSession, Yn as resolveEasCliBin, b as requestDevServerStop, v as logVanishedSupervisor } from "./budget-dPGuhNai.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-BmH7U8pr.mjs";
|
|
12
|
+
import { A as teardownOwnedIosSim, O as teardownOwnedAvd, g as resolveSupervisorTarget, k as teardownOwnedBrowser, v as stopTunnel } from "./workspaces-CSV2Orf4.mjs";
|
|
13
|
+
import { O as releaseWorkspaceLeasesAsync, y as fileLeaseIo } from "./activity-Dq3ZcdD8.mjs";
|
|
14
|
+
import { i as stopHostedAndroid } from "./hosted-android-D4dweBof.mjs";
|
|
15
|
+
import { r as stopHostedIos } from "./hosted-ios-Sn0djzg8.mjs";
|
|
16
|
+
import { n as stopMacosApp } from "./stop-DhclRwOO.mjs";
|
|
17
|
+
import { n as verifyCollectorOwnership } from "./ownership-DxlZGDcV.mjs";
|
|
18
|
+
import { n as removePhoneReverses } from "./phone-reverses-BdsdesVF.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,6 +773,13 @@ 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,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as ownership_claim_exports, S as process_identity_exports, u as withWorkspaceProcessLock } from "./exec-VFRpu1iA.mjs";
|
|
2
2
|
import { d as workspaceDir } from "./paths-DQtTgsBf.mjs";
|
|
3
|
-
import { d as writeWorkspaceState, l as withWorkspaceStateLockAsync } from "./workspace-state-
|
|
4
|
-
import { a as macosRuntimeClaim, o as requiredMacosRecord } from "./state-
|
|
5
|
-
import {
|
|
6
|
-
import { n as stopHostedMacos } from "./hosted-macos-
|
|
3
|
+
import { d as writeWorkspaceState, l as withWorkspaceStateLockAsync } from "./workspace-state-CeBpIZgr.mjs";
|
|
4
|
+
import { a as macosRuntimeClaim, o as requiredMacosRecord } from "./state-BfAltYJP.mjs";
|
|
5
|
+
import { w as runningBundleInstancesAsync } from "./workspaces-CSV2Orf4.mjs";
|
|
6
|
+
import { n as stopHostedMacos } from "./hosted-macos-CXjsUNBR.mjs";
|
|
7
7
|
import { readMacosRecord } from "@stim-cli/core/state";
|
|
8
8
|
//#region src/macos/stop.ts
|
|
9
9
|
const APP_EXIT_MS = 5e3;
|
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 { X as runnableMetroCommand, q as resolveProjectSettings } from "./settings-
|
|
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-CeBpIZgr.mjs";
|
|
5
|
+
import { X as runnableMetroCommand, q as resolveProjectSettings } from "./settings-RKwY33wv.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-Dz-hWkb-.mjs";
|
|
7
|
+
import { W as ownedAvdSerialResolver } from "./android-882m4hxX.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 { W as ownedAvdSerialResolver } from "./android-C7sVmyI9.mjs";
|
|
9
|
+
import { d as parseWatchRoots, l as parseSubscriberNames, m as runWatchman, u as parseTriggerCount } from "./eas-session-ledger-Ck6YXPAO.mjs";
|
|
10
|
+
import { A as workspaceBuildInProgress, _ as devServerStopRecord, g as devServerStopLevel, m as describeDevServerStop, x as vanishedSupervisorMessage } from "./budget-dPGuhNai.mjs";
|
|
11
|
+
import { p as withIdleWorkspace } from "./workspaces-CSV2Orf4.mjs";
|
|
12
|
+
import { S as parseLease, _ as workspaceDeviceLastUseAt, b as leaseIsExpired, r as createActivityReader, v as deviceLeasePath, w as parseWorkspaceLeases } from "./activity-Dq3ZcdD8.mjs";
|
|
13
13
|
import { t as describeError } from "./errors-ccaPc4ox.mjs";
|
|
14
|
-
import { f as probeHostedSession } from "./hosted-client-
|
|
15
|
-
import { o as watchWorkspaceState, t as clearHostedMetro } from "./metro-gateway-
|
|
16
|
-
import { t as relaunchWithLogFile } from "./detached-entry-
|
|
17
|
-
import { n as dueIdleDevices, r as shutDownIdleDevices } from "./idle-shutdown-
|
|
18
|
-
import { t as triggerMaintenance } from "./trigger-
|
|
14
|
+
import { f as probeHostedSession } from "./hosted-client-BBTVe3X6.mjs";
|
|
15
|
+
import { o as watchWorkspaceState, t as clearHostedMetro } from "./metro-gateway-DtsOy-0P.mjs";
|
|
16
|
+
import { t as relaunchWithLogFile } from "./detached-entry-KmieOKgN.mjs";
|
|
17
|
+
import { n as dueIdleDevices, r as shutDownIdleDevices } from "./idle-shutdown-BInjLKqm.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-C0pmjNdG.mjs")).startCommandServer;
|
|
633
633
|
start = (opts) => startServer({
|
|
634
634
|
...opts,
|
|
635
635
|
command
|
|
@@ -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, b as iosProjectDirSettingError, et as settingShapeErrors, it as unknownSettingKeys, p as cacheProviderSettingError, y as iosProjectDirSetting } from "./settings-
|
|
4
|
-
import { j as parseIosSimulatorApp } from "./ios-
|
|
2
|
+
import { h as shortUdid, l as phaseLine } from "./command-output-DxC0k2rk.mjs";
|
|
3
|
+
import { a as SETTING_SHAPE_REMEDY, b as iosProjectDirSettingError, et as settingShapeErrors, it as unknownSettingKeys, p as cacheProviderSettingError, y as iosProjectDirSetting } from "./settings-RKwY33wv.mjs";
|
|
4
|
+
import { j as parseIosSimulatorApp } from "./ios-CVUFFZ6C.mjs";
|
|
5
5
|
import { p as resolveOptimizations } from "./errors-ccaPc4ox.mjs";
|
|
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-
|
|
6
|
+
import { y as describeDiagnostic } from "./xcode-DHu41qQ4.mjs";
|
|
7
|
+
import { c as resolveBuildPlacement } from "./selection-BLtvaqxc.mjs";
|
|
8
|
+
import { l as parseDeviceWait } from "./device-lease-run-DUtkbqBQ.mjs";
|
|
9
|
+
import { f as unknownIosDeviceTypeRefusal, p as unknownIosRuntimeRefusal, s as layerNote, t as DEFAULT_DEVICE_SLOT_WAIT_MS } from "./device-capacity-Ic-kdmEV.mjs";
|
|
10
|
+
import { t as IosDeviceMismatchError } from "./device-ios-DzpSlZyd.mjs";
|
|
11
11
|
import { basename, join } from "node:path";
|
|
12
12
|
import chalk from "chalk";
|
|
13
13
|
function buildLogFile(root) {
|
|
@@ -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-882m4hxX.mjs";
|
|
4
|
+
import { jn as pickDevClientScheme } from "./budget-dPGuhNai.mjs";
|
|
5
|
+
import { d as unknownAndroidSystemImageRefusal, s as layerNote, u as unknownAndroidDeviceProfileRefusal } from "./device-capacity-Ic-kdmEV.mjs";
|
|
6
|
+
import { t as devClientScheme } from "./dev-client-w_fok0Ek.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,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-HFUQ9eLz.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 { G as resolveCacheProviderConfig, L as projectSettingsContextAsync, Nt as repoRootAsync, tt as settingValueAt } from "./settings-
|
|
4
|
-
import { r as register } from "./cache-manifest-
|
|
5
|
-
import { d as runCancellationSignal } from "./native-run-
|
|
6
|
-
import "./build-cache-
|
|
3
|
+
import { G as resolveCacheProviderConfig, L as projectSettingsContextAsync, Nt as repoRootAsync, tt as settingValueAt } from "./settings-RKwY33wv.mjs";
|
|
4
|
+
import { r as register } from "./cache-manifest-BPXRONJz.mjs";
|
|
5
|
+
import { d as runCancellationSignal } from "./native-run-BmH7U8pr.mjs";
|
|
6
|
+
import "./build-cache-HFUQ9eLz.mjs";
|
|
7
7
|
import { l as artifactCachePolicy, p as resolveOptimizations } from "./errors-ccaPc4ox.mjs";
|
|
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-
|
|
8
|
+
import { l as macosToolchainAsync } from "./toolchain-D3bmRMia.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-ERTMh88n.mjs";
|
|
11
|
+
import { t as validateMacosArtifactPlatform } from "./artifact-platform-CMRc0M_r.mjs";
|
|
12
|
+
import { t as logLines } from "./run-BIwoU44q.mjs";
|
|
13
|
+
import { n as swiftpmArtifactInputs, r as swiftpmArtifactSnapshot, t as readSwiftpmArtifactToolchain } from "./swiftpm-artifact-inputs-BWYPj9Sn.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-D3bmRMia.mjs";
|
|
2
2
|
export { macosToolchain, macosToolchainAsync };
|