stim 1.37.0 → 1.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{acquire-artifact-zBUbPuDP.mjs → acquire-artifact-QKPDkesw.mjs} +1 -1
- package/dist/{act-BGAFjY8f.mjs → act-Bh3t-NuH.mjs} +23 -29
- package/dist/{activity-CdpXXSq2.mjs → activity-CANftndU.mjs} +3 -3
- package/dist/{agent-device-usage-output-D0582GHy.mjs → agent-device-usage-output-CuROXefb.mjs} +3 -3
- package/dist/{android-CGctfYpv.mjs → android-27_JgJ1T.mjs} +3 -3
- package/dist/{android-CaSsewbu.mjs → android-Biwc4Dck.mjs} +5 -5
- package/dist/{android-BPBARZMR.mjs → android-DGLG_VQ3.mjs} +1 -1
- package/dist/{android-BBwLpxRh.mjs → android-Z6Eev9rL.mjs} +44 -38
- package/dist/{android-cas-p8gna03x.mjs → android-cas-BDAwwL82.mjs} +2 -2
- package/dist/{android-image-DY8KxK2m.mjs → android-image-BcUD6bPi.mjs} +2 -2
- package/dist/api.d.mts +2 -2
- package/dist/api.mjs +25 -25
- package/dist/{apk-signed-tail-BMv-KLcB.mjs → apk-signed-tail-DHMkXs4s.mjs} +2 -2
- package/dist/{artifact-BsimBWxG.mjs → artifact-Dc1GsK7o.mjs} +28 -14
- package/dist/{artifact-BrNZTZtA.mjs → artifact-sGoFVK1q.mjs} +11 -11
- package/dist/{auto-placement-CFKNrWLU.mjs → auto-placement-RNh4kx2T.mjs} +6 -6
- package/dist/{browser-web-YFsgCP_a.mjs → browser-web-7Oj57Roa.mjs} +10 -10
- package/dist/{build-DIhuoozz.mjs → build-DkE5vjp1.mjs} +22 -22
- package/dist/{build-cache-Dt-dhCJF.mjs → build-cache-CJ65Efv7.mjs} +7 -4
- package/dist/{build-plan-CgnLDof9.mjs → build-plan-DWajg5l_.mjs} +7 -6
- package/dist/{cli-BGUrlSH3.mjs → cli-BSlwv9hI.mjs} +18 -18
- package/dist/cli.mjs +1 -1
- package/dist/{client-DU6dnGX1.mjs → client-qwmHFSga.mjs} +12 -8
- package/dist/collector-run.mjs +3 -3
- package/dist/{command-output-ByEmIwur.mjs → command-output-DsjhOzJ3.mjs} +1 -1
- package/dist/{dependencies-BozoTBqa.mjs → dependencies-oku1ZLep.mjs} +76 -41
- package/dist/{dependency-state-BQeC4FVn.mjs → dependency-state-CBhPJAs_.mjs} +1 -1
- package/dist/{dev-client-3SQzMRXZ.mjs → dev-client-DL5UtVdx.mjs} +2 -2
- package/dist/{device-DGMvzoZZ.mjs → device-CxMwX0VO.mjs} +15 -14
- package/dist/{device-android-CBat355q.mjs → device-android-CSlBXuh_.mjs} +7 -7
- package/dist/{device-capacity-DWUOvY13.mjs → device-capacity-D_IlxZRL.mjs} +78 -31
- package/dist/device-host-worker.mjs +24 -12
- package/dist/{device-pool-B8IqZKqm.mjs → device-pool-BEaTdtss.mjs} +2 -2
- package/dist/{device-provision-DWAoSKEw.mjs → device-provision-C9NPdCne.mjs} +8 -8
- package/dist/{device-BIg1iExg.mjs → device-yfuJ-v4s.mjs} +9 -9
- package/dist/{doctor-CxgR5vPi.mjs → doctor-BAA3zN5U.mjs} +1 -1
- package/dist/{doctor-CPzwqcXY.mjs → doctor-BQ1Kl44s.mjs} +13 -19
- package/dist/{doctor-Bknt0121.mjs → doctor-QNzDE4aW.mjs} +18 -18
- package/dist/doctor-fingerprint.mjs +1 -1
- package/dist/{doctor-watchman-CPE4C8KV.mjs → doctor-watchman-B8e3s9ko.mjs} +3 -3
- package/dist/{eas-build-CwOXKJwa.mjs → eas-build-4rg9WpEg.mjs} +2 -2
- package/dist/{eas-fallback-Cnb12a50.mjs → eas-fallback-UGo0SG7T.mjs} +3 -3
- package/dist/{eas-session-ledger-TE1miVz5.mjs → eas-session-ledger-BDpSdFDM.mjs} +4 -4
- package/dist/{error-diagnostics-CXTT3bYC.mjs → error-diagnostics-CW9xl6ot.mjs} +7 -7
- package/dist/{gc-0jdcnDHs.mjs → gc-3DHVCn-k.mjs} +49 -33
- package/dist/{gc-1ZLq1djg.mjs → gc-BQ5dXnC7.mjs} +2 -2
- package/dist/{guide-COxIANZu.mjs → guide-DqJCc4vW.mjs} +138 -43
- package/dist/{hosted-android-D8JbIzgC.mjs → hosted-android-gwLspaz6.mjs} +3 -3
- package/dist/{hosted-client-BLwuXEZS.mjs → hosted-client-B_h_bTlz.mjs} +2 -2
- package/dist/{hosted-logs-BWEQNJx_.mjs → hosted-logs-BpQSRDRU.mjs} +15 -8
- package/dist/{hosted-logs-sync-uWSrH2mf.mjs → hosted-logs-sync-D3L1hDpM.mjs} +5 -5
- package/dist/{hosted-macos-BnCYAv1y.mjs → hosted-macos-GK4O1s7x.mjs} +5 -5
- package/dist/{hosted-native-OBT2sJxn.mjs → hosted-native-B6ur_0OJ.mjs} +7 -7
- package/dist/{ios-Bjz7aPLy.mjs → ios-Bi0bQiZ_.mjs} +8 -8
- package/dist/{ios-BveW7qK1.mjs → ios-DQEzde6f.mjs} +9 -6
- package/dist/{ios-CGyx4PA7.mjs → ios-M7nRVb33.mjs} +94 -32
- package/dist/{ios-device-ByrDWSpC.mjs → ios-device-BLm1BZB4.mjs} +1 -1
- package/dist/{ios-project-XHg87vyQ.mjs → ios-project-Bsm-eqwv.mjs} +6 -6
- package/dist/ios-runtime-DLiKoOkd.mjs +150 -0
- package/dist/{ios-signing-CRYQ1W42.mjs → ios-signing-rWR_Mu5Z.mjs} +1 -1
- package/dist/{ios-state-enWc5P6U.mjs → ios-state-tzD0s7pt.mjs} +1 -1
- package/dist/{js-swap-C6vl3vEd.mjs → js-swap-Cuky0ZAQ.mjs} +5 -5
- package/dist/{launch-f3RnbFW5.mjs → launch-B-pkNlqg.mjs} +17 -17
- package/dist/{lightened-Cdfmo8MO.mjs → lightened-KHWHmzGs.mjs} +4 -4
- package/dist/{logs-x3em2-oI.mjs → logs-B0etn-BD.mjs} +6 -6
- package/dist/{logs-DAjxBF3c.mjs → logs-HomiqPhV.mjs} +4 -4
- package/dist/{macos-ZfpWlzBO.mjs → macos-C5liDnbP.mjs} +1 -1
- package/dist/macos-run.mjs +1 -1
- package/dist/{macos-D_LAseN9.mjs → macos-zMxSibx5.mjs} +18 -19
- package/dist/maintenance-run.mjs +4 -4
- package/dist/{metro-TIQ1Wft-.mjs → metro-Cj6W4qOO.mjs} +1 -1
- package/dist/{metro-request-DcUxyaq8.mjs → metro-request-BWCl3Zco.mjs} +1 -1
- package/dist/{prebuild-BKkj3OyL.mjs → miss-reason-CeHvzeVm.mjs} +10 -270
- package/dist/{named-ports-BfEMi9bK.mjs → named-ports-DZ8DrkH1.mjs} +1 -1
- package/dist/{native-android-COOrNDk2.mjs → native-android-DtWLzg6g.mjs} +15 -15
- package/dist/{native-gradle-artifact-inputs-B4Mwydmf.mjs → native-gradle-artifact-inputs-D4w20_6d.mjs} +3 -3
- package/dist/{native-runtime-UxUBU8up.mjs → native-runtime-BfvvAJLd.mjs} +6 -6
- package/dist/{native-xcode-inputs-DUv7Q3ok.mjs → native-xcode-inputs-BHvnAq4o.mjs} +2 -2
- package/dist/{native-xcode-ios-DXcteLVi.mjs → native-xcode-ios-CYxrg_kK.mjs} +15 -15
- package/dist/offload-worker.mjs +19 -18
- package/dist/{ownership-CQTg6v1d.mjs → ownership-BLgOimfp.mjs} +2 -2
- package/dist/{phone-reverses-CHtco460.mjs → phone-reverses-vRveZKSG.mjs} +3 -3
- package/dist/{placement-log-oQnELAvQ.mjs → placement-log-CM0DSELs.mjs} +1 -1
- package/dist/{plan-placement-45EOlIG1.mjs → plan-placement-CIrvKq8y.mjs} +5 -5
- package/dist/{ports-DKO7EUNt.mjs → ports-CKORWlC0.mjs} +2 -2
- package/dist/{project-BCtQz48d.mjs → project-DIo71tGq.mjs} +14 -14
- package/dist/{react-native-android-MI4ktuhL.mjs → react-native-android-B7VYSlKj.mjs} +36 -27
- package/dist/{react-native-build-dixAL2G8.mjs → react-native-build-CFYTYmG4.mjs} +10 -7
- package/dist/{react-native-doctor-CvkWincj.mjs → react-native-doctor-CnpVfE0k.mjs} +5 -5
- package/dist/{react-native-ios-DF5otoBR.mjs → react-native-ios-ByeXo_NP.mjs} +15 -14
- package/dist/{recorded-build-CGHGCO8m.mjs → recorded-build-B4prJjSD.mjs} +1 -1
- package/dist/{recordings-BcOzqFD1.mjs → recordings-Byu5SzlI.mjs} +1 -1
- package/dist/{reload-DWxmO9dY.mjs → reload-DANrKhQR.mjs} +1 -1
- package/dist/{reload-DGWfNFwQ.mjs → reload-DTd9g1EG.mjs} +13 -13
- package/dist/{remote-DWYGW2f5.mjs → remote-BWuq9qHV.mjs} +3 -3
- package/dist/{remote-CV2jBcLv.mjs → remote-NOM82XE0.mjs} +8 -8
- package/dist/{result-CWyxwPvZ.mjs → result-C-ISEJ5F.mjs} +15 -15
- package/dist/{run-FZtMQgrx.mjs → run-DQwx6djG.mjs} +1 -1
- package/dist/{server-bare-Ksh1NKeI.mjs → server-bare-B_wRfchQ.mjs} +1 -1
- package/dist/{server-command-BO2DIsJV.mjs → server-command-DgXYowQf.mjs} +5 -5
- package/dist/{server-expo-ZS9_WaNG.mjs → server-expo-ByBM8DVv.mjs} +9 -7
- package/dist/server-expo-D7rwjAFp.mjs +2 -0
- package/dist/{settings-TYrzDh8T.mjs → settings-BthPoY3t.mjs} +2 -2
- package/dist/{settings-Ag4pbs0z.mjs → settings-Cz8kQJzr.mjs} +44 -8
- package/dist/{settings-payload-CUM0DYwz.mjs → settings-payload-BOcxsZ6k.mjs} +2 -2
- package/dist/{settings-write-D_9_IEx7.mjs → settings-write-BuMPL1rd.mjs} +3 -3
- package/dist/settings.schema.json +32 -2
- package/dist/{slot-launch-DW_29Bmu.mjs → slot-launch-BIm9w8kH.mjs} +5 -5
- package/dist/{stage-_8k8p7uq.mjs → stage-CX1Byp3n.mjs} +5 -4
- package/dist/{start-CdgtOksb.mjs → start-BZWr85b2.mjs} +1 -1
- package/dist/{start-CzBB5R7N.mjs → start-DI0ofPO-.mjs} +8 -8
- package/dist/{state-DsrFh3yv.mjs → state-45P8Kd6Z.mjs} +1 -1
- package/dist/{state-CfP-ccP8.mjs → state-C2vELPyr.mjs} +2 -2
- package/dist/{stats-BgTyuzib.mjs → stats-BDljWVWU.mjs} +3 -3
- package/dist/{status-C7Zzb-Eh.mjs → status-BG2S-a1d.mjs} +1 -1
- package/dist/{status-Bcdy5eHt.mjs → status-DEZjHP4q.mjs} +27 -29
- package/dist/{status-watch-DY0EZcmg.mjs → status-watch-Cs18eFkQ.mjs} +4 -4
- package/dist/status-worker.mjs +1 -1
- package/dist/{stop-iGkvEvDn.mjs → stop-B2zDplJa.mjs} +2 -2
- package/dist/{stop-CkmBkNyg.mjs → stop-BPrTEOaz.mjs} +14 -14
- package/dist/{stop-CbxsTKyZ.mjs → stop-DrxHVVX9.mjs} +4 -4
- package/dist/supervisor-run.mjs +11 -11
- package/dist/{support-CfYmOdQs.mjs → support-BeVRaMWT.mjs} +9 -9
- package/dist/{support-JZ4KRW0C.mjs → support-DBKG3Yyb.mjs} +5 -5
- package/dist/{swiftpm-artifact-inputs-C1rZDRDs.mjs → swiftpm-artifact-inputs-CfNAb6Vm.mjs} +1 -1
- package/dist/{swiftpm-macos-DRTjC7Ff.mjs → swiftpm-macos-xdHjJHIj.mjs} +7 -7
- package/dist/toolchain-CTsPS5tL.mjs +2 -0
- package/dist/{toolchain-BeD7tbBW.mjs → toolchain-CZvtCZ-m.mjs} +9 -6
- package/dist/{warm-progress-CJQ8tk5O.mjs → warm-progress-D3a0KviW.mjs} +17 -13
- package/dist/{web-BXbmysa1.mjs → web-BvAweypa.mjs} +6 -6
- package/dist/web-DDL3usMb.mjs +2 -0
- package/dist/web-run.mjs +4 -4
- package/dist/{workspace-state-DOPXG2Gp.mjs → workspace-state-CHEN_xzy.mjs} +1 -1
- package/dist/{workspaces-DCzDzydB.mjs → workspaces-BgAYIccE.mjs} +213 -50
- package/dist/{worktree-6ngObKkw.mjs → worktree-C0YZ6mnk.mjs} +1 -1
- package/dist/{worktree-BAC43Kio.mjs → worktree-kGPE9Pcw.mjs} +335 -33
- package/package.json +7 -7
- package/dist/server-expo-9hQwyLze.mjs +0 -2
- package/dist/toolchain-CNlKc9pH.mjs +0 -2
- package/dist/web-BcaySU05.mjs +0 -2
|
@@ -1,38 +1,41 @@
|
|
|
1
|
-
import { C as operationState, D as ownership_claim_exports, T as process_identity_exports, _ as declareSpawnsOn, f as WorkspaceProcessCleanupError, n as isTimeoutError, t as getExecutor, x as stopDeclaringSpawnsOn } from "./exec-L37dbiIb.mjs";
|
|
2
|
-
import { E as workspaceDir, a as recordWorkspaceUseAsync, l as withWorkspaceStateLockAsync, r as readWorkspaceState$1, w as workspaceAgentDeviceDir } from "./workspace-state-
|
|
3
|
-
import {
|
|
1
|
+
import { C as operationState, D as ownership_claim_exports, T as process_identity_exports, _ as declareSpawnsOn, b as spawnDeclared, f as WorkspaceProcessCleanupError, n as isTimeoutError, t as getExecutor, x as stopDeclaringSpawnsOn } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { E as workspaceDir, a as recordWorkspaceUseAsync, l as withWorkspaceStateLockAsync, o as updateWorkspaceState, r as readWorkspaceState$1, w as workspaceAgentDeviceDir } from "./workspace-state-CHEN_xzy.mjs";
|
|
3
|
+
import { n as stripAnsi, r as waitForChild, t as createLineReader } from "./process-output-Fpl8PYi8.mjs";
|
|
4
|
+
import { a as formatElapsed, h as shortUdid, i as formatDuration, l as phaseLine, m as shortHash, p as releasedLeaseFact, u as plural } from "./command-output-DsjhOzJ3.mjs";
|
|
4
5
|
import { A as withConfigLockAsync$1, C as removeProject, N as acquireAvdClaim, O as upsertProject, _ as isPathPrefix$1, a as clearDevice, at as isAbsentPath, ct as measuredDirectorySizeAsync, d as getConfigDir, gt as projectDeviceSlots, lt as volumeRootFor, m as getProject, ot as isOnMountedVolume, st as listMountedVolumes, v as loadConfig$1 } from "./config-CNmN-ndb.mjs";
|
|
5
6
|
import { c as gitQuiet, l as gitQuietAsync, o as git, r as childEnvironment, s as gitAsync, t as runOperationFile } from "./operation-exec-DNynwpqO.mjs";
|
|
6
|
-
import { Ct as gitCommonDirOnDisk, Dt as isPodInstallChurn, Et as hasUncommittedWorkAsync, Ft as matchWorktreeEntry, Gt as restoreFileAsync, Ht as resolveFullRef, It as nativeCanonicalPath, Jt as warmWorktreePaths, Kt as sourceCheckoutOf, Lt as podsOutOfSync, Mt as locallyKnownUpstream, Q as resolveSettings, Rt as readWorktreeExclude, St as gitCommonDirAsync, Tt as hasRemoteAsync, Ut as resolveFullRefAsync, V as readCommittedSettings, X as resolveProjectSettings, Y as resolveIosProjectDir, _ as inertSettingWarning, _t as deleteBranchAsync, a as SETTING_SHAPE_REMEDY, bt as dirtyPathsAsync, gt as cloneIgnoredEntries, ht as branchExistsAsync, jt as listWorktreesAsync, nn as moveIgnoredTreesToTrash, qt as unpushedCommitsAsync, rn as restoreTrashedTrees, rt as settingShapeErrors, st as unknownSettingKeys, tn as disposeTrash, vt as depsOutOfSync, wt as hasPopulatedSubmodulesAsync, zt as removeWorktreeAsync } from "./settings-
|
|
7
|
-
import { F as readRemoteSessionId, M as readMetroTunnel, O as clearManagedMetroTunnel, P as readRemoteSession, T as MODE_COMMAND, i as findProjectRoot$1, k as clearRemoteSession, o as isMobileProject } from "./project-
|
|
8
|
-
import { t as macosAppPresent } from "./state-
|
|
7
|
+
import { Ct as gitCommonDirOnDisk, Dt as isPodInstallChurn, Et as hasUncommittedWorkAsync, Ft as matchWorktreeEntry, Gt as restoreFileAsync, Ht as resolveFullRef, It as nativeCanonicalPath, Jt as warmWorktreePaths, Kt as sourceCheckoutOf, Lt as podsOutOfSync, Mt as locallyKnownUpstream, Q as resolveSettings, Rt as readWorktreeExclude, St as gitCommonDirAsync, Tt as hasRemoteAsync, Ut as resolveFullRefAsync, V as readCommittedSettings, X as resolveProjectSettings, Y as resolveIosProjectDir, _ as inertSettingWarning, _t as deleteBranchAsync, a as SETTING_SHAPE_REMEDY, bt as dirtyPathsAsync, gt as cloneIgnoredEntries, ht as branchExistsAsync, jt as listWorktreesAsync, nn as moveIgnoredTreesToTrash, q as resolveAndroidLayout, qt as unpushedCommitsAsync, rn as restoreTrashedTrees, rt as settingShapeErrors, st as unknownSettingKeys, tn as disposeTrash, vt as depsOutOfSync, wt as hasPopulatedSubmodulesAsync, zt as removeWorktreeAsync } from "./settings-Cz8kQJzr.mjs";
|
|
8
|
+
import { F as readRemoteSessionId, M as readMetroTunnel, O as clearManagedMetroTunnel, P as readRemoteSession, T as MODE_COMMAND, i as findProjectRoot$1, k as clearRemoteSession, o as isMobileProject, v as detectIsExpo } from "./project-DIo71tGq.mjs";
|
|
9
|
+
import { t as macosAppPresent } from "./state-45P8Kd6Z.mjs";
|
|
9
10
|
import { a as workspaceLinkLine, o as workspaceLinks } from "./stim-desktop-DWGAfaud.mjs";
|
|
10
|
-
import { bt as parkedMaxSetting, mt as POOL_SETTING_REMEDY } from "./android-
|
|
11
|
-
import { c as pidExists, d as resolveProjectMetro, p as signalProcessTreeAsync, r as killMetroTreeAsync } from "./metro-
|
|
12
|
-
import { I as readVolumeSpace, J as requestDevServerStop, L as readVolumeSpaceAsync,
|
|
13
|
-
import { o as readWebRecord } from "./state-
|
|
14
|
-
import {
|
|
15
|
-
import { t as canonicalPath } from "./paths-BsJMoPP2.mjs";
|
|
16
|
-
import { C as DEPS_ERROR, E as readPodState, M as HEARTBEAT_INTERVAL_MS, O as runCaptured, T as podsAreStale, X as podInstallCommand, k as runPodInstall, yt as cacheUser } from "./toolchain-BeD7tbBW.mjs";
|
|
17
|
-
import { D as releaseWorkspaceLeases, t as agentDeviceDaemon } from "./activity-CdpXXSq2.mjs";
|
|
18
|
-
import { R as readHostMemoryPressure, z as readHostMemoryPressureAsync } from "./ios-BveW7qK1.mjs";
|
|
19
|
-
import { t as clearNamedPorts } from "./named-ports-BfEMi9bK.mjs";
|
|
11
|
+
import { bt as parkedMaxSetting, mt as POOL_SETTING_REMEDY } from "./android-27_JgJ1T.mjs";
|
|
12
|
+
import { c as pidExists, d as resolveProjectMetro, p as signalProcessTreeAsync, r as killMetroTreeAsync } from "./metro-Cj6W4qOO.mjs";
|
|
13
|
+
import { I as readVolumeSpace, J as requestDevServerStop, L as readVolumeSpaceAsync, P as machineNumber, Qt as endRecordedSession, R as resolveBudget, X as withdrawDevServerStopRequest, Z as diskPressureLevel, cr as remoteCliInvocation, et as lowestFree, ir as resolveEasCliBin, jr as discoverCaches, pt as planCacheEmptying, qn as runProcessOperation } from "./device-capacity-D_IlxZRL.mjs";
|
|
14
|
+
import { o as readWebRecord } from "./state-C2vELPyr.mjs";
|
|
15
|
+
import { D as withManagedRemoteWorktreeRemovalLock, _ as emptyWorkspaceDir, gt as teardownOwnedIosSim, ht as teardownOwnedBrowser, k as withManagedTunnelRemovalLock, mt as teardownOwnedAvd, o as collectWorkspaceOutputs, v as withIdleWorkspace, w as stopTunnel, x as resolveSupervisorTarget } from "./workspaces-BgAYIccE.mjs";
|
|
20
16
|
import { t as resolveMaintenanceSettings } from "./settings-D9LtQaUw.mjs";
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
17
|
+
import { t as canonicalPath } from "./paths-BsJMoPP2.mjs";
|
|
18
|
+
import { C as readPodState, E as runPodInstall, S as podsAreStale, T as runCaptured, b as DEPS_ERROR, gt as cacheUser, k as HEARTBEAT_INTERVAL_MS, q as podInstallCommand } from "./toolchain-CZvtCZ-m.mjs";
|
|
19
|
+
import { D as releaseWorkspaceLeases, t as agentDeviceDaemon } from "./activity-CANftndU.mjs";
|
|
20
|
+
import { g as fingerprintProject } from "./build-cache-CJ65Efv7.mjs";
|
|
21
|
+
import { R as readHostMemoryPressure, z as readHostMemoryPressureAsync } from "./ios-DQEzde6f.mjs";
|
|
22
|
+
import { i as expoBinRefusal, o as expoSdkMajor, r as expoBinPath, s as expoTelemetryEnv } from "./server-expo-ByBM8DVv.mjs";
|
|
23
|
+
import { t as clearNamedPorts } from "./named-ports-DZ8DrkH1.mjs";
|
|
24
|
+
import { i as stopHostedAndroid } from "./hosted-android-gwLspaz6.mjs";
|
|
25
|
+
import { a as stopHostedIos, n as removePhoneReverses } from "./phone-reverses-vRveZKSG.mjs";
|
|
26
|
+
import { r as stopMacosApp } from "./stop-DrxHVVX9.mjs";
|
|
27
|
+
import { n as verifyCollectorOwnership } from "./ownership-BLgOimfp.mjs";
|
|
25
28
|
import { o as pullRequestLookupAsync, r as endedPullRequest } from "./pull-request-m8cMZ3aE.mjs";
|
|
26
|
-
import { c as mergeStateAsync, d as forgetStatusMeasures, t as startWarmProgress } from "./warm-progress-
|
|
27
|
-
import { r as workspaceRecordingEnabled } from "./recordings-
|
|
28
|
-
import { i as installedNpmTreeProblems, n as hasInstalledDependencies, t as dependencyState } from "./dependency-state-
|
|
29
|
-
import { a as discoverXcodeProject } from "./react-native-build-
|
|
29
|
+
import { c as mergeStateAsync, d as forgetStatusMeasures, t as startWarmProgress } from "./warm-progress-D3a0KviW.mjs";
|
|
30
|
+
import { r as workspaceRecordingEnabled } from "./recordings-Byu5SzlI.mjs";
|
|
31
|
+
import { i as installedNpmTreeProblems, n as hasInstalledDependencies, t as dependencyState } from "./dependency-state-CBhPJAs_.mjs";
|
|
32
|
+
import { a as discoverXcodeProject } from "./react-native-build-CFYTYmG4.mjs";
|
|
30
33
|
import { claimRemoveCommand, clearFreeClaimSet, readClaimSet, releaseClaim, tryAcquireClaim } from "@stim-cli/core/ownership-claim";
|
|
31
34
|
import { createHash, randomUUID } from "node:crypto";
|
|
32
35
|
import { existsSync, mkdirSync, readFileSync, readdirSync, realpathSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
33
36
|
import { cpus, freemem, homedir, loadavg, totalmem } from "node:os";
|
|
34
37
|
import { basename, dirname, isAbsolute, join, relative } from "node:path";
|
|
35
|
-
import { buildCacheRoot, configDir, metroCacheRoot, quotedPath, unitLines, unitWords, withDirLockTransaction, workspaceName } from "@stim-cli/core";
|
|
38
|
+
import { ambientContext, buildCacheRoot, configDir, metroCacheRoot, quotedPath, unitLines, unitWords, withDirLockTransaction, workspaceName } from "@stim-cli/core";
|
|
36
39
|
import { LAST_BUILD_KEYS, archiveDir, archiveEnabled, archiveLock, archiveRoot, archivedUsage, buildWorkerRoot, countErrorEntries, endedAgentSessionOf, isJsonObject, isPathPrefix, listRecordedDevicesAsync, loadConfig, queryLogs, readArchivesAsync, readBuildHistory, readJsonObject, readLastBuilds, readMacosRecord, readPullRequestCache, readWorkspaceState, recordingEnabled, sharedCcache, sharedCompilationCache, sortByTs, trace, worktreeArchiveRoot } from "@stim-cli/core/state";
|
|
37
40
|
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";
|
|
38
41
|
import chalk from "chalk";
|
|
@@ -79,12 +82,6 @@ function sha1(text) {
|
|
|
79
82
|
function relocatePath(text, from, to) {
|
|
80
83
|
return text.replace(pathPattern(from, "g"), () => to);
|
|
81
84
|
}
|
|
82
|
-
/**
|
|
83
|
-
* Decides whether a carried Pods directory differs from the checkout's Podfile.lock only by
|
|
84
|
-
* checksums of podspecs that embed the source checkout's absolute path. Any other difference,
|
|
85
|
-
* a missing podspec, a podspec that does not embed the path, or a carried checksum that does
|
|
86
|
-
* not match the carried podspec refuses.
|
|
87
|
-
*/
|
|
88
85
|
function planPodsRelocation({ podfileLock, manifest, sourceRoot, readPodspec }) {
|
|
89
86
|
const lock = splitChecksums(normalize$1(podfileLock));
|
|
90
87
|
const carried = splitChecksums(normalize$1(manifest));
|
|
@@ -222,6 +219,291 @@ function relocatePods({ podsDir, podfileLockPath, sourceRoot, targetRoot, canRel
|
|
|
222
219
|
};
|
|
223
220
|
}
|
|
224
221
|
//#endregion
|
|
222
|
+
//#region src/engine/prebuild.ts
|
|
223
|
+
const PREBUILD_ERROR = "STIM_PREBUILD_FAILED";
|
|
224
|
+
const LAST_LINES = 20;
|
|
225
|
+
function nativeDirName(platform) {
|
|
226
|
+
return platform === "android" ? "android" : "ios";
|
|
227
|
+
}
|
|
228
|
+
function nativeDir(root, platform) {
|
|
229
|
+
return join(root, nativeDirName(platform));
|
|
230
|
+
}
|
|
231
|
+
function nativeDirInFingerprint(sources, platform) {
|
|
232
|
+
const dir = nativeDirName(platform);
|
|
233
|
+
return sources.some((source) => source.type === "dir" && source.filePath === dir && source.hash != null);
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* @expo/fingerprint leaves a native directory out of the hash when git ignores it (CNG), so the cache
|
|
237
|
+
* key only covers that directory when this workspace's recorded prebuild ran on the same fingerprint.
|
|
238
|
+
*/
|
|
239
|
+
function prebuildAction({ isExpo, nativeDirExists, nativeDirFingerprinted, nativeDirTracked, generatedFrom, fingerprint }) {
|
|
240
|
+
if (!isExpo) return "none";
|
|
241
|
+
if (!nativeDirExists) return "generate";
|
|
242
|
+
if (nativeDirFingerprinted || generatedFrom === fingerprint) return "none";
|
|
243
|
+
return nativeDirTracked ? "refuse" : "regenerate";
|
|
244
|
+
}
|
|
245
|
+
function prebuildRecord(state) {
|
|
246
|
+
const record = state?.prebuild;
|
|
247
|
+
return record && typeof record === "object" ? record : {};
|
|
248
|
+
}
|
|
249
|
+
function unreadableGitTracksNativeDir(error) {
|
|
250
|
+
if (error instanceof Error && "code" in error && error.code === "ENOENT") return false;
|
|
251
|
+
return !/not a git repository \(or any (of the parent directories|parent up to mount point)/.test(error instanceof Error ? error.message : String(error));
|
|
252
|
+
}
|
|
253
|
+
function gitTracksNativeDir(root, platform) {
|
|
254
|
+
try {
|
|
255
|
+
return git(root, [
|
|
256
|
+
"ls-files",
|
|
257
|
+
"--",
|
|
258
|
+
nativeDirName(platform)
|
|
259
|
+
], { env: {
|
|
260
|
+
LC_ALL: "C",
|
|
261
|
+
LANGUAGE: "C"
|
|
262
|
+
} }).trim() !== "";
|
|
263
|
+
} catch (error) {
|
|
264
|
+
return unreadableGitTracksNativeDir(error);
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
function prebuildInputs(root, platform, { isExpo, fingerprint, sources }) {
|
|
268
|
+
const nativeDirExists = existsSync(nativeDir(root, platform));
|
|
269
|
+
const fingerprinted = nativeDirInFingerprint(sources, platform);
|
|
270
|
+
const generatedFrom = prebuildRecord(readWorkspaceState$1(root))[platform];
|
|
271
|
+
return {
|
|
272
|
+
isExpo,
|
|
273
|
+
nativeDirExists,
|
|
274
|
+
nativeDirFingerprinted: fingerprinted,
|
|
275
|
+
generatedFrom: typeof generatedFrom === "string" ? generatedFrom : null,
|
|
276
|
+
fingerprint
|
|
277
|
+
};
|
|
278
|
+
}
|
|
279
|
+
function planPrebuild(root, platform, options) {
|
|
280
|
+
const inputs = prebuildInputs(root, platform, options);
|
|
281
|
+
return prebuildAction({
|
|
282
|
+
...inputs,
|
|
283
|
+
nativeDirTracked: inputs.nativeDirExists && !inputs.nativeDirFingerprinted && gitTracksNativeDir(root, platform)
|
|
284
|
+
});
|
|
285
|
+
}
|
|
286
|
+
async function planPrebuildAsync(root, platform, options, signal) {
|
|
287
|
+
signal?.throwIfAborted();
|
|
288
|
+
const untracked = prebuildAction({
|
|
289
|
+
...prebuildInputs(root, platform, options),
|
|
290
|
+
nativeDirTracked: false
|
|
291
|
+
});
|
|
292
|
+
if (untracked !== "regenerate") return untracked;
|
|
293
|
+
let tracked;
|
|
294
|
+
try {
|
|
295
|
+
tracked = (await gitAsync(root, [
|
|
296
|
+
"ls-files",
|
|
297
|
+
"--",
|
|
298
|
+
nativeDirName(platform)
|
|
299
|
+
], {
|
|
300
|
+
env: {
|
|
301
|
+
LC_ALL: "C",
|
|
302
|
+
LANGUAGE: "C"
|
|
303
|
+
},
|
|
304
|
+
signal
|
|
305
|
+
})).trim() !== "";
|
|
306
|
+
} catch (error) {
|
|
307
|
+
signal?.throwIfAborted();
|
|
308
|
+
tracked = unreadableGitTracksNativeDir(error);
|
|
309
|
+
}
|
|
310
|
+
return tracked ? "refuse" : "regenerate";
|
|
311
|
+
}
|
|
312
|
+
function recordPrebuild(root, platform, fingerprint) {
|
|
313
|
+
updateWorkspaceState(root, (state) => ({
|
|
314
|
+
...state,
|
|
315
|
+
prebuild: {
|
|
316
|
+
...prebuildRecord(state),
|
|
317
|
+
[platform]: fingerprint
|
|
318
|
+
}
|
|
319
|
+
}));
|
|
320
|
+
}
|
|
321
|
+
/** Records the prebuild fingerprint after waiting for the workspace state lock without blocking the event loop. */
|
|
322
|
+
function recordPrebuildAsync(root, platform, fingerprint) {
|
|
323
|
+
return withWorkspaceStateLockAsync(root, () => recordPrebuild(root, platform, fingerprint));
|
|
324
|
+
}
|
|
325
|
+
/**
|
|
326
|
+
* Whether a worktree may carry `appRoot`'s gitignored native directory: only when Stim's prebuild record there equals
|
|
327
|
+
* the app's current native fingerprint. A directory Stim did not generate, or generated from other inputs, may come
|
|
328
|
+
* from an older Expo or React Native template that a prebuild without --clean keeps.
|
|
329
|
+
*/
|
|
330
|
+
async function nativeDirCarry(appRoot, platform) {
|
|
331
|
+
const dir = nativeDirName(platform);
|
|
332
|
+
const regenerates = `stim ${platform} generates ${dir}/ fresh here`;
|
|
333
|
+
const recorded = prebuildRecord(readWorkspaceState$1(appRoot))[platform];
|
|
334
|
+
if (typeof recorded !== "string") return { reason: recorded === null ? `the source's last Stim prebuild of ${dir}/ did not finish; ${regenerates}` : `Stim has no record of generating the source's ${dir}/, so it cannot show the directory is current; ${regenerates}` };
|
|
335
|
+
let settings = null;
|
|
336
|
+
let repoRoot = appRoot;
|
|
337
|
+
try {
|
|
338
|
+
const resolved = resolveProjectSettings(appRoot);
|
|
339
|
+
settings = resolved.settings;
|
|
340
|
+
repoRoot = resolved.context.repoRoot ?? appRoot;
|
|
341
|
+
} catch {}
|
|
342
|
+
let current = null;
|
|
343
|
+
try {
|
|
344
|
+
current = (await fingerprintProject(appRoot, platform === "ios" ? {
|
|
345
|
+
platform,
|
|
346
|
+
iosProjectPath: resolveIosProjectDir(settings, appRoot).relative
|
|
347
|
+
} : {
|
|
348
|
+
platform,
|
|
349
|
+
androidLayout: resolveAndroidLayout(settings, appRoot, repoRoot)
|
|
350
|
+
}))?.hash ?? null;
|
|
351
|
+
} catch {}
|
|
352
|
+
if (current === recorded) return { generatedFrom: recorded };
|
|
353
|
+
return { reason: current ? `the source's ${dir}/ was generated from fingerprint ${shortHash(recorded)}, and the source is now ${shortHash(current)}; ${regenerates}` : `could not fingerprint the source to check its ${dir}/; ${regenerates}` };
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* @expo/cli 57 made `expo prebuild` delete existing native folders by default and added `--no-clean`
|
|
357
|
+
* to keep them (expo/expo#47209); earlier CLIs keep them by default and reject `--no-clean`.
|
|
358
|
+
*/
|
|
359
|
+
function keepNativeDirArgs(root) {
|
|
360
|
+
return (expoSdkMajor(root) ?? 0) >= 57 ? ["--no-clean"] : [];
|
|
361
|
+
}
|
|
362
|
+
function staleNativeDirRemedy(platform) {
|
|
363
|
+
const dir = nativeDirName(platform);
|
|
364
|
+
return `Fix what the output above reports. Stim ran \`expo prebuild\` over the existing ${dir}/ without deleting it, which keeps what earlier config plugins wrote there. If ${dir}/ predates a removed config plugin or an Expo SDK upgrade, delete ${dir}/ and run again so Stim generates it fresh.`;
|
|
365
|
+
}
|
|
366
|
+
function staleNativeDirRefusal(platform) {
|
|
367
|
+
const dir = nativeDirName(platform);
|
|
368
|
+
return {
|
|
369
|
+
code: PREBUILD_ERROR,
|
|
370
|
+
message: `The fingerprint leaves ${dir}/ out of the cache key, and Stim cannot show that ${dir}/ was generated from the current app config. Git tracks files in it, or could not say whether it does, so Stim will not run \`expo prebuild\` over it.`,
|
|
371
|
+
remedy: `Stop excluding ${dir}/ from the fingerprint (check .fingerprintignore) so the cache key covers its files, or add ${dir}/ to .gitignore and untrack it so Stim regenerates it from the app config.`
|
|
372
|
+
};
|
|
373
|
+
}
|
|
374
|
+
function prebuildRefusal({ isExpo, platform, nativeDirExists }) {
|
|
375
|
+
if (nativeDirExists || isExpo) return null;
|
|
376
|
+
const dir = nativeDirName(platform);
|
|
377
|
+
return {
|
|
378
|
+
code: PREBUILD_ERROR,
|
|
379
|
+
message: `This project has no ${dir}/ directory and is not an Expo (CNG) project, so Stim cannot generate one.`,
|
|
380
|
+
remedy: `Check out or generate the native project (\`npx @react-native-community/cli init\` produced one originally), or add \`expo\` to the project so \`expo prebuild\` can create ${dir}/.`
|
|
381
|
+
};
|
|
382
|
+
}
|
|
383
|
+
function prebuildFailure(logWriter, result) {
|
|
384
|
+
logWriter?.write?.({
|
|
385
|
+
src: "build",
|
|
386
|
+
level: "error",
|
|
387
|
+
msg: result.reason || "Expo prebuild failed.",
|
|
388
|
+
event: "prebuild_failed"
|
|
389
|
+
});
|
|
390
|
+
return result;
|
|
391
|
+
}
|
|
392
|
+
async function runPrebuild(root, platform, logWriter, { spawnFn = null, now = Date.now, isExpo = null, clean = false } = {}) {
|
|
393
|
+
const dirExists = existsSync(nativeDir(root, platform));
|
|
394
|
+
const refusal = prebuildRefusal({
|
|
395
|
+
isExpo: isExpo === null ? detectIsExpo(root) : isExpo,
|
|
396
|
+
platform,
|
|
397
|
+
nativeDirExists: dirExists
|
|
398
|
+
});
|
|
399
|
+
if (refusal) return prebuildFailure(logWriter, {
|
|
400
|
+
failed: true,
|
|
401
|
+
code: refusal.code,
|
|
402
|
+
reason: refusal.message,
|
|
403
|
+
remedy: refusal.remedy,
|
|
404
|
+
error: refusal,
|
|
405
|
+
lastLines: []
|
|
406
|
+
});
|
|
407
|
+
const bin = expoBinPath(root);
|
|
408
|
+
if (!bin) {
|
|
409
|
+
const binRefusal = expoBinRefusal(root, "prebuild");
|
|
410
|
+
return prebuildFailure(logWriter, {
|
|
411
|
+
failed: true,
|
|
412
|
+
code: PREBUILD_ERROR,
|
|
413
|
+
reason: binRefusal.message,
|
|
414
|
+
remedy: binRefusal.remedy,
|
|
415
|
+
lastLines: []
|
|
416
|
+
});
|
|
417
|
+
}
|
|
418
|
+
const spawn = spawnFn || ((cmd, args, opts) => getExecutor().spawn(cmd, args, opts));
|
|
419
|
+
const startedAt = now();
|
|
420
|
+
const tail = [];
|
|
421
|
+
const push = (line) => {
|
|
422
|
+
const msg = stripAnsi(String(line)).trimEnd();
|
|
423
|
+
if (!msg.trim()) return;
|
|
424
|
+
tail.push(msg);
|
|
425
|
+
if (tail.length > LAST_LINES) tail.shift();
|
|
426
|
+
logWriter?.write?.({
|
|
427
|
+
src: "build",
|
|
428
|
+
level: "debug",
|
|
429
|
+
msg,
|
|
430
|
+
raw: true,
|
|
431
|
+
event: "prebuild"
|
|
432
|
+
});
|
|
433
|
+
};
|
|
434
|
+
let child;
|
|
435
|
+
try {
|
|
436
|
+
const invocation = remoteCliInvocation(bin, [
|
|
437
|
+
"prebuild",
|
|
438
|
+
"-p",
|
|
439
|
+
platform,
|
|
440
|
+
"--no-install",
|
|
441
|
+
...clean ? ["--clean"] : dirExists ? keepNativeDirArgs(root) : []
|
|
442
|
+
], "expo");
|
|
443
|
+
child = spawnDeclared(ambientContext(), () => spawn(invocation.file, invocation.args, {
|
|
444
|
+
cwd: root,
|
|
445
|
+
stdio: [
|
|
446
|
+
"ignore",
|
|
447
|
+
"pipe",
|
|
448
|
+
"pipe"
|
|
449
|
+
],
|
|
450
|
+
env: {
|
|
451
|
+
...ambientContext()?.env ?? process.env,
|
|
452
|
+
...expoTelemetryEnv(ambientContext()?.env ?? process.env),
|
|
453
|
+
FORCE_COLOR: "0",
|
|
454
|
+
CI: "1"
|
|
455
|
+
}
|
|
456
|
+
}));
|
|
457
|
+
} catch (err) {
|
|
458
|
+
return prebuildFailure(logWriter, {
|
|
459
|
+
failed: true,
|
|
460
|
+
code: PREBUILD_ERROR,
|
|
461
|
+
reason: `Could not run \`expo prebuild\`: ${err?.message || err}`,
|
|
462
|
+
lastLines: []
|
|
463
|
+
});
|
|
464
|
+
}
|
|
465
|
+
const outReader = createLineReader(push);
|
|
466
|
+
const errReader = createLineReader(push);
|
|
467
|
+
child.stdout?.setEncoding?.("utf-8");
|
|
468
|
+
child.stderr?.setEncoding?.("utf-8");
|
|
469
|
+
child.stdout?.on("data", (chunk) => outReader.push(chunk));
|
|
470
|
+
child.stderr?.on("data", (chunk) => errReader.push(chunk));
|
|
471
|
+
const result = await waitForChild(child);
|
|
472
|
+
outReader.flush();
|
|
473
|
+
errReader.flush();
|
|
474
|
+
const durationMs = now() - startedAt;
|
|
475
|
+
if (result.error) return prebuildFailure(logWriter, {
|
|
476
|
+
failed: true,
|
|
477
|
+
code: PREBUILD_ERROR,
|
|
478
|
+
reason: `Could not run \`expo prebuild\`: ${result.error?.message || result.error}`,
|
|
479
|
+
lastLines: tail.slice(),
|
|
480
|
+
durationMs
|
|
481
|
+
});
|
|
482
|
+
if (result.code !== 0) {
|
|
483
|
+
const how = result.signal ? `signal ${result.signal}` : `exit code ${result.code}`;
|
|
484
|
+
return prebuildFailure(logWriter, {
|
|
485
|
+
failed: true,
|
|
486
|
+
code: PREBUILD_ERROR,
|
|
487
|
+
reason: `\`expo prebuild -p ${platform}\` failed (${how}).`,
|
|
488
|
+
...dirExists && !clean ? { remedy: staleNativeDirRemedy(platform) } : {},
|
|
489
|
+
lastLines: tail.slice(),
|
|
490
|
+
durationMs
|
|
491
|
+
});
|
|
492
|
+
}
|
|
493
|
+
if (!existsSync(nativeDir(root, platform))) return prebuildFailure(logWriter, {
|
|
494
|
+
failed: true,
|
|
495
|
+
code: PREBUILD_ERROR,
|
|
496
|
+
reason: `\`expo prebuild -p ${platform}\` succeeded but did not create ${nativeDirName(platform)}/.`,
|
|
497
|
+
lastLines: tail.slice(),
|
|
498
|
+
durationMs
|
|
499
|
+
});
|
|
500
|
+
return {
|
|
501
|
+
ok: true,
|
|
502
|
+
durationMs,
|
|
503
|
+
nativeDir: nativeDir(root, platform)
|
|
504
|
+
};
|
|
505
|
+
}
|
|
506
|
+
//#endregion
|
|
225
507
|
//#region src/archive.ts
|
|
226
508
|
const DAY = 864e5;
|
|
227
509
|
const KINDS = [
|
|
@@ -2880,6 +3162,18 @@ function relocateCarriedPods(root, target, copied, out) {
|
|
|
2880
3162
|
}
|
|
2881
3163
|
}
|
|
2882
3164
|
}
|
|
3165
|
+
function checkNativeDir(root, generatedFrom) {
|
|
3166
|
+
return (rel) => {
|
|
3167
|
+
const platform = basename$1(rel);
|
|
3168
|
+
const app = join$1(root, dirname$1(rel));
|
|
3169
|
+
if (platform !== "ios" && platform !== "android" || !detectIsExpo(app)) return null;
|
|
3170
|
+
return nativeDirCarry(app, platform).then((carry) => {
|
|
3171
|
+
if ("reason" in carry) return carry.reason;
|
|
3172
|
+
generatedFrom.set(rel, carry.generatedFrom);
|
|
3173
|
+
return null;
|
|
3174
|
+
});
|
|
3175
|
+
};
|
|
3176
|
+
}
|
|
2883
3177
|
function reportCarriedStateHealth(root, target, copied, out) {
|
|
2884
3178
|
const outOfSync = depsOutOfSync(root, target, copied);
|
|
2885
3179
|
for (const d of outOfSync.filter((dependency) => dependency.reason === "installed")) {
|
|
@@ -3037,13 +3331,21 @@ async function warmWorktreeTarget(opts) {
|
|
|
3037
3331
|
}
|
|
3038
3332
|
const excluded = readWorktreeExclude(root);
|
|
3039
3333
|
const patterns = excluded?.length ? excluded : settings.worktree?.exclude || [];
|
|
3334
|
+
const generatedFrom = /* @__PURE__ */ new Map();
|
|
3040
3335
|
const result = await trace.spanAsync("carry ignored entries", () => cloneIgnoredEntries({
|
|
3041
3336
|
root,
|
|
3042
3337
|
target,
|
|
3043
3338
|
patterns,
|
|
3044
|
-
operation
|
|
3339
|
+
operation,
|
|
3340
|
+
withhold: checkNativeDir(root, generatedFrom)
|
|
3045
3341
|
}));
|
|
3046
3342
|
for (const entry of result.skipped) out(chalk.dim(phaseLine("carry", `kept ${entry.file} (${entry.reason})`)));
|
|
3343
|
+
for (const entry of result.withheld) out(chalk.yellow(phaseLine("carry", `left out ${entry.file}: ${entry.reason}`)));
|
|
3344
|
+
for (const rel of result.copied) {
|
|
3345
|
+
const fingerprint = generatedFrom.get(rel);
|
|
3346
|
+
if (!fingerprint) continue;
|
|
3347
|
+
await recordPrebuildAsync(join$1(target, dirname$1(rel)), basename$1(rel), fingerprint).catch((error) => out(chalk.yellow(phaseLine("carry", `could not record that ${rel} was generated from ${shortHash(fingerprint)}: ${error instanceof Error ? error.message : String(error)}. stim ${basename$1(rel)} updates it in place`))));
|
|
3348
|
+
}
|
|
3047
3349
|
for (const entry of result.failed) out(chalk.yellow(phaseLine("carry", `could not copy ${entry.file}: ${entry.error}`)));
|
|
3048
3350
|
if (result.copied.length) {
|
|
3049
3351
|
out(chalk.dim(phaseLine("carry", `copied ${carriedFileList(result.copied)} from ${root}`)));
|
|
@@ -3950,4 +4252,4 @@ function worktreeCommand(program) {
|
|
|
3950
4252
|
registerRemove(worktree);
|
|
3951
4253
|
}
|
|
3952
4254
|
//#endregion
|
|
3953
|
-
export { deleteSelectedArchives as A, sizeScanDeferred as C, stimCliUseOf as D, stimCliEntries as E, worktreeArchiveLimits as M, classifyProjectEntries as O, measureSizes as S, serviceRunningFrom as T, cacheBlocked as _, nestedWorktrees as a, measurePressure as b, registerRemove as c, removalPath as d, removalRemedy as f, worktreeCommand as g, warmedWorkspace as h, excludeWatchmanCookies as i, sweepArchiveStaging as j, reclaimProject as k, registerWarm as l, warmWorktreeTarget as m, dependencyInstallCommand as n, porcelainPath as o, removeWorktreeTarget as p, excludePodChurn as r, reclaimKeys as s, customIosDirs as t, removalBlockers as u, measureDisk as v, uncommittedActivityOf as w, measurePressureAsync as x, measureDiskAsync as y };
|
|
4255
|
+
export { deleteSelectedArchives as A, sizeScanDeferred as C, stimCliUseOf as D, stimCliEntries as E, recordPrebuild as F, recordPrebuildAsync as I, runPrebuild as L, worktreeArchiveLimits as M, planPrebuild as N, classifyProjectEntries as O, planPrebuildAsync as P, staleNativeDirRefusal as R, measureSizes as S, serviceRunningFrom as T, cacheBlocked as _, nestedWorktrees as a, measurePressure as b, registerRemove as c, removalPath as d, removalRemedy as f, worktreeCommand as g, warmedWorkspace as h, excludeWatchmanCookies as i, sweepArchiveStaging as j, reclaimProject as k, registerWarm as l, warmWorktreeTarget as m, dependencyInstallCommand as n, porcelainPath as o, removeWorktreeTarget as p, excludePodChurn as r, reclaimKeys as s, customIosDirs as t, removalBlockers as u, measureDisk as v, uncommittedActivityOf as w, measurePressureAsync as x, measureDiskAsync as y };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stim",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.38.0",
|
|
4
4
|
"description": "Stim: fast, isolated React Native environments for coding agents",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -58,11 +58,11 @@
|
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@expo/fingerprint": "^0.21.5",
|
|
61
|
-
"@stim-cli/agent-driver": "1.
|
|
62
|
-
"@stim-cli/agent-driver-agent-device": "1.
|
|
63
|
-
"@stim-cli/cache": "1.
|
|
64
|
-
"@stim-cli/core": "1.
|
|
65
|
-
"@stim-cli/metro": "1.
|
|
61
|
+
"@stim-cli/agent-driver": "1.38.0",
|
|
62
|
+
"@stim-cli/agent-driver-agent-device": "1.38.0",
|
|
63
|
+
"@stim-cli/cache": "1.38.0",
|
|
64
|
+
"@stim-cli/core": "1.38.0",
|
|
65
|
+
"@stim-cli/metro": "1.38.0",
|
|
66
66
|
"@xmldom/xmldom": "0.9.12",
|
|
67
67
|
"chalk": "^6.0.0",
|
|
68
68
|
"commander": "^15.0.0",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"ws": "^8.21.3"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@stim-cli/expo-build-cache": "1.
|
|
74
|
+
"@stim-cli/expo-build-cache": "1.38.0",
|
|
75
75
|
"@types/cross-spawn": "^6.0.6",
|
|
76
76
|
"@types/which": "^3.0.4",
|
|
77
77
|
"@types/ws": "^8.18.1",
|
package/dist/web-BcaySU05.mjs
DELETED