reeval 0.21.0 → 0.23.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 +65 -0
- package/README.md +15 -15
- package/dist/{adapter-BdzhdRYo.js → adapter-Dlq3-4OS.js} +7 -50
- package/dist/adapter-Dlq3-4OS.js.map +1 -0
- package/dist/{agent-Dx-bDmlV.js → agent-OsAfayRf.js} +11 -12
- package/dist/agent-OsAfayRf.js.map +1 -0
- package/dist/{agents-l0-k7vw3.js → agents-BztvTkfM.js} +46 -37
- package/dist/agents-BztvTkfM.js.map +1 -0
- package/dist/{app-files-B-CQYB0c.js → app-files-6NHzghym.js} +3 -3
- package/dist/app-files-6NHzghym.js.map +1 -0
- package/dist/{assemble-CsZIcJo8.js → assemble-Doa1m-HW.js} +17 -15
- package/dist/{assemble-CsZIcJo8.js.map → assemble-Doa1m-HW.js.map} +1 -1
- package/dist/{assemble-CYMpN8LC.js → assemble-XrZskSNj.js} +1 -1
- package/dist/attach-BH2HdwH_.js +219 -0
- package/dist/attach-BH2HdwH_.js.map +1 -0
- package/dist/{attempt-CKfKsqqw.js → attempt-_dUsblVx.js} +2 -2
- package/dist/{attempt-CKfKsqqw.js.map → attempt-_dUsblVx.js.map} +1 -1
- package/dist/{attempt-host-BwSmNYkX.js → attempt-host-8mQV8Uee.js} +7 -7
- package/dist/{attempt-host-BwSmNYkX.js.map → attempt-host-8mQV8Uee.js.map} +1 -1
- package/dist/boat-DKRH0Gv7.js +1 -0
- package/dist/boat-DKjqo_ie.js +704 -0
- package/dist/boat-DKjqo_ie.js.map +1 -0
- package/dist/boat-images-CRN_U_eG.js +366 -0
- package/dist/boat-images-CRN_U_eG.js.map +1 -0
- package/dist/bundle-DU2aQVeq.js +780 -0
- package/dist/bundle-DU2aQVeq.js.map +1 -0
- package/dist/{capture-BqIAeFyC.js → capture-By1byHaX.js} +52 -27
- package/dist/capture-By1byHaX.js.map +1 -0
- package/dist/capture-BzjNv0qP.js +1 -0
- package/dist/{cli-s_3opn_I.js → cli-DMHOwdVr.js} +560 -1049
- package/dist/cli-DMHOwdVr.js.map +1 -0
- package/dist/{cli-spec-DxzIjmq_.js → cli-spec-D0wuUaj9.js} +179 -42
- package/dist/cli-spec-D0wuUaj9.js.map +1 -0
- package/dist/cli.js +2 -2
- package/dist/{client-C5fIzHQa.js → client-B41UK150.js} +8 -4
- package/dist/client-B41UK150.js.map +1 -0
- package/dist/{command-BJ7KqczP.js → command-8GIHYGZf.js} +9 -9
- package/dist/{command-BJ7KqczP.js.map → command-8GIHYGZf.js.map} +1 -1
- package/dist/{command-B5OAIjp7.js → command-CAmnWLFL.js} +14 -14
- package/dist/{command-B5OAIjp7.js.map → command-CAmnWLFL.js.map} +1 -1
- package/dist/{command-BXLZsEwQ.js → command-CXxckfsq.js} +13 -13
- package/dist/{command-BXLZsEwQ.js.map → command-CXxckfsq.js.map} +1 -1
- package/dist/{command-DA_SHQUQ.js → command-ao0NZ8h0.js} +16 -15
- package/dist/command-ao0NZ8h0.js.map +1 -0
- package/dist/{commands-BPvAOEmb.js → commands-B3lnIPj5.js} +1 -1
- package/dist/{commands-BKBamOcX.js → commands-ttChCsAy.js} +15 -15
- package/dist/{commands-BKBamOcX.js.map → commands-ttChCsAy.js.map} +1 -1
- package/dist/{config-C0URar0t.js → config-myJT1Qjc.js} +62 -37
- package/dist/config-myJT1Qjc.js.map +1 -0
- package/dist/{context-Sj58aJEu.js → context-DnzR9TNK.js} +2 -2
- package/dist/{context-Sj58aJEu.js.map → context-DnzR9TNK.js.map} +1 -1
- package/dist/cost-CdRX1s2p.js +1 -0
- package/dist/{cursor-catalog-FWgSo-T1.js → cursor-catalog-CUQrabJ_.js} +2 -2
- package/dist/{cursor-catalog-FWgSo-T1.js.map → cursor-catalog-CUQrabJ_.js.map} +1 -1
- package/dist/daytona-Dfhwtr9P.js +677 -0
- package/dist/daytona-Dfhwtr9P.js.map +1 -0
- package/dist/daytona-image-CnG6G00x.js +183 -0
- package/dist/daytona-image-CnG6G00x.js.map +1 -0
- package/dist/daytona-image-yJK3c4EV.js +1 -0
- package/dist/{db-BjAWxVAG.js → db-5H95sFii.js} +35 -9
- package/dist/{db-BjAWxVAG.js.map → db-5H95sFii.js.map} +1 -1
- package/dist/db-Bbg1n_2M.js +2 -0
- package/dist/{default-effort-CWlhZ6U1.js → default-effort-CtNY9CGW.js} +1 -1
- package/dist/{default-effort-Ck2GYIxX.js → default-effort-DYpCkJRk.js} +2 -2
- package/dist/{default-effort-Ck2GYIxX.js.map → default-effort-DYpCkJRk.js.map} +1 -1
- package/dist/{docker-D74l67k8.js → docker-CR0JZ1FE.js} +4 -4
- package/dist/{docker-D74l67k8.js.map → docker-CR0JZ1FE.js.map} +1 -1
- package/dist/docker-kpudeSxV.js +1 -0
- package/dist/{doctor-eFxyn6at.js → doctor-aE-RMbB_.js} +63 -76
- package/dist/doctor-aE-RMbB_.js.map +1 -0
- package/dist/{environment-CJIKz-Ud.js → environment-C8pUCD_A.js} +138 -53
- package/dist/environment-C8pUCD_A.js.map +1 -0
- package/dist/{errors-C1GBcWE2.js → errors-DPUoUTdK.js} +2 -2
- package/dist/{errors-C1GBcWE2.js.map → errors-DPUoUTdK.js.map} +1 -1
- package/dist/{eval-source-CXIRJ91v.js → eval-source-CaLIGH3U.js} +6 -6
- package/dist/{eval-source-CXIRJ91v.js.map → eval-source-CaLIGH3U.js.map} +1 -1
- package/dist/{evaluate-DA4QsrHO.js → evaluate-4kBVtwZZ.js} +250 -215
- package/dist/evaluate-4kBVtwZZ.js.map +1 -0
- package/dist/{evaluate-DHrU4Wld.d.ts → evaluate-DHaNtgVf.d.ts} +2 -2
- package/dist/events-CXxFvVMK.js +475 -0
- package/dist/events-CXxFvVMK.js.map +1 -0
- package/dist/{fake-bootstrap-CnwWG3kP.js → fake-bootstrap-CzxrCqO3.js} +2 -2
- package/dist/{fake-bootstrap-CnwWG3kP.js.map → fake-bootstrap-CzxrCqO3.js.map} +1 -1
- package/dist/files-BFnkOAhn.js +1 -0
- package/dist/files-BgQxoDlN.js +1 -0
- package/dist/{files-D6j-XpaK.js → files-BkvxIqfI.js} +4 -4
- package/dist/{files-D6j-XpaK.js.map → files-BkvxIqfI.js.map} +1 -1
- package/dist/{files-g1watgRC.js → files-CDfG8swM.js} +2 -2
- package/dist/{files-g1watgRC.js.map → files-CDfG8swM.js.map} +1 -1
- package/dist/files-CSe4VaMj.js +1 -0
- package/dist/{files-F44NRCN0.js → files-CX_mmvCc.js} +8 -8
- package/dist/{files-F44NRCN0.js.map → files-CX_mmvCc.js.map} +1 -1
- package/dist/{files-BrGVs4gY.js → files-Cs2dtb7-.js} +2 -2
- package/dist/{files-BrGVs4gY.js.map → files-Cs2dtb7-.js.map} +1 -1
- package/dist/{files-BaqXvB88.js → files-D6M7J3iX.js} +1 -1
- package/dist/{files-BVVWAS0A.js → files-DgHeTdCZ.js} +6 -6
- package/dist/{files-BVVWAS0A.js.map → files-DgHeTdCZ.js.map} +1 -1
- package/dist/{files-Bey1VAex.js → files-DpwJW3w6.js} +3 -3
- package/dist/{files-Bey1VAex.js.map → files-DpwJW3w6.js.map} +1 -1
- package/dist/gateway.d.ts +1 -1
- package/dist/{git-Jqkf9SBa.js → git-BnnNEXqh.js} +3 -3
- package/dist/{git-Jqkf9SBa.js.map → git-BnnNEXqh.js.map} +1 -1
- package/dist/harness-install-BfMBYDfP.js +53 -0
- package/dist/harness-install-BfMBYDfP.js.map +1 -0
- package/dist/harness.d.ts +1 -1
- package/dist/hosted-5Zz2peTR.js +260 -0
- package/dist/hosted-5Zz2peTR.js.map +1 -0
- package/dist/hosted-Co-waHe0.js +131 -0
- package/dist/hosted-Co-waHe0.js.map +1 -0
- package/dist/hosted-run-202QicZ-.js +1 -0
- package/dist/hosted-run-BfAPIMyT.js +230 -0
- package/dist/hosted-run-BfAPIMyT.js.map +1 -0
- package/dist/{ids-B-JKTCP8.js → ids-a6cr243_.js} +17 -12
- package/dist/ids-a6cr243_.js.map +1 -0
- package/dist/{images-Dsc4Wi-F.js → images-DtXwj2wL.js} +70 -55
- package/dist/images-DtXwj2wL.js.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -5
- package/dist/init-BiL6B3S4.js +1 -0
- package/dist/{init-QB5ecPDA.js → init-Ci_IAp8p.js} +5 -5
- package/dist/{init-QB5ecPDA.js.map → init-Ci_IAp8p.js.map} +1 -1
- package/dist/{ink-list-mCJypk3d.js → ink-list-Dnh6XD3C.js} +54 -15
- package/dist/ink-list-Dnh6XD3C.js.map +1 -0
- package/dist/inputs-load-DPUP_IFL.js +95 -0
- package/dist/inputs-load-DPUP_IFL.js.map +1 -0
- package/dist/inputs-load-M-BGe7gd.js +1 -0
- package/dist/inputs-z4JqnQ5g.js +190 -0
- package/dist/inputs-z4JqnQ5g.js.map +1 -0
- package/dist/internal/vm.d.ts +16 -0
- package/dist/internal/vm.js +22 -0
- package/dist/internal/vm.js.map +1 -0
- package/dist/{invocations-BSr4lRzI.js → invocations-C1gY3E0J.js} +4 -4
- package/dist/{invocations-BSr4lRzI.js.map → invocations-C1gY3E0J.js.map} +1 -1
- package/dist/jiti-ILwyxt93.js +54 -0
- package/dist/jiti-ILwyxt93.js.map +1 -0
- package/dist/{judge-eGH39PaP.js → judge-DwzqucLS.js} +9 -6
- package/dist/{judge-eGH39PaP.js.map → judge-DwzqucLS.js.map} +1 -1
- package/dist/judge.d.ts +1 -1
- package/dist/judge.js +1 -1
- package/dist/kinds-DEKXOWVJ.js +592 -0
- package/dist/kinds-DEKXOWVJ.js.map +1 -0
- package/dist/{layout-DfQa4mJs.js → layout-nCnU9Vu2.js} +2 -2
- package/dist/{layout-DfQa4mJs.js.map → layout-nCnU9Vu2.js.map} +1 -1
- package/dist/{list-Dh6T0kdr.js → list-MK4L8tfW.js} +14 -11
- package/dist/{list-Dh6T0kdr.js.map → list-MK4L8tfW.js.map} +1 -1
- package/dist/{live-y1p3oNXH.js → live-BkPNXVmN.js} +8 -8
- package/dist/{live-y1p3oNXH.js.map → live-BkPNXVmN.js.map} +1 -1
- package/dist/{live-xTZs0c61.js → live-Dlq-S2yy.js} +7 -5
- package/dist/live-Dlq-S2yy.js.map +1 -0
- package/dist/live-gZtkBwuo.js +1 -0
- package/dist/machine-service-Byl0BlcT.js +1 -0
- package/dist/machine-service-CZiXiVsS.js +709 -0
- package/dist/machine-service-CZiXiVsS.js.map +1 -0
- package/dist/machines-Ch5bhgvk.js +279 -0
- package/dist/machines-Ch5bhgvk.js.map +1 -0
- package/dist/model-C6aoJLg_.js +1 -0
- package/dist/{model-jRKSQBg6.js → model-CRh8aiYS.js} +6 -5
- package/dist/model-CRh8aiYS.js.map +1 -0
- package/dist/{model-3pZZzloU.js → model-DRa7yv6K.js} +6 -5
- package/dist/model-DRa7yv6K.js.map +1 -0
- package/dist/{model-DNpKiHqO.js → model-LoLnq9y1.js} +2 -2
- package/dist/{model-DNpKiHqO.js.map → model-LoLnq9y1.js.map} +1 -1
- package/dist/{model-DEjwetkJ.js → model-lLaUxxno.js} +1 -1
- package/dist/{node-DM-mLGdX.js → node-BQjSQw0d.js} +19 -8
- package/dist/node-BQjSQw0d.js.map +1 -0
- package/dist/{openrouter-models-C0aRo633.js → openrouter-models-B1sIOTD2.js} +2 -2
- package/dist/{openrouter-models-C0aRo633.js.map → openrouter-models-B1sIOTD2.js.map} +1 -1
- package/dist/options-I9I3FwMl.js +1 -0
- package/dist/own-reads-CYmBlrHK.js +15 -0
- package/dist/own-reads-CYmBlrHK.js.map +1 -0
- package/dist/{patch-Bx-qp8Li.js → patch-D8X6VB-e.js} +2 -2
- package/dist/{patch-Bx-qp8Li.js.map → patch-D8X6VB-e.js.map} +1 -1
- package/dist/{plan-ChO0A-xn.js → plan-DgIVIrXJ.js} +47 -9
- package/dist/plan-DgIVIrXJ.js.map +1 -0
- package/dist/{plugins-BioMWncI.js → plugins-DvEbow6a.js} +17 -637
- package/dist/plugins-DvEbow6a.js.map +1 -0
- package/dist/{preflight-CJSGzMzc.js → preflight-BKGbxN67.js} +9 -8
- package/dist/preflight-BKGbxN67.js.map +1 -0
- package/dist/{preflight-qFCXmxha.js → preflight-Qm4wE094.js} +9 -4
- package/dist/preflight-Qm4wE094.js.map +1 -0
- package/dist/preflight-dJqs5x3r.js +1 -0
- package/dist/preflight-fyV5nnea.js +1 -0
- package/dist/prepare-BAjRSoku.js +389 -0
- package/dist/prepare-BAjRSoku.js.map +1 -0
- package/dist/prepare-CRPPfRJf.js +2 -0
- package/dist/prices-C0gKS_8G.js +1 -0
- package/dist/{prices-BrY_ihLs.js → prices-DCokI_Ka.js} +3 -3
- package/dist/{prices-BrY_ihLs.js.map → prices-DCokI_Ka.js.map} +1 -1
- package/dist/{provenance-B-flBAzR.js → provenance-CSyRCc9B.js} +4 -4
- package/dist/{provenance-B-flBAzR.js.map → provenance-CSyRCc9B.js.map} +1 -1
- package/dist/{providers-B6StVyfG.js → providers-DkaEJvF5.js} +185 -35
- package/dist/providers-DkaEJvF5.js.map +1 -0
- package/dist/providers-DxZ26YoG.js +1 -0
- package/dist/{query-CkLmJv7R.js → query-BL66BOqL.js} +2 -2
- package/dist/{query-CkLmJv7R.js.map → query-BL66BOqL.js.map} +1 -1
- package/dist/query-C9OKU1Vz.js +1 -0
- package/dist/{questions-CJIh2FSX.js → questions-boVPzGoC.js} +7 -7
- package/dist/{questions-CJIh2FSX.js.map → questions-boVPzGoC.js.map} +1 -1
- package/dist/recipe-qyIpP96r.js +128 -0
- package/dist/recipe-qyIpP96r.js.map +1 -0
- package/dist/{record-nVVujCW7.js → record-D1_D1KFY.js} +12 -4
- package/dist/record-D1_D1KFY.js.map +1 -0
- package/dist/{redact-DL2BTykw.js → redact-t-L3VGy8.js} +91 -2
- package/dist/redact-t-L3VGy8.js.map +1 -0
- package/dist/{remarks-B3wjKscW.js → remarks-DEvk5f8v.js} +7 -7
- package/dist/{remarks-B3wjKscW.js.map → remarks-DEvk5f8v.js.map} +1 -1
- package/dist/{remote-C88amFRN.js → remote-CQoBRpOv.js} +5 -5
- package/dist/{remote-C88amFRN.js.map → remote-CQoBRpOv.js.map} +1 -1
- package/dist/resolve-BdpO8BN1.js +1 -0
- package/dist/{resolve-Bul8lHaa.js → resolve-Bfo8sjd-.js} +2 -2
- package/dist/{resolve-Bul8lHaa.js.map → resolve-Bfo8sjd-.js.map} +1 -1
- package/dist/{resolve-G576PiFJ.js → resolve-D2RqmybX.js} +9 -9
- package/dist/{resolve-G576PiFJ.js.map → resolve-D2RqmybX.js.map} +1 -1
- package/dist/resources-DqdwihhT.js +62 -0
- package/dist/resources-DqdwihhT.js.map +1 -0
- package/dist/{results-zVHIW6xw.js → results-BpxzyoMd.js} +5 -5
- package/dist/{results-zVHIW6xw.js.map → results-BpxzyoMd.js.map} +1 -1
- package/dist/{resume-D_PcUXfG.js → resume-2ekm_9OB.js} +78 -7
- package/dist/resume-2ekm_9OB.js.map +1 -0
- package/dist/{retry-BvTzCxdc.js → retry-CAhpW1hH.js} +4 -4
- package/dist/{retry-BvTzCxdc.js.map → retry-CAhpW1hH.js.map} +1 -1
- package/dist/{routes-B0F2R-K7.js → routes-Cp4gAjBZ.js} +118 -70
- package/dist/routes-Cp4gAjBZ.js.map +1 -0
- package/dist/{runtime-B3r_pAq6.js → runtime-C5fKSFCz.js} +46 -5
- package/dist/runtime-C5fKSFCz.js.map +1 -0
- package/dist/sandbox/boat.d.ts +11 -3
- package/dist/sandbox/boat.js +18 -4
- package/dist/sandbox/boat.js.map +1 -1
- package/dist/sandbox/daytona.d.ts +30 -0
- package/dist/sandbox/daytona.js +49 -0
- package/dist/sandbox/daytona.js.map +1 -0
- package/dist/{sandbox-Duh3z1TV.js → sandbox-t-Q-8lA_.js} +2 -2
- package/dist/{sandbox-Duh3z1TV.js.map → sandbox-t-Q-8lA_.js.map} +1 -1
- package/dist/sandbox.d.ts +1 -1
- package/dist/sandbox.js +1 -1
- package/dist/{server-DUWMRKik.js → server-BcLg9WzE.js} +10 -10
- package/dist/{server-DUWMRKik.js.map → server-BcLg9WzE.js.map} +1 -1
- package/dist/server-Buav2-CG.js +1 -0
- package/dist/services-BG8xuU82.js +39 -0
- package/dist/services-BG8xuU82.js.map +1 -0
- package/dist/{source-CHuN4Nfg.js → source-CrXM19HD.js} +2 -2
- package/dist/{source-CHuN4Nfg.js.map → source-CrXM19HD.js.map} +1 -1
- package/dist/source-dvxkqYvk.js +1 -0
- package/dist/src-5dCrqbFd.js +2 -0
- package/dist/{src-BI0v8qlZ.js → src-Bb3k9Kn_.js} +8 -5
- package/dist/{src-BI0v8qlZ.js.map → src-Bb3k9Kn_.js.map} +1 -1
- package/dist/{src-boB6D-5T.js → src-Bf5RZlPi.js} +2 -2
- package/dist/{src-boB6D-5T.js.map → src-Bf5RZlPi.js.map} +1 -1
- package/dist/{src-BqNzHHWn.js → src-C3OhA5pw.js} +2 -2
- package/dist/{src-BqNzHHWn.js.map → src-C3OhA5pw.js.map} +1 -1
- package/dist/{src-BHJ4MWvY.js → src-C5rrQlt8.js} +2199 -771
- package/dist/src-C5rrQlt8.js.map +1 -0
- package/dist/{src-CeBhwD8k.js → src-C6MsGyD6.js} +1 -1
- package/dist/{src-De0KY5S_.js → src-Cf4vRyea.js} +2 -2
- package/dist/src-DEbNp-rx.js +1 -0
- package/dist/{src-B-HuDqpH.js → src-DNWiU__5.js} +2 -2
- package/dist/{src-B-HuDqpH.js.map → src-DNWiU__5.js.map} +1 -1
- package/dist/src-DrLbG1HM.js +2 -0
- package/dist/{src--yl1OypK.js → src-Ds1pmXTg.js} +2 -2
- package/dist/{src-DA95rM6v.js → src-DwcCKsV0.js} +2 -2
- package/dist/{src-CmA5Yev6.js → src-DwcTn4JY.js} +2 -2
- package/dist/{src-CmA5Yev6.js.map → src-DwcTn4JY.js.map} +1 -1
- package/dist/{src-CZaYu6ER.js → src-VG2IRoT4.js} +1 -1
- package/dist/{src-DL-EE4DU.js → src-c3ZQu7Uu.js} +2 -2
- package/dist/{src-DL-EE4DU.js.map → src-c3ZQu7Uu.js.map} +1 -1
- package/dist/{src-CkEiiyON.js → src-io_SKoZ5.js} +2 -2
- package/dist/ssh-pool-BorCizYw.js +1 -0
- package/dist/ssh-pool-Dvfx5GuV.js +174 -0
- package/dist/ssh-pool-Dvfx5GuV.js.map +1 -0
- package/dist/start-COB07NpH.js +718 -0
- package/dist/start-COB07NpH.js.map +1 -0
- package/dist/{state-DUBRDyMk.js → state-B319V1p8.js} +16 -16
- package/dist/{state-DUBRDyMk.js.map → state-B319V1p8.js.map} +1 -1
- package/dist/state-C5oBvmoZ.js +1 -0
- package/dist/store/local.d.ts +1 -1
- package/dist/store/s3.d.ts +1 -1
- package/dist/suite-BwJGOhCZ.js +2 -0
- package/dist/{suite-B9J6Afg6.js → suite-D1tgXZxM.js} +2 -2
- package/dist/{suite-B9J6Afg6.js.map → suite-D1tgXZxM.js.map} +1 -1
- package/dist/{summary-CSp4cfnr.js → summary-ClLns_wv.js} +8 -5
- package/dist/summary-ClLns_wv.js.map +1 -0
- package/dist/{sync-CxAY6Dki.js → sync-mOG74RXH.js} +5 -5
- package/dist/{sync-CxAY6Dki.js.map → sync-mOG74RXH.js.map} +1 -1
- package/dist/{tart-CcrrtSrp.js → tart-DMppfbEm.js} +100 -295
- package/dist/tart-DMppfbEm.js.map +1 -0
- package/dist/{tart-bake-F-6seRC9.js → tart-bake-Cva_qdir.js} +18 -62
- package/dist/tart-bake-Cva_qdir.js.map +1 -0
- package/dist/{tart-bake-RK7RaT9E.js → tart-bake-DVIoXWr_.js} +1 -1
- package/dist/{tart-cli-ClvRniLQ.js → tart-cli-D88c5YYJ.js} +1 -1
- package/dist/{tart-cli-B86Jqo1t.js → tart-cli-LzDud2Z6.js} +2 -2
- package/dist/{tart-cli-B86Jqo1t.js.map → tart-cli-LzDud2Z6.js.map} +1 -1
- package/dist/{tart-hosts-Brii7zHM.js → tart-hosts-8N6Tt7Yb.js} +1 -1
- package/dist/{tart-hosts-DPyZsg-1.js → tart-hosts-CTRY5kQ2.js} +3 -3
- package/dist/{tart-hosts-DPyZsg-1.js.map → tart-hosts-CTRY5kQ2.js.map} +1 -1
- package/dist/{tart-images-CWSf03w8.js → tart-images-JfHirU8W.js} +2 -2
- package/dist/{tart-images-CWSf03w8.js.map → tart-images-JfHirU8W.js.map} +1 -1
- package/dist/testing.d.ts +2 -2
- package/dist/testing.js +4 -4
- package/dist/{tool-class-CVDdJy0H.js → tool-class-CncfCw03.js} +2 -2
- package/dist/{tool-class-CVDdJy0H.js.map → tool-class-CncfCw03.js.map} +1 -1
- package/dist/{transcript-BP_2hji-.js → transcript-BXWZiMuC.js} +2 -2
- package/dist/{transcript-BP_2hji-.js.map → transcript-BXWZiMuC.js.map} +1 -1
- package/dist/{types-BJ0wh8wC.d.ts → types-BDo8ttQo.d.ts} +253 -5
- package/dist/types-CbcnJxCy.js.map +1 -1
- package/dist/ui-DUiVPbQ2.js +1024 -0
- package/dist/ui-DUiVPbQ2.js.map +1 -0
- package/dist/vercel-models-Ci33llXz.js +21 -0
- package/dist/vercel-models-Ci33llXz.js.map +1 -0
- package/dist/view/index.d.ts +6 -1
- package/dist/view/index.js +4 -4
- package/dist/views-B0qZR5Ef.js +2 -0
- package/dist/{views-DRxXCyIH.js → views-CiZGh3ws.js} +6 -6
- package/dist/{views-DRxXCyIH.js.map → views-CiZGh3ws.js.map} +1 -1
- package/dist/vm-container-BVn7pXfD.js +148 -0
- package/dist/vm-container-BVn7pXfD.js.map +1 -0
- package/dist/vm-images-CNk-Zl2a.js +375 -0
- package/dist/vm-images-CNk-Zl2a.js.map +1 -0
- package/dist/{worker-entry-C3Q4U63F.js → worker-entry-DmXQ2Znu.js} +31 -11
- package/dist/worker-entry-DmXQ2Znu.js.map +1 -0
- package/dist/workspace-CRgFdmgW.js +1 -0
- package/dist/{workspace-P72SXLXr.js → workspace-wwvwEHzP.js} +6 -6
- package/dist/{workspace-P72SXLXr.js.map → workspace-wwvwEHzP.js.map} +1 -1
- package/docker/Dockerfile +1 -1
- package/package.json +17 -2
- package/skills/reeval/references/environments.md +4 -3
- package/dist/adapter-BdzhdRYo.js.map +0 -1
- package/dist/agent-Dx-bDmlV.js.map +0 -1
- package/dist/agents-l0-k7vw3.js.map +0 -1
- package/dist/app-files-B-CQYB0c.js.map +0 -1
- package/dist/boat-CZpAreTB.js +0 -108
- package/dist/boat-CZpAreTB.js.map +0 -1
- package/dist/boat-su1Y7LPd.js +0 -325
- package/dist/boat-su1Y7LPd.js.map +0 -1
- package/dist/capture-BqIAeFyC.js.map +0 -1
- package/dist/capture-D0Ln5aCP.js +0 -1
- package/dist/cli-s_3opn_I.js.map +0 -1
- package/dist/cli-spec-DxzIjmq_.js.map +0 -1
- package/dist/client-C5fIzHQa.js.map +0 -1
- package/dist/command-DA_SHQUQ.js.map +0 -1
- package/dist/config-C0URar0t.js.map +0 -1
- package/dist/cost-IM80LyGD.js +0 -1
- package/dist/db-Bc4L-Wcr.js +0 -2
- package/dist/docker-CDdK6Ity.js +0 -271
- package/dist/docker-CDdK6Ity.js.map +0 -1
- package/dist/docker-DMug3l-a.js +0 -1
- package/dist/doctor-eFxyn6at.js.map +0 -1
- package/dist/environment-CJIKz-Ud.js.map +0 -1
- package/dist/evaluate-DA4QsrHO.js.map +0 -1
- package/dist/files-BjOJw4sn.js +0 -1
- package/dist/files-CNHhSyb3.js +0 -1
- package/dist/files-CW1lChNh.js +0 -1
- package/dist/ids-B-JKTCP8.js.map +0 -1
- package/dist/images-Dsc4Wi-F.js.map +0 -1
- package/dist/init-C0oUG3jh.js +0 -1
- package/dist/ink-list-mCJypk3d.js.map +0 -1
- package/dist/live-DwjWJTdn.js +0 -1
- package/dist/live-xTZs0c61.js.map +0 -1
- package/dist/model-3pZZzloU.js.map +0 -1
- package/dist/model-jRKSQBg6.js.map +0 -1
- package/dist/model-nfewGTzB.js +0 -1
- package/dist/node-DM-mLGdX.js.map +0 -1
- package/dist/options-DpsJ_5CU.js +0 -1
- package/dist/plan-ChO0A-xn.js.map +0 -1
- package/dist/plugins-BioMWncI.js.map +0 -1
- package/dist/preflight-BUjk_6wT.js +0 -1
- package/dist/preflight-CJSGzMzc.js.map +0 -1
- package/dist/preflight-DD3fI4Hz.js +0 -1
- package/dist/preflight-qFCXmxha.js.map +0 -1
- package/dist/prepare-D7oSSFNm.js +0 -268
- package/dist/prepare-D7oSSFNm.js.map +0 -1
- package/dist/prepare-xHU2BpN-.js +0 -2
- package/dist/prices-B1vm_lPk.js +0 -1
- package/dist/providers-B6StVyfG.js.map +0 -1
- package/dist/providers-Dljf6al6.js +0 -1
- package/dist/query-BAc2tQZj.js +0 -1
- package/dist/record-nVVujCW7.js.map +0 -1
- package/dist/redact-DL2BTykw.js.map +0 -1
- package/dist/resolve-DW92wpIZ.js +0 -1
- package/dist/resume-D_PcUXfG.js.map +0 -1
- package/dist/routes-B0F2R-K7.js.map +0 -1
- package/dist/runtime-B3r_pAq6.js.map +0 -1
- package/dist/server-CGEsvVRG.js +0 -1
- package/dist/source-Wz1Nrfue.js +0 -1
- package/dist/src-BHJ4MWvY.js.map +0 -1
- package/dist/src-BL-_0QoE.js +0 -1
- package/dist/src-C-mOSczH.js +0 -2
- package/dist/src-CwH_nEaw.js +0 -2
- package/dist/state-B3jex5KU.js +0 -1
- package/dist/suite-Bhs9-Z7O.js +0 -2
- package/dist/summary-CSp4cfnr.js.map +0 -1
- package/dist/tarball-CESxtK4X.js +0 -257
- package/dist/tarball-CESxtK4X.js.map +0 -1
- package/dist/tart-CcrrtSrp.js.map +0 -1
- package/dist/tart-bake-F-6seRC9.js.map +0 -1
- package/dist/views-i67V1ly3.js +0 -2
- package/dist/worker-entry-C3Q4U63F.js.map +0 -1
- package/dist/workspace-DhUOW8if.js +0 -1
|
@@ -1,642 +1,17 @@
|
|
|
1
|
-
import { n as UsageError } from "./errors-ttMTnIYX.js";
|
|
2
1
|
import { t as closest } from "./shared-DtZwIAfy.js";
|
|
3
|
-
import {
|
|
2
|
+
import { _t as hostAllowed } from "./src-C5rrQlt8.js";
|
|
4
3
|
import { r as credentialsIn } from "./plain-Ctn8oUdp.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
4
|
+
import { u as sha256 } from "./ids-a6cr243_.js";
|
|
5
|
+
import { t as asOwnReads } from "./own-reads-CYmBlrHK.js";
|
|
6
|
+
import { S as stripCredentials } from "./redact-t-L3VGy8.js";
|
|
7
|
+
import { d as suggestedSandbox, n as capabilitiesOf } from "./kinds-DEKXOWVJ.js";
|
|
8
8
|
import { o as withoutBom } from "./text-B8-W3Cvn.js";
|
|
9
9
|
import { existsSync, readFileSync, readdirSync, realpathSync, statSync } from "node:fs";
|
|
10
|
-
import { basename,
|
|
11
|
-
import { spawn } from "node:child_process";
|
|
12
|
-
import { createHash, randomUUID } from "node:crypto";
|
|
13
|
-
import { tmpdir } from "node:os";
|
|
14
|
-
import { connect } from "node:net";
|
|
10
|
+
import { basename, isAbsolute, join, posix, relative, sep, win32 } from "node:path";
|
|
15
11
|
import { parse } from "yaml";
|
|
16
|
-
import { mkdir, mkdtemp, readFile, rm, writeFile } from "node:fs/promises";
|
|
17
|
-
const POLL_MS = 200;
|
|
18
|
-
const READ_LISTENERS = {
|
|
19
|
-
proc: "if [ -r /proc/net/tcp ]; then cat /proc/net/tcp /proc/net/tcp6 2>/dev/null; else echo noproc; fi",
|
|
20
|
-
lsof: "if command -v lsof >/dev/null 2>&1; then echo lsof; lsof -nP -iTCP -sTCP:LISTEN -Fn 2>/dev/null; else echo noproc; fi",
|
|
21
|
-
host: "echo noproc"
|
|
22
|
-
};
|
|
23
|
-
/** Prints `alive` while `pid` runs, then the sandbox's TCP listeners, or `noproc` without them. */
|
|
24
|
-
function probeScript(pid, source = "proc") {
|
|
25
|
-
return `${pid ? `kill -0 ${pid} 2>/dev/null && echo alive; ` : ""}${READ_LISTENERS[source]}; exit 0`;
|
|
26
|
-
}
|
|
27
|
-
/** `0100007F` → `127.0.0.1`; 32 hex digits → an IPv6 address. Each 32-bit word is host-endian. */
|
|
28
|
-
function procAddress(hex) {
|
|
29
|
-
const bytes = (hex.match(/.{8}/g) ?? []).flatMap((w) => (w.match(/../g) ?? []).reverse().map((b) => Number.parseInt(b, 16)));
|
|
30
|
-
if (bytes.length === 4) return bytes.join(".");
|
|
31
|
-
if (bytes.slice(0, 10).every((b) => b === 0) && bytes[10] === 255 && bytes[11] === 255) return bytes.slice(12).join(".");
|
|
32
|
-
const groups = [];
|
|
33
|
-
for (let i = 0; i < 16; i += 2) groups.push(((bytes[i] ?? 0) << 8 | (bytes[i + 1] ?? 0)).toString(16));
|
|
34
|
-
const full = groups.join(":");
|
|
35
|
-
const longest = (full.match(/(^|:)0(:0)+(:|$)/g) ?? []).reduce((a, b) => b.length > a.length ? b : a, "");
|
|
36
|
-
return longest ? full.replace(longest, "::") : full;
|
|
37
|
-
}
|
|
38
|
-
/** A listener the tunnel reaches: on loopback or every address, IPv4 or IPv6. */
|
|
39
|
-
const reachable = (address) => address === "0.0.0.0" || address === "::" || address === "::1" || address.startsWith("127.");
|
|
40
|
-
function parseProbe(stdout) {
|
|
41
|
-
const lines = stdout.split("\n");
|
|
42
|
-
const alive = lines.includes("alive");
|
|
43
|
-
if (lines.includes("noproc")) return {
|
|
44
|
-
proc: false,
|
|
45
|
-
alive
|
|
46
|
-
};
|
|
47
|
-
const listeners = [];
|
|
48
|
-
if (lines.includes("lsof")) {
|
|
49
|
-
for (const l of lines) {
|
|
50
|
-
const m = /^n(\*|\[[0-9a-f:.]+\]|[0-9.]+):(\d+)$/i.exec(l);
|
|
51
|
-
const address = m?.[1] === "*" ? "0.0.0.0" : (m?.[1] ?? "").replace(/^\[|\]$/g, "");
|
|
52
|
-
if (m && reachable(address)) listeners.push({
|
|
53
|
-
port: Number(m[2]),
|
|
54
|
-
address
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
return {
|
|
58
|
-
proc: true,
|
|
59
|
-
alive,
|
|
60
|
-
listeners
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
for (const l of lines) {
|
|
64
|
-
const m = /^\s*\d+:\s+([0-9A-F]+):([0-9A-F]{4})\s+\S+\s+0A\s/i.exec(l);
|
|
65
|
-
const address = m ? procAddress(m[1]) : "";
|
|
66
|
-
if (m && reachable(address)) listeners.push({
|
|
67
|
-
port: Number.parseInt(m[2], 16),
|
|
68
|
-
address
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
return {
|
|
72
|
-
proc: true,
|
|
73
|
-
alive,
|
|
74
|
-
listeners
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
/** The ports listening now that weren't before the command started, ascending. */
|
|
78
|
-
const newPorts = (listeners, before) => [...new Set(listeners.map((l) => l.port).filter((p) => !before.has(p)))].sort((a, b) => a - b);
|
|
79
|
-
/** The address to record for `port`: IPv4 first, since that's where the tunnel connects first. */
|
|
80
|
-
const addressFor = (listeners, port) => {
|
|
81
|
-
const all = listeners.filter((l) => l.port === port).map((l) => l.address);
|
|
82
|
-
return all.find((a) => !a.includes(":")) ?? all.find((a) => a === "::") ?? all[0] ?? "";
|
|
83
|
-
};
|
|
84
|
-
/** `want` is taken whoever listens on it: `servePort` found it free when the command started. */
|
|
85
|
-
function decide(s) {
|
|
86
|
-
const { listeners, alive } = s.probe;
|
|
87
|
-
const ports = newPorts(listeners, s.before);
|
|
88
|
-
if (listeners.some((l) => l.port === s.want)) return {
|
|
89
|
-
kind: "port",
|
|
90
|
-
port: s.want,
|
|
91
|
-
address: addressFor(listeners, s.want)
|
|
92
|
-
};
|
|
93
|
-
const late = s.elapsedMs >= s.timeoutMs;
|
|
94
|
-
if (!s.given && ports.length && (s.stableMs >= 3e3 || late || !alive)) {
|
|
95
|
-
if (ports.length === 1) {
|
|
96
|
-
const port = ports[0];
|
|
97
|
-
return {
|
|
98
|
-
kind: "port",
|
|
99
|
-
port,
|
|
100
|
-
address: addressFor(listeners, port)
|
|
101
|
-
};
|
|
102
|
-
}
|
|
103
|
-
return {
|
|
104
|
-
kind: "several",
|
|
105
|
-
ports
|
|
106
|
-
};
|
|
107
|
-
}
|
|
108
|
-
if (!alive) return { kind: "exited" };
|
|
109
|
-
return late ? {
|
|
110
|
-
kind: "timeout",
|
|
111
|
-
ports
|
|
112
|
-
} : { kind: "wait" };
|
|
113
|
-
}
|
|
114
|
-
const plain = (output) => output.replace(/\x1b\[[0-9;?]*[A-Za-z]/g, "");
|
|
115
|
-
/** The URLs `output` prints on one of `ports`, as Vite's `Local: http://localhost:5173/`. */
|
|
116
|
-
function printedUrls(output, ports) {
|
|
117
|
-
const found = /* @__PURE__ */ new Map();
|
|
118
|
-
for (const m of plain(output).matchAll(/https?:\/\/(?:\[[0-9a-f:]+\]|[^\s/:[\]]+):(\d+)[^\s'"]*/gi)) {
|
|
119
|
-
const port = Number(m[1]);
|
|
120
|
-
if (ports.includes(port) && !found.has(m[0])) found.set(m[0], port);
|
|
121
|
-
}
|
|
122
|
-
return [...found].map(([url, port]) => ({
|
|
123
|
-
url,
|
|
124
|
-
port
|
|
125
|
-
}));
|
|
126
|
-
}
|
|
127
|
-
/** Whether something on the host accepts a TCP connection on `port`, IPv4 or IPv6 loopback. */
|
|
128
|
-
async function hostListening(port) {
|
|
129
|
-
for (const host of ["127.0.0.1", "::1"]) if (await new Promise((resolve) => {
|
|
130
|
-
const socket = connect({
|
|
131
|
-
port,
|
|
132
|
-
host
|
|
133
|
-
});
|
|
134
|
-
socket.once("connect", () => {
|
|
135
|
-
socket.destroy();
|
|
136
|
-
resolve(true);
|
|
137
|
-
});
|
|
138
|
-
socket.once("error", () => resolve(false));
|
|
139
|
-
})) return host;
|
|
140
|
-
}
|
|
141
|
-
/** How many times `c.serve` allocates `PORT` again when the sandbox already listens on it. */
|
|
142
|
-
const ALLOCATE_TRIES = 5;
|
|
143
|
-
/**
|
|
144
|
-
* The port `c.serve` sets as `PORT` and waits on: `port`, or one from `allocate` that nothing
|
|
145
|
-
* listens on yet. Throws when something already listens on `port`, since that server, not the
|
|
146
|
-
* command's, would answer the checks: c.serve only stops what it started.
|
|
147
|
-
*/
|
|
148
|
-
async function servePort(command, port, allocate, taken) {
|
|
149
|
-
if (port === void 0) {
|
|
150
|
-
for (let i = 0; i < ALLOCATE_TRIES; i++) {
|
|
151
|
-
const want = await allocate();
|
|
152
|
-
if (!await taken(want)) return want;
|
|
153
|
-
}
|
|
154
|
-
throw new Error(`c.serve(${JSON.stringify(command)}) found every port it allocated for PORT already in use in the sandbox`);
|
|
155
|
-
}
|
|
156
|
-
if (await taken(port)) throw new Error(`c.serve(${JSON.stringify(command)}, ${port}): port ${port} was already in use before c.serve started (a server the agent left running?), so the checks would reach that server, not this command's. Stop it first, or drop the port to serve on PORT`);
|
|
157
|
-
return port;
|
|
158
|
-
}
|
|
159
|
-
const sleep = (ms, signal) => new Promise((resolve) => {
|
|
160
|
-
const done = () => {
|
|
161
|
-
clearTimeout(timer);
|
|
162
|
-
signal?.removeEventListener("abort", done);
|
|
163
|
-
resolve();
|
|
164
|
-
};
|
|
165
|
-
const timer = setTimeout(done, ms);
|
|
166
|
-
signal?.addEventListener("abort", done, { once: true });
|
|
167
|
-
});
|
|
168
|
-
const listOf = (items) => items.length > 1 ? `${items.slice(0, -1).join(", ")} and ${items.at(-1)}` : String(items[0]);
|
|
169
|
-
/**
|
|
170
|
-
* Polls until something listens on `want`, or, without a given port, until the ports that are
|
|
171
|
-
* new since the command started have settled on one. Throws, with the command's last output,
|
|
172
|
-
* when they settle on several, it exits, or nothing listens in time.
|
|
173
|
-
*/
|
|
174
|
-
async function awaitListening(command, w) {
|
|
175
|
-
const timeoutMs = w.timeoutMs ?? 12e4;
|
|
176
|
-
const started = Date.now();
|
|
177
|
-
let last = "";
|
|
178
|
-
let changed = started;
|
|
179
|
-
const output = async () => plain(await w.output().catch(() => ""));
|
|
180
|
-
const fail = async (why, out) => {
|
|
181
|
-
const tail = (out ?? await output()).trimEnd().split("\n").slice(-20).join("\n").trim();
|
|
182
|
-
return /* @__PURE__ */ new Error(`c.serve(${JSON.stringify(command)}) ${why}${tail ? `. Its last output:\n${tail}` : ""}`);
|
|
183
|
-
};
|
|
184
|
-
for (;;) {
|
|
185
|
-
w.signal?.throwIfAborted();
|
|
186
|
-
const probe = await w.probe();
|
|
187
|
-
const now = Date.now();
|
|
188
|
-
if (!probe.proc) {
|
|
189
|
-
const address = await (w.hostListening ?? hostListening)(w.want);
|
|
190
|
-
if (address !== void 0) return {
|
|
191
|
-
port: w.want,
|
|
192
|
-
address,
|
|
193
|
-
detected: false,
|
|
194
|
-
readyMs: now - started
|
|
195
|
-
};
|
|
196
|
-
if (!probe.alive) throw await fail(`exited before it listened on ${w.want}`);
|
|
197
|
-
if (now - started >= timeoutMs) throw await fail(`didn't listen on ${w.want} within ${timeoutMs / 1e3}s. This sandbox can't list the ports it listens on, so it must listen on PORT or the port passed`);
|
|
198
|
-
} else {
|
|
199
|
-
const key = newPorts(probe.listeners, w.before).join(",");
|
|
200
|
-
if (key !== last) {
|
|
201
|
-
last = key;
|
|
202
|
-
changed = now;
|
|
203
|
-
}
|
|
204
|
-
const d = decide({
|
|
205
|
-
want: w.want,
|
|
206
|
-
given: w.given,
|
|
207
|
-
probe,
|
|
208
|
-
before: w.before,
|
|
209
|
-
stableMs: now - changed,
|
|
210
|
-
elapsedMs: now - started,
|
|
211
|
-
timeoutMs
|
|
212
|
-
});
|
|
213
|
-
if (d.kind === "port") return {
|
|
214
|
-
port: d.port,
|
|
215
|
-
address: d.address,
|
|
216
|
-
detected: d.port !== w.want,
|
|
217
|
-
readyMs: now - started
|
|
218
|
-
};
|
|
219
|
-
if (d.kind === "several") {
|
|
220
|
-
const out = await output();
|
|
221
|
-
const urls = printedUrls(out, d.ports);
|
|
222
|
-
const printed = urls.length ? ` It printed ${listOf(urls.map((u) => u.url))}.` : "";
|
|
223
|
-
const hint = urls[0]?.port ?? d.ports[0];
|
|
224
|
-
throw await fail(`listens on ports ${listOf(d.ports)}, and not on PORT (${w.want}).${printed} Pass the one it serves on: c.serve(${JSON.stringify(command)}, ${hint})`, out);
|
|
225
|
-
}
|
|
226
|
-
if (d.kind === "exited") throw await fail("exited before it listened on a port");
|
|
227
|
-
if (d.kind === "timeout") {
|
|
228
|
-
const on = d.ports.length ? `; ${d.ports.length > 1 ? "ports" : "port"} ${listOf(d.ports)} started listening` : "";
|
|
229
|
-
throw await fail(`didn't listen on ${w.given ? `the port passed (${w.want})` : "a port"} within ${timeoutMs / 1e3}s${on}`);
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
await sleep(POLL_MS, w.signal);
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
// src/sandbox/fake.ts
|
|
236
|
-
/**
|
|
237
|
-
* Commands run on the host's own network, so the fake sandbox can neither restrict nor see it.
|
|
238
|
-
* A phased policy it plans (`proxy` and `allow-all` only) has nothing to switch, so it accepts one.
|
|
239
|
-
*/
|
|
240
|
-
const FAKE_EGRESS = {
|
|
241
|
-
enforce: "none",
|
|
242
|
-
record: false,
|
|
243
|
-
switches: true
|
|
244
|
-
};
|
|
245
|
-
/**
|
|
246
|
-
* The POSIX shell commands run in: `sh`, which Windows lacks, so there the `sh.exe` on PATH or
|
|
247
|
-
* Git for Windows'.
|
|
248
|
-
*/
|
|
249
|
-
function posixShell(platform = process.platform, env = process.env, exists = existsSync) {
|
|
250
|
-
if (platform !== "win32") return "sh";
|
|
251
|
-
const onPath = (env.PATH ?? env.Path ?? "").split(win32.delimiter).filter(Boolean);
|
|
252
|
-
const git = [
|
|
253
|
-
env.ProgramFiles,
|
|
254
|
-
env["ProgramFiles(x86)"],
|
|
255
|
-
env.LOCALAPPDATA && win32.join(env.LOCALAPPDATA, "Programs")
|
|
256
|
-
].filter((dir) => !!dir).map((dir) => win32.join(dir, "Git", "bin"));
|
|
257
|
-
const found = [...onPath, ...git].map((dir) => win32.join(dir, "sh.exe")).find(exists);
|
|
258
|
-
if (found) return found;
|
|
259
|
-
throw new UsageError("The fake sandbox runs commands with a POSIX sh, and there's none on this machine. Install Git for Windows (https://git-scm.com/download/win), which brings sh.exe, or run the evals in docker().");
|
|
260
|
-
}
|
|
261
|
-
const EXEC_TAG = "REEVAL_FAKE_EXEC";
|
|
262
|
-
const KILL_TAGGED = `for pass in 1 2 3 4 5; do
|
|
263
|
-
found=
|
|
264
|
-
for f in $(grep -lzx "${EXEC_TAG}=$1" /proc/[0-9]*/environ 2>/dev/null); do
|
|
265
|
-
p=\${f#/proc/}; kill -9 "\${p%/environ}" 2>/dev/null; found=1
|
|
266
|
-
done
|
|
267
|
-
[ -n "$found" ] || break
|
|
268
|
-
done`;
|
|
269
|
-
/**
|
|
270
|
-
* Stops a command's MSYS processes on Windows. `taskkill /t` doesn't reach them: Git's `sh.exe`
|
|
271
|
-
* starts bash, whose fork and exec leave each new process's Windows parent gone, so a timed-out
|
|
272
|
-
* `sleep 30` would run on, holding the command's pipes and working directory.
|
|
273
|
-
*/
|
|
274
|
-
function killTagged(sh, tag) {
|
|
275
|
-
runSh(sh, KILL_TAGGED, tag);
|
|
276
|
-
}
|
|
277
|
-
/**
|
|
278
|
-
* Kills host processes whose cwd is the sandbox, including native `node.exe` `c.serve` starts.
|
|
279
|
-
* Match only the unique `reeval-sandbox-*` folder name: Git Bash `pwd` and node.exe's
|
|
280
|
-
* `/proc/cwd` disagree (`/tmp/...` vs `D:\\Users\\...\\Temp\\...`), and an empty
|
|
281
|
-
* `"$prefix"/*` is `/*`, which SIGKILLs the Windows runner (exit 2304).
|
|
282
|
-
*/
|
|
283
|
-
const KILL_UNDER = `cd "$1" || exit 0
|
|
284
|
-
base=$(pwd -P 2>/dev/null || pwd)
|
|
285
|
-
name=\${base##*/}
|
|
286
|
-
case "$name" in
|
|
287
|
-
reeval-sandbox-?*) ;;
|
|
288
|
-
*) exit 0 ;;
|
|
289
|
-
esac
|
|
290
|
-
for f in /proc/[0-9]*/cwd; do
|
|
291
|
-
t=$(readlink "$f" 2>/dev/null) || continue
|
|
292
|
-
case "$t" in
|
|
293
|
-
*"$name"*) ;;
|
|
294
|
-
*) continue ;;
|
|
295
|
-
esac
|
|
296
|
-
p=\${f#/proc/}; p=\${p%/cwd}
|
|
297
|
-
[ -n "$p" ] || continue
|
|
298
|
-
kill -9 "$p" 2>/dev/null
|
|
299
|
-
wp=$(tr -d '\\r\\n' < /proc/$p/winpid 2>/dev/null)
|
|
300
|
-
[ -n "$wp" ] && taskkill /F /PID "$wp" >/dev/null 2>&1
|
|
301
|
-
done`;
|
|
302
|
-
function runSh(sh, script, arg) {
|
|
303
|
-
return new Promise((resolve) => {
|
|
304
|
-
const child = spawn(sh, [
|
|
305
|
-
"-c",
|
|
306
|
-
script,
|
|
307
|
-
"sh",
|
|
308
|
-
arg
|
|
309
|
-
], {
|
|
310
|
-
stdio: "ignore",
|
|
311
|
-
windowsHide: true
|
|
312
|
-
});
|
|
313
|
-
const done = () => resolve();
|
|
314
|
-
child.on("error", done);
|
|
315
|
-
child.on("close", done);
|
|
316
|
-
});
|
|
317
|
-
}
|
|
318
|
-
/** Windows refuses to delete a directory a live process still has as cwd; retry after kills. */
|
|
319
|
-
async function removeTree(path) {
|
|
320
|
-
const deadline = Date.now() + 8e3;
|
|
321
|
-
for (;;) {
|
|
322
|
-
try {
|
|
323
|
-
await rm(path, {
|
|
324
|
-
recursive: true,
|
|
325
|
-
force: true
|
|
326
|
-
});
|
|
327
|
-
if (!existsSync(path)) return;
|
|
328
|
-
} catch {}
|
|
329
|
-
if (Date.now() >= deadline) {
|
|
330
|
-
await rm(path, {
|
|
331
|
-
recursive: true,
|
|
332
|
-
force: true
|
|
333
|
-
}).catch(() => {});
|
|
334
|
-
return;
|
|
335
|
-
}
|
|
336
|
-
await new Promise((r) => setTimeout(r, 50));
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
/**
|
|
340
|
-
* A temp directory on the host. Commands run unisolated on the host shell, so this is
|
|
341
|
-
* only meant for tests and for the fake harness.
|
|
342
|
-
*/
|
|
343
|
-
async function createFakeSandbox(descriptor, env = {}) {
|
|
344
|
-
const sh = posixShell();
|
|
345
|
-
const parent = descriptor.dir ?? tmpdir();
|
|
346
|
-
await mkdir(parent, { recursive: true });
|
|
347
|
-
const base = await mkdtemp(join(parent, "reeval-sandbox-"));
|
|
348
|
-
const workdir = join(base, "work");
|
|
349
|
-
await mkdir(workdir);
|
|
350
|
-
const stateDir = `${base}.state`;
|
|
351
|
-
await mkdir(stateDir);
|
|
352
|
-
let destroyed;
|
|
353
|
-
const resolve = (path) => path.startsWith("~/") ? join(base, path.slice(2)) : join(workdir, path);
|
|
354
|
-
return {
|
|
355
|
-
workdir,
|
|
356
|
-
stateDir,
|
|
357
|
-
execOwn: (command, { signal } = {}) => run(sh, ["-c", command], {
|
|
358
|
-
cwd: workdir,
|
|
359
|
-
env: {
|
|
360
|
-
HOME: base,
|
|
361
|
-
...env
|
|
362
|
-
},
|
|
363
|
-
signal
|
|
364
|
-
}),
|
|
365
|
-
exec: (command, { cwd, env: extra, signal } = {}) => {
|
|
366
|
-
const tag = process.platform === "win32" && signal ? randomUUID() : void 0;
|
|
367
|
-
const stop = () => killTagged(sh, tag);
|
|
368
|
-
if (tag) signal?.addEventListener("abort", stop, { once: true });
|
|
369
|
-
return run(sh, ["-c", cwd ? `cd ${shellQuote(cwd)} && ${command}` : command], {
|
|
370
|
-
cwd: workdir,
|
|
371
|
-
env: {
|
|
372
|
-
HOME: base,
|
|
373
|
-
...env,
|
|
374
|
-
...extra,
|
|
375
|
-
...tag ? { [EXEC_TAG]: tag } : {}
|
|
376
|
-
},
|
|
377
|
-
signal
|
|
378
|
-
}).finally(() => signal?.removeEventListener("abort", stop));
|
|
379
|
-
},
|
|
380
|
-
home: base,
|
|
381
|
-
setEgress: async () => {},
|
|
382
|
-
readFile: (path) => readFile(resolve(path), "utf8").catch(() => null),
|
|
383
|
-
getPortEndpoint: async ({ port, protocol = "http" }) => ({ url: `${protocol === "ws" ? "ws" : "http"}://${await hostListening(port) === "::1" ? "[::1]" : "127.0.0.1"}:${port}` }),
|
|
384
|
-
async writeFile(path, content) {
|
|
385
|
-
const target = resolve(path);
|
|
386
|
-
await mkdir(dirname(target), { recursive: true });
|
|
387
|
-
await writeFile(target, content);
|
|
388
|
-
},
|
|
389
|
-
destroy: () => {
|
|
390
|
-
destroyed ??= (async () => {
|
|
391
|
-
await rm(stateDir, {
|
|
392
|
-
recursive: true,
|
|
393
|
-
force: true
|
|
394
|
-
}).catch(() => {});
|
|
395
|
-
if (process.platform === "win32") {
|
|
396
|
-
if (existsSync(base)) await runSh(sh, KILL_UNDER, base);
|
|
397
|
-
await removeTree(base);
|
|
398
|
-
return;
|
|
399
|
-
}
|
|
400
|
-
await rm(base, {
|
|
401
|
-
recursive: true,
|
|
402
|
-
force: true
|
|
403
|
-
}).catch(() => {});
|
|
404
|
-
})().finally(() => {
|
|
405
|
-
destroyed = void 0;
|
|
406
|
-
});
|
|
407
|
-
return destroyed;
|
|
408
|
-
}
|
|
409
|
-
};
|
|
410
|
-
}
|
|
411
|
-
// src/sandbox/kinds.ts
|
|
412
|
-
/** The last path segment of `text`, with what an id can't hold replaced. */
|
|
413
|
-
const idPart = (text) => (text.split("/").at(-1) ?? text).replace(/[^A-Za-z0-9._:@-]+/g, "-");
|
|
414
|
-
/** `+` and a hash of the install steps, or nothing without any. */
|
|
415
|
-
function installId(install) {
|
|
416
|
-
if (!install?.length) return "";
|
|
417
|
-
const key = JSON.stringify(install.map((step) => typeof step === "string" ? step : {
|
|
418
|
-
run: step.run,
|
|
419
|
-
timeout: step.timeout
|
|
420
|
-
}));
|
|
421
|
-
return `+${createHash("sha256").update(key).digest("hex").slice(0, 8)}`;
|
|
422
|
-
}
|
|
423
|
-
const engineOf = (s) => s.engine ?? "docker";
|
|
424
|
-
const SANDBOX_KINDS = {
|
|
425
|
-
docker: {
|
|
426
|
-
helpers: ["docker", "podman"],
|
|
427
|
-
capabilities: {
|
|
428
|
-
platform: "linux",
|
|
429
|
-
egress: DOCKER_EGRESS,
|
|
430
|
-
brokers: true,
|
|
431
|
-
harnessSession: true,
|
|
432
|
-
isolated: true,
|
|
433
|
-
processTable: true,
|
|
434
|
-
listeners: "proc",
|
|
435
|
-
images: true,
|
|
436
|
-
preflight: true,
|
|
437
|
-
pluginBuilds: true,
|
|
438
|
-
harnesses: "all"
|
|
439
|
-
},
|
|
440
|
-
provider: engineOf,
|
|
441
|
-
id(s) {
|
|
442
|
-
const install = installId(s.install);
|
|
443
|
-
const engine = engineOf(s);
|
|
444
|
-
if (s.dockerfile) {
|
|
445
|
-
const [file = "", dir = ""] = s.dockerfile.split(/[\\/]/).reverse();
|
|
446
|
-
return `${engine}:${idPart(file === "Dockerfile" ? dir || file : file)}${install}`;
|
|
447
|
-
}
|
|
448
|
-
const image = s.image ?? s.from;
|
|
449
|
-
return image ? `${engine}:${idPart(image)}${install}` : `${engine}${install}`;
|
|
450
|
-
},
|
|
451
|
-
hostPaths: { dockerfile: "file" },
|
|
452
|
-
buildsAtStart: (s) => !!(s.from || s.dockerfile || s.install?.length),
|
|
453
|
-
privileges: (s) => ({
|
|
454
|
-
root: !!s.root,
|
|
455
|
-
capabilities: s.capabilities ?? []
|
|
456
|
-
}),
|
|
457
|
-
async create(sandbox, options) {
|
|
458
|
-
const { createDockerSandbox } = await import("./docker-DMug3l-a.js");
|
|
459
|
-
return createDockerSandbox(sandbox, options);
|
|
460
|
-
},
|
|
461
|
-
async capacity(sandbox) {
|
|
462
|
-
const { dockerCapacity } = await import("./src-BL-_0QoE.js");
|
|
463
|
-
return dockerCapacity(sandbox.engine);
|
|
464
|
-
},
|
|
465
|
-
async cleanupRun(runId, sandboxes) {
|
|
466
|
-
const engines = sandboxes ? [...new Set(sandboxes.map(engineOf))] : ["docker", "podman"];
|
|
467
|
-
if (!engines.length) return;
|
|
468
|
-
const { removeRunContainers } = await import("./docker-DMug3l-a.js");
|
|
469
|
-
await removeRunContainers(runId, engines);
|
|
470
|
-
}
|
|
471
|
-
},
|
|
472
|
-
fake: {
|
|
473
|
-
helpers: ["fakeSandbox"],
|
|
474
|
-
capabilities: {
|
|
475
|
-
platform: process.platform,
|
|
476
|
-
egress: FAKE_EGRESS,
|
|
477
|
-
brokers: false,
|
|
478
|
-
harnessSession: false,
|
|
479
|
-
isolated: false,
|
|
480
|
-
processTable: false,
|
|
481
|
-
listeners: "host",
|
|
482
|
-
images: false,
|
|
483
|
-
preflight: false,
|
|
484
|
-
pluginBuilds: false,
|
|
485
|
-
harnesses: "all"
|
|
486
|
-
},
|
|
487
|
-
provider: () => "fake",
|
|
488
|
-
id: () => "fake",
|
|
489
|
-
hostPaths: { dir: "dir" },
|
|
490
|
-
buildsAtStart: () => false,
|
|
491
|
-
privileges: () => ({
|
|
492
|
-
root: false,
|
|
493
|
-
capabilities: []
|
|
494
|
-
}),
|
|
495
|
-
create: (sandbox, options) => createFakeSandbox(sandbox, options.env)
|
|
496
|
-
},
|
|
497
|
-
tart: {
|
|
498
|
-
helpers: ["tart"],
|
|
499
|
-
capabilities: {
|
|
500
|
-
platform: "darwin",
|
|
501
|
-
egress: {
|
|
502
|
-
enforce: "none",
|
|
503
|
-
record: true,
|
|
504
|
-
switches: false
|
|
505
|
-
},
|
|
506
|
-
brokers: true,
|
|
507
|
-
harnessSession: true,
|
|
508
|
-
isolated: true,
|
|
509
|
-
processTable: false,
|
|
510
|
-
listeners: "lsof",
|
|
511
|
-
images: false,
|
|
512
|
-
preflight: true,
|
|
513
|
-
pluginBuilds: false,
|
|
514
|
-
harnesses: "all"
|
|
515
|
-
},
|
|
516
|
-
provider: () => "tart",
|
|
517
|
-
id: (s) => `tart:${idPart(s.image)}`,
|
|
518
|
-
hostPaths: { "ssh.key": "file" },
|
|
519
|
-
buildsAtStart: () => true,
|
|
520
|
-
hostLimit: tartVmLimit,
|
|
521
|
-
privileges: () => ({
|
|
522
|
-
root: false,
|
|
523
|
-
capabilities: []
|
|
524
|
-
}),
|
|
525
|
-
async create(sandbox, options) {
|
|
526
|
-
const { createTartSandbox } = await import("./tart-CcrrtSrp.js");
|
|
527
|
-
return createTartSandbox(sandbox, options);
|
|
528
|
-
},
|
|
529
|
-
async cleanupRun(runId, sandboxes) {
|
|
530
|
-
const { removeRunVms } = await import("./tart-CcrrtSrp.js");
|
|
531
|
-
const { LOCAL_TART } = await import("./tart-cli-ClvRniLQ.js");
|
|
532
|
-
const { hostTarget } = await import("./tart-hosts-Brii7zHM.js");
|
|
533
|
-
const { parseTartHost } = await import("./tart-DmVuVsmX.js");
|
|
534
|
-
const away = /* @__PURE__ */ new Map();
|
|
535
|
-
for (const host of (sandboxes ?? []).flatMap((s) => s.hosts ?? [])) {
|
|
536
|
-
const parsed = parseTartHost(host);
|
|
537
|
-
if (typeof parsed !== "string") away.set(parsed.label, hostTarget(parsed));
|
|
538
|
-
}
|
|
539
|
-
await removeRunVms(runId, [...!sandboxes || sandboxes.some((s) => !s.hosts) ? [LOCAL_TART] : [], ...away.values()]);
|
|
540
|
-
}
|
|
541
|
-
},
|
|
542
|
-
boat: {
|
|
543
|
-
helpers: ["boat"],
|
|
544
|
-
capabilities: {
|
|
545
|
-
platform: "linux",
|
|
546
|
-
egress: {
|
|
547
|
-
enforce: "none",
|
|
548
|
-
record: true,
|
|
549
|
-
switches: false
|
|
550
|
-
},
|
|
551
|
-
brokers: true,
|
|
552
|
-
harnessSession: true,
|
|
553
|
-
isolated: true,
|
|
554
|
-
processTable: true,
|
|
555
|
-
listeners: "proc",
|
|
556
|
-
images: false,
|
|
557
|
-
preflight: true,
|
|
558
|
-
pluginBuilds: false,
|
|
559
|
-
harnesses: ["cursor"]
|
|
560
|
-
},
|
|
561
|
-
unverifiedHarnesses: "Boat installs a harness's CLI as the attempt starts, through the egress gateway, and the others haven't been verified to start in time that way. They'll run on boat() once its snapshots bake their CLIs in ahead of the run; until then, run this one in docker().",
|
|
562
|
-
provider: () => "boat",
|
|
563
|
-
id: (s) => s.type ? `boat:${s.type}` : "boat",
|
|
564
|
-
hostPaths: {},
|
|
565
|
-
buildsAtStart: () => true,
|
|
566
|
-
privileges: () => ({
|
|
567
|
-
root: false,
|
|
568
|
-
capabilities: []
|
|
569
|
-
}),
|
|
570
|
-
async create(sandbox, options) {
|
|
571
|
-
const { createBoatSandbox } = await import("./boat-su1Y7LPd.js");
|
|
572
|
-
return createBoatSandbox(sandbox, options);
|
|
573
|
-
},
|
|
574
|
-
async capacity(sandbox) {
|
|
575
|
-
const { boatCapacity } = await import("./boat-su1Y7LPd.js");
|
|
576
|
-
const free = await boatCapacity(sandbox);
|
|
577
|
-
if (free === null) return null;
|
|
578
|
-
const machines = Math.max(1, free);
|
|
579
|
-
return {
|
|
580
|
-
cpus: machines,
|
|
581
|
-
memoryBytes: machines * 1e9
|
|
582
|
-
};
|
|
583
|
-
},
|
|
584
|
-
async cleanupRun(runId, sandboxes) {
|
|
585
|
-
if (!sandboxes?.length) return;
|
|
586
|
-
const { removeRunSandboxes } = await import("./boat-su1Y7LPd.js");
|
|
587
|
-
await removeRunSandboxes(runId, sandboxes);
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
|
-
};
|
|
591
|
-
const isSandboxKind = (kind) => typeof kind === "string" && Object.hasOwn(SANDBOX_KINDS, kind);
|
|
592
|
-
/** The entry for `sandbox`'s kind. */
|
|
593
|
-
const sandboxKind = (sandbox) => SANDBOX_KINDS[sandbox.kind];
|
|
594
|
-
/** What `sandbox`'s kind can do. */
|
|
595
|
-
const capabilitiesOf = (sandbox) => SANDBOX_KINDS[sandbox.kind].capabilities;
|
|
596
|
-
/** Every helper that makes a sandbox, as a list a message reads: `docker(), podman() or fakeSandbox()`. */
|
|
597
|
-
function sandboxHelpers(which = () => true) {
|
|
598
|
-
const calls = Object.values(SANDBOX_KINDS).filter((k) => which(k.capabilities)).flatMap((k) => k.helpers.map((h) => `${h}()`));
|
|
599
|
-
return calls.length > 1 ? `${calls.slice(0, -1).join(", ")} or ${calls.at(-1)}` : calls[0] ?? "";
|
|
600
|
-
}
|
|
601
|
-
/**
|
|
602
|
-
* Whether a sandbox can run the real harness `harness`, whose bootstrap installs its CLI for
|
|
603
|
-
* `platforms`: it gives the harness a session, keeps the credential out, runs one of them, and
|
|
604
|
-
* has `harness` among the ones it runs.
|
|
605
|
-
*/
|
|
606
|
-
const runsAgent = (harness, platforms) => (c) => c.harnessSession && c.brokers && platforms.includes(c.platform) && takesHarness(c, harness);
|
|
607
|
-
/** Whether a sandbox with `c` runs the real harness `harness`. */
|
|
608
|
-
const takesHarness = (c, harness) => c.harnesses === "all" || c.harnesses.includes(harness);
|
|
609
|
-
/** The first helper of each kind that can, for a fix: `docker()`. */
|
|
610
|
-
const suggestedSandbox = (which) => Object.values(SANDBOX_KINDS).filter((k) => which(k.capabilities)).map((k) => `${k.helpers[0]}()`).join(" or ");
|
|
611
|
-
/** Why `sandbox.maxConcurrent` (in `where`) is wrong, or undefined. */
|
|
612
|
-
function maxConcurrentProblem(sandbox, where) {
|
|
613
|
-
const max = sandbox.maxConcurrent;
|
|
614
|
-
if (max === void 0) return void 0;
|
|
615
|
-
if (!(typeof max === "number" && Number.isInteger(max) && max >= 1)) return `sandbox.maxConcurrent in ${where} must be a whole number of at least 1 (got ${String(max)})`;
|
|
616
|
-
const limit = sandboxKind(sandbox).hostLimit?.(sandbox);
|
|
617
|
-
if (limit && max > limit.max) return `sandbox.maxConcurrent in ${where} is ${max}, but ${SANDBOX_KINDS[sandbox.kind].helpers[0]}() runs at most ${limit.max} at once: ${limit.why}`;
|
|
618
|
-
}
|
|
619
|
-
/** The cap on `sandbox`'s provider across the run: its `maxConcurrent`, else its kind's limit. */
|
|
620
|
-
const providerLimit = (sandbox) => sandbox.maxConcurrent || sandboxKind(sandbox).hostLimit?.(sandbox).max;
|
|
621
|
-
/** What the first of `sandboxes` that runs off the host may use, or null when none does or it doesn't answer. */
|
|
622
|
-
async function sandboxCapacity(sandboxes) {
|
|
623
|
-
for (const sandbox of sandboxes) {
|
|
624
|
-
const kind = sandboxKind(sandbox);
|
|
625
|
-
if (kind.capacity) return kind.capacity(sandbox);
|
|
626
|
-
}
|
|
627
|
-
return null;
|
|
628
|
-
}
|
|
629
|
-
/** Removes what the run left behind: for `sandboxes`, or everything any kind may have started when unset. */
|
|
630
|
-
async function cleanupRun(runId, sandboxes) {
|
|
631
|
-
for (const [name, kind] of Object.entries(SANDBOX_KINDS)) {
|
|
632
|
-
if (!kind.cleanupRun) continue;
|
|
633
|
-
const own = sandboxes?.filter((s) => s.kind === name);
|
|
634
|
-
if (own && !own.length) continue;
|
|
635
|
-
await kind.cleanupRun(runId, own);
|
|
636
|
-
}
|
|
637
|
-
}
|
|
638
12
|
// src/environment/plugins.ts
|
|
639
|
-
|
|
13
|
+
/** The plan's reads of a plugin or skill, which are reeval's, not the eval file's load's. */
|
|
14
|
+
const readText = (path) => asOwnReads(() => withoutBom(readFileSync(path, "utf8")));
|
|
640
15
|
const PLUGIN_PARTS = [
|
|
641
16
|
"skills",
|
|
642
17
|
"agents",
|
|
@@ -1052,19 +427,24 @@ const PART_FILES = {
|
|
|
1052
427
|
mcp: (p) => p === ".mcp.json",
|
|
1053
428
|
rules: (p) => p.startsWith("rules/")
|
|
1054
429
|
};
|
|
430
|
+
/** Whether a plugin-relative file is placed with only the parts `kept`: the manifest always is. */
|
|
431
|
+
function pluginKeeps(kept) {
|
|
432
|
+
const dropped = PLUGIN_PARTS.filter((part) => !kept.includes(part)).map((x) => PART_FILES[x]);
|
|
433
|
+
return (path) => !dropped.some((d) => d(path));
|
|
434
|
+
}
|
|
1055
435
|
/**
|
|
1056
436
|
* The files to place, by path relative to the plugin's root: its tree without `.git`, without the
|
|
1057
437
|
* parts `only` leaves out, and with the manifest as `readPlugin` gives it.
|
|
1058
438
|
*/
|
|
1059
439
|
function pluginFiles(p) {
|
|
1060
|
-
const
|
|
440
|
+
const keeps = pluginKeeps(p.kept);
|
|
1061
441
|
const out = [];
|
|
1062
442
|
const walk = (rel) => {
|
|
1063
443
|
for (const entry of readdirSync(join(p.dir, rel), { withFileTypes: true })) {
|
|
1064
444
|
if (entry.name === ".git") continue;
|
|
1065
445
|
const path = rel ? `${rel}/${entry.name}` : entry.name;
|
|
1066
446
|
if (entry.isDirectory()) walk(path);
|
|
1067
|
-
else if (entry.isFile() && path !== ".claude-plugin/plugin.json" &&
|
|
447
|
+
else if (entry.isFile() && path !== ".claude-plugin/plugin.json" && keeps(path)) {
|
|
1068
448
|
const full = join(p.dir, path);
|
|
1069
449
|
const executable = (statSync(full).mode & 64) !== 0;
|
|
1070
450
|
out.push({
|
|
@@ -1274,6 +654,6 @@ function fetchesAtStart(plugins, allowed) {
|
|
|
1274
654
|
}
|
|
1275
655
|
return { notes };
|
|
1276
656
|
}
|
|
1277
|
-
export {
|
|
657
|
+
export { readMarketplace as A, pluginBuildsLabel as C, pluginParts as D, pluginKeeps as E, samePluginTwice as M, skillCall as N, pluginServerName as O, skillName as P, pluginBuildId as S, pluginFiles as T, localMarketplace as _, PLUGIN_PARTS as a, localSkills as b, PluginProblem as c, builtPlugins as d, droppedPaths as f, leavesSource as g, layeredPlugins as h, PLUGIN_NAME as i, readPlugin as j, pluginSourceLabel as k, buildRefusal as l, fetchesAtStart as m, PLUGIN_DIR as n, PLUGIN_ROOT as o, duplicateLocalPlugin as p, PLUGIN_MANIFEST as r, PLUGIN_ROOT_VAR as s, PART_PATHS as t, buildSteps as u, localPlugin as v, pluginCall as w, marketplaceLabel as x, localPluginServers as y };
|
|
1278
658
|
|
|
1279
|
-
//# sourceMappingURL=plugins-
|
|
659
|
+
//# sourceMappingURL=plugins-DvEbow6a.js.map
|