promptfoo 0.122.1 → 0.122.2
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/dist/src/{accounts-Jug2Ciel.js → accounts-B8CVRmIl.js} +4 -4
- package/dist/src/{accounts-mch0qw47.js → accounts-BDud3p32.js} +4 -4
- package/dist/src/{accounts-CAjSMkuH.js → accounts-DApS8Gpe.js} +5 -5
- package/dist/src/{accounts-CZFxG3Og.cjs → accounts-DosZWKJy.cjs} +4 -4
- package/dist/src/{agentic-utils-CAL6OL48.js → agentic-utils-B94-_ExD.js} +12 -3
- package/dist/src/{agentic-utils-B3r4NpU-.cjs → agentic-utils-CMewaQ09.cjs} +13 -4
- package/dist/src/{agentic-utils-Cswmio9j.js → agentic-utils-DOMq4mqJ.js} +12 -3
- package/dist/src/{agentic-utils-CR5IyddC.js → agentic-utils-DneHhExJ.js} +12 -3
- package/dist/src/{agents-BYZQa11K.js → agents-99i09OkS.js} +4 -4
- package/dist/src/{agents-CfaaStfu.cjs → agents-BXDQ1xw_.cjs} +2 -2
- package/dist/src/{agents-CUSOo7ly.js → agents-BzOkbtWo.js} +2 -2
- package/dist/src/{agents-DgKZ1aMv.js → agents-CmgJALGp.js} +2 -2
- package/dist/src/{agents-CzaXVlpn.js → agents-CqqOAB9i.js} +4 -4
- package/dist/src/{agents-t29fGe9S.js → agents-CroOVBY1.js} +4 -4
- package/dist/src/{agents-CKOdC5bg.cjs → agents-DtmugJpS.cjs} +4 -4
- package/dist/src/{agents-B2aTR8k4.js → agents-mNkg-c-D.js} +2 -2
- package/dist/src/{ai.studio-DprNFGT7.js → ai.studio-4CqyrhMr.js} +7 -6
- package/dist/src/{ai.studio-BTbBobIe.js → ai.studio-Bw7HGWAy.js} +7 -6
- package/dist/src/{ai.studio-DdDttvQ_.js → ai.studio-BySqRQcL.js} +7 -6
- package/dist/src/{ai.studio-lJHgVtc3.js → ai.studio-CmQz4HRF.js} +1 -1
- package/dist/src/{ai.studio-Cfr1uqJd.cjs → ai.studio-CzWiW2J3.cjs} +11 -10
- package/dist/src/{aimlapi-agQErPC7.cjs → aimlapi-BPLx5bkN.cjs} +6 -6
- package/dist/src/{aimlapi-C7aw_Yci.js → aimlapi-CPHuwytR.js} +6 -6
- package/dist/src/{aimlapi-BbhgeGRG.js → aimlapi-CtFNhGfQ.js} +6 -6
- package/dist/src/{aimlapi-Cj1shS5g.js → aimlapi-DvORJAqy.js} +6 -6
- package/dist/src/{anthropicMessages-DM4fND86.cjs → anthropicMessages-CV6LTNAW.cjs} +2 -2
- package/dist/src/{anthropicMessages-B2lCmO9a.js → anthropicMessages-D7C1kjQD.js} +2 -2
- package/dist/src/{anthropicMessages-B3DWK3KH.js → anthropicMessages-Dnuashu8.js} +2 -2
- package/dist/src/{anthropicMessages-CIzwoHC7.js → anthropicMessages-HcZgERmB.js} +2 -2
- package/dist/src/app/assets/{index-A24J7UxV.css → index-4gjyvw3y.css} +1 -1
- package/dist/src/app/assets/{index-BSBYsw_6.js → index-nyJ_XC0u.js} +55 -55
- package/dist/src/app/index.html +2 -2
- package/dist/src/{audio-FK9OJM6x.js → audio-BdlJQepT.js} +3 -3
- package/dist/src/{audio-DJSX3nfH.cjs → audio-CT31dzi3.cjs} +3 -3
- package/dist/src/{audio-BLydpzg4.js → audio-CZ4800_-.js} +3 -3
- package/dist/src/{audio-BFL3WPG8.js → audio-CuAl9sNH.js} +3 -3
- package/dist/src/{authoritativeMarkupInjection-C79vhK3h.js → authoritativeMarkupInjection-Bk-2UAXm.js} +6 -6
- package/dist/src/{authoritativeMarkupInjection-DSEnwId_.cjs → authoritativeMarkupInjection-BkZvUL3M.cjs} +6 -6
- package/dist/src/{authoritativeMarkupInjection-D7PPkR2H.js → authoritativeMarkupInjection-CO3XuBsw.js} +6 -6
- package/dist/src/{authoritativeMarkupInjection-a2WZAWI8.js → authoritativeMarkupInjection-CsW2Rlxr.js} +6 -6
- package/dist/src/{aws-GuyZqnyf.js → aws-BatJ_yy7.js} +20 -20
- package/dist/src/{aws-BHmi7gOy.cjs → aws-DhQCXH3c.cjs} +20 -20
- package/dist/src/{aws-Bzt3WQU2.js → aws-VLbhCTiT.js} +20 -20
- package/dist/src/{aws-BS8qSHy8.js → aws-iSX9DyrD.js} +20 -20
- package/dist/src/{base-nbJrRpSV.js → base-C6jKTbCS.js} +7 -6
- package/dist/src/{base-CoTAT5vv.cjs → base-CJEf9k2O.cjs} +8 -7
- package/dist/src/{base-DEkuzxBW.js → base-CWyDTNcT.js} +2 -2
- package/dist/src/{base-mEWUSyIi.cjs → base-CeTzVZ7f.cjs} +2 -2
- package/dist/src/{base-CcYX8Sl7.js → base-CnzvtFbT.js} +2 -2
- package/dist/src/{base-BW_ro6TZ.js → base-Dd6PX7qL.js} +7 -6
- package/dist/src/{base-e2pL9Dg2.js → base-IFkEP-f1.js} +2 -2
- package/dist/src/{base-Bya3Xq-l.js → base-wuaktSuM.js} +7 -6
- package/dist/src/{bestOfN-6RYHfbeS.js → bestOfN-B99Kp3n1.js} +7 -7
- package/dist/src/{bestOfN-DsHy4gMF.cjs → bestOfN-BtBlH3Y1.cjs} +7 -7
- package/dist/src/{bestOfN-DDkIdZME.js → bestOfN-C7cPgSak.js} +7 -7
- package/dist/src/{bestOfN-Cbw8nnar.js → bestOfN-YNF3sLNc.js} +7 -7
- package/dist/src/{billing-nlGj2fi4.js → billing-BhTrP4CT.js} +2 -2
- package/dist/src/{billing-_izMSTD8.js → billing-D0eg28TA.js} +2 -2
- package/dist/src/{billing-K5i9I9vT.cjs → billing-Q1c9C5Or.cjs} +2 -2
- package/dist/src/{billing-CXk1T-EF.js → billing-eFe0xWZw.js} +2 -2
- package/dist/src/cache-Cjok8TBD.js +3 -0
- package/dist/src/{cache-Bwj_lNIo.js → cache-DTOVFNqA.js} +10 -4
- package/dist/src/{cache-C41JuZ74.js → cache-ePPAC5hy.js} +10 -4
- package/dist/src/{cache-DU82DyKI.cjs → cache-g3VTrtsd.cjs} +10 -4
- package/dist/src/{cache-NhFSRGTI.js → cache-xL5UULpy.js} +10 -5
- package/dist/src/{chat-Dt05zdU6.js → chat-1nt-gftw.js} +2 -2
- package/dist/src/{chat-Bh-Qkkm0.js → chat-64whAu1x.js} +2 -2
- package/dist/src/{chat-B43K4ZEW.cjs → chat-B5hzLi-1.cjs} +2 -2
- package/dist/src/{chat-6XCdGjXy.js → chat-BNY6oewj.js} +2 -2
- package/dist/src/{chat-Ds6f4gIO.js → chat-BPcmJMS6.js} +3 -3
- package/dist/src/{chat-CsmFtqbm.js → chat-BbVy4fHI.js} +2 -2
- package/dist/src/{chat-BPZNYAci.js → chat-BfWSvpJp.js} +3 -3
- package/dist/src/{chat-g28uolEO.cjs → chat-BuHuQ8dN.cjs} +13 -12
- package/dist/src/{chat-BUPwwei1.js → chat-C9Xi0123.js} +2 -2
- package/dist/src/{chat-D6SUUPHc.js → chat-CQkXljIT.js} +11 -10
- package/dist/src/{chat-BJT_S-0-.cjs → chat-DQfpTnnW.cjs} +2 -2
- package/dist/src/{chat-BjEpVBWz.js → chat-DQhTLvCt.js} +2 -2
- package/dist/src/{chat-b1tvD2yV.js → chat-Dn1Z6reC.js} +3 -3
- package/dist/src/{chat-DYIP7MZz.js → chat-DqUm2XRG.js} +11 -10
- package/dist/src/{chat-ByXWx4Jn.js → chat-WpIdBaCf.js} +11 -10
- package/dist/src/{chat-D9DdQU09.cjs → chat-psXx3S3c.cjs} +3 -3
- package/dist/src/{claude-agent-sdk-BOt139Ms.js → claude-agent-sdk-ByLXefcP.js} +4 -4
- package/dist/src/{claude-agent-sdk-BbO4g2C3.cjs → claude-agent-sdk-CXAxCt84.cjs} +4 -4
- package/dist/src/{claude-agent-sdk-ClB69ybZ.js → claude-agent-sdk-Ccqr4OHD.js} +4 -4
- package/dist/src/{claude-agent-sdk-DDgSb327.js → claude-agent-sdk-DFDGkJC4.js} +4 -4
- package/dist/src/{client-nl7Ghern.js → client-4bErwdpG.js} +3 -3
- package/dist/src/{client-DvRyvBRs.cjs → client-B8cIFzy1.cjs} +3 -3
- package/dist/src/{client-QLK1dAIt.js → client-Bz_qkOt7.js} +3 -3
- package/dist/src/{client-BpIjXLJ0.js → client-C8mYuoRi.js} +3 -3
- package/dist/src/cloud-BzpJioZO.js +3 -0
- package/dist/src/{cloud-D3FRkXX5.js → cloud-D9lRDzlx.js} +43 -7
- package/dist/src/{cloudflare-ai-CerptSv1.js → cloudflare-ai-BduG_WGt.js} +4 -4
- package/dist/src/{cloudflare-ai-BEu-xQ5J.cjs → cloudflare-ai-C0cr71_N.cjs} +4 -4
- package/dist/src/{cloudflare-ai-Cnaag2kZ.js → cloudflare-ai-DNNHsdi_.js} +4 -4
- package/dist/src/{cloudflare-ai-DpwGGVCv.js → cloudflare-ai-GiqeJOW2.js} +4 -4
- package/dist/src/{cloudflare-gateway-yWM6dZYR.js → cloudflare-gateway-BCd15euW.js} +3 -3
- package/dist/src/{cloudflare-gateway-D_M6cCM_.cjs → cloudflare-gateway-CNwgkjWa.cjs} +3 -3
- package/dist/src/{cloudflare-gateway-DC_kOGWf.js → cloudflare-gateway-D6gTnn0M.js} +3 -3
- package/dist/src/{cloudflare-gateway-BDO7Oy1M.js → cloudflare-gateway-j8ioV3mO.js} +3 -3
- package/dist/src/{codex-app-server-CwK6Xbfe.cjs → codex-app-server-CeT18Dkz.cjs} +6 -6
- package/dist/src/{codex-app-server-YZmDON1h.js → codex-app-server-CjOwEU74.js} +1 -1
- package/dist/src/{codex-app-server-Caz528S8.js → codex-app-server-DW77otWv.js} +5 -5
- package/dist/src/{codex-app-server-DK4HYKYU.js → codex-app-server-GlPHXwGV.js} +5 -5
- package/dist/src/{codex-app-server-DTZ30MNj.js → codex-app-server-krirlx9j.js} +5 -5
- package/dist/src/codex-runtime-BjmQ9rWv.js +5 -0
- package/dist/src/codex-runtime-DYQUgTW-.js +4 -0
- package/dist/src/codex-runtime-o7SyHeWu.js +4 -0
- package/dist/src/codex-runtime-sKhQvTow.cjs +3 -0
- package/dist/src/{codex-sdk-C5VGCVuq.js → codex-sdk-B3LZgJqW.js} +6 -5
- package/dist/src/{codex-sdk-Bxihv7gJ.cjs → codex-sdk-BrhzHGrr.cjs} +7 -6
- package/dist/src/{codex-sdk-BRCGs7KO.js → codex-sdk-DZ_mKG21.js} +6 -5
- package/dist/src/codex-sdk-DkbU2gJR.js +3 -0
- package/dist/src/{codex-sdk-AzoGV5xQ.js → codex-sdk-Gv0vgj5a.js} +6 -5
- package/dist/src/codex-security-71xcR7s3.js +382 -0
- package/dist/src/codex-security-A8dTt6Ov.cjs +386 -0
- package/dist/src/codex-security-DSYUnVdR.js +383 -0
- package/dist/src/codex-security-DqVPI2Th.js +382 -0
- package/dist/src/{cometapi-CFOBA79U.js → cometapi-BdmjhPSR.js} +7 -7
- package/dist/src/{cometapi-Dq70nB-i.js → cometapi-Bst9fl8W.js} +7 -7
- package/dist/src/{cometapi-DEVvRD5z.cjs → cometapi-CPjQpopA.cjs} +7 -7
- package/dist/src/{cometapi-C3SQRHPF.js → cometapi-Duei84Pe.js} +7 -7
- package/dist/src/{completion-Ci8l1pSN.js → completion-BwID-cTv.js} +5 -5
- package/dist/src/{completion-CcbYZDub.js → completion-D90cHpyH.js} +5 -5
- package/dist/src/{completion-wKp5JlDu.js → completion-DSVbiAms.js} +5 -5
- package/dist/src/{completion-Ch4qZHiN.cjs → completion-fjqwBQIQ.cjs} +5 -5
- package/dist/src/{crescendo-QA8kgoFA.cjs → crescendo-Cism3YAo.cjs} +18 -18
- package/dist/src/{crescendo-DXTA2eKd.js → crescendo-Cpj-F0iB.js} +13 -13
- package/dist/src/{crescendo-Dgco_cd5.js → crescendo-DJ3dxaZ8.js} +13 -13
- package/dist/src/{crescendo-By5ZfUli.js → crescendo-DiAK4mXf.js} +13 -13
- package/dist/src/{custom-fIO2MwcN.js → custom-BcSQF7OR.js} +11 -11
- package/dist/src/{custom-CobMcSKD.js → custom-CpA8_KgN.js} +11 -11
- package/dist/src/{custom-CPTsrJYI.js → custom-DfeRaakX.js} +11 -11
- package/dist/src/{custom-DQMMH6yL.cjs → custom-WyC-PH98.cjs} +14 -14
- package/dist/src/{docker-Bhb-hDqU.cjs → docker-5g1NcdAE.cjs} +5 -5
- package/dist/src/{docker-bXiMHPBm.js → docker-B97bdCFf.js} +5 -5
- package/dist/src/{docker-CdqlpwxU.js → docker-CgvCV_lT.js} +5 -5
- package/dist/src/{docker-CLatgAgj.js → docker-D2q5yAnA.js} +5 -5
- package/dist/src/{embedding-DMnl5l3W.js → embedding-B3RQXlr7.js} +5 -5
- package/dist/src/{embedding-cJ7sWqTp.cjs → embedding-C2BHs7bs.cjs} +5 -5
- package/dist/src/{embedding-DWeAJwIi.js → embedding-DgjYhcCm.js} +5 -5
- package/dist/src/{embedding-Kx2Jhb7b.js → embedding-qvISOYlD.js} +5 -5
- package/dist/src/{eval-XZjM8PtE.js → eval-BB4Rvl3w.js} +4 -4
- package/dist/src/{eval-yT4SKSzC.js → eval-BFqlPFXm.js} +1 -1
- package/dist/src/{evalResult-CmUmgA2I.js → evalResult-C9ntrv7r.js} +2 -2
- package/dist/src/{evaluator-BNYv5Xws.js → evaluator-BxDpurGf.js} +21 -20
- package/dist/src/evaluator-DxIVNCZm.js +3 -0
- package/dist/src/{evaluatorHelpers-D2ObFR8i.cjs → evaluatorHelpers-B2c1yYV4.cjs} +8 -7
- package/dist/src/{evaluatorHelpers-C60uhMf4.js → evaluatorHelpers-Bd8xun4J.js} +5 -4
- package/dist/src/{evaluatorHelpers-lNii4N30.js → evaluatorHelpers-CZ2p3rWG.js} +5 -4
- package/dist/src/{evaluatorHelpers-G6saWD9g.js → evaluatorHelpers-CgcFRjns.js} +5 -4
- package/dist/src/fetch-BO4sLtRp.js +3 -0
- package/dist/src/{fetch-BCrWkFgb.js → fetch-CKqW5dym.js} +2 -2
- package/dist/src/{fetch-DxQ9oCzS.cjs → fetch-CQfF18HC.cjs} +2 -2
- package/dist/src/{fetch-DDiGmyRM.js → fetch-Cm0VICza.js} +2 -2
- package/dist/src/{fetch-DTnUr1aF.cjs → fetch-D54lzFcD.cjs} +69 -18
- package/dist/src/{fetch-BdWQKDMj.js → fetch-DnDg-Ics.js} +64 -19
- package/dist/src/{fetch-JNQMF9vN.js → fetch-Dwv9LIL3.js} +2 -2
- package/dist/src/{fetch-Bnj1JCJi.js → fetch-KD8O9oZZ.js} +24 -15
- package/dist/src/{fetch-BjXG13jC.js → fetch-tOnj-VPG.js} +64 -19
- package/dist/src/{functionCallbackUtils-Ck1qbh7p.js → functionCallbackUtils-B-fNUZ4T.js} +3 -3
- package/dist/src/{functionCallbackUtils-BJ2I_9tt.js → functionCallbackUtils-B7KGl5xQ.js} +3 -3
- package/dist/src/{functionCallbackUtils-VbcI1Aub.cjs → functionCallbackUtils-BDroEgNs.cjs} +3 -3
- package/dist/src/{functionCallbackUtils-BGXXxhrC.js → functionCallbackUtils-EjWy67uz.js} +3 -3
- package/dist/src/{gemini-image-8YxPzaSx.js → gemini-image-B4vMqMOQ.js} +4 -4
- package/dist/src/{gemini-image-C5qQIQhS.js → gemini-image-B6ZTrDe5.js} +4 -4
- package/dist/src/{gemini-image-DxTRWDFj.cjs → gemini-image-DYd6vsTn.cjs} +4 -4
- package/dist/src/{gemini-image-CfkY7fEx.js → gemini-image-D_-_Yxtw.js} +4 -4
- package/dist/src/{goat-CR4LFL8E.js → goat-B80KUvGW.js} +14 -14
- package/dist/src/{goat-Dg7N-qgd.js → goat-BKhidS2l.js} +14 -14
- package/dist/src/{goat-D_thj1jf.cjs → goat-Dorh32Ub.cjs} +18 -18
- package/dist/src/{goat-BVp2yIw-.js → goat-jg8kFsKP.js} +14 -14
- package/dist/src/{goblin-4D8Nfpnl.cjs → goblin-B_rz0LjO.cjs} +2 -2
- package/dist/src/{goblin-CZAgIkjX.js → goblin-C8-aCrlP.js} +2 -2
- package/dist/src/{goblin-Dlox542E.js → goblin-CqLJeleh.js} +2 -2
- package/dist/src/{goblin-OrBEar64.js → goblin-CuznsHt0.js} +2 -2
- package/dist/src/{google-CC83MIsJ.cjs → google-8szBGwzV.cjs} +11 -11
- package/dist/src/{google-DRsee0nT.js → google-B1v8u6hy.js} +11 -11
- package/dist/src/{google-Dbpyq6la.js → google-B6p_pWxZ.js} +11 -11
- package/dist/src/{google-LtdcKmFu.js → google-DCn7b9au.js} +11 -11
- package/dist/src/graders-B8dB5kSQ.js +3 -0
- package/dist/src/{graders-vHzBsfHT.js → graders-BPmH2YVm.js} +20 -19
- package/dist/src/{graders-C77c5GiF.js → graders-BWtqxJ75.js} +20 -19
- package/dist/src/{graders-43jk_163.js → graders-CS8YkOd5.js} +21 -20
- package/dist/src/{graders-D7xtBg2s.cjs → graders-DpPGnz8u.cjs} +26 -25
- package/dist/src/{hydra-BBkVh274.js → hydra-CXR6iPRp.js} +12 -12
- package/dist/src/{hydra-CvGcOAZn.js → hydra-Cr1WleCi.js} +1 -1
- package/dist/src/{hydra-WACE_1Zb.js → hydra-DCp4JZxW.js} +12 -12
- package/dist/src/{hydra-DlPvPWLB.js → hydra-HgjWEGIf.js} +12 -12
- package/dist/src/{hydra-B0Aqb-zg.cjs → hydra-RlGwrC81.cjs} +12 -12
- package/dist/src/{image-B7HA9bRW.js → image-B4B444eV.js} +3 -3
- package/dist/src/{image-CLljmxcq.cjs → image-Bkns4wpz.cjs} +3 -3
- package/dist/src/{image-D_yzoOlU.js → image-BqF4qDz6.js} +5 -5
- package/dist/src/{image-RxcUfS9c.js → image-C1bIho6n.js} +4 -4
- package/dist/src/{image-BQf2QP3f.js → image-CFtq9j1u.js} +4 -4
- package/dist/src/{image-B-BLrwzM.js → image-CeAMtI2v.js} +5 -5
- package/dist/src/{image-DD9l6-Hi.cjs → image-ChCkFmER.cjs} +5 -5
- package/dist/src/{image-DQB7ft5H.js → image-Cy0nxgir.js} +3 -3
- package/dist/src/{image-HHqjkpmw.js → image-DDJ5HtyW.js} +3 -3
- package/dist/src/{image-N49IDbzx.cjs → image-DSLZ3_9_.cjs} +4 -4
- package/dist/src/{image-C1Tc1hrH.js → image-Dde5ywa6.js} +4 -4
- package/dist/src/{image-Dll064X0.js → image-G65m_Tkp.js} +5 -5
- package/dist/src/index.cjs +37 -35
- package/dist/src/index.d.cts +2 -1
- package/dist/src/index.d.ts +2 -1
- package/dist/src/index.js +26 -24
- package/dist/src/{indirectWebPwn-g-F3__Gp.js → indirectWebPwn-BFdbbs6S.js} +5 -5
- package/dist/src/{indirectWebPwn-Dg4gS14o.js → indirectWebPwn-BeNTvIGX.js} +4 -4
- package/dist/src/{indirectWebPwn-BVsvAUZv.js → indirectWebPwn-BhuZ26Yd.js} +4 -4
- package/dist/src/{indirectWebPwn-DmNLSb0J.js → indirectWebPwn-C-pe6OEr.js} +5 -5
- package/dist/src/{indirectWebPwn-Ch0EQWKt.cjs → indirectWebPwn-CwSQCQGM.cjs} +4 -4
- package/dist/src/{indirectWebPwn-2HDLyS-4.js → indirectWebPwn-DahWlbTc.js} +4 -4
- package/dist/src/{indirectWebPwn-lUx8flGh.cjs → indirectWebPwn-Dcc2nw9e.cjs} +5 -5
- package/dist/src/{indirectWebPwn-P3GLMBT7.js → indirectWebPwn-Dcn8pufK.js} +5 -5
- package/dist/src/{interactions-CqITU8xN.js → interactions-BC_LipMV.js} +5 -5
- package/dist/src/{interactions-vSEfKNox.js → interactions-BUojcIo3.js} +5 -5
- package/dist/src/{interactions-BkHdiUV_.cjs → interactions-CBWiz1sE.cjs} +10 -10
- package/dist/src/{interactions-BwaVVpFQ.js → interactions-FdIt-wCm.js} +5 -5
- package/dist/src/{iterative-CJqvJcCg.cjs → iterative-C03QAXol.cjs} +17 -17
- package/dist/src/{iterative-CmzmX0Ud.js → iterative-C6PvGSZG.js} +13 -13
- package/dist/src/{iterative-BrCMcCPN.js → iterative-C6dOO1pV.js} +13 -13
- package/dist/src/{iterative-Ny9s9zYD.js → iterative-Dm9ed-k9.js} +13 -13
- package/dist/src/{iterativeImage-6UW4D5PR.js → iterativeImage-C1eEEQTU.js} +4 -4
- package/dist/src/{iterativeImage-MQuACdQM.js → iterativeImage-CPdjUydZ.js} +4 -4
- package/dist/src/{iterativeImage-C9ti-N0n.js → iterativeImage-Drxk9690.js} +4 -4
- package/dist/src/{iterativeImage-DrKM797g.cjs → iterativeImage-qpfLOoXo.cjs} +6 -6
- package/dist/src/{iterativeMeta-BFyT65qP.js → iterativeMeta-Bcfzi4sI.js} +12 -12
- package/dist/src/{iterativeMeta-0J6M1Vdv.js → iterativeMeta-CpW_wQO6.js} +12 -12
- package/dist/src/{iterativeMeta-GZVbjagU.cjs → iterativeMeta-DPgnNAss.cjs} +12 -12
- package/dist/src/{iterativeMeta-C1Dh7MxZ.js → iterativeMeta-weggsGV_.js} +12 -12
- package/dist/src/{iterativeTree-BrUcgg6W.js → iterativeTree-CKuB2Z6S.js} +12 -12
- package/dist/src/{iterativeTree-D3_N68uI.js → iterativeTree-Uw3DtvA4.js} +12 -12
- package/dist/src/{iterativeTree-CypPTiqZ.js → iterativeTree-Z5eESQAW.js} +12 -12
- package/dist/src/{iterativeTree-CZMTUJkt.cjs → iterativeTree-sq1SXe1H.cjs} +23 -23
- package/dist/src/{knowledgeBase-oPMm43ZU.js → knowledgeBase-2fh31P8U.js} +4 -4
- package/dist/src/{knowledgeBase-DSmUn4aP.js → knowledgeBase-CZwpvp9c.js} +4 -4
- package/dist/src/{knowledgeBase-BIZW29tN.js → knowledgeBase-Cfr9fuln.js} +4 -4
- package/dist/src/{knowledgeBase-dv8uETfk.cjs → knowledgeBase-Cy5S2dUm.cjs} +4 -4
- package/dist/src/{litellm-CCNfY67w.cjs → litellm-BX6YVwnT.cjs} +4 -4
- package/dist/src/{litellm-CPWGXO61.js → litellm-Bwskx_kf.js} +4 -4
- package/dist/src/{litellm-D2w4bj_z.js → litellm-DG8dC_1P.js} +4 -4
- package/dist/src/{litellm-DB7MRouZ.js → litellm-RtR3zWqA.js} +4 -4
- package/dist/src/{live-CDBvrFTF.cjs → live-BIYLKr6M.cjs} +4 -4
- package/dist/src/{live-BFul3lOj.js → live-BloWTLms.js} +4 -4
- package/dist/src/{live-A1fk8Tl-.js → live-C2hVmTZg.js} +4 -4
- package/dist/src/{live-CRIdbA0o.js → live-CCPXSaYj.js} +4 -4
- package/dist/src/{luma-ray-5CZM_02a.cjs → luma-ray-B3Mt-cN9.cjs} +2 -2
- package/dist/src/{luma-ray-D68mWNcj.js → luma-ray-BGYY3Y9D.js} +2 -2
- package/dist/src/{luma-ray-5Y_J9rjd.js → luma-ray-DTvqEeAb.js} +2 -2
- package/dist/src/{luma-ray-lD3WwDx2.js → luma-ray-Te_YbEBL.js} +2 -2
- package/dist/src/main.js +41 -38
- package/dist/src/{mantleChat-B9O0prU3.js → mantleChat-B7ZGnN3G.js} +2 -2
- package/dist/src/{mantleChat-BRtCbGNb.js → mantleChat-BEwZSACi.js} +2 -2
- package/dist/src/{mantleChat-BNYodgnM.cjs → mantleChat-DRHEiiq7.cjs} +2 -2
- package/dist/src/{mantleChat-aXRLgaar.js → mantleChat-bG3JUmId.js} +2 -2
- package/dist/src/{memoryPoisoning-BP8lqzRR.js → memoryPoisoning-CRCeE8o0.js} +5 -5
- package/dist/src/{memoryPoisoning-CXlBD_-Y.js → memoryPoisoning-DPz_mF21.js} +5 -5
- package/dist/src/{memoryPoisoning-B2dsdKye.cjs → memoryPoisoning-DRIrT0Zv.cjs} +5 -5
- package/dist/src/{memoryPoisoning-C2cyu0C-.js → memoryPoisoning-DUqPlY5F.js} +5 -5
- package/dist/src/{messages-B5cYbsZJ.cjs → messages-BDbtGaqI.cjs} +8 -8
- package/dist/src/{messages-C1diy8zs.js → messages-C306BIuu.js} +8 -8
- package/dist/src/{messages-C9rJcTgf.js → messages-Cqi4nZlY.js} +8 -8
- package/dist/src/{messages-C3_Aa793.js → messages-W898zuCm.js} +8 -8
- package/dist/src/{mischievousUser-BM8LRsDW.js → mischievousUser-4wlyqv76.js} +5 -5
- package/dist/src/{mischievousUser-SPu0AbcD.js → mischievousUser-B1-HU9CD.js} +5 -5
- package/dist/src/{mischievousUser-BVr9ULj0.js → mischievousUser-BJQRmmfP.js} +5 -5
- package/dist/src/{mischievousUser-BDv5f6eO.cjs → mischievousUser-CHIJi5vr.cjs} +5 -5
- package/dist/src/{modelslab-9k-zzEfW.cjs → modelslab-CLDbPmPX.cjs} +3 -3
- package/dist/src/{modelslab-VVi56eHt.js → modelslab-CZ03gaHC.js} +3 -3
- package/dist/src/{modelslab-SFmxkyC5.js → modelslab-Cj0cBlIy.js} +3 -3
- package/dist/src/{modelslab-CvNCpR5m.js → modelslab-DPG6v3Oa.js} +3 -3
- package/dist/src/{nova-reel-DvEcNfJd.js → nova-reel-B401inIg.js} +2 -2
- package/dist/src/{nova-reel-DZRncxke.cjs → nova-reel-D8AFHBH-.cjs} +2 -2
- package/dist/src/{nova-reel-Dtr84O_-.js → nova-reel-RFBr44SY.js} +2 -2
- package/dist/src/{nova-reel-C7RtmR9_.js → nova-reel-sCfu2U7B.js} +2 -2
- package/dist/src/{nova-sonic-B4wexztM.cjs → nova-sonic-B1QLKfJe.cjs} +2 -2
- package/dist/src/{nova-sonic-DXnFfrox.js → nova-sonic-D3CP2Y2f.js} +2 -2
- package/dist/src/{nova-sonic-KyVv4RyY.js → nova-sonic-DPbzYDKH.js} +2 -2
- package/dist/src/{nova-sonic-Doe7LDx_.js → nova-sonic-DlgK5oIa.js} +2 -2
- package/dist/src/{openaiResponses-C3Ml3xst.cjs → openaiResponses-Be2L8u1C.cjs} +2 -2
- package/dist/src/{openaiResponses-CE5BAFhg.js → openaiResponses-CDvzqtsT.js} +2 -2
- package/dist/src/{openaiResponses-CEPZVzZz.js → openaiResponses-CPVWxpRK.js} +2 -2
- package/dist/src/{openaiResponses-DhO4eHg0.js → openaiResponses-sdWTgYPz.js} +2 -2
- package/dist/src/{openclaw-DOZfTvJO.js → openclaw-CKvd8EzM.js} +5 -5
- package/dist/src/{openclaw-XMg8C92z.cjs → openclaw-CSWfAv7N.cjs} +5 -5
- package/dist/src/{openclaw-CbJpj7T8.js → openclaw-Cusi9mm2.js} +5 -5
- package/dist/src/{openclaw-Bugs4BPX.js → openclaw-SY4Ur74P.js} +5 -5
- package/dist/src/{opencode-sdk-CoCVfums.js → opencode-sdk-AGZbtWlq.js} +2 -2
- package/dist/src/{opencode-sdk-Cid8t6m7.cjs → opencode-sdk-B9Dcws4x.cjs} +2 -2
- package/dist/src/{opencode-sdk-CKbY24l_.js → opencode-sdk-ClpPufaf.js} +2 -2
- package/dist/src/{opencode-sdk-mkkCU9O6.js → opencode-sdk-CwBVY4H1.js} +2 -2
- package/dist/src/{openinterpreter-esp9h7Qu.js → openinterpreter-BF1BIP3x.js} +3 -3
- package/dist/src/{openinterpreter-B09Fvndf.js → openinterpreter-Ba9uEUB3.js} +3 -3
- package/dist/src/{openinterpreter-O-8L3wHT.js → openinterpreter-CjAfk7zr.js} +3 -3
- package/dist/src/{openinterpreter-DmCcocbX.cjs → openinterpreter-CjvjRmfR.cjs} +4 -4
- package/dist/src/{promptfoo-BzTq3CZR.cjs → promptfoo-B3EDkr9n.cjs} +4 -4
- package/dist/src/{promptfoo-BnRYCHWo.js → promptfoo-BeCm2WDJ.js} +4 -4
- package/dist/src/{promptfoo-DmLIq1Fg.js → promptfoo-ByMuyN2p.js} +4 -4
- package/dist/src/{promptfoo-DFE6FPtn.js → promptfoo-HD40ugrk.js} +4 -4
- package/dist/src/{providers-YJTtc38R.js → providers-BbgOo13t.js} +68 -48
- package/dist/src/{providers-Dbcg914T.js → providers-BmppqfDI.js} +70 -50
- package/dist/src/{providers-DbRpLhoc.js → providers-C75KcJPJ.js} +68 -48
- package/dist/src/{providers-ASKoKjG0.cjs → providers-CRCoPqQH.cjs} +116 -96
- package/dist/src/{providers-59LpYr3g.js → providers-DI6OXKnh.js} +1 -1
- package/dist/src/{quiverai-BsabGKm2.js → quiverai-8--n-u4s.js} +3 -3
- package/dist/src/{quiverai-dEV-iH9x.cjs → quiverai-CPa-eT-O.cjs} +3 -3
- package/dist/src/{quiverai-CfQpkyAP.js → quiverai-Cyt6JU4X.js} +3 -3
- package/dist/src/{quiverai-D4M0KkyD.js → quiverai-pbddNqGK.js} +3 -3
- package/dist/src/{registry-QpHnWcMr.cjs → registry-3k9Gai1o.cjs} +15 -15
- package/dist/src/{registry-C_cHVcat.js → registry-BdsjaDF0.js} +15 -15
- package/dist/src/{registry-BAiKTqod.js → registry-C63p_cTi.js} +15 -15
- package/dist/src/{registry-BnTKy_CX.js → registry-C842b92A.js} +15 -15
- package/dist/src/{remoteGeneration-PxK1EefI.cjs → remoteGeneration-C0Ev99MO.cjs} +4 -4
- package/dist/src/{remoteGeneration-B0eQSIHo.js → remoteGeneration-Cc78LDjQ.js} +4 -4
- package/dist/src/{remoteGeneration-CwQ0KBdC.js → remoteGeneration-DGJxSMYI.js} +4 -4
- package/dist/src/{remoteGeneration-CopIeiNI.js → remoteGeneration-DnSGqkoH.js} +4 -4
- package/dist/src/render-BRIaR8VG.js +348 -0
- package/dist/src/render-C1VJjFT2.cjs +383 -0
- package/dist/src/render-DIhuKgcQ.js +347 -0
- package/dist/src/render-zarxdXS7.js +347 -0
- package/dist/src/{responses-Cf45MBI8.js → responses-B72c3dpg.js} +8 -7
- package/dist/src/{responses-CB2IgICL.js → responses-DVF5R5Il.js} +8 -7
- package/dist/src/{responses-Doa5xhY1.cjs → responses-DiZCcd1S.cjs} +10 -9
- package/dist/src/{responses-Ci3OK0i0.js → responses-ykcvZ0oE.js} +8 -7
- package/dist/src/{runtimeTransform-BiANYoNE.cjs → runtimeTransform-6aaLbaUN.cjs} +2 -2
- package/dist/src/{runtimeTransform-DCRyBnI7.js → runtimeTransform-Bf5Aif-g.js} +2 -2
- package/dist/src/{runtimeTransform-Dvxqdevg.js → runtimeTransform-DVpy5lDj.js} +2 -2
- package/dist/src/{runtimeTransform-PGM7l51H.js → runtimeTransform-rEgJC2VZ.js} +2 -2
- package/dist/src/{sagemaker-D8O3f2bO.js → sagemaker-BzAkO4HL.js} +9 -9
- package/dist/src/{sagemaker-mlPtR7-q.js → sagemaker-C35al2QN.js} +9 -9
- package/dist/src/{sagemaker-2TZPOS4O.js → sagemaker-D8HnIjWK.js} +9 -9
- package/dist/src/{sagemaker-OlHR8fru.cjs → sagemaker-I0Ei2kNn.cjs} +9 -9
- package/dist/src/{scanner-Dt3oFdeb.js → scanner-De5yM_DC.js} +5 -5
- package/dist/src/server/index.js +31 -29
- package/dist/src/server-B5-TIxn2.js +3 -0
- package/dist/src/{server-MNuRsmJQ.js → server-BaM1Q5gD.js} +4 -4
- package/dist/src/{server-CkrRpgsu.cjs → server-BpmZ1EP0.cjs} +3 -3
- package/dist/src/{server-L884Wtbc.js → server-CqQtEkS_.js} +4 -4
- package/dist/src/{server-lm2H6tXC.js → server-DB1I8Xl3.js} +3 -3
- package/dist/src/{shared-D5rN2VlH.js → shared-BkcgE6vB.js} +14 -14
- package/dist/src/{shared-IP25vMkJ.cjs → shared-Bl84k1Oo.cjs} +14 -14
- package/dist/src/{shared-Dk1AVE9w.js → shared-CkERSpeg.js} +14 -14
- package/dist/src/{shared-yyb3qFQd.js → shared-jcnXW0lA.js} +16 -16
- package/dist/src/{simulatedUser-9Ru_f_dX.js → simulatedUser-BK0F6Lub.js} +5 -4
- package/dist/src/{simulatedUser-6ys8hxx_.js → simulatedUser-BTox0iZp.js} +5 -4
- package/dist/src/{simulatedUser-BQghw48z.cjs → simulatedUser-ByVb7gXp.cjs} +8 -7
- package/dist/src/{simulatedUser-BHmmQ4hb.js → simulatedUser-C8WconFg.js} +5 -4
- package/dist/src/{slack-C--lAIHY.js → slack-7DG3xMM4.js} +2 -2
- package/dist/src/{slack-CxCLWDSi.js → slack-BvWGK3kV.js} +2 -2
- package/dist/src/{slack-6c3iW1pP.cjs → slack-DqFNyAEf.cjs} +2 -2
- package/dist/src/{slack-D_QGURhP.js → slack-spSrgvZu.js} +2 -2
- package/dist/src/{storage-BFmq8CKG.cjs → storage-BX5ws4jD.cjs} +11 -11
- package/dist/src/{storage-J-nYoltq.js → storage-B_t-NiUa.js} +11 -11
- package/dist/src/{storage-BC3GVwPL.js → storage-CVVbTVYC.js} +11 -11
- package/dist/src/{storage-DGeXeJj0.js → storage-CrqPUKqY.js} +12 -12
- package/dist/src/{strategies-C6oBZHYF.js → strategies-CaqOj9gZ.js} +10 -10
- package/dist/src/{strategies-Bn1z2exW.cjs → strategies-DJfqHuoT.cjs} +10 -10
- package/dist/src/{strategies-BMxIs2Jx.js → strategies-DVRYSzm8.js} +10 -10
- package/dist/src/{strategies-cFTP9vSw.js → strategies-DpZ1ydwx.js} +11 -11
- package/dist/src/{telemetry-D64Cj0UR.js → telemetry-BD4xF9d_.js} +3 -3
- package/dist/src/{telemetry-Bqa8fxWp.js → telemetry-BQZTDom3.js} +3 -3
- package/dist/src/{telemetry-CIaL2pmn.js → telemetry-CJdYAcRk.js} +3 -3
- package/dist/src/telemetry-ClfmjQQj.js +3 -0
- package/dist/src/{telemetry-DVYPYBQH.cjs → telemetry-cZi2RTrN.cjs} +3 -3
- package/dist/src/{traceContext-CNp7smkn.js → traceContext-2sZXHY0h.js} +2 -2
- package/dist/src/{traceContext-D7liCnkq.js → traceContext-B3qWxoa7.js} +2 -2
- package/dist/src/{traceContext-BuXw2Yxu.cjs → traceContext-achbslCl.cjs} +2 -2
- package/dist/src/{traceContext-B4vypxe_.js → traceContext-jOhKJ5Ty.js} +2 -2
- package/dist/src/{transcription-SiDe8ogZ.js → transcription-1iEk_fG7.js} +4 -4
- package/dist/src/{transcription-Dq6gB3km.js → transcription-CtogIwZI.js} +4 -4
- package/dist/src/{transcription-BQg4-zD7.cjs → transcription-CuNQgPv9.cjs} +4 -4
- package/dist/src/{transcription-Zq-_5uca.js → transcription-RRwDmQBI.js} +4 -4
- package/dist/src/{transform-CdcZMCo-.js → transform-2ldksCeN.js} +3 -3
- package/dist/src/{transform-BfiH9c1w.js → transform-BesK7nGM.js} +3 -3
- package/dist/src/{transform-CCHDyuc8.cjs → transform-DS2y12jo.cjs} +3 -3
- package/dist/src/{transform-D0QSXU95.js → transform-ciU2euIH.js} +3 -3
- package/dist/src/{util-tlprLsf4.js → util-9K7THVcA2.js} +2 -2
- package/dist/src/{util-BoTwsVvn.js → util-BKfPcBQN.js} +4 -4
- package/dist/src/{util-L5T81aJ0.cjs → util-BPkxeLuk.cjs} +10 -387
- package/dist/src/{util-Ur5TGF_w.js → util-BPlSGvsQ.js} +4 -3
- package/dist/src/{util-uYYKYi7_.js → util-BPtpPW4O.js} +5 -346
- package/dist/src/{util-EBjz-RBV.js → util-BaGd-bCr.js} +2 -2
- package/dist/src/{util-BJ42x4mo.js → util-Bac0h5Sr.js} +2 -2
- package/dist/src/{util-ChbabPn9.cjs → util-Bd8_MhVm.cjs} +2 -2
- package/dist/src/{util-BxmNax2U.js → util-BdN7DdPq.js} +4 -3
- package/dist/src/{util-DdGIEAK_.js → util-BnytsHEr.js} +5 -346
- package/dist/src/{util-COyt9Xaf.cjs → util-BuKoPAn3.cjs} +4 -4
- package/dist/src/{util-BVDvJqrO.js → util-CEecmC3Y.js} +4 -4
- package/dist/src/{util-CZ9shpIL.js → util-CJi6Bgno.js} +3 -3
- package/dist/src/{util-BdAsuWmv.js → util-CZyLhvIk.js} +6 -347
- package/dist/src/{util-CeP1x2P-.cjs → util-Cadd9fGT.cjs} +3 -3
- package/dist/src/{util-DT7Jko3E.js → util-CzWbxb9R.js} +4 -3
- package/dist/src/{util-CVbeMrg1.js → util-DHtnWbEL.js} +3 -3
- package/dist/src/{util-BDDaDhsI.cjs → util-DSwbJPgL.cjs} +7 -6
- package/dist/src/{util-BNvjVvcH.cjs → util-DhtW6BNS.cjs} +5 -4
- package/dist/src/{util-CmRx53hM.js → util-DiVs2Kf-.js} +4 -3
- package/dist/src/{util-DxyypCZC.js → util-DlFpV1xV.js} +4 -4
- package/dist/src/{util-DtOvD10k.js → util-DlT2H1W5.js} +3 -3
- package/dist/src/{util-PX9qBGnk.js → util-InmFNqSw.js} +4 -3
- package/dist/src/{util-CwUz9jYN.js → util-Rbl6Om9L2.js} +4 -3
- package/dist/src/{vertex-BGBoge5t.js → vertex-BJYJC-Tr.js} +8 -7
- package/dist/src/{vertex-BKhWzpAp.js → vertex-CRMbWhh2.js} +8 -7
- package/dist/src/{vertex-BpaCFvPe.js → vertex-DWXywdFu.js} +8 -7
- package/dist/src/{vertex-FM6gcfuB.cjs → vertex-DXmhY_4R.cjs} +10 -9
- package/dist/src/{vertex-DPgy1bci.js → vertex-Xq6Hc4hv.js} +1 -1
- package/dist/src/{video-CLhmUJuz.js → video-1uQOdg9A.js} +3 -3
- package/dist/src/{video-C4hvGFWO.js → video-BMnt4dq9.js} +3 -3
- package/dist/src/{video-DV7VnFDb.js → video-CZ5He3fP.js} +3 -3
- package/dist/src/{video-CFJeZvvL.cjs → video-ChxZLKTs.cjs} +3 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +7 -6
- package/dist/src/cache-Ca6QI7yz.js +0 -3
- package/dist/src/cloud-aeP705RD.js +0 -3
- package/dist/src/codex-sdk-CMTTOSVq.js +0 -3
- package/dist/src/evaluator-CRrA6xHS.js +0 -3
- package/dist/src/fetch-BYe9zZ94.js +0 -3
- package/dist/src/graders-fvvHDb5X.js +0 -3
- package/dist/src/server-DmrHjxNq.js +0 -3
- package/dist/src/telemetry-BvzHQKBp.js +0 -3
package/dist/src/index.cjs
CHANGED
|
@@ -7,45 +7,46 @@ const require_prompts = require("./prompts-BQkIeVdz.cjs");
|
|
|
7
7
|
const require_transform = require("./transform-C8GdlKIz.cjs");
|
|
8
8
|
const require_shared = require("./shared-BsORdj8L.cjs");
|
|
9
9
|
const require_invariant = require("./invariant-C2JOzzO2.cjs");
|
|
10
|
-
const require_util = require("./util-
|
|
11
|
-
const require_fetch = require("./fetch-
|
|
10
|
+
const require_util = require("./util-BPkxeLuk.cjs");
|
|
11
|
+
const require_fetch = require("./fetch-D54lzFcD.cjs");
|
|
12
12
|
const require_tables = require("./tables-BaWJhXDV.cjs");
|
|
13
13
|
const require_fileExtensions = require("./fileExtensions-BQZEFw03.cjs");
|
|
14
14
|
const require_time = require("./time-B7AqDy5g.cjs");
|
|
15
|
-
const require_accounts = require("./accounts-
|
|
15
|
+
const require_accounts = require("./accounts-DosZWKJy.cjs");
|
|
16
16
|
const require_esm = require("./esm-DQhzWczC.cjs");
|
|
17
17
|
const require_providerRegistry = require("./providerRegistry-DwoDhx6H.cjs");
|
|
18
18
|
const require_spanRoles = require("./spanRoles-B06DAUjz.cjs");
|
|
19
19
|
const require_genaiTracer = require("./genaiTracer-D_3mCxrD.cjs");
|
|
20
20
|
const require_createHash = require("./createHash-sm6Q6LWg.cjs");
|
|
21
|
-
const require_cache = require("./cache-
|
|
22
|
-
const require_agentic_utils = require("./agentic-utils-
|
|
21
|
+
const require_cache = require("./cache-g3VTrtsd.cjs");
|
|
22
|
+
const require_agentic_utils = require("./agentic-utils-CMewaQ09.cjs");
|
|
23
23
|
const require_secureTempFiles = require("./secureTempFiles-B1X1YV1K.cjs");
|
|
24
24
|
const require_pythonUtils = require("./pythonUtils-CqlMEmzG.cjs");
|
|
25
|
+
const require_render = require("./render-C1VJjFT2.cjs");
|
|
25
26
|
const require_blobs = require("./blobs-DsXWJXf6.cjs");
|
|
26
27
|
const require_extractor = require("./extractor-C6JkPnKn.cjs");
|
|
27
28
|
const require_tokenUsageUtils = require("./tokenUsageUtils-BbqyaBi4.cjs");
|
|
28
|
-
const require_util$1 = require("./util-
|
|
29
|
+
const require_util$1 = require("./util-Cadd9fGT.cjs");
|
|
29
30
|
const require_tracing = require("./tracing-DFewlCzC.cjs");
|
|
30
31
|
const require_store = require("./store-BYkv00xz.cjs");
|
|
31
|
-
const require_remoteGeneration = require("./remoteGeneration-
|
|
32
|
-
const require_graders = require("./graders-
|
|
33
|
-
const require_storage = require("./storage-
|
|
34
|
-
const require_providers = require("./providers-
|
|
32
|
+
const require_remoteGeneration = require("./remoteGeneration-C0Ev99MO.cjs");
|
|
33
|
+
const require_graders = require("./graders-DpPGnz8u.cjs");
|
|
34
|
+
const require_storage = require("./storage-BX5ws4jD.cjs");
|
|
35
|
+
const require_providers = require("./providers-CRCoPqQH.cjs");
|
|
35
36
|
const require_processShim = require("./processShim-DkKQ-mhc.cjs");
|
|
36
37
|
const require_text = require("./text-513KmH8t.cjs");
|
|
37
38
|
const require_packageParser = require("./packageParser-DpmHM-J_.cjs");
|
|
38
39
|
const require_rubyUtils = require("./rubyUtils-Dkk6DAIR.cjs");
|
|
39
|
-
const require_util$2 = require("./util-
|
|
40
|
+
const require_util$2 = require("./util-BuKoPAn3.cjs");
|
|
40
41
|
const require_inputVariables = require("./inputVariables-CQ7Ian4x.cjs");
|
|
41
|
-
const require_promptfoo = require("./promptfoo-
|
|
42
|
-
const require_shared$1 = require("./shared-
|
|
42
|
+
const require_promptfoo = require("./promptfoo-B3EDkr9n.cjs");
|
|
43
|
+
const require_shared$1 = require("./shared-Bl84k1Oo.cjs");
|
|
43
44
|
const require_transform$1 = require("./transform-Bz311bXX.cjs");
|
|
44
|
-
const require_telemetry = require("./telemetry-
|
|
45
|
-
const require_indirectWebPwn = require("./indirectWebPwn-
|
|
46
|
-
const require_evaluatorHelpers = require("./evaluatorHelpers-
|
|
47
|
-
const require_traceContext = require("./traceContext-
|
|
48
|
-
const require_strategies = require("./strategies-
|
|
45
|
+
const require_telemetry = require("./telemetry-cZi2RTrN.cjs");
|
|
46
|
+
const require_indirectWebPwn = require("./indirectWebPwn-CwSQCQGM.cjs");
|
|
47
|
+
const require_evaluatorHelpers = require("./evaluatorHelpers-B2c1yYV4.cjs");
|
|
48
|
+
const require_traceContext = require("./traceContext-achbslCl.cjs");
|
|
49
|
+
const require_strategies = require("./strategies-DJfqHuoT.cjs");
|
|
49
50
|
let zod = require("zod");
|
|
50
51
|
let fs_promises = require("fs/promises");
|
|
51
52
|
fs_promises = require_logger.__toESM(fs_promises, 1);
|
|
@@ -227,7 +228,7 @@ JSON:`;
|
|
|
227
228
|
};
|
|
228
229
|
//#endregion
|
|
229
230
|
//#region src/external/matchers/deepeval.ts
|
|
230
|
-
const nunjucks$1 =
|
|
231
|
+
const nunjucks$1 = require_render.getNunjucksEngine(void 0, false, true);
|
|
231
232
|
async function matchesConversationRelevance(messages, threshold, vars, grading, providerCallContext) {
|
|
232
233
|
const textProvider = await require_graders.getAndCheckProvider("text", grading?.provider, (await require_graders.getDefaultProviders()).gradingProvider, "conversation relevancy check");
|
|
233
234
|
const messageRoles = [];
|
|
@@ -1195,7 +1196,7 @@ async function generateTraceContextIfNeeded(test, evaluateOptions, testIdx, prom
|
|
|
1195
1196
|
async function matchesAgentRubric(rubric, llmOutput, grading, vars, assertion, providerCallContext) {
|
|
1196
1197
|
if (!grading) throw new Error("Cannot grade output without grading config. Specify --grader option or grading config.");
|
|
1197
1198
|
const agentProvider = (grading.provider ? await require_graders.getGradingProvider("text", grading.provider, null) : null) || require_remoteGeneration.getCodexDefaultProviders().llmRubricProvider;
|
|
1198
|
-
if (!agentProvider || !require_agentic_utils.
|
|
1199
|
+
if (!agentProvider || !require_agentic_utils.isAgenticGradingProvider(agentProvider)) throw new Error("agent-rubric assertion requires an agentic grading provider. Use openai:codex-sdk, openai:codex-app-server, anthropic:claude-agent-sdk, openinterpreter, or opencode:sdk.");
|
|
1199
1200
|
const result = await require_graders.runJsonGradingPrompt({
|
|
1200
1201
|
assertion,
|
|
1201
1202
|
checkName: "agent-rubric check",
|
|
@@ -5448,7 +5449,7 @@ const ASSERTION_HANDLERS = {
|
|
|
5448
5449
|
webhook: handleWebhook,
|
|
5449
5450
|
"word-count": handleWordCount
|
|
5450
5451
|
};
|
|
5451
|
-
const nunjucks =
|
|
5452
|
+
const nunjucks = require_render.getNunjucksEngine();
|
|
5452
5453
|
/**
|
|
5453
5454
|
* Renders a metric name template with test variables.
|
|
5454
5455
|
* @param metric - The metric name, possibly containing Nunjucks template syntax
|
|
@@ -5837,8 +5838,7 @@ function resolveGuardrailsApi() {
|
|
|
5837
5838
|
if (override) base = override;
|
|
5838
5839
|
else if (require_fetch.cloudConfig.isEnabled()) {
|
|
5839
5840
|
base = require_fetch.cloudConfig.getApiHost();
|
|
5840
|
-
|
|
5841
|
-
if (apiKey) headers.Authorization = `Bearer ${apiKey}`;
|
|
5841
|
+
Object.assign(headers, require_fetch.cloudConfig.getAuthHeaders() ?? {});
|
|
5842
5842
|
} else base = require_fetch.getShareApiBaseUrl();
|
|
5843
5843
|
return {
|
|
5844
5844
|
baseUrl: `${base.replace(/\/+$/, "")}/v1`,
|
|
@@ -6039,7 +6039,7 @@ const nodeEvaluatorRuntime = {
|
|
|
6039
6039
|
const maxPasses = Object.keys(renderedEnv).length;
|
|
6040
6040
|
for (let pass = 0; pass < maxPasses; pass++) {
|
|
6041
6041
|
const previousEnv = renderedEnv;
|
|
6042
|
-
const nextEnv =
|
|
6042
|
+
const nextEnv = require_render.renderEnvOnlyInObject(previousEnv, {
|
|
6043
6043
|
...processEnvironment,
|
|
6044
6044
|
...previousEnv
|
|
6045
6045
|
}, true);
|
|
@@ -6053,7 +6053,7 @@ const nodeEvaluatorRuntime = {
|
|
|
6053
6053
|
const runtimeTestSuite = {
|
|
6054
6054
|
...testSuite,
|
|
6055
6055
|
...renderedEnv && { env: renderedEnv },
|
|
6056
|
-
tracing:
|
|
6056
|
+
tracing: require_render.renderEnvOnlyInObject(testSuite.tracing, {
|
|
6057
6057
|
...processEnvironment,
|
|
6058
6058
|
...renderedEnv
|
|
6059
6059
|
}, true)
|
|
@@ -7229,7 +7229,7 @@ const promptUsesConversationVariableCache = new lru_cache.LRUCache({ max: PROMPT
|
|
|
7229
7229
|
function promptUsesConversationVariable(prompt) {
|
|
7230
7230
|
const cached = promptUsesConversationVariableCache.get(prompt.raw);
|
|
7231
7231
|
if (cached !== void 0) return cached;
|
|
7232
|
-
const { referenced, parsed } =
|
|
7232
|
+
const { referenced, parsed } = require_render.analyzeTemplateReference(prompt.raw, CONVERSATION_VAR_NAME);
|
|
7233
7233
|
if (parsed) promptUsesConversationVariableCache.set(prompt.raw, referenced);
|
|
7234
7234
|
return referenced;
|
|
7235
7235
|
}
|
|
@@ -7427,7 +7427,7 @@ function shouldSkipRedteamInjectVar(test, testSuite, isRedteam) {
|
|
|
7427
7427
|
function getRedteamInjectVar(test, prompt, testSuite) {
|
|
7428
7428
|
if (testSuite?.redteam?.injectVar) return testSuite.redteam.injectVar;
|
|
7429
7429
|
const promptTemplate = prompt.template ?? prompt.raw;
|
|
7430
|
-
const promptVars =
|
|
7430
|
+
const promptVars = require_render.extractVariablesFromTemplate(promptTemplate);
|
|
7431
7431
|
if (testSuite?.redteam && promptVars.includes("prompt") && Object.prototype.hasOwnProperty.call(test.vars ?? {}, "prompt")) return "prompt";
|
|
7432
7432
|
return promptVars.filter((variableName) => Object.prototype.hasOwnProperty.call(test.vars ?? {}, variableName)).at(-1) ?? promptVars.at(-1) ?? "prompt";
|
|
7433
7433
|
}
|
|
@@ -8548,7 +8548,7 @@ async function resolveDefaultTestProvider(defaultTest, testCase) {
|
|
|
8548
8548
|
const defaultProvider = defaultTest.provider;
|
|
8549
8549
|
if (require_util.isApiProvider(defaultProvider)) return defaultProvider;
|
|
8550
8550
|
if (typeof defaultProvider === "object" && defaultProvider.id) {
|
|
8551
|
-
const { loadApiProvider } = await Promise.resolve().then(() => require("./providers-
|
|
8551
|
+
const { loadApiProvider } = await Promise.resolve().then(() => require("./providers-CRCoPqQH.cjs")).then((n) => n.providers_exports);
|
|
8552
8552
|
return loadApiProvider(typeof defaultProvider.id === "function" ? defaultProvider.id() : defaultProvider.id, { options: defaultProvider });
|
|
8553
8553
|
}
|
|
8554
8554
|
return defaultProvider;
|
|
@@ -12015,8 +12015,10 @@ async function sendChunkedResults(evalRecord, url$5, options = {}) {
|
|
|
12015
12015
|
maxResultsPerChunk: resultsPerChunk
|
|
12016
12016
|
};
|
|
12017
12017
|
require_logger.logger.debug(`Chunk config: ${JSON.stringify(chunkConfig)}`);
|
|
12018
|
-
const headers = {
|
|
12019
|
-
|
|
12018
|
+
const headers = {
|
|
12019
|
+
"Content-Type": "application/json",
|
|
12020
|
+
...require_fetch.cloudConfig.isEnabled() ? require_fetch.cloudConfig.getAuthHeaders() ?? {} : {}
|
|
12021
|
+
};
|
|
12020
12022
|
const totalResults = await evalRecord.getTotalResultRowCount();
|
|
12021
12023
|
require_logger.logger.debug(`Total results to share: ${totalResults}`);
|
|
12022
12024
|
let progressBar = null;
|
|
@@ -14034,9 +14036,9 @@ async function dereferenceConfig(rawConfig) {
|
|
|
14034
14036
|
function renderConfigEnvTemplates(config) {
|
|
14035
14037
|
const baseEnvForFirstPass = require_logger.getEnvBool("PROMPTFOO_DISABLE_TEMPLATE_ENV_VARS", require_logger.getEnvBool("PROMPTFOO_SELF_HOSTED", false)) ? {} : process$1.default.env;
|
|
14036
14038
|
const rawConfigEnv = config.env;
|
|
14037
|
-
const renderedConfigEnv = rawConfigEnv ?
|
|
14039
|
+
const renderedConfigEnv = rawConfigEnv ? require_render.renderEnvOnlyInObject(rawConfigEnv, baseEnvForFirstPass, true) : void 0;
|
|
14038
14040
|
const filteredConfigEnv = renderedConfigEnv ? Object.fromEntries(Object.entries(renderedConfigEnv).filter(([, v]) => v !== void 0)) : void 0;
|
|
14039
|
-
const renderedConfig =
|
|
14041
|
+
const renderedConfig = require_render.renderEnvOnlyInObject(config, filteredConfigEnv);
|
|
14040
14042
|
require_logger.preserveTracingCredentialReferences(config, renderedConfig);
|
|
14041
14043
|
return renderedConfig;
|
|
14042
14044
|
}
|
|
@@ -14861,7 +14863,7 @@ var CustomPlugin = class extends require_graders.RedteamPluginBase {
|
|
|
14861
14863
|
getAssertions(_prompt) {
|
|
14862
14864
|
const assertion = {
|
|
14863
14865
|
type: "llm-rubric",
|
|
14864
|
-
value:
|
|
14866
|
+
value: require_render.getNunjucksEngine().renderString(this.definition.grader, { purpose: this.purpose }),
|
|
14865
14867
|
metric: this.getMetricName()
|
|
14866
14868
|
};
|
|
14867
14869
|
if (this.definition.threshold !== void 0) assertion.threshold = this.definition.threshold;
|
|
@@ -16637,7 +16639,7 @@ async function synthesize({ abortSignal, cloudTargetDatabaseId: explicitCloudTar
|
|
|
16637
16639
|
if (removedPlugins.length > 0) require_logger.logger.info(`Skipping ${removedPlugins.length} plugin${removedPlugins.length > 1 ? "s" : ""} in multi-input mode: ${removedPlugins.map((p) => p.id).join(", ")}`);
|
|
16638
16640
|
}
|
|
16639
16641
|
if (typeof injectVar !== "string") {
|
|
16640
|
-
const parsedVars =
|
|
16642
|
+
const parsedVars = require_render.extractVariablesFromTemplates(prompts);
|
|
16641
16643
|
if (parsedVars.length > 1) require_logger.logger.warn(`\nMultiple variables found in prompts: ${parsedVars.join(", ")}. Using the last one "${parsedVars[parsedVars.length - 1]}". Override this selection with --injectVar`);
|
|
16642
16644
|
else if (parsedVars.length === 0) require_logger.logger.warn("No variables found in prompts. Using \"query\" as the inject variable.");
|
|
16643
16645
|
injectVar = parsedVars[parsedVars.length - 1] || "query";
|
|
@@ -16995,7 +16997,7 @@ function getDefaultPurposeVars(testSuite) {
|
|
|
16995
16997
|
}
|
|
16996
16998
|
function renderPurposeTemplate(purpose, vars) {
|
|
16997
16999
|
if (!purpose?.trim()) return "";
|
|
16998
|
-
return
|
|
17000
|
+
return require_render.renderVarsInObject(purpose, vars);
|
|
16999
17001
|
}
|
|
17000
17002
|
function appendPurposeDetails(purpose, extraDetails) {
|
|
17001
17003
|
if (!extraDetails) return purpose;
|
package/dist/src/index.d.cts
CHANGED
|
@@ -24856,7 +24856,7 @@ type CacheOptions = {
|
|
|
24856
24856
|
cacheKey?: string;
|
|
24857
24857
|
};
|
|
24858
24858
|
declare namespace cache_d_exports {
|
|
24859
|
-
export { FetchWithCacheResult, claimCacheKeyOnce, clearCache, disableCache, enableCache, fetchWithCache, getCache, getCacheClearGeneration, getCacheTtlMs, getScopedCacheKey, isCacheEnabled, withCacheEnabled, withCacheNamespace };
|
|
24859
|
+
export { FetchWithCacheResult, claimCacheKeyOnce, clearCache, disableCache, enableCache, fetchWithCache, getCache, getCacheClearGeneration, getCacheTtlMs, getHeadersForCacheKey, getScopedCacheKey, isCacheEnabled, withCacheEnabled, withCacheNamespace };
|
|
24860
24860
|
}
|
|
24861
24861
|
/**
|
|
24862
24862
|
* Get the cache TTL in milliseconds.
|
|
@@ -24918,6 +24918,7 @@ type FetchWithCacheResult<T> = {
|
|
|
24918
24918
|
deleteFromCache?: () => Promise<void>;
|
|
24919
24919
|
updateCache?: (data: unknown, status: number, statusText: string, headers?: Record<string, string>) => Promise<void>;
|
|
24920
24920
|
};
|
|
24921
|
+
declare function getHeadersForCacheKey(url: RequestInfo, options: RequestInit): unknown[][];
|
|
24921
24922
|
/**
|
|
24922
24923
|
* Atomically claim a cache-scoped one-time action. Disk-backed claims use an exclusive file so
|
|
24923
24924
|
* separate eval processes cannot both attribute the same background response's usage.
|
package/dist/src/index.d.ts
CHANGED
|
@@ -24856,7 +24856,7 @@ type CacheOptions = {
|
|
|
24856
24856
|
cacheKey?: string;
|
|
24857
24857
|
};
|
|
24858
24858
|
declare namespace cache_d_exports {
|
|
24859
|
-
export { FetchWithCacheResult, claimCacheKeyOnce, clearCache, disableCache, enableCache, fetchWithCache, getCache, getCacheClearGeneration, getCacheTtlMs, getScopedCacheKey, isCacheEnabled, withCacheEnabled, withCacheNamespace };
|
|
24859
|
+
export { FetchWithCacheResult, claimCacheKeyOnce, clearCache, disableCache, enableCache, fetchWithCache, getCache, getCacheClearGeneration, getCacheTtlMs, getHeadersForCacheKey, getScopedCacheKey, isCacheEnabled, withCacheEnabled, withCacheNamespace };
|
|
24860
24860
|
}
|
|
24861
24861
|
/**
|
|
24862
24862
|
* Get the cache TTL in milliseconds.
|
|
@@ -24918,6 +24918,7 @@ type FetchWithCacheResult<T> = {
|
|
|
24918
24918
|
deleteFromCache?: () => Promise<void>;
|
|
24919
24919
|
updateCache?: (data: unknown, status: number, statusText: string, headers?: Record<string, string>) => Promise<void>;
|
|
24920
24920
|
};
|
|
24921
|
+
declare function getHeadersForCacheKey(url: RequestInfo, options: RequestInit): unknown[][];
|
|
24921
24922
|
/**
|
|
24922
24923
|
* Atomically claim a cache-scoped one-time action. Disk-backed claims use an exclusive file so
|
|
24923
24924
|
* separate eval processes cannot both attribute the same background response's usage.
|
package/dist/src/index.js
CHANGED
|
@@ -3,45 +3,46 @@ import { n as hasFunctionToolCallValidator, t as isTransformFunction } from "./t
|
|
|
3
3
|
import { _ as normalizeInputs, a as DocxInjectionPlacementSchema, c as InputDefinitionObjectSchema, d as InputTypeValues, f as InputsSchema, g as normalizeInputDefinition, h as getInputType, i as DocumentMediaInjectionPlacementValues, l as InputDefinitionSchema, m as getInputDescription, n as CompletionTokenDetailsSchema, o as DocxInjectionPlacementValues, p as buildInputPromptDescription, r as DocumentMediaInjectionPlacementSchema, s as InputConfigSchema, t as BaseTokenUsageSchema, u as InputTypeSchema } from "./shared-Brt7w4oU.js";
|
|
4
4
|
import { C as getAjv, D as summarizeEvaluateResultForLogging, E as safeJsonStringify, F as getEvalTimeoutMs, I as getMaxEvalTimeMs, L as isCI, M as getEnvFloat, N as getEnvInt, O as loadYaml, P as getEnvString, R as state, S as extractJsonObjects, T as orderKeys, _ as sanitizeTracingConfigForPersistence, c as setLogLevel, g as sanitizeRuntimeOptions, i as isDebugEnabled, j as getEnvBool, m as redactAzureBlobSasTokens, n as getLogLevel, o as logger, p as preserveTracingCredentialReferences, r as globalLogCallback, s as setLogCallback, t as clearLogCallbackIfOwned, x as extractFirstJsonObject } from "./logger-BKiOczgq.js";
|
|
5
5
|
import { t as invariant } from "./invariant-CHP0zrix.js";
|
|
6
|
-
import { $ as pathExists, A as getTestCaseDeduplicationKey, B as sanitizeProviderIdForLog, C as generateIdFromPrompt, D as deduplicateTestCases, E as setupEnv, F as getProviderIdentifier, I as isAnthropicProvider, J as maybeLoadFromExternalFile, L as isGoogleProvider, M as checkProviderApiKeys, N as doesProviderRefMatch, O as extractRuntimeVars, P as getProviderDescription, R as isOpenAiProvider, U as normalizeProviderRef, Z as maybeLoadToolsFromExternalFile, _ as getTotalResultRowCount, a as EvalResult, at as parseFileUrl, c as getResultIndexKey, ct as
|
|
7
|
-
import {
|
|
6
|
+
import { $ as pathExists, A as getTestCaseDeduplicationKey, B as sanitizeProviderIdForLog, C as generateIdFromPrompt, D as deduplicateTestCases, E as setupEnv, F as getProviderIdentifier, I as isAnthropicProvider, J as maybeLoadFromExternalFile, L as isGoogleProvider, M as checkProviderApiKeys, N as doesProviderRefMatch, O as extractRuntimeVars, P as getProviderDescription, R as isOpenAiProvider, U as normalizeProviderRef, Z as maybeLoadToolsFromExternalFile, _ as getTotalResultRowCount, a as EvalResult, at as parseFileUrl, c as getResultIndexKey, ct as HUMAN_ASSERTION_TYPE, d as sanitizeResultForJsonlArtifact, et as readFilters, f as stripTraceLinkageFromMetadata, g as getCachedResultsCount, h as notifyEvaluationsDeleted, i as getOutputFileFormat, it as loadFunction, j as resultIsForTestCase, k as filterRuntimeVars, l as persistTraceMetadata, lt as isApiProvider, m as notifyEvaluationChanged, n as warnOnDegradedJsonlRecovery, o as PROMPTFOO_METADATA_KEY, p as invalidateEvaluationCache, q as maybeLoadConfigFromExternalFile, r as writeMultipleOutputs, s as asEvaluateResult, st as FILE_METADATA_KEY, t as printBorder, tt as readOutput, u as sanitizeProvider, ut as isProviderOptions, v as queryTestIndicesOptimized, w as fetchCsvFromGoogleSheet, y as hashPrompt, z as isProviderAllowed } from "./util-BnytsHEr.js";
|
|
7
|
+
import { E as getRequestTimeoutMs, G as TERMINAL_MAX_WIDTH, I as CloudConfig, J as getShareViewBaseUrl, K as getDefaultShareViewBaseUrl, L as cloudConfig, M as parseChatPrompt, X as VERSION, _ as isAbortError, k as isPromptfooSampleTarget, m as NON_TRANSIENT_HTTP_STATUSES, n as fetchWithRetries, q as getShareApiBaseUrl, r as fetchWithTimeout, t as fetchWithProxy, y as isNonTransientHttpStatus } from "./fetch-tOnj-VPG.js";
|
|
8
8
|
import { $ as ProvidersSchema, A as OutputConfigSchema, At as LLAMA_GUARD_ENABLED_CATEGORIES, B as TestSuiteConfigSchema, C as CompletedPromptSchema, Ct as CANARY_BREAKING_STRATEGY_IDS, D as GradingConfigSchema, Dt as FOUNDATION_PLUGINS, E as EvaluateOptionsSchema, Et as FINANCIAL_PLUGINS, F as TestCaseSchema, Ft as PHARMACY_PLUGINS, G as isResultFailureReason, Gt as CODING_AGENT_PLUGINS, H as UnifiedConfigSchema, Ht as TELECOM_PLUGINS, I as TestCaseWithVarsFileSchema, It as PII_PLUGINS, J as isCliEventSource, K as EVENT_SOURCES, L as TestCasesWithMetadataPromptSchema, Lt as PLUGIN_CATEGORIES, M as ResultFailureReason, Mt as MEDICAL_PLUGINS, N as ScenarioSchema, Nt as MULTI_INPUT_EXCLUDED_PLUGINS, O as MAX_SUGGESTIONS_COUNT, Ot as HARM_PLUGINS, P as SpecialAssertionTypesSchema, Pt as MULTI_INPUT_VAR, R as TestCasesWithMetadataSchema, Rt as REDTEAM_PROVIDER_HARM_PLUGINS, S as CommandLineOptionsSchema, St as BIAS_PLUGINS, T as EvalResultsFilterMode, Tt as DEFAULT_PLUGINS, U as VarsSchema, Ut as UNALIGNED_PROVIDER_HARM_PLUGINS, V as TestSuiteSchema, Vt as TEEN_SAFETY_PLUGINS, W as isGradingResult, Wt as CODING_AGENT_CORE_PLUGINS, X as filterByRange, Y as RedteamConfigSchema, _ as AssertionSchema, _t as Severity, a as evalsTable, at as StrategyConfigSchema, b as AtomicTestCaseSchema, bt as riskCategorySeverityMap, c as evalsToTagsTable, d as tagsTable, et as ConversationMessageSchema, f as tracesTable, ft as STRATEGY_COLLECTIONS, g as AssertionOrSetSchema, gt as isFanoutStrategy, i as evalResultsTable, it as ProbeLimitExceededError, j as OutputFileExtension, jt as LLAMA_GUARD_REPLICATE_PROVIDER, k as NotPrefixedAssertionTypesSchema, kt as INSURANCE_PLUGINS, l as promptsTable, m as getDb, mt as getDefaultNFanout, nt as PluginConfigSchema, o as evalsToDatasetsTable, p as closeDbIfOpen, pt as STRATEGY_COLLECTION_MAPPINGS, q as EventSourceSchema, r as datasetsTable, rt as PolicyObjectSchema, s as evalsToPromptsTable, st as isUuid, tt as PartialGenerationError, u as spansTable, ut as DEFAULT_STRATEGIES, v as AssertionSetSchema, vt as categoryAliases, w as DerivedMetricSchema, wt as DATASET_EXEMPT_PLUGINS, x as BaseAssertionTypesSchema, xt as ALIASED_PLUGIN_MAPPINGS, y as AssertionTypeSchema, z as TestGeneratorConfigSchema, zt as REMOTE_ONLY_PLUGIN_IDS } from "./tables-BMHjeqVY.js";
|
|
9
9
|
import { i as isJavascriptFile } from "./fileExtensions-ISrPd1Hs.js";
|
|
10
10
|
import { n as sleep, t as getCurrentTimestamp } from "./time-BPNW8jwJ.js";
|
|
11
|
-
import { a as getUserEmail, c as promptForEmailUnverified, l as setUserEmail, n as checkEmailStatusAndMaybeExit, r as getAuthor, s as isLoggedIntoCloud, t as EmailValidationError } from "./accounts-
|
|
11
|
+
import { a as getUserEmail, c as promptForEmailUnverified, l as setUserEmail, n as checkEmailStatusAndMaybeExit, r as getAuthor, s as isLoggedIntoCloud, t as EmailValidationError } from "./accounts-B8CVRmIl.js";
|
|
12
12
|
import { r as importModule, t as getDirectory } from "./esm-RDYwXiu5.js";
|
|
13
13
|
import { t as providerRegistry } from "./providerRegistry-DVHtat9n.js";
|
|
14
14
|
import { i as withSpanRole, r as getActiveTraceparent, t as SPAN_ROLE_ATTRIBUTE } from "./spanRoles-Drw6abNG.js";
|
|
15
15
|
import { c as getGenAITracer, d as sanitizeBody, f as withGenAISpan, n as PromptfooAttributes, t as GenAIAttributes } from "./genaiTracer-Ch7k9W3C.js";
|
|
16
16
|
import { n as sha256, t as randomSequence } from "./createHash-D7vud8fe.js";
|
|
17
|
-
import { a as getCache, d as withCacheNamespace, i as fetchWithCache, r as disableCache, t as cache_exports, u as withCacheEnabled } from "./cache-
|
|
18
|
-
import { a as
|
|
17
|
+
import { a as getCache, d as withCacheNamespace, i as fetchWithCache, r as disableCache, t as cache_exports, u as withCacheEnabled } from "./cache-DTOVFNqA.js";
|
|
18
|
+
import { a as isAgenticGradingProvider } from "./agentic-utils-B94-_ExD.js";
|
|
19
19
|
import { n as removeSecureTempDirectory, r as writeSecureTempFile, t as createSecureTempDirectory } from "./secureTempFiles-C-ttZXR4.js";
|
|
20
20
|
import { r as runPython } from "./pythonUtils-BwS-exKo.js";
|
|
21
|
+
import { a as extractVariablesFromTemplates, i as extractVariablesFromTemplate, n as renderVarsInObject, o as getNunjucksEngine, r as analyzeTemplateReference, t as renderEnvOnlyInObject } from "./render-zarxdXS7.js";
|
|
21
22
|
import { n as getShareAuthorizedBlob } from "./blobs-DK-ZLI3K.js";
|
|
22
23
|
import { a as collectBlobHashes, i as BLOB_URI_REGEX, n as isBlobStorageEnabled, o as extractBlobHashesFromValue, r as BLOB_SCAN_MAX_STRING_LENGTH, s as normalizeBlobHash, t as extractAndStoreBinaryData } from "./extractor-BzMT8mfJ.js";
|
|
23
24
|
import { c as accumulateTokenUsage, d as createEmptyTokenUsage, f as getErrorTokenUsage, i as accumulateGradingRequest, l as cloneTokenUsageBreakdown, n as accumulateAttackerTokenUsage, o as accumulateGradingTokenUsage, p as normalizeTokenUsage, r as accumulateGenerationTokenUsage, s as accumulateResponseTokenUsage, t as accumulateAssertionTokenUsage, u as createEmptyAssertions } from "./tokenUsageUtils-BCYRro5h.js";
|
|
24
|
-
import { v as validateFunctionCall } from "./util-
|
|
25
|
+
import { v as validateFunctionCall } from "./util-DHtnWbEL.js";
|
|
25
26
|
import { s as getDefaultOtelConfig } from "./tracing-Dq2SYDNR.js";
|
|
26
27
|
import { a as TOOL_ARGUMENT_ATTRIBUTE_KEYS, c as getToolNameFromAttributes, i as SEARCH_ATTRIBUTE_KEYS, o as getFirstStringAttribute, r as COMMAND_ATTRIBUTE_KEYS, t as getTraceStore } from "./store-o7uQjTu0.js";
|
|
27
|
-
import { c as neverGenerateRemote, d as shouldGenerateRemote, h as getCodexDefaultProviders, i as getRemoteGenerationUrl, m as resolveRedteamGenerationContext, n as getRemoteGenerationExplicitlyDisabledError, o as getRemoteHealthUrl, p as remoteGenerationContextPayload, r as getRemoteGenerationHeaders } from "./remoteGeneration-
|
|
28
|
-
import { $ as readProviderPromptMap, A as ExcessiveAgencyPlugin, B as retryWithDeduplication, C as PlinyPlugin, Ct as callProviderWithContext, D as ImitationPlugin, Dt as shouldUseRemoteGrading, E as IntentPlugin, Et as getRemoteGradingContext, F as BeavertailsPlugin, G as matchesFactuality, H as fetchHuggingFaceDataset, I as AegisPlugin, J as matchesPiScore, K as matchesGEval, L as RedteamGraderBase, M as DebugAccessPlugin, N as CrossSessionLeakPlugin, O as HarmbenchPlugin, Ot as getCloudTargetIdFromProviders, P as ContractPlugin, Q as readPrompts, R as RedteamPluginBase, S as makeInlinePolicyIdSync, St as callGradingProvider, T as OverreliancePlugin, Tt as getGradingProvider, U as isGraderFailure, V as sampleArray, W as matchesClosedQa, X as doRemoteGrading, Y as matchesTrajectoryGoalSuccess, Z as processPrompts, _ as PromptExtractionPlugin, _t as getFinalTest, a as VLGuardPlugin, at as renderLlmRubricPrompt, b as determinePolicyTypeFromId, bt as getDefaultProviders, c as ToxicChatPlugin, ct as dotProduct, d as TeenSafetyDangerousRoleplayPlugin, dt as graderFail, et as DEFAULT_AGENT_GRADING_PROMPT, f as TeenSafetyDangerousContentPlugin, ft as normalizeMatcherTokenUsage, g as RbacPlugin, gt as coerceString, h as ShellInjectionPlugin, ht as tryParse, i as VLSUPlugin, it as loadRubricPrompt, j as DivergentRepetitionPlugin, k as HallucinationPlugin, kt as getRedteamGenerationContextFromProviders, l as ToolDiscoveryPlugin, lt as euclideanDistance, m as SqlInjectionPlugin, mt as splitTextIntoSentences, n as getGraderById, nt as SELECT_BEST_PROMPT, o as UnverifiableClaimsPlugin, ot as runJsonGradingPrompt, p as TeenSafetyAgeRestrictedGoodsAndServicesPlugin, pt as splitIntoSentences, q as matchesLlmRubric, rt as SUGGEST_PROMPTS_SYSTEM_MESSAGE, s as UnsafeBenchPlugin, st as cosineSimilarity, t as GRADERS, tt as DEFAULT_WEB_SEARCH_PROMPT, u as TeenSafetyHarmfulBodyIdealsPlugin, ut as fail, v as PoliticsPlugin, vt as loadFromJavaScriptFile, w as getPiiLeakTestsForCategory, wt as getAndCheckProvider, x as isValidPolicyObject, xt as DEFAULT_ANTHROPIC_MODEL, y as PolicyPlugin, yt as processFileReference, z as getCustomPolicies } from "./graders-
|
|
29
|
-
import { a as getCloudDatabaseId, c as getPluginSeverityOverridesFromCloud, d as isCloudProvider, i as checkCloudPermissions, o as getEvalConfigFromCloud, p as resolveTeamId, s as getOrgContext } from "./storage-
|
|
30
|
-
import { a as resolveProvider, m as MCPProvider, n as loadApiProvider, o as resolveProviderConfigs, r as loadApiProviders, t as getProviderIds, v as A2AProvider } from "./providers-
|
|
28
|
+
import { c as neverGenerateRemote, d as shouldGenerateRemote, h as getCodexDefaultProviders, i as getRemoteGenerationUrl, m as resolveRedteamGenerationContext, n as getRemoteGenerationExplicitlyDisabledError, o as getRemoteHealthUrl, p as remoteGenerationContextPayload, r as getRemoteGenerationHeaders } from "./remoteGeneration-DnSGqkoH.js";
|
|
29
|
+
import { $ as readProviderPromptMap, A as ExcessiveAgencyPlugin, B as retryWithDeduplication, C as PlinyPlugin, Ct as callProviderWithContext, D as ImitationPlugin, Dt as shouldUseRemoteGrading, E as IntentPlugin, Et as getRemoteGradingContext, F as BeavertailsPlugin, G as matchesFactuality, H as fetchHuggingFaceDataset, I as AegisPlugin, J as matchesPiScore, K as matchesGEval, L as RedteamGraderBase, M as DebugAccessPlugin, N as CrossSessionLeakPlugin, O as HarmbenchPlugin, Ot as getCloudTargetIdFromProviders, P as ContractPlugin, Q as readPrompts, R as RedteamPluginBase, S as makeInlinePolicyIdSync, St as callGradingProvider, T as OverreliancePlugin, Tt as getGradingProvider, U as isGraderFailure, V as sampleArray, W as matchesClosedQa, X as doRemoteGrading, Y as matchesTrajectoryGoalSuccess, Z as processPrompts, _ as PromptExtractionPlugin, _t as getFinalTest, a as VLGuardPlugin, at as renderLlmRubricPrompt, b as determinePolicyTypeFromId, bt as getDefaultProviders, c as ToxicChatPlugin, ct as dotProduct, d as TeenSafetyDangerousRoleplayPlugin, dt as graderFail, et as DEFAULT_AGENT_GRADING_PROMPT, f as TeenSafetyDangerousContentPlugin, ft as normalizeMatcherTokenUsage, g as RbacPlugin, gt as coerceString, h as ShellInjectionPlugin, ht as tryParse, i as VLSUPlugin, it as loadRubricPrompt, j as DivergentRepetitionPlugin, k as HallucinationPlugin, kt as getRedteamGenerationContextFromProviders, l as ToolDiscoveryPlugin, lt as euclideanDistance, m as SqlInjectionPlugin, mt as splitTextIntoSentences, n as getGraderById, nt as SELECT_BEST_PROMPT, o as UnverifiableClaimsPlugin, ot as runJsonGradingPrompt, p as TeenSafetyAgeRestrictedGoodsAndServicesPlugin, pt as splitIntoSentences, q as matchesLlmRubric, rt as SUGGEST_PROMPTS_SYSTEM_MESSAGE, s as UnsafeBenchPlugin, st as cosineSimilarity, t as GRADERS, tt as DEFAULT_WEB_SEARCH_PROMPT, u as TeenSafetyHarmfulBodyIdealsPlugin, ut as fail, v as PoliticsPlugin, vt as loadFromJavaScriptFile, w as getPiiLeakTestsForCategory, wt as getAndCheckProvider, x as isValidPolicyObject, xt as DEFAULT_ANTHROPIC_MODEL, y as PolicyPlugin, yt as processFileReference, z as getCustomPolicies } from "./graders-BPmH2YVm.js";
|
|
30
|
+
import { a as getCloudDatabaseId, c as getPluginSeverityOverridesFromCloud, d as isCloudProvider, i as checkCloudPermissions, o as getEvalConfigFromCloud, p as resolveTeamId, s as getOrgContext } from "./storage-CVVbTVYC.js";
|
|
31
|
+
import { a as resolveProvider, m as MCPProvider, n as loadApiProvider, o as resolveProviderConfigs, r as loadApiProviders, t as getProviderIds, v as A2AProvider } from "./providers-BbgOo13t.js";
|
|
31
32
|
import { t as getProcessShim } from "./processShim-Y-eJ2aeK.js";
|
|
32
33
|
import { t as ellipsize } from "./text-Fd7EOhdv.js";
|
|
33
34
|
import { n as loadFromPackage, t as isPackagePath } from "./packageParser-wE41TUog.js";
|
|
34
35
|
import { n as runRuby } from "./rubyUtils-vVM3D6we.js";
|
|
35
|
-
import { a as extractPromptFromTags, c as isBasicRefusal, f as recordGenerationTokenUsage, i as extractMaterializedVariablesFromJsonWithMetadata, m as trackGenerationTokenUsage, n as extractGoalFromPrompt, o as getSessionId, p as trackAdditionalGenerationProvider, s as getShortPluginId } from "./util-
|
|
36
|
+
import { a as extractPromptFromTags, c as isBasicRefusal, f as recordGenerationTokenUsage, i as extractMaterializedVariablesFromJsonWithMetadata, m as trackGenerationTokenUsage, n as extractGoalFromPrompt, o as getSessionId, p as trackAdditionalGenerationProvider, s as getShortPluginId } from "./util-BKfPcBQN.js";
|
|
36
37
|
import { t as buildPromptInputDescriptions } from "./inputVariables-Drxwikgi.js";
|
|
37
|
-
import { a as assertRemoteMaterializationHandled, l as requiresRemoteMaterialization, n as PromptfooHarmfulCompletionProvider } from "./promptfoo-
|
|
38
|
-
import { A as getProviderCallTracingContext, C as TokenUsageTracker, D as createProviderRateLimitOptions, E as uploadBlobRemote, M as withProviderCallTracingContext, S as throwIfTargetPromptExceedsMaxChars, b as getGeneratedPromptOverLimit, g as redteamProviderManager, j as withProviderCallExecutionContext, k as getProviderCallExecutionContext, w as createRateLimitRegistry, x as getMaxCharsPerMessageModifierValue, y as MAX_CHARS_PER_MESSAGE_MODIFIER_KEY } from "./shared-
|
|
38
|
+
import { a as assertRemoteMaterializationHandled, l as requiresRemoteMaterialization, n as PromptfooHarmfulCompletionProvider } from "./promptfoo-BeCm2WDJ.js";
|
|
39
|
+
import { A as getProviderCallTracingContext, C as TokenUsageTracker, D as createProviderRateLimitOptions, E as uploadBlobRemote, M as withProviderCallTracingContext, S as throwIfTargetPromptExceedsMaxChars, b as getGeneratedPromptOverLimit, g as redteamProviderManager, j as withProviderCallExecutionContext, k as getProviderCallExecutionContext, w as createRateLimitRegistry, x as getMaxCharsPerMessageModifierValue, y as MAX_CHARS_PER_MESSAGE_MODIFIER_KEY } from "./shared-CkERSpeg.js";
|
|
39
40
|
import { a as getTransformLabel, i as getTransformErrorMessage, n as TRANSFORM_KEYS, o as transform, r as TransformInputType, t as INLINE_FUNCTION_LABEL } from "./transform-Ccf_EBqd.js";
|
|
40
|
-
import { t as telemetry } from "./telemetry-
|
|
41
|
-
import { n as checkExfilTracking } from "./indirectWebPwn-
|
|
42
|
-
import { i as filterFiniteScores, n as renderPrompt, r as runExtensionHook, t as collectFileMetadata } from "./evaluatorHelpers-
|
|
43
|
-
import { n as fetchTraceContext, r as isExternalTraceProvider } from "./traceContext-
|
|
44
|
-
import { i as pluginMatchesStrategyTargets, n as loadStrategy, r as validateStrategies, t as Strategies } from "./strategies-
|
|
41
|
+
import { t as telemetry } from "./telemetry-CJdYAcRk.js";
|
|
42
|
+
import { n as checkExfilTracking } from "./indirectWebPwn-BeNTvIGX.js";
|
|
43
|
+
import { i as filterFiniteScores, n as renderPrompt, r as runExtensionHook, t as collectFileMetadata } from "./evaluatorHelpers-Bd8xun4J.js";
|
|
44
|
+
import { n as fetchTraceContext, r as isExternalTraceProvider } from "./traceContext-B3qWxoa7.js";
|
|
45
|
+
import { i as pluginMatchesStrategyTargets, n as loadStrategy, r as validateStrategies, t as Strategies } from "./strategies-DVRYSzm8.js";
|
|
45
46
|
import { z as z$1 } from "zod";
|
|
46
47
|
import * as fsPromises from "fs/promises";
|
|
47
48
|
import fs from "fs/promises";
|
|
@@ -1173,7 +1174,7 @@ async function generateTraceContextIfNeeded(test, evaluateOptions, testIdx, prom
|
|
|
1173
1174
|
async function matchesAgentRubric(rubric, llmOutput, grading, vars, assertion, providerCallContext) {
|
|
1174
1175
|
if (!grading) throw new Error("Cannot grade output without grading config. Specify --grader option or grading config.");
|
|
1175
1176
|
const agentProvider = (grading.provider ? await getGradingProvider("text", grading.provider, null) : null) || getCodexDefaultProviders().llmRubricProvider;
|
|
1176
|
-
if (!agentProvider || !
|
|
1177
|
+
if (!agentProvider || !isAgenticGradingProvider(agentProvider)) throw new Error("agent-rubric assertion requires an agentic grading provider. Use openai:codex-sdk, openai:codex-app-server, anthropic:claude-agent-sdk, openinterpreter, or opencode:sdk.");
|
|
1177
1178
|
const result = await runJsonGradingPrompt({
|
|
1178
1179
|
assertion,
|
|
1179
1180
|
checkName: "agent-rubric check",
|
|
@@ -5815,8 +5816,7 @@ function resolveGuardrailsApi() {
|
|
|
5815
5816
|
if (override) base = override;
|
|
5816
5817
|
else if (cloudConfig.isEnabled()) {
|
|
5817
5818
|
base = cloudConfig.getApiHost();
|
|
5818
|
-
|
|
5819
|
-
if (apiKey) headers.Authorization = `Bearer ${apiKey}`;
|
|
5819
|
+
Object.assign(headers, cloudConfig.getAuthHeaders() ?? {});
|
|
5820
5820
|
} else base = getShareApiBaseUrl();
|
|
5821
5821
|
return {
|
|
5822
5822
|
baseUrl: `${base.replace(/\/+$/, "")}/v1`,
|
|
@@ -8526,7 +8526,7 @@ async function resolveDefaultTestProvider(defaultTest, testCase) {
|
|
|
8526
8526
|
const defaultProvider = defaultTest.provider;
|
|
8527
8527
|
if (isApiProvider(defaultProvider)) return defaultProvider;
|
|
8528
8528
|
if (typeof defaultProvider === "object" && defaultProvider.id) {
|
|
8529
|
-
const { loadApiProvider } = await import("./providers-
|
|
8529
|
+
const { loadApiProvider } = await import("./providers-BbgOo13t.js").then((n) => n.i);
|
|
8530
8530
|
return loadApiProvider(typeof defaultProvider.id === "function" ? defaultProvider.id() : defaultProvider.id, { options: defaultProvider });
|
|
8531
8531
|
}
|
|
8532
8532
|
return defaultProvider;
|
|
@@ -12032,8 +12032,10 @@ async function sendChunkedResults(evalRecord, url, options = {}) {
|
|
|
12032
12032
|
maxResultsPerChunk: resultsPerChunk
|
|
12033
12033
|
};
|
|
12034
12034
|
logger.debug(`Chunk config: ${JSON.stringify(chunkConfig)}`);
|
|
12035
|
-
const headers = {
|
|
12036
|
-
|
|
12035
|
+
const headers = {
|
|
12036
|
+
"Content-Type": "application/json",
|
|
12037
|
+
...cloudConfig.isEnabled() ? cloudConfig.getAuthHeaders() ?? {} : {}
|
|
12038
|
+
};
|
|
12037
12039
|
const totalResults = await evalRecord.getTotalResultRowCount();
|
|
12038
12040
|
logger.debug(`Total results to share: ${totalResults}`);
|
|
12039
12041
|
let progressBar = null;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { o as logger } from "./logger-D4ion89i.js";
|
|
2
|
-
import { n as fetchWithRetries } from "./fetch-
|
|
2
|
+
import { n as fetchWithRetries } from "./fetch-DnDg-Ics.js";
|
|
3
3
|
import { t as invariant } from "./invariant-CHP0zrix.js";
|
|
4
|
-
import { s as getUserEmail } from "./accounts-
|
|
4
|
+
import { s as getUserEmail } from "./accounts-BDud3p32.js";
|
|
5
5
|
import { d as createEmptyTokenUsage, n as accumulateAttackerTokenUsage, s as accumulateResponseTokenUsage } from "./tokenUsageUtils-T-dUB6UI.js";
|
|
6
|
-
import { i as getRemoteGenerationUrl, p as remoteGenerationContextPayload, r as getRemoteGenerationHeaders } from "./remoteGeneration-
|
|
7
|
-
import { f as getTargetResponse } from "./shared-
|
|
6
|
+
import { i as getRemoteGenerationUrl, p as remoteGenerationContextPayload, r as getRemoteGenerationHeaders } from "./remoteGeneration-DGJxSMYI.js";
|
|
7
|
+
import { f as getTargetResponse } from "./shared-BkcgE6vB.js";
|
|
8
8
|
import { randomUUID } from "node:crypto";
|
|
9
9
|
//#region src/redteam/providers/indirectWebPwn.ts
|
|
10
10
|
/**
|
|
@@ -261,4 +261,4 @@ var IndirectWebPwnProvider = class {
|
|
|
261
261
|
//#endregion
|
|
262
262
|
export { IndirectWebPwnProvider as default };
|
|
263
263
|
|
|
264
|
-
//# sourceMappingURL=indirectWebPwn-
|
|
264
|
+
//# sourceMappingURL=indirectWebPwn-BFdbbs6S.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as logger } from "./logger-BKiOczgq.js";
|
|
2
|
-
import { n as fetchWithRetries } from "./fetch-
|
|
3
|
-
import { a as getUserEmail } from "./accounts-
|
|
4
|
-
import { i as getRemoteGenerationUrl, p as remoteGenerationContextPayload, r as getRemoteGenerationHeaders } from "./remoteGeneration-
|
|
2
|
+
import { n as fetchWithRetries } from "./fetch-tOnj-VPG.js";
|
|
3
|
+
import { a as getUserEmail } from "./accounts-B8CVRmIl.js";
|
|
4
|
+
import { i as getRemoteGenerationUrl, p as remoteGenerationContextPayload, r as getRemoteGenerationHeaders } from "./remoteGeneration-DnSGqkoH.js";
|
|
5
5
|
import { createHash, randomUUID } from "node:crypto";
|
|
6
6
|
//#region src/redteam/strategies/indirectWebPwn.ts
|
|
7
7
|
/**
|
|
@@ -389,4 +389,4 @@ async function transformForPerTurnLayer(testCases, injectVar, config) {
|
|
|
389
389
|
//#endregion
|
|
390
390
|
export { checkExfilTracking as n, addIndirectWebPwnTestCases as t };
|
|
391
391
|
|
|
392
|
-
//# sourceMappingURL=indirectWebPwn-
|
|
392
|
+
//# sourceMappingURL=indirectWebPwn-BeNTvIGX.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { c as logger } from "./logger-YzVIwMVq.js";
|
|
3
|
-
import { i as fetchWithRetries } from "./fetch-
|
|
4
|
-
import { s as getUserEmail } from "./accounts-
|
|
5
|
-
import { i as getRemoteGenerationUrl, p as remoteGenerationContextPayload, r as getRemoteGenerationHeaders } from "./remoteGeneration-
|
|
3
|
+
import { i as fetchWithRetries } from "./fetch-KD8O9oZZ.js";
|
|
4
|
+
import { s as getUserEmail } from "./accounts-DApS8Gpe.js";
|
|
5
|
+
import { i as getRemoteGenerationUrl, p as remoteGenerationContextPayload, r as getRemoteGenerationHeaders } from "./remoteGeneration-Cc78LDjQ.js";
|
|
6
6
|
import { createHash, randomUUID } from "node:crypto";
|
|
7
7
|
//#region src/redteam/strategies/indirectWebPwn.ts
|
|
8
8
|
/**
|
|
@@ -390,4 +390,4 @@ async function transformForPerTurnLayer(testCases, injectVar, config) {
|
|
|
390
390
|
//#endregion
|
|
391
391
|
export { checkExfilTracking as n, addIndirectWebPwnTestCases as t };
|
|
392
392
|
|
|
393
|
-
//# sourceMappingURL=indirectWebPwn-
|
|
393
|
+
//# sourceMappingURL=indirectWebPwn-BhuZ26Yd.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { c as logger } from "./logger-YzVIwMVq.js";
|
|
3
|
-
import { i as fetchWithRetries } from "./fetch-
|
|
3
|
+
import { i as fetchWithRetries } from "./fetch-KD8O9oZZ.js";
|
|
4
4
|
import { t as invariant } from "./invariant-CbHB1xyx.js";
|
|
5
|
-
import { s as getUserEmail } from "./accounts-
|
|
5
|
+
import { s as getUserEmail } from "./accounts-DApS8Gpe.js";
|
|
6
6
|
import { d as createEmptyTokenUsage, n as accumulateAttackerTokenUsage, s as accumulateResponseTokenUsage } from "./tokenUsageUtils-Cf6nFV6z.js";
|
|
7
|
-
import { i as getRemoteGenerationUrl, p as remoteGenerationContextPayload, r as getRemoteGenerationHeaders } from "./remoteGeneration-
|
|
8
|
-
import { f as getTargetResponse } from "./shared-
|
|
7
|
+
import { i as getRemoteGenerationUrl, p as remoteGenerationContextPayload, r as getRemoteGenerationHeaders } from "./remoteGeneration-Cc78LDjQ.js";
|
|
8
|
+
import { f as getTargetResponse } from "./shared-jcnXW0lA.js";
|
|
9
9
|
import { randomUUID } from "node:crypto";
|
|
10
10
|
//#region src/redteam/providers/indirectWebPwn.ts
|
|
11
11
|
/**
|
|
@@ -262,4 +262,4 @@ var IndirectWebPwnProvider = class {
|
|
|
262
262
|
//#endregion
|
|
263
263
|
export { IndirectWebPwnProvider as default };
|
|
264
264
|
|
|
265
|
-
//# sourceMappingURL=indirectWebPwn-
|
|
265
|
+
//# sourceMappingURL=indirectWebPwn-C-pe6OEr.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_logger = require("./logger-BN3n9c1R.cjs");
|
|
2
|
-
const require_fetch = require("./fetch-
|
|
3
|
-
const require_accounts = require("./accounts-
|
|
4
|
-
const require_remoteGeneration = require("./remoteGeneration-
|
|
2
|
+
const require_fetch = require("./fetch-D54lzFcD.cjs");
|
|
3
|
+
const require_accounts = require("./accounts-DosZWKJy.cjs");
|
|
4
|
+
const require_remoteGeneration = require("./remoteGeneration-C0Ev99MO.cjs");
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
6
6
|
//#region src/redteam/strategies/indirectWebPwn.ts
|
|
7
7
|
/**
|
|
@@ -400,4 +400,4 @@ Object.defineProperty(exports, "checkExfilTracking", {
|
|
|
400
400
|
}
|
|
401
401
|
});
|
|
402
402
|
|
|
403
|
-
//# sourceMappingURL=indirectWebPwn-
|
|
403
|
+
//# sourceMappingURL=indirectWebPwn-CwSQCQGM.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as logger } from "./logger-D4ion89i.js";
|
|
2
|
-
import { n as fetchWithRetries } from "./fetch-
|
|
3
|
-
import { s as getUserEmail } from "./accounts-
|
|
4
|
-
import { i as getRemoteGenerationUrl, p as remoteGenerationContextPayload, r as getRemoteGenerationHeaders } from "./remoteGeneration-
|
|
2
|
+
import { n as fetchWithRetries } from "./fetch-DnDg-Ics.js";
|
|
3
|
+
import { s as getUserEmail } from "./accounts-BDud3p32.js";
|
|
4
|
+
import { i as getRemoteGenerationUrl, p as remoteGenerationContextPayload, r as getRemoteGenerationHeaders } from "./remoteGeneration-DGJxSMYI.js";
|
|
5
5
|
import { createHash, randomUUID } from "node:crypto";
|
|
6
6
|
//#region src/redteam/strategies/indirectWebPwn.ts
|
|
7
7
|
/**
|
|
@@ -389,4 +389,4 @@ async function transformForPerTurnLayer(testCases, injectVar, config) {
|
|
|
389
389
|
//#endregion
|
|
390
390
|
export { checkExfilTracking as n, addIndirectWebPwnTestCases as t };
|
|
391
391
|
|
|
392
|
-
//# sourceMappingURL=indirectWebPwn-
|
|
392
|
+
//# sourceMappingURL=indirectWebPwn-DahWlbTc.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
const require_logger = require("./logger-BN3n9c1R.cjs");
|
|
2
2
|
const require_invariant = require("./invariant-C2JOzzO2.cjs");
|
|
3
|
-
const require_fetch = require("./fetch-
|
|
4
|
-
const require_accounts = require("./accounts-
|
|
3
|
+
const require_fetch = require("./fetch-D54lzFcD.cjs");
|
|
4
|
+
const require_accounts = require("./accounts-DosZWKJy.cjs");
|
|
5
5
|
const require_tokenUsageUtils = require("./tokenUsageUtils-BbqyaBi4.cjs");
|
|
6
|
-
const require_remoteGeneration = require("./remoteGeneration-
|
|
7
|
-
const require_shared = require("./shared-
|
|
6
|
+
const require_remoteGeneration = require("./remoteGeneration-C0Ev99MO.cjs");
|
|
7
|
+
const require_shared = require("./shared-Bl84k1Oo.cjs");
|
|
8
8
|
let node_crypto = require("node:crypto");
|
|
9
9
|
//#region src/redteam/providers/indirectWebPwn.ts
|
|
10
10
|
/**
|
|
@@ -261,4 +261,4 @@ var IndirectWebPwnProvider = class {
|
|
|
261
261
|
//#endregion
|
|
262
262
|
exports.default = IndirectWebPwnProvider;
|
|
263
263
|
|
|
264
|
-
//# sourceMappingURL=indirectWebPwn-
|
|
264
|
+
//# sourceMappingURL=indirectWebPwn-Dcc2nw9e.cjs.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { o as logger } from "./logger-BKiOczgq.js";
|
|
2
2
|
import { t as invariant } from "./invariant-CHP0zrix.js";
|
|
3
|
-
import { n as fetchWithRetries } from "./fetch-
|
|
4
|
-
import { a as getUserEmail } from "./accounts-
|
|
3
|
+
import { n as fetchWithRetries } from "./fetch-tOnj-VPG.js";
|
|
4
|
+
import { a as getUserEmail } from "./accounts-B8CVRmIl.js";
|
|
5
5
|
import { d as createEmptyTokenUsage, n as accumulateAttackerTokenUsage, s as accumulateResponseTokenUsage } from "./tokenUsageUtils-BCYRro5h.js";
|
|
6
|
-
import { i as getRemoteGenerationUrl, p as remoteGenerationContextPayload, r as getRemoteGenerationHeaders } from "./remoteGeneration-
|
|
7
|
-
import { f as getTargetResponse } from "./shared-
|
|
6
|
+
import { i as getRemoteGenerationUrl, p as remoteGenerationContextPayload, r as getRemoteGenerationHeaders } from "./remoteGeneration-DnSGqkoH.js";
|
|
7
|
+
import { f as getTargetResponse } from "./shared-CkERSpeg.js";
|
|
8
8
|
import { randomUUID } from "node:crypto";
|
|
9
9
|
//#region src/redteam/providers/indirectWebPwn.ts
|
|
10
10
|
/**
|
|
@@ -261,4 +261,4 @@ var IndirectWebPwnProvider = class {
|
|
|
261
261
|
//#endregion
|
|
262
262
|
export { IndirectWebPwnProvider as default };
|
|
263
263
|
|
|
264
|
-
//# sourceMappingURL=indirectWebPwn-
|
|
264
|
+
//# sourceMappingURL=indirectWebPwn-Dcn8pufK.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { P as getEnvString, o as logger } from "./logger-BKiOczgq.js";
|
|
2
|
-
import {
|
|
3
|
-
import { T as getRequestTimeoutMs, r as fetchWithTimeout } from "./fetch-BjXG13jC.js";
|
|
2
|
+
import { E as getRequestTimeoutMs, r as fetchWithTimeout } from "./fetch-tOnj-VPG.js";
|
|
4
3
|
import { n as sleep } from "./time-BPNW8jwJ.js";
|
|
5
|
-
import { i as fetchWithCache } from "./cache-
|
|
4
|
+
import { i as fetchWithCache } from "./cache-DTOVFNqA.js";
|
|
5
|
+
import { o as getNunjucksEngine } from "./render-zarxdXS7.js";
|
|
6
6
|
import { i as storeBlob } from "./blobs-DK-ZLI3K.js";
|
|
7
|
-
import { E as GoogleAuthManager, d as mergeGoogleCompletionOptions, t as calculateGoogleCost } from "./util-
|
|
7
|
+
import { E as GoogleAuthManager, d as mergeGoogleCompletionOptions, t as calculateGoogleCost } from "./util-BdN7DdPq.js";
|
|
8
8
|
//#region src/providers/google/interactions.ts
|
|
9
9
|
function normalizeAudioMimeType(format) {
|
|
10
10
|
if (format?.startsWith("audio/")) return format;
|
|
@@ -393,4 +393,4 @@ var GoogleInteractionsProvider = class {
|
|
|
393
393
|
//#endregion
|
|
394
394
|
export { GoogleInteractionsProvider };
|
|
395
395
|
|
|
396
|
-
//# sourceMappingURL=interactions-
|
|
396
|
+
//# sourceMappingURL=interactions-BC_LipMV.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { I as getEnvString, o as logger } from "./logger-D4ion89i.js";
|
|
2
|
-
import {
|
|
3
|
-
import { A as getRequestTimeoutMs, r as fetchWithTimeout } from "./fetch-BdWQKDMj.js";
|
|
2
|
+
import { j as getRequestTimeoutMs, r as fetchWithTimeout } from "./fetch-DnDg-Ics.js";
|
|
4
3
|
import { n as sleep } from "./time-BPNW8jwJ.js";
|
|
5
|
-
import { i as fetchWithCache } from "./cache-
|
|
4
|
+
import { i as fetchWithCache } from "./cache-ePPAC5hy.js";
|
|
5
|
+
import { o as getNunjucksEngine } from "./render-DIhuKgcQ.js";
|
|
6
6
|
import { o as storeBlob } from "./blobs-CTgrjifI.js";
|
|
7
|
-
import { E as GoogleAuthManager, d as mergeGoogleCompletionOptions, t as calculateGoogleCost } from "./util-
|
|
7
|
+
import { E as GoogleAuthManager, d as mergeGoogleCompletionOptions, t as calculateGoogleCost } from "./util-DiVs2Kf-.js";
|
|
8
8
|
//#region src/providers/google/interactions.ts
|
|
9
9
|
function normalizeAudioMimeType(format) {
|
|
10
10
|
if (format?.startsWith("audio/")) return format;
|
|
@@ -393,4 +393,4 @@ var GoogleInteractionsProvider = class {
|
|
|
393
393
|
//#endregion
|
|
394
394
|
export { GoogleInteractionsProvider };
|
|
395
395
|
|
|
396
|
-
//# sourceMappingURL=interactions-
|
|
396
|
+
//# sourceMappingURL=interactions-BUojcIo3.js.map
|