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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { F as getEnvBool, L as getEnvInt, R as getEnvString, U as state, c as logger, j as loadYaml, s as logRequestResponse, x as sanitizeUrl } from "./logger-YzVIwMVq.js";
|
|
3
3
|
import { t as invariant } from "./invariant-CbHB1xyx.js";
|
|
4
4
|
import { n as sleep } from "./time-Ct6CnABs.js";
|
|
5
|
-
import { i as cloudConfig } from "./cloud-
|
|
5
|
+
import { i as cloudConfig } from "./cloud-D9lRDzlx.js";
|
|
6
6
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
7
7
|
import path from "path";
|
|
8
8
|
import * as fsPromises$1 from "node:fs/promises";
|
|
@@ -15,7 +15,7 @@ import { gzip } from "zlib";
|
|
|
15
15
|
* Application version from package.json.
|
|
16
16
|
* Injected at build time, or read from npm environment in development.
|
|
17
17
|
*/
|
|
18
|
-
const VERSION = "0.122.
|
|
18
|
+
const VERSION = "0.122.2";
|
|
19
19
|
/**
|
|
20
20
|
* PostHog analytics key.
|
|
21
21
|
* Only populated during production builds via PROMPTFOO_POSTHOG_KEY env var.
|
|
@@ -686,7 +686,15 @@ function isPromptfooCloudApiHost(url) {
|
|
|
686
686
|
}
|
|
687
687
|
}
|
|
688
688
|
/**
|
|
689
|
-
* Resolves the
|
|
689
|
+
* Resolves the header name used to carry the Cloud API credential (defaults to
|
|
690
|
+
* `Authorization`, but may be configured to a different name via
|
|
691
|
+
* `promptfoo auth login --auth-header-name` or `PROMPTFOO_CLOUD_AUTH_HEADER`).
|
|
692
|
+
*/
|
|
693
|
+
function getCloudAuthHeaderName() {
|
|
694
|
+
return cloudConfig.getAuthHeaderName();
|
|
695
|
+
}
|
|
696
|
+
/**
|
|
697
|
+
* Resolves the auth header value for a request to the configured Promptfoo
|
|
690
698
|
* Cloud origin, or `undefined` when the request is not cloud-bound or no API key is
|
|
691
699
|
* saved. Centralizing this keeps the live request (`monkeyPatchFetch`) and the cache
|
|
692
700
|
* key (`getHeadersForCacheKey` in cache.ts) in lockstep.
|
|
@@ -722,10 +730,6 @@ function getCloudTaskTeamId(url) {
|
|
|
722
730
|
function getEffectiveHeaders(url, headers) {
|
|
723
731
|
return headers ?? (url instanceof Request ? url.headers : void 0);
|
|
724
732
|
}
|
|
725
|
-
/** Case-insensitive check for a caller-supplied `Authorization` header (any `HeadersInit` shape). */
|
|
726
|
-
function hasAuthorizationHeader(headers) {
|
|
727
|
-
return new Headers(headers).has("authorization");
|
|
728
|
-
}
|
|
729
733
|
function hasHeader(headers, name) {
|
|
730
734
|
return new Headers(headers).has(name);
|
|
731
735
|
}
|
|
@@ -766,12 +770,17 @@ async function monkeyPatchFetch(url, options) {
|
|
|
766
770
|
} catch (e) {
|
|
767
771
|
logger.warn(`Failed to compress request body: ${e}`);
|
|
768
772
|
}
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
773
|
+
if (!options?.skipCloudAuthInjection) {
|
|
774
|
+
const cloudAuth = getCloudBearerToken(url);
|
|
775
|
+
if (cloudAuth) {
|
|
776
|
+
const cloudAuthHeaderName = getCloudAuthHeaderName();
|
|
777
|
+
const effectiveHeaders = getEffectiveHeaders(url, opts.headers);
|
|
778
|
+
if (!hasHeader(effectiveHeaders, cloudAuthHeaderName)) opts.headers = setHeader(effectiveHeaders, cloudAuthHeaderName, cloudAuth);
|
|
779
|
+
}
|
|
780
|
+
const cloudTaskTeamId = getCloudTaskTeamId(url);
|
|
781
|
+
const headersWithAuth = getEffectiveHeaders(url, opts.headers);
|
|
782
|
+
if (cloudTaskTeamId && !hasHeader(headersWithAuth, "x-promptfoo-team-id")) opts.headers = setHeader(headersWithAuth, PROMPTFOO_TEAM_ID_HEADER, cloudTaskTeamId);
|
|
783
|
+
}
|
|
775
784
|
try {
|
|
776
785
|
const response = await fetch(url, opts);
|
|
777
786
|
if (logEnabled) logRequestResponse({
|
|
@@ -1319,6 +1328,6 @@ async function fetchWithRetries(url, options = {}, timeout, maxRetries) {
|
|
|
1319
1328
|
throw new Error(`Request failed after ${maxRetries} retries: ${lastErrorMessage}`);
|
|
1320
1329
|
}
|
|
1321
1330
|
//#endregion
|
|
1322
|
-
export {
|
|
1331
|
+
export { getRequestTimeoutMs as A, CLOUD_PROVIDER_PREFIX as B, isNonTransientHttpStatus as C, LONG_RUNNING_MODEL_TIMEOUT_MS as D, parseRetryAfter as E, openaiToolsToBedrock as F, getDefaultPort as G, EVENTS_ENDPOINT as H, parseChatPrompt as I, getShareViewBaseUrl as J, getDefaultShareViewBaseUrl as K, toTitleCase as L, isOpenAIToolChoice as M, isPromptfooSampleTarget as N, calculateCost as O, openaiToolChoiceToBedrock as P, transformToolChoice as R, isHttpRateLimitError as S, parseRateLimitHeaders as T, R_ENDPOINT as U, CONSENT_ENDPOINT as V, TERMINAL_MAX_WIDTH as W, VERSION as X, POSTHOG_KEY as Y, HttpRateLimitError as _, fetchWithTimeout as a, formatRateLimitErrorMessage as b, isRateLimited as c, withFetchRetryContext as d, PROMPTFOO_TEAM_ID_HEADER as f, getRequestUrlString as g, getCloudTaskTeamId as h, fetchWithRetries as i, isOpenAIToolArray as j, clampCachedTokens as k, isTransientError as l, getCloudBearerToken as m, computeRateLimitWaitMs as n, getFetchWithProxyHeaders as o, getCloudAuthHeaderName as p, getShareApiBaseUrl as q, fetchWithProxy as r, handleRateLimit as s, clearAgentCache as t, stripDecompressionHeaders as u, NON_TRANSIENT_HTTP_STATUSES as v, isTransientConnectionError as w, isAbortError as x, extractRateLimitErrorCode as y, transformTools as z };
|
|
1323
1332
|
|
|
1324
|
-
//# sourceMappingURL=fetch-
|
|
1333
|
+
//# sourceMappingURL=fetch-KD8O9oZZ.js.map
|
|
@@ -17,7 +17,7 @@ import { gzip } from "zlib";
|
|
|
17
17
|
* Application version from package.json.
|
|
18
18
|
* Injected at build time, or read from npm environment in development.
|
|
19
19
|
*/
|
|
20
|
-
const VERSION = "0.122.
|
|
20
|
+
const VERSION = "0.122.2";
|
|
21
21
|
/**
|
|
22
22
|
* PostHog analytics key.
|
|
23
23
|
* Only populated during production builds via PROMPTFOO_POSTHOG_KEY env var.
|
|
@@ -116,6 +116,7 @@ var CloudConfig = class {
|
|
|
116
116
|
appUrl: savedConfig.appUrl || "https://www.promptfoo.app",
|
|
117
117
|
apiHost: savedConfig.apiHost,
|
|
118
118
|
apiKey: savedConfig.apiKey,
|
|
119
|
+
authHeaderName: savedConfig.authHeaderName,
|
|
119
120
|
sharing: savedConfig.sharing,
|
|
120
121
|
currentOrganizationId: savedConfig.currentOrganizationId,
|
|
121
122
|
currentTeamId: savedConfig.currentTeamId,
|
|
@@ -143,6 +144,18 @@ var CloudConfig = class {
|
|
|
143
144
|
if (!this.config.apiHost && !process.env.PROMPTFOO_CLOUD_API_URL && process.env.API_HOST && this.resolveApiKey()) warnOnceAboutLegacyApiHost();
|
|
144
145
|
return host.replace(/\/+$/, "");
|
|
145
146
|
}
|
|
147
|
+
/**
|
|
148
|
+
* Returns the header name used to carry the Cloud API credential, from config file,
|
|
149
|
+
* PROMPTFOO_CLOUD_AUTH_HEADER environment variable, or the default `Authorization`.
|
|
150
|
+
* Config file takes precedence over environment variable, matching resolveApiHost().
|
|
151
|
+
*
|
|
152
|
+
* process.env is read directly (not getEnvString) for the same reason as
|
|
153
|
+
* PROMPTFOO_CLOUD_API_URL: an eval config's `env` block must never be able to
|
|
154
|
+
* influence Cloud auth routing.
|
|
155
|
+
*/
|
|
156
|
+
resolveAuthHeaderName() {
|
|
157
|
+
return this.config.authHeaderName || process.env.PROMPTFOO_CLOUD_AUTH_HEADER || "Authorization";
|
|
158
|
+
}
|
|
146
159
|
isEnabled() {
|
|
147
160
|
return !!this.resolveApiKey();
|
|
148
161
|
}
|
|
@@ -160,6 +173,24 @@ var CloudConfig = class {
|
|
|
160
173
|
getApiHost() {
|
|
161
174
|
return this.resolveApiHost();
|
|
162
175
|
}
|
|
176
|
+
setAuthHeaderName(authHeaderName) {
|
|
177
|
+
this.config.authHeaderName = authHeaderName;
|
|
178
|
+
this.saveConfig();
|
|
179
|
+
}
|
|
180
|
+
getAuthHeaderName() {
|
|
181
|
+
return this.resolveAuthHeaderName();
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* Returns the header(s) to attach to a Cloud API request for the current credential,
|
|
185
|
+
* or `undefined` when no API key is resolved. Callers should spread the result
|
|
186
|
+
* conditionally (`...(cloudConfig.getAuthHeaders() ?? {})`) rather than sending a
|
|
187
|
+
* header with a `Bearer undefined` value.
|
|
188
|
+
*/
|
|
189
|
+
getAuthHeaders() {
|
|
190
|
+
const token = this.getApiKey();
|
|
191
|
+
if (!token) return;
|
|
192
|
+
return { [this.getAuthHeaderName()]: `Bearer ${token}` };
|
|
193
|
+
}
|
|
163
194
|
setAppUrl(appUrl) {
|
|
164
195
|
this.config.appUrl = appUrl;
|
|
165
196
|
this.saveConfig();
|
|
@@ -190,10 +221,11 @@ var CloudConfig = class {
|
|
|
190
221
|
reload() {
|
|
191
222
|
this.config = this.readConfig();
|
|
192
223
|
}
|
|
193
|
-
saveValidatedApiToken(token, apiHost, user, app, hasActiveLicense) {
|
|
224
|
+
saveValidatedApiToken(token, apiHost, user, app, hasActiveLicense, authHeaderName) {
|
|
194
225
|
this.setApiKey(token);
|
|
195
226
|
this.setApiHost(apiHost);
|
|
196
227
|
this.setAppUrl(app.url);
|
|
228
|
+
if (authHeaderName) this.setAuthHeaderName(authHeaderName);
|
|
197
229
|
if (!(isPromptfooCloudHost(apiHost) || isPromptfooCloudHost(app.url))) this.setSharing(true);
|
|
198
230
|
else if (typeof hasActiveLicense === "boolean") {
|
|
199
231
|
const createdAt = user?.createdAt ? new Date(user.createdAt) : null;
|
|
@@ -201,10 +233,13 @@ var CloudConfig = class {
|
|
|
201
233
|
this.setSharing(hasActiveLicense || isGrandfathered);
|
|
202
234
|
}
|
|
203
235
|
}
|
|
204
|
-
async validateApiToken(token, apiHost) {
|
|
236
|
+
async validateApiToken(token, apiHost, authHeaderName) {
|
|
205
237
|
try {
|
|
206
238
|
const { fetchWithProxy } = await Promise.resolve().then(() => fetch_exports);
|
|
207
|
-
const response = await fetchWithProxy(`${apiHost}/api/v1/users/me`, {
|
|
239
|
+
const response = await fetchWithProxy(`${apiHost}/api/v1/users/me`, {
|
|
240
|
+
headers: { [authHeaderName || this.getAuthHeaderName()]: `Bearer ${token}` },
|
|
241
|
+
skipCloudAuthInjection: true
|
|
242
|
+
});
|
|
208
243
|
if (!response.ok) {
|
|
209
244
|
const errorMessage = await response.text();
|
|
210
245
|
logger.error(`[Cloud] Failed to validate API token: ${errorMessage}. HTTP Status: ${response.status} - ${response.statusText}.`);
|
|
@@ -226,8 +261,9 @@ var CloudConfig = class {
|
|
|
226
261
|
}
|
|
227
262
|
}
|
|
228
263
|
async validateAndSetApiToken(token, apiHost) {
|
|
229
|
-
const
|
|
230
|
-
this.
|
|
264
|
+
const authHeaderName = this.getAuthHeaderName();
|
|
265
|
+
const { user, organization, app, hasActiveLicense } = await this.validateApiToken(token, apiHost, authHeaderName);
|
|
266
|
+
this.saveValidatedApiToken(token, apiHost, user, app, hasActiveLicense, authHeaderName);
|
|
231
267
|
return {
|
|
232
268
|
user,
|
|
233
269
|
organization,
|
|
@@ -925,7 +961,15 @@ function isPromptfooCloudApiHost(url) {
|
|
|
925
961
|
}
|
|
926
962
|
}
|
|
927
963
|
/**
|
|
928
|
-
* Resolves the
|
|
964
|
+
* Resolves the header name used to carry the Cloud API credential (defaults to
|
|
965
|
+
* `Authorization`, but may be configured to a different name via
|
|
966
|
+
* `promptfoo auth login --auth-header-name` or `PROMPTFOO_CLOUD_AUTH_HEADER`).
|
|
967
|
+
*/
|
|
968
|
+
function getCloudAuthHeaderName() {
|
|
969
|
+
return cloudConfig.getAuthHeaderName();
|
|
970
|
+
}
|
|
971
|
+
/**
|
|
972
|
+
* Resolves the auth header value for a request to the configured Promptfoo
|
|
929
973
|
* Cloud origin, or `undefined` when the request is not cloud-bound or no API key is
|
|
930
974
|
* saved. Centralizing this keeps the live request (`monkeyPatchFetch`) and the cache
|
|
931
975
|
* key (`getHeadersForCacheKey` in cache.ts) in lockstep.
|
|
@@ -961,10 +1005,6 @@ function getCloudTaskTeamId(url) {
|
|
|
961
1005
|
function getEffectiveHeaders(url, headers) {
|
|
962
1006
|
return headers ?? (url instanceof Request ? url.headers : void 0);
|
|
963
1007
|
}
|
|
964
|
-
/** Case-insensitive check for a caller-supplied `Authorization` header (any `HeadersInit` shape). */
|
|
965
|
-
function hasAuthorizationHeader(headers) {
|
|
966
|
-
return new Headers(headers).has("authorization");
|
|
967
|
-
}
|
|
968
1008
|
function hasHeader(headers, name) {
|
|
969
1009
|
return new Headers(headers).has(name);
|
|
970
1010
|
}
|
|
@@ -1005,12 +1045,17 @@ async function monkeyPatchFetch(url, options) {
|
|
|
1005
1045
|
} catch (e) {
|
|
1006
1046
|
logger.warn(`Failed to compress request body: ${e}`);
|
|
1007
1047
|
}
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1048
|
+
if (!options?.skipCloudAuthInjection) {
|
|
1049
|
+
const cloudAuth = getCloudBearerToken(url);
|
|
1050
|
+
if (cloudAuth) {
|
|
1051
|
+
const cloudAuthHeaderName = getCloudAuthHeaderName();
|
|
1052
|
+
const effectiveHeaders = getEffectiveHeaders(url, opts.headers);
|
|
1053
|
+
if (!hasHeader(effectiveHeaders, cloudAuthHeaderName)) opts.headers = setHeader(effectiveHeaders, cloudAuthHeaderName, cloudAuth);
|
|
1054
|
+
}
|
|
1055
|
+
const cloudTaskTeamId = getCloudTaskTeamId(url);
|
|
1056
|
+
const headersWithAuth = getEffectiveHeaders(url, opts.headers);
|
|
1057
|
+
if (cloudTaskTeamId && !hasHeader(headersWithAuth, "x-promptfoo-team-id")) opts.headers = setHeader(headersWithAuth, PROMPTFOO_TEAM_ID_HEADER, cloudTaskTeamId);
|
|
1058
|
+
}
|
|
1014
1059
|
try {
|
|
1015
1060
|
const response = await fetch(url, opts);
|
|
1016
1061
|
if (logEnabled) logRequestResponse({
|
|
@@ -1558,6 +1603,6 @@ async function fetchWithRetries(url, options = {}, timeout, maxRetries) {
|
|
|
1558
1603
|
throw new Error(`Request failed after ${maxRetries} retries: ${lastErrorMessage}`);
|
|
1559
1604
|
}
|
|
1560
1605
|
//#endregion
|
|
1561
|
-
export {
|
|
1606
|
+
export { openaiToolChoiceToBedrock as A, writeGlobalConfigPartial as B, LONG_RUNNING_MODEL_TIMEOUT_MS as C, isOpenAIToolArray as D, getRequestTimeoutMs as E, transformTools as F, TERMINAL_MAX_WIDTH as G, CONSENT_ENDPOINT as H, CloudConfig as I, getShareViewBaseUrl as J, getDefaultShareViewBaseUrl as K, cloudConfig as L, parseChatPrompt as M, toTitleCase as N, isOpenAIToolChoice as O, transformToolChoice as P, readGlobalConfig as R, parseRetryAfter as S, clampCachedTokens as T, EVENTS_ENDPOINT as U, CLOUD_PROVIDER_PREFIX as V, R_ENDPOINT as W, VERSION as X, POSTHOG_KEY as Y, isAbortError as _, getFetchWithProxyHeaders as a, isTransientConnectionError as b, PROMPTFOO_TEAM_ID_HEADER as c, getCloudTaskTeamId as d, getRequestUrlString as f, formatRateLimitErrorMessage as g, extractRateLimitErrorCode as h, fetch_exports as i, openaiToolsToBedrock as j, isPromptfooSampleTarget as k, getCloudAuthHeaderName as l, NON_TRANSIENT_HTTP_STATUSES as m, fetchWithRetries as n, stripDecompressionHeaders as o, HttpRateLimitError as p, getShareApiBaseUrl as q, fetchWithTimeout as r, withFetchRetryContext as s, fetchWithProxy as t, getCloudBearerToken as u, isHttpRateLimitError as v, calculateCost as w, parseRateLimitHeaders as x, isNonTransientHttpStatus as y, writeGlobalConfig as z };
|
|
1562
1607
|
|
|
1563
|
-
//# sourceMappingURL=fetch-
|
|
1608
|
+
//# sourceMappingURL=fetch-tOnj-VPG.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { o as logger } from "./logger-BKiOczgq.js";
|
|
2
|
-
import { nt as CallbackPathTraversalError, ot as wrapError, rt as loadCallbackFromFileUrl } from "./util-
|
|
2
|
+
import { nt as CallbackPathTraversalError, ot as wrapError, rt as loadCallbackFromFileUrl } from "./util-BnytsHEr.js";
|
|
3
3
|
import { p as withGenAIToolSpan } from "./genaiTracer-Ch7k9W3C.js";
|
|
4
4
|
import "./tracing-Dq2SYDNR.js";
|
|
5
|
-
import { i as getMcpErrorMessage, s as isMcpErrorResult } from "./util-
|
|
5
|
+
import { i as getMcpErrorMessage, s as isMcpErrorResult } from "./util-InmFNqSw.js";
|
|
6
6
|
//#region src/providers/functionCallbackUtils.ts
|
|
7
7
|
/**
|
|
8
8
|
* Resolve a `file://` callback reference through the shared path-traversal guard,
|
|
@@ -240,4 +240,4 @@ var FunctionCallbackHandler = class {
|
|
|
240
240
|
//#endregion
|
|
241
241
|
export { executeProviderFunctionCallback as n, loadProviderCallbackFromFileUrl as r, FunctionCallbackHandler as t };
|
|
242
242
|
|
|
243
|
-
//# sourceMappingURL=functionCallbackUtils-
|
|
243
|
+
//# sourceMappingURL=functionCallbackUtils-B-fNUZ4T.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { c as logger } from "./logger-YzVIwMVq.js";
|
|
3
3
|
import { p as withGenAIToolSpan } from "./genaiTracer-BRW5P2xD.js";
|
|
4
|
-
import { K as CallbackPathTraversalError, X as wrapError, q as loadCallbackFromFileUrl } from "./util-
|
|
4
|
+
import { K as CallbackPathTraversalError, X as wrapError, q as loadCallbackFromFileUrl } from "./util-CZyLhvIk.js";
|
|
5
5
|
import "./tracing-D7QJcXmX.js";
|
|
6
|
-
import { i as getMcpErrorMessage, s as isMcpErrorResult } from "./util-
|
|
6
|
+
import { i as getMcpErrorMessage, s as isMcpErrorResult } from "./util-CzWbxb9R.js";
|
|
7
7
|
//#region src/providers/functionCallbackUtils.ts
|
|
8
8
|
/**
|
|
9
9
|
* Resolve a `file://` callback reference through the shared path-traversal guard,
|
|
@@ -241,4 +241,4 @@ var FunctionCallbackHandler = class {
|
|
|
241
241
|
//#endregion
|
|
242
242
|
export { executeProviderFunctionCallback as n, loadProviderCallbackFromFileUrl as r, FunctionCallbackHandler as t };
|
|
243
243
|
|
|
244
|
-
//# sourceMappingURL=functionCallbackUtils-
|
|
244
|
+
//# sourceMappingURL=functionCallbackUtils-B7KGl5xQ.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_logger = require("./logger-BN3n9c1R.cjs");
|
|
2
|
-
const require_util = require("./util-
|
|
2
|
+
const require_util = require("./util-BPkxeLuk.cjs");
|
|
3
3
|
const require_genaiTracer = require("./genaiTracer-D_3mCxrD.cjs");
|
|
4
4
|
require("./tracing-DFewlCzC.cjs");
|
|
5
|
-
const require_util$1 = require("./util-
|
|
5
|
+
const require_util$1 = require("./util-DhtW6BNS.cjs");
|
|
6
6
|
//#region src/providers/functionCallbackUtils.ts
|
|
7
7
|
/**
|
|
8
8
|
* Resolve a `file://` callback reference through the shared path-traversal guard,
|
|
@@ -257,4 +257,4 @@ Object.defineProperty(exports, "loadProviderCallbackFromFileUrl", {
|
|
|
257
257
|
}
|
|
258
258
|
});
|
|
259
259
|
|
|
260
|
-
//# sourceMappingURL=functionCallbackUtils-
|
|
260
|
+
//# sourceMappingURL=functionCallbackUtils-BDroEgNs.cjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { o as logger } from "./logger-D4ion89i.js";
|
|
2
|
-
import { St as wrapError, vt as CallbackPathTraversalError, yt as loadCallbackFromFileUrl } from "./util-
|
|
2
|
+
import { St as wrapError, vt as CallbackPathTraversalError, yt as loadCallbackFromFileUrl } from "./util-BPtpPW4O.js";
|
|
3
3
|
import { p as withGenAIToolSpan } from "./genaiTracer-Cp9O3qLz.js";
|
|
4
4
|
import "./tracing-Ct2HWfTt.js";
|
|
5
|
-
import { i as getMcpErrorMessage, s as isMcpErrorResult } from "./util-
|
|
5
|
+
import { i as getMcpErrorMessage, s as isMcpErrorResult } from "./util-BPlSGvsQ.js";
|
|
6
6
|
//#region src/providers/functionCallbackUtils.ts
|
|
7
7
|
/**
|
|
8
8
|
* Resolve a `file://` callback reference through the shared path-traversal guard,
|
|
@@ -240,4 +240,4 @@ var FunctionCallbackHandler = class {
|
|
|
240
240
|
//#endregion
|
|
241
241
|
export { executeProviderFunctionCallback as n, loadProviderCallbackFromFileUrl as r, FunctionCallbackHandler as t };
|
|
242
242
|
|
|
243
|
-
//# sourceMappingURL=functionCallbackUtils-
|
|
243
|
+
//# sourceMappingURL=functionCallbackUtils-EjWy67uz.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { P as getEnvString, o as logger } from "./logger-BKiOczgq.js";
|
|
2
|
-
import {
|
|
3
|
-
import { i as fetchWithCache } from "./cache-
|
|
2
|
+
import { E as getRequestTimeoutMs } from "./fetch-tOnj-VPG.js";
|
|
3
|
+
import { i as fetchWithCache } from "./cache-DTOVFNqA.js";
|
|
4
4
|
import { i as toDataUri } from "./dataUrl-CVhbP_9M.js";
|
|
5
|
-
import { M as resolveProjectId, h as normalizeTools, i as createAuthCacheDiscriminator, j as loadCredentials, k as getGoogleClient, m as normalizeSafetySettings, o as geminiFormatAndSystemInstructions, v as removeGoogleFunctionDeclarations, y as resolveGoogleToolConfig } from "./util-
|
|
5
|
+
import { M as resolveProjectId, h as normalizeTools, i as createAuthCacheDiscriminator, j as loadCredentials, k as getGoogleClient, m as normalizeSafetySettings, o as geminiFormatAndSystemInstructions, v as removeGoogleFunctionDeclarations, y as resolveGoogleToolConfig } from "./util-BdN7DdPq.js";
|
|
6
6
|
//#region src/providers/google/gemini-image.ts
|
|
7
7
|
/**
|
|
8
8
|
* Per-image price (USD) by model id and output resolution, standard tier.
|
|
@@ -319,4 +319,4 @@ var GeminiImageProvider = class {
|
|
|
319
319
|
//#endregion
|
|
320
320
|
export { GeminiImageProvider };
|
|
321
321
|
|
|
322
|
-
//# sourceMappingURL=gemini-image-
|
|
322
|
+
//# sourceMappingURL=gemini-image-B4vMqMOQ.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { R as getEnvString, c as logger } from "./logger-YzVIwMVq.js";
|
|
3
|
-
import {
|
|
4
|
-
import { i as fetchWithCache } from "./cache-
|
|
3
|
+
import { A as getRequestTimeoutMs } from "./fetch-KD8O9oZZ.js";
|
|
4
|
+
import { i as fetchWithCache } from "./cache-xL5UULpy.js";
|
|
5
5
|
import { i as toDataUri } from "./dataUrl-CJlC_-p_.js";
|
|
6
|
-
import { A as getGoogleClient, M as loadCredentials, N as resolveProjectId, h as normalizeTools, i as createAuthCacheDiscriminator, m as normalizeSafetySettings, o as geminiFormatAndSystemInstructions, v as removeGoogleFunctionDeclarations, y as resolveGoogleToolConfig } from "./util-
|
|
6
|
+
import { A as getGoogleClient, M as loadCredentials, N as resolveProjectId, h as normalizeTools, i as createAuthCacheDiscriminator, m as normalizeSafetySettings, o as geminiFormatAndSystemInstructions, v as removeGoogleFunctionDeclarations, y as resolveGoogleToolConfig } from "./util-Rbl6Om9L2.js";
|
|
7
7
|
//#region src/providers/google/gemini-image.ts
|
|
8
8
|
/**
|
|
9
9
|
* Per-image price (USD) by model id and output resolution, standard tier.
|
|
@@ -320,4 +320,4 @@ var GeminiImageProvider = class {
|
|
|
320
320
|
//#endregion
|
|
321
321
|
export { GeminiImageProvider };
|
|
322
322
|
|
|
323
|
-
//# sourceMappingURL=gemini-image-
|
|
323
|
+
//# sourceMappingURL=gemini-image-B6ZTrDe5.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_logger = require("./logger-BN3n9c1R.cjs");
|
|
2
|
-
const require_fetch = require("./fetch-
|
|
3
|
-
const require_cache = require("./cache-
|
|
2
|
+
const require_fetch = require("./fetch-D54lzFcD.cjs");
|
|
3
|
+
const require_cache = require("./cache-g3VTrtsd.cjs");
|
|
4
4
|
const require_dataUrl = require("./dataUrl-DM5cIGrK.cjs");
|
|
5
|
-
const require_util = require("./util-
|
|
5
|
+
const require_util = require("./util-DSwbJPgL.cjs");
|
|
6
6
|
//#region src/providers/google/gemini-image.ts
|
|
7
7
|
/**
|
|
8
8
|
* Per-image price (USD) by model id and output resolution, standard tier.
|
|
@@ -319,4 +319,4 @@ var GeminiImageProvider = class {
|
|
|
319
319
|
//#endregion
|
|
320
320
|
exports.GeminiImageProvider = GeminiImageProvider;
|
|
321
321
|
|
|
322
|
-
//# sourceMappingURL=gemini-image-
|
|
322
|
+
//# sourceMappingURL=gemini-image-DYd6vsTn.cjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { I as getEnvString, o as logger } from "./logger-D4ion89i.js";
|
|
2
|
-
import {
|
|
3
|
-
import { i as fetchWithCache } from "./cache-
|
|
2
|
+
import { j as getRequestTimeoutMs } from "./fetch-DnDg-Ics.js";
|
|
3
|
+
import { i as fetchWithCache } from "./cache-ePPAC5hy.js";
|
|
4
4
|
import { i as toDataUri } from "./dataUrl-CVhbP_9M.js";
|
|
5
|
-
import { M as resolveProjectId, h as normalizeTools, i as createAuthCacheDiscriminator, j as loadCredentials, k as getGoogleClient, m as normalizeSafetySettings, o as geminiFormatAndSystemInstructions, v as removeGoogleFunctionDeclarations, y as resolveGoogleToolConfig } from "./util-
|
|
5
|
+
import { M as resolveProjectId, h as normalizeTools, i as createAuthCacheDiscriminator, j as loadCredentials, k as getGoogleClient, m as normalizeSafetySettings, o as geminiFormatAndSystemInstructions, v as removeGoogleFunctionDeclarations, y as resolveGoogleToolConfig } from "./util-DiVs2Kf-.js";
|
|
6
6
|
//#region src/providers/google/gemini-image.ts
|
|
7
7
|
/**
|
|
8
8
|
* Per-image price (USD) by model id and output resolution, standard tier.
|
|
@@ -319,4 +319,4 @@ var GeminiImageProvider = class {
|
|
|
319
319
|
//#endregion
|
|
320
320
|
export { GeminiImageProvider };
|
|
321
321
|
|
|
322
|
-
//# sourceMappingURL=gemini-image-
|
|
322
|
+
//# sourceMappingURL=gemini-image-D_-_Yxtw.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { c as logger, k as safeJsonStringify } from "./logger-YzVIwMVq.js";
|
|
3
|
-
import {
|
|
3
|
+
import { X as VERSION, r as fetchWithProxy } from "./fetch-KD8O9oZZ.js";
|
|
4
4
|
import { t as invariant } from "./invariant-CbHB1xyx.js";
|
|
5
|
-
import { l as isLoggedIntoCloud, s as getUserEmail } from "./accounts-
|
|
5
|
+
import { l as isLoggedIntoCloud, s as getUserEmail } from "./accounts-DApS8Gpe.js";
|
|
6
6
|
import { n as sleep } from "./time-Ct6CnABs.js";
|
|
7
|
-
import {
|
|
7
|
+
import { o as getNunjucksEngine } from "./render-BRIaR8VG.js";
|
|
8
8
|
import { d as createEmptyTokenUsage, n as accumulateAttackerTokenUsage, s as accumulateResponseTokenUsage } from "./tokenUsageUtils-Cf6nFV6z.js";
|
|
9
|
-
import { c as neverGenerateRemote, i as getRemoteGenerationUrl, p as remoteGenerationContextPayload, r as getRemoteGenerationHeaders } from "./remoteGeneration-
|
|
10
|
-
import { a as extractPromptFromTags, o as getSessionId, r as extractInputVarsFromPrompt } from "./util-
|
|
11
|
-
import { a as assertRemoteMaterializationHandled, c as isRemoteMaterializationUpgradeError, s as buildRemoteMaterializedInputVariables } from "./promptfoo-
|
|
12
|
-
import { S as throwIfTargetPromptExceedsMaxChars, _ as runRedteamGrader, a as callTargetProvider, d as getLastMessageContent, n as accumulateUnblockingTokenUsage, r as buildGraderResultAssertion, t as accumulateGraderResult, u as getGraderAssertionValue, v as tryUnblocking } from "./shared-
|
|
13
|
-
import { n as checkExfilTracking } from "./indirectWebPwn-
|
|
14
|
-
import { n as renderPrompt } from "./evaluatorHelpers-
|
|
15
|
-
import { n as fetchTraceContext, t as extractTraceIdFromTraceparent } from "./traceContext-
|
|
16
|
-
import { t as Strategies } from "./strategies-
|
|
17
|
-
import { t as applyRuntimeTransforms } from "./runtimeTransform-
|
|
9
|
+
import { c as neverGenerateRemote, i as getRemoteGenerationUrl, p as remoteGenerationContextPayload, r as getRemoteGenerationHeaders } from "./remoteGeneration-Cc78LDjQ.js";
|
|
10
|
+
import { a as extractPromptFromTags, o as getSessionId, r as extractInputVarsFromPrompt } from "./util-DlFpV1xV.js";
|
|
11
|
+
import { a as assertRemoteMaterializationHandled, c as isRemoteMaterializationUpgradeError, s as buildRemoteMaterializedInputVariables } from "./promptfoo-HD40ugrk.js";
|
|
12
|
+
import { S as throwIfTargetPromptExceedsMaxChars, _ as runRedteamGrader, a as callTargetProvider, d as getLastMessageContent, n as accumulateUnblockingTokenUsage, r as buildGraderResultAssertion, t as accumulateGraderResult, u as getGraderAssertionValue, v as tryUnblocking } from "./shared-jcnXW0lA.js";
|
|
13
|
+
import { n as checkExfilTracking } from "./indirectWebPwn-BhuZ26Yd.js";
|
|
14
|
+
import { n as renderPrompt } from "./evaluatorHelpers-CgcFRjns.js";
|
|
15
|
+
import { n as fetchTraceContext, t as extractTraceIdFromTraceparent } from "./traceContext-2sZXHY0h.js";
|
|
16
|
+
import { t as Strategies } from "./strategies-DpZ1ydwx.js";
|
|
17
|
+
import { t as applyRuntimeTransforms } from "./runtimeTransform-DVpy5lDj.js";
|
|
18
18
|
import { i as getGoalRubric } from "./prompts-DZu12AXj.js";
|
|
19
19
|
import { n as formatTraceForMetadata, r as formatTraceSummary, t as resolveTracingOptions } from "./tracingOptions-Dv7YQaMP.js";
|
|
20
20
|
import chalk from "chalk";
|
|
@@ -83,7 +83,7 @@ var GoatProvider = class {
|
|
|
83
83
|
let assertToUse;
|
|
84
84
|
let graderPassed;
|
|
85
85
|
let storedGraderResult;
|
|
86
|
-
const { getGraderById } = await import("./graders-
|
|
86
|
+
const { getGraderById } = await import("./graders-B8dB5kSQ.js");
|
|
87
87
|
let test;
|
|
88
88
|
if (context?.test) {
|
|
89
89
|
test = context?.test;
|
|
@@ -489,4 +489,4 @@ var GoatProvider = class {
|
|
|
489
489
|
//#endregion
|
|
490
490
|
export { GoatProvider as default };
|
|
491
491
|
|
|
492
|
-
//# sourceMappingURL=goat-
|
|
492
|
+
//# sourceMappingURL=goat-B80KUvGW.js.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { E as safeJsonStringify, o as logger } from "./logger-BKiOczgq.js";
|
|
2
2
|
import { t as invariant } from "./invariant-CHP0zrix.js";
|
|
3
|
-
import {
|
|
4
|
-
import { Y as VERSION, t as fetchWithProxy } from "./fetch-BjXG13jC.js";
|
|
3
|
+
import { X as VERSION, t as fetchWithProxy } from "./fetch-tOnj-VPG.js";
|
|
5
4
|
import { n as sleep } from "./time-BPNW8jwJ.js";
|
|
6
|
-
import { a as getUserEmail, s as isLoggedIntoCloud } from "./accounts-
|
|
5
|
+
import { a as getUserEmail, s as isLoggedIntoCloud } from "./accounts-B8CVRmIl.js";
|
|
6
|
+
import { o as getNunjucksEngine } from "./render-zarxdXS7.js";
|
|
7
7
|
import { d as createEmptyTokenUsage, n as accumulateAttackerTokenUsage, s as accumulateResponseTokenUsage } from "./tokenUsageUtils-BCYRro5h.js";
|
|
8
|
-
import { c as neverGenerateRemote, i as getRemoteGenerationUrl, p as remoteGenerationContextPayload, r as getRemoteGenerationHeaders } from "./remoteGeneration-
|
|
9
|
-
import { a as extractPromptFromTags, o as getSessionId, r as extractInputVarsFromPrompt } from "./util-
|
|
10
|
-
import { a as assertRemoteMaterializationHandled, c as isRemoteMaterializationUpgradeError, s as buildRemoteMaterializedInputVariables } from "./promptfoo-
|
|
11
|
-
import { S as throwIfTargetPromptExceedsMaxChars, _ as runRedteamGrader, a as callTargetProvider, d as getLastMessageContent, n as accumulateUnblockingTokenUsage, r as buildGraderResultAssertion, t as accumulateGraderResult, u as getGraderAssertionValue, v as tryUnblocking } from "./shared-
|
|
12
|
-
import { n as checkExfilTracking } from "./indirectWebPwn-
|
|
13
|
-
import { n as renderPrompt } from "./evaluatorHelpers-
|
|
14
|
-
import { n as fetchTraceContext, t as extractTraceIdFromTraceparent } from "./traceContext-
|
|
15
|
-
import { t as Strategies } from "./strategies-
|
|
16
|
-
import { t as applyRuntimeTransforms } from "./runtimeTransform-
|
|
8
|
+
import { c as neverGenerateRemote, i as getRemoteGenerationUrl, p as remoteGenerationContextPayload, r as getRemoteGenerationHeaders } from "./remoteGeneration-DnSGqkoH.js";
|
|
9
|
+
import { a as extractPromptFromTags, o as getSessionId, r as extractInputVarsFromPrompt } from "./util-BKfPcBQN.js";
|
|
10
|
+
import { a as assertRemoteMaterializationHandled, c as isRemoteMaterializationUpgradeError, s as buildRemoteMaterializedInputVariables } from "./promptfoo-BeCm2WDJ.js";
|
|
11
|
+
import { S as throwIfTargetPromptExceedsMaxChars, _ as runRedteamGrader, a as callTargetProvider, d as getLastMessageContent, n as accumulateUnblockingTokenUsage, r as buildGraderResultAssertion, t as accumulateGraderResult, u as getGraderAssertionValue, v as tryUnblocking } from "./shared-CkERSpeg.js";
|
|
12
|
+
import { n as checkExfilTracking } from "./indirectWebPwn-BeNTvIGX.js";
|
|
13
|
+
import { n as renderPrompt } from "./evaluatorHelpers-Bd8xun4J.js";
|
|
14
|
+
import { n as fetchTraceContext, t as extractTraceIdFromTraceparent } from "./traceContext-B3qWxoa7.js";
|
|
15
|
+
import { t as Strategies } from "./strategies-DVRYSzm8.js";
|
|
16
|
+
import { t as applyRuntimeTransforms } from "./runtimeTransform-rEgJC2VZ.js";
|
|
17
17
|
import { i as getGoalRubric } from "./prompts-BAm7XXwa.js";
|
|
18
18
|
import { n as formatTraceForMetadata, r as formatTraceSummary, t as resolveTracingOptions } from "./tracingOptions-aPLl8-Td.js";
|
|
19
19
|
import chalk from "chalk";
|
|
@@ -82,7 +82,7 @@ var GoatProvider = class {
|
|
|
82
82
|
let assertToUse;
|
|
83
83
|
let graderPassed;
|
|
84
84
|
let storedGraderResult;
|
|
85
|
-
const { getGraderById } = await import("./graders-
|
|
85
|
+
const { getGraderById } = await import("./graders-BPmH2YVm.js").then((n) => n.r);
|
|
86
86
|
let test;
|
|
87
87
|
if (context?.test) {
|
|
88
88
|
test = context?.test;
|
|
@@ -488,4 +488,4 @@ var GoatProvider = class {
|
|
|
488
488
|
//#endregion
|
|
489
489
|
export { GoatProvider as default };
|
|
490
490
|
|
|
491
|
-
//# sourceMappingURL=goat-
|
|
491
|
+
//# sourceMappingURL=goat-BKhidS2l.js.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
const require_logger = require("./logger-BN3n9c1R.cjs");
|
|
2
2
|
const require_invariant = require("./invariant-C2JOzzO2.cjs");
|
|
3
|
-
const
|
|
4
|
-
const require_fetch = require("./fetch-DTnUr1aF.cjs");
|
|
3
|
+
const require_fetch = require("./fetch-D54lzFcD.cjs");
|
|
5
4
|
const require_time = require("./time-B7AqDy5g.cjs");
|
|
6
|
-
const require_accounts = require("./accounts-
|
|
5
|
+
const require_accounts = require("./accounts-DosZWKJy.cjs");
|
|
6
|
+
const require_render = require("./render-C1VJjFT2.cjs");
|
|
7
7
|
const require_tokenUsageUtils = require("./tokenUsageUtils-BbqyaBi4.cjs");
|
|
8
|
-
const require_remoteGeneration = require("./remoteGeneration-
|
|
9
|
-
const require_util
|
|
10
|
-
const require_promptfoo = require("./promptfoo-
|
|
11
|
-
const require_shared = require("./shared-
|
|
12
|
-
const require_indirectWebPwn = require("./indirectWebPwn-
|
|
13
|
-
const require_evaluatorHelpers = require("./evaluatorHelpers-
|
|
14
|
-
const require_traceContext = require("./traceContext-
|
|
15
|
-
const require_strategies = require("./strategies-
|
|
16
|
-
const require_runtimeTransform = require("./runtimeTransform-
|
|
8
|
+
const require_remoteGeneration = require("./remoteGeneration-C0Ev99MO.cjs");
|
|
9
|
+
const require_util = require("./util-BuKoPAn3.cjs");
|
|
10
|
+
const require_promptfoo = require("./promptfoo-B3EDkr9n.cjs");
|
|
11
|
+
const require_shared = require("./shared-Bl84k1Oo.cjs");
|
|
12
|
+
const require_indirectWebPwn = require("./indirectWebPwn-CwSQCQGM.cjs");
|
|
13
|
+
const require_evaluatorHelpers = require("./evaluatorHelpers-B2c1yYV4.cjs");
|
|
14
|
+
const require_traceContext = require("./traceContext-achbslCl.cjs");
|
|
15
|
+
const require_strategies = require("./strategies-DJfqHuoT.cjs");
|
|
16
|
+
const require_runtimeTransform = require("./runtimeTransform-6aaLbaUN.cjs");
|
|
17
17
|
const require_prompts = require("./prompts-jhd7Iq7v.cjs");
|
|
18
18
|
const require_tracingOptions = require("./tracingOptions-C3Hcrnui.cjs");
|
|
19
19
|
let chalk = require("chalk");
|
|
@@ -48,7 +48,7 @@ var GoatProvider = class {
|
|
|
48
48
|
targetId: options.targetId
|
|
49
49
|
};
|
|
50
50
|
this.perTurnLayers = options._perTurnLayers ?? [];
|
|
51
|
-
this.nunjucks =
|
|
51
|
+
this.nunjucks = require_render.getNunjucksEngine();
|
|
52
52
|
require_logger.logger.debug("[GOAT] Constructor options", {
|
|
53
53
|
injectVar: options.injectVar,
|
|
54
54
|
maxTurns: options.maxTurns,
|
|
@@ -84,7 +84,7 @@ var GoatProvider = class {
|
|
|
84
84
|
let assertToUse;
|
|
85
85
|
let graderPassed;
|
|
86
86
|
let storedGraderResult;
|
|
87
|
-
const { getGraderById } = await Promise.resolve().then(() => require("./graders-
|
|
87
|
+
const { getGraderById } = await Promise.resolve().then(() => require("./graders-DpPGnz8u.cjs")).then((n) => n.graders_exports);
|
|
88
88
|
let test;
|
|
89
89
|
if (context?.test) {
|
|
90
90
|
test = context?.test;
|
|
@@ -202,10 +202,10 @@ var GoatProvider = class {
|
|
|
202
202
|
const attackerMessage = data.message;
|
|
203
203
|
previousAttackerMessage = attackerMessage?.content;
|
|
204
204
|
let processedMessage = attackerMessage.content;
|
|
205
|
-
const extractedPrompt = require_util
|
|
205
|
+
const extractedPrompt = require_util.extractPromptFromTags(attackerMessage.content);
|
|
206
206
|
if (extractedPrompt) processedMessage = extractedPrompt;
|
|
207
207
|
if (this.config.inputs) require_promptfoo.assertRemoteMaterializationHandled(data, "GOAT multi-input generation");
|
|
208
|
-
const currentInputVars = require_util
|
|
208
|
+
const currentInputVars = require_util.extractInputVarsFromPrompt(processedMessage, this.config.inputs);
|
|
209
209
|
let materializedInputVars;
|
|
210
210
|
if (currentInputVars && this.config.inputs) materializedInputVars = require_promptfoo.buildRemoteMaterializedInputVariables(data, currentInputVars, this.config.inputs);
|
|
211
211
|
const currentRenderInputVars = materializedInputVars?.vars ?? currentInputVars;
|
|
@@ -479,7 +479,7 @@ var GoatProvider = class {
|
|
|
479
479
|
totalSuccessfulAttacks: this.successfulAttacks.length,
|
|
480
480
|
storedGraderResult,
|
|
481
481
|
traceSnapshots: traceSnapshots.length > 0 ? traceSnapshots.map((snapshot) => require_tracingOptions.formatTraceForMetadata(snapshot)) : void 0,
|
|
482
|
-
sessionId: require_util
|
|
482
|
+
sessionId: require_util.getSessionId(lastTargetResponse, context),
|
|
483
483
|
...lastTransformDisplayVars && { transformDisplayVars: lastTransformDisplayVars }
|
|
484
484
|
},
|
|
485
485
|
tokenUsage: totalTokenUsage,
|
|
@@ -490,4 +490,4 @@ var GoatProvider = class {
|
|
|
490
490
|
//#endregion
|
|
491
491
|
exports.default = GoatProvider;
|
|
492
492
|
|
|
493
|
-
//# sourceMappingURL=goat-
|
|
493
|
+
//# sourceMappingURL=goat-Dorh32Ub.cjs.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { D as safeJsonStringify, o as logger } from "./logger-D4ion89i.js";
|
|
2
|
-
import {
|
|
3
|
-
import { X as VERSION, t as fetchWithProxy } from "./fetch-BdWQKDMj.js";
|
|
2
|
+
import { Z as VERSION, t as fetchWithProxy } from "./fetch-DnDg-Ics.js";
|
|
4
3
|
import { t as invariant } from "./invariant-CHP0zrix.js";
|
|
5
|
-
import { l as isLoggedIntoCloud, s as getUserEmail } from "./accounts-
|
|
4
|
+
import { l as isLoggedIntoCloud, s as getUserEmail } from "./accounts-BDud3p32.js";
|
|
6
5
|
import { n as sleep } from "./time-BPNW8jwJ.js";
|
|
6
|
+
import { o as getNunjucksEngine } from "./render-DIhuKgcQ.js";
|
|
7
7
|
import { d as createEmptyTokenUsage, n as accumulateAttackerTokenUsage, s as accumulateResponseTokenUsage } from "./tokenUsageUtils-T-dUB6UI.js";
|
|
8
|
-
import { c as neverGenerateRemote, i as getRemoteGenerationUrl, p as remoteGenerationContextPayload, r as getRemoteGenerationHeaders } from "./remoteGeneration-
|
|
9
|
-
import { S as throwIfTargetPromptExceedsMaxChars, _ as runRedteamGrader, a as callTargetProvider, d as getLastMessageContent, n as accumulateUnblockingTokenUsage, r as buildGraderResultAssertion, t as accumulateGraderResult, u as getGraderAssertionValue, v as tryUnblocking } from "./shared-
|
|
10
|
-
import { a as extractPromptFromTags, o as getSessionId, r as extractInputVarsFromPrompt } from "./util-
|
|
11
|
-
import { a as assertRemoteMaterializationHandled, c as isRemoteMaterializationUpgradeError, s as buildRemoteMaterializedInputVariables } from "./promptfoo-
|
|
12
|
-
import { n as checkExfilTracking } from "./indirectWebPwn-
|
|
13
|
-
import { n as renderPrompt } from "./evaluatorHelpers-
|
|
14
|
-
import { n as fetchTraceContext, t as extractTraceIdFromTraceparent } from "./traceContext-
|
|
15
|
-
import { t as Strategies } from "./strategies-
|
|
16
|
-
import { t as applyRuntimeTransforms } from "./runtimeTransform-
|
|
8
|
+
import { c as neverGenerateRemote, i as getRemoteGenerationUrl, p as remoteGenerationContextPayload, r as getRemoteGenerationHeaders } from "./remoteGeneration-DGJxSMYI.js";
|
|
9
|
+
import { S as throwIfTargetPromptExceedsMaxChars, _ as runRedteamGrader, a as callTargetProvider, d as getLastMessageContent, n as accumulateUnblockingTokenUsage, r as buildGraderResultAssertion, t as accumulateGraderResult, u as getGraderAssertionValue, v as tryUnblocking } from "./shared-BkcgE6vB.js";
|
|
10
|
+
import { a as extractPromptFromTags, o as getSessionId, r as extractInputVarsFromPrompt } from "./util-CEecmC3Y.js";
|
|
11
|
+
import { a as assertRemoteMaterializationHandled, c as isRemoteMaterializationUpgradeError, s as buildRemoteMaterializedInputVariables } from "./promptfoo-ByMuyN2p.js";
|
|
12
|
+
import { n as checkExfilTracking } from "./indirectWebPwn-DahWlbTc.js";
|
|
13
|
+
import { n as renderPrompt } from "./evaluatorHelpers-CZ2p3rWG.js";
|
|
14
|
+
import { n as fetchTraceContext, t as extractTraceIdFromTraceparent } from "./traceContext-jOhKJ5Ty.js";
|
|
15
|
+
import { t as Strategies } from "./strategies-CaqOj9gZ.js";
|
|
16
|
+
import { t as applyRuntimeTransforms } from "./runtimeTransform-Bf5Aif-g.js";
|
|
17
17
|
import { i as getGoalRubric } from "./prompts-BAm7XXwa.js";
|
|
18
18
|
import { n as formatTraceForMetadata, r as formatTraceSummary, t as resolveTracingOptions } from "./tracingOptions-CrsjyYIe.js";
|
|
19
19
|
import chalk from "chalk";
|
|
@@ -82,7 +82,7 @@ var GoatProvider = class {
|
|
|
82
82
|
let assertToUse;
|
|
83
83
|
let graderPassed;
|
|
84
84
|
let storedGraderResult;
|
|
85
|
-
const { getGraderById } = await import("./graders-
|
|
85
|
+
const { getGraderById } = await import("./graders-BWtqxJ75.js").then((n) => n.n);
|
|
86
86
|
let test;
|
|
87
87
|
if (context?.test) {
|
|
88
88
|
test = context?.test;
|
|
@@ -488,4 +488,4 @@ var GoatProvider = class {
|
|
|
488
488
|
//#endregion
|
|
489
489
|
export { GoatProvider as default };
|
|
490
490
|
|
|
491
|
-
//# sourceMappingURL=goat-
|
|
491
|
+
//# sourceMappingURL=goat-jg8kFsKP.js.map
|