stim 1.20.1 → 1.20.2
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 +6 -3
- package/dist/{activity-BaMpUQ4-.mjs → activity-BSV745Kz.mjs} +4 -4
- package/dist/{agent-device-usage-output-VPaOgGaF.mjs → agent-device-usage-output-Dzgv6lgR.mjs} +5 -6
- package/dist/{android-CLbBJ2ve.mjs → android-DCKZrNvV.mjs} +37 -38
- package/dist/{android-eXfIjKJr.mjs → android-Dlzxshgp.mjs} +5 -5
- package/dist/{android-CZh6ElG5.mjs → android-HqP1_vB_.mjs} +3 -3
- package/dist/{android-DE8-JfGW.mjs → android-Mz_Inn3w.mjs} +10 -10
- package/dist/{android-cas-BFpS84v2.mjs → android-cas-Bl-cLJBk.mjs} +4 -4
- package/dist/android-cas-compiler.mjs +1 -1
- package/dist/{api-zuX3ynYN.mjs → api-qvOzWyfO.mjs} +1 -1
- package/dist/api-run.mjs +19 -21
- package/dist/api.mjs +1 -1
- package/dist/{app-install-Cg9YJy3x.mjs → app-install-BIKtMfPq.mjs} +71 -48
- package/dist/{artifact-DXk_Fle_.mjs → artifact-D3czlUvT.mjs} +13 -13
- package/dist/{artifact-Ctb2jpw6.mjs → artifact-HSwkIWEQ.mjs} +12 -12
- package/dist/{browser-web-xQWC2RWl.mjs → browser-web-CA-F1GQo.mjs} +18 -18
- package/dist/{budget-RFbwFpG5.mjs → budget-f7516Zk0.mjs} +23 -26
- package/dist/{build-COBA1tBc.mjs → build-DYDbfkk5.mjs} +28 -33
- package/dist/{build-plan-CRjAA6Qi.mjs → build-plan-B7SZsc2N.mjs} +17 -17
- package/dist/{cache-manifest-qA3dT2x2.mjs → cache-manifest-XH-fvDUj.mjs} +10 -5
- package/dist/cache-manifest.mjs +1 -1
- package/dist/cancellation-C_22VQTH.mjs +24 -0
- package/dist/{ccache-CtbqWxIC.mjs → ccache-zdKiYQ3E.mjs} +7 -7
- package/dist/{chrome-Dp2lMLBe.mjs → chrome-BnzZMqsR.mjs} +1 -1
- package/dist/{cli-sGqlPu1n.mjs → cli-CLP3diBm.mjs} +20 -20
- package/dist/cli.mjs +1 -1
- package/dist/{client-zqjFd79D.mjs → client-qQAaXSUs.mjs} +21 -29
- package/dist/collector-run.d.mts +7 -6
- package/dist/collector-run.mjs +6 -7
- package/dist/{command-output-CPDq_90S.mjs → command-output-BTy8hZ0F.mjs} +1 -1
- package/dist/{config-D0LhTY3S.mjs → config-BYDxlMY3.mjs} +43 -5
- package/dist/{created-devices-CXBMtoj5.mjs → created-devices-Dzd5C2LF.mjs} +2 -2
- package/dist/{dependency-state-B2m8eqsS.mjs → dependency-state-DG0p31-y.mjs} +2 -2
- package/dist/{detached-entry-BXq4fIl-.mjs → detached-entry-B9C_zeQC.mjs} +1 -1
- package/dist/{dev-client-BqYjMIaC.mjs → dev-client-DAWVIGBu.mjs} +2 -2
- package/dist/{device-D4DqjSZZ.mjs → device-BECOiufl.mjs} +13 -14
- package/dist/{device-BgNj-qVj.mjs → device-DuiPJQSn.mjs} +8 -8
- package/dist/{device-capacity-DrwHwR97.mjs → device-capacity-CBUAcRyQ.mjs} +10 -11
- package/dist/device-host-worker.mjs +16 -17
- package/dist/{device-ios-DE8KJd3b.mjs → device-ios-COSi6oS1.mjs} +12 -15
- package/dist/{device-lease-C309csaB.mjs → device-lease-BX1sJQ2E.mjs} +12 -16
- package/dist/{device-lease-run-Baelt3nc.mjs → device-lease-run-Cw2M4z51.mjs} +4 -4
- package/dist/{device-pool-DtK9S6AD.mjs → device-pool-Bf-pOhSw.mjs} +3 -3
- package/dist/{device-remote-DjsNw8DD.mjs → device-remote-xRT0Vmo9.mjs} +14 -14
- package/dist/{doctor-DiP9HsIP.mjs → doctor-CB8oZKCk.mjs} +13 -13
- package/dist/{doctor-Dunu3Nv1.mjs → doctor-kfMBnUw6.mjs} +78 -69
- package/dist/{doctor-watchman-XJzT8tK-.mjs → doctor-watchman-BRyV2adA.mjs} +7 -9
- package/dist/{eas-build-0gadvrca.mjs → eas-build-JyfqyHfC.mjs} +5 -5
- package/dist/{eas-session-ledger-DJDeL4Uq.mjs → eas-session-ledger-Cm0Gwq2F.mjs} +6 -4
- package/dist/{error-diagnostics-BhQtoLrZ.mjs → error-diagnostics-BR677IDM.mjs} +10 -10
- package/dist/{exec-B81Qodjn.mjs → exec-DqKo9GKJ.mjs} +22 -8
- package/dist/{gc-D5cz5G0k.mjs → gc-qWOMdnER.mjs} +74 -23
- package/dist/git-DDfFzkMm.mjs +45 -0
- package/dist/{gradle-CZZo1TSA.mjs → gradle-DSrXb6lG.mjs} +6 -6
- package/dist/{guide-DakjcoUt.mjs → guide-G9cAbVAc.mjs} +56 -18
- package/dist/{hosted-android-C-D8Dj0_.mjs → hosted-android-C3MHGld1.mjs} +3 -3
- package/dist/{hosted-client--hNFgixu.mjs → hosted-client-ZEKpS9vw.mjs} +19 -11
- package/dist/{hosted-ios-Chx9XQyI.mjs → hosted-ios-l-o3iM9J.mjs} +1 -1
- package/dist/{hosted-logs-Bkz0Hxzh.mjs → hosted-logs-EzQM7-3Z.mjs} +7 -7
- package/dist/{hosted-macos-ckTjN-0V.mjs → hosted-macos-BACVAVqE.mjs} +10 -8
- package/dist/{hosted-native-3KXZ5-qn.mjs → hosted-native-A4s1QPXe.mjs} +13 -11
- package/dist/{idle-shutdown-DhAUyf5s.mjs → idle-shutdown-DtxhPTKe.mjs} +7 -7
- package/dist/{ios-BDBN-xpf.mjs → ios-BwVCF7oA.mjs} +8 -8
- package/dist/{ios-CQ8bHQXB.mjs → ios-Ce7bc7br.mjs} +29 -29
- package/dist/{ios-o896T9PE.mjs → ios-RkW4pnQf.mjs} +6 -6
- package/dist/{ios-device-B1B14xND.mjs → ios-device-B5veSDDQ.mjs} +1 -1
- package/dist/{ios-device-BWHKGaJq.mjs → ios-device-D7pi2Sca.mjs} +14 -14
- package/dist/{ios-VGvNdsv2.mjs → ios-nOLJGVdy.mjs} +1 -1
- package/dist/{ios-project-BeOXKPt2.mjs → ios-project-K9hY_Jab.mjs} +8 -8
- package/dist/{ios-state-BsXMwo5y.mjs → ios-state-CBLe1xYw.mjs} +1 -1
- package/dist/{js-swap-Z_mSuRrx.mjs → js-swap-Bb3nsS07.mjs} +13 -13
- package/dist/{launch-BootbMk4.mjs → launch-C3qJ6Agb.mjs} +46 -45
- package/dist/{launch-V1zqiOYn.mjs → launch-F4sOqAhB.mjs} +21 -21
- package/dist/{launch-verify-Dl78EVgR.mjs → launch-verify-B6Q8hZP-.mjs} +11 -11
- package/dist/{logs-Bh4eqCCc.mjs → logs-BGrEUaEs.mjs} +10 -11
- package/dist/{macos-D7irBW3A.mjs → macos-Ch5VJmcS.mjs} +40 -24
- package/dist/macos-D7uDvO-z.mjs +2 -0
- package/dist/macos-run.mjs +1 -1
- package/dist/maintenance-run.mjs +7 -7
- package/dist/{metro-_ZIE3Axg.mjs → metro-DnCEjCxs.mjs} +8 -9
- package/dist/{metro-gateway-BzlQZQmU.mjs → metro-gateway-CX9Xlkq2.mjs} +3 -3
- package/dist/{miss-reason-SuTptY-I.mjs → miss-reason-mKzZ4VvN.mjs} +3 -3
- package/dist/{named-ports-O1TIl7tx.mjs → named-ports-4WopRPg-.mjs} +4 -5
- package/dist/{native-android-D94RlJ-X.mjs → native-android-D5qc3-_v.mjs} +10 -10
- package/dist/{native-gradle-inputs-BQnIdAlL.mjs → native-gradle-inputs-BsLRrl7u.mjs} +3 -10
- package/dist/{native-runtime-D024BAvm.mjs → native-runtime-k8dTIrbK.mjs} +7 -8
- package/dist/{native-xcode-inputs-UElfGs59.mjs → native-xcode-inputs-CykopJdM.mjs} +7 -8
- package/dist/{native-xcode-ios-CjS-nDVY.mjs → native-xcode-ios-Bbf30Gm0.mjs} +15 -15
- package/dist/offload-worker.mjs +34 -38
- package/dist/{ownership-BrjepDiv.mjs → ownership-DCtw_2IA.mjs} +3 -3
- package/dist/{page-Bv9s2KwY.mjs → page-DRHy329N.mjs} +1 -1
- package/dist/{placement-log-BItXET1x.mjs → placement-log-MOfPVgaM.mjs} +1 -1
- package/dist/{plan-Jwu_vr-F.mjs → plan-C4TjdPsR.mjs} +10 -10
- package/dist/{plan-placement-B466UYMU.mjs → plan-placement-V0TdzYXp.mjs} +3 -3
- package/dist/{ports-BFRL6JTj.mjs → ports-DdSUicVo.mjs} +3 -3
- package/dist/{prebuild-DB_zLOLc.mjs → prebuild-DYbucPXy.mjs} +7 -8
- package/dist/{preview-BRLFRhTz.mjs → preview-78a9kR_-.mjs} +31 -24
- package/dist/{project-DX8fXyw_.mjs → project-_phNIJfs.mjs} +15 -16
- package/dist/{pull-request-vOhLNmIb.mjs → pull-request-CQ8sPbZa.mjs} +5 -18
- package/dist/pull-requests.mjs +1 -1
- package/dist/{react-native-android-CuXM3QS8.mjs → react-native-android-CM1XRDwv.mjs} +34 -30
- package/dist/{react-native-build-JUF31S8U.mjs → react-native-build-CtCccJtb.mjs} +6 -6
- package/dist/{react-native-doctor-BQHqiXaQ.mjs → react-native-doctor-CfRnFfjs.mjs} +5 -5
- package/dist/{react-native-ios-DtVO4qf2.mjs → react-native-ios-Dhq_eiYQ.mjs} +14 -14
- package/dist/{recordings-Bk-VivUV.mjs → recordings-D0d5aQt0.mjs} +1 -1
- package/dist/{reload-D9V7D8gP.mjs → reload-C8JhxjSh.mjs} +17 -17
- package/dist/{remote-CZiTijxG.mjs → remote-BiR6aYjy.mjs} +7 -7
- package/dist/{remote-cache-fxcl5C-L.mjs → remote-cache-OyOyVIS3.mjs} +4 -4
- package/dist/{result-BrfgXtdO.mjs → result-CaJg5Iat.mjs} +8 -8
- package/dist/{run-ClC8UVB5.mjs → run-BtPgpKks.mjs} +3 -3
- package/dist/{server-bare-dWjAarki.mjs → server-bare-R2m_gsH8.mjs} +3 -3
- package/dist/{server-command-DnJYLnr4.mjs → server-command-CTtCkmcQ.mjs} +5 -5
- package/dist/server-expo-Bigriskl.mjs +2 -0
- package/dist/{server-expo-CUuzP9Mp.mjs → server-expo-DsguMGUF.mjs} +5 -10
- package/dist/{settings-Bbztm4oV.mjs → settings-B717odTD.mjs} +74 -115
- package/dist/{settings-BuKMOANA.mjs → settings-BORNaaCO.mjs} +5 -5
- package/dist/{simslim-ChMfe8rg.mjs → simslim-CCr3rE-A.mjs} +2 -3
- package/dist/{slot-launch-CeCRr6MK.mjs → slot-launch-DPt0m9Nd.mjs} +6 -6
- package/dist/{spawn-claims-Kqiifsk2.mjs → spawn-claims-DVS5RkMS.mjs} +1 -1
- package/dist/{stage-BNKKdDNc.mjs → stage-KNTQopqv.mjs} +9 -9
- package/dist/{start-CRkG-mZ7.mjs → start-BWqzODpb.mjs} +19 -20
- package/dist/{start-mh6bS27z.mjs → start-TXeMmmO2.mjs} +1 -1
- package/dist/{state-BUpAmt2r.mjs → state-CG_OFoaA.mjs} +2 -2
- package/dist/{state-lqxdOH_g.mjs → state-D1Icyjlu.mjs} +5 -5
- package/dist/{stats-CaB1MxMi.mjs → stats-BoY5sEPU.mjs} +5 -5
- package/dist/{status-BDGHwkCs.mjs → status-BTA7kKiQ.mjs} +1 -1
- package/dist/{status-C7vzkInu.mjs → status-WgFbkRzj.mjs} +30 -47
- package/dist/{status-watch-ZaVqRdtW.mjs → status-watch-C23ILtf9.mjs} +4 -4
- package/dist/{stim-desktop-8GQX2OV8.mjs → stim-desktop-BzBN2Em2.mjs} +1 -1
- package/dist/{stop-BO80KJoT.mjs → stop-BNmBMi1F.mjs} +18 -19
- package/dist/{stop-Cftw_sXJ.mjs → stop-DPEhunlw.mjs} +6 -6
- package/dist/{stop-BU7JaFCg.mjs → stop-DR6VoDIk.mjs} +2 -2
- package/dist/supervisor-run.mjs +16 -17
- package/dist/{support-Co0wk8Cv.mjs → support-CwjbFs9H.mjs} +9 -9
- package/dist/{support-Ca6PZbpr.mjs → support-DMTqj3Hm.mjs} +6 -6
- package/dist/{swiftpm-macos-siFSkmCO.mjs → swiftpm-macos-DRNVJWlb.mjs} +9 -9
- package/dist/{tailnet-D7-tE_ug.mjs → tailnet-Dh-qiYzG.mjs} +5 -5
- package/dist/toolchain-BFkAcstd.mjs +2 -0
- package/dist/{toolchain-SqehyPLw.mjs → toolchain-DxSsNssu.mjs} +10 -10
- package/dist/trigger-9_USgmxz.mjs +2 -0
- package/dist/{trigger-C0MWBi8O.mjs → trigger-CigAYjeL.mjs} +2 -2
- package/dist/{warm-progress-5FAXkXIg.mjs → warm-progress-BuY-Fvfn.mjs} +43 -61
- package/dist/{watchman-CqmaGcIb.mjs → watchman-CPQFZLXY.mjs} +6 -6
- package/dist/{web-BTjzE8mc.mjs → web-BDBMxDpx.mjs} +9 -9
- package/dist/web-Dq-i3wzJ.mjs +2 -0
- package/dist/web-run.mjs +14 -14
- package/dist/{workspace-state-CvgTFe-h.mjs → workspace-state-DJt_MMvf.mjs} +13 -3
- package/dist/{workspaces-C4kqIOlx.mjs → workspaces-C36s2jb9.mjs} +15 -16
- package/dist/{worktree-DtRsh6go.mjs → worktree-CgvJYJ-Q.mjs} +94 -87
- package/dist/{worktree-Cgnm6vZt.mjs → worktree-DpLdCHga.mjs} +1 -1
- package/package.json +5 -5
- package/dist/macos-kivF8qKz.mjs +0 -2
- package/dist/process-identity-Biv3arCO.mjs +0 -40
- package/dist/server-expo-Dvkd7JcF.mjs +0 -2
- package/dist/toolchain-B12psPA2.mjs +0 -2
- package/dist/trigger-SHLOWJ4O.mjs +0 -2
- package/dist/web-CHN5gh34.mjs +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as getExecutor } from "./exec-
|
|
3
|
-
import { a as updateWorkspaceState, c as writeWorkspaceState, r as readWorkspaceState$1, t as clearWorkspaceStateKey, w as workspaceLogsDir$1, x as workspaceDir } from "./workspace-state-
|
|
4
|
-
import { s as pidExists } from "./metro-
|
|
1
|
+
import { j as ownership_claim_exports, k as process_identity_exports } from "./config-BYDxlMY3.mjs";
|
|
2
|
+
import { t as getExecutor } from "./exec-DqKo9GKJ.mjs";
|
|
3
|
+
import { a as updateWorkspaceState, c as writeWorkspaceState, r as readWorkspaceState$1, t as clearWorkspaceStateKey, w as workspaceLogsDir$1, x as workspaceDir } from "./workspace-state-DJt_MMvf.mjs";
|
|
4
|
+
import { s as pidExists } from "./metro-DnCEjCxs.mjs";
|
|
5
5
|
import { readFileSync, readlinkSync, rmSync } from "node:fs";
|
|
6
6
|
import { join } from "node:path";
|
|
7
7
|
import { WEB_VIEWPORTS, isJsonObject } from "@stim-cli/core/state";
|
|
@@ -59,7 +59,7 @@ function chromeProcessState(record, profile) {
|
|
|
59
59
|
"-ww",
|
|
60
60
|
"-o",
|
|
61
61
|
"pgid=,command="
|
|
62
|
-
]);
|
|
62
|
+
], { timeoutMs: 1e4 });
|
|
63
63
|
if (listing === null) return "unknown";
|
|
64
64
|
return groupRunsProfile(listing, record.pid, profile) ? "lingering" : "gone";
|
|
65
65
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { o as formatLongDuration } from "./command-output-
|
|
4
|
-
import { r as findProjectRoot } from "./project-
|
|
5
|
-
import { i as getSwiftpmCacheUsage, n as swiftpmCacheLines, r as getAgentDeviceUsage, t as agentDeviceLines } from "./agent-device-usage-output-
|
|
1
|
+
import { N as formatBytes } from "./config-BYDxlMY3.mjs";
|
|
2
|
+
import { Dt as repoRoot, ht as gitCommonDir } from "./settings-B717odTD.mjs";
|
|
3
|
+
import { o as formatLongDuration } from "./command-output-BTy8hZ0F.mjs";
|
|
4
|
+
import { r as findProjectRoot } from "./project-_phNIJfs.mjs";
|
|
5
|
+
import { i as getSwiftpmCacheUsage, n as swiftpmCacheLines, r as getAgentDeviceUsage, t as agentDeviceLines } from "./agent-device-usage-output-Dzgv6lgR.mjs";
|
|
6
6
|
import { archivedUsage, readArchives, readStatsReport, statsProjectKey } from "@stim-cli/core/state";
|
|
7
7
|
import chalk from "chalk";
|
|
8
8
|
//#region src/commands/stats.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N as formatBytes } from "./config-BYDxlMY3.mjs";
|
|
2
2
|
import { t as resolveMaintenanceSettings } from "./settings-Djl-mpjX.mjs";
|
|
3
3
|
import { maintenanceRunClaims, readMaintenanceState } from "@stim-cli/core/state";
|
|
4
4
|
import { claimRemoveCommand, readClaimSet } from "@stim-cli/core/ownership-claim";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as getExecutor } from "./exec-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { i as listLeaseFiles, r as leaseIsExpired, s as parseWorkspaceLeases } from "./device-lease-
|
|
6
|
-
import { C as workspaceLogErrorIndex, r as readWorkspaceState$1, w as workspaceLogsDir$1 } from "./workspace-state-
|
|
7
|
-
import { a as formatElapsed, i as formatDuration, r as clockTime, u as plural } from "./command-output-
|
|
8
|
-
import { F as readWorkspaceLaunches, N as readRemoteSession, _ as detectIsExpo, c as projectShortcut, i as findServerWorkspace, j as readMetroTunnel, l as detectPlatforms, v as detectTutorial, x as readAppJson } from "./project-
|
|
9
|
-
import { F as ownedAvdDeviceProfile, O as listAdbDevices, at as POOL_SETTING_REMEDY, dt as parkedMaxSetting, ft as readParked, z as ownedAvdSerialResolver } from "./android-
|
|
10
|
-
import { a as listeningPidsByPort, c as processCwd, i as listeningPids, l as processCwds, p as isMetroRunning, s as pidExists, u as resolveProjectMetro } from "./metro-
|
|
11
|
-
import { P as resolveSupervisorTarget } from "./workspaces-
|
|
12
|
-
import { Ct as bundlingActivity, It as statsProjectKey$1, Mt as readStats$1, St as buildStatusLine, Tt as parseActiveBuild, bt as activeBuildState, it as readFootprints, mt as metroLastStop, o as machineNumber, rt as attributeMachineUsage, ut as describeMetroLastStop, vt as ACTIVE_BUILD_KEY, xt as buildReport } from "./budget-
|
|
1
|
+
import { B as deviceSlotKey, H as parseDeviceSlotKey, L as volumeRootFor, N as formatBytes, W as projectDeviceSlots, _ as loadConfig$1, d as getConfigDir, k as process_identity_exports } from "./config-BYDxlMY3.mjs";
|
|
2
|
+
import { t as getExecutor } from "./exec-DqKo9GKJ.mjs";
|
|
3
|
+
import { n as gitAsync } from "./git-DDfFzkMm.mjs";
|
|
4
|
+
import { Dt as repoRoot, gt as gitCommonDirOnDisk, ht as gitCommonDir, it as workspaceHiddenSetting, q as resolveSettings, xt as linkedWorktreesOnDisk } from "./settings-B717odTD.mjs";
|
|
5
|
+
import { i as listLeaseFiles, r as leaseIsExpired, s as parseWorkspaceLeases } from "./device-lease-BX1sJQ2E.mjs";
|
|
6
|
+
import { C as workspaceLogErrorIndex, r as readWorkspaceState$1, w as workspaceLogsDir$1 } from "./workspace-state-DJt_MMvf.mjs";
|
|
7
|
+
import { a as formatElapsed, i as formatDuration, r as clockTime, u as plural } from "./command-output-BTy8hZ0F.mjs";
|
|
8
|
+
import { F as readWorkspaceLaunches, N as readRemoteSession, _ as detectIsExpo, c as projectShortcut, i as findServerWorkspace, j as readMetroTunnel, l as detectPlatforms, v as detectTutorial, x as readAppJson } from "./project-_phNIJfs.mjs";
|
|
9
|
+
import { F as ownedAvdDeviceProfile, O as listAdbDevices, at as POOL_SETTING_REMEDY, dt as parkedMaxSetting, ft as readParked, z as ownedAvdSerialResolver } from "./android-Mz_Inn3w.mjs";
|
|
10
|
+
import { a as listeningPidsByPort, c as processCwd, i as listeningPids, l as processCwds, p as isMetroRunning, s as pidExists, u as resolveProjectMetro } from "./metro-DnCEjCxs.mjs";
|
|
11
|
+
import { P as resolveSupervisorTarget } from "./workspaces-C36s2jb9.mjs";
|
|
12
|
+
import { Ct as bundlingActivity, It as statsProjectKey$1, Mt as readStats$1, St as buildStatusLine, Tt as parseActiveBuild, bt as activeBuildState, it as readFootprints, mt as metroLastStop, o as machineNumber, rt as attributeMachineUsage, ut as describeMetroLastStop, vt as ACTIVE_BUILD_KEY, xt as buildReport } from "./budget-f7516Zk0.mjs";
|
|
13
13
|
import { a as parseNdjsonLine } from "./ndjson-GOnbyvso.mjs";
|
|
14
|
-
import { a as readWebPage, o as readWebRecord, u as webFacts } from "./state-
|
|
15
|
-
import { C as statusActivity, E as withWebFacts, S as remoteDeviceState, T as unprovisionedWorktrees, _ as gitSummaryText, b as poolLine, c as activityLabel, d as capacity, f as deviceLeaseLines, h as environmentState, l as addReverseMissingIssue, m as diskLine, p as deviceLeaseStates, u as applyMachineMemory, v as metroReverseTargets, w as tightVolumes, x as remoteDeviceLine, y as parseDfFree } from "./watchman-
|
|
16
|
-
import { d as readWebActivity, f as tailLines, i as createDeviceProcessTables, r as createActivityReader } from "./activity-
|
|
17
|
-
import { b as parseSimctlList, f as listAllIosSimsAsync } from "./ios-
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import { r as readEasSessionLedger$1 } from "./eas-session-ledger-
|
|
21
|
-
import { d as readIosDevices, s as isReachable } from "./ios-device-
|
|
22
|
-
import "./hosted-macos-
|
|
23
|
-
import { i as readSupervisorState } from "./stop-
|
|
24
|
-
import { i as createStatusMeasurer, n as workspacePhase, r as applyStatusMeasures, s as mergeState } from "./warm-progress-
|
|
25
|
-
import { r as workspaceRecordingEnabled } from "./recordings-
|
|
26
|
-
import { n as maintenanceLines, r as maintenanceStatus } from "./status-
|
|
27
|
-
import { a as watchStatusSources, i as watchPayload, n as WATCH_LIGHT_INTERVAL_MS, r as createRefreshScheduler, t as WATCH_FALLBACK_MS } from "./status-watch-
|
|
14
|
+
import { a as readWebPage, o as readWebRecord, u as webFacts } from "./state-D1Icyjlu.mjs";
|
|
15
|
+
import { C as statusActivity, E as withWebFacts, S as remoteDeviceState, T as unprovisionedWorktrees, _ as gitSummaryText, b as poolLine, c as activityLabel, d as capacity, f as deviceLeaseLines, h as environmentState, l as addReverseMissingIssue, m as diskLine, p as deviceLeaseStates, u as applyMachineMemory, v as metroReverseTargets, w as tightVolumes, x as remoteDeviceLine, y as parseDfFree } from "./watchman-CPQFZLXY.mjs";
|
|
16
|
+
import { d as readWebActivity, f as tailLines, i as createDeviceProcessTables, r as createActivityReader } from "./activity-BSV745Kz.mjs";
|
|
17
|
+
import { b as parseSimctlList, f as listAllIosSimsAsync } from "./ios-RkW4pnQf.mjs";
|
|
18
|
+
import { h as hasMetroReverse } from "./app-install-BIKtMfPq.mjs";
|
|
19
|
+
import { d as probeHostedSession } from "./hosted-client-ZEKpS9vw.mjs";
|
|
20
|
+
import { r as readEasSessionLedger$1 } from "./eas-session-ledger-Cm0Gwq2F.mjs";
|
|
21
|
+
import { d as readIosDevices, s as isReachable } from "./ios-device-D7pi2Sca.mjs";
|
|
22
|
+
import "./hosted-macos-BACVAVqE.mjs";
|
|
23
|
+
import { i as readSupervisorState } from "./stop-BNmBMi1F.mjs";
|
|
24
|
+
import { i as createStatusMeasurer, n as workspacePhase, r as applyStatusMeasures, s as mergeState } from "./warm-progress-BuY-Fvfn.mjs";
|
|
25
|
+
import { r as workspaceRecordingEnabled } from "./recordings-D0d5aQt0.mjs";
|
|
26
|
+
import { n as maintenanceLines, r as maintenanceStatus } from "./status-BTA7kKiQ.mjs";
|
|
27
|
+
import { a as watchStatusSources, i as watchPayload, n as WATCH_LIGHT_INTERVAL_MS, r as createRefreshScheduler, t as WATCH_FALLBACK_MS } from "./status-watch-C23ILtf9.mjs";
|
|
28
28
|
import { t as watchStdoutReader } from "./stdout-reader-C8yjre1x.mjs";
|
|
29
|
-
import { t as triggerMaintenance } from "./trigger-
|
|
29
|
+
import { t as triggerMaintenance } from "./trigger-CigAYjeL.mjs";
|
|
30
30
|
import { mkdirSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
31
31
|
import { join, posix, resolve } from "node:path";
|
|
32
32
|
import { basename as basename$1, dirname as dirname$1, join as join$1 } from "path";
|
|
@@ -309,7 +309,6 @@ function writeIndex(file, index) {
|
|
|
309
309
|
//#endregion
|
|
310
310
|
//#region src/workspace/git-summary.ts
|
|
311
311
|
const GIT_TIMEOUT_MS = 3e3;
|
|
312
|
-
const GIT_CONCURRENCY = 6;
|
|
313
312
|
const MERGE_BUDGET_MS = 250;
|
|
314
313
|
const MERGE_TIMEOUT_BACKOFF_MS = 3e5;
|
|
315
314
|
const ORIGIN_PREFIX = "refs/remotes/origin/";
|
|
@@ -350,25 +349,8 @@ function inPrivacyProtectedFolder(path, home) {
|
|
|
350
349
|
"Library/CloudStorage"
|
|
351
350
|
].map((dir) => posix.join(home, dir)), "/Volumes"].some((dir) => path === dir || path.startsWith(`${dir}/`));
|
|
352
351
|
}
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
async function git(path, args) {
|
|
356
|
-
if (gitRunning < GIT_CONCURRENCY) gitRunning++;
|
|
357
|
-
else await new Promise((proceed) => gitQueue.push(proceed));
|
|
358
|
-
try {
|
|
359
|
-
return await getExecutor().runFileAsync("git", [
|
|
360
|
-
"--no-optional-locks",
|
|
361
|
-
"-C",
|
|
362
|
-
path,
|
|
363
|
-
...args
|
|
364
|
-
], { timeoutMs: GIT_TIMEOUT_MS });
|
|
365
|
-
} catch {
|
|
366
|
-
return null;
|
|
367
|
-
} finally {
|
|
368
|
-
const next = gitQueue.shift();
|
|
369
|
-
if (next) next();
|
|
370
|
-
else gitRunning--;
|
|
371
|
-
}
|
|
352
|
+
function git(path, args) {
|
|
353
|
+
return gitAsync(path, args, { timeoutMs: GIT_TIMEOUT_MS }).catch(() => null);
|
|
372
354
|
}
|
|
373
355
|
async function defaultBranchOf(repository) {
|
|
374
356
|
const [ref, sha] = (await git(repository, [
|
|
@@ -1032,6 +1014,7 @@ async function readStatusFacts(gitMaxAgeMs, simctlListing, cachedArchives) {
|
|
|
1032
1014
|
})(),
|
|
1033
1015
|
recording: { enabled: workspaceRecordingEnabled(path, proj, cfg, process.env) }
|
|
1034
1016
|
});
|
|
1017
|
+
if (workspaceHiddenSetting(proj.settings)) state.hidden = true;
|
|
1035
1018
|
const tutorial = detectTutorial(readAppJson(path));
|
|
1036
1019
|
if (tutorial) state.tutorial = tutorial;
|
|
1037
1020
|
const doctorRuns = doctorRunTimes(proj);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as getExecutor } from "./exec-
|
|
2
|
-
import { d as androidToolPath } from "./android-
|
|
3
|
-
import { b as parseSimctlList } from "./ios-
|
|
4
|
-
import { n as easMachineStateRoot } from "./eas-session-ledger-
|
|
1
|
+
import { t as getExecutor } from "./exec-DqKo9GKJ.mjs";
|
|
2
|
+
import { d as androidToolPath } from "./android-Mz_Inn3w.mjs";
|
|
3
|
+
import { b as parseSimctlList } from "./ios-RkW4pnQf.mjs";
|
|
4
|
+
import { n as easMachineStateRoot } from "./eas-session-ledger-Cm0Gwq2F.mjs";
|
|
5
5
|
import { readdirSync, watch } from "node:fs";
|
|
6
6
|
import { join } from "node:path";
|
|
7
7
|
//#region src/status-watch.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as getExecutor } from "./exec-
|
|
1
|
+
import { t as getExecutor } from "./exec-DqKo9GKJ.mjs";
|
|
2
2
|
//#region src/devices/stim-desktop.ts
|
|
3
3
|
const LAUNCH_SERVICES_LOOKUP = `ObjC.import('AppKit'); const url = $.NSWorkspace.sharedWorkspace.URLForApplicationWithBundleIdentifier('dev.stim.desktop'); url.isNil() ? '' : url.path.js`;
|
|
4
4
|
const SCHEME_HANDLER_LOOKUP = `ObjC.import('AppKit'); const url = $.NSWorkspace.sharedWorkspace.URLForApplicationToOpenURL($.NSURL.URLWithString('stim-desktop://workspace')); url.isNil() ? '' : url.path.js`;
|
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { n as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { i as
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { n as stopMacosApp } from "./stop-Cftw_sXJ.mjs";
|
|
1
|
+
import { D as withConfigLock$1, E as upsertProject, H as parseDeviceSlotKey, K as validateDeviceSlot, U as parseDeviceSlotOption, V as deviceSlotPlatforms, W as projectDeviceSlots, j as ownership_claim_exports, k as process_identity_exports, o as clearSupervisor, p as getProject } from "./config-BYDxlMY3.mjs";
|
|
2
|
+
import { r as debugLog } from "./exec-DqKo9GKJ.mjs";
|
|
3
|
+
import { n as fileLeaseIo, u as releaseWorkspaceLeases } from "./device-lease-BX1sJQ2E.mjs";
|
|
4
|
+
import { a as updateWorkspaceState, c as writeWorkspaceState, n as clearWorkspaceStateKeys, o as withWorkspaceStateLock, r as readWorkspaceState$1, x as workspaceDir } from "./workspace-state-DJt_MMvf.mjs";
|
|
5
|
+
import { f as refuseNoProject, l as phaseLine, p as releasedLeaseFact, u as plural } from "./command-output-BTy8hZ0F.mjs";
|
|
6
|
+
import { A as clearWorkspaceSupervisor, D as clearManagedMetroTunnel, N as readRemoteSession, O as clearRemoteSession, j as readMetroTunnel, k as clearWorkspaceLaunches, n as findCommandWorkspace, w as MODE_COMMAND } from "./project-_phNIJfs.mjs";
|
|
7
|
+
import { d as signalProcessTree, r as killMetroTree, s as pidExists, u as resolveProjectMetro } from "./metro-DnCEjCxs.mjs";
|
|
8
|
+
import { D as stopTunnel, P as resolveSupervisorTarget, b as teardownOwnedIosSim, v as teardownOwnedAvd, y as teardownOwnedBrowser } from "./workspaces-C36s2jb9.mjs";
|
|
9
|
+
import { _t as withdrawDevServerStopRequest, ht as requestDevServerStop, pt as logVanishedSupervisor } from "./budget-f7516Zk0.mjs";
|
|
10
|
+
import { a as withWorkspaceProcessLock } from "./named-ports-4WopRPg-.mjs";
|
|
11
|
+
import { _ as nativeRunHolder, d as NATIVE_RUN_LOCK, f as NATIVE_RUN_WAIT_MS, g as describeNativeRunHolder, h as decideStopAction, m as clearNativeRunCancel, v as nativeRunWaitNotice, y as requestNativeRunCancel } from "./tailnet-Dh-qiYzG.mjs";
|
|
12
|
+
import { f as resolveEasCliBin } from "./remote-cache-OyOyVIS3.mjs";
|
|
13
|
+
import { t as macosAppPresent } from "./state-CG_OFoaA.mjs";
|
|
14
|
+
import { i as stopHostedAndroid } from "./hosted-android-C3MHGld1.mjs";
|
|
15
|
+
import { i as endRecordedSession } from "./device-remote-xRT0Vmo9.mjs";
|
|
16
|
+
import { n as verifyCollectorOwnership } from "./ownership-DCtw_2IA.mjs";
|
|
17
|
+
import { r as stopHostedIos } from "./hosted-ios-l-o3iM9J.mjs";
|
|
18
|
+
import { n as stopMacosApp } from "./stop-DPEhunlw.mjs";
|
|
20
19
|
import { hostedAndroidDeviceName, hostedAndroidRecords, hostedIosRecords, hostedNativeRecords, isJsonObject, parseHostedNativePlacement } from "@stim-cli/core/state";
|
|
21
20
|
import chalk from "chalk";
|
|
22
21
|
//#region src/commands/stop.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as writeWorkspaceState, x as workspaceDir } from "./workspace-state-
|
|
3
|
-
import { m as runningBundleInstances } from "./workspaces-
|
|
4
|
-
import { a as withWorkspaceProcessLock } from "./named-ports-
|
|
5
|
-
import { a as macosRuntimeClaim, o as requiredMacosRecord } from "./state-
|
|
6
|
-
import { n as stopHostedMacos } from "./hosted-macos-
|
|
1
|
+
import { j as ownership_claim_exports, k as process_identity_exports } from "./config-BYDxlMY3.mjs";
|
|
2
|
+
import { c as writeWorkspaceState, x as workspaceDir } from "./workspace-state-DJt_MMvf.mjs";
|
|
3
|
+
import { m as runningBundleInstances } from "./workspaces-C36s2jb9.mjs";
|
|
4
|
+
import { a as withWorkspaceProcessLock } from "./named-ports-4WopRPg-.mjs";
|
|
5
|
+
import { a as macosRuntimeClaim, o as requiredMacosRecord } from "./state-CG_OFoaA.mjs";
|
|
6
|
+
import { n as stopHostedMacos } from "./hosted-macos-BACVAVqE.mjs";
|
|
7
7
|
import { readMacosRecord } from "@stim-cli/core/state";
|
|
8
8
|
//#region src/macos/stop.ts
|
|
9
9
|
const APP_EXIT_MS = 5e3;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { P as resolveSupervisorTarget } from "./workspaces-
|
|
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 { P as resolveSupervisorTarget } from "./workspaces-C36s2jb9.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-BNmBMi1F.mjs";
|
|
3
3
|
export { clearCollectorState, clearSupervisorState, stopCommand as default, readCollectorState, readSupervisorState, resolveCollectorTargets, resolveSupervisorTarget, runStop, stopWorkspaceNow };
|
package/dist/supervisor-run.mjs
CHANGED
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { a as
|
|
5
|
-
import { E as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { a as withWorkspaceProcessLock } from "./named-ports-O1TIl7tx.mjs";
|
|
1
|
+
import { H as parseDeviceSlotKey, T as setSupervisor, W as projectDeviceSlots, k as process_identity_exports, o as clearSupervisor, p as getProject } from "./config-BYDxlMY3.mjs";
|
|
2
|
+
import { J as runnableMetroCommand, K as resolveProjectSettings } from "./settings-B717odTD.mjs";
|
|
3
|
+
import { a as parseLease, r as leaseIsExpired, s as parseWorkspaceLeases, t as deviceLeasePath } from "./device-lease-BX1sJQ2E.mjs";
|
|
4
|
+
import { E as workspaceStateFile, a as updateWorkspaceState, c as writeWorkspaceState, n as clearWorkspaceStateKeys, o as withWorkspaceStateLock, r as readWorkspaceState$1, w as workspaceLogsDir$1 } from "./workspace-state-DJt_MMvf.mjs";
|
|
5
|
+
import { A as clearWorkspaceSupervisor, C as MODE_BARE, E as clearExpoMetroTunnel, L as writePidFile, M as readPidFile, T as MODE_EXPO, _ as detectIsExpo, u as nativeProjectIntegration, w as MODE_COMMAND } from "./project-_phNIJfs.mjs";
|
|
6
|
+
import { z as ownedAvdSerialResolver } from "./android-Mz_Inn3w.mjs";
|
|
7
|
+
import { f as withIdleWorkspace } from "./workspaces-C36s2jb9.mjs";
|
|
8
|
+
import { dt as devServerStopLevel, ft as devServerStopRecord, g as workspaceBuildInProgress, gt as vanishedSupervisorMessage, lt as describeDevServerStop } from "./budget-f7516Zk0.mjs";
|
|
9
|
+
import { a as withWorkspaceProcessLock } from "./named-ports-4WopRPg-.mjs";
|
|
11
10
|
import { r as createNdjsonWriter } from "./ndjson-GOnbyvso.mjs";
|
|
12
11
|
import { t as describeError } from "./errors-DzkMYh8Q.mjs";
|
|
13
|
-
import { t as relaunchWithLogFile } from "./detached-entry-
|
|
14
|
-
import { n as parseTriggerCount, o as runWatchman, r as parseWatchRoots, t as parseSubscriberNames } from "./watchman-
|
|
15
|
-
import { m as workspaceDeviceLastUseAt, r as createActivityReader } from "./activity-
|
|
16
|
-
import { n as dueIdleDevices, r as shutDownIdleDevices } from "./idle-shutdown-
|
|
17
|
-
import {
|
|
18
|
-
import { t as clearHostedMetro } from "./metro-gateway-
|
|
12
|
+
import { t as relaunchWithLogFile } from "./detached-entry-B9C_zeQC.mjs";
|
|
13
|
+
import { n as parseTriggerCount, o as runWatchman, r as parseWatchRoots, t as parseSubscriberNames } from "./watchman-CPQFZLXY.mjs";
|
|
14
|
+
import { m as workspaceDeviceLastUseAt, r as createActivityReader } from "./activity-BSV745Kz.mjs";
|
|
15
|
+
import { n as dueIdleDevices, r as shutDownIdleDevices } from "./idle-shutdown-DtxhPTKe.mjs";
|
|
16
|
+
import { d as probeHostedSession } from "./hosted-client-ZEKpS9vw.mjs";
|
|
17
|
+
import { t as clearHostedMetro } from "./metro-gateway-CX9Xlkq2.mjs";
|
|
19
18
|
import { existsSync, readFileSync, realpathSync, statSync } from "node:fs";
|
|
20
19
|
import { dirname, isAbsolute, join, resolve, sep } from "node:path";
|
|
21
20
|
import { DEV_SERVER_STOP_REQUEST_KEY, HOSTED_METRO_GATEWAYS_KEY, HOSTED_METRO_REQUESTS_KEY, IDLE_STOP_KEY, hostedAndroidPlacements, hostedIosPlacements, hostedMetroGateways, hostedMetroRequests, hostedNativeRecords, parseHostedNativePlacement, readDevServerStopRequest } from "@stim-cli/core/state";
|
|
@@ -602,7 +601,7 @@ async function runSupervisor({ root, port, tunnel = false, resetCache = false, i
|
|
|
602
601
|
try {
|
|
603
602
|
let start;
|
|
604
603
|
if (command) {
|
|
605
|
-
const startServer = startCommand ?? (await import("./server-command-
|
|
604
|
+
const startServer = startCommand ?? (await import("./server-command-CTtCkmcQ.mjs")).startCommandServer;
|
|
606
605
|
start = (opts) => startServer({
|
|
607
606
|
...opts,
|
|
608
607
|
command
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Q as settingShapeErrors, a as SETTING_SHAPE_REMEDY, b as iosProjectDirSettingError, nt as unknownSettingKeys, p as cacheProviderSettingError, y as iosProjectDirSetting } from "./settings-
|
|
2
|
-
import { w as workspaceLogsDir } from "./workspace-state-
|
|
3
|
-
import { h as shortUdid, l as phaseLine } from "./command-output-
|
|
1
|
+
import { Q as settingShapeErrors, a as SETTING_SHAPE_REMEDY, b as iosProjectDirSettingError, nt as unknownSettingKeys, p as cacheProviderSettingError, y as iosProjectDirSetting } from "./settings-B717odTD.mjs";
|
|
2
|
+
import { w as workspaceLogsDir } from "./workspace-state-DJt_MMvf.mjs";
|
|
3
|
+
import { h as shortUdid, l as phaseLine } from "./command-output-BTy8hZ0F.mjs";
|
|
4
4
|
import { p as resolveOptimizations } from "./errors-DzkMYh8Q.mjs";
|
|
5
|
-
import { y as resolveBuildPlacement } from "./client-
|
|
6
|
-
import { j as parseIosSimulatorApp } from "./ios-
|
|
7
|
-
import { F as describeDiagnostic } from "./toolchain-
|
|
8
|
-
import { d as unknownIosDeviceTypeRefusal, f as unknownIosRuntimeRefusal, o as layerNote, t as DEFAULT_DEVICE_SLOT_WAIT_MS } from "./device-capacity-
|
|
9
|
-
import { l as parseDeviceWait } from "./device-lease-run-
|
|
10
|
-
import { t as IosDeviceMismatchError } from "./device-ios-
|
|
5
|
+
import { y as resolveBuildPlacement } from "./client-qQAaXSUs.mjs";
|
|
6
|
+
import { j as parseIosSimulatorApp } from "./ios-RkW4pnQf.mjs";
|
|
7
|
+
import { F as describeDiagnostic } from "./toolchain-DxSsNssu.mjs";
|
|
8
|
+
import { d as unknownIosDeviceTypeRefusal, f as unknownIosRuntimeRefusal, o as layerNote, t as DEFAULT_DEVICE_SLOT_WAIT_MS } from "./device-capacity-CBUAcRyQ.mjs";
|
|
9
|
+
import { l as parseDeviceWait } from "./device-lease-run-Cw2M4z51.mjs";
|
|
10
|
+
import { t as IosDeviceMismatchError } from "./device-ios-COSi6oS1.mjs";
|
|
11
11
|
import { basename, join } from "node:path";
|
|
12
12
|
import chalk from "chalk";
|
|
13
13
|
function buildLogFile(root) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as getExecutor } from "./exec-
|
|
2
|
-
import { C as emulatorFailureRemedy, D as hostSystemImageArch, K as profileNeedsFoldFeature, N as memoizeEmulatorProbe, S as emulatorDiskSpaceRemedy, T as findBuildTool, W as pickDefaultSystemImage, c as androidPoolNoCandidatesRefusal, l as androidSystemImageAbi, o as androidHome, s as androidPoolCandidates, w as extractEmulatorFailure } from "./android-
|
|
3
|
-
import {
|
|
4
|
-
import { l as unknownAndroidDeviceProfileRefusal, o as layerNote, u as unknownAndroidSystemImageRefusal } from "./device-capacity-
|
|
5
|
-
import { t as devClientScheme } from "./dev-client-
|
|
1
|
+
import { t as getExecutor } from "./exec-DqKo9GKJ.mjs";
|
|
2
|
+
import { C as emulatorFailureRemedy, D as hostSystemImageArch, K as profileNeedsFoldFeature, N as memoizeEmulatorProbe, S as emulatorDiskSpaceRemedy, T as findBuildTool, W as pickDefaultSystemImage, c as androidPoolNoCandidatesRefusal, l as androidSystemImageAbi, o as androidHome, s as androidPoolCandidates, w as extractEmulatorFailure } from "./android-Mz_Inn3w.mjs";
|
|
3
|
+
import { E as pickDevClientScheme } from "./app-install-BIKtMfPq.mjs";
|
|
4
|
+
import { l as unknownAndroidDeviceProfileRefusal, o as layerNote, u as unknownAndroidSystemImageRefusal } from "./device-capacity-CBUAcRyQ.mjs";
|
|
5
|
+
import { t as devClientScheme } from "./dev-client-DAWVIGBu.mjs";
|
|
6
6
|
import { existsSync, readFileSync, readdirSync } from "node:fs";
|
|
7
7
|
import { relative } from "node:path";
|
|
8
8
|
//#region src/commands/android/support.ts
|
|
@@ -151,7 +151,7 @@ function dumpApkManifest(apkPath, { exec = null, aapt = null } = {}) {
|
|
|
151
151
|
"AndroidManifest.xml"
|
|
152
152
|
];
|
|
153
153
|
try {
|
|
154
|
-
const out = e.runFile(tool.path, args);
|
|
154
|
+
const out = e.runFile(tool.path, args, { timeoutMs: 3e4 });
|
|
155
155
|
return typeof out === "string" && out.includes("E: manifest") ? out : null;
|
|
156
156
|
} catch {
|
|
157
157
|
return null;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as getExecutor } from "./exec-
|
|
2
|
-
import {
|
|
3
|
-
import { a as spawnDeclared } from "./spawn-claims-
|
|
4
|
-
import { s as macosToolchain } from "./toolchain-
|
|
5
|
-
import { i as validateInfoPlist, n as setBundleName, r as stageBundle, t as resolveBundleExtras } from "./stage-
|
|
6
|
-
import { t as logLines } from "./run-
|
|
1
|
+
import { t as getExecutor } from "./exec-DqKo9GKJ.mjs";
|
|
2
|
+
import { Dt as repoRoot } from "./settings-B717odTD.mjs";
|
|
3
|
+
import { a as spawnDeclared } from "./spawn-claims-DVS5RkMS.mjs";
|
|
4
|
+
import { s as macosToolchain } from "./toolchain-DxSsNssu.mjs";
|
|
5
|
+
import { i as validateInfoPlist, n as setBundleName, r as stageBundle, t as resolveBundleExtras } from "./stage-KNTQopqv.mjs";
|
|
6
|
+
import { t as logLines } from "./run-BtPgpKks.mjs";
|
|
7
7
|
import { existsSync, realpathSync } from "node:fs";
|
|
8
8
|
import { join, relative, resolve } from "node:path";
|
|
9
9
|
//#region src/integrations/swiftpm-macos.ts
|
|
@@ -49,7 +49,7 @@ function swiftpmMacosProject(root) {
|
|
|
49
49
|
"-o",
|
|
50
50
|
"-",
|
|
51
51
|
join(bundle, "Contents", "Info.plist")
|
|
52
|
-
]));
|
|
52
|
+
], { timeoutMs: 1e4 }));
|
|
53
53
|
if (plist.CFBundleIdentifier !== id || plist.CFBundleExecutable !== product || !existsSync(executable)) throw new Error("The fetched macOS bundle does not match the requested identity and executable.");
|
|
54
54
|
for (const destination of [...Object.keys(extras.resources), ...extras.assetCatalog ? ["Assets.car"] : []]) if (!existsSync(join(bundle, "Contents", "Resources", destination))) throw new Error(`The fetched macOS bundle lacks declared resource ${destination}.`);
|
|
55
55
|
if (displayName !== void 0) {
|
|
@@ -59,13 +59,13 @@ function swiftpmMacosProject(root) {
|
|
|
59
59
|
"--sign",
|
|
60
60
|
"-",
|
|
61
61
|
bundle
|
|
62
|
-
]);
|
|
62
|
+
], { timeoutMs: "unbounded" });
|
|
63
63
|
}
|
|
64
64
|
getExecutor().runFile("codesign", [
|
|
65
65
|
"--verify",
|
|
66
66
|
"--strict",
|
|
67
67
|
bundle
|
|
68
|
-
]);
|
|
68
|
+
], { timeoutMs: "unbounded" });
|
|
69
69
|
},
|
|
70
70
|
offload: {
|
|
71
71
|
target: () => ({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as getExecutor } from "./exec-
|
|
2
|
-
import { a as updateWorkspaceState, r as readWorkspaceState$1, t as clearWorkspaceStateKey, x as workspaceDir } from "./workspace-state-
|
|
3
|
-
import { a as formatElapsed } from "./command-output-
|
|
4
|
-
import { i as signalDeclaredSpawns, r as refuseDeclaredSpawns, t as allowDeclaredSpawns } from "./spawn-claims-
|
|
5
|
-
import { a as withWorkspaceProcessLock } from "./named-ports-
|
|
1
|
+
import { t as getExecutor } from "./exec-DqKo9GKJ.mjs";
|
|
2
|
+
import { a as updateWorkspaceState, r as readWorkspaceState$1, t as clearWorkspaceStateKey, x as workspaceDir } from "./workspace-state-DJt_MMvf.mjs";
|
|
3
|
+
import { a as formatElapsed } from "./command-output-BTy8hZ0F.mjs";
|
|
4
|
+
import { i as signalDeclaredSpawns, r as refuseDeclaredSpawns, t as allowDeclaredSpawns } from "./spawn-claims-DVS5RkMS.mjs";
|
|
5
|
+
import { a as withWorkspaceProcessLock } from "./named-ports-4WopRPg-.mjs";
|
|
6
6
|
import { endpoint, findPeer as findPeer$1, isJsonObject, parseMachine, parseMachine as parseMachine$1, pinnedEndpoint } from "@stim-cli/core/state";
|
|
7
7
|
import { WebSocket } from "ws";
|
|
8
8
|
//#region src/engine/native-run.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as getExecutor } from "./exec-
|
|
2
|
-
import { b as workspaceDerivedData } from "./workspace-state-
|
|
1
|
+
import { t as getExecutor } from "./exec-DqKo9GKJ.mjs";
|
|
2
|
+
import { b as workspaceDerivedData } from "./workspace-state-DJt_MMvf.mjs";
|
|
3
3
|
import { n as stripAnsi, r as waitForChild, t as createLineReader } from "./process-output-Fpl8PYi8.mjs";
|
|
4
|
-
import { a as formatElapsed, l as phaseLine } from "./command-output-
|
|
5
|
-
import { o as androidHome } from "./android-
|
|
6
|
-
import { a as spawnDeclared } from "./spawn-claims-
|
|
4
|
+
import { a as formatElapsed, l as phaseLine } from "./command-output-BTy8hZ0F.mjs";
|
|
5
|
+
import { o as androidHome } from "./android-Mz_Inn3w.mjs";
|
|
6
|
+
import { a as spawnDeclared } from "./spawn-claims-DVS5RkMS.mjs";
|
|
7
7
|
import { p as resolveOptimizations } from "./errors-DzkMYh8Q.mjs";
|
|
8
|
-
import { t as cleanLine } from "./server-expo-
|
|
8
|
+
import { t as cleanLine } from "./server-expo-DsguMGUF.mjs";
|
|
9
9
|
import { createRequire } from "node:module";
|
|
10
10
|
import { existsSync, mkdtempSync, readFileSync, readdirSync, realpathSync, rmSync, statSync } from "node:fs";
|
|
11
11
|
import { basename, delimiter, dirname, isAbsolute, join, relative, resolve, sep } from "node:path";
|
|
@@ -415,7 +415,7 @@ function readBundleId(appPath, { exec = null } = {}) {
|
|
|
415
415
|
"-o",
|
|
416
416
|
"-",
|
|
417
417
|
join(appPath, "Info.plist")
|
|
418
|
-
]));
|
|
418
|
+
], { timeoutMs: 1e4 }));
|
|
419
419
|
if (id) return id;
|
|
420
420
|
} catch {}
|
|
421
421
|
try {
|
|
@@ -423,7 +423,7 @@ function readBundleId(appPath, { exec = null } = {}) {
|
|
|
423
423
|
"read",
|
|
424
424
|
join(appPath, "Info"),
|
|
425
425
|
"CFBundleIdentifier"
|
|
426
|
-
]);
|
|
426
|
+
], { timeoutMs: 1e4 });
|
|
427
427
|
const trimmed = String(value).trim();
|
|
428
428
|
return trimmed === "" ? null : trimmed;
|
|
429
429
|
} catch {
|
|
@@ -451,7 +451,7 @@ function readBundleExecutable(appPath, { exec = null } = {}) {
|
|
|
451
451
|
"-o",
|
|
452
452
|
"-",
|
|
453
453
|
join(appPath, "Info.plist")
|
|
454
|
-
]));
|
|
454
|
+
], { timeoutMs: 1e4 }));
|
|
455
455
|
if (name) return name;
|
|
456
456
|
} catch {}
|
|
457
457
|
try {
|
|
@@ -459,7 +459,7 @@ function readBundleExecutable(appPath, { exec = null } = {}) {
|
|
|
459
459
|
"read",
|
|
460
460
|
join(appPath, "Info"),
|
|
461
461
|
"CFBundleExecutable"
|
|
462
|
-
]);
|
|
462
|
+
], { timeoutMs: 1e4 });
|
|
463
463
|
const trimmed = String(value).trim();
|
|
464
464
|
return trimmed === "" ? null : trimmed;
|
|
465
465
|
} catch {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as getExecutor } from "./exec-
|
|
1
|
+
import { t as getExecutor } from "./exec-DqKo9GKJ.mjs";
|
|
2
2
|
import { t as spawnEntry } from "./spawn-entry-Dcb7sDUz.mjs";
|
|
3
|
-
import { n as windowsLauncherArgs } from "./detached-entry-
|
|
3
|
+
import { n as windowsLauncherArgs } from "./detached-entry-B9C_zeQC.mjs";
|
|
4
4
|
import { t as resolveMaintenanceSettings } from "./settings-Djl-mpjX.mjs";
|
|
5
5
|
import { n as stampAttempt, r as due, t as capChildLog } from "./attempt-DW-mQqM7.mjs";
|
|
6
6
|
import { closeSync, openSync } from "node:fs";
|