reeval 0.27.1 → 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 +7 -0
- package/README.md +15 -15
- package/dist/{adapter-CVTLAqRZ.js → adapter-BuisZmtg.js} +2 -2
- package/dist/{adapter-CVTLAqRZ.js.map → adapter-BuisZmtg.js.map} +1 -1
- package/dist/{agent-DMYCRwih.js → agent-ofh_n1XS.js} +3 -3
- package/dist/{agent-DMYCRwih.js.map → agent-ofh_n1XS.js.map} +1 -1
- package/dist/{agents-BnLy2oJs.js → agents-DGr0kCFD.js} +2 -2
- package/dist/{agents-BnLy2oJs.js.map → agents-DGr0kCFD.js.map} +1 -1
- package/dist/{assemble-CMEwZN4_.js → assemble-Co4noZvq.js} +5 -5
- package/dist/{assemble-CMEwZN4_.js.map → assemble-Co4noZvq.js.map} +1 -1
- package/dist/assemble-HOUMVnjQ.js +1 -0
- package/dist/{attach-BX-5hEGv.js → attach-DP3wc3A7.js} +2 -2
- package/dist/{attach-BX-5hEGv.js.map → attach-DP3wc3A7.js.map} +1 -1
- package/dist/{attempt-host-4dd7VaDe.js → attempt-host-Bo8mbyuQ.js} +4 -4
- package/dist/{attempt-host-4dd7VaDe.js.map → attempt-host-Bo8mbyuQ.js.map} +1 -1
- package/dist/{boat-IDUgSDug.js → boat-BgdwW3_Q.js} +4 -4
- package/dist/{boat-IDUgSDug.js.map → boat-BgdwW3_Q.js.map} +1 -1
- package/dist/{boat-images-BvfeOB9a.js → boat-images-CetjuF_c.js} +5 -5
- package/dist/{boat-images-BvfeOB9a.js.map → boat-images-CetjuF_c.js.map} +1 -1
- package/dist/{boat-Cal3Y_cf.js → boat-obBLVWWQ.js} +1 -1
- package/dist/{bundle-BOMF_M7M.js → bundle-dK2eveab.js} +57 -6
- package/dist/bundle-dK2eveab.js.map +1 -0
- package/dist/{capture-Zg37l-rl.js → capture-B8_Kx5R-.js} +6 -6
- package/dist/{capture-Zg37l-rl.js.map → capture-B8_Kx5R-.js.map} +1 -1
- package/dist/capture-BEGBn9e9.js +1 -0
- package/dist/{cli-DccpONR9.js → cli-eakKMZFR.js} +71 -70
- package/dist/{cli-DccpONR9.js.map → cli-eakKMZFR.js.map} +1 -1
- package/dist/cli.js +2 -2
- package/dist/{cloud-CcllrnMJ.js → cloud-BQbD0pT8.js} +3 -3
- package/dist/{cloud-CcllrnMJ.js.map → cloud-BQbD0pT8.js.map} +1 -1
- package/dist/{cloud-files-Dk9vMqTd.js → cloud-files-DFLNNUdK.js} +2 -2
- package/dist/{cloud-files-Dk9vMqTd.js.map → cloud-files-DFLNNUdK.js.map} +1 -1
- package/dist/{cloud-project-CwCIPUO0.js → cloud-project-CV3-AVEe.js} +1 -1
- package/dist/{cloud-project-pwlrENpe.js → cloud-project-D-5mk4oh.js} +2 -2
- package/dist/{cloud-project-pwlrENpe.js.map → cloud-project-D-5mk4oh.js.map} +1 -1
- package/dist/{cloud-push-baZYUB5L.js → cloud-push-CjBRaPak.js} +1 -1
- package/dist/{cloud-push-XtACx9Rn.js → cloud-push-bZL0TUQm.js} +3 -3
- package/dist/{cloud-push-XtACx9Rn.js.map → cloud-push-bZL0TUQm.js.map} +1 -1
- package/dist/{cloud-run-C0Hj7EiS.js → cloud-run-BYvtsyiN.js} +1 -1
- package/dist/{cloud-run-B6axrPZv.js → cloud-run-CKcBID4J.js} +5 -5
- package/dist/{cloud-run-B6axrPZv.js.map → cloud-run-CKcBID4J.js.map} +1 -1
- package/dist/{cloud-secrets-D4_doDp3.js → cloud-secrets-D_IiyGgA.js} +1 -1
- package/dist/{cloud-secrets-CTuA8dDk.js → cloud-secrets-OuKaQUlX.js} +3 -3
- package/dist/{cloud-secrets-CTuA8dDk.js.map → cloud-secrets-OuKaQUlX.js.map} +1 -1
- package/dist/{command-Blf581A9.js → command-C6nA8Fwo.js} +5 -5
- package/dist/{command-Blf581A9.js.map → command-C6nA8Fwo.js.map} +1 -1
- package/dist/{command-BN-UjwKc.js → command-CPJuVTme.js} +2 -2
- package/dist/{command-BN-UjwKc.js.map → command-CPJuVTme.js.map} +1 -1
- package/dist/{command-Q-RyEJPQ.js → command-CU-A_HL3.js} +2 -2
- package/dist/{command-Q-RyEJPQ.js.map → command-CU-A_HL3.js.map} +1 -1
- package/dist/{command-CiGl6R33.js → command-CcWqLUbc.js} +4 -4
- package/dist/{command-CiGl6R33.js.map → command-CcWqLUbc.js.map} +1 -1
- package/dist/{config-DDNytzO-.js → config-Ozz1O7Dl.js} +8 -8
- package/dist/{config-DDNytzO-.js.map → config-Ozz1O7Dl.js.map} +1 -1
- package/dist/{cursor-catalog-CkdQyfqe.js → cursor-catalog-pRZm3jCP.js} +2 -2
- package/dist/{cursor-catalog-CkdQyfqe.js.map → cursor-catalog-pRZm3jCP.js.map} +1 -1
- package/dist/{daytona-acuTdrq7.js → daytona-Bg62QEsJ.js} +7 -7
- package/dist/{daytona-acuTdrq7.js.map → daytona-Bg62QEsJ.js.map} +1 -1
- package/dist/daytona-image-D8TFfSxM.js +1 -0
- package/dist/{daytona-image-BtdtmTYn.js → daytona-image-DFsZlHaL.js} +2 -2
- package/dist/{daytona-image-BtdtmTYn.js.map → daytona-image-DFsZlHaL.js.map} +1 -1
- package/dist/default-effort-C1Y0LOHo.js +1 -0
- package/dist/{default-effort-C8bN-rLD.js → default-effort-DXPtXTsk.js} +9 -4
- package/dist/default-effort-DXPtXTsk.js.map +1 -0
- package/dist/{docker-CHEDAivU.js → docker-BNZw-uhT.js} +1 -1
- package/dist/{doctor-BPHM419M.js → doctor-TkGfyasW.js} +16 -16
- package/dist/{doctor-BPHM419M.js.map → doctor-TkGfyasW.js.map} +1 -1
- package/dist/{environment-CkzsewoX.js → environment-C2i5ggoS.js} +3 -3
- package/dist/{environment-CkzsewoX.js.map → environment-C2i5ggoS.js.map} +1 -1
- package/dist/{eval-source-CK6QEXlf.js → eval-source-CVx2dMCC.js} +4 -4
- package/dist/{eval-source-CK6QEXlf.js.map → eval-source-CVx2dMCC.js.map} +1 -1
- package/dist/{evaluate-DnMnoErB.js → evaluate-D9hHc00J.js} +19 -19
- package/dist/{evaluate-DnMnoErB.js.map → evaluate-D9hHc00J.js.map} +1 -1
- package/dist/{images-32hY25pv.js → images-D-MMgo1d.js} +8 -8
- package/dist/{images-32hY25pv.js.map → images-D-MMgo1d.js.map} +1 -1
- package/dist/index.js +4 -4
- package/dist/{init-DSDKSenO.js → init-DJXSbI19.js} +4 -4
- package/dist/{init-DSDKSenO.js.map → init-DJXSbI19.js.map} +1 -1
- package/dist/init-DkTAnHaf.js +1 -0
- package/dist/{inputs-DvE7qqTb.js → inputs-CTlr7diQ.js} +4 -4
- package/dist/{inputs-DvE7qqTb.js.map → inputs-CTlr7diQ.js.map} +1 -1
- package/dist/{kinds-CICscFIA.js → kinds-DhH1c5u6.js} +4 -4
- package/dist/{kinds-CICscFIA.js.map → kinds-DhH1c5u6.js.map} +1 -1
- package/dist/{link-Rj7DMpHv.js → link-TH-DivdC.js} +3 -3
- package/dist/{link-Rj7DMpHv.js.map → link-TH-DivdC.js.map} +1 -1
- package/dist/{machine-service-Bos-taCx.js → machine-service-Bs-09eUN.js} +2 -2
- package/dist/{machine-service-Bos-taCx.js.map → machine-service-Bs-09eUN.js.map} +1 -1
- package/dist/{machine-service-GQkt_mJ-.js → machine-service-DeE4-ueU.js} +1 -1
- package/dist/{machines-tHbtRGLZ.js → machines-BxWMvCkU.js} +20 -20
- package/dist/{machines-tHbtRGLZ.js.map → machines-BxWMvCkU.js.map} +1 -1
- package/dist/{model-CcbVQLLZ.js → model-BGc_y-K_.js} +1 -1
- package/dist/{model-BdYwVOAF.js → model-U9bZgClN.js} +2 -2
- package/dist/{model-BdYwVOAF.js.map → model-U9bZgClN.js.map} +1 -1
- package/dist/options-BK7nMvou.js +1 -0
- package/dist/{patch-BYEfvtW6.js → patch-CudvhNHJ.js} +2 -2
- package/dist/{patch-BYEfvtW6.js.map → patch-CudvhNHJ.js.map} +1 -1
- package/dist/{plan-BryczQNX.js → plan-CqBiH_vR.js} +6 -6
- package/dist/{plan-BryczQNX.js.map → plan-CqBiH_vR.js.map} +1 -1
- package/dist/{plugins-DPV4muCf.js → plugins-4DkJ-SSG.js} +2 -2
- package/dist/{plugins-DPV4muCf.js.map → plugins-4DkJ-SSG.js.map} +1 -1
- package/dist/preflight-CjR6YpXu.js +1 -0
- package/dist/{preflight-CiF8GvAC.js → preflight-DTUzpuHa.js} +2 -2
- package/dist/{preflight-CiF8GvAC.js.map → preflight-DTUzpuHa.js.map} +1 -1
- package/dist/{preflight-D-t0S092.js → preflight-DshE4siP.js} +7 -7
- package/dist/{preflight-D-t0S092.js.map → preflight-DshE4siP.js.map} +1 -1
- package/dist/{preflight-BQdB1wyE.js → preflight-VrtpmE-m.js} +1 -1
- package/dist/{prepare-DeI3A_tV.js → prepare-B8mcpoSU.js} +1 -1
- package/dist/{prepare-yxqXzH9o.js → prepare-neo93PDB.js} +5 -5
- package/dist/{prepare-yxqXzH9o.js.map → prepare-neo93PDB.js.map} +1 -1
- package/dist/{providers-pNzZLfjc.js → providers-CjS_fnib.js} +13 -13
- package/dist/{providers-pNzZLfjc.js.map → providers-CjS_fnib.js.map} +1 -1
- package/dist/{providers-C0CsemjO.js → providers-CkS7-mTp.js} +1 -1
- package/dist/{questions-Bvs34IKu.js → questions-OKDjvm6B.js} +4 -4
- package/dist/{questions-Bvs34IKu.js.map → questions-OKDjvm6B.js.map} +1 -1
- package/dist/{recipe-DOiL6fCP.js → recipe-CRoyNF64.js} +2 -2
- package/dist/{recipe-DOiL6fCP.js.map → recipe-CRoyNF64.js.map} +1 -1
- package/dist/{remote-C003Q3Nu.js → remote-Dr1gXMTr.js} +5 -5
- package/dist/{remote-C003Q3Nu.js.map → remote-Dr1gXMTr.js.map} +1 -1
- package/dist/resolve-CKRG9k6Z.js +1 -0
- package/dist/{resolve-B34rYHUr.js → resolve-ihtFbkZH.js} +5 -5
- package/dist/{resolve-B34rYHUr.js.map → resolve-ihtFbkZH.js.map} +1 -1
- package/dist/{results-DCxO32Il.js → results-yZWhaeav.js} +2 -2
- package/dist/{results-DCxO32Il.js.map → results-yZWhaeav.js.map} +1 -1
- package/dist/{retry-ReEnqSqt.js → retry-Cjf40USW.js} +3 -3
- package/dist/{retry-ReEnqSqt.js.map → retry-Cjf40USW.js.map} +1 -1
- package/dist/{runtime-Cu8_OGj6.js → runtime-D1gU5fAJ.js} +2 -2
- package/dist/{runtime-Cu8_OGj6.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-BsC4pZQC.js → sandbox-Br9klmXq.js} +2 -2
- package/dist/{sandbox-BsC4pZQC.js.map → sandbox-Br9klmXq.js.map} +1 -1
- package/dist/sandbox.js +1 -1
- package/dist/{ssh-pool-6nJsmgfW.js → ssh-pool-CANmGvdx.js} +4 -4
- package/dist/{ssh-pool-6nJsmgfW.js.map → ssh-pool-CANmGvdx.js.map} +1 -1
- package/dist/ssh-pool-Du_BZWR1.js +1 -0
- package/dist/{start-BAha4BDk.js → start-D-xFuv0f.js} +2 -2
- package/dist/{start-BAha4BDk.js.map → start-D-xFuv0f.js.map} +1 -1
- package/dist/{studio-share-DPk-XBsO.js → studio-share-qopKtSPe.js} +3 -3
- package/dist/{studio-share-DPk-XBsO.js.map → studio-share-qopKtSPe.js.map} +1 -1
- package/dist/{tart-C50mEMFB.js → tart-D4VLu2qF.js} +2 -2
- package/dist/{tart-C50mEMFB.js.map → tart-D4VLu2qF.js.map} +1 -1
- package/dist/{tart-bake-By16X4Pb.js → tart-bake-BEzKMVWv.js} +2 -2
- package/dist/{tart-bake-By16X4Pb.js.map → tart-bake-BEzKMVWv.js.map} +1 -1
- package/dist/{tart-bake-C26irBUZ.js → tart-bake-BksL4gS9.js} +1 -1
- package/dist/testing.js +4 -4
- package/dist/{ui-Ci9IZA-f.js → ui-Df1vnh7L.js} +2 -2
- package/dist/{ui-Ci9IZA-f.js.map → ui-Df1vnh7L.js.map} +1 -1
- package/dist/{vm-container-B_u4pfS7.js → vm-container-Bx3bIlDn.js} +4 -4
- package/dist/{vm-container-B_u4pfS7.js.map → vm-container-Bx3bIlDn.js.map} +1 -1
- package/dist/{vm-images-DLSFXRVh.js → vm-images-CimgmVk6.js} +11 -11
- package/dist/{vm-images-DLSFXRVh.js.map → vm-images-CimgmVk6.js.map} +1 -1
- package/dist/{worker-entry-CWQSBQAG.js → worker-entry-CY_GX-KW.js} +3 -3
- package/dist/{worker-entry-CWQSBQAG.js.map → worker-entry-CY_GX-KW.js.map} +1 -1
- package/dist/{workspace-Bi4hvK9n.js → workspace-2wz0BP-V.js} +2 -2
- package/dist/{workspace-Bi4hvK9n.js.map → workspace-2wz0BP-V.js.map} +1 -1
- package/dist/workspace-CQxNEvkp.js +1 -0
- package/package.json +1 -1
- package/dist/assemble-EbRQIpCM.js +0 -1
- package/dist/bundle-BOMF_M7M.js.map +0 -1
- package/dist/capture-giEWLD66.js +0 -1
- package/dist/daytona-image-Bhc1-HBs.js +0 -1
- package/dist/default-effort-Ba_1HAs4.js +0 -1
- package/dist/default-effort-C8bN-rLD.js.map +0 -1
- package/dist/init-B7u-ygNZ.js +0 -1
- package/dist/options-DN2Zh2HW.js +0 -1
- package/dist/preflight-D9eRBIzJ.js +0 -1
- package/dist/resolve-BzHvjODA.js +0 -1
- package/dist/ssh-pool-pPq8x-rp.js +0 -1
- package/dist/workspace-Nhdu3NBO.js +0 -1
|
@@ -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 {
|
|
@@ -1204,7 +1204,7 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1204
1204
|
return EXIT.ok;
|
|
1205
1205
|
}
|
|
1206
1206
|
if (ctx.retry && ctx.previous && retried.size) {
|
|
1207
|
-
const { retryEnvironmentChanges } = await import("./retry-
|
|
1207
|
+
const { retryEnvironmentChanges } = await import("./retry-Cjf40USW.js");
|
|
1208
1208
|
const changes = retryEnvironmentChanges(ctx.previous, ctx.stagingDir, retried);
|
|
1209
1209
|
if (changes.length) {
|
|
1210
1210
|
questions?.cancel();
|
|
@@ -1224,7 +1224,7 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1224
1224
|
finishing = true;
|
|
1225
1225
|
live?.phase("finishing");
|
|
1226
1226
|
const { lockfiles } = await import("./state-C007zNcM.js");
|
|
1227
|
-
const { writeScratchRun } = await import("./results-
|
|
1227
|
+
const { writeScratchRun } = await import("./results-yZWhaeav.js");
|
|
1228
1228
|
const run = await writeScratchRun({
|
|
1229
1229
|
ctx,
|
|
1230
1230
|
author: ctx.author,
|
|
@@ -1284,7 +1284,7 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1284
1284
|
});
|
|
1285
1285
|
renderer.close();
|
|
1286
1286
|
if (retried.size) {
|
|
1287
|
-
const { retryCounts, retryLine } = await import("./retry-
|
|
1287
|
+
const { retryCounts, retryLine } = await import("./retry-Cjf40USW.js");
|
|
1288
1288
|
const line = retryLine(retryCounts(record, retried, ctx.previous));
|
|
1289
1289
|
if (setup.json) console.error(line);
|
|
1290
1290
|
else console.log(line);
|
|
@@ -1345,7 +1345,7 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1345
1345
|
* config: `found` is the config the cloud was picked from and, for a download, its cloud run.
|
|
1346
1346
|
*/
|
|
1347
1347
|
async function cloudContinue(flags, filters, configPath, found) {
|
|
1348
|
-
const cloud = await import("./cloud-run-
|
|
1348
|
+
const cloud = await import("./cloud-run-BYvtsyiN.js");
|
|
1349
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");
|
|
1350
1350
|
const fixed = [...filters.length ? ["filters"] : [], ...[
|
|
1351
1351
|
"runs",
|
|
@@ -1364,7 +1364,7 @@ async function cloudContinue(flags, filters, configPath, found) {
|
|
|
1364
1364
|
let origin = found?.origin ?? null;
|
|
1365
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");
|
|
1366
1366
|
if (!origin && configPath !== void 0 && !isAttachUrl(ref)) {
|
|
1367
|
-
const { cloudOriginOf } = await import("./cloud-files-
|
|
1367
|
+
const { cloudOriginOf } = await import("./cloud-files-DFLNNUdK.js");
|
|
1368
1368
|
origin = await cloudOriginOf(dirname(configPath), ref);
|
|
1369
1369
|
}
|
|
1370
1370
|
loadEnvFiles(configPath);
|
|
@@ -1400,7 +1400,7 @@ async function cloudContinue(flags, filters, configPath, found) {
|
|
|
1400
1400
|
async function undoRetry(root, ctx) {
|
|
1401
1401
|
await restoreRetry(root, ctx.runId);
|
|
1402
1402
|
if (ctx.forgotOrigin === void 0) return;
|
|
1403
|
-
const { rememberCloudOrigin } = await import("./cloud-files-
|
|
1403
|
+
const { rememberCloudOrigin } = await import("./cloud-files-DFLNNUdK.js");
|
|
1404
1404
|
await rememberCloudOrigin(root, ctx.runId, ctx.forgotOrigin);
|
|
1405
1405
|
}
|
|
1406
1406
|
/**
|
|
@@ -1409,7 +1409,7 @@ async function undoRetry(root, ctx) {
|
|
|
1409
1409
|
*/
|
|
1410
1410
|
async function cloudContinuation(flags, path, runId, bundled) {
|
|
1411
1411
|
if (flags.local || bundled) return null;
|
|
1412
|
-
const { cloudOriginOf } = await import("./cloud-files-
|
|
1412
|
+
const { cloudOriginOf } = await import("./cloud-files-DFLNNUdK.js");
|
|
1413
1413
|
const origin = await cloudOriginOf(dirname(path), runId, { exact: true });
|
|
1414
1414
|
if (!origin) return null;
|
|
1415
1415
|
const named = flags.profile ?? origin.profile ?? (process.env.REEVAL_PROFILE || void 0);
|
|
@@ -1611,7 +1611,7 @@ async function startRun({ config, profile, runs, tags, traits, sandboxes, sizeRu
|
|
|
1611
1611
|
const { worktreePatch } = await import("./state-C007zNcM.js");
|
|
1612
1612
|
const patch = git?.dirty && !bundled ? await worktreePatch(config.root, [config.history.dir]) : null;
|
|
1613
1613
|
const who = bundled?.author ?? await author(config.root);
|
|
1614
|
-
const { stagingDir } = await import("./results-
|
|
1614
|
+
const { stagingDir } = await import("./results-yZWhaeav.js");
|
|
1615
1615
|
const { scratchDir } = await import("./files--mW-Ym3B.js");
|
|
1616
1616
|
const scratch = scratchDir(config.root);
|
|
1617
1617
|
if (resume !== void 0 || retry !== void 0) {
|
|
@@ -1621,7 +1621,7 @@ async function startRun({ config, profile, runs, tags, traits, sandboxes, sizeRu
|
|
|
1621
1621
|
}, bundled);
|
|
1622
1622
|
if (!dryRun && retry === void 0) {
|
|
1623
1623
|
await prepareResume(target, config.root);
|
|
1624
|
-
await (await import("./cloud-files-
|
|
1624
|
+
await (await import("./cloud-files-DFLNNUdK.js")).forgetCloudOrigin(config.root, target.runId);
|
|
1625
1625
|
} else if (!dryRun) holdRetry(target, config.root);
|
|
1626
1626
|
const stopped = retry === void 0 ? await stoppedRetry(config.root, target) : null;
|
|
1627
1627
|
if (!dryRun) await sweep(config.root, target.runId);
|
|
@@ -1722,19 +1722,20 @@ function namesDeclaredSecret(evals) {
|
|
|
1722
1722
|
}
|
|
1723
1723
|
}
|
|
1724
1724
|
/**
|
|
1725
|
-
* 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`
|
|
1726
1727
|
* against it (exit 2, naming the eval and cell), gives each the effort it runs at, and notes each
|
|
1727
1728
|
* eval's harnesses that run with none. A catalog that can't be read leaves the Cursor cells
|
|
1728
1729
|
* unchecked and noted; each attempt then reports why it couldn't start.
|
|
1729
1730
|
*/
|
|
1730
1731
|
async function planEfforts(planned) {
|
|
1731
1732
|
const live = planned.filter((p) => !p.attempt.plan.skip);
|
|
1732
|
-
const { effortNotes, withDefaultEffort } = await import("./default-effort-
|
|
1733
|
+
const { effortNotes, withDefaultEffort } = await import("./default-effort-C1Y0LOHo.js");
|
|
1733
1734
|
let cursor;
|
|
1734
1735
|
let unchecked = "CURSOR_API_KEY isn't set";
|
|
1735
|
-
const key =
|
|
1736
|
-
if (key && live.some((p) => p.attempt.harness.kind === "cursor")) {
|
|
1737
|
-
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");
|
|
1738
1739
|
const checked = await checkCursorPlan(key, live);
|
|
1739
1740
|
if (checked instanceof Error) unchecked = `its request failed: ${checked.message}`;
|
|
1740
1741
|
else {
|
|
@@ -1773,7 +1774,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1773
1774
|
...setup.dryRun && setup.json ? { inputs: true } : {}
|
|
1774
1775
|
}));
|
|
1775
1776
|
const { runEngine } = await import("./node-eEX-KpkO.js");
|
|
1776
|
-
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");
|
|
1777
1778
|
let plan;
|
|
1778
1779
|
let sandboxVersions = { images: [] };
|
|
1779
1780
|
let preflightStop;
|
|
@@ -1818,8 +1819,8 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1818
1819
|
if (ctx.retry && ctx.previous) {
|
|
1819
1820
|
const ranOn = ctx.previous.stack?.reeval;
|
|
1820
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.`);
|
|
1821
|
-
const { retryChanges } = await import("./retry-
|
|
1822
|
-
const { judgePart } = await import("./assemble-
|
|
1822
|
+
const { retryChanges } = await import("./retry-Cjf40USW.js");
|
|
1823
|
+
const { judgePart } = await import("./assemble-HOUMVnjQ.js");
|
|
1823
1824
|
const { engineVersions } = await import("./node-eEX-KpkO.js");
|
|
1824
1825
|
const judged = judgePart(config, profile, version, engineVersions);
|
|
1825
1826
|
const runs = new Set(planned.map((p) => p.key).filter((key) => !completed.has(key)));
|
|
@@ -1827,7 +1828,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1827
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.`);
|
|
1828
1829
|
if (ctx.retryTarget && !setup.dryRun) {
|
|
1829
1830
|
await prepareResume(ctx.retryTarget, config.root, { held: true });
|
|
1830
|
-
const { forgetCloudOrigin } = await import("./cloud-files-
|
|
1831
|
+
const { forgetCloudOrigin } = await import("./cloud-files-DFLNNUdK.js");
|
|
1831
1832
|
const forgot = await forgetCloudOrigin(config.root, runId);
|
|
1832
1833
|
if (forgot !== null) ctx.forgotOrigin = forgot;
|
|
1833
1834
|
const aside = await loadPrevious(stagingDir);
|
|
@@ -1836,7 +1837,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1836
1837
|
}
|
|
1837
1838
|
}
|
|
1838
1839
|
retried = continuing && !setup.dryRun ? noteRetries(planned, stagingDir, ctx.previous, true).errored : errored;
|
|
1839
|
-
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;
|
|
1840
1841
|
const judge = runJudgeModel(config, profile);
|
|
1841
1842
|
const judgeModel = judge === void 0 ? null : judgeModelName(judge);
|
|
1842
1843
|
plan = await buildPlan({
|
|
@@ -1856,7 +1857,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1856
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))] : [];
|
|
1857
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`);
|
|
1858
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))] : [];
|
|
1859
|
-
const { podmanRootless } = await import("./providers-
|
|
1860
|
+
const { podmanRootless } = await import("./providers-CkS7-mTp.js");
|
|
1860
1861
|
if (switching.length && await podmanRootless()) plan.warnings.push(rootlessPodmanSwitch(switching));
|
|
1861
1862
|
plan.warnings.push(...started.notes);
|
|
1862
1863
|
if (started.narrowed) {
|
|
@@ -1872,7 +1873,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1872
1873
|
run.completed = [...completed];
|
|
1873
1874
|
const done = leftOut.filter((l) => l.done).map((l) => l.key);
|
|
1874
1875
|
kept = keptAttempts([...completed, ...done], stagingDir, ctx.previous);
|
|
1875
|
-
const { imageStages, imageTargets } = await import("./images-
|
|
1876
|
+
const { imageStages, imageTargets } = await import("./images-D-MMgo1d.js");
|
|
1876
1877
|
const targets = imageTargets(skipped.filter((p) => !p.attempt.plan.skip).map((p) => ({
|
|
1877
1878
|
id: p.attempt.family?.id ?? p.id,
|
|
1878
1879
|
harness: p.attempt.harness,
|
|
@@ -1903,7 +1904,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1903
1904
|
for (const { names, cloudSets } of needed) if (!cloudSets) for (const name of names) secrets.add(name);
|
|
1904
1905
|
const cloudSets = new Set(needed.flatMap((c) => c.cloudSets ? c.names : []).filter((name) => !secrets.has(name)));
|
|
1905
1906
|
for (const name of cloudSets) secrets.add(name);
|
|
1906
|
-
const { notCloud } = await import("./cloud-run-
|
|
1907
|
+
const { notCloud } = await import("./cloud-run-BYvtsyiN.js");
|
|
1907
1908
|
const blocked = notCloud(skipped);
|
|
1908
1909
|
const doc = {
|
|
1909
1910
|
...planDocument(plan, skipped, excluded, images, inputs, [...secrets].sort()),
|
|
@@ -1920,7 +1921,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1920
1921
|
if (setup.dryRun) {
|
|
1921
1922
|
const todos = excluded.filter((e) => e.mode === "todo").map((e) => e.id);
|
|
1922
1923
|
lines.push(...planTable(plan, todos));
|
|
1923
|
-
const { imageStatusLines } = await import("./images-
|
|
1924
|
+
const { imageStatusLines } = await import("./images-D-MMgo1d.js");
|
|
1924
1925
|
const { dockerAvailable, engineSpec } = await import("./src-CH8ZNcTe.js");
|
|
1925
1926
|
const engines = [...new Set(targets.map((t) => t.sandbox.engine ?? "docker"))];
|
|
1926
1927
|
const down = [];
|
|
@@ -2016,7 +2017,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
2016
2017
|
});
|
|
2017
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.`);
|
|
2018
2019
|
if (asked.length) {
|
|
2019
|
-
const { questionRunner } = await import("./questions-
|
|
2020
|
+
const { questionRunner } = await import("./questions-OKDjvm6B.js");
|
|
2020
2021
|
const warned = /* @__PURE__ */ new Set();
|
|
2021
2022
|
questions = questionRunner({
|
|
2022
2023
|
evals: asked,
|
|
@@ -2058,7 +2059,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
2058
2059
|
}
|
|
2059
2060
|
});
|
|
2060
2061
|
}
|
|
2061
|
-
const { prepareWorkspaces, sameTreeArms, workspaceKey } = await import("./workspace-
|
|
2062
|
+
const { prepareWorkspaces, sameTreeArms, workspaceKey } = await import("./workspace-CQxNEvkp.js");
|
|
2062
2063
|
const live = skipped.filter((p) => !p.attempt.plan.skip);
|
|
2063
2064
|
const outcomes = await prepareWorkspaces(live.flatMap(({ attempt: a }) => a.workspace ? [{
|
|
2064
2065
|
workspace: a.workspace,
|
|
@@ -2154,7 +2155,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
2154
2155
|
};
|
|
2155
2156
|
let engineRun;
|
|
2156
2157
|
let cutShort = false;
|
|
2157
|
-
const { MACHINES, MachineService } = await import("./machine-service-
|
|
2158
|
+
const { MACHINES, MachineService } = await import("./machine-service-DeE4-ueU.js");
|
|
2158
2159
|
const machines = new MachineService();
|
|
2159
2160
|
const { TRACE } = await import("./spans-B4MwgEyy.js");
|
|
2160
2161
|
const { RunTrace } = await import("./run-C_kA5Jzh.js");
|
|
@@ -2309,9 +2310,9 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
2309
2310
|
started: runStarted
|
|
2310
2311
|
});
|
|
2311
2312
|
if (telemetry) exported = telemetry.close();
|
|
2312
|
-
const { removePrepared } = await import("./preflight-
|
|
2313
|
+
const { removePrepared } = await import("./preflight-VrtpmE-m.js");
|
|
2313
2314
|
removePrepared(config.root, runId);
|
|
2314
|
-
const { removePreparedWorkspaces } = await import("./workspace-
|
|
2315
|
+
const { removePreparedWorkspaces } = await import("./workspace-CQxNEvkp.js");
|
|
2315
2316
|
removePreparedWorkspaces(config.root, runId);
|
|
2316
2317
|
}
|
|
2317
2318
|
if (preflightStop) throw preflightStop;
|
|
@@ -2400,4 +2401,4 @@ run(process.argv.slice(2)).finally(() => {
|
|
|
2400
2401
|
});
|
|
2401
2402
|
export {};
|
|
2402
2403
|
|
|
2403
|
-
//# sourceMappingURL=cli-
|
|
2404
|
+
//# sourceMappingURL=cli-eakKMZFR.js.map
|