stim 1.20.0 → 1.20.1

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.
Files changed (126) hide show
  1. package/dist/{activity-BrGh9EAI.mjs → activity-BaMpUQ4-.mjs} +2 -2
  2. package/dist/{agent-device-usage-output-DVyv_hWj.mjs → agent-device-usage-output-VPaOgGaF.mjs} +3 -3
  3. package/dist/{android-Brx6EKvJ.mjs → android-CLbBJ2ve.mjs} +34 -34
  4. package/dist/{android-CK3fpEyZ.mjs → android-CZh6ElG5.mjs} +1 -1
  5. package/dist/{android-BsYNR81W.mjs → android-DE8-JfGW.mjs} +4 -4
  6. package/dist/{android-cas-DCAuXryb.mjs → android-cas-BFpS84v2.mjs} +1 -1
  7. package/dist/{android-0vv-OruW.mjs → android-eXfIjKJr.mjs} +5 -5
  8. package/dist/api-run.mjs +13 -13
  9. package/dist/{app-install-0LgaQRT7.mjs → app-install-Cg9YJy3x.mjs} +1 -1
  10. package/dist/{artifact-CnC0mfov.mjs → artifact-Ctb2jpw6.mjs} +11 -11
  11. package/dist/{artifact-DClXJNWx.mjs → artifact-DXk_Fle_.mjs} +12 -12
  12. package/dist/{browser-web-CzBmhmgs.mjs → browser-web-xQWC2RWl.mjs} +10 -10
  13. package/dist/{budget-BONq9vXY.mjs → budget-RFbwFpG5.mjs} +11 -11
  14. package/dist/{build-BixRI6sB.mjs → build-COBA1tBc.mjs} +19 -19
  15. package/dist/{build-plan-CP0tckNU.mjs → build-plan-CRjAA6Qi.mjs} +14 -14
  16. package/dist/{ccache-CjHQ5F8g.mjs → ccache-CtbqWxIC.mjs} +3 -3
  17. package/dist/{cli-B2R8wH1F.mjs → cli-sGqlPu1n.mjs} +17 -17
  18. package/dist/cli.mjs +1 -1
  19. package/dist/{client-BLy1Pw2V.mjs → client-zqjFd79D.mjs} +4 -4
  20. package/dist/collector-run.mjs +3 -3
  21. package/dist/{command-output-BjPN99ZB.mjs → command-output-CPDq_90S.mjs} +1 -1
  22. package/dist/{created-devices-HU_DAb_Q.mjs → created-devices-CXBMtoj5.mjs} +1 -1
  23. package/dist/{dev-client-ClATaJoH.mjs → dev-client-BqYjMIaC.mjs} +2 -2
  24. package/dist/{device-B7lsC0K1.mjs → device-BgNj-qVj.mjs} +7 -7
  25. package/dist/{device-DVCwAFlX.mjs → device-D4DqjSZZ.mjs} +9 -9
  26. package/dist/{device-capacity-Ca_ke1LE.mjs → device-capacity-DrwHwR97.mjs} +8 -8
  27. package/dist/device-host-worker.mjs +11 -11
  28. package/dist/{device-ios-CRUqPxKw.mjs → device-ios-DE8KJd3b.mjs} +7 -7
  29. package/dist/{device-lease-DHOBXGgS.mjs → device-lease-C309csaB.mjs} +5 -4
  30. package/dist/{device-lease-run-CvDeHTkG.mjs → device-lease-run-Baelt3nc.mjs} +3 -3
  31. package/dist/{device-pool-L2-5GxMy.mjs → device-pool-DtK9S6AD.mjs} +2 -2
  32. package/dist/{device-remote-Bmg42063.mjs → device-remote-DjsNw8DD.mjs} +11 -11
  33. package/dist/{doctor-C2MSuMMg.mjs → doctor-DiP9HsIP.mjs} +10 -10
  34. package/dist/{doctor-DPAqhVCK.mjs → doctor-Dunu3Nv1.mjs} +17 -17
  35. package/dist/{doctor-watchman-CB4NnVZm.mjs → doctor-watchman-XJzT8tK-.mjs} +5 -4
  36. package/dist/{eas-build-Dw_ec2Km.mjs → eas-build-0gadvrca.mjs} +3 -3
  37. package/dist/{eas-session-ledger-DZlC-Fq3.mjs → eas-session-ledger-DJDeL4Uq.mjs} +1 -1
  38. package/dist/{error-diagnostics-Du7I_GuY.mjs → error-diagnostics-BhQtoLrZ.mjs} +7 -7
  39. package/dist/{gc-PWp34zGb.mjs → gc-D5cz5G0k.mjs} +17 -17
  40. package/dist/{gradle-C2OEKCCI.mjs → gradle-CZZo1TSA.mjs} +4 -4
  41. package/dist/{guide-Dai9lphv.mjs → guide-DakjcoUt.mjs} +31 -166
  42. package/dist/{hosted-android-DQ-Agsd8.mjs → hosted-android-C-D8Dj0_.mjs} +3 -3
  43. package/dist/{hosted-client-Io01s5By.mjs → hosted-client--hNFgixu.mjs} +2 -2
  44. package/dist/{hosted-ios-DIxFnYp-.mjs → hosted-ios-Chx9XQyI.mjs} +1 -1
  45. package/dist/{hosted-logs-DP-ABU_M.mjs → hosted-logs-Bkz0Hxzh.mjs} +5 -5
  46. package/dist/{hosted-macos-Aziw9T_9.mjs → hosted-macos-ckTjN-0V.mjs} +4 -4
  47. package/dist/{hosted-native-BdAQi21M.mjs → hosted-native-3KXZ5-qn.mjs} +5 -5
  48. package/dist/{idle-shutdown-DdMqoSUB.mjs → idle-shutdown-DhAUyf5s.mjs} +6 -6
  49. package/dist/{ios-BZ9dg2Fr.mjs → ios-BDBN-xpf.mjs} +8 -8
  50. package/dist/{ios-CZuv6gRv.mjs → ios-CQ8bHQXB.mjs} +27 -27
  51. package/dist/{ios-device-BreZOpM0.mjs → ios-device-BWHKGaJq.mjs} +1 -1
  52. package/dist/{ios-CXLIUxXJ.mjs → ios-o896T9PE.mjs} +17 -13
  53. package/dist/{ios-project-B9drt_aY.mjs → ios-project-BeOXKPt2.mjs} +7 -7
  54. package/dist/{ios-state-CjrL2qv-.mjs → ios-state-BsXMwo5y.mjs} +1 -1
  55. package/dist/{js-swap-C8icNYIY.mjs → js-swap-Z_mSuRrx.mjs} +2 -2
  56. package/dist/{launch-YrbqaIFj.mjs → launch-BootbMk4.mjs} +34 -34
  57. package/dist/{launch-DxH0THLP.mjs → launch-V1zqiOYn.mjs} +17 -17
  58. package/dist/{launch-verify-BzRdbuO1.mjs → launch-verify-Dl78EVgR.mjs} +2 -2
  59. package/dist/{logs-DHaRNfg7.mjs → logs-Bh4eqCCc.mjs} +9 -9
  60. package/dist/{macos-V_3Ui7g4.mjs → macos-D7irBW3A.mjs} +14 -14
  61. package/dist/macos-kivF8qKz.mjs +2 -0
  62. package/dist/macos-run.mjs +1 -1
  63. package/dist/maintenance-run.mjs +4 -4
  64. package/dist/{metro-D_j9sN-B.mjs → metro-_ZIE3Axg.mjs} +1 -1
  65. package/dist/{metro-gateway-BBJldOdi.mjs → metro-gateway-BzlQZQmU.mjs} +2 -2
  66. package/dist/{miss-reason-BPAzZS0r.mjs → miss-reason-SuTptY-I.mjs} +2 -2
  67. package/dist/{named-ports-C2lvoPsb.mjs → named-ports-O1TIl7tx.mjs} +1 -1
  68. package/dist/{native-android-lHzaew7r.mjs → native-android-D94RlJ-X.mjs} +7 -7
  69. package/dist/{native-runtime-BRmWL7ru.mjs → native-runtime-D024BAvm.mjs} +5 -5
  70. package/dist/{native-xcode-inputs-eutS19jU.mjs → native-xcode-inputs-UElfGs59.mjs} +2 -3
  71. package/dist/{native-xcode-ios-DP3cHLwu.mjs → native-xcode-ios-CjS-nDVY.mjs} +12 -12
  72. package/dist/offload-worker.mjs +12 -12
  73. package/dist/{ownership-DXzMMSx6.mjs → ownership-BrjepDiv.mjs} +2 -2
  74. package/dist/{placement-log-reFbjqEr.mjs → placement-log-BItXET1x.mjs} +1 -1
  75. package/dist/{plan-BDk2AeY_.mjs → plan-Jwu_vr-F.mjs} +8 -8
  76. package/dist/{plan-placement-D_YYlE6N.mjs → plan-placement-B466UYMU.mjs} +3 -3
  77. package/dist/{ports-jzvAJXXL.mjs → ports-BFRL6JTj.mjs} +2 -2
  78. package/dist/{prebuild-Bw44QxVh.mjs → prebuild-DB_zLOLc.mjs} +3 -3
  79. package/dist/{preview-BaBJ72Al.mjs → preview-BRLFRhTz.mjs} +10 -10
  80. package/dist/{project-B8_duAzW.mjs → project-DX8fXyw_.mjs} +107 -43
  81. package/dist/{react-native-android-chm1DMlA.mjs → react-native-android-CuXM3QS8.mjs} +21 -21
  82. package/dist/{react-native-build-oAw6gQeW.mjs → react-native-build-JUF31S8U.mjs} +5 -5
  83. package/dist/{react-native-doctor-DYXoh-6I.mjs → react-native-doctor-BQHqiXaQ.mjs} +4 -4
  84. package/dist/{react-native-ios-SCTK_CT5.mjs → react-native-ios-DtVO4qf2.mjs} +13 -13
  85. package/dist/{reload-D34GkY78.mjs → reload-D9V7D8gP.mjs} +12 -12
  86. package/dist/{remote-BU9UyhCJ.mjs → remote-CZiTijxG.mjs} +5 -5
  87. package/dist/{remote-cache-Bsts6f6Y.mjs → remote-cache-fxcl5C-L.mjs} +3 -3
  88. package/dist/{result-BDoRk1k3.mjs → result-BrfgXtdO.mjs} +7 -7
  89. package/dist/{run-qvff78hv.mjs → run-ClC8UVB5.mjs} +1 -1
  90. package/dist/{server-command-7XIKlWtO.mjs → server-command-DnJYLnr4.mjs} +3 -3
  91. package/dist/{server-expo-CsYu2aKL.mjs → server-expo-CUuzP9Mp.mjs} +1 -1
  92. package/dist/server-expo-Dvkd7JcF.mjs +2 -0
  93. package/dist/{settings-CT3E71-i.mjs → settings-BuKMOANA.mjs} +1 -1
  94. package/dist/settings.schema.json +1 -1
  95. package/dist/{slot-launch-B9hn96wd.mjs → slot-launch-CeCRr6MK.mjs} +5 -5
  96. package/dist/{start-CdvcTaXr.mjs → start-CRkG-mZ7.mjs} +8 -8
  97. package/dist/{start-CbQCSnXQ.mjs → start-mh6bS27z.mjs} +1 -1
  98. package/dist/{state-Boo0IMJq.mjs → state-BUpAmt2r.mjs} +1 -1
  99. package/dist/{state-DI84A-uu.mjs → state-lqxdOH_g.mjs} +5 -4
  100. package/dist/{stats-BIIDrjA8.mjs → stats-CaB1MxMi.mjs} +3 -3
  101. package/dist/{status-DARMkc9q.mjs → status-C7vzkInu.mjs} +20 -20
  102. package/dist/{status-watch-DvmI3SmN.mjs → status-watch-ZaVqRdtW.mjs} +3 -3
  103. package/dist/{stop-iNemHsJC.mjs → stop-BO80KJoT.mjs} +16 -16
  104. package/dist/{stop-CCZS-C9m.mjs → stop-BU7JaFCg.mjs} +2 -2
  105. package/dist/{stop-WQPQHLuy.mjs → stop-Cftw_sXJ.mjs} +5 -5
  106. package/dist/supervisor-run.mjs +13 -13
  107. package/dist/{support-CnE_SIjt.mjs → support-Ca6PZbpr.mjs} +4 -4
  108. package/dist/{support-DCco5fut.mjs → support-Co0wk8Cv.mjs} +8 -8
  109. package/dist/{swiftpm-macos-afeNUExW.mjs → swiftpm-macos-siFSkmCO.mjs} +2 -2
  110. package/dist/{tailnet-CoJUb2tB.mjs → tailnet-D7-tE_ug.mjs} +3 -3
  111. package/dist/toolchain-B12psPA2.mjs +2 -0
  112. package/dist/{toolchain-DqyDXs30.mjs → toolchain-SqehyPLw.mjs} +4 -4
  113. package/dist/{warm-progress-C3ASD6z5.mjs → warm-progress-5FAXkXIg.mjs} +2 -2
  114. package/dist/{watchman-CQl51YZu.mjs → watchman-CqmaGcIb.mjs} +4 -4
  115. package/dist/{web-B3eldHFH.mjs → web-BTjzE8mc.mjs} +5 -5
  116. package/dist/web-CHN5gh34.mjs +2 -0
  117. package/dist/web-run.mjs +4 -4
  118. package/dist/{workspace-state-CSIFuuDa.mjs → workspace-state-CvgTFe-h.mjs} +3 -3
  119. package/dist/{workspaces-D2xSHBDY.mjs → workspaces-C4kqIOlx.mjs} +11 -11
  120. package/dist/{worktree-q7_OZNY0.mjs → worktree-Cgnm6vZt.mjs} +1 -1
  121. package/dist/{worktree-BxDqaTev.mjs → worktree-DtRsh6go.mjs} +23 -23
  122. package/package.json +6 -7
  123. package/dist/macos-C0iljhsN.mjs +0 -2
  124. package/dist/server-expo-DV43vep4.mjs +0 -2
  125. package/dist/toolchain-BIupIro1.mjs +0 -2
  126. package/dist/web-BLXpOe6b.mjs +0 -2
@@ -2,29 +2,29 @@ import { t as process_identity_exports } from "./process-identity-Biv3arCO.mjs";
2
2
  import { t as getExecutor } from "./exec-B81Qodjn.mjs";
3
3
  import { B as parseDeviceSlotKey, F as volumeRootFor, H as projectDeviceSlots, R as deviceSlotKey, _ as loadConfig$1, d as getConfigDir, j as formatBytes } from "./config-D0LhTY3S.mjs";
4
4
  import { Et as repoRoot, bt as linkedWorktreesOnDisk, ht as gitCommonDirOnDisk, mt as gitCommonDir, q as resolveSettings } from "./settings-Bbztm4oV.mjs";
5
- import { i as listLeaseFiles, r as leaseIsExpired, s as parseWorkspaceLeases } from "./device-lease-DHOBXGgS.mjs";
6
- import { C as workspaceLogErrorIndex, r as readWorkspaceState$1, w as workspaceLogsDir$1 } from "./workspace-state-CSIFuuDa.mjs";
7
- import { a as formatElapsed, i as formatDuration, r as clockTime, u as plural } from "./command-output-BjPN99ZB.mjs";
8
- import { F as readWorkspaceLaunches, N as readRemoteSession, _ as detectIsExpo, c as projectShortcut, i as findServerWorkspace, j as readMetroTunnel, l as detectPlatforms, v as detectTutorial, x as readAppJson } from "./project-B8_duAzW.mjs";
9
- import { F as ownedAvdDeviceProfile, O as listAdbDevices, at as POOL_SETTING_REMEDY, dt as parkedMaxSetting, ft as readParked, z as ownedAvdSerialResolver } from "./android-BsYNR81W.mjs";
10
- import { a as listeningPidsByPort, c as processCwd, i as listeningPids, l as processCwds, p as isMetroRunning, s as pidExists, u as resolveProjectMetro } from "./metro-D_j9sN-B.mjs";
11
- import { P as resolveSupervisorTarget } from "./workspaces-D2xSHBDY.mjs";
12
- import { Ct as bundlingActivity, It as statsProjectKey$1, Mt as readStats$1, St as buildStatusLine, Tt as parseActiveBuild, bt as activeBuildState, it as readFootprints, mt as metroLastStop, o as machineNumber, rt as attributeMachineUsage, ut as describeMetroLastStop, vt as ACTIVE_BUILD_KEY, xt as buildReport } from "./budget-BONq9vXY.mjs";
5
+ import { i as listLeaseFiles, r as leaseIsExpired, s as parseWorkspaceLeases } from "./device-lease-C309csaB.mjs";
6
+ import { C as workspaceLogErrorIndex, r as readWorkspaceState$1, w as workspaceLogsDir$1 } from "./workspace-state-CvgTFe-h.mjs";
7
+ import { a as formatElapsed, i as formatDuration, r as clockTime, u as plural } from "./command-output-CPDq_90S.mjs";
8
+ import { F as readWorkspaceLaunches, N as readRemoteSession, _ as detectIsExpo, c as projectShortcut, i as findServerWorkspace, j as readMetroTunnel, l as detectPlatforms, v as detectTutorial, x as readAppJson } from "./project-DX8fXyw_.mjs";
9
+ import { F as ownedAvdDeviceProfile, O as listAdbDevices, at as POOL_SETTING_REMEDY, dt as parkedMaxSetting, ft as readParked, z as ownedAvdSerialResolver } from "./android-DE8-JfGW.mjs";
10
+ import { a as listeningPidsByPort, c as processCwd, i as listeningPids, l as processCwds, p as isMetroRunning, s as pidExists, u as resolveProjectMetro } from "./metro-_ZIE3Axg.mjs";
11
+ import { P as resolveSupervisorTarget } from "./workspaces-C4kqIOlx.mjs";
12
+ import { Ct as bundlingActivity, It as statsProjectKey$1, Mt as readStats$1, St as buildStatusLine, Tt as parseActiveBuild, bt as activeBuildState, it as readFootprints, mt as metroLastStop, o as machineNumber, rt as attributeMachineUsage, ut as describeMetroLastStop, vt as ACTIVE_BUILD_KEY, xt as buildReport } from "./budget-RFbwFpG5.mjs";
13
13
  import { a as parseNdjsonLine } from "./ndjson-GOnbyvso.mjs";
14
- import { a as readWebPage, o as readWebRecord, u as webFacts } from "./state-DI84A-uu.mjs";
15
- import { C as statusActivity, E as withWebFacts, S as remoteDeviceState, T as unprovisionedWorktrees, _ as gitSummaryText, b as poolLine, c as activityLabel, d as capacity, f as deviceLeaseLines, h as environmentState, l as addReverseMissingIssue, m as diskLine, p as deviceLeaseStates, u as applyMachineMemory, v as metroReverseTargets, w as tightVolumes, x as remoteDeviceLine, y as parseDfFree } from "./watchman-CQl51YZu.mjs";
16
- import { d as readWebActivity, f as tailLines, i as createDeviceProcessTables, r as createActivityReader } from "./activity-BrGh9EAI.mjs";
17
- import { b as parseSimctlList, f as listAllIosSimsAsync } from "./ios-CXLIUxXJ.mjs";
18
- import { m as hasMetroReverse } from "./app-install-0LgaQRT7.mjs";
19
- import { u as probeHostedSession } from "./hosted-client-Io01s5By.mjs";
20
- import { r as readEasSessionLedger$1 } from "./eas-session-ledger-DZlC-Fq3.mjs";
21
- import { d as readIosDevices, s as isReachable } from "./ios-device-BreZOpM0.mjs";
22
- import "./hosted-macos-Aziw9T_9.mjs";
23
- import { i as readSupervisorState } from "./stop-iNemHsJC.mjs";
24
- import { i as createStatusMeasurer, n as workspacePhase, r as applyStatusMeasures, s as mergeState } from "./warm-progress-C3ASD6z5.mjs";
14
+ import { a as readWebPage, o as readWebRecord, u as webFacts } from "./state-lqxdOH_g.mjs";
15
+ import { C as statusActivity, E as withWebFacts, S as remoteDeviceState, T as unprovisionedWorktrees, _ as gitSummaryText, b as poolLine, c as activityLabel, d as capacity, f as deviceLeaseLines, h as environmentState, l as addReverseMissingIssue, m as diskLine, p as deviceLeaseStates, u as applyMachineMemory, v as metroReverseTargets, w as tightVolumes, x as remoteDeviceLine, y as parseDfFree } from "./watchman-CqmaGcIb.mjs";
16
+ import { d as readWebActivity, f as tailLines, i as createDeviceProcessTables, r as createActivityReader } from "./activity-BaMpUQ4-.mjs";
17
+ import { b as parseSimctlList, f as listAllIosSimsAsync } from "./ios-o896T9PE.mjs";
18
+ import { m as hasMetroReverse } from "./app-install-Cg9YJy3x.mjs";
19
+ import { u as probeHostedSession } from "./hosted-client--hNFgixu.mjs";
20
+ import { r as readEasSessionLedger$1 } from "./eas-session-ledger-DJDeL4Uq.mjs";
21
+ import { d as readIosDevices, s as isReachable } from "./ios-device-BWHKGaJq.mjs";
22
+ import "./hosted-macos-ckTjN-0V.mjs";
23
+ import { i as readSupervisorState } from "./stop-BO80KJoT.mjs";
24
+ import { i as createStatusMeasurer, n as workspacePhase, r as applyStatusMeasures, s as mergeState } from "./warm-progress-5FAXkXIg.mjs";
25
25
  import { r as workspaceRecordingEnabled } from "./recordings-Bk-VivUV.mjs";
26
26
  import { n as maintenanceLines, r as maintenanceStatus } from "./status-BDGHwkCs.mjs";
27
- import { a as watchStatusSources, i as watchPayload, n as WATCH_LIGHT_INTERVAL_MS, r as createRefreshScheduler, t as WATCH_FALLBACK_MS } from "./status-watch-DvmI3SmN.mjs";
27
+ import { a as watchStatusSources, i as watchPayload, n as WATCH_LIGHT_INTERVAL_MS, r as createRefreshScheduler, t as WATCH_FALLBACK_MS } from "./status-watch-ZaVqRdtW.mjs";
28
28
  import { t as watchStdoutReader } from "./stdout-reader-C8yjre1x.mjs";
29
29
  import { t as triggerMaintenance } from "./trigger-C0MWBi8O.mjs";
30
30
  import { mkdirSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
@@ -1,7 +1,7 @@
1
1
  import { t as getExecutor } from "./exec-B81Qodjn.mjs";
2
- import { d as androidToolPath } from "./android-BsYNR81W.mjs";
3
- import { b as parseSimctlList } from "./ios-CXLIUxXJ.mjs";
4
- import { n as easMachineStateRoot } from "./eas-session-ledger-DZlC-Fq3.mjs";
2
+ import { d as androidToolPath } from "./android-DE8-JfGW.mjs";
3
+ import { b as parseSimctlList } from "./ios-o896T9PE.mjs";
4
+ import { n as easMachineStateRoot } from "./eas-session-ledger-DJDeL4Uq.mjs";
5
5
  import { readdirSync, watch } from "node:fs";
6
6
  import { join } from "node:path";
7
7
  //#region src/status-watch.ts
@@ -1,22 +1,22 @@
1
1
  import { n as ownership_claim_exports, t as process_identity_exports } from "./process-identity-Biv3arCO.mjs";
2
2
  import { n as debugLog } from "./exec-B81Qodjn.mjs";
3
3
  import { B as parseDeviceSlotKey, D as withConfigLock$1, E as upsertProject, H as projectDeviceSlots, V as parseDeviceSlotOption, W as validateDeviceSlot, o as clearSupervisor, p as getProject, z as deviceSlotPlatforms } from "./config-D0LhTY3S.mjs";
4
- import { n as fileLeaseIo, u as releaseWorkspaceLeases } from "./device-lease-DHOBXGgS.mjs";
5
- import { a as updateWorkspaceState, c as writeWorkspaceState, n as clearWorkspaceStateKeys, o as withWorkspaceStateLock, r as readWorkspaceState$1, x as workspaceDir } from "./workspace-state-CSIFuuDa.mjs";
6
- import { f as refuseNoProject, l as phaseLine, p as releasedLeaseFact, u as plural } from "./command-output-BjPN99ZB.mjs";
7
- import { A as clearWorkspaceSupervisor, D as clearManagedMetroTunnel, N as readRemoteSession, O as clearRemoteSession, j as readMetroTunnel, k as clearWorkspaceLaunches, n as findCommandWorkspace, w as MODE_COMMAND } from "./project-B8_duAzW.mjs";
8
- import { d as signalProcessTree, r as killMetroTree, s as pidExists, u as resolveProjectMetro } from "./metro-D_j9sN-B.mjs";
9
- import { D as stopTunnel, P as resolveSupervisorTarget, b as teardownOwnedIosSim, v as teardownOwnedAvd, y as teardownOwnedBrowser } from "./workspaces-D2xSHBDY.mjs";
10
- import { _t as withdrawDevServerStopRequest, ht as requestDevServerStop, pt as logVanishedSupervisor } from "./budget-BONq9vXY.mjs";
11
- import { a as withWorkspaceProcessLock } from "./named-ports-C2lvoPsb.mjs";
12
- import { _ as nativeRunHolder, d as NATIVE_RUN_LOCK, f as NATIVE_RUN_WAIT_MS, g as describeNativeRunHolder, h as decideStopAction, m as clearNativeRunCancel, v as nativeRunWaitNotice, y as requestNativeRunCancel } from "./tailnet-CoJUb2tB.mjs";
13
- import { f as resolveEasCliBin } from "./remote-cache-Bsts6f6Y.mjs";
14
- import { t as macosAppPresent } from "./state-Boo0IMJq.mjs";
15
- import { i as stopHostedAndroid } from "./hosted-android-DQ-Agsd8.mjs";
16
- import { i as endRecordedSession } from "./device-remote-Bmg42063.mjs";
17
- import { n as verifyCollectorOwnership } from "./ownership-DXzMMSx6.mjs";
18
- import { r as stopHostedIos } from "./hosted-ios-DIxFnYp-.mjs";
19
- import { n as stopMacosApp } from "./stop-WQPQHLuy.mjs";
4
+ import { n as fileLeaseIo, u as releaseWorkspaceLeases } from "./device-lease-C309csaB.mjs";
5
+ import { a as updateWorkspaceState, c as writeWorkspaceState, n as clearWorkspaceStateKeys, o as withWorkspaceStateLock, r as readWorkspaceState$1, x as workspaceDir } from "./workspace-state-CvgTFe-h.mjs";
6
+ import { f as refuseNoProject, l as phaseLine, p as releasedLeaseFact, u as plural } from "./command-output-CPDq_90S.mjs";
7
+ import { A as clearWorkspaceSupervisor, D as clearManagedMetroTunnel, N as readRemoteSession, O as clearRemoteSession, j as readMetroTunnel, k as clearWorkspaceLaunches, n as findCommandWorkspace, w as MODE_COMMAND } from "./project-DX8fXyw_.mjs";
8
+ import { d as signalProcessTree, r as killMetroTree, s as pidExists, u as resolveProjectMetro } from "./metro-_ZIE3Axg.mjs";
9
+ import { D as stopTunnel, P as resolveSupervisorTarget, b as teardownOwnedIosSim, v as teardownOwnedAvd, y as teardownOwnedBrowser } from "./workspaces-C4kqIOlx.mjs";
10
+ import { _t as withdrawDevServerStopRequest, ht as requestDevServerStop, pt as logVanishedSupervisor } from "./budget-RFbwFpG5.mjs";
11
+ import { a as withWorkspaceProcessLock } from "./named-ports-O1TIl7tx.mjs";
12
+ import { _ as nativeRunHolder, d as NATIVE_RUN_LOCK, f as NATIVE_RUN_WAIT_MS, g as describeNativeRunHolder, h as decideStopAction, m as clearNativeRunCancel, v as nativeRunWaitNotice, y as requestNativeRunCancel } from "./tailnet-D7-tE_ug.mjs";
13
+ import { f as resolveEasCliBin } from "./remote-cache-fxcl5C-L.mjs";
14
+ import { t as macosAppPresent } from "./state-BUpAmt2r.mjs";
15
+ import { i as stopHostedAndroid } from "./hosted-android-C-D8Dj0_.mjs";
16
+ import { i as endRecordedSession } from "./device-remote-DjsNw8DD.mjs";
17
+ import { n as verifyCollectorOwnership } from "./ownership-BrjepDiv.mjs";
18
+ import { r as stopHostedIos } from "./hosted-ios-Chx9XQyI.mjs";
19
+ import { n as stopMacosApp } from "./stop-Cftw_sXJ.mjs";
20
20
  import { hostedAndroidDeviceName, hostedAndroidRecords, hostedIosRecords, hostedNativeRecords, isJsonObject, parseHostedNativePlacement } from "@stim-cli/core/state";
21
21
  import chalk from "chalk";
22
22
  //#region src/commands/stop.ts
@@ -1,3 +1,3 @@
1
- import { P as resolveSupervisorTarget } from "./workspaces-D2xSHBDY.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-iNemHsJC.mjs";
1
+ import { P as resolveSupervisorTarget } from "./workspaces-C4kqIOlx.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-BO80KJoT.mjs";
3
3
  export { clearCollectorState, clearSupervisorState, stopCommand as default, readCollectorState, readSupervisorState, resolveCollectorTargets, resolveSupervisorTarget, runStop, stopWorkspaceNow };
@@ -1,9 +1,9 @@
1
1
  import { n as ownership_claim_exports, t as process_identity_exports } from "./process-identity-Biv3arCO.mjs";
2
- import { c as writeWorkspaceState, x as workspaceDir } from "./workspace-state-CSIFuuDa.mjs";
3
- import { m as runningBundleInstances } from "./workspaces-D2xSHBDY.mjs";
4
- import { a as withWorkspaceProcessLock } from "./named-ports-C2lvoPsb.mjs";
5
- import { a as macosRuntimeClaim, o as requiredMacosRecord } from "./state-Boo0IMJq.mjs";
6
- import { n as stopHostedMacos } from "./hosted-macos-Aziw9T_9.mjs";
2
+ import { c as writeWorkspaceState, x as workspaceDir } from "./workspace-state-CvgTFe-h.mjs";
3
+ import { m as runningBundleInstances } from "./workspaces-C4kqIOlx.mjs";
4
+ import { a as withWorkspaceProcessLock } from "./named-ports-O1TIl7tx.mjs";
5
+ import { a as macosRuntimeClaim, o as requiredMacosRecord } from "./state-BUpAmt2r.mjs";
6
+ import { n as stopHostedMacos } from "./hosted-macos-ckTjN-0V.mjs";
7
7
  import { readMacosRecord } from "@stim-cli/core/state";
8
8
  //#region src/macos/stop.ts
9
9
  const APP_EXIT_MS = 5e3;
@@ -1,21 +1,21 @@
1
1
  import { t as process_identity_exports } from "./process-identity-Biv3arCO.mjs";
2
2
  import { B as parseDeviceSlotKey, H as projectDeviceSlots, T as setSupervisor, o as clearSupervisor, p as getProject } from "./config-D0LhTY3S.mjs";
3
3
  import { J as runnableMetroCommand, K as resolveProjectSettings } from "./settings-Bbztm4oV.mjs";
4
- import { a as parseLease, r as leaseIsExpired, s as parseWorkspaceLeases, t as deviceLeasePath } from "./device-lease-DHOBXGgS.mjs";
5
- import { E as workspaceStateFile, a as updateWorkspaceState, c as writeWorkspaceState, n as clearWorkspaceStateKeys, o as withWorkspaceStateLock, r as readWorkspaceState$1, w as workspaceLogsDir$1 } from "./workspace-state-CSIFuuDa.mjs";
6
- import { A as clearWorkspaceSupervisor, C as MODE_BARE, E as clearExpoMetroTunnel, L as writePidFile, M as readPidFile, T as MODE_EXPO, _ as detectIsExpo, u as nativeProjectIntegration, w as MODE_COMMAND } from "./project-B8_duAzW.mjs";
7
- import { z as ownedAvdSerialResolver } from "./android-BsYNR81W.mjs";
8
- import { f as withIdleWorkspace } from "./workspaces-D2xSHBDY.mjs";
9
- import { dt as devServerStopLevel, ft as devServerStopRecord, g as workspaceBuildInProgress, gt as vanishedSupervisorMessage, lt as describeDevServerStop } from "./budget-BONq9vXY.mjs";
10
- import { a as withWorkspaceProcessLock } from "./named-ports-C2lvoPsb.mjs";
4
+ import { a as parseLease, r as leaseIsExpired, s as parseWorkspaceLeases, t as deviceLeasePath } from "./device-lease-C309csaB.mjs";
5
+ import { E as workspaceStateFile, a as updateWorkspaceState, c as writeWorkspaceState, n as clearWorkspaceStateKeys, o as withWorkspaceStateLock, r as readWorkspaceState$1, w as workspaceLogsDir$1 } from "./workspace-state-CvgTFe-h.mjs";
6
+ import { A as clearWorkspaceSupervisor, C as MODE_BARE, E as clearExpoMetroTunnel, L as writePidFile, M as readPidFile, T as MODE_EXPO, _ as detectIsExpo, u as nativeProjectIntegration, w as MODE_COMMAND } from "./project-DX8fXyw_.mjs";
7
+ import { z as ownedAvdSerialResolver } from "./android-DE8-JfGW.mjs";
8
+ import { f as withIdleWorkspace } from "./workspaces-C4kqIOlx.mjs";
9
+ import { dt as devServerStopLevel, ft as devServerStopRecord, g as workspaceBuildInProgress, gt as vanishedSupervisorMessage, lt as describeDevServerStop } from "./budget-RFbwFpG5.mjs";
10
+ import { a as withWorkspaceProcessLock } from "./named-ports-O1TIl7tx.mjs";
11
11
  import { r as createNdjsonWriter } from "./ndjson-GOnbyvso.mjs";
12
12
  import { t as describeError } from "./errors-DzkMYh8Q.mjs";
13
13
  import { t as relaunchWithLogFile } from "./detached-entry-BXq4fIl-.mjs";
14
- import { n as parseTriggerCount, o as runWatchman, r as parseWatchRoots, t as parseSubscriberNames } from "./watchman-CQl51YZu.mjs";
15
- import { m as workspaceDeviceLastUseAt, r as createActivityReader } from "./activity-BrGh9EAI.mjs";
16
- import { n as dueIdleDevices, r as shutDownIdleDevices } from "./idle-shutdown-DdMqoSUB.mjs";
17
- import { u as probeHostedSession } from "./hosted-client-Io01s5By.mjs";
18
- import { t as clearHostedMetro } from "./metro-gateway-BBJldOdi.mjs";
14
+ import { n as parseTriggerCount, o as runWatchman, r as parseWatchRoots, t as parseSubscriberNames } from "./watchman-CqmaGcIb.mjs";
15
+ import { m as workspaceDeviceLastUseAt, r as createActivityReader } from "./activity-BaMpUQ4-.mjs";
16
+ import { n as dueIdleDevices, r as shutDownIdleDevices } from "./idle-shutdown-DhAUyf5s.mjs";
17
+ import { u as probeHostedSession } from "./hosted-client--hNFgixu.mjs";
18
+ import { t as clearHostedMetro } from "./metro-gateway-BzlQZQmU.mjs";
19
19
  import { existsSync, readFileSync, realpathSync, statSync } from "node:fs";
20
20
  import { dirname, isAbsolute, join, resolve, sep } from "node:path";
21
21
  import { DEV_SERVER_STOP_REQUEST_KEY, HOSTED_METRO_GATEWAYS_KEY, HOSTED_METRO_REQUESTS_KEY, IDLE_STOP_KEY, hostedAndroidPlacements, hostedIosPlacements, hostedMetroGateways, hostedMetroRequests, hostedNativeRecords, parseHostedNativePlacement, readDevServerStopRequest } from "@stim-cli/core/state";
@@ -602,7 +602,7 @@ async function runSupervisor({ root, port, tunnel = false, resetCache = false, i
602
602
  try {
603
603
  let start;
604
604
  if (command) {
605
- const startServer = startCommand ?? (await import("./server-command-7XIKlWtO.mjs")).startCommandServer;
605
+ const startServer = startCommand ?? (await import("./server-command-DnJYLnr4.mjs")).startCommandServer;
606
606
  start = (opts) => startServer({
607
607
  ...opts,
608
608
  command
@@ -1,8 +1,8 @@
1
1
  import { t as getExecutor } from "./exec-B81Qodjn.mjs";
2
- import { C as emulatorFailureRemedy, D as hostSystemImageArch, K as profileNeedsFoldFeature, N as memoizeEmulatorProbe, S as emulatorDiskSpaceRemedy, T as findBuildTool, W as pickDefaultSystemImage, c as androidPoolNoCandidatesRefusal, l as androidSystemImageAbi, o as androidHome, s as androidPoolCandidates, w as extractEmulatorFailure } from "./android-BsYNR81W.mjs";
3
- import { T as pickDevClientScheme } from "./app-install-0LgaQRT7.mjs";
4
- import { l as unknownAndroidDeviceProfileRefusal, o as layerNote, u as unknownAndroidSystemImageRefusal } from "./device-capacity-Ca_ke1LE.mjs";
5
- import { t as devClientScheme } from "./dev-client-ClATaJoH.mjs";
2
+ import { C as emulatorFailureRemedy, D as hostSystemImageArch, K as profileNeedsFoldFeature, N as memoizeEmulatorProbe, S as emulatorDiskSpaceRemedy, T as findBuildTool, W as pickDefaultSystemImage, c as androidPoolNoCandidatesRefusal, l as androidSystemImageAbi, o as androidHome, s as androidPoolCandidates, w as extractEmulatorFailure } from "./android-DE8-JfGW.mjs";
3
+ import { T as pickDevClientScheme } from "./app-install-Cg9YJy3x.mjs";
4
+ import { l as unknownAndroidDeviceProfileRefusal, o as layerNote, u as unknownAndroidSystemImageRefusal } from "./device-capacity-DrwHwR97.mjs";
5
+ import { t as devClientScheme } from "./dev-client-BqYjMIaC.mjs";
6
6
  import { existsSync, readFileSync, readdirSync } from "node:fs";
7
7
  import { relative } from "node:path";
8
8
  //#region src/commands/android/support.ts
@@ -1,13 +1,13 @@
1
1
  import { Q as settingShapeErrors, a as SETTING_SHAPE_REMEDY, b as iosProjectDirSettingError, nt as unknownSettingKeys, p as cacheProviderSettingError, y as iosProjectDirSetting } from "./settings-Bbztm4oV.mjs";
2
- import { w as workspaceLogsDir } from "./workspace-state-CSIFuuDa.mjs";
3
- import { h as shortUdid, l as phaseLine } from "./command-output-BjPN99ZB.mjs";
2
+ import { w as workspaceLogsDir } from "./workspace-state-CvgTFe-h.mjs";
3
+ import { h as shortUdid, l as phaseLine } from "./command-output-CPDq_90S.mjs";
4
4
  import { p as resolveOptimizations } from "./errors-DzkMYh8Q.mjs";
5
- import { y as resolveBuildPlacement } from "./client-BLy1Pw2V.mjs";
6
- import { j as parseIosSimulatorApp } from "./ios-CXLIUxXJ.mjs";
7
- import { F as describeDiagnostic } from "./toolchain-DqyDXs30.mjs";
8
- import { d as unknownIosDeviceTypeRefusal, f as unknownIosRuntimeRefusal, o as layerNote, t as DEFAULT_DEVICE_SLOT_WAIT_MS } from "./device-capacity-Ca_ke1LE.mjs";
9
- import { l as parseDeviceWait } from "./device-lease-run-CvDeHTkG.mjs";
10
- import { t as IosDeviceMismatchError } from "./device-ios-CRUqPxKw.mjs";
5
+ import { y as resolveBuildPlacement } from "./client-zqjFd79D.mjs";
6
+ import { j as parseIosSimulatorApp } from "./ios-o896T9PE.mjs";
7
+ import { F as describeDiagnostic } from "./toolchain-SqehyPLw.mjs";
8
+ import { d as unknownIosDeviceTypeRefusal, f as unknownIosRuntimeRefusal, o as layerNote, t as DEFAULT_DEVICE_SLOT_WAIT_MS } from "./device-capacity-DrwHwR97.mjs";
9
+ import { l as parseDeviceWait } from "./device-lease-run-Baelt3nc.mjs";
10
+ import { t as IosDeviceMismatchError } from "./device-ios-DE8KJd3b.mjs";
11
11
  import { basename, join } from "node:path";
12
12
  import chalk from "chalk";
13
13
  function buildLogFile(root) {
@@ -1,9 +1,9 @@
1
1
  import { t as getExecutor } from "./exec-B81Qodjn.mjs";
2
2
  import { Et as repoRoot } from "./settings-Bbztm4oV.mjs";
3
3
  import { a as spawnDeclared } from "./spawn-claims-Kqiifsk2.mjs";
4
- import { s as macosToolchain } from "./toolchain-DqyDXs30.mjs";
4
+ import { s as macosToolchain } from "./toolchain-SqehyPLw.mjs";
5
5
  import { i as validateInfoPlist, n as setBundleName, r as stageBundle, t as resolveBundleExtras } from "./stage-BNKKdDNc.mjs";
6
- import { t as logLines } from "./run-qvff78hv.mjs";
6
+ import { t as logLines } from "./run-ClC8UVB5.mjs";
7
7
  import { existsSync, realpathSync } from "node:fs";
8
8
  import { join, relative, resolve } from "node:path";
9
9
  //#region src/integrations/swiftpm-macos.ts
@@ -1,8 +1,8 @@
1
1
  import { t as getExecutor } from "./exec-B81Qodjn.mjs";
2
- import { a as updateWorkspaceState, r as readWorkspaceState$1, t as clearWorkspaceStateKey, x as workspaceDir } from "./workspace-state-CSIFuuDa.mjs";
3
- import { a as formatElapsed } from "./command-output-BjPN99ZB.mjs";
2
+ import { a as updateWorkspaceState, r as readWorkspaceState$1, t as clearWorkspaceStateKey, x as workspaceDir } from "./workspace-state-CvgTFe-h.mjs";
3
+ import { a as formatElapsed } from "./command-output-CPDq_90S.mjs";
4
4
  import { i as signalDeclaredSpawns, r as refuseDeclaredSpawns, t as allowDeclaredSpawns } from "./spawn-claims-Kqiifsk2.mjs";
5
- import { a as withWorkspaceProcessLock } from "./named-ports-C2lvoPsb.mjs";
5
+ import { a as withWorkspaceProcessLock } from "./named-ports-O1TIl7tx.mjs";
6
6
  import { endpoint, findPeer as findPeer$1, isJsonObject, parseMachine, parseMachine as parseMachine$1, pinnedEndpoint } from "@stim-cli/core/state";
7
7
  import { WebSocket } from "ws";
8
8
  //#region src/engine/native-run.ts
@@ -0,0 +1,2 @@
1
+ import { s as macosToolchain } from "./toolchain-SqehyPLw.mjs";
2
+ export { macosToolchain };
@@ -1,11 +1,11 @@
1
1
  import { t as getExecutor } from "./exec-B81Qodjn.mjs";
2
- import { b as workspaceDerivedData } from "./workspace-state-CSIFuuDa.mjs";
2
+ import { b as workspaceDerivedData } from "./workspace-state-CvgTFe-h.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-BjPN99ZB.mjs";
5
- import { o as androidHome } from "./android-BsYNR81W.mjs";
4
+ import { a as formatElapsed, l as phaseLine } from "./command-output-CPDq_90S.mjs";
5
+ import { o as androidHome } from "./android-DE8-JfGW.mjs";
6
6
  import { a as spawnDeclared } from "./spawn-claims-Kqiifsk2.mjs";
7
7
  import { p as resolveOptimizations } from "./errors-DzkMYh8Q.mjs";
8
- import { t as cleanLine } from "./server-expo-CsYu2aKL.mjs";
8
+ import { t as cleanLine } from "./server-expo-CUuzP9Mp.mjs";
9
9
  import { createRequire } from "node:module";
10
10
  import { existsSync, mkdtempSync, readFileSync, readdirSync, realpathSync, rmSync, statSync } from "node:fs";
11
11
  import { basename, delimiter, dirname, isAbsolute, join, relative, resolve, sep } from "node:path";
@@ -1,8 +1,8 @@
1
1
  import { n as ownership_claim_exports } from "./process-identity-Biv3arCO.mjs";
2
2
  import { n as debugLog, t as getExecutor } from "./exec-B81Qodjn.mjs";
3
3
  import { bt as linkedWorktreesOnDisk, ht as gitCommonDirOnDisk } from "./settings-Bbztm4oV.mjs";
4
- import { D as withDirLock, a as updateWorkspaceState, d as discoverAgentSessions, l as agentKey, p as ensureWorkspaceStorage, u as attributeAgentSessions, x as workspaceDir } from "./workspace-state-CSIFuuDa.mjs";
5
- import { I as ownedAvdDirectory } from "./android-BsYNR81W.mjs";
4
+ import { D as withDirLock, a as updateWorkspaceState, d as discoverAgentSessions, l as agentKey, p as ensureWorkspaceStorage, u as attributeAgentSessions, x as workspaceDir } from "./workspace-state-CvgTFe-h.mjs";
5
+ import { I as ownedAvdDirectory } from "./android-DE8-JfGW.mjs";
6
6
  import { o as pullRequestLookups } from "./pull-request-vOhLNmIb.mjs";
7
7
  import { existsSync, mkdirSync, readdirSync, realpathSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
8
8
  import { basename, dirname, join, sep } from "node:path";
@@ -1,9 +1,9 @@
1
1
  import { t as getExecutor } from "./exec-B81Qodjn.mjs";
2
2
  import { H as projectDeviceSlots, R as deviceSlotKey } from "./config-D0LhTY3S.mjs";
3
- import { y as workspaceAgentDeviceDir } from "./workspace-state-CSIFuuDa.mjs";
4
- import { a as formatElapsed, o as formatLongDuration, r as clockTime, u as plural } from "./command-output-BjPN99ZB.mjs";
5
- import { n as isInsideProject } from "./metro-D_j9sN-B.mjs";
6
- import { r as cdpEndpoint } from "./state-DI84A-uu.mjs";
3
+ import { y as workspaceAgentDeviceDir } from "./workspace-state-CvgTFe-h.mjs";
4
+ import { a as formatElapsed, o as formatLongDuration, r as clockTime, u as plural } from "./command-output-CPDq_90S.mjs";
5
+ import { n as isInsideProject } from "./metro-_ZIE3Axg.mjs";
6
+ import { r as cdpEndpoint } from "./state-lqxdOH_g.mjs";
7
7
  import { basename, sep } from "path";
8
8
  import { ACTIVITY_RECENCY_BASES } from "@stim-cli/core/state";
9
9
  //#region src/status.ts
@@ -1,11 +1,11 @@
1
1
  import { E as upsertProject, p as getProject } from "./config-D0LhTY3S.mjs";
2
2
  import { K as resolveProjectSettings, Q as settingShapeErrors, a as SETTING_SHAPE_REMEDY } from "./settings-Bbztm4oV.mjs";
3
- import { i as recordWorkspaceUse, w as workspaceLogsDir } from "./workspace-state-CSIFuuDa.mjs";
4
- import { f as refuseNoProject, l as phaseLine } from "./command-output-BjPN99ZB.mjs";
5
- import { d as projectRegistry, n as findCommandWorkspace } from "./project-B8_duAzW.mjs";
3
+ import { i as recordWorkspaceUse, w as workspaceLogsDir } from "./workspace-state-CvgTFe-h.mjs";
4
+ import { f as refuseNoProject, l as phaseLine } from "./command-output-CPDq_90S.mjs";
5
+ import { d as projectRegistry, n as findCommandWorkspace } from "./project-DX8fXyw_.mjs";
6
6
  import { a as workspaceLinks, i as workspaceLinkLine } from "./stim-desktop-8GQX2OV8.mjs";
7
- import { o as readWebRecord, r as cdpEndpoint } from "./state-DI84A-uu.mjs";
8
- import { n as ensureWorkspaceStorageSafely } from "./native-runtime-BRmWL7ru.mjs";
7
+ import { o as readWebRecord, r as cdpEndpoint } from "./state-lqxdOH_g.mjs";
8
+ import { n as ensureWorkspaceStorageSafely } from "./native-runtime-D024BAvm.mjs";
9
9
  import { t as liveWebRecord } from "./page-Bv9s2KwY.mjs";
10
10
  import chalk from "chalk";
11
11
  //#region src/commands/web.ts
@@ -0,0 +1,2 @@
1
+ import { n as webCommand, t as runWeb } from "./web-BTjzE8mc.mjs";
2
+ export { webCommand as default, runWeb };
package/dist/web-run.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  import { n as ownership_claim_exports, t as process_identity_exports } from "./process-identity-Biv3arCO.mjs";
2
2
  import { t as getExecutor } from "./exec-B81Qodjn.mjs";
3
- import { r as recordCreatedDevice } from "./created-devices-HU_DAb_Q.mjs";
4
- import { d as signalProcessTree } from "./metro-D_j9sN-B.mjs";
3
+ import { r as recordCreatedDevice } from "./created-devices-CXBMtoj5.mjs";
4
+ import { d as signalProcessTree } from "./metro-_ZIE3Axg.mjs";
5
5
  import { r as createNdjsonWriter } from "./ndjson-GOnbyvso.mjs";
6
6
  import { t as relaunchWithLogFile } from "./detached-entry-BXq4fIl-.mjs";
7
- import { _ as removeSingletonFiles, c as webClaimRoot, d as webLogFile, f as webProfileDir, g as liveProfileHolder, h as chromeProcessState, i as clearWebRecord, l as webDir, m as writeWebRecord, n as browserLogFile, s as updateWebRecord } from "./state-DI84A-uu.mjs";
8
- import { c as probeWebDrivers } from "./activity-BrGh9EAI.mjs";
7
+ import { _ as removeSingletonFiles, c as webClaimRoot, d as webLogFile, f as webProfileDir, g as liveProfileHolder, h as chromeProcessState, i as clearWebRecord, l as webDir, m as writeWebRecord, n as browserLogFile, s as updateWebRecord } from "./state-lqxdOH_g.mjs";
8
+ import { c as probeWebDrivers } from "./activity-BaMpUQ4-.mjs";
9
9
  import { t as connectOwnedBrowser } from "./cdp-Dq_ypAlJ.mjs";
10
10
  import { i as chromeArgs, n as DESKTOP_PAGE, r as PHONE_SCREEN } from "./chrome-Dp2lMLBe.mjs";
11
11
  import { existsSync, mkdirSync, openSync, realpathSync } from "node:fs";
@@ -3,7 +3,7 @@ import { t as getExecutor } from "./exec-B81Qodjn.mjs";
3
3
  import { existsSync, mkdirSync, readFileSync, realpathSync, renameSync, rmSync, writeFileSync } from "node:fs";
4
4
  import { dirname, isAbsolute, join, relative } from "node:path";
5
5
  import { join as join$1, resolve as resolve$1 } from "path";
6
- import { WORKSPACE_AGENT_KEY, emulatorLogFile, readJsonObject, readWorkspaceState, readWorkspaceState as readWorkspaceState$1, sharedCcache as sharedCcache$1, sharedCompilationCache as sharedCompilationCache$1, supervisorLogFile, supervisorPidFile, workspaceAgentDeviceDir, workspaceDerivedData, workspaceLastUsed, workspaceLogErrorIndex, workspaceLogsDir as workspaceLogsDir$1, workspaceMetadataFile, workspaceStateFile, workspaceStateLock } from "@stim-cli/core/state";
6
+ import { WORKSPACE_AGENT_KEY, emulatorLogFile, isJsonObject, readJsonObject, readWorkspaceState, readWorkspaceState as readWorkspaceState$1, sharedCcache as sharedCcache$1, sharedCompilationCache as sharedCompilationCache$1, supervisorLogFile, supervisorPidFile, workspaceAgentDeviceDir, workspaceDerivedData, workspaceLastUsed, workspaceLogErrorIndex, workspaceLogsDir as workspaceLogsDir$1, workspaceMetadataFile, workspaceStateFile, workspaceStateLock } from "@stim-cli/core/state";
7
7
  import { buildCacheRoot as sharedBuildCache, ensurePrivateDir, withDirLock as withDirLock$1, workspaceId as workspaceId$1, workspaceName as workspaceName$1, workspaceStateDir as workspaceDir } from "@stim-cli/core";
8
8
  import { homedir } from "node:os";
9
9
  import { readFile, readdir } from "node:fs/promises";
@@ -85,9 +85,9 @@ function agentFromEnv(env) {
85
85
  * or absolute cwd. The format is Claude Code's own and undocumented, so every other field is optional.
86
86
  */
87
87
  function parseClaudeSession(entry, apps) {
88
- if (!entry || typeof entry !== "object" || Array.isArray(entry)) return null;
88
+ if (!isJsonObject(entry)) return null;
89
89
  const raw = entry;
90
- if (!Number.isSafeInteger(raw.pid) || raw.pid <= 0) return null;
90
+ if (typeof raw.pid !== "number" || !Number.isSafeInteger(raw.pid) || raw.pid <= 0) return null;
91
91
  if (typeof raw.sessionId !== "string" || !SESSION_ID.test(raw.sessionId)) return null;
92
92
  if (typeof raw.cwd !== "string" || !isAbsolute(raw.cwd)) return null;
93
93
  const host = raw.hostSessionId;
@@ -2,19 +2,19 @@ import { n as ownership_claim_exports, t as process_identity_exports } from "./p
2
2
  import { t as getExecutor } from "./exec-B81Qodjn.mjs";
3
3
  import { D as withConfigLock$1, H as projectDeviceSlots, M as isOnMountedVolume, N as listMountedVolumes, P as measuredDirectorySize, _ as loadConfig$1, d as getConfigDir, g as isPathPrefix, j as formatBytes, k as acquireAvdClaim, p as getProject, z as deviceSlotPlatforms } from "./config-D0LhTY3S.mjs";
4
4
  import { Et as repoRoot, st as resolveTailscaleBinary } from "./settings-Bbztm4oV.mjs";
5
- import { h as listBuildLocks } from "./device-lease-DHOBXGgS.mjs";
6
- import { T as workspaceName, r as readWorkspaceState$1, s as workspaceLastUsed, x as workspaceDir, y as workspaceAgentDeviceDir } from "./workspace-state-CSIFuuDa.mjs";
5
+ import { h as listBuildLocks } from "./device-lease-C309csaB.mjs";
6
+ import { T as workspaceName, r as readWorkspaceState$1, s as workspaceLastUsed, x as workspaceDir, y as workspaceAgentDeviceDir } from "./workspace-state-CvgTFe-h.mjs";
7
7
  import { t as createLineReader } from "./process-output-Fpl8PYi8.mjs";
8
- import { a as formatElapsed, l as phaseLine } from "./command-output-BjPN99ZB.mjs";
9
- import { B as ownedAvdSystemImage, I as ownedAvdDirectory, J as resolveOwnedAvdSerial, L as ownedAvdMatchesConfiguration, M as listOrphanedAvdDirectories, O as listAdbDevices, X as shutdownAndroidEmulator, Z as sleepSync, _ as avdStorageRoots, ct as eraseParkedAfter, et as waitForAndroidEmulatorShutdown, f as assertOwnedAvdStopped, ft as readParked, h as avdPathExists, nt as wipeAvdUserData, pt as removeParkedAfter, rt as isStimOwnedAvd, ut as parkSim, x as deleteAvd } from "./android-BsYNR81W.mjs";
10
- import { n as readCreatedDevices$1, r as recordCreatedDevice, t as forgetCreatedDevice } from "./created-devices-HU_DAb_Q.mjs";
11
- import { d as signalProcessTree, s as pidExists } from "./metro-D_j9sN-B.mjs";
8
+ import { a as formatElapsed, l as phaseLine } from "./command-output-CPDq_90S.mjs";
9
+ import { B as ownedAvdSystemImage, I as ownedAvdDirectory, J as resolveOwnedAvdSerial, L as ownedAvdMatchesConfiguration, M as listOrphanedAvdDirectories, O as listAdbDevices, X as shutdownAndroidEmulator, Z as sleepSync, _ as avdStorageRoots, ct as eraseParkedAfter, et as waitForAndroidEmulatorShutdown, f as assertOwnedAvdStopped, ft as readParked, h as avdPathExists, nt as wipeAvdUserData, pt as removeParkedAfter, rt as isStimOwnedAvd, ut as parkSim, x as deleteAvd } from "./android-DE8-JfGW.mjs";
10
+ import { n as readCreatedDevices$1, r as recordCreatedDevice, t as forgetCreatedDevice } from "./created-devices-CXBMtoj5.mjs";
11
+ import { d as signalProcessTree, s as pidExists } from "./metro-_ZIE3Axg.mjs";
12
12
  import { n as declareSpawnsOn, o as stopDeclaringSpawnsOn } from "./spawn-claims-Kqiifsk2.mjs";
13
- import { a as withWorkspaceProcessLock, o as workspaceProcessLockError, r as releaseBrowserPort, s as workspaceProcessLockPath } from "./named-ports-C2lvoPsb.mjs";
14
- import { _ as removeSingletonFiles, c as webClaimRoot, f as webProfileDir, g as liveProfileHolder, h as chromeProcessState, i as clearWebRecord, o as readWebRecord, t as CDP_PORT_LABEL, u as webFacts } from "./state-DI84A-uu.mjs";
15
- import { t as agentDeviceDaemon, u as readAgentDeviceRecords } from "./activity-BrGh9EAI.mjs";
16
- import { E as resolveOwnedIosSim, O as shutdownIosSim, S as renameIosSim, c as eraseIosSim, o as deleteIosSim, p as listIosDeviceTypes, s as deleteParkedIosSim, v as parkedSimName, y as parseRuntimeVersion } from "./ios-CXLIUxXJ.mjs";
17
- import { a as macosRuntimeClaim, n as macosDir } from "./state-Boo0IMJq.mjs";
13
+ import { a as withWorkspaceProcessLock, o as workspaceProcessLockError, r as releaseBrowserPort, s as workspaceProcessLockPath } from "./named-ports-O1TIl7tx.mjs";
14
+ import { _ as removeSingletonFiles, c as webClaimRoot, f as webProfileDir, g as liveProfileHolder, h as chromeProcessState, i as clearWebRecord, o as readWebRecord, t as CDP_PORT_LABEL, u as webFacts } from "./state-lqxdOH_g.mjs";
15
+ import { t as agentDeviceDaemon, u as readAgentDeviceRecords } from "./activity-BaMpUQ4-.mjs";
16
+ import { E as resolveOwnedIosSim, O as shutdownIosSim, S as renameIosSim, c as eraseIosSim, o as deleteIosSim, p as listIosDeviceTypes, s as deleteParkedIosSim, v as parkedSimName, y as parseRuntimeVersion } from "./ios-o896T9PE.mjs";
17
+ import { a as macosRuntimeClaim, n as macosDir } from "./state-BUpAmt2r.mjs";
18
18
  import { closeSync, existsSync, lstatSync, mkdirSync, openSync, readFileSync, readdirSync, realpathSync, renameSync, rmSync, rmdirSync, statSync, unlinkSync } from "node:fs";
19
19
  import { basename, dirname, isAbsolute, join, relative, resolve, sep } from "node:path";
20
20
  import { basename as basename$1, isAbsolute as isAbsolute$1, join as join$1, relative as relative$1, resolve as resolve$1 } from "path";
@@ -1,2 +1,2 @@
1
- import { a as matchWorktreeEntry, c as registerRemove, d as removalPath, f as removalRemedy, h as worktreeCommand, i as excludeWatchmanCookies, l as registerWarm, m as warmedWorkspace, n as dependencyInstallCommand, o as porcelainPath, p as removeWorktreeTarget, r as excludePodChurn, s as reclaimKeys, t as customIosDirs, u as removalBlockers } from "./worktree-BxDqaTev.mjs";
1
+ import { a as matchWorktreeEntry, c as registerRemove, d as removalPath, f as removalRemedy, h as worktreeCommand, i as excludeWatchmanCookies, l as registerWarm, m as warmedWorkspace, n as dependencyInstallCommand, o as porcelainPath, p as removeWorktreeTarget, r as excludePodChurn, s as reclaimKeys, t as customIosDirs, u as removalBlockers } from "./worktree-DtRsh6go.mjs";
2
2
  export { customIosDirs, worktreeCommand as default, dependencyInstallCommand, excludePodChurn, excludeWatchmanCookies, matchWorktreeEntry, porcelainPath, reclaimKeys, registerRemove, registerWarm, removalBlockers, removalPath, removalRemedy, removeWorktreeTarget, warmedWorkspace };
@@ -2,35 +2,35 @@ import { n as ownership_claim_exports, t as process_identity_exports } from "./p
2
2
  import { t as getExecutor } from "./exec-B81Qodjn.mjs";
3
3
  import { E as upsertProject, H as projectDeviceSlots, S as removeProject, _ as loadConfig$1, a as clearDevice, d as getConfigDir, g as isPathPrefix, k as acquireAvdClaim, p as getProject } from "./config-D0LhTY3S.mjs";
4
4
  import { At as sourceCheckoutOf, Ct as podsOutOfSync, Dt as resolveFullRef, G as resolveIosProjectDir, K as resolveProjectSettings, Mt as warmWorktreePaths, Q as settingShapeErrors, R as readCommittedSettings, St as locallyKnownUpstream, Tt as removeWorktree, _t as hasRemote, a as SETTING_SHAPE_REMEDY, ct as branchExists, dt as depsOutOfSync, gt as hasPopulatedSubmodules, ht as gitCommonDirOnDisk, jt as unpushedCommits, kt as restoreFile, lt as cloneIgnoredEntries, mt as gitCommonDir, nt as unknownSettingKeys, pt as dirtyPaths, q as resolveSettings, ut as deleteBranch, vt as hasUncommittedWork, wt as readWorktreeExclude, xt as listWorktrees, yt as isPodInstallChurn } from "./settings-Bbztm4oV.mjs";
5
- import { u as releaseWorkspaceLeases } from "./device-lease-DHOBXGgS.mjs";
6
- import { i as recordWorkspaceUse, r as readWorkspaceState$1, x as workspaceDir, y as workspaceAgentDeviceDir } from "./workspace-state-CSIFuuDa.mjs";
7
- import { a as formatElapsed, h as shortUdid, i as formatDuration, l as phaseLine, p as releasedLeaseFact, u as plural } from "./command-output-BjPN99ZB.mjs";
8
- import { D as clearManagedMetroTunnel, N as readRemoteSession, O as clearRemoteSession, P as readRemoteSessionId, a as isMobileProject, j as readMetroTunnel, r as findProjectRoot, w as MODE_COMMAND } from "./project-B8_duAzW.mjs";
5
+ import { u as releaseWorkspaceLeases } from "./device-lease-C309csaB.mjs";
6
+ import { i as recordWorkspaceUse, r as readWorkspaceState$1, x as workspaceDir, y as workspaceAgentDeviceDir } from "./workspace-state-CvgTFe-h.mjs";
7
+ import { a as formatElapsed, h as shortUdid, i as formatDuration, l as phaseLine, p as releasedLeaseFact, u as plural } from "./command-output-CPDq_90S.mjs";
8
+ import { D as clearManagedMetroTunnel, N as readRemoteSession, O as clearRemoteSession, P as readRemoteSessionId, a as isMobileProject, j as readMetroTunnel, r as findProjectRoot, w as MODE_COMMAND } from "./project-DX8fXyw_.mjs";
9
9
  import { a as workspaceLinks, i as workspaceLinkLine } from "./stim-desktop-8GQX2OV8.mjs";
10
- import { at as POOL_SETTING_REMEDY, dt as parkedMaxSetting } from "./android-BsYNR81W.mjs";
11
- import { d as signalProcessTree, r as killMetroTree, s as pidExists, u as resolveProjectMetro } from "./metro-D_j9sN-B.mjs";
12
- import { A as withManagedRemoteWorktreeRemovalLock, D as stopTunnel, M as withManagedTunnelRemovalLock, P as resolveSupervisorTarget, b as teardownOwnedIosSim, d as emptyWorkspaceDir, f as withIdleWorkspace, v as teardownOwnedAvd, y as teardownOwnedBrowser } from "./workspaces-D2xSHBDY.mjs";
13
- import { _t as withdrawDevServerStopRequest, ht as requestDevServerStop, o as machineNumber } from "./budget-BONq9vXY.mjs";
14
- import { t as clearNamedPorts } from "./named-ports-C2lvoPsb.mjs";
15
- import { f as resolveEasCliBin } from "./remote-cache-Bsts6f6Y.mjs";
16
- import { o as readWebRecord } from "./state-DI84A-uu.mjs";
17
- import { t as agentDeviceDaemon } from "./activity-BrGh9EAI.mjs";
18
- import { t as macosAppPresent } from "./state-Boo0IMJq.mjs";
19
- import { L as podInstallCommand, d as DEPS_ERROR, f as podsAreStale, g as runPodInstall, h as runCaptured, p as readPodState, y as HEARTBEAT_INTERVAL_MS } from "./toolchain-DqyDXs30.mjs";
20
- import { a as discoverXcodeProject } from "./react-native-build-oAw6gQeW.mjs";
21
- import { i as stopHostedAndroid } from "./hosted-android-DQ-Agsd8.mjs";
22
- import { i as endRecordedSession } from "./device-remote-Bmg42063.mjs";
23
- import { n as verifyCollectorOwnership } from "./ownership-DXzMMSx6.mjs";
24
- import { r as stopHostedIos } from "./hosted-ios-DIxFnYp-.mjs";
25
- import { n as stopMacosApp } from "./stop-WQPQHLuy.mjs";
10
+ import { at as POOL_SETTING_REMEDY, dt as parkedMaxSetting } from "./android-DE8-JfGW.mjs";
11
+ import { d as signalProcessTree, r as killMetroTree, s as pidExists, u as resolveProjectMetro } from "./metro-_ZIE3Axg.mjs";
12
+ import { A as withManagedRemoteWorktreeRemovalLock, D as stopTunnel, M as withManagedTunnelRemovalLock, P as resolveSupervisorTarget, b as teardownOwnedIosSim, d as emptyWorkspaceDir, f as withIdleWorkspace, v as teardownOwnedAvd, y as teardownOwnedBrowser } from "./workspaces-C4kqIOlx.mjs";
13
+ import { _t as withdrawDevServerStopRequest, ht as requestDevServerStop, o as machineNumber } from "./budget-RFbwFpG5.mjs";
14
+ import { t as clearNamedPorts } from "./named-ports-O1TIl7tx.mjs";
15
+ import { f as resolveEasCliBin } from "./remote-cache-fxcl5C-L.mjs";
16
+ import { o as readWebRecord } from "./state-lqxdOH_g.mjs";
17
+ import { t as agentDeviceDaemon } from "./activity-BaMpUQ4-.mjs";
18
+ import { t as macosAppPresent } from "./state-BUpAmt2r.mjs";
19
+ import { L as podInstallCommand, d as DEPS_ERROR, f as podsAreStale, g as runPodInstall, h as runCaptured, p as readPodState, y as HEARTBEAT_INTERVAL_MS } from "./toolchain-SqehyPLw.mjs";
20
+ import { a as discoverXcodeProject } from "./react-native-build-JUF31S8U.mjs";
21
+ import { i as stopHostedAndroid } from "./hosted-android-C-D8Dj0_.mjs";
22
+ import { i as endRecordedSession } from "./device-remote-DjsNw8DD.mjs";
23
+ import { n as verifyCollectorOwnership } from "./ownership-BrjepDiv.mjs";
24
+ import { r as stopHostedIos } from "./hosted-ios-Chx9XQyI.mjs";
25
+ import { n as stopMacosApp } from "./stop-Cftw_sXJ.mjs";
26
26
  import { a as pullRequestLookup, r as endedPullRequest } from "./pull-request-vOhLNmIb.mjs";
27
- import { a as forgetStatusMeasures, s as mergeState, t as startWarmProgress } from "./warm-progress-C3ASD6z5.mjs";
27
+ import { a as forgetStatusMeasures, s as mergeState, t as startWarmProgress } from "./warm-progress-5FAXkXIg.mjs";
28
28
  import { r as workspaceRecordingEnabled } from "./recordings-Bk-VivUV.mjs";
29
29
  import { n as hasInstalledDependencies, r as installedNpmTreeIsValid, t as dependencyState } from "./dependency-state-B2m8eqsS.mjs";
30
30
  import { chmodSync, existsSync, lstatSync, mkdirSync, readFileSync, readdirSync, realpathSync, renameSync, rmSync, statSync, utimesSync, writeFileSync } from "node:fs";
31
31
  import { basename, dirname, join, relative } from "node:path";
32
32
  import { basename as basename$1, dirname as dirname$1, isAbsolute as isAbsolute$1, join as join$1, relative as relative$1, resolve as resolve$1 } from "path";
33
- import { LAST_BUILD_KEYS, archiveDir, archiveEnabled, archiveLock, archiveRoot, archivedUsage, countErrorEntries, endedAgentSessionOf, listRecordedDevices, loadConfig, queryLogs, readArchives, readBuildHistory, readJsonObject, readLastBuilds, readMacosRecord, readPullRequestCache, readWorkspaceState, recordingEnabled, sortByTs } from "@stim-cli/core/state";
33
+ import { LAST_BUILD_KEYS, archiveDir, archiveEnabled, archiveLock, archiveRoot, archivedUsage, countErrorEntries, endedAgentSessionOf, isJsonObject, listRecordedDevices, loadConfig, queryLogs, readArchives, readBuildHistory, readJsonObject, readLastBuilds, readMacosRecord, readPullRequestCache, readWorkspaceState, recordingEnabled, sortByTs } from "@stim-cli/core/state";
34
34
  import { existsSync as existsSync$1, readFileSync as readFileSync$1, readdirSync as readdirSync$1, readlinkSync as readlinkSync$1, realpathSync as realpathSync$1, renameSync as renameSync$1, rmSync as rmSync$1, symlinkSync as symlinkSync$1, unlinkSync as unlinkSync$1, writeFileSync as writeFileSync$1 } from "fs";
35
35
  import { withDirLock, workspaceName } from "@stim-cli/core";
36
36
  import { claimRemoveCommand, clearFreeClaimSet, readClaimSet, releaseClaim, tryAcquireClaim } from "@stim-cli/core/ownership-claim";
@@ -803,7 +803,7 @@ function describeDereferenced(project) {
803
803
  }
804
804
  function lastBuildCacheKey(projectPath, platform) {
805
805
  const build = readWorkspaceState$1(projectPath)?.[LAST_BUILD_KEYS[platform]];
806
- if (build === null || typeof build !== "object" || Array.isArray(build)) return null;
806
+ if (!isJsonObject(build)) return null;
807
807
  const { cacheKey } = build;
808
808
  return typeof cacheKey === "string" ? cacheKey : null;
809
809
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stim",
3
- "version": "1.20.0",
3
+ "version": "1.20.1",
4
4
  "description": "Stim: fast, isolated React Native environments for coding agents",
5
5
  "keywords": [
6
6
  "agent",
@@ -53,19 +53,18 @@
53
53
  },
54
54
  "dependencies": {
55
55
  "@expo/fingerprint": "^0.20.10",
56
- "@stim-cli/cache": "^1.20.0",
57
- "@stim-cli/core": "^1.20.0",
58
- "@stim-cli/metro": "^1.20.0",
56
+ "@stim-cli/cache": "^1.20.1",
57
+ "@stim-cli/core": "^1.20.1",
58
+ "@stim-cli/metro": "^1.20.1",
59
59
  "@xmldom/xmldom": "0.9.12",
60
60
  "chalk": "^6.0.0",
61
61
  "commander": "^15.0.0",
62
62
  "cross-spawn": "^7.0.6",
63
63
  "which": "^5.0.0",
64
- "ws": "^8.21.3",
65
- "xcode": "3.0.1"
64
+ "ws": "^8.21.3"
66
65
  },
67
66
  "devDependencies": {
68
- "@stim-cli/expo-build-cache": "1.20.0",
67
+ "@stim-cli/expo-build-cache": "1.20.1",
69
68
  "@types/cross-spawn": "^6.0.6",
70
69
  "@types/which": "^3.0.4",
71
70
  "@types/ws": "^8.18.1",
@@ -1,2 +0,0 @@
1
- import { n as runMacos, t as macosCommand } from "./macos-V_3Ui7g4.mjs";
2
- export { macosCommand as default, runMacos };
@@ -1,2 +0,0 @@
1
- import { p as startExpoServer } from "./server-expo-CsYu2aKL.mjs";
2
- export { startExpoServer };
@@ -1,2 +0,0 @@
1
- import { s as macosToolchain } from "./toolchain-DqyDXs30.mjs";
2
- export { macosToolchain };
@@ -1,2 +0,0 @@
1
- import { n as webCommand, t as runWeb } from "./web-B3eldHFH.mjs";
2
- export { webCommand as default, runWeb };