reeval 0.24.0 → 0.25.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 +40 -0
- package/README.md +16 -16
- package/THIRD_PARTY_NOTICES.md +0 -2068
- package/assets/package.json +1 -1
- package/assets/pnpm-lock.yaml +65 -50
- package/dist/{adapter-dHdepWKb.js → adapter-vLxVtLdk.js} +7 -7
- package/dist/{adapter-dHdepWKb.js.map → adapter-vLxVtLdk.js.map} +1 -1
- package/dist/{agent-CZpiwA_r.js → agent-DN36i629.js} +8 -8
- package/dist/{agent-CZpiwA_r.js.map → agent-DN36i629.js.map} +1 -1
- package/dist/{agents-CEapsHV-.js → agents-Bp40Y7Lk.js} +40 -59
- package/dist/agents-Bp40Y7Lk.js.map +1 -0
- package/dist/{analysis-BnG_1x_O.js → analysis-8vvMnUJB.js} +4 -5
- package/dist/analysis-8vvMnUJB.js.map +1 -0
- package/dist/api-ZeGnedB3.js +141 -0
- package/dist/api-ZeGnedB3.js.map +1 -0
- package/dist/assemble-ChNVeWNr.js +1 -0
- package/dist/{assemble-Dw1bF13I.js → assemble-DsllweEG.js} +116 -65
- package/dist/assemble-DsllweEG.js.map +1 -0
- package/dist/{attach-DvYiMu6w.js → attach-DFf2hFl7.js} +5 -5
- package/dist/{attach-DvYiMu6w.js.map → attach-DFf2hFl7.js.map} +1 -1
- package/dist/{attempt-DxR1agFo.js → attempt-CfwXgF2q.js} +2 -2
- package/dist/{attempt-DxR1agFo.js.map → attempt-CfwXgF2q.js.map} +1 -1
- package/dist/{attempt-host-DgeJFSZw.js → attempt-host-XyyFR6jc.js} +36 -13
- package/dist/attempt-host-XyyFR6jc.js.map +1 -0
- package/dist/boat-BCNNEJni.js +298 -0
- package/dist/boat-BCNNEJni.js.map +1 -0
- package/dist/{boat-CUNgSc75.js → boat-CNUnhvWH.js} +114 -195
- package/dist/boat-CNUnhvWH.js.map +1 -0
- package/dist/boat-DRTQHXlj.js +1 -0
- package/dist/{boat-images-BuFigiEb.js → boat-images-B0MsRBFx.js} +19 -23
- package/dist/boat-images-B0MsRBFx.js.map +1 -0
- package/dist/{bundle-yEgI3RsI.js → bundle-B1v8DEEX.js} +20 -15
- package/dist/bundle-B1v8DEEX.js.map +1 -0
- package/dist/{capture-DdEKVrwk.js → capture-BAtaw-L-.js} +20 -19
- package/dist/{capture-DdEKVrwk.js.map → capture-BAtaw-L-.js.map} +1 -1
- package/dist/capture-DOHR_KXl.js +1 -0
- package/dist/cases-Bsp-G-ZL.js +1 -0
- package/dist/{cases-B7QkvMGE.js → cases-C6vnV-gn.js} +60 -42
- package/dist/cases-C6vnV-gn.js.map +1 -0
- package/dist/classify-BIJQ2Xqo.js +163 -0
- package/dist/classify-BIJQ2Xqo.js.map +1 -0
- package/dist/{cli-Z7aw8k25.js → cli-BFfZy9Ax.js} +206 -108
- package/dist/cli-BFfZy9Ax.js.map +1 -0
- package/dist/{cli-spec-3zvLC9YW.js → cli-spec-Bj2z-4Pa.js} +142 -41
- package/dist/cli-spec-Bj2z-4Pa.js.map +1 -0
- package/dist/cli.js +2 -2
- package/dist/client-Dj65gXG3.js +105 -0
- package/dist/client-Dj65gXG3.js.map +1 -0
- package/dist/{cloud-DuHcNQVV.js → cloud-DgMSxpCk.js} +42 -19
- package/dist/cloud-DgMSxpCk.js.map +1 -0
- package/dist/{cloud-owVBaSRt.js → cloud-TuNUlZ0L.js} +3 -3
- package/dist/{cloud-owVBaSRt.js.map → cloud-TuNUlZ0L.js.map} +1 -1
- package/dist/{cloud-files-BjinrTTe.js → cloud-files-BjoNhDJs.js} +8 -8
- package/dist/{cloud-files-BjinrTTe.js.map → cloud-files-BjoNhDJs.js.map} +1 -1
- package/dist/cloud-project-B1lN8D9m.js +1 -0
- package/dist/cloud-project-Dh17iadw.js +110 -0
- package/dist/cloud-project-Dh17iadw.js.map +1 -0
- package/dist/cloud-push-CdYqsM34.js +817 -0
- package/dist/cloud-push-CdYqsM34.js.map +1 -0
- package/dist/cloud-push-GXvEYHoa.js +1 -0
- package/dist/cloud-run-BfFCs6Fm.js +1 -0
- package/dist/{cloud-run-DqMkSGYB.js → cloud-run-CZOpabN1.js} +38 -21
- package/dist/cloud-run-CZOpabN1.js.map +1 -0
- package/dist/cloud-secrets-BskXM_2n.js +1 -0
- package/dist/{cloud-secrets-Bak83tik.js → cloud-secrets-DrrgGOF_.js} +42 -34
- package/dist/cloud-secrets-DrrgGOF_.js.map +1 -0
- package/dist/{command-efTGfUYb.js → command-Bic6f84Y.js} +25 -15
- package/dist/command-Bic6f84Y.js.map +1 -0
- package/dist/{command-CeygdoVe.js → command-C7m3ZoXS.js} +92 -26
- package/dist/command-C7m3ZoXS.js.map +1 -0
- package/dist/{command-CoHN1ibe.js → command-DHrT6YVl.js} +2 -2
- package/dist/{command-CoHN1ibe.js.map → command-DHrT6YVl.js.map} +1 -1
- package/dist/command-DMwSLfJT.js +141 -0
- package/dist/command-DMwSLfJT.js.map +1 -0
- package/dist/{command-CtmSJzPC.js → command-DP8sQ-dk.js} +28 -22
- package/dist/command-DP8sQ-dk.js.map +1 -0
- package/dist/{commands-DR-NolV2.js → commands-BPLexk6R.js} +54 -38
- package/dist/commands-BPLexk6R.js.map +1 -0
- package/dist/commands-D8D7ZJ0I.js +1 -0
- package/dist/{config-Bn2OhCN_.js → config-DQqcGmz7.js} +45 -31
- package/dist/config-DQqcGmz7.js.map +1 -0
- package/dist/core-BXYzOEyQ.js +2058 -0
- package/dist/core-BXYzOEyQ.js.map +1 -0
- package/dist/{slug-IHh3f770.js → cost-DQ0ayy6h.js} +37 -2
- package/dist/cost-DQ0ayy6h.js.map +1 -0
- package/dist/{cursor-catalog-BYIDSsLn.js → cursor-catalog-DQCmwsX3.js} +4 -4
- package/dist/{cursor-catalog-BYIDSsLn.js.map → cursor-catalog-DQCmwsX3.js.map} +1 -1
- package/dist/{daytona-CWs9j9mt.js → daytona-DOeJzXl_.js} +21 -16
- package/dist/daytona-DOeJzXl_.js.map +1 -0
- package/dist/{daytona-image-DmGlFAyq.js → daytona-image-B9JpVeP5.js} +6 -6
- package/dist/{daytona-image-DmGlFAyq.js.map → daytona-image-B9JpVeP5.js.map} +1 -1
- package/dist/daytona-image-BsCbvDGn.js +1 -0
- package/dist/db-BqFlDMmS.js +1 -0
- package/dist/{db-D6yQib7M.js → db-DU3fgU0h.js} +31 -119
- package/dist/db-DU3fgU0h.js.map +1 -0
- package/dist/debug-CGg7KHKq.js +1 -0
- package/dist/{debug-CIXzB4wK.js → debug-T29p6HOX.js} +2 -10
- package/dist/debug-T29p6HOX.js.map +1 -0
- package/dist/{default-effort-Bpz5ULfC.js → default-effort-BFl6WLBi.js} +3 -3
- package/dist/{default-effort-Bpz5ULfC.js.map → default-effort-BFl6WLBi.js.map} +1 -1
- package/dist/{default-effort-Ck6ViSaI.js → default-effort-C6Gcd-Fy.js} +1 -1
- package/dist/{dist-CZtW7eI5.js → dist-DCG7vZGQ.js} +3 -3
- package/dist/{dist-CZtW7eI5.js.map → dist-DCG7vZGQ.js.map} +1 -1
- package/dist/{docker-Bbi4kmFj.js → docker-B5YBmpPz.js} +1 -1
- package/dist/{docker-Dgw4aaRk.js → docker-hIo_H0W0.js} +3 -3
- package/dist/{docker-Dgw4aaRk.js.map → docker-hIo_H0W0.js.map} +1 -1
- package/dist/{doctor-BfS6jswW.js → doctor-DGWbvYtu.js} +26 -26
- package/dist/{doctor-BfS6jswW.js.map → doctor-DGWbvYtu.js.map} +1 -1
- package/dist/duration-Bz2H7pXb.js +34 -0
- package/dist/duration-Bz2H7pXb.js.map +1 -0
- package/dist/{environment-BY8lVFFK.js → environment-WC8PrLoe.js} +11 -8
- package/dist/environment-WC8PrLoe.js.map +1 -0
- package/dist/errors-BjzEWESY.js +93 -0
- package/dist/errors-BjzEWESY.js.map +1 -0
- package/dist/{errors-P8oHhNzy.js → errors-Cda7UzRA.js} +2 -2
- package/dist/{errors-P8oHhNzy.js.map → errors-Cda7UzRA.js.map} +1 -1
- package/dist/{eval-source-BB8In3xo.js → eval-source-DL1HOi8U.js} +5 -5
- package/dist/{eval-source-BB8In3xo.js.map → eval-source-DL1HOi8U.js.map} +1 -1
- package/dist/{evaluate-B8I9AKgw.js → evaluate-DHnD8yzq.js} +268 -57
- package/dist/evaluate-DHnD8yzq.js.map +1 -0
- package/dist/{evaluate-B9_nukrc.d.ts → evaluate-Nnh0iPuo.d.ts} +1 -1
- package/dist/{events-D97ZzAeq.js → events-oe84EOLK.js} +151 -32
- package/dist/{events-D97ZzAeq.js.map → events-oe84EOLK.js.map} +1 -1
- package/dist/{fake-bootstrap-4DFtzib0.js → fake-bootstrap-Ct1qEs-Z.js} +2 -2
- package/dist/{fake-bootstrap-4DFtzib0.js.map → fake-bootstrap-Ct1qEs-Z.js.map} +1 -1
- package/dist/files-2fO6iaJG.js +1 -0
- package/dist/{files-GBTUBAek.js → files-4Qt4KUyR.js} +3 -3
- package/dist/{files-GBTUBAek.js.map → files-4Qt4KUyR.js.map} +1 -1
- package/dist/{files-TwSVeWwM.js → files-4XWe_gow.js} +26 -40
- package/dist/files-4XWe_gow.js.map +1 -0
- package/dist/files-63CNzRBF.js +1 -0
- package/dist/files-BDkCNIEh.js +1 -0
- package/dist/{files-B0DbptiO.js → files-Bv6ipFjc.js} +4 -4
- package/dist/{files-B0DbptiO.js.map → files-Bv6ipFjc.js.map} +1 -1
- package/dist/{files-DE13BqBC.js → files-ClUbQPj9.js} +2 -2
- package/dist/{files-DE13BqBC.js.map → files-ClUbQPj9.js.map} +1 -1
- package/dist/{files-BesexM88.js → files-CzgXLYGq.js} +172 -40
- package/dist/files-CzgXLYGq.js.map +1 -0
- package/dist/files-DCcRkJN4.js +1 -0
- package/dist/{files-B4K1k__s.js → files-DW8y3WCx.js} +5 -5
- package/dist/{files-B4K1k__s.js.map → files-DW8y3WCx.js.map} +1 -1
- package/dist/gateway.d.ts +1 -1
- package/dist/{git-DatgUcnf.js → git-CiCya2yZ.js} +2 -2
- package/dist/{git-DatgUcnf.js.map → git-CiCya2yZ.js.map} +1 -1
- package/dist/{harness-FcTyyPco.js → harness-Dcd3ffkY.js} +3 -2
- package/dist/harness-Dcd3ffkY.js.map +1 -0
- package/dist/{harness-EZNoeUBf.js → harness-DvqNGwl6.js} +2 -2
- package/dist/{harness-EZNoeUBf.js.map → harness-DvqNGwl6.js.map} +1 -1
- package/dist/{harness-install-HgR73tpF.js → harness-install-BSet5fE5.js} +4 -4
- package/dist/{harness-install-HgR73tpF.js.map → harness-install-BSet5fE5.js.map} +1 -1
- package/dist/harness.d.ts +1 -1
- package/dist/harness.js +1 -1
- package/dist/http-DtlSzw4A.js +96 -0
- package/dist/http-DtlSzw4A.js.map +1 -0
- package/dist/{ids-DqEvrBFZ.js → ids-CtxRn13a.js} +4 -3
- package/dist/ids-CtxRn13a.js.map +1 -0
- package/dist/{images-SRE4f3SM.js → images-BkJn7NHU.js} +13 -13
- package/dist/{images-SRE4f3SM.js.map → images-BkJn7NHU.js.map} +1 -1
- package/dist/index.d.ts +7 -2
- package/dist/index.js +4 -5
- package/dist/init-BOYNr3Ql.js +1 -0
- package/dist/{init-D5F9MYPC.js → init-CAJvEKEt.js} +6 -6
- package/dist/{init-D5F9MYPC.js.map → init-CAJvEKEt.js.map} +1 -1
- package/dist/{ink-list-CLq6YVB8.js → ink-list-BJIKlKpN.js} +2 -2
- package/dist/{ink-list-CLq6YVB8.js.map → ink-list-BJIKlKpN.js.map} +1 -1
- package/dist/{inputs-B_FsOD2N.js → inputs-CjhDEzr4.js} +6 -6
- package/dist/{inputs-B_FsOD2N.js.map → inputs-CjhDEzr4.js.map} +1 -1
- package/dist/inputs-load-C8HEtAej.js +1 -0
- package/dist/{inputs-load-B4MFkp0Q.js → inputs-load-DQRC3dUA.js} +3 -3
- package/dist/{inputs-load-B4MFkp0Q.js.map → inputs-load-DQRC3dUA.js.map} +1 -1
- package/dist/internal/vm-api/boat.d.ts +46 -0
- package/dist/internal/vm-api/boat.js +1 -0
- package/dist/internal/vm-api/daytona.d.ts +26 -0
- package/dist/internal/vm-api/daytona.js +220 -0
- package/dist/internal/vm-api/daytona.js.map +1 -0
- package/dist/internal/vm-api.d.ts +86 -0
- package/dist/internal/vm-api.js +3 -0
- package/dist/internal/vm.d.ts +1 -1
- package/dist/internal/vm.js +1 -1
- package/dist/{invocations-BxQqe5GU.js → invocations-DUFiIb_S.js} +4 -4
- package/dist/{invocations-BxQqe5GU.js.map → invocations-DUFiIb_S.js.map} +1 -1
- package/dist/{issue-iErT9KkK.js → issue-BKMnnit3.js} +4 -4
- package/dist/{issue-iErT9KkK.js.map → issue-BKMnnit3.js.map} +1 -1
- package/dist/issue-esBvB5Df.js +1 -0
- package/dist/{jiti-CtahaHaY.js → jiti-aNfS_lSj.js} +2 -2
- package/dist/{jiti-CtahaHaY.js.map → jiti-aNfS_lSj.js.map} +1 -1
- package/dist/{judge-MOKPsr6R.js → judge-_fsdF4YB.js} +4 -4
- package/dist/{judge-MOKPsr6R.js.map → judge-_fsdF4YB.js.map} +1 -1
- package/dist/judge.d.ts +1 -1
- package/dist/judge.js +1 -1
- package/dist/{judgments-Dur4D2pj.js → judgments-CVCUWT-g.js} +7 -4
- package/dist/{judgments-Dur4D2pj.js.map → judgments-CVCUWT-g.js.map} +1 -1
- package/dist/{kinds-Dohijzi-.js → kinds-5utDFJ15.js} +35 -11
- package/dist/{kinds-Dohijzi-.js.map → kinds-5utDFJ15.js.map} +1 -1
- package/dist/labels-Dtyf5-pd.js +251 -0
- package/dist/labels-Dtyf5-pd.js.map +1 -0
- package/dist/{layout-BhhJAEgf.js → layout-Co4tPHWI.js} +3 -3
- package/dist/{layout-BhhJAEgf.js.map → layout-Co4tPHWI.js.map} +1 -1
- package/dist/link-Dat_O7Gn.js +128 -0
- package/dist/link-Dat_O7Gn.js.map +1 -0
- package/dist/{list-ClDb8qiX.js → list-CjcNH-5e.js} +10 -7
- package/dist/list-CjcNH-5e.js.map +1 -0
- package/dist/live-BElpkw5b.js +56 -0
- package/dist/live-BElpkw5b.js.map +1 -0
- package/dist/{live-QFILMmql.js → live-BRF0ogR6.js} +3 -5
- package/dist/live-BRF0ogR6.js.map +1 -0
- package/dist/{machine-service-DpJScNtA.js → machine-service-Cymfk7E-.js} +1 -1
- package/dist/{machine-service-xFhakTs5.js → machine-service-DYdTM_rW.js} +146 -13
- package/dist/machine-service-DYdTM_rW.js.map +1 -0
- package/dist/{machines-Cm-rU7jp.js → machines-B6rS9-Xu.js} +25 -25
- package/dist/{machines-Cm-rU7jp.js.map → machines-B6rS9-Xu.js.map} +1 -1
- package/dist/markdown-COts-jxf.js +653 -0
- package/dist/markdown-COts-jxf.js.map +1 -0
- package/dist/{model-Rmv-L9Jb.js → model-BdLvfSQO.js} +1 -1
- package/dist/{model-CcvSrrq9.js → model-CIMBjBS7.js} +4 -4
- package/dist/{model-CcvSrrq9.js.map → model-CIMBjBS7.js.map} +1 -1
- package/dist/model-CrsA2Evf.js +1 -0
- package/dist/{model-D9WMMEWD.js → model-oBFmfzES.js} +4 -4
- package/dist/{model-D9WMMEWD.js.map → model-oBFmfzES.js.map} +1 -1
- package/dist/{model-mTaaEkeQ.js → model-xemZQ7DK.js} +251 -65
- package/dist/model-xemZQ7DK.js.map +1 -0
- package/dist/{node-Bl2CtSjB.js → node-DyRPGAT5.js} +18 -7
- package/dist/{node-Bl2CtSjB.js.map → node-DyRPGAT5.js.map} +1 -1
- package/dist/options-CeIRZslO.js +1 -0
- package/dist/otlp-ehLWBhVL.js +123 -0
- package/dist/otlp-ehLWBhVL.js.map +1 -0
- package/dist/outcome-1LBk2e3w.js +38 -0
- package/dist/outcome-1LBk2e3w.js.map +1 -0
- package/dist/{patch-DhJDHRFs.js → patch-BgSw3TXR.js} +3 -3
- package/dist/{patch-DhJDHRFs.js.map → patch-BgSw3TXR.js.map} +1 -1
- package/dist/{patch-C7yBztZj.js → patch-uwo6t4Zy.js} +26 -2
- package/dist/patch-uwo6t4Zy.js.map +1 -0
- package/dist/{pi-providers-HygmL1y-.js → pi-providers-BjcQv2A1.js} +23 -9
- package/dist/{pi-providers-HygmL1y-.js.map → pi-providers-BjcQv2A1.js.map} +1 -1
- package/dist/{plain-Ctn8oUdp.js → plain-DXUNwqpO.js} +2 -2
- package/dist/{plain-Ctn8oUdp.js.map → plain-DXUNwqpO.js.map} +1 -1
- package/dist/{plan-CC0bKbm9.js → plan-x-_vZMQH.js} +9 -9
- package/dist/{plan-CC0bKbm9.js.map → plan-x-_vZMQH.js.map} +1 -1
- package/dist/{plugins-PwEtW8GH.js → plugins-0DuNw_c5.js} +6 -6
- package/dist/{plugins-PwEtW8GH.js.map → plugins-0DuNw_c5.js.map} +1 -1
- package/dist/{preflight-DEV_vrdB.js → preflight-0Wt3wufx.js} +1 -1
- package/dist/preflight-CKrvQ-of.js +1 -0
- package/dist/{preflight-BzvLYQ70.js → preflight-CUc-Y1d3.js} +9 -9
- package/dist/{preflight-BzvLYQ70.js.map → preflight-CUc-Y1d3.js.map} +1 -1
- package/dist/{preflight-BHUEfA4m.js → preflight-Cce8YEPE.js} +4 -4
- package/dist/{preflight-BHUEfA4m.js.map → preflight-Cce8YEPE.js.map} +1 -1
- package/dist/{prepare-DS42k409.js → prepare-Bj8KzeBU.js} +2 -2
- package/dist/{prepare-D7hPrh7Q.js → prepare-FXc1YcxO.js} +8 -8
- package/dist/{prepare-D7hPrh7Q.js.map → prepare-FXc1YcxO.js.map} +1 -1
- package/dist/prices-CfnkJOth.js +1 -0
- package/dist/{prices-DXJsP2Ha.js → prices-CoLymMRd.js} +3 -3
- package/dist/{prices-DXJsP2Ha.js.map → prices-CoLymMRd.js.map} +1 -1
- package/dist/{process-RPlEhpHz.js → process-B86Nvm4J.js} +2 -2
- package/dist/{process-RPlEhpHz.js.map → process-B86Nvm4J.js.map} +1 -1
- package/dist/provenance-Cylt_YxT.d.ts +222 -0
- package/dist/{provenance-DgQJ-dq7.js → provenance-DDZGWE4O.js} +4 -4
- package/dist/{provenance-DgQJ-dq7.js.map → provenance-DDZGWE4O.js.map} +1 -1
- package/dist/provider-B24hZX95.js +1 -0
- package/dist/{provider-ieWOn4YS.js → provider-Cn7lmECy.js} +2 -2
- package/dist/{provider-ieWOn4YS.js.map → provider-Cn7lmECy.js.map} +1 -1
- package/dist/{provider-stop-CxzWW7Ft.js → provider-stop-DjBMfZW5.js} +2 -2
- package/dist/{provider-stop-CxzWW7Ft.js.map → provider-stop-DjBMfZW5.js.map} +1 -1
- package/dist/{providers-N4HDMeeo.js → providers-BPujoqQM.js} +1 -1
- package/dist/{providers-B5Vr0hKH.js → providers-Cqb25Aq1.js} +28 -28
- package/dist/{providers-B5Vr0hKH.js.map → providers-Cqb25Aq1.js.map} +1 -1
- package/dist/{query-CmTjYbqh.js → query-C_lwW-ok.js} +2 -2
- package/dist/{query-CmTjYbqh.js.map → query-C_lwW-ok.js.map} +1 -1
- package/dist/query-DzS1Z4bw.js +1 -0
- package/dist/{questions-DnqkJga0.js → questions-DRPM7pky.js} +17 -11
- package/dist/questions-DRPM7pky.js.map +1 -0
- package/dist/{recipe-B0NeT_Sn.js → recipe-CV_EifJk.js} +4 -4
- package/dist/{recipe-B0NeT_Sn.js.map → recipe-CV_EifJk.js.map} +1 -1
- package/dist/{record-2liAelrB.js → record-Cj3yWR0E.js} +43 -12
- package/dist/record-Cj3yWR0E.js.map +1 -0
- package/dist/{remarks-D5qOZzcX.js → remarks-BPKGorBW.js} +4 -2
- package/dist/remarks-BPKGorBW.js.map +1 -0
- package/dist/{remarks-D-9f1y1B.js → remarks-Bded6YeV.js} +21 -11
- package/dist/{remarks-D-9f1y1B.js.map → remarks-Bded6YeV.js.map} +1 -1
- package/dist/{remote-B7BIRUTK.js → remote-DMuAUedR.js} +10 -8
- package/dist/{remote-B7BIRUTK.js.map → remote-DMuAUedR.js.map} +1 -1
- package/dist/renderer/ascii.d.ts +6 -0
- package/dist/renderer/ascii.js +7 -0
- package/dist/renderer/ascii.js.map +1 -0
- package/dist/renderer/markdown.d.ts +31 -0
- package/dist/renderer/markdown.js +1 -0
- package/dist/report-BSi-R8hC.js +941 -0
- package/dist/report-BSi-R8hC.js.map +1 -0
- package/dist/report-inputs-JhiwKAZH.js +113 -0
- package/dist/report-inputs-JhiwKAZH.js.map +1 -0
- package/dist/{resolve-B60w6DcB.js → resolve-BEltmYhD.js} +6 -5
- package/dist/resolve-BEltmYhD.js.map +1 -0
- package/dist/resolve-s6JzFZu0.js +1 -0
- package/dist/{resolve-t9sOkGGS.js → resolve-usf6ejs_.js} +24 -12
- package/dist/{resolve-t9sOkGGS.js.map → resolve-usf6ejs_.js.map} +1 -1
- package/dist/{results-Df910ONm.js → results-rYLTGa1F.js} +11 -7
- package/dist/{results-Df910ONm.js.map → results-rYLTGa1F.js.map} +1 -1
- package/dist/{resume-4Q9q8AcE.js → resume-aGIZhM58.js} +6 -6
- package/dist/{resume-4Q9q8AcE.js.map → resume-aGIZhM58.js.map} +1 -1
- package/dist/{retry-C15f5yyy.js → retry-BNFAHTES.js} +5 -5
- package/dist/{retry-C15f5yyy.js.map → retry-BNFAHTES.js.map} +1 -1
- package/dist/{root-Cm93-6ix.js → root-Co0jhOT5.js} +2 -2
- package/dist/{root-Cm93-6ix.js.map → root-Co0jhOT5.js.map} +1 -1
- package/dist/run-DSKRllpd.js +127 -0
- package/dist/run-DSKRllpd.js.map +1 -0
- package/dist/{client-kUwtq-vt.js → runtime-B2zv9GPL.js} +525 -105
- package/dist/runtime-B2zv9GPL.js.map +1 -0
- package/dist/sandbox/boat.d.ts +1 -1
- package/dist/sandbox/boat.js +2 -2
- package/dist/sandbox/daytona.d.ts +1 -1
- package/dist/sandbox/daytona.js +1 -1
- package/dist/{sandbox-BffNervX.js → sandbox-DbTHBA7g.js} +3 -3
- package/dist/{sandbox-BffNervX.js.map → sandbox-DbTHBA7g.js.map} +1 -1
- package/dist/sandbox.d.ts +1 -1
- package/dist/sandbox.js +1 -1
- package/dist/{secrets-file-Dtd3h3kY.js → secrets-file-BEScYC3S.js} +3 -3
- package/dist/{secrets-file-Dtd3h3kY.js.map → secrets-file-BEScYC3S.js.map} +1 -1
- package/dist/server-BIqAFNjF.js +1 -0
- package/dist/server-Dc-V_-C1.js +204 -0
- package/dist/server-Dc-V_-C1.js.map +1 -0
- package/dist/{services-BG8xuU82.js → services-CHh83UDC.js} +4 -2
- package/dist/services-CHh83UDC.js.map +1 -0
- package/dist/{shared-DtZwIAfy.js → shared-bXaqVxk-.js} +5 -34
- package/dist/shared-bXaqVxk-.js.map +1 -0
- package/dist/skill-dirs-B7o83G5I.js +63 -0
- package/dist/skill-dirs-B7o83G5I.js.map +1 -0
- package/dist/{source-zoRWRMql.js → source-BodZTD70.js} +33 -18
- package/dist/source-BodZTD70.js.map +1 -0
- package/dist/source-BtdFbZLW.js +1 -0
- package/dist/spans-C3FlFC22.js +1 -0
- package/dist/spans-Dq3fo6HM.js +6 -0
- package/dist/spans-Dq3fo6HM.js.map +1 -0
- package/dist/spans-WvAmJF2z.js +72 -0
- package/dist/spans-WvAmJF2z.js.map +1 -0
- package/dist/{src-CUrcaZ91.js → src-AAdLbAn2.js} +1 -1
- package/dist/{src-DiS13D_q.js → src-BbaLTc-p.js} +2 -2
- package/dist/src-BjiNaGf5.js +2 -0
- package/dist/{src-CFBg2ecq.js → src-BkkdN2w0.js} +2 -2
- package/dist/{src-OC89dAjO.js → src-BzeiF5Lh.js} +147 -24
- package/dist/src-BzeiF5Lh.js.map +1 -0
- package/dist/{src-TMKittwH.js → src-CfPSD_GS.js} +2 -2
- package/dist/{src-CDoAEO4u.js → src-ClMhIgi3.js} +2 -2
- package/dist/{src-CDoAEO4u.js.map → src-ClMhIgi3.js.map} +1 -1
- package/dist/{src-Bj3WJs3t.js → src-D5i8gCa3.js} +2 -2
- package/dist/{src-Bb3k9Kn_.js → src-DDIV_RfE.js} +65 -10
- package/dist/{src-Bb3k9Kn_.js.map → src-DDIV_RfE.js.map} +1 -1
- package/dist/src-DXZXofCJ.js +1 -0
- package/dist/src-Db01fVzc.js +2 -0
- package/dist/{src-DwcTn4JY.js → src-DhZuOcgq.js} +5 -5
- package/dist/{src-DwcTn4JY.js.map → src-DhZuOcgq.js.map} +1 -1
- package/dist/{src-CcbV6VpV.js → src-DiBd7r1i.js} +3 -3
- package/dist/{src-CGBwMZgM.js → src-Dm2YIeXn.js} +8 -8
- package/dist/{src-CGBwMZgM.js.map → src-Dm2YIeXn.js.map} +1 -1
- package/dist/{src-c3ZQu7Uu.js → src-NYxoDS3b.js} +5 -5
- package/dist/{src-c3ZQu7Uu.js.map → src-NYxoDS3b.js.map} +1 -1
- package/dist/{src-C3OhA5pw.js → src-Y4AiZxLt.js} +5 -5
- package/dist/{src-C3OhA5pw.js.map → src-Y4AiZxLt.js.map} +1 -1
- package/dist/{src-BQWAxhKD.js → src-YpmRtJmP.js} +3 -3
- package/dist/{src-BQWAxhKD.js.map → src-YpmRtJmP.js.map} +1 -1
- package/dist/{ssh-pool-DwboLN9O.js → ssh-pool-B2c2vxzx.js} +18 -15
- package/dist/ssh-pool-B2c2vxzx.js.map +1 -0
- package/dist/ssh-pool-mcCYe6RO.js +1 -0
- package/dist/{start-BwMyDneA.js → start-DyXCyHGX.js} +45 -13
- package/dist/start-DyXCyHGX.js.map +1 -0
- package/dist/{state-CXTaT0t8.js → state-CiR8Ema7.js} +21 -38
- package/dist/state-CiR8Ema7.js.map +1 -0
- package/dist/state-DBuFimCA.js +1 -0
- package/dist/store/local.d.ts +1 -1
- package/dist/store/s3.d.ts +1 -1
- package/dist/studio-share-C05twqpy.js +209 -0
- package/dist/studio-share-C05twqpy.js.map +1 -0
- package/dist/suite-fO-u8jlS.js +2 -0
- package/dist/{suite-C4XSg6Ls.js → suite-oH7uiCRq.js} +107 -106
- package/dist/suite-oH7uiCRq.js.map +1 -0
- package/dist/summary-CTMWfnOF.js +75 -0
- package/dist/summary-CTMWfnOF.js.map +1 -0
- package/dist/{sync-bnI6WWaL.js → sync-r8EvW6Hr.js} +6 -6
- package/dist/{sync-bnI6WWaL.js.map → sync-r8EvW6Hr.js.map} +1 -1
- package/dist/{tart-CSP5Q0qV.js → tart-BUh58nxA.js} +38 -12
- package/dist/tart-BUh58nxA.js.map +1 -0
- package/dist/{tart-DmVuVsmX.js → tart-DNrumWZu.js} +1 -1
- package/dist/{tart-CzViW3WZ.js → tart-Duqp33Zh.js} +2 -2
- package/dist/{tart-CzViW3WZ.js.map → tart-Duqp33Zh.js.map} +1 -1
- package/dist/{tart-bake-BCKRfyKm.js → tart-bake-ChrVpjuF.js} +9 -9
- package/dist/{tart-bake-BCKRfyKm.js.map → tart-bake-ChrVpjuF.js.map} +1 -1
- package/dist/{tart-bake-d9UvIfe3.js → tart-bake-LwdUVOzS.js} +1 -1
- package/dist/{tart-cli-CqSpUYGV.js → tart-cli-Dv3dNC13.js} +3 -3
- package/dist/{tart-cli-CqSpUYGV.js.map → tart-cli-Dv3dNC13.js.map} +1 -1
- package/dist/{tart-cli-C4d5FXG1.js → tart-cli-S388NU-r.js} +1 -1
- package/dist/{tart-hosts-G0EUDt07.js → tart-hosts-B-dQEGpc.js} +6 -6
- package/dist/{tart-hosts-G0EUDt07.js.map → tart-hosts-B-dQEGpc.js.map} +1 -1
- package/dist/{tart-hosts-Du7SZM4w.js → tart-hosts-_nHGB4mC.js} +1 -1
- package/dist/{tart-images-De0-ib7R.js → tart-images-DAEYoC_M.js} +3 -3
- package/dist/{tart-images-De0-ib7R.js.map → tart-images-DAEYoC_M.js.map} +1 -1
- package/dist/testing.d.ts +11 -2
- package/dist/testing.js +4 -4
- package/dist/{tool-class-B3ZFTSOw.js → tool-class-CB-m4PiF.js} +2 -2
- package/dist/{tool-class-B3ZFTSOw.js.map → tool-class-CB-m4PiF.js.map} +1 -1
- package/dist/{trace-CfppUzD9.js → trace-CJQLlAbB.js} +2 -2
- package/dist/{trace-CfppUzD9.js.map → trace-CJQLlAbB.js.map} +1 -1
- package/dist/{traits-Bj1PM5F7.js → traits-DPIffsN8.js} +2 -2
- package/dist/{traits-Bj1PM5F7.js.map → traits-DPIffsN8.js.map} +1 -1
- package/dist/{resources-DqdwihhT.js → turn-error-Dmv_Muj7.js} +15 -2
- package/dist/turn-error-Dmv_Muj7.js.map +1 -0
- package/dist/{types-D4WEnzhY.d.ts → types-BZaItiui.d.ts} +159 -13
- package/dist/types-Buut5yGe.js +29 -0
- package/dist/{types-CbcnJxCy.js.map → types-Buut5yGe.js.map} +1 -1
- package/dist/types-C48zuZbT.d.ts +156 -0
- package/dist/types-CYz4dqAd.d.ts +1366 -0
- package/dist/{ui-DfvPNmPP.js → ui-CJvbt2Cc.js} +13 -12
- package/dist/ui-CJvbt2Cc.js.map +1 -0
- package/dist/{vertex-BLxYasfw.js → vertex-DQQGhUn7.js} +2 -2
- package/dist/{vertex-BLxYasfw.js.map → vertex-DQQGhUn7.js.map} +1 -1
- package/dist/vertex-DtWe0Xf6.js +1 -0
- package/dist/view/index.d.ts +142 -809
- package/dist/view/index.js +17 -12
- package/dist/view/report/index.d.ts +217 -0
- package/dist/view/report/index.js +4 -0
- package/dist/{views-ChoSQxfF.js → views-CtnOlABJ.js} +6 -6
- package/dist/{views-ChoSQxfF.js.map → views-CtnOlABJ.js.map} +1 -1
- package/dist/views-crppDW_B.js +2 -0
- package/dist/{vm-container-DOtIi_rd.js → vm-container-DwroMAXW.js} +11 -9
- package/dist/vm-container-DwroMAXW.js.map +1 -0
- package/dist/{vm-images-CHutQVml.js → vm-images-y0BcVyv3.js} +19 -21
- package/dist/vm-images-y0BcVyv3.js.map +1 -0
- package/dist/wait-CixM6W0G.js +65 -0
- package/dist/wait-CixM6W0G.js.map +1 -0
- package/dist/{worker-entry-CKBfEt0h.js → worker-entry-8KHmPzr4.js} +6 -6
- package/dist/{worker-entry-CKBfEt0h.js.map → worker-entry-8KHmPzr4.js.map} +1 -1
- package/dist/workspace-JlgoGyR0.js +1 -0
- package/dist/{workspace-Cip2dVwU.js → workspace-xCQ6VDR-.js} +8 -8
- package/dist/{workspace-Cip2dVwU.js.map → workspace-xCQ6VDR-.js.map} +1 -1
- package/package.json +25 -1
- package/skills/reeval/references/cli.md +1 -1
- package/skills/reeval/references/config.md +1 -1
- package/skills/reeval/references/environments.md +1 -1
- package/dist/agents-CEapsHV-.js.map +0 -1
- package/dist/analysis-BnG_1x_O.js.map +0 -1
- package/dist/app-files-Dsr3U1Q7.js +0 -10
- package/dist/app-files-Dsr3U1Q7.js.map +0 -1
- package/dist/assemble-DUtbByvj.js +0 -1
- package/dist/assemble-Dw1bF13I.js.map +0 -1
- package/dist/attempt-host-DgeJFSZw.js.map +0 -1
- package/dist/boat-BBPOc_bs.js +0 -1
- package/dist/boat-CUNgSc75.js.map +0 -1
- package/dist/boat-images-BuFigiEb.js.map +0 -1
- package/dist/bundle-yEgI3RsI.js.map +0 -1
- package/dist/capture-DxxB3d7p.js +0 -1
- package/dist/cases-B7QkvMGE.js.map +0 -1
- package/dist/cases-CA7gxxdr.js +0 -1
- package/dist/cli-Z7aw8k25.js.map +0 -1
- package/dist/cli-spec-3zvLC9YW.js.map +0 -1
- package/dist/client-kUwtq-vt.js.map +0 -1
- package/dist/cloud-DuHcNQVV.js.map +0 -1
- package/dist/cloud-run-C08P_Uap.js +0 -1
- package/dist/cloud-run-DqMkSGYB.js.map +0 -1
- package/dist/cloud-secrets-Bak83tik.js.map +0 -1
- package/dist/command-Bs6Knfm4.js +0 -298
- package/dist/command-Bs6Knfm4.js.map +0 -1
- package/dist/command-CeygdoVe.js.map +0 -1
- package/dist/command-CtmSJzPC.js.map +0 -1
- package/dist/command-efTGfUYb.js.map +0 -1
- package/dist/commands-B_cAs8nG.js +0 -1
- package/dist/commands-DR-NolV2.js.map +0 -1
- package/dist/config-Bn2OhCN_.js.map +0 -1
- package/dist/context-Ba7PNMMe.js +0 -120
- package/dist/context-Ba7PNMMe.js.map +0 -1
- package/dist/daytona-CWs9j9mt.js.map +0 -1
- package/dist/daytona-image-BjVpi3KS.js +0 -1
- package/dist/db-Bjq6qr6c.js +0 -2
- package/dist/db-D6yQib7M.js.map +0 -1
- package/dist/debug-CF4p4Lp_.js +0 -1
- package/dist/debug-CIXzB4wK.js.map +0 -1
- package/dist/environment-BY8lVFFK.js.map +0 -1
- package/dist/evaluate-B8I9AKgw.js.map +0 -1
- package/dist/files-5HsFIpxw.js +0 -1
- package/dist/files-BNg3wgw_.js +0 -1
- package/dist/files-BesexM88.js.map +0 -1
- package/dist/files-DNgQwgA0.js +0 -1
- package/dist/files-DvDUSrWL.js +0 -1
- package/dist/files-TwSVeWwM.js.map +0 -1
- package/dist/gate-CgYdaprG.js +0 -49
- package/dist/gate-CgYdaprG.js.map +0 -1
- package/dist/harness-FcTyyPco.js.map +0 -1
- package/dist/ids-DqEvrBFZ.js.map +0 -1
- package/dist/init-CS5kEaVg.js +0 -1
- package/dist/inputs-load-D4IsEjq3.js +0 -1
- package/dist/issue-DmSorsTF.js +0 -1
- package/dist/list-ClDb8qiX.js.map +0 -1
- package/dist/live-C7iGaDCA.js +0 -120
- package/dist/live-C7iGaDCA.js.map +0 -1
- package/dist/live-C7kN5v2P.js +0 -1
- package/dist/live-QFILMmql.js.map +0 -1
- package/dist/machine-service-xFhakTs5.js.map +0 -1
- package/dist/model-Colu5mEp.js +0 -1
- package/dist/model-mTaaEkeQ.js.map +0 -1
- package/dist/options-CmRy82gl.js +0 -1
- package/dist/pairs-BGb134Vu.js +0 -230
- package/dist/pairs-BGb134Vu.js.map +0 -1
- package/dist/patch-C7yBztZj.js.map +0 -1
- package/dist/paths-Dwmi7L4X.js +0 -75
- package/dist/paths-Dwmi7L4X.js.map +0 -1
- package/dist/preflight-xa8_eGOW.js +0 -1
- package/dist/prices-C_mbZa5a.js +0 -1
- package/dist/provider-DHT20Gl8.js +0 -1
- package/dist/query-BXV6pRyI.js +0 -1
- package/dist/questions-DnqkJga0.js.map +0 -1
- package/dist/record-2liAelrB.js.map +0 -1
- package/dist/remarks-D5qOZzcX.js.map +0 -1
- package/dist/resolve-B60w6DcB.js.map +0 -1
- package/dist/resolve-CCLiJX4i.js +0 -1
- package/dist/resources-DqdwihhT.js.map +0 -1
- package/dist/runtime-CIsljVBy.js +0 -457
- package/dist/runtime-CIsljVBy.js.map +0 -1
- package/dist/server-CeYUmuuu.js +0 -1
- package/dist/server-fSNuT3Z4.js +0 -284
- package/dist/server-fSNuT3Z4.js.map +0 -1
- package/dist/services-BG8xuU82.js.map +0 -1
- package/dist/shared-DtZwIAfy.js.map +0 -1
- package/dist/slug-IHh3f770.js.map +0 -1
- package/dist/source-n7nUVm9p.js +0 -1
- package/dist/source-zoRWRMql.js.map +0 -1
- package/dist/src-9V3C6A7C.js +0 -2
- package/dist/src-CB5cZhaN.js +0 -2
- package/dist/src-DB0vml0O.js +0 -1
- package/dist/src-OC89dAjO.js.map +0 -1
- package/dist/ssh-pool-ChpT-fDU.js +0 -1
- package/dist/ssh-pool-DwboLN9O.js.map +0 -1
- package/dist/start-BwMyDneA.js.map +0 -1
- package/dist/state-CXTaT0t8.js.map +0 -1
- package/dist/state-CltRWlCu.js +0 -1
- package/dist/suite-C4XSg6Ls.js.map +0 -1
- package/dist/suite-CIsyPqPA.js +0 -2
- package/dist/summary-DeeQJAR5.js +0 -169
- package/dist/summary-DeeQJAR5.js.map +0 -1
- package/dist/tart-CSP5Q0qV.js.map +0 -1
- package/dist/types-CbcnJxCy.js +0 -15
- package/dist/ui-DfvPNmPP.js.map +0 -1
- package/dist/vertex-DZDUpp0W.js +0 -1
- package/dist/views-DU0PM0UW.js +0 -2
- package/dist/vm-container-DOtIi_rd.js.map +0 -1
- package/dist/vm-images-CHutQVml.js.map +0 -1
- package/dist/workspace-BKcNJAPb.js +0 -1
|
@@ -1,31 +1,32 @@
|
|
|
1
1
|
import { n as UsageError } from "./errors-ttMTnIYX.js";
|
|
2
|
-
import {
|
|
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
|
|
5
|
-
import {
|
|
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-Bj2z-4Pa.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-DQqcGmz7.js";
|
|
5
|
+
import { v as wantsCloud } from "./cloud-run-CZOpabN1.js";
|
|
6
|
+
import { t as RUN_ID } from "./api-ZeGnedB3.js";
|
|
6
7
|
import { t as budgetMarker } from "./budget-BcxLYY5L.js";
|
|
7
8
|
import { n as loadEnvFiles, t as inCI } from "./env-8x1O8I1M.js";
|
|
8
|
-
import { D as profileSandbox, F as workspaceLabel, d as environmentSandbox } from "./environment-
|
|
9
|
-
import {
|
|
9
|
+
import { D as profileSandbox, F as workspaceLabel, d as environmentSandbox } from "./environment-WC8PrLoe.js";
|
|
10
|
+
import { d as notEventStream, f as openEventStream, l as isAttachUrl, n as ATTEMPTS_HEARTBEAT_RANGE, o as beatWith, p as teeRenderer, s as displayUrl, t as ATTEMPTS_HEARTBEAT_MS, u as isEventsUrl } from "./events-oe84EOLK.js";
|
|
10
11
|
import { r as openRouterFallbacks } from "./openrouter-models-B1sIOTD2.js";
|
|
11
|
-
import { y as vertexSettingsIn } from "./vertex-
|
|
12
|
-
import { i as runtimeInfo, n as gitInfo, r as runnerInfo, t as author } from "./provenance-
|
|
13
|
-
import { a as fromCwd, l as relativeFile, o as newRunId, r as cwdIn } from "./ids-
|
|
14
|
-
import { l as judgeModelName, m as unusedGatewayKey } from "./judge-
|
|
15
|
-
import { A as writeLiveProgress, C as restoreRetry, D as stoppedRetry, E as savedInvocation, O as sweepStaging, 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, k as writeCurrent, 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-
|
|
16
|
-
import { n as preflight } from "./preflight-
|
|
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-DDZGWE4O.js";
|
|
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-_fsdF4YB.js";
|
|
16
|
+
import { A as writeLiveProgress, C as restoreRetry, D as stoppedRetry, E as savedInvocation, O as sweepStaging, 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, k as writeCurrent, 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-aGIZhM58.js";
|
|
17
|
+
import { n as preflight } from "./preflight-CUc-Y1d3.js";
|
|
17
18
|
import { C as stripCredentials, S as registerSecret, _ as redactSecrets } from "./redact-DMueYS-v.js";
|
|
18
|
-
import { a as redactArgv, r as commandOf, t as logInvocation } from "./invocations-
|
|
19
|
-
import { o as PACKAGE_VERSION } from "./root-
|
|
20
|
-
import {
|
|
21
|
-
import { i as heldSecrets, o as readSecretsFile } from "./secrets-file-
|
|
22
|
-
import { r as localStudio } from "./resolve-
|
|
23
|
-
import { d as storeCredentials, i as isRemote, u as pullStore } from "./sync-
|
|
19
|
+
import { a as redactArgv, r as commandOf, t as logInvocation } from "./invocations-DUFiIb_S.js";
|
|
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-5utDFJ15.js";
|
|
22
|
+
import { i as heldSecrets, o as readSecretsFile } from "./secrets-file-BEScYC3S.js";
|
|
23
|
+
import { r as localStudio } from "./resolve-BEltmYhD.js";
|
|
24
|
+
import { d as storeCredentials, i as isRemote, u as pullStore } from "./sync-r8EvW6Hr.js";
|
|
24
25
|
import { i as formatDuration, n as clip } from "./text-B8-W3Cvn.js";
|
|
25
|
-
import { a as traitFilters, o as traitFlags, t as checkTraitKeys } from "./traits-
|
|
26
|
+
import { a as traitFilters, o as traitFlags, t as checkTraitKeys } from "./traits-DPIffsN8.js";
|
|
26
27
|
import { t as colors } from "./colors-DcXBvAlU.js";
|
|
27
|
-
import { t as createRenderer } from "./ui-
|
|
28
|
-
import {
|
|
28
|
+
import { t as createRenderer } from "./ui-CJvbt2Cc.js";
|
|
29
|
+
import { O as runOutcome } from "./model-xemZQ7DK.js";
|
|
29
30
|
import { existsSync, mkdirSync, readdirSync, writeFileSync } from "node:fs";
|
|
30
31
|
import { dirname, join, resolve } from "node:path";
|
|
31
32
|
import { appendFile, readFile, rm } from "node:fs/promises";
|
|
@@ -194,7 +195,9 @@ const PULLS = {
|
|
|
194
195
|
checkout: 1,
|
|
195
196
|
query: 1,
|
|
196
197
|
analyze: 1,
|
|
197
|
-
mcp: 1
|
|
198
|
+
mcp: 1,
|
|
199
|
+
"cloud push": 1,
|
|
200
|
+
"studio share": 1
|
|
198
201
|
};
|
|
199
202
|
const EXPECTED_ERRORS = [
|
|
200
203
|
"CommandError",
|
|
@@ -253,6 +256,11 @@ function quitWithoutRecord(runId, stagingDir) {
|
|
|
253
256
|
async function sweep(root, keep) {
|
|
254
257
|
for (const runId of await sweepStaging(root, keep)) process.stderr.write(`reeval: run ${runId} stopped over a day ago and can still be resumed: reeval run --resume ${runId} finishes it, reeval clean --staging deletes it.\n`);
|
|
255
258
|
}
|
|
259
|
+
/** Removes the sandboxes runs on this host left behind when their process was killed, saying so. */
|
|
260
|
+
async function reapOrphans(sandboxes) {
|
|
261
|
+
const removed = await removeOrphans(sandboxes).catch(() => 0);
|
|
262
|
+
if (removed) process.stderr.write(`reeval: removed ${removed} sandbox${removed === 1 ? "" : "es"} a killed reeval left running\n`);
|
|
263
|
+
}
|
|
256
264
|
async function run(argv) {
|
|
257
265
|
readSecretsFile();
|
|
258
266
|
const { values, positionals } = parseCli(argv);
|
|
@@ -271,7 +279,7 @@ async function run(argv) {
|
|
|
271
279
|
return values.help ? EXIT.ok : EXIT.usage;
|
|
272
280
|
}
|
|
273
281
|
if (command === "init") {
|
|
274
|
-
const { initCommand } = await import("./init-
|
|
282
|
+
const { initCommand } = await import("./init-BOYNr3Ql.js");
|
|
275
283
|
return initCommand(values, filters, {
|
|
276
284
|
out: (s) => console.log(s),
|
|
277
285
|
input: process.stdin,
|
|
@@ -280,7 +288,7 @@ async function run(argv) {
|
|
|
280
288
|
});
|
|
281
289
|
}
|
|
282
290
|
if (command === "doctor") {
|
|
283
|
-
const { doctorCommand } = await import("./doctor-
|
|
291
|
+
const { doctorCommand } = await import("./doctor-DGWbvYtu.js");
|
|
284
292
|
return doctorCommand(values, {
|
|
285
293
|
out: (s) => console.log(s),
|
|
286
294
|
color: !!process.stdout.isTTY && !process.env.NO_COLOR,
|
|
@@ -288,7 +296,7 @@ async function run(argv) {
|
|
|
288
296
|
});
|
|
289
297
|
}
|
|
290
298
|
if (command === "report") {
|
|
291
|
-
const { reportCommand } = await import("./command-
|
|
299
|
+
const { reportCommand } = await import("./command-Bic6f84Y.js");
|
|
292
300
|
return reportCommand(values, filters, {
|
|
293
301
|
out: (s) => console.log(s),
|
|
294
302
|
err: (s) => console.error(dim(s)),
|
|
@@ -297,9 +305,9 @@ async function run(argv) {
|
|
|
297
305
|
});
|
|
298
306
|
}
|
|
299
307
|
if (command === "login" || command === "logout" || command === "whoami") {
|
|
300
|
-
const login = await import("./command-
|
|
308
|
+
const login = await import("./command-DHrT6YVl.js");
|
|
301
309
|
loadEnvFiles(configPathFor(values.config));
|
|
302
|
-
const { defaultIssueDeps } = await import("./issue-
|
|
310
|
+
const { defaultIssueDeps } = await import("./issue-esBvB5Df.js");
|
|
303
311
|
const io = {
|
|
304
312
|
out: (s) => console.log(s),
|
|
305
313
|
err: (s) => console.error(dim(s)),
|
|
@@ -310,15 +318,37 @@ async function run(argv) {
|
|
|
310
318
|
return login.whoamiCommand(values, io);
|
|
311
319
|
}
|
|
312
320
|
const configPath = configPathFor(values.config);
|
|
321
|
+
if (command === "link") {
|
|
322
|
+
loadEnvFiles(configPath);
|
|
323
|
+
const [{ linkCommand }, { projectDirFor }] = await Promise.all([import("./link-Dat_O7Gn.js"), import("./cloud-project-B1lN8D9m.js")]);
|
|
324
|
+
return linkCommand(values, {
|
|
325
|
+
out: (s) => console.log(s),
|
|
326
|
+
input: process.stdin,
|
|
327
|
+
output: process.stdout,
|
|
328
|
+
interactive: !!process.stdin.isTTY && !!process.stdout.isTTY,
|
|
329
|
+
projectDir: projectDirFor(configPath)
|
|
330
|
+
});
|
|
331
|
+
}
|
|
313
332
|
if (command === "cloud") {
|
|
314
333
|
const [area, ...args] = filters;
|
|
315
|
-
if (area !== "secrets" && area !== "provider") throw new UsageError(`Unknown command "cloud ${area ?? ""}". Did you mean reeval cloud secrets or
|
|
334
|
+
if (area !== "secrets" && area !== "provider" && area !== "push") throw new UsageError(`Unknown command "cloud ${area ?? ""}". Did you mean reeval cloud secrets, provider or push?`);
|
|
335
|
+
if (area === "push") {
|
|
336
|
+
const config = await historyConfig(configPath, "cloud push", values.profile, values);
|
|
337
|
+
const [{ pushCommand }, { projectDirFor }] = await Promise.all([import("./cloud-push-GXvEYHoa.js"), import("./cloud-project-B1lN8D9m.js")]);
|
|
338
|
+
return pushCommand(config, values, args, {
|
|
339
|
+
out: (s) => console.log(s),
|
|
340
|
+
err: (s) => console.error(yellow(s)),
|
|
341
|
+
note: (s) => console.error(s),
|
|
342
|
+
projectDir: projectDirFor(configPath)
|
|
343
|
+
});
|
|
344
|
+
}
|
|
316
345
|
loadEnvFiles(configPath);
|
|
317
|
-
const cloud = await import("./cloud-secrets-
|
|
346
|
+
const cloud = await import("./cloud-secrets-BskXM_2n.js");
|
|
347
|
+
const { projectDirFor } = await import("./cloud-project-B1lN8D9m.js");
|
|
318
348
|
const io = {
|
|
319
349
|
out: (s) => console.log(s),
|
|
320
350
|
readValue: cloud.readSecretValue,
|
|
321
|
-
projectDir:
|
|
351
|
+
projectDir: projectDirFor(configPath)
|
|
322
352
|
};
|
|
323
353
|
return area === "secrets" ? cloud.secretsCommand(values, args, io) : cloud.providerCommand(values, args, io);
|
|
324
354
|
}
|
|
@@ -328,21 +358,36 @@ async function run(argv) {
|
|
|
328
358
|
if (filters[0] !== "build") throw new UsageError(`Unknown command "image ${filters[0] ?? ""}". Did you mean reeval image build, list or clean?`);
|
|
329
359
|
return imageBuildCommand(values, configPath, filters.slice(1));
|
|
330
360
|
}
|
|
361
|
+
if (command === "studio" && filters[0] === "share") {
|
|
362
|
+
const ref = filters[1];
|
|
363
|
+
const readsNoRuns = values.revoke !== void 0 || values.list && (ref === void 0 || RUN_ID.test(ref));
|
|
364
|
+
const config = await historyConfig(configPath, "studio share", values.profile, readsNoRuns ? {
|
|
365
|
+
...values,
|
|
366
|
+
offline: true
|
|
367
|
+
} : values);
|
|
368
|
+
const [{ shareCommand }, { projectDirFor }] = await Promise.all([import("./studio-share-C05twqpy.js"), import("./cloud-project-B1lN8D9m.js")]);
|
|
369
|
+
return shareCommand(config, values, filters.slice(1), {
|
|
370
|
+
out: (s) => console.log(s),
|
|
371
|
+
err: (s) => console.error(yellow(s)),
|
|
372
|
+
note: (s) => console.error(s),
|
|
373
|
+
projectDir: projectDirFor(configPath)
|
|
374
|
+
});
|
|
375
|
+
}
|
|
331
376
|
if (command === "studio") {
|
|
332
377
|
const config = await historyConfig(configPath, "studio", values.profile);
|
|
333
378
|
localStudio(config);
|
|
334
|
-
const { studioCommand } = await import("./command-
|
|
379
|
+
const { studioCommand } = await import("./command-DMwSLfJT.js");
|
|
335
380
|
return studioCommand({
|
|
336
381
|
config,
|
|
337
382
|
flags: values,
|
|
338
383
|
version,
|
|
339
|
-
|
|
384
|
+
run: filters[0]
|
|
340
385
|
});
|
|
341
386
|
}
|
|
342
387
|
if (command === "mcp") {
|
|
343
388
|
if (!values.http) console.log = console.info = console.debug = console.error;
|
|
344
389
|
const config = await historyConfig(configPath, "mcp", values.profile, values);
|
|
345
|
-
const { mcpCommand } = await import("./command-
|
|
390
|
+
const { mcpCommand } = await import("./command-DP8sQ-dk.js");
|
|
346
391
|
return mcpCommand({
|
|
347
392
|
config,
|
|
348
393
|
flags: values,
|
|
@@ -351,7 +396,7 @@ async function run(argv) {
|
|
|
351
396
|
}
|
|
352
397
|
if (command in HISTORY_COMMANDS) {
|
|
353
398
|
const config = await historyConfig(configPath, command, values.profile, values);
|
|
354
|
-
const commands = await import("./commands-
|
|
399
|
+
const commands = await import("./commands-D8D7ZJ0I.js");
|
|
355
400
|
const ctx = {
|
|
356
401
|
config,
|
|
357
402
|
flags: values,
|
|
@@ -365,14 +410,14 @@ async function run(argv) {
|
|
|
365
410
|
case "checkout": return commands.checkoutCommand(ctx, filters);
|
|
366
411
|
case "sync": return commands.syncCommand(ctx, filters);
|
|
367
412
|
case "query": {
|
|
368
|
-
const { queryCommand } = await import("./query-
|
|
413
|
+
const { queryCommand } = await import("./query-DzS1Z4bw.js");
|
|
369
414
|
return queryCommand({
|
|
370
415
|
...ctx,
|
|
371
416
|
err: (s) => console.error(dim(s))
|
|
372
417
|
}, filters);
|
|
373
418
|
}
|
|
374
419
|
case "analyze": {
|
|
375
|
-
const { analyzeCommand } = await import("./command-
|
|
420
|
+
const { analyzeCommand } = await import("./command-C7m3ZoXS.js");
|
|
376
421
|
return analyzeCommand({
|
|
377
422
|
...ctx,
|
|
378
423
|
err: (s) => console.error(dim(s))
|
|
@@ -383,7 +428,7 @@ async function run(argv) {
|
|
|
383
428
|
if (command === "clean") return cleanCommand(values, configPath);
|
|
384
429
|
if (command === "attach") return attachCommand(values, filters[0], configPath);
|
|
385
430
|
if (command === "bundle") {
|
|
386
|
-
const { bundleCommand } = await import("./bundle-
|
|
431
|
+
const { bundleCommand } = await import("./bundle-B1v8DEEX.js");
|
|
387
432
|
return bundleCommand(values, filters, configPath, argv.slice(1), (s) => console.log(s));
|
|
388
433
|
}
|
|
389
434
|
if (command !== "run") throw new UsageError(`Unknown command "${command}". Run reeval --help.`);
|
|
@@ -408,7 +453,7 @@ async function bundleRun(flags, filters) {
|
|
|
408
453
|
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(", ")}.`);
|
|
409
454
|
const file = flags.bundle;
|
|
410
455
|
const log = (s) => flags.json ? console.error(s) : console.log(s);
|
|
411
|
-
const { bundledGit, openBundle } = await import("./bundle-
|
|
456
|
+
const { bundledGit, openBundle } = await import("./bundle-B1v8DEEX.js");
|
|
412
457
|
const opened = await openBundle(file, log);
|
|
413
458
|
if (opened.exit !== void 0) return opened.exit;
|
|
414
459
|
const { args, author } = opened.manifest;
|
|
@@ -458,7 +503,7 @@ async function dryRunPrices(planned, judgeModel) {
|
|
|
458
503
|
table: null,
|
|
459
504
|
why: "nothing to price"
|
|
460
505
|
};
|
|
461
|
-
const { loadPrices } = await import("./prices-
|
|
506
|
+
const { loadPrices } = await import("./prices-CfnkJOth.js");
|
|
462
507
|
return loadPrices();
|
|
463
508
|
}
|
|
464
509
|
/** Asks a yes/no question on the terminal; anything but y or yes is no. */
|
|
@@ -476,8 +521,9 @@ async function confirm(question) {
|
|
|
476
521
|
}
|
|
477
522
|
/**
|
|
478
523
|
* `reeval clean`: removes local debug data and snapshots, all of them or all but the newest
|
|
479
|
-
* `--keep` runs',
|
|
480
|
-
* `run --bundle` extracted whose
|
|
524
|
+
* `--keep` runs', and the sandboxes a killed reeval on this host left running; with `--staging`
|
|
525
|
+
* every stopped run's staging, and with `--bundles` every copy `run --bundle` extracted whose
|
|
526
|
+
* process has ended.
|
|
481
527
|
*/
|
|
482
528
|
async function cleanCommand(flags, configPath) {
|
|
483
529
|
const config = await loadConfig(configPath, "clean");
|
|
@@ -486,8 +532,8 @@ async function cleanCommand(flags, configPath) {
|
|
|
486
532
|
keep = Number(flags.keep);
|
|
487
533
|
if (!(Number.isInteger(keep) && keep >= 0)) throw new UsageError(`--keep must be a whole number (got ${flags.keep})`);
|
|
488
534
|
}
|
|
489
|
-
const { debugRoot, pruneDebug } = await import("./files-
|
|
490
|
-
const { formatBytes } = await import("./debug-
|
|
535
|
+
const { debugRoot, pruneDebug } = await import("./files-DCcRkJN4.js");
|
|
536
|
+
const { formatBytes } = await import("./debug-CGg7KHKq.js");
|
|
491
537
|
const { runs, bytes } = await pruneDebug(config.root, keep);
|
|
492
538
|
const where = fromCwd(debugRoot(config.root)) || ".";
|
|
493
539
|
console.log(runs.length ? `Removed debug data and snapshots for ${runs.length} run${runs.length === 1 ? "" : "s"} (${formatBytes(bytes)}) from ${where} and .reeval/runs` : `No debug data or snapshots to remove in ${where} or .reeval/runs`);
|
|
@@ -497,24 +543,26 @@ async function cleanCommand(flags, configPath) {
|
|
|
497
543
|
}
|
|
498
544
|
const streams = await pruneEvents(config.root, keep);
|
|
499
545
|
if (streams.length) console.log(`Removed the event streams of ${streams.length} finished run${streams.length === 1 ? "" : "s"} from .reeval/events`);
|
|
546
|
+
const orphans = await removeOrphans();
|
|
547
|
+
if (orphans) console.log(`Removed ${orphans} sandbox${orphans === 1 ? "" : "es"} that a killed reeval left running`);
|
|
500
548
|
if (flags.bundles) {
|
|
501
|
-
const { removeExtractedBundles } = await import("./bundle-
|
|
549
|
+
const { removeExtractedBundles } = await import("./bundle-B1v8DEEX.js");
|
|
502
550
|
const removed = await removeExtractedBundles();
|
|
503
551
|
console.log(removed.length ? `Removed ${removed.length} extracted bundle${removed.length === 1 ? "" : "s"}: ${removed.join(", ")}` : "No extracted bundles to remove");
|
|
504
552
|
}
|
|
505
553
|
if (flags.images) {
|
|
506
|
-
const { dockerAvailable, pruneImages } = await import("./src-
|
|
507
|
-
const { requireDocker } = await import("./providers-
|
|
554
|
+
const { dockerAvailable, pruneImages } = await import("./src-DXZXofCJ.js");
|
|
555
|
+
const { requireDocker } = await import("./providers-BPujoqQM.js");
|
|
508
556
|
const engines = [];
|
|
509
557
|
for (const engine of ["docker", "podman"]) if (await dockerAvailable(engine)) engines.push(engine);
|
|
510
|
-
const { tartCli } = await import("./tart-cli-
|
|
558
|
+
const { tartCli } = await import("./tart-cli-S388NU-r.js");
|
|
511
559
|
const tart = await tartCli(["--version"]).then((r) => r.exitCode === 0, () => false);
|
|
512
560
|
if (!engines.length && !tart) await requireDocker();
|
|
513
561
|
let removed = 0;
|
|
514
562
|
for (const engine of engines) removed += await pruneImages(engine);
|
|
515
563
|
if (engines.length) console.log(removed ? `Removed ${removed} image${removed === 1 ? "" : "s"} reeval built that nothing uses` : "No leftover images to remove");
|
|
516
564
|
if (tart) {
|
|
517
|
-
const { deleteBakedImages } = await import("./tart-bake-
|
|
565
|
+
const { deleteBakedImages } = await import("./tart-bake-LwdUVOzS.js");
|
|
518
566
|
const baked = await deleteBakedImages();
|
|
519
567
|
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");
|
|
520
568
|
}
|
|
@@ -533,8 +581,8 @@ function verbosityOf(flags) {
|
|
|
533
581
|
* image.
|
|
534
582
|
*/
|
|
535
583
|
async function imageBuildCommand(flags, configPath, filters) {
|
|
536
|
-
const { buildImages, imagePlanLines, imageTargets, plannedImageUses, pullTartImages, tartPlanLines, tartTargets } = await import("./images-
|
|
537
|
-
const { buildVmImages, vmImageTargets, vmPlanLines } = await import("./vm-images-
|
|
584
|
+
const { buildImages, imagePlanLines, imageTargets, plannedImageUses, pullTartImages, tartPlanLines, tartTargets } = await import("./images-BkJn7NHU.js");
|
|
585
|
+
const { buildVmImages, vmImageTargets, vmPlanLines } = await import("./vm-images-y0BcVyv3.js");
|
|
538
586
|
const { setup, root, uses } = await imageUses(flags, configPath, filters, plannedImageUses);
|
|
539
587
|
const targets = imageTargets(uses);
|
|
540
588
|
const vms = tartTargets(uses);
|
|
@@ -554,7 +602,7 @@ async function imageBuildCommand(flags, configPath, filters) {
|
|
|
554
602
|
if (snapshots.length) for (const line of await vmPlanLines(snapshots, root)) console.log(line);
|
|
555
603
|
return EXIT.ok;
|
|
556
604
|
}
|
|
557
|
-
const { PrepareError } = await import("./provider-
|
|
605
|
+
const { PrepareError } = await import("./provider-B24hZX95.js");
|
|
558
606
|
const outcomes = [];
|
|
559
607
|
let refused = false;
|
|
560
608
|
const refusal = (id, of, others) => (error) => {
|
|
@@ -628,7 +676,7 @@ async function imageBuildCommand(flags, configPath, filters) {
|
|
|
628
676
|
if (!(error instanceof PrepareError)) throw error;
|
|
629
677
|
if (error.failure.usage) throw new UsageError(error.message);
|
|
630
678
|
if (error.failure.cause === "enospc") invocation.machineState = true;
|
|
631
|
-
const { PreflightInfraError } = await import("./preflight-
|
|
679
|
+
const { PreflightInfraError } = await import("./preflight-CKrvQ-of.js");
|
|
632
680
|
throw new PreflightInfraError(error.message);
|
|
633
681
|
}
|
|
634
682
|
for (const o of outcomes) {
|
|
@@ -651,7 +699,7 @@ async function imageBuildCommand(flags, configPath, filters) {
|
|
|
651
699
|
}
|
|
652
700
|
/** What `reeval image` plans for: the harness and sandbox of each attempt, collected as `--dry-run` does. */
|
|
653
701
|
async function imageUses(flags, configPath, filters, planned) {
|
|
654
|
-
const plannedImageUses = planned ?? (await import("./images-
|
|
702
|
+
const plannedImageUses = planned ?? (await import("./images-BkJn7NHU.js")).plannedImageUses;
|
|
655
703
|
const setup = await prepareRun({
|
|
656
704
|
...flags,
|
|
657
705
|
"dry-run": true
|
|
@@ -677,8 +725,8 @@ async function imageUses(flags, configPath, filters, planned) {
|
|
|
677
725
|
* the evals use, with the environments that start from each.
|
|
678
726
|
*/
|
|
679
727
|
async function imageListCommand(flags, configPath, filters) {
|
|
680
|
-
const vm = await import("./vm-images-
|
|
681
|
-
const { formatSize } = await import("./tart-images-
|
|
728
|
+
const vm = await import("./vm-images-y0BcVyv3.js");
|
|
729
|
+
const { formatSize } = await import("./tart-images-DAEYoC_M.js");
|
|
682
730
|
const { root, uses } = await imageUses(flags, configPath, filters);
|
|
683
731
|
const accounts = vm.vmAccounts(uses);
|
|
684
732
|
if (!accounts.length) {
|
|
@@ -731,8 +779,8 @@ async function imageListCommand(flags, configPath, filters) {
|
|
|
731
779
|
* last hour or one still being saved.
|
|
732
780
|
*/
|
|
733
781
|
async function imageCleanCommand(flags, configPath) {
|
|
734
|
-
const vm = await import("./vm-images-
|
|
735
|
-
const { formatSize } = await import("./tart-images-
|
|
782
|
+
const vm = await import("./vm-images-y0BcVyv3.js");
|
|
783
|
+
const { formatSize } = await import("./tart-images-DAEYoC_M.js");
|
|
736
784
|
const provider = flags.provider;
|
|
737
785
|
if (provider !== void 0 && provider !== "boat" && provider !== "daytona") throw new UsageError(`--provider is boat or daytona (got "${provider}")`);
|
|
738
786
|
const olderThanMs = flags["older-than"] !== void 0 ? vm.parseAge(flags["older-than"]) : flags.all ? void 0 : vm.DEFAULT_OLDER_THAN_MS;
|
|
@@ -804,7 +852,7 @@ async function attachCommand(flags, target, configPath) {
|
|
|
804
852
|
root = dirname(requireConfig(configPath));
|
|
805
853
|
source = (await resolveAttach(root, target)).file;
|
|
806
854
|
}
|
|
807
|
-
const cloud = await import("./cloud-run-
|
|
855
|
+
const cloud = await import("./cloud-run-BfFCs6Fm.js");
|
|
808
856
|
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");
|
|
809
857
|
if (flags.download || isAttachUrl(source)) loadEnvFiles(configPath);
|
|
810
858
|
const download = flags.download ? await cloudDownload(source, configPath, flags.profile) : void 0;
|
|
@@ -820,7 +868,7 @@ async function attachCommand(flags, target, configPath) {
|
|
|
820
868
|
});
|
|
821
869
|
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`));
|
|
822
870
|
else if (download) {
|
|
823
|
-
const { downloadAfter } = await import("./cloud-files-
|
|
871
|
+
const { downloadAfter } = await import("./cloud-files-BjoNhDJs.js");
|
|
824
872
|
for (const line of await downloadAfter(code, download.runId, download.run)) console.log(dim(line));
|
|
825
873
|
}
|
|
826
874
|
return code;
|
|
@@ -832,8 +880,8 @@ async function attachCommand(flags, target, configPath) {
|
|
|
832
880
|
* stream, or with no project.
|
|
833
881
|
*/
|
|
834
882
|
async function cloudDownload(source, configPath, profile) {
|
|
835
|
-
const cloud = await import("./cloud-run-
|
|
836
|
-
const { cloudRunOf, downloadCloudFiles } = await import("./cloud-files-
|
|
883
|
+
const cloud = await import("./cloud-run-BfFCs6Fm.js");
|
|
884
|
+
const { cloudRunOf, downloadCloudFiles } = await import("./cloud-files-BjoNhDJs.js");
|
|
837
885
|
loadEnvFiles(configPath);
|
|
838
886
|
const base = cloud.cloudUrl();
|
|
839
887
|
const run = isAttachUrl(source) ? cloudRunOf(source, base) : null;
|
|
@@ -858,7 +906,7 @@ async function cloudDownload(source, configPath, profile) {
|
|
|
858
906
|
}
|
|
859
907
|
/** `reeval attach`'s viewer on this terminal, drawn with the attach flags. */
|
|
860
908
|
async function attachHere(flags, options) {
|
|
861
|
-
const { attach } = await import("./attach-
|
|
909
|
+
const { attach } = await import("./attach-DFf2hFl7.js");
|
|
862
910
|
return attach({
|
|
863
911
|
...options,
|
|
864
912
|
out: process.stdout,
|
|
@@ -889,12 +937,14 @@ async function attachHere(flags, options) {
|
|
|
889
937
|
* `exit`. Undefined when the run didn't ask to run in the cloud.
|
|
890
938
|
*/
|
|
891
939
|
async function cloudTarget(flags, setup, filters, configPath) {
|
|
892
|
-
const cloud = await import("./cloud-run-
|
|
940
|
+
const cloud = await import("./cloud-run-BfFCs6Fm.js");
|
|
893
941
|
if (!cloud.wantsCloud(flags, setup.config, setup.profile)) {
|
|
894
942
|
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");
|
|
895
943
|
return;
|
|
896
944
|
}
|
|
897
|
-
const {
|
|
945
|
+
const { linkedProject, projectDirFor } = await import("./cloud-project-B1lN8D9m.js");
|
|
946
|
+
const project = await linkedProject(projectDirFor(configPath));
|
|
947
|
+
const { makeBundle } = await import("./bundle-B1v8DEEX.js");
|
|
898
948
|
const picked = setup.profile ? { profile: setup.profile.name } : {};
|
|
899
949
|
const bundle = async (env) => {
|
|
900
950
|
try {
|
|
@@ -949,6 +999,7 @@ async function cloudTarget(flags, setup, filters, configPath) {
|
|
|
949
999
|
return { exit: await cloud.runCloud({
|
|
950
1000
|
base,
|
|
951
1001
|
bundle: made,
|
|
1002
|
+
project,
|
|
952
1003
|
log: (line) => console.log(dim(line)),
|
|
953
1004
|
follow: (options) => attachHere(flags, options),
|
|
954
1005
|
...flags.download && { download: {
|
|
@@ -979,7 +1030,7 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
979
1030
|
const outcome = runOutcome(record);
|
|
980
1031
|
if (flags.json) {
|
|
981
1032
|
console.error(nothing);
|
|
982
|
-
const { suiteResult } = await import("./suite-
|
|
1033
|
+
const { suiteResult } = await import("./suite-fO-u8jlS.js");
|
|
983
1034
|
process.stdout.write(`${JSON.stringify({
|
|
984
1035
|
...suiteResult(record),
|
|
985
1036
|
outcome
|
|
@@ -1013,7 +1064,7 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1013
1064
|
if (githubOut) await appendFile(githubOut, `run-id=${ctx.runId}\n`).catch(() => {});
|
|
1014
1065
|
const stepStart = process.env.GITHUB_STEP_SUMMARY;
|
|
1015
1066
|
if (stepStart) await appendFile(stepStart, `run ${ctx.runId}\n`).catch(() => {});
|
|
1016
|
-
const { engineVersions } = await import("./node-
|
|
1067
|
+
const { engineVersions } = await import("./node-DyRPGAT5.js");
|
|
1017
1068
|
const terminal = setup.json && !setup.dryRun ? process.stderr : process.stdout;
|
|
1018
1069
|
const harness = setup.config.harness[0]?.kind ?? "agent";
|
|
1019
1070
|
const drawn = createRenderer({
|
|
@@ -1033,7 +1084,9 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1033
1084
|
const savedEvents = eventsTo ? relativeFile(root, eventsTo) : void 0;
|
|
1034
1085
|
if (startedWith && savedEvents) startedWith.events = savedEvents;
|
|
1035
1086
|
const eventsUrl = flags["events-url"];
|
|
1087
|
+
let heartbeat;
|
|
1036
1088
|
if (eventsTo || eventsUrl) {
|
|
1089
|
+
const ms = parseHeartbeat("REEVAL_EVENTS_HEARTBEAT", process.env.REEVAL_EVENTS_HEARTBEAT, ATTEMPTS_HEARTBEAT_MS, ATTEMPTS_HEARTBEAT_RANGE);
|
|
1037
1090
|
const cwd = cwdIn(root);
|
|
1038
1091
|
eventStream = openEventStream({
|
|
1039
1092
|
...eventsTo ? {
|
|
@@ -1047,10 +1100,16 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1047
1100
|
startedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
1048
1101
|
harness,
|
|
1049
1102
|
verbosity: ctx.verbosity ?? 0,
|
|
1050
|
-
...cwd === void 0 ? {} : { cwd }
|
|
1103
|
+
...cwd === void 0 ? {} : { cwd },
|
|
1104
|
+
...ms > 0 ? { attemptsHeartbeatMs: ms } : {}
|
|
1051
1105
|
},
|
|
1052
1106
|
warn: (message) => process.stderr.write(yellow(`reeval: ${message}\n`))
|
|
1053
1107
|
});
|
|
1108
|
+
const stream = eventStream;
|
|
1109
|
+
if (ms > 0) heartbeat = {
|
|
1110
|
+
ms,
|
|
1111
|
+
send: (beat) => stream.heartbeat(beat)
|
|
1112
|
+
};
|
|
1054
1113
|
}
|
|
1055
1114
|
const renderer = eventStream ? teeRenderer(drawn, eventStream) : drawn;
|
|
1056
1115
|
let executed;
|
|
@@ -1060,6 +1119,7 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1060
1119
|
notes: resumed?.notes ?? [],
|
|
1061
1120
|
narrowed: !!resumed && (given.length > 0 || !!flags.tag?.length || !!flags.trait?.length),
|
|
1062
1121
|
...savedEvents ? { events: savedEvents } : {},
|
|
1122
|
+
...heartbeat ? { heartbeat } : {},
|
|
1063
1123
|
...cloud ? {
|
|
1064
1124
|
target: cloud.target,
|
|
1065
1125
|
targetDetail: cloud.detail
|
|
@@ -1075,16 +1135,27 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1075
1135
|
throw error;
|
|
1076
1136
|
}
|
|
1077
1137
|
const { engineRun, plan, sandboxVersions, budgetReached, cutShort, live, questions, leftOut } = executed;
|
|
1138
|
+
const exportDone = async () => {
|
|
1139
|
+
const why = await executed.exported;
|
|
1140
|
+
if (why) renderer.onEvent({
|
|
1141
|
+
type: "notice",
|
|
1142
|
+
at: Date.now(),
|
|
1143
|
+
level: "warn",
|
|
1144
|
+
text: `OpenTelemetry export: ${why}`
|
|
1145
|
+
});
|
|
1146
|
+
};
|
|
1078
1147
|
const { retried } = executed;
|
|
1079
1148
|
invocation.unhandledErrors = engineRun.unhandledErrors;
|
|
1080
1149
|
if ((interrupted || engineRun.canceled) && plan) await cleanupRun(ctx.runId, plan.sandboxes);
|
|
1150
|
+
if (plan) await reapOrphans(plan.sandboxes);
|
|
1081
1151
|
if (engineRun.stopped || !plan) {
|
|
1082
1152
|
live?.remove();
|
|
1153
|
+
await exportDone();
|
|
1083
1154
|
renderer.close();
|
|
1084
1155
|
return EXIT.ok;
|
|
1085
1156
|
}
|
|
1086
1157
|
if (ctx.retry && ctx.previous && retried.size) {
|
|
1087
|
-
const { retryEnvironmentChanges } = await import("./retry-
|
|
1158
|
+
const { retryEnvironmentChanges } = await import("./retry-BNFAHTES.js");
|
|
1088
1159
|
const changes = retryEnvironmentChanges(ctx.previous, ctx.stagingDir, retried);
|
|
1089
1160
|
if (changes.length) {
|
|
1090
1161
|
questions?.cancel();
|
|
@@ -1103,8 +1174,8 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1103
1174
|
}
|
|
1104
1175
|
finishing = true;
|
|
1105
1176
|
live?.phase("finishing");
|
|
1106
|
-
const { lockfiles } = await import("./state-
|
|
1107
|
-
const { writeScratchRun } = await import("./results-
|
|
1177
|
+
const { lockfiles } = await import("./state-DBuFimCA.js");
|
|
1178
|
+
const { writeScratchRun } = await import("./results-rYLTGa1F.js");
|
|
1108
1179
|
const run = await writeScratchRun({
|
|
1109
1180
|
ctx,
|
|
1110
1181
|
author: ctx.author,
|
|
@@ -1138,12 +1209,12 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1138
1209
|
status: "complete"
|
|
1139
1210
|
}) : outcome;
|
|
1140
1211
|
let code = stopped ? stopCode : ran === "fail" ? EXIT.failed : ran === "infra_error" ? EXIT.infra : EXIT.ok;
|
|
1141
|
-
const { pruneDebug } = await import("./files-
|
|
1212
|
+
const { pruneDebug } = await import("./files-DCcRkJN4.js");
|
|
1142
1213
|
await pruneDebug(ctx.config.root, ctx.config.debug.keep).catch(() => {});
|
|
1143
1214
|
const summary = run.artifactDir ? join(run.artifactDir, "summary.md") : run.recordPath;
|
|
1144
1215
|
const { config } = ctx;
|
|
1145
1216
|
const mode = setup.record;
|
|
1146
|
-
const { readRecord, recordFile } = await import("./files-
|
|
1217
|
+
const { readRecord, recordFile } = await import("./files-63CNzRBF.js");
|
|
1147
1218
|
const rerecord = (setup.retry !== void 0 || setup.resume !== void 0) && record.status === "complete" && existsSync(recordFile(config.history.dir, record.runId));
|
|
1148
1219
|
const autoRecord = flags.record || mode === "always" || mode === "ci" && inCI() || rerecord;
|
|
1149
1220
|
const recording = autoRecord && record.status !== "interrupted";
|
|
@@ -1151,6 +1222,7 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1151
1222
|
const endRun = async (recorded) => {
|
|
1152
1223
|
if (ended) return;
|
|
1153
1224
|
ended = true;
|
|
1225
|
+
await exportDone();
|
|
1154
1226
|
renderer.onEvent({
|
|
1155
1227
|
type: "run-end",
|
|
1156
1228
|
at: Date.now(),
|
|
@@ -1163,7 +1235,7 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1163
1235
|
});
|
|
1164
1236
|
renderer.close();
|
|
1165
1237
|
if (retried.size) {
|
|
1166
|
-
const { retryCounts, retryLine } = await import("./retry-
|
|
1238
|
+
const { retryCounts, retryLine } = await import("./retry-BNFAHTES.js");
|
|
1167
1239
|
const line = retryLine(retryCounts(record, retried, ctx.previous));
|
|
1168
1240
|
if (setup.json) console.error(line);
|
|
1169
1241
|
else console.log(line);
|
|
@@ -1174,7 +1246,7 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1174
1246
|
let recordLine;
|
|
1175
1247
|
let recordError;
|
|
1176
1248
|
if (recording) {
|
|
1177
|
-
const { record: recordCmd } = await import("./commands-
|
|
1249
|
+
const { record: recordCmd } = await import("./commands-D8D7ZJ0I.js");
|
|
1178
1250
|
const allow = record.status === "budget" ? { "allow-incomplete": true } : {};
|
|
1179
1251
|
try {
|
|
1180
1252
|
const level = rerecord ? { artifacts: (await readRecord(recordFile(config.history.dir, record.runId))).artifacts } : {};
|
|
@@ -1207,7 +1279,7 @@ async function runCommand(flags, configPath, given, bundled) {
|
|
|
1207
1279
|
else console.log(line);
|
|
1208
1280
|
}
|
|
1209
1281
|
if (setup.json) {
|
|
1210
|
-
const { suiteResult } = await import("./suite-
|
|
1282
|
+
const { suiteResult } = await import("./suite-fO-u8jlS.js");
|
|
1211
1283
|
process.stdout.write(`${JSON.stringify({
|
|
1212
1284
|
...suiteResult(record),
|
|
1213
1285
|
outcome: ran
|
|
@@ -1287,7 +1359,7 @@ async function prepareRun(flags, configPath, { noProfile = false, profileOf } =
|
|
|
1287
1359
|
stdinTTY: !!process.stdin.isTTY && !flags.json && !flags["dry-run"]
|
|
1288
1360
|
});
|
|
1289
1361
|
const path = requireConfig(configPath);
|
|
1290
|
-
const tracked = !!(flags["dry-run"] && flags.json) ? (await import("./inputs-load-
|
|
1362
|
+
const tracked = !!(flags["dry-run"] && flags.json) ? (await import("./inputs-load-C8HEtAej.js")).trackLoad(dirname(path)) : void 0;
|
|
1291
1363
|
let configInputs = [];
|
|
1292
1364
|
let loaded;
|
|
1293
1365
|
const named = noProfile ? void 0 : flags.profile ?? (process.env.REEVAL_PROFILE || void 0);
|
|
@@ -1350,7 +1422,7 @@ async function prepareRun(flags, configPath, { noProfile = false, profileOf } =
|
|
|
1350
1422
|
async function registryFlag(flags) {
|
|
1351
1423
|
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");
|
|
1352
1424
|
if (flags.registry === void 0) return null;
|
|
1353
|
-
const { registryProblem } = await import("./src-
|
|
1425
|
+
const { registryProblem } = await import("./src-DXZXofCJ.js");
|
|
1354
1426
|
const problem = registryProblem(flags.registry);
|
|
1355
1427
|
if (problem) throw new UsageError(problem);
|
|
1356
1428
|
return flags.registry.replace(/\/+$/, "");
|
|
@@ -1361,11 +1433,11 @@ const retryVerb = (retry, runId) => retry.resume ? `--resume finishes run ${runI
|
|
|
1361
1433
|
async function startRun({ config, profile, runs, tags, traits, sandboxes, sizeRun, verbosity, configFile, resume, retry, dryRun }, bundled) {
|
|
1362
1434
|
const startedAt = /* @__PURE__ */ new Date();
|
|
1363
1435
|
const git = bundled ? bundled.git : await gitInfo(config.root, [config.history.dir]);
|
|
1364
|
-
const { worktreePatch } = await import("./state-
|
|
1436
|
+
const { worktreePatch } = await import("./state-DBuFimCA.js");
|
|
1365
1437
|
const patch = git?.dirty && !bundled ? await worktreePatch(config.root, [config.history.dir]) : null;
|
|
1366
1438
|
const who = bundled?.author ?? await author(config.root);
|
|
1367
|
-
const { stagingDir } = await import("./results-
|
|
1368
|
-
const { scratchDir } = await import("./files-
|
|
1439
|
+
const { stagingDir } = await import("./results-rYLTGa1F.js");
|
|
1440
|
+
const { scratchDir } = await import("./files-63CNzRBF.js");
|
|
1369
1441
|
const scratch = scratchDir(config.root);
|
|
1370
1442
|
if (resume !== void 0 || retry !== void 0) {
|
|
1371
1443
|
const target = await continuedRun(config.root, {
|
|
@@ -1386,7 +1458,7 @@ async function startRun({ config, profile, runs, tags, traits, sandboxes, sizeRu
|
|
|
1386
1458
|
if (scoped.length) await cleanupRun(target.runId, scoped).catch(() => {});
|
|
1387
1459
|
}
|
|
1388
1460
|
const concurrency = await sizeRun();
|
|
1389
|
-
const { unfoldCases } = await import("./cases-
|
|
1461
|
+
const { unfoldCases } = await import("./cases-Bsp-G-ZL.js");
|
|
1390
1462
|
const previous = aside.record ?? target.previous;
|
|
1391
1463
|
return {
|
|
1392
1464
|
runId: target.runId,
|
|
@@ -1480,12 +1552,12 @@ function namesDeclaredSecret(evals) {
|
|
|
1480
1552
|
*/
|
|
1481
1553
|
async function planEfforts(planned) {
|
|
1482
1554
|
const live = planned.filter((p) => !p.attempt.plan.skip);
|
|
1483
|
-
const { effortNotes, withDefaultEffort } = await import("./default-effort-
|
|
1555
|
+
const { effortNotes, withDefaultEffort } = await import("./default-effort-C6Gcd-Fy.js");
|
|
1484
1556
|
let cursor;
|
|
1485
1557
|
let unchecked = "CURSOR_API_KEY isn't set";
|
|
1486
1558
|
const key = process.env.CURSOR_API_KEY;
|
|
1487
1559
|
if (key && live.some((p) => p.attempt.harness.kind === "cursor")) {
|
|
1488
|
-
const { checkCursorPlan } = await import("./cursor-catalog-
|
|
1560
|
+
const { checkCursorPlan } = await import("./cursor-catalog-DQCmwsX3.js");
|
|
1489
1561
|
const checked = await checkCursorPlan(key, live);
|
|
1490
1562
|
if (checked instanceof Error) unchecked = `its request failed: ${checked.message}`;
|
|
1491
1563
|
else {
|
|
@@ -1523,8 +1595,8 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1523
1595
|
completed: [],
|
|
1524
1596
|
...setup.dryRun && setup.json ? { inputs: true } : {}
|
|
1525
1597
|
}));
|
|
1526
|
-
const { runEngine } = await import("./node-
|
|
1527
|
-
const { buildPlan, checkAttemptBudget, planDocument, planInputs, planLine, planTable, runHeader } = await import("./plan-
|
|
1598
|
+
const { runEngine } = await import("./node-DyRPGAT5.js");
|
|
1599
|
+
const { buildPlan, checkAttemptBudget, planDocument, planInputs, planLine, planTable, runHeader } = await import("./plan-x-_vZMQH.js");
|
|
1528
1600
|
let plan;
|
|
1529
1601
|
let sandboxVersions = { images: [] };
|
|
1530
1602
|
let preflightStop;
|
|
@@ -1569,9 +1641,9 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1569
1641
|
if (ctx.retry && ctx.previous) {
|
|
1570
1642
|
const ranOn = ctx.previous.stack?.reeval;
|
|
1571
1643
|
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.`);
|
|
1572
|
-
const { retryChanges } = await import("./retry-
|
|
1573
|
-
const { judgePart } = await import("./assemble-
|
|
1574
|
-
const { engineVersions } = await import("./node-
|
|
1644
|
+
const { retryChanges } = await import("./retry-BNFAHTES.js");
|
|
1645
|
+
const { judgePart } = await import("./assemble-ChNVeWNr.js");
|
|
1646
|
+
const { engineVersions } = await import("./node-DyRPGAT5.js");
|
|
1575
1647
|
const judged = judgePart(config, profile, version, engineVersions);
|
|
1576
1648
|
const runs = new Set(planned.map((p) => p.key).filter((key) => !completed.has(key)));
|
|
1577
1649
|
const changes = await retryChanges(ctx.previous, planned, runs, config.root, judged);
|
|
@@ -1584,7 +1656,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1584
1656
|
}
|
|
1585
1657
|
}
|
|
1586
1658
|
retried = continuing && !setup.dryRun ? noteRetries(planned, stagingDir, ctx.previous, true).errored : errored;
|
|
1587
|
-
const models = skipped.some((p) => !p.attempt.plan.skip && p.attempt.plan.questions?.length) ? await import("./model-
|
|
1659
|
+
const models = skipped.some((p) => !p.attempt.plan.skip && p.attempt.plan.questions?.length) ? await import("./model-BdLvfSQO.js") : void 0;
|
|
1588
1660
|
const judge = runJudgeModel(config, profile);
|
|
1589
1661
|
const judgeModel = judge === void 0 ? null : judgeModelName(judge);
|
|
1590
1662
|
plan = await buildPlan({
|
|
@@ -1604,7 +1676,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1604
1676
|
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))] : [];
|
|
1605
1677
|
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`);
|
|
1606
1678
|
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))] : [];
|
|
1607
|
-
const { podmanRootless } = await import("./providers-
|
|
1679
|
+
const { podmanRootless } = await import("./providers-BPujoqQM.js");
|
|
1608
1680
|
if (switching.length && await podmanRootless()) plan.warnings.push(rootlessPodmanSwitch(switching));
|
|
1609
1681
|
plan.warnings.push(...started.notes);
|
|
1610
1682
|
if (started.narrowed) {
|
|
@@ -1620,7 +1692,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1620
1692
|
run.completed = [...completed];
|
|
1621
1693
|
const done = leftOut.filter((l) => l.done).map((l) => l.key);
|
|
1622
1694
|
kept = keptAttempts([...completed, ...done], stagingDir, ctx.previous);
|
|
1623
|
-
const { imageStages, imageTargets } = await import("./images-
|
|
1695
|
+
const { imageStages, imageTargets } = await import("./images-BkJn7NHU.js");
|
|
1624
1696
|
const targets = imageTargets(skipped.filter((p) => !p.attempt.plan.skip).map((p) => ({
|
|
1625
1697
|
id: p.attempt.family?.id ?? p.id,
|
|
1626
1698
|
harness: p.attempt.harness,
|
|
@@ -1634,7 +1706,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1634
1706
|
evals: t.evals,
|
|
1635
1707
|
stages: await imageStages(t, config.root)
|
|
1636
1708
|
})));
|
|
1637
|
-
const { lockfiles } = await import("./state-
|
|
1709
|
+
const { lockfiles } = await import("./state-DBuFimCA.js");
|
|
1638
1710
|
const locks = (await lockfiles(config.root)).map(({ path }) => ({
|
|
1639
1711
|
path: join(config.root, path),
|
|
1640
1712
|
kind: "lockfile"
|
|
@@ -1649,7 +1721,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1649
1721
|
judges: running.flatMap((p) => p.attempt.judge ? [p.attempt.judge] : [])
|
|
1650
1722
|
});
|
|
1651
1723
|
for (const { names } of needed) for (const name of names) secrets.add(name);
|
|
1652
|
-
const { notCloud } = await import("./cloud-run-
|
|
1724
|
+
const { notCloud } = await import("./cloud-run-BfFCs6Fm.js");
|
|
1653
1725
|
const blocked = notCloud(skipped);
|
|
1654
1726
|
const doc = {
|
|
1655
1727
|
...planDocument(plan, skipped, excluded, images, inputs, [...secrets].sort()),
|
|
@@ -1660,13 +1732,13 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1660
1732
|
return false;
|
|
1661
1733
|
}
|
|
1662
1734
|
const elsewhere = setup.configElsewhere ? configFile : void 0;
|
|
1663
|
-
const { scratchDir } = await import("./files-
|
|
1735
|
+
const { scratchDir } = await import("./files-63CNzRBF.js");
|
|
1664
1736
|
const lines = [];
|
|
1665
1737
|
if (setup.dryRun) {
|
|
1666
1738
|
const todos = excluded.filter((e) => e.mode === "todo").map((e) => e.id);
|
|
1667
1739
|
lines.push(...planTable(plan, todos));
|
|
1668
|
-
const { imageStatusLines } = await import("./images-
|
|
1669
|
-
const { dockerAvailable, engineSpec } = await import("./src-
|
|
1740
|
+
const { imageStatusLines } = await import("./images-BkJn7NHU.js");
|
|
1741
|
+
const { dockerAvailable, engineSpec } = await import("./src-DXZXofCJ.js");
|
|
1670
1742
|
const engines = [...new Set(targets.map((t) => t.sandbox.engine ?? "docker"))];
|
|
1671
1743
|
const down = [];
|
|
1672
1744
|
for (const engine of engines) if (!await dockerAvailable(engine)) down.push(engine);
|
|
@@ -1699,6 +1771,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1699
1771
|
sandboxWarnings: plan.sandboxWarnings
|
|
1700
1772
|
});
|
|
1701
1773
|
if (setup.dryRun) return false;
|
|
1774
|
+
await reapOrphans(plan.sandboxes);
|
|
1702
1775
|
if (continuing) {
|
|
1703
1776
|
const away = /* @__PURE__ */ new Map();
|
|
1704
1777
|
for (const { attempt } of planned) {
|
|
@@ -1760,7 +1833,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1760
1833
|
});
|
|
1761
1834
|
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.`);
|
|
1762
1835
|
if (asked.length) {
|
|
1763
|
-
const { questionRunner } = await import("./questions-
|
|
1836
|
+
const { questionRunner } = await import("./questions-DRPM7pky.js");
|
|
1764
1837
|
const warned = /* @__PURE__ */ new Set();
|
|
1765
1838
|
questions = questionRunner({
|
|
1766
1839
|
evals: asked,
|
|
@@ -1802,7 +1875,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1802
1875
|
}
|
|
1803
1876
|
});
|
|
1804
1877
|
}
|
|
1805
|
-
const { prepareWorkspaces, sameTreeArms, workspaceKey } = await import("./workspace-
|
|
1878
|
+
const { prepareWorkspaces, sameTreeArms, workspaceKey } = await import("./workspace-JlgoGyR0.js");
|
|
1806
1879
|
const live = skipped.filter((p) => !p.attempt.plan.skip);
|
|
1807
1880
|
const outcomes = await prepareWorkspaces(live.flatMap(({ attempt: a }) => a.workspace ? [{
|
|
1808
1881
|
workspace: a.workspace,
|
|
@@ -1863,11 +1936,14 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1863
1936
|
})), {
|
|
1864
1937
|
root: config.root,
|
|
1865
1938
|
runId,
|
|
1866
|
-
onEvent: (e) =>
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1939
|
+
onEvent: (e) => {
|
|
1940
|
+
trace?.prepare(e);
|
|
1941
|
+
renderer.onEvent({
|
|
1942
|
+
type: "prepare",
|
|
1943
|
+
at: Date.now(),
|
|
1944
|
+
...e
|
|
1945
|
+
});
|
|
1946
|
+
},
|
|
1871
1947
|
...setup.registry ? { registry: setup.registry } : {}
|
|
1872
1948
|
});
|
|
1873
1949
|
} catch (error) {
|
|
@@ -1895,18 +1971,35 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
1895
1971
|
};
|
|
1896
1972
|
let engineRun;
|
|
1897
1973
|
let cutShort = false;
|
|
1898
|
-
const { MACHINES, MachineService } = await import("./machine-service-
|
|
1974
|
+
const { MACHINES, MachineService } = await import("./machine-service-Cymfk7E-.js");
|
|
1899
1975
|
const machines = new MachineService();
|
|
1976
|
+
const { TRACE } = await import("./spans-C3FlFC22.js");
|
|
1977
|
+
const { RunTrace } = await import("./run-DSKRllpd.js");
|
|
1978
|
+
const { exportSpans, otlpTarget } = await import("./otlp-ehLWBhVL.js");
|
|
1979
|
+
const exporting = otlpTarget(process.env);
|
|
1980
|
+
let exported = Promise.resolve(null);
|
|
1981
|
+
let runStarted = false;
|
|
1982
|
+
const trace = setup.dryRun ? void 0 : new RunTrace({
|
|
1983
|
+
dir: stagingDir,
|
|
1984
|
+
runId,
|
|
1985
|
+
keep: typeof exporting === "object" && exporting !== null,
|
|
1986
|
+
attributes: {
|
|
1987
|
+
"reeval.version": version,
|
|
1988
|
+
...profile && { "reeval.profile": profile.name }
|
|
1989
|
+
}
|
|
1990
|
+
}).install();
|
|
1900
1991
|
try {
|
|
1901
1992
|
engineRun = await runEngine({
|
|
1902
1993
|
run,
|
|
1903
1994
|
filters,
|
|
1904
1995
|
onPlan,
|
|
1996
|
+
...started.heartbeat ? { heartbeat: beatWith(started.heartbeat, machines) } : {},
|
|
1905
1997
|
services: {
|
|
1906
|
-
call: (owner, service, body) => service === MACHINES ? machines.call(owner, body) : service === "secrets" ? Promise.resolve(heldSecrets()) : Promise.reject(/* @__PURE__ */ new Error(`This run has no ${service} service`)),
|
|
1998
|
+
call: (owner, service, body) => service === MACHINES ? machines.call(owner, body) : service === TRACE ? trace?.call(body) ?? Promise.resolve(null) : service === "secrets" ? Promise.resolve(heldSecrets()) : Promise.reject(/* @__PURE__ */ new Error(`This run has no ${service} service`)),
|
|
1907
1999
|
released: (owner) => machines.released(owner)
|
|
1908
2000
|
},
|
|
1909
2001
|
onRunStart: (files) => {
|
|
2002
|
+
runStarted = true;
|
|
1910
2003
|
writeCurrent(setup.config.root, runId);
|
|
1911
2004
|
live = writeLiveProgress({
|
|
1912
2005
|
dir: stagingDir,
|
|
@@ -2010,9 +2103,13 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
2010
2103
|
} finally {
|
|
2011
2104
|
clearTimeout(budgetTimer);
|
|
2012
2105
|
await machines.close();
|
|
2013
|
-
|
|
2106
|
+
if (trace) exported = exportSpans(trace.close({
|
|
2107
|
+
status: interrupted ? "interrupted" : reached ? "budget" : "ran",
|
|
2108
|
+
started: runStarted
|
|
2109
|
+
}), process.env, version);
|
|
2110
|
+
const { removePrepared } = await import("./preflight-0Wt3wufx.js");
|
|
2014
2111
|
removePrepared(config.root, runId);
|
|
2015
|
-
const { removePreparedWorkspaces } = await import("./workspace-
|
|
2112
|
+
const { removePreparedWorkspaces } = await import("./workspace-JlgoGyR0.js");
|
|
2016
2113
|
removePreparedWorkspaces(config.root, runId);
|
|
2017
2114
|
}
|
|
2018
2115
|
if (preflightStop) throw preflightStop;
|
|
@@ -2027,6 +2124,7 @@ async function executeRun(ctx, setup, filters, renderer, started) {
|
|
|
2027
2124
|
cutShort,
|
|
2028
2125
|
live,
|
|
2029
2126
|
questions,
|
|
2127
|
+
exported,
|
|
2030
2128
|
leftOut,
|
|
2031
2129
|
/** The attempts that ran again after an infra error, by key; none on a dry run. */
|
|
2032
2130
|
retried: setup.dryRun ? /* @__PURE__ */ new Set() : retried
|
|
@@ -2100,4 +2198,4 @@ run(process.argv.slice(2)).finally(() => {
|
|
|
2100
2198
|
});
|
|
2101
2199
|
export {};
|
|
2102
2200
|
|
|
2103
|
-
//# sourceMappingURL=cli-
|
|
2201
|
+
//# sourceMappingURL=cli-BFfZy9Ax.js.map
|