stim 1.26.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/dist/{acquire-artifact-DVsvSwf7.mjs → acquire-artifact-BKN2Yuhg.mjs} +2 -2
- package/dist/{act-C-BqJEpu.mjs → act-ROviTF_t.mjs} +297 -122
- package/dist/{activity-Lnb_EoRY.mjs → activity-Cd-ysFes.mjs} +6 -6
- package/dist/{agent-device-usage-output-DbXy5tg8.mjs → agent-device-usage-output-C5nCKWp9.mjs} +5 -5
- package/dist/{android-CSbLRD53.mjs → android--HBgpvpW.mjs} +5 -5
- package/dist/{android-CiNQw3kq.mjs → android-Cd6w7_qw.mjs} +96 -43
- package/dist/{android-B5P81yI-.mjs → android-Deb9X3_Y.mjs} +37 -15
- package/dist/{android-DTAcRwBC.mjs → android-DriNoAVy.mjs} +23 -18
- package/dist/{android-cas-BTVhZ0Qs.mjs → android-cas-D5e6ecUg.mjs} +4 -4
- package/dist/android-cas-compiler.mjs +1 -1
- package/dist/api.d.mts +13 -3
- package/dist/api.mjs +39 -29
- package/dist/{apk-signed-tail-B46U9hXc.mjs → apk-signed-tail-BHQHx3Rm.mjs} +2 -2
- package/dist/{artifact-BxREhAaV.mjs → artifact-0AGJYB9O.mjs} +18 -23
- package/dist/{artifact-CsAP6AGK.mjs → artifact-faemIZv5.mjs} +19 -24
- package/dist/{artifact-platform-CMRc0M_r.mjs → artifact-platform-BO2Uvk_A.mjs} +1 -1
- package/dist/auto-placement-z-H5pJza.mjs +350 -0
- package/dist/{browser-web-rYPyqhTf.mjs → browser-web-slD8AvLp.mjs} +16 -16
- package/dist/{build-cache-DrXNCy3T.mjs → build-cache-gBJ-WKzA.mjs} +43 -21
- package/dist/{build-DPhApsjV.mjs → build-hS0QyFlQ.mjs} +35 -31
- package/dist/{build-plan-DrMMdayj.mjs → build-plan-CBqYbzYM.mjs} +7 -6
- package/dist/{cache-manifest-BEZ9Bpl1.mjs → cache-manifest-DEjqGGat.mjs} +1 -1
- package/dist/cache-manifest.mjs +1 -1
- package/dist/{budget-k2mZGvvk.mjs → ccache-BWTze1Ls.mjs} +560 -1603
- package/dist/{cdp-BG3FJCCx.mjs → cdp-C3svvXiE.mjs} +1 -1
- package/dist/{chrome-BvV8ssI3.mjs → chrome-DyDWurWG.mjs} +1 -1
- package/dist/{cli-BBKFGOFl.mjs → cli-ftXDLto1.mjs} +24 -23
- package/dist/cli.mjs +1 -1
- package/dist/{client-D9CaRks-.mjs → client-xsdxrhWA.mjs} +48 -62
- package/dist/collector-run.d.mts +10 -9
- package/dist/collector-run.mjs +42 -27
- package/dist/{command-output-BF5AR2dL.mjs → command-output-Dj-WT4BP.mjs} +1 -1
- package/dist/{config-BktkY_zC.mjs → config-Cn94Jc0g.mjs} +23 -4
- package/dist/{dependencies-Dw6wfQdv.mjs → dependencies-BGokZ-Ng.mjs} +108 -60
- package/dist/{dependency-state-DFB41vfr.mjs → dependency-state-C3OtgG94.mjs} +14 -7
- package/dist/{detached-entry-KmieOKgN.mjs → detached-entry-BPlSaCwC.mjs} +1 -1
- package/dist/{dev-client-DXR_tPVY.mjs → dev-client-BMca82xo.mjs} +2 -2
- package/dist/{device-BcYeHSFu.mjs → device-BJm0irrq.mjs} +16 -16
- package/dist/{device-capacity-DCSvUF0l.mjs → device-capacity-6LP7QsaA.mjs} +101 -16
- package/dist/device-host-worker.mjs +19 -19
- package/dist/{device-ios-BLGfXQeK.mjs → device-ios-534c14fz.mjs} +251 -23
- package/dist/{device-lease-run-BmvIl7bI.mjs → device-lease-run-DwsGfjUN.mjs} +5 -5
- package/dist/{device-pool-Dluix4H3.mjs → device-pool-BnQqvs6o.mjs} +3 -3
- package/dist/{device-BK-zwyd_.mjs → device-tM41-TUq.mjs} +25 -24
- package/dist/{doctor-Cp-BhzTS.mjs → doctor-Dbx1ZpD2.mjs} +1 -1
- package/dist/{doctor-Bhg1ii70.mjs → doctor-DyqE9n1J.mjs} +28 -16
- package/dist/{doctor-OnwP94ne.mjs → doctor-F-3VUUyN.mjs} +76 -32
- package/dist/{doctor-fingerprint-D3a04Mhu.mjs → doctor-fingerprint-o7ZI9YLn.mjs} +1 -1
- package/dist/doctor-fingerprint.mjs +1 -1
- package/dist/{doctor-watchman-BStK05nt.mjs → doctor-watchman-CxDbyrrt.mjs} +5 -5
- package/dist/{eas-build-Dsj93iM9.mjs → eas-build-CjNSWmjo.mjs} +4 -4
- package/dist/eas-fallback-9fqb46kW.mjs +87 -0
- package/dist/{eas-session-ledger-B5vygTiD.mjs → eas-session-ledger-DrP4OuuM.mjs} +6 -6
- package/dist/{error-diagnostics-BOOm9Db7.mjs → error-diagnostics-snej9k4j.mjs} +51 -25
- package/dist/{exec-VFRpu1iA.mjs → exec-aULwtNly.mjs} +57 -6
- package/dist/{gc-C_79zvz4.mjs → gc-BRwAY3qT.mjs} +2 -2
- package/dist/{gc-ldgr-hXU.mjs → gc-CGZ1Yg88.mjs} +160 -45
- package/dist/{guide-D7K0X6KG.mjs → guide-_rfEh_zM.mjs} +580 -183
- package/dist/{hosted-android-Bk54ej6n.mjs → hosted-android-BMKzUNnY.mjs} +4 -4
- package/dist/{hosted-client-fHO8yqzc.mjs → hosted-client-D7Pk_Oo1.mjs} +12 -8
- package/dist/{hosted-logs-BfbmDM4M.mjs → hosted-logs-B1gqQuva.mjs} +8 -8
- package/dist/{hosted-logs-sync-B0pvmOk-.mjs → hosted-logs-sync-Dg3qrZmV.mjs} +5 -5
- package/dist/{hosted-macos-CPl0OZ9h.mjs → hosted-macos-B9w4H8hc.mjs} +6 -6
- package/dist/{hosted-native-CpDB3-PO.mjs → hosted-native-CdgaiuyP.mjs} +17 -16
- package/dist/{idle-shutdown-FfxL1KdG.mjs → idle-shutdown-Cbvo5KEh.mjs} +7 -8
- package/dist/{ios-ftxdQbJS.mjs → ios-B5HlVMhQ.mjs} +92 -37
- package/dist/{ios-B7-lToDu.mjs → ios-Bk4mWbtS.mjs} +8 -8
- package/dist/{ios-ENC4sRPA.mjs → ios-CsRVik64.mjs} +7 -1
- package/dist/{ios-WxpDJ5T1.mjs → ios-E26qSpkb.mjs} +27 -11
- package/dist/{ios-device-CsyryvpT.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-Ty5pHl9O.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-Cw7-WQf2.mjs → ios-state-BZ03NFgF.mjs} +1 -1
- package/dist/{js-swap-BMhXYVDS.mjs → js-swap-Dg2a945i.mjs} +8 -7
- package/dist/{launch-DOp8RjDz.mjs → launch-CRyBeNsA.mjs} +42 -38
- package/dist/lightened-BCsdAGj_.mjs +171 -0
- package/dist/{logs-dQDki6Tt.mjs → logs-CC_-ZzEE.mjs} +7 -7
- package/dist/{logs-s1dRIG1E.mjs → logs-aJQb-RDg.mjs} +46 -21
- package/dist/{macos-B0VEV3Gf.mjs → macos-BGmTpnv9.mjs} +1 -1
- package/dist/{macos-DBBPNnIA.mjs → macos-DlCBhMw5.mjs} +73 -38
- package/dist/macos-run.mjs +1 -1
- package/dist/maintenance-run.mjs +7 -7
- package/dist/{metro-CjC10t6E.mjs → metro-CvyD-xwe.mjs} +4 -4
- package/dist/{metro-gateway-B6_PgD0L.mjs → metro-gateway-BnHdqMO_.mjs} +3 -3
- package/dist/{named-ports-BG0j1X4g.mjs → named-ports-BCyMWA6b.mjs} +3 -3
- package/dist/{native-android-CL2NGiik.mjs → native-android-DlpxCyOP.mjs} +17 -18
- package/dist/{native-gradle-artifact-inputs-btSUulme.mjs → native-gradle-artifact-inputs-C13qT7R_.mjs} +5 -5
- package/dist/{native-runtime-Dq3RBcON.mjs → native-runtime-DqaIBO5w.mjs} +9 -8
- package/dist/{native-source-D-4Dh4JU.mjs → native-source-D1AzWiuP.mjs} +1 -1
- package/dist/{native-xcode-inputs-BW7H8JGu.mjs → native-xcode-inputs-B1W8SrxB.mjs} +3 -3
- package/dist/{native-xcode-ios-CBXJAxfC.mjs → native-xcode-ios-QPP0Rm68.mjs} +17 -17
- package/dist/{ndjson-CgE_o3Dl.mjs → ndjson-Dy2W4vRa.mjs} +2 -2
- package/dist/offload-worker.mjs +23 -24
- package/dist/{operation-exec-CUZifp6Z.mjs → operation-exec-Dp4FuIGR.mjs} +1 -1
- package/dist/{ownership-BjYvMNX_.mjs → ownership-Bx-0cku-.mjs} +3 -3
- package/dist/{page-CzEA_-5_.mjs → page-CQJlcj3x.mjs} +2 -2
- package/dist/{phone-reverses-lmj6kcPm.mjs → phone-reverses-C9yAaKEv.mjs} +18 -4
- package/dist/{placement-log-DIFPQAXp.mjs → placement-log-BXUbiZM6.mjs} +3 -3
- package/dist/{plan-placement-IiiSQhtz.mjs → plan-placement-UxnQjv5Z.mjs} +36 -10
- package/dist/{ports-C2_w1Z0Z.mjs → ports-uUrghqWN.mjs} +3 -3
- package/dist/{prebuild-gmouvmJZ.mjs → prebuild-BDpToDgR.mjs} +16 -17
- package/dist/{project-BUu6Is4k.mjs → project-DYj-HVx6.mjs} +17 -17
- package/dist/{pull-request-CbNlkFok.mjs → pull-request-BzLmzAIQ.mjs} +2 -2
- package/dist/pull-requests.mjs +1 -1
- package/dist/{react-native-android-Cgg99REN.mjs → react-native-android-DDBccgJw.mjs} +32 -26
- package/dist/{react-native-build-oNwqF5Wb.mjs → react-native-build-DaK2IFyP.mjs} +9 -9
- package/dist/{react-native-doctor-BhA3KUte.mjs → react-native-doctor-B-Mw6DcR.mjs} +6 -6
- package/dist/{react-native-ios-B-nf4rjN.mjs → react-native-ios-DjYwUF9U.mjs} +23 -17
- package/dist/{recordings-BldzVKq0.mjs → recordings-C20iUZfp.mjs} +1 -1
- package/dist/{registration-CN6nlhcD.mjs → registration-BwCe64PH.mjs} +1 -1
- package/dist/{reload-C9OduiNc.mjs → reload-DJBeF_rC.mjs} +1 -1
- package/dist/{reload-CCR7KC_l.mjs → reload-fUdkH2_p.mjs} +16 -16
- package/dist/{remote-C8S7FlPF.mjs → remote-y6n99WMW.mjs} +22 -9
- package/dist/{result-7F5hEwQJ.mjs → result-CTqBw2Te.mjs} +32 -21
- package/dist/{run-BqB0v3pt.mjs → run-DaCeNKRm.mjs} +3 -3
- package/dist/{selection-BNPBZ6T5.mjs → selection-Bs8phwhN.mjs} +37 -29
- package/dist/{server-bare-A75rDIdD.mjs → server-bare-BOh-iZEj.mjs} +2 -2
- package/dist/{server-command-CssKFOD7.mjs → server-command-8CuA51Cv.mjs} +6 -6
- package/dist/{server-expo-eQfOdydb.mjs → server-expo-ABQs2XFA.mjs} +4 -4
- package/dist/server-expo-Ba_Y21vB.mjs +2 -0
- package/dist/{settings-CosW5X-S.mjs → settings-BDVI8Ivc.mjs} +331 -62
- package/dist/{settings-OaGQF-ri.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 +51 -33
- package/dist/{simslim-Bax1qcxu.mjs → simslim-DCQwzoPy.mjs} +2 -2
- package/dist/{slot-launch-CYCEhfBY.mjs → slot-launch-0l7RqSpr.mjs} +6 -6
- package/dist/{stage-jKQ7CP_B.mjs → stage-F4cAfJGi.mjs} +2 -2
- package/dist/{start-C_wefNKB.mjs → start-DcqnF9p8.mjs} +1 -1
- package/dist/{start-_BdJ32cZ.mjs → start-DrPwER_2.mjs} +27 -22
- package/dist/{state-C1i2nMOP.mjs → state-BX1y5syV.mjs} +4 -4
- package/dist/{state-C4OdpOTF.mjs → state-CZxLyetD.mjs} +2 -2
- package/dist/{stats-tEpEEH-u.mjs → stats-GxuCbles.mjs} +5 -5
- package/dist/{stats-report-n2U5plhk.mjs → stats-report-B86Cv7Uc.mjs} +1 -1
- package/dist/{status-CRXz-Gtj.mjs → status-7ULDEJ1e.mjs} +1 -1
- package/dist/{status-DQrqodLj.mjs → status-BfnK9pUd.mjs} +25 -25
- package/dist/{status-B9M7x4CZ.mjs → status-Bj7ZYvvc.mjs} +1 -1
- package/dist/{status-watch-B5wDIH_o.mjs → status-watch-BfabQn03.mjs} +5 -5
- package/dist/status-worker.mjs +1 -1
- package/dist/{stim-desktop-6Dqp-gjX.mjs → stim-desktop-CbWo21kb.mjs} +2 -2
- package/dist/{stop-ySNQHXMG.mjs → stop-CH79S3IZ.mjs} +5 -5
- package/dist/{stop-DRqQVqDJ.mjs → stop-D-EAr25B.mjs} +21 -20
- package/dist/{stop-CmdNhGlC.mjs → stop-x1Yu3He4.mjs} +2 -2
- package/dist/supervisor-run.mjs +17 -17
- package/dist/{support-CVOCp0Ft.mjs → support-Be0UeVZU.mjs} +10 -10
- package/dist/{support-BGSCBoib.mjs → support-CNg_YsOk.mjs} +6 -6
- package/dist/{swiftpm-artifact-inputs-CfUzt_0Z.mjs → swiftpm-artifact-inputs-uPqYvGBv.mjs} +4 -4
- package/dist/{swiftpm-macos-x6HPpl_2.mjs → swiftpm-macos-Ch4YjY_A.mjs} +11 -12
- package/dist/{toolchain-J4J8MrAr.mjs → toolchain-CbCG6C5Z.mjs} +321 -15
- package/dist/{toolchain-DoavrvIA.mjs → toolchain-JYAOquPg.mjs} +1 -1
- package/dist/{trigger-KVaWWNyn.mjs → trigger-DMou-X7j.mjs} +2 -2
- package/dist/trigger-qp2ji5wE.mjs +2 -0
- package/dist/{warm-progress-DvhTX_eu.mjs → warm-progress-C0RsbngN.mjs} +731 -727
- package/dist/{web-Bihbf7-u.mjs → web-Cq_AQ4DK.mjs} +9 -9
- 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-pUg3_RRA.mjs → workspace-state-BjqdjnJR.mjs} +3 -3
- package/dist/{workspaces-g2lhdBXF.mjs → workspaces-DFbj07jp.mjs} +1795 -70
- package/dist/{worktree-BKuklFh_.mjs → worktree-COAJ3-OD.mjs} +934 -514
- package/dist/{worktree-Bm4cb-nU.mjs → worktree-JGUd_53L.mjs} +1 -1
- package/package.json +7 -7
- package/dist/ccache-Bx5TbxwG.mjs +0 -143
- package/dist/eas-fallback-FwkeqqGi.mjs +0 -381
- package/dist/hosted-ios-D55QhYaD.mjs +0 -15
- package/dist/native-run-BfIDFKLH.mjs +0 -275
- package/dist/server-expo-wvcj5tiZ.mjs +0 -2
- package/dist/settings-write-QjYfSrjF.mjs +0 -360
- package/dist/trigger-DzJu208Q.mjs +0 -2
- package/dist/web-BFLueSh-.mjs +0 -2
package/dist/api.mjs
CHANGED
|
@@ -1,30 +1,32 @@
|
|
|
1
|
-
import { D as ownership_claim_exports, T as trackReportResource, b as operationState, c as throwIfCancelled, l as WorkspaceProcessCleanupError, s as cancelledError, w as runReport } from "./exec-
|
|
2
|
-
import { E as workspaceDir, a as recordWorkspaceUseAsync, k as workspaceLogsDir$1, v as ensureWorkspaceStorageAsync } from "./workspace-state-
|
|
3
|
-
import { E as upsertProject, O as withConfigLockAsync$1, p as getProject, q as validateDeviceSlot, y as refuseRelativeStimPaths } from "./config-
|
|
4
|
-
import { l as phaseLine } from "./command-output-
|
|
5
|
-
import {
|
|
6
|
-
import { c as projectProblem, f as projectRegistry, i as findProjectRoot$1, r as findCommandWorkspaceAsync, t as NO_PROJECT_REFUSAL } from "./project-
|
|
7
|
-
import { n as macosDir } from "./state-
|
|
8
|
-
import { c as ensureHomeIdentity, s as workspaceShareURL } from "./stim-desktop-
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { c as stopWorkspaceNow } from "./stop-
|
|
14
|
-
import { r as runReload } from "./reload-
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import { a as
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
1
|
+
import { D as ownership_claim_exports, T as trackReportResource, b as operationState, c as throwIfCancelled, l as WorkspaceProcessCleanupError, s as cancelledError, w as runReport } from "./exec-aULwtNly.mjs";
|
|
2
|
+
import { E as workspaceDir, a as recordWorkspaceUseAsync, k as workspaceLogsDir$1, v as ensureWorkspaceStorageAsync } from "./workspace-state-BjqdjnJR.mjs";
|
|
3
|
+
import { E as upsertProject, O as withConfigLockAsync$1, p as getProject, q as validateDeviceSlot, y as refuseRelativeStimPaths } from "./config-Cn94Jc0g.mjs";
|
|
4
|
+
import { l as phaseLine } from "./command-output-Dj-WT4BP.mjs";
|
|
5
|
+
import { Lt as repoRootAsync, Z as resolveProjectSettingsAsync, _ as inertSettingWarning, a as SETTING_SHAPE_REMEDY, p as cacheProviderSettingError, rt as settingShapeErrors, st as unknownSettingKeys } from "./settings-BDVI8Ivc.mjs";
|
|
6
|
+
import { c as projectProblem, f as projectRegistry, i as findProjectRoot$1, r as findCommandWorkspaceAsync, t as NO_PROJECT_REFUSAL } from "./project-DYj-HVx6.mjs";
|
|
7
|
+
import { n as macosDir } from "./state-CZxLyetD.mjs";
|
|
8
|
+
import { c as ensureHomeIdentity, s as workspaceShareURL } from "./stim-desktop-CbWo21kb.mjs";
|
|
9
|
+
import { i as createNdjsonWriter } from "./ndjson-Dy2W4vRa.mjs";
|
|
10
|
+
import { Q as errorRemedy, X as tapBuildLog, Y as startBuildProgress, q as recordFinishedBuild } from "./workspaces-DFbj07jp.mjs";
|
|
11
|
+
import { ot as runCancellationSignal, st as withNativeBuildRun } from "./toolchain-CbCG6C5Z.mjs";
|
|
12
|
+
import { d as resolveBuildPlacement } from "./selection-Bs8phwhN.mjs";
|
|
13
|
+
import { c as stopWorkspaceNow } from "./stop-D-EAr25B.mjs";
|
|
14
|
+
import { r as runReload } from "./reload-fUdkH2_p.mjs";
|
|
15
|
+
import { h as warmWorktreeTarget, m as removeWorktreeTarget } from "./worktree-COAJ3-OD.mjs";
|
|
16
|
+
import { i as restoreLightenedDependencies } from "./lightened-BCsdAGj_.mjs";
|
|
17
|
+
import { c as startDevServer } from "./start-DrPwER_2.mjs";
|
|
18
|
+
import { s as recordDoctorCheck } from "./doctor-watchman-CxDbyrrt.mjs";
|
|
19
|
+
import { c as readSettingsPayload, s as readSettingsContext, t as SettingsRefusal } from "./settings-payload-cm60Zhib.mjs";
|
|
20
|
+
import { a as readDoctorReport } from "./doctor-DyqE9n1J.mjs";
|
|
21
|
+
import { i as readGcReport, n as executeGc, o as withGcMaintenanceClaim } from "./gc-CGZ1Yg88.mjs";
|
|
22
|
+
import { r as readWorkspaceLogs, t as followWorkspaceLogs } from "./logs-CC_-ZzEE.mjs";
|
|
23
|
+
import { t as readProjectStats } from "./stats-report-B86Cv7Uc.mjs";
|
|
24
|
+
import { n as buildAndroidOperation, t as buildIosOperation } from "./build-hS0QyFlQ.mjs";
|
|
25
|
+
import { a as readAndroidBuildPlan, i as runAndroidOperation } from "./android-Cd6w7_qw.mjs";
|
|
26
|
+
import { i as readIosBuildPlan, r as runIosOperation } from "./ios-B5HlVMhQ.mjs";
|
|
27
|
+
import { a as buildMacosBundle, i as planMacos, n as runMacos } from "./macos-DlCBhMw5.mjs";
|
|
28
|
+
import { t as runWeb } from "./web-Cq_AQ4DK.mjs";
|
|
29
|
+
import { t as mutateSetting } from "./settings-write-BdNRLlBn.mjs";
|
|
28
30
|
import { randomBytes } from "node:crypto";
|
|
29
31
|
import { mkdirSync, mkdtempSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
30
32
|
import { stripVTControlCharacters } from "node:util";
|
|
@@ -78,6 +80,7 @@ async function buildMacosOperation(context, root, options) {
|
|
|
78
80
|
};
|
|
79
81
|
let directory;
|
|
80
82
|
let succeeded = false;
|
|
83
|
+
let remedy;
|
|
81
84
|
try {
|
|
82
85
|
const artifacts = join(workspaceDir(root), "artifacts");
|
|
83
86
|
mkdirSync(artifacts, { recursive: true });
|
|
@@ -116,6 +119,7 @@ async function buildMacosOperation(context, root, options) {
|
|
|
116
119
|
build.state = "failed";
|
|
117
120
|
build.error = failure instanceof Error ? failure.message : String(failure);
|
|
118
121
|
build.errorCode = failure.code;
|
|
122
|
+
remedy = errorRemedy(failure);
|
|
119
123
|
throw failure;
|
|
120
124
|
} finally {
|
|
121
125
|
build.finishedAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
@@ -136,7 +140,11 @@ async function buildMacosOperation(context, root, options) {
|
|
|
136
140
|
builtOn: build.builtOn,
|
|
137
141
|
offloadedTo: build.offloadedTo,
|
|
138
142
|
offloadFallback: build.offloadFallback,
|
|
139
|
-
compileSteps: progress.steps()
|
|
143
|
+
compileSteps: progress.steps(),
|
|
144
|
+
...build.error ? { ledger: {
|
|
145
|
+
message: build.error,
|
|
146
|
+
remedy
|
|
147
|
+
} } : {}
|
|
140
148
|
}, { artifactOnly: true });
|
|
141
149
|
} catch (error) {
|
|
142
150
|
note(phaseLine("state", `could not record the build: ${error?.message || error}`));
|
|
@@ -611,6 +619,8 @@ async function start(context, options) {
|
|
|
611
619
|
});
|
|
612
620
|
const root = findProjectRoot$1(context.projectRoot);
|
|
613
621
|
if (!root) throw new StimError(NO_PROJECT_REFUSAL);
|
|
622
|
+
const lightened = await restoreLightenedDependencies(root, context);
|
|
623
|
+
if (lightened) throw new StimError(lightened);
|
|
614
624
|
const problem = projectProblem(root, "dev-server");
|
|
615
625
|
if (problem) throw new StimError({
|
|
616
626
|
code: "STIM_NO_PROJECT",
|
|
@@ -632,7 +642,7 @@ async function start(context, options) {
|
|
|
632
642
|
message: shapeErrors.join("\n"),
|
|
633
643
|
remedy: SETTING_SHAPE_REMEDY
|
|
634
644
|
});
|
|
635
|
-
for (const key of unknownSettingKeys(settings)) note(context)(
|
|
645
|
+
for (const key of unknownSettingKeys(settings)) note(context)(inertSettingWarning(settings, key));
|
|
636
646
|
const cacheError = cacheProviderSettingError(settings);
|
|
637
647
|
if (cacheError) note(context)(`Warning: ${cacheError} No cache provider is used.`);
|
|
638
648
|
await ensureWorkspaceStorageAsync(root, context.signal);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { y as sharedBuildCache } from "./workspace-state-
|
|
2
|
-
import { E as findBuildTool } from "./android-
|
|
1
|
+
import { y as sharedBuildCache } from "./workspace-state-BjqdjnJR.mjs";
|
|
2
|
+
import { E as findBuildTool } from "./android-DriNoAVy.mjs";
|
|
3
3
|
import { createHash, randomUUID } from "node:crypto";
|
|
4
4
|
import { closeSync, fstatSync, openSync, readFileSync, readSync, realpathSync, renameSync, rmSync } from "node:fs";
|
|
5
5
|
import { basename, dirname, join } from "node:path";
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import { D as ownership_claim_exports, c as throwIfCancelled, x 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 {
|
|
7
|
-
import { n as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { t as
|
|
13
|
-
import {
|
|
14
|
-
import { a as PLATFORM, h as displayPath } from "./support-BGSCBoib.mjs";
|
|
1
|
+
import { D as ownership_claim_exports, c as throwIfCancelled, x as withDrainingCancellation } from "./exec-aULwtNly.mjs";
|
|
2
|
+
import { E as workspaceDir } from "./workspace-state-BjqdjnJR.mjs";
|
|
3
|
+
import { _ as stepTimer, i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-Dj-WT4BP.mjs";
|
|
4
|
+
import { Dn as RESOLVE_TIMEOUT_MS, Mn as isEasAuthFailureText, jn as easAuthNote, n as CCACHE_UNAVAILABLE, r as ccacheActivityLine, t as CCACHE_NOT_RUN } from "./ccache-BWTze1Ls.mjs";
|
|
5
|
+
import { Q as cancelledFailure, ot as runCancellationSignal } from "./toolchain-CbCG6C5Z.mjs";
|
|
6
|
+
import { b as providerDownloadPath, y as prepareProviderDownloadDir } from "./build-cache-gBJ-WKzA.mjs";
|
|
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-xsdxrhWA.mjs";
|
|
8
|
+
import { a as missingPackageManagerRemedy, i as fingerprintMismatchRemedy, l as requireLocalBuild, n as automaticBuild, o as namedBuildMachine, t as OffloadRefusal } from "./selection-Bs8phwhN.mjs";
|
|
9
|
+
import { f as formatDiagnostic } from "./react-native-build-DaK2IFyP.mjs";
|
|
10
|
+
import { u as skippedMissReason } from "./prebuild-BDpToDgR.mjs";
|
|
11
|
+
import { t as buildPlacementRecord } from "./placement-log-BXUbiZM6.mjs";
|
|
12
|
+
import { n as settleArtifactUploads, t as acquireArtifact } from "./acquire-artifact-BKN2Yuhg.mjs";
|
|
13
|
+
import { a as PLATFORM, h as displayPath } from "./support-CNg_YsOk.mjs";
|
|
15
14
|
import { t as AndroidRecipeRefusal } from "./android-project-BCAAmMwz.mjs";
|
|
16
15
|
import { rmSync } from "node:fs";
|
|
17
16
|
import { join } from "node:path";
|
|
@@ -47,7 +46,7 @@ async function acquireAndroidArtifact({ context, root, buildLog, writer, recipe,
|
|
|
47
46
|
}
|
|
48
47
|
}));
|
|
49
48
|
if (namedBuildMachine(buildMachine)) throw new OffloadRefusal(buildMachine, reason, info.remedy);
|
|
50
|
-
requireLocalBuild(buildMachine);
|
|
49
|
+
requireLocalBuild(buildMachine, reason);
|
|
51
50
|
record.offloadFallback = reason;
|
|
52
51
|
phase("build", `${line} -> building here`);
|
|
53
52
|
};
|
|
@@ -295,7 +294,7 @@ async function acquireAndroidArtifact({ context, root, buildLog, writer, recipe,
|
|
|
295
294
|
try {
|
|
296
295
|
slotWaitMs = (await run.takeBuildSlot({
|
|
297
296
|
signal,
|
|
298
|
-
automatic: buildMachine
|
|
297
|
+
automatic: automaticBuild(buildMachine),
|
|
299
298
|
max: maxBuilds,
|
|
300
299
|
out,
|
|
301
300
|
waitingFor: (info) => waitingFor?.(info, "build-slot")
|
|
@@ -319,12 +318,11 @@ async function acquireAndroidArtifact({ context, root, buildLog, writer, recipe,
|
|
|
319
318
|
hereReason = cacheIneligible;
|
|
320
319
|
return null;
|
|
321
320
|
}
|
|
322
|
-
const {
|
|
321
|
+
const { machines, localEnabled } = buildPlacementCandidates(buildMachine);
|
|
323
322
|
if (localEnabled && machines.length === 0 && !namedBuildMachine(buildMachine) && buildMachine !== "local") return null;
|
|
324
323
|
const unsupported = targetOffloadRefusal ?? (recipe.offload ? recipe.offload.unsupported : "this project integration does not support offloaded builds");
|
|
325
324
|
const here = machineCapacity();
|
|
326
325
|
const placement = offloadPlacement({
|
|
327
|
-
mode,
|
|
328
326
|
localEnabled,
|
|
329
327
|
machines: machines.length,
|
|
330
328
|
here,
|
|
@@ -335,7 +333,6 @@ async function acquireAndroidArtifact({ context, root, buildLog, writer, recipe,
|
|
|
335
333
|
hereReason = placement.reason;
|
|
336
334
|
if (placement.code === "this-mac-free" && cachePolicy.read && cachePolicy.remote && (recipe.offload?.uncachedArtifacts || recipe.offload && !recipe.offload.request.native)) return {
|
|
337
335
|
cacheOnly: true,
|
|
338
|
-
mode,
|
|
339
336
|
here,
|
|
340
337
|
code: placement.code,
|
|
341
338
|
reason: placement.reason,
|
|
@@ -349,12 +346,11 @@ async function acquireAndroidArtifact({ context, root, buildLog, writer, recipe,
|
|
|
349
346
|
reason: placement.reason
|
|
350
347
|
}
|
|
351
348
|
}));
|
|
352
|
-
if (
|
|
349
|
+
if (buildMachine !== "local") phase("build", `placement: here (${placement.reason})`);
|
|
353
350
|
return null;
|
|
354
351
|
}
|
|
355
352
|
return {
|
|
356
353
|
cacheOnly: false,
|
|
357
|
-
mode,
|
|
358
354
|
here,
|
|
359
355
|
code: placement.code,
|
|
360
356
|
reason: placement.reason,
|
|
@@ -377,7 +373,6 @@ async function acquireAndroidArtifact({ context, root, buildLog, writer, recipe,
|
|
|
377
373
|
const choice = await chooseBuildMachine({
|
|
378
374
|
projectRoot: root,
|
|
379
375
|
target,
|
|
380
|
-
mode: candidate.mode,
|
|
381
376
|
here: candidate.here,
|
|
382
377
|
note: (line) => phase("build", chalk.dim(`offload: ${line}`)),
|
|
383
378
|
machines: candidate.machines,
|
|
@@ -506,7 +501,7 @@ async function acquireAndroidArtifact({ context, root, buildLog, writer, recipe,
|
|
|
506
501
|
fallBack(`${choice.machine}: ${why}`, `offload failed: ${why}`, {
|
|
507
502
|
code: "offload-failed",
|
|
508
503
|
machine: choice.machine,
|
|
509
|
-
remedy: outcome.ok ? void 0 : fingerprintMismatchRemedy(outcome.reason)
|
|
504
|
+
remedy: outcome.ok ? void 0 : fingerprintMismatchRemedy(outcome.reason) ?? missingPackageManagerRemedy(choice.machine, outcome.reason)
|
|
510
505
|
});
|
|
511
506
|
writer.write({
|
|
512
507
|
src: "build",
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import { D as ownership_claim_exports, c as throwIfCancelled, x 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 {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { t as
|
|
13
|
-
import {
|
|
14
|
-
import { r as finishIosUpload, t as IosRecipeRefusal } from "./ios-project-Ty5pHl9O.mjs";
|
|
1
|
+
import { D as ownership_claim_exports, c as throwIfCancelled, x as withDrainingCancellation } from "./exec-aULwtNly.mjs";
|
|
2
|
+
import { E as workspaceDir } from "./workspace-state-BjqdjnJR.mjs";
|
|
3
|
+
import { _ as stepTimer, i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-Dj-WT4BP.mjs";
|
|
4
|
+
import { Dn as RESOLVE_TIMEOUT_MS, Mn as isEasAuthFailureText, jn as easAuthNote } from "./ccache-BWTze1Ls.mjs";
|
|
5
|
+
import { P as compilationCacheActivityLine, Q as cancelledFailure, k as COMPILATION_CACHE_NOT_RUN, ot as runCancellationSignal } from "./toolchain-CbCG6C5Z.mjs";
|
|
6
|
+
import { T as storedAppId, b as providerDownloadPath, x as providerUploadOutcome, y as prepareProviderDownloadDir } from "./build-cache-gBJ-WKzA.mjs";
|
|
7
|
+
import { C as COMPILATION_CACHE_CORRUPT, 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 clearCorruptCompilationCache } from "./client-xsdxrhWA.mjs";
|
|
8
|
+
import { a as missingPackageManagerRemedy, c as podsFailedRemedy, h as predictedRefusal, i as fingerprintMismatchRemedy, l as requireLocalBuild, n as automaticBuild, o as namedBuildMachine, t as OffloadRefusal } from "./selection-Bs8phwhN.mjs";
|
|
9
|
+
import { S as xcodeFailureReport, p as printDiagnostics } from "./support-Be0UeVZU.mjs";
|
|
10
|
+
import { f as settleFingerprintCheck, u as skippedMissReason } from "./prebuild-BDpToDgR.mjs";
|
|
11
|
+
import { t as buildPlacementRecord } from "./placement-log-BXUbiZM6.mjs";
|
|
12
|
+
import { n as settleArtifactUploads, t as acquireArtifact } from "./acquire-artifact-BKN2Yuhg.mjs";
|
|
13
|
+
import { r as finishIosUpload, t as IosRecipeRefusal } from "./ios-project-D8Jcy_br.mjs";
|
|
15
14
|
import { rmSync } from "node:fs";
|
|
16
15
|
import { join } from "node:path";
|
|
17
16
|
import { machineCapacity } from "@stim-cli/core/state";
|
|
@@ -64,7 +63,7 @@ async function acquireIosArtifact({ context, root, logFile, recipe, physical, co
|
|
|
64
63
|
}
|
|
65
64
|
}));
|
|
66
65
|
if (namedBuildMachine(buildMachine)) throw new OffloadRefusal(buildMachine, reason, info.remedy);
|
|
67
|
-
requireLocalBuild(buildMachine);
|
|
66
|
+
requireLocalBuild(buildMachine, reason);
|
|
68
67
|
offloadFallback = reason;
|
|
69
68
|
buildFailure = {
|
|
70
69
|
...buildFailure,
|
|
@@ -289,7 +288,7 @@ async function acquireIosArtifact({ context, root, logFile, recipe, physical, co
|
|
|
289
288
|
try {
|
|
290
289
|
slotWaitMs = (await run.takeBuildSlot({
|
|
291
290
|
signal,
|
|
292
|
-
automatic: buildMachine
|
|
291
|
+
automatic: automaticBuild(buildMachine),
|
|
293
292
|
max: maxBuilds,
|
|
294
293
|
out: note,
|
|
295
294
|
waitingFor: (info) => waitingFor?.(info, "build-slot")
|
|
@@ -314,9 +313,9 @@ async function acquireIosArtifact({ context, root, logFile, recipe, physical, co
|
|
|
314
313
|
hereReason = cacheIneligible;
|
|
315
314
|
return null;
|
|
316
315
|
}
|
|
317
|
-
const {
|
|
316
|
+
const { machines, localEnabled } = buildPlacementCandidates(buildMachine);
|
|
318
317
|
if (localEnabled && machines.length === 0 && !namedBuildMachine(buildMachine) && buildMachine !== "local") return null;
|
|
319
|
-
const { runtime, unsupported } =
|
|
318
|
+
const { runtime, unsupported } = buildMachine === "local" ? {
|
|
320
319
|
runtime: null,
|
|
321
320
|
unsupported: null
|
|
322
321
|
} : await recipe.offload?.context() ?? {
|
|
@@ -325,7 +324,6 @@ async function acquireIosArtifact({ context, root, logFile, recipe, physical, co
|
|
|
325
324
|
};
|
|
326
325
|
const here = machineCapacity();
|
|
327
326
|
const placement = offloadPlacement({
|
|
328
|
-
mode,
|
|
329
327
|
localEnabled,
|
|
330
328
|
machines: machines.length,
|
|
331
329
|
here,
|
|
@@ -336,7 +334,6 @@ async function acquireIosArtifact({ context, root, logFile, recipe, physical, co
|
|
|
336
334
|
hereReason = placement.reason;
|
|
337
335
|
if (placement.code === "this-mac-free" && runtime && useBuildCache && cachePolicy.remote && recipe.offload !== void 0) return {
|
|
338
336
|
cacheOnly: true,
|
|
339
|
-
mode,
|
|
340
337
|
here,
|
|
341
338
|
code: placement.code,
|
|
342
339
|
reason: placement.reason,
|
|
@@ -351,7 +348,7 @@ async function acquireIosArtifact({ context, root, logFile, recipe, physical, co
|
|
|
351
348
|
reason: placement.reason
|
|
352
349
|
}
|
|
353
350
|
}));
|
|
354
|
-
if (
|
|
351
|
+
if (buildMachine !== "local") phase("build", `placement: here (${placement.reason})`);
|
|
355
352
|
return null;
|
|
356
353
|
}
|
|
357
354
|
const named = machines.find((each) => each.machine === buildMachine);
|
|
@@ -363,7 +360,6 @@ async function acquireIosArtifact({ context, root, logFile, recipe, physical, co
|
|
|
363
360
|
}
|
|
364
361
|
return {
|
|
365
362
|
cacheOnly: false,
|
|
366
|
-
mode,
|
|
367
363
|
here,
|
|
368
364
|
code: placement.code,
|
|
369
365
|
reason: placement.reason,
|
|
@@ -382,7 +378,6 @@ async function acquireIosArtifact({ context, root, logFile, recipe, physical, co
|
|
|
382
378
|
const choice = await chooseBuildMachine({
|
|
383
379
|
projectRoot: root,
|
|
384
380
|
target,
|
|
385
|
-
mode: candidate.mode,
|
|
386
381
|
here: candidate.here,
|
|
387
382
|
note: (line) => note(chalk.dim(phaseLine("build", `offload: ${line}`))),
|
|
388
383
|
machines: candidate.machines,
|
|
@@ -494,7 +489,7 @@ async function acquireIosArtifact({ context, root, logFile, recipe, physical, co
|
|
|
494
489
|
fallBack(`${choice.machine}: ${why}`, `offload failed: ${why}`, {
|
|
495
490
|
code: corrupt === void 0 ? "offload-failed" : COMPILATION_CACHE_CORRUPT,
|
|
496
491
|
machine: choice.machine,
|
|
497
|
-
remedy: outcome.ok ? void 0 : fingerprintMismatchRemedy(outcome.reason) ?? podsFailedRemedy(choice.machine, outcome.reason, localCocoapods)
|
|
492
|
+
remedy: outcome.ok ? void 0 : fingerprintMismatchRemedy(outcome.reason) ?? missingPackageManagerRemedy(choice.machine, outcome.reason) ?? podsFailedRemedy(choice.machine, outcome.reason, localCocoapods)
|
|
498
493
|
});
|
|
499
494
|
logWriter().write({
|
|
500
495
|
src: "build",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as getExecutor } from "./exec-
|
|
1
|
+
import { t as getExecutor } from "./exec-aULwtNly.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) {
|