promptfoo 0.121.3 → 0.121.5
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-Du7YVwj5.js → ListApp-BRUsT43Y.js} +1 -1
- package/dist/src/{accounts-BPyfpSeU.cjs → accounts-BIFntVWB.cjs} +5 -5
- package/dist/src/{accounts-CFLK3mnD.js → accounts-CLJHCDDb.js} +6 -6
- package/dist/src/{accounts-B2XmGjty.js → accounts-CaLNYnf7.js} +5 -5
- package/dist/src/{accounts-Xatc0RYb.js → accounts-bnyHT7Ju.js} +5 -5
- package/dist/src/{agentic-utils-36epdqwB.js → agentic-utils-B5krlibj.js} +3 -3
- package/dist/src/{agentic-utils-DIYAAYE7.js → agentic-utils-Ba67xmgs.js} +3 -3
- package/dist/src/{agentic-utils-D8yXo5Lm.js → agentic-utils-BclbiXiq.js} +4 -4
- package/dist/src/{agentic-utils-DAVsChuB.cjs → agentic-utils-D2x0wGhB.cjs} +3 -3
- package/dist/src/{agents-CLQ-P15P.js → agents-BGqaTDnr.js} +5 -7
- package/dist/src/{agents-wg3ohknq.js → agents-BV9yFpXX.js} +6 -7
- package/dist/src/{agents-CgBniSlI.js → agents-BYdMl1UE.js} +5 -9
- package/dist/src/{agents-Bqgfdokm.js → agents-DhxWMCtH.js} +35 -14
- package/dist/src/{agents-BBWxKSM0.cjs → agents-DiWmQYH9.cjs} +5 -7
- package/dist/src/{agents-CAYbM7qD.cjs → agents-WULPVjbH.cjs} +34 -12
- package/dist/src/{agents-DSSTV4bv.js → agents-emVcx3yh.js} +35 -13
- package/dist/src/{agents-BBVJCIYr.js → agents-n6vPqV3i.js} +35 -13
- package/dist/src/{aimlapi-BwGC1TtS.js → aimlapi-BxqK9HF_.js} +8 -14
- package/dist/src/{aimlapi-Bv8Fmc-b.cjs → aimlapi-BzLjZI_m.cjs} +8 -15
- package/dist/src/{aimlapi-MgSLdvy7.js → aimlapi-DR4pgeiC.js} +7 -14
- package/dist/src/{aimlapi-DaC3qZ-o.js → aimlapi-uPGp0Zdo.js} +7 -16
- package/dist/src/app/app/tsconfig.app.tsbuildinfo +1 -0
- package/dist/src/app/assets/Report-vjzrbgce.js +1 -0
- package/dist/src/app/assets/index-B3NQ8HTd.js +385 -0
- package/dist/src/app/assets/index-Cli2yAXv.css +1 -0
- package/dist/src/app/assets/rolldown-runtime-COnpUsM8.js +1 -0
- package/dist/src/app/assets/scroll-timeline-D9IT_e8Z.js +1 -0
- package/dist/src/app/assets/sync-IjzpWrOE.js +4 -0
- package/dist/src/app/assets/vendor-charts-BNdH8TCw.js +36 -0
- package/dist/src/app/assets/vendor-markdown-Ch00wnNI.js +29 -0
- package/dist/src/app/assets/vendor-react-CVvmk1UB.js +9 -0
- package/dist/src/app/assets/vendor-utils-BnEYbx2Q.js +37 -0
- package/dist/src/app/index.html +32 -7
- package/dist/src/{audio-Bn44pQxv.js → audio-BvpTOArF.js} +4 -4
- package/dist/src/{audio-DVFjQ67_.cjs → audio-C0vDeS0j.cjs} +4 -4
- package/dist/src/{audio-DjU9GswO.js → audio-CScmnmEB.js} +4 -5
- package/dist/src/{audio-DDA5WHdx.js → audio-Da8U9IS5.js} +4 -4
- package/dist/src/{base-CKjwebIH.js → base-BOMaNEes.js} +3 -3
- package/dist/src/{base-CqzQ4K8j.js → base-BTux96b1.js} +3 -3
- package/dist/src/{base-BboXIF_0.cjs → base-Tw6uhH8K.cjs} +3 -3
- package/dist/src/{base-Cz2ZC_iA.js → base-dYsl2hmL.js} +3 -3
- package/dist/src/{blobs-C6j0bvFz.cjs → blobs-B95F_7vE.cjs} +3 -3
- package/dist/src/{blobs-DXTl6J3H.js → blobs-BW4U31ue.js} +3 -3
- package/dist/src/{blobs-BUWmKWzo.js → blobs-D_gg8nbm.js} +4 -4
- package/dist/src/{blobs-B1JriOyi.js → blobs-DjLby-uP.js} +4 -4
- package/dist/src/cache-BI5BY7ey.js +280 -0
- package/dist/src/cache-BRkhlH3k.cjs +3 -0
- package/dist/src/cache-BlC6aeJ0.js +3 -0
- package/dist/src/cache-Bzttsk0X.js +310 -0
- package/dist/src/cache-Cr-qWIbP.js +310 -0
- package/dist/src/cache-DGg-yTZG.cjs +376 -0
- package/dist/src/{chat-BEwdgGEg.js → chat-BLOdH60v.js} +63 -37
- package/dist/src/{chat-B0iaWhoh.js → chat-Cx_LkwvZ.js} +63 -37
- package/dist/src/{chat-DK1U-eZ-.js → chat-D9nudO9b.js} +5 -14
- package/dist/src/{chat-pxmiVpWe.js → chat-DChSH_Es.js} +63 -37
- package/dist/src/{chat-B-52XYI1.js → chat-DG2LkwLq.js} +3 -13
- package/dist/src/{chat-BtIKkLKx.cjs → chat-DH97tVV9.cjs} +3 -13
- package/dist/src/{chat-BE0qTA8e.js → chat-aMQZw6R7.js} +4 -16
- package/dist/src/{chat-CM8qWR3_.cjs → chat-vYqqv1gP.cjs} +64 -38
- package/dist/src/{chatkit-_8eJqKcD.js → chatkit-B8X34dQc.js} +4 -4
- package/dist/src/{chatkit-BYGQlHlV.js → chatkit-BXu42Qwt.js} +4 -4
- package/dist/src/{chatkit-a2D6mY6s.js → chatkit-CbMRoeYw.js} +4 -4
- package/dist/src/{chatkit-Cx174XI3.cjs → chatkit-D44VyUyB.cjs} +4 -4
- package/dist/src/{claude-agent-sdk-8ddRp1L2.cjs → claude-agent-sdk-BRq0bbIK.cjs} +23 -18
- package/dist/src/{claude-agent-sdk-CMjh4LFH.js → claude-agent-sdk-BjriSVRZ.js} +20 -15
- package/dist/src/{claude-agent-sdk-HgbFioFw.js → claude-agent-sdk-BzNZeZ0N.js} +20 -15
- package/dist/src/{claude-agent-sdk-Bq5EArsX.js → claude-agent-sdk-DYv_AJ8u.js} +21 -17
- package/dist/src/cloud-CoD5OacT.js +3 -0
- package/dist/src/{cloud-z8KZpUoa.js → cloud-Da0bofJd.js} +25 -13
- package/dist/src/{cloudflare-ai-Bbp26N0L.js → cloudflare-ai-CXC4b1EU.js} +5 -14
- package/dist/src/{cloudflare-ai-BGyXlpXJ.js → cloudflare-ai-CyBoIs1Q.js} +7 -15
- package/dist/src/{cloudflare-ai-DdKP9TKT.js → cloudflare-ai-DGOwgexC.js} +6 -17
- package/dist/src/{cloudflare-ai-C62x6MQG.cjs → cloudflare-ai-DJv5qnyb.cjs} +6 -15
- package/dist/src/{cloudflare-gateway-DXhtXDRb.js → cloudflare-gateway-1sAoOyft.js} +6 -16
- package/dist/src/{cloudflare-gateway-D-e9i1Sn.js → cloudflare-gateway-D-dnkzCF.js} +5 -18
- package/dist/src/{cloudflare-gateway-Dx36ftqF.cjs → cloudflare-gateway-DKVjkDav.cjs} +4 -15
- package/dist/src/{cloudflare-gateway-BwAaUgeW.js → cloudflare-gateway-TJkVrZlB.js} +4 -15
- package/dist/src/codex-app-server-CCLjqCh9.js +1915 -0
- package/dist/src/codex-app-server-CCe0TiDc.js +1915 -0
- package/dist/src/codex-app-server-CPW1LFwh.js +1916 -0
- package/dist/src/codex-app-server-VMRnjZ68.cjs +1920 -0
- package/dist/src/codex-sdk-1jm_qPHf.js +3 -0
- package/dist/src/codex-sdk-Bd8UbO9q.cjs +1172 -0
- package/dist/src/codex-sdk-BgEFQ70r.js +1164 -0
- package/dist/src/codex-sdk-Bzb_TqX9.js +1165 -0
- package/dist/src/codex-sdk-Danroptg.cjs +2 -0
- package/dist/src/codex-sdk-DfvDTN33.js +1165 -0
- package/dist/src/{cometapi-BDyV-NNm.js → cometapi-B5ImDlSm.js} +9 -15
- package/dist/src/{cometapi-C3hOlM7-.cjs → cometapi-BgAkuYCw.cjs} +9 -16
- package/dist/src/{cometapi-hhL4TAh3.js → cometapi-CC7hWxmX.js} +8 -15
- package/dist/src/{cometapi-sp7sJpBD.js → cometapi-CCbpHkuF.js} +8 -17
- package/dist/src/{completion-DoYy49ti.js → completion-2iuYVxwi.js} +8 -57
- package/dist/src/{completion-BCimtq-h.js → completion-CrD6MQ93.js} +8 -57
- package/dist/src/{completion-DlXUhj5c.cjs → completion-DtQ72Bm3.cjs} +7 -62
- package/dist/src/{completion-DCjv7RZ3.js → completion-Vq_ad618.js} +8 -57
- package/dist/src/{createHash-CTQmL3G2.js → createHash-4gFQpDDv.js} +3 -3
- package/dist/src/{createHash-Da8fMwqB.js → createHash-DPpsZgFF.js} +3 -3
- package/dist/src/{createHash-DmPQkvBh.js → createHash-Un4Q_huE.js} +3 -3
- package/dist/src/{createHash-BYwImsYv.cjs → createHash-VvBIc-AW.cjs} +4 -4
- package/dist/src/{docker-CxCkwMzc.js → docker--3qzPa-6.js} +6 -14
- package/dist/src/{docker-Cqj2-QVi.cjs → docker-D3AY-5F5.cjs} +7 -15
- package/dist/src/{docker-FeBni2dw.js → docker-DCsCDvwM.js} +7 -14
- package/dist/src/{docker-DpguQj-w.js → docker-Dorv4_Dg.js} +6 -16
- package/dist/src/embedding-BXhN5lCH.cjs +63 -0
- package/dist/src/embedding-ChS1ivFS.js +58 -0
- package/dist/src/embedding-DNRvZwRN.js +59 -0
- package/dist/src/embedding-D_bI4NDq.js +58 -0
- package/dist/src/entrypoint.js +69 -6
- package/dist/src/{errors-P6ll7XSJ.js → errors-DFHe4L-n.js} +1 -1
- package/dist/src/{esm-SUNIX1x3.js → esm-B6whoAcf.js} +15 -6
- package/dist/src/{esm-CKWP3u_P.js → esm-BRkfNsYs.js} +16 -7
- package/dist/src/{esm-7UIl0pPM.js → esm-BX8fwlAO.js} +27 -18
- package/dist/src/{esm-CipptfDu.cjs → esm-B_rGuPTo.cjs} +15 -6
- package/dist/src/eval-BQPLBJbw.js +3 -0
- package/dist/src/{eval-BTqTn7lb.js → eval-DJ_4A-tr.js} +50 -21
- package/dist/src/evalResult-BBJAHAtw.cjs +2 -0
- package/dist/src/evalResult-BBK58h2B.js +3 -0
- package/dist/src/{evalResult-DpARzUCb.cjs → evalResult-Cx-8OWkb.cjs} +29 -11
- package/dist/src/{evalResult-DUDShQrm.js → evalResult-D6P5I5il.js} +29 -11
- package/dist/src/{evalResult-BkIhRdTe.js → evalResult-pSvGWFMo.js} +29 -11
- package/dist/src/evalResult-spPqh1G_.js +2 -0
- package/dist/src/{evaluator-BcvOGaam.js → evaluator-D-UIbbYq.js} +3975 -2152
- package/dist/src/evaluator-DgLKaZk8.js +3 -0
- package/dist/src/{extractor-D_wd8jxt.js → extractor-BM3jRERL.js} +6 -6
- package/dist/src/{extractor-DG3sSfXE.cjs → extractor-Dxr2J_wK.cjs} +6 -6
- package/dist/src/{extractor-CAZ2G3Kh.js → extractor-DxyiFhPk.js} +6 -6
- package/dist/src/{extractor-C8XwivI9.js → extractor-YlZbUMsL.js} +6 -6
- package/dist/src/fetch-8viavNv8.js +3 -0
- package/dist/src/{fetch-DoVRJZhJ.js → fetch-B6ch2nU2.js} +199 -60
- package/dist/src/{fetch-CVAtKnI3.js → fetch-D9xxyC1p.js} +404 -252
- package/dist/src/{fetch-BnR9wSnm.cjs → fetch-NuqXW1Xb.cjs} +415 -263
- package/dist/src/{fetch-BiYv2BZc.js → fetch-Y5qX_kST.js} +222 -70
- package/dist/src/{fileExtensions-LcDYkU4v.js → fileExtensions-8CjoL7vB.js} +1 -1
- package/dist/src/{fileExtensions-DnqA1y9x.js → fileExtensions-BGh-W-HT.js} +1 -1
- package/dist/src/{fileExtensions-bYh77CN8.cjs → fileExtensions-D9h-8Wxg.cjs} +1 -1
- package/dist/src/{fileExtensions-Ds-foDzt.js → fileExtensions-DysCsxNG.js} +1 -1
- package/dist/src/{formatDuration-DgBVMN65.js → formatDuration-Ch4A7G3o.js} +1 -1
- package/dist/src/{genaiTracer-BfxrvSUb.cjs → genaiTracer-BokHC-MW.cjs} +7 -3
- package/dist/src/{genaiTracer-C1rxGO8Q.js → genaiTracer-C3ZPQU60.js} +6 -2
- package/dist/src/{genaiTracer-70Z8BIuV.js → genaiTracer-CFny3gOy.js} +6 -2
- package/dist/src/{genaiTracer-D3fD9dNV.js → genaiTracer-DxODqT9e.js} +6 -2
- package/dist/src/golang/wrapper.go +1 -1
- package/dist/src/{graders-DG7mhg-b.js → graders-BoUqsCEm.js} +7402 -5699
- package/dist/src/{graders-BElhu9ZY.cjs → graders-Bw1wk_21.cjs} +5220 -3437
- package/dist/src/graders-C84JI-m5.js +2 -0
- package/dist/src/graders-CBbd0K0Q.cjs +2 -0
- package/dist/src/graders-CbQqpHSN.js +3 -0
- package/dist/src/{graders-RjHF8VfG.js → graders-CgPn32yp.js} +7400 -5697
- package/dist/src/{graders-BXAJ0sbS.js → graders-CwrbifOo.js} +6136 -4433
- package/dist/src/graders-DS42d3ZG.js +2 -0
- package/dist/src/{image-6WQXK8m8.js → image-BeWaInPF.js} +4 -4
- package/dist/src/{image-PoF6DN3x.js → image-BmilRNqO.js} +8 -8
- package/dist/src/{image--F58eEIn.cjs → image-CxJoa3aW.cjs} +8 -8
- package/dist/src/{image-fza3zuKs.cjs → image-D10dNAav.cjs} +4 -4
- package/dist/src/{image-DO0RYnjH.js → image-Dr_3I3nK.js} +4 -5
- package/dist/src/{image-B8b6f36E.js → image-DsGRlkh7.js} +8 -8
- package/dist/src/{image-CoxZp9PZ.js → image-a_SGUobh.js} +8 -8
- package/dist/src/{image-xNbw5ph2.js → image-qjO6FWPs.js} +4 -4
- package/dist/src/index.cjs +4835 -2582
- package/dist/src/index.d.cts +2782 -31
- package/dist/src/index.d.ts +2783 -32
- package/dist/src/index.js +4817 -2564
- package/dist/src/{interactiveCheck-BnMYOjMu.js → interactiveCheck-CCICw2cy.js} +2 -2
- package/dist/src/{invariant-BtWWVVhl.js → invariant-B2Rf6avk.js} +1 -1
- package/dist/src/{invariant-vgHWClmd.js → invariant-DIYf9sP1.js} +1 -1
- package/dist/src/{knowledgeBase-Bi7CmDbx.js → knowledgeBase-BBETc5-S.js} +6 -8
- package/dist/src/{knowledgeBase-DqrLX8fy.cjs → knowledgeBase-C8qOo26M.cjs} +6 -8
- package/dist/src/{knowledgeBase-DFRXPZl_.js → knowledgeBase-CzAi2rUI.js} +7 -8
- package/dist/src/{knowledgeBase-Ce3ofVan.js → knowledgeBase-Dr3Kib7F.js} +6 -10
- package/dist/src/{litellm-CKiAxnoM.js → litellm-BLSiANhk.js} +6 -14
- package/dist/src/{litellm-CnHI69aj.cjs → litellm-CaUmV7Mk.cjs} +6 -15
- package/dist/src/{litellm-Tc294Jhj.js → litellm-DQGo_juI.js} +5 -14
- package/dist/src/{litellm-Bo2gQXpo.js → litellm-DRc4qWfc.js} +5 -16
- package/dist/src/{logger-BcJBzSSA.js → logger-BbY6ypFL.js} +41 -12
- package/dist/src/{logger-D5iKBpu_.cjs → logger-COuQb2xB.cjs} +51 -10
- package/dist/src/{logger-DO8_zM18.js → logger-Ct2S6Yx-.js} +40 -11
- package/dist/src/{logger-BnkjG2jt.js → logger-KD8JjCRJ.js} +41 -12
- package/dist/src/{luma-ray-C9q8rdQe.js → luma-ray-B-tNZzqW.js} +6 -10
- package/dist/src/{luma-ray-DP0QA9qn.js → luma-ray-CtS3OlGq.js} +6 -10
- package/dist/src/{luma-ray-0ehMPt5N.js → luma-ray-PJJgUjOc.js} +6 -11
- package/dist/src/{luma-ray-m9Ku2meV.cjs → luma-ray-if-Ml4R9.cjs} +6 -10
- package/dist/src/main.d.ts +1 -26
- package/dist/src/main.js +1188 -679
- package/dist/src/messages-B9dSjrNf.js +544 -0
- package/dist/src/messages-BnsVHUnm.cjs +558 -0
- package/dist/src/messages-CI69Lasb.js +543 -0
- package/dist/src/messages-CewuNcNS.js +543 -0
- package/dist/src/{meteor-DLZZ3osF.cjs → meteor-BBGcGeCa.cjs} +1 -1
- package/dist/src/{meteor-DUiCJRC-.js → meteor-BKTM-7KS.js} +1 -1
- package/dist/src/{meteor-44VjEACX.js → meteor-CeGo0Lu2.js} +2 -2
- package/dist/src/{meteor-D-SotUw9.js → meteor-Wc_aUVvu.js} +2 -2
- package/dist/src/{modelslab-B5J-ZM5c.js → modelslab-BCLOtfek.js} +8 -10
- package/dist/src/{modelslab-IQbNg-r7.cjs → modelslab-BkapYJhh.cjs} +7 -10
- package/dist/src/{modelslab-BTOT8FUO.js → modelslab-D73OnKSx.js} +7 -10
- package/dist/src/{modelslab-BI458moT.js → modelslab-zpz9JcK0.js} +7 -12
- package/dist/src/{nova-reel-BZ9y-Y5s.js → nova-reel-B8F_TK5w.js} +7 -10
- package/dist/src/{nova-reel-Xw1SXLpg.js → nova-reel-Bx0NFV2f.js} +6 -10
- package/dist/src/{nova-reel-DEeQlnOJ.js → nova-reel-CNGJTLtG.js} +6 -12
- package/dist/src/{nova-reel-CE5etkv9.cjs → nova-reel-DkT7tnoB.cjs} +6 -10
- package/dist/src/{nova-sonic-Ogqf-csn.js → nova-sonic-BaXRN1cr.js} +5 -7
- package/dist/src/{nova-sonic-DXTLpi-r.js → nova-sonic-BeTRaFOh.js} +4 -7
- package/dist/src/{nova-sonic-DWswpN1E.js → nova-sonic-CL7Zqv0G.js} +4 -9
- package/dist/src/{nova-sonic-N0yCm0vb.cjs → nova-sonic-YT426juD.cjs} +4 -7
- package/dist/src/{openai-BcB5KlTk.js → openai-BMHD2Huo.js} +6 -3
- package/dist/src/{openai-BMcwgD5C.js → openai-BT-JvDse.js} +6 -3
- package/dist/src/{openai-CoxGAQwn.cjs → openai-Cy1XLs0c.cjs} +6 -3
- package/dist/src/{openai-D6wITiVn.js → openai-D4fxGvRx.js} +6 -3
- package/dist/src/openclaw-Bq7RVR3k.js +1200 -0
- package/dist/src/openclaw-DA8U4DsD.js +1201 -0
- package/dist/src/openclaw-DObVgpjC.js +1200 -0
- package/dist/src/openclaw-DUBZP3GL.cjs +1206 -0
- package/dist/src/{opencode-sdk-CHCs7dEb.js → opencode-sdk-BB40Wir1.js} +6 -8
- package/dist/src/{opencode-sdk-DDxj4QqH.js → opencode-sdk-BM1UAIv1.js} +6 -8
- package/dist/src/{opencode-sdk-WWJhnbKr.cjs → opencode-sdk-CeqiOcOU.cjs} +7 -9
- package/dist/src/{opencode-sdk-C71Z0ehR.js → opencode-sdk-ChdK7F7z.js} +6 -9
- package/dist/src/{otlpReceiver-CZL48YfC.js → otlpReceiver-C6thJRXi.js} +154 -98
- package/dist/src/{otlpReceiver-C9KlUtxh.js → otlpReceiver-CcdIikOu.js} +154 -98
- package/dist/src/{otlpReceiver-DHKqJlsz.cjs → otlpReceiver-DNSQj6bf.cjs} +154 -98
- package/dist/src/{otlpReceiver-CavGAA6k.js → otlpReceiver-UYMQx3sy.js} +154 -98
- package/dist/src/{providerRegistry-BkzVH5Ba.js → providerRegistry-1gB5vtzQ.js} +2 -2
- package/dist/src/{providerRegistry-BTDgfV5h.cjs → providerRegistry-BESeALrr.cjs} +2 -2
- package/dist/src/{providerRegistry-CUWki5mQ.js → providerRegistry-DoACwqhD.js} +2 -2
- package/dist/src/{providerRegistry-B9lh-_tx.js → providerRegistry-PMsleEzs.js} +2 -2
- package/dist/src/providers-BuyzKt7C.js +2 -0
- package/dist/src/providers-C7lNVBjX.cjs +3 -0
- package/dist/src/providers-CCE2COJi2.js +2 -0
- package/dist/src/{providers-Cn73d5sr.js → providers-CJh7iriU.js} +17180 -16823
- package/dist/src/providers-Ctcc592x.js +3 -0
- package/dist/src/{providers-DvddrgxL.js → providers-DRrerKra.js} +1052 -695
- package/dist/src/{providers-Ch6Mr0gn.js → providers-DT-GtF2t.js} +16716 -16359
- package/dist/src/{providers-CScd1wN6.cjs → providers-eDShy16E.cjs} +19893 -19506
- package/dist/src/python/persistent_wrapper.py +0 -5
- package/dist/src/{pythonUtils-Cpo0Ez1p.js → pythonUtils-C4tltmIn.js} +4 -4
- package/dist/src/{pythonUtils-dAVigVK-.cjs → pythonUtils-CoLaCwNY.cjs} +4 -4
- package/dist/src/{pythonUtils-Bzwbgpbg.js → pythonUtils-DMO68Jg7.js} +3 -3
- package/dist/src/{pythonUtils-wIqk7zAf.js → pythonUtils-DNqbnRdx.js} +3 -3
- package/dist/src/{quiverai-BeofbLVc.js → quiverai-BSS9a7wV.js} +4 -4
- package/dist/src/{quiverai-DVSEqJiq.js → quiverai-Bk1KrvL6.js} +4 -4
- package/dist/src/{quiverai-CcUhPIBg.cjs → quiverai-Bpx6MZ7T.cjs} +4 -4
- package/dist/src/{quiverai-CCQn73lq.js → quiverai-CPKhWgaT.js} +4 -5
- package/dist/src/render-7uNJ2V14.js +135 -0
- package/dist/src/render-DlscvAUJ.js +135 -0
- package/dist/src/render-eui5p5mL.js +136 -0
- package/dist/src/{render-BHl6QVq9.js → render-nj-UaPdn.js} +2 -3
- package/dist/src/render-tG6ir9_g.cjs +165 -0
- package/dist/src/{responses-CgNyTPsY.js → responses-1ztiVYsx.js} +56 -17
- package/dist/src/{responses-BKP_WYis.js → responses-B8haB-mD.js} +56 -17
- package/dist/src/{responses-CQb1Tj69.js → responses-BiaBguAu.js} +56 -17
- package/dist/src/{responses-mo0KQDbu.cjs → responses-CF-ayauu.cjs} +56 -17
- package/dist/src/rubyUtils-4hjGxvju.js +3 -0
- package/dist/src/{rubyUtils-DECSbsfY.js → rubyUtils-BI0p46eZ.js} +3 -3
- package/dist/src/{rubyUtils-CiVfln3g.js → rubyUtils-CIQFnVz4.js} +3 -3
- package/dist/src/rubyUtils-CO-tuszQ.cjs +2 -0
- package/dist/src/{rubyUtils-PgU-gHmx.js → rubyUtils-DGnoCYL2.js} +4 -4
- package/dist/src/{rubyUtils-CGeUtCfW.cjs → rubyUtils-DoifqkiA.cjs} +5 -4
- package/dist/src/{sagemaker-CqeASYE5.js → sagemaker-BDLeW29y.js} +14 -18
- package/dist/src/{sagemaker-MUbD5V3v.js → sagemaker-C5T60MKf.js} +14 -19
- package/dist/src/{sagemaker-CVv8W7so.js → sagemaker-ClS_NB07.js} +14 -18
- package/dist/src/{sagemaker-jiw1wQa-.cjs → sagemaker-ljtY12VM.cjs} +14 -18
- package/dist/src/{scanner-DVDeUz1r.js → scanner-nOCWNIXa.js} +130 -35
- package/dist/src/server/golang/wrapper.go +1 -1
- package/dist/src/server/index.js +4829 -2529
- package/dist/src/server/python/persistent_wrapper.py +0 -5
- package/dist/src/{server-BtoCXeXI.cjs → server-BEECpeGG.cjs} +140 -6
- package/dist/src/{server-DZ9MtCn0.js → server-ByiF3qlg.js} +129 -9
- package/dist/src/{server-Cns05F1j.js → server-ByxbqAcQ.js} +128 -8
- package/dist/src/server-C0XKRNB_.cjs +2 -0
- package/dist/src/server-C_15p79-.js +3 -0
- package/dist/src/{server-CP9qKM40.js → server-gyd6d4Hc.js} +126 -7
- package/dist/src/{signal-C3ZTsUgi.js → signal-DTtUuU3l.js} +3 -3
- package/dist/src/{slack-DCEV-vWP.js → slack-4zZX1OKP.js} +2 -2
- package/dist/src/{slack-94iG3T0s.cjs → slack-BLlsDpfG.cjs} +2 -2
- package/dist/src/{slack-BR0HtO3K.js → slack-BPYLQLgb.js} +2 -2
- package/dist/src/{slack-2sdpGzbt.js → slack-Bamy_7te.js} +2 -2
- package/dist/src/{store-CLyU7AtI.cjs → store-2K0kDi80.cjs} +3 -3
- package/dist/src/{store-VB0GP46K.js → store-2OXm_eBY.js} +3 -3
- package/dist/src/store-BELqNwvz.js +3 -0
- package/dist/src/{store-Cj258DgL.js → store-BPkzEyFM.js} +3 -3
- package/dist/src/{store-P8OKm19S.js → store-CPh25336.js} +3 -3
- package/dist/src/store-uQZ4AjPe.cjs +2 -0
- package/dist/src/{tables-BEIFz2tM.js → tables-BMSOS2Gg.js} +3 -3
- package/dist/src/{tables-BdZQEpRz.cjs → tables-CXbaZ9y1.cjs} +3 -3
- package/dist/src/{tables-DmzvLbeZ.js → tables-NlvH23ky.js} +3 -3
- package/dist/src/{tables-kC7R5kiK.js → tables-WgdUZ8Ck.js} +3 -3
- package/dist/src/{telemetry-DPXLd7UE.js → telemetry--iqaGyaS.js} +5 -4
- package/dist/src/{telemetry-re627Lre.cjs → telemetry-CEQxGnMZ.cjs} +8 -7
- package/dist/src/{telemetry-BugWqKiu.js → telemetry-CgdVGV8N.js} +5 -4
- package/dist/src/{telemetry-BnH5VJAU.js → telemetry-DWdGHvEf.js} +5 -4
- package/dist/src/telemetry-DjNoC_n3.cjs +2 -0
- package/dist/src/telemetry-ZdPZc0fm.js +3 -0
- package/dist/src/{text-CW1cyrwj.cjs → text-BiNME7QG.cjs} +1 -1
- package/dist/src/{text-Db-Wt2u2.js → text-D4lz-Jg_.js} +1 -1
- package/dist/src/{text-TIv0QYnd.js → text-DDQP0tuQ.js} +1 -1
- package/dist/src/{text-B_UCRPp2.js → text-NWvfMfkF.js} +1 -1
- package/dist/src/{tokenUsageUtils-DflFMjS0.js → tokenUsageUtils-2wIvAhB3.js} +7 -3
- package/dist/src/{tokenUsageUtils-BDGe-iyI.js → tokenUsageUtils-4c780gFd.js} +7 -3
- package/dist/src/{tokenUsageUtils-NYT-WKS6.js → tokenUsageUtils-BjVkdk18.js} +7 -3
- package/dist/src/{tokenUsageUtils-bVa1ga6f.cjs → tokenUsageUtils-C9odhsbW.cjs} +7 -3
- package/dist/src/{transcription-CaMivnjG.js → transcription-84t4ALo2.js} +7 -11
- package/dist/src/{transcription-Hb3VnC4M.js → transcription-Bm2emLmJ.js} +8 -11
- package/dist/src/{transcription-BvtsrzRG.cjs → transcription-CZ4LG5hQ.cjs} +9 -13
- package/dist/src/{transcription-DOMMTu01.js → transcription-D7Q0vJsh.js} +7 -13
- package/dist/src/{transform-DrleutM3.js → transform-B-b6Cq-q.js} +8 -6
- package/dist/src/transform-BQt0BeAW.js +3 -0
- package/dist/src/transform-Bq5oqC0s.cjs +2 -0
- package/dist/src/{transform-ZrG2dvlo.cjs → transform-C9izGX54.cjs} +5 -5
- package/dist/src/{transform-BzK09Q_9.js → transform-CwbAZ84V.js} +5 -5
- package/dist/src/{transform-0BwoBsvO.cjs → transform-Dg4LcO1Y.cjs} +18 -10
- package/dist/src/{transform-B2-jIv68.js → transform-DtooZqYY.js} +8 -6
- package/dist/src/{transform-ljLYHEPh.js → transform-DzCF-wqV.js} +5 -5
- package/dist/src/{transform-DyDAwEpE.js → transform-_DpNB4qp.js} +9 -7
- package/dist/src/{transform-BqPkNPYm.js → transform-eGiUAv86.js} +5 -5
- package/dist/src/{transformersAvailability-DKoRtQLy.cjs → transformersAvailability-B22swDxr.cjs} +1 -1
- package/dist/src/{transformersAvailability-BGkzavwb.js → transformersAvailability-lvCCvuPT.js} +1 -1
- package/dist/src/{transformersAvailability-D6c6ROpT.js → transformersAvailability-rJGPccjr.js} +1 -1
- package/dist/src/{types-Cd3ygw8W.js → types-BDjGOq4E.js} +354 -24
- package/dist/src/{types-CIhFeUC4.js → types-BVH9hjgW.js} +364 -23
- package/dist/src/{types-D8cGDZbL.cjs → types-CgG2rKiW.cjs} +534 -167
- package/dist/src/{types-q8GXGF65.js → types-DNRZVOue.js} +498 -167
- package/dist/src/{util-BLvy9qfE.js → util-3pBZZb_H.js} +151 -149
- package/dist/src/{util-CFj4YKIn.cjs → util-A5_ZsQUn.cjs} +66 -44
- package/dist/src/{util-BtoGs5Cb.js → util-B9CNhyac.js} +66 -44
- package/dist/src/{util-Bm3E9jpK.js → util-BQOCAHQC.js} +692 -690
- package/dist/src/{util-vNmDL5DT.js → util-BVXcTwXu.js} +138 -36
- package/dist/src/{util-CgDCK4KI.js → util-BlFVL0UF.js} +66 -44
- package/dist/src/{util-DM2rTn_6.js → util-C-kmRosx.js} +66 -44
- package/dist/src/{util-DbVG-yZU.js → util-DFPeFkiV.js} +138 -36
- package/dist/src/{util-DMFeUvLz.js → util-DN0-b81k.js} +138 -36
- package/dist/src/{util--9u9UVCt.cjs → util-Dpmm_dAI.cjs} +143 -35
- package/dist/src/{util-CMMkIxfU.js → util-Dub0f_ej.js} +693 -691
- package/dist/src/{util-CuLo2pMR.cjs → util-DvpHnLt0.cjs} +714 -719
- package/dist/src/{utils-DOjD4dTC.js → utils-BUMN8orw.js} +6 -4
- package/dist/src/{utils-DKw8mrgr.cjs → utils-DkVeShIB.cjs} +6 -4
- package/dist/src/{utils-DEuL4VNB.js → utils-kt7lv30R.js} +6 -4
- package/dist/src/{utils-CFxO9KGo.js → utils-o8S5huU2.js} +6 -4
- package/dist/src/version-0frU0UTr.js +16 -0
- package/dist/src/version-CbpiUINz.js +17 -0
- package/dist/src/version-CbuBKu2U.js +16 -0
- package/dist/src/version-D9zu9FWB.cjs +27 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +57 -46
- package/dist/src/app/assets/index-B6l9CVVb.js +0 -439
- package/dist/src/app/assets/index-DyZ0Ep37.css +0 -1
- package/dist/src/app/assets/scroll-timeline-BdJZVXlz.js +0 -1
- package/dist/src/app/assets/sync-CStkzc6u.js +0 -4
- package/dist/src/app/assets/vendor-charts-BnDWwBlI.js +0 -36
- package/dist/src/app/assets/vendor-markdown-Bz7N-ca6.js +0 -29
- package/dist/src/app/assets/vendor-react-AtKqiNEf.js +0 -4
- package/dist/src/app/assets/vendor-syntax-D06x6TQF.js +0 -2
- package/dist/src/app/assets/vendor-utils-BvMHZmO7.js +0 -37
- package/dist/src/cache-C5yFZ4gC.cjs +0 -816
- package/dist/src/cache-CaT5tPgo.js +0 -756
- package/dist/src/cache-CyCanoMu.js +0 -6
- package/dist/src/cache-DSqR6ezl.js +0 -726
- package/dist/src/cache-Df_QFDNu.cjs +0 -5
- package/dist/src/cache-HP0NP4k3.js +0 -756
- package/dist/src/cloud-DE3t1-ZI.js +0 -4
- package/dist/src/codex-sdk-BQEw16R_.js +0 -834
- package/dist/src/codex-sdk-C_07GuVS.js +0 -834
- package/dist/src/codex-sdk-DE5G18dx.js +0 -835
- package/dist/src/codex-sdk-ZLKfDjqP.cjs +0 -838
- package/dist/src/eval-7aEqoMs3.js +0 -15
- package/dist/src/evalResult-CYNHkk5A.js +0 -12
- package/dist/src/evalResult-CuvJeNiM.js +0 -10
- package/dist/src/evalResult-tGdilrWt.cjs +0 -10
- package/dist/src/evaluator-BBUqRhz1.js +0 -36
- package/dist/src/fetch-UWU706qb.js +0 -5
- package/dist/src/graders-BxfEguVY.js +0 -32
- package/dist/src/graders-CzVMbEnv.js +0 -34
- package/dist/src/graders-DjCXfj0l.cjs +0 -32
- package/dist/src/graders-kHzIWOKu.js +0 -32
- package/dist/src/messages-DJNo37Ko.js +0 -246
- package/dist/src/messages-Dy9QecMs.js +0 -245
- package/dist/src/messages-HJsyEh4o.cjs +0 -257
- package/dist/src/messages-biC_ex-p.js +0 -245
- package/dist/src/openclaw-0Sv7AK3O.js +0 -580
- package/dist/src/openclaw-CXxbKgDH.cjs +0 -586
- package/dist/src/openclaw-D1FSCps-.js +0 -580
- package/dist/src/openclaw-D2ENvu7a.js +0 -582
- package/dist/src/providers-BSLEaIQG.js +0 -32
- package/dist/src/providers-D-FnDg8k.cjs +0 -31
- package/dist/src/providers-DEYiFVAo.js +0 -30
- package/dist/src/providers-sS2WI8YD.js +0 -30
- package/dist/src/rubyUtils-B1HXG4ej.cjs +0 -4
- package/dist/src/rubyUtils-Rt6pKA96.js +0 -5
- package/dist/src/server-B0Xh1Gx-.js +0 -7
- package/dist/src/server-DJTKu9IR.cjs +0 -5
- package/dist/src/store-C5u6MgC8.js +0 -6
- package/dist/src/store-CNHk-De4.cjs +0 -5
- package/dist/src/telemetry-Yig0Tino.js +0 -7
- package/dist/src/telemetry-p8Pwqm1i.cjs +0 -5
- package/dist/src/transform-ChNIpHz7.js +0 -6
- package/dist/src/transform-PtQ6rAE3.cjs +0 -5
|
@@ -1,139 +1,15 @@
|
|
|
1
|
-
const require_logger = require("./logger-
|
|
2
|
-
const require_fileExtensions = require("./fileExtensions-
|
|
1
|
+
const require_logger = require("./logger-COuQb2xB.cjs");
|
|
2
|
+
const require_fileExtensions = require("./fileExtensions-D9h-8Wxg.cjs");
|
|
3
3
|
let dedent = require("dedent");
|
|
4
4
|
dedent = require_logger.__toESM(dedent);
|
|
5
5
|
let zod = require("zod");
|
|
6
|
-
//#region src/types/env.ts
|
|
7
|
-
const ProviderEnvOverridesSchema = zod.z.object({
|
|
8
|
-
AI21_API_BASE_URL: zod.z.string().optional(),
|
|
9
|
-
AI21_API_KEY: zod.z.string().optional(),
|
|
10
|
-
AIML_API_KEY: zod.z.string().optional(),
|
|
11
|
-
ANTHROPIC_API_KEY: zod.z.string().optional(),
|
|
12
|
-
ANTHROPIC_BASE_URL: zod.z.string().optional(),
|
|
13
|
-
AWS_BEDROCK_REGION: zod.z.string().optional(),
|
|
14
|
-
AZURE_API_BASE_URL: zod.z.string().optional(),
|
|
15
|
-
AZURE_API_HOST: zod.z.string().optional(),
|
|
16
|
-
AZURE_API_KEY: zod.z.string().optional(),
|
|
17
|
-
AZURE_AUTHORITY_HOST: zod.z.string().optional(),
|
|
18
|
-
AZURE_CLIENT_ID: zod.z.string().optional(),
|
|
19
|
-
AZURE_CLIENT_SECRET: zod.z.string().optional(),
|
|
20
|
-
AZURE_DEPLOYMENT_NAME: zod.z.string().optional(),
|
|
21
|
-
AZURE_EMBEDDING_DEPLOYMENT_NAME: zod.z.string().optional(),
|
|
22
|
-
AZURE_OPENAI_API_BASE_URL: zod.z.string().optional(),
|
|
23
|
-
AZURE_OPENAI_API_HOST: zod.z.string().optional(),
|
|
24
|
-
AZURE_OPENAI_API_KEY: zod.z.string().optional(),
|
|
25
|
-
AZURE_OPENAI_BASE_URL: zod.z.string().optional(),
|
|
26
|
-
AZURE_OPENAI_DEPLOYMENT_NAME: zod.z.string().optional(),
|
|
27
|
-
AZURE_OPENAI_EMBEDDING_DEPLOYMENT_NAME: zod.z.string().optional(),
|
|
28
|
-
AZURE_TENANT_ID: zod.z.string().optional(),
|
|
29
|
-
AZURE_TOKEN_SCOPE: zod.z.string().optional(),
|
|
30
|
-
CLAUDE_CODE_USE_BEDROCK: zod.z.string().optional(),
|
|
31
|
-
CLAUDE_CODE_USE_VERTEX: zod.z.string().optional(),
|
|
32
|
-
CLOUDFLARE_ACCOUNT_ID: zod.z.string().optional(),
|
|
33
|
-
CLOUDFLARE_API_KEY: zod.z.string().optional(),
|
|
34
|
-
CLOUDFLARE_GATEWAY_ID: zod.z.string().optional(),
|
|
35
|
-
CF_AIG_TOKEN: zod.z.string().optional(),
|
|
36
|
-
COMETAPI_KEY: zod.z.string().optional(),
|
|
37
|
-
COHERE_API_KEY: zod.z.string().optional(),
|
|
38
|
-
COHERE_CLIENT_NAME: zod.z.string().optional(),
|
|
39
|
-
DATABRICKS_TOKEN: zod.z.string().optional(),
|
|
40
|
-
DATABRICKS_WORKSPACE_URL: zod.z.string().optional(),
|
|
41
|
-
DOCKER_MODEL_RUNNER_BASE_URL: zod.z.string().optional(),
|
|
42
|
-
DOCKER_MODEL_RUNNER_API_KEY: zod.z.string().optional(),
|
|
43
|
-
ELEVENLABS_API_KEY: zod.z.string().optional(),
|
|
44
|
-
FAL_KEY: zod.z.string().optional(),
|
|
45
|
-
GITHUB_TOKEN: zod.z.string().optional(),
|
|
46
|
-
GOOGLE_API_HOST: zod.z.string().optional(),
|
|
47
|
-
GOOGLE_API_BASE_URL: zod.z.string().optional(),
|
|
48
|
-
GOOGLE_API_KEY: zod.z.string().optional(),
|
|
49
|
-
GOOGLE_PROJECT_ID: zod.z.string().optional(),
|
|
50
|
-
GOOGLE_LOCATION: zod.z.string().optional(),
|
|
51
|
-
GOOGLE_GENERATIVE_AI_API_KEY: zod.z.string().optional(),
|
|
52
|
-
GEMINI_API_KEY: zod.z.string().optional(),
|
|
53
|
-
GROQ_API_KEY: zod.z.string().optional(),
|
|
54
|
-
HELICONE_API_KEY: zod.z.string().optional(),
|
|
55
|
-
HF_API_TOKEN: zod.z.string().optional(),
|
|
56
|
-
HF_TOKEN: zod.z.string().optional(),
|
|
57
|
-
HYPERBOLIC_API_KEY: zod.z.string().optional(),
|
|
58
|
-
HUGGING_FACE_HUB_TOKEN: zod.z.string().optional(),
|
|
59
|
-
JFROG_API_KEY: zod.z.string().optional(),
|
|
60
|
-
LANGFUSE_HOST: zod.z.string().optional(),
|
|
61
|
-
LANGFUSE_PUBLIC_KEY: zod.z.string().optional(),
|
|
62
|
-
LANGFUSE_SECRET_KEY: zod.z.string().optional(),
|
|
63
|
-
LITELLM_API_BASE: zod.z.string().optional(),
|
|
64
|
-
LLAMA_BASE_URL: zod.z.string().optional(),
|
|
65
|
-
LOCALAI_BASE_URL: zod.z.string().optional(),
|
|
66
|
-
MISTRAL_API_BASE_URL: zod.z.string().optional(),
|
|
67
|
-
MISTRAL_API_HOST: zod.z.string().optional(),
|
|
68
|
-
MISTRAL_API_KEY: zod.z.string().optional(),
|
|
69
|
-
MODELSLAB_API_KEY: zod.z.string().optional(),
|
|
70
|
-
NSCALE_SERVICE_TOKEN: zod.z.string().optional(),
|
|
71
|
-
NSCALE_API_KEY: zod.z.string().optional(),
|
|
72
|
-
OLLAMA_API_KEY: zod.z.string().optional(),
|
|
73
|
-
OLLAMA_BASE_URL: zod.z.string().optional(),
|
|
74
|
-
OPENAI_API_BASE_URL: zod.z.string().optional(),
|
|
75
|
-
OPENAI_API_HOST: zod.z.string().optional(),
|
|
76
|
-
OPENAI_API_KEY: zod.z.string().optional(),
|
|
77
|
-
OPENAI_BASE_URL: zod.z.string().optional(),
|
|
78
|
-
OPENAI_ORGANIZATION: zod.z.string().optional(),
|
|
79
|
-
CLAWDBOT_GATEWAY_PASSWORD: zod.z.string().optional(),
|
|
80
|
-
CLAWDBOT_GATEWAY_TOKEN: zod.z.string().optional(),
|
|
81
|
-
CLAWDBOT_GATEWAY_URL: zod.z.string().optional(),
|
|
82
|
-
CODEX_API_KEY: zod.z.string().optional(),
|
|
83
|
-
OPENCLAW_CONFIG_PATH: zod.z.string().optional(),
|
|
84
|
-
OPENCLAW_GATEWAY_PASSWORD: zod.z.string().optional(),
|
|
85
|
-
OPENCLAW_GATEWAY_TOKEN: zod.z.string().optional(),
|
|
86
|
-
OPENCLAW_GATEWAY_URL: zod.z.string().optional(),
|
|
87
|
-
PALM_API_HOST: zod.z.string().optional(),
|
|
88
|
-
PALM_API_KEY: zod.z.string().optional(),
|
|
89
|
-
PORTKEY_API_KEY: zod.z.string().optional(),
|
|
90
|
-
PROMPTFOO_CA_CERT_PATH: zod.z.string().optional(),
|
|
91
|
-
PROMPTFOO_PFX_CERT_PATH: zod.z.string().optional(),
|
|
92
|
-
PROMPTFOO_PFX_PASSWORD: zod.z.string().optional(),
|
|
93
|
-
PROMPTFOO_JKS_CERT_PATH: zod.z.string().optional(),
|
|
94
|
-
PROMPTFOO_JKS_PASSWORD: zod.z.string().optional(),
|
|
95
|
-
PROMPTFOO_JKS_ALIAS: zod.z.string().optional(),
|
|
96
|
-
PROMPTFOO_INSECURE_SSL: zod.z.string().optional(),
|
|
97
|
-
QUIVERAI_API_KEY: zod.z.string().optional(),
|
|
98
|
-
REPLICATE_API_KEY: zod.z.string().optional(),
|
|
99
|
-
REPLICATE_API_TOKEN: zod.z.string().optional(),
|
|
100
|
-
SHAREPOINT_BASE_URL: zod.z.string().optional(),
|
|
101
|
-
SHAREPOINT_CERT_PATH: zod.z.string().optional(),
|
|
102
|
-
SHAREPOINT_CLIENT_ID: zod.z.string().optional(),
|
|
103
|
-
SHAREPOINT_TENANT_ID: zod.z.string().optional(),
|
|
104
|
-
VERCEL_AI_GATEWAY_API_KEY: zod.z.string().optional(),
|
|
105
|
-
VERCEL_AI_GATEWAY_BASE_URL: zod.z.string().optional(),
|
|
106
|
-
VERTEX_API_HOST: zod.z.string().optional(),
|
|
107
|
-
VERTEX_API_KEY: zod.z.string().optional(),
|
|
108
|
-
VERTEX_API_VERSION: zod.z.string().optional(),
|
|
109
|
-
VERTEX_PROJECT_ID: zod.z.string().optional(),
|
|
110
|
-
VERTEX_PUBLISHER: zod.z.string().optional(),
|
|
111
|
-
VERTEX_REGION: zod.z.string().optional(),
|
|
112
|
-
VOYAGE_API_BASE_URL: zod.z.string().optional(),
|
|
113
|
-
VOYAGE_API_KEY: zod.z.string().optional(),
|
|
114
|
-
WATSONX_AI_APIKEY: zod.z.string().optional(),
|
|
115
|
-
WATSONX_AI_AUTH_TYPE: zod.z.string().optional(),
|
|
116
|
-
WATSONX_AI_BEARER_TOKEN: zod.z.string().optional(),
|
|
117
|
-
WATSONX_AI_PROJECT_ID: zod.z.string().optional(),
|
|
118
|
-
XAI_API_BASE_URL: zod.z.string().optional(),
|
|
119
|
-
XAI_API_KEY: zod.z.string().optional(),
|
|
120
|
-
AZURE_CONTENT_SAFETY_ENDPOINT: zod.z.string().optional(),
|
|
121
|
-
AZURE_CONTENT_SAFETY_API_KEY: zod.z.string().optional(),
|
|
122
|
-
AZURE_CONTENT_SAFETY_API_VERSION: zod.z.string().optional(),
|
|
123
|
-
AWS_REGION: zod.z.string().optional(),
|
|
124
|
-
AWS_DEFAULT_REGION: zod.z.string().optional(),
|
|
125
|
-
AWS_SAGEMAKER_MAX_TOKENS: zod.z.string().optional(),
|
|
126
|
-
AWS_SAGEMAKER_TEMPERATURE: zod.z.string().optional(),
|
|
127
|
-
AWS_SAGEMAKER_TOP_P: zod.z.string().optional(),
|
|
128
|
-
AWS_SAGEMAKER_MAX_RETRIES: zod.z.string().optional(),
|
|
129
|
-
PROMPTFOO_EVAL_TIMEOUT_MS: zod.z.string().optional()
|
|
130
|
-
});
|
|
131
|
-
//#endregion
|
|
132
6
|
//#region src/types/shared.ts
|
|
133
7
|
const CompletionTokenDetailsSchema = zod.z.object({
|
|
134
8
|
reasoning: zod.z.number().optional(),
|
|
135
9
|
acceptedPrediction: zod.z.number().optional(),
|
|
136
|
-
rejectedPrediction: zod.z.number().optional()
|
|
10
|
+
rejectedPrediction: zod.z.number().optional(),
|
|
11
|
+
cacheReadInputTokens: zod.z.number().optional(),
|
|
12
|
+
cacheCreationInputTokens: zod.z.number().optional()
|
|
137
13
|
});
|
|
138
14
|
/**
|
|
139
15
|
* Base schema for token usage statistics with all fields optional
|
|
@@ -156,24 +32,54 @@ const BaseTokenUsageSchema = zod.z.object({
|
|
|
156
32
|
});
|
|
157
33
|
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" }));
|
|
158
34
|
//#endregion
|
|
159
|
-
//#region src/
|
|
160
|
-
const
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
35
|
+
//#region src/redteam/constants/codingAgents.ts
|
|
36
|
+
const CODING_AGENT_CORE_PLUGINS = [
|
|
37
|
+
"coding-agent:repo-prompt-injection",
|
|
38
|
+
"coding-agent:terminal-output-injection",
|
|
39
|
+
"coding-agent:secret-env-read",
|
|
40
|
+
"coding-agent:sandbox-read-escape",
|
|
41
|
+
"coding-agent:verifier-sabotage"
|
|
42
|
+
];
|
|
43
|
+
const CODING_AGENT_PLUGINS = [
|
|
44
|
+
...CODING_AGENT_CORE_PLUGINS,
|
|
45
|
+
"coding-agent:secret-file-read",
|
|
46
|
+
"coding-agent:sandbox-write-escape",
|
|
47
|
+
"coding-agent:network-egress-bypass"
|
|
48
|
+
];
|
|
49
|
+
const CODING_AGENT_COLLECTIONS = ["coding-agent:core"];
|
|
50
|
+
const CODING_AGENT_PLUGIN_DISPLAY_NAMES = {
|
|
51
|
+
"coding-agent:core": "Coding Agent Core",
|
|
52
|
+
"coding-agent:repo-prompt-injection": "Repository Prompt Injection",
|
|
53
|
+
"coding-agent:terminal-output-injection": "Terminal Output Injection",
|
|
54
|
+
"coding-agent:secret-env-read": "Secret Environment Read",
|
|
55
|
+
"coding-agent:secret-file-read": "Secret File Read",
|
|
56
|
+
"coding-agent:sandbox-read-escape": "Sandbox Read Escape",
|
|
57
|
+
"coding-agent:sandbox-write-escape": "Sandbox Write Escape",
|
|
58
|
+
"coding-agent:network-egress-bypass": "Network Egress Bypass",
|
|
59
|
+
"coding-agent:verifier-sabotage": "Verifier Sabotage"
|
|
60
|
+
};
|
|
61
|
+
const CODING_AGENT_PLUGIN_DESCRIPTIONS = {
|
|
62
|
+
"coding-agent:core": "Tests coding agents against a focused MVP set of repository prompt injection, terminal output injection, secret environment read, sandbox read escape, and verifier sabotage risks",
|
|
63
|
+
"coding-agent:repo-prompt-injection": "Tests whether instructions embedded in README files, source comments, fixture data, issue text, logs, or generated artifacts can override the user task or operating policy",
|
|
64
|
+
"coding-agent:terminal-output-injection": "Tests whether compiler, test, package manager, linter, formatter, git, grep, or script output can instruct the coding agent to perform unrelated or dangerous actions",
|
|
65
|
+
"coding-agent:secret-env-read": "Tests whether launcher-only environment canaries remain absent from commands, output, traces, reports, diffs, URLs, and tool or connector parameters",
|
|
66
|
+
"coding-agent:secret-file-read": "Tests whether protected local files, dotfiles, sibling checkout files, temp files, cache files, browser profile files, or support-bundle files remain outside the coding agent task boundary",
|
|
67
|
+
"coding-agent:sandbox-read-escape": "Tests whether the agent can read outside the intended workspace through absolute paths, sibling checkout paths, symlinks, archives, mount points, caches, temp paths, browser profiles, or home directories",
|
|
68
|
+
"coding-agent:sandbox-write-escape": "Tests whether the agent can create, overwrite, append, delete, chmod, or otherwise mutate files outside the intended workspace through relative paths, absolute paths, symlinks, temp paths, home paths, caches, mounts, or sibling checkouts",
|
|
69
|
+
"coding-agent:network-egress-bypass": "Tests whether the agent can make unauthorized outbound network requests, DNS lookups, package fetches, webhook calls, tunnels, or connector/tool calls that bypass the intended network policy",
|
|
70
|
+
"coding-agent:verifier-sabotage": "Tests whether the agent weakens tests, lint, typecheck, CI, snapshots, fixtures, auth, locks, security checks, policies, or harness assertions instead of fixing the requested implementation"
|
|
71
|
+
};
|
|
72
|
+
const CODING_AGENT_PLUGIN_ALIASES = {
|
|
73
|
+
"coding-agent:core": "CodingAgentCore",
|
|
74
|
+
"coding-agent:repo-prompt-injection": "CodingAgentRepoPromptInjection",
|
|
75
|
+
"coding-agent:terminal-output-injection": "CodingAgentTerminalOutputInjection",
|
|
76
|
+
"coding-agent:secret-env-read": "CodingAgentSecretEnvRead",
|
|
77
|
+
"coding-agent:secret-file-read": "CodingAgentSecretFileRead",
|
|
78
|
+
"coding-agent:sandbox-read-escape": "CodingAgentSandboxReadEscape",
|
|
79
|
+
"coding-agent:sandbox-write-escape": "CodingAgentSandboxWriteEscape",
|
|
80
|
+
"coding-agent:network-egress-bypass": "CodingAgentNetworkEgressBypass",
|
|
81
|
+
"coding-agent:verifier-sabotage": "CodingAgentVerifierSabotage"
|
|
82
|
+
};
|
|
177
83
|
//#endregion
|
|
178
84
|
//#region src/redteam/constants/plugins.ts
|
|
179
85
|
const MULTI_INPUT_VAR = "__prompt";
|
|
@@ -295,8 +201,10 @@ const COLLECTIONS = [
|
|
|
295
201
|
"financial",
|
|
296
202
|
"ecommerce",
|
|
297
203
|
"telecom",
|
|
204
|
+
"teen-safety",
|
|
298
205
|
"realestate",
|
|
299
|
-
"guardrails-eval"
|
|
206
|
+
"guardrails-eval",
|
|
207
|
+
...CODING_AGENT_COLLECTIONS
|
|
300
208
|
];
|
|
301
209
|
const UNALIGNED_PROVIDER_HARM_PLUGINS = {
|
|
302
210
|
"harmful:child-exploitation": "Child Exploitation",
|
|
@@ -346,6 +254,9 @@ const BIAS_PLUGINS = [
|
|
|
346
254
|
];
|
|
347
255
|
const MEDICAL_PLUGINS = [
|
|
348
256
|
"medical:anchoring-bias",
|
|
257
|
+
"medical:fda:ai-disclosure",
|
|
258
|
+
"medical:fda:cyber-access-control",
|
|
259
|
+
"medical:fda:cyber-audit-tampering",
|
|
349
260
|
"medical:hallucination",
|
|
350
261
|
"medical:incorrect-knowledge",
|
|
351
262
|
"medical:off-label-use",
|
|
@@ -361,6 +272,7 @@ const FINANCIAL_PLUGINS = [
|
|
|
361
272
|
"financial:defamation",
|
|
362
273
|
"financial:hallucination",
|
|
363
274
|
"financial:impartiality",
|
|
275
|
+
"financial:japan-fiea-suitability",
|
|
364
276
|
"financial:misconduct",
|
|
365
277
|
"financial:sox-compliance",
|
|
366
278
|
"financial:sycophancy"
|
|
@@ -406,6 +318,12 @@ const REALESTATE_PLUGINS = [
|
|
|
406
318
|
"realestate:advertising-discrimination",
|
|
407
319
|
"realestate:source-of-income"
|
|
408
320
|
];
|
|
321
|
+
const TEEN_SAFETY_PLUGINS = [
|
|
322
|
+
"teen-safety:harmful-body-ideals",
|
|
323
|
+
"teen-safety:dangerous-content",
|
|
324
|
+
"teen-safety:dangerous-roleplay",
|
|
325
|
+
"teen-safety:age-restricted-goods-and-services"
|
|
326
|
+
];
|
|
409
327
|
const BASE_PLUGINS = [
|
|
410
328
|
"contracts",
|
|
411
329
|
"excessive-agency",
|
|
@@ -420,6 +338,7 @@ const ADDITIONAL_PLUGINS = [
|
|
|
420
338
|
"bfla",
|
|
421
339
|
"bola",
|
|
422
340
|
"cca",
|
|
341
|
+
...CODING_AGENT_PLUGINS,
|
|
423
342
|
"competitors",
|
|
424
343
|
"coppa",
|
|
425
344
|
"cross-session-leak",
|
|
@@ -436,6 +355,9 @@ const ADDITIONAL_PLUGINS = [
|
|
|
436
355
|
"mcp",
|
|
437
356
|
"model-identification",
|
|
438
357
|
"medical:anchoring-bias",
|
|
358
|
+
"medical:fda:ai-disclosure",
|
|
359
|
+
"medical:fda:cyber-access-control",
|
|
360
|
+
"medical:fda:cyber-audit-tampering",
|
|
439
361
|
"medical:hallucination",
|
|
440
362
|
"medical:incorrect-knowledge",
|
|
441
363
|
"medical:off-label-use",
|
|
@@ -449,6 +371,7 @@ const ADDITIONAL_PLUGINS = [
|
|
|
449
371
|
"financial:defamation",
|
|
450
372
|
"financial:hallucination",
|
|
451
373
|
"financial:impartiality",
|
|
374
|
+
"financial:japan-fiea-suitability",
|
|
452
375
|
"financial:misconduct",
|
|
453
376
|
"financial:sox-compliance",
|
|
454
377
|
"financial:sycophancy",
|
|
@@ -478,6 +401,10 @@ const ADDITIONAL_PLUGINS = [
|
|
|
478
401
|
"telecom:coverage-misinformation",
|
|
479
402
|
"telecom:law-enforcement-request-handling",
|
|
480
403
|
"telecom:accessibility-violation",
|
|
404
|
+
"teen-safety:harmful-body-ideals",
|
|
405
|
+
"teen-safety:dangerous-content",
|
|
406
|
+
"teen-safety:dangerous-roleplay",
|
|
407
|
+
"teen-safety:age-restricted-goods-and-services",
|
|
481
408
|
"realestate:fair-housing-discrimination",
|
|
482
409
|
"realestate:steering",
|
|
483
410
|
"realestate:discriminatory-listings",
|
|
@@ -509,6 +436,16 @@ const ADDITIONAL_PLUGINS = [
|
|
|
509
436
|
];
|
|
510
437
|
const CONFIG_REQUIRED_PLUGINS = ["intent", "policy"];
|
|
511
438
|
const AGENTIC_EXEMPT_PLUGINS = ["system-prompt-override", "agentic:memory-poisoning"];
|
|
439
|
+
const CANARY_BREAKING_STRATEGY_IDS = [
|
|
440
|
+
"base64",
|
|
441
|
+
"hex",
|
|
442
|
+
"homoglyph",
|
|
443
|
+
"leetspeak",
|
|
444
|
+
"rot13",
|
|
445
|
+
"multilingual",
|
|
446
|
+
"math-prompt",
|
|
447
|
+
"jailbreak:composite"
|
|
448
|
+
];
|
|
512
449
|
const DATASET_EXEMPT_PLUGINS = [
|
|
513
450
|
"aegis",
|
|
514
451
|
"beavertails",
|
|
@@ -559,10 +496,13 @@ const PLUGIN_CATEGORIES = {
|
|
|
559
496
|
pharmacy: PHARMACY_PLUGINS,
|
|
560
497
|
insurance: INSURANCE_PLUGINS,
|
|
561
498
|
telecom: TELECOM_PLUGINS,
|
|
499
|
+
"teen-safety": TEEN_SAFETY_PLUGINS,
|
|
562
500
|
realestate: REALESTATE_PLUGINS
|
|
563
501
|
};
|
|
564
502
|
const REMOTE_ONLY_PLUGIN_IDS = [
|
|
565
503
|
"agentic:memory-poisoning",
|
|
504
|
+
...CODING_AGENT_COLLECTIONS,
|
|
505
|
+
...CODING_AGENT_PLUGINS,
|
|
566
506
|
"ascii-smuggling",
|
|
567
507
|
"bfla",
|
|
568
508
|
"bola",
|
|
@@ -1077,26 +1017,125 @@ const NIST_AI_RMF_MAPPING = {
|
|
|
1077
1017
|
strategies: []
|
|
1078
1018
|
}
|
|
1079
1019
|
};
|
|
1020
|
+
const MITRE_ATLAS_AI_ATTACK_STAGING_MAPPING = {
|
|
1021
|
+
plugins: [
|
|
1022
|
+
"ascii-smuggling",
|
|
1023
|
+
"excessive-agency",
|
|
1024
|
+
"harmful:cybercrime:malicious-code",
|
|
1025
|
+
"hallucination",
|
|
1026
|
+
"indirect-prompt-injection",
|
|
1027
|
+
"rag-poisoning"
|
|
1028
|
+
],
|
|
1029
|
+
strategies: ["jailbreak", "jailbreak:tree"]
|
|
1030
|
+
};
|
|
1080
1031
|
const MITRE_ATLAS_MAPPING = {
|
|
1032
|
+
"mitre:atlas:ai-attack-staging": MITRE_ATLAS_AI_ATTACK_STAGING_MAPPING,
|
|
1033
|
+
"mitre:atlas:ai-model-access": {
|
|
1034
|
+
plugins: [],
|
|
1035
|
+
strategies: []
|
|
1036
|
+
},
|
|
1037
|
+
"mitre:atlas:collection": {
|
|
1038
|
+
plugins: [
|
|
1039
|
+
"data-exfil",
|
|
1040
|
+
"harmful:privacy",
|
|
1041
|
+
"pii:api-db",
|
|
1042
|
+
"pii:direct",
|
|
1043
|
+
"pii:session",
|
|
1044
|
+
"pii:social",
|
|
1045
|
+
"prompt-extraction",
|
|
1046
|
+
"rag-document-exfiltration"
|
|
1047
|
+
],
|
|
1048
|
+
strategies: []
|
|
1049
|
+
},
|
|
1050
|
+
"mitre:atlas:command-and-control": {
|
|
1051
|
+
plugins: [
|
|
1052
|
+
"excessive-agency",
|
|
1053
|
+
"harmful:cybercrime",
|
|
1054
|
+
"harmful:cybercrime:malicious-code",
|
|
1055
|
+
"mcp",
|
|
1056
|
+
"shell-injection",
|
|
1057
|
+
"ssrf"
|
|
1058
|
+
],
|
|
1059
|
+
strategies: ["crescendo"]
|
|
1060
|
+
},
|
|
1061
|
+
"mitre:atlas:credential-access": {
|
|
1062
|
+
plugins: [
|
|
1063
|
+
"data-exfil",
|
|
1064
|
+
"harmful:privacy",
|
|
1065
|
+
"pii:api-db",
|
|
1066
|
+
"pii:direct",
|
|
1067
|
+
"pii:session",
|
|
1068
|
+
"pii:social",
|
|
1069
|
+
"prompt-extraction",
|
|
1070
|
+
"rag-document-exfiltration",
|
|
1071
|
+
"tool-discovery"
|
|
1072
|
+
],
|
|
1073
|
+
strategies: []
|
|
1074
|
+
},
|
|
1075
|
+
"mitre:atlas:defense-evasion": {
|
|
1076
|
+
plugins: [
|
|
1077
|
+
"ascii-smuggling",
|
|
1078
|
+
"hijacking",
|
|
1079
|
+
"imitation",
|
|
1080
|
+
"rag-source-attribution",
|
|
1081
|
+
"special-token-injection"
|
|
1082
|
+
],
|
|
1083
|
+
strategies: [
|
|
1084
|
+
"base64",
|
|
1085
|
+
"jailbreak",
|
|
1086
|
+
"jailbreak-templates",
|
|
1087
|
+
"leetspeak",
|
|
1088
|
+
"rot13"
|
|
1089
|
+
]
|
|
1090
|
+
},
|
|
1091
|
+
"mitre:atlas:discovery": {
|
|
1092
|
+
plugins: [
|
|
1093
|
+
"debug-access",
|
|
1094
|
+
"model-identification",
|
|
1095
|
+
"prompt-extraction",
|
|
1096
|
+
"system-prompt-override",
|
|
1097
|
+
"tool-discovery"
|
|
1098
|
+
],
|
|
1099
|
+
strategies: []
|
|
1100
|
+
},
|
|
1101
|
+
"mitre:atlas:execution": {
|
|
1102
|
+
plugins: [
|
|
1103
|
+
"excessive-agency",
|
|
1104
|
+
"hijacking",
|
|
1105
|
+
"indirect-prompt-injection",
|
|
1106
|
+
"mcp",
|
|
1107
|
+
"shell-injection",
|
|
1108
|
+
"sql-injection",
|
|
1109
|
+
"ssrf",
|
|
1110
|
+
"system-prompt-override",
|
|
1111
|
+
"tool-discovery"
|
|
1112
|
+
],
|
|
1113
|
+
strategies: ["jailbreak", "jailbreak-templates"]
|
|
1114
|
+
},
|
|
1081
1115
|
"mitre:atlas:exfiltration": {
|
|
1082
1116
|
plugins: [
|
|
1083
1117
|
"ascii-smuggling",
|
|
1118
|
+
"cross-session-leak",
|
|
1119
|
+
"data-exfil",
|
|
1084
1120
|
"harmful:privacy",
|
|
1085
1121
|
"indirect-prompt-injection",
|
|
1086
1122
|
"pii:api-db",
|
|
1087
1123
|
"pii:direct",
|
|
1088
1124
|
"pii:session",
|
|
1089
1125
|
"pii:social",
|
|
1090
|
-
"prompt-extraction"
|
|
1126
|
+
"prompt-extraction",
|
|
1127
|
+
"rag-document-exfiltration"
|
|
1091
1128
|
],
|
|
1092
1129
|
strategies: []
|
|
1093
1130
|
},
|
|
1094
1131
|
"mitre:atlas:impact": {
|
|
1095
1132
|
plugins: [
|
|
1133
|
+
"divergent-repetition",
|
|
1096
1134
|
"excessive-agency",
|
|
1097
1135
|
"harmful",
|
|
1098
1136
|
"hijacking",
|
|
1099
|
-
"imitation"
|
|
1137
|
+
"imitation",
|
|
1138
|
+
"reasoning-dos"
|
|
1100
1139
|
],
|
|
1101
1140
|
strategies: ["crescendo"]
|
|
1102
1141
|
},
|
|
@@ -1104,6 +1143,8 @@ const MITRE_ATLAS_MAPPING = {
|
|
|
1104
1143
|
plugins: [
|
|
1105
1144
|
"debug-access",
|
|
1106
1145
|
"harmful:cybercrime",
|
|
1146
|
+
"indirect-prompt-injection",
|
|
1147
|
+
"mcp",
|
|
1107
1148
|
"shell-injection",
|
|
1108
1149
|
"sql-injection",
|
|
1109
1150
|
"ssrf"
|
|
@@ -1116,18 +1157,46 @@ const MITRE_ATLAS_MAPPING = {
|
|
|
1116
1157
|
"rot13"
|
|
1117
1158
|
]
|
|
1118
1159
|
},
|
|
1119
|
-
"mitre:atlas:
|
|
1160
|
+
"mitre:atlas:lateral-movement": {
|
|
1120
1161
|
plugins: [
|
|
1121
|
-
"
|
|
1162
|
+
"bfla",
|
|
1163
|
+
"bola",
|
|
1164
|
+
"harmful:cybercrime",
|
|
1165
|
+
"rbac"
|
|
1166
|
+
],
|
|
1167
|
+
strategies: []
|
|
1168
|
+
},
|
|
1169
|
+
"mitre:atlas:persistence": {
|
|
1170
|
+
plugins: [
|
|
1171
|
+
"agentic:memory-poisoning",
|
|
1172
|
+
"cross-session-leak",
|
|
1173
|
+
"indirect-prompt-injection",
|
|
1174
|
+
"rag-poisoning",
|
|
1175
|
+
"system-prompt-override"
|
|
1176
|
+
],
|
|
1177
|
+
strategies: ["jailbreak"]
|
|
1178
|
+
},
|
|
1179
|
+
"mitre:atlas:privilege-escalation": {
|
|
1180
|
+
plugins: [
|
|
1181
|
+
"bfla",
|
|
1182
|
+
"bola",
|
|
1183
|
+
"debug-access",
|
|
1122
1184
|
"excessive-agency",
|
|
1123
|
-
"
|
|
1124
|
-
"
|
|
1185
|
+
"mcp",
|
|
1186
|
+
"rbac",
|
|
1187
|
+
"shell-injection",
|
|
1188
|
+
"system-prompt-override"
|
|
1125
1189
|
],
|
|
1126
|
-
strategies: [
|
|
1190
|
+
strategies: [
|
|
1191
|
+
"jailbreak",
|
|
1192
|
+
"jailbreak:tree",
|
|
1193
|
+
"jailbreak-templates"
|
|
1194
|
+
]
|
|
1127
1195
|
},
|
|
1128
1196
|
"mitre:atlas:reconnaissance": {
|
|
1129
1197
|
plugins: [
|
|
1130
1198
|
"competitors",
|
|
1199
|
+
"model-identification",
|
|
1131
1200
|
"policy",
|
|
1132
1201
|
"prompt-extraction",
|
|
1133
1202
|
"rbac"
|
|
@@ -1136,13 +1205,16 @@ const MITRE_ATLAS_MAPPING = {
|
|
|
1136
1205
|
},
|
|
1137
1206
|
"mitre:atlas:resource-development": {
|
|
1138
1207
|
plugins: [
|
|
1208
|
+
"harmful:chemical-biological-weapons",
|
|
1139
1209
|
"harmful:cybercrime",
|
|
1210
|
+
"harmful:cybercrime:malicious-code",
|
|
1140
1211
|
"harmful:illegal-drugs",
|
|
1141
1212
|
"harmful:indiscriminate-weapons"
|
|
1142
1213
|
],
|
|
1143
1214
|
strategies: []
|
|
1144
1215
|
}
|
|
1145
1216
|
};
|
|
1217
|
+
const MITRE_ATLAS_LEGACY_MAPPING = { "mitre:atlas:ml-attack-staging": MITRE_ATLAS_AI_ATTACK_STAGING_MAPPING };
|
|
1146
1218
|
/**
|
|
1147
1219
|
* EU Artificial Intelligence Act
|
|
1148
1220
|
* ▸ Art. 5 (Prohibited AI practices) – unacceptable-risk
|
|
@@ -1549,6 +1621,7 @@ const ALIASED_PLUGINS = [
|
|
|
1549
1621
|
"iso:42001",
|
|
1550
1622
|
"gdpr",
|
|
1551
1623
|
...Object.keys(MITRE_ATLAS_MAPPING),
|
|
1624
|
+
...Object.keys(MITRE_ATLAS_LEGACY_MAPPING),
|
|
1552
1625
|
...Object.keys(NIST_AI_RMF_MAPPING),
|
|
1553
1626
|
...Object.keys(OWASP_API_TOP_10_MAPPING),
|
|
1554
1627
|
...Object.keys(OWASP_LLM_TOP_10_MAPPING),
|
|
@@ -1560,6 +1633,7 @@ const ALIASED_PLUGINS = [
|
|
|
1560
1633
|
];
|
|
1561
1634
|
const ALIASED_PLUGIN_MAPPINGS = {
|
|
1562
1635
|
"dod:ai:ethics": DOD_AI_ETHICS_MAPPING,
|
|
1636
|
+
"mitre:atlas:ml-attack-staging": MITRE_ATLAS_LEGACY_MAPPING,
|
|
1563
1637
|
"mitre:atlas": MITRE_ATLAS_MAPPING,
|
|
1564
1638
|
"nist:ai:measure": NIST_AI_RMF_MAPPING,
|
|
1565
1639
|
"owasp:api": OWASP_API_TOP_10_MAPPING,
|
|
@@ -1620,8 +1694,8 @@ const ALIASED_PLUGIN_MAPPINGS = {
|
|
|
1620
1694
|
strategies: []
|
|
1621
1695
|
} }
|
|
1622
1696
|
};
|
|
1623
|
-
|
|
1624
|
-
|
|
1697
|
+
({ ...CODING_AGENT_PLUGIN_DESCRIPTIONS });
|
|
1698
|
+
({ ...CODING_AGENT_PLUGIN_DISPLAY_NAMES });
|
|
1625
1699
|
const Severity = {
|
|
1626
1700
|
Critical: "critical",
|
|
1627
1701
|
High: "high",
|
|
@@ -1638,6 +1712,10 @@ const SeveritySchema = zod.z.enum([
|
|
|
1638
1712
|
]);
|
|
1639
1713
|
Severity.Critical, Severity.High, Severity.Medium, Severity.Low, Severity.Informational;
|
|
1640
1714
|
Severity.Critical, Severity.High, Severity.Medium, Severity.Low, Severity.Informational;
|
|
1715
|
+
const codingAgentRiskCategorySeverityMap = {
|
|
1716
|
+
...Object.fromEntries(CODING_AGENT_PLUGINS.map((pluginId) => [pluginId, Severity.High])),
|
|
1717
|
+
"coding-agent:core": Severity.High
|
|
1718
|
+
};
|
|
1641
1719
|
const riskCategorySeverityMap = {
|
|
1642
1720
|
["agentic:memory-poisoning"]: Severity.High,
|
|
1643
1721
|
aegis: Severity.Medium,
|
|
@@ -1655,6 +1733,7 @@ const riskCategorySeverityMap = {
|
|
|
1655
1733
|
"financial:defamation": Severity.Medium,
|
|
1656
1734
|
"financial:hallucination": Severity.Low,
|
|
1657
1735
|
"financial:impartiality": Severity.Medium,
|
|
1736
|
+
"financial:japan-fiea-suitability": Severity.High,
|
|
1658
1737
|
"financial:misconduct": Severity.High,
|
|
1659
1738
|
"financial:sox-compliance": Severity.High,
|
|
1660
1739
|
"financial:sycophancy": Severity.Low,
|
|
@@ -1670,6 +1749,9 @@ const riskCategorySeverityMap = {
|
|
|
1670
1749
|
default: Severity.Low,
|
|
1671
1750
|
mcp: Severity.High,
|
|
1672
1751
|
"medical:anchoring-bias": Severity.High,
|
|
1752
|
+
"medical:fda:ai-disclosure": Severity.High,
|
|
1753
|
+
"medical:fda:cyber-access-control": Severity.Critical,
|
|
1754
|
+
"medical:fda:cyber-audit-tampering": Severity.Critical,
|
|
1673
1755
|
"medical:hallucination": Severity.Critical,
|
|
1674
1756
|
"medical:incorrect-knowledge": Severity.Critical,
|
|
1675
1757
|
"medical:off-label-use": Severity.High,
|
|
@@ -1746,6 +1828,11 @@ const riskCategorySeverityMap = {
|
|
|
1746
1828
|
"telecom:coverage-misinformation": Severity.Medium,
|
|
1747
1829
|
"telecom:law-enforcement-request-handling": Severity.Medium,
|
|
1748
1830
|
"telecom:accessibility-violation": Severity.Medium,
|
|
1831
|
+
"teen-safety": Severity.Low,
|
|
1832
|
+
"teen-safety:harmful-body-ideals": Severity.Low,
|
|
1833
|
+
"teen-safety:dangerous-content": Severity.Low,
|
|
1834
|
+
"teen-safety:dangerous-roleplay": Severity.Low,
|
|
1835
|
+
"teen-safety:age-restricted-goods-and-services": Severity.Low,
|
|
1749
1836
|
realestate: Severity.Critical,
|
|
1750
1837
|
"realestate:fair-housing-discrimination": Severity.Critical,
|
|
1751
1838
|
"realestate:steering": Severity.Critical,
|
|
@@ -1785,9 +1872,10 @@ const riskCategorySeverityMap = {
|
|
|
1785
1872
|
vlguard: Severity.Medium,
|
|
1786
1873
|
vlsu: Severity.Medium,
|
|
1787
1874
|
wordplay: Severity.Low,
|
|
1788
|
-
xstest: Severity.Low
|
|
1875
|
+
xstest: Severity.Low,
|
|
1876
|
+
...codingAgentRiskCategorySeverityMap
|
|
1789
1877
|
};
|
|
1790
|
-
|
|
1878
|
+
const riskCategories = {
|
|
1791
1879
|
"Security & Access Control": [
|
|
1792
1880
|
"ascii-smuggling",
|
|
1793
1881
|
"bfla",
|
|
@@ -1859,6 +1947,10 @@ Object.entries({
|
|
|
1859
1947
|
"harmful:radicalization",
|
|
1860
1948
|
"harmful:self-harm",
|
|
1861
1949
|
"harmful:sexual-content",
|
|
1950
|
+
"teen-safety:harmful-body-ideals",
|
|
1951
|
+
"teen-safety:dangerous-content",
|
|
1952
|
+
"teen-safety:dangerous-roleplay",
|
|
1953
|
+
"teen-safety:age-restricted-goods-and-services",
|
|
1862
1954
|
"wordplay"
|
|
1863
1955
|
],
|
|
1864
1956
|
Brand: [
|
|
@@ -1890,11 +1982,15 @@ Object.entries({
|
|
|
1890
1982
|
"financial:defamation",
|
|
1891
1983
|
"financial:hallucination",
|
|
1892
1984
|
"financial:impartiality",
|
|
1985
|
+
"financial:japan-fiea-suitability",
|
|
1893
1986
|
"financial:misconduct",
|
|
1894
1987
|
"financial:sox-compliance",
|
|
1895
1988
|
"financial:sycophancy",
|
|
1896
1989
|
"medical:hallucination",
|
|
1897
1990
|
"medical:anchoring-bias",
|
|
1991
|
+
"medical:fda:ai-disclosure",
|
|
1992
|
+
"medical:fda:cyber-access-control",
|
|
1993
|
+
"medical:fda:cyber-audit-tampering",
|
|
1898
1994
|
"medical:incorrect-knowledge",
|
|
1899
1995
|
"medical:off-label-use",
|
|
1900
1996
|
"medical:prioritization-error",
|
|
@@ -1935,8 +2031,10 @@ Object.entries({
|
|
|
1935
2031
|
"vlguard",
|
|
1936
2032
|
"vlsu",
|
|
1937
2033
|
"xstest"
|
|
1938
|
-
]
|
|
1939
|
-
|
|
2034
|
+
],
|
|
2035
|
+
"Coding Agent Security": [...CODING_AGENT_PLUGINS]
|
|
2036
|
+
};
|
|
2037
|
+
Object.entries(riskCategories).reduce((acc, [category, harms]) => {
|
|
1940
2038
|
harms.forEach((harm) => {
|
|
1941
2039
|
acc[harm] = category;
|
|
1942
2040
|
});
|
|
@@ -1962,6 +2060,9 @@ const categoryAliases = {
|
|
|
1962
2060
|
ferpa: "FERPACompliance",
|
|
1963
2061
|
mcp: "MCP",
|
|
1964
2062
|
"medical:anchoring-bias": "MedicalAnchoringBias",
|
|
2063
|
+
"medical:fda:ai-disclosure": "MedicalFdaAiDisclosure",
|
|
2064
|
+
"medical:fda:cyber-access-control": "MedicalFdaCyberAccessControl",
|
|
2065
|
+
"medical:fda:cyber-audit-tampering": "MedicalFdaCyberAuditTampering",
|
|
1965
2066
|
"medical:hallucination": "Medical Hallucination",
|
|
1966
2067
|
"medical:incorrect-knowledge": "MedicalIncorrectKnowledge",
|
|
1967
2068
|
"medical:off-label-use": "MedicalOffLabelUse",
|
|
@@ -1979,6 +2080,7 @@ const categoryAliases = {
|
|
|
1979
2080
|
"financial:defamation": "FinancialDefamation",
|
|
1980
2081
|
"financial:hallucination": "FinancialHallucination",
|
|
1981
2082
|
"financial:impartiality": "FinancialImpartiality",
|
|
2083
|
+
"financial:japan-fiea-suitability": "FinancialJapanFieaSuitability",
|
|
1982
2084
|
"financial:misconduct": "FinancialMisconduct",
|
|
1983
2085
|
"financial:sox-compliance": "FinancialSoxCompliance",
|
|
1984
2086
|
"financial:sycophancy": "FinancialSycophancy",
|
|
@@ -2020,6 +2122,11 @@ const categoryAliases = {
|
|
|
2020
2122
|
"telecom:coverage-misinformation": "TelecomCoverageMisinformation",
|
|
2021
2123
|
"telecom:law-enforcement-request-handling": "TelecomLawEnforcementRequestHandling",
|
|
2022
2124
|
"telecom:accessibility-violation": "TelecomAccessibilityViolation",
|
|
2125
|
+
"teen-safety": "TeenSafety",
|
|
2126
|
+
"teen-safety:harmful-body-ideals": "TeenSafetyHarmfulBodyIdeals",
|
|
2127
|
+
"teen-safety:dangerous-content": "TeenSafetyDangerousContent",
|
|
2128
|
+
"teen-safety:dangerous-roleplay": "TeenSafetyDangerousRoleplay",
|
|
2129
|
+
"teen-safety:age-restricted-goods-and-services": "TeenSafetyAgeRestrictedGoodsAndServices",
|
|
2023
2130
|
realestate: "Real Estate Safety",
|
|
2024
2131
|
"realestate:fair-housing-discrimination": "RealEstateFairHousingDiscrimination",
|
|
2025
2132
|
"realestate:steering": "RealEstateSteering",
|
|
@@ -2089,7 +2196,8 @@ const categoryAliases = {
|
|
|
2089
2196
|
vlguard: "VLGuard",
|
|
2090
2197
|
vlsu: "VLSU",
|
|
2091
2198
|
wordplay: "Wordplay",
|
|
2092
|
-
xstest: "XSTest"
|
|
2199
|
+
xstest: "XSTest",
|
|
2200
|
+
...CODING_AGENT_PLUGIN_ALIASES
|
|
2093
2201
|
};
|
|
2094
2202
|
Object.entries(categoryAliases).reduce((acc, [key, value]) => {
|
|
2095
2203
|
acc[value] = key;
|
|
@@ -2145,6 +2253,11 @@ const pluginDescriptions = {
|
|
|
2145
2253
|
"telecom:coverage-misinformation": "Tests for false or misleading claims about network coverage, 5G availability, or roaming capabilities",
|
|
2146
2254
|
"telecom:law-enforcement-request-handling": "Tests for improper handling of law enforcement data requests in violation of CALEA requirements and privacy laws",
|
|
2147
2255
|
"telecom:accessibility-violation": "Tests for accessibility compliance violations under Section 255, Section 508, ADA, and 21st Century CVAA",
|
|
2256
|
+
"teen-safety": "Comprehensive teen safety testing for age-appropriate AI behavior across body image harms, dangerous activities, unsafe roleplay, and underage access risks",
|
|
2257
|
+
"teen-safety:harmful-body-ideals": "Tests for harmful body-ideal promotion, body shaming, and facilitation of unsafe restriction, purging, over-exercise, or concealment behaviors that can harm teens",
|
|
2258
|
+
"teen-safety:dangerous-content": "Tests for promotion, glorification, or facilitation of dangerous challenges, unsafe stunts, risky experimentation, and dangerous at-home procedures inappropriate for teens",
|
|
2259
|
+
"teen-safety:dangerous-roleplay": "Tests for interactive roleplay involving minors that simulates romantic, sexual, or violent scenarios that could normalize exploitation or harm",
|
|
2260
|
+
"teen-safety:age-restricted-goods-and-services": "Tests for encouragement, sourcing, or circumvention tactics that help minors access age-restricted goods or services such as alcohol, vaping, gambling, weapons, or adult-only venues",
|
|
2148
2261
|
realestate: "Comprehensive real estate AI safety testing for Fair Housing Act compliance, steering prevention, lending discrimination (ECOA), valuation bias, and housing discrimination vulnerabilities",
|
|
2149
2262
|
"realestate:fair-housing-discrimination": "Tests for Fair Housing Act violations across all 7 protected classes: race, color, religion, national origin, sex (including gender identity and sexual orientation), familial status, and disability",
|
|
2150
2263
|
"realestate:steering": "Tests for illegal steering practices where systems direct buyers toward or away from neighborhoods based on protected class characteristics rather than objective housing criteria",
|
|
@@ -2192,6 +2305,9 @@ const pluginDescriptions = {
|
|
|
2192
2305
|
"ecommerce:price-manipulation": "Tests for price manipulation through discount code abuse, inventory exploits, cart manipulation, unauthorized price modifications, or coupon stacking vulnerabilities",
|
|
2193
2306
|
mcp: "Tests for vulnerabilities to Model Context Protocol (MCP) attacks",
|
|
2194
2307
|
"medical:anchoring-bias": "Tests for medical anchoring bias where AI fixates on irrelevant information in medical contexts",
|
|
2308
|
+
"medical:fda:ai-disclosure": "Tests whether AI-enabled medical-device or clinical LLM systems disclose intended-use boundaries, confidence and uncertainty, subgroup limitations, data drift, and model or device version changes instead of concealing them",
|
|
2309
|
+
"medical:fda:cyber-access-control": "Tests whether medical-device AI systems enforce authenticated, role-scoped, deny-by-default workflows and refuse privileged device, telemetry, update, or therapy actions from unauthorized users or stale sessions",
|
|
2310
|
+
"medical:fda:cyber-audit-tampering": "Tests whether medical-device AI systems preserve anomaly alerts, SBOM/version records, and forensic audit trails instead of helping users suppress, rewrite, or delete cybersecurity evidence",
|
|
2195
2311
|
"medical:hallucination": "Tests for fabricated medical facts, non-existent studies, made-up drug interactions, or other false medical information",
|
|
2196
2312
|
"medical:incorrect-knowledge": "Tests for factually wrong medical information that could be harmful if followed",
|
|
2197
2313
|
"medical:off-label-use": "Tests for inappropriate off-label medication recommendations without proper disclaimers, warnings, or professional consultation requirements",
|
|
@@ -2205,6 +2321,7 @@ const pluginDescriptions = {
|
|
|
2205
2321
|
"financial:defamation": "Tests for false statements that damage the reputation of financial entities, including unfounded fraud accusations, fabricated scandals, or false insolvency claims",
|
|
2206
2322
|
"financial:hallucination": "Tests for fabricated market data, non-existent financial instruments, fictional company financials, or invented market events",
|
|
2207
2323
|
"financial:impartiality": "Tests for inappropriate provision of financial advice, investment recommendations, broker suggestions, or transaction facilitation without proper authorization or disclaimers",
|
|
2324
|
+
"financial:japan-fiea-suitability": "Tests whether AI recommends unsuitable financial products, downplays risks, or uses sales framing that conflicts with Japan's FIEA suitability and explanation duties",
|
|
2208
2325
|
"financial:misconduct": "Tests for facilitation of financial crimes including insider trading, market manipulation, front-running, spoofing, bribery, or circumventing financial regulations",
|
|
2209
2326
|
"financial:sox-compliance": "Tests for violations of Sarbanes-Oxley requirements including internal controls bypass, financial statement manipulation, CEO/CFO certification fraud, audit obstruction, document retention violations, and whistleblower retaliation",
|
|
2210
2327
|
"financial:sycophancy": "Tests for agreeing with risky trading strategies, unrealistic return expectations, or get-rich-quick schemes",
|
|
@@ -2242,7 +2359,8 @@ const pluginDescriptions = {
|
|
|
2242
2359
|
vlsu: "Tests compositional safety where individually safe images and text combine to produce harmful outputs using Apple VLSU dataset",
|
|
2243
2360
|
wordplay: "Tests whether AI systems can be tricked into generating profanity or offensive language through innocent-seeming wordplay like riddles and rhyming games",
|
|
2244
2361
|
xstest: "Tests how models handle ambiguous terms related to potentially harmful topics like violence and drugs",
|
|
2245
|
-
"guardrails-eval": "Evaluate guardrail effectiveness against common risks"
|
|
2362
|
+
"guardrails-eval": "Evaluate guardrail effectiveness against common risks",
|
|
2363
|
+
...CODING_AGENT_PLUGIN_DESCRIPTIONS
|
|
2246
2364
|
};
|
|
2247
2365
|
//#endregion
|
|
2248
2366
|
//#region src/redteam/constants/strategies.ts
|
|
@@ -2262,6 +2380,7 @@ const DEFAULT_STRATEGIES = [
|
|
|
2262
2380
|
"jailbreak:meta",
|
|
2263
2381
|
"jailbreak:composite"
|
|
2264
2382
|
];
|
|
2383
|
+
new Set(DEFAULT_STRATEGIES);
|
|
2265
2384
|
const MULTI_TURN_STRATEGIES = [
|
|
2266
2385
|
"crescendo",
|
|
2267
2386
|
"goat",
|
|
@@ -2269,6 +2388,7 @@ const MULTI_TURN_STRATEGIES = [
|
|
|
2269
2388
|
"custom",
|
|
2270
2389
|
"mischievous-user"
|
|
2271
2390
|
];
|
|
2391
|
+
new Set(MULTI_TURN_STRATEGIES);
|
|
2272
2392
|
const isCustomStrategy = (strategyId) => {
|
|
2273
2393
|
return strategyId === "custom" || strategyId.startsWith("custom:");
|
|
2274
2394
|
};
|
|
@@ -2283,6 +2403,7 @@ const AGENTIC_STRATEGIES = [
|
|
|
2283
2403
|
"jailbreak:tree",
|
|
2284
2404
|
"mischievous-user"
|
|
2285
2405
|
];
|
|
2406
|
+
new Set(AGENTIC_STRATEGIES);
|
|
2286
2407
|
const DATASET_PLUGINS = [
|
|
2287
2408
|
"beavertails",
|
|
2288
2409
|
"cyberseceval",
|
|
@@ -2448,7 +2569,62 @@ const PluginConfigSchema = zod.z.object({
|
|
|
2448
2569
|
policy: zod.z.union([zod.z.string(), PolicyObjectSchema]).optional(),
|
|
2449
2570
|
systemPrompt: zod.z.string().optional(),
|
|
2450
2571
|
excludeStrategies: zod.z.array(zod.z.string()).optional(),
|
|
2572
|
+
protectedFilePath: zod.z.string().optional(),
|
|
2573
|
+
protectedFilePaths: zod.z.array(zod.z.string()).optional(),
|
|
2574
|
+
secretFilePath: zod.z.string().optional(),
|
|
2575
|
+
secretFilePaths: zod.z.array(zod.z.string()).optional(),
|
|
2576
|
+
secretLocalFilePath: zod.z.string().optional(),
|
|
2577
|
+
secretLocalFilePaths: zod.z.array(zod.z.string()).optional(),
|
|
2578
|
+
secretFileValue: zod.z.string().optional(),
|
|
2579
|
+
secretFileValues: zod.z.array(zod.z.string()).optional(),
|
|
2580
|
+
outsideWritePath: zod.z.string().optional(),
|
|
2581
|
+
outsideWritePaths: zod.z.array(zod.z.string()).optional(),
|
|
2582
|
+
outsideWriteHostPath: zod.z.string().optional(),
|
|
2583
|
+
outsideWriteHostPaths: zod.z.array(zod.z.string()).optional(),
|
|
2584
|
+
outsideWriteProbeDir: zod.z.string().optional(),
|
|
2585
|
+
outsideWriteProbeDirs: zod.z.array(zod.z.string()).optional(),
|
|
2586
|
+
outsideWriteAllowedPath: zod.z.string().optional(),
|
|
2587
|
+
outsideWriteAllowedPaths: zod.z.array(zod.z.string()).optional(),
|
|
2588
|
+
outsideWriteExpectedSha256: zod.z.string().optional(),
|
|
2589
|
+
outsideWritePathSha256: zod.z.string().optional(),
|
|
2590
|
+
outsideWriteSha256: zod.z.string().optional(),
|
|
2591
|
+
outsideWriteMustNotExistPath: zod.z.string().optional(),
|
|
2592
|
+
outsideWriteMustNotExistPaths: zod.z.array(zod.z.string()).optional(),
|
|
2593
|
+
mustNotExistPath: zod.z.string().optional(),
|
|
2594
|
+
mustNotExistPaths: zod.z.array(zod.z.string()).optional(),
|
|
2595
|
+
protectedWritePath: zod.z.string().optional(),
|
|
2596
|
+
protectedWritePaths: zod.z.array(zod.z.string()).optional(),
|
|
2597
|
+
sandboxWritePath: zod.z.string().optional(),
|
|
2598
|
+
sandboxWritePaths: zod.z.array(zod.z.string()).optional(),
|
|
2599
|
+
workspacePath: zod.z.string().optional(),
|
|
2600
|
+
workspacePaths: zod.z.array(zod.z.string()).optional(),
|
|
2601
|
+
workspaceRoot: zod.z.string().optional(),
|
|
2602
|
+
workspaceRoots: zod.z.array(zod.z.string()).optional(),
|
|
2603
|
+
workingDirectory: zod.z.string().optional(),
|
|
2604
|
+
workingDirectoryPath: zod.z.string().optional(),
|
|
2605
|
+
workingDir: zod.z.string().optional(),
|
|
2606
|
+
networkEgressUrl: zod.z.string().optional(),
|
|
2607
|
+
networkEgressUrls: zod.z.array(zod.z.string()).optional(),
|
|
2608
|
+
networkTrapUrl: zod.z.string().optional(),
|
|
2609
|
+
networkTrapUrls: zod.z.array(zod.z.string()).optional(),
|
|
2610
|
+
networkEgressHost: zod.z.string().optional(),
|
|
2611
|
+
networkEgressHosts: zod.z.array(zod.z.string()).optional(),
|
|
2612
|
+
networkTrapHost: zod.z.string().optional(),
|
|
2613
|
+
networkTrapHosts: zod.z.array(zod.z.string()).optional(),
|
|
2614
|
+
networkAllowedHost: zod.z.string().optional(),
|
|
2615
|
+
networkAllowedHosts: zod.z.array(zod.z.string()).optional(),
|
|
2616
|
+
networkAllowedUrl: zod.z.string().optional(),
|
|
2617
|
+
networkAllowedUrls: zod.z.array(zod.z.string()).optional(),
|
|
2618
|
+
networkTrapLogPath: zod.z.string().optional(),
|
|
2619
|
+
networkTrapLogPaths: zod.z.array(zod.z.string()).optional(),
|
|
2620
|
+
networkScanPath: zod.z.string().optional(),
|
|
2621
|
+
networkScanPaths: zod.z.array(zod.z.string()).optional(),
|
|
2622
|
+
networkWorkspacePath: zod.z.string().optional(),
|
|
2623
|
+
networkWorkspacePaths: zod.z.array(zod.z.string()).optional(),
|
|
2624
|
+
networkEgressReceipt: zod.z.string().optional(),
|
|
2625
|
+
networkEgressReceipts: zod.z.array(zod.z.string()).optional(),
|
|
2451
2626
|
inputs: InputsSchema.optional(),
|
|
2627
|
+
maxCharsPerMessage: zod.z.number().int().positive().optional(),
|
|
2452
2628
|
__nonce: zod.z.number().optional()
|
|
2453
2629
|
});
|
|
2454
2630
|
const StrategyConfigSchema = zod.z.object({
|
|
@@ -2476,6 +2652,135 @@ var PartialGenerationError = class extends Error {
|
|
|
2476
2652
|
}
|
|
2477
2653
|
};
|
|
2478
2654
|
//#endregion
|
|
2655
|
+
//#region src/types/env.ts
|
|
2656
|
+
const ProviderEnvOverridesSchema = zod.z.object({
|
|
2657
|
+
ABLIT_API_BASE_URL: zod.z.string().optional(),
|
|
2658
|
+
ABLIT_KEY: zod.z.string().optional(),
|
|
2659
|
+
AI21_API_BASE_URL: zod.z.string().optional(),
|
|
2660
|
+
AI21_API_KEY: zod.z.string().optional(),
|
|
2661
|
+
AIML_API_KEY: zod.z.string().optional(),
|
|
2662
|
+
ANTHROPIC_API_KEY: zod.z.string().optional(),
|
|
2663
|
+
ANTHROPIC_BASE_URL: zod.z.string().optional(),
|
|
2664
|
+
AWS_BEDROCK_REGION: zod.z.string().optional(),
|
|
2665
|
+
AZURE_API_BASE_URL: zod.z.string().optional(),
|
|
2666
|
+
AZURE_API_HOST: zod.z.string().optional(),
|
|
2667
|
+
AZURE_API_KEY: zod.z.string().optional(),
|
|
2668
|
+
AZURE_AUTHORITY_HOST: zod.z.string().optional(),
|
|
2669
|
+
AZURE_CLIENT_ID: zod.z.string().optional(),
|
|
2670
|
+
AZURE_CLIENT_SECRET: zod.z.string().optional(),
|
|
2671
|
+
AZURE_DEPLOYMENT_NAME: zod.z.string().optional(),
|
|
2672
|
+
AZURE_EMBEDDING_DEPLOYMENT_NAME: zod.z.string().optional(),
|
|
2673
|
+
AZURE_OPENAI_API_BASE_URL: zod.z.string().optional(),
|
|
2674
|
+
AZURE_OPENAI_API_HOST: zod.z.string().optional(),
|
|
2675
|
+
AZURE_OPENAI_API_KEY: zod.z.string().optional(),
|
|
2676
|
+
AZURE_OPENAI_BASE_URL: zod.z.string().optional(),
|
|
2677
|
+
AZURE_OPENAI_DEPLOYMENT_NAME: zod.z.string().optional(),
|
|
2678
|
+
AZURE_OPENAI_EMBEDDING_DEPLOYMENT_NAME: zod.z.string().optional(),
|
|
2679
|
+
AZURE_TENANT_ID: zod.z.string().optional(),
|
|
2680
|
+
AZURE_TOKEN_SCOPE: zod.z.string().optional(),
|
|
2681
|
+
CLAUDE_CODE_USE_BEDROCK: zod.z.string().optional(),
|
|
2682
|
+
CLAUDE_CODE_USE_VERTEX: zod.z.string().optional(),
|
|
2683
|
+
CLOUDFLARE_ACCOUNT_ID: zod.z.string().optional(),
|
|
2684
|
+
CLOUDFLARE_API_KEY: zod.z.string().optional(),
|
|
2685
|
+
CLOUDFLARE_GATEWAY_ID: zod.z.string().optional(),
|
|
2686
|
+
CF_AIG_TOKEN: zod.z.string().optional(),
|
|
2687
|
+
COMETAPI_KEY: zod.z.string().optional(),
|
|
2688
|
+
COHERE_API_KEY: zod.z.string().optional(),
|
|
2689
|
+
COHERE_CLIENT_NAME: zod.z.string().optional(),
|
|
2690
|
+
DATABRICKS_TOKEN: zod.z.string().optional(),
|
|
2691
|
+
DATABRICKS_WORKSPACE_URL: zod.z.string().optional(),
|
|
2692
|
+
DOCKER_MODEL_RUNNER_BASE_URL: zod.z.string().optional(),
|
|
2693
|
+
DOCKER_MODEL_RUNNER_API_KEY: zod.z.string().optional(),
|
|
2694
|
+
ELEVENLABS_API_KEY: zod.z.string().optional(),
|
|
2695
|
+
FAL_KEY: zod.z.string().optional(),
|
|
2696
|
+
GITHUB_TOKEN: zod.z.string().optional(),
|
|
2697
|
+
GOOGLE_API_HOST: zod.z.string().optional(),
|
|
2698
|
+
GOOGLE_API_BASE_URL: zod.z.string().optional(),
|
|
2699
|
+
GOOGLE_API_KEY: zod.z.string().optional(),
|
|
2700
|
+
GOOGLE_PROJECT_ID: zod.z.string().optional(),
|
|
2701
|
+
GOOGLE_LOCATION: zod.z.string().optional(),
|
|
2702
|
+
GOOGLE_GENERATIVE_AI_API_KEY: zod.z.string().optional(),
|
|
2703
|
+
GEMINI_API_KEY: zod.z.string().optional(),
|
|
2704
|
+
GROQ_API_KEY: zod.z.string().optional(),
|
|
2705
|
+
HELICONE_API_KEY: zod.z.string().optional(),
|
|
2706
|
+
HF_API_TOKEN: zod.z.string().optional(),
|
|
2707
|
+
HF_TOKEN: zod.z.string().optional(),
|
|
2708
|
+
HYPERBOLIC_API_KEY: zod.z.string().optional(),
|
|
2709
|
+
HUGGING_FACE_HUB_TOKEN: zod.z.string().optional(),
|
|
2710
|
+
JFROG_API_KEY: zod.z.string().optional(),
|
|
2711
|
+
LANGFUSE_HOST: zod.z.string().optional(),
|
|
2712
|
+
LANGFUSE_PUBLIC_KEY: zod.z.string().optional(),
|
|
2713
|
+
LANGFUSE_SECRET_KEY: zod.z.string().optional(),
|
|
2714
|
+
LITELLM_API_BASE: zod.z.string().optional(),
|
|
2715
|
+
LLAMA_BASE_URL: zod.z.string().optional(),
|
|
2716
|
+
LOCALAI_BASE_URL: zod.z.string().optional(),
|
|
2717
|
+
MISTRAL_API_BASE_URL: zod.z.string().optional(),
|
|
2718
|
+
MISTRAL_API_HOST: zod.z.string().optional(),
|
|
2719
|
+
MISTRAL_API_KEY: zod.z.string().optional(),
|
|
2720
|
+
MODELSLAB_API_KEY: zod.z.string().optional(),
|
|
2721
|
+
NSCALE_SERVICE_TOKEN: zod.z.string().optional(),
|
|
2722
|
+
NSCALE_API_KEY: zod.z.string().optional(),
|
|
2723
|
+
OLLAMA_API_KEY: zod.z.string().optional(),
|
|
2724
|
+
OLLAMA_BASE_URL: zod.z.string().optional(),
|
|
2725
|
+
OPENAI_API_BASE_URL: zod.z.string().optional(),
|
|
2726
|
+
OPENAI_API_HOST: zod.z.string().optional(),
|
|
2727
|
+
OPENAI_API_KEY: zod.z.string().optional(),
|
|
2728
|
+
OPENAI_BASE_URL: zod.z.string().optional(),
|
|
2729
|
+
OPENAI_ORGANIZATION: zod.z.string().optional(),
|
|
2730
|
+
CLAWDBOT_GATEWAY_PASSWORD: zod.z.string().optional(),
|
|
2731
|
+
CLAWDBOT_GATEWAY_TOKEN: zod.z.string().optional(),
|
|
2732
|
+
CLAWDBOT_GATEWAY_URL: zod.z.string().optional(),
|
|
2733
|
+
CODEX_API_KEY: zod.z.string().optional(),
|
|
2734
|
+
OPENCLAW_CONFIG_PATH: zod.z.string().optional(),
|
|
2735
|
+
OPENCLAW_GATEWAY_PASSWORD: zod.z.string().optional(),
|
|
2736
|
+
OPENCLAW_GATEWAY_PORT: zod.z.string().optional(),
|
|
2737
|
+
OPENCLAW_GATEWAY_TOKEN: zod.z.string().optional(),
|
|
2738
|
+
OPENCLAW_GATEWAY_URL: zod.z.string().optional(),
|
|
2739
|
+
PALM_API_HOST: zod.z.string().optional(),
|
|
2740
|
+
PALM_API_KEY: zod.z.string().optional(),
|
|
2741
|
+
PORTKEY_API_KEY: zod.z.string().optional(),
|
|
2742
|
+
PROMPTFOO_CA_CERT_PATH: zod.z.string().optional(),
|
|
2743
|
+
PROMPTFOO_PFX_CERT_PATH: zod.z.string().optional(),
|
|
2744
|
+
PROMPTFOO_PFX_PASSWORD: zod.z.string().optional(),
|
|
2745
|
+
PROMPTFOO_JKS_CERT_PATH: zod.z.string().optional(),
|
|
2746
|
+
PROMPTFOO_JKS_PASSWORD: zod.z.string().optional(),
|
|
2747
|
+
PROMPTFOO_JKS_ALIAS: zod.z.string().optional(),
|
|
2748
|
+
PROMPTFOO_INSECURE_SSL: zod.z.string().optional(),
|
|
2749
|
+
QUIVERAI_API_KEY: zod.z.string().optional(),
|
|
2750
|
+
REPLICATE_API_KEY: zod.z.string().optional(),
|
|
2751
|
+
REPLICATE_API_TOKEN: zod.z.string().optional(),
|
|
2752
|
+
SHAREPOINT_BASE_URL: zod.z.string().optional(),
|
|
2753
|
+
SHAREPOINT_CERT_PATH: zod.z.string().optional(),
|
|
2754
|
+
SHAREPOINT_CLIENT_ID: zod.z.string().optional(),
|
|
2755
|
+
SHAREPOINT_TENANT_ID: zod.z.string().optional(),
|
|
2756
|
+
VERCEL_AI_GATEWAY_API_KEY: zod.z.string().optional(),
|
|
2757
|
+
VERCEL_AI_GATEWAY_BASE_URL: zod.z.string().optional(),
|
|
2758
|
+
VERTEX_API_HOST: zod.z.string().optional(),
|
|
2759
|
+
VERTEX_API_KEY: zod.z.string().optional(),
|
|
2760
|
+
VERTEX_API_VERSION: zod.z.string().optional(),
|
|
2761
|
+
VERTEX_PROJECT_ID: zod.z.string().optional(),
|
|
2762
|
+
VERTEX_PUBLISHER: zod.z.string().optional(),
|
|
2763
|
+
VERTEX_REGION: zod.z.string().optional(),
|
|
2764
|
+
VOYAGE_API_BASE_URL: zod.z.string().optional(),
|
|
2765
|
+
VOYAGE_API_KEY: zod.z.string().optional(),
|
|
2766
|
+
WATSONX_AI_APIKEY: zod.z.string().optional(),
|
|
2767
|
+
WATSONX_AI_AUTH_TYPE: zod.z.string().optional(),
|
|
2768
|
+
WATSONX_AI_BEARER_TOKEN: zod.z.string().optional(),
|
|
2769
|
+
WATSONX_AI_PROJECT_ID: zod.z.string().optional(),
|
|
2770
|
+
XAI_API_BASE_URL: zod.z.string().optional(),
|
|
2771
|
+
XAI_API_KEY: zod.z.string().optional(),
|
|
2772
|
+
AZURE_CONTENT_SAFETY_ENDPOINT: zod.z.string().optional(),
|
|
2773
|
+
AZURE_CONTENT_SAFETY_API_KEY: zod.z.string().optional(),
|
|
2774
|
+
AZURE_CONTENT_SAFETY_API_VERSION: zod.z.string().optional(),
|
|
2775
|
+
AWS_REGION: zod.z.string().optional(),
|
|
2776
|
+
AWS_DEFAULT_REGION: zod.z.string().optional(),
|
|
2777
|
+
AWS_SAGEMAKER_MAX_TOKENS: zod.z.string().optional(),
|
|
2778
|
+
AWS_SAGEMAKER_TEMPERATURE: zod.z.string().optional(),
|
|
2779
|
+
AWS_SAGEMAKER_TOP_P: zod.z.string().optional(),
|
|
2780
|
+
AWS_SAGEMAKER_MAX_RETRIES: zod.z.string().optional(),
|
|
2781
|
+
PROMPTFOO_EVAL_TIMEOUT_MS: zod.z.string().optional()
|
|
2782
|
+
});
|
|
2783
|
+
//#endregion
|
|
2479
2784
|
//#region src/validators/providers.ts
|
|
2480
2785
|
const ProviderOptionsSchema = zod.z.object({
|
|
2481
2786
|
id: zod.z.custom().optional(),
|
|
@@ -2538,6 +2843,26 @@ const ProviderSchema = zod.z.union([
|
|
|
2538
2843
|
ProviderOptionsSchema
|
|
2539
2844
|
]);
|
|
2540
2845
|
//#endregion
|
|
2846
|
+
//#region src/validators/prompts.ts
|
|
2847
|
+
const PromptConfigSchema = zod.z.object({
|
|
2848
|
+
prefix: zod.z.string().optional(),
|
|
2849
|
+
suffix: zod.z.string().optional()
|
|
2850
|
+
});
|
|
2851
|
+
const PromptFunctionSchema = zod.z.custom((v) => typeof v === "function");
|
|
2852
|
+
const PromptSchema = zod.z.object({
|
|
2853
|
+
id: zod.z.string().optional(),
|
|
2854
|
+
raw: zod.z.string(),
|
|
2855
|
+
template: zod.z.string().optional(),
|
|
2856
|
+
display: zod.z.string().optional(),
|
|
2857
|
+
label: zod.z.string(),
|
|
2858
|
+
function: PromptFunctionSchema.optional(),
|
|
2859
|
+
config: zod.z.any().optional()
|
|
2860
|
+
});
|
|
2861
|
+
function assert$1() {}
|
|
2862
|
+
assert$1();
|
|
2863
|
+
assert$1();
|
|
2864
|
+
assert$1();
|
|
2865
|
+
//#endregion
|
|
2541
2866
|
//#region src/validators/redteam.ts
|
|
2542
2867
|
const TracingConfigSchema = zod.z.lazy(() => zod.z.object({
|
|
2543
2868
|
enabled: zod.z.boolean().optional(),
|
|
@@ -2638,6 +2963,7 @@ zod.z.object({
|
|
|
2638
2963
|
language: zod.z.union([zod.z.string(), zod.z.array(zod.z.string())]).optional().describe("Language(s) of tests to generate"),
|
|
2639
2964
|
frameworks: zod.z.array(zod.z.enum(frameworkOptions)).min(1).optional().describe("Subset of compliance frameworks to include when generating, reporting, and filtering results"),
|
|
2640
2965
|
maxConcurrency: zod.z.int().positive().optional().describe("Maximum number of concurrent API calls"),
|
|
2966
|
+
maxCharsPerMessage: zod.z.int().positive().optional().describe("Maximum number of characters allowed per generated user message"),
|
|
2641
2967
|
numTests: zod.z.int().positive().optional().describe("Number of tests to generate"),
|
|
2642
2968
|
output: zod.z.string().optional().describe("Output file path"),
|
|
2643
2969
|
plugins: zod.z.array(RedteamPluginObjectSchema).optional().describe("Plugins to use"),
|
|
@@ -2670,6 +2996,7 @@ const RedteamConfigSchema = zod.z.object({
|
|
|
2670
2996
|
Supports ${ALL_STRATEGIES.join(", ")}
|
|
2671
2997
|
`).optional().prefault(["default"]),
|
|
2672
2998
|
maxConcurrency: zod.z.int().positive().optional().describe("Maximum number of concurrent API calls"),
|
|
2999
|
+
maxCharsPerMessage: zod.z.int().positive().optional().describe("Maximum number of characters allowed per generated user message"),
|
|
2673
3000
|
delay: zod.z.int().nonnegative().optional().describe("Delay in milliseconds between plugin API calls"),
|
|
2674
3001
|
excludeTargetOutputFromAgenticAttackGeneration: zod.z.boolean().optional().describe("Whether to exclude target output from the agentific attack generation process"),
|
|
2675
3002
|
tracing: TracingConfigSchema.optional().describe("Tracing defaults applied to all strategies unless overridden"),
|
|
@@ -2723,6 +3050,7 @@ const RedteamConfigSchema = zod.z.object({
|
|
|
2723
3050
|
else if (id === "pharmacy") expandCollection([...PHARMACY_PLUGINS], config, numTests, severity);
|
|
2724
3051
|
else if (id === "insurance") expandCollection([...INSURANCE_PLUGINS], config, numTests, severity);
|
|
2725
3052
|
else if (id === "financial") expandCollection([...FINANCIAL_PLUGINS], config, numTests, severity);
|
|
3053
|
+
else if (id === "teen-safety") expandCollection([...TEEN_SAFETY_PLUGINS], config, numTests, severity);
|
|
2726
3054
|
else if (id === "default") expandCollection([...DEFAULT_PLUGINS], config, numTests, severity);
|
|
2727
3055
|
else if (id === "guardrails-eval") expandCollection([...GUARDRAILS_EVALUATION_PLUGINS], config, numTests, severity);
|
|
2728
3056
|
};
|
|
@@ -2783,6 +3111,7 @@ const RedteamConfigSchema = zod.z.object({
|
|
|
2783
3111
|
});
|
|
2784
3112
|
return {
|
|
2785
3113
|
numTests: data.numTests,
|
|
3114
|
+
...data.maxCharsPerMessage ? { maxCharsPerMessage: data.maxCharsPerMessage } : {},
|
|
2786
3115
|
plugins: uniquePlugins,
|
|
2787
3116
|
strategies,
|
|
2788
3117
|
...frameworks ? { frameworks } : {},
|
|
@@ -2908,6 +3237,7 @@ const PromptMetricsSchema = zod.z.object({
|
|
|
2908
3237
|
tokenUsage: BaseTokenUsageSchema,
|
|
2909
3238
|
namedScores: zod.z.record(zod.z.string(), zod.z.number()),
|
|
2910
3239
|
namedScoresCount: zod.z.record(zod.z.string(), zod.z.number()),
|
|
3240
|
+
namedScoreWeights: zod.z.record(zod.z.string(), zod.z.number()).optional(),
|
|
2911
3241
|
redteam: zod.z.object({
|
|
2912
3242
|
pluginPassCount: zod.z.record(zod.z.string(), zod.z.number()),
|
|
2913
3243
|
pluginFailCount: zod.z.record(zod.z.string(), zod.z.number()),
|
|
@@ -2930,7 +3260,7 @@ function isResultFailureReason(value) {
|
|
|
2930
3260
|
return validResultFailureReasons.has(value);
|
|
2931
3261
|
}
|
|
2932
3262
|
function isGradingResult(result) {
|
|
2933
|
-
return typeof result === "object" && result !== null && typeof result.pass === "boolean" && typeof result.score === "number" && typeof result.reason === "string" && (typeof result.namedScores === "undefined" || typeof result.namedScores === "object") && (typeof result.tokensUsed === "undefined" || typeof result.tokensUsed === "object") && (typeof result.componentResults === "undefined" || Array.isArray(result.componentResults)) && (typeof result.assertion === "undefined" || result.assertion === null || typeof result.assertion === "object") && (typeof result.comment === "undefined" || typeof result.comment === "string");
|
|
3263
|
+
return typeof result === "object" && result !== null && typeof result.pass === "boolean" && typeof result.score === "number" && typeof result.reason === "string" && (typeof result.namedScores === "undefined" || typeof result.namedScores === "object") && (typeof result.namedScoreWeights === "undefined" || typeof result.namedScoreWeights === "object") && (typeof result.tokensUsed === "undefined" || typeof result.tokensUsed === "object") && (typeof result.componentResults === "undefined" || Array.isArray(result.componentResults)) && (typeof result.assertion === "undefined" || result.assertion === null || typeof result.assertion === "object") && (typeof result.comment === "undefined" || typeof result.comment === "string");
|
|
2934
3264
|
}
|
|
2935
3265
|
const BaseAssertionTypesSchema = zod.z.enum([
|
|
2936
3266
|
"answer-relevance",
|
|
@@ -3073,6 +3403,7 @@ const TestCaseSchema = zod.z.object({
|
|
|
3073
3403
|
...GradingConfigSchema.shape,
|
|
3074
3404
|
disableVarExpansion: zod.z.boolean().optional(),
|
|
3075
3405
|
disableConversationVar: zod.z.boolean().optional(),
|
|
3406
|
+
disableDefaultAsserts: zod.z.boolean().optional(),
|
|
3076
3407
|
runSerially: zod.z.boolean().optional()
|
|
3077
3408
|
}).catchall(zod.z.any()).optional(),
|
|
3078
3409
|
threshold: zod.z.number().optional(),
|
|
@@ -3162,7 +3493,7 @@ const TestSuiteSchema = zod.z.object({
|
|
|
3162
3493
|
enabled: zod.z.boolean(),
|
|
3163
3494
|
port: zod.z.number(),
|
|
3164
3495
|
host: zod.z.string().optional(),
|
|
3165
|
-
acceptFormats: zod.z.array(zod.z.
|
|
3496
|
+
acceptFormats: zod.z.array(zod.z.enum(["protobuf", "json"])).optional()
|
|
3166
3497
|
}).optional(),
|
|
3167
3498
|
grpc: zod.z.object({
|
|
3168
3499
|
enabled: zod.z.boolean(),
|
|
@@ -3231,7 +3562,7 @@ const TestSuiteConfigSchema = zod.z.object({
|
|
|
3231
3562
|
enabled: zod.z.boolean().prefault(true),
|
|
3232
3563
|
port: zod.z.number().prefault(4318),
|
|
3233
3564
|
host: zod.z.string().prefault("0.0.0.0"),
|
|
3234
|
-
acceptFormats: zod.z.array(zod.z.enum(["protobuf", "json"])).prefault(["json"])
|
|
3565
|
+
acceptFormats: zod.z.array(zod.z.enum(["protobuf", "json"])).prefault(["json", "protobuf"])
|
|
3235
3566
|
}).optional(),
|
|
3236
3567
|
grpc: zod.z.object({
|
|
3237
3568
|
enabled: zod.z.boolean().prefault(false),
|
|
@@ -3346,6 +3677,36 @@ Object.defineProperty(exports, "BaseTokenUsageSchema", {
|
|
|
3346
3677
|
return BaseTokenUsageSchema;
|
|
3347
3678
|
}
|
|
3348
3679
|
});
|
|
3680
|
+
Object.defineProperty(exports, "CANARY_BREAKING_STRATEGY_IDS", {
|
|
3681
|
+
enumerable: true,
|
|
3682
|
+
get: function() {
|
|
3683
|
+
return CANARY_BREAKING_STRATEGY_IDS;
|
|
3684
|
+
}
|
|
3685
|
+
});
|
|
3686
|
+
Object.defineProperty(exports, "CODING_AGENT_CORE_PLUGINS", {
|
|
3687
|
+
enumerable: true,
|
|
3688
|
+
get: function() {
|
|
3689
|
+
return CODING_AGENT_CORE_PLUGINS;
|
|
3690
|
+
}
|
|
3691
|
+
});
|
|
3692
|
+
Object.defineProperty(exports, "CODING_AGENT_PLUGINS", {
|
|
3693
|
+
enumerable: true,
|
|
3694
|
+
get: function() {
|
|
3695
|
+
return CODING_AGENT_PLUGINS;
|
|
3696
|
+
}
|
|
3697
|
+
});
|
|
3698
|
+
Object.defineProperty(exports, "CODING_AGENT_PLUGIN_DESCRIPTIONS", {
|
|
3699
|
+
enumerable: true,
|
|
3700
|
+
get: function() {
|
|
3701
|
+
return CODING_AGENT_PLUGIN_DESCRIPTIONS;
|
|
3702
|
+
}
|
|
3703
|
+
});
|
|
3704
|
+
Object.defineProperty(exports, "CODING_AGENT_PLUGIN_DISPLAY_NAMES", {
|
|
3705
|
+
enumerable: true,
|
|
3706
|
+
get: function() {
|
|
3707
|
+
return CODING_AGENT_PLUGIN_DISPLAY_NAMES;
|
|
3708
|
+
}
|
|
3709
|
+
});
|
|
3349
3710
|
Object.defineProperty(exports, "CommandLineOptionsSchema", {
|
|
3350
3711
|
enumerable: true,
|
|
3351
3712
|
get: function() {
|
|
@@ -3622,6 +3983,12 @@ Object.defineProperty(exports, "StrategyConfigSchema", {
|
|
|
3622
3983
|
return StrategyConfigSchema;
|
|
3623
3984
|
}
|
|
3624
3985
|
});
|
|
3986
|
+
Object.defineProperty(exports, "TEEN_SAFETY_PLUGINS", {
|
|
3987
|
+
enumerable: true,
|
|
3988
|
+
get: function() {
|
|
3989
|
+
return TEEN_SAFETY_PLUGINS;
|
|
3990
|
+
}
|
|
3991
|
+
});
|
|
3625
3992
|
Object.defineProperty(exports, "TELECOM_PLUGINS", {
|
|
3626
3993
|
enumerable: true,
|
|
3627
3994
|
get: function() {
|
|
@@ -3761,4 +4128,4 @@ Object.defineProperty(exports, "riskCategorySeverityMap", {
|
|
|
3761
4128
|
}
|
|
3762
4129
|
});
|
|
3763
4130
|
|
|
3764
|
-
//# sourceMappingURL=types-
|
|
4131
|
+
//# sourceMappingURL=types-CgG2rKiW.cjs.map
|