reeval 0.28.0 → 0.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +15 -15
- package/dist/{adapter-mMrKaF9C.js → adapter-DpXw5J4g.js} +2 -2
- package/dist/{adapter-mMrKaF9C.js.map → adapter-DpXw5J4g.js.map} +1 -1
- package/dist/{agent-BMHM86Qy.js → agent-B1ndNDEu.js} +8 -7
- package/dist/{agent-BMHM86Qy.js.map → agent-B1ndNDEu.js.map} +1 -1
- package/dist/{agents-DgfyOMRm.js → agents-_3iNDMC1.js} +6 -6
- package/dist/{agents-DgfyOMRm.js.map → agents-_3iNDMC1.js.map} +1 -1
- package/dist/{assemble-DxVRcaLC.js → assemble-1bwPTJh1.js} +8 -8
- package/dist/{assemble-DxVRcaLC.js.map → assemble-1bwPTJh1.js.map} +1 -1
- package/dist/assemble-B5nrfSs9.js +1 -0
- package/dist/{attach-CB-ESG7D.js → attach-D8MwHm3x.js} +4 -4
- package/dist/{attach-CB-ESG7D.js.map → attach-D8MwHm3x.js.map} +1 -1
- package/dist/{attempt-host-B3zsORzT.js → attempt-host-lpJKcri8.js} +4 -4
- package/dist/{attempt-host-B3zsORzT.js.map → attempt-host-lpJKcri8.js.map} +1 -1
- package/dist/{boat-CANaudKC.js → boat-DR71pK8X.js} +1 -1
- package/dist/{boat-B2B3XO9B.js → boat-RFKQBduR.js} +6 -6
- package/dist/{boat-B2B3XO9B.js.map → boat-RFKQBduR.js.map} +1 -1
- package/dist/{boat-images-sSz82GXk.js → boat-images-DvO8IPNz.js} +7 -7
- package/dist/{boat-images-sSz82GXk.js.map → boat-images-DvO8IPNz.js.map} +1 -1
- package/dist/{bundle-CJsMYTJw.js → bundle-Cnq5No9E.js} +11 -8
- package/dist/bundle-Cnq5No9E.js.map +1 -0
- package/dist/capture-L55SSOmN.js +1 -0
- package/dist/{capture-DTHe_BcS.js → capture-sMi-R9PJ.js} +8 -8
- package/dist/{capture-DTHe_BcS.js.map → capture-sMi-R9PJ.js.map} +1 -1
- package/dist/{cli-EopIiwBJ.js → cli-BscLXP46.js} +91 -79
- package/dist/{cli-EopIiwBJ.js.map → cli-BscLXP46.js.map} +1 -1
- package/dist/cli.js +2 -2
- package/dist/{cloud-CsofVdxN.js → cloud-CcEcnyQh.js} +4 -4
- package/dist/{cloud-CsofVdxN.js.map → cloud-CcEcnyQh.js.map} +1 -1
- package/dist/{cloud-files-BpWbKpxg.js → cloud-files-D_O9fbR-.js} +4 -4
- package/dist/{cloud-files-BpWbKpxg.js.map → cloud-files-D_O9fbR-.js.map} +1 -1
- package/dist/{cloud-project-CN1f7p5a.js → cloud-project-DLOjhvhB.js} +2 -2
- package/dist/{cloud-project-CN1f7p5a.js.map → cloud-project-DLOjhvhB.js.map} +1 -1
- package/dist/{cloud-project-DLn9l5X6.js → cloud-project-GRKSV6ye.js} +1 -1
- package/dist/{cloud-push-CPLWxn8b.js → cloud-push-9n-MskNb.js} +1 -1
- package/dist/{cloud-push-CLIcWVa6.js → cloud-push-CXF92l8Z.js} +4 -4
- package/dist/{cloud-push-CLIcWVa6.js.map → cloud-push-CXF92l8Z.js.map} +1 -1
- package/dist/{cloud-run-DIAXbsWd.js → cloud-run-Bh7k0NT3.js} +1 -1
- package/dist/{cloud-run-ChdOr6zu.js → cloud-run-D01Q6bI9.js} +31 -18
- package/dist/cloud-run-D01Q6bI9.js.map +1 -0
- package/dist/{cloud-secrets-DAuRwjTP.js → cloud-secrets-D75oFMh4.js} +3 -3
- package/dist/{cloud-secrets-DAuRwjTP.js.map → cloud-secrets-D75oFMh4.js.map} +1 -1
- package/dist/{cloud-secrets-a1B2IsjU.js → cloud-secrets-IAkn5QAu.js} +1 -1
- package/dist/{command-CUBXsFfz.js → command-BnebWjYe.js} +2 -2
- package/dist/{command-CUBXsFfz.js.map → command-BnebWjYe.js.map} +1 -1
- package/dist/{command-6UkOgqge.js → command-BvNM0r_3.js} +7 -7
- package/dist/{command-6UkOgqge.js.map → command-BvNM0r_3.js.map} +1 -1
- package/dist/{command-Dq-mFirh.js → command-C82cg19k.js} +2 -2
- package/dist/{command-Dq-mFirh.js.map → command-C82cg19k.js.map} +1 -1
- package/dist/{command-CQS2gjNM.js → command-CMP5tLCQ.js} +3 -3
- package/dist/{command-CQS2gjNM.js.map → command-CMP5tLCQ.js.map} +1 -1
- package/dist/{command-I8E1FgG5.js → command-du7_5bzq.js} +6 -6
- package/dist/{command-I8E1FgG5.js.map → command-du7_5bzq.js.map} +1 -1
- package/dist/{commands-wkSzuPgF.js → commands-CeC0GQb3.js} +1 -1
- package/dist/{commands-BeLE4oN4.js → commands-DvU8Kh5T.js} +2 -2
- package/dist/{commands-BeLE4oN4.js.map → commands-DvU8Kh5T.js.map} +1 -1
- package/dist/{config-CfZWILTy.js → config-BUHRiR5M.js} +12 -12
- package/dist/{config-CfZWILTy.js.map → config-BUHRiR5M.js.map} +1 -1
- package/dist/{cursor-catalog-Cw3kv68u.js → cursor-catalog-jVblPRFf.js} +2 -2
- package/dist/{cursor-catalog-Cw3kv68u.js.map → cursor-catalog-jVblPRFf.js.map} +1 -1
- package/dist/{daytona-fLoFUu2I.js → daytona-B333cRQp.js} +9 -9
- package/dist/{daytona-fLoFUu2I.js.map → daytona-B333cRQp.js.map} +1 -1
- package/dist/daytona-image-CPdhbuO3.js +1 -0
- package/dist/{daytona-image-BRBFQA9c.js → daytona-image-CZZ7KXhs.js} +3 -3
- package/dist/{daytona-image-BRBFQA9c.js.map → daytona-image-CZZ7KXhs.js.map} +1 -1
- package/dist/{default-effort-ByvTDqX7.js → default-effort-DgRmptMy.js} +3 -3
- package/dist/{default-effort-ByvTDqX7.js.map → default-effort-DgRmptMy.js.map} +1 -1
- package/dist/{default-effort-C9He6KVv.js → default-effort-MTALS2Gg.js} +1 -1
- package/dist/{docker-BKA4ELbB.js → docker-8FHKmBSq.js} +1 -1
- package/dist/{doctor-CPXSQ4s-.js → doctor-duvpyGzv.js} +21 -21
- package/dist/{doctor-CPXSQ4s-.js.map → doctor-duvpyGzv.js.map} +1 -1
- package/dist/{environment-B_ht7Lbp.js → environment-ClhvHQzf.js} +4 -4
- package/dist/{environment-B_ht7Lbp.js.map → environment-ClhvHQzf.js.map} +1 -1
- package/dist/{eval-source-Byy9CDjg.js → eval-source-B0BOsAj8.js} +4 -4
- package/dist/{eval-source-Byy9CDjg.js.map → eval-source-B0BOsAj8.js.map} +1 -1
- package/dist/{evaluate-DoObbRZ2.js → evaluate-CYk8DFen.js} +25 -25
- package/dist/{evaluate-DoObbRZ2.js.map → evaluate-CYk8DFen.js.map} +1 -1
- package/dist/events-C7tCnwxF.js +1 -0
- package/dist/{events-Da6Pl5_b.js → events-DrI9kjVf.js} +2 -2
- package/dist/{events-Da6Pl5_b.js.map → events-DrI9kjVf.js.map} +1 -1
- package/dist/{harness-install-CmD1eQsL.js → harness-install-CnO_XOZX.js} +2 -2
- package/dist/{harness-install-CmD1eQsL.js.map → harness-install-CnO_XOZX.js.map} +1 -1
- package/dist/{images-CWT6Ye03.js → images-DJhOleuR.js} +9 -9
- package/dist/{images-CWT6Ye03.js.map → images-DJhOleuR.js.map} +1 -1
- package/dist/index.js +4 -4
- package/dist/{init-BESRsV7F.js → init-BWpCSCwu.js} +5 -5
- package/dist/{init-BESRsV7F.js.map → init-BWpCSCwu.js.map} +1 -1
- package/dist/init-DVPgHVjc.js +1 -0
- package/dist/{inputs-BoQrNOoN.js → inputs-BWGetwY1.js} +4 -4
- package/dist/{inputs-BoQrNOoN.js.map → inputs-BWGetwY1.js.map} +1 -1
- package/dist/{judge-CUjB8kYF.js → judge-rxVptB7O.js} +5 -5
- package/dist/{judge-CUjB8kYF.js.map → judge-rxVptB7O.js.map} +1 -1
- package/dist/judge.js +1 -1
- package/dist/{kinds-C6PeknHN.js → kinds-DHuWeXVE.js} +4 -4
- package/dist/{kinds-C6PeknHN.js.map → kinds-DHuWeXVE.js.map} +1 -1
- package/dist/{link-C74mznSy.js → link-CAKz8dlf.js} +3 -3
- package/dist/{link-C74mznSy.js.map → link-CAKz8dlf.js.map} +1 -1
- package/dist/{machine-service-WRvLuPyf.js → machine-service-CkNS0EDU.js} +3 -3
- package/dist/{machine-service-WRvLuPyf.js.map → machine-service-CkNS0EDU.js.map} +1 -1
- package/dist/{machine-service-CIPF3GOD.js → machine-service-SvzL_fG2.js} +1 -1
- package/dist/{machines-BIhbRJ4m.js → machines-HP7b-Xu0.js} +21 -21
- package/dist/{machines-BIhbRJ4m.js.map → machines-HP7b-Xu0.js.map} +1 -1
- package/dist/{model-EhOuBsho.js → model-CsOxcfcP.js} +5 -5
- package/dist/model-CsOxcfcP.js.map +1 -0
- package/dist/model-DHHW4Eva.js +1 -0
- package/dist/{model-D3sK3a5R.js → model-EiXnyEi4.js} +3 -3
- package/dist/{model-D3sK3a5R.js.map → model-EiXnyEi4.js.map} +1 -1
- package/dist/options-BavfXTnZ.js +1 -0
- package/dist/{patch-DBQCuZAJ.js → patch-CXAiVJJb.js} +2 -2
- package/dist/{patch-DBQCuZAJ.js.map → patch-CXAiVJJb.js.map} +1 -1
- package/dist/{plan-Dj19aa3f.js → plan-XPBl8wPX.js} +6 -6
- package/dist/{plan-Dj19aa3f.js.map → plan-XPBl8wPX.js.map} +1 -1
- package/dist/{plugins-rlmJz7B3.js → plugins-CVb68Csl.js} +3 -3
- package/dist/{plugins-rlmJz7B3.js.map → plugins-CVb68Csl.js.map} +1 -1
- package/dist/{preflight-C919d0x1.js → preflight-D8tP_D1t.js} +8 -8
- package/dist/{preflight-C919d0x1.js.map → preflight-D8tP_D1t.js.map} +1 -1
- package/dist/{preflight-CvIY-sKu.js → preflight-DXXJrweW.js} +3 -3
- package/dist/{preflight-CvIY-sKu.js.map → preflight-DXXJrweW.js.map} +1 -1
- package/dist/preflight-DcUhwxb9.js +1 -0
- package/dist/{preflight-CVGDRu2C.js → preflight-XTBtCUST.js} +1 -1
- package/dist/{prepare-BAkGolQG.js → prepare-BfkBJx-r.js} +7 -7
- package/dist/{prepare-BAkGolQG.js.map → prepare-BfkBJx-r.js.map} +1 -1
- package/dist/{prepare-D91IAX_H.js → prepare-DncZcdrN.js} +1 -1
- package/dist/provider-CImogcxo.js +1 -0
- package/dist/{provider-BNQjWvVI.js → provider-KoKRkRYc.js} +2 -2
- package/dist/{provider-BNQjWvVI.js.map → provider-KoKRkRYc.js.map} +1 -1
- package/dist/{providers-BJtQ3NwC.js → providers-B1rFOe9J.js} +1 -1
- package/dist/{providers-zFYsqSGY.js → providers-CDxtyguj.js} +17 -17
- package/dist/{providers-zFYsqSGY.js.map → providers-CDxtyguj.js.map} +1 -1
- package/dist/{questions-7ENfOXct.js → questions-B9CvSlT6.js} +4 -4
- package/dist/{questions-7ENfOXct.js.map → questions-B9CvSlT6.js.map} +1 -1
- package/dist/{recipe-BYfLWBQt.js → recipe-COFxUo3D.js} +2 -2
- package/dist/{recipe-BYfLWBQt.js.map → recipe-COFxUo3D.js.map} +1 -1
- package/dist/{remote-3htNQd1k.js → remote-CiT9JKxm.js} +7 -7
- package/dist/{remote-3htNQd1k.js.map → remote-CiT9JKxm.js.map} +1 -1
- package/dist/{resolve-BithWafe.js → resolve-C74KVA_E.js} +6 -6
- package/dist/{resolve-BithWafe.js.map → resolve-C74KVA_E.js.map} +1 -1
- package/dist/resolve-Dt5W-3CX.js +1 -0
- package/dist/{results-BSrEuS2x.js → results-DFfbDGo8.js} +2 -2
- package/dist/{results-BSrEuS2x.js.map → results-DFfbDGo8.js.map} +1 -1
- package/dist/{resume-VlM095b2.js → resume-Upez3P-w.js} +2 -2
- package/dist/{resume-VlM095b2.js.map → resume-Upez3P-w.js.map} +1 -1
- package/dist/{retry-DI6qS8FY.js → retry-CnNc6eFZ.js} +3 -3
- package/dist/{retry-DI6qS8FY.js.map → retry-CnNc6eFZ.js.map} +1 -1
- package/dist/{routes-D1tgwWoe.js → routes-BKMw8O4e.js} +3 -3
- package/dist/{routes-D1tgwWoe.js.map → routes-BKMw8O4e.js.map} +1 -1
- package/dist/{runtime-CXxeCKoX.js → runtime-Ckm-qUYw.js} +2 -2
- package/dist/{runtime-CXxeCKoX.js.map → runtime-Ckm-qUYw.js.map} +1 -1
- package/dist/sandbox/boat.js +1 -1
- package/dist/sandbox/daytona.js +1 -1
- package/dist/{sandbox-D1vDKYqU.js → sandbox-CIiuaavT.js} +2 -2
- package/dist/{sandbox-D1vDKYqU.js.map → sandbox-CIiuaavT.js.map} +1 -1
- package/dist/sandbox.js +1 -1
- package/dist/{src-BWb__auU.js → src-B0ov9X7G.js} +1 -1
- package/dist/{src-og0zwqOf.js → src-BF1KIG3s.js} +1 -1
- package/dist/{src-CU4tXeik.js → src-BRZvsbAC.js} +1 -1
- package/dist/{src-RygE9XhU.js → src-CJ-VZA2l.js} +1 -1
- package/dist/{src-DV-o1jAX.js → src-CMsTDH9Y.js} +1 -1
- package/dist/{src-CfDk0uu4.js → src-Cn5H3izr.js} +42 -31
- package/dist/{src-CfDk0uu4.js.map → src-Cn5H3izr.js.map} +1 -1
- package/dist/{src-V6cCl3Ak.js → src-D2ILO3ov.js} +1 -1
- package/dist/{src-1TaLS8AT.js → src-DIk7y1HM.js} +1 -1
- package/dist/{src-DR_j9K3o.js → src-zu03lgt2.js} +1 -1
- package/dist/ssh-pool-CYCX_JbC.js +1 -0
- package/dist/{ssh-pool-DqFdHcz0.js → ssh-pool-CpPNPvOK.js} +6 -6
- package/dist/{ssh-pool-DqFdHcz0.js.map → ssh-pool-CpPNPvOK.js.map} +1 -1
- package/dist/{start-BSBWBxQb.js → start-CCbSo9Hw.js} +4 -4
- package/dist/{start-BSBWBxQb.js.map → start-CCbSo9Hw.js.map} +1 -1
- package/dist/{state-BhSANU74.js → state-BPIvAS8P.js} +2 -2
- package/dist/{state-BhSANU74.js.map → state-BPIvAS8P.js.map} +1 -1
- package/dist/state-Cqcd4_5G.js +1 -0
- package/dist/{studio-share-58-7lF42.js → studio-share-NQDwAWR_.js} +4 -4
- package/dist/{studio-share-58-7lF42.js.map → studio-share-NQDwAWR_.js.map} +1 -1
- package/dist/{tart-bake-BRfCI3R9.js → tart-bake-Cdk8YaPG.js} +1 -1
- package/dist/{tart-bake-CRrij4Ct.js → tart-bake-Dhj-q9AS.js} +3 -3
- package/dist/{tart-bake-CRrij4Ct.js.map → tart-bake-Dhj-q9AS.js.map} +1 -1
- package/dist/{tart-CcdnLmyl.js → tart-ggAmpJpj.js} +4 -4
- package/dist/{tart-CcdnLmyl.js.map → tart-ggAmpJpj.js.map} +1 -1
- package/dist/{tart-hosts-CifzR5Lp.js → tart-hosts-BaeyUzzq.js} +2 -2
- package/dist/{tart-hosts-CifzR5Lp.js.map → tart-hosts-BaeyUzzq.js.map} +1 -1
- package/dist/{tart-hosts-CNUiaq7k.js → tart-hosts-D0tEFNJz.js} +1 -1
- package/dist/testing.js +4 -4
- package/dist/{types-BRXqpxJ1.js → types-ByoVW0_V.js} +2 -2
- package/dist/{types-BRXqpxJ1.js.map → types-ByoVW0_V.js.map} +1 -1
- package/dist/{ui-CNYSCEFR.js → ui-DsGOlh5c.js} +2 -2
- package/dist/{ui-CNYSCEFR.js.map → ui-DsGOlh5c.js.map} +1 -1
- package/dist/vertex-C7IbGLJg.js +2 -0
- package/dist/{vertex-BS-i5_z3.js → vertex-Plo5WUxj.js} +2 -2
- package/dist/{vertex-BS-i5_z3.js.map → vertex-Plo5WUxj.js.map} +1 -1
- package/dist/views-BrNK-NV6.js +2 -0
- package/dist/{views-CLF_vJ6q.js → views-Dv-m2rqd.js} +2 -2
- package/dist/{views-CLF_vJ6q.js.map → views-Dv-m2rqd.js.map} +1 -1
- package/dist/{vm-container-BHRWzfKZ.js → vm-container-DOkT5Iki.js} +5 -5
- package/dist/{vm-container-BHRWzfKZ.js.map → vm-container-DOkT5Iki.js.map} +1 -1
- package/dist/{vm-images-CZitoP8K.js → vm-images-BKGyBt9y.js} +13 -13
- package/dist/{vm-images-CZitoP8K.js.map → vm-images-BKGyBt9y.js.map} +1 -1
- package/dist/{worker-entry-DTrgQNo6.js → worker-entry-Dt0KPdT9.js} +3 -3
- package/dist/{worker-entry-DTrgQNo6.js.map → worker-entry-Dt0KPdT9.js.map} +1 -1
- package/dist/{workspace-CgkcWyX1.js → workspace-DZs1aV-E.js} +3 -3
- package/dist/{workspace-CgkcWyX1.js.map → workspace-DZs1aV-E.js.map} +1 -1
- package/dist/workspace-Dtfq6vqG.js +1 -0
- package/package.json +1 -1
- package/dist/assemble-Dsl_C0gf.js +0 -1
- package/dist/bundle-CJsMYTJw.js.map +0 -1
- package/dist/capture-5WMKZZRx.js +0 -1
- package/dist/cloud-run-ChdOr6zu.js.map +0 -1
- package/dist/daytona-image-DuZpq9Qw.js +0 -1
- package/dist/events-D7kBBdzl.js +0 -1
- package/dist/init-CSfZF3uV.js +0 -1
- package/dist/model-CnuJlONr.js +0 -1
- package/dist/model-EhOuBsho.js.map +0 -1
- package/dist/options-DFSyG3S8.js +0 -1
- package/dist/preflight-DzeTciWY.js +0 -1
- package/dist/provider-CVvAjoNS.js +0 -1
- package/dist/resolve-D8NaRPmt.js +0 -1
- package/dist/ssh-pool-BWXdYQl0.js +0 -1
- package/dist/state-7TAiol30.js +0 -1
- package/dist/vertex-DWCgbhK1.js +0 -2
- package/dist/views-ZX-NomRg.js +0 -2
- package/dist/workspace-DbRCjXfa.js +0 -1
|
@@ -1,31 +1,31 @@
|
|
|
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-CYh8vLTE.js";
|
|
4
|
-
import { $ as plannedSandboxIds, At as resolveOutput, Dt as setupEgress, Et as rootlessPodmanSwitch, H as harnessId, L as checkLimitHarness, S as resolveModelGateway, _ as selectProfile, _t as directOnCloud, a as configPathFor, b as gatewayScope, bt as isDirect, c as findConfig, d as loadConfig, et as plannedSandboxes, f as malformedCredentials, g as runJudgeModel, gt as ciRunner, h as requireConfig, i as configLabel, kt as parseHeartbeat, l as givenConcurrency, m as neededCredentials, o as defaultConcurrency, p as missingCredentials, u as hostCapacity, v as withProfileHistory } from "./config-
|
|
5
|
-
import {
|
|
4
|
+
import { $ as plannedSandboxIds, At as resolveOutput, Dt as setupEgress, Et as rootlessPodmanSwitch, H as harnessId, L as checkLimitHarness, S as resolveModelGateway, _ as selectProfile, _t as directOnCloud, a as configPathFor, b as gatewayScope, bt as isDirect, c as findConfig, d as loadConfig, et as plannedSandboxes, f as malformedCredentials, g as runJudgeModel, gt as ciRunner, h as requireConfig, i as configLabel, kt as parseHeartbeat, l as givenConcurrency, m as neededCredentials, o as defaultConcurrency, p as missingCredentials, u as hostCapacity, v as withProfileHistory, x as modelGatewayOrNone } from "./config-BUHRiR5M.js";
|
|
5
|
+
import { D as wantsCloud } from "./cloud-run-D01Q6bI9.js";
|
|
6
6
|
import { t as RUN_ID } from "./api-DIzSkDXZ.js";
|
|
7
7
|
import { t as budgetMarker } from "./budget-BcxLYY5L.js";
|
|
8
8
|
import { n as loadEnvFiles, t as inCI } from "./env-ARmqWMQ5.js";
|
|
9
|
-
import { D as profileSandbox, F as workspaceLabel, d as environmentSandbox } from "./environment-
|
|
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-
|
|
9
|
+
import { D as profileSandbox, F as workspaceLabel, d as environmentSandbox } from "./environment-ClhvHQzf.js";
|
|
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-DrI9kjVf.js";
|
|
11
11
|
import { r as openRouterFallbacks } from "./openrouter-models-D19R699I.js";
|
|
12
|
-
import { d as vertexSettingsIn } from "./vertex-
|
|
12
|
+
import { d as vertexSettingsIn } from "./vertex-Plo5WUxj.js";
|
|
13
13
|
import { i as runtimeInfo, n as gitInfo, r as runnerInfo, t as author } from "./provenance-BKmmc54i.js";
|
|
14
14
|
import { a as fromCwd, l as relativeFile, o as newRunId, r as cwdIn } from "./ids-cqB_4aeP.js";
|
|
15
|
-
import { d as judgeModelName, g as unusedGatewayKey } from "./judge-
|
|
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-
|
|
17
|
-
import { n as preflight } from "./preflight-
|
|
15
|
+
import { d as judgeModelName, g as unusedGatewayKey } from "./judge-rxVptB7O.js";
|
|
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-Upez3P-w.js";
|
|
17
|
+
import { n as preflight } from "./preflight-D8tP_D1t.js";
|
|
18
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-FUUh2r22.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-
|
|
21
|
+
import { d as sandboxKind, l as sandboxCapacity, n as capabilitiesOf, r as cleanupRun, s as removeOrphans } from "./kinds-DHuWeXVE.js";
|
|
22
22
|
import { c as hostEnv, l as readSecretsFile, s as heldSecrets } from "./secrets-file-BFJSaPHI.js";
|
|
23
23
|
import { r as localStudio } from "./resolve-Cb2dNF75.js";
|
|
24
24
|
import { d as storeCredentials, i as isRemote, u as pullStore } from "./sync-BeiDYfR6.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-DsGOlh5c.js";
|
|
29
29
|
import { O as runOutcome } from "./model-DmPDqMOT.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-DVPgHVjc.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-duvpyGzv.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-du7_5bzq.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-C82cg19k.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-CAKz8dlf.js"), import("./cloud-project-GRKSV6ye.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 !== "gateway" && area !== "push" && area !== "run") throw new UsageError(`Unknown command "${["cloud", area].filter(Boolean).join(" ")}". Did you mean reeval cloud secrets, provider, gateway, 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-9n-MskNb.js"), import("./cloud-project-GRKSV6ye.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-Bh7k0NT3.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-IAkn5QAu.js");
|
|
352
|
+
const { projectDirFor } = await import("./cloud-project-GRKSV6ye.js");
|
|
353
353
|
const io = {
|
|
354
354
|
out: (s) => console.log(s),
|
|
355
355
|
readValue: cloud.readSecretValue,
|
|
@@ -371,7 +371,7 @@ async function run(argv) {
|
|
|
371
371
|
...values,
|
|
372
372
|
offline: true
|
|
373
373
|
} : values);
|
|
374
|
-
const [{ shareCommand }, { projectDirFor }] = await Promise.all([import("./studio-share-
|
|
374
|
+
const [{ shareCommand }, { projectDirFor }] = await Promise.all([import("./studio-share-NQDwAWR_.js"), import("./cloud-project-GRKSV6ye.js")]);
|
|
375
375
|
return shareCommand(config, values, filters.slice(1), {
|
|
376
376
|
out: (s) => console.log(s),
|
|
377
377
|
err: (s) => console.error(yellow(s)),
|
|
@@ -382,7 +382,7 @@ async function run(argv) {
|
|
|
382
382
|
if (command === "studio") {
|
|
383
383
|
const config = await historyConfig(configPath, "studio", values.profile);
|
|
384
384
|
localStudio(config);
|
|
385
|
-
const { studioCommand } = await import("./command-
|
|
385
|
+
const { studioCommand } = await import("./command-BnebWjYe.js");
|
|
386
386
|
return studioCommand({
|
|
387
387
|
config,
|
|
388
388
|
flags: values,
|
|
@@ -393,7 +393,7 @@ async function run(argv) {
|
|
|
393
393
|
if (command === "mcp") {
|
|
394
394
|
if (!values.http) console.log = console.info = console.debug = console.error;
|
|
395
395
|
const config = await historyConfig(configPath, "mcp", values.profile, values);
|
|
396
|
-
const { mcpCommand } = await import("./command-
|
|
396
|
+
const { mcpCommand } = await import("./command-CMP5tLCQ.js");
|
|
397
397
|
return mcpCommand({
|
|
398
398
|
config,
|
|
399
399
|
flags: values,
|
|
@@ -402,7 +402,7 @@ async function run(argv) {
|
|
|
402
402
|
}
|
|
403
403
|
if (command in HISTORY_COMMANDS) {
|
|
404
404
|
const config = await historyConfig(configPath, command, values.profile, values);
|
|
405
|
-
const commands = await import("./commands-
|
|
405
|
+
const commands = await import("./commands-CeC0GQb3.js");
|
|
406
406
|
const ctx = {
|
|
407
407
|
config,
|
|
408
408
|
flags: values,
|
|
@@ -423,7 +423,7 @@ async function run(argv) {
|
|
|
423
423
|
}, filters);
|
|
424
424
|
}
|
|
425
425
|
case "analyze": {
|
|
426
|
-
const { analyzeCommand } = await import("./command-
|
|
426
|
+
const { analyzeCommand } = await import("./command-BvNM0r_3.js");
|
|
427
427
|
return analyzeCommand({
|
|
428
428
|
...ctx,
|
|
429
429
|
err: (s) => console.error(dim(s))
|
|
@@ -434,7 +434,7 @@ async function run(argv) {
|
|
|
434
434
|
if (command === "clean") return cleanCommand(values, configPath);
|
|
435
435
|
if (command === "attach") return attachCommand(values, filters[0], configPath);
|
|
436
436
|
if (command === "bundle") {
|
|
437
|
-
const { bundleCommand } = await import("./bundle-
|
|
437
|
+
const { bundleCommand } = await import("./bundle-Cnq5No9E.js");
|
|
438
438
|
return bundleCommand(values, filters, configPath, argv.slice(1), (s) => console.log(s));
|
|
439
439
|
}
|
|
440
440
|
if (command !== "run") throw new UsageError(`Unknown command "${command}". Run reeval --help.`);
|
|
@@ -460,7 +460,7 @@ async function bundleRun(flags, filters) {
|
|
|
460
460
|
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(", ")}.`);
|
|
461
461
|
const file = flags.bundle;
|
|
462
462
|
const log = (s) => flags.json ? console.error(s) : console.log(s);
|
|
463
|
-
const { bundledGit, checkResumeState, moveResumeState, openBundle } = await import("./bundle-
|
|
463
|
+
const { bundledGit, checkResumeState, moveResumeState, openBundle } = await import("./bundle-Cnq5No9E.js");
|
|
464
464
|
const from = process.cwd();
|
|
465
465
|
const resume = flags.resume;
|
|
466
466
|
if (resume !== void 0) checkResumeState(from, resume);
|
|
@@ -560,13 +560,13 @@ async function cleanCommand(flags, configPath) {
|
|
|
560
560
|
const orphans = await removeOrphans();
|
|
561
561
|
if (orphans) console.log(`Removed ${orphans} sandbox${orphans === 1 ? "" : "es"} that a killed reeval left running`);
|
|
562
562
|
if (flags.bundles) {
|
|
563
|
-
const { removeExtractedBundles } = await import("./bundle-
|
|
563
|
+
const { removeExtractedBundles } = await import("./bundle-Cnq5No9E.js");
|
|
564
564
|
const removed = await removeExtractedBundles();
|
|
565
565
|
console.log(removed.length ? `Removed ${removed.length} extracted bundle${removed.length === 1 ? "" : "s"}: ${removed.join(", ")}` : "No extracted bundles to remove");
|
|
566
566
|
}
|
|
567
567
|
if (flags.images) {
|
|
568
568
|
const { dockerAvailable, pruneImages } = await import("./src-hPuCF6xC.js");
|
|
569
|
-
const { requireDocker } = await import("./providers-
|
|
569
|
+
const { requireDocker } = await import("./providers-B1rFOe9J.js");
|
|
570
570
|
const engines = [];
|
|
571
571
|
for (const engine of ["docker", "podman"]) if (await dockerAvailable(engine)) engines.push(engine);
|
|
572
572
|
const { tartCli } = await import("./tart-cli-B7YKODI8.js");
|
|
@@ -576,7 +576,7 @@ async function cleanCommand(flags, configPath) {
|
|
|
576
576
|
for (const engine of engines) removed += await pruneImages(engine);
|
|
577
577
|
if (engines.length) console.log(removed ? `Removed ${removed} image${removed === 1 ? "" : "s"} reeval built that nothing uses` : "No leftover images to remove");
|
|
578
578
|
if (tart) {
|
|
579
|
-
const { deleteBakedImages } = await import("./tart-bake-
|
|
579
|
+
const { deleteBakedImages } = await import("./tart-bake-Cdk8YaPG.js");
|
|
580
580
|
const baked = await deleteBakedImages();
|
|
581
581
|
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");
|
|
582
582
|
}
|
|
@@ -595,8 +595,8 @@ function verbosityOf(flags) {
|
|
|
595
595
|
* image.
|
|
596
596
|
*/
|
|
597
597
|
async function imageBuildCommand(flags, configPath, filters) {
|
|
598
|
-
const { buildImages, imagePlanLines, imageTargets, plannedImageUses, pullTartImages, tartPlanLines, tartTargets } = await import("./images-
|
|
599
|
-
const { buildVmImages, vmImageTargets, vmPlanLines } = await import("./vm-images-
|
|
598
|
+
const { buildImages, imagePlanLines, imageTargets, plannedImageUses, pullTartImages, tartPlanLines, tartTargets } = await import("./images-DJhOleuR.js");
|
|
599
|
+
const { buildVmImages, vmImageTargets, vmPlanLines } = await import("./vm-images-BKGyBt9y.js");
|
|
600
600
|
const { setup, root, uses } = await imageUses(flags, configPath, filters, plannedImageUses);
|
|
601
601
|
const targets = imageTargets(uses);
|
|
602
602
|
const vms = tartTargets(uses);
|
|
@@ -616,7 +616,7 @@ async function imageBuildCommand(flags, configPath, filters) {
|
|
|
616
616
|
if (snapshots.length) for (const line of await vmPlanLines(snapshots, root)) console.log(line);
|
|
617
617
|
return EXIT.ok;
|
|
618
618
|
}
|
|
619
|
-
const { PrepareError } = await import("./provider-
|
|
619
|
+
const { PrepareError } = await import("./provider-CImogcxo.js");
|
|
620
620
|
const outcomes = [];
|
|
621
621
|
let refused = false;
|
|
622
622
|
const refusal = (id, of, others) => (error) => {
|
|
@@ -690,7 +690,7 @@ async function imageBuildCommand(flags, configPath, filters) {
|
|
|
690
690
|
if (!(error instanceof PrepareError)) throw error;
|
|
691
691
|
if (error.failure.usage) throw new UsageError(error.message);
|
|
692
692
|
if (error.failure.cause === "enospc") invocation.machineState = true;
|
|
693
|
-
const { PreflightInfraError } = await import("./preflight-
|
|
693
|
+
const { PreflightInfraError } = await import("./preflight-DcUhwxb9.js");
|
|
694
694
|
throw new PreflightInfraError(error.message);
|
|
695
695
|
}
|
|
696
696
|
for (const o of outcomes) {
|
|
@@ -713,7 +713,7 @@ async function imageBuildCommand(flags, configPath, filters) {
|
|
|
713
713
|
}
|
|
714
714
|
/** What `reeval image` plans for: the harness and sandbox of each attempt, collected as `--dry-run` does. */
|
|
715
715
|
async function imageUses(flags, configPath, filters, planned) {
|
|
716
|
-
const plannedImageUses = planned ?? (await import("./images-
|
|
716
|
+
const plannedImageUses = planned ?? (await import("./images-DJhOleuR.js")).plannedImageUses;
|
|
717
717
|
const setup = await prepareRun({
|
|
718
718
|
...flags,
|
|
719
719
|
"dry-run": true
|
|
@@ -739,7 +739,7 @@ async function imageUses(flags, configPath, filters, planned) {
|
|
|
739
739
|
* the evals use, with the environments that start from each.
|
|
740
740
|
*/
|
|
741
741
|
async function imageListCommand(flags, configPath, filters) {
|
|
742
|
-
const vm = await import("./vm-images-
|
|
742
|
+
const vm = await import("./vm-images-BKGyBt9y.js");
|
|
743
743
|
const { formatSize } = await import("./tart-images-DOboVDfH.js");
|
|
744
744
|
const { root, uses } = await imageUses(flags, configPath, filters);
|
|
745
745
|
const accounts = vm.vmAccounts(uses);
|
|
@@ -793,7 +793,7 @@ async function imageListCommand(flags, configPath, filters) {
|
|
|
793
793
|
* last hour or one still being saved.
|
|
794
794
|
*/
|
|
795
795
|
async function imageCleanCommand(flags, configPath) {
|
|
796
|
-
const vm = await import("./vm-images-
|
|
796
|
+
const vm = await import("./vm-images-BKGyBt9y.js");
|
|
797
797
|
const { formatSize } = await import("./tart-images-DOboVDfH.js");
|
|
798
798
|
const provider = flags.provider;
|
|
799
799
|
if (provider !== void 0 && provider !== "boat" && provider !== "daytona") throw new UsageError(`--provider is boat or daytona (got "${provider}")`);
|
|
@@ -866,7 +866,7 @@ async function attachCommand(flags, target, configPath) {
|
|
|
866
866
|
root = dirname(requireConfig(configPath));
|
|
867
867
|
source = (await resolveAttach(root, target)).file;
|
|
868
868
|
}
|
|
869
|
-
const cloud = await import("./cloud-run-
|
|
869
|
+
const cloud = await import("./cloud-run-Bh7k0NT3.js");
|
|
870
870
|
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");
|
|
871
871
|
if (flags.download || isAttachUrl(source)) loadEnvFiles(configPath);
|
|
872
872
|
const download = flags.download ? await cloudDownload(source, configPath, flags.profile) : void 0;
|
|
@@ -887,22 +887,22 @@ async function attachCommand(flags, target, configPath) {
|
|
|
887
887
|
}
|
|
888
888
|
});
|
|
889
889
|
} catch (error) {
|
|
890
|
-
const { EventStreamError } = await import("./events-
|
|
890
|
+
const { EventStreamError } = await import("./events-C7tCnwxF.js");
|
|
891
891
|
if (!cloudRun || !(error instanceof EventStreamError)) throw error;
|
|
892
892
|
({code, read} = await cloud.afterLostStream(error, cloudRun.runId, cloudRun.base, cloudRun.auth, log));
|
|
893
893
|
}
|
|
894
894
|
if (cloudRun && !detached) code = await cloud.stoppedOr(code, cloudRun.runId, cloudRun.base, cloudRun.auth, log, read);
|
|
895
895
|
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`));
|
|
896
896
|
else if (download) {
|
|
897
|
-
const { downloadAfter } = await import("./cloud-files-
|
|
897
|
+
const { downloadAfter } = await import("./cloud-files-D_O9fbR-.js");
|
|
898
898
|
for (const line of await downloadAfter(code, download.runId, download.run)) console.log(dim(line));
|
|
899
899
|
}
|
|
900
900
|
return code;
|
|
901
901
|
}
|
|
902
902
|
/** The cloud run whose event stream is `source`, with what reads it; null for any other stream. */
|
|
903
903
|
async function cloudRunAt(source) {
|
|
904
|
-
const cloud = await import("./cloud-run-
|
|
905
|
-
const { cloudRunOf } = await import("./cloud-files-
|
|
904
|
+
const cloud = await import("./cloud-run-Bh7k0NT3.js");
|
|
905
|
+
const { cloudRunOf } = await import("./cloud-files-D_O9fbR-.js");
|
|
906
906
|
const base = cloud.cloudUrl();
|
|
907
907
|
const run = cloudRunOf(source, base);
|
|
908
908
|
return run ? {
|
|
@@ -918,8 +918,8 @@ async function cloudRunAt(source) {
|
|
|
918
918
|
* stream, or with no project.
|
|
919
919
|
*/
|
|
920
920
|
async function cloudDownload(source, configPath, profile) {
|
|
921
|
-
const cloud = await import("./cloud-run-
|
|
922
|
-
const { cloudRunOf, downloadCloudFiles } = await import("./cloud-files-
|
|
921
|
+
const cloud = await import("./cloud-run-Bh7k0NT3.js");
|
|
922
|
+
const { cloudRunOf, downloadCloudFiles } = await import("./cloud-files-D_O9fbR-.js");
|
|
923
923
|
loadEnvFiles(configPath);
|
|
924
924
|
const base = cloud.cloudUrl();
|
|
925
925
|
const run = isAttachUrl(source) ? cloudRunOf(source, base) : null;
|
|
@@ -944,7 +944,7 @@ async function cloudDownload(source, configPath, profile) {
|
|
|
944
944
|
}
|
|
945
945
|
/** `reeval attach`'s viewer on this terminal, drawn with the attach flags. */
|
|
946
946
|
async function attachHere(flags, options) {
|
|
947
|
-
const { attach } = await import("./attach-
|
|
947
|
+
const { attach } = await import("./attach-D8MwHm3x.js");
|
|
948
948
|
return attach({
|
|
949
949
|
...options,
|
|
950
950
|
out: process.stdout,
|
|
@@ -975,15 +975,15 @@ async function attachHere(flags, options) {
|
|
|
975
975
|
* `exit`. Undefined when the run didn't ask to run in the cloud.
|
|
976
976
|
*/
|
|
977
977
|
async function cloudTarget(flags, setup, filters, configPath) {
|
|
978
|
-
const cloud = await import("./cloud-run-
|
|
978
|
+
const cloud = await import("./cloud-run-Bh7k0NT3.js");
|
|
979
979
|
if (!cloud.wantsCloud(flags, setup.config, setup.profile)) {
|
|
980
980
|
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");
|
|
981
981
|
return;
|
|
982
982
|
}
|
|
983
|
-
const { linkedProject, projectDirFor } = await import("./cloud-project-
|
|
983
|
+
const { linkedProject, projectDirFor } = await import("./cloud-project-GRKSV6ye.js");
|
|
984
984
|
const project = await linkedProject(projectDirFor(configPath));
|
|
985
985
|
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`);
|
|
986
|
-
const { makeBundle } = await import("./bundle-
|
|
986
|
+
const { makeBundle } = await import("./bundle-Cnq5No9E.js");
|
|
987
987
|
const picked = setup.profile ? { profile: setup.profile.name } : {};
|
|
988
988
|
const bundle = async (env) => {
|
|
989
989
|
try {
|
|
@@ -1205,7 +1205,7 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1205
1205
|
return EXIT.ok;
|
|
1206
1206
|
}
|
|
1207
1207
|
if (ctx.retry && ctx.previous && retried.size) {
|
|
1208
|
-
const { retryEnvironmentChanges } = await import("./retry-
|
|
1208
|
+
const { retryEnvironmentChanges } = await import("./retry-CnNc6eFZ.js");
|
|
1209
1209
|
const changes = retryEnvironmentChanges(ctx.previous, ctx.stagingDir, retried);
|
|
1210
1210
|
if (changes.length) {
|
|
1211
1211
|
questions?.cancel();
|
|
@@ -1224,8 +1224,8 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1224
1224
|
}
|
|
1225
1225
|
finishing = true;
|
|
1226
1226
|
live?.phase("finishing");
|
|
1227
|
-
const { lockfiles } = await import("./state-
|
|
1228
|
-
const { writeScratchRun } = await import("./results-
|
|
1227
|
+
const { lockfiles } = await import("./state-Cqcd4_5G.js");
|
|
1228
|
+
const { writeScratchRun } = await import("./results-DFfbDGo8.js");
|
|
1229
1229
|
const run = await writeScratchRun({
|
|
1230
1230
|
ctx,
|
|
1231
1231
|
author: ctx.author,
|
|
@@ -1285,7 +1285,7 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1285
1285
|
});
|
|
1286
1286
|
renderer.close();
|
|
1287
1287
|
if (retried.size) {
|
|
1288
|
-
const { retryCounts, retryLine } = await import("./retry-
|
|
1288
|
+
const { retryCounts, retryLine } = await import("./retry-CnNc6eFZ.js");
|
|
1289
1289
|
const line = retryLine(retryCounts(record, retried, ctx.previous));
|
|
1290
1290
|
if (setup.json) console.error(line);
|
|
1291
1291
|
else console.log(line);
|
|
@@ -1296,7 +1296,7 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1296
1296
|
let recordLine;
|
|
1297
1297
|
let recordError;
|
|
1298
1298
|
if (recording) {
|
|
1299
|
-
const { record: recordCmd } = await import("./commands-
|
|
1299
|
+
const { record: recordCmd } = await import("./commands-CeC0GQb3.js");
|
|
1300
1300
|
const allow = record.status === "budget" ? { "allow-incomplete": true } : {};
|
|
1301
1301
|
try {
|
|
1302
1302
|
const level = rerecord ? { artifacts: (await readRecord(recordFile(config.history.dir, record.runId))).artifacts } : {};
|
|
@@ -1346,7 +1346,7 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1346
1346
|
* config: `found` is the config the cloud was picked from and, for a download, its cloud run.
|
|
1347
1347
|
*/
|
|
1348
1348
|
async function cloudContinue(flags, filters, configPath, found) {
|
|
1349
|
-
const cloud = await import("./cloud-run-
|
|
1349
|
+
const cloud = await import("./cloud-run-Bh7k0NT3.js");
|
|
1350
1350
|
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");
|
|
1351
1351
|
const fixed = [...filters.length ? ["filters"] : [], ...[
|
|
1352
1352
|
"runs",
|
|
@@ -1365,7 +1365,7 @@ async function cloudContinue(flags, filters, configPath, found) {
|
|
|
1365
1365
|
let origin = found?.origin ?? null;
|
|
1366
1366
|
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");
|
|
1367
1367
|
if (!origin && configPath !== void 0 && !isAttachUrl(ref)) {
|
|
1368
|
-
const { cloudOriginOf } = await import("./cloud-files-
|
|
1368
|
+
const { cloudOriginOf } = await import("./cloud-files-D_O9fbR-.js");
|
|
1369
1369
|
origin = await cloudOriginOf(dirname(configPath), ref);
|
|
1370
1370
|
}
|
|
1371
1371
|
loadEnvFiles(configPath);
|
|
@@ -1401,7 +1401,7 @@ async function cloudContinue(flags, filters, configPath, found) {
|
|
|
1401
1401
|
async function undoRetry(root, ctx) {
|
|
1402
1402
|
await restoreRetry(root, ctx.runId);
|
|
1403
1403
|
if (ctx.forgotOrigin === void 0) return;
|
|
1404
|
-
const { rememberCloudOrigin } = await import("./cloud-files-
|
|
1404
|
+
const { rememberCloudOrigin } = await import("./cloud-files-D_O9fbR-.js");
|
|
1405
1405
|
await rememberCloudOrigin(root, ctx.runId, ctx.forgotOrigin);
|
|
1406
1406
|
}
|
|
1407
1407
|
/**
|
|
@@ -1410,7 +1410,7 @@ async function undoRetry(root, ctx) {
|
|
|
1410
1410
|
*/
|
|
1411
1411
|
async function cloudContinuation(flags, path, runId, bundled) {
|
|
1412
1412
|
if (flags.local || bundled) return null;
|
|
1413
|
-
const { cloudOriginOf } = await import("./cloud-files-
|
|
1413
|
+
const { cloudOriginOf } = await import("./cloud-files-D_O9fbR-.js");
|
|
1414
1414
|
const origin = await cloudOriginOf(dirname(path), runId, { exact: true });
|
|
1415
1415
|
if (!origin) return null;
|
|
1416
1416
|
const named = flags.profile ?? origin.profile ?? (process.env.REEVAL_PROFILE || void 0);
|
|
@@ -1609,10 +1609,10 @@ const retryVerb = (retry, runId) => retry.resume ? `--resume finishes run ${runI
|
|
|
1609
1609
|
async function startRun({ config, profile, runs, tags, traits, sandboxes, sizeRun, verbosity, configFile, resume, retry, dryRun }, bundled) {
|
|
1610
1610
|
const startedAt = /* @__PURE__ */ new Date();
|
|
1611
1611
|
const git = bundled ? bundled.git : await gitInfo(config.root, [config.history.dir]);
|
|
1612
|
-
const { worktreePatch } = await import("./state-
|
|
1612
|
+
const { worktreePatch } = await import("./state-Cqcd4_5G.js");
|
|
1613
1613
|
const patch = git?.dirty && !bundled ? await worktreePatch(config.root, [config.history.dir]) : null;
|
|
1614
1614
|
const who = bundled?.author ?? await author(config.root);
|
|
1615
|
-
const { stagingDir } = await import("./results-
|
|
1615
|
+
const { stagingDir } = await import("./results-DFfbDGo8.js");
|
|
1616
1616
|
const { scratchDir } = await import("./files-Dc2xVqx1.js");
|
|
1617
1617
|
const scratch = scratchDir(config.root);
|
|
1618
1618
|
if (resume !== void 0 || retry !== void 0) {
|
|
@@ -1622,7 +1622,7 @@ async function startRun({ config, profile, runs, tags, traits, sandboxes, sizeRu
|
|
|
1622
1622
|
}, bundled);
|
|
1623
1623
|
if (!dryRun && retry === void 0) {
|
|
1624
1624
|
await prepareResume(target, config.root);
|
|
1625
|
-
await (await import("./cloud-files-
|
|
1625
|
+
await (await import("./cloud-files-D_O9fbR-.js")).forgetCloudOrigin(config.root, target.runId);
|
|
1626
1626
|
} else if (!dryRun) holdRetry(target, config.root);
|
|
1627
1627
|
const stopped = retry === void 0 ? await stoppedRetry(config.root, target) : null;
|
|
1628
1628
|
if (!dryRun) await sweep(config.root, target.runId);
|
|
@@ -1731,12 +1731,12 @@ function namesDeclaredSecret(evals) {
|
|
|
1731
1731
|
*/
|
|
1732
1732
|
async function planEfforts(planned) {
|
|
1733
1733
|
const live = planned.filter((p) => !p.attempt.plan.skip);
|
|
1734
|
-
const { effortNotes, withDefaultEffort } = await import("./default-effort-
|
|
1734
|
+
const { effortNotes, withDefaultEffort } = await import("./default-effort-MTALS2Gg.js");
|
|
1735
1735
|
let cursor;
|
|
1736
1736
|
let unchecked = "CURSOR_API_KEY isn't set";
|
|
1737
1737
|
const key = hostEnv().CURSOR_API_KEY;
|
|
1738
1738
|
if (key && !isPlaceholder(key) && live.some((p) => p.attempt.harness.kind === "cursor")) {
|
|
1739
|
-
const { checkCursorPlan } = await import("./cursor-catalog-
|
|
1739
|
+
const { checkCursorPlan } = await import("./cursor-catalog-jVblPRFf.js");
|
|
1740
1740
|
const checked = await checkCursorPlan(key, live);
|
|
1741
1741
|
if (checked instanceof Error) unchecked = `its request failed: ${checked.message}`;
|
|
1742
1742
|
else {
|
|
@@ -1775,7 +1775,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1775
1775
|
...setup.dryRun && setup.json ? { inputs: true } : {}
|
|
1776
1776
|
}));
|
|
1777
1777
|
const { runEngine } = await import("./node-ChfH6UTx.js");
|
|
1778
|
-
const { buildPlan, checkAttemptBudget, planDocument, planInputs, planLine, planTable, runHeader } = await import("./plan-
|
|
1778
|
+
const { buildPlan, checkAttemptBudget, planDocument, planInputs, planLine, planTable, runHeader } = await import("./plan-XPBl8wPX.js");
|
|
1779
1779
|
let plan;
|
|
1780
1780
|
let sandboxVersions = { images: [] };
|
|
1781
1781
|
let preflightStop;
|
|
@@ -1820,8 +1820,8 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1820
1820
|
if (ctx.retry && ctx.previous) {
|
|
1821
1821
|
const ranOn = ctx.previous.stack?.reeval;
|
|
1822
1822
|
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.`);
|
|
1823
|
-
const { retryChanges } = await import("./retry-
|
|
1824
|
-
const { judgePart } = await import("./assemble-
|
|
1823
|
+
const { retryChanges } = await import("./retry-CnNc6eFZ.js");
|
|
1824
|
+
const { judgePart } = await import("./assemble-B5nrfSs9.js");
|
|
1825
1825
|
const { engineVersions } = await import("./node-ChfH6UTx.js");
|
|
1826
1826
|
const judged = judgePart(config, profile, version, engineVersions);
|
|
1827
1827
|
const runs = new Set(planned.map((p) => p.key).filter((key) => !completed.has(key)));
|
|
@@ -1829,7 +1829,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1829
1829
|
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.`);
|
|
1830
1830
|
if (ctx.retryTarget && !setup.dryRun) {
|
|
1831
1831
|
await prepareResume(ctx.retryTarget, config.root, { held: true });
|
|
1832
|
-
const { forgetCloudOrigin } = await import("./cloud-files-
|
|
1832
|
+
const { forgetCloudOrigin } = await import("./cloud-files-D_O9fbR-.js");
|
|
1833
1833
|
const forgot = await forgetCloudOrigin(config.root, runId);
|
|
1834
1834
|
if (forgot !== null) ctx.forgotOrigin = forgot;
|
|
1835
1835
|
const aside = await loadPrevious(stagingDir);
|
|
@@ -1838,7 +1838,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1838
1838
|
}
|
|
1839
1839
|
}
|
|
1840
1840
|
retried = continuing && !setup.dryRun ? noteRetries(planned, stagingDir, ctx.previous, true).errored : errored;
|
|
1841
|
-
const models = skipped.some((p) => !p.attempt.plan.skip && p.attempt.plan.questions?.length) ? await import("./model-
|
|
1841
|
+
const models = skipped.some((p) => !p.attempt.plan.skip && p.attempt.plan.questions?.length) ? await import("./model-DHHW4Eva.js") : void 0;
|
|
1842
1842
|
const judge = runJudgeModel(config, profile);
|
|
1843
1843
|
const judgeModel = judge === void 0 ? null : judgeModelName(judge);
|
|
1844
1844
|
plan = await buildPlan({
|
|
@@ -1858,7 +1858,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1858
1858
|
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))] : [];
|
|
1859
1859
|
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`);
|
|
1860
1860
|
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))] : [];
|
|
1861
|
-
const { podmanRootless } = await import("./providers-
|
|
1861
|
+
const { podmanRootless } = await import("./providers-B1rFOe9J.js");
|
|
1862
1862
|
if (switching.length && await podmanRootless()) plan.warnings.push(rootlessPodmanSwitch(switching));
|
|
1863
1863
|
plan.warnings.push(...started.notes);
|
|
1864
1864
|
if (started.narrowed) {
|
|
@@ -1874,7 +1874,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1874
1874
|
run.completed = [...completed];
|
|
1875
1875
|
const done = leftOut.filter((l) => l.done).map((l) => l.key);
|
|
1876
1876
|
kept = keptAttempts([...completed, ...done], stagingDir, ctx.previous);
|
|
1877
|
-
const { imageStages, imageTargets } = await import("./images-
|
|
1877
|
+
const { imageStages, imageTargets } = await import("./images-DJhOleuR.js");
|
|
1878
1878
|
const targets = imageTargets(skipped.filter((p) => !p.attempt.plan.skip).map((p) => ({
|
|
1879
1879
|
id: p.attempt.family?.id ?? p.id,
|
|
1880
1880
|
harness: p.attempt.harness,
|
|
@@ -1888,7 +1888,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1888
1888
|
evals: t.evals,
|
|
1889
1889
|
stages: await imageStages(t, config.root)
|
|
1890
1890
|
})));
|
|
1891
|
-
const { lockfiles } = await import("./state-
|
|
1891
|
+
const { lockfiles } = await import("./state-Cqcd4_5G.js");
|
|
1892
1892
|
const locks = (await lockfiles(config.root)).map(({ path }) => ({
|
|
1893
1893
|
path: join(config.root, path),
|
|
1894
1894
|
kind: "lockfile"
|
|
@@ -1896,19 +1896,31 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1896
1896
|
const inputs = planInputs(config.root, [...setup.configInputs, ...locks], skipped);
|
|
1897
1897
|
const running = skipped.filter((p) => !p.attempt.plan.skip);
|
|
1898
1898
|
const secrets = new Set(running.flatMap((p) => p.attempt.secretVars));
|
|
1899
|
+
const asking = plan.rows.flatMap((row) => row.plan.skip || !models ? [] : (row.plan.questions ?? []).flatMap((q) => {
|
|
1900
|
+
const model = q.model ?? models.fallbackModel(config, judge);
|
|
1901
|
+
return typeof model === "string" ? [{
|
|
1902
|
+
id: row.id,
|
|
1903
|
+
model
|
|
1904
|
+
}] : [];
|
|
1905
|
+
}));
|
|
1899
1906
|
const needed = neededCredentials(config, {
|
|
1900
1907
|
harnesses: plan.harnessDescriptors,
|
|
1901
1908
|
sandboxes: plan.sandboxes,
|
|
1902
1909
|
profile,
|
|
1910
|
+
questionModels: [...new Set(asking.map((a) => a.model))],
|
|
1903
1911
|
judges: running.flatMap((p) => p.attempt.judge ? [p.attempt.judge] : [])
|
|
1904
1912
|
});
|
|
1905
|
-
|
|
1913
|
+
const { notCloud, secretChoice } = await import("./cloud-run-Bh7k0NT3.js");
|
|
1914
|
+
for (const { names, cloudSets } of needed) if (!cloudSets && !secretChoice(names)) for (const name of names) secrets.add(name);
|
|
1915
|
+
const secretChoices = needed.filter((c) => !c.cloudSets && secretChoice(c.names)).map((c) => c.names).filter((names) => !names.some((name) => secrets.has(name)));
|
|
1916
|
+
for (const names of secretChoices) for (const name of names) secrets.add(name);
|
|
1906
1917
|
const cloudSets = new Set(needed.flatMap((c) => c.cloudSets ? c.names : []).filter((name) => !secrets.has(name)));
|
|
1907
1918
|
for (const name of cloudSets) secrets.add(name);
|
|
1908
|
-
const
|
|
1909
|
-
const blocked = notCloud(skipped);
|
|
1919
|
+
const scope = gatewayScope(config, profile);
|
|
1920
|
+
const blocked = notCloud(skipped, new Set(asking.filter((a) => modelGatewayOrNone(a.model, void 0, scope) === "vertex").map((a) => a.id)));
|
|
1910
1921
|
const doc = {
|
|
1911
1922
|
...planDocument(plan, skipped, excluded, images, inputs, [...secrets].sort()),
|
|
1923
|
+
...secretChoices.length ? { secretChoices } : {},
|
|
1912
1924
|
...cloudSets.size ? { cloudSets: [...cloudSets].sort() } : {},
|
|
1913
1925
|
...blocked.length ? { notCloud: blocked } : {},
|
|
1914
1926
|
...started.target ? { target: started.target } : {}
|
|
@@ -1922,7 +1934,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1922
1934
|
if (setup.dryRun) {
|
|
1923
1935
|
const todos = excluded.filter((e) => e.mode === "todo").map((e) => e.id);
|
|
1924
1936
|
lines.push(...planTable(plan, todos));
|
|
1925
|
-
const { imageStatusLines } = await import("./images-
|
|
1937
|
+
const { imageStatusLines } = await import("./images-DJhOleuR.js");
|
|
1926
1938
|
const { dockerAvailable, engineSpec } = await import("./src-hPuCF6xC.js");
|
|
1927
1939
|
const engines = [...new Set(targets.map((t) => t.sandbox.engine ?? "docker"))];
|
|
1928
1940
|
const down = [];
|
|
@@ -2018,7 +2030,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
2018
2030
|
});
|
|
2019
2031
|
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.`);
|
|
2020
2032
|
if (asked.length) {
|
|
2021
|
-
const { questionRunner } = await import("./questions-
|
|
2033
|
+
const { questionRunner } = await import("./questions-B9CvSlT6.js");
|
|
2022
2034
|
const warned = /* @__PURE__ */ new Set();
|
|
2023
2035
|
questions = questionRunner({
|
|
2024
2036
|
evals: asked,
|
|
@@ -2060,7 +2072,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
2060
2072
|
}
|
|
2061
2073
|
});
|
|
2062
2074
|
}
|
|
2063
|
-
const { prepareWorkspaces, sameTreeArms, workspaceKey } = await import("./workspace-
|
|
2075
|
+
const { prepareWorkspaces, sameTreeArms, workspaceKey } = await import("./workspace-Dtfq6vqG.js");
|
|
2064
2076
|
const live = skipped.filter((p) => !p.attempt.plan.skip);
|
|
2065
2077
|
const outcomes = await prepareWorkspaces(live.flatMap(({ attempt: a }) => a.workspace ? [{
|
|
2066
2078
|
workspace: a.workspace,
|
|
@@ -2156,7 +2168,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
2156
2168
|
};
|
|
2157
2169
|
let engineRun;
|
|
2158
2170
|
let cutShort = false;
|
|
2159
|
-
const { MACHINES, MachineService } = await import("./machine-service-
|
|
2171
|
+
const { MACHINES, MachineService } = await import("./machine-service-SvzL_fG2.js");
|
|
2160
2172
|
const machines = new MachineService();
|
|
2161
2173
|
const { TRACE } = await import("./spans-B4MwgEyy.js");
|
|
2162
2174
|
const { RunTrace } = await import("./run-DwLQh41-.js");
|
|
@@ -2311,9 +2323,9 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
2311
2323
|
started: runStarted
|
|
2312
2324
|
});
|
|
2313
2325
|
if (telemetry) exported = telemetry.close();
|
|
2314
|
-
const { removePrepared } = await import("./preflight-
|
|
2326
|
+
const { removePrepared } = await import("./preflight-XTBtCUST.js");
|
|
2315
2327
|
removePrepared(config.root, runId);
|
|
2316
|
-
const { removePreparedWorkspaces } = await import("./workspace-
|
|
2328
|
+
const { removePreparedWorkspaces } = await import("./workspace-Dtfq6vqG.js");
|
|
2317
2329
|
removePreparedWorkspaces(config.root, runId);
|
|
2318
2330
|
}
|
|
2319
2331
|
if (preflightStop) throw preflightStop;
|
|
@@ -2402,4 +2414,4 @@ run(process.argv.slice(2)).finally(() => {
|
|
|
2402
2414
|
});
|
|
2403
2415
|
export {};
|
|
2404
2416
|
|
|
2405
|
-
//# sourceMappingURL=cli-
|
|
2417
|
+
//# sourceMappingURL=cli-BscLXP46.js.map
|