reeval 0.27.0 → 0.27.2
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/CHANGELOG.md +14 -0
- package/README.md +15 -15
- package/dist/{adapter-oVMkQsso.js → adapter-BuisZmtg.js} +2 -2
- package/dist/{adapter-oVMkQsso.js.map → adapter-BuisZmtg.js.map} +1 -1
- package/dist/{agent-n0Xz6iV7.js → agent-ofh_n1XS.js} +3 -3
- package/dist/{agent-n0Xz6iV7.js.map → agent-ofh_n1XS.js.map} +1 -1
- package/dist/{agents-CnPPrYxY.js → agents-DGr0kCFD.js} +2 -2
- package/dist/{agents-CnPPrYxY.js.map → agents-DGr0kCFD.js.map} +1 -1
- package/dist/{assemble-f76K2G38.js → assemble-Co4noZvq.js} +5 -5
- package/dist/{assemble-f76K2G38.js.map → assemble-Co4noZvq.js.map} +1 -1
- package/dist/assemble-HOUMVnjQ.js +1 -0
- package/dist/{attach-C8L-9sAw.js → attach-DP3wc3A7.js} +2 -2
- package/dist/{attach-C8L-9sAw.js.map → attach-DP3wc3A7.js.map} +1 -1
- package/dist/{attempt-host-Bd2tgY74.js → attempt-host-Bo8mbyuQ.js} +4 -4
- package/dist/{attempt-host-Bd2tgY74.js.map → attempt-host-Bo8mbyuQ.js.map} +1 -1
- package/dist/{boat-C5VBRM4f.js → boat-BgdwW3_Q.js} +4 -4
- package/dist/{boat-C5VBRM4f.js.map → boat-BgdwW3_Q.js.map} +1 -1
- package/dist/{boat-images-DzmKu9rG.js → boat-images-CetjuF_c.js} +5 -5
- package/dist/{boat-images-DzmKu9rG.js.map → boat-images-CetjuF_c.js.map} +1 -1
- package/dist/{boat-B12xsjhZ.js → boat-obBLVWWQ.js} +1 -1
- package/dist/{bundle-B0zh3g3N.js → bundle-dK2eveab.js} +58 -7
- package/dist/bundle-dK2eveab.js.map +1 -0
- package/dist/{capture-CxyOYW2Z.js → capture-B8_Kx5R-.js} +6 -6
- package/dist/{capture-CxyOYW2Z.js.map → capture-B8_Kx5R-.js.map} +1 -1
- package/dist/capture-BEGBn9e9.js +1 -0
- package/dist/{cli-CcyMbmXb.js → cli-eakKMZFR.js} +77 -72
- package/dist/cli-eakKMZFR.js.map +1 -0
- package/dist/cli.js +2 -2
- package/dist/{cloud-Dqhwco8e.js → cloud-BQbD0pT8.js} +3 -3
- package/dist/{cloud-Dqhwco8e.js.map → cloud-BQbD0pT8.js.map} +1 -1
- package/dist/{cloud-files-p8FQ56GD.js → cloud-files-DFLNNUdK.js} +2 -2
- package/dist/{cloud-files-p8FQ56GD.js.map → cloud-files-DFLNNUdK.js.map} +1 -1
- package/dist/{cloud-project-793XTDez.js → cloud-project-CV3-AVEe.js} +1 -1
- package/dist/{cloud-project-Bxrfoqup.js → cloud-project-D-5mk4oh.js} +2 -2
- package/dist/{cloud-project-Bxrfoqup.js.map → cloud-project-D-5mk4oh.js.map} +1 -1
- package/dist/{cloud-push-C95jO6aH.js → cloud-push-CjBRaPak.js} +1 -1
- package/dist/{cloud-push-BwW3PxLr.js → cloud-push-bZL0TUQm.js} +3 -3
- package/dist/{cloud-push-BwW3PxLr.js.map → cloud-push-bZL0TUQm.js.map} +1 -1
- package/dist/{cloud-run-D4P3zFvm.js → cloud-run-BYvtsyiN.js} +1 -1
- package/dist/{cloud-run-DBqwuYZ7.js → cloud-run-CKcBID4J.js} +5 -5
- package/dist/{cloud-run-DBqwuYZ7.js.map → cloud-run-CKcBID4J.js.map} +1 -1
- package/dist/{cloud-secrets-CJll_vGT.js → cloud-secrets-D_IiyGgA.js} +1 -1
- package/dist/{cloud-secrets-VS05MmEy.js → cloud-secrets-OuKaQUlX.js} +3 -3
- package/dist/{cloud-secrets-VS05MmEy.js.map → cloud-secrets-OuKaQUlX.js.map} +1 -1
- package/dist/{command-B8UcH5Wv.js → command-C6nA8Fwo.js} +5 -5
- package/dist/{command-B8UcH5Wv.js.map → command-C6nA8Fwo.js.map} +1 -1
- package/dist/{command-_yJz0tGb.js → command-CPJuVTme.js} +2 -2
- package/dist/{command-_yJz0tGb.js.map → command-CPJuVTme.js.map} +1 -1
- package/dist/{command-C6CEeEc1.js → command-CU-A_HL3.js} +2 -2
- package/dist/{command-C6CEeEc1.js.map → command-CU-A_HL3.js.map} +1 -1
- package/dist/{command-BVUq4gNG.js → command-CcWqLUbc.js} +4 -4
- package/dist/{command-BVUq4gNG.js.map → command-CcWqLUbc.js.map} +1 -1
- package/dist/{config-CVLN21h7.js → config-Ozz1O7Dl.js} +12 -11
- package/dist/{config-CVLN21h7.js.map → config-Ozz1O7Dl.js.map} +1 -1
- package/dist/{cursor-catalog-CYiKeObq.js → cursor-catalog-pRZm3jCP.js} +2 -2
- package/dist/{cursor-catalog-CYiKeObq.js.map → cursor-catalog-pRZm3jCP.js.map} +1 -1
- package/dist/{daytona-CHFuCHKI.js → daytona-Bg62QEsJ.js} +7 -7
- package/dist/{daytona-CHFuCHKI.js.map → daytona-Bg62QEsJ.js.map} +1 -1
- package/dist/daytona-image-D8TFfSxM.js +1 -0
- package/dist/{daytona-image-pEo81836.js → daytona-image-DFsZlHaL.js} +2 -2
- package/dist/{daytona-image-pEo81836.js.map → daytona-image-DFsZlHaL.js.map} +1 -1
- package/dist/default-effort-C1Y0LOHo.js +1 -0
- package/dist/{default-effort-DOT-9bQp.js → default-effort-DXPtXTsk.js} +9 -4
- package/dist/default-effort-DXPtXTsk.js.map +1 -0
- package/dist/{docker-BrI8Gh1h.js → docker-BNZw-uhT.js} +1 -1
- package/dist/{doctor-BIVckrDN.js → doctor-TkGfyasW.js} +16 -16
- package/dist/{doctor-BIVckrDN.js.map → doctor-TkGfyasW.js.map} +1 -1
- package/dist/{environment-vcEP-YfG.js → environment-C2i5ggoS.js} +3 -3
- package/dist/{environment-vcEP-YfG.js.map → environment-C2i5ggoS.js.map} +1 -1
- package/dist/{eval-source-Bej9k2WQ.js → eval-source-CVx2dMCC.js} +4 -4
- package/dist/{eval-source-Bej9k2WQ.js.map → eval-source-CVx2dMCC.js.map} +1 -1
- package/dist/{evaluate-CYImSnF3.js → evaluate-D9hHc00J.js} +19 -19
- package/dist/{evaluate-CYImSnF3.js.map → evaluate-D9hHc00J.js.map} +1 -1
- package/dist/{images-BAvIYqF7.js → images-D-MMgo1d.js} +8 -8
- package/dist/{images-BAvIYqF7.js.map → images-D-MMgo1d.js.map} +1 -1
- package/dist/index.d.ts +13 -12
- package/dist/index.js +4 -4
- package/dist/{init-C46pn4NK.js → init-DJXSbI19.js} +4 -4
- package/dist/{init-C46pn4NK.js.map → init-DJXSbI19.js.map} +1 -1
- package/dist/init-DkTAnHaf.js +1 -0
- package/dist/{inputs-ByGvDCgB.js → inputs-CTlr7diQ.js} +4 -4
- package/dist/{inputs-ByGvDCgB.js.map → inputs-CTlr7diQ.js.map} +1 -1
- package/dist/judge.d.ts +1 -1
- package/dist/{kinds-BcghGMSm.js → kinds-DhH1c5u6.js} +4 -4
- package/dist/{kinds-BcghGMSm.js.map → kinds-DhH1c5u6.js.map} +1 -1
- package/dist/{link-CJkQpfPw.js → link-TH-DivdC.js} +3 -3
- package/dist/{link-CJkQpfPw.js.map → link-TH-DivdC.js.map} +1 -1
- package/dist/{machine-service-DSlxB9EJ.js → machine-service-Bs-09eUN.js} +2 -2
- package/dist/{machine-service-DSlxB9EJ.js.map → machine-service-Bs-09eUN.js.map} +1 -1
- package/dist/{machine-service-2PBw7jIm.js → machine-service-DeE4-ueU.js} +1 -1
- package/dist/{machines-DYS8ZdqS.js → machines-BxWMvCkU.js} +24 -22
- package/dist/{machines-DYS8ZdqS.js.map → machines-BxWMvCkU.js.map} +1 -1
- package/dist/{model-A9g2PjLf.js → model-BGc_y-K_.js} +1 -1
- package/dist/{model-DmvCLvqQ.js → model-U9bZgClN.js} +2 -2
- package/dist/{model-DmvCLvqQ.js.map → model-U9bZgClN.js.map} +1 -1
- package/dist/options-BK7nMvou.js +1 -0
- package/dist/{patch-ByYUeYiQ.js → patch-CudvhNHJ.js} +2 -2
- package/dist/{patch-ByYUeYiQ.js.map → patch-CudvhNHJ.js.map} +1 -1
- package/dist/{plan-Do0-R7Eg.js → plan-CqBiH_vR.js} +6 -6
- package/dist/{plan-Do0-R7Eg.js.map → plan-CqBiH_vR.js.map} +1 -1
- package/dist/{plugins-WVKo6BqQ.js → plugins-4DkJ-SSG.js} +2 -2
- package/dist/{plugins-WVKo6BqQ.js.map → plugins-4DkJ-SSG.js.map} +1 -1
- package/dist/preflight-CjR6YpXu.js +1 -0
- package/dist/{preflight-Bj7J4Z94.js → preflight-DTUzpuHa.js} +2 -2
- package/dist/{preflight-Bj7J4Z94.js.map → preflight-DTUzpuHa.js.map} +1 -1
- package/dist/{preflight-CwFp2BQK.js → preflight-DshE4siP.js} +7 -7
- package/dist/{preflight-CwFp2BQK.js.map → preflight-DshE4siP.js.map} +1 -1
- package/dist/{preflight-Df0q8ros.js → preflight-VrtpmE-m.js} +1 -1
- package/dist/{prepare-v48X8anG.js → prepare-B8mcpoSU.js} +1 -1
- package/dist/{prepare-BdulgYYZ.js → prepare-neo93PDB.js} +5 -5
- package/dist/{prepare-BdulgYYZ.js.map → prepare-neo93PDB.js.map} +1 -1
- package/dist/{providers-CG6fmi_Z.js → providers-CjS_fnib.js} +13 -13
- package/dist/{providers-CG6fmi_Z.js.map → providers-CjS_fnib.js.map} +1 -1
- package/dist/{providers-D_7q_k1j.js → providers-CkS7-mTp.js} +1 -1
- package/dist/{questions-DbktV2oJ.js → questions-OKDjvm6B.js} +4 -4
- package/dist/{questions-DbktV2oJ.js.map → questions-OKDjvm6B.js.map} +1 -1
- package/dist/{recipe-CNlqHY0D.js → recipe-CRoyNF64.js} +2 -2
- package/dist/{recipe-CNlqHY0D.js.map → recipe-CRoyNF64.js.map} +1 -1
- package/dist/{remote-BqzoXS7P.js → remote-Dr1gXMTr.js} +5 -5
- package/dist/{remote-BqzoXS7P.js.map → remote-Dr1gXMTr.js.map} +1 -1
- package/dist/resolve-CKRG9k6Z.js +1 -0
- package/dist/{resolve-BIhfIFQE.js → resolve-ihtFbkZH.js} +5 -5
- package/dist/{resolve-BIhfIFQE.js.map → resolve-ihtFbkZH.js.map} +1 -1
- package/dist/{results-DRO-TZlP.js → results-yZWhaeav.js} +2 -2
- package/dist/{results-DRO-TZlP.js.map → results-yZWhaeav.js.map} +1 -1
- package/dist/{retry-vl4otQEw.js → retry-Cjf40USW.js} +3 -3
- package/dist/{retry-vl4otQEw.js.map → retry-Cjf40USW.js.map} +1 -1
- package/dist/{runtime-Ey5mRJOE.js → runtime-D1gU5fAJ.js} +2 -2
- package/dist/{runtime-Ey5mRJOE.js.map → runtime-D1gU5fAJ.js.map} +1 -1
- package/dist/sandbox/boat.js +1 -1
- package/dist/sandbox/daytona.js +1 -1
- package/dist/{sandbox-Cm48ypiK.js → sandbox-Br9klmXq.js} +2 -2
- package/dist/{sandbox-Cm48ypiK.js.map → sandbox-Br9klmXq.js.map} +1 -1
- package/dist/sandbox.d.ts +1 -8
- package/dist/sandbox.js +1 -1
- package/dist/{ssh-pool-C_1oumb4.js → ssh-pool-CANmGvdx.js} +4 -4
- package/dist/{ssh-pool-C_1oumb4.js.map → ssh-pool-CANmGvdx.js.map} +1 -1
- package/dist/ssh-pool-Du_BZWR1.js +1 -0
- package/dist/{start-DRHOinTv.js → start-D-xFuv0f.js} +2 -2
- package/dist/{start-DRHOinTv.js.map → start-D-xFuv0f.js.map} +1 -1
- package/dist/{studio-share-CqubIkfP.js → studio-share-qopKtSPe.js} +3 -3
- package/dist/{studio-share-CqubIkfP.js.map → studio-share-qopKtSPe.js.map} +1 -1
- package/dist/tart-CgW8e9RN.d.ts +12 -0
- package/dist/{tart-Ch9_7Ycd.js → tart-D4VLu2qF.js} +2 -2
- package/dist/{tart-Ch9_7Ycd.js.map → tart-D4VLu2qF.js.map} +1 -1
- package/dist/{tart-bake-DyoWxjrJ.js → tart-bake-BEzKMVWv.js} +2 -2
- package/dist/{tart-bake-DyoWxjrJ.js.map → tart-bake-BEzKMVWv.js.map} +1 -1
- package/dist/{tart-bake-Cj2SRbPl.js → tart-bake-BksL4gS9.js} +1 -1
- package/dist/testing.js +4 -4
- package/dist/{ui-DtPcUtum.js → ui-Df1vnh7L.js} +2 -2
- package/dist/{ui-DtPcUtum.js.map → ui-Df1vnh7L.js.map} +1 -1
- package/dist/{vm-container-B01G-IB6.js → vm-container-Bx3bIlDn.js} +4 -4
- package/dist/{vm-container-B01G-IB6.js.map → vm-container-Bx3bIlDn.js.map} +1 -1
- package/dist/{vm-images-BKPDrOGV.js → vm-images-CimgmVk6.js} +11 -11
- package/dist/{vm-images-BKPDrOGV.js.map → vm-images-CimgmVk6.js.map} +1 -1
- package/dist/{worker-entry-Dfq7d8iu.js → worker-entry-CY_GX-KW.js} +3 -3
- package/dist/{worker-entry-Dfq7d8iu.js.map → worker-entry-CY_GX-KW.js.map} +1 -1
- package/dist/{workspace-XOm9NFfH.js → workspace-2wz0BP-V.js} +2 -2
- package/dist/{workspace-XOm9NFfH.js.map → workspace-2wz0BP-V.js.map} +1 -1
- package/dist/workspace-CQxNEvkp.js +1 -0
- package/package.json +1 -1
- package/dist/assemble-BXJ57dV9.js +0 -1
- package/dist/bundle-B0zh3g3N.js.map +0 -1
- package/dist/capture-CDpMODNw.js +0 -1
- package/dist/cli-CcyMbmXb.js.map +0 -1
- package/dist/daytona-image-ytURcsAv.js +0 -1
- package/dist/default-effort-DOT-9bQp.js.map +0 -1
- package/dist/default-effort-a16KafQT.js +0 -1
- package/dist/init-CvhwDZyw.js +0 -1
- package/dist/options-D6cP6Svz.js +0 -1
- package/dist/preflight-CyVTwn2p.js +0 -1
- package/dist/resolve-DbvAk7V6.js +0 -1
- package/dist/ssh-pool-9Kx_28ih.js +0 -1
- package/dist/workspace-BxXsMqk4.js +0 -1
- /package/dist/{vertex-D4H9bKHD.d.ts → agents-D4H9bKHD.d.ts} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { n as UsageError } from "./errors-ttMTnIYX.js";
|
|
2
2
|
import { r as parseDuration } from "./duration-Bz2H7pXb.js";
|
|
3
3
|
import { i as INSTEAD, l as helpText, n as FLAGS, r as GLOBAL, s as commandHelpText, t as COMMANDS } from "./cli-spec-DO-RQP-t.js";
|
|
4
|
-
import { At as parseHeartbeat, Dt as rootlessPodmanSwitch, Ot as setupEgress, R as checkLimitHarness, S as resolveModelGateway, U as harnessId, _ as selectProfile, _t as ciRunner, a as configPathFor, b as gatewayScope, c as findConfig, d as loadConfig, et as plannedSandboxIds, f as malformedCredentials, g as runJudgeModel, h as requireConfig, i as configLabel, jt as resolveOutput, l as givenConcurrency, m as neededCredentials, o as defaultConcurrency, p as missingCredentials, tt as plannedSandboxes, u as hostCapacity, v as withProfileHistory, vt as directOnCloud, xt as isDirect } from "./config-
|
|
5
|
-
import { E as wantsCloud } from "./cloud-run-
|
|
4
|
+
import { At as parseHeartbeat, Dt as rootlessPodmanSwitch, Ot as setupEgress, R as checkLimitHarness, S as resolveModelGateway, U as harnessId, _ as selectProfile, _t as ciRunner, a as configPathFor, b as gatewayScope, c as findConfig, d as loadConfig, et as plannedSandboxIds, f as malformedCredentials, g as runJudgeModel, h as requireConfig, i as configLabel, jt as resolveOutput, l as givenConcurrency, m as neededCredentials, o as defaultConcurrency, p as missingCredentials, tt as plannedSandboxes, u as hostCapacity, v as withProfileHistory, vt as directOnCloud, xt as isDirect } from "./config-Ozz1O7Dl.js";
|
|
5
|
+
import { E as wantsCloud } from "./cloud-run-CKcBID4J.js";
|
|
6
6
|
import { t as RUN_ID } from "./api-C8ZbQG7s.js";
|
|
7
7
|
import { t as budgetMarker } from "./budget-BcxLYY5L.js";
|
|
8
8
|
import { n as loadEnvFiles, t as inCI } from "./env-8x1O8I1M.js";
|
|
9
|
-
import { D as profileSandbox, F as workspaceLabel, d as environmentSandbox } from "./environment-
|
|
9
|
+
import { D as profileSandbox, F as workspaceLabel, d as environmentSandbox } from "./environment-C2i5ggoS.js";
|
|
10
10
|
import { c as beatWith, d as isAttachUrl, f as isEventsUrl, h as teeRenderer, l as displayUrl, m as openEventStream, n as ATTEMPTS_HEARTBEAT_RANGE, p as notEventStream, t as ATTEMPTS_HEARTBEAT_MS } from "./events-CQJ9VK-x.js";
|
|
11
11
|
import { r as openRouterFallbacks } from "./openrouter-models-B1sIOTD2.js";
|
|
12
12
|
import { y as vertexSettingsIn } from "./vertex-DQQGhUn7.js";
|
|
@@ -14,18 +14,18 @@ import { i as runtimeInfo, n as gitInfo, r as runnerInfo, t as author } from "./
|
|
|
14
14
|
import { a as fromCwd, l as relativeFile, o as newRunId, r as cwdIn } from "./ids-D9QbaaVk.js";
|
|
15
15
|
import { l as judgeModelName, m as unusedGatewayKey } from "./judge-3ABSMDa4.js";
|
|
16
16
|
import { A as sweepStaging, C as resolveRetry, D as savedInvocation, E as savedFilters, M as writeLiveProgress, S as resolveResume, T as resumeSettings, a as eventsFile, b as removeStoppedStaging, d as liveAttempts, f as loadPrevious, g as previousAttempt, h as prepareResume, i as erroredAttempts, j as writeCurrent, k as stoppedRetry, l as keptAttempts, m as noteRetries, o as holdRetry, p as noRunHere, r as completedKeysFor, t as CANCEL_SIGNAL, u as leftOutAttempts, v as pruneEvents, w as restoreRetry, x as resolveAttach } from "./resume-Ds4K9mQc.js";
|
|
17
|
-
import { n as preflight } from "./preflight-
|
|
18
|
-
import { C as stripCredentials, S as registerSecret, _ as redactSecrets } from "./redact-CfTHYWLv.js";
|
|
17
|
+
import { n as preflight } from "./preflight-DshE4siP.js";
|
|
18
|
+
import { C as stripCredentials, S as registerSecret, _ as redactSecrets, l as isPlaceholder } from "./redact-CfTHYWLv.js";
|
|
19
19
|
import { a as redactArgv, r as commandOf, t as logInvocation } from "./invocations-2vDCZ_7f.js";
|
|
20
20
|
import { o as PACKAGE_VERSION } from "./root-Co0jhOT5.js";
|
|
21
|
-
import { d as sandboxKind, l as sandboxCapacity, n as capabilitiesOf, r as cleanupRun, s as removeOrphans } from "./kinds-
|
|
22
|
-
import { i as heldSecrets, o as readSecretsFile } from "./secrets-file-B1Yj1WjD.js";
|
|
21
|
+
import { d as sandboxKind, l as sandboxCapacity, n as capabilitiesOf, r as cleanupRun, s as removeOrphans } from "./kinds-DhH1c5u6.js";
|
|
22
|
+
import { a as hostEnv, i as heldSecrets, o as readSecretsFile } from "./secrets-file-B1Yj1WjD.js";
|
|
23
23
|
import { r as localStudio } from "./resolve-C_UGu3ls.js";
|
|
24
24
|
import { d as storeCredentials, i as isRemote, u as pullStore } from "./sync-DcFcjYLX.js";
|
|
25
25
|
import { i as formatDuration, n as clip } from "./text-B8-W3Cvn.js";
|
|
26
26
|
import { a as traitFilters, o as traitFlags, t as checkTraitKeys } from "./traits-DPIffsN8.js";
|
|
27
27
|
import { t as colors } from "./colors-DcXBvAlU.js";
|
|
28
|
-
import { t as createRenderer } from "./ui-
|
|
28
|
+
import { t as createRenderer } from "./ui-Df1vnh7L.js";
|
|
29
29
|
import { O as runOutcome } from "./model-WiM6J5cw.js";
|
|
30
30
|
import { existsSync, mkdirSync, readdirSync, writeFileSync } from "node:fs";
|
|
31
31
|
import { dirname, join, resolve } from "node:path";
|
|
@@ -280,7 +280,7 @@ async function run(argv) {
|
|
|
280
280
|
return values.help ? EXIT.ok : EXIT.usage;
|
|
281
281
|
}
|
|
282
282
|
if (command === "init") {
|
|
283
|
-
const { initCommand } = await import("./init-
|
|
283
|
+
const { initCommand } = await import("./init-DkTAnHaf.js");
|
|
284
284
|
return initCommand(values, filters, {
|
|
285
285
|
out: (s) => console.log(s),
|
|
286
286
|
input: process.stdin,
|
|
@@ -289,7 +289,7 @@ async function run(argv) {
|
|
|
289
289
|
});
|
|
290
290
|
}
|
|
291
291
|
if (command === "doctor") {
|
|
292
|
-
const { doctorCommand } = await import("./doctor-
|
|
292
|
+
const { doctorCommand } = await import("./doctor-TkGfyasW.js");
|
|
293
293
|
return doctorCommand(values, {
|
|
294
294
|
out: (s) => console.log(s),
|
|
295
295
|
color: !!process.stdout.isTTY && !process.env.NO_COLOR,
|
|
@@ -297,7 +297,7 @@ async function run(argv) {
|
|
|
297
297
|
});
|
|
298
298
|
}
|
|
299
299
|
if (command === "report") {
|
|
300
|
-
const { reportCommand } = await import("./command-
|
|
300
|
+
const { reportCommand } = await import("./command-CcWqLUbc.js");
|
|
301
301
|
return reportCommand(values, filters, {
|
|
302
302
|
out: (s) => console.log(s),
|
|
303
303
|
err: (s) => console.error(dim(s)),
|
|
@@ -306,7 +306,7 @@ async function run(argv) {
|
|
|
306
306
|
});
|
|
307
307
|
}
|
|
308
308
|
if (command === "login" || command === "logout" || command === "whoami") {
|
|
309
|
-
const login = await import("./command-
|
|
309
|
+
const login = await import("./command-CU-A_HL3.js");
|
|
310
310
|
loadEnvFiles(configPathFor(values.config));
|
|
311
311
|
const { defaultIssueDeps } = await import("./issue-ipG9Yy1h.js");
|
|
312
312
|
const io = {
|
|
@@ -321,7 +321,7 @@ async function run(argv) {
|
|
|
321
321
|
const configPath = configPathFor(values.config);
|
|
322
322
|
if (command === "link") {
|
|
323
323
|
loadEnvFiles(configPath);
|
|
324
|
-
const [{ linkCommand }, { projectDirFor }] = await Promise.all([import("./link-
|
|
324
|
+
const [{ linkCommand }, { projectDirFor }] = await Promise.all([import("./link-TH-DivdC.js"), import("./cloud-project-CV3-AVEe.js")]);
|
|
325
325
|
return linkCommand(values, {
|
|
326
326
|
out: (s) => console.log(s),
|
|
327
327
|
input: process.stdin,
|
|
@@ -335,7 +335,7 @@ async function run(argv) {
|
|
|
335
335
|
if (area !== "secrets" && area !== "provider" && area !== "push" && area !== "run") throw new UsageError(`Unknown command "${["cloud", area].filter(Boolean).join(" ")}". Did you mean reeval cloud secrets, provider, push or run?`);
|
|
336
336
|
if (area === "push") {
|
|
337
337
|
const config = await historyConfig(configPath, "cloud push", values.profile, values);
|
|
338
|
-
const [{ pushCommand }, { projectDirFor }] = await Promise.all([import("./cloud-push-
|
|
338
|
+
const [{ pushCommand }, { projectDirFor }] = await Promise.all([import("./cloud-push-CjBRaPak.js"), import("./cloud-project-CV3-AVEe.js")]);
|
|
339
339
|
return pushCommand(config, values, args, {
|
|
340
340
|
out: (s) => console.log(s),
|
|
341
341
|
err: (s) => console.error(yellow(s)),
|
|
@@ -345,11 +345,11 @@ async function run(argv) {
|
|
|
345
345
|
}
|
|
346
346
|
loadEnvFiles(configPath);
|
|
347
347
|
if (area === "run") {
|
|
348
|
-
const { cloudRunCommand } = await import("./cloud-run-
|
|
348
|
+
const { cloudRunCommand } = await import("./cloud-run-BYvtsyiN.js");
|
|
349
349
|
return cloudRunCommand(args, { out: (s) => console.log(s) });
|
|
350
350
|
}
|
|
351
|
-
const cloud = await import("./cloud-secrets-
|
|
352
|
-
const { projectDirFor } = await import("./cloud-project-
|
|
351
|
+
const cloud = await import("./cloud-secrets-D_IiyGgA.js");
|
|
352
|
+
const { projectDirFor } = await import("./cloud-project-CV3-AVEe.js");
|
|
353
353
|
const io = {
|
|
354
354
|
out: (s) => console.log(s),
|
|
355
355
|
readValue: cloud.readSecretValue,
|
|
@@ -370,7 +370,7 @@ async function run(argv) {
|
|
|
370
370
|
...values,
|
|
371
371
|
offline: true
|
|
372
372
|
} : values);
|
|
373
|
-
const [{ shareCommand }, { projectDirFor }] = await Promise.all([import("./studio-share-
|
|
373
|
+
const [{ shareCommand }, { projectDirFor }] = await Promise.all([import("./studio-share-qopKtSPe.js"), import("./cloud-project-CV3-AVEe.js")]);
|
|
374
374
|
return shareCommand(config, values, filters.slice(1), {
|
|
375
375
|
out: (s) => console.log(s),
|
|
376
376
|
err: (s) => console.error(yellow(s)),
|
|
@@ -381,7 +381,7 @@ async function run(argv) {
|
|
|
381
381
|
if (command === "studio") {
|
|
382
382
|
const config = await historyConfig(configPath, "studio", values.profile);
|
|
383
383
|
localStudio(config);
|
|
384
|
-
const { studioCommand } = await import("./command-
|
|
384
|
+
const { studioCommand } = await import("./command-CPJuVTme.js");
|
|
385
385
|
return studioCommand({
|
|
386
386
|
config,
|
|
387
387
|
flags: values,
|
|
@@ -422,7 +422,7 @@ async function run(argv) {
|
|
|
422
422
|
}, filters);
|
|
423
423
|
}
|
|
424
424
|
case "analyze": {
|
|
425
|
-
const { analyzeCommand } = await import("./command-
|
|
425
|
+
const { analyzeCommand } = await import("./command-C6nA8Fwo.js");
|
|
426
426
|
return analyzeCommand({
|
|
427
427
|
...ctx,
|
|
428
428
|
err: (s) => console.error(dim(s))
|
|
@@ -433,7 +433,7 @@ async function run(argv) {
|
|
|
433
433
|
if (command === "clean") return cleanCommand(values, configPath);
|
|
434
434
|
if (command === "attach") return attachCommand(values, filters[0], configPath);
|
|
435
435
|
if (command === "bundle") {
|
|
436
|
-
const { bundleCommand } = await import("./bundle-
|
|
436
|
+
const { bundleCommand } = await import("./bundle-dK2eveab.js");
|
|
437
437
|
return bundleCommand(values, filters, configPath, argv.slice(1), (s) => console.log(s));
|
|
438
438
|
}
|
|
439
439
|
if (command !== "run") throw new UsageError(`Unknown command "${command}". Run reeval --help.`);
|
|
@@ -459,7 +459,7 @@ async function bundleRun(flags, filters) {
|
|
|
459
459
|
if (filters.length || planning.length) throw new UsageError(`--bundle runs the bundle with the filters, profile, tags, traits and runs it was made with: leave out ${[...filters.length ? ["filters"] : [], ...planning].join(", ")}.`);
|
|
460
460
|
const file = flags.bundle;
|
|
461
461
|
const log = (s) => flags.json ? console.error(s) : console.log(s);
|
|
462
|
-
const { bundledGit, checkResumeState, moveResumeState, openBundle } = await import("./bundle-
|
|
462
|
+
const { bundledGit, checkResumeState, moveResumeState, openBundle } = await import("./bundle-dK2eveab.js");
|
|
463
463
|
const from = process.cwd();
|
|
464
464
|
const resume = flags.resume;
|
|
465
465
|
if (resume !== void 0) checkResumeState(from, resume);
|
|
@@ -559,13 +559,13 @@ async function cleanCommand(flags, configPath) {
|
|
|
559
559
|
const orphans = await removeOrphans();
|
|
560
560
|
if (orphans) console.log(`Removed ${orphans} sandbox${orphans === 1 ? "" : "es"} that a killed reeval left running`);
|
|
561
561
|
if (flags.bundles) {
|
|
562
|
-
const { removeExtractedBundles } = await import("./bundle-
|
|
562
|
+
const { removeExtractedBundles } = await import("./bundle-dK2eveab.js");
|
|
563
563
|
const removed = await removeExtractedBundles();
|
|
564
564
|
console.log(removed.length ? `Removed ${removed.length} extracted bundle${removed.length === 1 ? "" : "s"}: ${removed.join(", ")}` : "No extracted bundles to remove");
|
|
565
565
|
}
|
|
566
566
|
if (flags.images) {
|
|
567
567
|
const { dockerAvailable, pruneImages } = await import("./src-CH8ZNcTe.js");
|
|
568
|
-
const { requireDocker } = await import("./providers-
|
|
568
|
+
const { requireDocker } = await import("./providers-CkS7-mTp.js");
|
|
569
569
|
const engines = [];
|
|
570
570
|
for (const engine of ["docker", "podman"]) if (await dockerAvailable(engine)) engines.push(engine);
|
|
571
571
|
const { tartCli } = await import("./tart-cli-DVI2SWz4.js");
|
|
@@ -575,7 +575,7 @@ async function cleanCommand(flags, configPath) {
|
|
|
575
575
|
for (const engine of engines) removed += await pruneImages(engine);
|
|
576
576
|
if (engines.length) console.log(removed ? `Removed ${removed} image${removed === 1 ? "" : "s"} reeval built that nothing uses` : "No leftover images to remove");
|
|
577
577
|
if (tart) {
|
|
578
|
-
const { deleteBakedImages } = await import("./tart-bake-
|
|
578
|
+
const { deleteBakedImages } = await import("./tart-bake-BksL4gS9.js");
|
|
579
579
|
const baked = await deleteBakedImages();
|
|
580
580
|
console.log(baked.length ? `Deleted ${baked.length} Tart image${baked.length === 1 ? "" : "s"} with a harness baked in (reeval image build bakes them again): ${baked.join(", ")}` : "No Tart images with a harness baked in to delete");
|
|
581
581
|
}
|
|
@@ -594,8 +594,8 @@ function verbosityOf(flags) {
|
|
|
594
594
|
* image.
|
|
595
595
|
*/
|
|
596
596
|
async function imageBuildCommand(flags, configPath, filters) {
|
|
597
|
-
const { buildImages, imagePlanLines, imageTargets, plannedImageUses, pullTartImages, tartPlanLines, tartTargets } = await import("./images-
|
|
598
|
-
const { buildVmImages, vmImageTargets, vmPlanLines } = await import("./vm-images-
|
|
597
|
+
const { buildImages, imagePlanLines, imageTargets, plannedImageUses, pullTartImages, tartPlanLines, tartTargets } = await import("./images-D-MMgo1d.js");
|
|
598
|
+
const { buildVmImages, vmImageTargets, vmPlanLines } = await import("./vm-images-CimgmVk6.js");
|
|
599
599
|
const { setup, root, uses } = await imageUses(flags, configPath, filters, plannedImageUses);
|
|
600
600
|
const targets = imageTargets(uses);
|
|
601
601
|
const vms = tartTargets(uses);
|
|
@@ -689,7 +689,7 @@ async function imageBuildCommand(flags, configPath, filters) {
|
|
|
689
689
|
if (!(error instanceof PrepareError)) throw error;
|
|
690
690
|
if (error.failure.usage) throw new UsageError(error.message);
|
|
691
691
|
if (error.failure.cause === "enospc") invocation.machineState = true;
|
|
692
|
-
const { PreflightInfraError } = await import("./preflight-
|
|
692
|
+
const { PreflightInfraError } = await import("./preflight-CjR6YpXu.js");
|
|
693
693
|
throw new PreflightInfraError(error.message);
|
|
694
694
|
}
|
|
695
695
|
for (const o of outcomes) {
|
|
@@ -712,7 +712,7 @@ async function imageBuildCommand(flags, configPath, filters) {
|
|
|
712
712
|
}
|
|
713
713
|
/** What `reeval image` plans for: the harness and sandbox of each attempt, collected as `--dry-run` does. */
|
|
714
714
|
async function imageUses(flags, configPath, filters, planned) {
|
|
715
|
-
const plannedImageUses = planned ?? (await import("./images-
|
|
715
|
+
const plannedImageUses = planned ?? (await import("./images-D-MMgo1d.js")).plannedImageUses;
|
|
716
716
|
const setup = await prepareRun({
|
|
717
717
|
...flags,
|
|
718
718
|
"dry-run": true
|
|
@@ -738,7 +738,7 @@ async function imageUses(flags, configPath, filters, planned) {
|
|
|
738
738
|
* the evals use, with the environments that start from each.
|
|
739
739
|
*/
|
|
740
740
|
async function imageListCommand(flags, configPath, filters) {
|
|
741
|
-
const vm = await import("./vm-images-
|
|
741
|
+
const vm = await import("./vm-images-CimgmVk6.js");
|
|
742
742
|
const { formatSize } = await import("./tart-images-CLpWt7Mm.js");
|
|
743
743
|
const { root, uses } = await imageUses(flags, configPath, filters);
|
|
744
744
|
const accounts = vm.vmAccounts(uses);
|
|
@@ -792,7 +792,7 @@ async function imageListCommand(flags, configPath, filters) {
|
|
|
792
792
|
* last hour or one still being saved.
|
|
793
793
|
*/
|
|
794
794
|
async function imageCleanCommand(flags, configPath) {
|
|
795
|
-
const vm = await import("./vm-images-
|
|
795
|
+
const vm = await import("./vm-images-CimgmVk6.js");
|
|
796
796
|
const { formatSize } = await import("./tart-images-CLpWt7Mm.js");
|
|
797
797
|
const provider = flags.provider;
|
|
798
798
|
if (provider !== void 0 && provider !== "boat" && provider !== "daytona") throw new UsageError(`--provider is boat or daytona (got "${provider}")`);
|
|
@@ -865,7 +865,7 @@ async function attachCommand(flags, target, configPath) {
|
|
|
865
865
|
root = dirname(requireConfig(configPath));
|
|
866
866
|
source = (await resolveAttach(root, target)).file;
|
|
867
867
|
}
|
|
868
|
-
const cloud = await import("./cloud-run-
|
|
868
|
+
const cloud = await import("./cloud-run-BYvtsyiN.js");
|
|
869
869
|
if (flags.profile !== void 0 && !flags.download) throw new UsageError("--profile picks the history folder --download puts a recorded cloud run in: pass it with --download");
|
|
870
870
|
if (flags.download || isAttachUrl(source)) loadEnvFiles(configPath);
|
|
871
871
|
const download = flags.download ? await cloudDownload(source, configPath, flags.profile) : void 0;
|
|
@@ -893,15 +893,15 @@ async function attachCommand(flags, target, configPath) {
|
|
|
893
893
|
if (cloudRun && !detached) code = await cloud.stoppedOr(code, cloudRun.runId, cloudRun.base, cloudRun.auth, log, read);
|
|
894
894
|
if (download && detached) console.log(dim(`Not downloading the files of cloud run ${download.runId} after detaching: reeval attach --download${download.profile === void 0 ? "" : ` --profile ${download.profile}`} ${displayUrl(source)} downloads them once it has ended`));
|
|
895
895
|
else if (download) {
|
|
896
|
-
const { downloadAfter } = await import("./cloud-files-
|
|
896
|
+
const { downloadAfter } = await import("./cloud-files-DFLNNUdK.js");
|
|
897
897
|
for (const line of await downloadAfter(code, download.runId, download.run)) console.log(dim(line));
|
|
898
898
|
}
|
|
899
899
|
return code;
|
|
900
900
|
}
|
|
901
901
|
/** The cloud run whose event stream is `source`, with what reads it; null for any other stream. */
|
|
902
902
|
async function cloudRunAt(source) {
|
|
903
|
-
const cloud = await import("./cloud-run-
|
|
904
|
-
const { cloudRunOf } = await import("./cloud-files-
|
|
903
|
+
const cloud = await import("./cloud-run-BYvtsyiN.js");
|
|
904
|
+
const { cloudRunOf } = await import("./cloud-files-DFLNNUdK.js");
|
|
905
905
|
const base = cloud.cloudUrl();
|
|
906
906
|
const run = cloudRunOf(source, base);
|
|
907
907
|
return run ? {
|
|
@@ -917,8 +917,8 @@ async function cloudRunAt(source) {
|
|
|
917
917
|
* stream, or with no project.
|
|
918
918
|
*/
|
|
919
919
|
async function cloudDownload(source, configPath, profile) {
|
|
920
|
-
const cloud = await import("./cloud-run-
|
|
921
|
-
const { cloudRunOf, downloadCloudFiles } = await import("./cloud-files-
|
|
920
|
+
const cloud = await import("./cloud-run-BYvtsyiN.js");
|
|
921
|
+
const { cloudRunOf, downloadCloudFiles } = await import("./cloud-files-DFLNNUdK.js");
|
|
922
922
|
loadEnvFiles(configPath);
|
|
923
923
|
const base = cloud.cloudUrl();
|
|
924
924
|
const run = isAttachUrl(source) ? cloudRunOf(source, base) : null;
|
|
@@ -943,7 +943,7 @@ async function cloudDownload(source, configPath, profile) {
|
|
|
943
943
|
}
|
|
944
944
|
/** `reeval attach`'s viewer on this terminal, drawn with the attach flags. */
|
|
945
945
|
async function attachHere(flags, options) {
|
|
946
|
-
const { attach } = await import("./attach-
|
|
946
|
+
const { attach } = await import("./attach-DP3wc3A7.js");
|
|
947
947
|
return attach({
|
|
948
948
|
...options,
|
|
949
949
|
out: process.stdout,
|
|
@@ -974,15 +974,15 @@ async function attachHere(flags, options) {
|
|
|
974
974
|
* `exit`. Undefined when the run didn't ask to run in the cloud.
|
|
975
975
|
*/
|
|
976
976
|
async function cloudTarget(flags, setup, filters, configPath) {
|
|
977
|
-
const cloud = await import("./cloud-run-
|
|
977
|
+
const cloud = await import("./cloud-run-BYvtsyiN.js");
|
|
978
978
|
if (!cloud.wantsCloud(flags, setup.config, setup.profile)) {
|
|
979
979
|
if (flags.download) throw new UsageError("--download downloads a cloud run's files, and this run is on this machine: its files are in .reeval/ already. Leave it out, or pass --cloud");
|
|
980
980
|
return;
|
|
981
981
|
}
|
|
982
|
-
const { linkedProject, projectDirFor } = await import("./cloud-project-
|
|
982
|
+
const { linkedProject, projectDirFor } = await import("./cloud-project-CV3-AVEe.js");
|
|
983
983
|
const project = await linkedProject(projectDirFor(configPath));
|
|
984
984
|
if (!project) throw new UsageError(`A cloud run goes into a linked cloud project, and this project isn't linked: run ${process.stdin.isTTY ? "reeval link" : "reeval link --org <org> --project <project>"} to link it, or pass --local to run here`);
|
|
985
|
-
const { makeBundle } = await import("./bundle-
|
|
985
|
+
const { makeBundle } = await import("./bundle-dK2eveab.js");
|
|
986
986
|
const picked = setup.profile ? { profile: setup.profile.name } : {};
|
|
987
987
|
const bundle = async (env) => {
|
|
988
988
|
try {
|
|
@@ -991,7 +991,8 @@ async function cloudTarget(flags, setup, filters, configPath) {
|
|
|
991
991
|
...picked
|
|
992
992
|
}, filters, configPath, process.argv.slice(2), {
|
|
993
993
|
env,
|
|
994
|
-
prices: true
|
|
994
|
+
prices: true,
|
|
995
|
+
cloud: true
|
|
995
996
|
});
|
|
996
997
|
if ("code" in made) return made;
|
|
997
998
|
const blocked = made.plan.notCloud ?? [];
|
|
@@ -1203,7 +1204,7 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1203
1204
|
return EXIT.ok;
|
|
1204
1205
|
}
|
|
1205
1206
|
if (ctx.retry && ctx.previous && retried.size) {
|
|
1206
|
-
const { retryEnvironmentChanges } = await import("./retry-
|
|
1207
|
+
const { retryEnvironmentChanges } = await import("./retry-Cjf40USW.js");
|
|
1207
1208
|
const changes = retryEnvironmentChanges(ctx.previous, ctx.stagingDir, retried);
|
|
1208
1209
|
if (changes.length) {
|
|
1209
1210
|
questions?.cancel();
|
|
@@ -1223,7 +1224,7 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1223
1224
|
finishing = true;
|
|
1224
1225
|
live?.phase("finishing");
|
|
1225
1226
|
const { lockfiles } = await import("./state-C007zNcM.js");
|
|
1226
|
-
const { writeScratchRun } = await import("./results-
|
|
1227
|
+
const { writeScratchRun } = await import("./results-yZWhaeav.js");
|
|
1227
1228
|
const run = await writeScratchRun({
|
|
1228
1229
|
ctx,
|
|
1229
1230
|
author: ctx.author,
|
|
@@ -1283,7 +1284,7 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1283
1284
|
});
|
|
1284
1285
|
renderer.close();
|
|
1285
1286
|
if (retried.size) {
|
|
1286
|
-
const { retryCounts, retryLine } = await import("./retry-
|
|
1287
|
+
const { retryCounts, retryLine } = await import("./retry-Cjf40USW.js");
|
|
1287
1288
|
const line = retryLine(retryCounts(record, retried, ctx.previous));
|
|
1288
1289
|
if (setup.json) console.error(line);
|
|
1289
1290
|
else console.log(line);
|
|
@@ -1344,7 +1345,7 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1344
1345
|
* config: `found` is the config the cloud was picked from and, for a download, its cloud run.
|
|
1345
1346
|
*/
|
|
1346
1347
|
async function cloudContinue(flags, filters, configPath, found) {
|
|
1347
|
-
const cloud = await import("./cloud-run-
|
|
1348
|
+
const cloud = await import("./cloud-run-BYvtsyiN.js");
|
|
1348
1349
|
if (flags["retry-errors"] !== void 0) throw new UsageError("--retry-errors runs the infra errors of a run on this machine again, not of a cloud run: reeval run --cloud --resume <run> continues a cloud run, or pass --local to retry a run here");
|
|
1349
1350
|
const fixed = [...filters.length ? ["filters"] : [], ...[
|
|
1350
1351
|
"runs",
|
|
@@ -1363,7 +1364,7 @@ async function cloudContinue(flags, filters, configPath, found) {
|
|
|
1363
1364
|
let origin = found?.origin ?? null;
|
|
1364
1365
|
if (!origin && (!ref || /^latest(~\d+)?$/.test(ref))) throw new UsageError("reeval run --cloud --resume needs the run: pass the cloud run's id, which reeval run --cloud printed, or its event stream URL");
|
|
1365
1366
|
if (!origin && configPath !== void 0 && !isAttachUrl(ref)) {
|
|
1366
|
-
const { cloudOriginOf } = await import("./cloud-files-
|
|
1367
|
+
const { cloudOriginOf } = await import("./cloud-files-DFLNNUdK.js");
|
|
1367
1368
|
origin = await cloudOriginOf(dirname(configPath), ref);
|
|
1368
1369
|
}
|
|
1369
1370
|
loadEnvFiles(configPath);
|
|
@@ -1399,7 +1400,7 @@ async function cloudContinue(flags, filters, configPath, found) {
|
|
|
1399
1400
|
async function undoRetry(root, ctx) {
|
|
1400
1401
|
await restoreRetry(root, ctx.runId);
|
|
1401
1402
|
if (ctx.forgotOrigin === void 0) return;
|
|
1402
|
-
const { rememberCloudOrigin } = await import("./cloud-files-
|
|
1403
|
+
const { rememberCloudOrigin } = await import("./cloud-files-DFLNNUdK.js");
|
|
1403
1404
|
await rememberCloudOrigin(root, ctx.runId, ctx.forgotOrigin);
|
|
1404
1405
|
}
|
|
1405
1406
|
/**
|
|
@@ -1408,7 +1409,7 @@ async function undoRetry(root, ctx) {
|
|
|
1408
1409
|
*/
|
|
1409
1410
|
async function cloudContinuation(flags, path, runId, bundled) {
|
|
1410
1411
|
if (flags.local || bundled) return null;
|
|
1411
|
-
const { cloudOriginOf } = await import("./cloud-files-
|
|
1412
|
+
const { cloudOriginOf } = await import("./cloud-files-DFLNNUdK.js");
|
|
1412
1413
|
const origin = await cloudOriginOf(dirname(path), runId, { exact: true });
|
|
1413
1414
|
if (!origin) return null;
|
|
1414
1415
|
const named = flags.profile ?? origin.profile ?? (process.env.REEVAL_PROFILE || void 0);
|
|
@@ -1610,7 +1611,7 @@ async function startRun({ config, profile, runs, tags, traits, sandboxes, sizeRu
|
|
|
1610
1611
|
const { worktreePatch } = await import("./state-C007zNcM.js");
|
|
1611
1612
|
const patch = git?.dirty && !bundled ? await worktreePatch(config.root, [config.history.dir]) : null;
|
|
1612
1613
|
const who = bundled?.author ?? await author(config.root);
|
|
1613
|
-
const { stagingDir } = await import("./results-
|
|
1614
|
+
const { stagingDir } = await import("./results-yZWhaeav.js");
|
|
1614
1615
|
const { scratchDir } = await import("./files--mW-Ym3B.js");
|
|
1615
1616
|
const scratch = scratchDir(config.root);
|
|
1616
1617
|
if (resume !== void 0 || retry !== void 0) {
|
|
@@ -1620,7 +1621,7 @@ async function startRun({ config, profile, runs, tags, traits, sandboxes, sizeRu
|
|
|
1620
1621
|
}, bundled);
|
|
1621
1622
|
if (!dryRun && retry === void 0) {
|
|
1622
1623
|
await prepareResume(target, config.root);
|
|
1623
|
-
await (await import("./cloud-files-
|
|
1624
|
+
await (await import("./cloud-files-DFLNNUdK.js")).forgetCloudOrigin(config.root, target.runId);
|
|
1624
1625
|
} else if (!dryRun) holdRetry(target, config.root);
|
|
1625
1626
|
const stopped = retry === void 0 ? await stoppedRetry(config.root, target) : null;
|
|
1626
1627
|
if (!dryRun) await sweep(config.root, target.runId);
|
|
@@ -1721,19 +1722,20 @@ function namesDeclaredSecret(evals) {
|
|
|
1721
1722
|
}
|
|
1722
1723
|
}
|
|
1723
1724
|
/**
|
|
1724
|
-
* Reads Cursor's model catalog for the planned Cursor cells
|
|
1725
|
+
* Reads Cursor's model catalog for the planned Cursor cells (with a held CURSOR_API_KEY's value,
|
|
1726
|
+
* not its placeholder, so a bundle plans alike where it runs), checks their `effort` and `params`
|
|
1725
1727
|
* against it (exit 2, naming the eval and cell), gives each the effort it runs at, and notes each
|
|
1726
1728
|
* eval's harnesses that run with none. A catalog that can't be read leaves the Cursor cells
|
|
1727
1729
|
* unchecked and noted; each attempt then reports why it couldn't start.
|
|
1728
1730
|
*/
|
|
1729
1731
|
async function planEfforts(planned) {
|
|
1730
1732
|
const live = planned.filter((p) => !p.attempt.plan.skip);
|
|
1731
|
-
const { effortNotes, withDefaultEffort } = await import("./default-effort-
|
|
1733
|
+
const { effortNotes, withDefaultEffort } = await import("./default-effort-C1Y0LOHo.js");
|
|
1732
1734
|
let cursor;
|
|
1733
1735
|
let unchecked = "CURSOR_API_KEY isn't set";
|
|
1734
|
-
const key =
|
|
1735
|
-
if (key && live.some((p) => p.attempt.harness.kind === "cursor")) {
|
|
1736
|
-
const { checkCursorPlan } = await import("./cursor-catalog-
|
|
1736
|
+
const key = hostEnv().CURSOR_API_KEY;
|
|
1737
|
+
if (key && !isPlaceholder(key) && live.some((p) => p.attempt.harness.kind === "cursor")) {
|
|
1738
|
+
const { checkCursorPlan } = await import("./cursor-catalog-pRZm3jCP.js");
|
|
1737
1739
|
const checked = await checkCursorPlan(key, live);
|
|
1738
1740
|
if (checked instanceof Error) unchecked = `its request failed: ${checked.message}`;
|
|
1739
1741
|
else {
|
|
@@ -1772,7 +1774,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1772
1774
|
...setup.dryRun && setup.json ? { inputs: true } : {}
|
|
1773
1775
|
}));
|
|
1774
1776
|
const { runEngine } = await import("./node-eEX-KpkO.js");
|
|
1775
|
-
const { buildPlan, checkAttemptBudget, planDocument, planInputs, planLine, planTable, runHeader } = await import("./plan-
|
|
1777
|
+
const { buildPlan, checkAttemptBudget, planDocument, planInputs, planLine, planTable, runHeader } = await import("./plan-CqBiH_vR.js");
|
|
1776
1778
|
let plan;
|
|
1777
1779
|
let sandboxVersions = { images: [] };
|
|
1778
1780
|
let preflightStop;
|
|
@@ -1817,8 +1819,8 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1817
1819
|
if (ctx.retry && ctx.previous) {
|
|
1818
1820
|
const ranOn = ctx.previous.stack?.reeval;
|
|
1819
1821
|
if (ranOn && ranOn !== version) throw new UsageError(`run ${runId} ran on reeval ${ranOn}, and this is ${version}. ${retryVerb(ctx.retry, runId)} only on the reeval they ran on: install reeval ${ranOn}, or start a new run with reeval run.`);
|
|
1820
|
-
const { retryChanges } = await import("./retry-
|
|
1821
|
-
const { judgePart } = await import("./assemble-
|
|
1822
|
+
const { retryChanges } = await import("./retry-Cjf40USW.js");
|
|
1823
|
+
const { judgePart } = await import("./assemble-HOUMVnjQ.js");
|
|
1822
1824
|
const { engineVersions } = await import("./node-eEX-KpkO.js");
|
|
1823
1825
|
const judged = judgePart(config, profile, version, engineVersions);
|
|
1824
1826
|
const runs = new Set(planned.map((p) => p.key).filter((key) => !completed.has(key)));
|
|
@@ -1826,7 +1828,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1826
1828
|
if (changes.length) throw new UsageError(`run ${runId}'s plan changed since it ran: ${changes.join("; ")}. ${retryVerb(ctx.retry, runId)} only with the plan they ran with: put it back, or start a new run with reeval run.`);
|
|
1827
1829
|
if (ctx.retryTarget && !setup.dryRun) {
|
|
1828
1830
|
await prepareResume(ctx.retryTarget, config.root, { held: true });
|
|
1829
|
-
const { forgetCloudOrigin } = await import("./cloud-files-
|
|
1831
|
+
const { forgetCloudOrigin } = await import("./cloud-files-DFLNNUdK.js");
|
|
1830
1832
|
const forgot = await forgetCloudOrigin(config.root, runId);
|
|
1831
1833
|
if (forgot !== null) ctx.forgotOrigin = forgot;
|
|
1832
1834
|
const aside = await loadPrevious(stagingDir);
|
|
@@ -1835,7 +1837,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1835
1837
|
}
|
|
1836
1838
|
}
|
|
1837
1839
|
retried = continuing && !setup.dryRun ? noteRetries(planned, stagingDir, ctx.previous, true).errored : errored;
|
|
1838
|
-
const models = skipped.some((p) => !p.attempt.plan.skip && p.attempt.plan.questions?.length) ? await import("./model-
|
|
1840
|
+
const models = skipped.some((p) => !p.attempt.plan.skip && p.attempt.plan.questions?.length) ? await import("./model-BGc_y-K_.js") : void 0;
|
|
1839
1841
|
const judge = runJudgeModel(config, profile);
|
|
1840
1842
|
const judgeModel = judge === void 0 ? null : judgeModelName(judge);
|
|
1841
1843
|
plan = await buildPlan({
|
|
@@ -1855,7 +1857,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1855
1857
|
const direct = cloud ? [...new Set(skipped.filter((p) => !p.attempt.plan.skip && capabilitiesOf(p.attempt.sandbox).isolated).filter((p) => isDirect(p.attempt.egress.policy) || isDirect(setupEgress(p.attempt.egress).policy)).map((p) => p.id))] : [];
|
|
1856
1858
|
if (cloud && direct.length) plan.warnings.push(`${directOnCloud(cloud)}. Under it: ${direct.join(", ")}. Keep 'allow-all' to the evals that need raw TCP or UDP; the default, 'proxy', sends everything through the gateway`);
|
|
1857
1859
|
const switching = concurrency > 1 ? [...new Set(skipped.filter(({ attempt }) => !attempt.plan.skip && !!attempt.egress.setup && attempt.sandbox.kind === "docker" && attempt.sandbox.engine === "podman").map((p) => p.id))] : [];
|
|
1858
|
-
const { podmanRootless } = await import("./providers-
|
|
1860
|
+
const { podmanRootless } = await import("./providers-CkS7-mTp.js");
|
|
1859
1861
|
if (switching.length && await podmanRootless()) plan.warnings.push(rootlessPodmanSwitch(switching));
|
|
1860
1862
|
plan.warnings.push(...started.notes);
|
|
1861
1863
|
if (started.narrowed) {
|
|
@@ -1871,7 +1873,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1871
1873
|
run.completed = [...completed];
|
|
1872
1874
|
const done = leftOut.filter((l) => l.done).map((l) => l.key);
|
|
1873
1875
|
kept = keptAttempts([...completed, ...done], stagingDir, ctx.previous);
|
|
1874
|
-
const { imageStages, imageTargets } = await import("./images-
|
|
1876
|
+
const { imageStages, imageTargets } = await import("./images-D-MMgo1d.js");
|
|
1875
1877
|
const targets = imageTargets(skipped.filter((p) => !p.attempt.plan.skip).map((p) => ({
|
|
1876
1878
|
id: p.attempt.family?.id ?? p.id,
|
|
1877
1879
|
harness: p.attempt.harness,
|
|
@@ -1899,11 +1901,14 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1899
1901
|
profile,
|
|
1900
1902
|
judges: running.flatMap((p) => p.attempt.judge ? [p.attempt.judge] : [])
|
|
1901
1903
|
});
|
|
1902
|
-
for (const { names } of needed) for (const name of names) secrets.add(name);
|
|
1903
|
-
const
|
|
1904
|
+
for (const { names, cloudSets } of needed) if (!cloudSets) for (const name of names) secrets.add(name);
|
|
1905
|
+
const cloudSets = new Set(needed.flatMap((c) => c.cloudSets ? c.names : []).filter((name) => !secrets.has(name)));
|
|
1906
|
+
for (const name of cloudSets) secrets.add(name);
|
|
1907
|
+
const { notCloud } = await import("./cloud-run-BYvtsyiN.js");
|
|
1904
1908
|
const blocked = notCloud(skipped);
|
|
1905
1909
|
const doc = {
|
|
1906
1910
|
...planDocument(plan, skipped, excluded, images, inputs, [...secrets].sort()),
|
|
1911
|
+
...cloudSets.size ? { cloudSets: [...cloudSets].sort() } : {},
|
|
1907
1912
|
...blocked.length ? { notCloud: blocked } : {},
|
|
1908
1913
|
...started.target ? { target: started.target } : {}
|
|
1909
1914
|
};
|
|
@@ -1916,7 +1921,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1916
1921
|
if (setup.dryRun) {
|
|
1917
1922
|
const todos = excluded.filter((e) => e.mode === "todo").map((e) => e.id);
|
|
1918
1923
|
lines.push(...planTable(plan, todos));
|
|
1919
|
-
const { imageStatusLines } = await import("./images-
|
|
1924
|
+
const { imageStatusLines } = await import("./images-D-MMgo1d.js");
|
|
1920
1925
|
const { dockerAvailable, engineSpec } = await import("./src-CH8ZNcTe.js");
|
|
1921
1926
|
const engines = [...new Set(targets.map((t) => t.sandbox.engine ?? "docker"))];
|
|
1922
1927
|
const down = [];
|
|
@@ -2012,7 +2017,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
2012
2017
|
});
|
|
2013
2018
|
if (malformed.length) throw new UsageError(`Credentials with whitespace or a line break in them: ${malformed.join(", ")}. A key copied from a wrapped terminal line picks these up; set it again as one line.`);
|
|
2014
2019
|
if (asked.length) {
|
|
2015
|
-
const { questionRunner } = await import("./questions-
|
|
2020
|
+
const { questionRunner } = await import("./questions-OKDjvm6B.js");
|
|
2016
2021
|
const warned = /* @__PURE__ */ new Set();
|
|
2017
2022
|
questions = questionRunner({
|
|
2018
2023
|
evals: asked,
|
|
@@ -2054,7 +2059,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
2054
2059
|
}
|
|
2055
2060
|
});
|
|
2056
2061
|
}
|
|
2057
|
-
const { prepareWorkspaces, sameTreeArms, workspaceKey } = await import("./workspace-
|
|
2062
|
+
const { prepareWorkspaces, sameTreeArms, workspaceKey } = await import("./workspace-CQxNEvkp.js");
|
|
2058
2063
|
const live = skipped.filter((p) => !p.attempt.plan.skip);
|
|
2059
2064
|
const outcomes = await prepareWorkspaces(live.flatMap(({ attempt: a }) => a.workspace ? [{
|
|
2060
2065
|
workspace: a.workspace,
|
|
@@ -2150,7 +2155,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
2150
2155
|
};
|
|
2151
2156
|
let engineRun;
|
|
2152
2157
|
let cutShort = false;
|
|
2153
|
-
const { MACHINES, MachineService } = await import("./machine-service-
|
|
2158
|
+
const { MACHINES, MachineService } = await import("./machine-service-DeE4-ueU.js");
|
|
2154
2159
|
const machines = new MachineService();
|
|
2155
2160
|
const { TRACE } = await import("./spans-B4MwgEyy.js");
|
|
2156
2161
|
const { RunTrace } = await import("./run-C_kA5Jzh.js");
|
|
@@ -2305,9 +2310,9 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
2305
2310
|
started: runStarted
|
|
2306
2311
|
});
|
|
2307
2312
|
if (telemetry) exported = telemetry.close();
|
|
2308
|
-
const { removePrepared } = await import("./preflight-
|
|
2313
|
+
const { removePrepared } = await import("./preflight-VrtpmE-m.js");
|
|
2309
2314
|
removePrepared(config.root, runId);
|
|
2310
|
-
const { removePreparedWorkspaces } = await import("./workspace-
|
|
2315
|
+
const { removePreparedWorkspaces } = await import("./workspace-CQxNEvkp.js");
|
|
2311
2316
|
removePreparedWorkspaces(config.root, runId);
|
|
2312
2317
|
}
|
|
2313
2318
|
if (preflightStop) throw preflightStop;
|
|
@@ -2396,4 +2401,4 @@ run(process.argv.slice(2)).finally(() => {
|
|
|
2396
2401
|
});
|
|
2397
2402
|
export {};
|
|
2398
2403
|
|
|
2399
|
-
//# sourceMappingURL=cli-
|
|
2404
|
+
//# sourceMappingURL=cli-eakKMZFR.js.map
|