reeval 0.27.1 → 0.28.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 +30 -0
- package/README.md +15 -15
- package/dist/{adapter-CVTLAqRZ.js → adapter-mMrKaF9C.js} +4 -4
- package/dist/{adapter-CVTLAqRZ.js.map → adapter-mMrKaF9C.js.map} +1 -1
- package/dist/agent-BMHM86Qy.js +271 -0
- package/dist/agent-BMHM86Qy.js.map +1 -0
- package/dist/agents-BP6F1c6y.d.ts +3 -0
- package/dist/agents-DgfyOMRm.js +400 -0
- package/dist/agents-DgfyOMRm.js.map +1 -0
- package/dist/{api-C8ZbQG7s.js → api-DIzSkDXZ.js} +2 -2
- package/dist/{api-C8ZbQG7s.js.map → api-DIzSkDXZ.js.map} +1 -1
- package/dist/assemble-Dsl_C0gf.js +1 -0
- package/dist/{assemble-CMEwZN4_.js → assemble-DxVRcaLC.js} +17 -17
- package/dist/{assemble-CMEwZN4_.js.map → assemble-DxVRcaLC.js.map} +1 -1
- package/dist/{attach-BX-5hEGv.js → attach-CB-ESG7D.js} +5 -5
- package/dist/{attach-BX-5hEGv.js.map → attach-CB-ESG7D.js.map} +1 -1
- package/dist/{attempt-host-4dd7VaDe.js → attempt-host-B3zsORzT.js} +5 -5
- package/dist/{attempt-host-4dd7VaDe.js.map → attempt-host-B3zsORzT.js.map} +1 -1
- package/dist/{boat-IDUgSDug.js → boat-B2B3XO9B.js} +8 -8
- package/dist/{boat-IDUgSDug.js.map → boat-B2B3XO9B.js.map} +1 -1
- package/dist/{boat-Cal3Y_cf.js → boat-CANaudKC.js} +1 -1
- package/dist/{boat-images-BvfeOB9a.js → boat-images-sSz82GXk.js} +8 -8
- package/dist/{boat-images-BvfeOB9a.js.map → boat-images-sSz82GXk.js.map} +1 -1
- package/dist/{bundle-BOMF_M7M.js → bundle-CJsMYTJw.js} +68 -15
- package/dist/bundle-CJsMYTJw.js.map +1 -0
- package/dist/capture-5WMKZZRx.js +1 -0
- package/dist/{capture-Zg37l-rl.js → capture-DTHe_BcS.js} +13 -13
- package/dist/{capture-Zg37l-rl.js.map → capture-DTHe_BcS.js.map} +1 -1
- package/dist/{cases-C6vnV-gn.js → cases-B_a7flE8.js} +3 -3
- package/dist/{cases-C6vnV-gn.js.map → cases-B_a7flE8.js.map} +1 -1
- package/dist/cases-D0-dA8q1.js +1 -0
- package/dist/{classify-BIJQ2Xqo.js → classify-gLl11KS8.js} +3 -3
- package/dist/{classify-BIJQ2Xqo.js.map → classify-gLl11KS8.js.map} +1 -1
- package/dist/{cli-DccpONR9.js → cli-EopIiwBJ.js} +118 -116
- package/dist/cli-EopIiwBJ.js.map +1 -0
- package/dist/{cli-spec-DO-RQP-t.js → cli-spec-CYh8vLTE.js} +31 -9
- package/dist/cli-spec-CYh8vLTE.js.map +1 -0
- package/dist/cli.js +4 -2
- package/dist/cli.js.map +1 -1
- package/dist/{cloud-CcllrnMJ.js → cloud-CsofVdxN.js} +4 -4
- package/dist/{cloud-CcllrnMJ.js.map → cloud-CsofVdxN.js.map} +1 -1
- package/dist/{cloud-files-Dk9vMqTd.js → cloud-files-BpWbKpxg.js} +9 -9
- package/dist/{cloud-files-Dk9vMqTd.js.map → cloud-files-BpWbKpxg.js.map} +1 -1
- package/dist/{cloud-project-pwlrENpe.js → cloud-project-CN1f7p5a.js} +2 -2
- package/dist/{cloud-project-pwlrENpe.js.map → cloud-project-CN1f7p5a.js.map} +1 -1
- package/dist/{cloud-project-CwCIPUO0.js → cloud-project-DLn9l5X6.js} +1 -1
- package/dist/{cloud-push-XtACx9Rn.js → cloud-push-CLIcWVa6.js} +11 -11
- package/dist/{cloud-push-XtACx9Rn.js.map → cloud-push-CLIcWVa6.js.map} +1 -1
- package/dist/{cloud-push-baZYUB5L.js → cloud-push-CPLWxn8b.js} +1 -1
- package/dist/{cloud-run-B6axrPZv.js → cloud-run-ChdOr6zu.js} +18 -14
- package/dist/cloud-run-ChdOr6zu.js.map +1 -0
- package/dist/{cloud-run-C0Hj7EiS.js → cloud-run-DIAXbsWd.js} +1 -1
- package/dist/{cloud-secrets-CTuA8dDk.js → cloud-secrets-DAuRwjTP.js} +75 -57
- package/dist/cloud-secrets-DAuRwjTP.js.map +1 -0
- package/dist/cloud-secrets-a1B2IsjU.js +1 -0
- package/dist/{command-Blf581A9.js → command-6UkOgqge.js} +22 -22
- package/dist/{command-Blf581A9.js.map → command-6UkOgqge.js.map} +1 -1
- package/dist/{command-BC_zVYDg.js → command-CQS2gjNM.js} +17 -17
- package/dist/{command-BC_zVYDg.js.map → command-CQS2gjNM.js.map} +1 -1
- package/dist/{command-BN-UjwKc.js → command-CUBXsFfz.js} +7 -7
- package/dist/{command-BN-UjwKc.js.map → command-CUBXsFfz.js.map} +1 -1
- package/dist/{command-Q-RyEJPQ.js → command-Dq-mFirh.js} +2 -2
- package/dist/{command-Q-RyEJPQ.js.map → command-Dq-mFirh.js.map} +1 -1
- package/dist/{command-CiGl6R33.js → command-I8E1FgG5.js} +12 -12
- package/dist/{command-CiGl6R33.js.map → command-I8E1FgG5.js.map} +1 -1
- package/dist/{commands-DzRyz-v9.js → commands-BeLE4oN4.js} +18 -18
- package/dist/{commands-DzRyz-v9.js.map → commands-BeLE4oN4.js.map} +1 -1
- package/dist/{commands-CBbpjvzR.js → commands-wkSzuPgF.js} +1 -1
- package/dist/{config-DDNytzO-.js → config-CfZWILTy.js} +22 -25
- package/dist/config-CfZWILTy.js.map +1 -0
- package/dist/{provenance-Cylt_YxT.d.ts → core-C2d0URWs.d.ts} +2 -2
- package/dist/{core-B3Qg8zwG.js → core-tpzE5NhW.js} +8 -8
- package/dist/{core-B3Qg8zwG.js.map → core-tpzE5NhW.js.map} +1 -1
- package/dist/{cost-DQ0ayy6h.js → cost-CSfMv_sp.js} +5 -2
- package/dist/cost-CSfMv_sp.js.map +1 -0
- package/dist/{cost-a_rUSdsf.js → cost-_uinO5Yg.js} +1 -1
- package/dist/{cost-Dp-xFGJ1.js → cost-rRhvzqJo.js} +2 -2
- package/dist/{cost-Dp-xFGJ1.js.map → cost-rRhvzqJo.js.map} +1 -1
- package/dist/{cursor-catalog-CkdQyfqe.js → cursor-catalog-Cw3kv68u.js} +15 -5
- package/dist/cursor-catalog-Cw3kv68u.js.map +1 -0
- package/dist/{daytona-acuTdrq7.js → daytona-fLoFUu2I.js} +10 -10
- package/dist/{daytona-acuTdrq7.js.map → daytona-fLoFUu2I.js.map} +1 -1
- package/dist/{daytona-image-BtdtmTYn.js → daytona-image-BRBFQA9c.js} +4 -4
- package/dist/{daytona-image-BtdtmTYn.js.map → daytona-image-BRBFQA9c.js.map} +1 -1
- package/dist/daytona-image-DuZpq9Qw.js +1 -0
- package/dist/db-BPumcvp8.js +1 -0
- package/dist/{db-BQb7-_SX.js → db-t2g-ANto.js} +10 -10
- package/dist/{db-BQb7-_SX.js.map → db-t2g-ANto.js.map} +1 -1
- package/dist/{default-effort-C8bN-rLD.js → default-effort-ByvTDqX7.js} +10 -4
- package/dist/default-effort-ByvTDqX7.js.map +1 -0
- package/dist/default-effort-C9He6KVv.js +1 -0
- package/dist/{docker-CHEDAivU.js → docker-BKA4ELbB.js} +1 -1
- package/dist/{docker-DzSu1y_e.js → docker-h8mYtGWF.js} +2 -2
- package/dist/{docker-DzSu1y_e.js.map → docker-h8mYtGWF.js.map} +1 -1
- package/dist/{doctor-BPHM419M.js → doctor-CPXSQ4s-.js} +27 -26
- package/dist/doctor-CPXSQ4s-.js.map +1 -0
- package/dist/{env-8x1O8I1M.js → env-ARmqWMQ5.js} +3 -1
- package/dist/env-ARmqWMQ5.js.map +1 -0
- package/dist/{environment-CkzsewoX.js → environment-B_ht7Lbp.js} +4 -3
- package/dist/environment-B_ht7Lbp.js.map +1 -0
- package/dist/{errors-xUi3AkBi.js → errors-BQxdlRgT.js} +2 -2
- package/dist/{errors-xUi3AkBi.js.map → errors-BQxdlRgT.js.map} +1 -1
- package/dist/{eval-source-CK6QEXlf.js → eval-source-Byy9CDjg.js} +5 -5
- package/dist/{eval-source-CK6QEXlf.js.map → eval-source-Byy9CDjg.js.map} +1 -1
- package/dist/{evaluate-Nnh0iPuo.d.ts → evaluate-Bhdj1cv0.d.ts} +1 -1
- package/dist/{evaluate-DnMnoErB.js → evaluate-DoObbRZ2.js} +70 -55
- package/dist/evaluate-DoObbRZ2.js.map +1 -0
- package/dist/events-D7kBBdzl.js +1 -0
- package/dist/{events-CQJ9VK-x.js → events-Da6Pl5_b.js} +3 -3
- package/dist/{events-CQJ9VK-x.js.map → events-Da6Pl5_b.js.map} +1 -1
- package/dist/{files-DxMU7Qa3.js → files-CLNAE1rM.js} +6 -6
- package/dist/{files-DxMU7Qa3.js.map → files-CLNAE1rM.js.map} +1 -1
- package/dist/files-CjabTKaR.js +1 -0
- package/dist/{files-C0k5nNUu.js → files-CmLgOH3w.js} +3 -3
- package/dist/{files-C0k5nNUu.js.map → files-CmLgOH3w.js.map} +1 -1
- package/dist/{files-CGzUGcN2.js → files-CsJWxr6c.js} +2 -2
- package/dist/{files-CGzUGcN2.js.map → files-CsJWxr6c.js.map} +1 -1
- package/dist/{files-FLbqNavk.js → files-DV9Tfusu.js} +7 -7
- package/dist/{files-FLbqNavk.js.map → files-DV9Tfusu.js.map} +1 -1
- package/dist/{files--mW-Ym3B.js → files-Dc2xVqx1.js} +1 -1
- package/dist/{files-lwByH3UH.js → files-DgRaHy0k.js} +5 -5
- package/dist/{files-lwByH3UH.js.map → files-DgRaHy0k.js.map} +1 -1
- package/dist/files-DrXNXtQR.js +1 -0
- package/dist/files-Ds_hi5Bh.js +1 -0
- package/dist/{files-f7mRGOM3.js → files-uFFwVJZG.js} +4 -4
- package/dist/{files-f7mRGOM3.js.map → files-uFFwVJZG.js.map} +1 -1
- package/dist/gateway.d.ts +1 -1
- package/dist/harness-Dcd3ffkY.js.map +1 -1
- package/dist/{harness-install-CTAsIRk9.js → harness-install-CmD1eQsL.js} +7 -5
- package/dist/harness-install-CmD1eQsL.js.map +1 -0
- package/dist/harness.d.ts +1 -1
- package/dist/{ids-D9QbaaVk.js → ids-cqB_4aeP.js} +3 -3
- package/dist/{ids-D9QbaaVk.js.map → ids-cqB_4aeP.js.map} +1 -1
- package/dist/{images-32hY25pv.js → images-CWT6Ye03.js} +13 -13
- package/dist/{images-32hY25pv.js.map → images-CWT6Ye03.js.map} +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +4 -4
- package/dist/{init-DSDKSenO.js → init-BESRsV7F.js} +5 -5
- package/dist/{init-DSDKSenO.js.map → init-BESRsV7F.js.map} +1 -1
- package/dist/init-CSfZF3uV.js +1 -0
- package/dist/{ink-list-BsPpwXuw.js → ink-list-Cu48wlm7.js} +2 -2
- package/dist/{ink-list-BsPpwXuw.js.map → ink-list-Cu48wlm7.js.map} +1 -1
- package/dist/{inputs-DvE7qqTb.js → inputs-BoQrNOoN.js} +6 -6
- package/dist/{inputs-DvE7qqTb.js.map → inputs-BoQrNOoN.js.map} +1 -1
- package/dist/internal/vm.d.ts +2 -2
- package/dist/{invocations-2vDCZ_7f.js → invocations-FUUh2r22.js} +3 -3
- package/dist/{invocations-2vDCZ_7f.js.map → invocations-FUUh2r22.js.map} +1 -1
- package/dist/{judge-3ABSMDa4.js → judge-CUjB8kYF.js} +71 -24
- package/dist/judge-CUjB8kYF.js.map +1 -0
- package/dist/judge.d.ts +3 -3
- package/dist/judge.js +1 -1
- package/dist/{judgments-CVCUWT-g.js → judgments-8zHsGW8o.js} +2 -2
- package/dist/{judgments-CVCUWT-g.js.map → judgments-8zHsGW8o.js.map} +1 -1
- package/dist/{kinds-CICscFIA.js → kinds-C6PeknHN.js} +7 -7
- package/dist/{kinds-CICscFIA.js.map → kinds-C6PeknHN.js.map} +1 -1
- package/dist/{labels-Dtyf5-pd.js → labels-CbwHtEHq.js} +2 -3
- package/dist/labels-CbwHtEHq.js.map +1 -0
- package/dist/{layout-ChWMCz4x.js → layout-zk3wcJ-D.js} +4 -4
- package/dist/{layout-ChWMCz4x.js.map → layout-zk3wcJ-D.js.map} +1 -1
- package/dist/{link-Rj7DMpHv.js → link-C74mznSy.js} +3 -3
- package/dist/{link-Rj7DMpHv.js.map → link-C74mznSy.js.map} +1 -1
- package/dist/{list-DSm2TZds.js → list-B_bnCkKF.js} +7 -7
- package/dist/{list-DSm2TZds.js.map → list-B_bnCkKF.js.map} +1 -1
- package/dist/{live-D3zHauJd.js → live-BXjhPeBS.js} +5 -5
- package/dist/{live-D3zHauJd.js.map → live-BXjhPeBS.js.map} +1 -1
- package/dist/{live-YXsT5z0d.js → live-CVlGZ5uP.js} +2 -2
- package/dist/{live-YXsT5z0d.js.map → live-CVlGZ5uP.js.map} +1 -1
- package/dist/{machine-service-GQkt_mJ-.js → machine-service-CIPF3GOD.js} +1 -1
- package/dist/{machine-service-Bos-taCx.js → machine-service-WRvLuPyf.js} +3 -3
- package/dist/{machine-service-Bos-taCx.js.map → machine-service-WRvLuPyf.js.map} +1 -1
- package/dist/{machines-tHbtRGLZ.js → machines-BIhbRJ4m.js} +23 -23
- package/dist/{machines-tHbtRGLZ.js.map → machines-BIhbRJ4m.js.map} +1 -1
- package/dist/{markdown-COts-jxf.js → markdown-aVaKa5tB.js} +2 -2
- package/dist/{markdown-COts-jxf.js.map → markdown-aVaKa5tB.js.map} +1 -1
- package/dist/{model-CcbVQLLZ.js → model-CnuJlONr.js} +1 -1
- package/dist/{model-B89uRS9X.js → model-D3sK3a5R.js} +13 -13
- package/dist/model-D3sK3a5R.js.map +1 -0
- package/dist/{model-WiM6J5cw.js → model-DmPDqMOT.js} +6 -5
- package/dist/model-DmPDqMOT.js.map +1 -0
- package/dist/{model-BdYwVOAF.js → model-EhOuBsho.js} +24 -16
- package/dist/{model-BdYwVOAF.js.map → model-EhOuBsho.js.map} +1 -1
- package/dist/model-Yu4XAseh.js +1 -0
- package/dist/{node-eEX-KpkO.js → node-ChfH6UTx.js} +4 -4
- package/dist/{node-eEX-KpkO.js.map → node-ChfH6UTx.js.map} +1 -1
- package/dist/{openrouter-models-B1sIOTD2.js → openrouter-models-D19R699I.js} +7 -8
- package/dist/openrouter-models-D19R699I.js.map +1 -0
- package/dist/options-DFSyG3S8.js +1 -0
- package/dist/{patch-BYEfvtW6.js → patch-DBQCuZAJ.js} +2 -2
- package/dist/{patch-BYEfvtW6.js.map → patch-DBQCuZAJ.js.map} +1 -1
- package/dist/pi-providers-C7r3J259.js +1 -0
- package/dist/{plan-BryczQNX.js → plan-Dj19aa3f.js} +10 -10
- package/dist/{plan-BryczQNX.js.map → plan-Dj19aa3f.js.map} +1 -1
- package/dist/{plugins-DPV4muCf.js → plugins-rlmJz7B3.js} +6 -15
- package/dist/plugins-rlmJz7B3.js.map +1 -0
- package/dist/{preflight-D-t0S092.js → preflight-C919d0x1.js} +9 -9
- package/dist/{preflight-D-t0S092.js.map → preflight-C919d0x1.js.map} +1 -1
- package/dist/{preflight-BQdB1wyE.js → preflight-CVGDRu2C.js} +1 -1
- package/dist/{preflight-CiF8GvAC.js → preflight-CvIY-sKu.js} +4 -4
- package/dist/{preflight-CiF8GvAC.js.map → preflight-CvIY-sKu.js.map} +1 -1
- package/dist/preflight-DzeTciWY.js +1 -0
- package/dist/{prepare-yxqXzH9o.js → prepare-BAkGolQG.js} +11 -8
- package/dist/prepare-BAkGolQG.js.map +1 -0
- package/dist/{prepare-DeI3A_tV.js → prepare-D91IAX_H.js} +2 -2
- package/dist/{prices-7Av-R8LY.js → prices-DZa1s6oE.js} +2 -2
- package/dist/{prices-7Av-R8LY.js.map → prices-DZa1s6oE.js.map} +1 -1
- package/dist/prices-DhqfDLI0.js +1 -0
- package/dist/{provenance-DH-yi6D5.js → provenance-BKmmc54i.js} +4 -4
- package/dist/{provenance-DH-yi6D5.js.map → provenance-BKmmc54i.js.map} +1 -1
- package/dist/{provider-Cn7lmECy.js → provider-BNQjWvVI.js} +2 -2
- package/dist/{provider-Cn7lmECy.js.map → provider-BNQjWvVI.js.map} +1 -1
- package/dist/provider-CVvAjoNS.js +1 -0
- package/dist/{providers-C0CsemjO.js → providers-BJtQ3NwC.js} +1 -1
- package/dist/{providers-pNzZLfjc.js → providers-zFYsqSGY.js} +26 -26
- package/dist/{providers-pNzZLfjc.js.map → providers-zFYsqSGY.js.map} +1 -1
- package/dist/{query-B9eLoFkA.js → query-Bb9N_XYo.js} +2 -2
- package/dist/{query-B9eLoFkA.js.map → query-Bb9N_XYo.js.map} +1 -1
- package/dist/query-CIn4l3KN.js +1 -0
- package/dist/{questions-Bvs34IKu.js → questions-7ENfOXct.js} +6 -6
- package/dist/{questions-Bvs34IKu.js.map → questions-7ENfOXct.js.map} +1 -1
- package/dist/{recipe-DOiL6fCP.js → recipe-BYfLWBQt.js} +3 -3
- package/dist/{recipe-DOiL6fCP.js.map → recipe-BYfLWBQt.js.map} +1 -1
- package/dist/{record-BWy9s9CV.js → record-CB1A6v0V.js} +2 -2
- package/dist/{record-BWy9s9CV.js.map → record-CB1A6v0V.js.map} +1 -1
- package/dist/{remarks-UZpf9-8r.js → remarks-Cf6sylYA.js} +10 -10
- package/dist/{remarks-UZpf9-8r.js.map → remarks-Cf6sylYA.js.map} +1 -1
- package/dist/{remarks-BbMdB_8I.js → remarks-vofg7p1p.js} +3 -3
- package/dist/{remarks-BbMdB_8I.js.map → remarks-vofg7p1p.js.map} +1 -1
- package/dist/{remote-C003Q3Nu.js → remote-3htNQd1k.js} +8 -7
- package/dist/remote-3htNQd1k.js.map +1 -0
- package/dist/renderer/ascii.d.ts +1 -1
- package/dist/renderer/markdown.d.ts +1 -1
- package/dist/renderer/markdown.js +1 -1
- package/dist/{report-B-kavICs.js → report-BQTwKMyw.js} +3 -3
- package/dist/{report-B-kavICs.js.map → report-BQTwKMyw.js.map} +1 -1
- package/dist/{report-inputs-UUAME7ww.js → report-inputs-CfN15NUr.js} +6 -6
- package/dist/{report-inputs-UUAME7ww.js.map → report-inputs-CfN15NUr.js.map} +1 -1
- package/dist/{resolve-B34rYHUr.js → resolve-BithWafe.js} +27 -17
- package/dist/resolve-BithWafe.js.map +1 -0
- package/dist/{resolve-C_UGu3ls.js → resolve-Cb2dNF75.js} +2 -2
- package/dist/{resolve-C_UGu3ls.js.map → resolve-Cb2dNF75.js.map} +1 -1
- package/dist/resolve-D8NaRPmt.js +1 -0
- package/dist/{results-DCxO32Il.js → results-BSrEuS2x.js} +6 -6
- package/dist/{results-DCxO32Il.js.map → results-BSrEuS2x.js.map} +1 -1
- package/dist/{resume-Ds4K9mQc.js → resume-VlM095b2.js} +6 -6
- package/dist/{resume-Ds4K9mQc.js.map → resume-VlM095b2.js.map} +1 -1
- package/dist/{retry-ReEnqSqt.js → retry-DI6qS8FY.js} +5 -5
- package/dist/{retry-ReEnqSqt.js.map → retry-DI6qS8FY.js.map} +1 -1
- package/dist/routes-D1tgwWoe.js +629 -0
- package/dist/routes-D1tgwWoe.js.map +1 -0
- package/dist/{run-C_kA5Jzh.js → run-DwLQh41-.js} +3 -3
- package/dist/{run-C_kA5Jzh.js.map → run-DwLQh41-.js.map} +1 -1
- package/dist/{runtime-Cu8_OGj6.js → runtime-CXxeCKoX.js} +6 -6
- package/dist/{runtime-Cu8_OGj6.js.map → runtime-CXxeCKoX.js.map} +1 -1
- package/dist/sandbox/boat.d.ts +2 -2
- package/dist/sandbox/boat.js +1 -1
- package/dist/sandbox/daytona.d.ts +2 -2
- package/dist/sandbox/daytona.js +1 -1
- package/dist/{sandbox-BsC4pZQC.js → sandbox-D1vDKYqU.js} +2 -2
- package/dist/{sandbox-BsC4pZQC.js.map → sandbox-D1vDKYqU.js.map} +1 -1
- package/dist/sandbox.d.ts +3 -3
- package/dist/sandbox.js +1 -1
- package/dist/secrets-file-BFJSaPHI.js +169 -0
- package/dist/secrets-file-BFJSaPHI.js.map +1 -0
- package/dist/{server-2cICWjvT.js → server-BrBZ0_xA.js} +6 -6
- package/dist/{server-2cICWjvT.js.map → server-BrBZ0_xA.js.map} +1 -1
- package/dist/server-CzilMQ_m.js +1 -0
- package/dist/shared-7f8bQJP4.d.ts +2 -0
- package/dist/{skill-dirs-B7o83G5I.js → skill-dirs-DaHQ463p.js} +2 -2
- package/dist/skill-dirs-DaHQ463p.js.map +1 -0
- package/dist/{source-CFimUGjU.js → source-CfeQ4DL4.js} +2 -2
- package/dist/{source-CFimUGjU.js.map → source-CfeQ4DL4.js.map} +1 -1
- package/dist/source-DqFPDDZU.js +1 -0
- package/dist/{spans-BshoUrAD.js → spans-DUexyi3E.js} +2 -2
- package/dist/spans-DUexyi3E.js.map +1 -0
- package/dist/{src-CRZg669b.js → src-1TaLS8AT.js} +1 -1
- package/dist/{src-CEValY4l.js → src-B3sBDfG2.js} +157 -114
- package/dist/src-B3sBDfG2.js.map +1 -0
- package/dist/{src-ZaP7-0pi.js → src-BWb__auU.js} +1 -1
- package/dist/{src-kjTrRKQJ.js → src-CU4tXeik.js} +1 -1
- package/dist/src-CfDk0uu4.js +3068 -0
- package/dist/src-CfDk0uu4.js.map +1 -0
- package/dist/src-DR_j9K3o.js +2 -0
- package/dist/{src-B8t-GsRm.js → src-DV-o1jAX.js} +1 -1
- package/dist/{src-DP-gPQ5B.js → src-RygE9XhU.js} +1 -1
- package/dist/{src-7kshnPZC.js → src-V6cCl3Ak.js} +1 -1
- package/dist/src-hPuCF6xC.js +1 -0
- package/dist/{src-B5r1d23Y.js → src-o0VTS7Rt.js} +5 -2
- package/dist/{src-B5r1d23Y.js.map → src-o0VTS7Rt.js.map} +1 -1
- package/dist/src-og0zwqOf.js +4 -0
- package/dist/ssh-pool-BWXdYQl0.js +1 -0
- package/dist/{ssh-pool-6nJsmgfW.js → ssh-pool-DqFdHcz0.js} +7 -7
- package/dist/{ssh-pool-6nJsmgfW.js.map → ssh-pool-DqFdHcz0.js.map} +1 -1
- package/dist/{start-BAha4BDk.js → start-BSBWBxQb.js} +13 -6
- package/dist/start-BSBWBxQb.js.map +1 -0
- package/dist/startup-YENEnSa_.js +16 -0
- package/dist/startup-YENEnSa_.js.map +1 -0
- package/dist/state-7TAiol30.js +1 -0
- package/dist/{state-DcuHVqLB.js → state-BhSANU74.js} +5 -5
- package/dist/{state-DcuHVqLB.js.map → state-BhSANU74.js.map} +1 -1
- package/dist/store/local.d.ts +1 -1
- package/dist/store/s3.d.ts +1 -1
- package/dist/{studio-share-DPk-XBsO.js → studio-share-58-7lF42.js} +6 -6
- package/dist/{studio-share-DPk-XBsO.js.map → studio-share-58-7lF42.js.map} +1 -1
- package/dist/suite-BvIl9-41.js +2 -0
- package/dist/{suite-DBbQs15H.js → suite-Bz0uCwd3.js} +4 -4
- package/dist/{suite-DBbQs15H.js.map → suite-Bz0uCwd3.js.map} +1 -1
- package/dist/{summary-CtTtjh3v.js → summary-Bx1qyFwL.js} +8 -8
- package/dist/{summary-CtTtjh3v.js.map → summary-Bx1qyFwL.js.map} +1 -1
- package/dist/{sync-DcFcjYLX.js → sync-BeiDYfR6.js} +6 -6
- package/dist/{sync-DcFcjYLX.js.map → sync-BeiDYfR6.js.map} +1 -1
- package/dist/{tart-CgW8e9RN.d.ts → tart-Brv7Huzv.d.ts} +2 -2
- package/dist/{tart-C50mEMFB.js → tart-CcdnLmyl.js} +7 -7
- package/dist/{tart-C50mEMFB.js.map → tart-CcdnLmyl.js.map} +1 -1
- package/dist/{tart-bake-C26irBUZ.js → tart-bake-BRfCI3R9.js} +1 -1
- package/dist/{tart-bake-By16X4Pb.js → tart-bake-CRrij4Ct.js} +7 -7
- package/dist/{tart-bake-By16X4Pb.js.map → tart-bake-CRrij4Ct.js.map} +1 -1
- package/dist/{tart-cli-C05FdPQV.js → tart-cli-B1qZ4EPU.js} +2 -2
- package/dist/{tart-cli-C05FdPQV.js.map → tart-cli-B1qZ4EPU.js.map} +1 -1
- package/dist/{tart-cli-DVI2SWz4.js → tart-cli-B7YKODI8.js} +1 -1
- package/dist/{tart-hosts-DESXVcNv.js → tart-hosts-CNUiaq7k.js} +1 -1
- package/dist/{tart-hosts-GDk-lRnT.js → tart-hosts-CifzR5Lp.js} +4 -4
- package/dist/{tart-hosts-GDk-lRnT.js.map → tart-hosts-CifzR5Lp.js.map} +1 -1
- package/dist/{tart-images-CLpWt7Mm.js → tart-images-DOboVDfH.js} +2 -2
- package/dist/{tart-images-CLpWt7Mm.js.map → tart-images-DOboVDfH.js.map} +1 -1
- package/dist/testing.d.ts +3 -3
- package/dist/testing.js +4 -4
- package/dist/{tool-class-CB-m4PiF.js → tool-class-DzpZJJWK.js} +2 -2
- package/dist/{tool-class-CB-m4PiF.js.map → tool-class-DzpZJJWK.js.map} +1 -1
- package/dist/{trace-CJQLlAbB.js → trace-BY_rkR5K.js} +2 -2
- package/dist/{trace-CJQLlAbB.js.map → trace-BY_rkR5K.js.map} +1 -1
- package/dist/{types-Buut5yGe.js → types-BRXqpxJ1.js} +3 -8
- package/dist/types-BRXqpxJ1.js.map +1 -0
- package/dist/{types-CYz4dqAd.d.ts → types-CseRWbr7.d.ts} +1 -1
- package/dist/{types-BZaItiui.d.ts → types-DtRJb-jv.d.ts} +203 -199
- package/dist/{ui-Ci9IZA-f.js → ui-CNYSCEFR.js} +5 -5
- package/dist/{ui-Ci9IZA-f.js.map → ui-CNYSCEFR.js.map} +1 -1
- package/dist/{usage-CwIRPPZ9.js → usage-Dg_IyU0o.js} +3 -5
- package/dist/usage-Dg_IyU0o.js.map +1 -0
- package/dist/vercel-models-DZxE5QJe.js +14 -0
- package/dist/vercel-models-DZxE5QJe.js.map +1 -0
- package/dist/{vertex-DQQGhUn7.js → vertex-BS-i5_z3.js} +20 -91
- package/dist/vertex-BS-i5_z3.js.map +1 -0
- package/dist/vertex-DWCgbhK1.js +2 -0
- package/dist/view/index.d.ts +3 -3
- package/dist/view/index.js +12 -12
- package/dist/view/report/index.d.ts +3 -3
- package/dist/view/report/index.js +3 -3
- package/dist/{views-BP8ck_JR.js → views-CLF_vJ6q.js} +6 -6
- package/dist/{views-BP8ck_JR.js.map → views-CLF_vJ6q.js.map} +1 -1
- package/dist/views-ZX-NomRg.js +2 -0
- package/dist/{vm-container-B_u4pfS7.js → vm-container-BHRWzfKZ.js} +6 -6
- package/dist/{vm-container-B_u4pfS7.js.map → vm-container-BHRWzfKZ.js.map} +1 -1
- package/dist/{vm-images-DLSFXRVh.js → vm-images-CZitoP8K.js} +13 -13
- package/dist/{vm-images-DLSFXRVh.js.map → vm-images-CZitoP8K.js.map} +1 -1
- package/dist/{worker-entry-CWQSBQAG.js → worker-entry-DTrgQNo6.js} +3 -3
- package/dist/{worker-entry-CWQSBQAG.js.map → worker-entry-DTrgQNo6.js.map} +1 -1
- package/dist/{workspace-Bi4hvK9n.js → workspace-CgkcWyX1.js} +6 -6
- package/dist/{workspace-Bi4hvK9n.js.map → workspace-CgkcWyX1.js.map} +1 -1
- package/dist/workspace-DbRCjXfa.js +1 -0
- package/package.json +1 -1
- package/dist/agent-DMYCRwih.js +0 -987
- package/dist/agent-DMYCRwih.js.map +0 -1
- package/dist/agents-BnLy2oJs.js +0 -1408
- package/dist/agents-BnLy2oJs.js.map +0 -1
- package/dist/agents-D4H9bKHD.d.ts +0 -2
- package/dist/assemble-EbRQIpCM.js +0 -1
- package/dist/bundle-BOMF_M7M.js.map +0 -1
- package/dist/capture-giEWLD66.js +0 -1
- package/dist/cases-Bsp-G-ZL.js +0 -1
- package/dist/cli-DccpONR9.js.map +0 -1
- package/dist/cli-spec-DO-RQP-t.js.map +0 -1
- package/dist/cloud-run-B6axrPZv.js.map +0 -1
- package/dist/cloud-secrets-CTuA8dDk.js.map +0 -1
- package/dist/cloud-secrets-D4_doDp3.js +0 -1
- package/dist/config-DDNytzO-.js.map +0 -1
- package/dist/cost-DQ0ayy6h.js.map +0 -1
- package/dist/cursor-catalog-CkdQyfqe.js.map +0 -1
- package/dist/daytona-image-Bhc1-HBs.js +0 -1
- package/dist/db-Djz9zixD.js +0 -1
- package/dist/default-effort-Ba_1HAs4.js +0 -1
- package/dist/default-effort-C8bN-rLD.js.map +0 -1
- package/dist/doctor-BPHM419M.js.map +0 -1
- package/dist/env-8x1O8I1M.js.map +0 -1
- package/dist/environment-CkzsewoX.js.map +0 -1
- package/dist/evaluate-DnMnoErB.js.map +0 -1
- package/dist/events-CwWpBkkc.js +0 -1
- package/dist/files-1PVfWWXB.js +0 -1
- package/dist/files-CsPOd60N.js +0 -1
- package/dist/files-DOz7Qr5r.js +0 -1
- package/dist/harness-install-CTAsIRk9.js.map +0 -1
- package/dist/init-B7u-ygNZ.js +0 -1
- package/dist/judge-3ABSMDa4.js.map +0 -1
- package/dist/labels-Dtyf5-pd.js.map +0 -1
- package/dist/model-B89uRS9X.js.map +0 -1
- package/dist/model-Doy9vFnq.js +0 -1
- package/dist/model-WiM6J5cw.js.map +0 -1
- package/dist/openrouter-models-B1sIOTD2.js.map +0 -1
- package/dist/options-DN2Zh2HW.js +0 -1
- package/dist/plugins-DPV4muCf.js.map +0 -1
- package/dist/preflight-D9eRBIzJ.js +0 -1
- package/dist/prepare-yxqXzH9o.js.map +0 -1
- package/dist/prices-CZWSNosm.js +0 -1
- package/dist/provider-B24hZX95.js +0 -1
- package/dist/provider-stop-DjBMfZW5.js +0 -69
- package/dist/provider-stop-DjBMfZW5.js.map +0 -1
- package/dist/query-3PjR8hU2.js +0 -1
- package/dist/remote-C003Q3Nu.js.map +0 -1
- package/dist/resolve-B34rYHUr.js.map +0 -1
- package/dist/resolve-BzHvjODA.js +0 -1
- package/dist/routes-Cp4gAjBZ.js +0 -427
- package/dist/routes-Cp4gAjBZ.js.map +0 -1
- package/dist/secrets-file-B1Yj1WjD.js +0 -100
- package/dist/secrets-file-B1Yj1WjD.js.map +0 -1
- package/dist/server-CzTVzKWG.js +0 -1
- package/dist/shared-B3iLKAiu.d.ts +0 -1
- package/dist/skill-dirs-B7o83G5I.js.map +0 -1
- package/dist/source-CydZOoBv.js +0 -1
- package/dist/spans-BshoUrAD.js.map +0 -1
- package/dist/src-2MDgX3cP.js +0 -3
- package/dist/src-CEValY4l.js.map +0 -1
- package/dist/src-CH8ZNcTe.js +0 -1
- package/dist/src-Con14kZF.js +0 -2
- package/dist/ssh-pool-pPq8x-rp.js +0 -1
- package/dist/start-BAha4BDk.js.map +0 -1
- package/dist/state-C007zNcM.js +0 -1
- package/dist/suite-BQNoCyRE.js +0 -2
- package/dist/types-Buut5yGe.js.map +0 -1
- package/dist/usage-CwIRPPZ9.js.map +0 -1
- package/dist/vercel-models-Ci33llXz.js +0 -21
- package/dist/vercel-models-Ci33llXz.js.map +0 -1
- package/dist/vertex-DQQGhUn7.js.map +0 -1
- package/dist/vertex-DtWe0Xf6.js +0 -1
- package/dist/views-_yc6K-9E.js +0 -2
- package/dist/workspace-Nhdu3NBO.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as relativeFile } from "./ids-
|
|
1
|
+
import { l as relativeFile } from "./ids-cqB_4aeP.js";
|
|
2
2
|
import { existsSync, readFileSync } from "node:fs";
|
|
3
3
|
import { sep } from "node:path";
|
|
4
4
|
import { inspect, stripVTControlCharacters } from "node:util";
|
|
@@ -167,4 +167,4 @@ function codeFrame(source, indent, loc, columns, range = 2) {
|
|
|
167
167
|
}
|
|
168
168
|
export { reevalFrames as i, comparable as n, formatError as r, codeFrame as t };
|
|
169
169
|
|
|
170
|
-
//# sourceMappingURL=errors-
|
|
170
|
+
//# sourceMappingURL=errors-BQxdlRgT.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors-
|
|
1
|
+
{"version":3,"file":"errors-BQxdlRgT.js","names":[],"sources":["../src/engine/errors.ts"],"mappings":";;;;;;;;;AAyBA,MAAM,SACH,MAAc,QAAQ,QACtB,SACC,QAAQ,KAAK,GAAG,KAAK,OAAO,MAAM;AACtC,MAAM,MAAM,MAAM,EAAE;AACpB,MAAM,SAAS,MAAM,EAAE;AACvB,MAAM,OAAO,MAAM,EAAE;AACrB,MAAM,OAAO,MAAM,EAAE;AACrB,MAAM,OAAO,MAAM,GAAG,EAAE;AACxB,MAAM,MAAM,MAAM,GAAG,EAAE;AAEvB,MAAM,UAAU;;AAGhB,MAAa,gBAAgB,eAAuB,CAClD,GAAG,aAAa,WAAW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Q,GACA;CACR,MAAM,QAAQ,iBAAiB,QAAQ,IAAI,MAAM,IAAI,MAAM;CAC3D,MAAM,QAAQ,OAAO,MAAM,WAAW;CACtC,MAAM,KAAK,OAAO,KAAK,MAAM,IAAI,IAAI;CACrC,IAAI,QAAQ;CACZ,MAAM,MAAgB,CAAC;CACvB,KAAK,IAAI,IAAI,GAAG,IAAI,MAAM,QAAQ,KAAK;EACrC,SAAU,MAAM,EAAE,CAAY,SAAS;EACvC,IAAI,QAAQ,OAAO;EACnB,KAAK,IAAI,IAAI,KAAK,IAAI,GAAG,IAAI,KAAK,GAAG,KAAK,IAAI,SAAS,IAAI,MAAM,QAAQ,KAAK;GAC5E,MAAM,OAAO,MAAM;GACnB,MAAM,WAAW,yBAAyB,IAAI;GAC9C,IAAI,SAAS,WAAW,sBAAsB,GAAG;GAEjD,IAAI,SAAS,SAAS,KAAK,OAAO;GAClC,MAAM,YAAY,eAAe,KAAK,QAAQ,OAAO,GAAG,GAAG,UAAU,IAAI,MAAM,CAAC,CAAC,QAAQ;GACzF,IAAI,KAAK,OAAO,IAAI,CAAC,KAAK,YAAY,IAAI,cAAc,UAAU;GAClE,IAAI,MAAM,GAAG;IACX,MAAM,MAAM,SAAS,QAAQ,KAAK,WAAW,KAAK;IAClD,IAAI,KAAK,OAAO,IAAI,IAAI,OAAO,MAAM,CAAC,IAAI,IAAI,GAAG,CAAC;GACpD;EACF;EACA;CACF;CACA,OAAO,IAAI,KAAK,SAAS,IAAI,OAAO,MAAM,IAAI,IAAI,CAAC,CAAC,KAAK,IAAI;AAC/D"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as originalText } from "./adapter-
|
|
2
|
-
import { h as isEnvironment } from "./environment-
|
|
1
|
+
import { a as originalText } from "./adapter-mMrKaF9C.js";
|
|
2
|
+
import { h as isEnvironment } from "./environment-B_ht7Lbp.js";
|
|
3
3
|
import { n as UsageError } from "./errors-ttMTnIYX.js";
|
|
4
|
-
import { l as relativeFile, u as sha256 } from "./ids-
|
|
4
|
+
import { l as relativeFile, u as sha256 } from "./ids-cqB_4aeP.js";
|
|
5
5
|
import { t as isObjectLike } from "./object-CeQ8dgUC.js";
|
|
6
|
-
import {
|
|
6
|
+
import { H as harnessId, it as sandboxId } from "./config-CfZWILTy.js";
|
|
7
7
|
import { h as redactJsonText } from "./redact-CfTHYWLv.js";
|
|
8
8
|
import { resolve } from "node:path";
|
|
9
9
|
import { readFile } from "node:fs/promises";
|
|
@@ -162,4 +162,4 @@ function canonical(value, path, how) {
|
|
|
162
162
|
}
|
|
163
163
|
export { optionsHash as a, evalFile as i, caseHash as n, sourcesPart as o, caseJson as r, bodyHash as t };
|
|
164
164
|
|
|
165
|
-
//# sourceMappingURL=eval-source-
|
|
165
|
+
//# sourceMappingURL=eval-source-Byy9CDjg.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eval-source-
|
|
1
|
+
{"version":3,"file":"eval-source-Byy9CDjg.js","names":[],"sources":["../src/eval-source.ts"],"mappings":";;;;;;;;;;;;;;;AA2BA,MAAM,2BAAW,IAAI,IAAI;CAAC;CAAQ;CAAQ;CAAW;CAAY;CAAQ;AAAU,CAAC;;;;;AAMpF,SAAgB,YACd,QACA,UACA,OACQ;CAER,OAAO,OAAO,cAAc;EAAE,GADjB,UAAU,EAAE,MAAM;EACQ,GAAI,aAAa,KAAA,IAAY,EAAE,SAAS,IAAI,CAAC;CAAG,CAAC,CAAC;AAC3F;;;;;AAMA,SAAgB,SAAS,IAAmC,OAAe,MAAuB;CAChG,MAAM,OAAO,SAAS,UAAU,SAAS,KAAK,EAAE;CAChD,IAAI,gCAAgC,KAAK,IAAI,GAC3C,MAAM,IAAI,WACR,GAAG,MAAM,oKACX;CAEF,OAAO,OAAO,aAAa,MAAM,IAAI,KAAK,IAAI;AAChD;;;;;AAMA,SAAgB,SAAS,MAAe,OAAe,MAAuB;CAC5E,MAAM,UAAU,SAAwB;EACtC,MAAM,IAAI,WACR,GAAG,MAA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AI,IAAI,KAAK;CACzC;CACA,IAAI,OAAO,UAAU,UAAU,OAAO,MAAM,SAAS;CACrD,IAAI,OAAO,UAAU,YAAY,UAAU,KAAA,GAAW,OAAO,KAAA;CAC7D,IAAI,OAAO,UAAU,YAAY,CAAC,OAAO,SAAS,KAAK,GAAG,IAAI,SAAS,OAAO,KAAK,CAAC;CACpF,IAAI,UAAU,QAAQ,OAAO,UAAU,UAAU,OAAO;CACxD,IAAI,KAAK,IAAI,KAAK,GAAG,OAAO;CAC5B,IAAI,cAAc,KAAK,GAAG,OAAO,EAAE,aAAa,MAAM,KAAK;CAC3D,MAAM,SAAU,MAA+B;CAC/C,IAAI,OAAO,WAAW,YAAY,OAAO,UAAU,OAAO,KAAK,KAAK,GAAG,MAAM,GAAG;CAChF,MAAM,QAAQ,OAAO,eAAe,KAAK;CACzC,IAAI,CAAC,MAAM,QAAQ,KAAK,KAAK,UAAU,OAAO,aAAa,UAAU,MACnE,IAAI,SAAS,KAAK,OAAO,aAAa,QAAQ,kBAAkB;CAElE,KAAK,IAAI,KAAK;CACd,IAAI;EACF,IAAI,MAAM,QAAQ,KAAK,GAAG,OAAO,MAAM,KAAK,MAAM,UAAU,GAAG,MAAM,GAAG,KAAK,IAAI;EACjF,MAAM,MAA+B,CAAC;EACtC,KAAK,MAAM,OAAO,OAAO,KAAK,KAAK,CAAC,CAAC,KAAK,GAAG;GAC3C,MAAM,IAAI,UAAW,MAAkC,MAAM,MAAM,GAAG;GACtE,IAAI,MAAM,KAAA,GAAW,IAAI,OAAO;EAClC;EACA,OAAO;CACT,UAAU;EACR,KAAK,OAAO,KAAK;CACnB;AACF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as CaseFn, O as CaseOptions,
|
|
1
|
+
import { D as CaseFn, O as CaseOptions, ct as EvalOptionsData, ot as EvalFn, st as EvalOptions, wt as GroupOptions } from "./types-DtRJb-jv.js";
|
|
2
2
|
/** How a group or eval was declared: `group`/`evaluate`, `.skip` or `.only`. */
|
|
3
3
|
type DeclaredMode = 'run' | 'skip' | 'only';
|
|
4
4
|
/** A `group`: options its evals and groups inherit, and its children in declaration order. */
|
|
@@ -1,46 +1,47 @@
|
|
|
1
1
|
import { a as withDebug, i as debugTrace, n as attemptDebug, r as debugLog, t as AttemptDebug } from "./attempt-D5WH0yFa.js";
|
|
2
|
-
import { t as attemptDebugDir } from "./files-
|
|
3
|
-
import { D as runMatchLabel, E as limitsLabel, T as TURN_STATUS, a as registerTest, b as judgeFailedMessage, i as registerGroup, n as declarePlanned, r as getRunContext, s as SUBJECT, t as collectingFile, w as TURN_EDITED } from "./runtime-
|
|
2
|
+
import { t as attemptDebugDir } from "./files-uFFwVJZG.js";
|
|
3
|
+
import { D as runMatchLabel, E as limitsLabel, T as TURN_STATUS, a as registerTest, b as judgeFailedMessage, i as registerGroup, n as declarePlanned, r as getRunContext, s as SUBJECT, t as collectingFile, w as TURN_EDITED } from "./runtime-CXxeCKoX.js";
|
|
4
4
|
import { n as UsageError, r as isTimeout, t as TimeoutError } from "./errors-ttMTnIYX.js";
|
|
5
|
-
import { c as recordFileName, i as evalId, l as relativeFile, n as attemptKey, t as attemptId } from "./ids-
|
|
5
|
+
import { c as recordFileName, i as evalId, l as relativeFile, n as attemptKey, t as attemptId } from "./ids-cqB_4aeP.js";
|
|
6
6
|
import { _ as redactSecrets, b as redactValue, f as maskedVariables, m as redactJson, o as findSecrets, p as redactFields, v as redactSplitSecrets } from "./redact-CfTHYWLv.js";
|
|
7
|
+
import { a as evalSlug } from "./cost-CSfMv_sp.js";
|
|
7
8
|
import { a as plural, i as formatDuration, n as clip, o as withoutBom, t as capMiddle } from "./text-B8-W3Cvn.js";
|
|
8
|
-
import { a as evalSlug } from "./cost-DQ0ayy6h.js";
|
|
9
9
|
import { c as withAttemptSpan, n as attemptSpan, o as openSpan, r as childSpan } from "./spans-tf3biLpT.js";
|
|
10
|
-
import { a as writeCaptureSidecars, c as sandboxFor, d as snapshot, f as workspaceBlobs, l as changedBetween, o as asCheck, p as workspaceFiles, r as serveCommand, s as createChecks, t as capturePage, u as diffSinceSnapshot } from "./capture-
|
|
11
|
-
import { d as sandboxKind, n as capabilitiesOf, o as providerLimit } from "./kinds-
|
|
12
|
-
import { $
|
|
13
|
-
import { _ as
|
|
14
|
-
import {
|
|
15
|
-
import { a as skillFiles, i as resolveEnvironment } from "./resolve-
|
|
10
|
+
import { a as writeCaptureSidecars, c as sandboxFor, d as snapshot, f as workspaceBlobs, l as changedBetween, o as asCheck, p as workspaceFiles, r as serveCommand, s as createChecks, t as capturePage, u as diffSinceSnapshot } from "./capture-DTHe_BcS.js";
|
|
11
|
+
import { d as sandboxKind, n as capabilitiesOf, o as providerLimit } from "./kinds-C6PeknHN.js";
|
|
12
|
+
import { $t as badJudgeArtifacts, B as evalPlan, Ft as mergeJudge, G as matchesTags, H as harnessId, It as resolveStateOptions, J as plainEnvError, Jt as INPUT_KEYS, Lt as observedHere, M as cascade, Ot as unenforceable, Q as plainHeaders, Qt as artifactRefsOf, R as checkOptions, Rt as observedName, S as resolveModelGateway, T as resolveGateway, V as expand, W as majorityOf, X as plainHeaderError, Xt as inputsOn, Yt as NO_JUDGE_INPUT, Zt as judgeProblem, at as sandboxProvider, b as gatewayScope, bt as isDirect, ct as secretVarsIn, en as decideState, it as sandboxId, j as brokeredIn, lt as unbrokered, mt as allowedHosts, nn as resolveJudgeArtifacts, nt as refuseIllegalCompare, ot as sandboxSetBy, q as plainEnv, rt as runsOf, tn as filePartsOf, ut as unbrokeredError, vt as egressLabel, wt as phaseLabel, y as fellBackToDirect, yt as gatewayPolicy, zt as observer } from "./config-CfZWILTy.js";
|
|
13
|
+
import { _ as refusedSharedMachine, c as brokeringFor, g as refusedPlugins, h as refusedMcp, l as expectedBlockedFor, m as layoutOf, o as agentOf, p as keyRejected, t as AGENTS, u as fakeBrokering, v as writePluginFiles } from "./agents-DgfyOMRm.js";
|
|
14
|
+
import { D as pluginSourceLabel, S as pluginCall, a as PLUGIN_ROOT_VAR, b as pluginBuildId, d as duplicateLocalPlugin, f as fetchesAtStart, g as localPlugin, i as PLUGIN_ROOT, l as builtPlugins, n as PLUGIN_MANIFEST, o as PluginProblem, p as layeredPlugins, s as buildRefusal, u as droppedPaths, v as localSkills } from "./plugins-rlmJz7B3.js";
|
|
15
|
+
import { a as skillFiles, i as resolveEnvironment } from "./resolve-BithWafe.js";
|
|
16
|
+
import { C as vercelBaseUrl, F as AgentError, P as claudeMcpServers, R as agentMcp, T as vercelCredentialProblem, j as providerStop, w as vercelBaseUrlProblem, z as PLUGIN_DIR } from "./src-CfDk0uu4.js";
|
|
16
17
|
import { n as shellQuote$1 } from "./process-C_nh1H7X.js";
|
|
17
|
-
import { i as hasNetworkSession, r as RunStopped, t as InfraError } from "./types-
|
|
18
|
-
import {
|
|
18
|
+
import { i as hasNetworkSession, r as RunStopped, t as InfraError } from "./types-BRXqpxJ1.js";
|
|
19
|
+
import { c as hostEnv, r as fetchHeldSecrets } from "./secrets-file-BFJSaPHI.js";
|
|
19
20
|
import { n as fakeBootstrapScript } from "./fake-bootstrap-uCyHhnMO.js";
|
|
20
|
-
import {
|
|
21
|
-
import { i as
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import { n as judgeDiff } from "./patch-BYEfvtW6.js";
|
|
21
|
+
import { i as preparedWorkspace } from "./workspace-CgkcWyX1.js";
|
|
22
|
+
import { A as sandboxPaths, I as workspaceOf, N as traitsOf, f as filesOf, i as callerDir, l as environmentFrom, p as globFilter, u as environmentPaths, z as withoutOtel } from "./environment-B_ht7Lbp.js";
|
|
23
|
+
import { _ as isApiError, d as judgeModelName, m as runJudge, v as isTransient } from "./judge-CUjB8kYF.js";
|
|
24
|
+
import { n as judgeDiff } from "./patch-DBQCuZAJ.js";
|
|
25
25
|
import { r as patchPath } from "./patch-uwo6t4Zy.js";
|
|
26
26
|
import { t as transcriptForJudge } from "./transcript-TWiaAuoL.js";
|
|
27
27
|
import { r as withLease } from "./client-Dj65gXG3.js";
|
|
28
28
|
import { n as modelCallEvents } from "./model-calls-B0BoQfJ4.js";
|
|
29
|
-
import { t as PrepareError } from "./provider-
|
|
29
|
+
import { t as PrepareError } from "./provider-BNQjWvVI.js";
|
|
30
30
|
import { n as resourcesLine, t as turnErrorKind } from "./turn-error-Dmv_Muj7.js";
|
|
31
|
-
import { l as messageLine } from "./suite-
|
|
32
|
-
import {
|
|
31
|
+
import { l as messageLine } from "./suite-Bz0uCwd3.js";
|
|
32
|
+
import { cn as readTar, dn as writeTar, en as OPAQUE_OUTPUT, p as MCP_TIMER, sn as extractTar } from "./src-B3sBDfG2.js";
|
|
33
33
|
import { s as formatBytes } from "./debug-T29p6HOX.js";
|
|
34
34
|
import { t as isObjectLike } from "./object-CeQ8dgUC.js";
|
|
35
35
|
import { n as dataProblem, t as closest } from "./shared-bXaqVxk-.js";
|
|
36
|
-
import { t as inCI } from "./env-
|
|
37
|
-
import { a as optionsHash, n as caseHash, r as caseJson, t as bodyHash } from "./eval-source-
|
|
38
|
-
import { t as environmentInputs } from "./inputs-
|
|
36
|
+
import { t as inCI } from "./env-ARmqWMQ5.js";
|
|
37
|
+
import { a as optionsHash, n as caseHash, r as caseJson, t as bodyHash } from "./eval-source-Byy9CDjg.js";
|
|
38
|
+
import { t as environmentInputs } from "./inputs-BoQrNOoN.js";
|
|
39
39
|
import { r as parseDuration, t as MAX_TIMER_MS } from "./duration-Bz2H7pXb.js";
|
|
40
|
-
import { r as openRouterFallbacks } from "./openrouter-models-
|
|
41
|
-
import
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
40
|
+
import { r as openRouterFallbacks } from "./openrouter-models-D19R699I.js";
|
|
41
|
+
import "./routes-D1tgwWoe.js";
|
|
42
|
+
import { u as vertexSettings } from "./vertex-BS-i5_z3.js";
|
|
43
|
+
import { a as withDefaultEffort } from "./default-effort-ByvTDqX7.js";
|
|
44
|
+
import { r as startEnv } from "./startup-YENEnSa_.js";
|
|
44
45
|
import { a as traitFilters, i as pickTraits, n as controlTraitKeys, r as filtersLabel } from "./traits-DPIffsN8.js";
|
|
45
46
|
import { z } from "zod";
|
|
46
47
|
import { dirname, join } from "node:path";
|
|
@@ -358,7 +359,7 @@ const lineCount = (text) => text ? text.split("\n").length - (text.endsWith("\n"
|
|
|
358
359
|
*/
|
|
359
360
|
const createFakeHarness = (descriptor) => {
|
|
360
361
|
let starts = 0;
|
|
361
|
-
return { async start(sandbox, signal, { skills, workspaceSkills, mcp: all, plugins }) {
|
|
362
|
+
return { async start(sandbox, signal, { skills, workspaceSkills, mcp: all, plugins }, log) {
|
|
362
363
|
if (descriptor.failWith) throw new InfraError(descriptor.failWith);
|
|
363
364
|
const hangs = descriptor.startHangs;
|
|
364
365
|
if (hangs === true || starts++ < (hangs ?? 0)) return new Promise(() => {});
|
|
@@ -367,14 +368,14 @@ const createFakeHarness = (descriptor) => {
|
|
|
367
368
|
if (r.exitCode !== 0) throw new InfraError(`The fake agent's bootstrap exited ${r.exitCode}: ${redactSecrets(r.stderr || r.stdout).trim().slice(-500)}`);
|
|
368
369
|
}
|
|
369
370
|
const layout = layoutOf(descriptor);
|
|
370
|
-
const brokered = descriptor.brokers ? await brokerKey(descriptor, sandbox) : void 0;
|
|
371
|
-
if (descriptor.brokers && AGENTS[descriptor.layout ?? "cursor"].bridgePort) await reachBridge(sandbox, signal);
|
|
371
|
+
const brokered = descriptor.brokers ? await brokerKey(descriptor, sandbox, log) : void 0;
|
|
372
|
+
if (descriptor.brokers && AGENTS[descriptor.layout ?? "cursor"].bridgePort) await reachBridge(sandbox, signal, log);
|
|
372
373
|
const mcp = agentMcp(layout, all, plugins);
|
|
373
|
-
for (const path of await writePluginFiles(sandbox, layout, plugins))
|
|
374
|
+
for (const path of await writePluginFiles(sandbox, layout, plugins)) log.log("env", `plugin settings → ${path} by the fake agent`);
|
|
374
375
|
const dir = `~/${layout.harnessSkillDir}`;
|
|
375
376
|
for (const skill of skills) {
|
|
376
377
|
for (const f of skillFiles(skill)) await sandbox.writeFile(`${dir}/${skill.name}/${f.path}`, f.content);
|
|
377
|
-
|
|
378
|
+
log.log("env", `skill ${skill.name} placed at ${dir}/${skill.name}/ by the fake agent`);
|
|
378
379
|
}
|
|
379
380
|
const names = [...skills.map((s) => s.name), ...workspaceSkills];
|
|
380
381
|
const loaded = [
|
|
@@ -437,7 +438,7 @@ const createFakeHarness = (descriptor) => {
|
|
|
437
438
|
const time = at();
|
|
438
439
|
const before = await sandbox.readFile(path);
|
|
439
440
|
await sandbox.writeFile(path, content);
|
|
440
|
-
|
|
441
|
+
log.log("harness", `tool write ${path} (${before === null ? "create" : "modify"})`);
|
|
441
442
|
transcript.push({
|
|
442
443
|
...time,
|
|
443
444
|
type: "file-edit",
|
|
@@ -479,12 +480,12 @@ const createFakeHarness = (descriptor) => {
|
|
|
479
480
|
let scripted;
|
|
480
481
|
for (const step of steps) if ("exec" in step) {
|
|
481
482
|
const time = at();
|
|
482
|
-
|
|
483
|
+
log.log("harness", `tool shell called: $ ${step.exec}`);
|
|
483
484
|
const r = await sandbox.exec(step.exec, {
|
|
484
485
|
signal,
|
|
485
486
|
...brokered && { env: brokered }
|
|
486
487
|
});
|
|
487
|
-
|
|
488
|
+
log.log("harness", `tool shell returned exit ${r.exitCode} in ${Date.now() - startedAt - time.atMs}ms`);
|
|
488
489
|
transcript.push({
|
|
489
490
|
...time,
|
|
490
491
|
type: "tool",
|
|
@@ -500,9 +501,9 @@ const createFakeHarness = (descriptor) => {
|
|
|
500
501
|
else if ("mcp" in step) {
|
|
501
502
|
const time = at();
|
|
502
503
|
const [server = "", tool = ""] = step.mcp.split("/");
|
|
503
|
-
|
|
504
|
+
log.log("harness", `tool mcp__${server}__${tool} called`);
|
|
504
505
|
const r = await callMcpTool(sandbox, mcp, server, tool, signal);
|
|
505
|
-
|
|
506
|
+
log.log("harness", `tool mcp__${server}__${tool} ${r.ok ? "returned" : "failed"}`);
|
|
506
507
|
transcript.push({
|
|
507
508
|
...time,
|
|
508
509
|
type: "tool",
|
|
@@ -515,7 +516,7 @@ const createFakeHarness = (descriptor) => {
|
|
|
515
516
|
durationMs: Date.now() - startedAt - time.atMs
|
|
516
517
|
});
|
|
517
518
|
} else if ("error" in step) {
|
|
518
|
-
|
|
519
|
+
log.log("harness", `turn failed: ${step.error}`);
|
|
519
520
|
transcript.push({
|
|
520
521
|
...at(),
|
|
521
522
|
type: "error",
|
|
@@ -533,7 +534,7 @@ const createFakeHarness = (descriptor) => {
|
|
|
533
534
|
};
|
|
534
535
|
} else if ("refuseKey" in step) {
|
|
535
536
|
const message = `${keyRejected(step.refuseKey)}. 401 Unauthorized (the fake agent's)`;
|
|
536
|
-
|
|
537
|
+
log.log("harness", `turn failed: ${message}`);
|
|
537
538
|
transcript.push({
|
|
538
539
|
...at(),
|
|
539
540
|
type: "error",
|
|
@@ -571,7 +572,7 @@ const createFakeHarness = (descriptor) => {
|
|
|
571
572
|
* Has the egress gateway swap the host's key for a placeholder on the hosts of the agent's
|
|
572
573
|
* endpoints, as a real adapter does, and returns the variable its `exec` steps get it in.
|
|
573
574
|
*/
|
|
574
|
-
async function brokerKey(descriptor, sandbox) {
|
|
575
|
+
async function brokerKey(descriptor, sandbox, log) {
|
|
575
576
|
const { credential, endpoints } = fakeBrokering(descriptor.layout);
|
|
576
577
|
const key = hostEnv()[credential];
|
|
577
578
|
if (!key) throw new InfraError(`${credential} isn't set, so the fake agent has no key to broker. Set it in the environment or .env.local.`);
|
|
@@ -588,14 +589,14 @@ async function brokerKey(descriptor, sandbox) {
|
|
|
588
589
|
},
|
|
589
590
|
transform: { headers: { authorization: `Bearer ${key}` } }
|
|
590
591
|
})));
|
|
591
|
-
|
|
592
|
+
log.log("harness", `${credential} is a placeholder for the fake agent, brokered on its endpoints`);
|
|
592
593
|
return { [credential]: placeholder };
|
|
593
594
|
}
|
|
594
595
|
/**
|
|
595
596
|
* Serves on the port the layout's adapter would put its bridge on, in the sandbox, and reaches it
|
|
596
597
|
* from the host through the session's endpoint, as that adapter's start does.
|
|
597
598
|
*/
|
|
598
|
-
async function reachBridge(sandbox, signal) {
|
|
599
|
+
async function reachBridge(sandbox, signal, log) {
|
|
599
600
|
const network = hasNetworkSession(sandbox) ? sandbox.network : void 0;
|
|
600
601
|
if (!network) throw new InfraError("The fake agent's bridge needs a sandbox session");
|
|
601
602
|
let port;
|
|
@@ -620,7 +621,7 @@ async function reachBridge(sandbox, signal) {
|
|
|
620
621
|
});
|
|
621
622
|
const reply = await (await fetch(url, { signal })).text();
|
|
622
623
|
if (reply !== "bridge") throw new InfraError(`${url} answered ${JSON.stringify(reply)}`);
|
|
623
|
-
|
|
624
|
+
log.log("harness", `bridge port ${port} reached through ${url}`);
|
|
624
625
|
} finally {
|
|
625
626
|
await server.kill();
|
|
626
627
|
}
|
|
@@ -704,7 +705,7 @@ async function callMcpTool(sandbox, servers, name, tool, signal) {
|
|
|
704
705
|
/** The attempt's harness, for the sandbox it runs in; an agent the sandbox can't run is an infra error. */
|
|
705
706
|
async function createHarness(descriptor, sandbox, vertex) {
|
|
706
707
|
if (descriptor.kind === "fake") return createFakeHarness(descriptor);
|
|
707
|
-
const { createAgentHarness } = await import("./agent-
|
|
708
|
+
const { createAgentHarness } = await import("./agent-BMHM86Qy.js");
|
|
708
709
|
return createAgentHarness(descriptor, sandbox, vertex);
|
|
709
710
|
}
|
|
710
711
|
/** Where each harness's agent looks for repo skills, relative to the workspace. */
|
|
@@ -737,8 +738,8 @@ async function prepareEnvironment(a, root, runId, where, signal) {
|
|
|
737
738
|
record.image = null;
|
|
738
739
|
const kind = sandboxKind(spec.sandbox);
|
|
739
740
|
if (kind.capabilities.images) {
|
|
740
|
-
const { preparedFor } = await import("./preflight-
|
|
741
|
-
const { attemptImage, createProviders, preparedImage } = await import("./providers-
|
|
741
|
+
const { preparedFor } = await import("./preflight-CVGDRu2C.js");
|
|
742
|
+
const { attemptImage, createProviders, preparedImage } = await import("./providers-BJtQ3NwC.js");
|
|
742
743
|
signal.throwIfAborted();
|
|
743
744
|
const provider = createProviders()[kind.provider(spec.sandbox)];
|
|
744
745
|
const builds = builtPlugins(spec.environment.layers);
|
|
@@ -763,8 +764,8 @@ async function prepareEnvironment(a, root, runId, where, signal) {
|
|
|
763
764
|
const { ref, id, base, install, agentCli } = record.image;
|
|
764
765
|
debugLog("image", `ready ${ref} (${id.replace(/^sha256:/, "").slice(0, 12)}) · prepared before the run${ref !== base ? ` · on ${base}` : ""}${agentCli ? ` · agent CLI ${agentCli}` : ""}${install.length ? ` · install: ${install.join(" && ")}` : ""}`);
|
|
765
766
|
} else if (kind.capabilities.isolated) {
|
|
766
|
-
const { preparedFor } = await import("./preflight-
|
|
767
|
-
const { bakedImage, createProviders, preparedHosts, sandboxBase, vmImage } = await import("./providers-
|
|
767
|
+
const { preparedFor } = await import("./preflight-CVGDRu2C.js");
|
|
768
|
+
const { bakedImage, createProviders, preparedHosts, sandboxBase, vmImage } = await import("./providers-BJtQ3NwC.js");
|
|
768
769
|
const provider = createProviders()[kind.provider(spec.sandbox)];
|
|
769
770
|
const prepared = provider && preparedFor(root, runId, provider, spec.sandbox, spec.harness);
|
|
770
771
|
const vm = prepared ? vmImage(prepared) : null;
|
|
@@ -1121,6 +1122,15 @@ function judgeCaller(a, readFile) {
|
|
|
1121
1122
|
return Object.defineProperty(await ask(order, question, call), SUBJECT, { value: question });
|
|
1122
1123
|
};
|
|
1123
1124
|
}
|
|
1125
|
+
// src/harness/provider-stop.ts
|
|
1126
|
+
/** A turn the provider stopped, as the infra error that fails the attempt. */
|
|
1127
|
+
var ProviderStopError = class extends InfraError {
|
|
1128
|
+
stop;
|
|
1129
|
+
constructor({ message, ...stop }) {
|
|
1130
|
+
super(message);
|
|
1131
|
+
this.stop = stop;
|
|
1132
|
+
}
|
|
1133
|
+
};
|
|
1124
1134
|
// src/sandbox/index.ts
|
|
1125
1135
|
async function createSandbox(descriptor, options) {
|
|
1126
1136
|
const kind = sandboxKind(descriptor);
|
|
@@ -1369,7 +1379,7 @@ function classify(error, signal) {
|
|
|
1369
1379
|
kind: "aborted",
|
|
1370
1380
|
message
|
|
1371
1381
|
};
|
|
1372
|
-
if (error instanceof
|
|
1382
|
+
if (error instanceof AgentError) return {
|
|
1373
1383
|
kind: "infra",
|
|
1374
1384
|
message
|
|
1375
1385
|
};
|
|
@@ -2251,7 +2261,7 @@ const TRANSIENT_START_DELAY_MS = 2e3;
|
|
|
2251
2261
|
/**
|
|
2252
2262
|
* Starts a harness session within `timeoutMs`, at most twice. A start that doesn't become ready in
|
|
2253
2263
|
* time is aborted (and closed, should it finish later) and started once more, and so is one that
|
|
2254
|
-
* fails on a transient {@link
|
|
2264
|
+
* fails on a transient {@link AgentError} (a 5xx or a network error): nothing has run yet, so the
|
|
2255
2265
|
* retry can't change what the attempt measures. Each retry is passed to `onRetry` to record. A
|
|
2256
2266
|
* second timeout or transient failure, or any other failure, is the attempt's infra error.
|
|
2257
2267
|
*/
|
|
@@ -2270,7 +2280,7 @@ async function startWithRetry(start, { kind, timeoutMs, signal, onRetry, transie
|
|
|
2270
2280
|
session = await Promise.race([starting, timedOut]);
|
|
2271
2281
|
} catch (error) {
|
|
2272
2282
|
signal.throwIfAborted();
|
|
2273
|
-
if (!(error instanceof
|
|
2283
|
+
if (!(error instanceof AgentError) || !error.transient) throw error;
|
|
2274
2284
|
if (tries === 2) throw new InfraError(`${error.message} (tried twice)`);
|
|
2275
2285
|
onRetry({
|
|
2276
2286
|
error: error.message,
|
|
@@ -2295,9 +2305,14 @@ async function startWithRetry(start, { kind, timeoutMs, signal, onRetry, transie
|
|
|
2295
2305
|
debugLog("harness", `${late}; starting it once more`);
|
|
2296
2306
|
}
|
|
2297
2307
|
}
|
|
2308
|
+
/** The harness's lines and payloads, into the running attempt's debug trace. */
|
|
2309
|
+
const attemptLog = {
|
|
2310
|
+
log: debugLog,
|
|
2311
|
+
trace: debugTrace
|
|
2312
|
+
};
|
|
2298
2313
|
function startHarness(a, harness, box, options) {
|
|
2299
2314
|
const { harness: descriptor } = a.spec;
|
|
2300
|
-
return startWithRetry((signal) => harness.start(box, signal, options), {
|
|
2315
|
+
return startWithRetry((signal) => harness.start(box, signal, options, attemptLog), {
|
|
2301
2316
|
kind: descriptor.kind,
|
|
2302
2317
|
timeoutMs: startTimeoutMs(descriptor),
|
|
2303
2318
|
signal: a.signal,
|
|
@@ -3340,13 +3355,13 @@ function planTests(declaration, ctx, where, resolvedEval, pick) {
|
|
|
3340
3355
|
const hid = harnessId(harness);
|
|
3341
3356
|
if (gatewaySet || harness.gateway !== void 0) {
|
|
3342
3357
|
routes.set(hid, route);
|
|
3343
|
-
const at = route.name === "vercel" && !vercelBaseUrlProblem() ? vercelBaseUrl() : void 0;
|
|
3358
|
+
const at = route.name === "vercel" && !vercelBaseUrlProblem(startEnv()) ? vercelBaseUrl(startEnv()) : void 0;
|
|
3344
3359
|
gatewayNotes.push(`gateway: ${hid} → ${route.name}${at ? ` at ${at}` : ""}${route.name === "direct" && route.skipped.length ? " (fallback)" : ""}`);
|
|
3345
3360
|
}
|
|
3346
3361
|
if (route.name === "direct") return harness;
|
|
3347
3362
|
if (harness.kind !== "fake") try {
|
|
3348
3363
|
if (route.name === "vercel") {
|
|
3349
|
-
const problem = vercelCredentialProblem() ?? vercelBaseUrlProblem();
|
|
3364
|
+
const problem = vercelCredentialProblem() ?? vercelBaseUrlProblem(startEnv());
|
|
3350
3365
|
if (problem) throw new UsageError(problem);
|
|
3351
3366
|
}
|
|
3352
3367
|
if (route.name === "vertex") {
|
|
@@ -4017,4 +4032,4 @@ function optionsFrom(written, where, base) {
|
|
|
4017
4032
|
}
|
|
4018
4033
|
export { assertionRecords as a, attemptForContext as i, evaluate as n, group as r, declareTree as t };
|
|
4019
4034
|
|
|
4020
|
-
//# sourceMappingURL=evaluate-
|
|
4035
|
+
//# sourceMappingURL=evaluate-DoObbRZ2.js.map
|