stim 1.24.0 → 1.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{acquire-artifact-CEs02U2o.mjs → acquire-artifact-zA4S7RHE.mjs} +1 -1
- package/dist/{act-Cyvm8xYc.mjs → act-BbHS3oV8.mjs} +12 -12
- package/dist/{activity-Dq3ZcdD8.mjs → activity-BpjwrQXU.mjs} +3 -3
- package/dist/{agent-device-usage-output-CccomeE0.mjs → agent-device-usage-output-Bnkerfod.mjs} +3 -3
- package/dist/{android-BZppyPe_.mjs → android-BGwuK3Mc.mjs} +41 -36
- package/dist/{android-DcztblCT.mjs → android-CNZgRC-4.mjs} +5 -5
- package/dist/{android-882m4hxX.mjs → android-Cjcj8MCw.mjs} +2 -2
- package/dist/{android-cas-BtCOrNqb.mjs → android-cas-BVqh2Zep.mjs} +1 -1
- package/dist/{android-project-DVWyCbWU.d.mts → android-project-CTYaETc0.d.mts} +6 -2
- package/dist/{android-CX5IcRuf.mjs → android-saBeB4lr.mjs} +1 -1
- package/dist/api.d.mts +1 -1
- package/dist/api.mjs +22 -22
- package/dist/{artifact-BR5VNArK.mjs → artifact-Co8zixVx.mjs} +14 -13
- package/dist/{artifact-Bdt_n9Jc.mjs → artifact-DN8JNwqS.mjs} +13 -13
- package/dist/{browser-web-ycg9qWB8.mjs → browser-web-CCgZsHmI.mjs} +10 -10
- package/dist/{budget-dPGuhNai.mjs → budget-HyShrIpL.mjs} +62 -21
- package/dist/{build-CaF574eS.mjs → build-CAiw8Ezm.mjs} +22 -21
- package/dist/{build-cache-HFUQ9eLz.mjs → build-cache-CKCzxzxA.mjs} +22 -4
- package/dist/{build-plan-JsDUq4w1.mjs → build-plan-zCuHGlA8.mjs} +5 -5
- package/dist/{ccache-CCn1S6qG.mjs → ccache-h1FKhZeg.mjs} +3 -3
- package/dist/{cli-xqAidP7O.mjs → cli-C4w607Pz.mjs} +17 -17
- package/dist/cli.mjs +1 -1
- package/dist/{client-18-ZowoT.mjs → client-BQsmyp_-.mjs} +26 -17
- package/dist/collector-run.mjs +2 -2
- package/dist/{command-output-DxC0k2rk.mjs → command-output-BBvS1H6v.mjs} +1 -1
- package/dist/{dependency-state-C56ll9hY.mjs → dependency-state-BwNCYG5Q.mjs} +1 -1
- package/dist/{dev-client-w_fok0Ek.mjs → dev-client-CHoXXZeg.mjs} +2 -2
- package/dist/{device-BktRGdjS.mjs → device-B9FqTBYW.mjs} +64 -33
- package/dist/{device-4RUugw5X.mjs → device-F5-4z9ef.mjs} +13 -13
- package/dist/{device-capacity-Ic-kdmEV.mjs → device-capacity-ZYaRALv5.mjs} +7 -7
- package/dist/device-host-worker.mjs +10 -10
- package/dist/{device-ios-DzpSlZyd.mjs → device-ios-DkHBrmvH.mjs} +27 -16
- package/dist/{device-lease-run-DUtkbqBQ.mjs → device-lease-run-ogEeJ62K.mjs} +4 -4
- package/dist/{device-pool-CgBHk401.mjs → device-pool-BIg8MU8l.mjs} +2 -2
- package/dist/{doctor-BZ6oxNum.mjs → doctor-A_Nr_fDe.mjs} +1 -1
- package/dist/{doctor-C33AzVfR.mjs → doctor-Bm8TVpGn.mjs} +27 -21
- package/dist/doctor-fingerprint.mjs +1 -1
- package/dist/{doctor-DZgpqR6J.mjs → doctor-k3P3PizH.mjs} +12 -12
- package/dist/{doctor-watchman-B453A231.mjs → doctor-watchman-BovI1y3-.mjs} +3 -3
- package/dist/{eas-build-CxKUNHsb.mjs → eas-build-CyDKNTBP.mjs} +2 -2
- package/dist/{eas-fallback-LMxk9Kw0.mjs → eas-fallback-gaZi-dJL.mjs} +12 -11
- package/dist/{eas-session-ledger-Ck6YXPAO.mjs → eas-session-ledger-BMCA1gdO.mjs} +3 -3
- package/dist/{error-diagnostics-BkKCZq4P.mjs → error-diagnostics-B1Mj_-7h.mjs} +7 -7
- package/dist/{errors-ccaPc4ox.mjs → errors-DHm_U5gv.mjs} +2 -1
- package/dist/{gc-yVKpAOKM.mjs → gc-B9jcnmIk.mjs} +15 -15
- package/dist/{gc-DDWEAj0w.mjs → gc-eaz403W6.mjs} +2 -2
- package/dist/{guide-Bggftwc5.mjs → guide-DR0K0xW9.mjs} +113 -37
- package/dist/{hosted-android-D4dweBof.mjs → hosted-android-Bvb2-ZxD.mjs} +3 -3
- package/dist/{hosted-client-BBTVe3X6.mjs → hosted-client-rsRqysJc.mjs} +2 -2
- package/dist/{hosted-ios-Sn0djzg8.mjs → hosted-ios-RtVcJH3u.mjs} +1 -1
- package/dist/{hosted-logs-CYIZ5ubJ.mjs → hosted-logs-CWKGYWNX.mjs} +4 -4
- package/dist/{hosted-macos-CXjsUNBR.mjs → hosted-macos-d0pv9Tth.mjs} +5 -5
- package/dist/{hosted-native-Doxbfzem.mjs → hosted-native-BxTizGU2.mjs} +6 -6
- package/dist/{idle-shutdown-BInjLKqm.mjs → idle-shutdown-BIyfl0Zj.mjs} +6 -6
- package/dist/{ios-CVUFFZ6C.mjs → ios-BQzvJlzw.mjs} +59 -11
- package/dist/{ios-B1FXRCMX.mjs → ios-BRVM8b0P.mjs} +37 -32
- package/dist/{ios-BItP6lkn.mjs → ios-Dvt97HgQ.mjs} +8 -8
- package/dist/{ios-device-BI38NFFH.mjs → ios-device-CKSvk0bu.mjs} +1 -1
- package/dist/{ios-project-KYqeJURj.mjs → ios-project-DCUDo06I.mjs} +4 -4
- package/dist/{ios-state-DlElquYD.mjs → ios-state-CT9nV5SP.mjs} +1 -1
- package/dist/{js-swap-BvrQvXHY.mjs → js-swap-Z9HbC4cj.mjs} +4 -4
- package/dist/{launch-SfzGH_s9.mjs → launch-D0lPvFFu.mjs} +16 -16
- package/dist/{launch-BVlyQw3T.mjs → launch-DscF1QfM.mjs} +35 -35
- package/dist/{logs-DXE32kyb.mjs → logs-BsIRre8x.mjs} +7 -7
- package/dist/{logs-ovlU7m7N.mjs → logs-Crs9y34Z.mjs} +5 -5
- package/dist/{macos-B3BveDrU.mjs → macos-CcUlJPMu.mjs} +1 -1
- package/dist/{macos-CCfhb-jT.mjs → macos-D477nfzH.mjs} +17 -17
- package/dist/macos-run.mjs +1 -1
- package/dist/maintenance-run.mjs +5 -5
- package/dist/{metro-Bu8LBfzS.mjs → metro-1pJgCX4U.mjs} +1 -1
- package/dist/{metro-gateway-DtsOy-0P.mjs → metro-gateway-Bp9gJQAN.mjs} +1 -1
- package/dist/{named-ports-BWDuU5oQ.mjs → named-ports-BVbn8SvC.mjs} +1 -1
- package/dist/{native-android-96BBizbq.mjs → native-android-BvMizJn1.mjs} +14 -14
- package/dist/{native-gradle-artifact-inputs-BcLYBZil.mjs → native-gradle-artifact-inputs-BJscK4vN.mjs} +3 -3
- package/dist/{native-run-BmH7U8pr.mjs → native-run-D5OJsGwA.mjs} +2 -2
- package/dist/{native-runtime-DgtJkzIa.mjs → native-runtime-B9w_Qyz3.mjs} +6 -6
- package/dist/{native-xcode-inputs-irplbQb0.mjs → native-xcode-inputs-Cv4l-obn.mjs} +1 -1
- package/dist/{native-xcode-ios-BY-6hh6M.mjs → native-xcode-ios-DGrg90hE.mjs} +17 -16
- package/dist/offload-worker.d.mts +5 -2
- package/dist/offload-worker.mjs +21 -20
- package/dist/{ownership-DxlZGDcV.mjs → ownership-jxxz-19m.mjs} +2 -2
- package/dist/{phone-reverses-BdsdesVF.mjs → phone-reverses-CYb7RRAx.mjs} +2 -2
- package/dist/{placement-log-DUvqqsB-.mjs → placement-log-DjOXJRIH.mjs} +1 -1
- package/dist/{plan-placement-4axc0Hs7.mjs → plan-placement-BqKgKHCi.mjs} +3 -3
- package/dist/{ports-D-E_OiAO.mjs → ports-DtS1Amb0.mjs} +2 -2
- package/dist/{prebuild-DmVCf5xb.mjs → prebuild-JUaqOLpc.mjs} +6 -6
- package/dist/{project-Dz-hWkb-.mjs → project-BiC68mIp.mjs} +14 -14
- package/dist/{react-native-android-DOinxgwB.mjs → react-native-android-DRYqoJc4.mjs} +23 -22
- package/dist/{react-native-build-AuCu-aAP.mjs → react-native-build-CwZB-agu.mjs} +6 -6
- package/dist/{react-native-doctor-2ivJUmwZ.mjs → react-native-doctor-BCrytK7h.mjs} +6 -6
- package/dist/{react-native-ios-D5zTIuH8.mjs → react-native-ios-Cr1buNFo.mjs} +18 -17
- package/dist/{recordings-CdPwYwvs.mjs → recordings-BaoQ0t-J.mjs} +1 -1
- package/dist/{reload-Ck9RJeSq.mjs → reload-Beftw2X3.mjs} +1 -1
- package/dist/{reload-C1TTVesC.mjs → reload-FbSgMF8x.mjs} +13 -13
- package/dist/{remote-DEZ7AOVq.mjs → remote-BuZj6AyU.mjs} +15 -6
- package/dist/{result-DqBrb12U.mjs → result-CR2vk2cj.mjs} +14 -14
- package/dist/{run-BIwoU44q.mjs → run-BtzE09Dl.mjs} +1 -1
- package/dist/{selection-BLtvaqxc.mjs → selection-D5cxEl3t.mjs} +2 -2
- package/dist/{server-bare-Z1ToVLPn.mjs → server-bare-CH9X0RLn.mjs} +55 -3
- package/dist/{server-command-C0pmjNdG.mjs → server-command-CaBbDNU2.mjs} +4 -4
- package/dist/server-expo-C16Zf2k7.mjs +2 -0
- package/dist/{server-expo-Tt_hLRpy.mjs → server-expo-Ck8EIidM.mjs} +8 -6
- package/dist/{settings-RKwY33wv.mjs → settings-B5tCoq9N.mjs} +58 -60
- package/dist/{settings-kkt0vP4w.mjs → settings-DzH9mGQZ.mjs} +1 -1
- package/dist/{settings-write--gj6MACV.mjs → settings-write-n0zwfohx.mjs} +3 -3
- package/dist/settings.schema.json +38 -0
- package/dist/{simslim-CdWKT3vA.mjs → simslim-BjxszUAb.mjs} +20 -5
- package/dist/{slot-launch-A1BgotaM.mjs → slot-launch-QeuJMlnJ.mjs} +5 -5
- package/dist/{stage-ERTMh88n.mjs → stage-D8xlRU2D.mjs} +1 -1
- package/dist/{start-Bmg_qmHi.mjs → start-C1JLjkNw.mjs} +1 -1
- package/dist/{start-BKGrEhzG.mjs → start-YMpNwLhh.mjs} +7 -7
- package/dist/{state-B1ig0Kqy.mjs → state-DMRNP7-4.mjs} +2 -2
- package/dist/{state-BfAltYJP.mjs → state-DPaM3u5K.mjs} +1 -1
- package/dist/{stats-B-ckuiUg.mjs → stats-CP7STzZw.mjs} +3 -3
- package/dist/{status-DfFp6a76.mjs → status-CRLiJ-O_.mjs} +19 -19
- package/dist/{status-Pw-807f0.mjs → status-cNw6i0_t.mjs} +1 -1
- package/dist/{status-watch-XC7F-AMf.mjs → status-watch-Bc2J4TZn.mjs} +4 -4
- package/dist/status-worker.mjs +1 -1
- package/dist/{stop-BFu7X_Do.mjs → stop-Br7LKxBE.mjs} +2 -2
- package/dist/{stop-DhclRwOO.mjs → stop-COP6PQqw.mjs} +4 -4
- package/dist/{stop-CL1kDHds.mjs → stop-Db9Kh-UA.mjs} +69 -50
- package/dist/supervisor-run.mjs +13 -13
- package/dist/{support-B3tzVhKn.mjs → support-Cxj9CmII.mjs} +4 -4
- package/dist/{support-B1W-hmC2.mjs → support-qKcbgmI5.mjs} +14 -11
- package/dist/{swiftpm-artifact-inputs-BWYPj9Sn.mjs → swiftpm-artifact-inputs-iY9fsmOc.mjs} +1 -1
- package/dist/{swiftpm-macos-BVCP5mO4.mjs → swiftpm-macos-Bp_sn9P4.mjs} +8 -8
- package/dist/{toolchain-BjgKdoEf.mjs → toolchain-DB1aeqxO.mjs} +1 -1
- package/dist/{toolchain-D3bmRMia.mjs → toolchain-VzLJzZ7O.mjs} +14 -3
- package/dist/{warm-progress-ol0ZypEu.mjs → warm-progress-BV3ZPmcY.mjs} +3 -3
- package/dist/{web-BH7peScT.mjs → web-B4Yjyt1G.mjs} +6 -6
- package/dist/web-DS4UDWvf.mjs +2 -0
- package/dist/web-run.mjs +3 -3
- package/dist/{workspace-state-CeBpIZgr.mjs → workspace-state-CPSp3mav.mjs} +1 -1
- package/dist/{workspaces-CSV2Orf4.mjs → workspaces-C9w4aeXF.mjs} +10 -10
- package/dist/{worktree-Dw8kfacb.mjs → worktree-CclFIe1Z.mjs} +25 -25
- package/dist/{worktree-DEDUzO_L.mjs → worktree-Ct9Gk3KL.mjs} +1 -1
- package/dist/{xcode-DHu41qQ4.mjs → xcode-CiIIDnuD.mjs} +4 -4
- package/package.json +7 -7
- package/shim/bundle-response.cjs +53 -1
- package/shim/bundle-response.d.cts +1 -1
- package/shim/expo-metro-config.cjs +23 -1
- package/dist/server-expo-CEntXzRw.mjs +0 -2
- package/dist/web-BdOFlTJr.mjs +0 -2
|
@@ -3,7 +3,7 @@ import { P as formatBytes, _ as loadConfig$1 } from "./config-BZhXY15H.mjs";
|
|
|
3
3
|
import { n as stripAnsi, r as waitForChild, t as createLineReader } from "./process-output-Fpl8PYi8.mjs";
|
|
4
4
|
import { n as runOperationFileQuiet, t as runOperationFile } from "./operation-exec-CUZifp6Z.mjs";
|
|
5
5
|
import { i as stimDesktopInstalledAsync, n as settingDefault, t as STIM_DESKTOP_OPEN_OPTIONS } from "./stim-desktop-DS0mzR8U.mjs";
|
|
6
|
-
import { dt as isStimOwnedSim } from "./android-
|
|
6
|
+
import { dt as isStimOwnedSim } from "./android-Cjcj8MCw.mjs";
|
|
7
7
|
import { a as recordCreatedDeviceAsync, n as forgetCreatedDeviceAsync } from "./created-devices-D2Aca-xu.mjs";
|
|
8
8
|
import { createHash } from "node:crypto";
|
|
9
9
|
import { closeSync, existsSync, lstatSync, mkdtempSync, openSync, readSync, readdirSync, rmSync, writeFileSync } from "node:fs";
|
|
@@ -457,6 +457,11 @@ const SIMCTL_LIST_ARGS = [
|
|
|
457
457
|
"devices",
|
|
458
458
|
"--json"
|
|
459
459
|
];
|
|
460
|
+
const SIMCTL_LIST_ALL_ARGS = [
|
|
461
|
+
"simctl",
|
|
462
|
+
"list",
|
|
463
|
+
"--json"
|
|
464
|
+
];
|
|
460
465
|
function listAllIosSims({ timeoutMs = 3e4, includeUnavailable = false } = {}) {
|
|
461
466
|
return parseSimctlList(getExecutor().runFile("xcrun", SIMCTL_LIST_ARGS, {
|
|
462
467
|
timeoutMs,
|
|
@@ -465,21 +470,47 @@ function listAllIosSims({ timeoutMs = 3e4, includeUnavailable = false } = {}) {
|
|
|
465
470
|
}
|
|
466
471
|
function createIosSimSnapshot() {
|
|
467
472
|
let cached = null;
|
|
473
|
+
let listing = null;
|
|
474
|
+
const start = (options) => {
|
|
475
|
+
if (listing) return listing;
|
|
476
|
+
const entry = cached ??= {};
|
|
477
|
+
const run = listIosSimulatorAsync(options);
|
|
478
|
+
const pending = run.then((all) => entry.value ??= all.sims);
|
|
479
|
+
listing = run;
|
|
480
|
+
entry.pending = pending;
|
|
481
|
+
const forget = () => {
|
|
482
|
+
if (listing === run) listing = null;
|
|
483
|
+
if (entry.pending === pending) entry.pending = void 0;
|
|
484
|
+
};
|
|
485
|
+
run.catch(forget);
|
|
486
|
+
pending.catch(forget);
|
|
487
|
+
return run;
|
|
488
|
+
};
|
|
468
489
|
return {
|
|
469
490
|
read() {
|
|
470
491
|
const entry = cached ??= {};
|
|
471
492
|
entry.value ??= listAllIosSims({ includeUnavailable: true });
|
|
472
493
|
return entry.value;
|
|
473
494
|
},
|
|
474
|
-
async readAsync() {
|
|
495
|
+
async readAsync(options) {
|
|
475
496
|
const entry = cached ??= {};
|
|
476
497
|
if (entry.value) return entry.value;
|
|
477
|
-
entry.pending
|
|
498
|
+
if (!entry.pending && !listing) start(options);
|
|
499
|
+
entry.pending ??= listAllIosSimsAsync({
|
|
500
|
+
includeUnavailable: true,
|
|
501
|
+
...options
|
|
502
|
+
}).then((value) => entry.value = value).catch((error) => {
|
|
478
503
|
entry.pending = void 0;
|
|
479
504
|
throw error;
|
|
480
505
|
});
|
|
481
506
|
return entry.pending;
|
|
482
507
|
},
|
|
508
|
+
async runtimes(options) {
|
|
509
|
+
return (await start(options)).runtimes;
|
|
510
|
+
},
|
|
511
|
+
async deviceTypes(options) {
|
|
512
|
+
return (await start(options)).deviceTypes;
|
|
513
|
+
},
|
|
483
514
|
invalidate() {
|
|
484
515
|
cached = null;
|
|
485
516
|
}
|
|
@@ -493,6 +524,22 @@ async function listAllIosSimsAsync({ timeoutMs = 3e4, includeUnavailable = false
|
|
|
493
524
|
cwd: operation?.cwd
|
|
494
525
|
}), { includeUnavailable });
|
|
495
526
|
}
|
|
527
|
+
/** The simulators, runtimes and device types out of one unfiltered `simctl list --json`. */
|
|
528
|
+
function parseSimctlListing(jsonOutput) {
|
|
529
|
+
return {
|
|
530
|
+
sims: parseSimctlList(jsonOutput, { includeUnavailable: true }),
|
|
531
|
+
runtimes: parseIosRuntimes(jsonOutput),
|
|
532
|
+
deviceTypes: parseIosDeviceTypes(jsonOutput)
|
|
533
|
+
};
|
|
534
|
+
}
|
|
535
|
+
async function listIosSimulatorAsync({ signal, operation } = {}) {
|
|
536
|
+
return parseSimctlListing(await runOperationFile(operation, getExecutor(), "xcrun", SIMCTL_LIST_ALL_ARGS, {
|
|
537
|
+
timeoutMs: 3e4,
|
|
538
|
+
killSignal: "SIGKILL",
|
|
539
|
+
signal,
|
|
540
|
+
cwd: operation?.cwd
|
|
541
|
+
}));
|
|
542
|
+
}
|
|
496
543
|
function parseRuntimeVersion(runtimeId) {
|
|
497
544
|
const m = runtimeId.match(/iOS-(\d+)(?:-(\d+))?$/);
|
|
498
545
|
if (!m) return runtimeId;
|
|
@@ -602,7 +649,6 @@ async function bootIosSim(udid, { timeoutMs = IOS_BOOT_TIMEOUT_MS, attemptMs = B
|
|
|
602
649
|
let sampledAt = started;
|
|
603
650
|
let longestGapMs = 0;
|
|
604
651
|
let phase = "requesting boot";
|
|
605
|
-
let springBoardUnreadable = null;
|
|
606
652
|
const ranks = {
|
|
607
653
|
normal: 0,
|
|
608
654
|
warning: 1,
|
|
@@ -667,9 +713,7 @@ async function bootIosSim(udid, { timeoutMs = IOS_BOOT_TIMEOUT_MS, attemptMs = B
|
|
|
667
713
|
if (deadline - Date.now() <= 0) throw new Error(`Simulator ${udid} did not finish booting within ${Math.round(timeoutMs / 1e3)}s.`);
|
|
668
714
|
}
|
|
669
715
|
phase = "waiting for SpringBoard";
|
|
670
|
-
|
|
671
|
-
if (springBoard.state === "timed-out") throw new Error(`Simulator ${udid} did not finish booting within ${Math.round(timeoutMs / 1e3)}s.`);
|
|
672
|
-
if (springBoard.state === "unreadable") springBoardUnreadable = springBoard.reason;
|
|
716
|
+
if ((await waitForSpringBoard(udid, deadline)).state === "timed-out") throw new Error(`Simulator ${udid} did not finish booting within ${Math.round(timeoutMs / 1e3)}s.`);
|
|
673
717
|
} catch (error) {
|
|
674
718
|
const named = memoryCulpritAdvice(await memoryCulpritsUnderAsync(sample(), exec));
|
|
675
719
|
throw new Error(`${error?.message || error} Last boot output: ${phase}. Highest observed memory pressure: ${worst ?? "unknown"}; unavailable samples: ${unknown}.${coverage()}${named ? ` ${named}` : ""} ${recovery} These observations do not establish an OOM crash.`, { cause: error });
|
|
@@ -677,7 +721,6 @@ async function bootIosSim(udid, { timeoutMs = IOS_BOOT_TIMEOUT_MS, attemptMs = B
|
|
|
677
721
|
clearInterval(monitor);
|
|
678
722
|
}
|
|
679
723
|
if (openViewer) await viewer.open(udid);
|
|
680
|
-
return { springBoardUnreadable };
|
|
681
724
|
}
|
|
682
725
|
async function shutdownIosSim(udid, operation) {
|
|
683
726
|
if (!operation) {
|
|
@@ -712,7 +755,11 @@ const LIST_DEVICE_TYPES_OPTIONS = {
|
|
|
712
755
|
timeoutMs: 3e4,
|
|
713
756
|
killSignal: "SIGKILL"
|
|
714
757
|
};
|
|
715
|
-
async function listIosDeviceTypesAsync({ signal, operation } = {}) {
|
|
758
|
+
async function listIosDeviceTypesAsync({ signal, operation, snapshot } = {}) {
|
|
759
|
+
if (snapshot?.deviceTypes) return snapshot.deviceTypes({
|
|
760
|
+
signal,
|
|
761
|
+
operation
|
|
762
|
+
});
|
|
716
763
|
return parseIosDeviceTypes(await runOperationFile(operation, getExecutor(), "xcrun", LIST_DEVICE_TYPES_ARGS, {
|
|
717
764
|
...LIST_DEVICE_TYPES_OPTIONS,
|
|
718
765
|
signal,
|
|
@@ -1036,7 +1083,8 @@ const LIST_RUNTIMES_OPTIONS = {
|
|
|
1036
1083
|
function listIosRuntimes() {
|
|
1037
1084
|
return parseIosRuntimes(getExecutor().runFile("xcrun", LIST_RUNTIMES_ARGS, LIST_RUNTIMES_OPTIONS));
|
|
1038
1085
|
}
|
|
1039
|
-
async function listIosRuntimesAsync({ signal } = {}) {
|
|
1086
|
+
async function listIosRuntimesAsync({ signal, snapshot } = {}) {
|
|
1087
|
+
if (snapshot?.runtimes) return snapshot.runtimes({ signal });
|
|
1040
1088
|
return parseIosRuntimes(await getExecutor().runFileAsync("xcrun", LIST_RUNTIMES_ARGS, {
|
|
1041
1089
|
...LIST_RUNTIMES_OPTIONS,
|
|
1042
1090
|
signal
|
|
@@ -1053,4 +1101,4 @@ function parseIosRuntimes(out) {
|
|
|
1053
1101
|
}] : []);
|
|
1054
1102
|
}
|
|
1055
1103
|
//#endregion
|
|
1056
|
-
export {
|
|
1104
|
+
export { waitForSpringBoard as A, memoryCulpritFindings as B, resetIosKeychain as C, sanitizeDeviceLabel as D, resolveOwnedIosSim as E, memoryCulpritsUnderAsync as F, deviceHoldsApk as H, readHostMemoryPressure as I, readHostMemoryPressureAsync as L, parseIosSimulatorApp as M, hostMemoryPressureAdvice as N, shutdownIosSim as O, memoryCulpritsUnder as P, reportMemoryCulprits as R, renameIosSim as S, resolveIosCreation as T, deviceHoldsBundle as U, readMemoryCulpritsAsync as V, ownedSimName as _, createOwnedIosSim as a, parseSimctlList as b, eraseIosSim as c, listAllIosSims as d, listAllIosSimsAsync as f, listUserApps as g, listIosRuntimesAsync as h, createIosSimSnapshot as i, configuredIosSimulatorViewer as j, uninstallIosApp as k, iosRuntimeMatches as l, listIosRuntimes as m, bootIosSim as n, deleteIosSim as o, listIosDeviceTypesAsync as p, clearIosAppData as r, deleteParkedIosSim as s, IOS_BOOT_TIMEOUT_MS as t, iosSimulatorFailureAdvice as u, parkedSimName as v, resetIosPrivacy as w, pickDefaultIosCreation as x, parseRuntimeVersion as y, memoryCulpritAdvice as z };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { m as workspaceLogsDir$1 } from "./paths-DQtTgsBf.mjs";
|
|
2
2
|
import { B as deviceSlotFileKey, W as parseDeviceSlotOption, q as validateDeviceSlot } from "./config-BZhXY15H.mjs";
|
|
3
|
-
import { _ as stepTimer, g as stepClock, i as formatDuration, l as phaseLine } from "./command-output-
|
|
4
|
-
import { a as recordWorkspaceUseAsync } from "./workspace-state-
|
|
5
|
-
import { C as iosSigningIdentitySha1Setting,
|
|
6
|
-
import { L as workspaceDevServerMode, t as NO_PROJECT_REFUSAL } from "./project-
|
|
7
|
-
import { ft as POOL_SETTING_REMEDY, vt as parkedMaxSetting } from "./android-
|
|
8
|
-
import { G as createRunRecorder, H as startBuildProgress,
|
|
9
|
-
import { d as runCancellationSignal, f as withNativeBuildRun, r as cancelledFailure, u as runCancellation } from "./native-run-
|
|
10
|
-
import { i as createIosSimSnapshot } from "./ios-
|
|
11
|
-
import { d as optimizationBuildProfile, l as artifactCachePolicy } from "./errors-
|
|
12
|
-
import { t as COMPILATION_CACHE_NOT_RUN } from "./xcode-
|
|
13
|
-
import { S as setRemoteLogSink, d as simulatorRuntime } from "./client-
|
|
14
|
-
import { a as parseBuildMachineOption } from "./selection-
|
|
15
|
-
import { r as hostedMetroSettings } from "./metro-gateway-
|
|
16
|
-
import { i as writeDevicePlacementAsync } from "./ios-state-
|
|
17
|
-
import { t as devClientPortBusy } from "./hosted-native-
|
|
18
|
-
import { r as siblingPlatformSlots, t as launchSlotScope } from "./slot-launch-
|
|
19
|
-
import { f as waitFlagConflict, o as leaseExpiryText } from "./device-lease-run-
|
|
20
|
-
import { _ as resolveIosWait, a as deviceModelRefusal, b as resolveSimulatorAppFlag, c as iosProjectPathError, d as ownedSimFailure, g as resolveIosBuildSetup, h as resolveDeviceType, i as deviceLabel, m as resolveConfiguration, n as buildLogFile, r as createIosDeviceWaitRun, u as isReleaseConfiguration, v as resolveRuntime, x as simulatorBuildArch, y as resolveSchemeSelection } from "./support-
|
|
21
|
-
import { r as isEasBuildFailure } from "./eas-build-
|
|
22
|
-
import { r as isPhysicalDeviceRequest, t as ensureDevServer } from "./native-runtime-
|
|
23
|
-
import "./dev-client-
|
|
24
|
-
import { t as didSetUpDevice } from "./device-
|
|
3
|
+
import { _ as stepTimer, g as stepClock, i as formatDuration, l as phaseLine } from "./command-output-BBvS1H6v.mjs";
|
|
4
|
+
import { a as recordWorkspaceUseAsync } from "./workspace-state-CPSp3mav.mjs";
|
|
5
|
+
import { C as iosSigningIdentitySha1Setting, M as metroPortSetting, P as metroWarmupUrlSetting, R as projectSettingsContextAsync, S as iosSigningIdentitySettingError, _ as iosLanHostSetting, a as SETTING_SHAPE_REMEDY, g as deviceReclaimIdleMinutesSetting, it as tunnelModeSetting, v as iosLanHostSettingError, w as iosSigningIdentitySha1SettingError, x as iosSigningIdentitySetting, z as publicUrlSetting } from "./settings-B5tCoq9N.mjs";
|
|
6
|
+
import { L as workspaceDevServerMode, t as NO_PROJECT_REFUSAL } from "./project-BiC68mIp.mjs";
|
|
7
|
+
import { ft as POOL_SETTING_REMEDY, vt as parkedMaxSetting } from "./android-Cjcj8MCw.mjs";
|
|
8
|
+
import { G as createRunRecorder, H as startBuildProgress, Ln as exitAfterFlush, M as NO_BUILD_PROGRESS, U as tapBuildLog, V as runFailureRecord, W as thrownRunFailureRecord, Z as statsProjectKey$1, dn as DEFAULT_METRO_PORT, or as ownedSessionName, zn as runProcessOperation, zt as binOnPath } from "./budget-HyShrIpL.mjs";
|
|
9
|
+
import { d as runCancellationSignal, f as withNativeBuildRun, r as cancelledFailure, u as runCancellation } from "./native-run-D5OJsGwA.mjs";
|
|
10
|
+
import { i as createIosSimSnapshot } from "./ios-BQzvJlzw.mjs";
|
|
11
|
+
import { d as optimizationBuildProfile, l as artifactCachePolicy } from "./errors-DHm_U5gv.mjs";
|
|
12
|
+
import { t as COMPILATION_CACHE_NOT_RUN } from "./xcode-CiIIDnuD.mjs";
|
|
13
|
+
import { S as setRemoteLogSink, d as simulatorRuntime } from "./client-BQsmyp_-.mjs";
|
|
14
|
+
import { a as parseBuildMachineOption } from "./selection-D5cxEl3t.mjs";
|
|
15
|
+
import { r as hostedMetroSettings } from "./metro-gateway-Bp9gJQAN.mjs";
|
|
16
|
+
import { i as writeDevicePlacementAsync } from "./ios-state-CT9nV5SP.mjs";
|
|
17
|
+
import { t as devClientPortBusy } from "./hosted-native-BxTizGU2.mjs";
|
|
18
|
+
import { r as siblingPlatformSlots, t as launchSlotScope } from "./slot-launch-QeuJMlnJ.mjs";
|
|
19
|
+
import { f as waitFlagConflict, o as leaseExpiryText } from "./device-lease-run-ogEeJ62K.mjs";
|
|
20
|
+
import { _ as resolveIosWait, a as deviceModelRefusal, b as resolveSimulatorAppFlag, c as iosProjectPathError, d as ownedSimFailure, g as resolveIosBuildSetup, h as resolveDeviceType, i as deviceLabel, m as resolveConfiguration, n as buildLogFile, r as createIosDeviceWaitRun, u as isReleaseConfiguration, v as resolveRuntime, x as simulatorBuildArch, y as resolveSchemeSelection } from "./support-qKcbgmI5.mjs";
|
|
21
|
+
import { r as isEasBuildFailure } from "./eas-build-CyDKNTBP.mjs";
|
|
22
|
+
import { r as isPhysicalDeviceRequest, t as ensureDevServer } from "./native-runtime-B9w_Qyz3.mjs";
|
|
23
|
+
import "./dev-client-CHoXXZeg.mjs";
|
|
24
|
+
import { t as didSetUpDevice } from "./device-B9FqTBYW.mjs";
|
|
25
25
|
import { t as unsupportedPlan } from "./project-plan-BPwbLwQu.mjs";
|
|
26
|
-
import { a as refusePlan, i as printPlan, n as planFlagRefusal } from "./build-plan-
|
|
27
|
-
import { a as lastBuildRecord, o as reportIosResult, s as writeLastBuild } from "./ios-project-
|
|
28
|
-
import { t as acquireIosArtifact } from "./artifact-
|
|
29
|
-
import { a as hostedIosSelectors, i as hostedIosMetroNote, n as connectIosTarget, o as iosPlacementBudget, r as deviceRemoteConflict, s as selectIosPlacement, t as connectIosBackend } from "./remote-
|
|
30
|
-
import { a as iosPoolCandidates, c as isWirelessIosDevice, f as resolveIosPhysicalDevice, o as iosPoolNoCandidatesRefusal, r as iosDeviceBounds } from "./ios-device-
|
|
31
|
-
import { i as DEFAULT_DEPS, l as lanOriginUrlFor, s as chooseLanAddress, t as finishIosRun } from "./launch-
|
|
26
|
+
import { a as refusePlan, i as printPlan, n as planFlagRefusal } from "./build-plan-zCuHGlA8.mjs";
|
|
27
|
+
import { a as lastBuildRecord, o as reportIosResult, s as writeLastBuild } from "./ios-project-DCUDo06I.mjs";
|
|
28
|
+
import { t as acquireIosArtifact } from "./artifact-DN8JNwqS.mjs";
|
|
29
|
+
import { a as hostedIosSelectors, i as hostedIosMetroNote, n as connectIosTarget, o as iosPlacementBudget, r as deviceRemoteConflict, s as selectIosPlacement, t as connectIosBackend } from "./remote-BuZj6AyU.mjs";
|
|
30
|
+
import { a as iosPoolCandidates, c as isWirelessIosDevice, f as resolveIosPhysicalDevice, o as iosPoolNoCandidatesRefusal, r as iosDeviceBounds } from "./ios-device-CKSvk0bu.mjs";
|
|
31
|
+
import { i as DEFAULT_DEPS, l as lanOriginUrlFor, s as chooseLanAddress, t as finishIosRun } from "./launch-DscF1QfM.mjs";
|
|
32
32
|
import { basename, join } from "node:path";
|
|
33
33
|
import { workspaceId } from "@stim-cli/core";
|
|
34
34
|
import { hostedIosStatus, parseMachine } from "@stim-cli/core/state";
|
|
@@ -564,6 +564,7 @@ async function runIos(context, projectRoot, opts = {}, overrides = {}, progress
|
|
|
564
564
|
easProfile: opts.easProfile
|
|
565
565
|
});
|
|
566
566
|
if (capabilityRefusal) return fail(capabilityRefusal);
|
|
567
|
+
const simSnapshot = createIosSimSnapshot();
|
|
567
568
|
const remoteSelection = await selectIosPlacement({
|
|
568
569
|
root,
|
|
569
570
|
env: context.env,
|
|
@@ -590,8 +591,10 @@ async function runIos(context, projectRoot, opts = {}, overrides = {}, progress
|
|
|
590
591
|
deviceTypeOrigin: d.settingOriginScope(d.settingsLayers(settingsContext), "ios.deviceType"),
|
|
591
592
|
runtimeOrigin: d.settingOriginScope(d.settingsLayers(settingsContext), "ios.runtime"),
|
|
592
593
|
listRuntimes: d.listIosRuntimes,
|
|
593
|
-
signal: context.signal
|
|
594
|
+
signal: context.signal,
|
|
595
|
+
snapshot: simSnapshot
|
|
594
596
|
}),
|
|
597
|
+
simSnapshot,
|
|
595
598
|
noWait: deviceSlotWaitMs === 0,
|
|
596
599
|
note,
|
|
597
600
|
phase,
|
|
@@ -623,7 +626,8 @@ async function runIos(context, projectRoot, opts = {}, overrides = {}, progress
|
|
|
623
626
|
remoteBackend,
|
|
624
627
|
hosted: Boolean(hostedMachine),
|
|
625
628
|
listRuntimes: d.listIosRuntimes,
|
|
626
|
-
signal: context.signal
|
|
629
|
+
signal: context.signal,
|
|
630
|
+
snapshot: simSnapshot
|
|
627
631
|
});
|
|
628
632
|
if (modelRefusal) return fail(modelRefusal);
|
|
629
633
|
const selectors = hostedIosSelectors(deviceType, runtime);
|
|
@@ -631,7 +635,6 @@ async function runIos(context, projectRoot, opts = {}, overrides = {}, progress
|
|
|
631
635
|
if ("failure" in connected) return fail(connected.failure);
|
|
632
636
|
const hostedTarget = connected.target;
|
|
633
637
|
try {
|
|
634
|
-
const simSnapshot = createIosSimSnapshot();
|
|
635
638
|
const budget = await iosPlacementBudget(d, root, note, Boolean(hostedTarget), remoteSelection.budget, simSnapshot, context.env);
|
|
636
639
|
reclaimed = budget.reclaimed;
|
|
637
640
|
if (budget.refusal) return fail(budget.refusal);
|
|
@@ -890,7 +893,9 @@ async function runIos(context, projectRoot, opts = {}, overrides = {}, progress
|
|
|
890
893
|
platform: "ios",
|
|
891
894
|
isExpo,
|
|
892
895
|
appId: proj?.bundleId,
|
|
893
|
-
bundleUrl: metroWarmupUrlSetting(settings, "ios")
|
|
896
|
+
bundleUrl: metroWarmupUrlSetting(settings, "ios"),
|
|
897
|
+
logsDir,
|
|
898
|
+
root
|
|
894
899
|
});
|
|
895
900
|
return {
|
|
896
901
|
ok: true,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { h as shortUdid, i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-
|
|
2
|
-
import {
|
|
3
|
-
import { f as podAction, h as resolveDeviceType, i as deviceLabel, m as resolveConfiguration, n as buildLogFile, s as iosConfigurationSetting, t as appNameFromPath, u as isReleaseConfiguration, v as resolveRuntime } from "./support-
|
|
4
|
-
import { n as ensureWorkspaceStorageSafely } from "./native-runtime-
|
|
5
|
-
import { t as devClientScheme } from "./dev-client-
|
|
6
|
-
import { a as lastBuildRecord, i as iosFacts, n as cacheDescription, s as writeLastBuild } from "./ios-project-
|
|
7
|
-
import { n as registerIos, r as runIosOperation, t as iosCommand } from "./ios-
|
|
8
|
-
import { a as collectorEntry, o as replaceCollector } from "./launch-
|
|
1
|
+
import { h as shortUdid, i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-BBvS1H6v.mjs";
|
|
2
|
+
import { Mn as pickDevClientScheme, Pn as schemesFromInfoPlist } from "./budget-HyShrIpL.mjs";
|
|
3
|
+
import { f as podAction, h as resolveDeviceType, i as deviceLabel, m as resolveConfiguration, n as buildLogFile, s as iosConfigurationSetting, t as appNameFromPath, u as isReleaseConfiguration, v as resolveRuntime } from "./support-qKcbgmI5.mjs";
|
|
4
|
+
import { n as ensureWorkspaceStorageSafely } from "./native-runtime-B9w_Qyz3.mjs";
|
|
5
|
+
import { t as devClientScheme } from "./dev-client-CHoXXZeg.mjs";
|
|
6
|
+
import { a as lastBuildRecord, i as iosFacts, n as cacheDescription, s as writeLastBuild } from "./ios-project-DCUDo06I.mjs";
|
|
7
|
+
import { n as registerIos, r as runIosOperation, t as iosCommand } from "./ios-BRVM8b0P.mjs";
|
|
8
|
+
import { a as collectorEntry, o as replaceCollector } from "./launch-DscF1QfM.mjs";
|
|
9
9
|
export { appNameFromPath, buildLogFile, cacheDescription, collectorEntry, iosCommand as default, devClientScheme, deviceLabel, ensureWorkspaceStorageSafely, formatDuration, iosConfigurationSetting, iosFacts, isReleaseConfiguration, lastBuildRecord, phaseLine, pickDevClientScheme, podAction, registerIos, replaceCollector, resolveConfiguration, resolveDeviceType, resolveRuntime, runIosOperation, schemesFromInfoPlist, shortHash, shortUdid, writeLastBuild };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as getExecutor } from "./exec-VFRpu1iA.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { fn as INSTALL_ERROR, gn as appProcessFromPid } from "./budget-HyShrIpL.mjs";
|
|
3
3
|
import { n as TOOL_ERROR_PREFIX } from "./ios-device-B6HK951C.mjs";
|
|
4
4
|
import { mkdtempSync, readFileSync, rmSync } from "node:fs";
|
|
5
5
|
import { tmpdir } from "node:os";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { l as workspaceAgentDeviceDir } from "./paths-DQtTgsBf.mjs";
|
|
2
|
-
import { i as formatDuration, l as phaseLine } from "./command-output-
|
|
2
|
+
import { i as formatDuration, l as phaseLine } from "./command-output-BBvS1H6v.mjs";
|
|
3
3
|
import { a as workspaceLinkLine } from "./stim-desktop-DS0mzR8U.mjs";
|
|
4
|
-
import { B as recordFinishedBuild,
|
|
5
|
-
import { o as compilationCacheActivityLine, t as COMPILATION_CACHE_NOT_RUN } from "./xcode-
|
|
6
|
-
import { i as deviceLabel } from "./support-
|
|
4
|
+
import { B as recordFinishedBuild, Gn as isEasAuthFailureText, Hn as cacheLevel, Vn as UPLOAD_TIMEOUT_MS, Wn as easAuthNote } from "./budget-HyShrIpL.mjs";
|
|
5
|
+
import { o as compilationCacheActivityLine, t as COMPILATION_CACHE_NOT_RUN } from "./xcode-CiIIDnuD.mjs";
|
|
6
|
+
import { i as deviceLabel } from "./support-qKcbgmI5.mjs";
|
|
7
7
|
import { buildDiagnostics } from "@stim-cli/core/state";
|
|
8
8
|
import chalk from "chalk";
|
|
9
9
|
//#region src/commands/ios/result.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as withWorkspaceStateLockAsync, o as updateWorkspaceState, r as readWorkspaceState$1 } from "./workspace-state-
|
|
1
|
+
import { l as withWorkspaceStateLockAsync, o as updateWorkspaceState, r as readWorkspaceState$1 } from "./workspace-state-CPSp3mav.mjs";
|
|
2
2
|
import { HOSTED_METRO_REQUESTS_KEY, hostedMetroRequests, hostedNativeRecords, isJsonObject, parseHostedNativePlacement, unreadableHostedNative } from "@stim-cli/core/state";
|
|
3
3
|
//#region src/device-host/ios-state.ts
|
|
4
4
|
function readHostedNative(root, platform, slot) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { _ as spawnDeclared, b as operationState, c as throwIfCancelled, t as getExecutor } from "./exec-VFRpu1iA.mjs";
|
|
2
2
|
import { r as waitForChild, t as createLineReader } from "./process-output-Fpl8PYi8.mjs";
|
|
3
3
|
import { a as killOnAbort, t as runOperationFile } from "./operation-exec-CUZifp6Z.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { s as expoTelemetryEnv, t as cleanLine } from "./server-expo-
|
|
7
|
-
import { _ as tailLines, h as startBuildHeartbeat, r as HEARTBEAT_INTERVAL_MS } from "./xcode-
|
|
4
|
+
import { Ut as makeTemporaryDirectory, Wt as removeTemporaryEntry } from "./settings-B5tCoq9N.mjs";
|
|
5
|
+
import { $n as bundleInvocation } from "./budget-HyShrIpL.mjs";
|
|
6
|
+
import { s as expoTelemetryEnv, t as cleanLine } from "./server-expo-Ck8EIidM.mjs";
|
|
7
|
+
import { _ as tailLines, h as startBuildHeartbeat, r as HEARTBEAT_INTERVAL_MS } from "./xcode-CiIIDnuD.mjs";
|
|
8
8
|
import { randomUUID } from "node:crypto";
|
|
9
9
|
import { existsSync, mkdirSync, readFileSync, readdirSync, rmSync, writeFileSync } from "node:fs";
|
|
10
10
|
import { basename, join } from "node:path";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { m as workspaceLogsDir } from "./paths-DQtTgsBf.mjs";
|
|
2
2
|
import { B as deviceSlotFileKey, C as saveConfig, E as upsertProject, H as deviceSlotPlatforms, O as withConfigLockAsync, P as formatBytes, V as deviceSlotKey, _ as loadConfig, w as setDevice } from "./config-BZhXY15H.mjs";
|
|
3
|
-
import { _ as stepTimer, c as launchErrorReport, i as formatDuration, l as phaseLine, n as appReadinessMessage, v as launchErrorPreview } from "./command-output-
|
|
4
|
-
import { L as workspaceDevServerMode } from "./project-
|
|
3
|
+
import { _ as stepTimer, c as launchErrorReport, i as formatDuration, l as phaseLine, n as appReadinessMessage, v as launchErrorPreview } from "./command-output-BBvS1H6v.mjs";
|
|
4
|
+
import { L as workspaceDevServerMode } from "./project-BiC68mIp.mjs";
|
|
5
5
|
import { o as workspaceLinks } from "./stim-desktop-DS0mzR8U.mjs";
|
|
6
|
-
import { i as androidDataFreeBytes, ot as trimAndroidCaches, tt as resetAdoptedAvd, u as androidToolCwd } from "./android-
|
|
7
|
-
import { c as pidExists, f as signalProcessTree } from "./metro-
|
|
8
|
-
import { $t as
|
|
9
|
-
import { O as teardownOwnedAvd } from "./workspaces-
|
|
10
|
-
import { _ as providerUploadOutcome } from "./build-cache-
|
|
11
|
-
import { n as verifyCollectorOwnership, r as readCollectors } from "./ownership-
|
|
12
|
-
import { t as recordPhoneReverse } from "./phone-reverses-
|
|
13
|
-
import { n as nativeRunCommand, r as siblingPlatformSlots, t as launchSlotScope } from "./slot-launch-
|
|
6
|
+
import { i as androidDataFreeBytes, ot as trimAndroidCaches, tt as resetAdoptedAvd, u as androidToolCwd } from "./android-Cjcj8MCw.mjs";
|
|
7
|
+
import { c as pidExists, f as signalProcessTree } from "./metro-1pJgCX4U.mjs";
|
|
8
|
+
import { $t as RELEASE_VERIFY_WAIT_MS, Cn as installConflictKind, Xt as LAUNCH_FATAL, Yt as LAUNCH_BUNDLING, Zt as LAUNCH_UNVERIFIED, an as unverifiedLaunchLines, en as VERIFY_TIMEOUT_MS, hn as androidDevClientUrl, in as unattributedLaunchLines, kn as restartedAppNote, mn as androidAppProcess, un as ADB_INSTALL_TIMEOUT_MS } from "./budget-HyShrIpL.mjs";
|
|
9
|
+
import { O as teardownOwnedAvd } from "./workspaces-C9w4aeXF.mjs";
|
|
10
|
+
import { _ as providerUploadOutcome } from "./build-cache-CKCzxzxA.mjs";
|
|
11
|
+
import { n as verifyCollectorOwnership, r as readCollectors } from "./ownership-jxxz-19m.mjs";
|
|
12
|
+
import { t as recordPhoneReverse } from "./phone-reverses-CYb7RRAx.mjs";
|
|
13
|
+
import { n as nativeRunCommand, r as siblingPlatformSlots, t as launchSlotScope } from "./slot-launch-QeuJMlnJ.mjs";
|
|
14
14
|
import { t as spawnEntry } from "./spawn-entry-jw19m8Nl.mjs";
|
|
15
|
-
import { c as lostRefusal, s as lostLine, t as DEBUG_VERIFY_STEP_MS } from "./device-lease-run-
|
|
16
|
-
import { a as printNativeCrashReport, r as captureNativeCrashes, t as errorDiagnostics } from "./error-diagnostics-
|
|
17
|
-
import { i as launchOutcomeRecord } from "./native-runtime-
|
|
18
|
-
import { a as PLATFORM, b as noDeviceDiagnostic, h as displayPath, n as LAUNCH_FAILED, r as NO_DEVICE, t as INSTALL_FAILED } from "./support-
|
|
19
|
-
import { a as persistLastBuild, n as finishAndroidUpload, s as reportAndroidResult } from "./result-
|
|
15
|
+
import { c as lostRefusal, s as lostLine, t as DEBUG_VERIFY_STEP_MS } from "./device-lease-run-ogEeJ62K.mjs";
|
|
16
|
+
import { a as printNativeCrashReport, r as captureNativeCrashes, t as errorDiagnostics } from "./error-diagnostics-B1Mj_-7h.mjs";
|
|
17
|
+
import { i as launchOutcomeRecord } from "./native-runtime-B9w_Qyz3.mjs";
|
|
18
|
+
import { a as PLATFORM, b as noDeviceDiagnostic, h as displayPath, n as LAUNCH_FAILED, r as NO_DEVICE, t as INSTALL_FAILED } from "./support-Cxj9CmII.mjs";
|
|
19
|
+
import { a as persistLastBuild, n as finishAndroidUpload, s as reportAndroidResult } from "./result-CR2vk2cj.mjs";
|
|
20
20
|
import { mkdirSync, openSync, statSync } from "node:fs";
|
|
21
21
|
import { basename, join } from "node:path";
|
|
22
22
|
import { ambientEnv } from "@stim-cli/core";
|
|
@@ -245,7 +245,7 @@ async function verifyAndroidMetroRun({ operation, root, slot, remoteDevice, veri
|
|
|
245
245
|
return { state: LAUNCH_FATAL };
|
|
246
246
|
}
|
|
247
247
|
if (verification?.verified) {
|
|
248
|
-
phase("verify", `bundle loaded` + (verification.processAlive === true ? ", process alive" : "") + (verification.readiness ? "" : ", stable for 3s -- the first screen may still be rendering") + ` (${formatDuration(verification.waitedMs ?? 0)} total)`);
|
|
248
|
+
phase("verify", `bundle loaded` + (verification.processAlive === true ? ", process alive" : "") + (verification.readiness ? "" : verification.jsRunning ? ", app JavaScript running -- the first screen may still be rendering" : ", stable for 3s -- the first screen may still be rendering") + ` (${formatDuration(verification.waitedMs ?? 0)} total)`);
|
|
249
249
|
const report = launchErrorReport(verification.errors ?? [], root);
|
|
250
250
|
if (report.summary) phase("launch", chalk.dim(report.summary));
|
|
251
251
|
for (const line of report.lines) phase("launch", chalk.yellow(line));
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import { o as cancellableSleep, t as getExecutor } from "./exec-VFRpu1iA.mjs";
|
|
2
2
|
import { m as workspaceLogsDir } from "./paths-DQtTgsBf.mjs";
|
|
3
3
|
import { B as deviceSlotFileKey, E as upsertProject, O as withConfigLockAsync, V as deviceSlotKey, p as getProject, u as getConcurrencyLimits, v as recordIosSchemeApprovals } from "./config-BZhXY15H.mjs";
|
|
4
|
-
import { _ as stepTimer, c as launchErrorReport, i as formatDuration, l as phaseLine, n as appReadinessMessage, v as launchErrorPreview } from "./command-output-
|
|
5
|
-
import { f as writeWorkspaceStateAsync, r as readWorkspaceState } from "./workspace-state-
|
|
6
|
-
import {
|
|
7
|
-
import { L as workspaceDevServerMode, f as projectRegistry, i as findProjectRoot, v as detectIsExpo, z as writeWorkspaceLaunchAsync } from "./project-
|
|
4
|
+
import { _ as stepTimer, c as launchErrorReport, i as formatDuration, l as phaseLine, n as appReadinessMessage, v as launchErrorPreview } from "./command-output-BBvS1H6v.mjs";
|
|
5
|
+
import { f as writeWorkspaceStateAsync, r as readWorkspaceState } from "./workspace-state-CPSp3mav.mjs";
|
|
6
|
+
import { K as resolveCacheProviderConfig, Pt as repoRootAsync, Ut as makeTemporaryDirectory, Wt as removeTemporaryEntry, X as resolveSettings, et as settingOriginScope, lt as detectProviders, rt as settingsLayers, yt as gitCommonDirAsync } from "./settings-B5tCoq9N.mjs";
|
|
7
|
+
import { L as workspaceDevServerMode, f as projectRegistry, i as findProjectRoot, v as detectIsExpo, z as writeWorkspaceLaunchAsync } from "./project-BiC68mIp.mjs";
|
|
8
8
|
import { o as workspaceLinks } from "./stim-desktop-DS0mzR8U.mjs";
|
|
9
|
-
import { c as pidExists, d as resolveProjectMetro, f as signalProcessTree } from "./metro-
|
|
9
|
+
import { c as pidExists, d as resolveProjectMetro, f as signalProcessTree } from "./metro-1pJgCX4U.mjs";
|
|
10
10
|
import { r as createNdjsonWriter } from "./ndjson-CgE_o3Dl.mjs";
|
|
11
|
-
import {
|
|
12
|
-
import { L as acquireBuildSlot, z as releaseBuildSlot } from "./workspaces-
|
|
13
|
-
import { F as waitForBuild, M as acquireBuildLock, P as releaseBuildLock } from "./activity-
|
|
14
|
-
import {
|
|
15
|
-
import { d as listAllIosSims, h as listIosRuntimesAsync, r as clearIosAppData } from "./ios-
|
|
16
|
-
import { f as readBundleExecutable, m as resolveScheme, p as readBundleId } from "./xcode-
|
|
17
|
-
import { h as readPodState, m as podsAreStale, v as runPodInstall } from "./toolchain-
|
|
18
|
-
import { n as readHostedIos, o as writeHostedIosAsync } from "./ios-state-
|
|
19
|
-
import { n as hostedMetroPortProbe } from "./hosted-native-
|
|
20
|
-
import { n as prepareHostedIos, t as placeHostedIos } from "./hosted-ios-
|
|
21
|
-
import { n as verifyCollectorOwnership } from "./ownership-
|
|
22
|
-
import { n as nativeRunCommand, r as siblingPlatformSlots, t as launchSlotScope } from "./slot-launch-
|
|
23
|
-
import { c as startDevServer, g as detectBundleId } from "./start-
|
|
11
|
+
import { $t as RELEASE_VERIFY_WAIT_MS, Bt as bundleEntryPoint, Fn as readRemoteSimulatorArch, Ht as ensureMetroReachable, In as gateMetroOrigin, J as recordCapacityRefusal, K as readRunEstimates, Kn as loadProjectProvider, Kt as remoteIosDeps, On as launchIosApp, Qn as uploadRemote, Tn as iosAppProcess, Un as checkEasAuth, Ut as ensureRemoteBootOwned, X as recordRunStats, Xn as resolveEasCliBin, Xt as LAUNCH_FATAL, Yt as LAUNCH_BUNDLING, Zn as resolveRemote, Zt as LAUNCH_UNVERIFIED, _n as clearOtherUserApps, an as unverifiedLaunchLines, cn as verifyReleaseLaunch, in as unattributedLaunchLines, kn as restartedAppNote, nn as readCollectorRecords, pn as IOS_DEV_MENU_OFF_DEFAULTS_PLIST, qt as resolveRemoteContext, rn as readMetroRecords, sn as verifyLaunch, t as budgetGate, tn as isBundleProof, vn as devClientUrl, wn as installIosApp } from "./budget-HyShrIpL.mjs";
|
|
12
|
+
import { L as acquireBuildSlot, z as releaseBuildSlot } from "./workspaces-C9w4aeXF.mjs";
|
|
13
|
+
import { F as waitForBuild, M as acquireBuildLock, P as releaseBuildLock } from "./activity-BpjwrQXU.mjs";
|
|
14
|
+
import { E as untrackedNativeFiles, b as storeBuild, d as fingerprintProject, y as resolveBuild } from "./build-cache-CKCzxzxA.mjs";
|
|
15
|
+
import { d as listAllIosSims, h as listIosRuntimesAsync, r as clearIosAppData } from "./ios-BQzvJlzw.mjs";
|
|
16
|
+
import { f as readBundleExecutable, m as resolveScheme, p as readBundleId } from "./xcode-CiIIDnuD.mjs";
|
|
17
|
+
import { h as readPodState, m as podsAreStale, v as runPodInstall } from "./toolchain-VzLJzZ7O.mjs";
|
|
18
|
+
import { n as readHostedIos, o as writeHostedIosAsync } from "./ios-state-CT9nV5SP.mjs";
|
|
19
|
+
import { n as hostedMetroPortProbe } from "./hosted-native-BxTizGU2.mjs";
|
|
20
|
+
import { n as prepareHostedIos, t as placeHostedIos } from "./hosted-ios-RtVcJH3u.mjs";
|
|
21
|
+
import { n as verifyCollectorOwnership } from "./ownership-jxxz-19m.mjs";
|
|
22
|
+
import { n as nativeRunCommand, r as siblingPlatformSlots, t as launchSlotScope } from "./slot-launch-QeuJMlnJ.mjs";
|
|
23
|
+
import { c as startDevServer, g as detectBundleId } from "./start-YMpNwLhh.mjs";
|
|
24
24
|
import { t as spawnEntry } from "./spawn-entry-jw19m8Nl.mjs";
|
|
25
|
-
import { a as discoverXcodeProject, r as buildIos } from "./react-native-build-
|
|
26
|
-
import { a as acquireRunLease, c as lostRefusal, d as runLease, s as lostLine, t as DEBUG_VERIFY_STEP_MS, u as releaseLeaseOnAbort } from "./device-lease-run-
|
|
27
|
-
import { r as checkDeviceCapacity } from "./device-capacity-
|
|
28
|
-
import { n as clearIosAdoptionPending } from "./device-ios-
|
|
29
|
-
import { i as deviceLabel, o as deviceShortName, t as appNameFromPath } from "./support-
|
|
25
|
+
import { a as discoverXcodeProject, r as buildIos } from "./react-native-build-CwZB-agu.mjs";
|
|
26
|
+
import { a as acquireRunLease, c as lostRefusal, d as runLease, s as lostLine, t as DEBUG_VERIFY_STEP_MS, u as releaseLeaseOnAbort } from "./device-lease-run-ogEeJ62K.mjs";
|
|
27
|
+
import { r as checkDeviceCapacity } from "./device-capacity-ZYaRALv5.mjs";
|
|
28
|
+
import { n as clearIosAdoptionPending } from "./device-ios-DkHBrmvH.mjs";
|
|
29
|
+
import { i as deviceLabel, o as deviceShortName, t as appNameFromPath } from "./support-qKcbgmI5.mjs";
|
|
30
30
|
import { a as sealAppForDevice, r as gateProfileForDevice } from "./ios-signing-4c_qXvQm.mjs";
|
|
31
|
-
import { a as resolveEasDevelopmentBuild } from "./eas-build-
|
|
32
|
-
import { a as printNativeCrashReport, n as IOS_CRASH_REPORT_RETRY, o as simulatorConsolePaths, r as captureNativeCrashes, t as errorDiagnostics } from "./error-diagnostics-
|
|
33
|
-
import { i as launchOutcomeRecord, n as ensureWorkspaceStorageSafely } from "./native-runtime-
|
|
34
|
-
import { a as runPrebuild, n as planPrebuildAsync } from "./prebuild-
|
|
35
|
-
import { n as devClientTakesDevMenuParams, r as hasDevClient, t as devClientScheme } from "./dev-client-
|
|
36
|
-
import { n as automaticDevicePlacement, t as checkEasFallback } from "./eas-fallback-
|
|
37
|
-
import { n as ensureBooted, o as warmMetro, r as ensureOwnedDevice } from "./device-
|
|
38
|
-
import { t as selectFromPool } from "./device-pool-
|
|
39
|
-
import { o as reportIosResult } from "./ios-project-
|
|
40
|
-
import { c as isWirelessIosDevice, i as iosDeviceProcess, l as listIosDevices, n as installIosDeviceApp, p as verifyIosDeviceReleaseLaunch, r as iosDeviceBounds, t as awaitIosDeviceLaunch, u as localNetworkPending } from "./ios-device-
|
|
41
|
-
import { i as swapJsBundle } from "./js-swap-
|
|
31
|
+
import { a as resolveEasDevelopmentBuild } from "./eas-build-CyDKNTBP.mjs";
|
|
32
|
+
import { a as printNativeCrashReport, n as IOS_CRASH_REPORT_RETRY, o as simulatorConsolePaths, r as captureNativeCrashes, t as errorDiagnostics } from "./error-diagnostics-B1Mj_-7h.mjs";
|
|
33
|
+
import { i as launchOutcomeRecord, n as ensureWorkspaceStorageSafely } from "./native-runtime-B9w_Qyz3.mjs";
|
|
34
|
+
import { a as runPrebuild, n as planPrebuildAsync } from "./prebuild-JUaqOLpc.mjs";
|
|
35
|
+
import { n as devClientTakesDevMenuParams, r as hasDevClient, t as devClientScheme } from "./dev-client-CHoXXZeg.mjs";
|
|
36
|
+
import { n as automaticDevicePlacement, t as checkEasFallback } from "./eas-fallback-gaZi-dJL.mjs";
|
|
37
|
+
import { n as ensureBooted, o as warmMetro, r as ensureOwnedDevice } from "./device-B9FqTBYW.mjs";
|
|
38
|
+
import { t as selectFromPool } from "./device-pool-BIg8MU8l.mjs";
|
|
39
|
+
import { o as reportIosResult } from "./ios-project-DCUDo06I.mjs";
|
|
40
|
+
import { c as isWirelessIosDevice, i as iosDeviceProcess, l as listIosDevices, n as installIosDeviceApp, p as verifyIosDeviceReleaseLaunch, r as iosDeviceBounds, t as awaitIosDeviceLaunch, u as localNetworkPending } from "./ios-device-CKSvk0bu.mjs";
|
|
41
|
+
import { i as swapJsBundle } from "./js-swap-Z9HbC4cj.mjs";
|
|
42
42
|
import { mkdirSync, openSync, writeFileSync } from "node:fs";
|
|
43
43
|
import { networkInterfaces } from "node:os";
|
|
44
44
|
import { basename, join } from "node:path";
|
|
@@ -497,7 +497,7 @@ async function verifyIosMetroRun({ operation, root, slot, appPath, d, launched,
|
|
|
497
497
|
return { state: LAUNCH_FATAL };
|
|
498
498
|
}
|
|
499
499
|
if (verification?.verified) {
|
|
500
|
-
phase("verify", `bundle loaded` + (verification.processAlive === true ? ", process alive" : "") + (verification.readiness ? "" : ", stable for 3s -- the first screen may still be rendering") + ` (${formatDuration(verification.waitedMs ?? 0)} total)`);
|
|
500
|
+
phase("verify", `bundle loaded` + (verification.processAlive === true ? ", process alive" : "") + (verification.readiness ? "" : verification.jsRunning ? ", app JavaScript running -- the first screen may still be rendering" : ", stable for 3s -- the first screen may still be rendering") + ` (${formatDuration(verification.waitedMs ?? 0)} total)`);
|
|
501
501
|
const hasAppErrors = reportLaunchErrors(verification.errors ?? [], note, root);
|
|
502
502
|
if (hasAppErrors && verification.processAlive === true && metroPort !== null) {
|
|
503
503
|
const reloadRemedy = remoteDevice ? `run \`agent-device metro reload --metro-port ${metroPort}\`.` : "run `stim reload ios`.";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { S as process_identity_exports } from "./exec-VFRpu1iA.mjs";
|
|
2
2
|
import { m as workspaceLogsDir$1 } from "./paths-DQtTgsBf.mjs";
|
|
3
3
|
import { G as projectDeviceSlots, _ as loadConfig$1 } from "./config-BZhXY15H.mjs";
|
|
4
|
-
import { n as pullHostedNativeLogs, t as pullHostedMacosLogs } from "./hosted-logs-
|
|
5
|
-
import { l as phaseLine } from "./command-output-
|
|
6
|
-
import { f as readAgentDeviceRecordsAsync, n as agentDeviceLiveness, o as envDir } from "./activity-
|
|
7
|
-
import { l as connectHost } from "./hosted-client-
|
|
8
|
-
import { n as readHostedIos, t as readHostedAndroid } from "./ios-state-
|
|
9
|
-
import "./hosted-macos-
|
|
10
|
-
import { i as captureWorkspaceCrashes } from "./error-diagnostics-
|
|
4
|
+
import { n as pullHostedNativeLogs, t as pullHostedMacosLogs } from "./hosted-logs-CWKGYWNX.mjs";
|
|
5
|
+
import { l as phaseLine } from "./command-output-BBvS1H6v.mjs";
|
|
6
|
+
import { f as readAgentDeviceRecordsAsync, n as agentDeviceLiveness, o as envDir } from "./activity-BpjwrQXU.mjs";
|
|
7
|
+
import { l as connectHost } from "./hosted-client-rsRqysJc.mjs";
|
|
8
|
+
import { n as readHostedIos, t as readHostedAndroid } from "./ios-state-CT9nV5SP.mjs";
|
|
9
|
+
import "./hosted-macos-d0pv9Tth.mjs";
|
|
10
|
+
import { i as captureWorkspaceCrashes } from "./error-diagnostics-B1Mj_-7h.mjs";
|
|
11
11
|
import { readdirSync, statSync, watch } from "node:fs";
|
|
12
12
|
import { homedir } from "node:os";
|
|
13
13
|
import { dirname, join, relative, resolve, sep } from "node:path";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { m as workspaceLogsDir$1 } from "./paths-DQtTgsBf.mjs";
|
|
2
2
|
import { W as parseDeviceSlotOption, _ as loadConfig$1, g as isPathPrefix } from "./config-BZhXY15H.mjs";
|
|
3
|
-
import { f as refuseNoProject, v as launchErrorPreview } from "./command-output-
|
|
4
|
-
import { r as readWorkspaceState$1 } from "./workspace-state-
|
|
5
|
-
import { n as findCommandWorkspace } from "./project-
|
|
3
|
+
import { f as refuseNoProject, v as launchErrorPreview } from "./command-output-BBvS1H6v.mjs";
|
|
4
|
+
import { r as readWorkspaceState$1 } from "./workspace-state-CPSp3mav.mjs";
|
|
5
|
+
import { n as findCommandWorkspace } from "./project-BiC68mIp.mjs";
|
|
6
6
|
import { n as SOURCES$1, t as LEVELS$1 } from "./ndjson-CgE_o3Dl.mjs";
|
|
7
|
-
import { a as followAgentActions, i as followHostedLogs, n as openWorkspaceLogs } from "./logs-
|
|
8
|
-
import { t as errorDiagnostics } from "./error-diagnostics-
|
|
7
|
+
import { a as followAgentActions, i as followHostedLogs, n as openWorkspaceLogs } from "./logs-BsIRre8x.mjs";
|
|
8
|
+
import { t as errorDiagnostics } from "./error-diagnostics-B1Mj_-7h.mjs";
|
|
9
9
|
import { t as watchStdoutReader } from "./stdout-reader-C8yjre1x.mjs";
|
|
10
10
|
import { realpathSync } from "node:fs";
|
|
11
11
|
import { relative, sep } from "node:path";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as runMacos, r as waitForLaunchServices, t as macosCommand } from "./macos-
|
|
1
|
+
import { n as runMacos, r as waitForLaunchServices, t as macosCommand } from "./macos-D477nfzH.mjs";
|
|
2
2
|
export { macosCommand as default, runMacos, waitForLaunchServices };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { _ as spawnDeclared, c as throwIfCancelled, t as getExecutor, u as withWorkspaceProcessLock, x as withDrainingCancellation } from "./exec-VFRpu1iA.mjs";
|
|
2
2
|
import { d as workspaceDir, l as workspaceAgentDeviceDir, m as workspaceLogsDir$1, r as ensureWorkspaceStorageAsync } from "./paths-DQtTgsBf.mjs";
|
|
3
3
|
import { E as upsertProject, O as withConfigLockAsync$1, u as getConcurrencyLimits } from "./config-BZhXY15H.mjs";
|
|
4
|
-
import { l as phaseLine } from "./command-output-
|
|
5
|
-
import { a as recordWorkspaceUseAsync, f as writeWorkspaceStateAsync } from "./workspace-state-
|
|
6
|
-
import {
|
|
7
|
-
import { f as projectRegistry, i as findProjectRoot$1, s as ownedDeviceLabel } from "./project-
|
|
8
|
-
import { i as macosProcess, n as macosDir, o as requiredMacosRecord, r as macosLogFile } from "./state-
|
|
4
|
+
import { l as phaseLine } from "./command-output-BBvS1H6v.mjs";
|
|
5
|
+
import { a as recordWorkspaceUseAsync, f as writeWorkspaceStateAsync } from "./workspace-state-CPSp3mav.mjs";
|
|
6
|
+
import { Y as resolveProjectSettingsAsync, a as SETTING_SHAPE_REMEDY, tt as settingShapeErrors } from "./settings-B5tCoq9N.mjs";
|
|
7
|
+
import { f as projectRegistry, i as findProjectRoot$1, s as ownedDeviceLabel } from "./project-BiC68mIp.mjs";
|
|
8
|
+
import { i as macosProcess, n as macosDir, o as requiredMacosRecord, r as macosLogFile } from "./state-DPaM3u5K.mjs";
|
|
9
9
|
import { r as createNdjsonWriter } from "./ndjson-CgE_o3Dl.mjs";
|
|
10
|
-
import { B as recordFinishedBuild, H as startBuildProgress,
|
|
11
|
-
import { d as runCancellationSignal, f as withNativeBuildRun } from "./native-run-
|
|
12
|
-
import { L as acquireBuildSlot, z as releaseBuildSlot } from "./workspaces-
|
|
13
|
-
import { D as sanitizeDeviceLabel } from "./ios-
|
|
14
|
-
import { S as setRemoteLogSink, c as offloadPlacement, i as closeOffload, l as placementLoad, n as buildPlacementCandidates, o as offloadBuild, r as chooseBuildMachine, u as remotePhaseText } from "./client-
|
|
15
|
-
import { a as parseBuildMachineOption, c as resolveBuildPlacement, i as namedBuildMachine, o as requireLocalBuild, t as OffloadRefusal } from "./selection-
|
|
16
|
-
import { l as connectHost } from "./hosted-client-
|
|
17
|
-
import { t as placeHostedMacos } from "./hosted-macos-
|
|
18
|
-
import { r as stopMacosAppHeld, t as stopBundleInstances } from "./stop-
|
|
10
|
+
import { B as recordFinishedBuild, H as startBuildProgress, M as NO_BUILD_PROGRESS, Rn as processContext, U as tapBuildLog, z as recordBuildPhase, zn as runProcessOperation } from "./budget-HyShrIpL.mjs";
|
|
11
|
+
import { d as runCancellationSignal, f as withNativeBuildRun } from "./native-run-D5OJsGwA.mjs";
|
|
12
|
+
import { L as acquireBuildSlot, z as releaseBuildSlot } from "./workspaces-C9w4aeXF.mjs";
|
|
13
|
+
import { D as sanitizeDeviceLabel } from "./ios-BQzvJlzw.mjs";
|
|
14
|
+
import { S as setRemoteLogSink, c as offloadPlacement, i as closeOffload, l as placementLoad, n as buildPlacementCandidates, o as offloadBuild, r as chooseBuildMachine, u as remotePhaseText } from "./client-BQsmyp_-.mjs";
|
|
15
|
+
import { a as parseBuildMachineOption, c as resolveBuildPlacement, i as namedBuildMachine, o as requireLocalBuild, t as OffloadRefusal } from "./selection-D5cxEl3t.mjs";
|
|
16
|
+
import { l as connectHost } from "./hosted-client-rsRqysJc.mjs";
|
|
17
|
+
import { t as placeHostedMacos } from "./hosted-macos-d0pv9Tth.mjs";
|
|
18
|
+
import { r as stopMacosAppHeld, t as stopBundleInstances } from "./stop-COP6PQqw.mjs";
|
|
19
19
|
import { t as spawnEntry } from "./spawn-entry-jw19m8Nl.mjs";
|
|
20
|
-
import { t as buildPlacementRecord } from "./placement-log-
|
|
21
|
-
import { t as reidentifyBundle } from "./stage-
|
|
20
|
+
import { t as buildPlacementRecord } from "./placement-log-DjOXJRIH.mjs";
|
|
21
|
+
import { t as reidentifyBundle } from "./stage-D8xlRU2D.mjs";
|
|
22
22
|
import { t as validateMacosArtifactPlatform } from "./artifact-platform-CMRc0M_r.mjs";
|
|
23
23
|
import { t as waitForMacosRegistration } from "./registration-CN6nlhcD.mjs";
|
|
24
24
|
import { createHash, randomUUID } from "node:crypto";
|
|
@@ -346,7 +346,7 @@ async function planMacos(context, root, buildMachineFlag) {
|
|
|
346
346
|
if (selected.failure) throw Object.assign(new Error(selected.failure.message), selected.failure);
|
|
347
347
|
const macos = settings.macos;
|
|
348
348
|
if (!macos?.product || !macos.infoPlist) throw Object.assign(/* @__PURE__ */ new Error("Set macos.product and macos.infoPlist explicitly in .stim.json. See stim guide macos."), { code: "STIM_BAD_ARG" });
|
|
349
|
-
const { swiftpmMacosProject } = await import("./swiftpm-macos-
|
|
349
|
+
const { swiftpmMacosProject } = await import("./swiftpm-macos-Bp_sn9P4.mjs");
|
|
350
350
|
const recipe = await swiftpmMacosProject(root).prepare(context, settings);
|
|
351
351
|
let identity = null;
|
|
352
352
|
let cacheHit = false;
|
package/dist/macos-run.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as runMacosSupervisor, t as logLines } from "./run-
|
|
1
|
+
import { n as runMacosSupervisor, t as logLines } from "./run-BtzE09Dl.mjs";
|
|
2
2
|
export { logLines, runMacosSupervisor };
|