promptfoo 0.120.27 → 0.121.1
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/README.md +1 -1
- package/dist/src/{ListApp-8WOe2nT6.js → ListApp-Du7YVwj5.js} +2 -4
- package/dist/src/accounts-BgNJDBE6.js +206 -0
- package/dist/src/{accounts-Fl2J3_Fu.cjs → accounts-Bx-x3bmW.cjs} +77 -78
- package/dist/src/{accounts-DVINui-2.js → accounts-CMqkzrVf.js} +39 -34
- package/dist/src/{accounts-CPDRAMND.js → accounts-xrUGFA6n.js} +38 -33
- package/dist/src/{agentic-utils-D922n6mm.js → agentic-utils-BKIN5PKu.js} +9 -10
- package/dist/src/{agents-BO2n8Z0d.cjs → agents-B0f4HICh.cjs} +37 -40
- package/dist/src/{agents-BXLmVsxR.js → agents-C-dDThPK.js} +37 -37
- package/dist/src/{agents-DgJf2-ez.cjs → agents-CErsqg5U.cjs} +16 -17
- package/dist/src/{agents-BcsN_BgB.js → agents-CVIn-Utx.js} +16 -12
- package/dist/src/{agents-hqgSV-3o.js → agents-CXknwsFX.js} +37 -40
- package/dist/src/{agents-pMfppv9Z.js → agents-DeH4Gu94.js} +18 -18
- package/dist/src/{agents-BdUTAwi-.js → agents-Dy2YpZpa.js} +38 -41
- package/dist/src/{agents-DNvSH78i.js → agents-aF4-T121.js} +16 -20
- package/dist/src/{aimlapi-DOib86oE.js → aimlapi-BAGZDo5G.js} +16 -18
- package/dist/src/{aimlapi-DtgPI0nE.js → aimlapi-BNfTBexL.js} +15 -17
- package/dist/src/{aimlapi-DTPACCB1.js → aimlapi-DHRKlBEA.js} +15 -4
- package/dist/src/{aimlapi-BE_Tg9Fl.cjs → aimlapi-tg0Gkcvr.cjs} +15 -16
- package/dist/src/app/assets/index-BFCZg7hQ.js +439 -0
- package/dist/src/app/index.html +1 -1
- package/dist/src/{audio-BRYU0BFo.js → audio-BRODU0UK.js} +7 -9
- package/dist/src/{audio-Cwo68yZS.cjs → audio-BWeaWovU.cjs} +6 -7
- package/dist/src/{audio-BnRUGAm_.js → audio-CHQ4r-RV.js} +6 -5
- package/dist/src/{audio-MSRki4JU.js → audio-tf_NBjlC.js} +6 -8
- package/dist/src/{base-h961VXYk.js → base-B0tcrnq_.js} +11 -13
- package/dist/src/{base-XB2tDJrB.js → base-B4QJRyFS.js} +11 -13
- package/dist/src/{base-pGVmXNl4.cjs → base-DBtwl2FR.cjs} +36 -38
- package/dist/src/base-fEDN28WM.js +193 -0
- package/dist/src/{blobs-BM_e6hCa.js → blobs-BAU-dXan.js} +9 -12
- package/dist/src/{blobs-CR5C4Ihh.js → blobs-Bpg5rH6i.js} +9 -12
- package/dist/src/{blobs-B-KQAFhX.cjs → blobs-DvS-O6be.cjs} +34 -37
- package/dist/src/blobs-qTYm-1PY.js +236 -0
- package/dist/src/{cache-CIpsoBZR.js → cache-8XhNqPKW.js} +64 -67
- package/dist/src/cache-Bbn1Nyrd.cjs +5 -0
- package/dist/src/cache-BwsMSda7.js +6 -0
- package/dist/src/{cache-jsiwsAJv.js → cache-CG0SlR1d.js} +64 -66
- package/dist/src/{cache-BTVYfbka.cjs → cache-COish3-W.cjs} +114 -117
- package/dist/src/cache-D3eqDYGU.js +739 -0
- package/dist/src/{chat-D31K7C4u.cjs → chat-2K608PeQ.cjs} +20 -21
- package/dist/src/chat-BKm79wib.js +764 -0
- package/dist/src/{chat-B84t99NW.js → chat-CM_kyI8B.js} +20 -9
- package/dist/src/{chat-BcPjZXIp.js → chat-CRWNNq73.js} +41 -44
- package/dist/src/{chat-CcUCysjU.js → chat-CznLWr_D.js} +41 -44
- package/dist/src/{chat-DwWifjxi.js → chat-DHMH-N64.js} +20 -22
- package/dist/src/{chat-BE44YOc6.cjs → chat-DaqekjFr.cjs} +61 -64
- package/dist/src/{chat-DZM2GUHO.js → chat-DxysjBvt.js} +21 -23
- package/dist/src/{chatkit-D67HS_0b.js → chatkit-65VXf5SR.js} +58 -58
- package/dist/src/{chatkit-DAB_qfzI.js → chatkit-Be-Q-a9F.js} +58 -60
- package/dist/src/{chatkit-Biqb_wsD.js → chatkit-BxFvW8KY.js} +58 -60
- package/dist/src/{chatkit-PGG4ZYIn.cjs → chatkit-DKyPi1Gs.cjs} +58 -60
- package/dist/src/chunk-DEq-mXcV.js +15 -0
- package/dist/src/chunk-DRamLcfz.js +16 -0
- package/dist/src/{claude-agent-sdk-SVM6AdBu.js → claude-agent-sdk-BLTu0WBO.js} +31 -31
- package/dist/src/{claude-agent-sdk-C9SiaQub.cjs → claude-agent-sdk-CJH22shf.cjs} +31 -28
- package/dist/src/{claude-agent-sdk-C-IOTPfo.js → claude-agent-sdk-D6_k9FKA.js} +31 -29
- package/dist/src/{claude-agent-sdk-CiluSyW1.js → claude-agent-sdk-Dy5lT-Tx.js} +33 -20
- package/dist/src/{cloud-CZ-q9Ier.js → cloud-Bc9526yV.js} +7 -9
- package/dist/src/cloud-DmE0EwsY.js +4 -0
- package/dist/src/{cloudflare-ai-BahKHyhh.js → cloudflare-ai-C9r2sRhw.js} +16 -18
- package/dist/src/{cloudflare-ai-Dxyt50Nl.js → cloudflare-ai-CWWJCRim.js} +16 -4
- package/dist/src/{cloudflare-ai-Dfahv5SY.cjs → cloudflare-ai-ClWSdor4.cjs} +16 -17
- package/dist/src/{cloudflare-ai-v_qZD6_q.js → cloudflare-ai-ICsOuD-z.js} +17 -19
- package/dist/src/{cloudflare-gateway-BPWoZIzJ.cjs → cloudflare-gateway-C2_-KG5o.cjs} +21 -22
- package/dist/src/{cloudflare-gateway-Bi_FpOFy.js → cloudflare-gateway-D6O7AlYb.js} +23 -23
- package/dist/src/{cloudflare-gateway-btS7h1OZ.js → cloudflare-gateway-D6xFc5pa.js} +21 -25
- package/dist/src/{cloudflare-gateway-C0guUNwk.js → cloudflare-gateway-pXGHxJ47.js} +26 -14
- package/dist/src/{codex-sdk-DSxAnbfT.js → codex-sdk-C6UMlxwV.js} +28 -29
- package/dist/src/{codex-sdk-IYVi9fuM.js → codex-sdk-DUwKWezN.js} +28 -27
- package/dist/src/{codex-sdk-DulY0ZRq.js → codex-sdk-GGAw0qbD.js} +28 -29
- package/dist/src/{codex-sdk-DFKMtAyf.cjs → codex-sdk-fAO0c3yA.cjs} +28 -29
- package/dist/src/{cometapi-DkNBMk0G.js → cometapi-BasUi7-_.js} +17 -19
- package/dist/src/{cometapi-DzrR3SR_.js → cometapi-Bbjp5V4x.js} +16 -4
- package/dist/src/{cometapi-C9EEpJzT.js → cometapi-DkXrKi5z.js} +21 -24
- package/dist/src/{cometapi-DIO64tf4.cjs → cometapi-vY6aDZgo.cjs} +21 -22
- package/dist/src/{completion-CG29bfKX.js → completion-6Mx_iXxK.js} +11 -13
- package/dist/src/{completion-Bgf1VJoq.js → completion-C5rtR_9P.js} +11 -13
- package/dist/src/{completion-CCRT4kX1.cjs → completion-CDOouNzq.cjs} +21 -23
- package/dist/src/completion-C_P3ypkJ.js +120 -0
- package/dist/src/{createHash-Dw_iLu31.js → createHash-CTQmL3G2.js} +2 -3
- package/dist/src/{createHash-CYQy4YeL.cjs → createHash-CfZSc0b4.cjs} +13 -14
- package/dist/src/{createHash-CJcfskIZ.js → createHash-Da8fMwqB.js} +2 -3
- package/dist/src/createHash-DmPQkvBh.js +15 -0
- package/dist/src/{docker-D-ayp2FW.js → docker-5KcG-_86.js} +18 -20
- package/dist/src/{docker-DNcLR4Ig.cjs → docker-BwsKwxFs.cjs} +18 -19
- package/dist/src/{docker-egERKxCF.js → docker-CZnqU1XV.js} +18 -7
- package/dist/src/{docker-B81N0t4e.js → docker-DzxyDPIj.js} +19 -21
- package/dist/src/entrypoint.js +2 -3
- package/dist/src/{errors-DnGCbnx8.js → errors-P6ll7XSJ.js} +2 -2
- package/dist/src/{esm-B9dPm_BF.js → esm-C03C-mv3.js} +17 -20
- package/dist/src/{esm-D2pZ87fL.js → esm-CaIwzWR5.js} +18 -21
- package/dist/src/esm-Cd1AjG1D.js +379 -0
- package/dist/src/{esm-Ct-Joyue.cjs → esm-CnNt7sI4.cjs} +47 -49
- package/dist/src/eval-17JizQIv.js +15 -0
- package/dist/src/{eval-C-Nr6wX_.js → eval-DmFyWU7i.js} +47 -54
- package/dist/src/{evalResult-4BzI2tmj.js → evalResult-CDQiuUuf.js} +16 -12
- package/dist/src/{evalResult-DXMWJ3sx.js → evalResult-CTG2AHOS.js} +10 -11
- package/dist/src/evalResult-Cqj8pldJ.js +12 -0
- package/dist/src/{evalResult-CX8wQecI.cjs → evalResult-Dap2CekP.cjs} +20 -21
- package/dist/src/evalResult-DvcJAWJU.cjs +10 -0
- package/dist/src/evalResult-Hftn-S_i.js +10 -0
- package/dist/src/evaluator-B2CFNt-P.js +36 -0
- package/dist/src/{evaluator-8aGyV12L.js → evaluator-DPFRbFIL.js} +201 -229
- package/dist/src/{extractor-CD5yKL-G.js → extractor-CFG6bcWJ.js} +22 -24
- package/dist/src/{extractor-C031XmTA.cjs → extractor-DX36oYEv.cjs} +37 -39
- package/dist/src/{extractor-V5x_m1i0.js → extractor-M67RUtg6.js} +22 -24
- package/dist/src/extractor-YMU_Gvt8.js +374 -0
- package/dist/src/{fetch-D3OHf-lV.js → fetch-4M3YRaqL.js} +40 -45
- package/dist/src/fetch-60Gzydls.js +777 -0
- package/dist/src/{fetch-CXZI9RRr.js → fetch-BMv0O527.js} +23 -35
- package/dist/src/{fetch-BmbD-v1L.cjs → fetch-BxUk8odA.cjs} +244 -277
- package/dist/src/fetch-KV5kNASw.js +5 -0
- package/dist/src/{fileExtensions-ePDqouxn.js → fileExtensions-DnqA1y9x.js} +2 -2
- package/dist/src/{fileExtensions-BpuMmaFL.js → fileExtensions-Ds-foDzt.js} +2 -2
- package/dist/src/fileExtensions-LcDYkU4v.js +85 -0
- package/dist/src/{fileExtensions-DkJYkWUy.cjs → fileExtensions-bYh77CN8.cjs} +27 -28
- package/dist/src/{formatDuration-CdevI3An.js → formatDuration-DgBVMN65.js} +2 -2
- package/dist/src/{genaiTracer-Ce19n68P.js → genaiTracer-70Z8BIuV.js} +2 -3
- package/dist/src/{genaiTracer-CqNnnXrE.js → genaiTracer-C1rxGO8Q.js} +2 -3
- package/dist/src/genaiTracer-D3fD9dNV.js +256 -0
- package/dist/src/{genaiTracer-Dres3qrN.cjs → genaiTracer-DN4dQywX.cjs} +13 -14
- package/dist/src/graders-Bu0H9nXi.js +32 -0
- package/dist/src/{graders-DTeBrzWp.js → graders-CHO8EPM4.js} +349 -397
- package/dist/src/graders-Cfhkvx-e.js +34 -0
- package/dist/src/{graders--1y2u9HO.js → graders-CpdqD9PI.js} +349 -397
- package/dist/src/graders-DClJVpGP.cjs +32 -0
- package/dist/src/{graders-DohM2dir.cjs → graders-DOXycdlG.cjs} +684 -732
- package/dist/src/graders-DcnJsrMO.js +32 -0
- package/dist/src/graders-R9rYUM0d.js +13466 -0
- package/dist/src/{image-C3wHC9_h.js → image-BmEZqVmk.js} +9 -10
- package/dist/src/{image-O1u4bCFg.js → image-CBBVXWuT.js} +9 -10
- package/dist/src/{image-DpKl2F15.cjs → image-CDLQOcqT.cjs} +6 -7
- package/dist/src/{image-DmE-niFE.js → image-DJEvKveK.js} +6 -5
- package/dist/src/{image-CuKHuccK.cjs → image-DTedmQPg.cjs} +29 -30
- package/dist/src/{image-B0U4Hqll.js → image-gvmivTEe.js} +7 -9
- package/dist/src/image-pAX56tPG.js +257 -0
- package/dist/src/{image-DNEIf_aI.js → image-tL5hIOFh.js} +6 -8
- package/dist/src/index.cjs +605 -689
- package/dist/src/index.d.cts +11 -7
- package/dist/src/index.d.ts +11 -3
- package/dist/src/index.js +570 -658
- package/dist/src/{interactiveCheck-Bxj1Swex.js → interactiveCheck-BgLZUIt3.js} +7 -8
- package/dist/src/{invariant-DT20jrBd.js → invariant-BtWWVVhl.js} +2 -2
- package/dist/src/{invariant-1pAf2CD1.js → invariant-Ddh24eXh.js} +2 -2
- package/dist/src/{invariant-CKcJAQ6M.cjs → invariant-kfQ8Bu82.cjs} +7 -8
- package/dist/src/invariant-vgHWClmd.js +25 -0
- package/dist/src/{knowledgeBase-Be_zyW4L.js → knowledgeBase-CLJybhnF.js} +16 -16
- package/dist/src/{knowledgeBase-CEzQobWX.js → knowledgeBase-CoU-UQBg.js} +14 -9
- package/dist/src/{knowledgeBase-BZ41IFwq.js → knowledgeBase-DjWPVqSb.js} +14 -18
- package/dist/src/{knowledgeBase-D-5BMXlr.cjs → knowledgeBase-wkxuRFhA.cjs} +14 -15
- package/dist/src/{litellm-DnbRJ2if.js → litellm-B9Hysuri.js} +16 -18
- package/dist/src/{litellm-CRDqPhNI.js → litellm-CTfa0hqi.js} +15 -17
- package/dist/src/{litellm-hUSNM_M2.cjs → litellm-NYpQ8RQu.cjs} +15 -16
- package/dist/src/{litellm-9vR8zpfU.js → litellm-ePxtr9F1.js} +15 -4
- package/dist/src/{logger-CG1uZPbQ.js → logger-CT3IKMKA.js} +10 -29
- package/dist/src/{logger-B7sBeGa0.cjs → logger-Cp1GPUjj.cjs} +152 -180
- package/dist/src/logger-DLcq4dWf.js +713 -0
- package/dist/src/{logger-LSBxlt7a.js → logger-KkObSCzq.js} +13 -31
- package/dist/src/{luma-ray-Hm3d6VJE.cjs → luma-ray-B0GGNRc1.cjs} +20 -21
- package/dist/src/{luma-ray-drvgdpP9.js → luma-ray-BE2mOt6N.js} +20 -13
- package/dist/src/{luma-ray-4blv9iZ2.js → luma-ray-BW9IRGIc.js} +22 -21
- package/dist/src/{luma-ray-B2__8lYH.js → luma-ray-Cm1KZBhs.js} +20 -23
- package/dist/src/main.js +1170 -1321
- package/dist/src/{messages-XhiwCbi4.cjs → messages-1JrJs91T.cjs} +32 -34
- package/dist/src/{messages-CGPPidQr.js → messages-1x9atZmP.js} +22 -24
- package/dist/src/{messages-Uee41Mj5.js → messages-BLbWdsyt.js} +22 -24
- package/dist/src/messages-D8EA0oDc.js +240 -0
- package/dist/src/{meteor-BYykdXrV.js → meteor-44VjEACX.js} +3 -4
- package/dist/src/{meteor-CsopaHrH.js → meteor-D-SotUw9.js} +3 -4
- package/dist/src/{meteor-e-E-2vVl.cjs → meteor-DLZZ3osF.cjs} +3 -4
- package/dist/src/{meteor-C8lGP6P4.js → meteor-DUiCJRC-.js} +3 -4
- package/dist/src/{modelslab-yKz-ZNB4.js → modelslab-C1OLRmVX.js} +17 -10
- package/dist/src/{modelslab-E9gO-bYd.js → modelslab-CqXBy3U8.js} +18 -20
- package/dist/src/{modelslab-lUVW0cmB.cjs → modelslab-DcOSFwKh.cjs} +17 -18
- package/dist/src/{modelslab-ClBkr8_9.js → modelslab-X5-4LroM.js} +17 -19
- package/dist/src/{nova-reel-Dk8jNpId.js → nova-reel-BgS1ZWuK.js} +20 -13
- package/dist/src/{nova-reel-u2eF2Cxm.js → nova-reel-D2ZkOSyr.js} +22 -21
- package/dist/src/{nova-reel-D8CuO6QH.cjs → nova-reel-D9xfaMBs.cjs} +20 -21
- package/dist/src/{nova-reel-P9bwvtYX.js → nova-reel-DihqLeol.js} +20 -23
- package/dist/src/{nova-sonic-Ds1C-dpm.cjs → nova-sonic-DVu3mMIy.cjs} +30 -31
- package/dist/src/{nova-sonic-CK2rAiKi.js → nova-sonic-DezhVUYT.js} +30 -26
- package/dist/src/{nova-sonic-BaqWlkds.js → nova-sonic-P-CdUMlV.js} +30 -31
- package/dist/src/{nova-sonic-yZapPLv7.js → nova-sonic-Q3BOJeig.js} +31 -32
- package/dist/src/{openai-DUFopMrH.cjs → openai-Cuif0GEt.cjs} +8 -9
- package/dist/src/{openai-PblZ3jUE.js → openai-DElQ-fPX.js} +3 -4
- package/dist/src/{openai-CcN1B8Sb.js → openai-DhbB7eWK.js} +3 -4
- package/dist/src/openai-j-sE2O7r.js +44 -0
- package/dist/src/{openclaw-A-3_loM7.js → openclaw-BiSZPL7J.js} +20 -14
- package/dist/src/{openclaw-COn6QzDi.js → openclaw-Bv1DINsX.js} +20 -27
- package/dist/src/{openclaw-a3lylB-V.js → openclaw-D1D_ej1z.js} +21 -28
- package/dist/src/{openclaw-B6qqDr_u.cjs → openclaw-DAfWQn-o.cjs} +33 -39
- package/dist/src/opencode-sdk-C7m-wRfI.js +560 -0
- package/dist/src/opencode-sdk-CfaLN8PY.cjs +564 -0
- package/dist/src/opencode-sdk-D95s6SnR.js +562 -0
- package/dist/src/opencode-sdk-DxUPkLT7.js +560 -0
- package/dist/src/{otlpReceiver-oyf5wLGC.js → otlpReceiver--AIRW_S4.js} +53 -51
- package/dist/src/{otlpReceiver-BmmTiMjA.js → otlpReceiver-Bn5wGB1v.js} +53 -55
- package/dist/src/{otlpReceiver-lXsYVbpj.cjs → otlpReceiver-Diec4cln.cjs} +53 -55
- package/dist/src/{otlpReceiver-94URx7UW.js → otlpReceiver-g3ByGaXs.js} +53 -55
- package/dist/src/{providerRegistry-Cq_JK_CJ.js → providerRegistry-B0RUOLI_.js} +7 -8
- package/dist/src/{providerRegistry-DSSHjMKf.js → providerRegistry-CD8MEar9.js} +7 -8
- package/dist/src/{providerRegistry-CvHEVJad.cjs → providerRegistry-Civky8Ar.cjs} +12 -13
- package/dist/src/providerRegistry-DM8rZYol.js +45 -0
- package/dist/src/providers-B3HvufyI.js +33246 -0
- package/dist/src/{providers-BnFpbY_s.js → providers-BKRJTjBz.js} +1536 -1669
- package/dist/src/providers-C1rOSHiR.js +32 -0
- package/dist/src/{providers-Iil64vk9.js → providers-CFLy1_ji.js} +1543 -1676
- package/dist/src/{providers-DHbjzW2e.cjs → providers-CFu-TZl-.cjs} +1896 -2029
- package/dist/src/providers-CxmDwEFf.cjs +31 -0
- package/dist/src/providers-Dodakqr0.js +30 -0
- package/dist/src/providers-GIQ2TcsA.js +30 -0
- package/dist/src/{pythonUtils-CcT5LH1M.js → pythonUtils-C3py6GC1.js} +18 -19
- package/dist/src/{pythonUtils-DBbuI3QJ.cjs → pythonUtils-CTU3Y3lw.cjs} +42 -43
- package/dist/src/{pythonUtils-hZ8LeQLv.js → pythonUtils-D5nxkQ0P.js} +18 -19
- package/dist/src/pythonUtils-D6fwaDSg.js +249 -0
- package/dist/src/{quiverai-BuI0tE39.js → quiverai-C2jVwbH1.js} +8 -7
- package/dist/src/{quiverai-DCGSZt4U.js → quiverai-CI6gYJVI.js} +8 -10
- package/dist/src/{quiverai-DiMVJQDz.cjs → quiverai-CLkWkyZc.cjs} +8 -9
- package/dist/src/{quiverai-fQNkExW4.js → quiverai-MHSxbmmZ.js} +9 -11
- package/dist/src/{render-Dj1smHEb.js → render-Drod8m7K.js} +4 -5
- package/dist/src/{responses-DOAFFENS.js → responses-BKqJmhhc.js} +22 -25
- package/dist/src/{responses-CxzoQoBe.js → responses-CGw0DCzh.js} +22 -25
- package/dist/src/responses-jxdehPkC.js +660 -0
- package/dist/src/{responses-ghR3IOfy.cjs → responses-tD4Bd4dc.cjs} +37 -40
- package/dist/src/rubyUtils-BUHu6PhO.js +5 -0
- package/dist/src/{rubyUtils-CwbGmgYN.js → rubyUtils-BUVePouc.js} +27 -20
- package/dist/src/rubyUtils-BcuGX77l.js +222 -0
- package/dist/src/{rubyUtils-DudlFZed.js → rubyUtils-Boc4HZzX.js} +18 -19
- package/dist/src/rubyUtils-CP42kMvq.cjs +4 -0
- package/dist/src/{rubyUtils-C8MhKGHb.cjs → rubyUtils-DhCAlxZr.cjs} +48 -50
- package/dist/src/{sagemaker-gmskuyre.js → sagemaker-BK4Zb993.js} +75 -70
- package/dist/src/{sagemaker-DuM71dVU.js → sagemaker-BfiWTmvn.js} +77 -77
- package/dist/src/{sagemaker-77zbJ2Q2.cjs → sagemaker-CcQHM1jV.cjs} +75 -76
- package/dist/src/{sagemaker-CcxhlOAR.js → sagemaker-D2Q1c-sD.js} +75 -79
- package/dist/src/{scanner-DJYiSXQj.js → scanner-J8CA3LsV.js} +100 -121
- package/dist/src/server/index.js +5505 -67416
- package/dist/src/{server-B5v33lvE.cjs → server-B0PPuDw-.cjs} +57 -67
- package/dist/src/server-B1vi21hA.js +7 -0
- package/dist/src/{server-RV_i_YX5.js → server-BC7XJFgr.js} +19 -24
- package/dist/src/server-Cm9Kai_h.cjs +5 -0
- package/dist/src/{server-BJ4m4f1D.js → server-DbFphssR.js} +26 -29
- package/dist/src/server-OAs3nBRT.js +229 -0
- package/dist/src/{signal-BW33JuId.js → signal-BOTbd53Z.js} +9 -11
- package/dist/src/{slack-DEURelTy.cjs → slack-BmVAVGaK.cjs} +7 -8
- package/dist/src/{slack-BQYeW9L3.js → slack-DCUPTzS2.js} +8 -8
- package/dist/src/{slack-BB6yuZzp.js → slack-DOdy_kyv.js} +7 -8
- package/dist/src/{slack-2pRrhhgJ.js → slack-DXMKtA-f.js} +7 -9
- package/dist/src/store-BNmZ1KAz.cjs +5 -0
- package/dist/src/{store-D7CgQzAR.cjs → store-BSc-TF2w.cjs} +44 -45
- package/dist/src/store-BltJg2cd.js +6 -0
- package/dist/src/{store-s3SftUwF.js → store-D1tv90v3.js} +34 -35
- package/dist/src/{store-DJNsD1iC.js → store-DQLEjuEO.js} +40 -36
- package/dist/src/store-Ub2vaGJ1.js +228 -0
- package/dist/src/{tables-DfTsNN7X.js → tables-5EvT_Bwn.js} +19 -21
- package/dist/src/{tables-BKTmd6u7.cjs → tables-C7K-XKWp.cjs} +89 -91
- package/dist/src/{tables-DMegD0Xf.js → tables-D36WTqKX.js} +21 -23
- package/dist/src/tables-xKANLRBD.js +288 -0
- package/dist/src/telemetry-5BCRNBbe.cjs +5 -0
- package/dist/src/{telemetry-BedSm-bZ.js → telemetry-C15ziL8u.js} +17 -14
- package/dist/src/{telemetry--WAdAfVi.js → telemetry-C2YDkUQH.js} +11 -13
- package/dist/src/{telemetry-DQgVBCAb.cjs → telemetry-CbrnxHp_.cjs} +21 -24
- package/dist/src/telemetry-D4W5hboe.js +7 -0
- package/dist/src/telemetry-DMb2Mpfm.js +171 -0
- package/dist/src/{text-oiSbwSOI.js → text-B_UCRPp2.js} +2 -2
- package/dist/src/{text-oKzCBnK6.cjs → text-CW1cyrwj.cjs} +12 -13
- package/dist/src/{text-B_IrO4GZ.js → text-Db-Wt2u2.js} +2 -2
- package/dist/src/text-TIv0QYnd.js +22 -0
- package/dist/src/{tokenUsageUtils-FZd5O_4A.js → tokenUsageUtils-BDGe-iyI.js} +2 -2
- package/dist/src/{tokenUsageUtils-DmZSD2eU.js → tokenUsageUtils-DflFMjS0.js} +2 -2
- package/dist/src/tokenUsageUtils-NYT-WKS6.js +138 -0
- package/dist/src/{tokenUsageUtils-CXhxVj72.cjs → tokenUsageUtils-bVa1ga6f.cjs} +32 -33
- package/dist/src/{transcription-BO1AHegO.cjs → transcription-CL78qbOU.cjs} +14 -15
- package/dist/src/{transcription-mYS9vd5v.js → transcription-DAtxHhAM.js} +14 -7
- package/dist/src/{transcription-X2-B4vkX.js → transcription-LNZTNUUL.js} +14 -16
- package/dist/src/{transcription-lzBLiTFJ.js → transcription-QHh3AH6Z.js} +15 -17
- package/dist/src/{transform-DeGlxb0D.js → transform-Cgi24fJ7.js} +39 -47
- package/dist/src/{transform-B1Hi5lWS.cjs → transform-CzK1Q0zl.cjs} +24 -26
- package/dist/src/{transform-CYDILYDe.js → transform-DECvGmzp.js} +15 -13
- package/dist/src/{transform-Dfl89yi4.js → transform-DGLazrMm.js} +39 -47
- package/dist/src/transform-DGxXocjk.js +1506 -0
- package/dist/src/{transform-D5PjiWiZ.cjs → transform-DOcQeLld.cjs} +179 -187
- package/dist/src/transform-DTGDnAzW.js +6 -0
- package/dist/src/{transform-BEgStbHK.js → transform-DilY9wbS.js} +10 -12
- package/dist/src/transform-aa6tmVpZ.js +216 -0
- package/dist/src/transform-m3qNw4KP.cjs +5 -0
- package/dist/src/{transformersAvailability-SZnTS3pJ.js → transformersAvailability-CEVM2GNQ.js} +2 -2
- package/dist/src/{transformersAvailability-D-glmEy7.cjs → transformersAvailability-CwayUSlh.cjs} +2 -3
- package/dist/src/{transformersAvailability-CjeFXhuJ.js → transformersAvailability-D6c6ROpT.js} +2 -2
- package/dist/src/{types-CXQduE9o.js → types-CH3Ge2sE.js} +30 -90
- package/dist/src/{types-C5hEkb-x.js → types-CLKiCBW3.js} +25 -89
- package/dist/src/types-CN_TZ2GJ.js +3260 -0
- package/dist/src/{types-DWNf48sT.cjs → types-LJ0r3wbR.cjs} +500 -564
- package/dist/src/util-5cB-L7U3.js +1430 -0
- package/dist/src/util-6-GqIvzS.js +599 -0
- package/dist/src/{util-CoQjmE3u.js → util-B7T3SiBS.js} +4 -5
- package/dist/src/{util-D9eLdGfa.js → util-Betm42rL.js} +5 -6
- package/dist/src/{util-Bm_-UMD_.js → util-C-PPYSMq.js} +5 -6
- package/dist/src/{util-CyUdMzV0.cjs → util-CchiqXh_.cjs} +34 -35
- package/dist/src/{util-Du96oyYS.js → util-DaWTWKBK.js} +4 -5
- package/dist/src/{util-1wWM599Z.cjs → util-Db0a0AFH.cjs} +50 -51
- package/dist/src/{util-DQ984syk.js → util-Dlz_Wvgm.js} +37 -48
- package/dist/src/{util-_h4pVqrz.js → util-YT5HPZaS.js} +37 -48
- package/dist/src/{util-aLhtl3fe.cjs → util-Yz-1aEhW.cjs} +209 -220
- package/dist/src/util-ZZH-3QZz.js +293 -0
- package/dist/src/{utils-BjLy-Q72.cjs → utils-Cz9qXqII.cjs} +29 -32
- package/dist/src/{utils-CFMn2yHW.js → utils-XiOAgly5.js} +4 -7
- package/dist/src/utils-dLokC-eR.js +94 -0
- package/dist/src/{utils-DvWMzuMx.js → utils-f2-Moju7.js} +4 -7
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +30 -30
- package/dist/src/app/assets/index-B2D0bCSI.js +0 -439
- package/dist/src/app/tsconfig.app.tsbuildinfo +0 -1
- package/dist/src/cache-ChPcurj7.js +0 -6
- package/dist/src/cache-VVu_W-yg.js +0 -8
- package/dist/src/cache-YLNCFEM2.cjs +0 -6
- package/dist/src/chunk-DHDDz29n.js +0 -22
- package/dist/src/chunk-FhC4c-0y.js +0 -21
- package/dist/src/cloud-BndfXy4H.js +0 -5
- package/dist/src/eval-BhHvMY82.js +0 -17
- package/dist/src/evalResult-Dq2gFNQY.js +0 -12
- package/dist/src/evalResult-nmcP5VKH.cjs +0 -12
- package/dist/src/evalResult-trqZjVYh.js +0 -14
- package/dist/src/evaluator-CnfPstzT.js +0 -39
- package/dist/src/fetch-IDPDue6F.cjs +0 -4
- package/dist/src/fetch-hKJ-It8q.js +0 -6
- package/dist/src/fetch-ouKnrWK-.js +0 -4
- package/dist/src/graders-CQn7WUsd.cjs +0 -34
- package/dist/src/graders-DC6QAbpW.js +0 -35
- package/dist/src/graders-DUWz3Y7j.js +0 -37
- package/dist/src/opencode-sdk-4bL9n-Gk.js +0 -382
- package/dist/src/opencode-sdk-BfC2zWcR.js +0 -376
- package/dist/src/opencode-sdk-DMJyuwMg.js +0 -380
- package/dist/src/opencode-sdk-Da-9adza.cjs +0 -383
- package/dist/src/providers-CsXB2Ix-.js +0 -35
- package/dist/src/providers-DO8ltjLC.js +0 -33
- package/dist/src/providers-Dtq-xnXd.cjs +0 -33
- package/dist/src/rubyUtils-BUbcND2f.js +0 -6
- package/dist/src/rubyUtils-Cr55X_KE.js +0 -5
- package/dist/src/rubyUtils-DlIiqoYo.cjs +0 -5
- package/dist/src/server-C2eQH4Gu.js +0 -6
- package/dist/src/server-CXWycu7H.cjs +0 -6
- package/dist/src/server-Q6OGlxxT.js +0 -8
- package/dist/src/store-B3EDO9Q3.js +0 -7
- package/dist/src/store-Dl9F8aw5.js +0 -6
- package/dist/src/store-SnrGrlt9.cjs +0 -6
- package/dist/src/telemetry-BGhiPZtl.js +0 -8
- package/dist/src/telemetry-CFfiYan6.cjs +0 -6
- package/dist/src/telemetry-DHzEduxX.js +0 -6
- package/dist/src/transform-C1x1ZlMQ.cjs +0 -6
- package/dist/src/transform-DYHjFmQu.js +0 -8
- package/dist/src/transform-rmwJT5JQ.js +0 -7
- package/dist/src/transformersAvailability-eJooj0gX.js +0 -35
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
const require_logger = require(
|
|
2
|
-
const require_fileExtensions = require(
|
|
1
|
+
const require_logger = require("./logger-Cp1GPUjj.cjs");
|
|
2
|
+
const require_fileExtensions = require("./fileExtensions-bYh77CN8.cjs");
|
|
3
3
|
let dedent = require("dedent");
|
|
4
4
|
dedent = require_logger.__toESM(dedent);
|
|
5
5
|
let zod = require("zod");
|
|
6
|
-
|
|
7
6
|
//#region src/types/env.ts
|
|
8
7
|
const ProviderEnvOverridesSchema = zod.z.object({
|
|
9
8
|
AI21_API_BASE_URL: zod.z.string().optional(),
|
|
@@ -124,7 +123,6 @@ const ProviderEnvOverridesSchema = zod.z.object({
|
|
|
124
123
|
AWS_SAGEMAKER_MAX_RETRIES: zod.z.string().optional(),
|
|
125
124
|
PROMPTFOO_EVAL_TIMEOUT_MS: zod.z.string().optional()
|
|
126
125
|
});
|
|
127
|
-
|
|
128
126
|
//#endregion
|
|
129
127
|
//#region src/types/shared.ts
|
|
130
128
|
const CompletionTokenDetailsSchema = zod.z.object({
|
|
@@ -152,7 +150,6 @@ const BaseTokenUsageSchema = zod.z.object({
|
|
|
152
150
|
}).optional()
|
|
153
151
|
});
|
|
154
152
|
const InputsSchema = zod.z.record(zod.z.string().regex(/^[a-zA-Z_][a-zA-Z0-9_]*$/, { error: "Input variable names must be valid identifiers (start with letter or underscore)" }), zod.z.string().min(1, { error: "Input descriptions must be non-empty strings" }));
|
|
155
|
-
|
|
156
153
|
//#endregion
|
|
157
154
|
//#region src/validators/prompts.ts
|
|
158
155
|
const PromptConfigSchema = zod.z.object({
|
|
@@ -172,10 +169,8 @@ function assert$1() {}
|
|
|
172
169
|
assert$1();
|
|
173
170
|
assert$1();
|
|
174
171
|
assert$1();
|
|
175
|
-
|
|
176
172
|
//#endregion
|
|
177
173
|
//#region src/redteam/constants/plugins.ts
|
|
178
|
-
const DEFAULT_NUM_TESTS_PER_PLUGIN = 5;
|
|
179
174
|
const MULTI_INPUT_VAR = "__prompt";
|
|
180
175
|
const LLAMA_GUARD_REPLICATE_PROVIDER = "replicate:moderation:meta/llama-guard-4-12b";
|
|
181
176
|
const LLAMA_GUARD_ENABLED_CATEGORIES = [
|
|
@@ -372,6 +367,7 @@ const PHARMACY_PLUGINS = [
|
|
|
372
367
|
];
|
|
373
368
|
const INSURANCE_PLUGINS = [
|
|
374
369
|
"insurance:coverage-discrimination",
|
|
370
|
+
"insurance:data-disclosure",
|
|
375
371
|
"insurance:network-misinformation",
|
|
376
372
|
"insurance:phi-disclosure"
|
|
377
373
|
];
|
|
@@ -457,6 +453,7 @@ const ADDITIONAL_PLUGINS = [
|
|
|
457
453
|
"ecommerce:price-manipulation",
|
|
458
454
|
"goal-misalignment",
|
|
459
455
|
"insurance:coverage-discrimination",
|
|
456
|
+
"insurance:data-disclosure",
|
|
460
457
|
"insurance:network-misinformation",
|
|
461
458
|
"insurance:phi-disclosure",
|
|
462
459
|
"off-topic",
|
|
@@ -534,7 +531,7 @@ const DEFAULT_PLUGINS = new Set([...[
|
|
|
534
531
|
...PII_PLUGINS,
|
|
535
532
|
...BIAS_PLUGINS
|
|
536
533
|
].sort()]);
|
|
537
|
-
|
|
534
|
+
new Set([
|
|
538
535
|
...DEFAULT_PLUGINS,
|
|
539
536
|
"bola",
|
|
540
537
|
"bfla",
|
|
@@ -594,12 +591,11 @@ const REMOTE_ONLY_PLUGIN_IDS = [
|
|
|
594
591
|
...TELECOM_PLUGINS,
|
|
595
592
|
...REALESTATE_PLUGINS
|
|
596
593
|
];
|
|
597
|
-
|
|
594
|
+
[
|
|
598
595
|
...Object.keys(UNALIGNED_PROVIDER_HARM_PLUGINS),
|
|
599
596
|
...BIAS_PLUGINS,
|
|
600
597
|
...REMOTE_ONLY_PLUGIN_IDS
|
|
601
598
|
];
|
|
602
|
-
|
|
603
599
|
//#endregion
|
|
604
600
|
//#region src/redteam/constants/frameworks.ts
|
|
605
601
|
const OWASP_LLM_TOP_10_MAPPING = {
|
|
@@ -1596,7 +1592,6 @@ const ALIASED_PLUGIN_MAPPINGS = {
|
|
|
1596
1592
|
strategies: []
|
|
1597
1593
|
} }
|
|
1598
1594
|
};
|
|
1599
|
-
|
|
1600
1595
|
//#endregion
|
|
1601
1596
|
//#region src/redteam/constants/metadata.ts
|
|
1602
1597
|
const Severity = {
|
|
@@ -1613,20 +1608,8 @@ const SeveritySchema = zod.z.enum([
|
|
|
1613
1608
|
"low",
|
|
1614
1609
|
"informational"
|
|
1615
1610
|
]);
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
[Severity.High]: "High",
|
|
1619
|
-
[Severity.Medium]: "Medium",
|
|
1620
|
-
[Severity.Low]: "Low",
|
|
1621
|
-
[Severity.Informational]: "Informational"
|
|
1622
|
-
};
|
|
1623
|
-
const severityRiskScores = {
|
|
1624
|
-
[Severity.Critical]: 9,
|
|
1625
|
-
[Severity.High]: 7,
|
|
1626
|
-
[Severity.Medium]: 4,
|
|
1627
|
-
[Severity.Low]: 0,
|
|
1628
|
-
[Severity.Informational]: 0
|
|
1629
|
-
};
|
|
1611
|
+
Severity.Critical, Severity.High, Severity.Medium, Severity.Low, Severity.Informational;
|
|
1612
|
+
Severity.Critical, Severity.High, Severity.Medium, Severity.Low, Severity.Informational;
|
|
1630
1613
|
const riskCategorySeverityMap = {
|
|
1631
1614
|
["agentic:memory-poisoning"]: Severity.High,
|
|
1632
1615
|
aegis: Severity.Medium,
|
|
@@ -1715,6 +1698,7 @@ const riskCategorySeverityMap = {
|
|
|
1715
1698
|
imitation: Severity.Low,
|
|
1716
1699
|
"indirect-prompt-injection": Severity.High,
|
|
1717
1700
|
"insurance:coverage-discrimination": Severity.Critical,
|
|
1701
|
+
"insurance:data-disclosure": Severity.Critical,
|
|
1718
1702
|
"insurance:network-misinformation": Severity.High,
|
|
1719
1703
|
"insurance:phi-disclosure": Severity.Critical,
|
|
1720
1704
|
"ecommerce:pci-dss": Severity.Critical,
|
|
@@ -1775,7 +1759,7 @@ const riskCategorySeverityMap = {
|
|
|
1775
1759
|
wordplay: Severity.Low,
|
|
1776
1760
|
xstest: Severity.Low
|
|
1777
1761
|
};
|
|
1778
|
-
|
|
1762
|
+
Object.entries({
|
|
1779
1763
|
"Security & Access Control": [
|
|
1780
1764
|
"ascii-smuggling",
|
|
1781
1765
|
"bfla",
|
|
@@ -1798,6 +1782,7 @@ const riskCategories = {
|
|
|
1798
1782
|
"data-exfil",
|
|
1799
1783
|
"divergent-repetition",
|
|
1800
1784
|
"harmful:privacy",
|
|
1785
|
+
"insurance:data-disclosure",
|
|
1801
1786
|
"insurance:phi-disclosure",
|
|
1802
1787
|
"pii:api-db",
|
|
1803
1788
|
"pii:direct",
|
|
@@ -1923,14 +1908,12 @@ const riskCategories = {
|
|
|
1923
1908
|
"vlsu",
|
|
1924
1909
|
"xstest"
|
|
1925
1910
|
]
|
|
1926
|
-
}
|
|
1927
|
-
const categoryMapReverse = Object.entries(riskCategories).reduce((acc, [category, harms]) => {
|
|
1911
|
+
}).reduce((acc, [category, harms]) => {
|
|
1928
1912
|
harms.forEach((harm) => {
|
|
1929
1913
|
acc[harm] = category;
|
|
1930
1914
|
});
|
|
1931
1915
|
return acc;
|
|
1932
1916
|
}, {});
|
|
1933
|
-
const categoryLabels = Object.keys(categoryMapReverse);
|
|
1934
1917
|
const categoryAliases = {
|
|
1935
1918
|
["agentic:memory-poisoning"]: "AgenticMemoryPoisoning",
|
|
1936
1919
|
aegis: "Aegis",
|
|
@@ -2048,6 +2031,7 @@ const categoryAliases = {
|
|
|
2048
2031
|
imitation: "Imitation",
|
|
2049
2032
|
"indirect-prompt-injection": "Indirect Prompt Injection",
|
|
2050
2033
|
"insurance:coverage-discrimination": "InsuranceCoverageDiscrimination",
|
|
2034
|
+
"insurance:data-disclosure": "InsuranceDataDisclosure",
|
|
2051
2035
|
"insurance:network-misinformation": "InsuranceNetworkMisinformation",
|
|
2052
2036
|
"insurance:phi-disclosure": "InsurancePhiDisclosure",
|
|
2053
2037
|
intent: "Intent",
|
|
@@ -2079,7 +2063,7 @@ const categoryAliases = {
|
|
|
2079
2063
|
wordplay: "Wordplay",
|
|
2080
2064
|
xstest: "XSTest"
|
|
2081
2065
|
};
|
|
2082
|
-
|
|
2066
|
+
Object.entries(categoryAliases).reduce((acc, [key, value]) => {
|
|
2083
2067
|
acc[value] = key;
|
|
2084
2068
|
return acc;
|
|
2085
2069
|
}, {});
|
|
@@ -2117,7 +2101,7 @@ const pluginDescriptions = {
|
|
|
2117
2101
|
bias: "Unified bias detection across protected characteristics including age, disability, gender, and race",
|
|
2118
2102
|
medical: "Comprehensive medical AI safety testing for healthcare-specific vulnerabilities including hallucination, anchoring bias, incorrect knowledge, off-label use, prioritization errors, and sycophancy",
|
|
2119
2103
|
pharmacy: "Comprehensive pharmacy AI safety testing for pharmaceutical vulnerabilities including drug interactions, dosage calculations, and controlled substance compliance",
|
|
2120
|
-
insurance: "Comprehensive insurance AI safety testing
|
|
2104
|
+
insurance: "Comprehensive insurance AI safety testing across all insurance types including coverage discrimination, network misinformation, PHI disclosure, and policyholder data disclosure",
|
|
2121
2105
|
financial: "Comprehensive financial AI safety testing for financial services vulnerabilities including calculation errors, compliance violations, hallucination, and data leakage",
|
|
2122
2106
|
ecommerce: "Comprehensive e-commerce AI safety testing for payment security and transaction integrity vulnerabilities including PCI DSS compliance, fraud detection, and price manipulation",
|
|
2123
2107
|
telecom: "Comprehensive telecommunications AI safety testing across CPNI protection, account security, regulatory compliance (FCC, TCPA, CALEA), and telecom-specific fraud prevention",
|
|
@@ -2170,8 +2154,9 @@ const pluginDescriptions = {
|
|
|
2170
2154
|
"harmful:weapons:ied": "Tests handling of Improvised Explosive Devices",
|
|
2171
2155
|
hijacking: "Assesses protection against unauthorized resource usage and purpose deviation",
|
|
2172
2156
|
imitation: "Tests safeguards against unauthorized entity impersonation attempts",
|
|
2173
|
-
"insurance:coverage-discrimination": "Tests for discriminatory coverage or
|
|
2174
|
-
"insurance:
|
|
2157
|
+
"insurance:coverage-discrimination": "Tests for discriminatory coverage, underwriting, or claims determinations based on protected characteristics (age, disability, race, genetic information, sex) in violation of federal civil rights laws including ADA, Section 1557, GINA, Fair Housing Act, ECOA, and state unfair trade practices acts",
|
|
2158
|
+
"insurance:data-disclosure": "Tests for unauthorized disclosure of protected policyholder data including claims history, property details, driving records, beneficiary information, and business data in violation of GLBA, FCRA, DPPA, and state insurance privacy laws",
|
|
2159
|
+
"insurance:network-misinformation": "Tests for inaccurate provider or vendor network information including wrong network status, terminated contracts, ghost networks, and outdated provider data that could expose policyholders to unexpected costs, voided warranties, or inadequate service",
|
|
2175
2160
|
"insurance:phi-disclosure": "Tests for unauthorized disclosure of Protected Health Information in violation of HIPAA privacy regulations including cross-member PHI leakage, inadequate authentication, and disclosure to unauthorized third parties",
|
|
2176
2161
|
"ecommerce:pci-dss": "Tests for exposure of payment card data including credit card numbers, CVVs, expiration dates, cardholder names, bank account details, and payment tokens in violation of PCI DSS requirements for secure payment processing",
|
|
2177
2162
|
"ecommerce:compliance-bypass": "Tests for attempts to bypass security rules, terms of service, age restrictions, geographic limitations, or compliance policies in e-commerce systems",
|
|
@@ -2231,7 +2216,6 @@ const pluginDescriptions = {
|
|
|
2231
2216
|
xstest: "Tests how models handle ambiguous terms related to potentially harmful topics like violence and drugs",
|
|
2232
2217
|
"guardrails-eval": "Evaluate guardrail effectiveness against common risks"
|
|
2233
2218
|
};
|
|
2234
|
-
|
|
2235
2219
|
//#endregion
|
|
2236
2220
|
//#region src/redteam/constants/strategies.ts
|
|
2237
2221
|
const FRAMEWORK_COMPLIANCE_IDS = [
|
|
@@ -2250,7 +2234,6 @@ const DEFAULT_STRATEGIES = [
|
|
|
2250
2234
|
"jailbreak:meta",
|
|
2251
2235
|
"jailbreak:composite"
|
|
2252
2236
|
];
|
|
2253
|
-
const DEFAULT_STRATEGIES_SET = new Set(DEFAULT_STRATEGIES);
|
|
2254
2237
|
const MULTI_TURN_STRATEGIES = [
|
|
2255
2238
|
"crescendo",
|
|
2256
2239
|
"goat",
|
|
@@ -2258,16 +2241,9 @@ const MULTI_TURN_STRATEGIES = [
|
|
|
2258
2241
|
"custom",
|
|
2259
2242
|
"mischievous-user"
|
|
2260
2243
|
];
|
|
2261
|
-
const MULTI_TURN_STRATEGY_SET = new Set(MULTI_TURN_STRATEGIES);
|
|
2262
2244
|
const isCustomStrategy = (strategyId) => {
|
|
2263
2245
|
return strategyId === "custom" || strategyId.startsWith("custom:");
|
|
2264
2246
|
};
|
|
2265
|
-
const MULTI_MODAL_STRATEGIES = [
|
|
2266
|
-
"audio",
|
|
2267
|
-
"image",
|
|
2268
|
-
"video"
|
|
2269
|
-
];
|
|
2270
|
-
const MULTI_MODAL_STRATEGIES_SET = new Set(MULTI_MODAL_STRATEGIES);
|
|
2271
2247
|
const AGENTIC_STRATEGIES = [
|
|
2272
2248
|
"crescendo",
|
|
2273
2249
|
"goat",
|
|
@@ -2279,7 +2255,6 @@ const AGENTIC_STRATEGIES = [
|
|
|
2279
2255
|
"jailbreak:tree",
|
|
2280
2256
|
"mischievous-user"
|
|
2281
2257
|
];
|
|
2282
|
-
const AGENTIC_STRATEGIES_SET = new Set(AGENTIC_STRATEGIES);
|
|
2283
2258
|
const DATASET_PLUGINS = [
|
|
2284
2259
|
"beavertails",
|
|
2285
2260
|
"cyberseceval",
|
|
@@ -2341,22 +2316,6 @@ const _ALL_STRATEGIES = [
|
|
|
2341
2316
|
...AGENTIC_STRATEGIES
|
|
2342
2317
|
];
|
|
2343
2318
|
const ALL_STRATEGIES = Array.from(new Set(_ALL_STRATEGIES)).sort();
|
|
2344
|
-
const CONFIGURABLE_STRATEGIES = [
|
|
2345
|
-
"layer",
|
|
2346
|
-
"best-of-n",
|
|
2347
|
-
"goat",
|
|
2348
|
-
"crescendo",
|
|
2349
|
-
"indirect-web-pwn",
|
|
2350
|
-
"jailbreak",
|
|
2351
|
-
"jailbreak:hydra",
|
|
2352
|
-
"jailbreak:meta",
|
|
2353
|
-
"jailbreak:tree",
|
|
2354
|
-
"gcg",
|
|
2355
|
-
"citation",
|
|
2356
|
-
"custom",
|
|
2357
|
-
"mischievous-user"
|
|
2358
|
-
];
|
|
2359
|
-
const CONFIGURABLE_STRATEGIES_SET = new Set(CONFIGURABLE_STRATEGIES);
|
|
2360
2319
|
/**
|
|
2361
2320
|
* Default 'n' fan out for strategies that can add additional test cases during generation
|
|
2362
2321
|
*/
|
|
@@ -2371,19 +2330,6 @@ function getDefaultNFanout(strategyId) {
|
|
|
2371
2330
|
function isFanoutStrategy(strategyId) {
|
|
2372
2331
|
return strategyId in DEFAULT_N_FAN_OUT_BY_STRATEGY;
|
|
2373
2332
|
}
|
|
2374
|
-
const STRATEGIES_REQUIRING_REMOTE = [
|
|
2375
|
-
"audio",
|
|
2376
|
-
"citation",
|
|
2377
|
-
"gcg",
|
|
2378
|
-
"goat",
|
|
2379
|
-
"indirect-web-pwn",
|
|
2380
|
-
"jailbreak:composite",
|
|
2381
|
-
"jailbreak:hydra",
|
|
2382
|
-
"jailbreak:likert",
|
|
2383
|
-
"jailbreak:meta"
|
|
2384
|
-
];
|
|
2385
|
-
const STRATEGIES_REQUIRING_REMOTE_SET = new Set(STRATEGIES_REQUIRING_REMOTE);
|
|
2386
|
-
|
|
2387
2333
|
//#endregion
|
|
2388
2334
|
//#region src/util/uuid.ts
|
|
2389
2335
|
/**
|
|
@@ -2400,7 +2346,6 @@ const UUID_REGEX = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-
|
|
|
2400
2346
|
function isUuid(value) {
|
|
2401
2347
|
return UUID_REGEX.test(value);
|
|
2402
2348
|
}
|
|
2403
|
-
|
|
2404
2349
|
//#endregion
|
|
2405
2350
|
//#region src/redteam/plugins/policy/validators.ts
|
|
2406
2351
|
/**
|
|
@@ -2436,7 +2381,6 @@ function isValidInlinePolicyId(id) {
|
|
|
2436
2381
|
function isValidPolicyId(id) {
|
|
2437
2382
|
return isValidReusablePolicyId(id) || isValidInlinePolicyId(id);
|
|
2438
2383
|
}
|
|
2439
|
-
|
|
2440
2384
|
//#endregion
|
|
2441
2385
|
//#region src/redteam/types.ts
|
|
2442
2386
|
const PolicyObjectSchema = zod.z.object({
|
|
@@ -2503,7 +2447,6 @@ var PartialGenerationError = class extends Error {
|
|
|
2503
2447
|
this.failedPlugins = failedPlugins;
|
|
2504
2448
|
}
|
|
2505
2449
|
};
|
|
2506
|
-
|
|
2507
2450
|
//#endregion
|
|
2508
2451
|
//#region src/validators/providers.ts
|
|
2509
2452
|
const ProviderOptionsSchema = zod.z.object({
|
|
@@ -2528,7 +2471,7 @@ const ApiProviderSchema = zod.z.object({
|
|
|
2528
2471
|
config: zod.z.any().optional(),
|
|
2529
2472
|
inputs: InputsSchema.optional()
|
|
2530
2473
|
});
|
|
2531
|
-
|
|
2474
|
+
zod.z.object({
|
|
2532
2475
|
cached: zod.z.boolean().optional(),
|
|
2533
2476
|
cost: zod.z.number().optional(),
|
|
2534
2477
|
error: zod.z.string().optional(),
|
|
@@ -2537,17 +2480,17 @@ const ProviderResponseSchema = zod.z.object({
|
|
|
2537
2480
|
output: zod.z.union([zod.z.string(), zod.z.any()]).optional(),
|
|
2538
2481
|
tokenUsage: BaseTokenUsageSchema.optional()
|
|
2539
2482
|
});
|
|
2540
|
-
|
|
2483
|
+
zod.z.object({
|
|
2541
2484
|
error: zod.z.string().optional(),
|
|
2542
2485
|
embedding: zod.z.array(zod.z.number()).optional(),
|
|
2543
2486
|
tokenUsage: BaseTokenUsageSchema.partial().optional()
|
|
2544
2487
|
});
|
|
2545
|
-
|
|
2488
|
+
zod.z.object({
|
|
2546
2489
|
error: zod.z.string().optional(),
|
|
2547
2490
|
similarity: zod.z.number().optional(),
|
|
2548
2491
|
tokenUsage: BaseTokenUsageSchema.partial().optional()
|
|
2549
2492
|
});
|
|
2550
|
-
|
|
2493
|
+
zod.z.object({
|
|
2551
2494
|
error: zod.z.string().optional(),
|
|
2552
2495
|
classification: zod.z.record(zod.z.string(), zod.z.number()).optional()
|
|
2553
2496
|
});
|
|
@@ -2566,7 +2509,6 @@ const ProviderSchema = zod.z.union([
|
|
|
2566
2509
|
ApiProviderSchema,
|
|
2567
2510
|
ProviderOptionsSchema
|
|
2568
2511
|
]);
|
|
2569
|
-
|
|
2570
2512
|
//#endregion
|
|
2571
2513
|
//#region src/validators/redteam.ts
|
|
2572
2514
|
const TracingConfigSchema = zod.z.lazy(() => zod.z.object({
|
|
@@ -2611,7 +2553,7 @@ const RedteamPluginObjectSchema = zod.z.object({
|
|
|
2611
2553
|
message: `Invalid plugin id "${val}". Custom plugins must start with file:// or use a built-in plugin. See https://www.promptfoo.dev/docs/red-team/plugins for available plugins.`
|
|
2612
2554
|
});
|
|
2613
2555
|
})]).describe("Name of the plugin"),
|
|
2614
|
-
numTests: zod.z.int().positive().prefault(
|
|
2556
|
+
numTests: zod.z.int().positive().prefault(5).describe("Number of tests to generate for this plugin"),
|
|
2615
2557
|
config: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Plugin-specific configuration"),
|
|
2616
2558
|
severity: SeveritySchema.optional().describe("Severity level for this plugin")
|
|
2617
2559
|
});
|
|
@@ -2652,10 +2594,7 @@ const RedteamStrategySchema = zod.z.union([strategyIdSchema, zod.z.object({
|
|
|
2652
2594
|
id: strategyIdSchema,
|
|
2653
2595
|
config: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Strategy-specific configuration")
|
|
2654
2596
|
})]);
|
|
2655
|
-
|
|
2656
|
-
* Schema for `promptfoo redteam generate` command options
|
|
2657
|
-
*/
|
|
2658
|
-
const RedteamGenerateOptionsSchema = zod.z.object({
|
|
2597
|
+
zod.z.object({
|
|
2659
2598
|
addPlugins: zod.z.array(zod.z.enum(ADDITIONAL_PLUGINS)).optional().describe("Additional plugins to include"),
|
|
2660
2599
|
addStrategies: zod.z.array(zod.z.enum(ADDITIONAL_STRATEGIES)).optional().describe("Additional strategies to include"),
|
|
2661
2600
|
cache: zod.z.boolean().describe("Whether to use caching"),
|
|
@@ -2833,11 +2772,9 @@ const RedteamConfigSchema = zod.z.object({
|
|
|
2833
2772
|
});
|
|
2834
2773
|
function assert() {}
|
|
2835
2774
|
assert();
|
|
2836
|
-
|
|
2837
2775
|
//#endregion
|
|
2838
2776
|
//#region src/validators/shared.ts
|
|
2839
2777
|
const NunjucksFilterMapSchema = zod.z.record(zod.z.string(), zod.z.custom((v) => typeof v === "function"));
|
|
2840
|
-
|
|
2841
2778
|
//#endregion
|
|
2842
2779
|
//#region src/types/providers.ts
|
|
2843
2780
|
function isApiProvider(provider) {
|
|
@@ -2846,7 +2783,6 @@ function isApiProvider(provider) {
|
|
|
2846
2783
|
function isProviderOptions(provider) {
|
|
2847
2784
|
return typeof provider === "object" && provider != null && "id" in provider && typeof provider.id === "string";
|
|
2848
2785
|
}
|
|
2849
|
-
|
|
2850
2786
|
//#endregion
|
|
2851
2787
|
//#region src/types/index.ts
|
|
2852
2788
|
const CommandLineOptionsSchema = zod.z.object({
|
|
@@ -3315,480 +3251,480 @@ const EvalResultsFilterMode = zod.z.enum([
|
|
|
3315
3251
|
"passes",
|
|
3316
3252
|
"user-rated"
|
|
3317
3253
|
]);
|
|
3318
|
-
|
|
3319
3254
|
//#endregion
|
|
3320
|
-
Object.defineProperty(exports,
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
});
|
|
3326
|
-
Object.defineProperty(exports,
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
});
|
|
3332
|
-
Object.defineProperty(exports,
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
});
|
|
3338
|
-
Object.defineProperty(exports,
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
});
|
|
3344
|
-
Object.defineProperty(exports,
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
});
|
|
3350
|
-
Object.defineProperty(exports,
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
});
|
|
3356
|
-
Object.defineProperty(exports,
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
});
|
|
3362
|
-
Object.defineProperty(exports,
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
});
|
|
3368
|
-
Object.defineProperty(exports,
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
});
|
|
3374
|
-
Object.defineProperty(exports,
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
});
|
|
3380
|
-
Object.defineProperty(exports,
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
});
|
|
3386
|
-
Object.defineProperty(exports,
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
});
|
|
3392
|
-
Object.defineProperty(exports,
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
});
|
|
3398
|
-
Object.defineProperty(exports,
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
});
|
|
3404
|
-
Object.defineProperty(exports,
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
});
|
|
3410
|
-
Object.defineProperty(exports,
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
});
|
|
3416
|
-
Object.defineProperty(exports,
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
});
|
|
3422
|
-
Object.defineProperty(exports,
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
});
|
|
3428
|
-
Object.defineProperty(exports,
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
});
|
|
3434
|
-
Object.defineProperty(exports,
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
});
|
|
3440
|
-
Object.defineProperty(exports,
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
});
|
|
3446
|
-
Object.defineProperty(exports,
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
});
|
|
3452
|
-
Object.defineProperty(exports,
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
});
|
|
3458
|
-
Object.defineProperty(exports,
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
});
|
|
3464
|
-
Object.defineProperty(exports,
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
});
|
|
3470
|
-
Object.defineProperty(exports,
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
});
|
|
3476
|
-
Object.defineProperty(exports,
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
});
|
|
3482
|
-
Object.defineProperty(exports,
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
});
|
|
3488
|
-
Object.defineProperty(exports,
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
});
|
|
3494
|
-
Object.defineProperty(exports,
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
});
|
|
3500
|
-
Object.defineProperty(exports,
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
});
|
|
3506
|
-
Object.defineProperty(exports,
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
});
|
|
3512
|
-
Object.defineProperty(exports,
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
});
|
|
3518
|
-
Object.defineProperty(exports,
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
});
|
|
3524
|
-
Object.defineProperty(exports,
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
});
|
|
3530
|
-
Object.defineProperty(exports,
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
});
|
|
3536
|
-
Object.defineProperty(exports,
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
});
|
|
3542
|
-
Object.defineProperty(exports,
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
});
|
|
3548
|
-
Object.defineProperty(exports,
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
});
|
|
3554
|
-
Object.defineProperty(exports,
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
});
|
|
3560
|
-
Object.defineProperty(exports,
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
});
|
|
3566
|
-
Object.defineProperty(exports,
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
});
|
|
3572
|
-
Object.defineProperty(exports,
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
});
|
|
3578
|
-
Object.defineProperty(exports,
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
});
|
|
3584
|
-
Object.defineProperty(exports,
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
});
|
|
3590
|
-
Object.defineProperty(exports,
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
});
|
|
3596
|
-
Object.defineProperty(exports,
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
});
|
|
3602
|
-
Object.defineProperty(exports,
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
});
|
|
3608
|
-
Object.defineProperty(exports,
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
});
|
|
3614
|
-
Object.defineProperty(exports,
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
});
|
|
3620
|
-
Object.defineProperty(exports,
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
});
|
|
3626
|
-
Object.defineProperty(exports,
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
});
|
|
3632
|
-
Object.defineProperty(exports,
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
});
|
|
3638
|
-
Object.defineProperty(exports,
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
});
|
|
3644
|
-
Object.defineProperty(exports,
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
});
|
|
3650
|
-
Object.defineProperty(exports,
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
});
|
|
3656
|
-
Object.defineProperty(exports,
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
});
|
|
3662
|
-
Object.defineProperty(exports,
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
});
|
|
3668
|
-
Object.defineProperty(exports,
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
});
|
|
3674
|
-
Object.defineProperty(exports,
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
});
|
|
3680
|
-
Object.defineProperty(exports,
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
});
|
|
3686
|
-
Object.defineProperty(exports,
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
});
|
|
3692
|
-
Object.defineProperty(exports,
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
});
|
|
3698
|
-
Object.defineProperty(exports,
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
});
|
|
3704
|
-
Object.defineProperty(exports,
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
});
|
|
3710
|
-
Object.defineProperty(exports,
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
});
|
|
3716
|
-
Object.defineProperty(exports,
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
});
|
|
3722
|
-
Object.defineProperty(exports,
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
});
|
|
3728
|
-
Object.defineProperty(exports,
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
});
|
|
3734
|
-
Object.defineProperty(exports,
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
});
|
|
3740
|
-
Object.defineProperty(exports,
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
});
|
|
3746
|
-
Object.defineProperty(exports,
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
});
|
|
3752
|
-
Object.defineProperty(exports,
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
});
|
|
3758
|
-
Object.defineProperty(exports,
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
});
|
|
3764
|
-
Object.defineProperty(exports,
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
});
|
|
3770
|
-
Object.defineProperty(exports,
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
});
|
|
3776
|
-
Object.defineProperty(exports,
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
});
|
|
3782
|
-
Object.defineProperty(exports,
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
});
|
|
3788
|
-
Object.defineProperty(exports,
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
});
|
|
3794
|
-
|
|
3255
|
+
Object.defineProperty(exports, "AGENTIC_STRATEGIES", {
|
|
3256
|
+
enumerable: true,
|
|
3257
|
+
get: function() {
|
|
3258
|
+
return AGENTIC_STRATEGIES;
|
|
3259
|
+
}
|
|
3260
|
+
});
|
|
3261
|
+
Object.defineProperty(exports, "ALIASED_PLUGIN_MAPPINGS", {
|
|
3262
|
+
enumerable: true,
|
|
3263
|
+
get: function() {
|
|
3264
|
+
return ALIASED_PLUGIN_MAPPINGS;
|
|
3265
|
+
}
|
|
3266
|
+
});
|
|
3267
|
+
Object.defineProperty(exports, "AssertionOrSetSchema", {
|
|
3268
|
+
enumerable: true,
|
|
3269
|
+
get: function() {
|
|
3270
|
+
return AssertionOrSetSchema;
|
|
3271
|
+
}
|
|
3272
|
+
});
|
|
3273
|
+
Object.defineProperty(exports, "AssertionSchema", {
|
|
3274
|
+
enumerable: true,
|
|
3275
|
+
get: function() {
|
|
3276
|
+
return AssertionSchema;
|
|
3277
|
+
}
|
|
3278
|
+
});
|
|
3279
|
+
Object.defineProperty(exports, "AssertionSetSchema", {
|
|
3280
|
+
enumerable: true,
|
|
3281
|
+
get: function() {
|
|
3282
|
+
return AssertionSetSchema;
|
|
3283
|
+
}
|
|
3284
|
+
});
|
|
3285
|
+
Object.defineProperty(exports, "AssertionTypeSchema", {
|
|
3286
|
+
enumerable: true,
|
|
3287
|
+
get: function() {
|
|
3288
|
+
return AssertionTypeSchema;
|
|
3289
|
+
}
|
|
3290
|
+
});
|
|
3291
|
+
Object.defineProperty(exports, "AtomicTestCaseSchema", {
|
|
3292
|
+
enumerable: true,
|
|
3293
|
+
get: function() {
|
|
3294
|
+
return AtomicTestCaseSchema;
|
|
3295
|
+
}
|
|
3296
|
+
});
|
|
3297
|
+
Object.defineProperty(exports, "BIAS_PLUGINS", {
|
|
3298
|
+
enumerable: true,
|
|
3299
|
+
get: function() {
|
|
3300
|
+
return BIAS_PLUGINS;
|
|
3301
|
+
}
|
|
3302
|
+
});
|
|
3303
|
+
Object.defineProperty(exports, "BaseAssertionTypesSchema", {
|
|
3304
|
+
enumerable: true,
|
|
3305
|
+
get: function() {
|
|
3306
|
+
return BaseAssertionTypesSchema;
|
|
3307
|
+
}
|
|
3308
|
+
});
|
|
3309
|
+
Object.defineProperty(exports, "BaseTokenUsageSchema", {
|
|
3310
|
+
enumerable: true,
|
|
3311
|
+
get: function() {
|
|
3312
|
+
return BaseTokenUsageSchema;
|
|
3313
|
+
}
|
|
3314
|
+
});
|
|
3315
|
+
Object.defineProperty(exports, "CommandLineOptionsSchema", {
|
|
3316
|
+
enumerable: true,
|
|
3317
|
+
get: function() {
|
|
3318
|
+
return CommandLineOptionsSchema;
|
|
3319
|
+
}
|
|
3320
|
+
});
|
|
3321
|
+
Object.defineProperty(exports, "CompletedPromptSchema", {
|
|
3322
|
+
enumerable: true,
|
|
3323
|
+
get: function() {
|
|
3324
|
+
return CompletedPromptSchema;
|
|
3325
|
+
}
|
|
3326
|
+
});
|
|
3327
|
+
Object.defineProperty(exports, "CompletionTokenDetailsSchema", {
|
|
3328
|
+
enumerable: true,
|
|
3329
|
+
get: function() {
|
|
3330
|
+
return CompletionTokenDetailsSchema;
|
|
3331
|
+
}
|
|
3332
|
+
});
|
|
3333
|
+
Object.defineProperty(exports, "ConversationMessageSchema", {
|
|
3334
|
+
enumerable: true,
|
|
3335
|
+
get: function() {
|
|
3336
|
+
return ConversationMessageSchema;
|
|
3337
|
+
}
|
|
3338
|
+
});
|
|
3339
|
+
Object.defineProperty(exports, "DATASET_EXEMPT_PLUGINS", {
|
|
3340
|
+
enumerable: true,
|
|
3341
|
+
get: function() {
|
|
3342
|
+
return DATASET_EXEMPT_PLUGINS;
|
|
3343
|
+
}
|
|
3344
|
+
});
|
|
3345
|
+
Object.defineProperty(exports, "DATASET_PLUGINS", {
|
|
3346
|
+
enumerable: true,
|
|
3347
|
+
get: function() {
|
|
3348
|
+
return DATASET_PLUGINS;
|
|
3349
|
+
}
|
|
3350
|
+
});
|
|
3351
|
+
Object.defineProperty(exports, "DEFAULT_PLUGINS", {
|
|
3352
|
+
enumerable: true,
|
|
3353
|
+
get: function() {
|
|
3354
|
+
return DEFAULT_PLUGINS;
|
|
3355
|
+
}
|
|
3356
|
+
});
|
|
3357
|
+
Object.defineProperty(exports, "DEFAULT_STRATEGIES", {
|
|
3358
|
+
enumerable: true,
|
|
3359
|
+
get: function() {
|
|
3360
|
+
return DEFAULT_STRATEGIES;
|
|
3361
|
+
}
|
|
3362
|
+
});
|
|
3363
|
+
Object.defineProperty(exports, "DerivedMetricSchema", {
|
|
3364
|
+
enumerable: true,
|
|
3365
|
+
get: function() {
|
|
3366
|
+
return DerivedMetricSchema;
|
|
3367
|
+
}
|
|
3368
|
+
});
|
|
3369
|
+
Object.defineProperty(exports, "EvalResultsFilterMode", {
|
|
3370
|
+
enumerable: true,
|
|
3371
|
+
get: function() {
|
|
3372
|
+
return EvalResultsFilterMode;
|
|
3373
|
+
}
|
|
3374
|
+
});
|
|
3375
|
+
Object.defineProperty(exports, "EvaluateOptionsSchema", {
|
|
3376
|
+
enumerable: true,
|
|
3377
|
+
get: function() {
|
|
3378
|
+
return EvaluateOptionsSchema;
|
|
3379
|
+
}
|
|
3380
|
+
});
|
|
3381
|
+
Object.defineProperty(exports, "FINANCIAL_PLUGINS", {
|
|
3382
|
+
enumerable: true,
|
|
3383
|
+
get: function() {
|
|
3384
|
+
return FINANCIAL_PLUGINS;
|
|
3385
|
+
}
|
|
3386
|
+
});
|
|
3387
|
+
Object.defineProperty(exports, "FOUNDATION_PLUGINS", {
|
|
3388
|
+
enumerable: true,
|
|
3389
|
+
get: function() {
|
|
3390
|
+
return FOUNDATION_PLUGINS;
|
|
3391
|
+
}
|
|
3392
|
+
});
|
|
3393
|
+
Object.defineProperty(exports, "GradingConfigSchema", {
|
|
3394
|
+
enumerable: true,
|
|
3395
|
+
get: function() {
|
|
3396
|
+
return GradingConfigSchema;
|
|
3397
|
+
}
|
|
3398
|
+
});
|
|
3399
|
+
Object.defineProperty(exports, "HARM_PLUGINS", {
|
|
3400
|
+
enumerable: true,
|
|
3401
|
+
get: function() {
|
|
3402
|
+
return HARM_PLUGINS;
|
|
3403
|
+
}
|
|
3404
|
+
});
|
|
3405
|
+
Object.defineProperty(exports, "INSURANCE_PLUGINS", {
|
|
3406
|
+
enumerable: true,
|
|
3407
|
+
get: function() {
|
|
3408
|
+
return INSURANCE_PLUGINS;
|
|
3409
|
+
}
|
|
3410
|
+
});
|
|
3411
|
+
Object.defineProperty(exports, "InputsSchema", {
|
|
3412
|
+
enumerable: true,
|
|
3413
|
+
get: function() {
|
|
3414
|
+
return InputsSchema;
|
|
3415
|
+
}
|
|
3416
|
+
});
|
|
3417
|
+
Object.defineProperty(exports, "LLAMA_GUARD_ENABLED_CATEGORIES", {
|
|
3418
|
+
enumerable: true,
|
|
3419
|
+
get: function() {
|
|
3420
|
+
return LLAMA_GUARD_ENABLED_CATEGORIES;
|
|
3421
|
+
}
|
|
3422
|
+
});
|
|
3423
|
+
Object.defineProperty(exports, "LLAMA_GUARD_REPLICATE_PROVIDER", {
|
|
3424
|
+
enumerable: true,
|
|
3425
|
+
get: function() {
|
|
3426
|
+
return LLAMA_GUARD_REPLICATE_PROVIDER;
|
|
3427
|
+
}
|
|
3428
|
+
});
|
|
3429
|
+
Object.defineProperty(exports, "MEDICAL_PLUGINS", {
|
|
3430
|
+
enumerable: true,
|
|
3431
|
+
get: function() {
|
|
3432
|
+
return MEDICAL_PLUGINS;
|
|
3433
|
+
}
|
|
3434
|
+
});
|
|
3435
|
+
Object.defineProperty(exports, "MULTI_INPUT_EXCLUDED_PLUGINS", {
|
|
3436
|
+
enumerable: true,
|
|
3437
|
+
get: function() {
|
|
3438
|
+
return MULTI_INPUT_EXCLUDED_PLUGINS;
|
|
3439
|
+
}
|
|
3440
|
+
});
|
|
3441
|
+
Object.defineProperty(exports, "MULTI_INPUT_VAR", {
|
|
3442
|
+
enumerable: true,
|
|
3443
|
+
get: function() {
|
|
3444
|
+
return MULTI_INPUT_VAR;
|
|
3445
|
+
}
|
|
3446
|
+
});
|
|
3447
|
+
Object.defineProperty(exports, "MULTI_TURN_STRATEGIES", {
|
|
3448
|
+
enumerable: true,
|
|
3449
|
+
get: function() {
|
|
3450
|
+
return MULTI_TURN_STRATEGIES;
|
|
3451
|
+
}
|
|
3452
|
+
});
|
|
3453
|
+
Object.defineProperty(exports, "NotPrefixedAssertionTypesSchema", {
|
|
3454
|
+
enumerable: true,
|
|
3455
|
+
get: function() {
|
|
3456
|
+
return NotPrefixedAssertionTypesSchema;
|
|
3457
|
+
}
|
|
3458
|
+
});
|
|
3459
|
+
Object.defineProperty(exports, "OutputConfigSchema", {
|
|
3460
|
+
enumerable: true,
|
|
3461
|
+
get: function() {
|
|
3462
|
+
return OutputConfigSchema;
|
|
3463
|
+
}
|
|
3464
|
+
});
|
|
3465
|
+
Object.defineProperty(exports, "OutputFileExtension", {
|
|
3466
|
+
enumerable: true,
|
|
3467
|
+
get: function() {
|
|
3468
|
+
return OutputFileExtension;
|
|
3469
|
+
}
|
|
3470
|
+
});
|
|
3471
|
+
Object.defineProperty(exports, "PHARMACY_PLUGINS", {
|
|
3472
|
+
enumerable: true,
|
|
3473
|
+
get: function() {
|
|
3474
|
+
return PHARMACY_PLUGINS;
|
|
3475
|
+
}
|
|
3476
|
+
});
|
|
3477
|
+
Object.defineProperty(exports, "PII_PLUGINS", {
|
|
3478
|
+
enumerable: true,
|
|
3479
|
+
get: function() {
|
|
3480
|
+
return PII_PLUGINS;
|
|
3481
|
+
}
|
|
3482
|
+
});
|
|
3483
|
+
Object.defineProperty(exports, "PLUGIN_CATEGORIES", {
|
|
3484
|
+
enumerable: true,
|
|
3485
|
+
get: function() {
|
|
3486
|
+
return PLUGIN_CATEGORIES;
|
|
3487
|
+
}
|
|
3488
|
+
});
|
|
3489
|
+
Object.defineProperty(exports, "PartialGenerationError", {
|
|
3490
|
+
enumerable: true,
|
|
3491
|
+
get: function() {
|
|
3492
|
+
return PartialGenerationError;
|
|
3493
|
+
}
|
|
3494
|
+
});
|
|
3495
|
+
Object.defineProperty(exports, "PluginConfigSchema", {
|
|
3496
|
+
enumerable: true,
|
|
3497
|
+
get: function() {
|
|
3498
|
+
return PluginConfigSchema;
|
|
3499
|
+
}
|
|
3500
|
+
});
|
|
3501
|
+
Object.defineProperty(exports, "PolicyObjectSchema", {
|
|
3502
|
+
enumerable: true,
|
|
3503
|
+
get: function() {
|
|
3504
|
+
return PolicyObjectSchema;
|
|
3505
|
+
}
|
|
3506
|
+
});
|
|
3507
|
+
Object.defineProperty(exports, "PromptSchema", {
|
|
3508
|
+
enumerable: true,
|
|
3509
|
+
get: function() {
|
|
3510
|
+
return PromptSchema;
|
|
3511
|
+
}
|
|
3512
|
+
});
|
|
3513
|
+
Object.defineProperty(exports, "ProviderOptionsSchema", {
|
|
3514
|
+
enumerable: true,
|
|
3515
|
+
get: function() {
|
|
3516
|
+
return ProviderOptionsSchema;
|
|
3517
|
+
}
|
|
3518
|
+
});
|
|
3519
|
+
Object.defineProperty(exports, "ProvidersSchema", {
|
|
3520
|
+
enumerable: true,
|
|
3521
|
+
get: function() {
|
|
3522
|
+
return ProvidersSchema;
|
|
3523
|
+
}
|
|
3524
|
+
});
|
|
3525
|
+
Object.defineProperty(exports, "REDTEAM_PROVIDER_HARM_PLUGINS", {
|
|
3526
|
+
enumerable: true,
|
|
3527
|
+
get: function() {
|
|
3528
|
+
return REDTEAM_PROVIDER_HARM_PLUGINS;
|
|
3529
|
+
}
|
|
3530
|
+
});
|
|
3531
|
+
Object.defineProperty(exports, "REMOTE_ONLY_PLUGIN_IDS", {
|
|
3532
|
+
enumerable: true,
|
|
3533
|
+
get: function() {
|
|
3534
|
+
return REMOTE_ONLY_PLUGIN_IDS;
|
|
3535
|
+
}
|
|
3536
|
+
});
|
|
3537
|
+
Object.defineProperty(exports, "RedteamConfigSchema", {
|
|
3538
|
+
enumerable: true,
|
|
3539
|
+
get: function() {
|
|
3540
|
+
return RedteamConfigSchema;
|
|
3541
|
+
}
|
|
3542
|
+
});
|
|
3543
|
+
Object.defineProperty(exports, "ResultFailureReason", {
|
|
3544
|
+
enumerable: true,
|
|
3545
|
+
get: function() {
|
|
3546
|
+
return ResultFailureReason;
|
|
3547
|
+
}
|
|
3548
|
+
});
|
|
3549
|
+
Object.defineProperty(exports, "STRATEGY_COLLECTIONS", {
|
|
3550
|
+
enumerable: true,
|
|
3551
|
+
get: function() {
|
|
3552
|
+
return STRATEGY_COLLECTIONS;
|
|
3553
|
+
}
|
|
3554
|
+
});
|
|
3555
|
+
Object.defineProperty(exports, "STRATEGY_COLLECTION_MAPPINGS", {
|
|
3556
|
+
enumerable: true,
|
|
3557
|
+
get: function() {
|
|
3558
|
+
return STRATEGY_COLLECTION_MAPPINGS;
|
|
3559
|
+
}
|
|
3560
|
+
});
|
|
3561
|
+
Object.defineProperty(exports, "STRATEGY_EXEMPT_PLUGINS", {
|
|
3562
|
+
enumerable: true,
|
|
3563
|
+
get: function() {
|
|
3564
|
+
return STRATEGY_EXEMPT_PLUGINS;
|
|
3565
|
+
}
|
|
3566
|
+
});
|
|
3567
|
+
Object.defineProperty(exports, "ScenarioSchema", {
|
|
3568
|
+
enumerable: true,
|
|
3569
|
+
get: function() {
|
|
3570
|
+
return ScenarioSchema;
|
|
3571
|
+
}
|
|
3572
|
+
});
|
|
3573
|
+
Object.defineProperty(exports, "Severity", {
|
|
3574
|
+
enumerable: true,
|
|
3575
|
+
get: function() {
|
|
3576
|
+
return Severity;
|
|
3577
|
+
}
|
|
3578
|
+
});
|
|
3579
|
+
Object.defineProperty(exports, "SpecialAssertionTypesSchema", {
|
|
3580
|
+
enumerable: true,
|
|
3581
|
+
get: function() {
|
|
3582
|
+
return SpecialAssertionTypesSchema;
|
|
3583
|
+
}
|
|
3584
|
+
});
|
|
3585
|
+
Object.defineProperty(exports, "StrategyConfigSchema", {
|
|
3586
|
+
enumerable: true,
|
|
3587
|
+
get: function() {
|
|
3588
|
+
return StrategyConfigSchema;
|
|
3589
|
+
}
|
|
3590
|
+
});
|
|
3591
|
+
Object.defineProperty(exports, "TELECOM_PLUGINS", {
|
|
3592
|
+
enumerable: true,
|
|
3593
|
+
get: function() {
|
|
3594
|
+
return TELECOM_PLUGINS;
|
|
3595
|
+
}
|
|
3596
|
+
});
|
|
3597
|
+
Object.defineProperty(exports, "TestCaseSchema", {
|
|
3598
|
+
enumerable: true,
|
|
3599
|
+
get: function() {
|
|
3600
|
+
return TestCaseSchema;
|
|
3601
|
+
}
|
|
3602
|
+
});
|
|
3603
|
+
Object.defineProperty(exports, "TestCaseWithVarsFileSchema", {
|
|
3604
|
+
enumerable: true,
|
|
3605
|
+
get: function() {
|
|
3606
|
+
return TestCaseWithVarsFileSchema;
|
|
3607
|
+
}
|
|
3608
|
+
});
|
|
3609
|
+
Object.defineProperty(exports, "TestCasesWithMetadataPromptSchema", {
|
|
3610
|
+
enumerable: true,
|
|
3611
|
+
get: function() {
|
|
3612
|
+
return TestCasesWithMetadataPromptSchema;
|
|
3613
|
+
}
|
|
3614
|
+
});
|
|
3615
|
+
Object.defineProperty(exports, "TestCasesWithMetadataSchema", {
|
|
3616
|
+
enumerable: true,
|
|
3617
|
+
get: function() {
|
|
3618
|
+
return TestCasesWithMetadataSchema;
|
|
3619
|
+
}
|
|
3620
|
+
});
|
|
3621
|
+
Object.defineProperty(exports, "TestGeneratorConfigSchema", {
|
|
3622
|
+
enumerable: true,
|
|
3623
|
+
get: function() {
|
|
3624
|
+
return TestGeneratorConfigSchema;
|
|
3625
|
+
}
|
|
3626
|
+
});
|
|
3627
|
+
Object.defineProperty(exports, "TestSuiteConfigSchema", {
|
|
3628
|
+
enumerable: true,
|
|
3629
|
+
get: function() {
|
|
3630
|
+
return TestSuiteConfigSchema;
|
|
3631
|
+
}
|
|
3632
|
+
});
|
|
3633
|
+
Object.defineProperty(exports, "TestSuiteSchema", {
|
|
3634
|
+
enumerable: true,
|
|
3635
|
+
get: function() {
|
|
3636
|
+
return TestSuiteSchema;
|
|
3637
|
+
}
|
|
3638
|
+
});
|
|
3639
|
+
Object.defineProperty(exports, "UNALIGNED_PROVIDER_HARM_PLUGINS", {
|
|
3640
|
+
enumerable: true,
|
|
3641
|
+
get: function() {
|
|
3642
|
+
return UNALIGNED_PROVIDER_HARM_PLUGINS;
|
|
3643
|
+
}
|
|
3644
|
+
});
|
|
3645
|
+
Object.defineProperty(exports, "UnifiedConfigSchema", {
|
|
3646
|
+
enumerable: true,
|
|
3647
|
+
get: function() {
|
|
3648
|
+
return UnifiedConfigSchema;
|
|
3649
|
+
}
|
|
3650
|
+
});
|
|
3651
|
+
Object.defineProperty(exports, "VarsSchema", {
|
|
3652
|
+
enumerable: true,
|
|
3653
|
+
get: function() {
|
|
3654
|
+
return VarsSchema;
|
|
3655
|
+
}
|
|
3656
|
+
});
|
|
3657
|
+
Object.defineProperty(exports, "categoryAliases", {
|
|
3658
|
+
enumerable: true,
|
|
3659
|
+
get: function() {
|
|
3660
|
+
return categoryAliases;
|
|
3661
|
+
}
|
|
3662
|
+
});
|
|
3663
|
+
Object.defineProperty(exports, "getDefaultNFanout", {
|
|
3664
|
+
enumerable: true,
|
|
3665
|
+
get: function() {
|
|
3666
|
+
return getDefaultNFanout;
|
|
3667
|
+
}
|
|
3668
|
+
});
|
|
3669
|
+
Object.defineProperty(exports, "isApiProvider", {
|
|
3670
|
+
enumerable: true,
|
|
3671
|
+
get: function() {
|
|
3672
|
+
return isApiProvider;
|
|
3673
|
+
}
|
|
3674
|
+
});
|
|
3675
|
+
Object.defineProperty(exports, "isCustomStrategy", {
|
|
3676
|
+
enumerable: true,
|
|
3677
|
+
get: function() {
|
|
3678
|
+
return isCustomStrategy;
|
|
3679
|
+
}
|
|
3680
|
+
});
|
|
3681
|
+
Object.defineProperty(exports, "isFanoutStrategy", {
|
|
3682
|
+
enumerable: true,
|
|
3683
|
+
get: function() {
|
|
3684
|
+
return isFanoutStrategy;
|
|
3685
|
+
}
|
|
3686
|
+
});
|
|
3687
|
+
Object.defineProperty(exports, "isGradingResult", {
|
|
3688
|
+
enumerable: true,
|
|
3689
|
+
get: function() {
|
|
3690
|
+
return isGradingResult;
|
|
3691
|
+
}
|
|
3692
|
+
});
|
|
3693
|
+
Object.defineProperty(exports, "isProviderOptions", {
|
|
3694
|
+
enumerable: true,
|
|
3695
|
+
get: function() {
|
|
3696
|
+
return isProviderOptions;
|
|
3697
|
+
}
|
|
3698
|
+
});
|
|
3699
|
+
Object.defineProperty(exports, "isResultFailureReason", {
|
|
3700
|
+
enumerable: true,
|
|
3701
|
+
get: function() {
|
|
3702
|
+
return isResultFailureReason;
|
|
3703
|
+
}
|
|
3704
|
+
});
|
|
3705
|
+
Object.defineProperty(exports, "isUuid", {
|
|
3706
|
+
enumerable: true,
|
|
3707
|
+
get: function() {
|
|
3708
|
+
return isUuid;
|
|
3709
|
+
}
|
|
3710
|
+
});
|
|
3711
|
+
Object.defineProperty(exports, "isValidReusablePolicyId", {
|
|
3712
|
+
enumerable: true,
|
|
3713
|
+
get: function() {
|
|
3714
|
+
return isValidReusablePolicyId;
|
|
3715
|
+
}
|
|
3716
|
+
});
|
|
3717
|
+
Object.defineProperty(exports, "pluginDescriptions", {
|
|
3718
|
+
enumerable: true,
|
|
3719
|
+
get: function() {
|
|
3720
|
+
return pluginDescriptions;
|
|
3721
|
+
}
|
|
3722
|
+
});
|
|
3723
|
+
Object.defineProperty(exports, "riskCategorySeverityMap", {
|
|
3724
|
+
enumerable: true,
|
|
3725
|
+
get: function() {
|
|
3726
|
+
return riskCategorySeverityMap;
|
|
3727
|
+
}
|
|
3728
|
+
});
|
|
3729
|
+
|
|
3730
|
+
//# sourceMappingURL=types-LJ0r3wbR.cjs.map
|