promptfoo 0.121.1 → 0.121.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-BgNJDBE6.js → accounts-B0pgC1oV.js} +4 -4
- package/dist/src/{accounts-CMqkzrVf.js → accounts-Bm2D8Db9.js} +5 -5
- package/dist/src/{accounts-xrUGFA6n.js → accounts-CiBLOnA7.js} +4 -4
- package/dist/src/{accounts-Bx-x3bmW.cjs → accounts-gtkH-5KX.cjs} +4 -4
- package/dist/src/{agentic-utils-BKIN5PKu.js → agentic-utils-DS1g3GLF.js} +2 -2
- package/dist/src/{agents-CVIn-Utx.js → agents-9qiOy0ho.js} +6 -6
- package/dist/src/{agents-CXknwsFX.js → agents-CBr9A01V.js} +2 -2
- package/dist/src/{agents-aF4-T121.js → agents-CmvBq8LV.js} +6 -6
- package/dist/src/{agents-Dy2YpZpa.js → agents-D__IdAlg.js} +3 -3
- package/dist/src/{agents-B0f4HICh.cjs → agents-DbRtpYxR.cjs} +2 -2
- package/dist/src/{agents-C-dDThPK.js → agents-DgF2zDag.js} +2 -2
- package/dist/src/{agents-CErsqg5U.cjs → agents-Di9DKPzn.cjs} +6 -6
- package/dist/src/{agents-DeH4Gu94.js → agents-cLXA8a_8.js} +7 -7
- package/dist/src/{aimlapi-DHRKlBEA.js → aimlapi-B4rcnZgv.js} +9 -9
- package/dist/src/{aimlapi-tg0Gkcvr.cjs → aimlapi-BvlNH0gr.cjs} +9 -9
- package/dist/src/{aimlapi-BAGZDo5G.js → aimlapi-CnkC2HqE.js} +10 -10
- package/dist/src/{aimlapi-BNfTBexL.js → aimlapi-DHJU_kcV.js} +9 -9
- package/dist/src/app/assets/{index-BFCZg7hQ.js → index-4LKxG2CG.js} +84 -84
- package/dist/src/app/assets/{index-NCn4eVBv.css → index-C3zcsZFQ.css} +1 -1
- package/dist/src/app/assets/vendor-charts-BnDWwBlI.js +36 -0
- package/dist/src/app/index.html +3 -3
- package/dist/src/app/tsconfig.app.tsbuildinfo +1 -0
- package/dist/src/{audio-CHQ4r-RV.js → audio-Bkv46et0.js} +3 -3
- package/dist/src/{audio-BWeaWovU.cjs → audio-CGMyULza.cjs} +3 -3
- package/dist/src/{audio-tf_NBjlC.js → audio-ClI_AFre.js} +3 -3
- package/dist/src/{audio-BRODU0UK.js → audio-Dz3z7s3J.js} +4 -4
- package/dist/src/{base-DBtwl2FR.cjs → base-CGrhspbK.cjs} +2 -2
- package/dist/src/{base-fEDN28WM.js → base-CpjcHe4e.js} +2 -2
- package/dist/src/{base-B0tcrnq_.js → base-DLKtKMFh.js} +2 -2
- package/dist/src/{base-B4QJRyFS.js → base-Dy1V8--Z.js} +2 -2
- package/dist/src/{blobs-qTYm-1PY.js → blobs-BDbfYdrJ.js} +2 -2
- package/dist/src/{blobs-Bpg5rH6i.js → blobs-CBO20krR.js} +2 -2
- package/dist/src/{blobs-BAU-dXan.js → blobs-CMHN0Qcz.js} +2 -2
- package/dist/src/{blobs-DvS-O6be.cjs → blobs-D23XLin-.cjs} +2 -2
- package/dist/src/{cache-CG0SlR1d.js → cache-BVeDlD87.js} +74 -57
- package/dist/src/{cache-8XhNqPKW.js → cache-C4Nxf52C.js} +74 -57
- package/dist/src/{cache-Bbn1Nyrd.cjs → cache-CeUpFm3M.cjs} +2 -2
- package/dist/src/{cache-COish3-W.cjs → cache-Dh5WtQps.cjs} +74 -57
- package/dist/src/{cache-D3eqDYGU.js → cache-i1P6crbO.js} +74 -57
- package/dist/src/cache-n-RCJ-hL.js +6 -0
- package/dist/src/{chat-CRWNNq73.js → chat-BiKyneZl.js} +10 -8
- package/dist/src/{chat-2K608PeQ.cjs → chat-C1Qst7jL.cjs} +8 -8
- package/dist/src/{chat-CM_kyI8B.js → chat-C2jrdPMx.js} +8 -8
- package/dist/src/{chat-DaqekjFr.cjs → chat-CgF-J-Jj.cjs} +10 -8
- package/dist/src/{chat-DHMH-N64.js → chat-CzkrVDfz.js} +8 -8
- package/dist/src/{chat-BKm79wib.js → chat-DJIw17u0.js} +10 -8
- package/dist/src/{chat-CznLWr_D.js → chat-DqxYYtWA.js} +10 -8
- package/dist/src/{chat-DxysjBvt.js → chat-qmatte1u.js} +9 -9
- package/dist/src/{claude-agent-sdk-BLTu0WBO.js → claude-agent-sdk-Apiy0iaz.js} +8 -8
- package/dist/src/{claude-agent-sdk-D6_k9FKA.js → claude-agent-sdk-D2bJee9S.js} +8 -8
- package/dist/src/{claude-agent-sdk-CJH22shf.cjs → claude-agent-sdk-D9Z5Pr9X.cjs} +8 -8
- package/dist/src/{claude-agent-sdk-Dy5lT-Tx.js → claude-agent-sdk-DfCoW0E6.js} +9 -9
- package/dist/src/{cloud-DmE0EwsY.js → cloud-BBh91EUK.js} +1 -1
- package/dist/src/{cloud-Bc9526yV.js → cloud-C0dlstV_.js} +2 -2
- package/dist/src/{cloudflare-ai-C9r2sRhw.js → cloudflare-ai-8TDxHR0x.js} +9 -9
- package/dist/src/{cloudflare-ai-ICsOuD-z.js → cloudflare-ai-BxAGvfju.js} +10 -10
- package/dist/src/{cloudflare-ai-ClWSdor4.cjs → cloudflare-ai-CknbZ5LJ.cjs} +9 -9
- package/dist/src/{cloudflare-ai-CWWJCRim.js → cloudflare-ai-g7PB6VHR.js} +9 -9
- package/dist/src/{cloudflare-gateway-D6O7AlYb.js → cloudflare-gateway-B9HWA5wf.js} +11 -11
- package/dist/src/{cloudflare-gateway-C2_-KG5o.cjs → cloudflare-gateway-BSnDmHYo.cjs} +10 -10
- package/dist/src/{cloudflare-gateway-pXGHxJ47.js → cloudflare-gateway-CKDb4dJ8.js} +10 -10
- package/dist/src/{cloudflare-gateway-D6xFc5pa.js → cloudflare-gateway-CP9QEWYS.js} +10 -10
- package/dist/src/{cometapi-Bbjp5V4x.js → cometapi-BL9yvj_f.js} +10 -10
- package/dist/src/{cometapi-vY6aDZgo.cjs → cometapi-C4xSqeID.cjs} +10 -10
- package/dist/src/{cometapi-DkXrKi5z.js → cometapi-CUQq3H_a.js} +10 -10
- package/dist/src/{cometapi-BasUi7-_.js → cometapi-DFNiKmSz.js} +11 -11
- package/dist/src/{completion-C_P3ypkJ.js → completion-5MzrpJxT.js} +4 -4
- package/dist/src/{completion-CDOouNzq.cjs → completion-CM6oK8PS.cjs} +4 -4
- package/dist/src/{completion-C5rtR_9P.js → completion-DZ083F31.js} +4 -4
- package/dist/src/{completion-6Mx_iXxK.js → completion-qRoZAYRB.js} +4 -4
- package/dist/src/{docker-CZnqU1XV.js → docker-Bb5dcxr8.js} +9 -9
- package/dist/src/{docker-DzxyDPIj.js → docker-BvfL2BrW.js} +10 -10
- package/dist/src/{docker-BwsKwxFs.cjs → docker-DcF2pRrj.cjs} +9 -9
- package/dist/src/{docker-5KcG-_86.js → docker-ExVyLp0S.js} +9 -9
- package/dist/src/eval-B3r2CVXr.js +15 -0
- package/dist/src/{eval-DmFyWU7i.js → eval-Dg2nG4v2.js} +8 -8
- package/dist/src/evalResult-5xwYnECe.js +12 -0
- package/dist/src/evalResult-71lY93Kj.cjs +10 -0
- package/dist/src/{evalResult-CTG2AHOS.js → evalResult-BBRNtX4I.js} +5 -5
- package/dist/src/{evalResult-CDQiuUuf.js → evalResult-BDMqrapS.js} +5 -5
- package/dist/src/evalResult-Dx5P5cIv.js +10 -0
- package/dist/src/{evalResult-Dap2CekP.cjs → evalResult-fuaI8HkH.cjs} +5 -5
- package/dist/src/{evaluator-DPFRbFIL.js → evaluator-BhoWwp5b.js} +30 -26
- package/dist/src/evaluator-Jx6bRZV6.js +36 -0
- package/dist/src/{extractor-M67RUtg6.js → extractor-C0EVHewb.js} +5 -5
- package/dist/src/{extractor-YMU_Gvt8.js → extractor-D25qpmGX.js} +5 -5
- package/dist/src/{extractor-CFG6bcWJ.js → extractor-DReVID0K.js} +5 -5
- package/dist/src/{extractor-DX36oYEv.cjs → extractor-pYLLi3wS.cjs} +5 -5
- package/dist/src/{fetch-BxUk8odA.cjs → fetch-BPkYtG8K.cjs} +2 -2
- package/dist/src/fetch-BxNb_Lp3.js +5 -0
- package/dist/src/{fetch-60Gzydls.js → fetch-Cwxnd8zz.js} +2 -2
- package/dist/src/{fetch-BMv0O527.js → fetch-Dxpd4_sr.js} +3 -3
- package/dist/src/{fetch-4M3YRaqL.js → fetch-HaqdX7U1.js} +2 -2
- package/dist/src/{graders-CpdqD9PI.js → graders-BTeBGqjJ.js} +13 -13
- package/dist/src/graders-B_pgMLS2.js +34 -0
- package/dist/src/{graders-CHO8EPM4.js → graders-Bj_Odv7c.js} +13 -13
- package/dist/src/graders-DErokPDO.cjs +32 -0
- package/dist/src/{graders-R9rYUM0d.js → graders-DP7KFFo-.js} +13 -13
- package/dist/src/graders-DR_uNe54.js +32 -0
- package/dist/src/{graders-DOXycdlG.cjs → graders-DU49_J8Y.cjs} +13 -13
- package/dist/src/graders-w3176Wz-.js +32 -0
- package/dist/src/{image-gvmivTEe.js → image-B02ogr_b.js} +4 -4
- package/dist/src/{image-tL5hIOFh.js → image-B0h9VEMc.js} +3 -3
- package/dist/src/{image-DTedmQPg.cjs → image-BLmROtN3.cjs} +4 -4
- package/dist/src/{image-DJEvKveK.js → image-Bb4vWQLM.js} +3 -3
- package/dist/src/{image-CDLQOcqT.cjs → image-C1madmKh.cjs} +3 -3
- package/dist/src/{image-BmEZqVmk.js → image-CHfWvljl.js} +4 -4
- package/dist/src/{image-CBBVXWuT.js → image-DS-o-0ph.js} +4 -4
- package/dist/src/{image-pAX56tPG.js → image-Dpxa1Jt6.js} +4 -4
- package/dist/src/index.cjs +38 -34
- package/dist/src/index.d.cts +260 -0
- package/dist/src/index.d.ts +260 -0
- package/dist/src/index.js +38 -34
- package/dist/src/{knowledgeBase-CoU-UQBg.js → knowledgeBase-B3OoKIej.js} +6 -6
- package/dist/src/{knowledgeBase-CLJybhnF.js → knowledgeBase-CYTLHOt1.js} +7 -7
- package/dist/src/{knowledgeBase-DjWPVqSb.js → knowledgeBase-D33Ty2l6.js} +6 -6
- package/dist/src/{knowledgeBase-wkxuRFhA.cjs → knowledgeBase-DOO_BM9b.cjs} +6 -6
- package/dist/src/{litellm-B9Hysuri.js → litellm-AaeZcZQF.js} +12 -11
- package/dist/src/{litellm-NYpQ8RQu.cjs → litellm-I_hbp_dc.cjs} +11 -10
- package/dist/src/{litellm-ePxtr9F1.js → litellm-NbjknEh6.js} +11 -10
- package/dist/src/{litellm-CTfa0hqi.js → litellm-TrljxD9G.js} +11 -10
- package/dist/src/{luma-ray-BW9IRGIc.js → luma-ray-BS2_tY8L.js} +9 -9
- package/dist/src/{luma-ray-BE2mOt6N.js → luma-ray-DDsjcgZZ.js} +8 -8
- package/dist/src/{luma-ray-B0GGNRc1.cjs → luma-ray-Due0n7di.cjs} +8 -8
- package/dist/src/{luma-ray-Cm1KZBhs.js → luma-ray-f6I2fft-.js} +8 -8
- package/dist/src/main.js +33 -33
- package/dist/src/{messages-BLbWdsyt.js → messages-BS17jdMx.js} +7 -7
- package/dist/src/{messages-1JrJs91T.cjs → messages-Bs1kC7P4.cjs} +7 -7
- package/dist/src/{messages-1x9atZmP.js → messages-D0lx5qK7.js} +7 -7
- package/dist/src/{messages-D8EA0oDc.js → messages-ZJk778GH.js} +7 -7
- package/dist/src/{modelslab-X5-4LroM.js → modelslab-Bmni6skY.js} +8 -8
- package/dist/src/{modelslab-CqXBy3U8.js → modelslab-Bx9IrZfS.js} +9 -9
- package/dist/src/{modelslab-DcOSFwKh.cjs → modelslab-CoUX6Jc_.cjs} +8 -8
- package/dist/src/{modelslab-C1OLRmVX.js → modelslab-DRb74SP4.js} +8 -8
- package/dist/src/{nova-reel-BgS1ZWuK.js → nova-reel-BfPq-0Yk.js} +8 -8
- package/dist/src/{nova-reel-D9xfaMBs.cjs → nova-reel-C_QM18Xn.cjs} +8 -8
- package/dist/src/{nova-reel-D2ZkOSyr.js → nova-reel-D_W1tjMH.js} +9 -9
- package/dist/src/{nova-reel-DihqLeol.js → nova-reel-bgjxilYW.js} +8 -8
- package/dist/src/{nova-sonic-DezhVUYT.js → nova-sonic-CFb5GYhg.js} +5 -5
- package/dist/src/{nova-sonic-P-CdUMlV.js → nova-sonic-DIGQNR07.js} +5 -5
- package/dist/src/{nova-sonic-Q3BOJeig.js → nova-sonic-De1HW5fD.js} +6 -6
- package/dist/src/{nova-sonic-DVu3mMIy.cjs → nova-sonic-zfcljeRp.cjs} +5 -5
- package/dist/src/{openclaw-DAfWQn-o.cjs → openclaw-CSugPYAr.cjs} +169 -105
- package/dist/src/{openclaw-D1D_ej1z.js → openclaw-DiSz3I5L.js} +169 -106
- package/dist/src/{openclaw-BiSZPL7J.js → openclaw-DuvJKEW5.js} +168 -105
- package/dist/src/{openclaw-Bv1DINsX.js → openclaw-tiVYRtr-.js} +168 -105
- package/dist/src/{opencode-sdk-D95s6SnR.js → opencode-sdk-0j6rTWNb.js} +5 -5
- package/dist/src/{opencode-sdk-DxUPkLT7.js → opencode-sdk-B3CWY9h_.js} +4 -4
- package/dist/src/{opencode-sdk-CfaLN8PY.cjs → opencode-sdk-BL764Jdi.cjs} +4 -4
- package/dist/src/{opencode-sdk-C7m-wRfI.js → opencode-sdk-C2y6UkP2.js} +4 -4
- package/dist/src/{otlpReceiver-g3ByGaXs.js → otlpReceiver-C99PPb48.js} +4 -4
- package/dist/src/{otlpReceiver-Diec4cln.cjs → otlpReceiver-CGq6LspY.cjs} +4 -4
- package/dist/src/{otlpReceiver--AIRW_S4.js → otlpReceiver-CdNBdbsk.js} +4 -4
- package/dist/src/{otlpReceiver-Bn5wGB1v.js → otlpReceiver-D89fR-rC.js} +4 -4
- package/dist/src/providers-B7V0njNs.js +32 -0
- package/dist/src/providers-BEwbhv0X.js +30 -0
- package/dist/src/{providers-CFLy1_ji.js → providers-BlqUifFg.js} +54 -54
- package/dist/src/providers-CH3C7zf7.js +30 -0
- package/dist/src/{providers-CFu-TZl-.cjs → providers-CgKOSgTR.cjs} +53 -53
- package/dist/src/{providers-B3HvufyI.js → providers-D8lF1sqW.js} +53 -53
- package/dist/src/{providers-BKRJTjBz.js → providers-Dk_6ocUX.js} +53 -53
- package/dist/src/providers-zyB6k_38.cjs +31 -0
- package/dist/src/{quiverai-C2jVwbH1.js → quiverai-BbOUOn2L.js} +3 -3
- package/dist/src/{quiverai-CI6gYJVI.js → quiverai-CIaELU_m.js} +3 -3
- package/dist/src/{quiverai-CLkWkyZc.cjs → quiverai-PdShCPox.cjs} +3 -3
- package/dist/src/{quiverai-MHSxbmmZ.js → quiverai-uH-dcTIr.js} +4 -4
- package/dist/src/{responses-jxdehPkC.js → responses-CB2jwoAr.js} +7 -7
- package/dist/src/{responses-tD4Bd4dc.cjs → responses-D8SBTL64.cjs} +7 -7
- package/dist/src/{responses-BKqJmhhc.js → responses-DIR9Ud3j.js} +7 -7
- package/dist/src/{responses-CGw0DCzh.js → responses-WNGNYe3K.js} +7 -7
- package/dist/src/{sagemaker-BK4Zb993.js → sagemaker-CNBxx5CJ.js} +11 -11
- package/dist/src/{sagemaker-D2Q1c-sD.js → sagemaker-CemTFp2h.js} +11 -11
- package/dist/src/{sagemaker-CcQHM1jV.cjs → sagemaker-Cl28mZU2.cjs} +11 -11
- package/dist/src/{sagemaker-BfiWTmvn.js → sagemaker-YSyBXQQh.js} +12 -12
- package/dist/src/{scanner-J8CA3LsV.js → scanner-BsBlNXNn.js} +7 -7
- package/dist/src/server/index.js +39 -35
- package/dist/src/{server-B0PPuDw-.cjs → server-C_7Ax-hA.cjs} +3 -3
- package/dist/src/{server-DbFphssR.js → server-CqzrVGpF.js} +5 -5
- package/dist/src/{server-OAs3nBRT.js → server-CuxBbeSY.js} +4 -4
- package/dist/src/server-DA4Cyrrq.js +7 -0
- package/dist/src/server-Dulb-4-K.cjs +5 -0
- package/dist/src/{server-BC7XJFgr.js → server-VWgWb00X.js} +3 -3
- package/dist/src/{signal-BOTbd53Z.js → signal-4U3mfRvL.js} +2 -2
- package/dist/src/{store-Ub2vaGJ1.js → store-CXGFv4aR.js} +2 -2
- package/dist/src/store-CXS-Q_91.js +6 -0
- package/dist/src/{store-BSc-TF2w.cjs → store-DLlFCC4h.cjs} +2 -2
- package/dist/src/{store-DQLEjuEO.js → store-DXilxTl-.js} +2 -2
- package/dist/src/{store-D1tv90v3.js → store-Dim__MDd.js} +2 -2
- package/dist/src/store-eYkaKMwq.cjs +5 -0
- package/dist/src/{tables-5EvT_Bwn.js → tables-6YKwjN9-.js} +2 -2
- package/dist/src/{tables-xKANLRBD.js → tables-DLJPUdUE.js} +2 -2
- package/dist/src/{tables-C7K-XKWp.cjs → tables-DPi7wKeM.cjs} +2 -2
- package/dist/src/{tables-D36WTqKX.js → tables-gftXzE9I.js} +2 -2
- package/dist/src/telemetry-BpMfhthR.cjs +5 -0
- package/dist/src/{telemetry-C2YDkUQH.js → telemetry-CMrFgtPB.js} +3 -3
- package/dist/src/{telemetry-DMb2Mpfm.js → telemetry-Cps3mIU-.js} +3 -3
- package/dist/src/{telemetry-CbrnxHp_.cjs → telemetry-DaX14Chu.cjs} +3 -3
- package/dist/src/{telemetry-C15ziL8u.js → telemetry-Dthj_BbD.js} +3 -3
- package/dist/src/telemetry-Dw38hanS.js +7 -0
- package/dist/src/{transcription-DAtxHhAM.js → transcription-BNYURcXg.js} +6 -6
- package/dist/src/{transcription-LNZTNUUL.js → transcription-B_OdaHp7.js} +6 -6
- package/dist/src/{transcription-CL78qbOU.cjs → transcription-NLVG9MT1.cjs} +6 -6
- package/dist/src/{transcription-QHh3AH6Z.js → transcription-s6A-bNrZ.js} +7 -7
- package/dist/src/{transform-Cgi24fJ7.js → transform-D5HsjduX.js} +3 -3
- package/dist/src/{transform-DOcQeLld.cjs → transform-DuHvhZpj.cjs} +3 -3
- package/dist/src/{transform-DGxXocjk.js → transform-uAytVuyX.js} +3 -3
- package/dist/src/{transform-DGLazrMm.js → transform-vNucnNr0.js} +3 -3
- package/dist/src/{types-LJ0r3wbR.cjs → types-C_7nyzr1.cjs} +39 -11
- package/dist/src/{types-CH3Ge2sE.js → types-Cbd8uOMq.js} +39 -11
- package/dist/src/{types-CN_TZ2GJ.js → types-CzW2QFyi.js} +39 -11
- package/dist/src/{types-CLKiCBW3.js → types-DmyIJ-sR.js} +39 -11
- package/dist/src/{util-B7T3SiBS.js → util-B3xGByQh.js} +3 -3
- package/dist/src/{util-Yz-1aEhW.cjs → util-B9vlHIIh.cjs} +3 -7
- package/dist/src/{util-ZZH-3QZz.js → util-BHGHw5G1.js} +3 -3
- package/dist/src/{util-Dlz_Wvgm.js → util-BRYkYPTd.js} +3 -7
- package/dist/src/{util-6-GqIvzS.js → util-BV4XUC0n.js} +3 -3
- package/dist/src/{util-DaWTWKBK.js → util-Bv6uGDfH.js} +3 -3
- package/dist/src/{util-Db0a0AFH.cjs → util-BzMcevZc.cjs} +3 -3
- package/dist/src/{util-YT5HPZaS.js → util-C1CeHl-P.js} +3 -7
- package/dist/src/{util-C-PPYSMq.js → util-CMy69ZgQ.js} +3 -3
- package/dist/src/{util-CchiqXh_.cjs → util-DGNOS1db.cjs} +3 -3
- package/dist/src/{util-Betm42rL.js → util-Dnmk2mBQ.js} +3 -3
- package/dist/src/{util-5cB-L7U3.js → util-ZzmqNPlg.js} +3 -7
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +12 -12
- package/dist/src/app/assets/vendor-charts-CCl15Imd.js +0 -36
- package/dist/src/cache-BwsMSda7.js +0 -6
- package/dist/src/eval-17JizQIv.js +0 -15
- package/dist/src/evalResult-Cqj8pldJ.js +0 -12
- package/dist/src/evalResult-DvcJAWJU.cjs +0 -10
- package/dist/src/evalResult-Hftn-S_i.js +0 -10
- package/dist/src/evaluator-B2CFNt-P.js +0 -36
- package/dist/src/fetch-KV5kNASw.js +0 -5
- package/dist/src/graders-Bu0H9nXi.js +0 -32
- package/dist/src/graders-Cfhkvx-e.js +0 -34
- package/dist/src/graders-DClJVpGP.cjs +0 -32
- package/dist/src/graders-DcnJsrMO.js +0 -32
- package/dist/src/providers-C1rOSHiR.js +0 -32
- package/dist/src/providers-CxmDwEFf.cjs +0 -31
- package/dist/src/providers-Dodakqr0.js +0 -30
- package/dist/src/providers-GIQ2TcsA.js +0 -30
- package/dist/src/server-B1vi21hA.js +0 -7
- package/dist/src/server-Cm9Kai_h.cjs +0 -5
- package/dist/src/store-BNmZ1KAz.cjs +0 -5
- package/dist/src/store-BltJg2cd.js +0 -6
- package/dist/src/telemetry-5BCRNBbe.cjs +0 -5
- package/dist/src/telemetry-D4W5hboe.js +0 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as getEnvBool, i as logger } from "./logger-DLcq4dWf.js";
|
|
2
|
-
import { o as cloudConfig } from "./fetch-
|
|
3
|
-
import { c as isLoggedIntoCloud } from "./accounts-
|
|
4
|
-
import { i as storeBlob, r as recordBlobReference } from "./blobs-
|
|
2
|
+
import { o as cloudConfig } from "./fetch-HaqdX7U1.js";
|
|
3
|
+
import { c as isLoggedIntoCloud } from "./accounts-B0pgC1oV.js";
|
|
4
|
+
import { i as storeBlob, r as recordBlobReference } from "./blobs-BDbfYdrJ.js";
|
|
5
5
|
//#region src/blobs/remoteUpload.ts
|
|
6
6
|
function buildRemoteUrl() {
|
|
7
7
|
const baseUrl = cloudConfig.getApiHost();
|
|
@@ -25,7 +25,7 @@ async function uploadBlobRemote(buffer, mimeType, context) {
|
|
|
25
25
|
const apiKey = cloudConfig.getApiKey();
|
|
26
26
|
if (!url || !apiKey) return null;
|
|
27
27
|
try {
|
|
28
|
-
const { fetchWithProxy } = await import("./fetch-
|
|
28
|
+
const { fetchWithProxy } = await import("./fetch-HaqdX7U1.js").then((n) => n.i);
|
|
29
29
|
const response = await fetchWithProxy(url, {
|
|
30
30
|
method: "POST",
|
|
31
31
|
headers: {
|
|
@@ -371,4 +371,4 @@ async function recordExistingBlobReferences(value, context, location) {
|
|
|
371
371
|
//#endregion
|
|
372
372
|
export { isBlobStorageEnabled as n, shouldAttemptRemoteBlobUpload as r, extractAndStoreBinaryData as t };
|
|
373
373
|
|
|
374
|
-
//# sourceMappingURL=extractor-
|
|
374
|
+
//# sourceMappingURL=extractor-D25qpmGX.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { b as getEnvBool, o as logger } from "./logger-KkObSCzq.js";
|
|
3
|
-
import { c as isLoggedIntoCloud } from "./accounts-
|
|
4
|
-
import { a as cloudConfig } from "./cloud-
|
|
5
|
-
import { i as storeBlob, r as recordBlobReference } from "./blobs-
|
|
3
|
+
import { c as isLoggedIntoCloud } from "./accounts-Bm2D8Db9.js";
|
|
4
|
+
import { a as cloudConfig } from "./cloud-C0dlstV_.js";
|
|
5
|
+
import { i as storeBlob, r as recordBlobReference } from "./blobs-CMHN0Qcz.js";
|
|
6
6
|
//#region src/blobs/remoteUpload.ts
|
|
7
7
|
function buildRemoteUrl() {
|
|
8
8
|
const baseUrl = cloudConfig.getApiHost();
|
|
@@ -26,7 +26,7 @@ async function uploadBlobRemote(buffer, mimeType, context) {
|
|
|
26
26
|
const apiKey = cloudConfig.getApiKey();
|
|
27
27
|
if (!url || !apiKey) return null;
|
|
28
28
|
try {
|
|
29
|
-
const { fetchWithProxy } = await import("./fetch-
|
|
29
|
+
const { fetchWithProxy } = await import("./fetch-BxNb_Lp3.js");
|
|
30
30
|
const response = await fetchWithProxy(url, {
|
|
31
31
|
method: "POST",
|
|
32
32
|
headers: {
|
|
@@ -372,4 +372,4 @@ async function recordExistingBlobReferences(value, context, location) {
|
|
|
372
372
|
//#endregion
|
|
373
373
|
export { isBlobStorageEnabled as n, shouldAttemptRemoteBlobUpload as r, extractAndStoreBinaryData as t };
|
|
374
374
|
|
|
375
|
-
//# sourceMappingURL=extractor-
|
|
375
|
+
//# sourceMappingURL=extractor-DReVID0K.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_logger = require("./logger-Cp1GPUjj.cjs");
|
|
2
|
-
const require_fetch = require("./fetch-
|
|
3
|
-
const require_accounts = require("./accounts-
|
|
4
|
-
const require_blobs = require("./blobs-
|
|
2
|
+
const require_fetch = require("./fetch-BPkYtG8K.cjs");
|
|
3
|
+
const require_accounts = require("./accounts-gtkH-5KX.cjs");
|
|
4
|
+
const require_blobs = require("./blobs-D23XLin-.cjs");
|
|
5
5
|
//#region src/blobs/remoteUpload.ts
|
|
6
6
|
function buildRemoteUrl() {
|
|
7
7
|
const baseUrl = require_fetch.cloudConfig.getApiHost();
|
|
@@ -25,7 +25,7 @@ async function uploadBlobRemote(buffer, mimeType, context) {
|
|
|
25
25
|
const apiKey = require_fetch.cloudConfig.getApiKey();
|
|
26
26
|
if (!url || !apiKey) return null;
|
|
27
27
|
try {
|
|
28
|
-
const { fetchWithProxy } = await Promise.resolve().then(() => require("./fetch-
|
|
28
|
+
const { fetchWithProxy } = await Promise.resolve().then(() => require("./fetch-BPkYtG8K.cjs")).then((n) => n.fetch_exports);
|
|
29
29
|
const response = await fetchWithProxy(url, {
|
|
30
30
|
method: "POST",
|
|
31
31
|
headers: {
|
|
@@ -388,4 +388,4 @@ Object.defineProperty(exports, "shouldAttemptRemoteBlobUpload", {
|
|
|
388
388
|
}
|
|
389
389
|
});
|
|
390
390
|
|
|
391
|
-
//# sourceMappingURL=extractor-
|
|
391
|
+
//# sourceMappingURL=extractor-pYLLi3wS.cjs.map
|
|
@@ -25,7 +25,7 @@ const HUMAN_ASSERTION_TYPE = "human";
|
|
|
25
25
|
* Application version from package.json.
|
|
26
26
|
* Injected at build time, or read from npm environment in development.
|
|
27
27
|
*/
|
|
28
|
-
const VERSION = "0.121.
|
|
28
|
+
const VERSION = "0.121.2";
|
|
29
29
|
/**
|
|
30
30
|
* PostHog analytics key.
|
|
31
31
|
* Only populated during production builds via PROMPTFOO_POSTHOG_KEY env var.
|
|
@@ -985,4 +985,4 @@ Object.defineProperty(exports, "writeGlobalConfigPartial", {
|
|
|
985
985
|
}
|
|
986
986
|
});
|
|
987
987
|
|
|
988
|
-
//# sourceMappingURL=fetch-
|
|
988
|
+
//# sourceMappingURL=fetch-BPkYtG8K.cjs.map
|
|
@@ -23,7 +23,7 @@ const HUMAN_ASSERTION_TYPE = "human";
|
|
|
23
23
|
* Application version from package.json.
|
|
24
24
|
* Injected at build time, or read from npm environment in development.
|
|
25
25
|
*/
|
|
26
|
-
const VERSION = "0.121.
|
|
26
|
+
const VERSION = "0.121.2";
|
|
27
27
|
/**
|
|
28
28
|
* PostHog analytics key.
|
|
29
29
|
* Only populated during production builds via PROMPTFOO_POSTHOG_KEY env var.
|
|
@@ -774,4 +774,4 @@ async function fetchWithRetries(url, options = {}, timeout, maxRetries) {
|
|
|
774
774
|
//#endregion
|
|
775
775
|
export { getShareApiBaseUrl as A, transformTools as C, R_ENDPOINT as D, EVENTS_ENDPOINT as E, HUMAN_ASSERTION_TYPE as F, POSTHOG_KEY as M, VERSION as N, TERMINAL_MAX_WIDTH as O, FILE_METADATA_KEY as P, transformToolChoice as S, CONSENT_ENDPOINT as T, isPromptfooSampleTarget as _, CloudConfig as a, parseChatPrompt as b, writeGlobalConfig as c, sleep as d, LONG_RUNNING_MODEL_TIMEOUT_MS as f, isOpenAIToolChoice as g, isOpenAIToolArray as h, fetch_exports as i, getShareViewBaseUrl as j, getDefaultShareViewBaseUrl as k, writeGlobalConfigPartial as l, calculateCost as m, fetchWithRetries as n, cloudConfig as o, REQUEST_TIMEOUT_MS as p, fetchWithTimeout as r, readGlobalConfig as s, fetchWithProxy as t, getCurrentTimestamp as u, openaiToolChoiceToBedrock as v, CLOUD_PROVIDER_PREFIX as w, toTitleCase as x, openaiToolsToBedrock as y };
|
|
776
776
|
|
|
777
|
-
//# sourceMappingURL=fetch-
|
|
777
|
+
//# sourceMappingURL=fetch-Cwxnd8zz.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { C as getEnvString, O as state, S as getEnvInt, a as logRequestResponse, b as getEnvBool, o as logger, u as sanitizeUrl } from "./logger-KkObSCzq.js";
|
|
3
3
|
import { t as invariant } from "./invariant-BtWWVVhl.js";
|
|
4
|
-
import { a as cloudConfig } from "./cloud-
|
|
4
|
+
import { a as cloudConfig } from "./cloud-C0dlstV_.js";
|
|
5
5
|
import { Agent, ProxyAgent } from "undici";
|
|
6
6
|
import path from "path";
|
|
7
7
|
import yaml from "js-yaml";
|
|
@@ -22,7 +22,7 @@ const HUMAN_ASSERTION_TYPE = "human";
|
|
|
22
22
|
* Application version from package.json.
|
|
23
23
|
* Injected at build time, or read from npm environment in development.
|
|
24
24
|
*/
|
|
25
|
-
const VERSION = "0.121.
|
|
25
|
+
const VERSION = "0.121.2";
|
|
26
26
|
/**
|
|
27
27
|
* PostHog analytics key.
|
|
28
28
|
* Only populated during production builds via PROMPTFOO_POSTHOG_KEY env var.
|
|
@@ -595,4 +595,4 @@ async function fetchWithRetries(url, options = {}, timeout, maxRetries) {
|
|
|
595
595
|
//#endregion
|
|
596
596
|
export { getShareApiBaseUrl as A, CLOUD_PROVIDER_PREFIX as C, TERMINAL_MAX_WIDTH as D, R_ENDPOINT as E, HUMAN_ASSERTION_TYPE as F, POSTHOG_KEY as M, VERSION as N, getDefaultPort as O, FILE_METADATA_KEY as P, transformTools as S, EVENTS_ENDPOINT as T, openaiToolChoiceToBedrock as _, handleRateLimit as a, toTitleCase as b, getCurrentTimestamp as c, LONG_RUNNING_MODEL_TIMEOUT_MS as d, REQUEST_TIMEOUT_MS as f, isPromptfooSampleTarget as g, isOpenAIToolChoice as h, fetchWithTimeout as i, getShareViewBaseUrl as j, getDefaultShareViewBaseUrl as k, sleep as l, isOpenAIToolArray as m, fetchWithProxy as n, isRateLimited as o, calculateCost as p, fetchWithRetries as r, isTransientError as s, clearAgentCache as t, sleepWithAbort as u, openaiToolsToBedrock as v, CONSENT_ENDPOINT as w, transformToolChoice as x, parseChatPrompt as y };
|
|
597
597
|
|
|
598
|
-
//# sourceMappingURL=fetch-
|
|
598
|
+
//# sourceMappingURL=fetch-Dxpd4_sr.js.map
|
|
@@ -23,7 +23,7 @@ const HUMAN_ASSERTION_TYPE = "human";
|
|
|
23
23
|
* Application version from package.json.
|
|
24
24
|
* Injected at build time, or read from npm environment in development.
|
|
25
25
|
*/
|
|
26
|
-
const VERSION = "0.121.
|
|
26
|
+
const VERSION = "0.121.2";
|
|
27
27
|
/**
|
|
28
28
|
* PostHog analytics key.
|
|
29
29
|
* Only populated during production builds via PROMPTFOO_POSTHOG_KEY env var.
|
|
@@ -777,4 +777,4 @@ async function fetchWithRetries(url, options = {}, timeout, maxRetries) {
|
|
|
777
777
|
//#endregion
|
|
778
778
|
export { getDefaultShareViewBaseUrl as A, transformTools as C, R_ENDPOINT as D, EVENTS_ENDPOINT as E, FILE_METADATA_KEY as F, HUMAN_ASSERTION_TYPE as I, getShareViewBaseUrl as M, POSTHOG_KEY as N, TERMINAL_MAX_WIDTH as O, VERSION as P, transformToolChoice as S, CONSENT_ENDPOINT as T, isPromptfooSampleTarget as _, CloudConfig as a, parseChatPrompt as b, writeGlobalConfig as c, sleep as d, LONG_RUNNING_MODEL_TIMEOUT_MS as f, isOpenAIToolChoice as g, isOpenAIToolArray as h, fetch_exports as i, getShareApiBaseUrl as j, getDefaultPort as k, writeGlobalConfigPartial as l, calculateCost as m, fetchWithRetries as n, cloudConfig as o, REQUEST_TIMEOUT_MS as p, fetchWithTimeout as r, readGlobalConfig as s, fetchWithProxy as t, getCurrentTimestamp as u, openaiToolChoiceToBedrock as v, CLOUD_PROVIDER_PREFIX as w, toTitleCase as x, openaiToolsToBedrock as y };
|
|
779
779
|
|
|
780
|
-
//# sourceMappingURL=fetch-
|
|
780
|
+
//# sourceMappingURL=fetch-HaqdX7U1.js.map
|
|
@@ -4,21 +4,21 @@ import { r as importModule } from "./esm-Cd1AjG1D.js";
|
|
|
4
4
|
import { r as runPython } from "./pythonUtils-D5nxkQ0P.js";
|
|
5
5
|
import { i as isJavascriptFile } from "./fileExtensions-DnqA1y9x.js";
|
|
6
6
|
import { n as transform } from "./transform-DECvGmzp.js";
|
|
7
|
-
import { B as isValidReusablePolicyId, G as MULTI_TURN_STRATEGIES, R as PolicyObjectSchema, St as PromptSchema, ut as LLAMA_GUARD_REPLICATE_PROVIDER } from "./types-
|
|
8
|
-
import { _ as extractVariablesFromTemplate, a as getNunjucksEngineForFilePath, c as maybeLoadFromExternalFile, d as maybeLoadToolsFromExternalFile, f as parsePathOrGlob, s as maybeLoadConfigFromExternalFile, x as parseFileUrl, y as getNunjucksEngine } from "./util-
|
|
9
|
-
import { d as sleep, p as REQUEST_TIMEOUT_MS, r as fetchWithTimeout, t as fetchWithProxy } from "./fetch-
|
|
10
|
-
import { a as isCacheEnabled, i as getCache, r as fetchWithCache } from "./cache-
|
|
11
|
-
import { $ as DefaultSynthesizeProvider$1, G as DefaultEmbeddingProvider$2, H as OpenAiModerationProvider, K as DefaultGradingProvider$3, N as REDTEAM_MEMORY_POISONING_PLUGIN_ID, O as redteamProviderManager, Q as DefaultSuggestionsProvider$2, S as removePrefix, U as MistralChatCompletionProvider, W as MistralEmbeddingProvider, X as DefaultGradingProvider$2, Y as DefaultGradingJsonProvider$2, Z as DefaultLlmRubricProvider, _ as extractVariablesFromJson, b as isBasicRefusal, et as AzureModerationProvider, f as checkExfilTracking, g as extractPromptFromTags, h as extractInputVarsFromPrompt, it as parseScriptParts, m as extractGoalFromPrompt, n as loadApiProvider, nt as AzureChatCompletionProvider, p as extractAllPromptsFromTags, rt as getFileHashes, tt as AzureEmbeddingProvider, x as isEmptyResponse, y as getShortPluginId, z as getPoliciesFromCloud } from "./providers-
|
|
7
|
+
import { B as isValidReusablePolicyId, G as MULTI_TURN_STRATEGIES, R as PolicyObjectSchema, St as PromptSchema, ut as LLAMA_GUARD_REPLICATE_PROVIDER } from "./types-DmyIJ-sR.js";
|
|
8
|
+
import { _ as extractVariablesFromTemplate, a as getNunjucksEngineForFilePath, c as maybeLoadFromExternalFile, d as maybeLoadToolsFromExternalFile, f as parsePathOrGlob, s as maybeLoadConfigFromExternalFile, x as parseFileUrl, y as getNunjucksEngine } from "./util-BRYkYPTd.js";
|
|
9
|
+
import { d as sleep, p as REQUEST_TIMEOUT_MS, r as fetchWithTimeout, t as fetchWithProxy } from "./fetch-Cwxnd8zz.js";
|
|
10
|
+
import { a as isCacheEnabled, i as getCache, r as fetchWithCache } from "./cache-C4Nxf52C.js";
|
|
11
|
+
import { $ as DefaultSynthesizeProvider$1, G as DefaultEmbeddingProvider$2, H as OpenAiModerationProvider, K as DefaultGradingProvider$3, N as REDTEAM_MEMORY_POISONING_PLUGIN_ID, O as redteamProviderManager, Q as DefaultSuggestionsProvider$2, S as removePrefix, U as MistralChatCompletionProvider, W as MistralEmbeddingProvider, X as DefaultGradingProvider$2, Y as DefaultGradingJsonProvider$2, Z as DefaultLlmRubricProvider, _ as extractVariablesFromJson, b as isBasicRefusal, et as AzureModerationProvider, f as checkExfilTracking, g as extractPromptFromTags, h as extractInputVarsFromPrompt, it as parseScriptParts, m as extractGoalFromPrompt, n as loadApiProvider, nt as AzureChatCompletionProvider, p as extractAllPromptsFromTags, rt as getFileHashes, tt as AzureEmbeddingProvider, x as isEmptyResponse, y as getShortPluginId, z as getPoliciesFromCloud } from "./providers-Dk_6ocUX.js";
|
|
12
12
|
import { a as PROMPT_DELIMITER, n as maybeFilePath, r as normalizeInput } from "./utils-XiOAgly5.js";
|
|
13
13
|
import { n as sha256 } from "./createHash-DmPQkvBh.js";
|
|
14
|
-
import { t as OpenAiChatCompletionProvider } from "./chat-
|
|
14
|
+
import { t as OpenAiChatCompletionProvider } from "./chat-DqxYYtWA.js";
|
|
15
15
|
import { r as accumulateTokenUsage } from "./tokenUsageUtils-NYT-WKS6.js";
|
|
16
|
-
import { v as hasGoogleDefaultCredentials } from "./transform-
|
|
17
|
-
import { t as AnthropicMessagesProvider } from "./messages-
|
|
18
|
-
import { t as OpenAiResponsesProvider } from "./responses-
|
|
19
|
-
import { n as OpenAiEmbeddingProvider } from "./completion-
|
|
20
|
-
import { i as getUserEmail } from "./accounts-
|
|
21
|
-
import { i as getRemoteGenerationUrl, l as shouldGenerateRemote } from "./server-
|
|
16
|
+
import { v as hasGoogleDefaultCredentials } from "./transform-vNucnNr0.js";
|
|
17
|
+
import { t as AnthropicMessagesProvider } from "./messages-BS17jdMx.js";
|
|
18
|
+
import { t as OpenAiResponsesProvider } from "./responses-DIR9Ud3j.js";
|
|
19
|
+
import { n as OpenAiEmbeddingProvider } from "./completion-5MzrpJxT.js";
|
|
20
|
+
import { i as getUserEmail } from "./accounts-CiBLOnA7.js";
|
|
21
|
+
import { i as getRemoteGenerationUrl, l as shouldGenerateRemote } from "./server-VWgWb00X.js";
|
|
22
22
|
import * as fs$1 from "fs";
|
|
23
23
|
import fs from "fs";
|
|
24
24
|
import path from "path";
|
|
@@ -13463,4 +13463,4 @@ function getGraderById(id) {
|
|
|
13463
13463
|
//#endregion
|
|
13464
13464
|
export { matchesSearchRubric as $, BeavertailsPlugin as A, getAndCheckProvider as B, HarmbenchPlugin as C, DebugAccessPlugin as D, DivergentRepetitionPlugin as E, retryWithDeduplication as F, matchesContextFaithfulness as G, matchesAnswerRelevance as H, sampleArray as I, matchesFactuality as J, matchesContextRecall as K, fetchHuggingFaceDataset as L, RedteamGraderBase as M, RedteamPluginBase as N, CrossSessionLeakPlugin as O, getCustomPolicies as P, matchesPiScore as Q, callProviderWithContext as R, ImitationPlugin as S, ExcessiveAgencyPlugin as T, matchesClassification as U, loadRubricPrompt as V, matchesClosedQa as W, matchesLlmRubric as X, matchesGEval as Y, matchesModeration as Z, makeInlinePolicyIdSync as _, UnverifiableClaimsPlugin as a, processPrompts as at, OverreliancePlugin as b, ToolDiscoveryPlugin as c, SUGGEST_PROMPTS_SYSTEM_MESSAGE as ct, RbacPlugin as d, loadFromJavaScriptFile as dt, matchesSelectBest as et, PromptExtractionPlugin as f, processFileReference as ft, isValidPolicyObject as g, determinePolicyTypeFromId as h, VLGuardPlugin as i, DefaultSuggestionsProvider as it, AegisPlugin as j, ContractPlugin as k, SqlInjectionPlugin as l, coerceString as lt, PolicyPlugin as m, getGraderById as n, selectMaxScore as nt, UnsafeBenchPlugin as o, readPrompts as ot, PoliticsPlugin as p, resolveContext as pt, matchesContextRelevance as q, VLSUPlugin as r, getDefaultProviders as rt, ToxicChatPlugin as s, readProviderPromptMap as st, GRADERS as t, matchesSimilarity as tt, ShellInjectionPlugin as u, getFinalTest as ut, PlinyPlugin as v, HallucinationPlugin as w, IntentPlugin as x, getPiiLeakTestsForCategory as y, fail as z };
|
|
13465
13465
|
|
|
13466
|
-
//# sourceMappingURL=graders-
|
|
13466
|
+
//# sourceMappingURL=graders-BTeBGqjJ.js.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import "./logger-KkObSCzq.js";
|
|
3
|
+
import "./fetch-Dxpd4_sr.js";
|
|
4
|
+
import "./accounts-Bm2D8Db9.js";
|
|
5
|
+
import "./cloud-C0dlstV_.js";
|
|
6
|
+
import "./telemetry-CMrFgtPB.js";
|
|
7
|
+
import "./types-Cbd8uOMq.js";
|
|
8
|
+
import "./server-CqzrVGpF.js";
|
|
9
|
+
import "./providers-BlqUifFg.js";
|
|
10
|
+
import "./cache-BVeDlD87.js";
|
|
11
|
+
import "./util-C1CeHl-P.js";
|
|
12
|
+
import "./esm-C03C-mv3.js";
|
|
13
|
+
import "./pythonUtils-C3py6GC1.js";
|
|
14
|
+
import "./transform-DilY9wbS.js";
|
|
15
|
+
import { n as getGraderById } from "./graders-Bj_Odv7c.js";
|
|
16
|
+
import "./utils-f2-Moju7.js";
|
|
17
|
+
import "./genaiTracer-C1rxGO8Q.js";
|
|
18
|
+
import "./chat-BiKyneZl.js";
|
|
19
|
+
import "./transform-D5HsjduX.js";
|
|
20
|
+
import "./messages-D0lx5qK7.js";
|
|
21
|
+
import "./util-B3xGByQh.js";
|
|
22
|
+
import "./responses-WNGNYe3K.js";
|
|
23
|
+
import "./openai-DhbB7eWK.js";
|
|
24
|
+
import "./util-CMy69ZgQ.js";
|
|
25
|
+
import "./completion-DZ083F31.js";
|
|
26
|
+
import "./blobs-CMHN0Qcz.js";
|
|
27
|
+
import "./tables-gftXzE9I.js";
|
|
28
|
+
import "./extractor-DReVID0K.js";
|
|
29
|
+
import "./store-Dim__MDd.js";
|
|
30
|
+
import "./base-Dy1V8--Z.js";
|
|
31
|
+
import "./image-DS-o-0ph.js";
|
|
32
|
+
import "./providerRegistry-B0RUOLI_.js";
|
|
33
|
+
import "./rubyUtils-Boc4HZzX.js";
|
|
34
|
+
export { getGraderById };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { C as getEnvString, E as isCI, O as state, b as getEnvBool, d as extractFirstJsonObject, f as extractJsonObjects, g as safeJsonStringify, o as logger } from "./logger-KkObSCzq.js";
|
|
3
|
-
import { f as REQUEST_TIMEOUT_MS, i as fetchWithTimeout, l as sleep, n as fetchWithProxy } from "./fetch-
|
|
3
|
+
import { f as REQUEST_TIMEOUT_MS, i as fetchWithTimeout, l as sleep, n as fetchWithProxy } from "./fetch-Dxpd4_sr.js";
|
|
4
4
|
import { t as invariant } from "./invariant-BtWWVVhl.js";
|
|
5
|
-
import { o as getUserEmail } from "./accounts-
|
|
6
|
-
import { C as PolicyObjectSchema, M as MULTI_TURN_STRATEGIES, T as isValidReusablePolicyId, _ as PromptSchema, tt as LLAMA_GUARD_REPLICATE_PROVIDER } from "./types-
|
|
7
|
-
import { l as getRemoteGenerationUrl, m as shouldGenerateRemote } from "./server-
|
|
8
|
-
import { $ as AzureEmbeddingProvider, B as OpenAiModerationProvider, C as extractVariablesFromJson, D as isEmptyResponse, E as isBasicRefusal, H as MistralEmbeddingProvider, J as DefaultGradingProvider$2, O as removePrefix, P as redteamProviderManager, Q as AzureModerationProvider, S as extractPromptFromTags, T as getShortPluginId, U as DefaultEmbeddingProvider$2, V as MistralChatCompletionProvider, W as DefaultGradingProvider$3, X as DefaultSuggestionsProvider$2, Y as DefaultLlmRubricProvider, Z as DefaultSynthesizeProvider$1, b as extractGoalFromPrompt, dt as getPoliciesFromCloud, et as AzureChatCompletionProvider, n as loadApiProvider, nt as parseScriptParts, q as DefaultGradingJsonProvider$2, tt as getFileHashes, v as checkExfilTracking, x as extractInputVarsFromPrompt, y as extractAllPromptsFromTags, z as REDTEAM_MEMORY_POISONING_PLUGIN_ID } from "./providers-
|
|
9
|
-
import { a as fetchWithCache, o as getCache, s as isCacheEnabled } from "./cache-
|
|
5
|
+
import { o as getUserEmail } from "./accounts-Bm2D8Db9.js";
|
|
6
|
+
import { C as PolicyObjectSchema, M as MULTI_TURN_STRATEGIES, T as isValidReusablePolicyId, _ as PromptSchema, tt as LLAMA_GUARD_REPLICATE_PROVIDER } from "./types-Cbd8uOMq.js";
|
|
7
|
+
import { l as getRemoteGenerationUrl, m as shouldGenerateRemote } from "./server-CqzrVGpF.js";
|
|
8
|
+
import { $ as AzureEmbeddingProvider, B as OpenAiModerationProvider, C as extractVariablesFromJson, D as isEmptyResponse, E as isBasicRefusal, H as MistralEmbeddingProvider, J as DefaultGradingProvider$2, O as removePrefix, P as redteamProviderManager, Q as AzureModerationProvider, S as extractPromptFromTags, T as getShortPluginId, U as DefaultEmbeddingProvider$2, V as MistralChatCompletionProvider, W as DefaultGradingProvider$3, X as DefaultSuggestionsProvider$2, Y as DefaultLlmRubricProvider, Z as DefaultSynthesizeProvider$1, b as extractGoalFromPrompt, dt as getPoliciesFromCloud, et as AzureChatCompletionProvider, n as loadApiProvider, nt as parseScriptParts, q as DefaultGradingJsonProvider$2, tt as getFileHashes, v as checkExfilTracking, x as extractInputVarsFromPrompt, y as extractAllPromptsFromTags, z as REDTEAM_MEMORY_POISONING_PLUGIN_ID } from "./providers-BlqUifFg.js";
|
|
9
|
+
import { a as fetchWithCache, o as getCache, s as isCacheEnabled } from "./cache-BVeDlD87.js";
|
|
10
10
|
import { i as isJavascriptFile } from "./fileExtensions-Ds-foDzt.js";
|
|
11
|
-
import { E as parseFileUrl, S as extractVariablesFromTemplate, _ as parsePathOrGlob, f as maybeLoadConfigFromExternalFile, g as maybeLoadToolsFromExternalFile, p as maybeLoadFromExternalFile, u as getNunjucksEngineForFilePath, w as getNunjucksEngine } from "./util-
|
|
11
|
+
import { E as parseFileUrl, S as extractVariablesFromTemplate, _ as parsePathOrGlob, f as maybeLoadConfigFromExternalFile, g as maybeLoadToolsFromExternalFile, p as maybeLoadFromExternalFile, u as getNunjucksEngineForFilePath, w as getNunjucksEngine } from "./util-C1CeHl-P.js";
|
|
12
12
|
import { r as importModule } from "./esm-C03C-mv3.js";
|
|
13
13
|
import { r as runPython } from "./pythonUtils-C3py6GC1.js";
|
|
14
14
|
import { n as transform } from "./transform-DilY9wbS.js";
|
|
15
15
|
import { a as PROMPT_DELIMITER, n as maybeFilePath, r as normalizeInput } from "./utils-f2-Moju7.js";
|
|
16
16
|
import { n as sha256 } from "./createHash-Da8fMwqB.js";
|
|
17
|
-
import { t as OpenAiChatCompletionProvider } from "./chat-
|
|
17
|
+
import { t as OpenAiChatCompletionProvider } from "./chat-BiKyneZl.js";
|
|
18
18
|
import { r as accumulateTokenUsage } from "./tokenUsageUtils-DflFMjS0.js";
|
|
19
|
-
import { v as hasGoogleDefaultCredentials } from "./transform-
|
|
20
|
-
import { t as AnthropicMessagesProvider } from "./messages-
|
|
21
|
-
import { t as OpenAiResponsesProvider } from "./responses-
|
|
22
|
-
import { n as OpenAiEmbeddingProvider } from "./completion-
|
|
19
|
+
import { v as hasGoogleDefaultCredentials } from "./transform-D5HsjduX.js";
|
|
20
|
+
import { t as AnthropicMessagesProvider } from "./messages-D0lx5qK7.js";
|
|
21
|
+
import { t as OpenAiResponsesProvider } from "./responses-WNGNYe3K.js";
|
|
22
|
+
import { n as OpenAiEmbeddingProvider } from "./completion-DZ083F31.js";
|
|
23
23
|
import z$1 from "zod";
|
|
24
24
|
import * as fs$2 from "fs";
|
|
25
25
|
import fs from "fs";
|
|
@@ -13464,4 +13464,4 @@ function getGraderById(id) {
|
|
|
13464
13464
|
//#endregion
|
|
13465
13465
|
export { matchesSearchRubric as $, BeavertailsPlugin as A, getAndCheckProvider as B, HarmbenchPlugin as C, DebugAccessPlugin as D, DivergentRepetitionPlugin as E, retryWithDeduplication as F, matchesContextFaithfulness as G, matchesAnswerRelevance as H, sampleArray as I, matchesFactuality as J, matchesContextRecall as K, fetchHuggingFaceDataset as L, RedteamGraderBase as M, RedteamPluginBase as N, CrossSessionLeakPlugin as O, getCustomPolicies as P, matchesPiScore as Q, callProviderWithContext as R, ImitationPlugin as S, ExcessiveAgencyPlugin as T, matchesClassification as U, loadRubricPrompt as V, matchesClosedQa as W, matchesLlmRubric as X, matchesGEval as Y, matchesModeration as Z, makeInlinePolicyIdSync as _, UnverifiableClaimsPlugin as a, DefaultSuggestionsProvider as at, OverreliancePlugin as b, ToolDiscoveryPlugin as c, readProviderPromptMap as ct, RbacPlugin as d, getFinalTest as dt, matchesSelectBest as et, PromptExtractionPlugin as f, loadFromJavaScriptFile as ft, isValidPolicyObject as g, determinePolicyTypeFromId as h, VLGuardPlugin as i, getDefaultProviders as it, AegisPlugin as j, ContractPlugin as k, SqlInjectionPlugin as l, SUGGEST_PROMPTS_SYSTEM_MESSAGE as lt, PolicyPlugin as m, resolveContext as mt, getGraderById as n, selectMaxScore as nt, UnsafeBenchPlugin as o, processPrompts as ot, PoliticsPlugin as p, processFileReference as pt, matchesContextRelevance as q, VLSUPlugin as r, doRemoteGrading as rt, ToxicChatPlugin as s, readPrompts as st, GRADERS as t, matchesSimilarity as tt, ShellInjectionPlugin as u, coerceString as ut, PlinyPlugin as v, HallucinationPlugin as w, IntentPlugin as x, getPiiLeakTestsForCategory as y, fail as z };
|
|
13466
13466
|
|
|
13467
|
-
//# sourceMappingURL=graders-
|
|
13467
|
+
//# sourceMappingURL=graders-Bj_Odv7c.js.map
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
require("./logger-Cp1GPUjj.cjs");
|
|
2
|
+
require("./esm-CnNt7sI4.cjs");
|
|
3
|
+
require("./pythonUtils-CTU3Y3lw.cjs");
|
|
4
|
+
require("./transform-CzK1Q0zl.cjs");
|
|
5
|
+
const require_graders = require("./graders-DU49_J8Y.cjs");
|
|
6
|
+
require("./types-C_7nyzr1.cjs");
|
|
7
|
+
require("./util-B9vlHIIh.cjs");
|
|
8
|
+
require("./fetch-BPkYtG8K.cjs");
|
|
9
|
+
require("./cache-Dh5WtQps.cjs");
|
|
10
|
+
require("./providers-CgKOSgTR.cjs");
|
|
11
|
+
require("./utils-Cz9qXqII.cjs");
|
|
12
|
+
require("./genaiTracer-DN4dQywX.cjs");
|
|
13
|
+
require("./chat-CgF-J-Jj.cjs");
|
|
14
|
+
require("./transform-DuHvhZpj.cjs");
|
|
15
|
+
require("./messages-Bs1kC7P4.cjs");
|
|
16
|
+
require("./util-DGNOS1db.cjs");
|
|
17
|
+
require("./responses-D8SBTL64.cjs");
|
|
18
|
+
require("./openai-Cuif0GEt.cjs");
|
|
19
|
+
require("./util-BzMcevZc.cjs");
|
|
20
|
+
require("./completion-CM6oK8PS.cjs");
|
|
21
|
+
require("./accounts-gtkH-5KX.cjs");
|
|
22
|
+
require("./server-C_7Ax-hA.cjs");
|
|
23
|
+
require("./blobs-D23XLin-.cjs");
|
|
24
|
+
require("./tables-DPi7wKeM.cjs");
|
|
25
|
+
require("./extractor-pYLLi3wS.cjs");
|
|
26
|
+
require("./telemetry-DaX14Chu.cjs");
|
|
27
|
+
require("./store-DLlFCC4h.cjs");
|
|
28
|
+
require("./base-CGrhspbK.cjs");
|
|
29
|
+
require("./image-BLmROtN3.cjs");
|
|
30
|
+
require("./providerRegistry-Civky8Ar.cjs");
|
|
31
|
+
require("./rubyUtils-DhCAlxZr.cjs");
|
|
32
|
+
exports.getGraderById = require_graders.getGraderById;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { C as isCI, _ as getEnvBool, b as getEnvString, i as logger, l as extractFirstJsonObject, m as safeJsonStringify, u as extractJsonObjects, w as state } from "./logger-DLcq4dWf.js";
|
|
2
|
-
import { d as sleep, p as REQUEST_TIMEOUT_MS, r as fetchWithTimeout, t as fetchWithProxy } from "./fetch-
|
|
2
|
+
import { d as sleep, p as REQUEST_TIMEOUT_MS, r as fetchWithTimeout, t as fetchWithProxy } from "./fetch-HaqdX7U1.js";
|
|
3
3
|
import { t as invariant } from "./invariant-vgHWClmd.js";
|
|
4
|
-
import { o as getUserEmail } from "./accounts-
|
|
5
|
-
import { c as getRemoteGenerationUrl, p as shouldGenerateRemote } from "./server-
|
|
4
|
+
import { o as getUserEmail } from "./accounts-B0pgC1oV.js";
|
|
5
|
+
import { c as getRemoteGenerationUrl, p as shouldGenerateRemote } from "./server-CuxBbeSY.js";
|
|
6
6
|
import { r as importModule } from "./esm-CaIwzWR5.js";
|
|
7
|
-
import { C as isValidReusablePolicyId, X as LLAMA_GUARD_REPLICATE_PROVIDER, k as MULTI_TURN_STRATEGIES, lt as PromptSchema, x as PolicyObjectSchema } from "./types-
|
|
7
|
+
import { C as isValidReusablePolicyId, X as LLAMA_GUARD_REPLICATE_PROVIDER, k as MULTI_TURN_STRATEGIES, lt as PromptSchema, x as PolicyObjectSchema } from "./types-CzW2QFyi.js";
|
|
8
8
|
import { i as isJavascriptFile } from "./fileExtensions-LcDYkU4v.js";
|
|
9
9
|
import { n as sha256 } from "./createHash-CTQmL3G2.js";
|
|
10
10
|
import { i as PROMPT_DELIMITER, n as maybeFilePath, r as normalizeInput } from "./utils-dLokC-eR.js";
|
|
11
|
-
import { a as isCacheEnabled, i as getCache, r as fetchWithCache } from "./cache-
|
|
11
|
+
import { a as isCacheEnabled, i as getCache, r as fetchWithCache } from "./cache-i1P6crbO.js";
|
|
12
12
|
import { r as accumulateTokenUsage } from "./tokenUsageUtils-BDGe-iyI.js";
|
|
13
|
-
import { $ as DefaultSynthesizeProvider$1, A as removePrefix, C as extractInputVarsFromPrompt, D as getShortPluginId, G as DefaultEmbeddingProvider$2, H as OpenAiModerationProvider, I as redteamProviderManager, K as DefaultGradingProvider$3, O as isBasicRefusal, Q as DefaultSuggestionsProvider$2, S as extractGoalFromPrompt, T as extractVariablesFromJson, U as MistralChatCompletionProvider, V as REDTEAM_MEMORY_POISONING_PLUGIN_ID, W as MistralEmbeddingProvider, X as DefaultGradingProvider$2, Y as DefaultGradingJsonProvider$2, Z as DefaultLlmRubricProvider, b as checkExfilTracking, ct as getPoliciesFromCloud, et as AzureModerationProvider, k as isEmptyResponse, n as loadApiProvider, nt as AzureChatCompletionProvider, o as getFileHashes, s as parseScriptParts, tt as AzureEmbeddingProvider, w as extractPromptFromTags, x as extractAllPromptsFromTags } from "./providers-
|
|
13
|
+
import { $ as DefaultSynthesizeProvider$1, A as removePrefix, C as extractInputVarsFromPrompt, D as getShortPluginId, G as DefaultEmbeddingProvider$2, H as OpenAiModerationProvider, I as redteamProviderManager, K as DefaultGradingProvider$3, O as isBasicRefusal, Q as DefaultSuggestionsProvider$2, S as extractGoalFromPrompt, T as extractVariablesFromJson, U as MistralChatCompletionProvider, V as REDTEAM_MEMORY_POISONING_PLUGIN_ID, W as MistralEmbeddingProvider, X as DefaultGradingProvider$2, Y as DefaultGradingJsonProvider$2, Z as DefaultLlmRubricProvider, b as checkExfilTracking, ct as getPoliciesFromCloud, et as AzureModerationProvider, k as isEmptyResponse, n as loadApiProvider, nt as AzureChatCompletionProvider, o as getFileHashes, s as parseScriptParts, tt as AzureEmbeddingProvider, w as extractPromptFromTags, x as extractAllPromptsFromTags } from "./providers-D8lF1sqW.js";
|
|
14
14
|
import { r as runPython } from "./pythonUtils-D6fwaDSg.js";
|
|
15
|
-
import { I as getNunjucksEngine, O as maybeLoadToolsFromExternalFile, P as extractVariablesFromTemplate, R as parseFileUrl, S as getNunjucksEngineForFilePath, T as maybeLoadFromExternalFile, k as parsePathOrGlob, w as maybeLoadConfigFromExternalFile } from "./util-
|
|
16
|
-
import { t as OpenAiChatCompletionProvider } from "./chat-
|
|
17
|
-
import { v as hasGoogleDefaultCredentials } from "./transform-
|
|
18
|
-
import { t as AnthropicMessagesProvider } from "./messages-
|
|
19
|
-
import { t as OpenAiResponsesProvider } from "./responses-
|
|
20
|
-
import { n as OpenAiEmbeddingProvider } from "./completion-
|
|
15
|
+
import { I as getNunjucksEngine, O as maybeLoadToolsFromExternalFile, P as extractVariablesFromTemplate, R as parseFileUrl, S as getNunjucksEngineForFilePath, T as maybeLoadFromExternalFile, k as parsePathOrGlob, w as maybeLoadConfigFromExternalFile } from "./util-ZzmqNPlg.js";
|
|
16
|
+
import { t as OpenAiChatCompletionProvider } from "./chat-DJIw17u0.js";
|
|
17
|
+
import { v as hasGoogleDefaultCredentials } from "./transform-uAytVuyX.js";
|
|
18
|
+
import { t as AnthropicMessagesProvider } from "./messages-ZJk778GH.js";
|
|
19
|
+
import { t as OpenAiResponsesProvider } from "./responses-CB2jwoAr.js";
|
|
20
|
+
import { n as OpenAiEmbeddingProvider } from "./completion-qRoZAYRB.js";
|
|
21
21
|
import { n as transform } from "./transform-aa6tmVpZ.js";
|
|
22
22
|
import * as fs$1 from "fs";
|
|
23
23
|
import fs from "fs";
|
|
@@ -13463,4 +13463,4 @@ function getGraderById(id) {
|
|
|
13463
13463
|
//#endregion
|
|
13464
13464
|
export { selectMaxScore as $, BeavertailsPlugin as A, matchesClassification as B, HarmbenchPlugin as C, DebugAccessPlugin as D, DivergentRepetitionPlugin as E, callProviderWithContext as F, matchesFactuality as G, matchesContextFaithfulness as H, fail as I, matchesModeration as J, matchesGEval as K, getAndCheckProvider as L, RedteamGraderBase as M, RedteamPluginBase as N, CrossSessionLeakPlugin as O, fetchHuggingFaceDataset as P, matchesSimilarity as Q, loadRubricPrompt as R, ImitationPlugin as S, ExcessiveAgencyPlugin as T, matchesContextRecall as U, matchesClosedQa as V, matchesContextRelevance as W, matchesSearchRubric as X, matchesPiScore as Y, matchesSelectBest as Z, makeInlinePolicyIdSync as _, UnverifiableClaimsPlugin as a, coerceString as at, OverreliancePlugin as b, ToolDiscoveryPlugin as c, processFileReference as ct, RbacPlugin as d, retryWithDeduplication as dt, doRemoteGrading as et, PromptExtractionPlugin as f, sampleArray as ft, isValidPolicyObject as g, determinePolicyTypeFromId as h, VLGuardPlugin as i, SUGGEST_PROMPTS_SYSTEM_MESSAGE as it, AegisPlugin as j, ContractPlugin as k, SqlInjectionPlugin as l, resolveContext as lt, PolicyPlugin as m, DefaultSuggestionsProvider as mt, getGraderById as n, readPrompts as nt, UnsafeBenchPlugin as o, getFinalTest as ot, PoliticsPlugin as p, getDefaultProviders as pt, matchesLlmRubric as q, VLSUPlugin as r, readProviderPromptMap as rt, ToxicChatPlugin as s, loadFromJavaScriptFile as st, GRADERS as t, processPrompts as tt, ShellInjectionPlugin as u, getCustomPolicies as ut, PlinyPlugin as v, HallucinationPlugin as w, IntentPlugin as x, getPiiLeakTestsForCategory as y, matchesAnswerRelevance as z };
|
|
13465
13465
|
|
|
13466
|
-
//# sourceMappingURL=graders-
|
|
13466
|
+
//# sourceMappingURL=graders-DP7KFFo-.js.map
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import "./logger-CT3IKMKA.js";
|
|
2
|
+
import "./esm-Cd1AjG1D.js";
|
|
3
|
+
import "./pythonUtils-D5nxkQ0P.js";
|
|
4
|
+
import "./transform-DECvGmzp.js";
|
|
5
|
+
import { n as getGraderById } from "./graders-BTeBGqjJ.js";
|
|
6
|
+
import "./types-DmyIJ-sR.js";
|
|
7
|
+
import "./util-BRYkYPTd.js";
|
|
8
|
+
import "./fetch-Cwxnd8zz.js";
|
|
9
|
+
import "./cache-C4Nxf52C.js";
|
|
10
|
+
import "./providers-Dk_6ocUX.js";
|
|
11
|
+
import "./utils-XiOAgly5.js";
|
|
12
|
+
import "./genaiTracer-D3fD9dNV.js";
|
|
13
|
+
import "./chat-DqxYYtWA.js";
|
|
14
|
+
import "./transform-vNucnNr0.js";
|
|
15
|
+
import "./messages-BS17jdMx.js";
|
|
16
|
+
import "./util-BHGHw5G1.js";
|
|
17
|
+
import "./responses-DIR9Ud3j.js";
|
|
18
|
+
import "./openai-DElQ-fPX.js";
|
|
19
|
+
import "./util-Dnmk2mBQ.js";
|
|
20
|
+
import "./completion-5MzrpJxT.js";
|
|
21
|
+
import "./accounts-CiBLOnA7.js";
|
|
22
|
+
import "./server-VWgWb00X.js";
|
|
23
|
+
import "./blobs-CBO20krR.js";
|
|
24
|
+
import "./tables-6YKwjN9-.js";
|
|
25
|
+
import "./extractor-C0EVHewb.js";
|
|
26
|
+
import "./telemetry-Dthj_BbD.js";
|
|
27
|
+
import "./store-DXilxTl-.js";
|
|
28
|
+
import "./base-DLKtKMFh.js";
|
|
29
|
+
import "./image-CHfWvljl.js";
|
|
30
|
+
import "./providerRegistry-CD8MEar9.js";
|
|
31
|
+
import "./rubyUtils-BUVePouc.js";
|
|
32
|
+
export { getGraderById };
|
|
@@ -4,21 +4,21 @@ const require_esm = require("./esm-CnNt7sI4.cjs");
|
|
|
4
4
|
const require_pythonUtils = require("./pythonUtils-CTU3Y3lw.cjs");
|
|
5
5
|
const require_fileExtensions = require("./fileExtensions-bYh77CN8.cjs");
|
|
6
6
|
const require_transform = require("./transform-CzK1Q0zl.cjs");
|
|
7
|
-
const require_types = require("./types-
|
|
8
|
-
const require_util = require("./util-
|
|
9
|
-
const require_fetch = require("./fetch-
|
|
10
|
-
const require_cache = require("./cache-
|
|
11
|
-
const require_providers = require("./providers-
|
|
7
|
+
const require_types = require("./types-C_7nyzr1.cjs");
|
|
8
|
+
const require_util = require("./util-B9vlHIIh.cjs");
|
|
9
|
+
const require_fetch = require("./fetch-BPkYtG8K.cjs");
|
|
10
|
+
const require_cache = require("./cache-Dh5WtQps.cjs");
|
|
11
|
+
const require_providers = require("./providers-CgKOSgTR.cjs");
|
|
12
12
|
const require_utils = require("./utils-Cz9qXqII.cjs");
|
|
13
13
|
const require_createHash = require("./createHash-CfZSc0b4.cjs");
|
|
14
|
-
const require_chat = require("./chat-
|
|
14
|
+
const require_chat = require("./chat-CgF-J-Jj.cjs");
|
|
15
15
|
const require_tokenUsageUtils = require("./tokenUsageUtils-bVa1ga6f.cjs");
|
|
16
|
-
const require_transform$1 = require("./transform-
|
|
17
|
-
const require_messages = require("./messages-
|
|
18
|
-
const require_responses = require("./responses-
|
|
19
|
-
const require_completion = require("./completion-
|
|
20
|
-
const require_accounts = require("./accounts-
|
|
21
|
-
const require_server = require("./server-
|
|
16
|
+
const require_transform$1 = require("./transform-DuHvhZpj.cjs");
|
|
17
|
+
const require_messages = require("./messages-Bs1kC7P4.cjs");
|
|
18
|
+
const require_responses = require("./responses-D8SBTL64.cjs");
|
|
19
|
+
const require_completion = require("./completion-CM6oK8PS.cjs");
|
|
20
|
+
const require_accounts = require("./accounts-gtkH-5KX.cjs");
|
|
21
|
+
const require_server = require("./server-C_7Ax-hA.cjs");
|
|
22
22
|
let fs = require("fs");
|
|
23
23
|
fs = require_logger.__toESM(fs);
|
|
24
24
|
let path = require("path");
|
|
@@ -13870,4 +13870,4 @@ Object.defineProperty(exports, "selectMaxScore", {
|
|
|
13870
13870
|
}
|
|
13871
13871
|
});
|
|
13872
13872
|
|
|
13873
|
-
//# sourceMappingURL=graders-
|
|
13873
|
+
//# sourceMappingURL=graders-DU49_J8Y.cjs.map
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import "./logger-DLcq4dWf.js";
|
|
2
|
+
import "./fetch-HaqdX7U1.js";
|
|
3
|
+
import "./accounts-B0pgC1oV.js";
|
|
4
|
+
import "./server-CuxBbeSY.js";
|
|
5
|
+
import "./tables-DLJPUdUE.js";
|
|
6
|
+
import "./esm-CaIwzWR5.js";
|
|
7
|
+
import "./types-CzW2QFyi.js";
|
|
8
|
+
import "./utils-dLokC-eR.js";
|
|
9
|
+
import "./store-CXGFv4aR.js";
|
|
10
|
+
import "./cache-i1P6crbO.js";
|
|
11
|
+
import "./blobs-BDbfYdrJ.js";
|
|
12
|
+
import "./extractor-D25qpmGX.js";
|
|
13
|
+
import "./providers-D8lF1sqW.js";
|
|
14
|
+
import "./telemetry-Cps3mIU-.js";
|
|
15
|
+
import "./genaiTracer-70Z8BIuV.js";
|
|
16
|
+
import "./pythonUtils-D6fwaDSg.js";
|
|
17
|
+
import "./util-ZzmqNPlg.js";
|
|
18
|
+
import "./chat-DJIw17u0.js";
|
|
19
|
+
import "./transform-uAytVuyX.js";
|
|
20
|
+
import "./messages-ZJk778GH.js";
|
|
21
|
+
import "./util-Bv6uGDfH.js";
|
|
22
|
+
import { n as getGraderById } from "./graders-DP7KFFo-.js";
|
|
23
|
+
import "./responses-CB2jwoAr.js";
|
|
24
|
+
import "./openai-j-sE2O7r.js";
|
|
25
|
+
import "./util-BV4XUC0n.js";
|
|
26
|
+
import "./completion-qRoZAYRB.js";
|
|
27
|
+
import "./transform-aa6tmVpZ.js";
|
|
28
|
+
import "./base-CpjcHe4e.js";
|
|
29
|
+
import "./image-Dpxa1Jt6.js";
|
|
30
|
+
import "./providerRegistry-DM8rZYol.js";
|
|
31
|
+
import "./rubyUtils-BcuGX77l.js";
|
|
32
|
+
export { getGraderById };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { C as getEnvString, o as logger } from "./logger-KkObSCzq.js";
|
|
3
|
-
import { f as REQUEST_TIMEOUT_MS } from "./fetch-
|
|
4
|
-
import "./cloud-
|
|
5
|
-
import { a as fetchWithCache } from "./cache-
|
|
3
|
+
import { f as REQUEST_TIMEOUT_MS } from "./fetch-Dxpd4_sr.js";
|
|
4
|
+
import "./cloud-C0dlstV_.js";
|
|
5
|
+
import { a as fetchWithCache } from "./cache-BVeDlD87.js";
|
|
6
6
|
//#region src/providers/hyperbolic/image.ts
|
|
7
7
|
const HYPERBOLIC_IMAGE_MODELS = [
|
|
8
8
|
{
|
|
@@ -162,4 +162,4 @@ function createHyperbolicImageProvider(providerPath, options = {}) {
|
|
|
162
162
|
//#endregion
|
|
163
163
|
export { createHyperbolicImageProvider };
|
|
164
164
|
|
|
165
|
-
//# sourceMappingURL=image-
|
|
165
|
+
//# sourceMappingURL=image-B02ogr_b.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { b as getEnvString, i as logger } from "./logger-DLcq4dWf.js";
|
|
2
|
-
import { p as REQUEST_TIMEOUT_MS } from "./fetch-
|
|
3
|
-
import { r as fetchWithCache } from "./cache-
|
|
2
|
+
import { p as REQUEST_TIMEOUT_MS } from "./fetch-HaqdX7U1.js";
|
|
3
|
+
import { r as fetchWithCache } from "./cache-i1P6crbO.js";
|
|
4
4
|
//#region src/providers/hyperbolic/image.ts
|
|
5
5
|
const HYPERBOLIC_IMAGE_MODELS = [
|
|
6
6
|
{
|
|
@@ -160,4 +160,4 @@ function createHyperbolicImageProvider(providerPath, options = {}) {
|
|
|
160
160
|
//#endregion
|
|
161
161
|
export { createHyperbolicImageProvider };
|
|
162
162
|
|
|
163
|
-
//# sourceMappingURL=image-
|
|
163
|
+
//# sourceMappingURL=image-B0h9VEMc.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_logger = require("./logger-Cp1GPUjj.cjs");
|
|
2
|
-
const require_fetch = require("./fetch-
|
|
3
|
-
const require_cache = require("./cache-
|
|
2
|
+
const require_fetch = require("./fetch-BPkYtG8K.cjs");
|
|
3
|
+
const require_cache = require("./cache-Dh5WtQps.cjs");
|
|
4
4
|
const require_openai = require("./openai-Cuif0GEt.cjs");
|
|
5
|
-
const require_util = require("./util-
|
|
5
|
+
const require_util = require("./util-BzMcevZc.cjs");
|
|
6
6
|
const require_text = require("./text-CW1cyrwj.cjs");
|
|
7
7
|
//#region src/providers/openai/image.ts
|
|
8
8
|
const DALLE2_VALID_SIZES = [
|
|
@@ -277,4 +277,4 @@ Object.defineProperty(exports, "formatOutput", {
|
|
|
277
277
|
}
|
|
278
278
|
});
|
|
279
279
|
|
|
280
|
-
//# sourceMappingURL=image-
|
|
280
|
+
//# sourceMappingURL=image-BLmROtN3.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { b as getEnvString, i as logger } from "./logger-CT3IKMKA.js";
|
|
2
|
-
import { p as REQUEST_TIMEOUT_MS } from "./fetch-
|
|
3
|
-
import { r as fetchWithCache } from "./cache-
|
|
2
|
+
import { p as REQUEST_TIMEOUT_MS } from "./fetch-Cwxnd8zz.js";
|
|
3
|
+
import { r as fetchWithCache } from "./cache-C4Nxf52C.js";
|
|
4
4
|
//#region src/providers/hyperbolic/image.ts
|
|
5
5
|
const HYPERBOLIC_IMAGE_MODELS = [
|
|
6
6
|
{
|
|
@@ -160,4 +160,4 @@ function createHyperbolicImageProvider(providerPath, options = {}) {
|
|
|
160
160
|
//#endregion
|
|
161
161
|
export { createHyperbolicImageProvider };
|
|
162
162
|
|
|
163
|
-
//# sourceMappingURL=image-
|
|
163
|
+
//# sourceMappingURL=image-Bb4vWQLM.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_logger = require("./logger-Cp1GPUjj.cjs");
|
|
2
|
-
const require_fetch = require("./fetch-
|
|
3
|
-
const require_cache = require("./cache-
|
|
2
|
+
const require_fetch = require("./fetch-BPkYtG8K.cjs");
|
|
3
|
+
const require_cache = require("./cache-Dh5WtQps.cjs");
|
|
4
4
|
//#region src/providers/hyperbolic/image.ts
|
|
5
5
|
const HYPERBOLIC_IMAGE_MODELS = [
|
|
6
6
|
{
|
|
@@ -160,4 +160,4 @@ function createHyperbolicImageProvider(providerPath, options = {}) {
|
|
|
160
160
|
//#endregion
|
|
161
161
|
exports.createHyperbolicImageProvider = createHyperbolicImageProvider;
|
|
162
162
|
|
|
163
|
-
//# sourceMappingURL=image-
|
|
163
|
+
//# sourceMappingURL=image-C1madmKh.cjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as logger } from "./logger-CT3IKMKA.js";
|
|
2
|
-
import { p as REQUEST_TIMEOUT_MS } from "./fetch-
|
|
3
|
-
import { r as fetchWithCache } from "./cache-
|
|
2
|
+
import { p as REQUEST_TIMEOUT_MS } from "./fetch-Cwxnd8zz.js";
|
|
3
|
+
import { r as fetchWithCache } from "./cache-C4Nxf52C.js";
|
|
4
4
|
import { t as OpenAiGenericProvider } from "./openai-DElQ-fPX.js";
|
|
5
|
-
import { s as formatOpenAiError } from "./util-
|
|
5
|
+
import { s as formatOpenAiError } from "./util-Dnmk2mBQ.js";
|
|
6
6
|
import { t as ellipsize } from "./text-B_UCRPp2.js";
|
|
7
7
|
//#region src/providers/openai/image.ts
|
|
8
8
|
const DALLE2_VALID_SIZES = [
|
|
@@ -254,4 +254,4 @@ var OpenAiImageProvider = class extends OpenAiGenericProvider {
|
|
|
254
254
|
//#endregion
|
|
255
255
|
export { formatOutput as i, buildStructuredImageOutputs as n, callOpenAiImageApi as r, OpenAiImageProvider as t };
|
|
256
256
|
|
|
257
|
-
//# sourceMappingURL=image-
|
|
257
|
+
//# sourceMappingURL=image-CHfWvljl.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { o as logger } from "./logger-KkObSCzq.js";
|
|
3
|
-
import { f as REQUEST_TIMEOUT_MS } from "./fetch-
|
|
4
|
-
import { a as fetchWithCache } from "./cache-
|
|
3
|
+
import { f as REQUEST_TIMEOUT_MS } from "./fetch-Dxpd4_sr.js";
|
|
4
|
+
import { a as fetchWithCache } from "./cache-BVeDlD87.js";
|
|
5
5
|
import { t as OpenAiGenericProvider } from "./openai-DhbB7eWK.js";
|
|
6
|
-
import { s as formatOpenAiError } from "./util-
|
|
6
|
+
import { s as formatOpenAiError } from "./util-CMy69ZgQ.js";
|
|
7
7
|
import { t as ellipsize } from "./text-Db-Wt2u2.js";
|
|
8
8
|
//#region src/providers/openai/image.ts
|
|
9
9
|
const DALLE2_VALID_SIZES = [
|
|
@@ -255,4 +255,4 @@ var OpenAiImageProvider = class extends OpenAiGenericProvider {
|
|
|
255
255
|
//#endregion
|
|
256
256
|
export { formatOutput as i, buildStructuredImageOutputs as n, callOpenAiImageApi as r, OpenAiImageProvider as t };
|
|
257
257
|
|
|
258
|
-
//# sourceMappingURL=image-
|
|
258
|
+
//# sourceMappingURL=image-DS-o-0ph.js.map
|