stim 1.25.0 → 1.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{acquire-artifact-zA4S7RHE.mjs → acquire-artifact-BKN2Yuhg.mjs} +2 -2
- package/dist/{act-BbHS3oV8.mjs → act-ROviTF_t.mjs} +415 -118
- package/dist/{activity-BpjwrQXU.mjs → activity-Cd-ysFes.mjs} +6 -7
- package/dist/{agent-device-usage-output-Bnkerfod.mjs → agent-device-usage-output-C5nCKWp9.mjs} +5 -5
- package/dist/{android-CNZgRC-4.mjs → android--HBgpvpW.mjs} +5 -5
- package/dist/{android-BGwuK3Mc.mjs → android-Cd6w7_qw.mjs} +134 -57
- package/dist/{android-saBeB4lr.mjs → android-Deb9X3_Y.mjs} +37 -15
- package/dist/{android-Cjcj8MCw.mjs → android-DriNoAVy.mjs} +99 -47
- package/dist/{android-cas-BVqh2Zep.mjs → android-cas-D5e6ecUg.mjs} +4 -4
- package/dist/android-cas-compiler.mjs +1 -1
- package/dist/{android-project-CTYaETc0.d.mts → android-project-DUGMbq28.d.mts} +55 -1
- package/dist/api.d.mts +20 -7
- package/dist/api.mjs +42 -32
- package/dist/apk-signed-tail-BHQHx3Rm.mjs +142 -0
- package/dist/{artifact-Co8zixVx.mjs → artifact-0AGJYB9O.mjs} +28 -28
- package/dist/{artifact-DN8JNwqS.mjs → artifact-faemIZv5.mjs} +40 -30
- package/dist/{artifact-platform-CMRc0M_r.mjs → artifact-platform-BO2Uvk_A.mjs} +1 -1
- package/dist/{attempt-DW-mQqM7.mjs → attempt-ClyJlZPT.mjs} +4 -2
- package/dist/auto-placement-z-H5pJza.mjs +350 -0
- package/dist/{browser-web-CCgZsHmI.mjs → browser-web-slD8AvLp.mjs} +16 -17
- package/dist/{build-cache-CKCzxzxA.mjs → build-cache-gBJ-WKzA.mjs} +141 -37
- package/dist/{build-CAiw8Ezm.mjs → build-hS0QyFlQ.mjs} +38 -31
- package/dist/{build-plan-zCuHGlA8.mjs → build-plan-CBqYbzYM.mjs} +7 -6
- package/dist/{cache-manifest-BPXRONJz.mjs → cache-manifest-DEjqGGat.mjs} +1 -1
- package/dist/cache-manifest.mjs +1 -1
- package/dist/{budget-HyShrIpL.mjs → ccache-BWTze1Ls.mjs} +634 -1514
- package/dist/{cdp-BG3FJCCx.mjs → cdp-C3svvXiE.mjs} +1 -1
- package/dist/{chrome-BvV8ssI3.mjs → chrome-DyDWurWG.mjs} +1 -1
- package/dist/{cli-C4w607Pz.mjs → cli-ftXDLto1.mjs} +24 -23
- package/dist/cli.mjs +1 -1
- package/dist/{client-BQsmyp_-.mjs → client-xsdxrhWA.mjs} +77 -116
- package/dist/collector-run.d.mts +10 -9
- package/dist/collector-run.mjs +42 -27
- package/dist/{command-output-BBvS1H6v.mjs → command-output-Dj-WT4BP.mjs} +1 -1
- package/dist/{config-BZhXY15H.mjs → config-Cn94Jc0g.mjs} +343 -18
- package/dist/{launch-DscF1QfM.mjs → dependencies-BGokZ-Ng.mjs} +330 -279
- package/dist/{dependency-state-BwNCYG5Q.mjs → dependency-state-C3OtgG94.mjs} +14 -7
- package/dist/{detached-entry-KmieOKgN.mjs → detached-entry-BPlSaCwC.mjs} +1 -1
- package/dist/{dev-client-CHoXXZeg.mjs → dev-client-BMca82xo.mjs} +2 -2
- package/dist/{device-F5-4z9ef.mjs → device-BJm0irrq.mjs} +16 -16
- package/dist/{device-capacity-ZYaRALv5.mjs → device-capacity-6LP7QsaA.mjs} +103 -25
- package/dist/device-host-worker.mjs +19 -21
- package/dist/{device-ios-DkHBrmvH.mjs → device-ios-534c14fz.mjs} +288 -28
- package/dist/{device-lease-run-ogEeJ62K.mjs → device-lease-run-DwsGfjUN.mjs} +5 -5
- package/dist/{device-pool-BIg8MU8l.mjs → device-pool-BnQqvs6o.mjs} +3 -3
- package/dist/{device-B9FqTBYW.mjs → device-tM41-TUq.mjs} +25 -24
- package/dist/{doctor-A_Nr_fDe.mjs → doctor-Dbx1ZpD2.mjs} +1 -1
- package/dist/{doctor-k3P3PizH.mjs → doctor-DyqE9n1J.mjs} +28 -16
- package/dist/{doctor-Bm8TVpGn.mjs → doctor-F-3VUUyN.mjs} +128 -35
- package/dist/{doctor-fingerprint-zlujA1Gs.mjs → doctor-fingerprint-o7ZI9YLn.mjs} +9 -3
- package/dist/doctor-fingerprint.mjs +1 -1
- package/dist/{doctor-watchman-BovI1y3-.mjs → doctor-watchman-CxDbyrrt.mjs} +5 -5
- package/dist/{eas-build-CyDKNTBP.mjs → eas-build-CjNSWmjo.mjs} +4 -4
- package/dist/eas-fallback-9fqb46kW.mjs +87 -0
- package/dist/{eas-session-ledger-BMCA1gdO.mjs → eas-session-ledger-DrP4OuuM.mjs} +6 -6
- package/dist/{error-diagnostics-B1Mj_-7h.mjs → error-diagnostics-snej9k4j.mjs} +51 -25
- package/dist/{exec-VFRpu1iA.mjs → exec-aULwtNly.mjs} +57 -6
- package/dist/{gc-eaz403W6.mjs → gc-BRwAY3qT.mjs} +2 -2
- package/dist/{gc-B9jcnmIk.mjs → gc-CGZ1Yg88.mjs} +218 -72
- package/dist/{guide-DR0K0xW9.mjs → guide-_rfEh_zM.mjs} +839 -222
- package/dist/{hosted-android-Bvb2-ZxD.mjs → hosted-android-BMKzUNnY.mjs} +4 -4
- package/dist/{hosted-client-rsRqysJc.mjs → hosted-client-D7Pk_Oo1.mjs} +13 -9
- package/dist/{hosted-logs-CWKGYWNX.mjs → hosted-logs-B1gqQuva.mjs} +18 -12
- package/dist/hosted-logs-sync-Dg3qrZmV.mjs +195 -0
- package/dist/{hosted-macos-d0pv9Tth.mjs → hosted-macos-B9w4H8hc.mjs} +6 -6
- package/dist/{hosted-native-BxTizGU2.mjs → hosted-native-CdgaiuyP.mjs} +17 -17
- package/dist/{idle-shutdown-BIyfl0Zj.mjs → idle-shutdown-Cbvo5KEh.mjs} +21 -9
- package/dist/{ios-BRVM8b0P.mjs → ios-B5HlVMhQ.mjs} +138 -55
- package/dist/{ios-Dvt97HgQ.mjs → ios-Bk4mWbtS.mjs} +8 -8
- package/dist/{ios-ENC4sRPA.mjs → ios-CsRVik64.mjs} +7 -1
- package/dist/{ios-BQzvJlzw.mjs → ios-E26qSpkb.mjs} +94 -11
- package/dist/{ios-device-CKSvk0bu.mjs → ios-device-C_QkIf1Z.mjs} +3 -3
- package/dist/{ios-device-B6HK951C.mjs → ios-device-CiBA-er9.mjs} +1 -1
- package/dist/{ios-project-DCUDo06I.mjs → ios-project-D8Jcy_br.mjs} +22 -9
- package/dist/{ios-signing-4c_qXvQm.mjs → ios-signing-BJzvDPfU.mjs} +2 -2
- package/dist/{ios-state-CT9nV5SP.mjs → ios-state-BZ03NFgF.mjs} +1 -1
- package/dist/{js-swap-Z9HbC4cj.mjs → js-swap-Dg2a945i.mjs} +8 -7
- package/dist/{launch-D0lPvFFu.mjs → launch-CRyBeNsA.mjs} +53 -44
- package/dist/lightened-BCsdAGj_.mjs +171 -0
- package/dist/{logs-BsIRre8x.mjs → logs-CC_-ZzEE.mjs} +10 -174
- package/dist/{logs-Crs9y34Z.mjs → logs-aJQb-RDg.mjs} +112 -38
- package/dist/{macos-CcUlJPMu.mjs → macos-BGmTpnv9.mjs} +1 -1
- package/dist/{macos-D477nfzH.mjs → macos-DlCBhMw5.mjs} +73 -39
- package/dist/macos-run.mjs +1 -1
- package/dist/maintenance-run.mjs +30 -13
- package/dist/{metro-1pJgCX4U.mjs → metro-CvyD-xwe.mjs} +4 -4
- package/dist/{metro-gateway-Bp9gJQAN.mjs → metro-gateway-BnHdqMO_.mjs} +3 -4
- package/dist/{named-ports-BVbn8SvC.mjs → named-ports-BCyMWA6b.mjs} +3 -3
- package/dist/{native-android-BvMizJn1.mjs → native-android-DlpxCyOP.mjs} +17 -18
- package/dist/{native-gradle-artifact-inputs-BJscK4vN.mjs → native-gradle-artifact-inputs-C13qT7R_.mjs} +5 -5
- package/dist/{native-runtime-B9w_Qyz3.mjs → native-runtime-DqaIBO5w.mjs} +9 -9
- package/dist/{native-source-D-4Dh4JU.mjs → native-source-D1AzWiuP.mjs} +1 -1
- package/dist/{native-xcode-inputs-Cv4l-obn.mjs → native-xcode-inputs-B1W8SrxB.mjs} +3 -3
- package/dist/{native-xcode-ios-DGrg90hE.mjs → native-xcode-ios-QPP0Rm68.mjs} +17 -18
- package/dist/{ndjson-CgE_o3Dl.mjs → ndjson-Dy2W4vRa.mjs} +2 -2
- package/dist/offload-worker.d.mts +3 -1
- package/dist/offload-worker.mjs +34 -25
- package/dist/{operation-exec-CUZifp6Z.mjs → operation-exec-Dp4FuIGR.mjs} +1 -1
- package/dist/{ownership-jxxz-19m.mjs → ownership-Bx-0cku-.mjs} +3 -3
- package/dist/{page-CzEA_-5_.mjs → page-CQJlcj3x.mjs} +2 -2
- package/dist/{phone-reverses-CYb7RRAx.mjs → phone-reverses-C9yAaKEv.mjs} +18 -4
- package/dist/{placement-log-DjOXJRIH.mjs → placement-log-BXUbiZM6.mjs} +3 -3
- package/dist/{plan-placement-BqKgKHCi.mjs → plan-placement-UxnQjv5Z.mjs} +36 -10
- package/dist/{ports-DtS1Amb0.mjs → ports-uUrghqWN.mjs} +3 -3
- package/dist/prebuild-BDpToDgR.mjs +1246 -0
- package/dist/{project-BiC68mIp.mjs → project-DYj-HVx6.mjs} +17 -18
- package/dist/{pull-request-CbNlkFok.mjs → pull-request-BzLmzAIQ.mjs} +2 -2
- package/dist/pull-requests.mjs +1 -1
- package/dist/{react-native-android-DRYqoJc4.mjs → react-native-android-DDBccgJw.mjs} +56 -36
- package/dist/{react-native-build-CwZB-agu.mjs → react-native-build-DaK2IFyP.mjs} +9 -9
- package/dist/{react-native-doctor-BCrytK7h.mjs → react-native-doctor-B-Mw6DcR.mjs} +50 -9
- package/dist/{react-native-ios-Cr1buNFo.mjs → react-native-ios-DjYwUF9U.mjs} +45 -25
- package/dist/{recordings-BaoQ0t-J.mjs → recordings-C20iUZfp.mjs} +1 -1
- package/dist/{registration-CN6nlhcD.mjs → registration-BwCe64PH.mjs} +1 -1
- package/dist/{reload-Beftw2X3.mjs → reload-DJBeF_rC.mjs} +1 -1
- package/dist/{reload-FbSgMF8x.mjs → reload-fUdkH2_p.mjs} +16 -16
- package/dist/{remote-BuZj6AyU.mjs → remote-y6n99WMW.mjs} +22 -9
- package/dist/{result-CR2vk2cj.mjs → result-CTqBw2Te.mjs} +32 -21
- package/dist/{run-BtzE09Dl.mjs → run-DaCeNKRm.mjs} +3 -3
- package/dist/{selection-D5cxEl3t.mjs → selection-Bs8phwhN.mjs} +183 -62
- package/dist/{server-bare-CH9X0RLn.mjs → server-bare-BOh-iZEj.mjs} +2 -2
- package/dist/{server-command-CaBbDNU2.mjs → server-command-8CuA51Cv.mjs} +6 -6
- package/dist/{server-expo-Ck8EIidM.mjs → server-expo-ABQs2XFA.mjs} +4 -4
- package/dist/server-expo-Ba_Y21vB.mjs +2 -0
- package/dist/{settings-B5tCoq9N.mjs → settings-BDVI8Ivc.mjs} +331 -62
- package/dist/{settings-DzH9mGQZ.mjs → settings-CMHhQNwI.mjs} +24 -3
- package/dist/settings-payload-cm60Zhib.mjs +257 -0
- package/dist/settings-write-BdNRLlBn.mjs +185 -0
- package/dist/settings.schema.json +84 -39
- package/dist/{simslim-BjxszUAb.mjs → simslim-DCQwzoPy.mjs} +4 -3
- package/dist/{slot-launch-QeuJMlnJ.mjs → slot-launch-0l7RqSpr.mjs} +6 -6
- package/dist/{stage-D8xlRU2D.mjs → stage-F4cAfJGi.mjs} +2 -2
- package/dist/{start-C1JLjkNw.mjs → start-DcqnF9p8.mjs} +1 -1
- package/dist/{start-YMpNwLhh.mjs → start-DrPwER_2.mjs} +27 -23
- package/dist/{state-DMRNP7-4.mjs → state-BX1y5syV.mjs} +4 -5
- package/dist/{state-DPaM3u5K.mjs → state-CZxLyetD.mjs} +2 -3
- package/dist/{stats-CP7STzZw.mjs → stats-GxuCbles.mjs} +5 -5
- package/dist/{stats-report-n2U5plhk.mjs → stats-report-B86Cv7Uc.mjs} +1 -1
- package/dist/{status-Fect2w9R.mjs → status-7ULDEJ1e.mjs} +1 -1
- package/dist/{status-CRLiJ-O_.mjs → status-BfnK9pUd.mjs} +25 -26
- package/dist/{status-cNw6i0_t.mjs → status-Bj7ZYvvc.mjs} +1 -1
- package/dist/{status-watch-Bc2J4TZn.mjs → status-watch-BfabQn03.mjs} +5 -5
- package/dist/status-worker.mjs +1 -1
- package/dist/{stim-desktop-DS0mzR8U.mjs → stim-desktop-CbWo21kb.mjs} +2 -2
- package/dist/{stop-COP6PQqw.mjs → stop-CH79S3IZ.mjs} +5 -6
- package/dist/{stop-Db9Kh-UA.mjs → stop-D-EAr25B.mjs} +25 -22
- package/dist/{stop-Br7LKxBE.mjs → stop-x1Yu3He4.mjs} +2 -2
- package/dist/supervisor-run.d.mts +1 -0
- package/dist/supervisor-run.mjs +17 -18
- package/dist/{support-qKcbgmI5.mjs → support-Be0UeVZU.mjs} +10 -10
- package/dist/{support-Cxj9CmII.mjs → support-CNg_YsOk.mjs} +6 -6
- package/dist/{swiftpm-artifact-inputs-iY9fsmOc.mjs → swiftpm-artifact-inputs-uPqYvGBv.mjs} +4 -4
- package/dist/{swiftpm-macos-Bp_sn9P4.mjs → swiftpm-macos-Ch4YjY_A.mjs} +11 -12
- package/dist/toolchain-CbCG6C5Z.mjs +2413 -0
- package/dist/toolchain-JYAOquPg.mjs +2 -0
- package/dist/{trigger-CBMe2YLH.mjs → trigger-DMou-X7j.mjs} +3 -3
- package/dist/trigger-qp2ji5wE.mjs +2 -0
- package/dist/{warm-progress-BV3ZPmcY.mjs → warm-progress-C0RsbngN.mjs} +731 -728
- package/dist/{web-B4Yjyt1G.mjs → web-Cq_AQ4DK.mjs} +9 -10
- package/dist/web-Je6abcpz.mjs +2 -0
- package/dist/web-run.mjs +9 -9
- package/dist/windows-report.mjs +1 -1
- package/dist/{workspace-state-CPSp3mav.mjs → workspace-state-BjqdjnJR.mjs} +46 -8
- package/dist/{workspaces-C9w4aeXF.mjs → workspaces-DFbj07jp.mjs} +1801 -76
- package/dist/{worktree-CclFIe1Z.mjs → worktree-COAJ3-OD.mjs} +934 -511
- package/dist/{worktree-Ct9Gk3KL.mjs → worktree-JGUd_53L.mjs} +1 -1
- package/package.json +8 -8
- package/dist/ccache-h1FKhZeg.mjs +0 -143
- package/dist/created-devices-D2Aca-xu.mjs +0 -52
- package/dist/eas-fallback-gaZi-dJL.mjs +0 -381
- package/dist/hosted-ios-RtVcJH3u.mjs +0 -15
- package/dist/native-run-D5OJsGwA.mjs +0 -276
- package/dist/paths-DQtTgsBf.mjs +0 -42
- package/dist/prebuild-JUaqOLpc.mjs +0 -501
- package/dist/server-expo-C16Zf2k7.mjs +0 -2
- package/dist/settings-write-n0zwfohx.mjs +0 -360
- package/dist/toolchain-DB1aeqxO.mjs +0 -2
- package/dist/toolchain-VzLJzZ7O.mjs +0 -908
- package/dist/trigger-BLsHgAGR.mjs +0 -2
- package/dist/web-DS4UDWvf.mjs +0 -2
- package/dist/xcode-CiIIDnuD.mjs +0 -910
|
@@ -287,7 +287,7 @@
|
|
|
287
287
|
}
|
|
288
288
|
},
|
|
289
289
|
"remote": {
|
|
290
|
-
"description": "
|
|
290
|
+
"description": "Where the iOS simulator runs: local here (overriding a lower layer); auto here first, then a remote.machines entry when this machine is full or busy; remote on a remote.machines entry in order, here only when none takes it; remote-only the same but never here; a machine name exactly that machine; eas or proxy a remote device backend",
|
|
291
291
|
"type": "string",
|
|
292
292
|
"pattern": "^[A-Za-z0-9][A-Za-z0-9.-]*(?::(?!0+$)(?:[0-5]?[0-9]{1,4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?$",
|
|
293
293
|
"x-stim": {
|
|
@@ -564,7 +564,7 @@
|
|
|
564
564
|
}
|
|
565
565
|
},
|
|
566
566
|
"remote": {
|
|
567
|
-
"description": "
|
|
567
|
+
"description": "Where the Android emulator runs: local here (overriding a lower layer); auto here first, then a remote.machines entry when this machine is full or busy; remote on a remote.machines entry in order, here only when none takes it; remote-only the same but never here; a machine name exactly that machine; eas or proxy a remote device backend",
|
|
568
568
|
"type": "string",
|
|
569
569
|
"pattern": "^[A-Za-z0-9][A-Za-z0-9.-]*(?::(?!0+$)(?:[0-5]?[0-9]{1,4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?$",
|
|
570
570
|
"x-stim": {
|
|
@@ -717,7 +717,7 @@
|
|
|
717
717
|
"type": "object",
|
|
718
718
|
"properties": {
|
|
719
719
|
"idleShutdownMinutes": {
|
|
720
|
-
"description": "Minutes an owned simulator or emulator stays idle before the workspace supervisor shuts it down; 0 never",
|
|
720
|
+
"description": "Minutes an owned simulator or emulator stays idle before the workspace supervisor, or automatic maintenance when no supervisor runs, shuts it down; 0 never",
|
|
721
721
|
"type": "integer",
|
|
722
722
|
"minimum": 0,
|
|
723
723
|
"default": 30,
|
|
@@ -811,6 +811,21 @@
|
|
|
811
811
|
]
|
|
812
812
|
}
|
|
813
813
|
},
|
|
814
|
+
"remote": {
|
|
815
|
+
"description": "Where stim macos launches the app: local here; auto here unless this machine is busy, then a remote.machines entry; remote on a remote.machines entry in order, here only when none takes it; remote-only the same but never here; a machine name exactly that machine. The --remote flag overrides it",
|
|
816
|
+
"type": "string",
|
|
817
|
+
"pattern": "^(?![Ee][Aa][Ss]$|[Pp][Rr][Oo][Xx][Yy]$)[A-Za-z0-9][A-Za-z0-9.-]*(?::(?!0+$)(?:[0-5]?[0-9]{1,4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?$",
|
|
818
|
+
"x-stim": {
|
|
819
|
+
"key": "macos.remote",
|
|
820
|
+
"kind": "string",
|
|
821
|
+
"scopes": [
|
|
822
|
+
"machine",
|
|
823
|
+
"workspace",
|
|
824
|
+
"repo",
|
|
825
|
+
"committed"
|
|
826
|
+
]
|
|
827
|
+
}
|
|
828
|
+
},
|
|
814
829
|
"assetCatalog": {
|
|
815
830
|
"description": "Optional .xcassets directory relative to the Swift Package directory.",
|
|
816
831
|
"type": "string",
|
|
@@ -897,7 +912,7 @@
|
|
|
897
912
|
"type": "object",
|
|
898
913
|
"properties": {
|
|
899
914
|
"enabled": {
|
|
900
|
-
"description": "Keep workspace history on removal; false under STIM_HOME unless explicitly enabled",
|
|
915
|
+
"description": "Keep workspace history on removal, and archive a dirty finished worktree's changes before gc removes it; false keeps such worktrees, and is the default under STIM_HOME unless explicitly enabled",
|
|
901
916
|
"type": "boolean",
|
|
902
917
|
"default": true,
|
|
903
918
|
"x-stim": {
|
|
@@ -1006,7 +1021,7 @@
|
|
|
1006
1021
|
"type": "object",
|
|
1007
1022
|
"properties": {
|
|
1008
1023
|
"easFallback": {
|
|
1009
|
-
"description": "When ios.remote or android.remote is auto, this machine is at its concurrency.maxDevices cap and no remote.machines entry takes the run, run the simulator or emulator on a billed EAS Simulator instead of waiting or refusing, when eas-cli can",
|
|
1024
|
+
"description": "When ios.remote or android.remote is auto or remote, this machine is at its concurrency.maxDevices cap and no remote.machines entry takes the run, run the simulator or emulator on a billed EAS Simulator instead of waiting or refusing, when eas-cli can; remote-only never uses it",
|
|
1010
1025
|
"type": "boolean",
|
|
1011
1026
|
"default": false,
|
|
1012
1027
|
"x-stim": {
|
|
@@ -1288,7 +1303,7 @@
|
|
|
1288
1303
|
}
|
|
1289
1304
|
},
|
|
1290
1305
|
"remote": {
|
|
1291
|
-
"description": "
|
|
1306
|
+
"description": "Where the iOS simulator runs: local here (overriding a lower layer); auto here first, then a remote.machines entry when this machine is full or busy; remote on a remote.machines entry in order, here only when none takes it; remote-only the same but never here; a machine name exactly that machine; eas or proxy a remote device backend",
|
|
1292
1307
|
"type": "string",
|
|
1293
1308
|
"pattern": "^[A-Za-z0-9][A-Za-z0-9.-]*(?::(?!0+$)(?:[0-5]?[0-9]{1,4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?$",
|
|
1294
1309
|
"x-stim": {
|
|
@@ -1398,7 +1413,7 @@
|
|
|
1398
1413
|
}
|
|
1399
1414
|
},
|
|
1400
1415
|
"remote": {
|
|
1401
|
-
"description": "
|
|
1416
|
+
"description": "Where the Android emulator runs: local here (overriding a lower layer); auto here first, then a remote.machines entry when this machine is full or busy; remote on a remote.machines entry in order, here only when none takes it; remote-only the same but never here; a machine name exactly that machine; eas or proxy a remote device backend",
|
|
1402
1417
|
"type": "string",
|
|
1403
1418
|
"pattern": "^[A-Za-z0-9][A-Za-z0-9.-]*(?::(?!0+$)(?:[0-5]?[0-9]{1,4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?$",
|
|
1404
1419
|
"x-stim": {
|
|
@@ -1419,7 +1434,7 @@
|
|
|
1419
1434
|
"type": "object",
|
|
1420
1435
|
"properties": {
|
|
1421
1436
|
"idleShutdownMinutes": {
|
|
1422
|
-
"description": "Minutes an owned simulator or emulator stays idle before the workspace supervisor shuts it down; 0 never",
|
|
1437
|
+
"description": "Minutes an owned simulator or emulator stays idle before the workspace supervisor, or automatic maintenance when no supervisor runs, shuts it down; 0 never",
|
|
1423
1438
|
"type": "integer",
|
|
1424
1439
|
"minimum": 0,
|
|
1425
1440
|
"default": 30,
|
|
@@ -1453,6 +1468,27 @@
|
|
|
1453
1468
|
},
|
|
1454
1469
|
"additionalProperties": false
|
|
1455
1470
|
},
|
|
1471
|
+
"macos": {
|
|
1472
|
+
"type": "object",
|
|
1473
|
+
"properties": {
|
|
1474
|
+
"remote": {
|
|
1475
|
+
"description": "Where stim macos launches the app: local here; auto here unless this machine is busy, then a remote.machines entry; remote on a remote.machines entry in order, here only when none takes it; remote-only the same but never here; a machine name exactly that machine. The --remote flag overrides it",
|
|
1476
|
+
"type": "string",
|
|
1477
|
+
"pattern": "^(?![Ee][Aa][Ss]$|[Pp][Rr][Oo][Xx][Yy]$)[A-Za-z0-9][A-Za-z0-9.-]*(?::(?!0+$)(?:[0-5]?[0-9]{1,4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?$",
|
|
1478
|
+
"x-stim": {
|
|
1479
|
+
"key": "macos.remote",
|
|
1480
|
+
"kind": "string",
|
|
1481
|
+
"scopes": [
|
|
1482
|
+
"machine",
|
|
1483
|
+
"workspace",
|
|
1484
|
+
"repo",
|
|
1485
|
+
"committed"
|
|
1486
|
+
]
|
|
1487
|
+
}
|
|
1488
|
+
}
|
|
1489
|
+
},
|
|
1490
|
+
"additionalProperties": false
|
|
1491
|
+
},
|
|
1456
1492
|
"recording": {
|
|
1457
1493
|
"type": "object",
|
|
1458
1494
|
"properties": {
|
|
@@ -1478,7 +1514,7 @@
|
|
|
1478
1514
|
"type": "object",
|
|
1479
1515
|
"properties": {
|
|
1480
1516
|
"enabled": {
|
|
1481
|
-
"description": "Keep workspace history on removal; false under STIM_HOME unless explicitly enabled",
|
|
1517
|
+
"description": "Keep workspace history on removal, and archive a dirty finished worktree's changes before gc removes it; false keeps such worktrees, and is the default under STIM_HOME unless explicitly enabled",
|
|
1482
1518
|
"type": "boolean",
|
|
1483
1519
|
"default": true,
|
|
1484
1520
|
"x-stim": {
|
|
@@ -1494,7 +1530,7 @@
|
|
|
1494
1530
|
}
|
|
1495
1531
|
},
|
|
1496
1532
|
"maxAgeDays": {
|
|
1497
|
-
"description": "Days to keep archived workspace records; 0 keeps nothing",
|
|
1533
|
+
"description": "Days to keep archived workspace records and worktree change archives; 0 keeps nothing",
|
|
1498
1534
|
"type": "integer",
|
|
1499
1535
|
"minimum": 0,
|
|
1500
1536
|
"default": 30,
|
|
@@ -1522,7 +1558,7 @@
|
|
|
1522
1558
|
}
|
|
1523
1559
|
},
|
|
1524
1560
|
"maxTotalGb": {
|
|
1525
|
-
"description": "Total archived bytes in binary GB; 0 keeps no artifacts",
|
|
1561
|
+
"description": "Total archived bytes in binary GB, and separately the worktree change archives; 0 keeps no artifacts",
|
|
1526
1562
|
"type": "number",
|
|
1527
1563
|
"minimum": 0,
|
|
1528
1564
|
"default": 5,
|
|
@@ -1817,7 +1853,7 @@
|
|
|
1817
1853
|
}
|
|
1818
1854
|
},
|
|
1819
1855
|
"logMaxMb": {
|
|
1820
|
-
"description": "Machine maintenance log rotation size in MiB",
|
|
1856
|
+
"description": "Machine maintenance and gc log rotation size in MiB",
|
|
1821
1857
|
"type": "number",
|
|
1822
1858
|
"exclusiveMinimum": 0,
|
|
1823
1859
|
"default": 1,
|
|
@@ -1831,7 +1867,7 @@
|
|
|
1831
1867
|
}
|
|
1832
1868
|
},
|
|
1833
1869
|
"logRetentionDays": {
|
|
1834
|
-
"description": "Retention of the rotated machine maintenance
|
|
1870
|
+
"description": "Retention of the rotated machine maintenance and gc logs in days",
|
|
1835
1871
|
"type": "integer",
|
|
1836
1872
|
"minimum": 1,
|
|
1837
1873
|
"default": 30,
|
|
@@ -1931,6 +1967,20 @@
|
|
|
1931
1967
|
"env": "STIM_MAINTENANCE_WORKTREE_CHECK_MINUTES"
|
|
1932
1968
|
}
|
|
1933
1969
|
},
|
|
1970
|
+
"idleCheckMinutes": {
|
|
1971
|
+
"description": "Interval in minutes of the check that shuts down owned simulators and emulators idle for devices.idleShutdownMinutes, also with no dev server running",
|
|
1972
|
+
"type": "integer",
|
|
1973
|
+
"minimum": 1,
|
|
1974
|
+
"default": 5,
|
|
1975
|
+
"x-stim": {
|
|
1976
|
+
"key": "maintenance.idleCheckMinutes",
|
|
1977
|
+
"kind": "number",
|
|
1978
|
+
"scopes": [
|
|
1979
|
+
"machine"
|
|
1980
|
+
],
|
|
1981
|
+
"env": "STIM_MAINTENANCE_IDLE_CHECK_MINUTES"
|
|
1982
|
+
}
|
|
1983
|
+
},
|
|
1934
1984
|
"sweepHours": {
|
|
1935
1985
|
"description": "Age sweep interval in hours; 0 turns the age sweep off",
|
|
1936
1986
|
"type": "integer",
|
|
@@ -1946,9 +1996,9 @@
|
|
|
1946
1996
|
}
|
|
1947
1997
|
},
|
|
1948
1998
|
"olderThanDays": {
|
|
1949
|
-
"description": "
|
|
1999
|
+
"description": "Days unused before the age sweep removes it: workspace build outputs, shared cache entries, parked simulators and emulators, and, with maintenance.removeIdleWorktrees, clean pushed linked worktrees; 0 turns those age removals off",
|
|
1950
2000
|
"type": "integer",
|
|
1951
|
-
"minimum":
|
|
2001
|
+
"minimum": 0,
|
|
1952
2002
|
"default": 7,
|
|
1953
2003
|
"x-stim": {
|
|
1954
2004
|
"key": "maintenance.olderThanDays",
|
|
@@ -2016,7 +2066,7 @@
|
|
|
2016
2066
|
}
|
|
2017
2067
|
},
|
|
2018
2068
|
"pressureProtectMinutes": {
|
|
2019
|
-
"description": "Protection window, in minutes, that replaces maintenance.protectRecentHours at disk pressure levels 2 and 3",
|
|
2069
|
+
"description": "Protection window, in minutes, that replaces maintenance.protectRecentHours at disk pressure levels 2 and 3, except for workspace build outputs and build directories, which level 2 keeps for 15 minutes after the last ios, android or macos run",
|
|
2020
2070
|
"type": "integer",
|
|
2021
2071
|
"minimum": 0,
|
|
2022
2072
|
"default": 10,
|
|
@@ -2044,7 +2094,7 @@
|
|
|
2044
2094
|
}
|
|
2045
2095
|
},
|
|
2046
2096
|
"removeFinishedWorktrees": {
|
|
2047
|
-
"description": "Remove
|
|
2097
|
+
"description": "Remove linked worktrees whose branch or pull request finished, under gc.worktreeGraceMinutes, archiving a dirty one's uncommitted files first, and clean, pushed ones with no commits of their own once idle",
|
|
2048
2098
|
"type": "boolean",
|
|
2049
2099
|
"default": true,
|
|
2050
2100
|
"x-stim": {
|
|
@@ -2056,6 +2106,19 @@
|
|
|
2056
2106
|
"env": "STIM_MAINTENANCE_REMOVE_FINISHED_WORKTREES"
|
|
2057
2107
|
}
|
|
2058
2108
|
},
|
|
2109
|
+
"removeIdleWorktrees": {
|
|
2110
|
+
"description": "In the age sweep, also remove clean, pushed linked worktrees whose branch is not merged once no Stim command has used them for maintenance.olderThanDays, with their git-ignored files; needs maintenance.removeFinishedWorktrees",
|
|
2111
|
+
"type": "boolean",
|
|
2112
|
+
"default": false,
|
|
2113
|
+
"x-stim": {
|
|
2114
|
+
"key": "maintenance.removeIdleWorktrees",
|
|
2115
|
+
"kind": "boolean",
|
|
2116
|
+
"scopes": [
|
|
2117
|
+
"machine"
|
|
2118
|
+
],
|
|
2119
|
+
"env": "STIM_MAINTENANCE_REMOVE_IDLE_WORKTREES"
|
|
2120
|
+
}
|
|
2121
|
+
},
|
|
2059
2122
|
"workspaceOutputsMaxGb": {
|
|
2060
2123
|
"description": "Workspace build-output cap in GiB; 0 means no cap",
|
|
2061
2124
|
"type": "number",
|
|
@@ -2296,7 +2359,7 @@
|
|
|
2296
2359
|
}
|
|
2297
2360
|
},
|
|
2298
2361
|
"maxLoadPerCore": {
|
|
2299
|
-
"description": "Load per core (5-minute load average divided by the CPU count) at which this machine counts as saturated: it declines builds other machines send it,
|
|
2362
|
+
"description": "Load per core (5-minute load average divided by the CPU count) at which this machine counts as saturated: it declines builds other machines send it, reports the limit in its device offers so other machines skip it like a full one, stops preferring itself for automatic placement, and automatic iOS, Android and macOS placement treats it as busy",
|
|
2300
2363
|
"type": "number",
|
|
2301
2364
|
"minimum": 0.1,
|
|
2302
2365
|
"default": 2,
|
|
@@ -2341,7 +2404,7 @@
|
|
|
2341
2404
|
"type": "object",
|
|
2342
2405
|
"properties": {
|
|
2343
2406
|
"machines": {
|
|
2344
|
-
"description": "Tailscale names of the remote machines this machine may build on and host owned simulators on, each optionally with :<port> of its tailscale serve route (default 7443)
|
|
2407
|
+
"description": "Tailscale names of the remote machines this machine may build on and host owned simulators, emulators and macOS apps on, each optionally with :<port> of its tailscale serve route (default 7443). The order is the placement priority: each workload goes to the first machine with room and a load under its own limit. What each is used for follows the build and device-host approvals it grants, which doctor --fix asks for separately",
|
|
2345
2408
|
"type": "array",
|
|
2346
2409
|
"items": {
|
|
2347
2410
|
"type": "string"
|
|
@@ -2385,7 +2448,7 @@
|
|
|
2385
2448
|
}
|
|
2386
2449
|
},
|
|
2387
2450
|
"easFallback": {
|
|
2388
|
-
"description": "When ios.remote or android.remote is auto, this machine is at its concurrency.maxDevices cap and no remote.machines entry takes the run, run the simulator or emulator on a billed EAS Simulator instead of waiting or refusing, when eas-cli can",
|
|
2451
|
+
"description": "When ios.remote or android.remote is auto or remote, this machine is at its concurrency.maxDevices cap and no remote.machines entry takes the run, run the simulator or emulator on a billed EAS Simulator instead of waiting or refusing, when eas-cli can; remote-only never uses it",
|
|
2389
2452
|
"type": "boolean",
|
|
2390
2453
|
"default": false,
|
|
2391
2454
|
"x-stim": {
|
|
@@ -2413,7 +2476,7 @@
|
|
|
2413
2476
|
}
|
|
2414
2477
|
},
|
|
2415
2478
|
"build": {
|
|
2416
|
-
"description": "
|
|
2479
|
+
"description": "Where iOS simulator Debug, Android emulator debug and macOS SwiftPM Debug builds run: local here; auto here while it has a free concurrency.maxBuilds slot and load under server.maxLoadPerCore, otherwise on a remote.machines entry; remote on a remote.machines entry in order, here only when none takes the build; remote-only the same but never here; a machine name exactly that machine without fallback. The ios, android and macos --remote-build flag overrides this setting and its environment override",
|
|
2417
2480
|
"type": "string",
|
|
2418
2481
|
"pattern": "^[A-Za-z0-9][A-Za-z0-9.-]*(?::(?!0+$)(?:[0-5]?[0-9]{1,4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?$",
|
|
2419
2482
|
"default": "auto",
|
|
@@ -2425,24 +2488,6 @@
|
|
|
2425
2488
|
],
|
|
2426
2489
|
"env": "STIM_REMOTE_BUILD"
|
|
2427
2490
|
}
|
|
2428
|
-
},
|
|
2429
|
-
"buildMode": {
|
|
2430
|
-
"description": "When remote.build is auto, where iOS simulator Debug, Android emulator debug and macOS SwiftPM Debug builds run: auto builds here while this machine has a free concurrency.maxBuilds slot and its load is under server.maxLoadPerCore, and otherwise builds on a less loaded machine in remote.machines; force builds on an enabled remote machine whenever one can take the build; off builds here when local is enabled in remote.buildPoolDisabled",
|
|
2431
|
-
"type": "string",
|
|
2432
|
-
"enum": [
|
|
2433
|
-
"auto",
|
|
2434
|
-
"force",
|
|
2435
|
-
"off"
|
|
2436
|
-
],
|
|
2437
|
-
"default": "auto",
|
|
2438
|
-
"x-stim": {
|
|
2439
|
-
"key": "remote.buildMode",
|
|
2440
|
-
"kind": "choice",
|
|
2441
|
-
"scopes": [
|
|
2442
|
-
"machine"
|
|
2443
|
-
],
|
|
2444
|
-
"env": "STIM_REMOTE_BUILD_MODE"
|
|
2445
|
-
}
|
|
2446
2491
|
}
|
|
2447
2492
|
},
|
|
2448
2493
|
"additionalProperties": false
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as ownership_claim_exports, S as process_identity_exports, b as operationState, t as getExecutor, y as isTermination } from "./exec-
|
|
2
|
-
import { d as getConfigDir } from "./config-
|
|
1
|
+
import { D as ownership_claim_exports, S as process_identity_exports, b as operationState, t as getExecutor, y as isTermination } from "./exec-aULwtNly.mjs";
|
|
2
|
+
import { d as getConfigDir } from "./config-Cn94Jc0g.mjs";
|
|
3
3
|
import { n as stripAnsi, r as waitForChild, t as createLineReader } from "./process-output-Fpl8PYi8.mjs";
|
|
4
4
|
import { join } from "node:path";
|
|
5
5
|
//#region src/engine/simslim.ts
|
|
@@ -13,7 +13,8 @@ async function reconcileSimSlim(options) {
|
|
|
13
13
|
options.out?.("SimSlim: ios.simslim is on but the `simslim` command is not installed; continuing without it. Run `brew install mobai-app/tap/simslim`.");
|
|
14
14
|
return {
|
|
15
15
|
managed: Boolean(options.previouslyManaged),
|
|
16
|
-
profile: null
|
|
16
|
+
profile: null,
|
|
17
|
+
notInstalled: true
|
|
17
18
|
};
|
|
18
19
|
}
|
|
19
20
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { O as getAvdNameForSerialAsync, j as listAdbDevicesAsync } from "./android-
|
|
4
|
-
import {
|
|
5
|
-
import { y as fileLeaseIo } from "./activity-
|
|
6
|
-
import { f as listAllIosSimsAsync } from "./ios-
|
|
1
|
+
import { r as readWorkspaceState$1 } from "./workspace-state-BjqdjnJR.mjs";
|
|
2
|
+
import { G as projectDeviceSlots, U as parseDeviceSlotKey, p as getProject } from "./config-Cn94Jc0g.mjs";
|
|
3
|
+
import { O as getAvdNameForSerialAsync, j as listAdbDevicesAsync } from "./android-DriNoAVy.mjs";
|
|
4
|
+
import { on as deviceShellArg } from "./ccache-BWTze1Ls.mjs";
|
|
5
|
+
import { y as fileLeaseIo } from "./activity-Cd-ysFes.mjs";
|
|
6
|
+
import { f as listAllIosSimsAsync } from "./ios-E26qSpkb.mjs";
|
|
7
7
|
import { hostedNativeRecords } from "@stim-cli/core/state";
|
|
8
8
|
//#region src/engine/slot-launch.ts
|
|
9
9
|
function launchSlotScope(root, slot = "default") {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as throwIfCancelled, t as getExecutor, x as withDrainingCancellation } from "./exec-
|
|
2
|
-
import {
|
|
1
|
+
import { c as throwIfCancelled, t as getExecutor, x as withDrainingCancellation } from "./exec-aULwtNly.mjs";
|
|
2
|
+
import { ot as runCancellationSignal } from "./toolchain-CbCG6C5Z.mjs";
|
|
3
3
|
import { existsSync, lstatSync, promises, readdirSync, realpathSync, statSync } from "node:fs";
|
|
4
4
|
import { dirname, isAbsolute, join, relative, resolve, sep } from "node:path";
|
|
5
5
|
import { validMacosResourceDestination } from "@stim-cli/core";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as registerStart, c as startDevServer, d as supervisorSignalable, f as tailLines, i as readLogTail, l as startFacts, n as liveSupervisor, o as resolveWorkspaceMetroPort, p as wantsExpoOwnTunnel, r as parseWait, s as startCommand, t as failureEvidence, u as supervisorEntry } from "./start-
|
|
1
|
+
import { a as registerStart, c as startDevServer, d as supervisorSignalable, f as tailLines, i as readLogTail, l as startFacts, n as liveSupervisor, o as resolveWorkspaceMetroPort, p as wantsExpoOwnTunnel, r as parseWait, s as startCommand, t as failureEvidence, u as supervisorEntry } from "./start-DrPwER_2.mjs";
|
|
2
2
|
export { startCommand as default, failureEvidence, liveSupervisor, parseWait, readLogTail, registerStart, resolveWorkspaceMetroPort, startDevServer, startFacts, supervisorEntry, supervisorSignalable, tailLines, wantsExpoOwnTunnel };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { D as ownership_claim_exports, S as process_identity_exports, a as waitForGroupExit, c as throwIfCancelled, d as workspaceProcessLockError, l as WorkspaceProcessCleanupError, o as cancellableSleep, r as groupExitBudgetMs, t as getExecutor, u as withWorkspaceProcessLock, x as withDrainingCancellation } from "./exec-
|
|
2
|
-
import {
|
|
3
|
-
import { E as upsertProject, O as withConfigLockAsync$1, p as getProject, x as releaseMetroPort } from "./config-
|
|
4
|
-
import { _ as stepTimer, l as phaseLine } from "./command-output-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { a as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
1
|
+
import { D as ownership_claim_exports, S as process_identity_exports, a as waitForGroupExit, c as throwIfCancelled, d as workspaceProcessLockError, l as WorkspaceProcessCleanupError, o as cancellableSleep, r as groupExitBudgetMs, t as getExecutor, u as withWorkspaceProcessLock, x as withDrainingCancellation } from "./exec-aULwtNly.mjs";
|
|
2
|
+
import { S as supervisorLogFile, _ as ensureWorkspaceStorage, i as recordWorkspaceUse, k as workspaceLogsDir$1, l as withWorkspaceStateLockAsync, n as clearWorkspaceStateKeys, r as readWorkspaceState$1, s as updateWorkspaceStateAsync, w as workspaceAgentDeviceDir } from "./workspace-state-BjqdjnJR.mjs";
|
|
3
|
+
import { E as upsertProject, O as withConfigLockAsync$1, p as getProject, x as releaseMetroPort } from "./config-Cn94Jc0g.mjs";
|
|
4
|
+
import { _ as stepTimer, l as phaseLine } from "./command-output-Dj-WT4BP.mjs";
|
|
5
|
+
import { A as metroCommandSetting, B as publicUrlSetting, G as remoteIosSetting, I as ngrokUrlSetting, J as resolveCacheProviderConfig, M as metroIdleStopMinutesSetting, N as metroPortSetting, P as metroTunnelSettingError, U as remoteAndroidSetting, Y as resolveIosProjectDir, Z as resolveProjectSettingsAsync, _ as inertSettingWarning, a as SETTING_SHAPE_REMEDY, dt as detectProviders, ft as planMetroReach, h as deviceIdleShutdownMinutesSetting, j as metroCommandSettingError, m as defaultAndroidLayout, ot as tunnelModeSetting, p as cacheProviderSettingError, q as resolveAndroidLayout, rt as settingShapeErrors, st as unknownSettingKeys, ut as PUBLIC_METRO_ENV } from "./settings-BDVI8Ivc.mjs";
|
|
6
|
+
import { E as MODE_EXPO, M as readMetroTunnel, O as clearManagedMetroTunnel, S as readAppJson, T as MODE_COMMAND, c as projectProblem, i as findProjectRoot$1, t as NO_PROJECT_REFUSAL, v as detectIsExpo, w as MODE_BARE, x as readAppConfigText } from "./project-DYj-HVx6.mjs";
|
|
7
|
+
import { a as workspaceLinkLine, o as workspaceLinks } from "./stim-desktop-CbWo21kb.mjs";
|
|
8
|
+
import { _ as PORT_INSPECTION_REMEDY, a as listeningPidsAsync, c as pidExists, d as resolveProjectMetro, f as signalProcessTree, g as reserveMetroPort, h as isMetroRunning, m as createPortProbe, u as processCwds, v as PortInspectionError } from "./metro-CvyD-xwe.mjs";
|
|
9
|
+
import { a as levelRank } from "./ndjson-Dy2W4vRa.mjs";
|
|
10
|
+
import { En as runProcessOperation, In as readProjectConfig, Vn as remoteCliInvocation, b as stopOwnedMetroForReset, c as budgetGate, wn as exitAfterFlush } from "./ccache-BWTze1Ls.mjs";
|
|
11
|
+
import { C as terminateChild, E as withManagedTunnelLock, S as stopTunnel, b as resolveSupervisorTarget, w as withManagedRemoteWorktreeLock, x as startTunnelSequence } from "./workspaces-DFbj07jp.mjs";
|
|
12
|
+
import { i as restoreLightenedDependencies } from "./lightened-BCsdAGj_.mjs";
|
|
13
13
|
import { t as spawnEntry } from "./spawn-entry-jw19m8Nl.mjs";
|
|
14
|
-
import { n as windowsLauncherArgs } from "./detached-entry-
|
|
14
|
+
import { n as windowsLauncherArgs } from "./detached-entry-BPlSaCwC.mjs";
|
|
15
15
|
import { appendFileSync, closeSync, mkdirSync, openSync, readFileSync } from "node:fs";
|
|
16
16
|
import { dirname } from "node:path";
|
|
17
17
|
import { ambientContext, ambientEnv } from "@stim-cli/core";
|
|
18
|
-
import { IDLE_STOP_KEY, queryLogs } from "@stim-cli/core/state";
|
|
18
|
+
import { IDLE_STOP_KEY, queryLogs, trace } from "@stim-cli/core/state";
|
|
19
19
|
import { join as join$1 } from "path";
|
|
20
20
|
import chalk from "chalk";
|
|
21
21
|
import { existsSync as existsSync$1, readFileSync as readFileSync$1, readdirSync as readdirSync$1 } from "fs";
|
|
@@ -294,6 +294,8 @@ function registerStart(program, overrides = {}) {
|
|
|
294
294
|
const waitSeconds = wait.seconds;
|
|
295
295
|
const root = findProjectRoot$1(process.cwd());
|
|
296
296
|
if (!root) return fail(NO_PROJECT_REFUSAL);
|
|
297
|
+
const lightened = (await runProcessOperation(root, (context) => restoreLightenedDependencies(root, context))).value;
|
|
298
|
+
if (lightened) return fail(lightened);
|
|
297
299
|
const problem = projectProblem(root, "dev-server");
|
|
298
300
|
if (problem) return fail({
|
|
299
301
|
code: "STIM_NO_PROJECT",
|
|
@@ -318,7 +320,7 @@ function registerStart(program, overrides = {}) {
|
|
|
318
320
|
lines: moreShapeErrors,
|
|
319
321
|
remedy: SETTING_SHAPE_REMEDY
|
|
320
322
|
});
|
|
321
|
-
for (const key of unknownSettingKeys(settings)) note(chalk.yellow(
|
|
323
|
+
for (const key of unknownSettingKeys(settings)) note(chalk.yellow(inertSettingWarning(settings, key)));
|
|
322
324
|
const cacheProviderError = cacheProviderSettingError(settings);
|
|
323
325
|
if (cacheProviderError) note(chalk.yellow(`Warning: ${cacheProviderError} No cache provider is used.`));
|
|
324
326
|
const { value: result, interrupted } = await runProcessOperation(root, (context) => withDrainingCancellation(context, context.signal, async () => {
|
|
@@ -1347,14 +1349,16 @@ async function reservePort(root, pinned, hostedPorts) {
|
|
|
1347
1349
|
}
|
|
1348
1350
|
}
|
|
1349
1351
|
async function waitForMetro({ root, port, seconds, aborted = () => false, probe = resolveStartupMetro }) {
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1352
|
+
return trace.spanAsync("wait for metro", async () => {
|
|
1353
|
+
const deadline = Date.now() + seconds * 1e3;
|
|
1354
|
+
while (Date.now() < deadline) {
|
|
1355
|
+
if ((await probe(port, root)).metro) return true;
|
|
1356
|
+
if (aborted()) return false;
|
|
1357
|
+
await waitForStartup(POLL_MS);
|
|
1358
|
+
}
|
|
1359
|
+
const last = await probe(port, root);
|
|
1360
|
+
return Boolean(last.metro);
|
|
1361
|
+
}, { port });
|
|
1358
1362
|
}
|
|
1359
1363
|
async function waitForExpoTunnel({ root, seconds, aborted = () => false }) {
|
|
1360
1364
|
const deadline = Date.now() + seconds * 1e3;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { D as ownership_claim_exports, S as process_identity_exports, l as WorkspaceProcessCleanupError, t as getExecutor } from "./exec-
|
|
2
|
-
import {
|
|
3
|
-
import { t as runOperationFile } from "./operation-exec-
|
|
4
|
-
import {
|
|
5
|
-
import { c as pidExists } from "./metro-1pJgCX4U.mjs";
|
|
1
|
+
import { D as ownership_claim_exports, S as process_identity_exports, l as WorkspaceProcessCleanupError, t as getExecutor } from "./exec-aULwtNly.mjs";
|
|
2
|
+
import { E as workspaceDir, d as writeWorkspaceState, k as workspaceLogsDir$1, o as updateWorkspaceState, r as readWorkspaceState$1, t as clearWorkspaceStateKey } from "./workspace-state-BjqdjnJR.mjs";
|
|
3
|
+
import { t as runOperationFile } from "./operation-exec-Dp4FuIGR.mjs";
|
|
4
|
+
import { c as pidExists } from "./metro-CvyD-xwe.mjs";
|
|
6
5
|
import { readFileSync, readlinkSync, rmSync } from "node:fs";
|
|
7
6
|
import { hostname } from "node:os";
|
|
8
7
|
import { join } from "node:path";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { S as process_identity_exports } from "./exec-
|
|
2
|
-
import {
|
|
3
|
-
import { o as updateWorkspaceState, r as readWorkspaceState$1 } from "./workspace-state-CPSp3mav.mjs";
|
|
1
|
+
import { S as process_identity_exports } from "./exec-aULwtNly.mjs";
|
|
2
|
+
import { E as workspaceDir, k as workspaceLogsDir$1, o as updateWorkspaceState, r as readWorkspaceState$1 } from "./workspace-state-BjqdjnJR.mjs";
|
|
4
3
|
import { existsSync } from "node:fs";
|
|
5
4
|
import { join } from "node:path";
|
|
6
5
|
import { readMacosRecord } from "@stim-cli/core/state";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { P as formatBytes } from "./config-
|
|
2
|
-
import { o as formatLongDuration } from "./command-output-
|
|
3
|
-
import { i as findProjectRoot$1 } from "./project-
|
|
4
|
-
import { i as getSwiftpmCacheUsage, n as swiftpmCacheLines, r as getAgentDeviceUsage, t as agentDeviceLines } from "./agent-device-usage-output-
|
|
5
|
-
import { t as readProjectStats } from "./stats-report-
|
|
1
|
+
import { P as formatBytes } from "./config-Cn94Jc0g.mjs";
|
|
2
|
+
import { o as formatLongDuration } from "./command-output-Dj-WT4BP.mjs";
|
|
3
|
+
import { i as findProjectRoot$1 } from "./project-DYj-HVx6.mjs";
|
|
4
|
+
import { i as getSwiftpmCacheUsage, n as swiftpmCacheLines, r as getAgentDeviceUsage, t as agentDeviceLines } from "./agent-device-usage-output-C5nCKWp9.mjs";
|
|
5
|
+
import { t as readProjectStats } from "./stats-report-B86Cv7Uc.mjs";
|
|
6
6
|
import { archivedUsage, readArchives } from "@stim-cli/core/state";
|
|
7
7
|
import chalk from "chalk";
|
|
8
8
|
//#region src/commands/stats.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as gitPath } from "./operation-exec-
|
|
1
|
+
import { i as gitPath } from "./operation-exec-Dp4FuIGR.mjs";
|
|
2
2
|
import { readStatsReport, statsProjectKey } from "@stim-cli/core/state";
|
|
3
3
|
//#region src/engine/stats-report.ts
|
|
4
4
|
/** The stats report for the project at `root`, keyed like the run recorders; Git runs with `env` and dies when `signal` aborts. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as formatBytes } from "./config-
|
|
1
|
+
import { P as formatBytes } from "./config-Cn94Jc0g.mjs";
|
|
2
2
|
import { t as resolveMaintenanceSettings } from "./settings-Djl-mpjX.mjs";
|
|
3
3
|
import { claimRemoveCommand, readClaimSet } from "@stim-cli/core/ownership-claim";
|
|
4
4
|
import { maintenanceRunClaims, readMaintenanceState } from "@stim-cli/core/state";
|
|
@@ -1,29 +1,28 @@
|
|
|
1
|
-
import { S as process_identity_exports, t as getExecutor } from "./exec-
|
|
2
|
-
import {
|
|
3
|
-
import { G as projectDeviceSlots, P as formatBytes, R as volumeRootFor, U as parseDeviceSlotKey, V as deviceSlotKey, _ as loadConfig$1, d as getConfigDir } from "./config-
|
|
4
|
-
import { a as formatElapsed, i as formatDuration, r as clockTime, u as plural } from "./command-output-
|
|
5
|
-
import { s as gitAsync } from "./operation-exec-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { a as readWebPage, o as readWebRecord, u as webFacts } from "./state-
|
|
13
|
-
import { A as remoteDeviceState, C as environmentState, D as parseDfFree, E as metroReverseTargets, M as tightVolumes, N as unprovisionedWorktrees, O as poolLine, P as withWebFacts, S as diskLine, T as gitSummaryText, _ as addReverseMissingIssue, b as deviceLeaseLines, g as activityLabel, j as statusActivity, k as remoteDeviceLine, r as readEasSessionLedger$1, v as applyMachineMemory, x as deviceLeaseStates, y as capacity } from "./eas-session-ledger-
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import
|
|
19
|
-
import "./
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import { t as
|
|
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-Bc2J4TZn.mjs";
|
|
1
|
+
import { S as process_identity_exports, t as getExecutor } from "./exec-aULwtNly.mjs";
|
|
2
|
+
import { O as workspaceLogErrorIndex, k as workspaceLogsDir$1, r as readWorkspaceState$1 } from "./workspace-state-BjqdjnJR.mjs";
|
|
3
|
+
import { G as projectDeviceSlots, P as formatBytes, R as volumeRootFor, U as parseDeviceSlotKey, V as deviceSlotKey, _ as loadConfig$1, d as getConfigDir } from "./config-Cn94Jc0g.mjs";
|
|
4
|
+
import { a as formatElapsed, i as formatDuration, r as clockTime, u as plural } from "./command-output-Dj-WT4BP.mjs";
|
|
5
|
+
import { s as gitAsync } from "./operation-exec-Dp4FuIGR.mjs";
|
|
6
|
+
import { Dt as linkedWorktreesOnDisk, It as repoRoot, Q as resolveSettings, St as gitCommonDirOnDisk, bt as gitCommonDir, lt as workspaceHiddenSetting } from "./settings-BDVI8Ivc.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-DYj-HVx6.mjs";
|
|
8
|
+
import { A as listAdbDevices, B as ownedAvdDeviceProfile, W as ownedAvdSerialResolver, ft as POOL_SETTING_REMEDY, vt as parkedMaxSetting, yt as readParked } from "./android-DriNoAVy.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-CvyD-xwe.mjs";
|
|
10
|
+
import { o as parseNdjsonLine } from "./ndjson-Dy2W4vRa.mjs";
|
|
11
|
+
import { E as metroLastStop, S as describeMetroLastStop, cn as hasMetroReverse, cr as attributeMachineUsage, lr as readFootprints, p as machineNumber } from "./ccache-BWTze1Ls.mjs";
|
|
12
|
+
import { a as readWebPage, o as readWebRecord, u as webFacts } from "./state-BX1y5syV.mjs";
|
|
13
|
+
import { A as remoteDeviceState, C as environmentState, D as parseDfFree, E as metroReverseTargets, M as tightVolumes, N as unprovisionedWorktrees, O as poolLine, P as withWebFacts, S as diskLine, T as gitSummaryText, _ as addReverseMissingIssue, b as deviceLeaseLines, g as activityLabel, j as statusActivity, k as remoteDeviceLine, r as readEasSessionLedger$1, v as applyMachineMemory, x as deviceLeaseStates, y as capacity } from "./eas-session-ledger-DrP4OuuM.mjs";
|
|
14
|
+
import { B as activeBuildState, G as parseActiveBuild, H as buildStatusLine, R as ACTIVE_BUILD_KEY, U as bundlingActivity, V as buildReport, b as resolveSupervisorTarget, nt as readStats$1, ot as statsProjectKey$1 } from "./workspaces-DFbj07jp.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-Cd-ysFes.mjs";
|
|
16
|
+
import { b as parseSimctlList, f as listAllIosSimsAsync } from "./ios-E26qSpkb.mjs";
|
|
17
|
+
import { f as probeHostedSession } from "./hosted-client-D7Pk_Oo1.mjs";
|
|
18
|
+
import "./hosted-macos-B9w4H8hc.mjs";
|
|
19
|
+
import { i as readSupervisorState } from "./stop-D-EAr25B.mjs";
|
|
20
|
+
import { l as applyStatusMeasures, n as workspacePhase, s as mergeState, u as createStatusMeasurer } from "./warm-progress-C0RsbngN.mjs";
|
|
21
|
+
import { r as workspaceRecordingEnabled } from "./recordings-C20iUZfp.mjs";
|
|
22
|
+
import { n as maintenanceLines, r as maintenanceStatus } from "./status-7ULDEJ1e.mjs";
|
|
23
|
+
import { d as readIosDevices, s as isReachable } from "./ios-device-C_QkIf1Z.mjs";
|
|
24
|
+
import { t as triggerMaintenance } from "./trigger-DMou-X7j.mjs";
|
|
25
|
+
import { a as createRefreshScheduler, c as watchStatusSources, n as WATCH_LIGHT_INTERVAL_MS, o as watchChangeKey, r as WATCH_MACHINE_INTERVAL_MS, s as watchPayload, t as WATCH_FALLBACK_MS } from "./status-watch-BfabQn03.mjs";
|
|
27
26
|
import { t as watchStdoutReader } from "./stdout-reader-C8yjre1x.mjs";
|
|
28
27
|
import { createHash, randomUUID } from "node:crypto";
|
|
29
28
|
import { mkdirSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as runStatusWatch, r as statusCommand, t as readVolumes } from "./status-
|
|
1
|
+
import { n as runStatusWatch, r as statusCommand, t as readVolumes } from "./status-BfnK9pUd.mjs";
|
|
2
2
|
export { statusCommand as default, readVolumes, runStatusWatch };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as getExecutor } from "./exec-
|
|
2
|
-
import { d as androidToolPath } from "./android-
|
|
3
|
-
import { c as pidExists } from "./metro-
|
|
4
|
-
import { n as easMachineStateRoot } from "./eas-session-ledger-
|
|
5
|
-
import { b as parseSimctlList } from "./ios-
|
|
1
|
+
import { t as getExecutor } from "./exec-aULwtNly.mjs";
|
|
2
|
+
import { d as androidToolPath } from "./android-DriNoAVy.mjs";
|
|
3
|
+
import { c as pidExists } from "./metro-CvyD-xwe.mjs";
|
|
4
|
+
import { n as easMachineStateRoot } from "./eas-session-ledger-DrP4OuuM.mjs";
|
|
5
|
+
import { b as parseSimctlList } from "./ios-E26qSpkb.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 saveConfig, c as ensureConfig } from "./config-
|
|
1
|
+
import { t as getExecutor } from "./exec-aULwtNly.mjs";
|
|
2
|
+
import { C as saveConfig, c as ensureConfig } from "./config-Cn94Jc0g.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";
|