stim 1.36.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/README.md +3 -1
- package/dist/{acquire-artifact-DGTHCd0Q.mjs → acquire-artifact-QKPDkesw.mjs} +2 -2
- package/dist/{act-CvN9xyV6.mjs → act-Bh3t-NuH.mjs} +28 -34
- package/dist/{activity-BpdDvA8Q.mjs → activity-CANftndU.mjs} +6 -6
- package/dist/{agent-device-usage-output-pbhaW7_k.mjs → agent-device-usage-output-CuROXefb.mjs} +5 -5
- package/dist/{android-SJx1V3R3.mjs → android-27_JgJ1T.mjs} +7 -7
- package/dist/{android-B0qTdwnt.mjs → android-Biwc4Dck.mjs} +5 -5
- package/dist/{android-5wkcMFDG.mjs → android-DGLG_VQ3.mjs} +2 -2
- package/dist/{android-e9WP10cE.mjs → android-Z6Eev9rL.mjs} +51 -42
- package/dist/{android-cas-BS9_55U5.mjs → android-cas-BDAwwL82.mjs} +4 -4
- package/dist/android-cas-compiler.mjs +1 -1
- package/dist/{android-image-BZ57YL6R.mjs → android-image-BcUD6bPi.mjs} +3 -3
- package/dist/api.d.mts +12 -5
- package/dist/api.mjs +34 -31
- package/dist/{apk-signed-tail-eZyXIrnc.mjs → apk-signed-tail-DHMkXs4s.mjs} +2 -2
- package/dist/{artifact-C3srrGVU.mjs → artifact-Dc1GsK7o.mjs} +29 -15
- package/dist/{artifact-platform-DqCWUieN.mjs → artifact-platform-BaGL1i1X.mjs} +1 -1
- package/dist/{artifact-ubNdxo_K.mjs → artifact-sGoFVK1q.mjs} +12 -12
- package/dist/{auto-placement-CKFpFCuq.mjs → auto-placement-RNh4kx2T.mjs} +7 -7
- package/dist/{browser-web-B63vLrj6.mjs → browser-web-7Oj57Roa.mjs} +15 -15
- package/dist/{build-B_Dx9SKJ.mjs → build-DkE5vjp1.mjs} +29 -28
- package/dist/{build-cache-BW8T4oD2.mjs → build-cache-CJ65Efv7.mjs} +10 -7
- package/dist/{build-plan-CeIooJqn.mjs → build-plan-DWajg5l_.mjs} +8 -7
- package/dist/{cache-manifest-CxWkZmUr.mjs → cache-manifest-BO0TIcPV.mjs} +1 -1
- package/dist/cache-manifest.mjs +1 -1
- package/dist/{cdp-C216kOAn.mjs → cdp-CgT47_9A.mjs} +1 -1
- package/dist/{chrome-C8sC5tdl.mjs → chrome-DL5znvmo.mjs} +1 -1
- package/dist/{cli-COdXswmc.mjs → cli-BSlwv9hI.mjs} +21 -21
- package/dist/cli.mjs +1 -1
- package/dist/{client-KSWIeQLA.mjs → client-qwmHFSga.mjs} +16 -12
- package/dist/collector-run.mjs +7 -7
- package/dist/{command-output-T3cDctRE.mjs → command-output-DsjhOzJ3.mjs} +1 -1
- package/dist/{config-BA3TgoIP.mjs → config-CNmN-ndb.mjs} +2 -2
- package/dist/{dependencies-LH-7k1Vr.mjs → dependencies-oku1ZLep.mjs} +144 -71
- package/dist/{dependency-state-Blfp3AkG.mjs → dependency-state-CBhPJAs_.mjs} +2 -2
- package/dist/{detached-entry-tfrgGVWb.mjs → detached-entry-VqFeEE9W.mjs} +1 -1
- package/dist/{dev-client-MO_DjTZr.mjs → dev-client-DL5UtVdx.mjs} +2 -2
- package/dist/{device-DNTWFFB1.mjs → device-CxMwX0VO.mjs} +17 -16
- package/dist/{device-android-BB9Lugr8.mjs → device-android-CSlBXuh_.mjs} +9 -9
- package/dist/{device-capacity-CpAVcKgq.mjs → device-capacity-D_IlxZRL.mjs} +84 -37
- package/dist/device-host-worker.mjs +28 -16
- package/dist/{device-pool-BJToGG-q.mjs → device-pool-BEaTdtss.mjs} +3 -3
- package/dist/{device-provision-CxQDCtrc.mjs → device-provision-C9NPdCne.mjs} +10 -10
- package/dist/{device-BZWt_aPJ.mjs → device-yfuJ-v4s.mjs} +11 -11
- package/dist/{doctor-C-46SkBe.mjs → doctor-BAA3zN5U.mjs} +1 -1
- package/dist/{doctor-DV639Iw_.mjs → doctor-BQ1Kl44s.mjs} +15 -21
- package/dist/{doctor-CYZ45LnX.mjs → doctor-QNzDE4aW.mjs} +24 -24
- package/dist/{doctor-fingerprint-DqWvIhMb.mjs → doctor-fingerprint-Bo4z8YNP.mjs} +1 -1
- package/dist/doctor-fingerprint.mjs +1 -1
- package/dist/{doctor-watchman-TZxYt_98.mjs → doctor-watchman-B8e3s9ko.mjs} +5 -5
- package/dist/{eas-build-Xf5Jd6LR.mjs → eas-build-4rg9WpEg.mjs} +4 -4
- package/dist/{eas-fallback-DNYPNinw.mjs → eas-fallback-UGo0SG7T.mjs} +6 -6
- package/dist/{eas-session-ledger-CXZ4aix0.mjs → eas-session-ledger-BDpSdFDM.mjs} +6 -6
- package/dist/{error-diagnostics-CvB5bpPU.mjs → error-diagnostics-CW9xl6ot.mjs} +10 -10
- package/dist/{exec-CGuDzt40.mjs → exec-L37dbiIb.mjs} +7 -1
- package/dist/{gc-DiUhrVFo.mjs → gc-3DHVCn-k.mjs} +52 -36
- package/dist/{gc-8Qm_K1iy.mjs → gc-BQ5dXnC7.mjs} +2 -2
- package/dist/{guide-CuvHRP53.mjs → guide-DqJCc4vW.mjs} +209 -78
- package/dist/{hosted-android-D__HGVIO.mjs → hosted-android-gwLspaz6.mjs} +4 -4
- package/dist/{hosted-client-DMOOu8vD.mjs → hosted-client-B_h_bTlz.mjs} +4 -4
- package/dist/{hosted-logs-CClIktQM.mjs → hosted-logs-BpQSRDRU.mjs} +17 -10
- package/dist/{hosted-logs-sync-B7XCeqVm.mjs → hosted-logs-sync-D3L1hDpM.mjs} +5 -5
- package/dist/{hosted-macos-D4sDJIbB.mjs → hosted-macos-GK4O1s7x.mjs} +6 -6
- package/dist/{hosted-native-BiiUG_Q6.mjs → hosted-native-B6ur_0OJ.mjs} +8 -8
- package/dist/{ios-Qam0bT9n.mjs → ios-2Qr4_Zu2.mjs} +1 -1
- package/dist/{ios-BZuhvLGr.mjs → ios-Bi0bQiZ_.mjs} +8 -8
- package/dist/{ios-BhfpRfNf.mjs → ios-DQEzde6f.mjs} +23 -10
- package/dist/{ios-BhpUWyN7.mjs → ios-M7nRVb33.mjs} +100 -37
- package/dist/{ios-device-vhYL1N--.mjs → ios-device-BLm1BZB4.mjs} +3 -3
- package/dist/{ios-device-DLdEDWJj.mjs → ios-device-ygijU78G.mjs} +1 -1
- package/dist/{ios-project-Cz0S1Sz-.mjs → ios-project-Bsm-eqwv.mjs} +7 -7
- package/dist/ios-runtime-DLiKoOkd.mjs +150 -0
- package/dist/{ios-signing-BcH88ecn.mjs → ios-signing-rWR_Mu5Z.mjs} +3 -3
- package/dist/{ios-state-Avwz2cbZ.mjs → ios-state-tzD0s7pt.mjs} +1 -1
- package/dist/{js-swap-Desu2iII.mjs → js-swap-Cuky0ZAQ.mjs} +60 -13
- package/dist/{launch-6ckG9UrC.mjs → launch-B-pkNlqg.mjs} +48 -28
- package/dist/{lightened-B6TnpHMX.mjs → lightened-KHWHmzGs.mjs} +5 -5
- package/dist/{logs-B-DMy1K0.mjs → logs-B0etn-BD.mjs} +7 -7
- package/dist/{logs-CO0CJRiC.mjs → logs-HomiqPhV.mjs} +6 -6
- package/dist/{macos-CduEmWAK.mjs → macos-C5liDnbP.mjs} +1 -1
- package/dist/macos-run.mjs +1 -1
- package/dist/{macos-B1aCXhem.mjs → macos-zMxSibx5.mjs} +22 -23
- package/dist/maintenance-run.mjs +6 -6
- package/dist/{metro-DM3yJL1M.mjs → metro-Cj6W4qOO.mjs} +4 -4
- package/dist/{metro-request-O8Q-JvBg.mjs → metro-request-BWCl3Zco.mjs} +2 -2
- package/dist/{prebuild-Di2IhUue.mjs → miss-reason-CeHvzeVm.mjs} +12 -272
- package/dist/{named-ports-BvB_CO9B.mjs → named-ports-DZ8DrkH1.mjs} +3 -3
- package/dist/{native-android-28NOG2-y.mjs → native-android-DtWLzg6g.mjs} +18 -18
- package/dist/{native-gradle-artifact-inputs-DxVEtS6_.mjs → native-gradle-artifact-inputs-D4w20_6d.mjs} +5 -5
- package/dist/{native-runtime-C3_NkUlW.mjs → native-runtime-BfvvAJLd.mjs} +6 -6
- package/dist/{native-source-ChAGj7R1.mjs → native-source-D2ZfiQ6U.mjs} +1 -1
- package/dist/{native-xcode-inputs-BWFTw5cJ.mjs → native-xcode-inputs-BHvnAq4o.mjs} +3 -3
- package/dist/{native-xcode-ios-B4Qoc7-U.mjs → native-xcode-ios-CYxrg_kK.mjs} +18 -19
- package/dist/offload-worker.mjs +23 -22
- package/dist/{operation-exec-DKlBcKAL.mjs → operation-exec-DNynwpqO.mjs} +1 -1
- package/dist/{ownership-C3y8wLSl.mjs → ownership-BLgOimfp.mjs} +3 -3
- package/dist/{page-Dj8IqvGM.mjs → page-CoN9al_x.mjs} +2 -2
- package/dist/{phone-reverses-BhSxbqom.mjs → phone-reverses-vRveZKSG.mjs} +4 -4
- package/dist/{placement-log-B8RCSzOm.mjs → placement-log-CM0DSELs.mjs} +1 -1
- package/dist/{plan-placement-BI4r55aP.mjs → plan-placement-CIrvKq8y.mjs} +6 -6
- package/dist/{ports-DhOSyWm9.mjs → ports-CKORWlC0.mjs} +3 -3
- package/dist/{project-Clk1JAWL.mjs → project-DIo71tGq.mjs} +16 -16
- package/dist/{pull-request-BpMTNkMB.mjs → pull-request-m8cMZ3aE.mjs} +2 -2
- package/dist/pull-requests.mjs +1 -1
- package/dist/{react-native-android-bdHBMrnf.mjs → react-native-android-B7VYSlKj.mjs} +41 -36
- package/dist/{react-native-build-CJega_NM.mjs → react-native-build-CFYTYmG4.mjs} +13 -10
- package/dist/{react-native-doctor-CY7BGITE.mjs → react-native-doctor-CnpVfE0k.mjs} +6 -6
- package/dist/{react-native-ios-Bo5EDVel.mjs → react-native-ios-ByeXo_NP.mjs} +18 -18
- package/dist/{recorded-build-BuGL_fnm.mjs → recorded-build-B4prJjSD.mjs} +20 -2
- package/dist/{recordings-6i2-x8LU.mjs → recordings-Byu5SzlI.mjs} +1 -1
- package/dist/{registration-DKjJGQ6p.mjs → registration-C-3PDR3X.mjs} +1 -1
- package/dist/{reload-BvDuvygc.mjs → reload-DANrKhQR.mjs} +1 -1
- package/dist/{reload-A_axEbeS.mjs → reload-DTd9g1EG.mjs} +16 -16
- package/dist/{remote-PD6CM0xp.mjs → remote-BWuq9qHV.mjs} +4 -4
- package/dist/{remote-WK_swZEw.mjs → remote-NOM82XE0.mjs} +10 -10
- package/dist/{result-BkDpN5Mz.mjs → result-C-ISEJ5F.mjs} +17 -17
- package/dist/{run-CTFi4Nq2.mjs → run-DQwx6djG.mjs} +2 -2
- package/dist/{server-bare-W0aPsRZE.mjs → server-bare-B_wRfchQ.mjs} +2 -2
- package/dist/{server-command-S00-ddjK.mjs → server-command-DgXYowQf.mjs} +6 -6
- package/dist/{server-expo-cc-cmfsl.mjs → server-expo-ByBM8DVv.mjs} +10 -8
- package/dist/server-expo-D7rwjAFp.mjs +2 -0
- package/dist/{settings-C_Xu4RNZ.mjs → settings-BthPoY3t.mjs} +2 -2
- package/dist/{settings-Bap-qjnp.mjs → settings-Cz8kQJzr.mjs} +49 -12
- package/dist/{settings-payload-D5jjhmrw.mjs → settings-payload-BOcxsZ6k.mjs} +5 -5
- package/dist/{settings-write-C5huI-iS.mjs → settings-write-BuMPL1rd.mjs} +6 -6
- package/dist/settings.schema.json +32 -2
- package/dist/{simslim-DlBvwgeF.mjs → simslim-BMgpTRWe.mjs} +2 -2
- package/dist/{slot-launch-qEQVTth7.mjs → slot-launch-BIm9w8kH.mjs} +6 -6
- package/dist/{stage-CxVI_MlP.mjs → stage-CX1Byp3n.mjs} +6 -5
- package/dist/{start-CVzivp35.mjs → start-BZWr85b2.mjs} +1 -1
- package/dist/{start-YpT_JpQQ.mjs → start-DI0ofPO-.mjs} +12 -12
- package/dist/{state-B4B5P4LU.mjs → state-45P8Kd6Z.mjs} +2 -2
- package/dist/{state-B9VFI6r0.mjs → state-C2vELPyr.mjs} +4 -4
- package/dist/{stats-COoePEri.mjs → stats-BDljWVWU.mjs} +5 -5
- package/dist/{stats-report-BVRCqwWA.mjs → stats-report-Ci6TAfFm.mjs} +1 -1
- package/dist/{status-CIvU5-TF.mjs → status-BG2S-a1d.mjs} +1 -1
- package/dist/{status-CQWmNl1f.mjs → status-C2PdxK6q.mjs} +1 -1
- package/dist/{status-CIg0k7Qb.mjs → status-DEZjHP4q.mjs} +32 -34
- package/dist/{status-watch--rfZynD_.mjs → status-watch-Cs18eFkQ.mjs} +5 -5
- package/dist/status-worker.mjs +1 -1
- package/dist/{stim-desktop-D0P_bzmd.mjs → stim-desktop-DWGAfaud.mjs} +2 -2
- package/dist/{stop-BiI4_VFG.mjs → stop-B2zDplJa.mjs} +2 -2
- package/dist/{stop-C3d5qG7C.mjs → stop-BPrTEOaz.mjs} +16 -16
- package/dist/{stop-BEBBruvD.mjs → stop-DrxHVVX9.mjs} +5 -5
- package/dist/supervisor-run.mjs +15 -15
- package/dist/{support-BJbXovoO.mjs → support-BeVRaMWT.mjs} +13 -14
- package/dist/{support-Vckdzrmk.mjs → support-DBKG3Yyb.mjs} +7 -7
- package/dist/{swiftpm-artifact-inputs-DbuF-Yrr.mjs → swiftpm-artifact-inputs-CfNAb6Vm.mjs} +4 -4
- package/dist/{swiftpm-macos-Bu8xeBfM.mjs → swiftpm-macos-xdHjJHIj.mjs} +11 -11
- package/dist/toolchain-CTsPS5tL.mjs +2 -0
- package/dist/{toolchain-DCnWAxQL.mjs → toolchain-CZvtCZ-m.mjs} +11 -8
- package/dist/trigger-Bp3lruF2.mjs +2 -0
- package/dist/{trigger-BtB4kbe0.mjs → trigger-G_gbfIVB.mjs} +2 -2
- package/dist/{warm-progress-DwsGBpph.mjs → warm-progress-D3a0KviW.mjs} +20 -16
- package/dist/{web-D2En0Wa5.mjs → web-BvAweypa.mjs} +9 -9
- package/dist/web-DDL3usMb.mjs +2 -0
- package/dist/web-run.mjs +8 -8
- package/dist/windows-report.mjs +1 -1
- package/dist/{workspace-state-BhwAJBgA.mjs → workspace-state-CHEN_xzy.mjs} +3 -3
- package/dist/{workspaces-Dh5N70qW.mjs → workspaces-BgAYIccE.mjs} +218 -54
- package/dist/{worktree-DLm4s2Ib.mjs → worktree-C0YZ6mnk.mjs} +1 -1
- package/dist/{worktree-Yw3EW77B.mjs → worktree-kGPE9Pcw.mjs} +339 -37
- package/package.json +7 -7
- package/dist/server-expo-BWJDa7Qb.mjs +0 -2
- package/dist/toolchain-CIRdNl-c.mjs +0 -2
- package/dist/trigger-D8B7QR0q.mjs +0 -2
- package/dist/web-Dpj70t4p.mjs +0 -2
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { D as ownership_claim_exports, d as throwIfCancelled, w as withDrainingCancellation } from "./exec-
|
|
2
|
-
import { E as workspaceDir } from "./workspace-state-
|
|
3
|
-
import { _ as stepTimer, i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { S as providerDownloadPath, x as prepareProviderDownloadDir } from "./build-cache-
|
|
7
|
-
import { c as offloadPlacement, i as closeOffload, l as placementLoad, n as buildPlacementCandidates, o as offloadBuild, r as chooseBuildMachine, u as remotePhaseText } from "./client-
|
|
8
|
-
import { A as fingerprintMismatchRemedy, D as OffloadRefusal, F as requireLocalBuild, M as namedBuildMachine, O as automaticBuild, j as missingPackageManagerRemedy } from "./support-
|
|
9
|
-
import { f as formatDiagnostic } from "./react-native-build-
|
|
10
|
-
import {
|
|
11
|
-
import { a as PLATFORM, h as displayPath } from "./support-
|
|
12
|
-
import { n as settleArtifactUploads, r as retainFailedTranscript, t as acquireArtifact } from "./acquire-artifact-
|
|
13
|
-
import { t as buildPlacementRecord } from "./placement-log-
|
|
1
|
+
import { D as ownership_claim_exports, d as throwIfCancelled, w as withDrainingCancellation } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { E as workspaceDir } from "./workspace-state-CHEN_xzy.mjs";
|
|
3
|
+
import { _ as stepTimer, i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-DsjhOzJ3.mjs";
|
|
4
|
+
import { $n as isEasAuthFailureText, C as CCACHE_UNAVAILABLE, Jn as RESOLVE_TIMEOUT_MS, Qn as easAuthNote, S as CCACHE_NOT_RUN, w as ccacheActivityLine } from "./device-capacity-D_IlxZRL.mjs";
|
|
5
|
+
import { mt as runCancellationSignal, ot as cancelledFailure } from "./toolchain-CZvtCZ-m.mjs";
|
|
6
|
+
import { S as providerDownloadPath, x as prepareProviderDownloadDir } from "./build-cache-CJ65Efv7.mjs";
|
|
7
|
+
import { c as offloadPlacement, i as closeOffload, l as placementLoad, n as buildPlacementCandidates, o as offloadBuild, r as chooseBuildMachine, s as offloadCheck, u as remotePhaseText } from "./client-qwmHFSga.mjs";
|
|
8
|
+
import { A as fingerprintMismatchRemedy, D as OffloadRefusal, F as requireLocalBuild, M as namedBuildMachine, O as automaticBuild, j as missingPackageManagerRemedy, tt as predictedRefusal } from "./support-BeVRaMWT.mjs";
|
|
9
|
+
import { f as formatDiagnostic } from "./react-native-build-CFYTYmG4.mjs";
|
|
10
|
+
import { i as skippedMissReason } from "./miss-reason-CeHvzeVm.mjs";
|
|
11
|
+
import { a as PLATFORM, h as displayPath } from "./support-DBKG3Yyb.mjs";
|
|
12
|
+
import { n as settleArtifactUploads, r as retainFailedTranscript, t as acquireArtifact } from "./acquire-artifact-QKPDkesw.mjs";
|
|
13
|
+
import { t as buildPlacementRecord } from "./placement-log-CM0DSELs.mjs";
|
|
14
14
|
import { t as AndroidRecipeRefusal } from "./android-project-BCAAmMwz.mjs";
|
|
15
15
|
import { rmSync } from "node:fs";
|
|
16
16
|
import { join } from "node:path";
|
|
@@ -311,8 +311,7 @@ async function acquireAndroidArtifact({ context, root, buildLog, writer, recipe,
|
|
|
311
311
|
}
|
|
312
312
|
return true;
|
|
313
313
|
}
|
|
314
|
-
|
|
315
|
-
function placeBuild() {
|
|
314
|
+
async function placeBuild() {
|
|
316
315
|
if (cacheIneligible && !recipe.offload?.supportsUncachedArtifacts) {
|
|
317
316
|
if (namedBuildMachine(buildMachine)) throw new OffloadRefusal(buildMachine, cacheIneligible);
|
|
318
317
|
hereReason = cacheIneligible;
|
|
@@ -349,6 +348,21 @@ async function acquireAndroidArtifact({ context, root, buildLog, writer, recipe,
|
|
|
349
348
|
if (buildMachine !== "local") phase("build", `placement: here (${placement.reason})`);
|
|
350
349
|
return null;
|
|
351
350
|
}
|
|
351
|
+
const named = machines.find((each) => each.machine === buildMachine);
|
|
352
|
+
const offload = recipe.offload;
|
|
353
|
+
if (placement.code === "named" && named && offload) {
|
|
354
|
+
const check = await offloadCheck(root, async () => [await offload.target()])(named).catch((error) => {
|
|
355
|
+
throwIfCancelled(signal, "Android build");
|
|
356
|
+
fallBack(error instanceof Error ? error.message : String(error));
|
|
357
|
+
return null;
|
|
358
|
+
});
|
|
359
|
+
if (!check) return null;
|
|
360
|
+
const predicted = predictedRefusal(buildMachine, check.problems);
|
|
361
|
+
if (predicted) fallBack(predicted.reason, predicted.reason, {
|
|
362
|
+
machine: buildMachine,
|
|
363
|
+
remedy: predicted.remedy
|
|
364
|
+
});
|
|
365
|
+
}
|
|
352
366
|
return {
|
|
353
367
|
cacheOnly: false,
|
|
354
368
|
here,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as getExecutor } from "./exec-
|
|
1
|
+
import { t as getExecutor } from "./exec-L37dbiIb.mjs";
|
|
2
2
|
import { join } from "node:path";
|
|
3
3
|
//#region src/macos/artifact-platform.ts
|
|
4
4
|
async function validateMacosArtifactPlatform(context, bundle, product, signal, nodeArch = process.arch) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { D as ownership_claim_exports, d as throwIfCancelled, w as withDrainingCancellation } from "./exec-
|
|
2
|
-
import { E as workspaceDir } from "./workspace-state-
|
|
3
|
-
import { _ as stepTimer, i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { C as providerUploadOutcome, D as storedAppId, S as providerDownloadPath, x as prepareProviderDownloadDir } from "./build-cache-
|
|
7
|
-
import { T as clearCorruptCompilationCache, c as offloadPlacement, i as closeOffload, l as placementLoad, n as buildPlacementCandidates, o as offloadBuild, r as chooseBuildMachine, s as offloadCheck, u as remotePhaseText, w as COMPILATION_CACHE_CORRUPT } from "./client-
|
|
8
|
-
import { A as fingerprintMismatchRemedy, D as OffloadRefusal, F as requireLocalBuild, M as namedBuildMachine, O as automaticBuild, P as podsFailedRemedy, S as xcodeFailureReport, j as missingPackageManagerRemedy, p as printDiagnostics, tt as predictedRefusal, u as isReleaseConfiguration } from "./support-
|
|
9
|
-
import {
|
|
10
|
-
import { n as settleArtifactUploads, r as retainFailedTranscript, t as acquireArtifact } from "./acquire-artifact-
|
|
11
|
-
import { t as buildPlacementRecord } from "./placement-log-
|
|
12
|
-
import { r as finishIosUpload, t as IosRecipeRefusal } from "./ios-project-
|
|
1
|
+
import { D as ownership_claim_exports, d as throwIfCancelled, w as withDrainingCancellation } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { E as workspaceDir } from "./workspace-state-CHEN_xzy.mjs";
|
|
3
|
+
import { _ as stepTimer, i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-DsjhOzJ3.mjs";
|
|
4
|
+
import { $n as isEasAuthFailureText, Jn as RESOLVE_TIMEOUT_MS, Qn as easAuthNote } from "./device-capacity-D_IlxZRL.mjs";
|
|
5
|
+
import { D as COMPILATION_CACHE_NOT_RUN, M as compilationCacheActivityLine, mt as runCancellationSignal, ot as cancelledFailure } from "./toolchain-CZvtCZ-m.mjs";
|
|
6
|
+
import { C as providerUploadOutcome, D as storedAppId, S as providerDownloadPath, x as prepareProviderDownloadDir } from "./build-cache-CJ65Efv7.mjs";
|
|
7
|
+
import { T as clearCorruptCompilationCache, c as offloadPlacement, i as closeOffload, l as placementLoad, n as buildPlacementCandidates, o as offloadBuild, r as chooseBuildMachine, s as offloadCheck, u as remotePhaseText, w as COMPILATION_CACHE_CORRUPT } from "./client-qwmHFSga.mjs";
|
|
8
|
+
import { A as fingerprintMismatchRemedy, D as OffloadRefusal, F as requireLocalBuild, M as namedBuildMachine, O as automaticBuild, P as podsFailedRemedy, S as xcodeFailureReport, j as missingPackageManagerRemedy, p as printDiagnostics, tt as predictedRefusal, u as isReleaseConfiguration } from "./support-BeVRaMWT.mjs";
|
|
9
|
+
import { i as skippedMissReason, o as settleFingerprintCheck } from "./miss-reason-CeHvzeVm.mjs";
|
|
10
|
+
import { n as settleArtifactUploads, r as retainFailedTranscript, t as acquireArtifact } from "./acquire-artifact-QKPDkesw.mjs";
|
|
11
|
+
import { t as buildPlacementRecord } from "./placement-log-CM0DSELs.mjs";
|
|
12
|
+
import { r as finishIosUpload, t as IosRecipeRefusal } from "./ios-project-Bsm-eqwv.mjs";
|
|
13
13
|
import { rmSync } from "node:fs";
|
|
14
14
|
import { join } from "node:path";
|
|
15
15
|
import { machineCapacity } from "@stim-cli/core/state";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { m as getProject, v as loadConfig$1 } from "./config-
|
|
2
|
-
import { F as peekBudget, d as peekDeviceSlots, t as DEFAULT_DEVICE_SLOT_WAIT_MS } from "./device-capacity-
|
|
3
|
-
import { z as readHostMemoryPressureAsync } from "./ios-
|
|
4
|
-
import { I as resolveBuildMachine, M as namedBuildMachine, it as hostingMachines } from "./support-
|
|
5
|
-
import { h as requireHostedAppMode, l as call, u as connectHost } from "./hosted-client-
|
|
6
|
-
import { c as writeHostedNativeAsync, r as readHostedNative } from "./ios-state-
|
|
7
|
-
import { i as prepareHostedNative } from "./hosted-native-
|
|
1
|
+
import { m as getProject, v as loadConfig$1 } from "./config-CNmN-ndb.mjs";
|
|
2
|
+
import { F as peekBudget, d as peekDeviceSlots, t as DEFAULT_DEVICE_SLOT_WAIT_MS } from "./device-capacity-D_IlxZRL.mjs";
|
|
3
|
+
import { z as readHostMemoryPressureAsync } from "./ios-DQEzde6f.mjs";
|
|
4
|
+
import { I as resolveBuildMachine, M as namedBuildMachine, it as hostingMachines } from "./support-BeVRaMWT.mjs";
|
|
5
|
+
import { h as requireHostedAppMode, l as call, u as connectHost } from "./hosted-client-B_h_bTlz.mjs";
|
|
6
|
+
import { c as writeHostedNativeAsync, r as readHostedNative } from "./ios-state-tzD0s7pt.mjs";
|
|
7
|
+
import { i as prepareHostedNative } from "./hosted-native-B6ur_0OJ.mjs";
|
|
8
8
|
import { ambientEnv } from "@stim-cli/core";
|
|
9
9
|
import { automaticMachineEnabled, isJsonObject, machineCapacity, mayRunHere, parseHostedChoice, parseHostedNativeOffer, prefersRemote } from "@stim-cli/core/state";
|
|
10
10
|
import { setTimeout } from "node:timers/promises";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { D as ownership_claim_exports, T as process_identity_exports, d as throwIfCancelled, f as WorkspaceProcessCleanupError, p as withWorkspaceProcessLock, t as getExecutor, u as cancelledError } from "./exec-
|
|
2
|
-
import { E as workspaceDir, k as workspaceLogsDir$1, l as withWorkspaceStateLockAsync, r as readWorkspaceState$1 } from "./workspace-state-
|
|
3
|
-
import { l as phaseLine } from "./command-output-
|
|
4
|
-
import { m as getProject } from "./config-
|
|
5
|
-
import { N as metroPortSetting, a as SETTING_SHAPE_REMEDY, ct as webSettings } from "./settings-
|
|
6
|
-
import { b as isPackageResolvable, v as detectIsExpo } from "./project-
|
|
7
|
-
import { d as resolveProjectMetro } from "./metro-
|
|
1
|
+
import { D as ownership_claim_exports, T as process_identity_exports, d as throwIfCancelled, f as WorkspaceProcessCleanupError, p as withWorkspaceProcessLock, t as getExecutor, u as cancelledError } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { E as workspaceDir, k as workspaceLogsDir$1, l as withWorkspaceStateLockAsync, r as readWorkspaceState$1 } from "./workspace-state-CHEN_xzy.mjs";
|
|
3
|
+
import { l as phaseLine } from "./command-output-DsjhOzJ3.mjs";
|
|
4
|
+
import { m as getProject } from "./config-CNmN-ndb.mjs";
|
|
5
|
+
import { N as metroPortSetting, a as SETTING_SHAPE_REMEDY, ct as webSettings } from "./settings-Cz8kQJzr.mjs";
|
|
6
|
+
import { b as isPackageResolvable, v as detectIsExpo } from "./project-DIo71tGq.mjs";
|
|
7
|
+
import { d as resolveProjectMetro } from "./metro-Cj6W4qOO.mjs";
|
|
8
8
|
import { c as readNdjsonGenerations$1 } from "./ndjson-CrjIsGzw.mjs";
|
|
9
|
-
import {
|
|
10
|
-
import { f as webLogFile, m as webSupervisorLogFile, o as readWebRecord, s as updateWebRecord } from "./state-
|
|
11
|
-
import {
|
|
12
|
-
import { i as reserveBrowserPort, n as getNamedPort } from "./named-ports-
|
|
13
|
-
import { n as sendToOwnedPage, t as liveWebRecord } from "./page-
|
|
14
|
-
import { o as resolveWorkspaceMetroPort } from "./start-
|
|
9
|
+
import { mn as readMetroRecords } from "./device-capacity-D_IlxZRL.mjs";
|
|
10
|
+
import { f as webLogFile, m as webSupervisorLogFile, o as readWebRecord, s as updateWebRecord } from "./state-C2vELPyr.mjs";
|
|
11
|
+
import { pt as teardownBrowserHeld, x as resolveSupervisorTarget } from "./workspaces-BgAYIccE.mjs";
|
|
12
|
+
import { i as reserveBrowserPort, n as getNamedPort } from "./named-ports-DZ8DrkH1.mjs";
|
|
13
|
+
import { n as sendToOwnedPage, t as liveWebRecord } from "./page-CoN9al_x.mjs";
|
|
14
|
+
import { o as resolveWorkspaceMetroPort } from "./start-DI0ofPO-.mjs";
|
|
15
15
|
import { t as spawnEntry } from "./spawn-entry-jw19m8Nl.mjs";
|
|
16
|
-
import { n as windowsLauncherArgs } from "./detached-entry-
|
|
17
|
-
import { a as findChrome, t as CHROME_INSTALL_REMEDY } from "./chrome-
|
|
16
|
+
import { n as windowsLauncherArgs } from "./detached-entry-VqFeEE9W.mjs";
|
|
17
|
+
import { a as findChrome, t as CHROME_INSTALL_REMEDY } from "./chrome-DL5znvmo.mjs";
|
|
18
18
|
import { randomUUID } from "node:crypto";
|
|
19
19
|
import { mkdirSync, openSync, statSync, watch } from "node:fs";
|
|
20
20
|
import { ambientEnv } from "@stim-cli/core";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { d as throwIfCancelled, u as cancelledError, w as withDrainingCancellation } from "./exec-
|
|
2
|
-
import { E as workspaceDir, a as recordWorkspaceUseAsync, k as workspaceLogsDir } from "./workspace-state-
|
|
3
|
-
import { l as phaseLine } from "./command-output-
|
|
4
|
-
import { A as withConfigLockAsync, O as upsertProject, m as getProject, u as getConcurrencyLimits } from "./config-
|
|
5
|
-
import { J as resolveCacheProviderConfig, Z as resolveProjectSettingsAsync, a as SETTING_SHAPE_REMEDY } from "./settings-
|
|
6
|
-
import { f as projectRegistry, v as detectIsExpo } from "./project-
|
|
7
|
-
import { s as workspaceShareURL } from "./stim-desktop-
|
|
8
|
-
import { j as hostSystemImageArch } from "./android-
|
|
1
|
+
import { d as throwIfCancelled, u as cancelledError, w as withDrainingCancellation } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { E as workspaceDir, a as recordWorkspaceUseAsync, k as workspaceLogsDir } from "./workspace-state-CHEN_xzy.mjs";
|
|
3
|
+
import { l as phaseLine } from "./command-output-DsjhOzJ3.mjs";
|
|
4
|
+
import { A as withConfigLockAsync, O as upsertProject, m as getProject, u as getConcurrencyLimits } from "./config-CNmN-ndb.mjs";
|
|
5
|
+
import { J as resolveCacheProviderConfig, Z as resolveProjectSettingsAsync, a as SETTING_SHAPE_REMEDY } from "./settings-Cz8kQJzr.mjs";
|
|
6
|
+
import { f as projectRegistry, v as detectIsExpo } from "./project-DIo71tGq.mjs";
|
|
7
|
+
import { s as workspaceShareURL } from "./stim-desktop-DWGAfaud.mjs";
|
|
8
|
+
import { j as hostSystemImageArch } from "./android-27_JgJ1T.mjs";
|
|
9
9
|
import { i as createNdjsonWriter } from "./ndjson-CrjIsGzw.mjs";
|
|
10
|
-
import {
|
|
11
|
-
import { $ as
|
|
12
|
-
import {
|
|
13
|
-
import { F as waitForBuild, M as acquireBuildLock, P as releaseBuildLock } from "./activity-
|
|
14
|
-
import { C as providerUploadOutcome, D as storedAppId } from "./build-cache-
|
|
15
|
-
import { m as listIosRuntimes } from "./ios-
|
|
10
|
+
import { Zn as checkEasAuth, ar as resolveRemote, or as uploadRemote } from "./device-capacity-D_IlxZRL.mjs";
|
|
11
|
+
import { $ as startBuildProgress, Ct as acquireBuildSlot, Et as releaseBuildSlot, Z as recordFinishedBuild, at as readRunEstimates, et as tapBuildLog, it as createRunRecorder, lt as recordRunStats, ut as statsProjectKey } from "./workspaces-BgAYIccE.mjs";
|
|
12
|
+
import { ht as withNativeBuildRun, mt as runCancellationSignal, z as readBundleId } from "./toolchain-CZvtCZ-m.mjs";
|
|
13
|
+
import { F as waitForBuild, M as acquireBuildLock, P as releaseBuildLock } from "./activity-CANftndU.mjs";
|
|
14
|
+
import { C as providerUploadOutcome, D as storedAppId } from "./build-cache-CJ65Efv7.mjs";
|
|
15
|
+
import { m as listIosRuntimes } from "./ios-DQEzde6f.mjs";
|
|
16
16
|
import { d as optimizationBuildProfile, l as artifactCachePolicy } from "./errors-DHm_U5gv.mjs";
|
|
17
|
-
import { C as setRemoteLogSink } from "./client-
|
|
18
|
-
import { L as resolveBuildPlacement, c as iosProjectPathError, g as resolveIosBuildSetup, m as resolveConfiguration, x as simulatorBuildArch, y as resolveSchemeSelection } from "./support-
|
|
19
|
-
import { a as resolveEasDevelopmentBuild, r as isEasBuildFailure } from "./eas-build-
|
|
20
|
-
import {
|
|
21
|
-
import { n as ensureWorkspaceStorageSafely } from "./native-runtime-
|
|
22
|
-
import { n as
|
|
23
|
-
import { E as resolveVariant } from "./support-
|
|
24
|
-
import { t as acquireAndroidArtifact } from "./artifact-
|
|
25
|
-
import { a as persistLastBuild, l as resolveAndroidBuildPlan, n as finishAndroidUpload } from "./result-
|
|
26
|
-
import { o as lastBuildRecord } from "./ios-project-
|
|
27
|
-
import { t as acquireIosArtifact } from "./artifact-
|
|
17
|
+
import { C as setRemoteLogSink } from "./client-qwmHFSga.mjs";
|
|
18
|
+
import { L as resolveBuildPlacement, c as iosProjectPathError, g as resolveIosBuildSetup, m as resolveConfiguration, x as simulatorBuildArch, y as resolveSchemeSelection } from "./support-BeVRaMWT.mjs";
|
|
19
|
+
import { a as resolveEasDevelopmentBuild, r as isEasBuildFailure } from "./eas-build-4rg9WpEg.mjs";
|
|
20
|
+
import { o as settleFingerprintCheck } from "./miss-reason-CeHvzeVm.mjs";
|
|
21
|
+
import { n as ensureWorkspaceStorageSafely } from "./native-runtime-BfvvAJLd.mjs";
|
|
22
|
+
import { i as recordedBuildKey, n as pruneArtifactCopies, r as recordBuild } from "./recorded-build-B4prJjSD.mjs";
|
|
23
|
+
import { E as resolveVariant } from "./support-DBKG3Yyb.mjs";
|
|
24
|
+
import { t as acquireAndroidArtifact } from "./artifact-Dc1GsK7o.mjs";
|
|
25
|
+
import { a as persistLastBuild, l as resolveAndroidBuildPlan, n as finishAndroidUpload } from "./result-C-ISEJ5F.mjs";
|
|
26
|
+
import { o as lastBuildRecord } from "./ios-project-Bsm-eqwv.mjs";
|
|
27
|
+
import { t as acquireIosArtifact } from "./artifact-sGoFVK1q.mjs";
|
|
28
28
|
import { constants, promises } from "node:fs";
|
|
29
|
-
import { basename, join } from "node:path";
|
|
29
|
+
import { basename, dirname, join } from "node:path";
|
|
30
30
|
import { hostSimulatorArch } from "@stim-cli/core";
|
|
31
31
|
import chalk from "chalk";
|
|
32
32
|
import { loadCacheProvider } from "@stim-cli/cache";
|
|
@@ -269,6 +269,7 @@ async function buildAndroidOperation(context, root, options, { artifactScope, ca
|
|
|
269
269
|
appPath: built.apkPath,
|
|
270
270
|
bundleId: built.androidPackage
|
|
271
271
|
});
|
|
272
|
+
await pruneArtifactCopies(root, "android", dirname(built.apkPath), (line) => phase("artifacts", chalk.yellow(line)));
|
|
272
273
|
stats.record({
|
|
273
274
|
failed: false,
|
|
274
275
|
cacheHit: record.cacheHit === "local" || record.cacheHit === "remote" ? record.cacheHit : false,
|
|
@@ -321,8 +322,7 @@ async function buildIosOperation(context, root, options) {
|
|
|
321
322
|
const arch = options.arch === "all" ? null : options.arch ?? simulatorBuildArch({
|
|
322
323
|
physical: false,
|
|
323
324
|
remoteArch: null,
|
|
324
|
-
hostArch: hostSimulatorArch()
|
|
325
|
-
configuration
|
|
325
|
+
hostArch: hostSimulatorArch()
|
|
326
326
|
});
|
|
327
327
|
const cache = artifactCachePolicy(optimizations, options.buildCache !== false, integration.runtimeKind(configuration) === "embedded-js");
|
|
328
328
|
const phase = (label, line) => note(phaseLine(label, line));
|
|
@@ -551,6 +551,7 @@ async function buildIosOperation(context, root, options) {
|
|
|
551
551
|
appPath: built.appPath,
|
|
552
552
|
bundleId: built.bundleId
|
|
553
553
|
});
|
|
554
|
+
await pruneArtifactCopies(root, "ios", dirname(built.appPath), (line) => phase("artifacts", chalk.yellow(line)));
|
|
554
555
|
stats.record({
|
|
555
556
|
failed: false,
|
|
556
557
|
durationMs: Date.now() - started,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { d as throwIfCancelled, t as getExecutor, w as withDrainingCancellation } from "./exec-
|
|
2
|
-
import { y as sharedBuildCache } from "./workspace-state-
|
|
3
|
-
import { a as killOnAbort, c as gitQuiet, o as git, r as childEnvironment, s as gitAsync } from "./operation-exec-
|
|
4
|
-
import { m as defaultAndroidLayout } from "./settings-
|
|
5
|
-
import { r as register } from "./cache-manifest-
|
|
6
|
-
import { r as writeSignedTail, t as computeSignedTail } from "./apk-signed-tail-
|
|
1
|
+
import { d as throwIfCancelled, t as getExecutor, w as withDrainingCancellation } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { y as sharedBuildCache } from "./workspace-state-CHEN_xzy.mjs";
|
|
3
|
+
import { a as killOnAbort, c as gitQuiet, o as git, r as childEnvironment, s as gitAsync } from "./operation-exec-DNynwpqO.mjs";
|
|
4
|
+
import { m as defaultAndroidLayout } from "./settings-Cz8kQJzr.mjs";
|
|
5
|
+
import { r as register } from "./cache-manifest-BO0TIcPV.mjs";
|
|
6
|
+
import { r as writeSignedTail, t as computeSignedTail } from "./apk-signed-tail-DHMkXs4s.mjs";
|
|
7
7
|
import { createHash } from "node:crypto";
|
|
8
8
|
import { existsSync, readFileSync, readdirSync, statSync } from "node:fs";
|
|
9
9
|
import { join } from "node:path";
|
|
@@ -181,7 +181,10 @@ const FINGERPRINT_PLATFORMS = /* @__PURE__ */ new Set(["ios", "android"]);
|
|
|
181
181
|
const DEFAULT_FINGERPRINT_IGNORES = [
|
|
182
182
|
"**/android/local.properties",
|
|
183
183
|
"**/android/.idea/**",
|
|
184
|
-
"**/*.xcodeproj/xcuserdata/**/*"
|
|
184
|
+
"**/*.xcodeproj/xcuserdata/**/*",
|
|
185
|
+
"**/.git",
|
|
186
|
+
"**/.git/**",
|
|
187
|
+
"**/.expo/**"
|
|
185
188
|
];
|
|
186
189
|
/**
|
|
187
190
|
* `react-native bundle` output, ignored only while an ignore pattern matches it: a committed copy can be a native
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { a as trackReportResource } from "./exec-
|
|
2
|
-
import { i as formatDuration, l as phaseLine, m as shortHash, u as plural } from "./command-output-
|
|
3
|
-
import { an as makeTemporaryDirectory, sn as removeTemporaryEntryAsync } from "./settings-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { c as entryDir, t as artifactIn } from "./build-cache-
|
|
7
|
-
import {
|
|
1
|
+
import { a as trackReportResource } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { i as formatDuration, l as phaseLine, m as shortHash, u as plural } from "./command-output-DsjhOzJ3.mjs";
|
|
3
|
+
import { an as makeTemporaryDirectory, sn as removeTemporaryEntryAsync } from "./settings-Cz8kQJzr.mjs";
|
|
4
|
+
import { Qn as easAuthNote } from "./device-capacity-D_IlxZRL.mjs";
|
|
5
|
+
import { J as estimateBuild, ot as readStats } from "./workspaces-BgAYIccE.mjs";
|
|
6
|
+
import { c as entryDir, t as artifactIn } from "./build-cache-CJ65Efv7.mjs";
|
|
7
|
+
import { R as staleNativeDirRefusal } from "./worktree-kGPE9Pcw.mjs";
|
|
8
|
+
import { r as predictBuildMiss } from "./miss-reason-CeHvzeVm.mjs";
|
|
8
9
|
import chalk from "chalk";
|
|
9
10
|
import { PROVIDER_LOAD_TIMEOUT_ENV, PROVIDER_LOAD_TIMEOUT_MS, buildResolveTimeoutMs, resolveTieredBuild, timeoutFromEnv } from "@stim-cli/cache";
|
|
10
11
|
//#region src/commands/build-plan.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as getConfigDir } from "./config-
|
|
1
|
+
import { d as getConfigDir } from "./config-CNmN-ndb.mjs";
|
|
2
2
|
import { cacheDirRefusal, readCacheManifest, updateCacheManifest } from "@stim-cli/core";
|
|
3
3
|
import { join, resolve } from "path";
|
|
4
4
|
import { existsSync } from "fs";
|
package/dist/cache-manifest.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as unregister, i as registeredCaches, n as readManifest, r as register, t as manifestPath } from "./cache-manifest-
|
|
1
|
+
import { a as unregister, i as registeredCaches, n as readManifest, r as register, t as manifestPath } from "./cache-manifest-BO0TIcPV.mjs";
|
|
2
2
|
export { manifestPath, readManifest, register, registeredCaches, unregister };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { E as debugLog } from "./exec-
|
|
2
|
-
import { b as refuseRelativeStimPaths } from "./config-
|
|
1
|
+
import { E as debugLog } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { b as refuseRelativeStimPaths } from "./config-CNmN-ndb.mjs";
|
|
3
3
|
import { readFileSync } from "node:fs";
|
|
4
4
|
import { runId, trace } from "@stim-cli/core/state";
|
|
5
5
|
import { Command } from "commander";
|
|
6
6
|
//#region bin/cli.ts
|
|
7
7
|
const commands = /* @__PURE__ */ new Map([
|
|
8
|
-
["doctor", () => import("./doctor-
|
|
9
|
-
["worktree", () => import("./worktree-
|
|
10
|
-
["start", () => import("./start-
|
|
11
|
-
["ports", () => import("./ports-
|
|
12
|
-
["stop", () => import("./stop-
|
|
13
|
-
["ios", () => import("./ios-
|
|
14
|
-
["android", () => import("./android-
|
|
15
|
-
["web", () => import("./web-
|
|
16
|
-
["macos", () => import("./macos-
|
|
17
|
-
["reload", () => import("./reload-
|
|
18
|
-
["device", () => import("./device-
|
|
19
|
-
["logs", () => import("./logs-
|
|
20
|
-
["remote", () => import("./remote-
|
|
21
|
-
["settings", () => import("./settings-
|
|
22
|
-
["status", () => import("./status-
|
|
23
|
-
["stats", () => import("./stats-
|
|
24
|
-
["gc", () => import("./gc-
|
|
25
|
-
["guide", () => import("./guide-
|
|
8
|
+
["doctor", () => import("./doctor-BAA3zN5U.mjs")],
|
|
9
|
+
["worktree", () => import("./worktree-C0YZ6mnk.mjs")],
|
|
10
|
+
["start", () => import("./start-BZWr85b2.mjs")],
|
|
11
|
+
["ports", () => import("./ports-CKORWlC0.mjs")],
|
|
12
|
+
["stop", () => import("./stop-B2zDplJa.mjs")],
|
|
13
|
+
["ios", () => import("./ios-Bi0bQiZ_.mjs")],
|
|
14
|
+
["android", () => import("./android-Biwc4Dck.mjs")],
|
|
15
|
+
["web", () => import("./web-DDL3usMb.mjs")],
|
|
16
|
+
["macos", () => import("./macos-C5liDnbP.mjs")],
|
|
17
|
+
["reload", () => import("./reload-DANrKhQR.mjs")],
|
|
18
|
+
["device", () => import("./device-CxMwX0VO.mjs")],
|
|
19
|
+
["logs", () => import("./logs-B0etn-BD.mjs")],
|
|
20
|
+
["remote", () => import("./remote-BWuq9qHV.mjs")],
|
|
21
|
+
["settings", () => import("./settings-BthPoY3t.mjs")],
|
|
22
|
+
["status", () => import("./status-BG2S-a1d.mjs")],
|
|
23
|
+
["stats", () => import("./stats-BDljWVWU.mjs")],
|
|
24
|
+
["gc", () => import("./gc-BQ5dXnC7.mjs")],
|
|
25
|
+
["guide", () => import("./guide-DqJCc4vW.mjs")]
|
|
26
26
|
]);
|
|
27
27
|
const pkg = JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf-8"));
|
|
28
28
|
const program = new Command();
|
|
@@ -54,7 +54,7 @@ try {
|
|
|
54
54
|
}));
|
|
55
55
|
}
|
|
56
56
|
try {
|
|
57
|
-
const { triggerMaintenance } = await import("./trigger-
|
|
57
|
+
const { triggerMaintenance } = await import("./trigger-Bp3lruF2.mjs");
|
|
58
58
|
triggerMaintenance(action.name());
|
|
59
59
|
} catch {}
|
|
60
60
|
});
|
package/dist/cli.mjs
CHANGED
|
@@ -4,6 +4,6 @@ const encode = (version) => version.split(".", 3).reduce((sum, part) => sum * 1e
|
|
|
4
4
|
if (encode(process.versions.node) < encode("22.12.0")) {
|
|
5
5
|
process.stderr.write(`STIM_NODE_UNSUPPORTED: Stim needs Node 22.12.0 or later; this is Node ${process.versions.node} at ${process.execPath}. To run Stim where a project pins an older Node, see https://stim.appandflow.com/docs/requirements#older-node-pins\n`);
|
|
6
6
|
process.exitCode = 1;
|
|
7
|
-
} else import("./cli-
|
|
7
|
+
} else import("./cli-BSlwv9hI.mjs");
|
|
8
8
|
//#endregion
|
|
9
9
|
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { C as operationState, E as debugLog, d as throwIfCancelled, r as reportSignal, t as getExecutor } from "./exec-
|
|
2
|
-
import { H as openAuthenticated, J as sayHello, q as resolveEndpoint, v as loadConfig$1 } from "./config-
|
|
3
|
-
import { o as git, s as gitAsync } from "./operation-exec-
|
|
4
|
-
import { C as CCACHE_UNAVAILABLE,
|
|
5
|
-
import { t as canonicalPath } from "./paths-BsJMoPP2.mjs";
|
|
6
|
-
import { A as COMPILATION_CACHE_NOT_RUN, D as readRubyVersion, S as workerToolchain, _t as runCancellationSignal, a as buildsOnlyOnWorker, b as toolchainNotes, c as iosToolchainAsync, j as COMPILATION_CACHE_UNAVAILABLE, o as cocoapodsDifference, y as toolchainMismatches } from "./toolchain-DCnWAxQL.mjs";
|
|
1
|
+
import { C as operationState, E as debugLog, d as throwIfCancelled, r as reportSignal, t as getExecutor } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { H as openAuthenticated, J as sayHello, q as resolveEndpoint, v as loadConfig$1 } from "./config-CNmN-ndb.mjs";
|
|
3
|
+
import { o as git, s as gitAsync } from "./operation-exec-DNynwpqO.mjs";
|
|
4
|
+
import { C as CCACHE_UNAVAILABLE, S as CCACHE_NOT_RUN, at as maintenanceLogger, jr as discoverCaches, ot as emptyCaches, pt as planCacheEmptying } from "./device-capacity-D_IlxZRL.mjs";
|
|
7
5
|
import { t as resolveMaintenanceSettings } from "./settings-D9LtQaUw.mjs";
|
|
8
|
-
import {
|
|
6
|
+
import { t as canonicalPath } from "./paths-BsJMoPP2.mjs";
|
|
7
|
+
import { D as COMPILATION_CACHE_NOT_RUN, O as COMPILATION_CACHE_UNAVAILABLE, _ as toolchainNotes, a as buildsOnlyOnWorker, c as iosToolchainAsync, g as toolchainMismatches, mt as runCancellationSignal, o as cocoapodsDifference, w as readRubyVersion, y as workerToolchain } from "./toolchain-CZvtCZ-m.mjs";
|
|
8
|
+
import { D as OffloadRefusal, M as namedBuildMachine, R as workerFailureReason, et as pairedMachines, u as isReleaseConfiguration } from "./support-BeVRaMWT.mjs";
|
|
9
9
|
import { n as fingerprintNativeInputs, r as manifestDigest } from "./native-inputs-TRTTTRxt.mjs";
|
|
10
|
-
import { a as sourceManifest, i as nativeTransferManifest, n as gitVisiblePaths, r as nativeFileDigest, t as checkNativeTransferMembership } from "./native-source-
|
|
10
|
+
import { a as sourceManifest, i as nativeTransferManifest, n as gitVisiblePaths, r as nativeFileDigest, t as checkNativeTransferMembership } from "./native-source-D2ZfiQ6U.mjs";
|
|
11
11
|
import { t as BuildArtifactCache } from "./build-artifact-cache-D7B6seMj.mjs";
|
|
12
12
|
import { createHash, webcrypto } from "node:crypto";
|
|
13
13
|
import { closeSync, existsSync, lstatSync, mkdirSync, openSync, readFileSync, readdirSync, realpathSync, rmSync, writeSync } from "node:fs";
|
|
@@ -988,7 +988,7 @@ async function probeMachine(credential, identity, { connectMs = CONNECT_TIMEOUT_
|
|
|
988
988
|
...native === "xcode" && identity.artifact && connection.supports("build-artifact-cache") ? { artifact: identity.artifact } : {},
|
|
989
989
|
...identity.swiftpmArtifact && queriesPeerCache(connection, "swiftpm-peer-cache") ? { swiftpmArtifact: identity.swiftpmArtifact } : {},
|
|
990
990
|
...identity.reactNativeArtifact && queriesPeerCache(connection, "react-native-peer-cache") ? { reactNativeArtifact: identity.reactNativeArtifact } : {},
|
|
991
|
-
...native === "gradle" && identity.gradleArtifact && connection.
|
|
991
|
+
...native === "gradle" && identity.gradleArtifact && queriesGradlePeerCache(connection, identity.gradleArtifact) ? { gradleArtifact: identity.gradleArtifact } : {}
|
|
992
992
|
}, offerMs);
|
|
993
993
|
const failure = replyError(reply);
|
|
994
994
|
if (failure || !("result" in reply)) {
|
|
@@ -1009,7 +1009,7 @@ async function probeMachine(credential, identity, { connectMs = CONNECT_TIMEOUT_
|
|
|
1009
1009
|
return {
|
|
1010
1010
|
credential,
|
|
1011
1011
|
connection,
|
|
1012
|
-
offer: identity.swiftpmArtifact && !queriesPeerCache(connection, "swiftpm-peer-cache") || identity.reactNativeArtifact && !queriesPeerCache(connection, "react-native-peer-cache") || native === "gradle" && (!identity.gradleArtifact || !connection.
|
|
1012
|
+
offer: identity.swiftpmArtifact && !queriesPeerCache(connection, "swiftpm-peer-cache") || identity.reactNativeArtifact && !queriesPeerCache(connection, "react-native-peer-cache") || native === "gradle" && (!identity.gradleArtifact || !queriesGradlePeerCache(connection, identity.gradleArtifact)) ? {
|
|
1013
1013
|
...offer,
|
|
1014
1014
|
artifact: null
|
|
1015
1015
|
} : offer
|
|
@@ -1032,7 +1032,8 @@ async function chooseBuildMachine({ projectRoot, target, here, note, machines =
|
|
|
1032
1032
|
const rubyVersion = readRubyVersion(projectRoot) ?? void 0;
|
|
1033
1033
|
const gradleQuery = gradleArtifact ? {
|
|
1034
1034
|
...gradleArtifact,
|
|
1035
|
-
project: identity.project
|
|
1035
|
+
project: identity.project,
|
|
1036
|
+
...target.platform === "android" && target.local.jdk ? { jdk: target.local.jdk } : {}
|
|
1036
1037
|
} : void 0;
|
|
1037
1038
|
const reactNativeQuery = reactNativeArtifact ? reactNativeBuildQuery(reactNativeArtifact.request, reactNativeArtifact.fingerprint, identity.project, target.local) : null;
|
|
1038
1039
|
const swiftpmQuery = swiftpmArtifact?.artifactInputs ? swiftpmArtifactQuery({
|
|
@@ -1129,6 +1130,9 @@ function rebuiltFingerprint(choice, request, fingerprint, expected) {
|
|
|
1129
1130
|
function queriesPeerCache(connection, feature) {
|
|
1130
1131
|
return connection.supports(feature) && connection.supports("build-compat");
|
|
1131
1132
|
}
|
|
1133
|
+
function queriesGradlePeerCache(connection, query) {
|
|
1134
|
+
return connection.supports("native-gradle-peer-cache") && (!query.jdk || connection.supports("native-gradle-peer-jdk"));
|
|
1135
|
+
}
|
|
1132
1136
|
function macosBuildParameters(request, peerCache) {
|
|
1133
1137
|
return {
|
|
1134
1138
|
...request.cacheArtifact === true && peerCache ? { cacheArtifact: true } : {},
|
|
@@ -1175,7 +1179,7 @@ async function peerArtifact(choice, request, fingerprint) {
|
|
|
1175
1179
|
const query = choice.gradleArtifact;
|
|
1176
1180
|
if (query) {
|
|
1177
1181
|
if (request.platform !== "android" || request.native?.provider !== "gradle" || !request.native.cache?.read || !request.native.cache.remote || query.project !== choice.identity.project || query.sourceDigest !== request.native.transfer.digest || !isDeepStrictEqual(query.inputs, request.native.transfer.declaration) || !isDeepStrictEqual(query.android, request.android)) throw new Error("The Gradle artifact query does not match the build request.");
|
|
1178
|
-
return choice.connection
|
|
1182
|
+
return queriesGradlePeerCache(choice.connection, query) ? matchingArtifact(choice.offer, "native-gradle") : null;
|
|
1179
1183
|
}
|
|
1180
1184
|
if (request.platform === "ios" && request.native && typeof fingerprint === "string" && choice.connection.supports("build-artifact-cache")) return matchingArtifact(choice.offer, {
|
|
1181
1185
|
fingerprint,
|
package/dist/collector-run.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { T as process_identity_exports } from "./exec-
|
|
2
|
-
import { k as workspaceLogsDir } from "./workspace-state-
|
|
1
|
+
import { T as process_identity_exports } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { k as workspaceLogsDir } from "./workspace-state-CHEN_xzy.mjs";
|
|
3
3
|
import { t as createLineReader } from "./process-output-Fpl8PYi8.mjs";
|
|
4
|
-
import { ft as deviceSlotKey, vt as validateDeviceSlot } from "./config-
|
|
5
|
-
import { c as watchAppPid, i as parseLogcatLine, o as startAndroidLogcat, s as waitForAppPid, t as androidClockOffset } from "./android-
|
|
4
|
+
import { ft as deviceSlotKey, vt as validateDeviceSlot } from "./config-CNmN-ndb.mjs";
|
|
5
|
+
import { c as watchAppPid, i as parseLogcatLine, o as startAndroidLogcat, s as waitForAppPid, t as androidClockOffset } from "./android-DGLG_VQ3.mjs";
|
|
6
6
|
import { i as createNdjsonWriter } from "./ndjson-CrjIsGzw.mjs";
|
|
7
|
-
import { a as startIosDeviceConsole, i as parseDeviceConsoleLine } from "./ios-device-
|
|
8
|
-
import { a as unregisterCollector, i as registerCollector, r as readCollectors, t as collectorProcessTitle } from "./ownership-
|
|
9
|
-
import { n as parseLogStreamLine, r as startIosLogStream, t as appNameFromBundleId } from "./ios-
|
|
7
|
+
import { a as startIosDeviceConsole, i as parseDeviceConsoleLine } from "./ios-device-ygijU78G.mjs";
|
|
8
|
+
import { a as unregisterCollector, i as registerCollector, r as readCollectors, t as collectorProcessTitle } from "./ownership-BLgOimfp.mjs";
|
|
9
|
+
import { n as parseLogStreamLine, r as startIosLogStream, t as appNameFromBundleId } from "./ios-2Qr4_Zu2.mjs";
|
|
10
10
|
import { existsSync } from "node:fs";
|
|
11
11
|
import { isAbsolute, join, resolve } from "node:path";
|
|
12
12
|
import { LOG_ROTATE_BYTES } from "@stim-cli/core";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as stripAnsi } from "./process-output-Fpl8PYi8.mjs";
|
|
2
|
-
import { t as NO_PROJECT_REFUSAL } from "./project-
|
|
2
|
+
import { t as NO_PROJECT_REFUSAL } from "./project-DIo71tGq.mjs";
|
|
3
3
|
import { quotedPath as quotedPath$1 } from "@stim-cli/core";
|
|
4
4
|
import chalk from "chalk";
|
|
5
5
|
//#region src/diagnostics/launch-error-preview.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as ownership_claim_exports, T as process_identity_exports, a as trackReportResource, f as WorkspaceProcessCleanupError, r as reportSignal, t as getExecutor } from "./exec-
|
|
2
|
-
import { t as runOperationFile } from "./operation-exec-
|
|
1
|
+
import { D as ownership_claim_exports, T as process_identity_exports, a as trackReportResource, f as WorkspaceProcessCleanupError, r as reportSignal, t as getExecutor } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { t as runOperationFile } from "./operation-exec-DNynwpqO.mjs";
|
|
3
3
|
import { join } from "node:path";
|
|
4
4
|
import { ambientEnv, configDir, ensurePrivateDir } from "@stim-cli/core";
|
|
5
5
|
import { DEFAULT_SERVER_PORT, allMetroPorts, cannotHost, clientIdentity, configCorruptRepair, endpoint, endpoint as endpoint$1, findEnclosingWorktreeRoot, findPeer, findPeer as findPeer$1, getConcurrencyLimits, getConfigPath, getConfigPath as getConfigPath$1, getPlatformDeviceLimits, getProject, getProjectSettings, getRepoSettings, isJsonObject, isPathPrefix as isPathPrefix$1, loadConfig, loadConfig as loadConfig$1, machineEndpoint, parseMachine, parseMachine as parseMachine$1, validateAutomaticPool, withConfigLock, withConfigLock as withConfigLock$1, withConfigLockAsync, withConfigLockAsync as withConfigLockAsync$1, wrongTailnet } from "@stim-cli/core/state";
|