reeval 0.25.0 → 0.26.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 +24 -0
- package/README.md +15 -15
- package/dist/{adapter-vLxVtLdk.js → adapter-BHMbIeH9.js} +2 -2
- package/dist/{adapter-vLxVtLdk.js.map → adapter-BHMbIeH9.js.map} +1 -1
- package/dist/{agent-DN36i629.js → agent-D67VCd6Q.js} +5 -5
- package/dist/{agent-DN36i629.js.map → agent-D67VCd6Q.js.map} +1 -1
- package/dist/{agents-Bp40Y7Lk.js → agents-Dnv1MmgY.js} +16 -16
- package/dist/{agents-Bp40Y7Lk.js.map → agents-Dnv1MmgY.js.map} +1 -1
- package/dist/assemble-BlA7FWRn.js +1 -0
- package/dist/{assemble-DsllweEG.js → assemble-CuvlsOaE.js} +9 -9
- package/dist/{assemble-DsllweEG.js.map → assemble-CuvlsOaE.js.map} +1 -1
- package/dist/{attach-DFf2hFl7.js → attach-6av4DmO3.js} +23 -5
- package/dist/attach-6av4DmO3.js.map +1 -0
- package/dist/{attempt-CfwXgF2q.js → attempt-D5WH0yFa.js} +2 -2
- package/dist/{attempt-CfwXgF2q.js.map → attempt-D5WH0yFa.js.map} +1 -1
- package/dist/{attempt-host-XyyFR6jc.js → attempt-host-Be_-uDKJ.js} +5 -5
- package/dist/{attempt-host-XyyFR6jc.js.map → attempt-host-Be_-uDKJ.js.map} +1 -1
- package/dist/{boat-DRTQHXlj.js → boat-CwBW2sbp.js} +1 -1
- package/dist/{boat-CNUnhvWH.js → boat-CygRcaM0.js} +6 -6
- package/dist/{boat-CNUnhvWH.js.map → boat-CygRcaM0.js.map} +1 -1
- package/dist/{boat-images-B0MsRBFx.js → boat-images-asGLQXD5.js} +6 -6
- package/dist/{boat-images-B0MsRBFx.js.map → boat-images-asGLQXD5.js.map} +1 -1
- package/dist/{bundle-B1v8DEEX.js → bundle-B7P-Awnm.js} +95 -12
- package/dist/bundle-B7P-Awnm.js.map +1 -0
- package/dist/{capture-BAtaw-L-.js → capture-BwLa-4s-.js} +10 -10
- package/dist/{capture-BAtaw-L-.js.map → capture-BwLa-4s-.js.map} +1 -1
- package/dist/capture-CG-J-1-j.js +1 -0
- package/dist/{cli-BFfZy9Ax.js → cli-BoCPYLUQ.js} +191 -108
- package/dist/cli-BoCPYLUQ.js.map +1 -0
- package/dist/{cli-spec-Bj2z-4Pa.js → cli-spec-DgEWHOt3.js} +26 -13
- package/dist/cli-spec-DgEWHOt3.js.map +1 -0
- package/dist/cli.js +2 -2
- package/dist/{cloud-files-BjoNhDJs.js → cloud-files-CBovrfZA.js} +5 -5
- package/dist/{cloud-files-BjoNhDJs.js.map → cloud-files-CBovrfZA.js.map} +1 -1
- package/dist/{cloud-DgMSxpCk.js → cloud-igGIS4Bm.js} +4 -4
- package/dist/{cloud-DgMSxpCk.js.map → cloud-igGIS4Bm.js.map} +1 -1
- package/dist/{cloud-project-Dh17iadw.js → cloud-project-Ch7jjlwh.js} +2 -2
- package/dist/{cloud-project-Dh17iadw.js.map → cloud-project-Ch7jjlwh.js.map} +1 -1
- package/dist/{cloud-project-B1lN8D9m.js → cloud-project-DdUVB4EE.js} +1 -1
- package/dist/{cloud-push-CdYqsM34.js → cloud-push-DvnqOgRd.js} +8 -8
- package/dist/{cloud-push-CdYqsM34.js.map → cloud-push-DvnqOgRd.js.map} +1 -1
- package/dist/{cloud-push-GXvEYHoa.js → cloud-push-MXKreNyq.js} +1 -1
- package/dist/{cloud-run-CZOpabN1.js → cloud-run-CbGF8Lwt.js} +258 -38
- package/dist/cloud-run-CbGF8Lwt.js.map +1 -0
- package/dist/cloud-run-CghE2dG6.js +1 -0
- package/dist/{cloud-secrets-DrrgGOF_.js → cloud-secrets-BWoV4ddM.js} +4 -4
- package/dist/{cloud-secrets-DrrgGOF_.js.map → cloud-secrets-BWoV4ddM.js.map} +1 -1
- package/dist/{cloud-secrets-BskXM_2n.js → cloud-secrets-DlPRfS2l.js} +1 -1
- package/dist/{command-DMwSLfJT.js → command-Bps8kBML.js} +5 -5
- package/dist/{command-DMwSLfJT.js.map → command-Bps8kBML.js.map} +1 -1
- package/dist/{command-DP8sQ-dk.js → command-ByUmSm2D.js} +13 -13
- package/dist/{command-DP8sQ-dk.js.map → command-ByUmSm2D.js.map} +1 -1
- package/dist/{command-C7m3ZoXS.js → command-CQk7FCI1.js} +13 -13
- package/dist/{command-C7m3ZoXS.js.map → command-CQk7FCI1.js.map} +1 -1
- package/dist/{command-DHrT6YVl.js → command-CxuGky7A.js} +44 -20
- package/dist/command-CxuGky7A.js.map +1 -0
- package/dist/{command-Bic6f84Y.js → command-pxfK2bkV.js} +10 -10
- package/dist/{command-Bic6f84Y.js.map → command-pxfK2bkV.js.map} +1 -1
- package/dist/{commands-D8D7ZJ0I.js → commands-Cl3Y_UXg.js} +1 -1
- package/dist/{commands-BPLexk6R.js → commands-DGWNNyRD.js} +10 -10
- package/dist/{commands-BPLexk6R.js.map → commands-DGWNNyRD.js.map} +1 -1
- package/dist/{config-DQqcGmz7.js → config-mU7wFvQq.js} +11 -11
- package/dist/{config-DQqcGmz7.js.map → config-mU7wFvQq.js.map} +1 -1
- package/dist/{cursor-catalog-DQCmwsX3.js → cursor-catalog-EOFft6LJ.js} +2 -2
- package/dist/{cursor-catalog-DQCmwsX3.js.map → cursor-catalog-EOFft6LJ.js.map} +1 -1
- package/dist/{daytona-DOeJzXl_.js → daytona-DtCjv8rH.js} +10 -10
- package/dist/{daytona-DOeJzXl_.js.map → daytona-DtCjv8rH.js.map} +1 -1
- package/dist/daytona-image-Xy5o53Ji.js +1 -0
- package/dist/{daytona-image-B9JpVeP5.js → daytona-image-w4uTRZ0z.js} +5 -5
- package/dist/{daytona-image-B9JpVeP5.js.map → daytona-image-w4uTRZ0z.js.map} +1 -1
- package/dist/db-BcplCdzu.js +1 -0
- package/dist/{db-DU3fgU0h.js → db-yigMuHM2.js} +2 -2
- package/dist/{db-DU3fgU0h.js.map → db-yigMuHM2.js.map} +1 -1
- package/dist/{default-effort-C6Gcd-Fy.js → default-effort-B1b8t81b.js} +1 -1
- package/dist/{default-effort-BFl6WLBi.js → default-effort-BDYXBzu5.js} +2 -2
- package/dist/{default-effort-BFl6WLBi.js.map → default-effort-BDYXBzu5.js.map} +1 -1
- package/dist/{docker-hIo_H0W0.js → docker-DcnX2WpM.js} +4 -4
- package/dist/{docker-hIo_H0W0.js.map → docker-DcnX2WpM.js.map} +1 -1
- package/dist/{docker-B5YBmpPz.js → docker-XCyDUd7_.js} +1 -1
- package/dist/{doctor-DGWbvYtu.js → doctor-DTKa8rrq.js} +21 -21
- package/dist/{doctor-DGWbvYtu.js.map → doctor-DTKa8rrq.js.map} +1 -1
- package/dist/{environment-WC8PrLoe.js → environment-BCBg6c0p.js} +30 -7
- package/dist/environment-BCBg6c0p.js.map +1 -0
- package/dist/{eval-source-DL1HOi8U.js → eval-source-CSPyKuV6.js} +5 -5
- package/dist/{eval-source-DL1HOi8U.js.map → eval-source-CSPyKuV6.js.map} +1 -1
- package/dist/{evaluate-DHnD8yzq.js → evaluate-wgW1lGQj.js} +38 -29
- package/dist/evaluate-wgW1lGQj.js.map +1 -0
- package/dist/{events-oe84EOLK.js → events-DG_Cq5Pn.js} +6 -4
- package/dist/events-DG_Cq5Pn.js.map +1 -0
- package/dist/events-RaK1pDmT.js +1 -0
- package/dist/{fake-bootstrap-Ct1qEs-Z.js → fake-bootstrap-uCyHhnMO.js} +2 -2
- package/dist/{fake-bootstrap-Ct1qEs-Z.js.map → fake-bootstrap-uCyHhnMO.js.map} +1 -1
- package/dist/{files-63CNzRBF.js → files-BnsRehge.js} +1 -1
- package/dist/{files-4Qt4KUyR.js → files-CcnSILye.js} +2 -2
- package/dist/{files-4Qt4KUyR.js.map → files-CcnSILye.js.map} +1 -1
- package/dist/{files-CzgXLYGq.js → files-CjPm3yyj.js} +3 -3
- package/dist/{files-CzgXLYGq.js.map → files-CjPm3yyj.js.map} +1 -1
- package/dist/files-CkmCV5rH.js +1 -0
- package/dist/{files-DW8y3WCx.js → files-CqfVnRXw.js} +2 -2
- package/dist/{files-DW8y3WCx.js.map → files-CqfVnRXw.js.map} +1 -1
- package/dist/files-D4Hb9HZS.js +1 -0
- package/dist/{files-4XWe_gow.js → files-GAocj_Z1.js} +4 -4
- package/dist/{files-4XWe_gow.js.map → files-GAocj_Z1.js.map} +1 -1
- package/dist/{git-CiCya2yZ.js → git-CRPr6I2T.js} +3 -3
- package/dist/{git-CiCya2yZ.js.map → git-CRPr6I2T.js.map} +1 -1
- package/dist/{harness-install-BSet5fE5.js → harness-install-B0Y2GjnO.js} +4 -4
- package/dist/{harness-install-BSet5fE5.js.map → harness-install-B0Y2GjnO.js.map} +1 -1
- package/dist/{images-BkJn7NHU.js → images-JspTw1vt.js} +13 -13
- package/dist/{images-BkJn7NHU.js.map → images-JspTw1vt.js.map} +1 -1
- package/dist/index.js +4 -4
- package/dist/init-BHIWfE2L.js +1 -0
- package/dist/{init-CAJvEKEt.js → init-wmMbauok.js} +5 -5
- package/dist/{init-CAJvEKEt.js.map → init-wmMbauok.js.map} +1 -1
- package/dist/{ink-list-BJIKlKpN.js → ink-list-B5Gul5iZ.js} +6 -5
- package/dist/ink-list-B5Gul5iZ.js.map +1 -0
- package/dist/{inputs-CjhDEzr4.js → inputs-BWTtz1-v.js} +5 -5
- package/dist/{inputs-CjhDEzr4.js.map → inputs-BWTtz1-v.js.map} +1 -1
- package/dist/{invocations-DUFiIb_S.js → invocations-CSA9OKFn.js} +3 -3
- package/dist/{invocations-DUFiIb_S.js.map → invocations-CSA9OKFn.js.map} +1 -1
- package/dist/issue-ipG9Yy1h.js +1 -0
- package/dist/{issue-BKMnnit3.js → issue-lKqtL3iX.js} +2 -2
- package/dist/{issue-BKMnnit3.js.map → issue-lKqtL3iX.js.map} +1 -1
- package/dist/{judge-_fsdF4YB.js → judge-etHC4K02.js} +4 -4
- package/dist/{judge-_fsdF4YB.js.map → judge-etHC4K02.js.map} +1 -1
- package/dist/judge.js +1 -1
- package/dist/{kinds-5utDFJ15.js → kinds-BQX5ZxpK.js} +10 -8
- package/dist/{kinds-5utDFJ15.js.map → kinds-BQX5ZxpK.js.map} +1 -1
- package/dist/{link-Dat_O7Gn.js → link-Cqs2DhxR.js} +10 -11
- package/dist/link-Cqs2DhxR.js.map +1 -0
- package/dist/{live-BElpkw5b.js → live-DTpM9b4D.js} +3 -3
- package/dist/{live-BElpkw5b.js.map → live-DTpM9b4D.js.map} +1 -1
- package/dist/{machine-service-DYdTM_rW.js → machine-service-BetvBWHz.js} +3 -3
- package/dist/{machine-service-DYdTM_rW.js.map → machine-service-BetvBWHz.js.map} +1 -1
- package/dist/{machine-service-Cymfk7E-.js → machine-service-XFymGCHj.js} +1 -1
- package/dist/{machines-B6rS9-Xu.js → machines-CkDTbMZ6.js} +23 -23
- package/dist/{machines-B6rS9-Xu.js.map → machines-CkDTbMZ6.js.map} +1 -1
- package/dist/{model-BdLvfSQO.js → model-BYHXnYLe.js} +1 -1
- package/dist/{model-CIMBjBS7.js → model-DNC53cPL.js} +3 -3
- package/dist/{model-CIMBjBS7.js.map → model-DNC53cPL.js.map} +1 -1
- package/dist/{model-oBFmfzES.js → model-F4UH_YG6.js} +3 -3
- package/dist/{model-oBFmfzES.js.map → model-F4UH_YG6.js.map} +1 -1
- package/dist/{node-DyRPGAT5.js → node-gPT36n_n.js} +2 -2
- package/dist/{node-DyRPGAT5.js.map → node-gPT36n_n.js.map} +1 -1
- package/dist/options-CAZfxE0h.js +1 -0
- package/dist/otlp-BxPnO99e.js +1 -0
- package/dist/otlp-DbNz-occ.js +25 -0
- package/dist/otlp-DbNz-occ.js.map +1 -0
- package/dist/{patch-BgSw3TXR.js → patch-Dxzv8msl.js} +2 -2
- package/dist/{patch-BgSw3TXR.js.map → patch-Dxzv8msl.js.map} +1 -1
- package/dist/{plan-x-_vZMQH.js → plan-DSJX7Oyq.js} +7 -7
- package/dist/{plan-x-_vZMQH.js.map → plan-DSJX7Oyq.js.map} +1 -1
- package/dist/{plugins-0DuNw_c5.js → plugins-DVEOMsYw.js} +4 -4
- package/dist/{plugins-0DuNw_c5.js.map → plugins-DVEOMsYw.js.map} +1 -1
- package/dist/{preflight-Cce8YEPE.js → preflight-B3oLZttl.js} +3 -3
- package/dist/{preflight-Cce8YEPE.js.map → preflight-B3oLZttl.js.map} +1 -1
- package/dist/preflight-CLYRuQ3r.js +1 -0
- package/dist/{preflight-0Wt3wufx.js → preflight-DXMD6jou.js} +1 -1
- package/dist/{preflight-CUc-Y1d3.js → preflight-dUe0QiPK.js} +8 -8
- package/dist/{preflight-CUc-Y1d3.js.map → preflight-dUe0QiPK.js.map} +1 -1
- package/dist/{prepare-FXc1YcxO.js → prepare-BTaX7vcC.js} +7 -7
- package/dist/{prepare-FXc1YcxO.js.map → prepare-BTaX7vcC.js.map} +1 -1
- package/dist/{prepare-Bj8KzeBU.js → prepare-QdiYPOwR.js} +2 -2
- package/dist/{process-B86Nvm4J.js → process-C_nh1H7X.js} +8 -2
- package/dist/process-C_nh1H7X.js.map +1 -0
- package/dist/{provenance-DDZGWE4O.js → provenance-Di42xQIS.js} +3 -3
- package/dist/{provenance-DDZGWE4O.js.map → provenance-Di42xQIS.js.map} +1 -1
- package/dist/{providers-BPujoqQM.js → providers-Bm5NLaRh.js} +1 -1
- package/dist/{providers-Cqb25Aq1.js → providers-CTTfYbm0.js} +25 -25
- package/dist/{providers-Cqb25Aq1.js.map → providers-CTTfYbm0.js.map} +1 -1
- package/dist/query-CTMdWXbx.js +1 -0
- package/dist/{query-C_lwW-ok.js → query-TzNtTvwf.js} +2 -2
- package/dist/{query-C_lwW-ok.js.map → query-TzNtTvwf.js.map} +1 -1
- package/dist/{questions-DRPM7pky.js → questions-BqisU7A0.js} +6 -6
- package/dist/{questions-DRPM7pky.js.map → questions-BqisU7A0.js.map} +1 -1
- package/dist/{recipe-CV_EifJk.js → recipe-DzjXne35.js} +3 -3
- package/dist/{recipe-CV_EifJk.js.map → recipe-DzjXne35.js.map} +1 -1
- package/dist/{redact-DMueYS-v.js → redact-CfTHYWLv.js} +30 -1
- package/dist/redact-CfTHYWLv.js.map +1 -0
- package/dist/{remarks-Bded6YeV.js → remarks-CYXYiB_O.js} +5 -5
- package/dist/{remarks-Bded6YeV.js.map → remarks-CYXYiB_O.js.map} +1 -1
- package/dist/{remote-DMuAUedR.js → remote-D4UEa7Rs.js} +5 -5
- package/dist/{remote-DMuAUedR.js.map → remote-D4UEa7Rs.js.map} +1 -1
- package/dist/{report-inputs-JhiwKAZH.js → report-inputs-5XwZBIRK.js} +2 -2
- package/dist/{report-inputs-JhiwKAZH.js.map → report-inputs-5XwZBIRK.js.map} +1 -1
- package/dist/resolve-C7A5Q2Jj.js +1 -0
- package/dist/{resolve-usf6ejs_.js → resolve-nRzGt4Ff.js} +14 -9
- package/dist/resolve-nRzGt4Ff.js.map +1 -0
- package/dist/{results-rYLTGa1F.js → results-DXBaxfIM.js} +4 -4
- package/dist/{results-rYLTGa1F.js.map → results-DXBaxfIM.js.map} +1 -1
- package/dist/{resume-aGIZhM58.js → resume-DZPjjToJ.js} +43 -18
- package/dist/resume-DZPjjToJ.js.map +1 -0
- package/dist/{retry-BNFAHTES.js → retry-rLdXCinf.js} +3 -3
- package/dist/{retry-BNFAHTES.js.map → retry-rLdXCinf.js.map} +1 -1
- package/dist/{run-DSKRllpd.js → run-D_o_8Fkv.js} +14 -13
- package/dist/run-D_o_8Fkv.js.map +1 -0
- package/dist/{runtime-B2zv9GPL.js → runtime-DsRjnydE.js} +3 -3
- package/dist/{runtime-B2zv9GPL.js.map → runtime-DsRjnydE.js.map} +1 -1
- package/dist/sandbox/boat.js +1 -1
- package/dist/sandbox/daytona.js +1 -1
- package/dist/{sandbox-DbTHBA7g.js → sandbox-B8gDRs5E.js} +2 -2
- package/dist/{sandbox-DbTHBA7g.js.map → sandbox-B8gDRs5E.js.map} +1 -1
- package/dist/sandbox.js +1 -1
- package/dist/{secrets-file-BEScYC3S.js → secrets-file-B8rUJV2L.js} +3 -3
- package/dist/{secrets-file-BEScYC3S.js.map → secrets-file-B8rUJV2L.js.map} +1 -1
- package/dist/server-eUWbjZoi.js +1 -0
- package/dist/{server-Dc-V_-C1.js → server-mJzPXBMM.js} +3 -3
- package/dist/{server-Dc-V_-C1.js.map → server-mJzPXBMM.js.map} +1 -1
- package/dist/source-C6JgdJdJ.js +1 -0
- package/dist/{source-BodZTD70.js → source-DxgCge_u.js} +2 -2
- package/dist/{source-BodZTD70.js.map → source-DxgCge_u.js.map} +1 -1
- package/dist/spans-B4MwgEyy.js +1 -0
- package/dist/{spans-WvAmJF2z.js → spans-tf3biLpT.js} +2 -2
- package/dist/{spans-WvAmJF2z.js.map → spans-tf3biLpT.js.map} +1 -1
- package/dist/{src-DXZXofCJ.js → src-B2psni1B.js} +1 -1
- package/dist/{src-BbaLTc-p.js → src-BI35cTig.js} +1 -1
- package/dist/{src-BjiNaGf5.js → src-BLePHsjw.js} +1 -1
- package/dist/{src-D5i8gCa3.js → src-CftydE9Q.js} +1 -1
- package/dist/{src-AAdLbAn2.js → src-CnOj4_n4.js} +1 -1
- package/dist/src-Cs3nmbrr.js +2 -0
- package/dist/{src-CfPSD_GS.js → src-D0GezGkJ.js} +1 -1
- package/dist/{src-BzeiF5Lh.js → src-D1Q6ElaF.js} +46 -23
- package/dist/src-D1Q6ElaF.js.map +1 -0
- package/dist/{src-BkkdN2w0.js → src-D_9qqp-Y.js} +1 -1
- package/dist/{src-DiBd7r1i.js → src-Dpzfe-vl.js} +1 -1
- package/dist/{src-DDIV_RfE.js → src-nIPDQ297.js} +2 -2
- package/dist/{src-DDIV_RfE.js.map → src-nIPDQ297.js.map} +1 -1
- package/dist/ssh-pool-B9bnSQIj.js +1 -0
- package/dist/{ssh-pool-B2c2vxzx.js → ssh-pool-Gv8gAsgZ.js} +9 -9
- package/dist/{ssh-pool-B2c2vxzx.js.map → ssh-pool-Gv8gAsgZ.js.map} +1 -1
- package/dist/{start-DyXCyHGX.js → start-YOYgbaNU.js} +8 -8
- package/dist/{start-DyXCyHGX.js.map → start-YOYgbaNU.js.map} +1 -1
- package/dist/state-Bvsi2WgZ.js +1 -0
- package/dist/{state-CiR8Ema7.js → state-CJlYQtdl.js} +6 -6
- package/dist/{state-CiR8Ema7.js.map → state-CJlYQtdl.js.map} +1 -1
- package/dist/{studio-share-C05twqpy.js → studio-share-4T6GYO7l.js} +4 -4
- package/dist/{studio-share-C05twqpy.js.map → studio-share-4T6GYO7l.js.map} +1 -1
- package/dist/{sync-r8EvW6Hr.js → sync-BNduS38K.js} +2 -2
- package/dist/{sync-r8EvW6Hr.js.map → sync-BNduS38K.js.map} +1 -1
- package/dist/{tart-BUh58nxA.js → tart-B6Uz4S3I.js} +14 -10
- package/dist/tart-B6Uz4S3I.js.map +1 -0
- package/dist/{tart-bake-LwdUVOzS.js → tart-bake-B4QyNb7f.js} +1 -1
- package/dist/{tart-bake-ChrVpjuF.js → tart-bake-s99wBzxO.js} +8 -8
- package/dist/{tart-bake-ChrVpjuF.js.map → tart-bake-s99wBzxO.js.map} +1 -1
- package/dist/{tart-cli-Dv3dNC13.js → tart-cli-B0xVYBti.js} +6 -4
- package/dist/tart-cli-B0xVYBti.js.map +1 -0
- package/dist/{tart-cli-S388NU-r.js → tart-cli-DfteJCN9.js} +1 -1
- package/dist/{tart-hosts-_nHGB4mC.js → tart-hosts-B3Ze8aMp.js} +1 -1
- package/dist/{tart-hosts-B-dQEGpc.js → tart-hosts-DfVUcZqA.js} +4 -4
- package/dist/{tart-hosts-B-dQEGpc.js.map → tart-hosts-DfVUcZqA.js.map} +1 -1
- package/dist/{tart-images-DAEYoC_M.js → tart-images-yzIyb0bQ.js} +7 -2
- package/dist/tart-images-yzIyb0bQ.js.map +1 -0
- package/dist/telemetry-bBhK3DSs.js +399 -0
- package/dist/telemetry-bBhK3DSs.js.map +1 -0
- package/dist/testing.js +4 -4
- package/dist/{transcript-CW02A4s9.js → transcript-TWiaAuoL.js} +2 -2
- package/dist/{transcript-CW02A4s9.js.map → transcript-TWiaAuoL.js.map} +1 -1
- package/dist/{ui-CJvbt2Cc.js → ui-BIYUGm8D.js} +11 -8
- package/dist/{ui-CJvbt2Cc.js.map → ui-BIYUGm8D.js.map} +1 -1
- package/dist/views-DOYgIWRs.js +2 -0
- package/dist/{views-CtnOlABJ.js → views-DPsEJBBP.js} +2 -2
- package/dist/{views-CtnOlABJ.js.map → views-DPsEJBBP.js.map} +1 -1
- package/dist/{vm-container-DwroMAXW.js → vm-container-rHUmgBRf.js} +9 -9
- package/dist/vm-container-rHUmgBRf.js.map +1 -0
- package/dist/{vm-images-y0BcVyv3.js → vm-images-BC2ZjZl5.js} +12 -12
- package/dist/{vm-images-y0BcVyv3.js.map → vm-images-BC2ZjZl5.js.map} +1 -1
- package/dist/{worker-entry-8KHmPzr4.js → worker-entry-CN1eVLzz.js} +4 -4
- package/dist/{worker-entry-8KHmPzr4.js.map → worker-entry-CN1eVLzz.js.map} +1 -1
- package/dist/{workspace-xCQ6VDR-.js → workspace-BS-FUp5I.js} +6 -6
- package/dist/{workspace-xCQ6VDR-.js.map → workspace-BS-FUp5I.js.map} +1 -1
- package/dist/workspace-D8HqjfsQ.js +1 -0
- package/package.json +14 -1
- package/dist/assemble-ChNVeWNr.js +0 -1
- package/dist/attach-DFf2hFl7.js.map +0 -1
- package/dist/bundle-B1v8DEEX.js.map +0 -1
- package/dist/capture-DOHR_KXl.js +0 -1
- package/dist/cli-BFfZy9Ax.js.map +0 -1
- package/dist/cli-spec-Bj2z-4Pa.js.map +0 -1
- package/dist/cloud-run-BfFCs6Fm.js +0 -1
- package/dist/cloud-run-CZOpabN1.js.map +0 -1
- package/dist/command-DHrT6YVl.js.map +0 -1
- package/dist/daytona-image-BsCbvDGn.js +0 -1
- package/dist/db-BqFlDMmS.js +0 -1
- package/dist/environment-WC8PrLoe.js.map +0 -1
- package/dist/evaluate-DHnD8yzq.js.map +0 -1
- package/dist/events-oe84EOLK.js.map +0 -1
- package/dist/files-2fO6iaJG.js +0 -1
- package/dist/files-BDkCNIEh.js +0 -1
- package/dist/init-BOYNr3Ql.js +0 -1
- package/dist/ink-list-BJIKlKpN.js.map +0 -1
- package/dist/issue-esBvB5Df.js +0 -1
- package/dist/link-Dat_O7Gn.js.map +0 -1
- package/dist/options-CeIRZslO.js +0 -1
- package/dist/otlp-ehLWBhVL.js +0 -123
- package/dist/otlp-ehLWBhVL.js.map +0 -1
- package/dist/preflight-CKrvQ-of.js +0 -1
- package/dist/process-B86Nvm4J.js.map +0 -1
- package/dist/query-DzS1Z4bw.js +0 -1
- package/dist/redact-DMueYS-v.js.map +0 -1
- package/dist/resolve-s6JzFZu0.js +0 -1
- package/dist/resolve-usf6ejs_.js.map +0 -1
- package/dist/resume-aGIZhM58.js.map +0 -1
- package/dist/run-DSKRllpd.js.map +0 -1
- package/dist/server-BIqAFNjF.js +0 -1
- package/dist/source-BtdFbZLW.js +0 -1
- package/dist/spans-C3FlFC22.js +0 -1
- package/dist/src-BzeiF5Lh.js.map +0 -1
- package/dist/src-Db01fVzc.js +0 -2
- package/dist/ssh-pool-mcCYe6RO.js +0 -1
- package/dist/state-DBuFimCA.js +0 -1
- package/dist/tart-BUh58nxA.js.map +0 -1
- package/dist/tart-cli-Dv3dNC13.js.map +0 -1
- package/dist/tart-images-DAEYoC_M.js.map +0 -1
- package/dist/views-crppDW_B.js +0 -2
- package/dist/vm-container-DwroMAXW.js.map +0 -1
- package/dist/workspace-JlgoGyR0.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
|
-
import { i as INSTEAD, l as helpText, n as FLAGS, r as GLOBAL, s as commandHelpText, t as COMMANDS } from "./cli-spec-
|
|
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 {
|
|
3
|
+
import { i as INSTEAD, l as helpText, n as FLAGS, r as GLOBAL, s as commandHelpText, t as COMMANDS } from "./cli-spec-DgEWHOt3.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-mU7wFvQq.js";
|
|
5
|
+
import { w as wantsCloud } from "./cloud-run-CbGF8Lwt.js";
|
|
6
6
|
import { t as RUN_ID } from "./api-ZeGnedB3.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-
|
|
10
|
-
import {
|
|
9
|
+
import { D as profileSandbox, F as workspaceLabel, d as environmentSandbox } from "./environment-BCBg6c0p.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-DG_Cq5Pn.js";
|
|
11
11
|
import { r as openRouterFallbacks } from "./openrouter-models-B1sIOTD2.js";
|
|
12
12
|
import { y as vertexSettingsIn } from "./vertex-DQQGhUn7.js";
|
|
13
|
-
import { i as runtimeInfo, n as gitInfo, r as runnerInfo, t as author } from "./provenance-
|
|
13
|
+
import { i as runtimeInfo, n as gitInfo, r as runnerInfo, t as author } from "./provenance-Di42xQIS.js";
|
|
14
14
|
import { a as fromCwd, l as relativeFile, o as newRunId, r as cwdIn } from "./ids-CtxRn13a.js";
|
|
15
|
-
import { l as judgeModelName, m as unusedGatewayKey } from "./judge-
|
|
16
|
-
import { A as
|
|
17
|
-
import { n as preflight } from "./preflight-
|
|
18
|
-
import { C as stripCredentials, S as registerSecret, _ as redactSecrets } from "./redact-
|
|
19
|
-
import { a as redactArgv, r as commandOf, t as logInvocation } from "./invocations-
|
|
15
|
+
import { l as judgeModelName, m as unusedGatewayKey } from "./judge-etHC4K02.js";
|
|
16
|
+
import { A as writeCurrent, C as restoreRetry, E as savedInvocation, O as stoppedRetry, S as resolveRetry, T as savedFilters, _ as pruneEvents, a as eventsFile, b as resolveAttach, d as liveAttempts, f as loadPrevious, h as previousAttempt, i as erroredAttempts, j as writeLiveProgress, k as sweepStaging, l as keptAttempts, m as prepareResume, o as holdRetry, p as noteRetries, r as completedKeysFor, t as CANCEL_SIGNAL, u as leftOutAttempts, w as resumeSettings, x as resolveResume, y as removeStoppedStaging } from "./resume-DZPjjToJ.js";
|
|
17
|
+
import { n as preflight } from "./preflight-dUe0QiPK.js";
|
|
18
|
+
import { C as stripCredentials, S as registerSecret, _ as redactSecrets } from "./redact-CfTHYWLv.js";
|
|
19
|
+
import { a as redactArgv, r as commandOf, t as logInvocation } from "./invocations-CSA9OKFn.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-
|
|
21
|
+
import { d as sandboxKind, l as sandboxCapacity, n as capabilitiesOf, r as cleanupRun, s as removeOrphans } from "./kinds-BQX5ZxpK.js";
|
|
22
|
+
import { i as heldSecrets, o as readSecretsFile } from "./secrets-file-B8rUJV2L.js";
|
|
23
23
|
import { r as localStudio } from "./resolve-BEltmYhD.js";
|
|
24
|
-
import { d as storeCredentials, i as isRemote, u as pullStore } from "./sync-
|
|
24
|
+
import { d as storeCredentials, i as isRemote, u as pullStore } from "./sync-BNduS38K.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-BIYUGm8D.js";
|
|
29
29
|
import { O as runOutcome } from "./model-xemZQ7DK.js";
|
|
30
30
|
import { existsSync, mkdirSync, readdirSync, writeFileSync } from "node:fs";
|
|
31
31
|
import { dirname, join, resolve } from "node:path";
|
|
@@ -218,6 +218,7 @@ const EXIT = {
|
|
|
218
218
|
failed: 1,
|
|
219
219
|
usage: 2,
|
|
220
220
|
infra: 3,
|
|
221
|
+
stopped: 4,
|
|
221
222
|
interrupted: 130,
|
|
222
223
|
terminated: 143
|
|
223
224
|
};
|
|
@@ -279,7 +280,7 @@ async function run(argv) {
|
|
|
279
280
|
return values.help ? EXIT.ok : EXIT.usage;
|
|
280
281
|
}
|
|
281
282
|
if (command === "init") {
|
|
282
|
-
const { initCommand } = await import("./init-
|
|
283
|
+
const { initCommand } = await import("./init-BHIWfE2L.js");
|
|
283
284
|
return initCommand(values, filters, {
|
|
284
285
|
out: (s) => console.log(s),
|
|
285
286
|
input: process.stdin,
|
|
@@ -288,7 +289,7 @@ async function run(argv) {
|
|
|
288
289
|
});
|
|
289
290
|
}
|
|
290
291
|
if (command === "doctor") {
|
|
291
|
-
const { doctorCommand } = await import("./doctor-
|
|
292
|
+
const { doctorCommand } = await import("./doctor-DTKa8rrq.js");
|
|
292
293
|
return doctorCommand(values, {
|
|
293
294
|
out: (s) => console.log(s),
|
|
294
295
|
color: !!process.stdout.isTTY && !process.env.NO_COLOR,
|
|
@@ -296,7 +297,7 @@ async function run(argv) {
|
|
|
296
297
|
});
|
|
297
298
|
}
|
|
298
299
|
if (command === "report") {
|
|
299
|
-
const { reportCommand } = await import("./command-
|
|
300
|
+
const { reportCommand } = await import("./command-pxfK2bkV.js");
|
|
300
301
|
return reportCommand(values, filters, {
|
|
301
302
|
out: (s) => console.log(s),
|
|
302
303
|
err: (s) => console.error(dim(s)),
|
|
@@ -305,9 +306,9 @@ async function run(argv) {
|
|
|
305
306
|
});
|
|
306
307
|
}
|
|
307
308
|
if (command === "login" || command === "logout" || command === "whoami") {
|
|
308
|
-
const login = await import("./command-
|
|
309
|
+
const login = await import("./command-CxuGky7A.js");
|
|
309
310
|
loadEnvFiles(configPathFor(values.config));
|
|
310
|
-
const { defaultIssueDeps } = await import("./issue-
|
|
311
|
+
const { defaultIssueDeps } = await import("./issue-ipG9Yy1h.js");
|
|
311
312
|
const io = {
|
|
312
313
|
out: (s) => console.log(s),
|
|
313
314
|
err: (s) => console.error(dim(s)),
|
|
@@ -320,7 +321,7 @@ async function run(argv) {
|
|
|
320
321
|
const configPath = configPathFor(values.config);
|
|
321
322
|
if (command === "link") {
|
|
322
323
|
loadEnvFiles(configPath);
|
|
323
|
-
const [{ linkCommand }, { projectDirFor }] = await Promise.all([import("./link-
|
|
324
|
+
const [{ linkCommand }, { projectDirFor }] = await Promise.all([import("./link-Cqs2DhxR.js"), import("./cloud-project-DdUVB4EE.js")]);
|
|
324
325
|
return linkCommand(values, {
|
|
325
326
|
out: (s) => console.log(s),
|
|
326
327
|
input: process.stdin,
|
|
@@ -331,10 +332,10 @@ async function run(argv) {
|
|
|
331
332
|
}
|
|
332
333
|
if (command === "cloud") {
|
|
333
334
|
const [area, ...args] = filters;
|
|
334
|
-
if (area !== "secrets" && area !== "provider" && area !== "push") throw new UsageError(`Unknown command "cloud
|
|
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?`);
|
|
335
336
|
if (area === "push") {
|
|
336
337
|
const config = await historyConfig(configPath, "cloud push", values.profile, values);
|
|
337
|
-
const [{ pushCommand }, { projectDirFor }] = await Promise.all([import("./cloud-push-
|
|
338
|
+
const [{ pushCommand }, { projectDirFor }] = await Promise.all([import("./cloud-push-MXKreNyq.js"), import("./cloud-project-DdUVB4EE.js")]);
|
|
338
339
|
return pushCommand(config, values, args, {
|
|
339
340
|
out: (s) => console.log(s),
|
|
340
341
|
err: (s) => console.error(yellow(s)),
|
|
@@ -343,8 +344,12 @@ async function run(argv) {
|
|
|
343
344
|
});
|
|
344
345
|
}
|
|
345
346
|
loadEnvFiles(configPath);
|
|
346
|
-
|
|
347
|
-
|
|
347
|
+
if (area === "run") {
|
|
348
|
+
const { cloudRunCommand } = await import("./cloud-run-CghE2dG6.js");
|
|
349
|
+
return cloudRunCommand(args, { out: (s) => console.log(s) });
|
|
350
|
+
}
|
|
351
|
+
const cloud = await import("./cloud-secrets-DlPRfS2l.js");
|
|
352
|
+
const { projectDirFor } = await import("./cloud-project-DdUVB4EE.js");
|
|
348
353
|
const io = {
|
|
349
354
|
out: (s) => console.log(s),
|
|
350
355
|
readValue: cloud.readSecretValue,
|
|
@@ -365,7 +370,7 @@ async function run(argv) {
|
|
|
365
370
|
...values,
|
|
366
371
|
offline: true
|
|
367
372
|
} : values);
|
|
368
|
-
const [{ shareCommand }, { projectDirFor }] = await Promise.all([import("./studio-share-
|
|
373
|
+
const [{ shareCommand }, { projectDirFor }] = await Promise.all([import("./studio-share-4T6GYO7l.js"), import("./cloud-project-DdUVB4EE.js")]);
|
|
369
374
|
return shareCommand(config, values, filters.slice(1), {
|
|
370
375
|
out: (s) => console.log(s),
|
|
371
376
|
err: (s) => console.error(yellow(s)),
|
|
@@ -376,7 +381,7 @@ async function run(argv) {
|
|
|
376
381
|
if (command === "studio") {
|
|
377
382
|
const config = await historyConfig(configPath, "studio", values.profile);
|
|
378
383
|
localStudio(config);
|
|
379
|
-
const { studioCommand } = await import("./command-
|
|
384
|
+
const { studioCommand } = await import("./command-Bps8kBML.js");
|
|
380
385
|
return studioCommand({
|
|
381
386
|
config,
|
|
382
387
|
flags: values,
|
|
@@ -387,7 +392,7 @@ async function run(argv) {
|
|
|
387
392
|
if (command === "mcp") {
|
|
388
393
|
if (!values.http) console.log = console.info = console.debug = console.error;
|
|
389
394
|
const config = await historyConfig(configPath, "mcp", values.profile, values);
|
|
390
|
-
const { mcpCommand } = await import("./command-
|
|
395
|
+
const { mcpCommand } = await import("./command-ByUmSm2D.js");
|
|
391
396
|
return mcpCommand({
|
|
392
397
|
config,
|
|
393
398
|
flags: values,
|
|
@@ -396,7 +401,7 @@ async function run(argv) {
|
|
|
396
401
|
}
|
|
397
402
|
if (command in HISTORY_COMMANDS) {
|
|
398
403
|
const config = await historyConfig(configPath, command, values.profile, values);
|
|
399
|
-
const commands = await import("./commands-
|
|
404
|
+
const commands = await import("./commands-Cl3Y_UXg.js");
|
|
400
405
|
const ctx = {
|
|
401
406
|
config,
|
|
402
407
|
flags: values,
|
|
@@ -410,14 +415,14 @@ async function run(argv) {
|
|
|
410
415
|
case "checkout": return commands.checkoutCommand(ctx, filters);
|
|
411
416
|
case "sync": return commands.syncCommand(ctx, filters);
|
|
412
417
|
case "query": {
|
|
413
|
-
const { queryCommand } = await import("./query-
|
|
418
|
+
const { queryCommand } = await import("./query-CTMdWXbx.js");
|
|
414
419
|
return queryCommand({
|
|
415
420
|
...ctx,
|
|
416
421
|
err: (s) => console.error(dim(s))
|
|
417
422
|
}, filters);
|
|
418
423
|
}
|
|
419
424
|
case "analyze": {
|
|
420
|
-
const { analyzeCommand } = await import("./command-
|
|
425
|
+
const { analyzeCommand } = await import("./command-CQk7FCI1.js");
|
|
421
426
|
return analyzeCommand({
|
|
422
427
|
...ctx,
|
|
423
428
|
err: (s) => console.error(dim(s))
|
|
@@ -428,7 +433,7 @@ async function run(argv) {
|
|
|
428
433
|
if (command === "clean") return cleanCommand(values, configPath);
|
|
429
434
|
if (command === "attach") return attachCommand(values, filters[0], configPath);
|
|
430
435
|
if (command === "bundle") {
|
|
431
|
-
const { bundleCommand } = await import("./bundle-
|
|
436
|
+
const { bundleCommand } = await import("./bundle-B7P-Awnm.js");
|
|
432
437
|
return bundleCommand(values, filters, configPath, argv.slice(1), (s) => console.log(s));
|
|
433
438
|
}
|
|
434
439
|
if (command !== "run") throw new UsageError(`Unknown command "${command}". Run reeval --help.`);
|
|
@@ -438,6 +443,8 @@ async function run(argv) {
|
|
|
438
443
|
/**
|
|
439
444
|
* `reeval run --bundle`: the bundle's own filters, profile, tags, traits and runs, from the
|
|
440
445
|
* project it extracts to. Other run flags (`--json`, `--record`, `--concurrency`, …) apply as given.
|
|
446
|
+
* With `--resume <id>`, the run's state moves from the current directory's `.reeval/` into the
|
|
447
|
+
* extracted project's, and the run continues there.
|
|
441
448
|
*/
|
|
442
449
|
async function bundleRun(flags, filters) {
|
|
443
450
|
const planning = [
|
|
@@ -446,21 +453,27 @@ async function bundleRun(flags, filters) {
|
|
|
446
453
|
"trait",
|
|
447
454
|
"runs",
|
|
448
455
|
"config",
|
|
449
|
-
"resume",
|
|
450
456
|
"retry-errors",
|
|
451
457
|
"cloud"
|
|
452
458
|
].filter((f) => flags[f] !== void 0).map((f) => `--${f}`);
|
|
453
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(", ")}.`);
|
|
454
460
|
const file = flags.bundle;
|
|
455
461
|
const log = (s) => flags.json ? console.error(s) : console.log(s);
|
|
456
|
-
const { bundledGit, openBundle } = await import("./bundle-
|
|
462
|
+
const { bundledGit, checkResumeState, moveResumeState, openBundle } = await import("./bundle-B7P-Awnm.js");
|
|
463
|
+
const from = process.cwd();
|
|
464
|
+
const resume = flags.resume;
|
|
465
|
+
if (resume !== void 0) checkResumeState(from, resume);
|
|
457
466
|
const opened = await openBundle(file, log);
|
|
458
467
|
if (opened.exit !== void 0) return opened.exit;
|
|
459
468
|
const { args, author } = opened.manifest;
|
|
460
|
-
|
|
469
|
+
if (resume !== void 0) {
|
|
470
|
+
moveResumeState(from, opened.project, resume);
|
|
471
|
+
log(`reeval: resuming run ${resume} from ${file} in ${opened.project}, where its .reeval/ stays`);
|
|
472
|
+
} else log(`reeval: running ${file} in ${opened.project}, where its .reeval/ stays`);
|
|
461
473
|
process.chdir(opened.project);
|
|
462
474
|
return runCommand({
|
|
463
475
|
...flags,
|
|
476
|
+
...flags["events-file"] === void 0 ? {} : { "events-file": resolve(from, flags["events-file"]) },
|
|
464
477
|
bundle: void 0,
|
|
465
478
|
local: true,
|
|
466
479
|
...args.profile ? { profile: args.profile } : {},
|
|
@@ -546,23 +559,23 @@ async function cleanCommand(flags, configPath) {
|
|
|
546
559
|
const orphans = await removeOrphans();
|
|
547
560
|
if (orphans) console.log(`Removed ${orphans} sandbox${orphans === 1 ? "" : "es"} that a killed reeval left running`);
|
|
548
561
|
if (flags.bundles) {
|
|
549
|
-
const { removeExtractedBundles } = await import("./bundle-
|
|
562
|
+
const { removeExtractedBundles } = await import("./bundle-B7P-Awnm.js");
|
|
550
563
|
const removed = await removeExtractedBundles();
|
|
551
564
|
console.log(removed.length ? `Removed ${removed.length} extracted bundle${removed.length === 1 ? "" : "s"}: ${removed.join(", ")}` : "No extracted bundles to remove");
|
|
552
565
|
}
|
|
553
566
|
if (flags.images) {
|
|
554
|
-
const { dockerAvailable, pruneImages } = await import("./src-
|
|
555
|
-
const { requireDocker } = await import("./providers-
|
|
567
|
+
const { dockerAvailable, pruneImages } = await import("./src-B2psni1B.js");
|
|
568
|
+
const { requireDocker } = await import("./providers-Bm5NLaRh.js");
|
|
556
569
|
const engines = [];
|
|
557
570
|
for (const engine of ["docker", "podman"]) if (await dockerAvailable(engine)) engines.push(engine);
|
|
558
|
-
const { tartCli } = await import("./tart-cli-
|
|
571
|
+
const { tartCli } = await import("./tart-cli-DfteJCN9.js");
|
|
559
572
|
const tart = await tartCli(["--version"]).then((r) => r.exitCode === 0, () => false);
|
|
560
573
|
if (!engines.length && !tart) await requireDocker();
|
|
561
574
|
let removed = 0;
|
|
562
575
|
for (const engine of engines) removed += await pruneImages(engine);
|
|
563
576
|
if (engines.length) console.log(removed ? `Removed ${removed} image${removed === 1 ? "" : "s"} reeval built that nothing uses` : "No leftover images to remove");
|
|
564
577
|
if (tart) {
|
|
565
|
-
const { deleteBakedImages } = await import("./tart-bake-
|
|
578
|
+
const { deleteBakedImages } = await import("./tart-bake-B4QyNb7f.js");
|
|
566
579
|
const baked = await deleteBakedImages();
|
|
567
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");
|
|
568
581
|
}
|
|
@@ -581,8 +594,8 @@ function verbosityOf(flags) {
|
|
|
581
594
|
* image.
|
|
582
595
|
*/
|
|
583
596
|
async function imageBuildCommand(flags, configPath, filters) {
|
|
584
|
-
const { buildImages, imagePlanLines, imageTargets, plannedImageUses, pullTartImages, tartPlanLines, tartTargets } = await import("./images-
|
|
585
|
-
const { buildVmImages, vmImageTargets, vmPlanLines } = await import("./vm-images-
|
|
597
|
+
const { buildImages, imagePlanLines, imageTargets, plannedImageUses, pullTartImages, tartPlanLines, tartTargets } = await import("./images-JspTw1vt.js");
|
|
598
|
+
const { buildVmImages, vmImageTargets, vmPlanLines } = await import("./vm-images-BC2ZjZl5.js");
|
|
586
599
|
const { setup, root, uses } = await imageUses(flags, configPath, filters, plannedImageUses);
|
|
587
600
|
const targets = imageTargets(uses);
|
|
588
601
|
const vms = tartTargets(uses);
|
|
@@ -676,7 +689,7 @@ async function imageBuildCommand(flags, configPath, filters) {
|
|
|
676
689
|
if (!(error instanceof PrepareError)) throw error;
|
|
677
690
|
if (error.failure.usage) throw new UsageError(error.message);
|
|
678
691
|
if (error.failure.cause === "enospc") invocation.machineState = true;
|
|
679
|
-
const { PreflightInfraError } = await import("./preflight-
|
|
692
|
+
const { PreflightInfraError } = await import("./preflight-CLYRuQ3r.js");
|
|
680
693
|
throw new PreflightInfraError(error.message);
|
|
681
694
|
}
|
|
682
695
|
for (const o of outcomes) {
|
|
@@ -699,7 +712,7 @@ async function imageBuildCommand(flags, configPath, filters) {
|
|
|
699
712
|
}
|
|
700
713
|
/** What `reeval image` plans for: the harness and sandbox of each attempt, collected as `--dry-run` does. */
|
|
701
714
|
async function imageUses(flags, configPath, filters, planned) {
|
|
702
|
-
const plannedImageUses = planned ?? (await import("./images-
|
|
715
|
+
const plannedImageUses = planned ?? (await import("./images-JspTw1vt.js")).plannedImageUses;
|
|
703
716
|
const setup = await prepareRun({
|
|
704
717
|
...flags,
|
|
705
718
|
"dry-run": true
|
|
@@ -725,8 +738,8 @@ async function imageUses(flags, configPath, filters, planned) {
|
|
|
725
738
|
* the evals use, with the environments that start from each.
|
|
726
739
|
*/
|
|
727
740
|
async function imageListCommand(flags, configPath, filters) {
|
|
728
|
-
const vm = await import("./vm-images-
|
|
729
|
-
const { formatSize } = await import("./tart-images-
|
|
741
|
+
const vm = await import("./vm-images-BC2ZjZl5.js");
|
|
742
|
+
const { formatSize } = await import("./tart-images-yzIyb0bQ.js");
|
|
730
743
|
const { root, uses } = await imageUses(flags, configPath, filters);
|
|
731
744
|
const accounts = vm.vmAccounts(uses);
|
|
732
745
|
if (!accounts.length) {
|
|
@@ -779,8 +792,8 @@ async function imageListCommand(flags, configPath, filters) {
|
|
|
779
792
|
* last hour or one still being saved.
|
|
780
793
|
*/
|
|
781
794
|
async function imageCleanCommand(flags, configPath) {
|
|
782
|
-
const vm = await import("./vm-images-
|
|
783
|
-
const { formatSize } = await import("./tart-images-
|
|
795
|
+
const vm = await import("./vm-images-BC2ZjZl5.js");
|
|
796
|
+
const { formatSize } = await import("./tart-images-yzIyb0bQ.js");
|
|
784
797
|
const provider = flags.provider;
|
|
785
798
|
if (provider !== void 0 && provider !== "boat" && provider !== "daytona") throw new UsageError(`--provider is boat or daytona (got "${provider}")`);
|
|
786
799
|
const olderThanMs = flags["older-than"] !== void 0 ? vm.parseAge(flags["older-than"]) : flags.all ? void 0 : vm.DEFAULT_OLDER_THAN_MS;
|
|
@@ -852,27 +865,51 @@ async function attachCommand(flags, target, configPath) {
|
|
|
852
865
|
root = dirname(requireConfig(configPath));
|
|
853
866
|
source = (await resolveAttach(root, target)).file;
|
|
854
867
|
}
|
|
855
|
-
const cloud = await import("./cloud-run-
|
|
868
|
+
const cloud = await import("./cloud-run-CghE2dG6.js");
|
|
856
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");
|
|
857
870
|
if (flags.download || isAttachUrl(source)) loadEnvFiles(configPath);
|
|
858
871
|
const download = flags.download ? await cloudDownload(source, configPath, flags.profile) : void 0;
|
|
859
872
|
const follow = isAttachUrl(source) ? await cloud.cloudFollow(source) : void 0;
|
|
873
|
+
const cloudRun = follow ? await cloudRunAt(source) : null;
|
|
860
874
|
let detached = false;
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
875
|
+
let code;
|
|
876
|
+
let read;
|
|
877
|
+
const log = (line) => console.log(dim(line));
|
|
878
|
+
try {
|
|
879
|
+
code = await attachHere(flags, {
|
|
880
|
+
source,
|
|
881
|
+
...root === void 0 ? {} : { root },
|
|
882
|
+
...follow ? { follow } : {},
|
|
883
|
+
...cloudRun ? { cancelHint: cloud.cancelHint(cloudRun.runId) } : {},
|
|
884
|
+
onDetach: () => {
|
|
885
|
+
detached = true;
|
|
886
|
+
}
|
|
887
|
+
});
|
|
888
|
+
} catch (error) {
|
|
889
|
+
const { EventStreamError } = await import("./events-RaK1pDmT.js");
|
|
890
|
+
if (!cloudRun || !(error instanceof EventStreamError)) throw error;
|
|
891
|
+
({code, read} = await cloud.afterLostStream(error, cloudRun.runId, cloudRun.base, cloudRun.auth, log));
|
|
892
|
+
}
|
|
893
|
+
if (cloudRun && !detached) code = await cloud.stoppedOr(code, cloudRun.runId, cloudRun.base, cloudRun.auth, log, read);
|
|
869
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`));
|
|
870
895
|
else if (download) {
|
|
871
|
-
const { downloadAfter } = await import("./cloud-files-
|
|
896
|
+
const { downloadAfter } = await import("./cloud-files-CBovrfZA.js");
|
|
872
897
|
for (const line of await downloadAfter(code, download.runId, download.run)) console.log(dim(line));
|
|
873
898
|
}
|
|
874
899
|
return code;
|
|
875
900
|
}
|
|
901
|
+
/** The cloud run whose event stream is `source`, with what reads it; null for any other stream. */
|
|
902
|
+
async function cloudRunAt(source) {
|
|
903
|
+
const cloud = await import("./cloud-run-CghE2dG6.js");
|
|
904
|
+
const { cloudRunOf } = await import("./cloud-files-CBovrfZA.js");
|
|
905
|
+
const base = cloud.cloudUrl();
|
|
906
|
+
const run = cloudRunOf(source, base);
|
|
907
|
+
return run ? {
|
|
908
|
+
runId: run.runId,
|
|
909
|
+
base,
|
|
910
|
+
auth: await cloud.cloudAuth(base)
|
|
911
|
+
} : null;
|
|
912
|
+
}
|
|
876
913
|
/**
|
|
877
914
|
* `reeval attach --download`: what downloads the files of the cloud run whose event stream is
|
|
878
915
|
* `source` into this project, as a run here leaves them, a recorded run's into the history folder
|
|
@@ -880,8 +917,8 @@ async function attachCommand(flags, target, configPath) {
|
|
|
880
917
|
* stream, or with no project.
|
|
881
918
|
*/
|
|
882
919
|
async function cloudDownload(source, configPath, profile) {
|
|
883
|
-
const cloud = await import("./cloud-run-
|
|
884
|
-
const { cloudRunOf, downloadCloudFiles } = await import("./cloud-files-
|
|
920
|
+
const cloud = await import("./cloud-run-CghE2dG6.js");
|
|
921
|
+
const { cloudRunOf, downloadCloudFiles } = await import("./cloud-files-CBovrfZA.js");
|
|
885
922
|
loadEnvFiles(configPath);
|
|
886
923
|
const base = cloud.cloudUrl();
|
|
887
924
|
const run = isAttachUrl(source) ? cloudRunOf(source, base) : null;
|
|
@@ -906,7 +943,7 @@ async function cloudDownload(source, configPath, profile) {
|
|
|
906
943
|
}
|
|
907
944
|
/** `reeval attach`'s viewer on this terminal, drawn with the attach flags. */
|
|
908
945
|
async function attachHere(flags, options) {
|
|
909
|
-
const { attach } = await import("./attach-
|
|
946
|
+
const { attach } = await import("./attach-6av4DmO3.js");
|
|
910
947
|
return attach({
|
|
911
948
|
...options,
|
|
912
949
|
out: process.stdout,
|
|
@@ -937,14 +974,15 @@ async function attachHere(flags, options) {
|
|
|
937
974
|
* `exit`. Undefined when the run didn't ask to run in the cloud.
|
|
938
975
|
*/
|
|
939
976
|
async function cloudTarget(flags, setup, filters, configPath) {
|
|
940
|
-
const cloud = await import("./cloud-run-
|
|
977
|
+
const cloud = await import("./cloud-run-CghE2dG6.js");
|
|
941
978
|
if (!cloud.wantsCloud(flags, setup.config, setup.profile)) {
|
|
942
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");
|
|
943
980
|
return;
|
|
944
981
|
}
|
|
945
|
-
const { linkedProject, projectDirFor } = await import("./cloud-project-
|
|
982
|
+
const { linkedProject, projectDirFor } = await import("./cloud-project-DdUVB4EE.js");
|
|
946
983
|
const project = await linkedProject(projectDirFor(configPath));
|
|
947
|
-
|
|
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-B7P-Awnm.js");
|
|
948
986
|
const picked = setup.profile ? { profile: setup.profile.name } : {};
|
|
949
987
|
const bundle = async (env) => {
|
|
950
988
|
try {
|
|
@@ -1001,6 +1039,8 @@ async function cloudTarget(flags, setup, filters, configPath) {
|
|
|
1001
1039
|
bundle: made,
|
|
1002
1040
|
project,
|
|
1003
1041
|
log: (line) => console.log(dim(line)),
|
|
1042
|
+
...process.stdin.isTTY && process.stdout.isTTY && { confirm },
|
|
1043
|
+
...flags.force && { force: true },
|
|
1004
1044
|
follow: (options) => attachHere(flags, options),
|
|
1005
1045
|
...flags.download && { download: {
|
|
1006
1046
|
root: setup.config.root,
|
|
@@ -1022,9 +1062,10 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1022
1062
|
if (refused) throw new UsageError(`--events-file: ${refused}`);
|
|
1023
1063
|
}
|
|
1024
1064
|
if (retry !== void 0 && flags.resume !== void 0) throw new UsageError("--resume and --retry-errors both continue a run: pass one of them.");
|
|
1065
|
+
if ((flags.resume !== void 0 || retry !== void 0) && !flags.local) await refuseCloudContinue(flags, configPath);
|
|
1025
1066
|
if (retry !== void 0 && (given.length || flags.tag?.length || flags.trait?.length)) throw new UsageError("--retry-errors runs every infra-errored attempt of the run again, with its plan: leave out filters, --tag and --trait.");
|
|
1026
1067
|
const continued = flags.resume !== void 0 || retry !== void 0;
|
|
1027
|
-
const resumed = continued ? await resumedRun(flags, given, configPath) : null;
|
|
1068
|
+
const resumed = continued ? await resumedRun(flags, given, configPath, bundled) : null;
|
|
1028
1069
|
if (resumed?.nothing) {
|
|
1029
1070
|
const { nothing, record } = resumed.nothing;
|
|
1030
1071
|
const outcome = runOutcome(record);
|
|
@@ -1064,7 +1105,7 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1064
1105
|
if (githubOut) await appendFile(githubOut, `run-id=${ctx.runId}\n`).catch(() => {});
|
|
1065
1106
|
const stepStart = process.env.GITHUB_STEP_SUMMARY;
|
|
1066
1107
|
if (stepStart) await appendFile(stepStart, `run ${ctx.runId}\n`).catch(() => {});
|
|
1067
|
-
const { engineVersions } = await import("./node-
|
|
1108
|
+
const { engineVersions } = await import("./node-gPT36n_n.js");
|
|
1068
1109
|
const terminal = setup.json && !setup.dryRun ? process.stderr : process.stdout;
|
|
1069
1110
|
const harness = setup.config.harness[0]?.kind ?? "agent";
|
|
1070
1111
|
const drawn = createRenderer({
|
|
@@ -1155,7 +1196,7 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1155
1196
|
return EXIT.ok;
|
|
1156
1197
|
}
|
|
1157
1198
|
if (ctx.retry && ctx.previous && retried.size) {
|
|
1158
|
-
const { retryEnvironmentChanges } = await import("./retry-
|
|
1199
|
+
const { retryEnvironmentChanges } = await import("./retry-rLdXCinf.js");
|
|
1159
1200
|
const changes = retryEnvironmentChanges(ctx.previous, ctx.stagingDir, retried);
|
|
1160
1201
|
if (changes.length) {
|
|
1161
1202
|
questions?.cancel();
|
|
@@ -1174,8 +1215,8 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1174
1215
|
}
|
|
1175
1216
|
finishing = true;
|
|
1176
1217
|
live?.phase("finishing");
|
|
1177
|
-
const { lockfiles } = await import("./state-
|
|
1178
|
-
const { writeScratchRun } = await import("./results-
|
|
1218
|
+
const { lockfiles } = await import("./state-Bvsi2WgZ.js");
|
|
1219
|
+
const { writeScratchRun } = await import("./results-DXBaxfIM.js");
|
|
1179
1220
|
const run = await writeScratchRun({
|
|
1180
1221
|
ctx,
|
|
1181
1222
|
author: ctx.author,
|
|
@@ -1214,7 +1255,7 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1214
1255
|
const summary = run.artifactDir ? join(run.artifactDir, "summary.md") : run.recordPath;
|
|
1215
1256
|
const { config } = ctx;
|
|
1216
1257
|
const mode = setup.record;
|
|
1217
|
-
const { readRecord, recordFile } = await import("./files-
|
|
1258
|
+
const { readRecord, recordFile } = await import("./files-BnsRehge.js");
|
|
1218
1259
|
const rerecord = (setup.retry !== void 0 || setup.resume !== void 0) && record.status === "complete" && existsSync(recordFile(config.history.dir, record.runId));
|
|
1219
1260
|
const autoRecord = flags.record || mode === "always" || mode === "ci" && inCI() || rerecord;
|
|
1220
1261
|
const recording = autoRecord && record.status !== "interrupted";
|
|
@@ -1235,7 +1276,7 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1235
1276
|
});
|
|
1236
1277
|
renderer.close();
|
|
1237
1278
|
if (retried.size) {
|
|
1238
|
-
const { retryCounts, retryLine } = await import("./retry-
|
|
1279
|
+
const { retryCounts, retryLine } = await import("./retry-rLdXCinf.js");
|
|
1239
1280
|
const line = retryLine(retryCounts(record, retried, ctx.previous));
|
|
1240
1281
|
if (setup.json) console.error(line);
|
|
1241
1282
|
else console.log(line);
|
|
@@ -1246,7 +1287,7 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1246
1287
|
let recordLine;
|
|
1247
1288
|
let recordError;
|
|
1248
1289
|
if (recording) {
|
|
1249
|
-
const { record: recordCmd } = await import("./commands-
|
|
1290
|
+
const { record: recordCmd } = await import("./commands-Cl3Y_UXg.js");
|
|
1250
1291
|
const allow = record.status === "budget" ? { "allow-incomplete": true } : {};
|
|
1251
1292
|
try {
|
|
1252
1293
|
const level = rerecord ? { artifacts: (await readRecord(recordFile(config.history.dir, record.runId))).artifacts } : {};
|
|
@@ -1289,14 +1330,37 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1289
1330
|
return code;
|
|
1290
1331
|
}
|
|
1291
1332
|
/**
|
|
1333
|
+
* Refuses `--resume` or `--retry-errors` on a run that goes to the cloud, from `--cloud` or the
|
|
1334
|
+
* config's or profile's `cloud`, before anything looks for the run here.
|
|
1335
|
+
*/
|
|
1336
|
+
async function refuseCloudContinue(flags, configPath) {
|
|
1337
|
+
const { wantsCloud } = await import("./cloud-run-CghE2dG6.js");
|
|
1338
|
+
let cloud = !!flags.cloud;
|
|
1339
|
+
if (!cloud) {
|
|
1340
|
+
const path = requireConfig(configPath);
|
|
1341
|
+
loadEnvFiles(path);
|
|
1342
|
+
const loaded = await loadConfig(path, "run", flags.profile ?? (process.env.REEVAL_PROFILE || void 0));
|
|
1343
|
+
let profile = null;
|
|
1344
|
+
try {
|
|
1345
|
+
profile = selectProfile(loaded, flags.profile);
|
|
1346
|
+
} catch (error) {
|
|
1347
|
+
if (!(error instanceof UsageError)) throw error;
|
|
1348
|
+
}
|
|
1349
|
+
cloud = wantsCloud(flags, loaded, profile);
|
|
1350
|
+
}
|
|
1351
|
+
if (!cloud) return;
|
|
1352
|
+
const flag = flags.resume !== void 0 ? "--resume" : "--retry-errors";
|
|
1353
|
+
throw new UsageError(`${flag} with a cloud run isn't supported by this reeval yet: pass --local to continue a run on this machine`);
|
|
1354
|
+
}
|
|
1355
|
+
/**
|
|
1292
1356
|
* `--resume`: the run's saved settings with the flags given now. An older reeval's run saved none,
|
|
1293
1357
|
* so it plans with the flags given now, with a note.
|
|
1294
1358
|
*/
|
|
1295
|
-
async function resumedRun(flags, filters, configPath) {
|
|
1359
|
+
async function resumedRun(flags, filters, configPath, bundled) {
|
|
1296
1360
|
const path = requireConfig(configPath);
|
|
1297
1361
|
loadEnvFiles(path);
|
|
1298
1362
|
const root = dirname(path);
|
|
1299
|
-
const target = await continuedRun(root, flags);
|
|
1363
|
+
const target = await continuedRun(root, flags, bundled);
|
|
1300
1364
|
if (flags["retry-errors"] !== void 0 && target.previous && !erroredAttempts(target.previous).length) return {
|
|
1301
1365
|
nothing: {
|
|
1302
1366
|
nothing: `run ${target.runId} has no infra errors, so --retry-errors has nothing to run again.`,
|
|
@@ -1338,7 +1402,7 @@ async function resumedRun(flags, filters, configPath) {
|
|
|
1338
1402
|
};
|
|
1339
1403
|
}
|
|
1340
1404
|
/** The run `--resume` continues, or the finished one `--retry-errors` runs the errors of again. */
|
|
1341
|
-
const continuedRun = (root, flags) => flags["retry-errors"] !== void 0 ? resolveRetry(root, flags["retry-errors"] || void 0) : resolveResume(root, flags.resume || void 0);
|
|
1405
|
+
const continuedRun = (root, flags, bundled) => flags["retry-errors"] !== void 0 ? resolveRetry(root, flags["retry-errors"] || void 0) : resolveResume(root, flags.resume || void 0, { movedIn: bundled !== void 0 });
|
|
1342
1406
|
/**
|
|
1343
1407
|
* Everything that can fail before the evals are collected: output mode, config, profile, flags.
|
|
1344
1408
|
* `noProfile` is a resume of a run that had none, which `defaultProfile` mustn't give one;
|
|
@@ -1422,7 +1486,7 @@ async function prepareRun(flags, configPath, { noProfile = false, profileOf } =
|
|
|
1422
1486
|
async function registryFlag(flags) {
|
|
1423
1487
|
if (flags.push && flags.registry === void 0) throw new UsageError("--push needs --registry, the registry to push to, e.g. --registry ghcr.io/acme/reeval");
|
|
1424
1488
|
if (flags.registry === void 0) return null;
|
|
1425
|
-
const { registryProblem } = await import("./src-
|
|
1489
|
+
const { registryProblem } = await import("./src-B2psni1B.js");
|
|
1426
1490
|
const problem = registryProblem(flags.registry);
|
|
1427
1491
|
if (problem) throw new UsageError(problem);
|
|
1428
1492
|
return flags.registry.replace(/\/+$/, "");
|
|
@@ -1433,17 +1497,17 @@ const retryVerb = (retry, runId) => retry.resume ? `--resume finishes run ${runI
|
|
|
1433
1497
|
async function startRun({ config, profile, runs, tags, traits, sandboxes, sizeRun, verbosity, configFile, resume, retry, dryRun }, bundled) {
|
|
1434
1498
|
const startedAt = /* @__PURE__ */ new Date();
|
|
1435
1499
|
const git = bundled ? bundled.git : await gitInfo(config.root, [config.history.dir]);
|
|
1436
|
-
const { worktreePatch } = await import("./state-
|
|
1500
|
+
const { worktreePatch } = await import("./state-Bvsi2WgZ.js");
|
|
1437
1501
|
const patch = git?.dirty && !bundled ? await worktreePatch(config.root, [config.history.dir]) : null;
|
|
1438
1502
|
const who = bundled?.author ?? await author(config.root);
|
|
1439
|
-
const { stagingDir } = await import("./results-
|
|
1440
|
-
const { scratchDir } = await import("./files-
|
|
1503
|
+
const { stagingDir } = await import("./results-DXBaxfIM.js");
|
|
1504
|
+
const { scratchDir } = await import("./files-BnsRehge.js");
|
|
1441
1505
|
const scratch = scratchDir(config.root);
|
|
1442
1506
|
if (resume !== void 0 || retry !== void 0) {
|
|
1443
1507
|
const target = await continuedRun(config.root, {
|
|
1444
1508
|
resume,
|
|
1445
1509
|
"retry-errors": retry
|
|
1446
|
-
});
|
|
1510
|
+
}, bundled);
|
|
1447
1511
|
if (!dryRun && retry === void 0) await prepareResume(target, config.root);
|
|
1448
1512
|
else if (!dryRun) holdRetry(target, config.root);
|
|
1449
1513
|
const stopped = retry === void 0 ? await stoppedRetry(config.root, target) : null;
|
|
@@ -1552,12 +1616,12 @@ function namesDeclaredSecret(evals) {
|
|
|
1552
1616
|
*/
|
|
1553
1617
|
async function planEfforts(planned) {
|
|
1554
1618
|
const live = planned.filter((p) => !p.attempt.plan.skip);
|
|
1555
|
-
const { effortNotes, withDefaultEffort } = await import("./default-effort-
|
|
1619
|
+
const { effortNotes, withDefaultEffort } = await import("./default-effort-B1b8t81b.js");
|
|
1556
1620
|
let cursor;
|
|
1557
1621
|
let unchecked = "CURSOR_API_KEY isn't set";
|
|
1558
1622
|
const key = process.env.CURSOR_API_KEY;
|
|
1559
1623
|
if (key && live.some((p) => p.attempt.harness.kind === "cursor")) {
|
|
1560
|
-
const { checkCursorPlan } = await import("./cursor-catalog-
|
|
1624
|
+
const { checkCursorPlan } = await import("./cursor-catalog-EOFft6LJ.js");
|
|
1561
1625
|
const checked = await checkCursorPlan(key, live);
|
|
1562
1626
|
if (checked instanceof Error) unchecked = `its request failed: ${checked.message}`;
|
|
1563
1627
|
else {
|
|
@@ -1595,8 +1659,8 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1595
1659
|
completed: [],
|
|
1596
1660
|
...setup.dryRun && setup.json ? { inputs: true } : {}
|
|
1597
1661
|
}));
|
|
1598
|
-
const { runEngine } = await import("./node-
|
|
1599
|
-
const { buildPlan, checkAttemptBudget, planDocument, planInputs, planLine, planTable, runHeader } = await import("./plan-
|
|
1662
|
+
const { runEngine } = await import("./node-gPT36n_n.js");
|
|
1663
|
+
const { buildPlan, checkAttemptBudget, planDocument, planInputs, planLine, planTable, runHeader } = await import("./plan-DSJX7Oyq.js");
|
|
1600
1664
|
let plan;
|
|
1601
1665
|
let sandboxVersions = { images: [] };
|
|
1602
1666
|
let preflightStop;
|
|
@@ -1641,9 +1705,9 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1641
1705
|
if (ctx.retry && ctx.previous) {
|
|
1642
1706
|
const ranOn = ctx.previous.stack?.reeval;
|
|
1643
1707
|
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.`);
|
|
1644
|
-
const { retryChanges } = await import("./retry-
|
|
1645
|
-
const { judgePart } = await import("./assemble-
|
|
1646
|
-
const { engineVersions } = await import("./node-
|
|
1708
|
+
const { retryChanges } = await import("./retry-rLdXCinf.js");
|
|
1709
|
+
const { judgePart } = await import("./assemble-BlA7FWRn.js");
|
|
1710
|
+
const { engineVersions } = await import("./node-gPT36n_n.js");
|
|
1647
1711
|
const judged = judgePart(config, profile, version, engineVersions);
|
|
1648
1712
|
const runs = new Set(planned.map((p) => p.key).filter((key) => !completed.has(key)));
|
|
1649
1713
|
const changes = await retryChanges(ctx.previous, planned, runs, config.root, judged);
|
|
@@ -1656,7 +1720,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1656
1720
|
}
|
|
1657
1721
|
}
|
|
1658
1722
|
retried = continuing && !setup.dryRun ? noteRetries(planned, stagingDir, ctx.previous, true).errored : errored;
|
|
1659
|
-
const models = skipped.some((p) => !p.attempt.plan.skip && p.attempt.plan.questions?.length) ? await import("./model-
|
|
1723
|
+
const models = skipped.some((p) => !p.attempt.plan.skip && p.attempt.plan.questions?.length) ? await import("./model-BYHXnYLe.js") : void 0;
|
|
1660
1724
|
const judge = runJudgeModel(config, profile);
|
|
1661
1725
|
const judgeModel = judge === void 0 ? null : judgeModelName(judge);
|
|
1662
1726
|
plan = await buildPlan({
|
|
@@ -1676,7 +1740,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1676
1740
|
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))] : [];
|
|
1677
1741
|
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`);
|
|
1678
1742
|
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))] : [];
|
|
1679
|
-
const { podmanRootless } = await import("./providers-
|
|
1743
|
+
const { podmanRootless } = await import("./providers-Bm5NLaRh.js");
|
|
1680
1744
|
if (switching.length && await podmanRootless()) plan.warnings.push(rootlessPodmanSwitch(switching));
|
|
1681
1745
|
plan.warnings.push(...started.notes);
|
|
1682
1746
|
if (started.narrowed) {
|
|
@@ -1692,7 +1756,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1692
1756
|
run.completed = [...completed];
|
|
1693
1757
|
const done = leftOut.filter((l) => l.done).map((l) => l.key);
|
|
1694
1758
|
kept = keptAttempts([...completed, ...done], stagingDir, ctx.previous);
|
|
1695
|
-
const { imageStages, imageTargets } = await import("./images-
|
|
1759
|
+
const { imageStages, imageTargets } = await import("./images-JspTw1vt.js");
|
|
1696
1760
|
const targets = imageTargets(skipped.filter((p) => !p.attempt.plan.skip).map((p) => ({
|
|
1697
1761
|
id: p.attempt.family?.id ?? p.id,
|
|
1698
1762
|
harness: p.attempt.harness,
|
|
@@ -1706,7 +1770,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1706
1770
|
evals: t.evals,
|
|
1707
1771
|
stages: await imageStages(t, config.root)
|
|
1708
1772
|
})));
|
|
1709
|
-
const { lockfiles } = await import("./state-
|
|
1773
|
+
const { lockfiles } = await import("./state-Bvsi2WgZ.js");
|
|
1710
1774
|
const locks = (await lockfiles(config.root)).map(({ path }) => ({
|
|
1711
1775
|
path: join(config.root, path),
|
|
1712
1776
|
kind: "lockfile"
|
|
@@ -1721,7 +1785,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1721
1785
|
judges: running.flatMap((p) => p.attempt.judge ? [p.attempt.judge] : [])
|
|
1722
1786
|
});
|
|
1723
1787
|
for (const { names } of needed) for (const name of names) secrets.add(name);
|
|
1724
|
-
const { notCloud } = await import("./cloud-run-
|
|
1788
|
+
const { notCloud } = await import("./cloud-run-CghE2dG6.js");
|
|
1725
1789
|
const blocked = notCloud(skipped);
|
|
1726
1790
|
const doc = {
|
|
1727
1791
|
...planDocument(plan, skipped, excluded, images, inputs, [...secrets].sort()),
|
|
@@ -1732,13 +1796,13 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1732
1796
|
return false;
|
|
1733
1797
|
}
|
|
1734
1798
|
const elsewhere = setup.configElsewhere ? configFile : void 0;
|
|
1735
|
-
const { scratchDir } = await import("./files-
|
|
1799
|
+
const { scratchDir } = await import("./files-BnsRehge.js");
|
|
1736
1800
|
const lines = [];
|
|
1737
1801
|
if (setup.dryRun) {
|
|
1738
1802
|
const todos = excluded.filter((e) => e.mode === "todo").map((e) => e.id);
|
|
1739
1803
|
lines.push(...planTable(plan, todos));
|
|
1740
|
-
const { imageStatusLines } = await import("./images-
|
|
1741
|
-
const { dockerAvailable, engineSpec } = await import("./src-
|
|
1804
|
+
const { imageStatusLines } = await import("./images-JspTw1vt.js");
|
|
1805
|
+
const { dockerAvailable, engineSpec } = await import("./src-B2psni1B.js");
|
|
1742
1806
|
const engines = [...new Set(targets.map((t) => t.sandbox.engine ?? "docker"))];
|
|
1743
1807
|
const down = [];
|
|
1744
1808
|
for (const engine of engines) if (!await dockerAvailable(engine)) down.push(engine);
|
|
@@ -1833,7 +1897,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1833
1897
|
});
|
|
1834
1898
|
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.`);
|
|
1835
1899
|
if (asked.length) {
|
|
1836
|
-
const { questionRunner } = await import("./questions-
|
|
1900
|
+
const { questionRunner } = await import("./questions-BqisU7A0.js");
|
|
1837
1901
|
const warned = /* @__PURE__ */ new Set();
|
|
1838
1902
|
questions = questionRunner({
|
|
1839
1903
|
evals: asked,
|
|
@@ -1875,7 +1939,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1875
1939
|
}
|
|
1876
1940
|
});
|
|
1877
1941
|
}
|
|
1878
|
-
const { prepareWorkspaces, sameTreeArms, workspaceKey } = await import("./workspace-
|
|
1942
|
+
const { prepareWorkspaces, sameTreeArms, workspaceKey } = await import("./workspace-D8HqjfsQ.js");
|
|
1879
1943
|
const live = skipped.filter((p) => !p.attempt.plan.skip);
|
|
1880
1944
|
const outcomes = await prepareWorkspaces(live.flatMap(({ attempt: a }) => a.workspace ? [{
|
|
1881
1945
|
workspace: a.workspace,
|
|
@@ -1971,23 +2035,41 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1971
2035
|
};
|
|
1972
2036
|
let engineRun;
|
|
1973
2037
|
let cutShort = false;
|
|
1974
|
-
const { MACHINES, MachineService } = await import("./machine-service-
|
|
2038
|
+
const { MACHINES, MachineService } = await import("./machine-service-XFymGCHj.js");
|
|
1975
2039
|
const machines = new MachineService();
|
|
1976
|
-
const { TRACE } = await import("./spans-
|
|
1977
|
-
const { RunTrace } = await import("./run-
|
|
1978
|
-
const {
|
|
1979
|
-
const exporting = otlpTarget(process.env);
|
|
2040
|
+
const { TRACE } = await import("./spans-B4MwgEyy.js");
|
|
2041
|
+
const { RunTrace } = await import("./run-D_o_8Fkv.js");
|
|
2042
|
+
const { otlpConfigured } = await import("./otlp-BxPnO99e.js");
|
|
1980
2043
|
let exported = Promise.resolve(null);
|
|
1981
2044
|
let runStarted = false;
|
|
2045
|
+
let telemetry = null;
|
|
1982
2046
|
const trace = setup.dryRun ? void 0 : new RunTrace({
|
|
1983
2047
|
dir: stagingDir,
|
|
1984
2048
|
runId,
|
|
1985
|
-
|
|
2049
|
+
onSpan: (span) => telemetry?.span(span),
|
|
1986
2050
|
attributes: {
|
|
1987
2051
|
"reeval.version": version,
|
|
1988
2052
|
...profile && { "reeval.profile": profile.name }
|
|
1989
2053
|
}
|
|
1990
2054
|
}).install();
|
|
2055
|
+
if (trace && otlpConfigured(process.env)) telemetry = (await import("./telemetry-bBhK3DSs.js")).startTelemetry({
|
|
2056
|
+
version,
|
|
2057
|
+
traceId: trace.traceId,
|
|
2058
|
+
spanId: trace.spanId,
|
|
2059
|
+
runId,
|
|
2060
|
+
filesystems: {
|
|
2061
|
+
project: config.root,
|
|
2062
|
+
staging: stagingDir
|
|
2063
|
+
}
|
|
2064
|
+
});
|
|
2065
|
+
if (telemetry) {
|
|
2066
|
+
const onEvent = renderer.onEvent.bind(renderer);
|
|
2067
|
+
const exporting = telemetry;
|
|
2068
|
+
renderer.onEvent = (e) => {
|
|
2069
|
+
exporting.event(e);
|
|
2070
|
+
onEvent(e);
|
|
2071
|
+
};
|
|
2072
|
+
}
|
|
1991
2073
|
try {
|
|
1992
2074
|
engineRun = await runEngine({
|
|
1993
2075
|
run,
|
|
@@ -2103,13 +2185,14 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
2103
2185
|
} finally {
|
|
2104
2186
|
clearTimeout(budgetTimer);
|
|
2105
2187
|
await machines.close();
|
|
2106
|
-
|
|
2188
|
+
trace?.close({
|
|
2107
2189
|
status: interrupted ? "interrupted" : reached ? "budget" : "ran",
|
|
2108
2190
|
started: runStarted
|
|
2109
|
-
})
|
|
2110
|
-
|
|
2191
|
+
});
|
|
2192
|
+
if (telemetry) exported = telemetry.close();
|
|
2193
|
+
const { removePrepared } = await import("./preflight-DXMD6jou.js");
|
|
2111
2194
|
removePrepared(config.root, runId);
|
|
2112
|
-
const { removePreparedWorkspaces } = await import("./workspace-
|
|
2195
|
+
const { removePreparedWorkspaces } = await import("./workspace-D8HqjfsQ.js");
|
|
2113
2196
|
removePreparedWorkspaces(config.root, runId);
|
|
2114
2197
|
}
|
|
2115
2198
|
if (preflightStop) throw preflightStop;
|
|
@@ -2198,4 +2281,4 @@ run(process.argv.slice(2)).finally(() => {
|
|
|
2198
2281
|
});
|
|
2199
2282
|
export {};
|
|
2200
2283
|
|
|
2201
|
-
//# sourceMappingURL=cli-
|
|
2284
|
+
//# sourceMappingURL=cli-BoCPYLUQ.js.map
|