promptfoo 0.121.7 → 0.121.9
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-Ca7WIoPY.js → accounts-4Xa5fcHy.js} +17 -18
- package/dist/src/{accounts-DanM1wq_.js → accounts-BAajbKSh.js} +17 -18
- package/dist/src/{accounts-CjFnOPmb.js → accounts-Bw2qPqE-.js} +18 -19
- package/dist/src/{accounts-CmWzeD2d.cjs → accounts-DAcQXPwE.cjs} +20 -21
- package/dist/src/{agentic-utils-DvPWSUpb.cjs → agentic-utils-C8eEgGG-.cjs} +3 -3
- package/dist/src/{agentic-utils-TxUEMPYS.js → agentic-utils-CP1IXFz3.js} +3 -3
- package/dist/src/{agentic-utils-DDEGRV9v.js → agentic-utils-CUwa3AE9.js} +3 -3
- package/dist/src/{agentic-utils-CJ0j3fBi.js → agentic-utils-DYr-aM6d.js} +3 -3
- package/dist/src/{agents-CBgJvRkB.js → agents-Bb00M6i5.js} +5 -5
- package/dist/src/{agents-D-vDNFx4.js → agents-CASf5zRj.js} +5 -5
- package/dist/src/{agents-B4sRuXg3.cjs → agents-CD1wH9bm.cjs} +5 -5
- package/dist/src/{agents-CYn2n3QP.js → agents-CZOHU7Q8.js} +5 -5
- package/dist/src/{agents-LrHuQqr1.js → agents-D539zhHr.js} +5 -5
- package/dist/src/{agents-B8q7h_ek.js → agents-DpRJdGBZ.js} +5 -5
- package/dist/src/{agents-QGg76OF-.js → agents-gZTW-8nu.js} +5 -5
- package/dist/src/{agents-eHZ9nlgA.cjs → agents-hix6c0Sh.cjs} +5 -5
- package/dist/src/{aimlapi-eYv3a_DK.js → aimlapi-DRQSL-Z4.js} +7 -7
- package/dist/src/{aimlapi-CJEbQ0o6.js → aimlapi-Dc3LW5zI.js} +7 -7
- package/dist/src/{aimlapi-D5HXzZ0s.js → aimlapi-KNYnjjU6.js} +7 -7
- package/dist/src/{aimlapi-T6HGNxNe.cjs → aimlapi-gnrgd_Ej.cjs} +7 -7
- package/dist/src/app/assets/Report-Clw_YCp-.js +1 -0
- package/dist/src/app/assets/index-BQHaquKk.css +1 -0
- package/dist/src/app/assets/{index-BnT6P6sF.js → index-CW3XcQK7.js} +6 -6
- package/dist/src/app/index.html +2 -2
- package/dist/src/{audio-FnxbEnSE.cjs → audio-BgFTqfMO.cjs} +5 -5
- package/dist/src/{audio-CPMtV1yR.js → audio-Cslbgd4l.js} +5 -5
- package/dist/src/{audio-DyiebVB3.js → audio-DOI8kth4.js} +5 -5
- package/dist/src/{audio-BqnRvcWG.js → audio-hewMOCUU.js} +5 -5
- package/dist/src/{authoritativeMarkupInjection-DyAXAsSr.js → authoritativeMarkupInjection-DgE4u_Rl.js} +8 -8
- package/dist/src/{authoritativeMarkupInjection-QEQmFS83.js → authoritativeMarkupInjection-gpm2K-Rp.js} +8 -8
- package/dist/src/{authoritativeMarkupInjection-BZIywVjG.js → authoritativeMarkupInjection-nrC4mSPQ.js} +7 -7
- package/dist/src/{authoritativeMarkupInjection-F2gBw0lN.cjs → authoritativeMarkupInjection-wG4x0yP2.cjs} +8 -8
- package/dist/src/{base-CKLo890h.js → base-0yya4DsM.js} +3 -3
- package/dist/src/{base-Co80MMCi.js → base-BARAIJmp.js} +3 -3
- package/dist/src/{base-DGJW48uz.cjs → base-BE_pY-r5.cjs} +3 -3
- package/dist/src/{base-E9I8zXjz.js → base-CTWzNAH9.js} +3 -3
- package/dist/src/{bestOfN-BBsO41z4.js → bestOfN-CV7ZKPw2.js} +8 -8
- package/dist/src/{bestOfN-_kTi8Bxe.js → bestOfN-DeucA4QS.js} +9 -9
- package/dist/src/{bestOfN-CAwmg5UL.cjs → bestOfN-DxcpVUvj.cjs} +9 -9
- package/dist/src/{bestOfN-B3wNzjSB.js → bestOfN-Ilxc2hMv.js} +9 -9
- package/dist/src/{blobs-B0977K1O.cjs → blobs-5wbW7TbH.cjs} +3 -3
- package/dist/src/{blobs-Dwef1Ao1.js → blobs-BfIMflt0.js} +3 -3
- package/dist/src/{blobs-DODuTK-a.js → blobs-CA4gXarv.js} +3 -3
- package/dist/src/{blobs-CeFdPn_T.js → blobs-ikh75MtF.js} +3 -3
- package/dist/src/{cache-DpPWrkTE.js → cache-BuudGL4I.js} +5 -5
- package/dist/src/{cache-DIXbtkNO.js → cache-CT5D7d_A.js} +4 -4
- package/dist/src/cache-CrL5EYgi.js +3 -0
- package/dist/src/{cache-CPGUA4Yl.cjs → cache-WuIsgzMA.cjs} +4 -4
- package/dist/src/{cache-roFAE0cI.js → cache-x9llZxbx.js} +5 -5
- package/dist/src/{chat-GmlolEwo.js → chat-B5NqvkS_.js} +3 -3
- package/dist/src/{chat-DqUFcWI0.js → chat-B8lsx0A0.js} +11 -11
- package/dist/src/{chat-DG1wG4w0.cjs → chat-BBlR1h8c.cjs} +3 -3
- package/dist/src/{chat-Dabu84Br.js → chat-CCtIXezK.js} +11 -11
- package/dist/src/{chat-TP8Qifkh.js → chat-CZOhFlzV.js} +3 -3
- package/dist/src/{chat-CUCorGiL.js → chat-CvQMD-mp.js} +11 -11
- package/dist/src/{chat-iwaM5UTQ.js → chat-Dh6mb5OL.js} +3 -3
- package/dist/src/{chat-DxTDQ83C.cjs → chat-DkitQHdt.cjs} +11 -11
- package/dist/src/{chatkit-fARZwEfV.js → chatkit-55cAEQb2.js} +4 -4
- package/dist/src/{chatkit-lb6FK02w.js → chatkit-B-uz3x63.js} +4 -4
- package/dist/src/{chatkit-B6DWi70Q.js → chatkit-Dxp6KO70.js} +4 -4
- package/dist/src/{chatkit-BYveR48_.cjs → chatkit-jEtokOVZ.cjs} +4 -4
- package/dist/src/{claude-agent-sdk-D5Jl0SDh.js → claude-agent-sdk-BVfdeahc.js} +9 -7
- package/dist/src/{claude-agent-sdk-DH416NBD.cjs → claude-agent-sdk-C0p-RhcW.cjs} +9 -7
- package/dist/src/{claude-agent-sdk-x1XJ1-pU.js → claude-agent-sdk-DB99Npst.js} +9 -7
- package/dist/src/{claude-agent-sdk-BQNp_y-F.js → claude-agent-sdk-DHyrhDUu.js} +9 -7
- package/dist/src/cloud-BA4aLhk0.js +3 -0
- package/dist/src/{cloud-D3DiFqH6.js → cloud-BbAl8dyj.js} +3 -3
- package/dist/src/{cloudflare-ai-RFSojyXG.js → cloudflare-ai-ChBxkojW.js} +5 -5
- package/dist/src/{cloudflare-ai-r4tbYmWU.js → cloudflare-ai-DDmTDys_.js} +5 -5
- package/dist/src/{cloudflare-ai-CEAW-xQa.cjs → cloudflare-ai-DPlNiC6I.cjs} +5 -5
- package/dist/src/{cloudflare-ai-B6NVI3ax.js → cloudflare-ai-UsZe6ndv.js} +5 -5
- package/dist/src/{cloudflare-gateway-TJMLBj6I.cjs → cloudflare-gateway-7b-lEtrb.cjs} +4 -4
- package/dist/src/{cloudflare-gateway-BaZ4insB.js → cloudflare-gateway-Bq5cqiV8.js} +4 -4
- package/dist/src/{cloudflare-gateway-CF-Vb-2Z.js → cloudflare-gateway-C0N-5s62.js} +4 -4
- package/dist/src/{cloudflare-gateway-BCkLouto.js → cloudflare-gateway-D5fm-QvC.js} +4 -4
- package/dist/src/{codex-app-server-DIXZ230V.js → codex-app-server-BG5Aphvl.js} +20 -5
- package/dist/src/{codex-app-server-B8KHEiF4.js → codex-app-server-BnPMlcjl.js} +20 -5
- package/dist/src/{codex-app-server-Dd22dC_N.js → codex-app-server-D6gbvJFw.js} +20 -5
- package/dist/src/{codex-app-server-CnrLBCeA.cjs → codex-app-server-Dl6BLKJn.cjs} +20 -5
- package/dist/src/{codex-sdk-B6Wah8Pa.js → codex-sdk-BnRTWAhS.js} +20 -8
- package/dist/src/codex-sdk-CChw5CYU.js +3 -0
- package/dist/src/{codex-sdk-CFF6gUyi.cjs → codex-sdk-Cy1pEjsQ.cjs} +20 -8
- package/dist/src/{codex-sdk-CmQABzV3.js → codex-sdk-D86dT4XV.js} +20 -8
- package/dist/src/{codex-sdk-D2d54RL8.js → codex-sdk-mgUqOG2C.js} +20 -8
- package/dist/src/{cometapi-CtzNCHKu.js → cometapi-CkOfr271.js} +8 -8
- package/dist/src/{cometapi-DHCDlQUI.cjs → cometapi-EB-Is7jj.cjs} +8 -8
- package/dist/src/{cometapi-OBILPLlu.js → cometapi-gvPhrXNM.js} +8 -8
- package/dist/src/{cometapi-Bu9B8NUY.js → cometapi-sBbQmdfk.js} +8 -8
- package/dist/src/{completion-DZNxcyfG.js → completion-BoWiFP-D.js} +7 -7
- package/dist/src/{completion-CO2e1_62.js → completion-C99GFqQE.js} +7 -7
- package/dist/src/{completion-sNvCLTAP.js → completion-CUtdijfr.js} +7 -7
- package/dist/src/{completion-CSYfl2cd.cjs → completion-CkRVjadz.cjs} +7 -7
- package/dist/src/{crescendo-QiaSLW0d.js → crescendo-B4EiUJ-M.js} +43 -22
- package/dist/src/{crescendo-BXEJK_bi.cjs → crescendo-BAN6NuWV.cjs} +45 -24
- package/dist/src/{crescendo-CU_Y2i-m.js → crescendo-CYzxmaSJ.js} +45 -24
- package/dist/src/{crescendo-J1Xx4_zb.js → crescendo-CrsXyaL0.js} +45 -24
- package/dist/src/{custom-BJfP00Bh.js → custom-C5K9QFs1.js} +13 -13
- package/dist/src/{custom-Cqia7M0D.cjs → custom-D1UjT5I5.cjs} +13 -13
- package/dist/src/{custom-CZVn-1-r.js → custom-DnMZvgB6.js} +13 -13
- package/dist/src/{custom-notggYVl.js → custom-EWterxkb.js} +11 -11
- package/dist/src/{docker-DdJQBxK9.js → docker-BFQc9ccU.js} +6 -6
- package/dist/src/{docker-D06JUoe2.cjs → docker-BMfsGXyn.cjs} +6 -6
- package/dist/src/{docker-4D1eL6Gq.js → docker-ChD4-eri.js} +6 -6
- package/dist/src/{docker-BBv1WUDu.js → docker-mZF5j6cW.js} +6 -6
- package/dist/src/{embedding-BbrwopfX.cjs → embedding-BMqFDnLI.cjs} +7 -7
- package/dist/src/{embedding--UZVe4_7.js → embedding-BQBXSWgy.js} +7 -7
- package/dist/src/{embedding-Bi3rxrZF.js → embedding-BwTB3YDt.js} +7 -7
- package/dist/src/{embedding-C251p1-8.js → embedding-cd5oPBkX.js} +7 -7
- package/dist/src/{esm-B6whoAcf.js → esm-CGER3lko.js} +2 -2
- package/dist/src/{esm-Bexx2PFc.js → esm-CYMWMaSj.js} +2 -2
- package/dist/src/{esm-BTK1W7lG.js → esm-C_yrt93A.js} +2 -2
- package/dist/src/{esm-BIKakvNa.cjs → esm-vv4rR-Dp.cjs} +2 -2
- package/dist/src/{eval-0VRANImH.js → eval-DmGWplIN.js} +10 -10
- package/dist/src/{eval-DscR5iOM.js → eval-N_VV5NZg.js} +1 -1
- package/dist/src/{evalResult-CvtS8h8u.cjs → evalResult-BZld6I3I.cjs} +6 -6
- package/dist/src/{evalResult-eUkJv9Ko.js → evalResult-ByGP9zuP.js} +7 -7
- package/dist/src/evalResult-CPPINYHK.js +3 -0
- package/dist/src/{evalResult-2RRJvFyB.js → evalResult-gEmQRANj.js} +6 -6
- package/dist/src/evaluator-B01pCdUY.js +3 -0
- package/dist/src/{evaluator-DRoiYB2q.js → evaluator-BpaUYhLY.js} +37 -37
- package/dist/src/{evaluatorHelpers-CRqTvSux.cjs → evaluatorHelpers-2gpZ9Q_f.cjs} +10 -10
- package/dist/src/{evaluatorHelpers-DuqFFfq7.js → evaluatorHelpers-C8C8WQTv.js} +10 -10
- package/dist/src/{evaluatorHelpers-BsYP_muT.js → evaluatorHelpers-DDG44JeI.js} +10 -10
- package/dist/src/{extractor-CxRtnaHl.js → extractor-Bjz9sdTQ.js} +6 -6
- package/dist/src/{extractor-CIW3iN-b.js → extractor-CtadTcJm.js} +6 -6
- package/dist/src/{extractor-BR7XAzAL.js → extractor-DAnauX2V.js} +6 -6
- package/dist/src/{extractor-BdxEtt3J.cjs → extractor-nyUwvU2U.cjs} +6 -6
- package/dist/src/{fetch-Dw4XZHjj.cjs → fetch-B2HvaVUc.cjs} +14 -12
- package/dist/src/{fetch-DXUnXkVU.js → fetch-C59QM4cf.js} +10 -8
- package/dist/src/{fetch-BufrQtvR.js → fetch-CBe8pU8Q.js} +10 -8
- package/dist/src/{fetch-It34O8Ur.js → fetch-CHJu2KON.js} +9 -7
- package/dist/src/fetch-D_XnRfBV.js +3 -0
- package/dist/src/{goat-Ckd3q3AY.js → goat-0HwO0EB2.js} +22 -21
- package/dist/src/{goat-una6pZGP.cjs → goat-7wQgRcT4.cjs} +22 -21
- package/dist/src/{goat-ghadEDdy.js → goat-BNX0lOFx.js} +20 -19
- package/dist/src/{goat-Qgurm-NP.js → goat-BOVnOl5S.js} +22 -21
- package/dist/src/{graders-BGP99PdK.js → graders-BnO-xoa-.js} +30 -30
- package/dist/src/{graders-ClrU2fnd.cjs → graders-CQv1GT5Q.cjs} +29 -29
- package/dist/src/graders-D4vc1PFi.js +3 -0
- package/dist/src/{graders-BX0f2tvS.js → graders-GNRQ1357.js} +29 -29
- package/dist/src/{graders-C0nXU_ZP.js → graders-k8qmhrPu.js} +31 -31
- package/dist/src/{hydra-BSNZZm2M.js → hydra-BrgGALmB.js} +38 -20
- package/dist/src/{hydra-BxdG4nkg.js → hydra-C38LOovb.js} +36 -18
- package/dist/src/{hydra-DE4xWwyc.js → hydra-CXc0p63W.js} +38 -20
- package/dist/src/{hydra-DrJttnvw.cjs → hydra-Hdj65j0k.cjs} +38 -20
- package/dist/src/{image-B_fPIwdg.js → image-6u3WZ_7H.js} +5 -5
- package/dist/src/{image-BN-hjLL9.js → image-B6hCz0z3.js} +5 -5
- package/dist/src/{image-BvUAW344.js → image-CgmaPlV_.js} +7 -7
- package/dist/src/{image-QzmydkiG.js → image-DXbwwL-r.js} +5 -5
- package/dist/src/{image-X0oY4350.cjs → image-Daa_X_YB.cjs} +7 -7
- package/dist/src/{image-Cvjwx1uY.js → image-DmC5qwQx.js} +7 -7
- package/dist/src/{image-DfVCGPbI.cjs → image-TY6FsHmn.cjs} +5 -5
- package/dist/src/{image-B4oBtu6J.js → image-V0-pYiBI.js} +7 -7
- package/dist/src/index.cjs +137 -140
- package/dist/src/index.d.cts +13 -0
- package/dist/src/index.d.ts +13 -0
- package/dist/src/index.js +137 -140
- package/dist/src/{indirectWebPwn-BJ22AbQa.cjs → indirectWebPwn-04ziKbly.cjs} +5 -5
- package/dist/src/{indirectWebPwn-tNx9OZ35.js → indirectWebPwn-1gHqaL91.js} +5 -5
- package/dist/src/{indirectWebPwn-DBQhOjoD.js → indirectWebPwn-B0CAtvZJ.js} +6 -6
- package/dist/src/{indirectWebPwn-uyWdHx04.js → indirectWebPwn-BXUoJl4I.js} +5 -5
- package/dist/src/{indirectWebPwn-02ZIghCS.js → indirectWebPwn-Biy9I52D.js} +6 -6
- package/dist/src/{indirectWebPwn-OsXnKejv.js → indirectWebPwn-BoPqjm9W.js} +6 -6
- package/dist/src/{indirectWebPwn-CbjUG0rh.js → indirectWebPwn-DRYpRTx6.js} +5 -5
- package/dist/src/{indirectWebPwn-CfQJt3gk.cjs → indirectWebPwn-MiCFTfzI.cjs} +6 -6
- package/dist/src/{inputVariables-DUGMb9Ka.js → inputVariables-B7cylqzM.js} +2 -2
- package/dist/src/{inputVariables-Dq9W-Z3a.cjs → inputVariables-D5K2vTp4.cjs} +2 -2
- package/dist/src/{inputVariables-B0qUChbV.js → inputVariables-DpOsOnzU.js} +3 -3
- package/dist/src/{inputVariables-DXFdi7AI.js → inputVariables-qJmuSN5i.js} +3 -3
- package/dist/src/{interactiveCheck-C4QlIuoR.js → interactiveCheck-BLnDrfjg.js} +2 -2
- package/dist/src/{iterative-FTS4Bz67.js → iterative-BDRx_noa.js} +29 -19
- package/dist/src/{iterative-CpU6i2As.js → iterative-BZxrxnoh.js} +27 -17
- package/dist/src/{iterative-DQBuWM-j.cjs → iterative-KSovqu_j.cjs} +29 -19
- package/dist/src/{iterative-DJQEQpG3.js → iterative-vxBU1IPs.js} +29 -19
- package/dist/src/{iterativeImage-Doz8mgxF.js → iterativeImage-BZuMd4x3.js} +7 -7
- package/dist/src/{iterativeImage-BUABMVOA.js → iterativeImage-DUWLmyVM.js} +6 -6
- package/dist/src/{iterativeImage-ByFWkxax.cjs → iterativeImage-DqNKoaIl.cjs} +7 -7
- package/dist/src/{iterativeImage-BzUapOUi.js → iterativeImage-DwIp1WGB.js} +7 -7
- package/dist/src/{iterativeMeta-CSS8M6Ds.cjs → iterativeMeta-9gsvnsl1.cjs} +39 -19
- package/dist/src/{iterativeMeta-B3YiAOc8.js → iterativeMeta-AgI6UEh6.js} +39 -19
- package/dist/src/{iterativeMeta-C7APE_P1.js → iterativeMeta-BbcVN5nQ.js} +39 -19
- package/dist/src/{iterativeMeta-DgoQ7bLh.js → iterativeMeta-BcF8LsFk.js} +37 -17
- package/dist/src/{iterativeTree-B5zxBBSW.js → iterativeTree-5TLHU9Kx.js} +81 -31
- package/dist/src/{iterativeTree-CPMF10ve.cjs → iterativeTree-7XyY_zdo.cjs} +81 -31
- package/dist/src/{iterativeTree-DvZ7GBwt.js → iterativeTree-CnHx_kPu.js} +81 -31
- package/dist/src/{iterativeTree-CNyIk0Yn.js → iterativeTree-D9I3UJ0P.js} +79 -29
- package/dist/src/{knowledgeBase-CkMljjdg.js → knowledgeBase-BGbDBwr5.js} +5 -5
- package/dist/src/{knowledgeBase-Bi_8sV-H.js → knowledgeBase-BzfBwPyQ.js} +5 -5
- package/dist/src/{knowledgeBase-BadkINlJ.js → knowledgeBase-C_MSTwDt.js} +5 -5
- package/dist/src/{knowledgeBase-DUh34xba.cjs → knowledgeBase-DSVK_YTi.cjs} +5 -5
- package/dist/src/{litellm-BXyn5kZK.js → litellm-CRTmskqC.js} +5 -5
- package/dist/src/{litellm-BKBo0jpC.js → litellm-Ch4E-r4b.js} +5 -5
- package/dist/src/{litellm-CNcfbCfa.js → litellm-DNnk7802.js} +5 -5
- package/dist/src/{litellm-CtAr7bKG.cjs → litellm-jA4_p8mv.cjs} +5 -5
- package/dist/src/{logger-KD8JjCRJ.js → logger-BjYLHvGm.js} +56 -25
- package/dist/src/{logger-cfNpzI4o.cjs → logger-Cm0Nb8YX.cjs} +34 -3
- package/dist/src/{logger-Ct2S6Yx-.js → logger-Cs0I2v_y.js} +34 -3
- package/dist/src/{logger-BbY6ypFL.js → logger-h-eiS4iv.js} +34 -3
- package/dist/src/{luma-ray-D3FUc2K3.cjs → luma-ray-BCkN79tz.cjs} +5 -5
- package/dist/src/{luma-ray-CR5TSpp4.js → luma-ray-BqVizUQY.js} +5 -5
- package/dist/src/{luma-ray-BMX1iEB6.js → luma-ray-CD7rd6KW.js} +5 -5
- package/dist/src/{luma-ray-OEMmS1RB.js → luma-ray-DLWLjDCa.js} +5 -5
- package/dist/src/main.js +143 -146
- package/dist/src/{memoryPoisoning-Dp-btinn.cjs → memoryPoisoning-BXDi4XCK.cjs} +8 -8
- package/dist/src/{memoryPoisoning-CM83NWYl.js → memoryPoisoning-D-V4yXjj.js} +8 -8
- package/dist/src/{memoryPoisoning-D8h9gXJF.js → memoryPoisoning-PrsT7Zh2.js} +8 -8
- package/dist/src/{memoryPoisoning-cLuCoTuJ.js → memoryPoisoning-ZUwCLvEn.js} +8 -8
- package/dist/src/{messages-DBPir0TQ.cjs → messages-BSFLFXIO.cjs} +8 -8
- package/dist/src/{messages-BabO-cX8.js → messages-C5qBfONg.js} +8 -8
- package/dist/src/{messages-DGUlSNU7.js → messages-CQoK4jHx.js} +8 -8
- package/dist/src/{messages-vsE_-Lv0.js → messages-Dy5vvc3H.js} +8 -8
- package/dist/src/{mischievousUser-olGgHIVR.cjs → mischievousUser-B4_YRWqu.cjs} +5 -5
- package/dist/src/{mischievousUser-frFYKxu6.js → mischievousUser-BoZy3Fry.js} +5 -5
- package/dist/src/{mischievousUser-BUOP9W5r.js → mischievousUser-CjJ9ZEuw.js} +5 -5
- package/dist/src/{mischievousUser-0l8GD7Dp.js → mischievousUser-CrMXlOUj.js} +5 -5
- package/dist/src/{modelslab-EyDczZ5A.js → modelslab-B72XbAlR.js} +8 -8
- package/dist/src/{modelslab-Dzst7VTU.js → modelslab-Bw-46LmW.js} +8 -8
- package/dist/src/{modelslab-Cogmu4mG.js → modelslab-CJ0zQdDH.js} +8 -8
- package/dist/src/{modelslab-CNV5bMSk.cjs → modelslab-LXFLCD-O.cjs} +8 -8
- package/dist/src/{nova-reel-CjJRxI1X.cjs → nova-reel-D0k0-k8Y.cjs} +5 -5
- package/dist/src/{nova-reel-C4eUJGse.js → nova-reel-DItvBa6z.js} +5 -5
- package/dist/src/{nova-reel-BGPNBOMS.js → nova-reel-DN7gTJzd.js} +5 -5
- package/dist/src/{nova-reel-B_5NKFu1.js → nova-reel-DRLvlFOH.js} +5 -5
- package/dist/src/{nova-sonic-BNGmgfFz.js → nova-sonic-BeAjEzkG.js} +3 -3
- package/dist/src/{nova-sonic-CrV0iaY_.js → nova-sonic-DB7LzcCY.js} +3 -3
- package/dist/src/{nova-sonic-DuOG9Aun.cjs → nova-sonic-DfLkPbkF.cjs} +3 -3
- package/dist/src/{nova-sonic-ChPlh5na.js → nova-sonic-kzIVxZDb.js} +3 -3
- package/dist/src/{openai-BMHD2Huo.js → openai-Bfbg6L4c.js} +2 -2
- package/dist/src/{openai-C3uXv8wS.cjs → openai-CCaz18I4.cjs} +2 -2
- package/dist/src/{openai-CJrsh9n4.js → openai-CJOpg_dA.js} +2 -2
- package/dist/src/{openai-zgwBb4Ff.js → openai-uRacy72N.js} +2 -2
- package/dist/src/{openclaw-zIJAsz3P.js → openclaw-2Y9Ukt9Y.js} +9 -9
- package/dist/src/{openclaw-CF7fMido.js → openclaw-BdnuiqBG.js} +9 -9
- package/dist/src/{openclaw-Dphc01BY.cjs → openclaw-D54hA9Fe.cjs} +9 -9
- package/dist/src/{openclaw-BIHlu_36.js → openclaw-DRjsDCSS.js} +9 -9
- package/dist/src/{opencode-sdk-B3vlPLsp.js → opencode-sdk-2su-bzyz.js} +38 -9
- package/dist/src/{opencode-sdk-DoY6GbWw.cjs → opencode-sdk-BRkqgOOQ.cjs} +38 -9
- package/dist/src/{opencode-sdk-D05JSgMQ.js → opencode-sdk-CFY-1bkH.js} +38 -9
- package/dist/src/{opencode-sdk-sRKYHGoI.js → opencode-sdk-D-tRQJ9s.js} +38 -9
- package/dist/src/{otlpReceiver-B2eaKC8C.js → otlpReceiver-BkB7tsTT.js} +3 -3
- package/dist/src/{otlpReceiver--gTpSagc.js → otlpReceiver-BqJYGC-M.js} +4 -4
- package/dist/src/{otlpReceiver-BXjcRqAM.js → otlpReceiver-CRwU2egH.js} +4 -4
- package/dist/src/{otlpReceiver-CvJdBGSc.cjs → otlpReceiver-DOl5S07u.cjs} +4 -4
- package/dist/src/{packageParser--MWTSrPW.js → packageParser-B3bpKHK4.js} +2 -2
- package/dist/src/{packageParser-hwwSGnAZ.js → packageParser-CZdMKLBh.js} +2 -2
- package/dist/src/{packageParser-CgE-ziRo.js → packageParser-D7YWfcSe.js} +2 -2
- package/dist/src/{packageParser-QoCS1FMl.cjs → packageParser-DR054ceU.cjs} +2 -2
- package/dist/src/{promptLength-B9nZEfO6.js → promptLength-5B4_P93z.js} +2 -2
- package/dist/src/{promptLength-BbBbDHNj.cjs → promptLength-CAcg7BmO.cjs} +2 -2
- package/dist/src/{promptLength-4X-Wd8PG.js → promptLength-PkjlYFx0.js} +2 -2
- package/dist/src/{promptLength-0qIHyhA5.js → promptLength-ho3wbst6.js} +2 -2
- package/dist/src/{promptfoo-BDrfT30-.js → promptfoo-CEsoPlBa.js} +67 -10
- package/dist/src/{promptfoo-b-baRMj-.cjs → promptfoo-DAXBmrE6.cjs} +96 -9
- package/dist/src/{promptfoo-Cm4hiy1Y.js → promptfoo-DVKqidd8.js} +67 -10
- package/dist/src/{promptfoo-Rjp-MeBb.js → promptfoo-wxe28-q9.js} +67 -10
- package/dist/src/{providerRegistry-DHcFiVWX.js → providerRegistry-Bf4tRLgu.js} +2 -2
- package/dist/src/{providerRegistry-CZO_w7ue.cjs → providerRegistry-DKbi2EbP.cjs} +2 -2
- package/dist/src/{providerRegistry-ReCd0sFa.js → providerRegistry-DLeG-xXn.js} +2 -2
- package/dist/src/{providerRegistry-1gB5vtzQ.js → providerRegistry-v8Wa3f9z.js} +2 -2
- package/dist/src/{providers-B9KzWxAX.js → providers-CYBHjFEg.js} +178 -126
- package/dist/src/{providers-BCCz6_IX.js → providers-DDLQc0tl.js} +177 -125
- package/dist/src/{providers-BDVVIQM6.cjs → providers-DP1CDgd5.cjs} +176 -124
- package/dist/src/{providers-DVYRZP4E.js → providers-DTPwadhk.js} +176 -124
- package/dist/src/{providers-BYAn82cf.js → providers-DvBFcsXi.js} +1 -1
- package/dist/src/{pythonUtils-Cokhluq3.cjs → pythonUtils-BjuymNdM.cjs} +3 -3
- package/dist/src/{pythonUtils-D0BYebvX.js → pythonUtils-C4Wnz6Q7.js} +3 -3
- package/dist/src/{pythonUtils-CLCgQ9tt.js → pythonUtils-CBe7VV6f.js} +3 -3
- package/dist/src/{pythonUtils-CgYxeSmO.js → pythonUtils-CLAoc6jg.js} +3 -3
- package/dist/src/{quiverai-CdTWPe-A.js → quiverai-B6ebiUKf.js} +6 -6
- package/dist/src/{quiverai-Cv7rJKDz.js → quiverai-BG7dvOQc.js} +6 -6
- package/dist/src/{quiverai-BAp6iTZD.cjs → quiverai-DH6SMaxD.cjs} +6 -6
- package/dist/src/{quiverai-BvIhI_0l.js → quiverai-DHNIAUfS.js} +6 -6
- package/dist/src/{registry-BUJrgjwv.js → registry-BKlwRYvr.js} +14 -14
- package/dist/src/{registry-KCVF1CFC.cjs → registry-CQHRTGYs.cjs} +14 -14
- package/dist/src/{registry-Dp5EqoXc.js → registry-Eiv-QeUm.js} +14 -14
- package/dist/src/{registry-DXm1t_x0.js → registry-qNoxbVEb.js} +14 -14
- package/dist/src/{remoteGeneration-DS9N3pgB.cjs → remoteGeneration-CD3c_rzc.cjs} +6 -6
- package/dist/src/{remoteGeneration-DsaSwmG2.js → remoteGeneration-CoxtxLvB.js} +6 -6
- package/dist/src/{remoteGeneration-B1_XsKXU.js → remoteGeneration-DW6mPZnO.js} +6 -6
- package/dist/src/{remoteGeneration-COpWcmWd.js → remoteGeneration-DvWEm3yi.js} +6 -6
- package/dist/src/{render-_6ur1fhE.js → render-BoxrvB84.js} +2 -2
- package/dist/src/{render-DFfDeYUK.js → render-CTZQAINJ.js} +2 -2
- package/dist/src/{render-BNTrbmBw.cjs → render-DJ4yipCD.cjs} +2 -2
- package/dist/src/{render-DznWrxGO.js → render-MiyTvDY4.js} +2 -2
- package/dist/src/{render-CSP99NLm.js → render-jE6RKVgk.js} +2 -2
- package/dist/src/{responses-1UFFF9N_.cjs → responses-Bs2_3zyr.cjs} +14 -10
- package/dist/src/{responses-B3W2JvOQ.js → responses-C0yU3fO6.js} +14 -10
- package/dist/src/{responses-URRzV8qE.js → responses-C2vhwf8F.js} +14 -10
- package/dist/src/{responses-B6ktc3Ra.js → responses-pvlY3oYx.js} +14 -10
- package/dist/src/{rubyUtils-CnlW8AYb.js → rubyUtils-AvgsD_QH.js} +3 -3
- package/dist/src/{rubyUtils-CqUWBZAt.cjs → rubyUtils-BEqeZynS.cjs} +3 -3
- package/dist/src/{rubyUtils-CXlFM2rR.js → rubyUtils-C-sxXgGT.js} +3 -3
- package/dist/src/{rubyUtils-DdGojpfv.js → rubyUtils-DFzPvVD4.js} +3 -3
- package/dist/src/rubyUtils-DfYaGbxe.js +3 -0
- package/dist/src/{runtimeTransform-DigbjU1r.js → runtimeTransform-BmhEztlx.js} +2 -2
- package/dist/src/{runtimeTransform-BJOpL9Yc.js → runtimeTransform-Bw9Tttpp.js} +2 -2
- package/dist/src/{runtimeTransform-ON3YYILw.cjs → runtimeTransform-DJEknTZQ.cjs} +2 -2
- package/dist/src/{runtimeTransform-Dgh_D7DU.js → runtimeTransform-s14J7yxm.js} +2 -2
- package/dist/src/{sagemaker-yr1QKeBs.js → sagemaker-C8NJAT8D.js} +11 -11
- package/dist/src/{sagemaker-vhtSV7JI.js → sagemaker-DlajLLgJ.js} +11 -11
- package/dist/src/{sagemaker-CujrzP1a.js → sagemaker-PgIzjxMt.js} +11 -11
- package/dist/src/{sagemaker-DzffAqo_.cjs → sagemaker-hwPXLGI4.cjs} +11 -11
- package/dist/src/{scanner-DS0109SS.js → scanner-B3DPvw5u.js} +6 -6
- package/dist/src/server/index.js +145 -148
- package/dist/src/{server-DhMHosWj.js → server-4wx571OM.js} +6 -6
- package/dist/src/{server-Ddp8GNMp.js → server-8in_Vrrf.js} +6 -6
- package/dist/src/server-BHd6SQYX.js +3 -0
- package/dist/src/{server-CMJD10J4.js → server-pMTgWs3M.js} +4 -4
- package/dist/src/{server-B8rqV126.cjs → server-yHhoBx98.cjs} +4 -4
- package/dist/src/{shared-D6IjElRI.js → shared-BF25a7ms.js} +12 -12
- package/dist/src/{shared-WkgnDkcg.cjs → shared-DlmtkptR.cjs} +12 -12
- package/dist/src/{shared-9WHQ1oNE.js → shared-DsbObxvy.js} +12 -12
- package/dist/src/{shared-7pmVZLNO.js → shared-yBQATkD5.js} +13 -13
- package/dist/src/{signal-CSurUUyV.js → signal-CRrWj2xI.js} +3 -3
- package/dist/src/{simulatedUser-Cu601Dd4.cjs → simulatedUser-9A3YPDh2.cjs} +7 -7
- package/dist/src/{simulatedUser-C9aQObBI.js → simulatedUser-CbZZV7UQ.js} +7 -7
- package/dist/src/{simulatedUser-U_qAHnuB.js → simulatedUser-DdcsTBuS.js} +7 -7
- package/dist/src/{simulatedUser-p3tACcmw.js → simulatedUser-LKk31Iov.js} +7 -7
- package/dist/src/{slack-Bapo-7_8.js → slack-CWxUAo6N.js} +2 -2
- package/dist/src/{slack-DMC1QVEg.cjs → slack-CtMQnlyy.cjs} +2 -2
- package/dist/src/{slack-DTEFhrMn.js → slack-DrcMAkvd.js} +2 -2
- package/dist/src/{slack-k-_CP84Q.js → slack-chzmaYU3.js} +2 -2
- package/dist/src/{storage-BU4qcnOb.js → storage-B9lg2RCL.js} +6 -6
- package/dist/src/{storage-QdU-SmvD.js → storage-BC9TzmHh.js} +5 -5
- package/dist/src/{storage-CA-v9V2v.cjs → storage-Cv7QYUPO.cjs} +4 -4
- package/dist/src/{storage-CD-GWAdx.js → storage-fbHNSuZ9.js} +4 -4
- package/dist/src/{store-B2NDDooM.cjs → store-BKN4VD-m.cjs} +3 -3
- package/dist/src/{store-HpopRVzl.js → store-C4eo8Kyv.js} +3 -3
- package/dist/src/store-mJpYYA7W.js +3 -0
- package/dist/src/{store-DKd5592Q.js → store-u1XNK3e8.js} +3 -3
- package/dist/src/{strategies-CiSeroPH.js → strategies-4Nnr_9xt.js} +18 -18
- package/dist/src/{strategies-7CS3Alao.cjs → strategies-BD7US9WB.cjs} +18 -18
- package/dist/src/{strategies-DRJjGTIY.js → strategies-Ptz_P4P4.js} +20 -20
- package/dist/src/{tables-CRSXQ2Ke.js → tables-Bn3_8sxV.js} +2 -2
- package/dist/src/{tables-DafUHOeh.js → tables-D_ZGKiGc.js} +3 -3
- package/dist/src/{tables-DBIJU0WE.cjs → tables-D_s2HMPP.cjs} +2 -2
- package/dist/src/{tables-CxjU7bBd.js → tables-PWOqfbI_.js} +3 -3
- package/dist/src/{telemetry-DwX9XUN5.js → telemetry-BTIhfopq.js} +21 -16
- package/dist/src/{telemetry-00ezXr_t.js → telemetry-BU80NveV.js} +21 -16
- package/dist/src/telemetry-CVHVhMOI.js +3 -0
- package/dist/src/{telemetry-DmXYcJNV.js → telemetry-D3yQCekN.js} +21 -16
- package/dist/src/{telemetry-CJ7FnCsc.cjs → telemetry-DvzmDrSM.cjs} +21 -16
- package/dist/src/{tracingOptions-BnwKCkSB.js → tracingOptions-D2F0D7es.js} +4 -4
- package/dist/src/{tracingOptions-Chi74lOD.js → tracingOptions-PLePpCmo.js} +3 -3
- package/dist/src/{tracingOptions-ji2OuXbT.js → tracingOptions-WpE9IqC8.js} +4 -4
- package/dist/src/{tracingOptions-DrbSFaKy.cjs → tracingOptions-eqmq5sA2.cjs} +4 -4
- package/dist/src/{transcription-mzuf18Mq.cjs → transcription-CKLxdMxm.cjs} +7 -7
- package/dist/src/{transcription-B8uIgCYX.js → transcription-CmlDorqD.js} +7 -7
- package/dist/src/{transcription-CfU5loSq.js → transcription-Cupf4JNw.js} +7 -7
- package/dist/src/{transcription-Dkd22_4K.js → transcription-sOgdGxM6.js} +7 -7
- package/dist/src/{transform-BnSXWmU_2.cjs → transform-0wnBYYaL2.cjs} +4 -4
- package/dist/src/{transform-EtD4jAWi.js → transform-AfC8gqCB.js} +5 -5
- package/dist/src/{transform-CGt7Kt3y2.js → transform-BDSnWRNv2.js} +4 -4
- package/dist/src/{transform-BnSTnFlp.js → transform-C5pxvKUV.js} +4 -4
- package/dist/src/{transform-CrPGTsij.js → transform-C5rpIuDz.js} +4 -4
- package/dist/src/{transform-DmvYBRll.js → transform-D7QlmswG.js} +5 -5
- package/dist/src/{transform-DhNkAUs8.cjs → transform-DKw2FNwg.cjs} +5 -5
- package/dist/src/{transform-BIMynQsA.js → transform-R1PnNdLv.js} +5 -5
- package/dist/src/{types-BFevViUY.js → types-C_e_SykX.js} +2 -2
- package/dist/src/{types-BJQBBPTP.js → types-uLCKnRiK.js} +2 -2
- package/dist/src/{util-CN8om2rz.cjs → util-3BRss2KA.cjs} +7 -7
- package/dist/src/{util-efByNxcr.js → util-B2Nt2Oy7.js} +25 -7
- package/dist/src/{util-I-Rf-KaD.js → util-BGfk7zh7.js} +8 -8
- package/dist/src/{util-5WnCSb0h.js → util-BLSQ_7Ky.js} +25 -7
- package/dist/src/{util-IYzs5Y04.cjs → util-BSZPCmvm.cjs} +4 -3
- package/dist/src/{util-SPsvFONY.cjs → util-BuYzkbEz.cjs} +7 -7
- package/dist/src/{util-LKTmNsMQ.js → util-C6d3eV0A.js} +25 -7
- package/dist/src/{util-DURocbYR.js → util-CES4qWd7.js} +8 -8
- package/dist/src/{util-Df8YMvS1.js → util-CKZReNsz.js} +8 -8
- package/dist/src/{util-BSIuSLVK.cjs → util-Cs372i1_.cjs} +25 -7
- package/dist/src/{util-CoQWM76y.js → util-Cw9nJJWm.js} +4 -3
- package/dist/src/{util-DNl96nNs.js → util-D1NKMz55.js} +7 -7
- package/dist/src/{util-kDURhgJW.js → util-D9grslJP.js} +8 -8
- package/dist/src/{util--WMgw7wM.js → util-SNUDkWJ8.js} +4 -3
- package/dist/src/{util-Bx677_k2.js → util-vaCPFatZ.js} +7 -7
- package/dist/src/{util-DiQ3QvBB.js → util-weQgMdSy.js} +4 -3
- package/dist/src/{utils-Ve6kuJsa.cjs → utils-B_HCobst.cjs} +2 -2
- package/dist/src/{utils-BGY69tk_.js → utils-C3qMBhJT.js} +2 -2
- package/dist/src/{utils-BFOh20Gb.js → utils-Cdx3ZJr7.js} +2 -2
- package/dist/src/{utils-B0lzitHZ.js → utils-DMWnIu_V.js} +2 -2
- package/dist/src/{version-BK20a4sw.js → version-BGiEZvX0.js} +2 -2
- package/dist/src/{version-lpHV_53E.js → version-BNhpIb2U.js} +2 -2
- package/dist/src/{version-eRkNuGv8.js → version-CnYqmWbz.js} +2 -2
- package/dist/src/{version-BWCSaByA.cjs → version-XjGPawtU.cjs} +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +17 -17
- package/dist/src/app/assets/Report-BNHJKN35.js +0 -1
- package/dist/src/app/assets/index-yhM8y1PP.css +0 -1
- package/dist/src/cache-Cf7b4pWE.js +0 -3
- package/dist/src/cloud-p96PA4MH.js +0 -3
- package/dist/src/codex-sdk-BGjVAk23.js +0 -3
- package/dist/src/evalResult-DqzsS6_W.js +0 -3
- package/dist/src/evaluator-DNdJF1Gv.js +0 -3
- package/dist/src/fetch-_YgGd2qv.js +0 -3
- package/dist/src/graders-BDT7dif6.js +0 -3
- package/dist/src/rubyUtils-BYVlQ94c.js +0 -3
- package/dist/src/server-BaLytskk.js +0 -3
- package/dist/src/store-IbiRIF3k.js +0 -3
- package/dist/src/telemetry-ByPqDcKC.js +0 -3
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_rolldown_runtime = require("./rolldown-runtime-D_mwlA32.cjs");
|
|
2
|
-
const require_logger = require("./logger-
|
|
3
|
-
const require_fetch = require("./fetch-
|
|
4
|
-
const require_version = require("./version-
|
|
5
|
-
const require_accounts = require("./accounts-
|
|
2
|
+
const require_logger = require("./logger-Cm0Nb8YX.cjs");
|
|
3
|
+
const require_fetch = require("./fetch-B2HvaVUc.cjs");
|
|
4
|
+
const require_version = require("./version-XjGPawtU.cjs");
|
|
5
|
+
const require_accounts = require("./accounts-DAcQXPwE.cjs");
|
|
6
6
|
let zod = require("zod");
|
|
7
7
|
let posthog_node = require("posthog-node");
|
|
8
8
|
//#region src/telemetry.ts
|
|
@@ -56,24 +56,24 @@ const TELEMETRY_TIMEOUT_MS = 1e3;
|
|
|
56
56
|
var Telemetry = class {
|
|
57
57
|
telemetryDisabledRecorded = false;
|
|
58
58
|
id;
|
|
59
|
-
email;
|
|
60
59
|
constructor() {
|
|
61
60
|
this.id = require_accounts.getUserId();
|
|
62
|
-
this.email = require_accounts.getUserEmail();
|
|
63
61
|
this.identify();
|
|
64
62
|
}
|
|
63
|
+
getPersonProperties(ciFlag) {
|
|
64
|
+
return {
|
|
65
|
+
...require_accounts.getUserAuthInfo(),
|
|
66
|
+
isRunningInCi: ciFlag
|
|
67
|
+
};
|
|
68
|
+
}
|
|
65
69
|
async identify() {
|
|
66
70
|
if (this.disabled || require_logger.getEnvBool("IS_TESTING")) return;
|
|
67
71
|
const client = getPostHogClient();
|
|
68
72
|
if (client) try {
|
|
73
|
+
const personProperties = this.getPersonProperties(require_logger.isCI());
|
|
69
74
|
client.identify({
|
|
70
75
|
distinctId: this.id,
|
|
71
|
-
properties:
|
|
72
|
-
email: this.email,
|
|
73
|
-
isLoggedIntoCloud: require_accounts.isLoggedIntoCloud(),
|
|
74
|
-
authMethod: require_accounts.getAuthMethod(),
|
|
75
|
-
isRunningInCi: require_logger.isCI()
|
|
76
|
-
}
|
|
76
|
+
properties: personProperties
|
|
77
77
|
});
|
|
78
78
|
client.flush().catch(() => {});
|
|
79
79
|
} catch (error) {
|
|
@@ -94,17 +94,22 @@ var Telemetry = class {
|
|
|
94
94
|
else this.sendEvent(eventName, properties);
|
|
95
95
|
}
|
|
96
96
|
sendEvent(eventName, properties) {
|
|
97
|
+
const ciFlag = require_logger.isCI();
|
|
98
|
+
const personProperties = this.getPersonProperties(ciFlag);
|
|
97
99
|
const propertiesWithMetadata = {
|
|
98
100
|
...properties,
|
|
99
101
|
packageVersion: require_version.VERSION,
|
|
100
|
-
isRunningInCi:
|
|
102
|
+
isRunningInCi: ciFlag
|
|
101
103
|
};
|
|
102
104
|
const client = getPostHogClient();
|
|
103
105
|
if (client && !require_logger.getEnvBool("IS_TESTING")) try {
|
|
104
106
|
client.capture({
|
|
105
107
|
distinctId: this.id,
|
|
106
108
|
event: eventName,
|
|
107
|
-
properties:
|
|
109
|
+
properties: {
|
|
110
|
+
...propertiesWithMetadata,
|
|
111
|
+
$set: personProperties
|
|
112
|
+
}
|
|
108
113
|
});
|
|
109
114
|
client.flush().catch(() => {});
|
|
110
115
|
} catch (error) {
|
|
@@ -116,7 +121,7 @@ var Telemetry = class {
|
|
|
116
121
|
body: JSON.stringify({
|
|
117
122
|
event: eventName,
|
|
118
123
|
environment: require_logger.getEnvString("NODE_ENV", "development"),
|
|
119
|
-
email:
|
|
124
|
+
email: personProperties.email,
|
|
120
125
|
meta: {
|
|
121
126
|
user_id: this.id,
|
|
122
127
|
...propertiesWithMetadata
|
|
@@ -179,4 +184,4 @@ Object.defineProperty(exports, "telemetry_exports", {
|
|
|
179
184
|
}
|
|
180
185
|
});
|
|
181
186
|
|
|
182
|
-
//# sourceMappingURL=telemetry-
|
|
187
|
+
//# sourceMappingURL=telemetry-DvzmDrSM.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { N as state, s as logger } from "./logger-
|
|
3
|
-
import { f as sleep } from "./fetch-
|
|
4
|
-
import { n as getTraceStore } from "./store-
|
|
2
|
+
import { N as state, s as logger } from "./logger-h-eiS4iv.js";
|
|
3
|
+
import { f as sleep } from "./fetch-C59QM4cf.js";
|
|
4
|
+
import { n as getTraceStore } from "./store-u1XNK3e8.js";
|
|
5
5
|
import { r as getToolNameFromAttributes } from "./toolAttributes-COVgDrBG.js";
|
|
6
6
|
//#region src/tracing/traceContext.ts
|
|
7
7
|
const DEFAULT_MAX_RETRIES = 3;
|
|
@@ -218,4 +218,4 @@ function resolveTracingOptions({ strategyId, test, config }) {
|
|
|
218
218
|
//#endregion
|
|
219
219
|
export { fetchTraceContext as a, extractTraceIdFromTraceparent as i, formatTraceForMetadata as n, formatTraceSummary as r, resolveTracingOptions as t };
|
|
220
220
|
|
|
221
|
-
//# sourceMappingURL=tracingOptions-
|
|
221
|
+
//# sourceMappingURL=tracingOptions-D2F0D7es.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { m as sleep } from "./fetch-
|
|
1
|
+
import { S as state, a as logger } from "./logger-BjYLHvGm.js";
|
|
2
|
+
import { m as sleep } from "./fetch-CBe8pU8Q.js";
|
|
3
3
|
import { i as getTraceStore, r as getToolNameFromAttributes } from "./server/index.js";
|
|
4
4
|
//#region src/tracing/traceContext.ts
|
|
5
5
|
const DEFAULT_MAX_RETRIES = 3;
|
|
@@ -216,4 +216,4 @@ function resolveTracingOptions({ strategyId, test, config }) {
|
|
|
216
216
|
//#endregion
|
|
217
217
|
export { fetchTraceContext as a, extractTraceIdFromTraceparent as i, formatTraceForMetadata as n, formatTraceSummary as r, resolveTracingOptions as t };
|
|
218
218
|
|
|
219
|
-
//# sourceMappingURL=tracingOptions-
|
|
219
|
+
//# sourceMappingURL=tracingOptions-PLePpCmo.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as logger, k as state } from "./logger-
|
|
2
|
-
import { l as sleep } from "./fetch-
|
|
3
|
-
import { t as getTraceStore } from "./store-
|
|
1
|
+
import { a as logger, k as state } from "./logger-Cs0I2v_y.js";
|
|
2
|
+
import { l as sleep } from "./fetch-CHJu2KON.js";
|
|
3
|
+
import { t as getTraceStore } from "./store-C4eo8Kyv.js";
|
|
4
4
|
import { r as getToolNameFromAttributes } from "./toolAttributes-DJ9ZEKXD.js";
|
|
5
5
|
//#region src/tracing/traceContext.ts
|
|
6
6
|
const DEFAULT_MAX_RETRIES = 3;
|
|
@@ -217,4 +217,4 @@ function resolveTracingOptions({ strategyId, test, config }) {
|
|
|
217
217
|
//#endregion
|
|
218
218
|
export { fetchTraceContext as a, extractTraceIdFromTraceparent as i, formatTraceForMetadata as n, formatTraceSummary as r, resolveTracingOptions as t };
|
|
219
219
|
|
|
220
|
-
//# sourceMappingURL=tracingOptions-
|
|
220
|
+
//# sourceMappingURL=tracingOptions-WpE9IqC8.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_logger = require("./logger-
|
|
2
|
-
const require_fetch = require("./fetch-
|
|
3
|
-
const require_store = require("./store-
|
|
1
|
+
const require_logger = require("./logger-Cm0Nb8YX.cjs");
|
|
2
|
+
const require_fetch = require("./fetch-B2HvaVUc.cjs");
|
|
3
|
+
const require_store = require("./store-BKN4VD-m.cjs");
|
|
4
4
|
const require_toolAttributes = require("./toolAttributes-BAjwcBf0.cjs");
|
|
5
5
|
//#region src/tracing/traceContext.ts
|
|
6
6
|
const DEFAULT_MAX_RETRIES = 3;
|
|
@@ -246,4 +246,4 @@ Object.defineProperty(exports, "resolveTracingOptions", {
|
|
|
246
246
|
}
|
|
247
247
|
});
|
|
248
248
|
|
|
249
|
-
//# sourceMappingURL=tracingOptions-
|
|
249
|
+
//# sourceMappingURL=tracingOptions-eqmq5sA2.cjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const require_rolldown_runtime = require("./rolldown-runtime-D_mwlA32.cjs");
|
|
2
|
-
const require_logger = require("./logger-
|
|
3
|
-
const require_fetch = require("./fetch-
|
|
4
|
-
const require_cache = require("./cache-
|
|
5
|
-
const require_openai = require("./openai-
|
|
6
|
-
const require_util = require("./util-
|
|
2
|
+
const require_logger = require("./logger-Cm0Nb8YX.cjs");
|
|
3
|
+
const require_fetch = require("./fetch-B2HvaVUc.cjs");
|
|
4
|
+
const require_cache = require("./cache-WuIsgzMA.cjs");
|
|
5
|
+
const require_openai = require("./openai-CCaz18I4.cjs");
|
|
6
|
+
const require_util = require("./util-Cs372i1_.cjs");
|
|
7
7
|
let fs = require("fs");
|
|
8
8
|
fs = require_rolldown_runtime.__toESM(fs, 1);
|
|
9
9
|
let path = require("path");
|
|
@@ -66,7 +66,7 @@ var OpenAiTranscriptionProvider = class OpenAiTranscriptionProvider extends requ
|
|
|
66
66
|
method: "POST",
|
|
67
67
|
headers,
|
|
68
68
|
body: formData
|
|
69
|
-
}, require_fetch.
|
|
69
|
+
}, require_fetch.getRequestTimeoutMs(), "json", context?.bustCache ?? context?.debug));
|
|
70
70
|
if (status < 200 || status >= 300) return { error: `API error: ${status} ${statusText}\n${typeof data === "string" ? data : JSON.stringify(data)}` };
|
|
71
71
|
} catch (err) {
|
|
72
72
|
require_logger.logger.error("API call error", { error: err });
|
|
@@ -122,4 +122,4 @@ var OpenAiTranscriptionProvider = class OpenAiTranscriptionProvider extends requ
|
|
|
122
122
|
//#endregion
|
|
123
123
|
exports.OpenAiTranscriptionProvider = OpenAiTranscriptionProvider;
|
|
124
124
|
|
|
125
|
-
//# sourceMappingURL=transcription-
|
|
125
|
+
//# sourceMappingURL=transcription-CKLxdMxm.cjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as logger } from "./logger-
|
|
2
|
-
import {
|
|
3
|
-
import { r as fetchWithCache } from "./cache-
|
|
4
|
-
import { t as OpenAiGenericProvider } from "./openai-
|
|
5
|
-
import { i as OPENAI_TRANSCRIPTION_MODELS } from "./util-
|
|
1
|
+
import { a as logger } from "./logger-BjYLHvGm.js";
|
|
2
|
+
import { y as getRequestTimeoutMs } from "./fetch-CBe8pU8Q.js";
|
|
3
|
+
import { r as fetchWithCache } from "./cache-x9llZxbx.js";
|
|
4
|
+
import { t as OpenAiGenericProvider } from "./openai-uRacy72N.js";
|
|
5
|
+
import { i as OPENAI_TRANSCRIPTION_MODELS } from "./util-C6d3eV0A.js";
|
|
6
6
|
import fs from "fs";
|
|
7
7
|
import path from "path";
|
|
8
8
|
//#region src/providers/openai/transcription.ts
|
|
@@ -63,7 +63,7 @@ var OpenAiTranscriptionProvider = class OpenAiTranscriptionProvider extends Open
|
|
|
63
63
|
method: "POST",
|
|
64
64
|
headers,
|
|
65
65
|
body: formData
|
|
66
|
-
},
|
|
66
|
+
}, getRequestTimeoutMs(), "json", context?.bustCache ?? context?.debug));
|
|
67
67
|
if (status < 200 || status >= 300) return { error: `API error: ${status} ${statusText}\n${typeof data === "string" ? data : JSON.stringify(data)}` };
|
|
68
68
|
} catch (err) {
|
|
69
69
|
logger.error("API call error", { error: err });
|
|
@@ -119,4 +119,4 @@ var OpenAiTranscriptionProvider = class OpenAiTranscriptionProvider extends Open
|
|
|
119
119
|
//#endregion
|
|
120
120
|
export { OpenAiTranscriptionProvider };
|
|
121
121
|
|
|
122
|
-
//# sourceMappingURL=transcription-
|
|
122
|
+
//# sourceMappingURL=transcription-CmlDorqD.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { s as logger } from "./logger-
|
|
3
|
-
import {
|
|
4
|
-
import { a as fetchWithCache } from "./cache-
|
|
5
|
-
import { t as OpenAiGenericProvider } from "./openai-
|
|
6
|
-
import { i as OPENAI_TRANSCRIPTION_MODELS } from "./util-
|
|
2
|
+
import { s as logger } from "./logger-h-eiS4iv.js";
|
|
3
|
+
import { v as getRequestTimeoutMs } from "./fetch-C59QM4cf.js";
|
|
4
|
+
import { a as fetchWithCache } from "./cache-BuudGL4I.js";
|
|
5
|
+
import { t as OpenAiGenericProvider } from "./openai-CJOpg_dA.js";
|
|
6
|
+
import { i as OPENAI_TRANSCRIPTION_MODELS } from "./util-BLSQ_7Ky.js";
|
|
7
7
|
import fs from "fs";
|
|
8
8
|
import path from "path";
|
|
9
9
|
//#region src/providers/openai/transcription.ts
|
|
@@ -64,7 +64,7 @@ var OpenAiTranscriptionProvider = class OpenAiTranscriptionProvider extends Open
|
|
|
64
64
|
method: "POST",
|
|
65
65
|
headers,
|
|
66
66
|
body: formData
|
|
67
|
-
},
|
|
67
|
+
}, getRequestTimeoutMs(), "json", context?.bustCache ?? context?.debug));
|
|
68
68
|
if (status < 200 || status >= 300) return { error: `API error: ${status} ${statusText}\n${typeof data === "string" ? data : JSON.stringify(data)}` };
|
|
69
69
|
} catch (err) {
|
|
70
70
|
logger.error("API call error", { error: err });
|
|
@@ -120,4 +120,4 @@ var OpenAiTranscriptionProvider = class OpenAiTranscriptionProvider extends Open
|
|
|
120
120
|
//#endregion
|
|
121
121
|
export { OpenAiTranscriptionProvider };
|
|
122
122
|
|
|
123
|
-
//# sourceMappingURL=transcription-
|
|
123
|
+
//# sourceMappingURL=transcription-Cupf4JNw.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as logger } from "./logger-
|
|
2
|
-
import {
|
|
3
|
-
import { r as fetchWithCache } from "./cache-
|
|
4
|
-
import { t as OpenAiGenericProvider } from "./openai-
|
|
5
|
-
import { i as OPENAI_TRANSCRIPTION_MODELS } from "./util-
|
|
1
|
+
import { a as logger } from "./logger-Cs0I2v_y.js";
|
|
2
|
+
import { m as getRequestTimeoutMs } from "./fetch-CHJu2KON.js";
|
|
3
|
+
import { r as fetchWithCache } from "./cache-CT5D7d_A.js";
|
|
4
|
+
import { t as OpenAiGenericProvider } from "./openai-Bfbg6L4c.js";
|
|
5
|
+
import { i as OPENAI_TRANSCRIPTION_MODELS } from "./util-B2Nt2Oy7.js";
|
|
6
6
|
import fs from "fs";
|
|
7
7
|
import path from "path";
|
|
8
8
|
//#region src/providers/openai/transcription.ts
|
|
@@ -63,7 +63,7 @@ var OpenAiTranscriptionProvider = class OpenAiTranscriptionProvider extends Open
|
|
|
63
63
|
method: "POST",
|
|
64
64
|
headers,
|
|
65
65
|
body: formData
|
|
66
|
-
},
|
|
66
|
+
}, getRequestTimeoutMs(), "json", context?.bustCache ?? context?.debug));
|
|
67
67
|
if (status < 200 || status >= 300) return { error: `API error: ${status} ${statusText}\n${typeof data === "string" ? data : JSON.stringify(data)}` };
|
|
68
68
|
} catch (err) {
|
|
69
69
|
logger.error("API call error", { error: err });
|
|
@@ -119,4 +119,4 @@ var OpenAiTranscriptionProvider = class OpenAiTranscriptionProvider extends Open
|
|
|
119
119
|
//#endregion
|
|
120
120
|
export { OpenAiTranscriptionProvider };
|
|
121
121
|
|
|
122
|
-
//# sourceMappingURL=transcription-
|
|
122
|
+
//# sourceMappingURL=transcription-sOgdGxM6.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const require_logger = require("./logger-
|
|
1
|
+
const require_logger = require("./logger-Cm0Nb8YX.cjs");
|
|
2
2
|
const require_fileExtensions = require("./fileExtensions-BhdwzYaD.cjs");
|
|
3
|
-
const require_esm = require("./esm-
|
|
4
|
-
const require_pythonUtils = require("./pythonUtils-
|
|
3
|
+
const require_esm = require("./esm-vv4rR-Dp.cjs");
|
|
4
|
+
const require_pythonUtils = require("./pythonUtils-BjuymNdM.cjs");
|
|
5
5
|
const require_processShim = require("./processShim-DSY9BV2T.cjs");
|
|
6
6
|
//#region src/util/transform.ts
|
|
7
7
|
const INLINE_FUNCTION_LABEL = "[inline function]";
|
|
@@ -218,4 +218,4 @@ Object.defineProperty(exports, "transform", {
|
|
|
218
218
|
}
|
|
219
219
|
});
|
|
220
220
|
|
|
221
|
-
//# sourceMappingURL=transform-
|
|
221
|
+
//# sourceMappingURL=transform-0wnBYYaL2.cjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { O as getEnvString, s as logger, v as getAjv } from "./logger-
|
|
3
|
-
import {
|
|
4
|
-
import { n as renderVarsInObject, o as getNunjucksEngine } from "./render-
|
|
5
|
-
import { M as maybeLoadFromExternalFile } from "./util-
|
|
2
|
+
import { O as getEnvString, s as logger, v as getAjv } from "./logger-h-eiS4iv.js";
|
|
3
|
+
import { _ as calculateCost, n as fetchWithProxy, w as parseChatPrompt } from "./fetch-C59QM4cf.js";
|
|
4
|
+
import { n as renderVarsInObject, o as getNunjucksEngine } from "./render-jE6RKVgk.js";
|
|
5
|
+
import { M as maybeLoadFromExternalFile } from "./util-CES4qWd7.js";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
import crypto from "crypto";
|
|
8
8
|
import Clone from "rfdc";
|
|
@@ -1508,4 +1508,4 @@ async function transformMCPServerConfigToClaudeCode(config) {
|
|
|
1508
1508
|
//#endregion
|
|
1509
1509
|
export { renderAuthVars as A, resolveProjectId as C, getAuthHeaders as D, applyQueryParams as E, getAuthQueryParams as O, loadCredentials as S, toDataUri as T, GoogleAuthManager as _, calculateGoogleCost as a, getGoogleClient as b, geminiFormatAndSystemInstructions as c, mergeParts as d, normalizeSafetySettings as f, CHAT_MODELS as g, validateFunctionCall as h, transformMCPToolsToOpenAi as i, TOKEN_REFRESH_BUFFER_MS as j, getOAuthTokenWithExpiry as k, getCandidate as l, parseConfigSystemInstruction as m, transformMCPToolsToAnthropic as n, createAuthCacheDiscriminator as o, normalizeTools as p, transformMCPToolsToGoogle as r, formatCandidateContents as s, transformMCPConfigToClaudeCode as t, getGoogleAccessToken as u, determineGoogleVertexMode as v, parseDataUrl as w, hasGoogleDefaultCredentials as x, getGoogleApiKey as y };
|
|
1510
1510
|
|
|
1511
|
-
//# sourceMappingURL=transform-
|
|
1511
|
+
//# sourceMappingURL=transform-AfC8gqCB.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as logger, k as state } from "./logger-
|
|
1
|
+
import { a as logger, k as state } from "./logger-Cs0I2v_y.js";
|
|
2
2
|
import { i as isJavascriptFile } from "./fileExtensions-CXRfY3Ss.js";
|
|
3
|
-
import { a as safeJoin, r as importModule } from "./esm-
|
|
4
|
-
import { r as runPython } from "./pythonUtils-
|
|
3
|
+
import { a as safeJoin, r as importModule } from "./esm-C_yrt93A.js";
|
|
4
|
+
import { r as runPython } from "./pythonUtils-C4Wnz6Q7.js";
|
|
5
5
|
import { t as getProcessShim } from "./processShim-BcGzU8fY.js";
|
|
6
6
|
//#region src/util/transform.ts
|
|
7
7
|
const INLINE_FUNCTION_LABEL = "[inline function]";
|
|
@@ -183,4 +183,4 @@ async function transform(codeOrFilepathOrFn, transformInput, context, validateRe
|
|
|
183
183
|
//#endregion
|
|
184
184
|
export { getTransformLabel as a, getTransformErrorMessage as i, TRANSFORM_KEYS as n, transform as o, TransformInputType as r, INLINE_FUNCTION_LABEL as t };
|
|
185
185
|
|
|
186
|
-
//# sourceMappingURL=transform-
|
|
186
|
+
//# sourceMappingURL=transform-BDSnWRNv2.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { N as state, s as logger } from "./logger-
|
|
2
|
+
import { N as state, s as logger } from "./logger-h-eiS4iv.js";
|
|
3
3
|
import { i as isJavascriptFile } from "./fileExtensions-D4GCJ67J.js";
|
|
4
|
-
import { a as safeJoin, r as importModule } from "./esm-
|
|
5
|
-
import { r as runPython } from "./pythonUtils-
|
|
4
|
+
import { a as safeJoin, r as importModule } from "./esm-CYMWMaSj.js";
|
|
5
|
+
import { r as runPython } from "./pythonUtils-CLAoc6jg.js";
|
|
6
6
|
import { t as getProcessShim } from "./processShim-BBxt7LKO.js";
|
|
7
7
|
//#region src/util/transform.ts
|
|
8
8
|
const INLINE_FUNCTION_LABEL = "[inline function]";
|
|
@@ -184,4 +184,4 @@ async function transform(codeOrFilepathOrFn, transformInput, context, validateRe
|
|
|
184
184
|
//#endregion
|
|
185
185
|
export { getTransformLabel as a, getTransformErrorMessage as i, TRANSFORM_KEYS as n, transform as o, TransformInputType as r, INLINE_FUNCTION_LABEL as t };
|
|
186
186
|
|
|
187
|
-
//# sourceMappingURL=transform-
|
|
187
|
+
//# sourceMappingURL=transform-C5pxvKUV.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as safeJoin, r as importModule } from "./esm-
|
|
1
|
+
import { S as state, a as logger } from "./logger-BjYLHvGm.js";
|
|
2
|
+
import { a as safeJoin, r as importModule } from "./esm-CGER3lko.js";
|
|
3
3
|
import { o as isJavascriptFile } from "./shared-BoG7qLMv.js";
|
|
4
|
-
import { r as runPython } from "./pythonUtils-
|
|
4
|
+
import { r as runPython } from "./pythonUtils-CBe7VV6f.js";
|
|
5
5
|
import { t as getProcessShim } from "./processShim-C_z3aRvF.js";
|
|
6
6
|
//#region src/util/transform.ts
|
|
7
7
|
const INLINE_FUNCTION_LABEL = "[inline function]";
|
|
@@ -183,4 +183,4 @@ async function transform(codeOrFilepathOrFn, transformInput, context, validateRe
|
|
|
183
183
|
//#endregion
|
|
184
184
|
export { getTransformLabel as a, getTransformErrorMessage as i, TRANSFORM_KEYS as n, transform as o, TransformInputType as r, INLINE_FUNCTION_LABEL as t };
|
|
185
185
|
|
|
186
|
-
//# sourceMappingURL=transform-
|
|
186
|
+
//# sourceMappingURL=transform-C5rpIuDz.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { n as renderVarsInObject, o as getNunjucksEngine } from "./render-
|
|
4
|
-
import {
|
|
1
|
+
import { E as getEnvString, a as logger, g as getAjv } from "./logger-BjYLHvGm.js";
|
|
2
|
+
import { T as parseChatPrompt, t as fetchWithProxy, v as calculateCost } from "./fetch-CBe8pU8Q.js";
|
|
3
|
+
import { n as renderVarsInObject, o as getNunjucksEngine } from "./render-BoxrvB84.js";
|
|
4
|
+
import { j as maybeLoadFromExternalFile } from "./util-BGfk7zh7.js";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
import crypto from "crypto";
|
|
7
7
|
import Clone from "rfdc";
|
|
@@ -1507,4 +1507,4 @@ async function transformMCPServerConfigToClaudeCode(config) {
|
|
|
1507
1507
|
//#endregion
|
|
1508
1508
|
export { renderAuthVars as A, resolveProjectId as C, getAuthHeaders as D, applyQueryParams as E, getAuthQueryParams as O, loadCredentials as S, toDataUri as T, GoogleAuthManager as _, calculateGoogleCost as a, getGoogleClient as b, geminiFormatAndSystemInstructions as c, mergeParts as d, normalizeSafetySettings as f, CHAT_MODELS as g, validateFunctionCall as h, transformMCPToolsToOpenAi as i, TOKEN_REFRESH_BUFFER_MS as j, getOAuthTokenWithExpiry as k, getCandidate as l, parseConfigSystemInstruction as m, transformMCPToolsToAnthropic as n, createAuthCacheDiscriminator as o, normalizeTools as p, transformMCPToolsToGoogle as r, formatCandidateContents as s, transformMCPConfigToClaudeCode as t, getGoogleAccessToken as u, determineGoogleVertexMode as v, parseDataUrl as w, hasGoogleDefaultCredentials as x, getGoogleApiKey as y };
|
|
1509
1509
|
|
|
1510
|
-
//# sourceMappingURL=transform-
|
|
1510
|
+
//# sourceMappingURL=transform-D7QlmswG.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_rolldown_runtime = require("./rolldown-runtime-D_mwlA32.cjs");
|
|
2
|
-
const require_logger = require("./logger-
|
|
3
|
-
const require_fetch = require("./fetch-
|
|
4
|
-
const require_render = require("./render-
|
|
5
|
-
const require_util = require("./util-
|
|
2
|
+
const require_logger = require("./logger-Cm0Nb8YX.cjs");
|
|
3
|
+
const require_fetch = require("./fetch-B2HvaVUc.cjs");
|
|
4
|
+
const require_render = require("./render-DJ4yipCD.cjs");
|
|
5
|
+
const require_util = require("./util-BuYzkbEz.cjs");
|
|
6
6
|
let zod = require("zod");
|
|
7
7
|
let crypto = require("crypto");
|
|
8
8
|
crypto = require_rolldown_runtime.__toESM(crypto, 1);
|
|
@@ -1695,4 +1695,4 @@ Object.defineProperty(exports, "validateFunctionCall", {
|
|
|
1695
1695
|
}
|
|
1696
1696
|
});
|
|
1697
1697
|
|
|
1698
|
-
//# sourceMappingURL=transform-
|
|
1698
|
+
//# sourceMappingURL=transform-DKw2FNwg.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as getEnvString, a as logger, g as getAjv } from "./logger-
|
|
2
|
-
import {
|
|
3
|
-
import { n as renderVarsInObject, o as getNunjucksEngine } from "./render-
|
|
4
|
-
import {
|
|
1
|
+
import { T as getEnvString, a as logger, g as getAjv } from "./logger-Cs0I2v_y.js";
|
|
2
|
+
import { b as parseChatPrompt, p as calculateCost, t as fetchWithProxy } from "./fetch-CHJu2KON.js";
|
|
3
|
+
import { n as renderVarsInObject, o as getNunjucksEngine } from "./render-CTZQAINJ.js";
|
|
4
|
+
import { T as maybeLoadFromExternalFile } from "./util-vaCPFatZ.js";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
import crypto from "crypto";
|
|
7
7
|
import Clone from "rfdc";
|
|
@@ -1507,4 +1507,4 @@ async function transformMCPServerConfigToClaudeCode(config) {
|
|
|
1507
1507
|
//#endregion
|
|
1508
1508
|
export { renderAuthVars as A, resolveProjectId as C, getAuthHeaders as D, applyQueryParams as E, getAuthQueryParams as O, loadCredentials as S, toDataUri as T, GoogleAuthManager as _, calculateGoogleCost as a, getGoogleClient as b, geminiFormatAndSystemInstructions as c, mergeParts as d, normalizeSafetySettings as f, CHAT_MODELS as g, validateFunctionCall as h, transformMCPToolsToOpenAi as i, TOKEN_REFRESH_BUFFER_MS as j, getOAuthTokenWithExpiry as k, getCandidate as l, parseConfigSystemInstruction as m, transformMCPToolsToAnthropic as n, createAuthCacheDiscriminator as o, normalizeTools as p, transformMCPToolsToGoogle as r, formatCandidateContents as s, transformMCPConfigToClaudeCode as t, getGoogleAccessToken as u, determineGoogleVertexMode as v, parseDataUrl as w, hasGoogleDefaultCredentials as x, getGoogleApiKey as y };
|
|
1509
1509
|
|
|
1510
|
-
//# sourceMappingURL=transform-
|
|
1510
|
+
//# sourceMappingURL=transform-R1PnNdLv.js.map
|
|
@@ -173,7 +173,7 @@ const CODING_AGENT_PLUGIN_ALIASES = {
|
|
|
173
173
|
//#endregion
|
|
174
174
|
//#region src/redteam/constants/plugins.ts
|
|
175
175
|
const MULTI_INPUT_VAR = "__prompt";
|
|
176
|
-
const REDTEAM_MODEL = "openai:chat:gpt-5.
|
|
176
|
+
const REDTEAM_MODEL = "openai:chat:gpt-5.5-2026-04-23";
|
|
177
177
|
const LLAMA_GUARD_REPLICATE_PROVIDER = "replicate:moderation:meta/llama-guard-4-12b";
|
|
178
178
|
const LLAMA_GUARD_ENABLED_CATEGORIES = [
|
|
179
179
|
"S1",
|
|
@@ -3914,4 +3914,4 @@ const EvalResultsFilterMode = z.enum([
|
|
|
3914
3914
|
//#endregion
|
|
3915
3915
|
export { HARM_PLUGINS as $, DATASET_PLUGINS as A, categoryAliases as B, PolicyObjectSchema as C, getInputDescription as Ct, ADDITIONAL_STRATEGIES as D, isUuid as E, getDefaultNFanout as F, ADDITIONAL_PLUGINS as G, riskCategorySeverityMap as H, isCustomStrategy as I, CANARY_BREAKING_STRATEGY_IDS as J, ALL_PLUGINS as K, isFanoutStrategy as L, MULTI_TURN_STRATEGIES as M, STRATEGY_COLLECTIONS as N, AGENTIC_STRATEGIES as O, STRATEGY_COLLECTION_MAPPINGS as P, FOUNDATION_PLUGINS as Q, isMultiTurnStrategy as R, PluginConfigSchema as S, buildInputPromptDescription as St, isValidReusablePolicyId as T, normalizeInputDefinition as Tt, subCategoryDescriptions as U, pluginDescriptions as V, ALIASED_PLUGIN_MAPPINGS as W, DEFAULT_PLUGINS as X, DATASET_EXEMPT_PLUGINS as Y, FINANCIAL_PLUGINS as Z, PromptSchema as _, CODING_AGENT_PLUGINS as _t, EvaluateOptionsSchema as a, MULTI_INPUT_VAR as at, ConversationMessageSchema as b, DocumentMediaInjectionPlacementSchema as bt, TestSuiteConfigSchema as c, PLUGIN_CATEGORIES as ct, isGradingResult as d, REMOTE_ONLY_PLUGIN_IDS as dt, INSURANCE_PLUGINS as et, isResultFailureReason as f, STRATEGY_EXEMPT_PLUGINS as ft, RedteamGenerateOptionsSchema as g, CODING_AGENT_CORE_PLUGINS as gt, RedteamConfigSchema as h, UNALIGNED_PROVIDER_HARM_PLUGINS as ht, EvalResultsFilterMode as i, MULTI_INPUT_EXCLUDED_PLUGINS as it, DEFAULT_STRATEGIES as j, ALL_STRATEGIES as k, TestSuiteSchema as l, REDTEAM_MODEL as lt, isProviderOptions as m, TELECOM_PLUGINS as mt, BaseAssertionTypesSchema as n, LLAMA_GUARD_REPLICATE_PROVIDER as nt, OutputFileExtension as o, PHARMACY_PLUGINS as ot, isApiProvider as p, TEEN_SAFETY_PLUGINS as pt, BIAS_PLUGINS as q, CommandLineOptionsSchema as r, MEDICAL_PLUGINS as rt, ResultFailureReason as s, PII_PLUGINS as st, AssertionOrSetSchema as t, LLAMA_GUARD_ENABLED_CATEGORIES as tt, UnifiedConfigSchema as u, REDTEAM_PROVIDER_HARM_PLUGINS as ut, ProviderOptionsSchema as v, CODING_AGENT_PLUGIN_DESCRIPTIONS as vt, StrategyConfigSchema as w, getInputType as wt, PartialGenerationError as x, DocxInjectionPlacementSchema as xt, ProvidersSchema as y, CODING_AGENT_PLUGIN_DISPLAY_NAMES as yt, Severity as z };
|
|
3916
3916
|
|
|
3917
|
-
//# sourceMappingURL=types-
|
|
3917
|
+
//# sourceMappingURL=types-C_e_SykX.js.map
|
|
@@ -321,7 +321,7 @@ const CODING_AGENT_PLUGIN_ALIASES = {
|
|
|
321
321
|
//#endregion
|
|
322
322
|
//#region src/redteam/constants/plugins.ts
|
|
323
323
|
const MULTI_INPUT_VAR = "__prompt";
|
|
324
|
-
const REDTEAM_MODEL = "openai:chat:gpt-5.
|
|
324
|
+
const REDTEAM_MODEL = "openai:chat:gpt-5.5-2026-04-23";
|
|
325
325
|
const LLAMA_GUARD_REPLICATE_PROVIDER = "replicate:moderation:meta/llama-guard-4-12b";
|
|
326
326
|
const LLAMA_GUARD_ENABLED_CATEGORIES = [
|
|
327
327
|
"S1",
|
|
@@ -3715,4 +3715,4 @@ const EvalResultsFilterMode = z.enum([
|
|
|
3715
3715
|
//#endregion
|
|
3716
3716
|
export { MULTI_INPUT_EXCLUDED_PLUGINS as $, STRATEGY_COLLECTIONS as A, ALIASED_PLUGIN_MAPPINGS as B, isValidReusablePolicyId as C, DATASET_PLUGINS as D, ALL_STRATEGIES as E, isMultiTurnStrategy as F, DEFAULT_PLUGINS as G, BIAS_PLUGINS as H, Severity as I, HARM_PLUGINS as J, FINANCIAL_PLUGINS as K, categoryAliases as L, getDefaultNFanout as M, isCustomStrategy as N, DEFAULT_STRATEGIES as O, isFanoutStrategy as P, MEDICAL_PLUGINS as Q, pluginDescriptions as R, StrategyConfigSchema as S, AGENTIC_STRATEGIES as T, CANARY_BREAKING_STRATEGY_IDS as U, ALL_PLUGINS as V, DATASET_EXEMPT_PLUGINS as W, LLAMA_GUARD_ENABLED_CATEGORIES as X, INSURANCE_PLUGINS as Y, LLAMA_GUARD_REPLICATE_PROVIDER as Z, ProvidersSchema as _, DocxInjectionPlacementSchema as _t, EvaluateOptionsSchema as a, REDTEAM_PROVIDER_HARM_PLUGINS as at, PluginConfigSchema as b, getInputType as bt, TestSuiteConfigSchema as c, TEEN_SAFETY_PLUGINS as ct, isGradingResult as d, CODING_AGENT_CORE_PLUGINS as dt, MULTI_INPUT_VAR as et, isResultFailureReason as f, CODING_AGENT_PLUGINS as ft, ProviderOptionsSchema as g, DocumentMediaInjectionPlacementSchema as gt, RedteamConfigSchema as h, PromptSchema as ht, EvalResultsFilterMode as i, REDTEAM_MODEL as it, STRATEGY_COLLECTION_MAPPINGS as j, MULTI_TURN_STRATEGIES as k, TestSuiteSchema as l, TELECOM_PLUGINS as lt, isProviderOptions as m, CODING_AGENT_PLUGIN_DISPLAY_NAMES as mt, BaseAssertionTypesSchema as n, PII_PLUGINS as nt, OutputFileExtension as o, REMOTE_ONLY_PLUGIN_IDS as ot, isApiProvider as p, CODING_AGENT_PLUGIN_DESCRIPTIONS as pt, FOUNDATION_PLUGINS as q, CommandLineOptionsSchema as r, PLUGIN_CATEGORIES as rt, ResultFailureReason as s, STRATEGY_EXEMPT_PLUGINS as st, AssertionOrSetSchema as t, PHARMACY_PLUGINS as tt, UnifiedConfigSchema as u, UNALIGNED_PROVIDER_HARM_PLUGINS as ut, ConversationMessageSchema as v, buildInputPromptDescription as vt, isUuid as w, PolicyObjectSchema as x, normalizeInputDefinition as xt, PartialGenerationError as y, getInputDescription as yt, riskCategorySeverityMap as z };
|
|
3717
3717
|
|
|
3718
|
-
//# sourceMappingURL=types-
|
|
3718
|
+
//# sourceMappingURL=types-uLCKnRiK.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
const require_logger = require("./logger-
|
|
1
|
+
const require_logger = require("./logger-Cm0Nb8YX.cjs");
|
|
2
2
|
const require_types = require("./types-CxJvaY2S.cjs");
|
|
3
|
-
const require_fetch = require("./fetch-
|
|
4
|
-
const require_remoteGeneration = require("./remoteGeneration-
|
|
5
|
-
const require_cache = require("./cache-
|
|
3
|
+
const require_fetch = require("./fetch-B2HvaVUc.cjs");
|
|
4
|
+
const require_remoteGeneration = require("./remoteGeneration-CD3c_rzc.cjs");
|
|
5
|
+
const require_cache = require("./cache-WuIsgzMA.cjs");
|
|
6
6
|
const require_text = require("./text-nywWsRBM.cjs");
|
|
7
|
-
const require_inputVariables = require("./inputVariables-
|
|
7
|
+
const require_inputVariables = require("./inputVariables-D5K2vTp4.cjs");
|
|
8
8
|
//#region src/redteam/util.ts
|
|
9
9
|
/**
|
|
10
10
|
* Regex pattern for matching <Prompt> tags in multi-input redteam generation output.
|
|
@@ -292,7 +292,7 @@ async function extractGoalFromPrompt(prompt, purpose, pluginId, policy) {
|
|
|
292
292
|
method: "POST",
|
|
293
293
|
headers: { "Content-Type": "application/json" },
|
|
294
294
|
body: JSON.stringify(requestBody)
|
|
295
|
-
}, require_fetch.
|
|
295
|
+
}, require_fetch.getRequestTimeoutMs());
|
|
296
296
|
require_logger.logger.debug(`Goal extraction response - Status: ${status} ${statusText || ""}, Data: ${JSON.stringify(data)}`);
|
|
297
297
|
if (status !== 200) {
|
|
298
298
|
require_logger.logger.warn(`Failed to extract goal from prompt: HTTP ${status} ${statusText || ""}, Response Data: ${JSON.stringify(data)}`);
|
|
@@ -383,4 +383,4 @@ Object.defineProperty(exports, "removePrefix", {
|
|
|
383
383
|
}
|
|
384
384
|
});
|
|
385
385
|
|
|
386
|
-
//# sourceMappingURL=util-
|
|
386
|
+
//# sourceMappingURL=util-3BRss2KA.cjs.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { g as getAjv, y as safeJsonStringify } from "./logger-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { g as getAjv, y as safeJsonStringify } from "./logger-Cs0I2v_y.js";
|
|
2
|
+
import { p as calculateCost } from "./fetch-CHJu2KON.js";
|
|
3
|
+
import { E as maybeLoadFromExternalFileWithVars } from "./util-vaCPFatZ.js";
|
|
4
4
|
import OpenAI from "openai";
|
|
5
5
|
//#region src/providers/openai/util.ts
|
|
6
6
|
const ajv = getAjv();
|
|
7
|
-
const
|
|
7
|
+
const GPT_5_LONG_CONTEXT_THRESHOLD = 272e3;
|
|
8
8
|
const OPENAI_CHAT_MODELS = [
|
|
9
9
|
...["gpt-4o-mini-tts", "gpt-4o-mini-tts-2025-12-15"].map((model) => ({
|
|
10
10
|
id: model,
|
|
@@ -356,13 +356,25 @@ const OPENAI_CHAT_MODELS = [
|
|
|
356
356
|
output: 4 / 1e6
|
|
357
357
|
}
|
|
358
358
|
})),
|
|
359
|
+
...["gpt-5.5", "gpt-5.5-2026-04-23"].map((model) => ({
|
|
360
|
+
id: model,
|
|
361
|
+
cost: {
|
|
362
|
+
input: 5 / 1e6,
|
|
363
|
+
output: 30 / 1e6,
|
|
364
|
+
longContext: {
|
|
365
|
+
threshold: GPT_5_LONG_CONTEXT_THRESHOLD,
|
|
366
|
+
input: 10 / 1e6,
|
|
367
|
+
output: 45 / 1e6
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
})),
|
|
359
371
|
...["gpt-5.4", "gpt-5.4-2026-03-05"].map((model) => ({
|
|
360
372
|
id: model,
|
|
361
373
|
cost: {
|
|
362
374
|
input: 2.5 / 1e6,
|
|
363
375
|
output: 15 / 1e6,
|
|
364
376
|
longContext: {
|
|
365
|
-
threshold:
|
|
377
|
+
threshold: GPT_5_LONG_CONTEXT_THRESHOLD,
|
|
366
378
|
input: 5 / 1e6,
|
|
367
379
|
output: 22.5 / 1e6
|
|
368
380
|
}
|
|
@@ -420,11 +432,17 @@ const OPENAI_RESPONSES_ONLY_MODELS = [...["gpt-5.4-pro", "gpt-5.4-pro-2026-03-05
|
|
|
420
432
|
input: 30 / 1e6,
|
|
421
433
|
output: 180 / 1e6,
|
|
422
434
|
longContext: {
|
|
423
|
-
threshold:
|
|
435
|
+
threshold: GPT_5_LONG_CONTEXT_THRESHOLD,
|
|
424
436
|
input: 60 / 1e6,
|
|
425
437
|
output: 270 / 1e6
|
|
426
438
|
}
|
|
427
439
|
}
|
|
440
|
+
})), ...["gpt-5.5-pro", "gpt-5.5-pro-2026-04-23"].map((model) => ({
|
|
441
|
+
id: model,
|
|
442
|
+
cost: {
|
|
443
|
+
input: 30 / 1e6,
|
|
444
|
+
output: 180 / 1e6
|
|
445
|
+
}
|
|
428
446
|
}))];
|
|
429
447
|
const OPENAI_DEEP_RESEARCH_MODELS = [...["o3-deep-research", "o3-deep-research-2025-06-26"].map((model) => ({
|
|
430
448
|
id: model,
|
|
@@ -634,4 +652,4 @@ function formatOpenAiError(data) {
|
|
|
634
652
|
//#endregion
|
|
635
653
|
export { calculateOpenAICost as a, getTokenUsage as c, OPENAI_TRANSCRIPTION_MODELS as i, validateFunctionCall as l, OPENAI_COMPLETION_MODELS as n, failApiCall as o, OPENAI_REALTIME_MODELS as r, formatOpenAiError as s, OPENAI_CHAT_MODELS as t };
|
|
636
654
|
|
|
637
|
-
//# sourceMappingURL=util-
|
|
655
|
+
//# sourceMappingURL=util-B2Nt2Oy7.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { N as TERMINAL_MAX_WIDTH, t as fetchWithProxy } from "./fetch-
|
|
3
|
-
import { n as VERSION } from "./version-
|
|
1
|
+
import { C as getEnvBool, S as state, a as logger, f as sanitizeObject } from "./logger-BjYLHvGm.js";
|
|
2
|
+
import { N as TERMINAL_MAX_WIDTH, t as fetchWithProxy } from "./fetch-CBe8pU8Q.js";
|
|
3
|
+
import { n as VERSION } from "./version-BGiEZvX0.js";
|
|
4
4
|
import { t as invariant } from "./invariant-DIYf9sP1.js";
|
|
5
|
-
import { o as safeResolve, r as importModule, t as getDirectory } from "./esm-
|
|
6
|
-
import { n as renderVarsInObject, o as getNunjucksEngine } from "./render-
|
|
7
|
-
import { m as isProviderOptions, o as OutputFileExtension, p as isApiProvider, s as ResultFailureReason } from "./types-
|
|
5
|
+
import { o as safeResolve, r as importModule, t as getDirectory } from "./esm-CGER3lko.js";
|
|
6
|
+
import { n as renderVarsInObject, o as getNunjucksEngine } from "./render-BoxrvB84.js";
|
|
7
|
+
import { m as isProviderOptions, o as OutputFileExtension, p as isApiProvider, s as ResultFailureReason } from "./types-uLCKnRiK.js";
|
|
8
8
|
import { o as isJavascriptFile, r as JAVASCRIPT_EXTENSIONS } from "./shared-BoG7qLMv.js";
|
|
9
|
-
import { r as runPython } from "./pythonUtils-
|
|
9
|
+
import { r as runPython } from "./pythonUtils-CBe7VV6f.js";
|
|
10
10
|
import dotenv from "dotenv";
|
|
11
11
|
import * as fs$2 from "fs";
|
|
12
12
|
import fs from "fs";
|
|
@@ -1460,4 +1460,4 @@ function printBorder() {
|
|
|
1460
1460
|
//#endregion
|
|
1461
1461
|
export { maybeLoadConfigFromExternalFile as A, isProviderAllowed as C, readProviderConfigFile as D, normalizeProviderRef as E, parsePathOrGlob as F, readFilters as I, readOutput as L, maybeLoadFromExternalFileWithVars as M, maybeLoadResponseFormatFromExternalFile as N, getNunjucksEngineForFilePath as O, maybeLoadToolsFromExternalFile as P, loadFunction as R, isOpenAiProvider as S, loadProviderConfigsFromFile as T, checkProviderApiKeys as _, evalTableToJson as a, isAnthropicProvider as b, getEvalTablePromptStrippedPayload as c, setupEnv as d, deduplicateTestCases as f, resultIsForTestCase as g, getTestCaseDeduplicationKey as h, ComparisonEvalNotFoundError as i, maybeLoadFromExternalFile as j, getResolvedRelativePath as k, mergeComparisonTables as l, filterRuntimeVars as m, writeMultipleOutputs as n, generateEvalCsv as o, extractRuntimeVars as p, writeOutput as r, getEvalTableOutputPromptLocationsBySize as s, printBorder as t, fetchCsvFromGoogleSheet as u, doesProviderRefMatch as v, isProviderConfigFileReference as w, isGoogleProvider as x, getProviderDescription as y, parseFileUrl as z };
|
|
1462
1462
|
|
|
1463
|
-
//# sourceMappingURL=util-
|
|
1463
|
+
//# sourceMappingURL=util-BGfk7zh7.js.map
|