stim 1.29.0 → 1.31.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-C2DKfenN.mjs → acquire-artifact-P84h3ssa.mjs} +1 -1
- package/dist/{act-CrTcskiE.mjs → act-lcOIEy32.mjs} +18 -18
- package/dist/{activity-BR5oHSO5.mjs → activity-Dw4N_RFe.mjs} +4 -4
- package/dist/{agent-device-usage-output-W0x4SoC7.mjs → agent-device-usage-output-Boie2yB-.mjs} +4 -4
- package/dist/{android-CLU_MMnb.mjs → android-BeeC15Ve.mjs} +1 -1
- package/dist/{android-l616dRP1.mjs → android-DhiWSOFU.mjs} +47 -43
- package/dist/{android-BHKgeOuq.mjs → android-DsEj2CCs.mjs} +65 -35
- package/dist/{android-BPmCmyAy.mjs → android-aIuJZoDu.mjs} +5 -5
- package/dist/{android-cas-BH6K12__.mjs → android-cas-CbumHXIq.mjs} +4 -4
- package/dist/api.mjs +26 -26
- package/dist/{apk-signed-tail-B-wKoF_8.mjs → apk-signed-tail-B9Usseps.mjs} +2 -2
- package/dist/{artifact-Dm9ScLrh.mjs → artifact-Cr34-Yyy.mjs} +12 -12
- package/dist/{artifact-DHuFYfhD.mjs → artifact-ta3xA0c4.mjs} +12 -12
- package/dist/{auto-placement-C8sJsyMN.mjs → auto-placement-DtTRG0rk.mjs} +12 -12
- package/dist/{browser-web-_tQTbQUs.mjs → browser-web-DuULNZrS.mjs} +11 -11
- package/dist/{build-DtCU9Kim.mjs → build-BpFFbdXD.mjs} +22 -22
- package/dist/{build-cache-BGwTsIEa.mjs → build-cache-BsKim4V7.mjs} +4 -4
- package/dist/{build-plan-CWyjMPKo.mjs → build-plan-DH1rT11x.mjs} +6 -6
- package/dist/{cache-manifest-evF_zJ9U.mjs → cache-manifest-CfiEny4T.mjs} +1 -1
- package/dist/cache-manifest.mjs +1 -1
- package/dist/{ccache-DsDkdP72.mjs → ccache-DVDO2ocE.mjs} +16 -16
- package/dist/{cli-3fjOg-Oc.mjs → cli-C0jjwTuM.mjs} +18 -18
- package/dist/cli.mjs +1 -1
- package/dist/{client-BTUH8TF1.mjs → client-DhJOvSvh.mjs} +4 -4
- package/dist/collector-run.mjs +4 -4
- package/dist/{command-output-DjCsmzLZ.mjs → command-output-VrXd6qPX.mjs} +1 -1
- package/dist/{config-AbUjIBOQ.mjs → config-D5qNWJEP.mjs} +2 -2
- package/dist/{dependencies-CHNqX6Pr.mjs → dependencies-DIU-5rnG.mjs} +38 -37
- package/dist/{dependency-state-CPKAKCZ8.mjs → dependency-state-DZVln1P9.mjs} +1 -1
- package/dist/{dev-client-CROrxj1x.mjs → dev-client-DeAg0fso.mjs} +2 -2
- package/dist/device-C2WsPgFt.mjs +761 -0
- package/dist/device-DuNLOlR6.mjs +175 -0
- package/dist/{device-Bmm5qjM-.mjs → device-android-BjhH0Ru3.mjs} +39 -200
- package/dist/{device-capacity-B2ChA-bz.mjs → device-capacity-Du5wBTNJ.mjs} +175 -76
- package/dist/device-host-worker.mjs +49 -36
- package/dist/{device-ios-CYzivd31.mjs → device-ios-CUYUhSYO.mjs} +27 -17
- package/dist/{device-lease-run-qRq_2W2V.mjs → device-lease-run-CHXQEn-7.mjs} +4 -4
- package/dist/{device-pool-CrmiE4_x.mjs → device-pool-kUHO7MHO.mjs} +3 -3
- package/dist/{device-provision-CK2XiEp1.mjs → device-provision-e7bKS7lx.mjs} +8 -8
- package/dist/{doctor-BO_kaFWX.mjs → doctor-B6kIVgU9.mjs} +1 -1
- package/dist/{doctor-Cp4-HN1f.mjs → doctor-BGcsAgAV.mjs} +15 -15
- package/dist/doctor-fingerprint.mjs +1 -1
- package/dist/{doctor-Dr3C1iXV.mjs → doctor-hva3sd9f.mjs} +37 -26
- package/dist/{doctor-watchman-CJr2aXXv.mjs → doctor-watchman-DJY550yz.mjs} +4 -4
- package/dist/{eas-build-D-9HmGZS.mjs → eas-build-CBFgseh1.mjs} +2 -2
- package/dist/{eas-fallback-Cemt2GVL.mjs → eas-fallback-DFXdz4d6.mjs} +4 -4
- package/dist/{eas-session-ledger-B0KLZx5m.mjs → eas-session-ledger-aFBLTZr2.mjs} +19 -6
- package/dist/{error-diagnostics-CV_1RoEH.mjs → error-diagnostics-CCsq_3uG.mjs} +8 -8
- package/dist/{gc-CKHqL4aS.mjs → gc-B0K4d_PL.mjs} +17 -17
- package/dist/{gc-DjXwQXHK.mjs → gc-DASUa3Z_.mjs} +2 -2
- package/dist/{guide-CeRlWVsS.mjs → guide-Civo5-zV.mjs} +178 -28
- package/dist/{hosted-android-DI_vvv7U.mjs → hosted-android-CH1Sm4wo.mjs} +3 -3
- package/dist/{hosted-client-CgoxdU9j.mjs → hosted-client-5ur3YpxY.mjs} +36 -12
- package/dist/{hosted-logs-C-4INmkn.mjs → hosted-logs-BYg4yeti.mjs} +6 -6
- package/dist/{hosted-logs-sync-Bf5s02fi.mjs → hosted-logs-sync-BPe8xnMu.mjs} +7 -11
- package/dist/{hosted-macos-Doh85YUM.mjs → hosted-macos-BagT0Gn3.mjs} +5 -5
- package/dist/{hosted-native-DvZENAL-.mjs → hosted-native-kaR4nUHk.mjs} +9 -8
- package/dist/{idle-shutdown-BM37gMfU.mjs → idle-shutdown-BWHQ7mQG.mjs} +6 -6
- package/dist/{ios-CNDH6fNF.mjs → ios-BKR-Dq46.mjs} +8 -8
- package/dist/{ios-CoMCWfub.mjs → ios-CdAV4-1E.mjs} +4 -4
- package/dist/{ios-UM_dManb.mjs → ios-DUL68MI5.mjs} +33 -32
- package/dist/{ios-device-L1-pota_.mjs → ios-device-Dz8gFZ0K.mjs} +1 -1
- package/dist/{ios-project-DJYptOCh.mjs → ios-project-Br1tVYWX.mjs} +7 -7
- package/dist/{ios-state-Ce_dystM.mjs → ios-state-BEIJRJ7P.mjs} +1 -1
- package/dist/{js-swap-BthE4kZC.mjs → js-swap-BfG8XpyS.mjs} +4 -4
- package/dist/{launch-D798aSm8.mjs → launch-CrGndh8T.mjs} +19 -19
- package/dist/{lightened-vSxkstg6.mjs → lightened-DZ9Ip0T3.mjs} +4 -4
- package/dist/{logs-CilPftm3.mjs → logs-C-hfMsxK.mjs} +7 -6
- package/dist/{logs-BND8MiBq.mjs → logs-DpIKWT3A.mjs} +7 -7
- package/dist/{macos-BOQrKYeJ.mjs → macos-DNmKwfDy.mjs} +1 -1
- package/dist/{macos-CxUi9xcE.mjs → macos-DZ9ZSolN.mjs} +19 -19
- package/dist/macos-run.mjs +1 -1
- package/dist/maintenance-run.mjs +5 -5
- package/dist/{metro-BMQHczcf.mjs → metro-mKHEMO-a.mjs} +2 -2
- package/dist/{metro-request-BtF7ox53.mjs → metro-request-RDhyx85c.mjs} +1 -1
- package/dist/{named-ports-DcktE2Pw.mjs → named-ports-B0hCk2v-.mjs} +2 -2
- package/dist/{native-android-BkhrCjdX.mjs → native-android-DExhFqR6.mjs} +16 -16
- package/dist/{native-gradle-artifact-inputs-Cw4P6Gyr.mjs → native-gradle-artifact-inputs-Bcmbdc23.mjs} +3 -3
- package/dist/{native-runtime-DyH2gkXK.mjs → native-runtime-D4qgnjK_.mjs} +6 -6
- package/dist/{native-xcode-inputs-DV8jr3kJ.mjs → native-xcode-inputs-EWma1lXh.mjs} +2 -2
- package/dist/{native-xcode-ios-DdpPG2iT.mjs → native-xcode-ios-Y6rzmWTc.mjs} +15 -15
- package/dist/offload-worker.mjs +19 -19
- package/dist/{ownership-Dtz9G5Gl.mjs → ownership-CCfiBfOP.mjs} +2 -2
- package/dist/{phone-reverses-DZRad8HT.mjs → phone-reverses-Drj5QQCh.mjs} +4 -4
- package/dist/{placement-log-CoN6xrjY.mjs → placement-log-CFT8SnlS.mjs} +1 -1
- package/dist/{plan-placement-7sHuqR-r.mjs → plan-placement-DhKCH_wF.mjs} +6 -6
- package/dist/{ports-VQSAPZhl.mjs → ports-BNtJ5DCj.mjs} +3 -3
- package/dist/{prebuild-Bqp0LFGN.mjs → prebuild-D0hvmO4j.mjs} +9 -9
- package/dist/{project-D1n0K4yg.mjs → project-DCLkDM8C.mjs} +15 -15
- package/dist/{react-native-android-FQ-yX3Mv.mjs → react-native-android-Dp7vctEA.mjs} +24 -24
- package/dist/{react-native-build-D58bIqV9.mjs → react-native-build-vK2lFYfN.mjs} +7 -7
- package/dist/{react-native-doctor-AkUH2aca.mjs → react-native-doctor-BtWzwZHU.mjs} +9 -8
- package/dist/{react-native-ios-Dmsv8j7T.mjs → react-native-ios-DW1Ax3Yv.mjs} +16 -15
- package/dist/{recordings-CHMaF73C.mjs → recordings-BWnIlhZH.mjs} +1 -1
- package/dist/{reload-BV0nD-k9.mjs → reload-B-d7-CsI.mjs} +14 -14
- package/dist/{reload-CDKEzzaf.mjs → reload-BS_ntVV_.mjs} +1 -1
- package/dist/{remote-C8xyslUa.mjs → remote-DScVlaMz.mjs} +8 -8
- package/dist/{result-9fqcJ90W.mjs → result-Epkl6gyG.mjs} +16 -16
- package/dist/{run-BQAmrohh.mjs → run-2CHAJ9Oj.mjs} +1 -1
- package/dist/{selection-D1ZDzHFX.mjs → selection-C95m--1_.mjs} +3 -3
- package/dist/{server-bare-CEQdB_F4.mjs → server-bare-CFyVFZXJ.mjs} +1 -1
- package/dist/{server-command-RlS-Kl4a.mjs → server-command-B1gDRJB2.mjs} +4 -4
- package/dist/{server-expo-bB1VV2k-.mjs → server-expo-CP4dURQp.mjs} +2 -2
- package/dist/server-expo-D3k9mvP8.mjs +2 -0
- package/dist/{settings-D776ygML.mjs → settings-C6UTYW2K.mjs} +1 -1
- package/dist/{settings-BcVCcAT5.mjs → settings-CjTRNCi3.mjs} +2 -2
- package/dist/{settings-payload-_aatELz2.mjs → settings-payload-zf5EnCTg.mjs} +4 -4
- package/dist/{settings-write-CkTVGQ4O.mjs → settings-write-Fe0K6BeC.mjs} +5 -5
- package/dist/settings.schema.json +45 -3
- package/dist/{simslim-CbpHERcv.mjs → simslim-93xmPh-d.mjs} +1 -1
- package/dist/{slot-launch-Dbgfh8gc.mjs → slot-launch-B4MHzVX2.mjs} +6 -6
- package/dist/{stage-BuHuRj1y.mjs → stage-DDrnM0CY.mjs} +1 -1
- package/dist/{start-Cr-c3Xhq.mjs → start-BXl5tkv8.mjs} +1 -1
- package/dist/{start-Dlv4XXTP.mjs → start-LSwIFlBv.mjs} +10 -10
- package/dist/{state-D5ZxwCGJ.mjs → state-CM_HvvkS.mjs} +2 -2
- package/dist/{state-C2AUjjhg.mjs → state-CiflgxTP.mjs} +1 -1
- package/dist/{stats-D5c-uIBp.mjs → stats-EgpYD536.mjs} +4 -4
- package/dist/{status-D6PBK6_-.mjs → status-BLDvhatv.mjs} +26 -25
- package/dist/{status-DbQv--Yb.mjs → status-DBMD7ZQT.mjs} +1 -1
- package/dist/{status-CK7ZoEhV.mjs → status-GQ-JqvRi.mjs} +1 -1
- package/dist/{status-watch-okrpea4i.mjs → status-watch-BwG4lJ1q.mjs} +4 -4
- package/dist/status-worker.mjs +1 -1
- package/dist/{stim-desktop-CYXLFpFS.mjs → stim-desktop-1XxET4S8.mjs} +1 -1
- package/dist/{stop-CHtAiv79.mjs → stop-4SAV_RR8.mjs} +2 -2
- package/dist/{stop-uRQ-zYcl.mjs → stop-BfNhzvXO.mjs} +4 -4
- package/dist/{stop-p9uSKuGE.mjs → stop-WyrZQuX6.mjs} +15 -15
- package/dist/supervisor-run.mjs +13 -13
- package/dist/{support-PFyTkrnr.mjs → support-Cffz6_Ft.mjs} +15 -11
- package/dist/{support-BMpQIug0.mjs → support-Cs24xRQa.mjs} +9 -9
- package/dist/{swiftpm-artifact-inputs-Cddq6jN2.mjs → swiftpm-artifact-inputs-yp8D5LE4.mjs} +1 -1
- package/dist/{swiftpm-macos-BSj9iZlI.mjs → swiftpm-macos-D0CzQtpp.mjs} +8 -8
- package/dist/toolchain-BEra9AIX.mjs +2 -0
- package/dist/{toolchain-CLGnEUgT.mjs → toolchain-CGdgD4x4.mjs} +19 -11
- package/dist/{warm-progress--KkkBBaq.mjs → warm-progress-_aTMvkIH.mjs} +3 -3
- package/dist/{web-xlVssjQf.mjs → web-BE89ONcc.mjs} +8 -8
- package/dist/web-DQPxvFVD.mjs +2 -0
- package/dist/web-run.mjs +4 -4
- package/dist/{workspace-state-DGwkPXwq.mjs → workspace-state-3bF4TB8P.mjs} +2 -2
- package/dist/{workspaces-CvSYD_78.mjs → workspaces-BNEyJ1B_.mjs} +15 -12
- package/dist/{worktree-CaQBf6kh.mjs → worktree-BTrii9e_.mjs} +24 -24
- package/dist/{worktree-DTOIohFe.mjs → worktree-DB3Ypdj6.mjs} +1 -1
- package/package.json +7 -7
- package/dist/device-BvpasThQ.mjs +0 -297
- package/dist/server-expo-BVV9qy31.mjs +0 -2
- package/dist/toolchain-B-mzR9Rh.mjs +0 -2
- package/dist/web-BxSo493O.mjs +0 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as getExecutor } from "./exec-aULwtNly.mjs";
|
|
2
2
|
import { a as killOnAbort } from "./operation-exec-Dp4FuIGR.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { yn as pickDevClientScheme } from "./ccache-
|
|
5
|
-
import {
|
|
6
|
-
import { t as devClientScheme } from "./dev-client-
|
|
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-DsEj2CCs.mjs";
|
|
4
|
+
import { yn as pickDevClientScheme } from "./ccache-DVDO2ocE.mjs";
|
|
5
|
+
import { m as unknownAndroidSystemImageRefusal, p as unknownAndroidDeviceProfileRefusal, u as layerNote } from "./device-capacity-Du5wBTNJ.mjs";
|
|
6
|
+
import { t as devClientScheme } from "./dev-client-DeAg0fso.mjs";
|
|
7
7
|
import { existsSync, readFileSync, readdirSync } from "node:fs";
|
|
8
8
|
import { relative } from "node:path";
|
|
9
9
|
//#region src/commands/android/support.ts
|
|
@@ -271,14 +271,18 @@ function displayPath(root, path) {
|
|
|
271
271
|
return rel && !rel.startsWith("..") ? rel : path;
|
|
272
272
|
}
|
|
273
273
|
async function pooledAndroidDevice({ root, selectPool, listDevices, isEmulatorDevice, deviceModel, waitSeconds, noWait, now, warn }) {
|
|
274
|
-
const
|
|
274
|
+
const probed = emulatorProbeSession(isEmulatorDevice);
|
|
275
275
|
const pooled = await selectPool({
|
|
276
276
|
root,
|
|
277
277
|
platform: PLATFORM,
|
|
278
278
|
idLabel: "serial",
|
|
279
|
-
list:
|
|
280
|
-
|
|
281
|
-
|
|
279
|
+
list: async () => {
|
|
280
|
+
const adb = await listDevices();
|
|
281
|
+
return (await probed((isEmulator) => androidPoolCandidates(adb, isEmulator))).map((entry) => ({ id: entry.serial }));
|
|
282
|
+
},
|
|
283
|
+
noCandidates: async () => {
|
|
284
|
+
const adb = await listDevices();
|
|
285
|
+
const resolved = await probed((isEmulator) => androidPoolNoCandidatesRefusal(adb, isEmulator));
|
|
282
286
|
return {
|
|
283
287
|
message: resolved.error,
|
|
284
288
|
remedy: resolved.remedy
|
|
@@ -300,7 +304,7 @@ async function pooledAndroidDevice({ root, selectPool, listDevices, isEmulatorDe
|
|
|
300
304
|
}
|
|
301
305
|
return { device: {
|
|
302
306
|
serial: pooled.candidate.id,
|
|
303
|
-
deviceName: deviceModel(pooled.candidate.id) ?? pooled.candidate.id,
|
|
307
|
+
deviceName: await deviceModel(pooled.candidate.id) ?? pooled.candidate.id,
|
|
304
308
|
owned: false
|
|
305
309
|
} };
|
|
306
310
|
}
|
|
@@ -313,9 +317,9 @@ function androidJobLayout(layout) {
|
|
|
313
317
|
module: layout.module
|
|
314
318
|
} : {};
|
|
315
319
|
}
|
|
316
|
-
function androidBuildOptions({ release, physical, device, variant, deviceAbi, compiler, buildProfile, targetAbiOnly = true, hostedAbi = null, gradleProject = null }) {
|
|
320
|
+
async function androidBuildOptions({ release, physical, device, variant, deviceAbi, compiler, buildProfile, targetAbiOnly = true, hostedAbi = null, gradleProject = null }) {
|
|
317
321
|
let abi = targetAbiOnly ? hostedAbi : null;
|
|
318
|
-
if (targetAbiOnly && !release && physical && device.serial) abi = deviceAbi(device.serial);
|
|
322
|
+
if (targetAbiOnly && !release && physical && device.serial) abi = await deviceAbi(device.serial);
|
|
319
323
|
if (targetAbiOnly && !release && !physical) abi = androidSystemImageAbi(device.systemImage);
|
|
320
324
|
const runOptions = {};
|
|
321
325
|
if (variant) runOptions.variant = variant;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { k as workspaceLogsDir } from "./workspace-state-
|
|
2
|
-
import { h as shortUdid, l as phaseLine } from "./command-output-
|
|
3
|
-
import { _ as inertSettingWarning, a as SETTING_SHAPE_REMEDY, b as iosProjectDirSetting, p as cacheProviderSettingError, rt as settingShapeErrors, st as unknownSettingKeys, x as iosProjectDirSettingError } from "./settings-
|
|
4
|
-
import {
|
|
5
|
-
import { P as parseIosSimulatorApp } from "./ios-
|
|
1
|
+
import { k as workspaceLogsDir } from "./workspace-state-3bF4TB8P.mjs";
|
|
2
|
+
import { h as shortUdid, l as phaseLine } from "./command-output-VrXd6qPX.mjs";
|
|
3
|
+
import { _ as inertSettingWarning, a as SETTING_SHAPE_REMEDY, b as iosProjectDirSetting, p as cacheProviderSettingError, rt as settingShapeErrors, st as unknownSettingKeys, x as iosProjectDirSettingError } from "./settings-C6UTYW2K.mjs";
|
|
4
|
+
import { J as describeDiagnostic } from "./toolchain-CGdgD4x4.mjs";
|
|
5
|
+
import { P as parseIosSimulatorApp } from "./ios-CdAV4-1E.mjs";
|
|
6
6
|
import { p as resolveOptimizations } from "./errors-DHm_U5gv.mjs";
|
|
7
|
-
import { d as resolveBuildPlacement } from "./selection-
|
|
8
|
-
import { l as parseDeviceWait } from "./device-lease-run-
|
|
9
|
-
import {
|
|
10
|
-
import { t as IosDeviceMismatchError } from "./device-ios-
|
|
7
|
+
import { d as resolveBuildPlacement } from "./selection-C95m--1_.mjs";
|
|
8
|
+
import { l as parseDeviceWait } from "./device-lease-run-CHXQEn-7.mjs";
|
|
9
|
+
import { g as unknownIosRuntimeRefusal, h as unknownIosDeviceTypeRefusal, t as DEFAULT_DEVICE_SLOT_WAIT_MS, u as layerNote } from "./device-capacity-Du5wBTNJ.mjs";
|
|
10
|
+
import { t as IosDeviceMismatchError } from "./device-ios-CUYUhSYO.mjs";
|
|
11
11
|
import { basename, join } from "node:path";
|
|
12
12
|
import chalk from "chalk";
|
|
13
13
|
function buildLogFile(root) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as getExecutor } from "./exec-aULwtNly.mjs";
|
|
2
2
|
import { s as gitAsync } from "./operation-exec-Dp4FuIGR.mjs";
|
|
3
|
-
import { n as buildCacheKey } from "./build-cache-
|
|
3
|
+
import { n as buildCacheKey } from "./build-cache-BsKim4V7.mjs";
|
|
4
4
|
import { n as fingerprintNativeInputs, r as manifestDigest } from "./native-inputs-TRTTTRxt.mjs";
|
|
5
5
|
import { a as sourceManifest, r as nativeFileDigest } from "./native-source-D1AzWiuP.mjs";
|
|
6
6
|
import { createHash } from "node:crypto";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { T as trackReportResource, _ as spawnDeclared, t as getExecutor } from "./exec-aULwtNly.mjs";
|
|
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 {
|
|
6
|
-
import "./build-cache-
|
|
2
|
+
import { y as sharedBuildCache } from "./workspace-state-3bF4TB8P.mjs";
|
|
3
|
+
import { J as resolveCacheProviderConfig, Vt as repoRootAsync, it as settingValueAt, z as projectSettingsContextAsync } from "./settings-C6UTYW2K.mjs";
|
|
4
|
+
import { r as register } from "./cache-manifest-CfiEny4T.mjs";
|
|
5
|
+
import { h as macosToolchainAsync, st as runCancellationSignal } from "./toolchain-CGdgD4x4.mjs";
|
|
6
|
+
import "./build-cache-BsKim4V7.mjs";
|
|
7
7
|
import { l as artifactCachePolicy, p as resolveOptimizations } from "./errors-DHm_U5gv.mjs";
|
|
8
8
|
import { r as nativeFileDigest } from "./native-source-D1AzWiuP.mjs";
|
|
9
|
-
import { a as validateInfoPlist, i as stageBundle, n as resolveBundleExtras, r as setBundleName, t as reidentifyBundle } from "./stage-
|
|
9
|
+
import { a as validateInfoPlist, i as stageBundle, n as resolveBundleExtras, r as setBundleName, t as reidentifyBundle } from "./stage-DDrnM0CY.mjs";
|
|
10
10
|
import { t as validateMacosArtifactPlatform } from "./artifact-platform-BO2Uvk_A.mjs";
|
|
11
|
-
import { t as logLines } from "./run-
|
|
12
|
-
import { n as swiftpmArtifactInputs, r as swiftpmArtifactSnapshot, t as readSwiftpmArtifactToolchain } from "./swiftpm-artifact-inputs-
|
|
11
|
+
import { t as logLines } from "./run-2CHAJ9Oj.mjs";
|
|
12
|
+
import { n as swiftpmArtifactInputs, r as swiftpmArtifactSnapshot, t as readSwiftpmArtifactToolchain } from "./swiftpm-artifact-inputs-yp8D5LE4.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
1
|
import { D as ownership_claim_exports, _ as spawnDeclared, b as operationState, g as signalDeclaredSpawns, h as refuseDeclaredSpawns, m as declareSpawnsOn, p as allowDeclaredSpawns, t as getExecutor, u as withWorkspaceProcessLock, v as stopDeclaringSpawnsOn, y as isTermination } from "./exec-aULwtNly.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-
|
|
2
|
+
import { E as workspaceDir, T as workspaceDerivedData, l as withWorkspaceStateLockAsync, o as updateWorkspaceState, r as readWorkspaceState$1, t as clearWorkspaceStateKey } from "./workspace-state-3bF4TB8P.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-
|
|
4
|
+
import { a as formatElapsed, l as phaseLine } from "./command-output-VrXd6qPX.mjs";
|
|
5
5
|
import { a as killOnAbort } from "./operation-exec-Dp4FuIGR.mjs";
|
|
6
|
-
import { o as androidHome } from "./android-
|
|
6
|
+
import { o as androidHome } from "./android-DsEj2CCs.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-CP4dURQp.mjs";
|
|
10
10
|
import { createRequire } from "node:module";
|
|
11
11
|
import { createHash } from "node:crypto";
|
|
12
12
|
import { existsSync, mkdirSync, mkdtempSync, readFileSync, readdirSync, realpathSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
@@ -2226,13 +2226,20 @@ function cocoapodsInstall(here) {
|
|
|
2226
2226
|
lead: here ? `install CocoaPods (this Mac has ${here}; \`gem install cocoapods -v ${here}\` instead of Homebrew installs that version)` : "install CocoaPods"
|
|
2227
2227
|
};
|
|
2228
2228
|
}
|
|
2229
|
+
/**
|
|
2230
|
+
* Whether this machine has no Xcode and no simulator SDK, so an iOS app it asks for can only be built, and only run,
|
|
2231
|
+
* on a remote Mac: that Mac's own Xcode, simulator SDK and CocoaPods are the build's toolchain.
|
|
2232
|
+
*/
|
|
2233
|
+
function buildsOnlyOnWorker(local) {
|
|
2234
|
+
return !local.xcode && !local.simulatorSdk;
|
|
2235
|
+
}
|
|
2229
2236
|
function cocoapodsDifference(target, worker) {
|
|
2230
2237
|
if (target.native || target.cocoapodsPinned) return null;
|
|
2231
2238
|
if (worker.os !== void 0 && worker.os !== "darwin") return null;
|
|
2232
2239
|
const here = target.local.cocoapods;
|
|
2233
2240
|
if (!worker.cocoapods) return {
|
|
2234
2241
|
code: "cocoapods",
|
|
2235
|
-
reason: versionMismatch("CocoaPods", null, here),
|
|
2242
|
+
reason: buildsOnlyOnWorker(target.local) ? "no CocoaPods there" : versionMismatch("CocoaPods", null, here),
|
|
2236
2243
|
...cocoapodsInstall(here)
|
|
2237
2244
|
};
|
|
2238
2245
|
return here && worker.cocoapods !== here ? {
|
|
@@ -2380,7 +2387,7 @@ function toolchainMismatches(target, worker) {
|
|
|
2380
2387
|
});
|
|
2381
2388
|
return out;
|
|
2382
2389
|
}
|
|
2383
|
-
if (worker.arch !== local.arch) out.push({
|
|
2390
|
+
if (worker.arch !== local.arch && !(target.platform === "ios" && target.runsOnWorker)) out.push({
|
|
2384
2391
|
code: "arch",
|
|
2385
2392
|
reason: `CPU ${worker.arch} there, ${local.arch} here`
|
|
2386
2393
|
});
|
|
@@ -2395,12 +2402,13 @@ function toolchainMismatches(target, worker) {
|
|
|
2395
2402
|
return out;
|
|
2396
2403
|
}
|
|
2397
2404
|
const ios = target.local;
|
|
2398
|
-
const
|
|
2405
|
+
const onWorker = buildsOnlyOnWorker(ios);
|
|
2406
|
+
const xcode = onWorker ? worker.xcode ? null : xcodeProblem(ios, worker, true) : !ios.xcode || worker.xcode !== ios.xcode ? xcodeProblem(ios, worker) : null;
|
|
2399
2407
|
if (xcode) out.push(xcode);
|
|
2400
|
-
const selection = xcode !== null && diagnosesXcode(ios, worker);
|
|
2401
|
-
if ((!ios.simulatorSdk || worker.simulatorSdk !== ios.simulatorSdk) && !selection) out.push({
|
|
2408
|
+
const selection = xcode !== null && (onWorker ? worker.developerDir !== void 0 : diagnosesXcode(ios, worker));
|
|
2409
|
+
if ((onWorker ? !worker.simulatorSdk : !ios.simulatorSdk || worker.simulatorSdk !== ios.simulatorSdk) && !selection) out.push({
|
|
2402
2410
|
code: "simulator-sdk",
|
|
2403
|
-
reason: versionMismatch("simulator SDK", worker.simulatorSdk, ios.simulatorSdk)
|
|
2411
|
+
reason: onWorker ? "no simulator SDK there" : versionMismatch("simulator SDK", worker.simulatorSdk, ios.simulatorSdk)
|
|
2404
2412
|
});
|
|
2405
2413
|
if (!target.native && target.cocoapodsPinned && !worker.bundler) out.push({
|
|
2406
2414
|
code: "bundler",
|
|
@@ -2410,4 +2418,4 @@ function toolchainMismatches(target, worker) {
|
|
|
2410
2418
|
return out;
|
|
2411
2419
|
}
|
|
2412
2420
|
//#endregion
|
|
2413
|
-
export {
|
|
2421
|
+
export { cancelledFailure as $, COMPILATION_CACHE_NOT_RUN as A, pickXcodeProject as B, DEPS_ERROR as C, readRubyVersion as D, readPodState as E, compilationCacheActivityLine as F, swiftPrefixMappingSupported as G, readBundleId as H, compilationCacheSettings as I, describeDiagnostic as J, tailLines as K, detectXcodeMajorAsync as L, HEARTBEAT_INTERVAL_MS as M, SWIFT_PREFIX_MAPPING_MIN_SWIFT as N, runCaptured as O, buildXcode as P, NATIVE_RUN_WAIT_MS as Q, parseSwiftVersion as R, workerToolchain as S, podsAreStale as T, resolveScheme as U, readBundleExecutable as V, startBuildHeartbeat as W, podInstallCommand as X, bundlerPin as Y, NATIVE_RUN_LOCK as Z, parseXcodeVersionPlist as _, buildsOnlyOnWorker as a, requestNativeRunCancel as at, toolchainNotes as b, iosToolchainAsync as c, withNativeBuildRun as ct, jdkHomes as d, clearNativeRunCancel as et, jdkMajor as f, parseAndroidRequirements as g, macosToolchainAsync as h, availableIphone as i, nativeRunWaitNotice as it, COMPILATION_CACHE_UNAVAILABLE as j, runPodInstall as k, iphoneRuntimes as l, cacheUser as lt, macosToolchain as m, androidToolchain as n, describeNativeRunHolder as nt, cocoapodsDifference as o, runCancellation as ot, listXcodeApps as p, xcodebuildArgs as q, androidToolchainAsync as r, nativeRunHolder as rt, cocoapodsInstall as s, runCancellationSignal as st, androidRequirements as t, decideStopAction as tt, jdkCandidates as u, claimForEmptying as ut, sdkDownloadDisabled as v, POD_MISSING_REASON as w, useJdkMajor as x, toolchainMismatches as y, parseXcodeMajor as z };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { D as ownership_claim_exports, E as debugLog, l as WorkspaceProcessCleanupError, n as isTimeoutError, t as getExecutor } from "./exec-aULwtNly.mjs";
|
|
2
|
-
import { E as workspaceDir, M as withDirLock, _ as ensureWorkspaceStorage, h as discoverAgentSessions, m as attributeAgentSessions, o as updateWorkspaceState, p as agentKey } from "./workspace-state-
|
|
2
|
+
import { E as workspaceDir, M as withDirLock, _ as ensureWorkspaceStorage, h as discoverAgentSessions, m as attributeAgentSessions, o as updateWorkspaceState, p as agentKey } from "./workspace-state-3bF4TB8P.mjs";
|
|
3
3
|
import { l as gitQuietAsync, o as git$1, s as gitAsync } from "./operation-exec-Dp4FuIGR.mjs";
|
|
4
|
-
import { Ct as gitCommonDirOnDisk, Ot as linkedWorktreesOnDisk } from "./settings-
|
|
5
|
-
import {
|
|
4
|
+
import { Ct as gitCommonDirOnDisk, Ot as linkedWorktreesOnDisk } from "./settings-C6UTYW2K.mjs";
|
|
5
|
+
import { U as ownedAvdDirectory } from "./android-DsEj2CCs.mjs";
|
|
6
6
|
import { s as pullRequestLookups } from "./pull-request-BzLmzAIQ.mjs";
|
|
7
7
|
import { clearClaimChild, markClaimChildPending, releaseClaim, setClaimChild, tryAcquireClaim } from "@stim-cli/core/ownership-claim";
|
|
8
8
|
import { randomUUID } from "node:crypto";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { i as recordWorkspaceUse, k as workspaceLogsDir } from "./workspace-state-
|
|
2
|
-
import {
|
|
3
|
-
import { f as refuseNoProject, l as phaseLine } from "./command-output-
|
|
4
|
-
import { Z as resolveProjectSettingsAsync, a as SETTING_SHAPE_REMEDY, rt as settingShapeErrors } from "./settings-
|
|
5
|
-
import { f as projectRegistry, n as findCommandWorkspace } from "./project-
|
|
6
|
-
import { a as workspaceLinkLine, o as workspaceLinks } from "./stim-desktop-
|
|
7
|
-
import { o as readWebRecord, r as cdpEndpoint } from "./state-
|
|
1
|
+
import { i as recordWorkspaceUse, k as workspaceLogsDir } from "./workspace-state-3bF4TB8P.mjs";
|
|
2
|
+
import { D as upsertProject, k as withConfigLockAsync, m as getProject } from "./config-D5qNWJEP.mjs";
|
|
3
|
+
import { f as refuseNoProject, l as phaseLine } from "./command-output-VrXd6qPX.mjs";
|
|
4
|
+
import { Z as resolveProjectSettingsAsync, a as SETTING_SHAPE_REMEDY, rt as settingShapeErrors } from "./settings-C6UTYW2K.mjs";
|
|
5
|
+
import { f as projectRegistry, n as findCommandWorkspace } from "./project-DCLkDM8C.mjs";
|
|
6
|
+
import { a as workspaceLinkLine, o as workspaceLinks } from "./stim-desktop-1XxET4S8.mjs";
|
|
7
|
+
import { o as readWebRecord, r as cdpEndpoint } from "./state-CM_HvvkS.mjs";
|
|
8
8
|
import { t as liveWebRecord } from "./page-CQJlcj3x.mjs";
|
|
9
|
-
import { n as ensureWorkspaceStorageSafely } from "./native-runtime-
|
|
9
|
+
import { n as ensureWorkspaceStorageSafely } from "./native-runtime-D4qgnjK_.mjs";
|
|
10
10
|
import chalk from "chalk";
|
|
11
11
|
//#region src/commands/web.ts
|
|
12
12
|
const printNote = (line) => console.error(line);
|
package/dist/web-run.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { D as ownership_claim_exports, S as process_identity_exports, o as cancellableSleep, t as getExecutor } from "./exec-aULwtNly.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { f as signalProcessTree } from "./metro-
|
|
2
|
+
import { Dt as recordCreatedDevice } from "./android-DsEj2CCs.mjs";
|
|
3
|
+
import { f as signalProcessTree } from "./metro-mKHEMO-a.mjs";
|
|
4
4
|
import { i as createNdjsonWriter } from "./ndjson-CrjIsGzw.mjs";
|
|
5
|
-
import { c as webClaimRoot, f as webLogFile, g as chromeProcessState, h as writeWebRecord, i as clearWebRecord, l as webDir, n as browserLogFile, p as webProfileDir, s as updateWebRecord, v as liveProfileHolder, y as removeSingletonFiles } from "./state-
|
|
6
|
-
import { l as probeWebDrivers } from "./activity-
|
|
5
|
+
import { c as webClaimRoot, f as webLogFile, g as chromeProcessState, h as writeWebRecord, i as clearWebRecord, l as webDir, n as browserLogFile, p as webProfileDir, s as updateWebRecord, v as liveProfileHolder, y as removeSingletonFiles } from "./state-CM_HvvkS.mjs";
|
|
6
|
+
import { l as probeWebDrivers } from "./activity-Dw4N_RFe.mjs";
|
|
7
7
|
import { t as connectOwnedBrowser } from "./cdp-C3svvXiE.mjs";
|
|
8
8
|
import { t as relaunchWithLogFile } from "./detached-entry-BPlSaCwC.mjs";
|
|
9
9
|
import { i as chromeArgs, n as DESKTOP_PAGE, r as PHONE_SCREEN } from "./chrome-DyDWurWG.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as process_identity_exports, t as getExecutor } from "./exec-aULwtNly.mjs";
|
|
2
|
-
import { A as
|
|
3
|
-
import { lt as workspaceHiddenSetting } from "./settings-
|
|
2
|
+
import { A as writeConfigSetting, h as getProjectSettings, j as writeConfigSettingAsync } from "./config-D5qNWJEP.mjs";
|
|
3
|
+
import { lt as workspaceHiddenSetting } from "./settings-C6UTYW2K.mjs";
|
|
4
4
|
import { existsSync, mkdirSync, readFileSync, realpathSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
5
5
|
import { homedir } from "node:os";
|
|
6
6
|
import { dirname, isAbsolute, join, relative } from "node:path";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { D as ownership_claim_exports, S as process_identity_exports, b as operationState, c as throwIfCancelled, d as workspaceProcessLockError, f as workspaceProcessLockPath, l as WorkspaceProcessCleanupError, m as declareSpawnsOn, o as cancellableSleep, t as getExecutor, u as withWorkspaceProcessLock, v as stopDeclaringSpawnsOn } from "./exec-aULwtNly.mjs";
|
|
2
|
-
import { A as workspaceName$1, E as workspaceDir, l as withWorkspaceStateLockAsync, o as updateWorkspaceState, r as readWorkspaceState$1, t as clearWorkspaceStateKey, u as workspaceLastUsed, w as workspaceAgentDeviceDir } from "./workspace-state-
|
|
3
|
-
import {
|
|
2
|
+
import { A as workspaceName$1, E as workspaceDir, l as withWorkspaceStateLockAsync, o as updateWorkspaceState, r as readWorkspaceState$1, t as clearWorkspaceStateKey, u as workspaceLastUsed, w as workspaceAgentDeviceDir } from "./workspace-state-3bF4TB8P.mjs";
|
|
3
|
+
import { F as formatBytes, I as isOnMountedVolume, K as projectDeviceSlots, L as listMountedVolumes, M as acquireAvdClaim, O as withConfigLock$1, R as measuredDirectorySizeAsync, U as deviceSlotPlatforms, _ as isPathPrefix$1, d as getConfigDir, k as withConfigLockAsync$1, m as getProject, v as loadConfig$1 } from "./config-D5qNWJEP.mjs";
|
|
4
4
|
import { t as createLineReader } from "./process-output-Fpl8PYi8.mjs";
|
|
5
|
-
import { a as formatElapsed, d as quotedPath$1, l as phaseLine, o as formatLongDuration, u as plural } from "./command-output-
|
|
5
|
+
import { a as formatElapsed, d as quotedPath$1, l as phaseLine, o as formatLongDuration, u as plural } from "./command-output-VrXd6qPX.mjs";
|
|
6
6
|
import { c as gitQuiet, l as gitQuietAsync, t as runOperationFile } from "./operation-exec-Dp4FuIGR.mjs";
|
|
7
|
-
import { Pt as lockReason, Vt as repoRootAsync, Xt as worktreeLockAsync, Yt as worktreeLock, pt as resolveTailscaleBinary } from "./settings-
|
|
8
|
-
import { a as macosRuntimeClaim, n as macosDir } from "./state-
|
|
9
|
-
import {
|
|
10
|
-
import { c as pidExists, f as signalProcessTree, p as signalProcessTreeAsync } from "./metro-
|
|
11
|
-
import { _ as chromeProcessStateAsync, c as webClaimRoot, i as clearWebRecord, o as readWebRecord, p as webProfileDir, t as CDP_PORT_LABEL, u as webFacts, v as liveProfileHolder, y as removeSingletonFiles } from "./state-
|
|
7
|
+
import { Pt as lockReason, Vt as repoRootAsync, Xt as worktreeLockAsync, Yt as worktreeLock, pt as resolveTailscaleBinary } from "./settings-C6UTYW2K.mjs";
|
|
8
|
+
import { a as macosRuntimeClaim, n as macosDir } from "./state-CiflgxTP.mjs";
|
|
9
|
+
import { B as listOrphanedAvdDirectories, C as deleteAvd, Dt as recordCreatedDevice, Et as readCreatedDevices$1, J as ownedAvdSystemImage, K as ownedAvdSerialResolver, M as isEmulatorToolAbsent, P as listAdbDevicesAsync, St as removeParkedAfter, Tt as forgetCreatedDeviceAsync, U as ownedAvdDirectory, W as ownedAvdMatchesConfiguration, _t as eraseParkedAfter, dt as wipeAvdUserData, ft as isStimOwnedAvd, g as avdPathExists, it as resolveOwnedAvdSerialAsync, lt as waitForAndroidEmulatorShutdown, ot as shutdownAndroidEmulator, p as assertOwnedAvdStoppedAsync, q as ownedAvdSerialResolverAsync, v as avdStorageExists, wt as forgetCreatedDevice, xt as readParked, y as avdStorageRoots, yt as parkSim } from "./android-DsEj2CCs.mjs";
|
|
10
|
+
import { c as pidExists, f as signalProcessTree, p as signalProcessTreeAsync } from "./metro-mKHEMO-a.mjs";
|
|
11
|
+
import { _ as chromeProcessStateAsync, c as webClaimRoot, i as clearWebRecord, o as readWebRecord, p as webProfileDir, t as CDP_PORT_LABEL, u as webFacts, v as liveProfileHolder, y as removeSingletonFiles } from "./state-CM_HvvkS.mjs";
|
|
12
12
|
import { t as canonicalPath } from "./paths-BsJMoPP2.mjs";
|
|
13
|
-
import { N as listBuildLocks, d as readAgentDeviceRecords, i as createActivityReaderAsync, r as createActivityReader, s as idleForMs, t as agentDeviceDaemon } from "./activity-
|
|
14
|
-
import { C as renameIosSim, D as resolveOwnedIosSim, c as eraseIosSim, f as listAllIosSimsAsync, k as shutdownIosSim, o as deleteIosSim, p as listIosDeviceTypesAsync, s as deleteParkedIosSim, v as parkedSimName, y as parseRuntimeVersion } from "./ios-
|
|
15
|
-
import { r as releaseBrowserPort } from "./named-ports-
|
|
13
|
+
import { N as listBuildLocks, d as readAgentDeviceRecords, i as createActivityReaderAsync, r as createActivityReader, s as idleForMs, t as agentDeviceDaemon } from "./activity-Dw4N_RFe.mjs";
|
|
14
|
+
import { C as renameIosSim, D as resolveOwnedIosSim, c as eraseIosSim, f as listAllIosSimsAsync, k as shutdownIosSim, o as deleteIosSim, p as listIosDeviceTypesAsync, s as deleteParkedIosSim, v as parkedSimName, y as parseRuntimeVersion } from "./ios-CdAV4-1E.mjs";
|
|
15
|
+
import { r as releaseBrowserPort } from "./named-ports-B0hCk2v-.mjs";
|
|
16
16
|
import { createHash, randomUUID } from "node:crypto";
|
|
17
17
|
import { closeSync, existsSync, lstatSync, mkdirSync, openSync, readFileSync, readdirSync, realpathSync, renameSync, rmSync, rmdirSync, statSync, unlinkSync, watch, writeFileSync } from "node:fs";
|
|
18
18
|
import { isDeepStrictEqual } from "node:util";
|
|
@@ -858,7 +858,7 @@ async function teardownUnregisteredAvd(avdName, del, owner, surveyed, operation)
|
|
|
858
858
|
operation?.signal.throwIfAborted();
|
|
859
859
|
const candidates = surveyed ? [surveyed] : listOrphanedAvdDirectories(avdName);
|
|
860
860
|
if (candidates.length === 0) {
|
|
861
|
-
if (
|
|
861
|
+
if (avdStorageExists(avdName)) throw new Error(`AVD ${avdName} is not listed but its storage remains; it was kept.`);
|
|
862
862
|
return { status: "missing" };
|
|
863
863
|
}
|
|
864
864
|
if (!del) return {
|
|
@@ -924,6 +924,9 @@ async function teardownClaimedAvd(avdName, claim, { operation, del = false, wipe
|
|
|
924
924
|
timeoutMs: AVD_INVENTORY_TIMEOUT_MS,
|
|
925
925
|
operation,
|
|
926
926
|
signal: operation?.signal
|
|
927
|
+
}).catch((error) => {
|
|
928
|
+
if (isEmulatorToolAbsent(error, operation?.env)) return { missing: true };
|
|
929
|
+
throw error;
|
|
927
930
|
}) }) {
|
|
928
931
|
let parkFallback;
|
|
929
932
|
const reportedBusy = /* @__PURE__ */ new Set();
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { D as ownership_claim_exports, S as process_identity_exports, b as operationState, l as WorkspaceProcessCleanupError, m as declareSpawnsOn, n as isTimeoutError, t as getExecutor, v as stopDeclaringSpawnsOn } from "./exec-aULwtNly.mjs";
|
|
2
|
-
import { E as workspaceDir, a as recordWorkspaceUseAsync, l as withWorkspaceStateLockAsync, r as readWorkspaceState$1, w as workspaceAgentDeviceDir } from "./workspace-state-
|
|
3
|
-
import {
|
|
4
|
-
import { a as formatElapsed, h as shortUdid, i as formatDuration, l as phaseLine, p as releasedLeaseFact, u as plural } from "./command-output-
|
|
2
|
+
import { E as workspaceDir, a as recordWorkspaceUseAsync, l as withWorkspaceStateLockAsync, r as readWorkspaceState$1, w as workspaceAgentDeviceDir } from "./workspace-state-3bF4TB8P.mjs";
|
|
3
|
+
import { C as removeProject, D as upsertProject, K as projectDeviceSlots, M as acquireAvdClaim, R as measuredDirectorySizeAsync, _ as isPathPrefix$1, a as clearDevice, d as getConfigDir, k as withConfigLockAsync$1, m as getProject, v as loadConfig$1 } from "./config-D5qNWJEP.mjs";
|
|
4
|
+
import { a as formatElapsed, h as shortUdid, i as formatDuration, l as phaseLine, p as releasedLeaseFact, u as plural } from "./command-output-VrXd6qPX.mjs";
|
|
5
5
|
import { c as gitQuiet, l as gitQuietAsync, o as git, r as childEnvironment, s as gitAsync, t as runOperationFile } from "./operation-exec-Dp4FuIGR.mjs";
|
|
6
|
-
import { Ct as gitCommonDirOnDisk, Dt as isPodInstallChurn, Et as hasUncommittedWorkAsync, Ft as matchWorktreeEntry, Gt as restoreFileAsync, Ht as resolveFullRef, It as nativeCanonicalPath, Jt as warmWorktreePaths, Kt as sourceCheckoutOf, Lt as podsOutOfSync, Mt as locallyKnownUpstream, Q as resolveSettings, Rt as readWorktreeExclude, St as gitCommonDirAsync, Tt as hasRemoteAsync, Ut as resolveFullRefAsync, V as readCommittedSettings, X as resolveProjectSettings, Y as resolveIosProjectDir, _ as inertSettingWarning, _t as deleteBranchAsync, a as SETTING_SHAPE_REMEDY, bt as dirtyPathsAsync, gt as cloneIgnoredEntries, ht as branchExistsAsync, jt as listWorktreesAsync, nn as moveIgnoredTreesToTrash, qt as unpushedCommitsAsync, rn as restoreTrashedTrees, rt as settingShapeErrors, st as unknownSettingKeys, tn as disposeTrash, vt as depsOutOfSync, wt as hasPopulatedSubmodulesAsync, zt as removeWorktreeAsync } from "./settings-
|
|
7
|
-
import { F as readRemoteSessionId, M as readMetroTunnel, O as clearManagedMetroTunnel, P as readRemoteSession, T as MODE_COMMAND, i as findProjectRoot$1, k as clearRemoteSession, o as isMobileProject } from "./project-
|
|
8
|
-
import { t as macosAppPresent } from "./state-
|
|
9
|
-
import { a as workspaceLinkLine, o as workspaceLinks } from "./stim-desktop-
|
|
10
|
-
import {
|
|
11
|
-
import { c as pidExists, d as resolveProjectMetro, p as signalProcessTreeAsync, r as killMetroTreeAsync } from "./metro-
|
|
12
|
-
import { A as diskPressureLevel, D as requestDevServerStop, En as runProcessOperation, G as planCacheEmptying, Ln as resolveEasCliBin, N as lowestFree, Ot as endRecordedSession, _ as resolveBudget, g as readVolumeSpaceAsync, h as readVolumeSpace, k as withdrawDevServerStopRequest, p as machineNumber, ur as discoverCaches } from "./ccache-
|
|
13
|
-
import { o as readWebRecord } from "./state-
|
|
14
|
-
import { C as stopTunnel, E as withManagedRemoteWorktreeRemovalLock, O as withManagedTunnelRemovalLock, _ as emptyWorkspaceDir, ht as teardownOwnedIosSim, mt as teardownOwnedBrowser, o as collectWorkspaceOutputs, pt as teardownOwnedAvd, v as withIdleWorkspace, x as resolveSupervisorTarget } from "./workspaces-
|
|
6
|
+
import { Ct as gitCommonDirOnDisk, Dt as isPodInstallChurn, Et as hasUncommittedWorkAsync, Ft as matchWorktreeEntry, Gt as restoreFileAsync, Ht as resolveFullRef, It as nativeCanonicalPath, Jt as warmWorktreePaths, Kt as sourceCheckoutOf, Lt as podsOutOfSync, Mt as locallyKnownUpstream, Q as resolveSettings, Rt as readWorktreeExclude, St as gitCommonDirAsync, Tt as hasRemoteAsync, Ut as resolveFullRefAsync, V as readCommittedSettings, X as resolveProjectSettings, Y as resolveIosProjectDir, _ as inertSettingWarning, _t as deleteBranchAsync, a as SETTING_SHAPE_REMEDY, bt as dirtyPathsAsync, gt as cloneIgnoredEntries, ht as branchExistsAsync, jt as listWorktreesAsync, nn as moveIgnoredTreesToTrash, qt as unpushedCommitsAsync, rn as restoreTrashedTrees, rt as settingShapeErrors, st as unknownSettingKeys, tn as disposeTrash, vt as depsOutOfSync, wt as hasPopulatedSubmodulesAsync, zt as removeWorktreeAsync } from "./settings-C6UTYW2K.mjs";
|
|
7
|
+
import { F as readRemoteSessionId, M as readMetroTunnel, O as clearManagedMetroTunnel, P as readRemoteSession, T as MODE_COMMAND, i as findProjectRoot$1, k as clearRemoteSession, o as isMobileProject } from "./project-DCLkDM8C.mjs";
|
|
8
|
+
import { t as macosAppPresent } from "./state-CiflgxTP.mjs";
|
|
9
|
+
import { a as workspaceLinkLine, o as workspaceLinks } from "./stim-desktop-1XxET4S8.mjs";
|
|
10
|
+
import { bt as parkedMaxSetting, mt as POOL_SETTING_REMEDY } from "./android-DsEj2CCs.mjs";
|
|
11
|
+
import { c as pidExists, d as resolveProjectMetro, p as signalProcessTreeAsync, r as killMetroTreeAsync } from "./metro-mKHEMO-a.mjs";
|
|
12
|
+
import { A as diskPressureLevel, D as requestDevServerStop, En as runProcessOperation, G as planCacheEmptying, Ln as resolveEasCliBin, N as lowestFree, Ot as endRecordedSession, _ as resolveBudget, g as readVolumeSpaceAsync, h as readVolumeSpace, k as withdrawDevServerStopRequest, p as machineNumber, ur as discoverCaches } from "./ccache-DVDO2ocE.mjs";
|
|
13
|
+
import { o as readWebRecord } from "./state-CM_HvvkS.mjs";
|
|
14
|
+
import { C as stopTunnel, E as withManagedRemoteWorktreeRemovalLock, O as withManagedTunnelRemovalLock, _ as emptyWorkspaceDir, ht as teardownOwnedIosSim, mt as teardownOwnedBrowser, o as collectWorkspaceOutputs, pt as teardownOwnedAvd, v as withIdleWorkspace, x as resolveSupervisorTarget } from "./workspaces-BNEyJ1B_.mjs";
|
|
15
15
|
import { t as canonicalPath } from "./paths-BsJMoPP2.mjs";
|
|
16
|
-
import {
|
|
17
|
-
import { D as releaseWorkspaceLeases, t as agentDeviceDaemon } from "./activity-
|
|
18
|
-
import { R as readHostMemoryPressure, z as readHostMemoryPressureAsync } from "./ios-
|
|
19
|
-
import { t as clearNamedPorts } from "./named-ports-
|
|
16
|
+
import { C as DEPS_ERROR, E as readPodState, M as HEARTBEAT_INTERVAL_MS, O as runCaptured, T as podsAreStale, X as podInstallCommand, k as runPodInstall, lt as cacheUser } from "./toolchain-CGdgD4x4.mjs";
|
|
17
|
+
import { D as releaseWorkspaceLeases, t as agentDeviceDaemon } from "./activity-Dw4N_RFe.mjs";
|
|
18
|
+
import { R as readHostMemoryPressure, z as readHostMemoryPressureAsync } from "./ios-CdAV4-1E.mjs";
|
|
19
|
+
import { t as clearNamedPorts } from "./named-ports-B0hCk2v-.mjs";
|
|
20
20
|
import { t as resolveMaintenanceSettings } from "./settings-D9LtQaUw.mjs";
|
|
21
|
-
import { i as stopHostedAndroid } from "./hosted-android-
|
|
22
|
-
import { a as stopHostedIos, n as removePhoneReverses } from "./phone-reverses-
|
|
23
|
-
import { r as stopMacosApp } from "./stop-
|
|
24
|
-
import { n as verifyCollectorOwnership } from "./ownership-
|
|
21
|
+
import { i as stopHostedAndroid } from "./hosted-android-CH1Sm4wo.mjs";
|
|
22
|
+
import { a as stopHostedIos, n as removePhoneReverses } from "./phone-reverses-Drj5QQCh.mjs";
|
|
23
|
+
import { r as stopMacosApp } from "./stop-BfNhzvXO.mjs";
|
|
24
|
+
import { n as verifyCollectorOwnership } from "./ownership-CCfiBfOP.mjs";
|
|
25
25
|
import { o as pullRequestLookupAsync, r as endedPullRequest } from "./pull-request-BzLmzAIQ.mjs";
|
|
26
|
-
import { c as mergeStateAsync, d as forgetStatusMeasures, t as startWarmProgress } from "./warm-progress
|
|
27
|
-
import { r as workspaceRecordingEnabled } from "./recordings-
|
|
28
|
-
import { i as installedNpmTreeProblems, n as hasInstalledDependencies, t as dependencyState } from "./dependency-state-
|
|
29
|
-
import { a as discoverXcodeProject } from "./react-native-build-
|
|
26
|
+
import { c as mergeStateAsync, d as forgetStatusMeasures, t as startWarmProgress } from "./warm-progress-_aTMvkIH.mjs";
|
|
27
|
+
import { r as workspaceRecordingEnabled } from "./recordings-BWnIlhZH.mjs";
|
|
28
|
+
import { i as installedNpmTreeProblems, n as hasInstalledDependencies, t as dependencyState } from "./dependency-state-DZVln1P9.mjs";
|
|
29
|
+
import { a as discoverXcodeProject } from "./react-native-build-vK2lFYfN.mjs";
|
|
30
30
|
import { claimRemoveCommand, clearFreeClaimSet, readClaimSet, releaseClaim, tryAcquireClaim } from "@stim-cli/core/ownership-claim";
|
|
31
31
|
import { createHash, randomUUID } from "node:crypto";
|
|
32
32
|
import { existsSync, mkdirSync, readFileSync, readdirSync, realpathSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as nestedWorktrees, c as registerRemove, d as removalPath, f as removalRemedy, g as worktreeCommand, h as warmedWorkspace, i as excludeWatchmanCookies, l as registerWarm, m as warmWorktreeTarget, n as dependencyInstallCommand, o as porcelainPath, p as removeWorktreeTarget, r as excludePodChurn, s as reclaimKeys, t as customIosDirs, u as removalBlockers } from "./worktree-
|
|
1
|
+
import { a as nestedWorktrees, c as registerRemove, d as removalPath, f as removalRemedy, g as worktreeCommand, h as warmedWorkspace, i as excludeWatchmanCookies, l as registerWarm, m as warmWorktreeTarget, n as dependencyInstallCommand, o as porcelainPath, p as removeWorktreeTarget, r as excludePodChurn, s as reclaimKeys, t as customIosDirs, u as removalBlockers } from "./worktree-BTrii9e_.mjs";
|
|
2
2
|
export { customIosDirs, worktreeCommand as default, dependencyInstallCommand, excludePodChurn, excludeWatchmanCookies, nestedWorktrees, porcelainPath, reclaimKeys, registerRemove, registerWarm, removalBlockers, removalPath, removalRemedy, removeWorktreeTarget, warmWorktreeTarget, warmedWorkspace };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stim",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.31.0",
|
|
4
4
|
"description": "Stim: fast, isolated React Native environments for coding agents",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -53,11 +53,11 @@
|
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@expo/fingerprint": "^0.21.5",
|
|
56
|
-
"@stim-cli/agent-driver": "1.
|
|
57
|
-
"@stim-cli/agent-driver-agent-device": "1.
|
|
58
|
-
"@stim-cli/cache": "1.
|
|
59
|
-
"@stim-cli/core": "1.
|
|
60
|
-
"@stim-cli/metro": "1.
|
|
56
|
+
"@stim-cli/agent-driver": "1.31.0",
|
|
57
|
+
"@stim-cli/agent-driver-agent-device": "1.31.0",
|
|
58
|
+
"@stim-cli/cache": "1.31.0",
|
|
59
|
+
"@stim-cli/core": "1.31.0",
|
|
60
|
+
"@stim-cli/metro": "1.31.0",
|
|
61
61
|
"@xmldom/xmldom": "0.9.12",
|
|
62
62
|
"chalk": "^6.0.0",
|
|
63
63
|
"commander": "^15.0.0",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"ws": "^8.21.3"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@stim-cli/expo-build-cache": "1.
|
|
69
|
+
"@stim-cli/expo-build-cache": "1.31.0",
|
|
70
70
|
"@types/cross-spawn": "^6.0.6",
|
|
71
71
|
"@types/which": "^3.0.4",
|
|
72
72
|
"@types/ws": "^8.18.1",
|