stim 1.36.0 → 1.37.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 -1
- package/dist/{acquire-artifact-DGTHCd0Q.mjs → acquire-artifact-zBUbPuDP.mjs} +2 -2
- package/dist/{act-CvN9xyV6.mjs → act-BGAFjY8f.mjs} +21 -21
- package/dist/{activity-BpdDvA8Q.mjs → activity-CdpXXSq2.mjs} +6 -6
- package/dist/{agent-device-usage-output-pbhaW7_k.mjs → agent-device-usage-output-D0582GHy.mjs} +5 -5
- package/dist/{android-e9WP10cE.mjs → android-BBwLpxRh.mjs} +43 -40
- package/dist/{android-5wkcMFDG.mjs → android-BPBARZMR.mjs} +2 -2
- package/dist/{android-SJx1V3R3.mjs → android-CGctfYpv.mjs} +7 -7
- package/dist/{android-B0qTdwnt.mjs → android-CaSsewbu.mjs} +5 -5
- package/dist/android-cas-compiler.mjs +1 -1
- package/dist/{android-cas-BS9_55U5.mjs → android-cas-p8gna03x.mjs} +4 -4
- package/dist/{android-image-BZ57YL6R.mjs → android-image-DY8KxK2m.mjs} +3 -3
- package/dist/api.d.mts +10 -3
- package/dist/api.mjs +34 -31
- package/dist/{apk-signed-tail-eZyXIrnc.mjs → apk-signed-tail-BMv-KLcB.mjs} +2 -2
- package/dist/{artifact-ubNdxo_K.mjs → artifact-BrNZTZtA.mjs} +12 -12
- package/dist/{artifact-C3srrGVU.mjs → artifact-BsimBWxG.mjs} +13 -13
- package/dist/{artifact-platform-DqCWUieN.mjs → artifact-platform-BaGL1i1X.mjs} +1 -1
- package/dist/{auto-placement-CKFpFCuq.mjs → auto-placement-CFKNrWLU.mjs} +7 -7
- package/dist/{browser-web-B63vLrj6.mjs → browser-web-YFsgCP_a.mjs} +15 -15
- package/dist/{build-B_Dx9SKJ.mjs → build-DIhuoozz.mjs} +29 -28
- package/dist/{build-cache-BW8T4oD2.mjs → build-cache-Dt-dhCJF.mjs} +6 -6
- package/dist/{build-plan-CeIooJqn.mjs → build-plan-CgnLDof9.mjs} +7 -7
- package/dist/{cache-manifest-CxWkZmUr.mjs → cache-manifest-BO0TIcPV.mjs} +1 -1
- package/dist/cache-manifest.mjs +1 -1
- package/dist/{cdp-C216kOAn.mjs → cdp-CgT47_9A.mjs} +1 -1
- package/dist/{chrome-C8sC5tdl.mjs → chrome-DL5znvmo.mjs} +1 -1
- package/dist/{cli-COdXswmc.mjs → cli-BGUrlSH3.mjs} +21 -21
- package/dist/cli.mjs +1 -1
- package/dist/{client-KSWIeQLA.mjs → client-DU6dnGX1.mjs} +7 -7
- package/dist/collector-run.mjs +7 -7
- package/dist/{command-output-T3cDctRE.mjs → command-output-ByEmIwur.mjs} +1 -1
- package/dist/{config-BA3TgoIP.mjs → config-CNmN-ndb.mjs} +2 -2
- package/dist/{dependencies-LH-7k1Vr.mjs → dependencies-BozoTBqa.mjs} +102 -64
- package/dist/{dependency-state-Blfp3AkG.mjs → dependency-state-BQeC4FVn.mjs} +2 -2
- package/dist/{detached-entry-tfrgGVWb.mjs → detached-entry-VqFeEE9W.mjs} +1 -1
- package/dist/{dev-client-MO_DjTZr.mjs → dev-client-3SQzMRXZ.mjs} +2 -2
- package/dist/{device-BZWt_aPJ.mjs → device-BIg1iExg.mjs} +11 -11
- package/dist/{device-DNTWFFB1.mjs → device-DGMvzoZZ.mjs} +13 -13
- package/dist/{device-android-BB9Lugr8.mjs → device-android-CBat355q.mjs} +9 -9
- package/dist/{device-capacity-CpAVcKgq.mjs → device-capacity-DWUOvY13.mjs} +19 -19
- package/dist/device-host-worker.mjs +16 -16
- package/dist/{device-pool-BJToGG-q.mjs → device-pool-B8IqZKqm.mjs} +3 -3
- package/dist/{device-provision-CxQDCtrc.mjs → device-provision-DWAoSKEw.mjs} +10 -10
- package/dist/{doctor-CYZ45LnX.mjs → doctor-Bknt0121.mjs} +24 -24
- package/dist/{doctor-DV639Iw_.mjs → doctor-CPzwqcXY.mjs} +15 -15
- package/dist/{doctor-C-46SkBe.mjs → doctor-CxgR5vPi.mjs} +1 -1
- package/dist/{doctor-fingerprint-DqWvIhMb.mjs → doctor-fingerprint-Bo4z8YNP.mjs} +1 -1
- package/dist/doctor-fingerprint.mjs +1 -1
- package/dist/{doctor-watchman-TZxYt_98.mjs → doctor-watchman-CPE4C8KV.mjs} +5 -5
- package/dist/{eas-build-Xf5Jd6LR.mjs → eas-build-CwOXKJwa.mjs} +4 -4
- package/dist/{eas-fallback-DNYPNinw.mjs → eas-fallback-Cnb12a50.mjs} +6 -6
- package/dist/{eas-session-ledger-CXZ4aix0.mjs → eas-session-ledger-TE1miVz5.mjs} +6 -6
- package/dist/{error-diagnostics-CvB5bpPU.mjs → error-diagnostics-CXTT3bYC.mjs} +10 -10
- package/dist/{exec-CGuDzt40.mjs → exec-L37dbiIb.mjs} +7 -1
- package/dist/{gc-DiUhrVFo.mjs → gc-0jdcnDHs.mjs} +19 -19
- package/dist/{gc-8Qm_K1iy.mjs → gc-1ZLq1djg.mjs} +2 -2
- package/dist/{guide-CuvHRP53.mjs → guide-COxIANZu.mjs} +76 -40
- package/dist/{hosted-android-D__HGVIO.mjs → hosted-android-D8JbIzgC.mjs} +4 -4
- package/dist/{hosted-client-DMOOu8vD.mjs → hosted-client-BLwuXEZS.mjs} +4 -4
- package/dist/{hosted-logs-CClIktQM.mjs → hosted-logs-BWEQNJx_.mjs} +7 -7
- package/dist/{hosted-logs-sync-B7XCeqVm.mjs → hosted-logs-sync-uWSrH2mf.mjs} +5 -5
- package/dist/{hosted-macos-D4sDJIbB.mjs → hosted-macos-BnCYAv1y.mjs} +6 -6
- package/dist/{hosted-native-BiiUG_Q6.mjs → hosted-native-OBT2sJxn.mjs} +8 -8
- package/dist/{ios-Qam0bT9n.mjs → ios-2Qr4_Zu2.mjs} +1 -1
- package/dist/{ios-BZuhvLGr.mjs → ios-Bjz7aPLy.mjs} +8 -8
- package/dist/{ios-BhfpRfNf.mjs → ios-BveW7qK1.mjs} +16 -6
- package/dist/{ios-BhpUWyN7.mjs → ios-CGyx4PA7.mjs} +32 -31
- package/dist/{ios-device-vhYL1N--.mjs → ios-device-ByrDWSpC.mjs} +3 -3
- package/dist/{ios-device-DLdEDWJj.mjs → ios-device-ygijU78G.mjs} +1 -1
- package/dist/{ios-project-Cz0S1Sz-.mjs → ios-project-XHg87vyQ.mjs} +7 -7
- package/dist/{ios-signing-BcH88ecn.mjs → ios-signing-CRYQ1W42.mjs} +3 -3
- package/dist/{ios-state-Avwz2cbZ.mjs → ios-state-enWc5P6U.mjs} +1 -1
- package/dist/{js-swap-Desu2iII.mjs → js-swap-C6vl3vEd.mjs} +60 -13
- package/dist/{launch-6ckG9UrC.mjs → launch-f3RnbFW5.mjs} +48 -28
- package/dist/{lightened-B6TnpHMX.mjs → lightened-Cdfmo8MO.mjs} +5 -5
- package/dist/{logs-CO0CJRiC.mjs → logs-DAjxBF3c.mjs} +6 -6
- package/dist/{logs-B-DMy1K0.mjs → logs-x3em2-oI.mjs} +7 -7
- package/dist/{macos-B1aCXhem.mjs → macos-D_LAseN9.mjs} +22 -22
- package/dist/{macos-CduEmWAK.mjs → macos-ZfpWlzBO.mjs} +1 -1
- package/dist/macos-run.mjs +1 -1
- package/dist/maintenance-run.mjs +6 -6
- package/dist/{metro-DM3yJL1M.mjs → metro-TIQ1Wft-.mjs} +4 -4
- package/dist/{metro-request-O8Q-JvBg.mjs → metro-request-DcUxyaq8.mjs} +2 -2
- package/dist/{named-ports-BvB_CO9B.mjs → named-ports-BfEMi9bK.mjs} +3 -3
- package/dist/{native-android-28NOG2-y.mjs → native-android-COOrNDk2.mjs} +18 -18
- package/dist/{native-gradle-artifact-inputs-DxVEtS6_.mjs → native-gradle-artifact-inputs-B4Mwydmf.mjs} +5 -5
- package/dist/{native-runtime-C3_NkUlW.mjs → native-runtime-UxUBU8up.mjs} +6 -6
- package/dist/{native-source-ChAGj7R1.mjs → native-source-D2ZfiQ6U.mjs} +1 -1
- package/dist/{native-xcode-inputs-BWFTw5cJ.mjs → native-xcode-inputs-DUv7Q3ok.mjs} +3 -3
- package/dist/{native-xcode-ios-B4Qoc7-U.mjs → native-xcode-ios-DXcteLVi.mjs} +18 -19
- package/dist/offload-worker.mjs +22 -22
- package/dist/{operation-exec-DKlBcKAL.mjs → operation-exec-DNynwpqO.mjs} +1 -1
- package/dist/{ownership-C3y8wLSl.mjs → ownership-CQTg6v1d.mjs} +3 -3
- package/dist/{page-Dj8IqvGM.mjs → page-CoN9al_x.mjs} +2 -2
- package/dist/{phone-reverses-BhSxbqom.mjs → phone-reverses-CHtco460.mjs} +4 -4
- package/dist/{placement-log-B8RCSzOm.mjs → placement-log-oQnELAvQ.mjs} +1 -1
- package/dist/{plan-placement-BI4r55aP.mjs → plan-placement-45EOlIG1.mjs} +6 -6
- package/dist/{ports-DhOSyWm9.mjs → ports-DKO7EUNt.mjs} +3 -3
- package/dist/{prebuild-Di2IhUue.mjs → prebuild-BKkj3OyL.mjs} +12 -12
- package/dist/{project-Clk1JAWL.mjs → project-BCtQz48d.mjs} +16 -16
- package/dist/{pull-request-BpMTNkMB.mjs → pull-request-m8cMZ3aE.mjs} +2 -2
- package/dist/pull-requests.mjs +1 -1
- package/dist/{react-native-android-bdHBMrnf.mjs → react-native-android-MI4ktuhL.mjs} +27 -31
- package/dist/{react-native-build-CJega_NM.mjs → react-native-build-dixAL2G8.mjs} +9 -9
- package/dist/{react-native-doctor-CY7BGITE.mjs → react-native-doctor-CvkWincj.mjs} +6 -6
- package/dist/{react-native-ios-Bo5EDVel.mjs → react-native-ios-DF5otoBR.mjs} +17 -18
- package/dist/{recorded-build-BuGL_fnm.mjs → recorded-build-CGHGCO8m.mjs} +20 -2
- package/dist/{recordings-6i2-x8LU.mjs → recordings-BcOzqFD1.mjs} +1 -1
- package/dist/{registration-DKjJGQ6p.mjs → registration-C-3PDR3X.mjs} +1 -1
- package/dist/{reload-A_axEbeS.mjs → reload-DGWfNFwQ.mjs} +16 -16
- package/dist/{reload-BvDuvygc.mjs → reload-DWxmO9dY.mjs} +1 -1
- package/dist/{remote-WK_swZEw.mjs → remote-CV2jBcLv.mjs} +9 -9
- package/dist/{remote-PD6CM0xp.mjs → remote-DWYGW2f5.mjs} +4 -4
- package/dist/{result-BkDpN5Mz.mjs → result-CWyxwPvZ.mjs} +17 -17
- package/dist/{run-CTFi4Nq2.mjs → run-FZtMQgrx.mjs} +2 -2
- package/dist/{server-bare-W0aPsRZE.mjs → server-bare-Ksh1NKeI.mjs} +2 -2
- package/dist/{server-command-S00-ddjK.mjs → server-command-BO2DIsJV.mjs} +5 -5
- package/dist/server-expo-9hQwyLze.mjs +2 -0
- package/dist/{server-expo-cc-cmfsl.mjs → server-expo-ZS9_WaNG.mjs} +3 -3
- package/dist/{settings-Bap-qjnp.mjs → settings-Ag4pbs0z.mjs} +5 -4
- package/dist/{settings-C_Xu4RNZ.mjs → settings-TYrzDh8T.mjs} +2 -2
- package/dist/{settings-payload-D5jjhmrw.mjs → settings-payload-CUM0DYwz.mjs} +5 -5
- package/dist/{settings-write-C5huI-iS.mjs → settings-write-D_9_IEx7.mjs} +6 -6
- package/dist/{simslim-DlBvwgeF.mjs → simslim-BMgpTRWe.mjs} +2 -2
- package/dist/{slot-launch-qEQVTth7.mjs → slot-launch-DW_29Bmu.mjs} +6 -6
- package/dist/{stage-CxVI_MlP.mjs → stage-_8k8p7uq.mjs} +2 -2
- package/dist/{start-CVzivp35.mjs → start-CdgtOksb.mjs} +1 -1
- package/dist/{start-YpT_JpQQ.mjs → start-CzBB5R7N.mjs} +12 -12
- package/dist/{state-B9VFI6r0.mjs → state-CfP-ccP8.mjs} +4 -4
- package/dist/{state-B4B5P4LU.mjs → state-DsrFh3yv.mjs} +2 -2
- package/dist/{stats-COoePEri.mjs → stats-BgTyuzib.mjs} +5 -5
- package/dist/{stats-report-BVRCqwWA.mjs → stats-report-Ci6TAfFm.mjs} +1 -1
- package/dist/{status-CIg0k7Qb.mjs → status-Bcdy5eHt.mjs} +24 -24
- package/dist/{status-CQWmNl1f.mjs → status-C2PdxK6q.mjs} +1 -1
- package/dist/{status-CIvU5-TF.mjs → status-C7Zzb-Eh.mjs} +1 -1
- package/dist/{status-watch--rfZynD_.mjs → status-watch-DY0EZcmg.mjs} +5 -5
- package/dist/status-worker.mjs +1 -1
- package/dist/{stim-desktop-D0P_bzmd.mjs → stim-desktop-DWGAfaud.mjs} +2 -2
- package/dist/{stop-BEBBruvD.mjs → stop-CbxsTKyZ.mjs} +5 -5
- package/dist/{stop-C3d5qG7C.mjs → stop-CkmBkNyg.mjs} +16 -16
- package/dist/{stop-BiI4_VFG.mjs → stop-iGkvEvDn.mjs} +2 -2
- package/dist/supervisor-run.mjs +15 -15
- package/dist/{support-BJbXovoO.mjs → support-CfYmOdQs.mjs} +13 -14
- package/dist/{support-Vckdzrmk.mjs → support-JZ4KRW0C.mjs} +7 -7
- package/dist/{swiftpm-artifact-inputs-DbuF-Yrr.mjs → swiftpm-artifact-inputs-C1rZDRDs.mjs} +4 -4
- package/dist/{swiftpm-macos-Bu8xeBfM.mjs → swiftpm-macos-DRTjC7Ff.mjs} +11 -11
- package/dist/{toolchain-DCnWAxQL.mjs → toolchain-BeD7tbBW.mjs} +6 -6
- package/dist/{toolchain-CIRdNl-c.mjs → toolchain-CNlKc9pH.mjs} +1 -1
- package/dist/trigger-Bp3lruF2.mjs +2 -0
- package/dist/{trigger-BtB4kbe0.mjs → trigger-G_gbfIVB.mjs} +2 -2
- package/dist/{warm-progress-DwsGBpph.mjs → warm-progress-CJQ8tk5O.mjs} +6 -6
- package/dist/{web-D2En0Wa5.mjs → web-BXbmysa1.mjs} +9 -9
- package/dist/web-BcaySU05.mjs +2 -0
- package/dist/web-run.mjs +8 -8
- package/dist/windows-report.mjs +1 -1
- package/dist/{workspace-state-BhwAJBgA.mjs → workspace-state-DOPXG2Gp.mjs} +3 -3
- package/dist/{workspaces-Dh5N70qW.mjs → workspaces-DCzDzydB.mjs} +15 -14
- package/dist/{worktree-DLm4s2Ib.mjs → worktree-6ngObKkw.mjs} +1 -1
- package/dist/{worktree-Yw3EW77B.mjs → worktree-BAC43Kio.mjs} +27 -27
- package/package.json +7 -7
- package/dist/server-expo-BWJDa7Qb.mjs +0 -2
- package/dist/trigger-D8B7QR0q.mjs +0 -2
- package/dist/web-Dpj70t4p.mjs +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { l as cancellableSleep, t as getExecutor } from "./exec-
|
|
1
|
+
import { l as cancellableSleep, t as getExecutor } from "./exec-L37dbiIb.mjs";
|
|
2
2
|
import { n as stripAnsi, t as createLineReader } from "./process-output-Fpl8PYi8.mjs";
|
|
3
|
-
import { X as resolveProjectSettings } from "./settings-
|
|
4
|
-
import { C as resolvePackageJson } from "./project-
|
|
3
|
+
import { X as resolveProjectSettings } from "./settings-Ag4pbs0z.mjs";
|
|
4
|
+
import { C as resolvePackageJson } from "./project-BCtQz48d.mjs";
|
|
5
5
|
import { i as createNdjsonWriter } from "./ndjson-CrjIsGzw.mjs";
|
|
6
6
|
import { a as expoMetroStoreEnv, c as registerMetroStore, f as resolveMetroSharedCache, i as expoMetroConfigPath, n as supervisorError, o as metroStoreConfirmedRoot, s as metroStoreRoot } from "./errors-DHm_U5gv.mjs";
|
|
7
7
|
import { accessSync, constants, existsSync, readFileSync } from "node:fs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as ownership_claim_exports, d as throwIfCancelled, f as WorkspaceProcessCleanupError, n as isTimeoutError, t as getExecutor } from "./exec-
|
|
2
|
-
import { d as getConfigDir, f as getConfigPath$1, g as getRepoSettings, h as getProjectSettings, v as loadConfig$1 } from "./config-
|
|
3
|
-
import { c as gitQuiet, l as gitQuietAsync, n as runOperationFileQuiet, o as git, r as childEnvironment, s as gitAsync, t as runOperationFile } from "./operation-exec-
|
|
1
|
+
import { D as ownership_claim_exports, d as throwIfCancelled, f as WorkspaceProcessCleanupError, n as isTimeoutError, t as getExecutor } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { d as getConfigDir, f as getConfigPath$1, g as getRepoSettings, h as getProjectSettings, v as loadConfig$1 } from "./config-CNmN-ndb.mjs";
|
|
3
|
+
import { c as gitQuiet, l as gitQuietAsync, n as runOperationFileQuiet, o as git, r as childEnvironment, s as gitAsync, t as runOperationFile } from "./operation-exec-DNynwpqO.mjs";
|
|
4
4
|
import { accessSync, chmodSync, constants, existsSync, lstatSync, mkdirSync, mkdtempSync, readdirSync, realpathSync, rmSync, statSync } from "node:fs";
|
|
5
5
|
import { tmpdir } from "node:os";
|
|
6
6
|
import { basename, dirname, isAbsolute, join, relative, resolve, sep } from "node:path";
|
|
@@ -405,7 +405,7 @@ const CARRY_SKIP_BASENAMES = /* @__PURE__ */ new Set([
|
|
|
405
405
|
".pnpm-store"
|
|
406
406
|
]);
|
|
407
407
|
function isCarrySkipped(rel) {
|
|
408
|
-
return /(^|\/)android\/build\/generated\/autolinking(\/|$)/.test(rel) || String(rel).split("/").some((seg) => CARRY_SKIP_BASENAMES.has(seg));
|
|
408
|
+
return /(^|\/)android\/build\/generated\/autolinking(\/|$)/.test(rel) || /(^|\/)\.expo\/types(\/|$)/.test(rel) || String(rel).split("/").some((seg) => CARRY_SKIP_BASENAMES.has(seg));
|
|
409
409
|
}
|
|
410
410
|
function nativePath(path) {
|
|
411
411
|
return sep$1 === "/" ? path : path.replaceAll("/", sep$1);
|
|
@@ -634,6 +634,7 @@ function knownCopiedPaths(rel) {
|
|
|
634
634
|
const segments = rel.split("/");
|
|
635
635
|
const paths = [];
|
|
636
636
|
if (segments.at(-1) === "node_modules") paths.push(".pnpm-store", "expo-modules-jsi/apple/.DerivedData");
|
|
637
|
+
if (segments.at(-1) === ".expo") paths.push("types");
|
|
637
638
|
for (let covered = 1; covered < AUTOLINKING_PATH.length; covered++) if (AUTOLINKING_PATH.slice(0, covered).every((segment, i) => segments.at(i - covered) === segment)) paths.push(AUTOLINKING_PATH.slice(covered).join("/"));
|
|
638
639
|
return paths;
|
|
639
640
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as readSettingsPayload, l as settingEntry, o as layerFile, s as readSettingsContext, t as SettingsRefusal } from "./settings-payload-
|
|
2
|
-
import { i as unsetReplacedSetting, n as readScope, r as requireSetting, t as mutateSetting } from "./settings-write-
|
|
1
|
+
import { c as readSettingsPayload, l as settingEntry, o as layerFile, s as readSettingsContext, t as SettingsRefusal } from "./settings-payload-CUM0DYwz.mjs";
|
|
2
|
+
import { i as unsetReplacedSetting, n as readScope, r as requireSetting, t as mutateSetting } from "./settings-write-D_9_IEx7.mjs";
|
|
3
3
|
import { REPLACED_SETTINGS, SETTING_SCOPES } from "@stim-cli/core/state";
|
|
4
4
|
import chalk from "chalk";
|
|
5
5
|
//#region src/commands/settings.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { f as getConfigPath$1, g as getRepoSettings, h as getProjectSettings, v as loadConfig$1 } from "./config-
|
|
2
|
-
import { a as killOnAbort, i as gitPath } from "./operation-exec-
|
|
3
|
-
import { K as removedMachineSettings, V as readCommittedSettings, st as unknownSettingKeys } from "./settings-
|
|
4
|
-
import { r as findCommandWorkspaceAsync } from "./project-
|
|
5
|
-
import { i as stimDesktopInstalledAsync, n as settingDefault, r as stimDesktopInstalled } from "./stim-desktop-
|
|
1
|
+
import { f as getConfigPath$1, g as getRepoSettings, h as getProjectSettings, v as loadConfig$1 } from "./config-CNmN-ndb.mjs";
|
|
2
|
+
import { a as killOnAbort, i as gitPath } from "./operation-exec-DNynwpqO.mjs";
|
|
3
|
+
import { K as removedMachineSettings, V as readCommittedSettings, st as unknownSettingKeys } from "./settings-Ag4pbs0z.mjs";
|
|
4
|
+
import { r as findCommandWorkspaceAsync } from "./project-BCtQz48d.mjs";
|
|
5
|
+
import { i as stimDesktopInstalledAsync, n as settingDefault, r as stimDesktopInstalled } from "./stim-desktop-DWGAfaud.mjs";
|
|
6
6
|
import { join } from "node:path";
|
|
7
7
|
import { SETTINGS, SETTING_SCOPES, coerceSettingText, isJsonObject, replacementAdvice, settingDefinition, settingValueError } from "@stim-cli/core/state";
|
|
8
8
|
//#region src/workspace/settings-payload.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { p as withWorkspaceProcessLock } from "./exec-
|
|
2
|
-
import { A as withConfigLockAsync$1, M as writeConfigSettingAsync, f as getConfigPath$1 } from "./config-
|
|
3
|
-
import { t as NO_PROJECT_REFUSAL } from "./project-
|
|
4
|
-
import { i as stimDesktopInstalledAsync } from "./stim-desktop-
|
|
5
|
-
import { n as recordingLayers, t as deleteTurnedOffRecordings } from "./recordings-
|
|
6
|
-
import { d as unknownEntries, l as settingEntry, o as layerFile, r as committedDirectory, s as readSettingsContext, t as SettingsRefusal, u as settingExample } from "./settings-payload-
|
|
1
|
+
import { p as withWorkspaceProcessLock } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { A as withConfigLockAsync$1, M as writeConfigSettingAsync, f as getConfigPath$1 } from "./config-CNmN-ndb.mjs";
|
|
3
|
+
import { t as NO_PROJECT_REFUSAL } from "./project-BCtQz48d.mjs";
|
|
4
|
+
import { i as stimDesktopInstalledAsync } from "./stim-desktop-DWGAfaud.mjs";
|
|
5
|
+
import { n as recordingLayers, t as deleteTurnedOffRecordings } from "./recordings-BcOzqFD1.mjs";
|
|
6
|
+
import { d as unknownEntries, l as settingEntry, o as layerFile, r as committedDirectory, s as readSettingsContext, t as SettingsRefusal, u as settingExample } from "./settings-payload-CUM0DYwz.mjs";
|
|
7
7
|
import { existsSync, readFileSync, renameSync, unlinkSync, writeFileSync } from "node:fs";
|
|
8
8
|
import { join } from "node:path";
|
|
9
9
|
import { configDir } from "@stim-cli/core";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as operationState, D as ownership_claim_exports, S as isTermination, T as process_identity_exports, t as getExecutor } from "./exec-
|
|
1
|
+
import { C as operationState, D as ownership_claim_exports, S as isTermination, T as process_identity_exports, t as getExecutor } from "./exec-L37dbiIb.mjs";
|
|
2
2
|
import { n as stripAnsi, r as waitForChild, t as createLineReader } from "./process-output-Fpl8PYi8.mjs";
|
|
3
|
-
import { d as getConfigDir } from "./config-
|
|
3
|
+
import { d as getConfigDir } from "./config-CNmN-ndb.mjs";
|
|
4
4
|
import { join } from "node:path";
|
|
5
5
|
//#region src/engine/simslim.ts
|
|
6
6
|
async function reconcileSimSlim(options) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as readWorkspaceState$1 } from "./workspace-state-
|
|
2
|
-
import { gt as projectDeviceSlots, m as getProject, mt as parseDeviceSlotKey } from "./config-
|
|
3
|
-
import { A as getAvdNameForSerialAsync, P as listAdbDevicesAsync } from "./android-
|
|
4
|
-
import { Dn as deviceShellArg } from "./device-capacity-
|
|
5
|
-
import { y as fileLeaseIo } from "./activity-
|
|
6
|
-
import { f as listAllIosSimsAsync } from "./ios-
|
|
1
|
+
import { r as readWorkspaceState$1 } from "./workspace-state-DOPXG2Gp.mjs";
|
|
2
|
+
import { gt as projectDeviceSlots, m as getProject, mt as parseDeviceSlotKey } from "./config-CNmN-ndb.mjs";
|
|
3
|
+
import { A as getAvdNameForSerialAsync, P as listAdbDevicesAsync } from "./android-CGctfYpv.mjs";
|
|
4
|
+
import { Dn as deviceShellArg } from "./device-capacity-DWUOvY13.mjs";
|
|
5
|
+
import { y as fileLeaseIo } from "./activity-CdpXXSq2.mjs";
|
|
6
|
+
import { f as listAllIosSimsAsync } from "./ios-BveW7qK1.mjs";
|
|
7
7
|
import { hostedNativeRecords } from "@stim-cli/core/state";
|
|
8
8
|
//#region src/engine/slot-launch.ts
|
|
9
9
|
function launchSlotScope(root, slot = "default") {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as throwIfCancelled, t as getExecutor, w as withDrainingCancellation } from "./exec-
|
|
2
|
-
import { _t as runCancellationSignal } from "./toolchain-
|
|
1
|
+
import { d as throwIfCancelled, t as getExecutor, w as withDrainingCancellation } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { _t as runCancellationSignal } from "./toolchain-BeD7tbBW.mjs";
|
|
3
3
|
import { existsSync, lstatSync, promises, readdirSync, realpathSync, statSync } from "node:fs";
|
|
4
4
|
import { dirname, isAbsolute, join, relative, resolve, sep } from "node:path";
|
|
5
5
|
import { validMacosResourceDestination } from "@stim-cli/core";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as registerStart, c as startDevServer, d as supervisorSignalable, f as tailLines, i as readLogTail, l as startFacts, n as liveSupervisor, o as resolveWorkspaceMetroPort, p as wantsExpoOwnTunnel, r as parseWait, s as startCommand, t as failureEvidence, u as supervisorEntry } from "./start-
|
|
1
|
+
import { a as registerStart, c as startDevServer, d as supervisorSignalable, f as tailLines, i as readLogTail, l as startFacts, n as liveSupervisor, o as resolveWorkspaceMetroPort, p as wantsExpoOwnTunnel, r as parseWait, s as startCommand, t as failureEvidence, u as supervisorEntry } from "./start-CzBB5R7N.mjs";
|
|
2
2
|
export { startCommand as default, failureEvidence, liveSupervisor, parseWait, readLogTail, registerStart, resolveWorkspaceMetroPort, startDevServer, startFacts, supervisorEntry, supervisorSignalable, tailLines, wantsExpoOwnTunnel };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { D as ownership_claim_exports, T as process_identity_exports, c as waitForGroupExit, d as throwIfCancelled, f as WorkspaceProcessCleanupError, l as cancellableSleep, m as workspaceProcessLockError, o as groupExitBudgetMs, p as withWorkspaceProcessLock, t as getExecutor, w as withDrainingCancellation } from "./exec-
|
|
2
|
-
import { S as supervisorLogFile, _ as ensureWorkspaceStorage, i as recordWorkspaceUse, k as workspaceLogsDir$1, l as withWorkspaceStateLockAsync, n as clearWorkspaceStateKeys, r as readWorkspaceState$1, s as updateWorkspaceStateAsync, w as workspaceAgentDeviceDir } from "./workspace-state-
|
|
3
|
-
import { _ as stepTimer, l as phaseLine } from "./command-output-
|
|
4
|
-
import { A as withConfigLockAsync$1, O as upsertProject, S as releaseMetroPort, m as getProject } from "./config-
|
|
5
|
-
import { A as metroCommandSetting, B as publicUrlSetting, G as remoteIosSetting, I as ngrokUrlSetting, J as resolveCacheProviderConfig, M as metroIdleStopMinutesSetting, N as metroPortSetting, P as metroTunnelSettingError, U as remoteAndroidSetting, Y as resolveIosProjectDir, Z as resolveProjectSettingsAsync, _ as inertSettingWarning, a as SETTING_SHAPE_REMEDY, dt as detectProviders, ft as planMetroReach, h as deviceIdleShutdownMinutesSetting, j as metroCommandSettingError, m as defaultAndroidLayout, ot as tunnelModeSetting, p as cacheProviderSettingError, q as resolveAndroidLayout, rt as settingShapeErrors, st as unknownSettingKeys, ut as PUBLIC_METRO_ENV } from "./settings-
|
|
6
|
-
import { E as MODE_EXPO, M as readMetroTunnel, O as clearManagedMetroTunnel, S as readAppJson, T as MODE_COMMAND, c as projectProblem, i as findProjectRoot$1, t as NO_PROJECT_REFUSAL, v as detectIsExpo, w as MODE_BARE, x as readAppConfigText } from "./project-
|
|
7
|
-
import { a as workspaceLinkLine, o as workspaceLinks } from "./stim-desktop-
|
|
8
|
-
import { _ as PORT_INSPECTION_REMEDY, a as listeningPidsAsync, c as pidExists, d as resolveProjectMetro, f as signalProcessTree, g as reserveMetroPort, h as isMetroRunning, m as createPortProbe, u as processCwds, v as PortInspectionError } from "./metro-
|
|
1
|
+
import { D as ownership_claim_exports, T as process_identity_exports, c as waitForGroupExit, d as throwIfCancelled, f as WorkspaceProcessCleanupError, l as cancellableSleep, m as workspaceProcessLockError, o as groupExitBudgetMs, p as withWorkspaceProcessLock, t as getExecutor, w as withDrainingCancellation } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { S as supervisorLogFile, _ as ensureWorkspaceStorage, i as recordWorkspaceUse, k as workspaceLogsDir$1, l as withWorkspaceStateLockAsync, n as clearWorkspaceStateKeys, r as readWorkspaceState$1, s as updateWorkspaceStateAsync, w as workspaceAgentDeviceDir } from "./workspace-state-DOPXG2Gp.mjs";
|
|
3
|
+
import { _ as stepTimer, l as phaseLine } from "./command-output-ByEmIwur.mjs";
|
|
4
|
+
import { A as withConfigLockAsync$1, O as upsertProject, S as releaseMetroPort, m as getProject } from "./config-CNmN-ndb.mjs";
|
|
5
|
+
import { A as metroCommandSetting, B as publicUrlSetting, G as remoteIosSetting, I as ngrokUrlSetting, J as resolveCacheProviderConfig, M as metroIdleStopMinutesSetting, N as metroPortSetting, P as metroTunnelSettingError, U as remoteAndroidSetting, Y as resolveIosProjectDir, Z as resolveProjectSettingsAsync, _ as inertSettingWarning, a as SETTING_SHAPE_REMEDY, dt as detectProviders, ft as planMetroReach, h as deviceIdleShutdownMinutesSetting, j as metroCommandSettingError, m as defaultAndroidLayout, ot as tunnelModeSetting, p as cacheProviderSettingError, q as resolveAndroidLayout, rt as settingShapeErrors, st as unknownSettingKeys, ut as PUBLIC_METRO_ENV } from "./settings-Ag4pbs0z.mjs";
|
|
6
|
+
import { E as MODE_EXPO, M as readMetroTunnel, O as clearManagedMetroTunnel, S as readAppJson, T as MODE_COMMAND, c as projectProblem, i as findProjectRoot$1, t as NO_PROJECT_REFUSAL, v as detectIsExpo, w as MODE_BARE, x as readAppConfigText } from "./project-BCtQz48d.mjs";
|
|
7
|
+
import { a as workspaceLinkLine, o as workspaceLinks } from "./stim-desktop-DWGAfaud.mjs";
|
|
8
|
+
import { _ as PORT_INSPECTION_REMEDY, a as listeningPidsAsync, c as pidExists, d as resolveProjectMetro, f as signalProcessTree, g as reserveMetroPort, h as isMetroRunning, m as createPortProbe, u as processCwds, v as PortInspectionError } from "./metro-TIQ1Wft-.mjs";
|
|
9
9
|
import { a as levelRank } from "./ndjson-CrjIsGzw.mjs";
|
|
10
|
-
import { Hn as exitAfterFlush, V as stopOwnedMetroForReset, Wn as runProcessOperation, ar as remoteCliInvocation, er as readProjectConfig, k as budgetGate } from "./device-capacity-
|
|
11
|
-
import { C as stopTunnel, D as withManagedTunnelLock, S as startTunnelSequence, T as withManagedRemoteWorktreeLock, w as terminateChild, x as resolveSupervisorTarget } from "./workspaces-
|
|
12
|
-
import { i as restoreLightenedDependencies } from "./lightened-
|
|
10
|
+
import { Hn as exitAfterFlush, V as stopOwnedMetroForReset, Wn as runProcessOperation, ar as remoteCliInvocation, er as readProjectConfig, k as budgetGate } from "./device-capacity-DWUOvY13.mjs";
|
|
11
|
+
import { C as stopTunnel, D as withManagedTunnelLock, S as startTunnelSequence, T as withManagedRemoteWorktreeLock, w as terminateChild, x as resolveSupervisorTarget } from "./workspaces-DCzDzydB.mjs";
|
|
12
|
+
import { i as restoreLightenedDependencies } from "./lightened-Cdfmo8MO.mjs";
|
|
13
13
|
import { t as spawnEntry } from "./spawn-entry-jw19m8Nl.mjs";
|
|
14
|
-
import { n as windowsLauncherArgs } from "./detached-entry-
|
|
14
|
+
import { n as windowsLauncherArgs } from "./detached-entry-VqFeEE9W.mjs";
|
|
15
15
|
import { appendFileSync, closeSync, mkdirSync, openSync, readFileSync } from "node:fs";
|
|
16
16
|
import { dirname } from "node:path";
|
|
17
17
|
import { ambientContext, ambientEnv } from "@stim-cli/core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { D as ownership_claim_exports, T as process_identity_exports, f as WorkspaceProcessCleanupError, t as getExecutor } from "./exec-
|
|
2
|
-
import { E as workspaceDir, d as writeWorkspaceState, k as workspaceLogsDir$1, o as updateWorkspaceState, r as readWorkspaceState$1, t as clearWorkspaceStateKey } from "./workspace-state-
|
|
3
|
-
import { t as runOperationFile } from "./operation-exec-
|
|
4
|
-
import { c as pidExists } from "./metro-
|
|
1
|
+
import { D as ownership_claim_exports, T as process_identity_exports, f as WorkspaceProcessCleanupError, t as getExecutor } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { E as workspaceDir, d as writeWorkspaceState, k as workspaceLogsDir$1, o as updateWorkspaceState, r as readWorkspaceState$1, t as clearWorkspaceStateKey } from "./workspace-state-DOPXG2Gp.mjs";
|
|
3
|
+
import { t as runOperationFile } from "./operation-exec-DNynwpqO.mjs";
|
|
4
|
+
import { c as pidExists } from "./metro-TIQ1Wft-.mjs";
|
|
5
5
|
import { readFileSync, readlinkSync, rmSync } from "node:fs";
|
|
6
6
|
import { hostname } from "node:os";
|
|
7
7
|
import { join } from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as process_identity_exports } from "./exec-
|
|
2
|
-
import { E as workspaceDir, k as workspaceLogsDir$1, o as updateWorkspaceState, r as readWorkspaceState$1 } from "./workspace-state-
|
|
1
|
+
import { T as process_identity_exports } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { E as workspaceDir, k as workspaceLogsDir$1, o as updateWorkspaceState, r as readWorkspaceState$1 } from "./workspace-state-DOPXG2Gp.mjs";
|
|
3
3
|
import { existsSync } from "node:fs";
|
|
4
4
|
import { join } from "node:path";
|
|
5
5
|
import { readMacosRecord } from "@stim-cli/core/state";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { o as formatLongDuration } from "./command-output-
|
|
2
|
-
import { it as formatBytes } from "./config-
|
|
3
|
-
import { i as findProjectRoot$1 } from "./project-
|
|
4
|
-
import { i as getSwiftpmCacheUsage, n as swiftpmCacheLines, r as getAgentDeviceUsage, t as agentDeviceLines } from "./agent-device-usage-output-
|
|
5
|
-
import { t as readProjectStats } from "./stats-report-
|
|
1
|
+
import { o as formatLongDuration } from "./command-output-ByEmIwur.mjs";
|
|
2
|
+
import { it as formatBytes } from "./config-CNmN-ndb.mjs";
|
|
3
|
+
import { i as findProjectRoot$1 } from "./project-BCtQz48d.mjs";
|
|
4
|
+
import { i as getSwiftpmCacheUsage, n as swiftpmCacheLines, r as getAgentDeviceUsage, t as agentDeviceLines } from "./agent-device-usage-output-D0582GHy.mjs";
|
|
5
|
+
import { t as readProjectStats } from "./stats-report-Ci6TAfFm.mjs";
|
|
6
6
|
import { archivedUsage, readArchives } from "@stim-cli/core/state";
|
|
7
7
|
import chalk from "chalk";
|
|
8
8
|
//#region src/commands/stats.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as gitPath } from "./operation-exec-
|
|
1
|
+
import { i as gitPath } from "./operation-exec-DNynwpqO.mjs";
|
|
2
2
|
import { readStatsReport, statsProjectKey } from "@stim-cli/core/state";
|
|
3
3
|
//#region src/engine/stats-report.ts
|
|
4
4
|
/** The stats report for the project at `root`, keyed like the run recorders; Git runs with `env` and dies when `signal` aborts. */
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { T as process_identity_exports, t as getExecutor } from "./exec-
|
|
2
|
-
import { O as workspaceLogErrorIndex, k as workspaceLogsDir$1, r as readWorkspaceState$1 } from "./workspace-state-
|
|
3
|
-
import { a as formatElapsed, i as formatDuration, r as clockTime, u as plural } from "./command-output-
|
|
4
|
-
import { at as isAbsentPath, d as getConfigDir, ft as deviceSlotKey, gt as projectDeviceSlots, it as formatBytes, lt as volumeRootFor, mt as parseDeviceSlotKey, ot as isOnMountedVolume, p as getPlatformDeviceLimits, st as listMountedVolumes, u as getConcurrencyLimits, v as loadConfig$1 } from "./config-
|
|
5
|
-
import { s as gitAsync } from "./operation-exec-
|
|
6
|
-
import { Bt as repoRoot, Ct as gitCommonDirOnDisk, Ot as linkedWorktreesOnDisk, Q as resolveSettings, lt as workspaceHiddenSetting, xt as gitCommonDir } from "./settings-
|
|
7
|
-
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-
|
|
8
|
-
import { H as ownedAvdDeviceProfile, K as ownedAvdSerialResolver, N as listAdbDevices, P as listAdbDevicesAsync, bt as parkedMaxSetting, mt as POOL_SETTING_REMEDY, xt as readParked } from "./android-
|
|
9
|
-
import { c as pidExists, d as resolveProjectMetro, h as isMetroRunning, i as listeningPids, l as processCwd, o as listeningPidsByPort, u as processCwds } from "./metro-
|
|
1
|
+
import { T as process_identity_exports, t as getExecutor } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { O as workspaceLogErrorIndex, k as workspaceLogsDir$1, r as readWorkspaceState$1 } from "./workspace-state-DOPXG2Gp.mjs";
|
|
3
|
+
import { a as formatElapsed, i as formatDuration, r as clockTime, u as plural } from "./command-output-ByEmIwur.mjs";
|
|
4
|
+
import { at as isAbsentPath, d as getConfigDir, ft as deviceSlotKey, gt as projectDeviceSlots, it as formatBytes, lt as volumeRootFor, mt as parseDeviceSlotKey, ot as isOnMountedVolume, p as getPlatformDeviceLimits, st as listMountedVolumes, u as getConcurrencyLimits, v as loadConfig$1 } from "./config-CNmN-ndb.mjs";
|
|
5
|
+
import { s as gitAsync } from "./operation-exec-DNynwpqO.mjs";
|
|
6
|
+
import { Bt as repoRoot, Ct as gitCommonDirOnDisk, Ot as linkedWorktreesOnDisk, Q as resolveSettings, lt as workspaceHiddenSetting, xt as gitCommonDir } from "./settings-Ag4pbs0z.mjs";
|
|
7
|
+
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-BCtQz48d.mjs";
|
|
8
|
+
import { H as ownedAvdDeviceProfile, K as ownedAvdSerialResolver, N as listAdbDevices, P as listAdbDevicesAsync, bt as parkedMaxSetting, mt as POOL_SETTING_REMEDY, xt as readParked } from "./android-CGctfYpv.mjs";
|
|
9
|
+
import { c as pidExists, d as resolveProjectMetro, h as isMetroRunning, i as listeningPids, l as processCwd, o as listeningPidsByPort, u as processCwds } from "./metro-TIQ1Wft-.mjs";
|
|
10
10
|
import { o as parseNdjsonLine } from "./ndjson-CrjIsGzw.mjs";
|
|
11
|
-
import { Dr as readFootprints, Er as attributeMachineUsage, P as machineNumber, U as describeMetroLastStop, c as deviceSlotUsages, kn as hasMetroReverse, q as metroLastStop } from "./device-capacity-
|
|
12
|
-
import { a as readWebPage, o as readWebRecord, u as webFacts } from "./state-
|
|
13
|
-
import { A as poolLine, C as diskLine, D as loadLine, E as gitSummaryText, F as tightVolumes, I as unprovisionedWorktrees, L as withWebFacts, M as remoteDeviceState, N as slotUsageLines, O as metroReverseTargets, P as statusActivity, S as deviceLeaseStates, _ as addReverseMissingIssue, b as capacityLoad, g as activityLabel, j as remoteDeviceLine, k as parseDfFree, r as readEasSessionLedger$1, v as applyMachineMemory, w as environmentState, x as deviceLeaseLines, y as capacity } from "./eas-session-ledger-
|
|
14
|
-
import { Ct as buildSlotUsage, G as buildStatusLine, J as parseActiveBuild, K as bundlingActivity, U as activeBuildState, V as ACTIVE_BUILD_KEY, W as buildReport, at as readStats$1, lt as statsProjectKey$1, x as resolveSupervisorTarget } from "./workspaces-
|
|
15
|
-
import { a as createDeviceProcessTables, b as leaseIsExpired, h as tailLines, m as readWebActivity, r as createActivityReader, w as parseWorkspaceLeases, x as listLeaseFiles } from "./activity-
|
|
16
|
-
import { b as parseSimctlList, f as listAllIosSimsAsync } from "./ios-
|
|
17
|
-
import { m as probeHostedSession } from "./hosted-client-
|
|
18
|
-
import "./hosted-macos-
|
|
19
|
-
import { i as readSupervisorState } from "./stop-
|
|
20
|
-
import { l as applyStatusMeasures, n as workspacePhase, s as mergeState, u as createStatusMeasurer } from "./warm-progress-
|
|
21
|
-
import { r as workspaceRecordingEnabled } from "./recordings-
|
|
22
|
-
import { n as maintenanceLines, r as maintenanceStatus } from "./status-
|
|
23
|
-
import { d as readIosDevices, s as isReachable } from "./ios-device-
|
|
24
|
-
import { t as triggerMaintenance } from "./trigger-
|
|
25
|
-
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
|
|
11
|
+
import { Dr as readFootprints, Er as attributeMachineUsage, P as machineNumber, U as describeMetroLastStop, c as deviceSlotUsages, kn as hasMetroReverse, q as metroLastStop } from "./device-capacity-DWUOvY13.mjs";
|
|
12
|
+
import { a as readWebPage, o as readWebRecord, u as webFacts } from "./state-CfP-ccP8.mjs";
|
|
13
|
+
import { A as poolLine, C as diskLine, D as loadLine, E as gitSummaryText, F as tightVolumes, I as unprovisionedWorktrees, L as withWebFacts, M as remoteDeviceState, N as slotUsageLines, O as metroReverseTargets, P as statusActivity, S as deviceLeaseStates, _ as addReverseMissingIssue, b as capacityLoad, g as activityLabel, j as remoteDeviceLine, k as parseDfFree, r as readEasSessionLedger$1, v as applyMachineMemory, w as environmentState, x as deviceLeaseLines, y as capacity } from "./eas-session-ledger-TE1miVz5.mjs";
|
|
14
|
+
import { Ct as buildSlotUsage, G as buildStatusLine, J as parseActiveBuild, K as bundlingActivity, U as activeBuildState, V as ACTIVE_BUILD_KEY, W as buildReport, at as readStats$1, lt as statsProjectKey$1, x as resolveSupervisorTarget } from "./workspaces-DCzDzydB.mjs";
|
|
15
|
+
import { a as createDeviceProcessTables, b as leaseIsExpired, h as tailLines, m as readWebActivity, r as createActivityReader, w as parseWorkspaceLeases, x as listLeaseFiles } from "./activity-CdpXXSq2.mjs";
|
|
16
|
+
import { b as parseSimctlList, f as listAllIosSimsAsync } from "./ios-BveW7qK1.mjs";
|
|
17
|
+
import { m as probeHostedSession } from "./hosted-client-BLwuXEZS.mjs";
|
|
18
|
+
import "./hosted-macos-BnCYAv1y.mjs";
|
|
19
|
+
import { i as readSupervisorState } from "./stop-CkmBkNyg.mjs";
|
|
20
|
+
import { l as applyStatusMeasures, n as workspacePhase, s as mergeState, u as createStatusMeasurer } from "./warm-progress-CJQ8tk5O.mjs";
|
|
21
|
+
import { r as workspaceRecordingEnabled } from "./recordings-BcOzqFD1.mjs";
|
|
22
|
+
import { n as maintenanceLines, r as maintenanceStatus } from "./status-C2PdxK6q.mjs";
|
|
23
|
+
import { d as readIosDevices, s as isReachable } from "./ios-device-ByrDWSpC.mjs";
|
|
24
|
+
import { t as triggerMaintenance } from "./trigger-G_gbfIVB.mjs";
|
|
25
|
+
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-DY0EZcmg.mjs";
|
|
26
26
|
import { t as watchStdoutReader } from "./stdout-reader-C8yjre1x.mjs";
|
|
27
27
|
import { createHash, randomUUID } from "node:crypto";
|
|
28
28
|
import { mkdirSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { it as formatBytes } from "./config-
|
|
1
|
+
import { it as formatBytes } from "./config-CNmN-ndb.mjs";
|
|
2
2
|
import { t as resolveMaintenanceSettings } from "./settings-D9LtQaUw.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-Bcdy5eHt.mjs";
|
|
2
2
|
export { statusCommand as default, readVolumes, runStatusWatch };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as getExecutor } from "./exec-
|
|
2
|
-
import { d as androidToolPath } from "./android-
|
|
3
|
-
import { c as pidExists } from "./metro-
|
|
4
|
-
import { n as easMachineStateRoot } from "./eas-session-ledger-
|
|
5
|
-
import { b as parseSimctlList } from "./ios-
|
|
1
|
+
import { t as getExecutor } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { d as androidToolPath } from "./android-CGctfYpv.mjs";
|
|
3
|
+
import { c as pidExists } from "./metro-TIQ1Wft-.mjs";
|
|
4
|
+
import { n as easMachineStateRoot } from "./eas-session-ledger-TE1miVz5.mjs";
|
|
5
|
+
import { b as parseSimctlList } from "./ios-BveW7qK1.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
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as getExecutor } from "./exec-
|
|
2
|
-
import { c as ensureConfig, w as saveConfig } from "./config-
|
|
1
|
+
import { t as getExecutor } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { c as ensureConfig, w as saveConfig } from "./config-CNmN-ndb.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,8 +1,8 @@
|
|
|
1
|
-
import { D as ownership_claim_exports, T as process_identity_exports, p as withWorkspaceProcessLock } from "./exec-
|
|
2
|
-
import { E as workspaceDir, d as writeWorkspaceState, l as withWorkspaceStateLockAsync } from "./workspace-state-
|
|
3
|
-
import { a as macosRuntimeClaim, o as requiredMacosRecord } from "./state-
|
|
4
|
-
import { A as runningBundleInstancesAsync, j as runningInstancesInAsync, k as hostedBundleDirs } from "./workspaces-
|
|
5
|
-
import { n as stopHostedMacos } from "./hosted-macos-
|
|
1
|
+
import { D as ownership_claim_exports, T as process_identity_exports, p as withWorkspaceProcessLock } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { E as workspaceDir, d as writeWorkspaceState, l as withWorkspaceStateLockAsync } from "./workspace-state-DOPXG2Gp.mjs";
|
|
3
|
+
import { a as macosRuntimeClaim, o as requiredMacosRecord } from "./state-DsrFh3yv.mjs";
|
|
4
|
+
import { A as runningBundleInstancesAsync, j as runningInstancesInAsync, k as hostedBundleDirs } from "./workspaces-DCzDzydB.mjs";
|
|
5
|
+
import { n as stopHostedMacos } from "./hosted-macos-BnCYAv1y.mjs";
|
|
6
6
|
import { readMacosRecord } from "@stim-cli/core/state";
|
|
7
7
|
//#region src/macos/stop.ts
|
|
8
8
|
const APP_EXIT_MS = 5e3;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { D as ownership_claim_exports, E as debugLog, T as process_identity_exports, f as WorkspaceProcessCleanupError, p as withWorkspaceProcessLock } from "./exec-
|
|
2
|
-
import { E as workspaceDir, c as withWorkspaceStateLock, d as writeWorkspaceState, l as withWorkspaceStateLockAsync, n as clearWorkspaceStateKeys, r as readWorkspaceState$1, s as updateWorkspaceStateAsync } from "./workspace-state-
|
|
3
|
-
import { f as refuseNoProject, l as phaseLine, p as releasedLeaseFact, u as plural } from "./command-output-
|
|
4
|
-
import { A as withConfigLockAsync$1, O as upsertProject, gt as projectDeviceSlots, ht as parseDeviceSlotOption, m as getProject, mt as parseDeviceSlotKey, o as clearSupervisor, pt as deviceSlotPlatforms, vt as validateDeviceSlot } from "./config-
|
|
5
|
-
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-
|
|
6
|
-
import { t as macosAppPresent } from "./state-
|
|
7
|
-
import { nt as removeOwnedEmulatorMetroReverses } from "./android-
|
|
8
|
-
import { a as listeningPidsAsync, c as pidExists, d as resolveProjectMetro, h as isMetroRunning, p as signalProcessTreeAsync, r as killMetroTreeAsync, u as processCwds } from "./metro-
|
|
9
|
-
import { J as requestDevServerStop, K as logVanishedSupervisor, X as withdrawDevServerStopRequest, Yt as endRecordedSession, tr as resolveEasCliBin } from "./device-capacity-
|
|
10
|
-
import { C as stopTunnel, ht as teardownOwnedIosSim, mt as teardownOwnedBrowser, pt as teardownOwnedAvd, x as resolveSupervisorTarget } from "./workspaces-
|
|
11
|
-
import { ct as NATIVE_RUN_WAIT_MS, dt as decideStopAction, ft as describeNativeRunHolder, ht as requestNativeRunCancel, mt as nativeRunWaitNotice, pt as nativeRunHolder, st as NATIVE_RUN_LOCK, ut as clearNativeRunCancel } from "./toolchain-
|
|
12
|
-
import { O as releaseWorkspaceLeasesAsync, y as fileLeaseIo } from "./activity-
|
|
13
|
-
import { i as stopHostedAndroid } from "./hosted-android-
|
|
14
|
-
import { a as stopHostedIos, n as removePhoneReverses } from "./phone-reverses-
|
|
15
|
-
import { r as stopMacosApp } from "./stop-
|
|
16
|
-
import { n as verifyCollectorOwnership } from "./ownership-
|
|
1
|
+
import { D as ownership_claim_exports, E as debugLog, T as process_identity_exports, f as WorkspaceProcessCleanupError, p as withWorkspaceProcessLock } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { E as workspaceDir, c as withWorkspaceStateLock, d as writeWorkspaceState, l as withWorkspaceStateLockAsync, n as clearWorkspaceStateKeys, r as readWorkspaceState$1, s as updateWorkspaceStateAsync } from "./workspace-state-DOPXG2Gp.mjs";
|
|
3
|
+
import { f as refuseNoProject, l as phaseLine, p as releasedLeaseFact, u as plural } from "./command-output-ByEmIwur.mjs";
|
|
4
|
+
import { A as withConfigLockAsync$1, O as upsertProject, gt as projectDeviceSlots, ht as parseDeviceSlotOption, m as getProject, mt as parseDeviceSlotKey, o as clearSupervisor, pt as deviceSlotPlatforms, vt as validateDeviceSlot } from "./config-CNmN-ndb.mjs";
|
|
5
|
+
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-BCtQz48d.mjs";
|
|
6
|
+
import { t as macosAppPresent } from "./state-DsrFh3yv.mjs";
|
|
7
|
+
import { nt as removeOwnedEmulatorMetroReverses } from "./android-CGctfYpv.mjs";
|
|
8
|
+
import { a as listeningPidsAsync, c as pidExists, d as resolveProjectMetro, h as isMetroRunning, p as signalProcessTreeAsync, r as killMetroTreeAsync, u as processCwds } from "./metro-TIQ1Wft-.mjs";
|
|
9
|
+
import { J as requestDevServerStop, K as logVanishedSupervisor, X as withdrawDevServerStopRequest, Yt as endRecordedSession, tr as resolveEasCliBin } from "./device-capacity-DWUOvY13.mjs";
|
|
10
|
+
import { C as stopTunnel, ht as teardownOwnedIosSim, mt as teardownOwnedBrowser, pt as teardownOwnedAvd, x as resolveSupervisorTarget } from "./workspaces-DCzDzydB.mjs";
|
|
11
|
+
import { ct as NATIVE_RUN_WAIT_MS, dt as decideStopAction, ft as describeNativeRunHolder, ht as requestNativeRunCancel, mt as nativeRunWaitNotice, pt as nativeRunHolder, st as NATIVE_RUN_LOCK, ut as clearNativeRunCancel } from "./toolchain-BeD7tbBW.mjs";
|
|
12
|
+
import { O as releaseWorkspaceLeasesAsync, y as fileLeaseIo } from "./activity-CdpXXSq2.mjs";
|
|
13
|
+
import { i as stopHostedAndroid } from "./hosted-android-D8JbIzgC.mjs";
|
|
14
|
+
import { a as stopHostedIos, n as removePhoneReverses } from "./phone-reverses-CHtco460.mjs";
|
|
15
|
+
import { r as stopMacosApp } from "./stop-CbxsTKyZ.mjs";
|
|
16
|
+
import { n as verifyCollectorOwnership } from "./ownership-CQTg6v1d.mjs";
|
|
17
17
|
import { hostedAndroidDeviceName, hostedAndroidRecords, hostedIosRecords, hostedNativeRecords, isJsonObject, parseHostedNativePlacement } from "@stim-cli/core/state";
|
|
18
18
|
import chalk from "chalk";
|
|
19
19
|
//#region src/commands/stop.ts
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { x 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 { x as resolveSupervisorTarget } from "./workspaces-DCzDzydB.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-CkmBkNyg.mjs";
|
|
3
3
|
export { clearCollectorState, clearSupervisorState, stopCommand as default, readCollectorState, readSupervisorState, resolveCollectorTargets, resolveSupervisorTarget, runStop, stopWorkspaceNow };
|
package/dist/supervisor-run.mjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { T as process_identity_exports, p as withWorkspaceProcessLock } from "./exec-
|
|
2
|
-
import { c as withWorkspaceStateLock, d as writeWorkspaceState, j as workspaceStateFile$1, k as workspaceLogsDir$1, n as clearWorkspaceStateKeys, o as updateWorkspaceState, r as readWorkspaceState$1 } from "./workspace-state-
|
|
3
|
-
import { E as setSupervisor, W as parseMachine$1, gt as projectDeviceSlots, m as getProject, mt as parseDeviceSlotKey, o as clearSupervisor } from "./config-
|
|
4
|
-
import { $ as runnableMetroCommand, X as resolveProjectSettings } from "./settings-
|
|
5
|
-
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-
|
|
6
|
-
import { K as ownedAvdSerialResolver } from "./android-
|
|
1
|
+
import { T as process_identity_exports, p as withWorkspaceProcessLock } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { c as withWorkspaceStateLock, d as writeWorkspaceState, j as workspaceStateFile$1, k as workspaceLogsDir$1, n as clearWorkspaceStateKeys, o as updateWorkspaceState, r as readWorkspaceState$1 } from "./workspace-state-DOPXG2Gp.mjs";
|
|
3
|
+
import { E as setSupervisor, W as parseMachine$1, gt as projectDeviceSlots, m as getProject, mt as parseDeviceSlotKey, o as clearSupervisor } from "./config-CNmN-ndb.mjs";
|
|
4
|
+
import { $ as runnableMetroCommand, X as resolveProjectSettings } from "./settings-Ag4pbs0z.mjs";
|
|
5
|
+
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-BCtQz48d.mjs";
|
|
6
|
+
import { K as ownedAvdSerialResolver } from "./android-CGctfYpv.mjs";
|
|
7
7
|
import { i as createNdjsonWriter } from "./ndjson-CrjIsGzw.mjs";
|
|
8
|
-
import { G as devServerStopRecord, H as describeDevServerStop, W as devServerStopLevel, Y as vanishedSupervisorMessage, b as shutDownIdleDevices, y as dueIdleDevices } from "./device-capacity-
|
|
9
|
-
import { d as parseWatchRoots, l as parseSubscriberNames, m as runWatchman, u as parseTriggerCount } from "./eas-session-ledger-
|
|
10
|
-
import { B as workspaceBuildInProgress, v as withIdleWorkspace } from "./workspaces-
|
|
11
|
-
import { S as parseLease, _ as workspaceDeviceLastUseAt, b as leaseIsExpired, r as createActivityReader, v as deviceLeasePath, w as parseWorkspaceLeases } from "./activity-
|
|
8
|
+
import { G as devServerStopRecord, H as describeDevServerStop, W as devServerStopLevel, Y as vanishedSupervisorMessage, b as shutDownIdleDevices, y as dueIdleDevices } from "./device-capacity-DWUOvY13.mjs";
|
|
9
|
+
import { d as parseWatchRoots, l as parseSubscriberNames, m as runWatchman, u as parseTriggerCount } from "./eas-session-ledger-TE1miVz5.mjs";
|
|
10
|
+
import { B as workspaceBuildInProgress, v as withIdleWorkspace } from "./workspaces-DCzDzydB.mjs";
|
|
11
|
+
import { S as parseLease, _ as workspaceDeviceLastUseAt, b as leaseIsExpired, r as createActivityReader, v as deviceLeasePath, w as parseWorkspaceLeases } from "./activity-CdpXXSq2.mjs";
|
|
12
12
|
import { t as describeError } from "./errors-DHm_U5gv.mjs";
|
|
13
|
-
import { f as hostConnector, m as probeHostedSession } from "./hosted-client-
|
|
14
|
-
import { s as watchWorkspaceState, t as clearHostedMetro } from "./metro-request-
|
|
15
|
-
import { t as relaunchWithLogFile } from "./detached-entry-
|
|
16
|
-
import { t as triggerMaintenance } from "./trigger-
|
|
13
|
+
import { f as hostConnector, m as probeHostedSession } from "./hosted-client-BLwuXEZS.mjs";
|
|
14
|
+
import { s as watchWorkspaceState, t as clearHostedMetro } from "./metro-request-DcUxyaq8.mjs";
|
|
15
|
+
import { t as relaunchWithLogFile } from "./detached-entry-VqFeEE9W.mjs";
|
|
16
|
+
import { t as triggerMaintenance } from "./trigger-G_gbfIVB.mjs";
|
|
17
17
|
import { existsSync, readFileSync, realpathSync, statSync } from "node:fs";
|
|
18
18
|
import { dirname, isAbsolute, join, resolve, sep } from "node:path";
|
|
19
19
|
import { LOG_ROTATE_BYTES } from "@stim-cli/core";
|
|
@@ -893,7 +893,7 @@ async function runSupervisor({ root, port, tunnel = false, resetCache = false, i
|
|
|
893
893
|
try {
|
|
894
894
|
let start;
|
|
895
895
|
if (command) {
|
|
896
|
-
const startServer = startCommand ?? (await import("./server-command-
|
|
896
|
+
const startServer = startCommand ?? (await import("./server-command-BO2DIsJV.mjs")).startCommandServer;
|
|
897
897
|
start = (opts) => startServer({
|
|
898
898
|
...opts,
|
|
899
899
|
command
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { C as operationState, D as ownership_claim_exports, l as cancellableSleep, n as isTimeoutError, p as withWorkspaceProcessLock, r as reportSignal, t as getExecutor } from "./exec-
|
|
2
|
-
import { D as workspaceId$1, M as withDirLock$1, k as workspaceLogsDir$1 } from "./workspace-state-
|
|
3
|
-
import { a as formatElapsed, h as shortUdid, l as phaseLine, r as clockTime } from "./command-output-
|
|
4
|
-
import { $ as notOnTailnetDiagnosis, A as withConfigLockAsync$1, B as findPeer$1, G as reachMachine, I as diagnoseOutcome, K as realIo, L as diagnoseTailscale, Q as diagnosisFinding, T as setDevice, U as outdatedServer, W as parseMachine$1, X as tailscaleStatusAsync, Y as setupRemedy, Z as diagnoseLocalUnreachable, a as clearDevice, d as getConfigDir, et as unconfirmedKeyFinding, ft as deviceSlotKey, gt as projectDeviceSlots, pt as deviceSlotPlatforms, tt as readHostPermissions, v as loadConfig$1, w as saveConfig, z as endpoint$1 } from "./config-
|
|
5
|
-
import { D as iosSimSlimProfileSetting, E as iosSimSlimDefaultSetting, _ as inertSettingWarning, a as SETTING_SHAPE_REMEDY, b as iosProjectDirSetting, p as cacheProviderSettingError, rt as settingShapeErrors, st as unknownSettingKeys, x as iosProjectDirSettingError } from "./settings-
|
|
6
|
-
import { Ct as selectParked, bt as parkedMaxSetting, gt as dropParked, ht as adoptParked, xt as readParked } from "./android-
|
|
1
|
+
import { C as operationState, D as ownership_claim_exports, l as cancellableSleep, n as isTimeoutError, p as withWorkspaceProcessLock, r as reportSignal, t as getExecutor } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { D as workspaceId$1, M as withDirLock$1, k as workspaceLogsDir$1 } from "./workspace-state-DOPXG2Gp.mjs";
|
|
3
|
+
import { a as formatElapsed, h as shortUdid, l as phaseLine, r as clockTime } from "./command-output-ByEmIwur.mjs";
|
|
4
|
+
import { $ as notOnTailnetDiagnosis, A as withConfigLockAsync$1, B as findPeer$1, G as reachMachine, I as diagnoseOutcome, K as realIo, L as diagnoseTailscale, Q as diagnosisFinding, T as setDevice, U as outdatedServer, W as parseMachine$1, X as tailscaleStatusAsync, Y as setupRemedy, Z as diagnoseLocalUnreachable, a as clearDevice, d as getConfigDir, et as unconfirmedKeyFinding, ft as deviceSlotKey, gt as projectDeviceSlots, pt as deviceSlotPlatforms, tt as readHostPermissions, v as loadConfig$1, w as saveConfig, z as endpoint$1 } from "./config-CNmN-ndb.mjs";
|
|
5
|
+
import { D as iosSimSlimProfileSetting, E as iosSimSlimDefaultSetting, _ as inertSettingWarning, a as SETTING_SHAPE_REMEDY, b as iosProjectDirSetting, p as cacheProviderSettingError, rt as settingShapeErrors, st as unknownSettingKeys, x as iosProjectDirSettingError } from "./settings-Ag4pbs0z.mjs";
|
|
6
|
+
import { Ct as selectParked, bt as parkedMaxSetting, gt as dropParked, ht as adoptParked, xt as readParked } from "./android-CGctfYpv.mjs";
|
|
7
7
|
import { i as createNdjsonWriter } from "./ndjson-CrjIsGzw.mjs";
|
|
8
|
-
import { _ as withDeviceBootAdmission, _n as APP_READINESS_TIMEOUT_MS, f as runtimeMismatch, g as unknownIosRuntimeRefusal, h as unknownIosDeviceTypeRefusal, l as deviceTypeMismatch, n as DeviceAdmissionRefusal, on as MANIFEST_VERIFY_TIMEOUT_MS, t as DEFAULT_DEVICE_SLOT_WAIT_MS, u as layerNote } from "./device-capacity-
|
|
9
|
-
import { _t as teardownParkedIosSim, ht as teardownOwnedIosSim } from "./workspaces-
|
|
10
|
-
import { J as describeDiagnostic, s as cocoapodsInstall } from "./toolchain-
|
|
11
|
-
import { E as releaseRunLease, S as parseLease, T as raiseLease, b as leaseIsExpired, j as takeLease, v as deviceLeasePath, y as fileLeaseIo } from "./activity-
|
|
12
|
-
import { A as springBoardRunning, B as reportMemoryCulprits, C as renameIosSim, D as resolveOwnedIosSim, E as resolveIosCreation, F as hostMemoryPressureAdvice, M as waitForSpringBoard, N as configuredIosSimulatorViewer, P as parseIosSimulatorApp, R as readHostMemoryPressure, S as readSpringBoardPid, T as resetIosPrivacy, _ as ownedSimName, a as createOwnedIosSim, d as listAllIosSims, f as listAllIosSimsAsync, h as listIosRuntimesAsync, n as bootIosSim, p as listIosDeviceTypesAsync, u as iosSimulatorFailureAdvice, w as resetIosKeychain, y as parseRuntimeVersion } from "./ios-
|
|
8
|
+
import { _ as withDeviceBootAdmission, _n as APP_READINESS_TIMEOUT_MS, f as runtimeMismatch, g as unknownIosRuntimeRefusal, h as unknownIosDeviceTypeRefusal, l as deviceTypeMismatch, n as DeviceAdmissionRefusal, on as MANIFEST_VERIFY_TIMEOUT_MS, t as DEFAULT_DEVICE_SLOT_WAIT_MS, u as layerNote } from "./device-capacity-DWUOvY13.mjs";
|
|
9
|
+
import { _t as teardownParkedIosSim, ht as teardownOwnedIosSim } from "./workspaces-DCzDzydB.mjs";
|
|
10
|
+
import { J as describeDiagnostic, s as cocoapodsInstall } from "./toolchain-BeD7tbBW.mjs";
|
|
11
|
+
import { E as releaseRunLease, S as parseLease, T as raiseLease, b as leaseIsExpired, j as takeLease, v as deviceLeasePath, y as fileLeaseIo } from "./activity-CdpXXSq2.mjs";
|
|
12
|
+
import { A as springBoardRunning, B as reportMemoryCulprits, C as renameIosSim, D as resolveOwnedIosSim, E as resolveIosCreation, F as hostMemoryPressureAdvice, M as waitForSpringBoard, N as configuredIosSimulatorViewer, P as parseIosSimulatorApp, R as readHostMemoryPressure, S as readSpringBoardPid, T as resetIosPrivacy, _ as ownedSimName, a as createOwnedIosSim, d as listAllIosSims, f as listAllIosSimsAsync, h as listIosRuntimesAsync, n as bootIosSim, p as listIosDeviceTypesAsync, u as iosSimulatorFailureAdvice, w as resetIosKeychain, y as parseRuntimeVersion } from "./ios-BveW7qK1.mjs";
|
|
13
13
|
import { p as resolveOptimizations } from "./errors-DHm_U5gv.mjs";
|
|
14
14
|
import { releaseClaim, tryAcquireClaim } from "@stim-cli/core/ownership-claim";
|
|
15
15
|
import { createHash } from "node:crypto";
|
|
@@ -1988,10 +1988,9 @@ function ownedSimFailure(error) {
|
|
|
1988
1988
|
function isReleaseConfiguration(configuration) {
|
|
1989
1989
|
return typeof configuration === "string" && configuration.trim() !== "" && configuration.trim().toLowerCase() !== "debug";
|
|
1990
1990
|
}
|
|
1991
|
-
function simulatorBuildArch({ physical, remoteArch, hostArch
|
|
1991
|
+
function simulatorBuildArch({ physical, remoteArch, hostArch }) {
|
|
1992
1992
|
if (physical) return null;
|
|
1993
|
-
|
|
1994
|
-
return isReleaseConfiguration(configuration) ? null : hostArch;
|
|
1993
|
+
return remoteArch ?? hostArch;
|
|
1995
1994
|
}
|
|
1996
1995
|
function iosProviderRunOptions(configuration, arch) {
|
|
1997
1996
|
if (arch) return {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as getExecutor } from "./exec-
|
|
2
|
-
import { a as killOnAbort } from "./operation-exec-
|
|
3
|
-
import { D as extractEmulatorFailure, E as emulatorProbeSession, O as findBuildTool, Q as pickDefaultSystemImage, T as emulatorFailureRemedy, c as androidPoolNoCandidatesRefusal, et as profileNeedsFoldFeature, j as hostSystemImageArch, l as androidSystemImageAbi, o as androidHome, s as androidPoolCandidates, w as emulatorDiskSpaceRemedy } from "./android-
|
|
4
|
-
import { m as unknownAndroidSystemImageRefusal, p as unknownAndroidDeviceProfileRefusal, u as layerNote } from "./device-capacity-
|
|
5
|
-
import { Q as pickDevClientScheme } from "./toolchain-
|
|
6
|
-
import { n as decideSystemImage } from "./android-image-
|
|
7
|
-
import { t as devClientScheme } from "./dev-client-
|
|
1
|
+
import { t as getExecutor } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { a as killOnAbort } from "./operation-exec-DNynwpqO.mjs";
|
|
3
|
+
import { D as extractEmulatorFailure, E as emulatorProbeSession, O as findBuildTool, Q as pickDefaultSystemImage, T as emulatorFailureRemedy, c as androidPoolNoCandidatesRefusal, et as profileNeedsFoldFeature, j as hostSystemImageArch, l as androidSystemImageAbi, o as androidHome, s as androidPoolCandidates, w as emulatorDiskSpaceRemedy } from "./android-CGctfYpv.mjs";
|
|
4
|
+
import { m as unknownAndroidSystemImageRefusal, p as unknownAndroidDeviceProfileRefusal, u as layerNote } from "./device-capacity-DWUOvY13.mjs";
|
|
5
|
+
import { Q as pickDevClientScheme } from "./toolchain-BeD7tbBW.mjs";
|
|
6
|
+
import { n as decideSystemImage } from "./android-image-DY8KxK2m.mjs";
|
|
7
|
+
import { t as devClientScheme } from "./dev-client-3SQzMRXZ.mjs";
|
|
8
8
|
import { existsSync, readFileSync, readdirSync } from "node:fs";
|
|
9
9
|
import { relative } from "node:path";
|
|
10
10
|
//#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-L37dbiIb.mjs";
|
|
2
|
+
import { s as gitAsync } from "./operation-exec-DNynwpqO.mjs";
|
|
3
|
+
import { n as buildCacheKey } from "./build-cache-Dt-dhCJF.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-D2ZfiQ6U.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,15 +1,15 @@
|
|
|
1
|
-
import { a as trackReportResource, b as spawnDeclared, t as getExecutor } from "./exec-
|
|
2
|
-
import { y as sharedBuildCache } from "./workspace-state-
|
|
3
|
-
import { J as resolveCacheProviderConfig, Vt as repoRootAsync, it as settingValueAt, z as projectSettingsContextAsync } from "./settings-
|
|
4
|
-
import { r as register } from "./cache-manifest-
|
|
5
|
-
import { _t as runCancellationSignal, h as macosToolchainAsync } from "./toolchain-
|
|
6
|
-
import "./build-cache-
|
|
1
|
+
import { a as trackReportResource, b as spawnDeclared, t as getExecutor } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { y as sharedBuildCache } from "./workspace-state-DOPXG2Gp.mjs";
|
|
3
|
+
import { J as resolveCacheProviderConfig, Vt as repoRootAsync, it as settingValueAt, z as projectSettingsContextAsync } from "./settings-Ag4pbs0z.mjs";
|
|
4
|
+
import { r as register } from "./cache-manifest-BO0TIcPV.mjs";
|
|
5
|
+
import { _t as runCancellationSignal, h as macosToolchainAsync } from "./toolchain-BeD7tbBW.mjs";
|
|
6
|
+
import "./build-cache-Dt-dhCJF.mjs";
|
|
7
7
|
import { l as artifactCachePolicy, p as resolveOptimizations } from "./errors-DHm_U5gv.mjs";
|
|
8
|
-
import { r as nativeFileDigest } from "./native-source-
|
|
9
|
-
import { a as validateInfoPlist, i as stageBundle, n as resolveBundleExtras, r as setBundleName, t as reidentifyBundle } from "./stage-
|
|
10
|
-
import { t as validateMacosArtifactPlatform } from "./artifact-platform-
|
|
11
|
-
import { t as logLines } from "./run-
|
|
12
|
-
import { n as swiftpmArtifactInputs, r as swiftpmArtifactSnapshot, t as readSwiftpmArtifactToolchain } from "./swiftpm-artifact-inputs-
|
|
8
|
+
import { r as nativeFileDigest } from "./native-source-D2ZfiQ6U.mjs";
|
|
9
|
+
import { a as validateInfoPlist, i as stageBundle, n as resolveBundleExtras, r as setBundleName, t as reidentifyBundle } from "./stage-_8k8p7uq.mjs";
|
|
10
|
+
import { t as validateMacosArtifactPlatform } from "./artifact-platform-BaGL1i1X.mjs";
|
|
11
|
+
import { t as logLines } from "./run-FZtMQgrx.mjs";
|
|
12
|
+
import { n as swiftpmArtifactInputs, r as swiftpmArtifactSnapshot, t as readSwiftpmArtifactToolchain } from "./swiftpm-artifact-inputs-C1rZDRDs.mjs";
|
|
13
13
|
import { createHash } from "node:crypto";
|
|
14
14
|
import { createReadStream, createWriteStream, existsSync, realpathSync } from "node:fs";
|
|
15
15
|
import { tmpdir } from "node:os";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { C as operationState, D as ownership_claim_exports, S as isTermination, _ as declareSpawnsOn, b as spawnDeclared, g as allowDeclaredSpawns, p as withWorkspaceProcessLock, t as getExecutor, v as refuseDeclaredSpawns, x as stopDeclaringSpawnsOn, y as signalDeclaredSpawns } from "./exec-
|
|
2
|
-
import { E as workspaceDir, T as workspaceDerivedData, l as withWorkspaceStateLockAsync, o as updateWorkspaceState, r as readWorkspaceState$1, t as clearWorkspaceStateKey } from "./workspace-state-
|
|
1
|
+
import { C as operationState, D as ownership_claim_exports, S as isTermination, _ as declareSpawnsOn, b as spawnDeclared, g as allowDeclaredSpawns, p as withWorkspaceProcessLock, t as getExecutor, v as refuseDeclaredSpawns, x as stopDeclaringSpawnsOn, y as signalDeclaredSpawns } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { E as workspaceDir, T as workspaceDerivedData, l as withWorkspaceStateLockAsync, o as updateWorkspaceState, r as readWorkspaceState$1, t as clearWorkspaceStateKey } from "./workspace-state-DOPXG2Gp.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 { a as killOnAbort } from "./operation-exec-
|
|
6
|
-
import { o as androidHome } from "./android-
|
|
4
|
+
import { a as formatElapsed, l as phaseLine } from "./command-output-ByEmIwur.mjs";
|
|
5
|
+
import { a as killOnAbort } from "./operation-exec-DNynwpqO.mjs";
|
|
6
|
+
import { o as androidHome } from "./android-CGctfYpv.mjs";
|
|
7
7
|
import { t as canonicalPath } from "./paths-BsJMoPP2.mjs";
|
|
8
8
|
import { p as resolveOptimizations } from "./errors-DHm_U5gv.mjs";
|
|
9
|
-
import { t as cleanLine } from "./server-expo-
|
|
9
|
+
import { t as cleanLine } from "./server-expo-ZS9_WaNG.mjs";
|
|
10
10
|
import { createRequire } from "node:module";
|
|
11
11
|
import { X509Certificate, createHash } from "node:crypto";
|
|
12
12
|
import { existsSync, mkdirSync, mkdtempSync, readFileSync, readdirSync, realpathSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { h as macosToolchainAsync, m as macosToolchain } from "./toolchain-
|
|
1
|
+
import { h as macosToolchainAsync, m as macosToolchain } from "./toolchain-BeD7tbBW.mjs";
|
|
2
2
|
export { macosToolchain, macosToolchainAsync };
|