stim 1.32.0 → 1.34.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-CI9fIokp.mjs → acquire-artifact-B0SWoVNt.mjs} +2 -2
- package/dist/{act-BfChMxcU.mjs → act-7f7wIvCQ.mjs} +22 -22
- package/dist/{activity-yjH7Q3zn.mjs → activity-DkS-Ir6V.mjs} +6 -6
- package/dist/{agent-device-usage-output-DO412bsG.mjs → agent-device-usage-output-BVdgKbfz.mjs} +5 -5
- package/dist/{android-BeeC15Ve.mjs → android-B2DSKg-A.mjs} +2 -2
- package/dist/{android-D56S_GX3.mjs → android-BU4uBX8I.mjs} +5 -5
- package/dist/{android-BNm5A40S.mjs → android-D7qjT2fq.mjs} +87 -53
- package/dist/{android-DsEj2CCs.mjs → android-Iq0M2t2d.mjs} +27 -15
- package/dist/{android-cas-CbumHXIq.mjs → android-cas-Dhcjkys1.mjs} +4 -4
- package/dist/android-cas-compiler.mjs +1 -1
- package/dist/android-image-DFk26aY6.mjs +254 -0
- package/dist/{android-project-CCEQyYJK.d.mts → android-project-DhO6el8N.d.mts} +2 -2
- package/dist/api.d.mts +2 -1
- package/dist/api.mjs +28 -28
- package/dist/{apk-signed-tail-B9Usseps.mjs → apk-signed-tail-CPpA-3vu.mjs} +2 -2
- package/dist/{artifact-k1x9Jrn0.mjs → artifact-CNnTZs3R.mjs} +34 -21
- package/dist/{artifact-C8Nvp07y.mjs → artifact-DmRtKFXW.mjs} +13 -13
- package/dist/{artifact-platform-BO2Uvk_A.mjs → artifact-platform-DqCWUieN.mjs} +1 -1
- package/dist/{auto-placement--nfdQ9rp.mjs → auto-placement-DA65VQH7.mjs} +11 -9
- package/dist/{browser-web-6RDAeH0z.mjs → browser-web-Dn_hgKZC.mjs} +15 -15
- package/dist/{build-VXX_dtl5.mjs → build-D7SuVoRX.mjs} +23 -23
- package/dist/build-artifact-cache-D7B6seMj.mjs +174 -0
- package/dist/build-artifact-cache.d.mts +25 -0
- package/dist/build-artifact-cache.mjs +2 -0
- package/dist/{build-cache-BsKim4V7.mjs → build-cache-Cqj4FGnX.mjs} +20 -8
- package/dist/{build-plan-BK34X2iY.mjs → build-plan-Ct1FiA3E.mjs} +7 -7
- package/dist/{cache-manifest-CfiEny4T.mjs → cache-manifest-8JX9S1QJ.mjs} +1 -1
- package/dist/cache-manifest.mjs +1 -1
- package/dist/{ccache-BrwGIxmV.mjs → ccache-ChBMXlBq.mjs} +35 -67
- package/dist/{cdp-C3svvXiE.mjs → cdp-C216kOAn.mjs} +1 -1
- package/dist/{chrome-DyDWurWG.mjs → chrome-C8sC5tdl.mjs} +1 -1
- package/dist/{cli-Jc7obreB.mjs → cli-DjdvQG5U.mjs} +20 -20
- package/dist/cli.mjs +1 -1
- package/dist/{client-lDmA-5jx.mjs → client-kU37gURU.mjs} +70 -13
- package/dist/collector-run.mjs +7 -7
- package/dist/{command-output-CfPW1bKP.mjs → command-output-DjExb_tZ.mjs} +1 -1
- package/dist/{config-D5qNWJEP.mjs → config-BW0fAtoK.mjs} +256 -246
- package/dist/{dependencies-DkZ8681S.mjs → dependencies-CZ7c8XX_.mjs} +39 -39
- package/dist/{dependency-state-DZVln1P9.mjs → dependency-state-mL5g4H6K.mjs} +2 -2
- package/dist/{detached-entry-BPlSaCwC.mjs → detached-entry-tfrgGVWb.mjs} +1 -1
- package/dist/{dev-client-eDZy6RoX.mjs → dev-client-D3wOllNd.mjs} +2 -2
- package/dist/{device-CeIikWac.mjs → device-CWPFAqs0.mjs} +13 -13
- package/dist/{device-CTozKhU0.mjs → device-DH5yf6TU.mjs} +11 -11
- package/dist/{device-android-zgD9We85.mjs → device-android-ChfF5I9A.mjs} +10 -10
- package/dist/{device-capacity-Bki6B-7h.mjs → device-capacity-CHC3dKWg.mjs} +9 -9
- package/dist/device-host-worker.mjs +58 -17
- package/dist/{device-ios-TE5ejeXx.mjs → device-ios-B3-Ah--R.mjs} +9 -9
- package/dist/{device-lease-run-DeNGjJZM.mjs → device-lease-run-i3FNX4OE.mjs} +5 -5
- package/dist/{device-pool-mjyUYaau.mjs → device-pool-EZziQ0uS.mjs} +3 -3
- package/dist/{device-provision-j_B7G0e6.mjs → device-provision-CfpEy-Vm.mjs} +10 -10
- package/dist/{doctor-sSLtn-j1.mjs → doctor-B5uEZiKp.mjs} +30 -17
- package/dist/{doctor-CNZuvTSe.mjs → doctor-CGBsS_68.mjs} +1 -1
- package/dist/{doctor-BlrcoQ7B.mjs → doctor-dwRboaXx.mjs} +54 -25
- package/dist/{doctor-fingerprint-o7ZI9YLn.mjs → doctor-fingerprint-DqWvIhMb.mjs} +1 -1
- package/dist/doctor-fingerprint.mjs +1 -1
- package/dist/{doctor-watchman-CCuboyj1.mjs → doctor-watchman-r7M9UPi0.mjs} +5 -5
- package/dist/{eas-build-CaG-Sfs9.mjs → eas-build-BpHIt_M3.mjs} +4 -4
- package/dist/{eas-fallback-BpX1lpco.mjs → eas-fallback-CNPcjq3K.mjs} +6 -6
- package/dist/{eas-session-ledger-B-nTfdfk.mjs → eas-session-ledger-CXwagcQ7.mjs} +6 -6
- package/dist/{error-diagnostics-q56Im4D8.mjs → error-diagnostics-Ym2mjmJ0.mjs} +10 -10
- package/dist/{exec-aULwtNly.mjs → exec-CGuDzt40.mjs} +103 -103
- package/dist/{gc-By2Kc-Ek.mjs → gc-B464w_a5.mjs} +2 -2
- package/dist/{gc-Dv6nb9nf.mjs → gc-C7YxKNci.mjs} +25 -54
- package/dist/{guide-CwpsGWTJ.mjs → guide-BFW-cB7R.mjs} +141 -44
- package/dist/{hosted-android-c5nPJA6S.mjs → hosted-android-B7yfqXEy.mjs} +4 -4
- package/dist/{hosted-client-Hs-fD4L3.mjs → hosted-client-CQuzZwAu.mjs} +6 -5
- package/dist/{hosted-logs-BteXG8rm.mjs → hosted-logs-DfYCqrrR.mjs} +7 -7
- package/dist/{hosted-logs-sync-B8bjLEMs.mjs → hosted-logs-sync-Dlpa2mQF.mjs} +5 -5
- package/dist/{hosted-macos-B4byscei.mjs → hosted-macos-JKefapEm.mjs} +6 -6
- package/dist/{hosted-native-Bh9IJ_t5.mjs → hosted-native-B7OFt5gB.mjs} +14 -10
- package/dist/{idle-shutdown-BaeCo4ps.mjs → idle-shutdown-DPD8oV36.mjs} +6 -6
- package/dist/{ios-CdAV4-1E.mjs → ios-BdZdNsAj.mjs} +6 -6
- package/dist/{ios-D3oK9-O4.mjs → ios-DSBs9c6d.mjs} +28 -28
- package/dist/{ios-CsRVik64.mjs → ios-Qam0bT9n.mjs} +1 -1
- package/dist/{ios-device-CiBA-er9.mjs → ios-device-DLdEDWJj.mjs} +1 -1
- package/dist/{ios-device-D7Gi3e1I.mjs → ios-device-Drplrgzo.mjs} +3 -3
- package/dist/{ios-project-DDQlX_jX.mjs → ios-project-DoTQYghg.mjs} +7 -7
- package/dist/{ios-D1XKSITX.mjs → ios-sUPbWqEh.mjs} +8 -8
- package/dist/ios-signing-R34vbrNU.mjs +202 -0
- package/dist/{ios-state-BEIJRJ7P.mjs → ios-state-CWsBysyN.mjs} +1 -1
- package/dist/{js-swap-C8N5DXHl.mjs → js-swap-DrokhOfo.mjs} +6 -6
- package/dist/{launch-DxpvL6il.mjs → launch-Cy-MWEZc.mjs} +20 -20
- package/dist/{lightened-Df6II_XI.mjs → lightened-ALwQcQtV.mjs} +5 -5
- package/dist/{logs-zv3ge7c6.mjs → logs-DWT7jGpF.mjs} +6 -6
- package/dist/{logs-CuWJWF88.mjs → logs-DuED-01Z.mjs} +7 -7
- package/dist/{macos-C6U-4Iip.mjs → macos-CtBtA_hW.mjs} +22 -22
- package/dist/{macos-CbRZheLw.mjs → macos-kWGcfLzx.mjs} +1 -1
- package/dist/macos-run.mjs +1 -1
- package/dist/maintenance-run.mjs +6 -6
- package/dist/{metro-mKHEMO-a.mjs → metro-B5PVz0Wv.mjs} +4 -4
- package/dist/{metro-request-DODHNXCN.mjs → metro-request-2LmFpC1z.mjs} +2 -2
- package/dist/{named-ports-B0hCk2v-.mjs → named-ports-CA0nB9Yw.mjs} +3 -3
- package/dist/{native-android-9dVFqvTT.mjs → native-android-tISP2EVp.mjs} +29 -19
- package/dist/{native-gradle-artifact-inputs-BlY97pt8.mjs → native-gradle-artifact-inputs-DVoeZkrw.mjs} +5 -5
- package/dist/{native-runtime-DQfxW5Au.mjs → native-runtime-CNgxeOCG.mjs} +6 -6
- package/dist/{native-source-D1AzWiuP.mjs → native-source-ChAGj7R1.mjs} +1 -1
- package/dist/{native-xcode-inputs-tDuUvSU8.mjs → native-xcode-inputs-DGzkhpu4.mjs} +3 -3
- package/dist/{native-xcode-ios-CG-PD-7g.mjs → native-xcode-ios-B9nsfId2.mjs} +17 -17
- package/dist/offload-worker.d.mts +8 -1
- package/dist/offload-worker.mjs +62 -23
- package/dist/{operation-exec-Dp4FuIGR.mjs → operation-exec-DKlBcKAL.mjs} +1 -1
- package/dist/{ownership-CCfiBfOP.mjs → ownership-hC7xvvxF.mjs} +3 -3
- package/dist/{page-CQJlcj3x.mjs → page-Dj8IqvGM.mjs} +2 -2
- package/dist/{phone-reverses-CnNwdz9A.mjs → phone-reverses-Bo0EzJ-P.mjs} +4 -4
- package/dist/{placement-log-CRL0IY-k.mjs → placement-log-BsGvKLtU.mjs} +1 -1
- package/dist/{plan-placement-2imvnlWP.mjs → plan-placement-Am0IjuxB.mjs} +6 -6
- package/dist/{ports-CKktj5lV.mjs → ports-CNzg1LYD.mjs} +3 -3
- package/dist/{prebuild-CyNrUWgV.mjs → prebuild-BfJII57G.mjs} +12 -12
- package/dist/{project-Crtcbfl0.mjs → project-DU3jjnBE.mjs} +16 -16
- package/dist/{pull-request-BzLmzAIQ.mjs → pull-request-BpMTNkMB.mjs} +2 -2
- package/dist/pull-requests.mjs +1 -1
- package/dist/{react-native-android-Cabe2YER.mjs → react-native-android-3dZiJv-4.mjs} +37 -33
- package/dist/{react-native-build-DhWBUV_H.mjs → react-native-build-CuvNPt-q.mjs} +10 -10
- package/dist/{react-native-doctor-D-twmBon.mjs → react-native-doctor-a35BwMUO.mjs} +6 -6
- package/dist/{react-native-ios-u_ley41B.mjs → react-native-ios-CqnReM1t.mjs} +22 -17
- package/dist/{recordings-BWnIlhZH.mjs → recordings-AKZfsW2W.mjs} +1 -1
- package/dist/{registration-BwCe64PH.mjs → registration-DKjJGQ6p.mjs} +1 -1
- package/dist/{reload-D2TpUlns.mjs → reload-CC3sNo10.mjs} +17 -17
- package/dist/{reload-f9hvEHE9.mjs → reload-YPnvXGlB.mjs} +1 -1
- package/dist/{remote-BsBAjlD2.mjs → remote-BfaIHnhM.mjs} +9 -9
- package/dist/{result-EOsWV6sp.mjs → result-H-AxY7Ud.mjs} +24 -20
- package/dist/{run-2CHAJ9Oj.mjs → run-N-BbRxnC.mjs} +2 -2
- package/dist/{selection-C4ZQz_ER.mjs → selection-CH-MUVGD.mjs} +5 -4
- package/dist/{server-bare-CFyVFZXJ.mjs → server-bare-BTlICuaX.mjs} +2 -2
- package/dist/{server-command-BMyKtnjH.mjs → server-command-Bn_gOObU.mjs} +5 -5
- package/dist/server-expo-B59N16uT.mjs +2 -0
- package/dist/{server-expo-BLxcN2x2.mjs → server-expo-CUJ2fuv1.mjs} +3 -3
- package/dist/{settings-C6UTYW2K.mjs → settings-B5IBDfTx.mjs} +4 -4
- package/dist/{settings-jeS0WmUF.mjs → settings-DoWHJopy.mjs} +2 -2
- package/dist/{settings-payload-CrX933Xi.mjs → settings-payload-Bxw3hid5.mjs} +5 -5
- package/dist/{settings-write-DMcT23Kl.mjs → settings-write-C6d7EC54.mjs} +6 -6
- package/dist/settings.schema.json +38 -0
- package/dist/{simslim-93xmPh-d.mjs → simslim-DKdJx0LL.mjs} +2 -2
- package/dist/{slot-launch-CSpQcFZw.mjs → slot-launch-kq0-7w9C.mjs} +6 -6
- package/dist/{stage-Cf9uSM1a.mjs → stage-CBfMTUK3.mjs} +2 -2
- package/dist/{start-CquYgzVf.mjs → start-Diu8q6_U.mjs} +1 -1
- package/dist/{start-CLN_r9EG.mjs → start-WTMumMHi.mjs} +12 -12
- package/dist/{state-CM_HvvkS.mjs → state-CtmYTRWm.mjs} +4 -4
- package/dist/{state-CiflgxTP.mjs → state-DSOUqO-o.mjs} +2 -2
- package/dist/{stats-BVEZuSlg.mjs → stats-D4cW247z.mjs} +5 -5
- package/dist/{stats-report-B86Cv7Uc.mjs → stats-report-BVRCqwWA.mjs} +1 -1
- package/dist/{status-Bhdy07v0.mjs → status-B-oeWS0Z.mjs} +1 -1
- package/dist/{status-D0ruTmPl.mjs → status-CEwxo-PS.mjs} +37 -28
- package/dist/{status-GQ-JqvRi.mjs → status-DTFhDnd1.mjs} +1 -1
- package/dist/{status-watch-DSu_hhg6.mjs → status-watch-D63R5nSI.mjs} +5 -5
- package/dist/status-worker.mjs +1 -1
- package/dist/{stim-desktop-1XxET4S8.mjs → stim-desktop-_WTria-r.mjs} +2 -2
- package/dist/{stop-RZqER_Ww.mjs → stop-Dm9ON6Os.mjs} +2 -2
- package/dist/{stop-B616ZyTv.mjs → stop-HL2RvhrE.mjs} +5 -5
- package/dist/{stop-W4DK8qZq.mjs → stop-vX4w3_8V.mjs} +16 -16
- package/dist/supervisor-run.mjs +16 -16
- package/dist/{support-S_5nkkzs.mjs → support-BNe1_Hg7.mjs} +18 -8
- package/dist/{support-NxnD8QXd.mjs → support-ivsfDj0v.mjs} +9 -9
- package/dist/{swiftpm-artifact-inputs-yp8D5LE4.mjs → swiftpm-artifact-inputs-uq5oV7xR.mjs} +4 -4
- package/dist/{swiftpm-macos-Gtq9bNQb.mjs → swiftpm-macos-ClF203_2.mjs} +11 -11
- package/dist/{toolchain-B2bN8jEo.mjs → toolchain-CECahBDa.mjs} +1 -1
- package/dist/{toolchain-Bnm8vUCV.mjs → toolchain-CYonNjd_.mjs} +429 -20
- package/dist/{trigger-CfnOfpDd.mjs → trigger-BtB4kbe0.mjs} +2 -2
- package/dist/trigger-D8B7QR0q.mjs +2 -0
- package/dist/{warm-progress-_aTMvkIH.mjs → warm-progress-q11Vdvhh.mjs} +6 -6
- package/dist/{web-BdWG8b5_.mjs → web-BdaMBr2O.mjs} +9 -9
- package/dist/web-CIpHpGp8.mjs +2 -0
- package/dist/web-run.mjs +8 -8
- package/dist/windows-report.mjs +1 -1
- package/dist/{workspace-state-3bF4TB8P.mjs → workspace-state-BdZ-QgmB.mjs} +3 -3
- package/dist/{workspaces-C59v9bpD.mjs → workspaces-B9v5V7Es.mjs} +14 -14
- package/dist/{worktree-CinoSsGy.mjs → worktree-C3N86KpI.mjs} +77 -31
- package/dist/{worktree-K9F50fD_.mjs → worktree-C4MBOMz7.mjs} +1 -1
- package/package.json +12 -7
- package/dist/ios-signing-BJzvDPfU.mjs +0 -489
- package/dist/server-expo-DwR3eD-a.mjs +0 -2
- package/dist/trigger-DBZ-GBrl.mjs +0 -2
- package/dist/web-DwuluWJt.mjs +0 -2
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { O as workspaceLogErrorIndex, k as workspaceLogsDir$1, r as readWorkspaceState$1 } from "./workspace-state-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { s as gitAsync } from "./operation-exec-
|
|
6
|
-
import { Bt as repoRoot, Ct as gitCommonDirOnDisk, Ot as linkedWorktreesOnDisk, Q as resolveSettings, lt as workspaceHiddenSetting, xt as gitCommonDir } from "./settings-
|
|
7
|
-
import { I as readWorkspaceLaunches, M as readMetroTunnel, P as readRemoteSession, S as readAppJson, a as findServerWorkspace, l as projectShortcut, u as detectPlatforms, v as detectIsExpo, y as detectTutorial } from "./project-
|
|
8
|
-
import { H as ownedAvdDeviceProfile, K as ownedAvdSerialResolver, N as listAdbDevices, P as listAdbDevicesAsync, bt as parkedMaxSetting, mt as POOL_SETTING_REMEDY, xt as readParked } from "./android-
|
|
9
|
-
import { c as pidExists, d as resolveProjectMetro, h as isMetroRunning, i as listeningPids, l as processCwd, o as listeningPidsByPort, u as processCwds } from "./metro-
|
|
1
|
+
import { T as process_identity_exports, t as getExecutor } from "./exec-CGuDzt40.mjs";
|
|
2
|
+
import { O as workspaceLogErrorIndex, k as workspaceLogsDir$1, r as readWorkspaceState$1 } from "./workspace-state-BdZ-QgmB.mjs";
|
|
3
|
+
import { a as formatElapsed, i as formatDuration, r as clockTime, u as plural } from "./command-output-DjExb_tZ.mjs";
|
|
4
|
+
import { at as isOnMountedVolume, ct as volumeRootFor, d as getConfigDir, dt as deviceSlotKey, ht as projectDeviceSlots, it as isAbsentPath, ot as listMountedVolumes, p as getPlatformDeviceLimits, pt as parseDeviceSlotKey, rt as formatBytes, u as getConcurrencyLimits, v as loadConfig$1 } from "./config-BW0fAtoK.mjs";
|
|
5
|
+
import { s as gitAsync } from "./operation-exec-DKlBcKAL.mjs";
|
|
6
|
+
import { Bt as repoRoot, Ct as gitCommonDirOnDisk, Ot as linkedWorktreesOnDisk, Q as resolveSettings, lt as workspaceHiddenSetting, xt as gitCommonDir } from "./settings-B5IBDfTx.mjs";
|
|
7
|
+
import { I as readWorkspaceLaunches, M as readMetroTunnel, P as readRemoteSession, S as readAppJson, a as findServerWorkspace, l as projectShortcut, u as detectPlatforms, v as detectIsExpo, y as detectTutorial } from "./project-DU3jjnBE.mjs";
|
|
8
|
+
import { H as ownedAvdDeviceProfile, K as ownedAvdSerialResolver, N as listAdbDevices, P as listAdbDevicesAsync, bt as parkedMaxSetting, mt as POOL_SETTING_REMEDY, xt as readParked } from "./android-Iq0M2t2d.mjs";
|
|
9
|
+
import { c as pidExists, d as resolveProjectMetro, h as isMetroRunning, i as listeningPids, l as processCwd, o as listeningPidsByPort, u as processCwds } from "./metro-B5PVz0Wv.mjs";
|
|
10
10
|
import { o as parseNdjsonLine } from "./ndjson-CrjIsGzw.mjs";
|
|
11
|
-
import { E as metroLastStop, S as describeMetroLastStop,
|
|
12
|
-
import { a as readWebPage, o as readWebRecord, u as webFacts } from "./state-
|
|
13
|
-
import { A as poolLine, C as diskLine, D as loadLine, E as gitSummaryText, F as tightVolumes, I as unprovisionedWorktrees, L as withWebFacts, M as remoteDeviceState, N as slotUsageLines, O as metroReverseTargets, P as statusActivity, S as deviceLeaseStates, _ as addReverseMissingIssue, b as capacityLoad, g as activityLabel, j as remoteDeviceLine, k as parseDfFree, r as readEasSessionLedger$1, v as applyMachineMemory, w as environmentState, x as deviceLeaseLines, y as capacity } from "./eas-session-ledger-
|
|
14
|
-
import { Ct as buildSlotUsage, G as buildStatusLine, J as parseActiveBuild, K as bundlingActivity, U as activeBuildState, V as ACTIVE_BUILD_KEY, W as buildReport, at as readStats$1, lt as statsProjectKey$1, x as resolveSupervisorTarget } from "./workspaces-
|
|
15
|
-
import { a as createDeviceProcessTables, b as leaseIsExpired, h as tailLines, m as readWebActivity, r as createActivityReader, w as parseWorkspaceLeases, x as listLeaseFiles } from "./activity-
|
|
16
|
-
import { b as parseSimctlList, f as listAllIosSimsAsync } from "./ios-
|
|
17
|
-
import {
|
|
18
|
-
import "./hosted-macos-
|
|
19
|
-
import { i as readSupervisorState } from "./stop-
|
|
20
|
-
import { l as applyStatusMeasures, n as workspacePhase, s as mergeState, u as createStatusMeasurer } from "./warm-progress-
|
|
21
|
-
import { r as workspaceRecordingEnabled } from "./recordings-
|
|
22
|
-
import { n as maintenanceLines, r as maintenanceStatus } from "./status-
|
|
23
|
-
import { c as deviceSlotUsages } from "./device-capacity-
|
|
24
|
-
import { d as readIosDevices, s as isReachable } from "./ios-device-
|
|
25
|
-
import { t as triggerMaintenance } from "./trigger-
|
|
26
|
-
import { a as createRefreshScheduler, c as watchStatusSources, n as WATCH_LIGHT_INTERVAL_MS, o as watchChangeKey, r as WATCH_MACHINE_INTERVAL_MS, s as watchPayload, t as WATCH_FALLBACK_MS } from "./status-watch-
|
|
11
|
+
import { E as metroLastStop, S as describeMetroLastStop, ar as attributeMachineUsage, cn as hasMetroReverse, or as readFootprints, p as machineNumber } from "./ccache-ChBMXlBq.mjs";
|
|
12
|
+
import { a as readWebPage, o as readWebRecord, u as webFacts } from "./state-CtmYTRWm.mjs";
|
|
13
|
+
import { A as poolLine, C as diskLine, D as loadLine, E as gitSummaryText, F as tightVolumes, I as unprovisionedWorktrees, L as withWebFacts, M as remoteDeviceState, N as slotUsageLines, O as metroReverseTargets, P as statusActivity, S as deviceLeaseStates, _ as addReverseMissingIssue, b as capacityLoad, g as activityLabel, j as remoteDeviceLine, k as parseDfFree, r as readEasSessionLedger$1, v as applyMachineMemory, w as environmentState, x as deviceLeaseLines, y as capacity } from "./eas-session-ledger-CXwagcQ7.mjs";
|
|
14
|
+
import { Ct as buildSlotUsage, G as buildStatusLine, J as parseActiveBuild, K as bundlingActivity, U as activeBuildState, V as ACTIVE_BUILD_KEY, W as buildReport, at as readStats$1, lt as statsProjectKey$1, x as resolveSupervisorTarget } from "./workspaces-B9v5V7Es.mjs";
|
|
15
|
+
import { a as createDeviceProcessTables, b as leaseIsExpired, h as tailLines, m as readWebActivity, r as createActivityReader, w as parseWorkspaceLeases, x as listLeaseFiles } from "./activity-DkS-Ir6V.mjs";
|
|
16
|
+
import { b as parseSimctlList, f as listAllIosSimsAsync } from "./ios-BdZdNsAj.mjs";
|
|
17
|
+
import { m as probeHostedSession } from "./hosted-client-CQuzZwAu.mjs";
|
|
18
|
+
import "./hosted-macos-JKefapEm.mjs";
|
|
19
|
+
import { i as readSupervisorState } from "./stop-vX4w3_8V.mjs";
|
|
20
|
+
import { l as applyStatusMeasures, n as workspacePhase, s as mergeState, u as createStatusMeasurer } from "./warm-progress-q11Vdvhh.mjs";
|
|
21
|
+
import { r as workspaceRecordingEnabled } from "./recordings-AKZfsW2W.mjs";
|
|
22
|
+
import { n as maintenanceLines, r as maintenanceStatus } from "./status-DTFhDnd1.mjs";
|
|
23
|
+
import { c as deviceSlotUsages } from "./device-capacity-CHC3dKWg.mjs";
|
|
24
|
+
import { d as readIosDevices, s as isReachable } from "./ios-device-Drplrgzo.mjs";
|
|
25
|
+
import { t as triggerMaintenance } from "./trigger-BtB4kbe0.mjs";
|
|
26
|
+
import { a as createRefreshScheduler, c as watchStatusSources, n as WATCH_LIGHT_INTERVAL_MS, o as watchChangeKey, r as WATCH_MACHINE_INTERVAL_MS, s as watchPayload, t as WATCH_FALLBACK_MS } from "./status-watch-D63R5nSI.mjs";
|
|
27
27
|
import { t as watchStdoutReader } from "./stdout-reader-C8yjre1x.mjs";
|
|
28
28
|
import { createHash, randomUUID } from "node:crypto";
|
|
29
29
|
import { mkdirSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
30
30
|
import { join, posix, resolve } from "node:path";
|
|
31
|
-
import { rotatedLogPath } from "@stim-cli/core";
|
|
31
|
+
import { quotedPath, rotatedLogPath } from "@stim-cli/core";
|
|
32
32
|
import { DEVICE_RECLAIM_REASON, ERROR_SOURCES, archiveRoot, archivedUsage, bundleMarkerPlatform, countErrorEntries, gitMergeCacheDir, hostedAndroidPlacements, hostedAndroidRecords, hostedAndroidStatus, hostedIosPlacements, hostedIosRecords, hostedIosStatus, linkReplacedArchives, loadPerCore, logFiles, macosAppState, maxLoadPerCore, parseHostedAndroidPlacement, parseHostedIosPlacement, queryLogs, readArchives, readBuildDetail, readBuildHistory, readDeviceIdleShutdowns, readDevicePlacement, readIdleStop, readLastBuilds, readMacosRecord, recordMatches, sortByTs, unreadableHostedAndroid, unreadableHostedIos, withDerivedFacts, withGitChip, withStateReadCache } from "@stim-cli/core/state";
|
|
33
33
|
import { basename as basename$1, dirname as dirname$1, join as join$1 } from "path";
|
|
34
34
|
import chalk from "chalk";
|
|
@@ -899,6 +899,7 @@ async function readStatusFacts(probes, gitScope, cwd) {
|
|
|
899
899
|
await gitRead;
|
|
900
900
|
const history = readStats$1().record?.history;
|
|
901
901
|
const states = [];
|
|
902
|
+
let mountedVolumes;
|
|
902
903
|
const labelOnlyRoots = [];
|
|
903
904
|
const launchesByState = [];
|
|
904
905
|
const easLedger = readEasSessionLedger$1();
|
|
@@ -989,7 +990,13 @@ async function readStatusFacts(probes, gitScope, cwd) {
|
|
|
989
990
|
if (macosFacts.warning) state.warnings.push(macosFacts.warning);
|
|
990
991
|
state.live ||= macos.state === "running" || macos.state === "orphaned" || macos.build.state === "running";
|
|
991
992
|
}
|
|
992
|
-
|
|
993
|
+
const missing = isAbsentPath(path) && isOnMountedVolume(path, mountedVolumes ??= listMountedVolumes());
|
|
994
|
+
const phase = workspacePhase(state.live, saved, { now: leaseNow });
|
|
995
|
+
Object.assign(state, builds, missing && phase.phase !== "live" ? {
|
|
996
|
+
phase: "idle",
|
|
997
|
+
phaseSince: null
|
|
998
|
+
} : phase, {
|
|
999
|
+
...missing ? { pathMissing: true } : {},
|
|
993
1000
|
platforms: (() => {
|
|
994
1001
|
const context = {
|
|
995
1002
|
projectPath: path,
|
|
@@ -1434,7 +1441,8 @@ function androidStatusLines(record, slotLabel) {
|
|
|
1434
1441
|
function formatGb(mb) {
|
|
1435
1442
|
return `${(mb / 1024).toFixed(1)} GB`;
|
|
1436
1443
|
}
|
|
1437
|
-
function phaseMarker({ phase, live, warmStep }) {
|
|
1444
|
+
function phaseMarker({ phase, live, warmStep, pathMissing }) {
|
|
1445
|
+
if (pathMissing) return chalk.yellow(" [folder missing]");
|
|
1438
1446
|
if (phase === "warming") return chalk.cyan(` [warming: ${warmStep}]`);
|
|
1439
1447
|
if (phase === "ready") return chalk.green(" [ready]");
|
|
1440
1448
|
return live ? "" : chalk.dim(" [idle]");
|
|
@@ -1558,6 +1566,7 @@ function renderStatus({ archived, archivedUsage: usage, projects, states, labelO
|
|
|
1558
1566
|
for (const device of state.physicalDevices ?? []) out.push(` ${physicalDeviceLine(device, leaseNow)}`);
|
|
1559
1567
|
for (const remote of state.remoteDevices ?? []) out.push(` ${remoteDeviceLine(remote)}`);
|
|
1560
1568
|
for (const w of state.warnings) out.push(chalk.yellow(` ! ${w}`));
|
|
1569
|
+
if (state.pathMissing) out.push(chalk.yellow(` ! the folder is gone; run \`stim worktree remove ${quotedPath(path)}\` or \`stim gc --delete\` to remove the entry`));
|
|
1561
1570
|
for (const note of state.issues.filter((issue) => issue.severity === "info")) out.push(chalk.dim(` - ${note.message}`));
|
|
1562
1571
|
}
|
|
1563
1572
|
for (const pool of pools) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { rt as formatBytes } from "./config-BW0fAtoK.mjs";
|
|
2
2
|
import { t as resolveMaintenanceSettings } from "./settings-D9LtQaUw.mjs";
|
|
3
3
|
import { claimRemoveCommand, readClaimSet } from "@stim-cli/core/ownership-claim";
|
|
4
4
|
import { maintenanceRunClaims, readMaintenanceState } from "@stim-cli/core/state";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as getExecutor } from "./exec-
|
|
2
|
-
import { d as androidToolPath } from "./android-
|
|
3
|
-
import { c as pidExists } from "./metro-
|
|
4
|
-
import { n as easMachineStateRoot } from "./eas-session-ledger-
|
|
5
|
-
import { b as parseSimctlList } from "./ios-
|
|
1
|
+
import { t as getExecutor } from "./exec-CGuDzt40.mjs";
|
|
2
|
+
import { d as androidToolPath } from "./android-Iq0M2t2d.mjs";
|
|
3
|
+
import { c as pidExists } from "./metro-B5PVz0Wv.mjs";
|
|
4
|
+
import { n as easMachineStateRoot } from "./eas-session-ledger-CXwagcQ7.mjs";
|
|
5
|
+
import { b as parseSimctlList } from "./ios-BdZdNsAj.mjs";
|
|
6
6
|
import { existsSync, readdirSync, statSync, watch } from "node:fs";
|
|
7
7
|
import { basename, dirname, join } from "node:path";
|
|
8
8
|
//#region src/status-watch.ts
|
package/dist/status-worker.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as getExecutor } from "./exec-
|
|
2
|
-
import { c as ensureConfig, w as saveConfig } from "./config-
|
|
1
|
+
import { t as getExecutor } from "./exec-CGuDzt40.mjs";
|
|
2
|
+
import { c as ensureConfig, w as saveConfig } from "./config-BW0fAtoK.mjs";
|
|
3
3
|
import { randomUUID } from "node:crypto";
|
|
4
4
|
import { workspaceId } from "@stim-cli/core";
|
|
5
5
|
import { readHomeIdentity, withConfigLockAsync } from "@stim-cli/core/state";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { x as resolveSupervisorTarget } from "./workspaces-
|
|
2
|
-
import { a as resolveCollectorTargets, c as stopWorkspaceNow, i as readSupervisorState, n as clearSupervisorState, o as runStop, r as readCollectorState, s as stopCommand, t as clearCollectorState } from "./stop-
|
|
1
|
+
import { x as resolveSupervisorTarget } from "./workspaces-B9v5V7Es.mjs";
|
|
2
|
+
import { a as resolveCollectorTargets, c as stopWorkspaceNow, i as readSupervisorState, n as clearSupervisorState, o as runStop, r as readCollectorState, s as stopCommand, t as clearCollectorState } from "./stop-vX4w3_8V.mjs";
|
|
3
3
|
export { clearCollectorState, clearSupervisorState, stopCommand as default, readCollectorState, readSupervisorState, resolveCollectorTargets, resolveSupervisorTarget, runStop, stopWorkspaceNow };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { D as ownership_claim_exports,
|
|
2
|
-
import { E as workspaceDir, d as writeWorkspaceState, l as withWorkspaceStateLockAsync } from "./workspace-state-
|
|
3
|
-
import { a as macosRuntimeClaim, o as requiredMacosRecord } from "./state-
|
|
4
|
-
import { A as runningBundleInstancesAsync, j as runningInstancesInAsync, k as hostedBundleDirs } from "./workspaces-
|
|
5
|
-
import { n as stopHostedMacos } from "./hosted-macos-
|
|
1
|
+
import { D as ownership_claim_exports, T as process_identity_exports, p as withWorkspaceProcessLock } from "./exec-CGuDzt40.mjs";
|
|
2
|
+
import { E as workspaceDir, d as writeWorkspaceState, l as withWorkspaceStateLockAsync } from "./workspace-state-BdZ-QgmB.mjs";
|
|
3
|
+
import { a as macosRuntimeClaim, o as requiredMacosRecord } from "./state-DSOUqO-o.mjs";
|
|
4
|
+
import { A as runningBundleInstancesAsync, j as runningInstancesInAsync, k as hostedBundleDirs } from "./workspaces-B9v5V7Es.mjs";
|
|
5
|
+
import { n as stopHostedMacos } from "./hosted-macos-JKefapEm.mjs";
|
|
6
6
|
import { readMacosRecord } from "@stim-cli/core/state";
|
|
7
7
|
//#region src/macos/stop.ts
|
|
8
8
|
const APP_EXIT_MS = 5e3;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { D as ownership_claim_exports, E as debugLog,
|
|
2
|
-
import { E as workspaceDir, c as withWorkspaceStateLock, d as writeWorkspaceState, l as withWorkspaceStateLockAsync, n as clearWorkspaceStateKeys, r as readWorkspaceState$1, s as updateWorkspaceStateAsync } from "./workspace-state-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { A as clearWorkspaceLaunches, M as readMetroTunnel, O as clearManagedMetroTunnel, P as readRemoteSession, T as MODE_COMMAND, j as clearWorkspaceSupervisor, k as clearRemoteSession, n as findCommandWorkspace } from "./project-
|
|
6
|
-
import { t as macosAppPresent } from "./state-
|
|
7
|
-
import { nt as removeOwnedEmulatorMetroReverses } from "./android-
|
|
8
|
-
import { a as listeningPidsAsync, c as pidExists, d as resolveProjectMetro, h as isMetroRunning, p as signalProcessTreeAsync, r as killMetroTreeAsync, u as processCwds } from "./metro-
|
|
9
|
-
import { D as requestDevServerStop,
|
|
10
|
-
import { C as stopTunnel, ht as teardownOwnedIosSim, mt as teardownOwnedBrowser, pt as teardownOwnedAvd, x as resolveSupervisorTarget } from "./workspaces-
|
|
11
|
-
import {
|
|
12
|
-
import { O as releaseWorkspaceLeasesAsync, y as fileLeaseIo } from "./activity-
|
|
13
|
-
import { i as stopHostedAndroid } from "./hosted-android-
|
|
14
|
-
import { a as stopHostedIos, n as removePhoneReverses } from "./phone-reverses-
|
|
15
|
-
import { r as stopMacosApp } from "./stop-
|
|
16
|
-
import { n as verifyCollectorOwnership } from "./ownership-
|
|
1
|
+
import { D as ownership_claim_exports, E as debugLog, T as process_identity_exports, f as WorkspaceProcessCleanupError, p as withWorkspaceProcessLock } from "./exec-CGuDzt40.mjs";
|
|
2
|
+
import { E as workspaceDir, c as withWorkspaceStateLock, d as writeWorkspaceState, l as withWorkspaceStateLockAsync, n as clearWorkspaceStateKeys, r as readWorkspaceState$1, s as updateWorkspaceStateAsync } from "./workspace-state-BdZ-QgmB.mjs";
|
|
3
|
+
import { f as refuseNoProject, l as phaseLine, p as releasedLeaseFact, u as plural } from "./command-output-DjExb_tZ.mjs";
|
|
4
|
+
import { D as upsertProject, _t as validateDeviceSlot, ft as deviceSlotPlatforms, ht as projectDeviceSlots, k as withConfigLockAsync$1, m as getProject, mt as parseDeviceSlotOption, o as clearSupervisor, pt as parseDeviceSlotKey } from "./config-BW0fAtoK.mjs";
|
|
5
|
+
import { A as clearWorkspaceLaunches, M as readMetroTunnel, O as clearManagedMetroTunnel, P as readRemoteSession, T as MODE_COMMAND, j as clearWorkspaceSupervisor, k as clearRemoteSession, n as findCommandWorkspace } from "./project-DU3jjnBE.mjs";
|
|
6
|
+
import { t as macosAppPresent } from "./state-DSOUqO-o.mjs";
|
|
7
|
+
import { nt as removeOwnedEmulatorMetroReverses } from "./android-Iq0M2t2d.mjs";
|
|
8
|
+
import { a as listeningPidsAsync, c as pidExists, d as resolveProjectMetro, h as isMetroRunning, p as signalProcessTreeAsync, r as killMetroTreeAsync, u as processCwds } from "./metro-B5PVz0Wv.mjs";
|
|
9
|
+
import { D as requestDevServerStop, Ot as endRecordedSession, Pn as resolveEasCliBin, T as logVanishedSupervisor, k as withdrawDevServerStopRequest } from "./ccache-ChBMXlBq.mjs";
|
|
10
|
+
import { C as stopTunnel, ht as teardownOwnedIosSim, mt as teardownOwnedBrowser, pt as teardownOwnedAvd, x as resolveSupervisorTarget } from "./workspaces-B9v5V7Es.mjs";
|
|
11
|
+
import { ct as NATIVE_RUN_WAIT_MS, dt as decideStopAction, ft as describeNativeRunHolder, ht as requestNativeRunCancel, mt as nativeRunWaitNotice, pt as nativeRunHolder, st as NATIVE_RUN_LOCK, ut as clearNativeRunCancel } from "./toolchain-CYonNjd_.mjs";
|
|
12
|
+
import { O as releaseWorkspaceLeasesAsync, y as fileLeaseIo } from "./activity-DkS-Ir6V.mjs";
|
|
13
|
+
import { i as stopHostedAndroid } from "./hosted-android-B7yfqXEy.mjs";
|
|
14
|
+
import { a as stopHostedIos, n as removePhoneReverses } from "./phone-reverses-Bo0EzJ-P.mjs";
|
|
15
|
+
import { r as stopMacosApp } from "./stop-HL2RvhrE.mjs";
|
|
16
|
+
import { n as verifyCollectorOwnership } from "./ownership-hC7xvvxF.mjs";
|
|
17
17
|
import { hostedAndroidDeviceName, hostedAndroidRecords, hostedIosRecords, hostedNativeRecords, isJsonObject, parseHostedNativePlacement } from "@stim-cli/core/state";
|
|
18
18
|
import chalk from "chalk";
|
|
19
19
|
//#region src/commands/stop.ts
|
package/dist/supervisor-run.mjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as withWorkspaceStateLock, d as writeWorkspaceState, j as workspaceStateFile$1, k as workspaceLogsDir$1, n as clearWorkspaceStateKeys, o as updateWorkspaceState, r as readWorkspaceState$1 } from "./workspace-state-
|
|
3
|
-
import { E as setSupervisor,
|
|
4
|
-
import { $ as runnableMetroCommand, X as resolveProjectSettings } from "./settings-
|
|
5
|
-
import { D as clearExpoMetroTunnel, E as MODE_EXPO, N as readPidFile, R as writePidFile, T as MODE_COMMAND, d as nativeProjectIntegration, j as clearWorkspaceSupervisor, v as detectIsExpo, w as MODE_BARE } from "./project-
|
|
6
|
-
import { K as ownedAvdSerialResolver } from "./android-
|
|
1
|
+
import { T as process_identity_exports, p as withWorkspaceProcessLock } from "./exec-CGuDzt40.mjs";
|
|
2
|
+
import { c as withWorkspaceStateLock, d as writeWorkspaceState, j as workspaceStateFile$1, k as workspaceLogsDir$1, n as clearWorkspaceStateKeys, o as updateWorkspaceState, r as readWorkspaceState$1 } from "./workspace-state-BdZ-QgmB.mjs";
|
|
3
|
+
import { E as setSupervisor, U as parseMachine$1, ht as projectDeviceSlots, m as getProject, o as clearSupervisor, pt as parseDeviceSlotKey } from "./config-BW0fAtoK.mjs";
|
|
4
|
+
import { $ as runnableMetroCommand, X as resolveProjectSettings } from "./settings-B5IBDfTx.mjs";
|
|
5
|
+
import { D as clearExpoMetroTunnel, E as MODE_EXPO, N as readPidFile, R as writePidFile, T as MODE_COMMAND, d as nativeProjectIntegration, j as clearWorkspaceSupervisor, v as detectIsExpo, w as MODE_BARE } from "./project-DU3jjnBE.mjs";
|
|
6
|
+
import { K as ownedAvdSerialResolver } from "./android-Iq0M2t2d.mjs";
|
|
7
7
|
import { i as createNdjsonWriter } from "./ndjson-CrjIsGzw.mjs";
|
|
8
|
-
import { C as devServerStopLevel, O as vanishedSupervisorMessage, w as devServerStopRecord, x as describeDevServerStop } from "./ccache-
|
|
9
|
-
import { d as parseWatchRoots, l as parseSubscriberNames, m as runWatchman, u as parseTriggerCount } from "./eas-session-ledger-
|
|
10
|
-
import { B as workspaceBuildInProgress, v as withIdleWorkspace } from "./workspaces-
|
|
11
|
-
import { S as parseLease, _ as workspaceDeviceLastUseAt, b as leaseIsExpired, r as createActivityReader, v as deviceLeasePath, w as parseWorkspaceLeases } from "./activity-
|
|
8
|
+
import { C as devServerStopLevel, O as vanishedSupervisorMessage, w as devServerStopRecord, x as describeDevServerStop } from "./ccache-ChBMXlBq.mjs";
|
|
9
|
+
import { d as parseWatchRoots, l as parseSubscriberNames, m as runWatchman, u as parseTriggerCount } from "./eas-session-ledger-CXwagcQ7.mjs";
|
|
10
|
+
import { B as workspaceBuildInProgress, v as withIdleWorkspace } from "./workspaces-B9v5V7Es.mjs";
|
|
11
|
+
import { S as parseLease, _ as workspaceDeviceLastUseAt, b as leaseIsExpired, r as createActivityReader, v as deviceLeasePath, w as parseWorkspaceLeases } from "./activity-DkS-Ir6V.mjs";
|
|
12
12
|
import { t as describeError } from "./errors-DHm_U5gv.mjs";
|
|
13
|
-
import {
|
|
14
|
-
import { s as watchWorkspaceState, t as clearHostedMetro } from "./metro-request-
|
|
15
|
-
import { t as relaunchWithLogFile } from "./detached-entry-
|
|
16
|
-
import { n as dueIdleDevices, r as shutDownIdleDevices } from "./idle-shutdown-
|
|
17
|
-
import { t as triggerMaintenance } from "./trigger-
|
|
13
|
+
import { f as hostConnector, m as probeHostedSession } from "./hosted-client-CQuzZwAu.mjs";
|
|
14
|
+
import { s as watchWorkspaceState, t as clearHostedMetro } from "./metro-request-2LmFpC1z.mjs";
|
|
15
|
+
import { t as relaunchWithLogFile } from "./detached-entry-tfrgGVWb.mjs";
|
|
16
|
+
import { n as dueIdleDevices, r as shutDownIdleDevices } from "./idle-shutdown-DPD8oV36.mjs";
|
|
17
|
+
import { t as triggerMaintenance } from "./trigger-BtB4kbe0.mjs";
|
|
18
18
|
import { existsSync, readFileSync, realpathSync, statSync } from "node:fs";
|
|
19
19
|
import { dirname, isAbsolute, join, resolve, sep } from "node:path";
|
|
20
20
|
import { LOG_ROTATE_BYTES } from "@stim-cli/core";
|
|
@@ -894,7 +894,7 @@ async function runSupervisor({ root, port, tunnel = false, resetCache = false, i
|
|
|
894
894
|
try {
|
|
895
895
|
let start;
|
|
896
896
|
if (command) {
|
|
897
|
-
const startServer = startCommand ?? (await import("./server-command-
|
|
897
|
+
const startServer = startCommand ?? (await import("./server-command-Bn_gOObU.mjs")).startCommandServer;
|
|
898
898
|
start = (opts) => startServer({
|
|
899
899
|
...opts,
|
|
900
900
|
command
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { t as getExecutor } from "./exec-
|
|
2
|
-
import { a as killOnAbort } from "./operation-exec-
|
|
3
|
-
import { D as extractEmulatorFailure, E as emulatorProbeSession, O as findBuildTool, Q as pickDefaultSystemImage, T as emulatorFailureRemedy, c as androidPoolNoCandidatesRefusal, et as profileNeedsFoldFeature, j as hostSystemImageArch, l as androidSystemImageAbi, o as androidHome, s as androidPoolCandidates, w as emulatorDiskSpaceRemedy } from "./android-
|
|
4
|
-
import {
|
|
5
|
-
import { m as unknownAndroidSystemImageRefusal, p as unknownAndroidDeviceProfileRefusal, u as layerNote } from "./device-capacity-
|
|
6
|
-
import {
|
|
1
|
+
import { t as getExecutor } from "./exec-CGuDzt40.mjs";
|
|
2
|
+
import { a as killOnAbort } from "./operation-exec-DKlBcKAL.mjs";
|
|
3
|
+
import { D as extractEmulatorFailure, E as emulatorProbeSession, O as findBuildTool, Q as pickDefaultSystemImage, T as emulatorFailureRemedy, c as androidPoolNoCandidatesRefusal, et as profileNeedsFoldFeature, j as hostSystemImageArch, l as androidSystemImageAbi, o as androidHome, s as androidPoolCandidates, w as emulatorDiskSpaceRemedy } from "./android-Iq0M2t2d.mjs";
|
|
4
|
+
import { Q as pickDevClientScheme } from "./toolchain-CYonNjd_.mjs";
|
|
5
|
+
import { m as unknownAndroidSystemImageRefusal, p as unknownAndroidDeviceProfileRefusal, u as layerNote } from "./device-capacity-CHC3dKWg.mjs";
|
|
6
|
+
import { n as decideSystemImage } from "./android-image-DFk26aY6.mjs";
|
|
7
|
+
import { t as devClientScheme } from "./dev-client-D3wOllNd.mjs";
|
|
7
8
|
import { existsSync, readFileSync, readdirSync } from "node:fs";
|
|
8
9
|
import { relative } from "node:path";
|
|
9
10
|
//#region src/commands/android/support.ts
|
|
@@ -36,7 +37,7 @@ function remoteAvdFlagRefusal({ systemImageFlag, deviceProfileFlag, remoteBacken
|
|
|
36
37
|
remedy: `Drop ${given} for a remote run. For a local owned emulator, drop --remote and unset android.remote with \`stim settings unset android.remote --scope <machine|workspace|repo|committed>\`.`
|
|
37
38
|
};
|
|
38
39
|
}
|
|
39
|
-
function systemImageRefusal({ slot, flag, resolved, origin = null, physical, remoteBackend, listImages }) {
|
|
40
|
+
function systemImageRefusal({ slot, flag, resolved, origin = null, physical, remoteBackend, listImages, installImages }) {
|
|
40
41
|
if (slot && slot !== "default" && remoteBackend) return {
|
|
41
42
|
code: "STIM_BAD_ARG",
|
|
42
43
|
message: "Named slots currently support local simulators and physical devices.",
|
|
@@ -61,7 +62,16 @@ function systemImageRefusal({ slot, flag, resolved, origin = null, physical, rem
|
|
|
61
62
|
}
|
|
62
63
|
const refusal = unknownAndroidSystemImageRefusal(resolved, images);
|
|
63
64
|
if (!refusal) return null;
|
|
64
|
-
const
|
|
65
|
+
const decided = decideSystemImage({
|
|
66
|
+
requested: resolved,
|
|
67
|
+
installed: images,
|
|
68
|
+
policy: installImages
|
|
69
|
+
});
|
|
70
|
+
if (decided.kind !== "refuse") return null;
|
|
71
|
+
const { message, remedy } = layerNote({
|
|
72
|
+
message: refusal.message,
|
|
73
|
+
remedy: decided.remedy
|
|
74
|
+
}, "android.systemImage", flag, origin);
|
|
65
75
|
return {
|
|
66
76
|
code: "STIM_BAD_ARG",
|
|
67
77
|
message,
|
|
@@ -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 { J as describeDiagnostic } from "./toolchain-
|
|
5
|
-
import { P as parseIosSimulatorApp } from "./ios-
|
|
1
|
+
import { k as workspaceLogsDir } from "./workspace-state-BdZ-QgmB.mjs";
|
|
2
|
+
import { h as shortUdid, l as phaseLine } from "./command-output-DjExb_tZ.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-B5IBDfTx.mjs";
|
|
4
|
+
import { J as describeDiagnostic } from "./toolchain-CYonNjd_.mjs";
|
|
5
|
+
import { P as parseIosSimulatorApp } from "./ios-BdZdNsAj.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 { g as unknownIosRuntimeRefusal, h as unknownIosDeviceTypeRefusal, t as DEFAULT_DEVICE_SLOT_WAIT_MS, u as layerNote } from "./device-capacity-
|
|
10
|
-
import { t as IosDeviceMismatchError } from "./device-ios-
|
|
7
|
+
import { d as resolveBuildPlacement } from "./selection-CH-MUVGD.mjs";
|
|
8
|
+
import { l as parseDeviceWait } from "./device-lease-run-i3FNX4OE.mjs";
|
|
9
|
+
import { g as unknownIosRuntimeRefusal, h as unknownIosDeviceTypeRefusal, t as DEFAULT_DEVICE_SLOT_WAIT_MS, u as layerNote } from "./device-capacity-CHC3dKWg.mjs";
|
|
10
|
+
import { t as IosDeviceMismatchError } from "./device-ios-B3-Ah--R.mjs";
|
|
11
11
|
import { basename, join } from "node:path";
|
|
12
12
|
import chalk from "chalk";
|
|
13
13
|
function buildLogFile(root) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as getExecutor } from "./exec-
|
|
2
|
-
import { s as gitAsync } from "./operation-exec-
|
|
3
|
-
import { n as buildCacheKey } from "./build-cache-
|
|
1
|
+
import { t as getExecutor } from "./exec-CGuDzt40.mjs";
|
|
2
|
+
import { s as gitAsync } from "./operation-exec-DKlBcKAL.mjs";
|
|
3
|
+
import { n as buildCacheKey } from "./build-cache-Cqj4FGnX.mjs";
|
|
4
4
|
import { n as fingerprintNativeInputs, r as manifestDigest } from "./native-inputs-TRTTTRxt.mjs";
|
|
5
|
-
import { a as sourceManifest, r as nativeFileDigest } from "./native-source-
|
|
5
|
+
import { a as sourceManifest, r as nativeFileDigest } from "./native-source-ChAGj7R1.mjs";
|
|
6
6
|
import { createHash } from "node:crypto";
|
|
7
7
|
import { join, relative, resolve, sep } from "node:path";
|
|
8
8
|
import { isJsonObject } from "@stim-cli/core/state";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
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-
|
|
1
|
+
import { a as trackReportResource, b as spawnDeclared, t as getExecutor } from "./exec-CGuDzt40.mjs";
|
|
2
|
+
import { y as sharedBuildCache } from "./workspace-state-BdZ-QgmB.mjs";
|
|
3
|
+
import { J as resolveCacheProviderConfig, Vt as repoRootAsync, it as settingValueAt, z as projectSettingsContextAsync } from "./settings-B5IBDfTx.mjs";
|
|
4
|
+
import { r as register } from "./cache-manifest-8JX9S1QJ.mjs";
|
|
5
|
+
import { _t as runCancellationSignal, h as macosToolchainAsync } from "./toolchain-CYonNjd_.mjs";
|
|
6
|
+
import "./build-cache-Cqj4FGnX.mjs";
|
|
7
7
|
import { l as artifactCachePolicy, p as resolveOptimizations } from "./errors-DHm_U5gv.mjs";
|
|
8
|
-
import { r as nativeFileDigest } from "./native-source-
|
|
9
|
-
import { a as validateInfoPlist, i as stageBundle, n as resolveBundleExtras, r as setBundleName, t as reidentifyBundle } from "./stage-
|
|
10
|
-
import { t as validateMacosArtifactPlatform } from "./artifact-platform-
|
|
11
|
-
import { t as logLines } from "./run-
|
|
12
|
-
import { n as swiftpmArtifactInputs, r as swiftpmArtifactSnapshot, t as readSwiftpmArtifactToolchain } from "./swiftpm-artifact-inputs-
|
|
8
|
+
import { r as nativeFileDigest } from "./native-source-ChAGj7R1.mjs";
|
|
9
|
+
import { a as validateInfoPlist, i as stageBundle, n as resolveBundleExtras, r as setBundleName, t as reidentifyBundle } from "./stage-CBfMTUK3.mjs";
|
|
10
|
+
import { t as validateMacosArtifactPlatform } from "./artifact-platform-DqCWUieN.mjs";
|
|
11
|
+
import { t as logLines } from "./run-N-BbRxnC.mjs";
|
|
12
|
+
import { n as swiftpmArtifactInputs, r as swiftpmArtifactSnapshot, t as readSwiftpmArtifactToolchain } from "./swiftpm-artifact-inputs-uq5oV7xR.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,2 +1,2 @@
|
|
|
1
|
-
import { h as macosToolchainAsync, m as macosToolchain } from "./toolchain-
|
|
1
|
+
import { h as macosToolchainAsync, m as macosToolchain } from "./toolchain-CYonNjd_.mjs";
|
|
2
2
|
export { macosToolchain, macosToolchainAsync };
|