promptfoo 0.120.21 → 0.120.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/{accounts-uWRxEv-D.cjs → accounts-BGa3oLcq.cjs} +4 -4
- package/dist/src/{accounts-DYMHC4iY.js → accounts-BR9WiyfR.js} +4 -4
- package/dist/src/{accounts-CjU7QSnv.js → accounts-Ckp-8szu.js} +5 -5
- package/dist/src/{agentic-utils-BMbQVVd4.js → agentic-utils-BE3QlHKy.js} +2 -2
- package/dist/src/{agents-CzCD5974.cjs → agents-BhbWppc2.cjs} +6 -6
- package/dist/src/{agents-DGQULdoA.js → agents-BtgWQypw.js} +3 -3
- package/dist/src/{agents-CJ4BY_QU.js → agents-BxHVTa7v.js} +7 -7
- package/dist/src/{agents-DABC7ROH.js → agents-CMv_PdKa.js} +6 -6
- package/dist/src/{agents-BNSS1kSZ.js → agents-CTESpLg_.js} +2 -2
- package/dist/src/{agents-BJxm0Kcs.cjs → agents-CnjTsnFv.cjs} +2 -2
- package/dist/src/{aimlapi-B2qJXUsC.js → aimlapi-BDfWTIuB.js} +10 -10
- package/dist/src/{aimlapi-ABHUqmBg.cjs → aimlapi-B_JaNK7C.cjs} +9 -9
- package/dist/src/{aimlapi-CnBWjM7x.js → aimlapi-DzmOPVaB.js} +9 -9
- package/dist/src/app/assets/index-CbpQqvt4.css +1 -0
- package/dist/src/app/assets/{index-BVE859O5.js → index-gBlK8Ooo.js} +74 -74
- package/dist/src/app/index.html +2 -2
- package/dist/src/app/tsconfig.app.tsbuildinfo +1 -1
- package/dist/src/{audio-BT9aSeWg.js → audio-CLv1koN0.js} +4 -4
- package/dist/src/{audio-CSrI_LFf.js → audio-DCfFE8hp.js} +3 -3
- package/dist/src/{audio-DSV364HB.cjs → audio-UH7JqpeT.cjs} +3 -3
- package/dist/src/{base-d8hHSpEx.js → base-BMtzQZDN.js} +2 -2
- package/dist/src/{base-NFXflrMy.js → base-DGXF05vt.js} +2 -2
- package/dist/src/{base-CRrQ15eu.cjs → base-oCiJ630X.cjs} +2 -2
- package/dist/src/{blobs-Dznj-8xW.js → blobs-CNXTPz_3.js} +2 -2
- package/dist/src/{blobs-DC2sBLv8.js → blobs-eYQ1PJ-z.js} +2 -2
- package/dist/src/{blobs-D-Neij7m.cjs → blobs-h2nW1G8J.cjs} +2 -2
- package/dist/src/cache-BbrUrAzE.cjs +6 -0
- package/dist/src/{cache-aKR8pp5y.js → cache-CG_VUeq6.js} +2 -2
- package/dist/src/{cache-CMvgAnSi.js → cache-CkRahBA6.js} +2 -2
- package/dist/src/{cache-scuP1IRq.js → cache-CuMs-Ct_.js} +3 -3
- package/dist/src/{cache-DYJRe0Jt.cjs → cache-PWdK7nbt.cjs} +2 -2
- package/dist/src/{cache-xb4oZe27.js → cache-_erPRF2X.js} +2 -2
- package/dist/src/{chat-DyjTngG2.js → chat-4dCIDs0X.js} +8 -8
- package/dist/src/{chat-BbgGuvwu.js → chat-Bvvgb30H.js} +6 -6
- package/dist/src/{chat-CfJU9hHo.cjs → chat-CPZqlTJM.cjs} +8 -8
- package/dist/src/{chat-BH8Fxyap.js → chat-Cz8uiybK.js} +6 -6
- package/dist/src/{chat-Biz16BQv.cjs → chat-DKNIBnnw.cjs} +6 -6
- package/dist/src/{chat-Du_GyqZe.js → chat-Noh-ZAEA.js} +9 -9
- package/dist/src/{claude-agent-sdk-CdRG6b7t.js → claude-agent-sdk-C_1rEeQS.js} +8 -8
- package/dist/src/{claude-agent-sdk-BW-YEYQi.cjs → claude-agent-sdk-Cf9ilftQ.cjs} +8 -8
- package/dist/src/{claude-agent-sdk-CL5NzJEu.js → claude-agent-sdk-Duik96Pj.js} +9 -9
- package/dist/src/{cloud-UwfmA0Ne.js → cloud-CZHXB86j.js} +2 -2
- package/dist/src/{cloud-1cbcFXE9.js → cloud-Ckel3stH.js} +1 -1
- package/dist/src/{cloudflare-ai-BB77BUMD.js → cloudflare-ai-8EaAKyYe.js} +9 -9
- package/dist/src/{cloudflare-ai-D2Wlbus6.cjs → cloudflare-ai-CCHnFeAX.cjs} +9 -9
- package/dist/src/{cloudflare-ai-DXTxK3ou.js → cloudflare-ai-DM055RzH.js} +10 -10
- package/dist/src/{cloudflare-gateway-DeZRwitI.js → cloudflare-gateway-BMUSnpcR.js} +11 -11
- package/dist/src/{cloudflare-gateway-Tn2OEgYQ.js → cloudflare-gateway-Bcw05eOu.js} +10 -10
- package/dist/src/{cloudflare-gateway-D5IjGRjZ.cjs → cloudflare-gateway-DNxNiVNW.cjs} +10 -10
- package/dist/src/{cometapi-RP8h5O2f.cjs → cometapi-Bc95q8BF.cjs} +10 -10
- package/dist/src/{cometapi-CUq-lrPh.js → cometapi-CHlpzlEb.js} +11 -11
- package/dist/src/{cometapi-Bu_LOIac.js → cometapi-DWXoEmta.js} +10 -10
- package/dist/src/{completion-BTZ42lqL.js → completion-2IaHHyEe.js} +4 -4
- package/dist/src/{completion-H4ncr2bK.js → completion-D25ktKRj.js} +4 -4
- package/dist/src/{completion-Dw-9jqz1.cjs → completion-Xj-aJd1b.cjs} +4 -4
- package/dist/src/{docker-kvFgJqkg.js → docker-CJbB16zr.js} +10 -10
- package/dist/src/{docker-B8zxQ12-.js → docker-Cc26CxVP.js} +9 -9
- package/dist/src/{docker-NrVUpeWw.cjs → docker-jL9w9fA6.cjs} +9 -9
- package/dist/src/eval-D4RlVjjL.js +16 -0
- package/dist/src/{eval-TAOD_pvN.js → eval-nWuy1AG2.js} +25 -16
- package/dist/src/evalResult-BeU2oOzP.cjs +9 -0
- package/dist/src/{evalResult-CFSvp3Zh.cjs → evalResult-CPVLU2Np.cjs} +5 -5
- package/dist/src/evalResult-Cf2g8jAB.js +10 -0
- package/dist/src/{evalResult-CnAP64o9.js → evalResult-ChJlD0Kq.js} +5 -5
- package/dist/src/{evalResult-DnYa1RLp.js → evalResult-DIIXLdjz.js} +5 -5
- package/dist/src/evalResult-XDigzbtJ.js +9 -0
- package/dist/src/evaluator-8HYi1Fph.js +37 -0
- package/dist/src/{evaluator-q2_--POi.js → evaluator-GYXFbA_Y.js} +21 -21
- package/dist/src/{extractor-DjxI7POm.cjs → extractor-6TFoLBb3.cjs} +2 -2
- package/dist/src/{extractor-D_1s-Thr.js → extractor-BEtCUN8X.js} +2 -2
- package/dist/src/{extractor-B9uQA-6-.js → extractor-CjCWhyEf.js} +2 -2
- package/dist/src/{fetch-Cb-qQ7Hm.js → fetch-24MJ7lmX.js} +2 -2
- package/dist/src/fetch-BNRxuf6y.cjs +4 -0
- package/dist/src/{fetch-BIPrzD39.js → fetch-Cn7G4hKv.js} +3 -3
- package/dist/src/{fetch-TcCC0nEJ.js → fetch-CruohpfF.js} +3 -3
- package/dist/src/{fetch-MdGxb6Bv.cjs → fetch-E3xbPP9w.cjs} +3 -3
- package/dist/src/{fetch-Cbz8ESXD.js → fetch-YrlVkoyU.js} +1 -1
- package/dist/src/{graders-C9Ni3pNQ.cjs → graders-B6ThhLLt.cjs} +14 -14
- package/dist/src/{graders-CG50NgEB.js → graders-DcCxY5P5.js} +14 -14
- package/dist/src/{graders-DycNkUZ_.js → graders-DmOCxaH5.js} +14 -14
- package/dist/src/graders-R44KsWy_.js +35 -0
- package/dist/src/graders-femSFbBL.js +33 -0
- package/dist/src/graders-q--EyLqs.cjs +32 -0
- package/dist/src/{image-CPL1masV.cjs → image-C2ceOyBf.cjs} +3 -3
- package/dist/src/{image-CxD58J63.js → image-CKdRHN-J.js} +4 -4
- package/dist/src/{image-Dg-oq_2F.js → image-CQjDlt1F.js} +4 -4
- package/dist/src/{image-CpQ-fJt3.cjs → image-CVIQmm2j.cjs} +4 -4
- package/dist/src/{image-BmMQZgoF.js → image-KltLhC3X.js} +4 -4
- package/dist/src/{image-CHGpqpC6.js → image-KxTS2kF1.js} +3 -3
- package/dist/src/index.cjs +130 -85
- package/dist/src/index.js +130 -85
- package/dist/src/{knowledgeBase-Csr92Wc4.js → knowledgeBase--WN82LQi.js} +7 -7
- package/dist/src/{knowledgeBase-Dy1Ln178.cjs → knowledgeBase-BqWUVrpf.cjs} +6 -6
- package/dist/src/{knowledgeBase-BXvPbeXF.js → knowledgeBase-Cj6dsMqo.js} +6 -6
- package/dist/src/{litellm-CR8i8YRn.js → litellm-Cr4cLT5U.js} +10 -10
- package/dist/src/{litellm-Dcc3mt1B.js → litellm-LBVMdo0D.js} +9 -9
- package/dist/src/{litellm-QthJT0fA.cjs → litellm-fFlC5dSL.cjs} +9 -9
- package/dist/src/{luma-ray-vv5ggMvl.js → luma-ray-DIn2tYU5.js} +9 -9
- package/dist/src/{luma-ray-DbAhu9zC.js → luma-ray-DX0-i4oF.js} +8 -8
- package/dist/src/{luma-ray-DpAL4igs.cjs → luma-ray-Di9Jozxk.cjs} +8 -8
- package/dist/src/main.js +122 -85
- package/dist/src/{messages-DkV1dizA.js → messages-CrKRl5Pk.js} +8 -8
- package/dist/src/{messages-D4Cu-Nxe.cjs → messages-DR9VV_jC.cjs} +8 -8
- package/dist/src/{messages-9ik4NuJ_.js → messages-HEhixC8X.js} +8 -8
- package/dist/src/{nova-reel-mMroVw7W.js → nova-reel-B0gtacpW.js} +8 -8
- package/dist/src/{nova-reel-B1c4YdE8.js → nova-reel-Bq0thILx.js} +9 -9
- package/dist/src/{nova-reel-Bs903nib.cjs → nova-reel-DGvKrmSN.cjs} +8 -8
- package/dist/src/{nova-sonic-BLgglDkA.js → nova-sonic-CjysF4hQ.js} +5 -5
- package/dist/src/{nova-sonic-rZe65fKE.js → nova-sonic-D5qOssIP.js} +6 -6
- package/dist/src/{nova-sonic-BylXGNj-.cjs → nova-sonic-a0F7idWe.cjs} +5 -5
- package/dist/src/{opencode-sdk-G-dBq9xe.js → opencode-sdk-BJQlARp2.js} +4 -4
- package/dist/src/{opencode-sdk-lf_9VEhj.js → opencode-sdk-BsA1jKss.js} +5 -5
- package/dist/src/{opencode-sdk-B3o0jNxx.cjs → opencode-sdk-DLgVrMGX.cjs} +4 -4
- package/dist/src/{otlpReceiver-CO1TzzW1.js → otlpReceiver-14NR1X1K.js} +4 -4
- package/dist/src/{otlpReceiver-COmdVimi.cjs → otlpReceiver-BGH8dMy4.cjs} +4 -4
- package/dist/src/{otlpReceiver-CBZNmyZi.js → otlpReceiver-K8eh39vC.js} +4 -4
- package/dist/src/providers-BGK6Bn3A.cjs +31 -0
- package/dist/src/providers-BMWePlwX.js +31 -0
- package/dist/src/{providers-CHciOV4f.js → providers-C5LI9356.js} +51 -52
- package/dist/src/{providers-D8qKkVu_.js → providers-DbetV5MB.js} +52 -53
- package/dist/src/providers-EXgGEohn.js +33 -0
- package/dist/src/{providers-Bz0U4NGd.cjs → providers-lmV8J0jR.cjs} +51 -52
- package/dist/src/{quiverai-DnlaJG8H.js → quiverai-3Uc6za3c.js} +8 -8
- package/dist/src/{quiverai-BIveJ-Ql.cjs → quiverai-QLaorfoo.cjs} +8 -8
- package/dist/src/{quiverai-3rtm1glP.js → quiverai-h9NdOMN2.js} +9 -9
- package/dist/src/{sagemaker-B4hvJgkV.js → sagemaker-BghZ9VSg.js} +12 -12
- package/dist/src/{sagemaker-BsttQmAf.cjs → sagemaker-DIBiJ2A1.cjs} +11 -11
- package/dist/src/{sagemaker-BvwRP8TL.js → sagemaker-Dd4VJGu5.js} +11 -11
- package/dist/src/{scanner-CPosIITM.js → scanner-CMWzx1QH.js} +6 -6
- package/dist/src/server/index.js +108 -78
- package/dist/src/server-BrgtL_8J.js +8 -0
- package/dist/src/server-CJPqXqVd.js +6 -0
- package/dist/src/{server-BKdsd70B.js → server-DHV0r-FB.js} +3 -3
- package/dist/src/server-DZlHxFYI.cjs +6 -0
- package/dist/src/{server-Bb83s34G.js → server-JDwxLoXT.js} +4 -4
- package/dist/src/{server-ByLwfSDf.cjs → server-PndEy2Nj.cjs} +3 -3
- package/dist/src/{signal-B8hvvb8w.js → signal-V7dUBr64.js} +2 -2
- package/dist/src/{store-W4yZqv_e.js → store-BSsuF2Jj.js} +2 -2
- package/dist/src/store-BppHaTbi.cjs +6 -0
- package/dist/src/{store-CaNRmI5T.js → store-C7WtvRII.js} +2 -2
- package/dist/src/store-DyZAxX01.js +7 -0
- package/dist/src/{store-l9-mIRC-.cjs → store-j9IVHCUH.cjs} +2 -2
- package/dist/src/store-jXGyn3ME.js +6 -0
- package/dist/src/{tables-BCcp2r48.js → tables-0EDD8777.js} +2 -2
- package/dist/src/{tables-D_VmN-ui.cjs → tables-B5ootZ1x.cjs} +2 -2
- package/dist/src/{tables-DZWWveaJ.js → tables-DchWyfYe.js} +2 -2
- package/dist/src/{telemetry-CB8ltkOD.js → telemetry-Ar0--jvU.js} +3 -3
- package/dist/src/telemetry-D186sF_u.js +6 -0
- package/dist/src/{telemetry-DrSTNTH-.cjs → telemetry-DMNm_KFn.cjs} +3 -3
- package/dist/src/telemetry-DPa6sGTP.js +8 -0
- package/dist/src/{telemetry-CmGyDaxF.js → telemetry-J9g1ySRA.js} +3 -3
- package/dist/src/telemetry-XUPEBnrQ.cjs +6 -0
- package/dist/src/{transcription-BExRps8_.js → transcription-BhomPVy1.js} +6 -6
- package/dist/src/{transcription-CpuRKcIu.js → transcription-Dijlv9vZ.js} +7 -7
- package/dist/src/{transcription-B4GbFkhb.cjs → transcription-hPpt68W9.cjs} +6 -6
- package/dist/src/{transform-B5HUD86U.cjs → transform-Bow1252l.cjs} +3 -3
- package/dist/src/{transform-B-AYIQmM.js → transform-DFkyOjQ7.js} +3 -3
- package/dist/src/{transform-BwedQA8W.js → transform-yRqaT_HG.js} +3 -3
- package/dist/src/{types-n3ttAnOa.js → types-BjfZC_QB.js} +2 -17
- package/dist/src/{types-DAmPdu4_.cjs → types-Cixl-wRO.cjs} +1 -22
- package/dist/src/{types-BlspLqbN.js → types-l7snZgzv.js} +2 -17
- package/dist/src/{util-DX58t30T.js → util-07lmo96G.js} +3 -3
- package/dist/src/{util-Cd2vI7ii.js → util-4LvhctH4.js} +3 -3
- package/dist/src/{util-BnF-xRPi.js → util-7G7p_iRM.js} +3 -3
- package/dist/src/{util-KE6uFWHG.cjs → util-9SFCdUzk.cjs} +3 -3
- package/dist/src/{util-BXjq8vOq.js → util-CD-FiF5u.js} +3 -3
- package/dist/src/{util-B-Yo0qzc.cjs → util-CxWghxGa.cjs} +3 -3
- package/dist/src/{util-CyzW5ayt.js → util-DhvhJDlT.js} +3 -3
- package/dist/src/{util-BT0p5c9X.cjs → util-Dqg4mr2c.cjs} +3 -3
- package/dist/src/{util-CwsTKPXi.js → util-ImmJ_Dxe.js} +3 -3
- package/dist/src/{utils-BWOFfOel.js → utils-CF4fxllU.js} +2 -2
- package/dist/src/{utils-HdRSruG0.js → utils-D_6Jp7Sl.js} +2 -2
- package/dist/src/{utils-BSpcJB4B.cjs → utils-u1jU5_Iq.cjs} +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +10 -8
- package/dist/src/app/assets/index-CFq6nz43.css +0 -1
- package/dist/src/cache-BZYapLG-.cjs +0 -6
- package/dist/src/eval-g5SH3NBa.js +0 -16
- package/dist/src/evalResult-Bt2fmj0V.js +0 -9
- package/dist/src/evalResult-DRNH7Jui.js +0 -10
- package/dist/src/evalResult-DqLWyktN.cjs +0 -9
- package/dist/src/evaluator-DIenqH86.js +0 -37
- package/dist/src/fetch-gmneHrJc.cjs +0 -4
- package/dist/src/graders-BHcgLz2P.js +0 -35
- package/dist/src/graders-BjBhwJOb.cjs +0 -32
- package/dist/src/graders-DEjGX1uY.js +0 -33
- package/dist/src/providers-BBGwMMzj.js +0 -33
- package/dist/src/providers-BR5P_qep.cjs +0 -31
- package/dist/src/providers-CDib9hVp.js +0 -31
- package/dist/src/server-B5aIhzYk.cjs +0 -6
- package/dist/src/server-DJCw85s0.js +0 -8
- package/dist/src/server-DKj0QIm9.js +0 -6
- package/dist/src/store-Bo9FEBPO.js +0 -7
- package/dist/src/store-CqHttBql.js +0 -6
- package/dist/src/store-fsxOJl5O.cjs +0 -6
- package/dist/src/telemetry-B2uJOvMA.js +0 -8
- package/dist/src/telemetry-TZ0v6oGo.cjs +0 -6
- package/dist/src/telemetry-rP_n_bnZ.js +0 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_logger = require('./logger-CMp-NS-e.cjs');
|
|
2
|
-
const require_fetch = require('./fetch-
|
|
2
|
+
const require_fetch = require('./fetch-E3xbPP9w.cjs');
|
|
3
3
|
let chalk = require("chalk");
|
|
4
4
|
chalk = require_logger.__toESM(chalk);
|
|
5
5
|
let zod = require("zod");
|
|
@@ -80,7 +80,7 @@ function getAuthMethod() {
|
|
|
80
80
|
* Used by both CLI and server routes
|
|
81
81
|
*/
|
|
82
82
|
async function checkEmailStatus(options) {
|
|
83
|
-
const { default: telemetry } = await Promise.resolve().then(() => require("./telemetry-
|
|
83
|
+
const { default: telemetry } = await Promise.resolve().then(() => require("./telemetry-XUPEBnrQ.cjs"));
|
|
84
84
|
const userEmail = require_logger.isCI() ? "ci-placeholder@promptfoo.dev" : getUserEmail();
|
|
85
85
|
if (!userEmail) return {
|
|
86
86
|
status: NO_EMAIL_STATUS,
|
|
@@ -114,7 +114,7 @@ async function checkEmailStatus(options) {
|
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
async function promptForEmailUnverified() {
|
|
117
|
-
const { default: telemetry } = await Promise.resolve().then(() => require("./telemetry-
|
|
117
|
+
const { default: telemetry } = await Promise.resolve().then(() => require("./telemetry-XUPEBnrQ.cjs"));
|
|
118
118
|
const existingEmail = getUserEmail();
|
|
119
119
|
let email = require_logger.isCI() ? "ci-placeholder@promptfoo.dev" : existingEmail;
|
|
120
120
|
const existingEmailNeedsValidation = !require_logger.isCI() && getUserEmailNeedsValidation();
|
|
@@ -228,4 +228,4 @@ Object.defineProperty(exports, 'setUserEmail', {
|
|
|
228
228
|
return setUserEmail;
|
|
229
229
|
}
|
|
230
230
|
});
|
|
231
|
-
//# sourceMappingURL=accounts-
|
|
231
|
+
//# sourceMappingURL=accounts-BGa3oLcq.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as isCI, b as getEnvString, i as logger_default } from "./logger-q5I8CByj.js";
|
|
2
|
-
import { A as TERMINAL_MAX_WIDTH, d as writeGlobalConfigPartial, l as readGlobalConfig, r as fetchWithTimeout, s as CloudConfig, u as writeGlobalConfig } from "./fetch-
|
|
2
|
+
import { A as TERMINAL_MAX_WIDTH, d as writeGlobalConfigPartial, l as readGlobalConfig, r as fetchWithTimeout, s as CloudConfig, u as writeGlobalConfig } from "./fetch-Cn7G4hKv.js";
|
|
3
3
|
import chalk from "chalk";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import input from "@inquirer/input";
|
|
@@ -78,7 +78,7 @@ function getAuthMethod() {
|
|
|
78
78
|
* Used by both CLI and server routes
|
|
79
79
|
*/
|
|
80
80
|
async function checkEmailStatus(options) {
|
|
81
|
-
const { default: telemetry } = await import("./telemetry-
|
|
81
|
+
const { default: telemetry } = await import("./telemetry-D186sF_u.js");
|
|
82
82
|
const userEmail = isCI() ? "ci-placeholder@promptfoo.dev" : getUserEmail();
|
|
83
83
|
if (!userEmail) return {
|
|
84
84
|
status: NO_EMAIL_STATUS,
|
|
@@ -112,7 +112,7 @@ async function checkEmailStatus(options) {
|
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
async function promptForEmailUnverified() {
|
|
115
|
-
const { default: telemetry } = await import("./telemetry-
|
|
115
|
+
const { default: telemetry } = await import("./telemetry-D186sF_u.js");
|
|
116
116
|
const existingEmail = getUserEmail();
|
|
117
117
|
let email = isCI() ? "ci-placeholder@promptfoo.dev" : existingEmail;
|
|
118
118
|
const existingEmailNeedsValidation = !isCI() && getUserEmailNeedsValidation();
|
|
@@ -173,4 +173,4 @@ async function checkEmailStatusAndMaybeExit(options) {
|
|
|
173
173
|
|
|
174
174
|
//#endregion
|
|
175
175
|
export { getUserId as a, setUserEmail as c, getUserEmail as i, EMAIL_OK_STATUS as l, getAuthMethod as n, isLoggedIntoCloud as o, getAuthor as r, promptForEmailUnverified as s, checkEmailStatusAndMaybeExit as t };
|
|
176
|
-
//# sourceMappingURL=accounts-
|
|
176
|
+
//# sourceMappingURL=accounts-BR9WiyfR.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { C as getEnvString, E as isCI, o as logger_default } from "./logger-Bzi5o47S.js";
|
|
3
|
-
import { T as TERMINAL_MAX_WIDTH, r as fetchWithTimeout } from "./fetch-
|
|
4
|
-
import { a as readGlobalConfig, o as writeGlobalConfig, r as CloudConfig, s as writeGlobalConfigPartial } from "./cloud-
|
|
3
|
+
import { T as TERMINAL_MAX_WIDTH, r as fetchWithTimeout } from "./fetch-CruohpfF.js";
|
|
4
|
+
import { a as readGlobalConfig, o as writeGlobalConfig, r as CloudConfig, s as writeGlobalConfigPartial } from "./cloud-CZHXB86j.js";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
import input from "@inquirer/input";
|
|
7
7
|
import chalk from "chalk";
|
|
@@ -85,7 +85,7 @@ function getAuthMethod() {
|
|
|
85
85
|
* Used by both CLI and server routes
|
|
86
86
|
*/
|
|
87
87
|
async function checkEmailStatus(options) {
|
|
88
|
-
const { default: telemetry } = await import("./telemetry-
|
|
88
|
+
const { default: telemetry } = await import("./telemetry-DPa6sGTP.js");
|
|
89
89
|
const userEmail = isCI() ? "ci-placeholder@promptfoo.dev" : getUserEmail();
|
|
90
90
|
if (!userEmail) return {
|
|
91
91
|
status: NO_EMAIL_STATUS,
|
|
@@ -119,7 +119,7 @@ async function checkEmailStatus(options) {
|
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
async function promptForEmailUnverified() {
|
|
122
|
-
const { default: telemetry } = await import("./telemetry-
|
|
122
|
+
const { default: telemetry } = await import("./telemetry-DPa6sGTP.js");
|
|
123
123
|
const existingEmail = getUserEmail();
|
|
124
124
|
let email = isCI() ? "ci-placeholder@promptfoo.dev" : existingEmail;
|
|
125
125
|
const existingEmailNeedsValidation = !isCI() && getUserEmailNeedsValidation();
|
|
@@ -180,4 +180,4 @@ async function checkEmailStatusAndMaybeExit(options) {
|
|
|
180
180
|
|
|
181
181
|
//#endregion
|
|
182
182
|
export { getAuthor as a, isLoggedIntoCloud as c, EMAIL_OK_STATUS as d, getAuthMethod as i, promptForEmailUnverified as l, checkEmailStatusAndMaybeExit as n, getUserEmail as o, clearUserEmail as r, getUserId as s, checkEmailStatus as t, setUserEmail as u };
|
|
183
|
-
//# sourceMappingURL=accounts-
|
|
183
|
+
//# sourceMappingURL=accounts-Ckp-8szu.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { o as logger_default } from "./logger-Bzi5o47S.js";
|
|
3
|
-
import { o as getCache, s as isCacheEnabled } from "./cache-
|
|
3
|
+
import { o as getCache, s as isCacheEnabled } from "./cache-_erPRF2X.js";
|
|
4
4
|
import fs from "fs";
|
|
5
5
|
import path from "path";
|
|
6
6
|
import dedent from "dedent";
|
|
@@ -146,4 +146,4 @@ async function cacheResponse(cacheResult, response, debugContext) {
|
|
|
146
146
|
|
|
147
147
|
//#endregion
|
|
148
148
|
export { getCachedResponse as n, initializeAgenticCache as r, cacheResponse as t };
|
|
149
|
-
//# sourceMappingURL=agentic-utils-
|
|
149
|
+
//# sourceMappingURL=agentic-utils-BE3QlHKy.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const require_logger = require('./logger-CMp-NS-e.cjs');
|
|
2
|
-
require('./fetch-
|
|
3
|
-
const require_cache = require('./cache-
|
|
4
|
-
require('./accounts-
|
|
5
|
-
const require_telemetry = require('./telemetry-
|
|
6
|
-
const require_base = require('./base-
|
|
2
|
+
require('./fetch-E3xbPP9w.cjs');
|
|
3
|
+
const require_cache = require('./cache-PWdK7nbt.cjs');
|
|
4
|
+
require('./accounts-BGa3oLcq.cjs');
|
|
5
|
+
const require_telemetry = require('./telemetry-DMNm_KFn.cjs');
|
|
6
|
+
const require_base = require('./base-oCiJ630X.cjs');
|
|
7
7
|
|
|
8
8
|
//#region src/providers/bedrock/agents.ts
|
|
9
9
|
/**
|
|
@@ -238,4 +238,4 @@ var AwsBedrockAgentsProvider = class extends require_base.AwsBedrockGenericProvi
|
|
|
238
238
|
|
|
239
239
|
//#endregion
|
|
240
240
|
exports.AwsBedrockAgentsProvider = AwsBedrockAgentsProvider;
|
|
241
|
-
//# sourceMappingURL=agents-
|
|
241
|
+
//# sourceMappingURL=agents-BhbWppc2.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { O as cliState_default, o as logger_default } from "./logger-Bzi5o47S.js";
|
|
3
|
-
import { t as fetchWithProxy } from "./fetch-
|
|
4
|
-
import "./cloud-
|
|
3
|
+
import { t as fetchWithProxy } from "./fetch-CruohpfF.js";
|
|
4
|
+
import "./cloud-CZHXB86j.js";
|
|
5
5
|
import { r as importModule } from "./esm-Bwuh5HXW.js";
|
|
6
6
|
import { t as OpenAiGenericProvider } from "./openai-D_5h8sBa.js";
|
|
7
7
|
import path from "path";
|
|
@@ -432,4 +432,4 @@ var OpenAiAgentsProvider = class extends OpenAiGenericProvider {
|
|
|
432
432
|
|
|
433
433
|
//#endregion
|
|
434
434
|
export { OpenAiAgentsProvider };
|
|
435
|
-
//# sourceMappingURL=agents-
|
|
435
|
+
//# sourceMappingURL=agents-BtgWQypw.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import "./chunk-DHDDz29n.js";
|
|
3
3
|
import { C as getEnvString, S as getEnvInt, o as logger_default } from "./logger-Bzi5o47S.js";
|
|
4
|
-
import "./fetch-
|
|
5
|
-
import "./accounts-
|
|
6
|
-
import "./cloud-
|
|
7
|
-
import { r as telemetry_default } from "./telemetry-
|
|
8
|
-
import { o as getCache, s as isCacheEnabled } from "./cache-
|
|
9
|
-
import { t as AwsBedrockGenericProvider } from "./base-
|
|
4
|
+
import "./fetch-CruohpfF.js";
|
|
5
|
+
import "./accounts-Ckp-8szu.js";
|
|
6
|
+
import "./cloud-CZHXB86j.js";
|
|
7
|
+
import { r as telemetry_default } from "./telemetry-Ar0--jvU.js";
|
|
8
|
+
import { o as getCache, s as isCacheEnabled } from "./cache-_erPRF2X.js";
|
|
9
|
+
import { t as AwsBedrockGenericProvider } from "./base-BMtzQZDN.js";
|
|
10
10
|
|
|
11
11
|
//#region src/providers/bedrock/agents.ts
|
|
12
12
|
/**
|
|
@@ -241,4 +241,4 @@ var AwsBedrockAgentsProvider = class extends AwsBedrockGenericProvider {
|
|
|
241
241
|
|
|
242
242
|
//#endregion
|
|
243
243
|
export { AwsBedrockAgentsProvider };
|
|
244
|
-
//# sourceMappingURL=agents-
|
|
244
|
+
//# sourceMappingURL=agents-BxHVTa7v.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./chunk-FhC4c-0y.js";
|
|
2
2
|
import { b as getEnvString, i as logger_default, y as getEnvInt } from "./logger-q5I8CByj.js";
|
|
3
|
-
import "./fetch-
|
|
4
|
-
import { o as getCache, s as isCacheEnabled } from "./cache-
|
|
5
|
-
import "./accounts-
|
|
6
|
-
import { n as telemetry_default } from "./telemetry-
|
|
7
|
-
import { t as AwsBedrockGenericProvider } from "./base-
|
|
3
|
+
import "./fetch-Cn7G4hKv.js";
|
|
4
|
+
import { o as getCache, s as isCacheEnabled } from "./cache-CkRahBA6.js";
|
|
5
|
+
import "./accounts-BR9WiyfR.js";
|
|
6
|
+
import { n as telemetry_default } from "./telemetry-J9g1ySRA.js";
|
|
7
|
+
import { t as AwsBedrockGenericProvider } from "./base-DGXF05vt.js";
|
|
8
8
|
|
|
9
9
|
//#region src/providers/bedrock/agents.ts
|
|
10
10
|
/**
|
|
@@ -239,4 +239,4 @@ var AwsBedrockAgentsProvider = class extends AwsBedrockGenericProvider {
|
|
|
239
239
|
|
|
240
240
|
//#endregion
|
|
241
241
|
export { AwsBedrockAgentsProvider };
|
|
242
|
-
//# sourceMappingURL=agents-
|
|
242
|
+
//# sourceMappingURL=agents-CMv_PdKa.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as logger_default, w as cliState_default } from "./logger-q5I8CByj.js";
|
|
2
2
|
import { r as importModule } from "./esm-D40XsWlR.js";
|
|
3
|
-
import { t as fetchWithProxy } from "./fetch-
|
|
3
|
+
import { t as fetchWithProxy } from "./fetch-Cn7G4hKv.js";
|
|
4
4
|
import { t as OpenAiGenericProvider } from "./openai-CQozD_Ef.js";
|
|
5
5
|
import path from "path";
|
|
6
6
|
import { BatchTraceProcessor, addTraceProcessor, getOrCreateTrace, run, startTraceExportLoop } from "@openai/agents";
|
|
@@ -430,4 +430,4 @@ var OpenAiAgentsProvider = class extends OpenAiGenericProvider {
|
|
|
430
430
|
|
|
431
431
|
//#endregion
|
|
432
432
|
export { OpenAiAgentsProvider };
|
|
433
|
-
//# sourceMappingURL=agents-
|
|
433
|
+
//# sourceMappingURL=agents-CTESpLg_.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_logger = require('./logger-CMp-NS-e.cjs');
|
|
2
2
|
const require_esm = require('./esm-gWVPXn3r.cjs');
|
|
3
|
-
const require_fetch = require('./fetch-
|
|
3
|
+
const require_fetch = require('./fetch-E3xbPP9w.cjs');
|
|
4
4
|
const require_openai = require('./openai-eZz8QsxY.cjs');
|
|
5
5
|
let path = require("path");
|
|
6
6
|
path = require_logger.__toESM(path);
|
|
@@ -431,4 +431,4 @@ var OpenAiAgentsProvider = class extends require_openai.OpenAiGenericProvider {
|
|
|
431
431
|
|
|
432
432
|
//#endregion
|
|
433
433
|
exports.OpenAiAgentsProvider = OpenAiAgentsProvider;
|
|
434
|
-
//# sourceMappingURL=agents-
|
|
434
|
+
//# sourceMappingURL=agents-CnjTsnFv.cjs.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import "./chunk-DHDDz29n.js";
|
|
3
3
|
import "./logger-Bzi5o47S.js";
|
|
4
|
-
import "./fetch-
|
|
5
|
-
import "./cloud-
|
|
6
|
-
import "./types-
|
|
7
|
-
import "./cache-
|
|
8
|
-
import "./util-
|
|
4
|
+
import "./fetch-CruohpfF.js";
|
|
5
|
+
import "./cloud-CZHXB86j.js";
|
|
6
|
+
import "./types-BjfZC_QB.js";
|
|
7
|
+
import "./cache-_erPRF2X.js";
|
|
8
|
+
import "./util-DhvhJDlT.js";
|
|
9
9
|
import "./esm-Bwuh5HXW.js";
|
|
10
10
|
import "./pythonUtils-mprm8p4h.js";
|
|
11
11
|
import "./genaiTracer-CqNnnXrE.js";
|
|
12
|
-
import { t as OpenAiChatCompletionProvider } from "./chat-
|
|
13
|
-
import "./transform-
|
|
12
|
+
import { t as OpenAiChatCompletionProvider } from "./chat-Bvvgb30H.js";
|
|
13
|
+
import "./transform-DFkyOjQ7.js";
|
|
14
14
|
import "./openai-D_5h8sBa.js";
|
|
15
|
-
import "./util-
|
|
16
|
-
import { n as OpenAiEmbeddingProvider, t as OpenAiCompletionProvider } from "./completion-
|
|
15
|
+
import "./util-ImmJ_Dxe.js";
|
|
16
|
+
import { n as OpenAiEmbeddingProvider, t as OpenAiCompletionProvider } from "./completion-2IaHHyEe.js";
|
|
17
17
|
|
|
18
18
|
//#region src/providers/aimlapi.ts
|
|
19
19
|
/**
|
|
@@ -39,4 +39,4 @@ function createAimlApiProvider(providerPath, options = {}) {
|
|
|
39
39
|
|
|
40
40
|
//#endregion
|
|
41
41
|
export { createAimlApiProvider };
|
|
42
|
-
//# sourceMappingURL=aimlapi-
|
|
42
|
+
//# sourceMappingURL=aimlapi-BDfWTIuB.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
require('./logger-CMp-NS-e.cjs');
|
|
2
2
|
require('./esm-gWVPXn3r.cjs');
|
|
3
3
|
require('./pythonUtils-rOCm9w_5.cjs');
|
|
4
|
-
require('./types-
|
|
5
|
-
require('./util-
|
|
6
|
-
require('./fetch-
|
|
7
|
-
require('./cache-
|
|
4
|
+
require('./types-Cixl-wRO.cjs');
|
|
5
|
+
require('./util-CxWghxGa.cjs');
|
|
6
|
+
require('./fetch-E3xbPP9w.cjs');
|
|
7
|
+
require('./cache-PWdK7nbt.cjs');
|
|
8
8
|
require('./genaiTracer-zK0Mtd_D.cjs');
|
|
9
|
-
const require_chat = require('./chat-
|
|
10
|
-
require('./transform-
|
|
9
|
+
const require_chat = require('./chat-DKNIBnnw.cjs');
|
|
10
|
+
require('./transform-Bow1252l.cjs');
|
|
11
11
|
require('./openai-eZz8QsxY.cjs');
|
|
12
|
-
require('./util-
|
|
13
|
-
const require_completion = require('./completion-
|
|
12
|
+
require('./util-Dqg4mr2c.cjs');
|
|
13
|
+
const require_completion = require('./completion-Xj-aJd1b.cjs');
|
|
14
14
|
|
|
15
15
|
//#region src/providers/aimlapi.ts
|
|
16
16
|
/**
|
|
@@ -36,4 +36,4 @@ function createAimlApiProvider(providerPath, options = {}) {
|
|
|
36
36
|
|
|
37
37
|
//#endregion
|
|
38
38
|
exports.createAimlApiProvider = createAimlApiProvider;
|
|
39
|
-
//# sourceMappingURL=aimlapi-
|
|
39
|
+
//# sourceMappingURL=aimlapi-B_JaNK7C.cjs.map
|
|
@@ -2,16 +2,16 @@ import "./chunk-FhC4c-0y.js";
|
|
|
2
2
|
import "./logger-q5I8CByj.js";
|
|
3
3
|
import "./esm-D40XsWlR.js";
|
|
4
4
|
import "./pythonUtils-eNq6Wsfr.js";
|
|
5
|
-
import "./types-
|
|
6
|
-
import "./util-
|
|
7
|
-
import "./fetch-
|
|
8
|
-
import "./cache-
|
|
5
|
+
import "./types-l7snZgzv.js";
|
|
6
|
+
import "./util-07lmo96G.js";
|
|
7
|
+
import "./fetch-Cn7G4hKv.js";
|
|
8
|
+
import "./cache-CkRahBA6.js";
|
|
9
9
|
import "./genaiTracer-CNawybn-.js";
|
|
10
|
-
import { t as OpenAiChatCompletionProvider } from "./chat-
|
|
11
|
-
import "./transform-
|
|
10
|
+
import { t as OpenAiChatCompletionProvider } from "./chat-Cz8uiybK.js";
|
|
11
|
+
import "./transform-yRqaT_HG.js";
|
|
12
12
|
import "./openai-CQozD_Ef.js";
|
|
13
|
-
import "./util-
|
|
14
|
-
import { n as OpenAiEmbeddingProvider, t as OpenAiCompletionProvider } from "./completion-
|
|
13
|
+
import "./util-CD-FiF5u.js";
|
|
14
|
+
import { n as OpenAiEmbeddingProvider, t as OpenAiCompletionProvider } from "./completion-D25ktKRj.js";
|
|
15
15
|
|
|
16
16
|
//#region src/providers/aimlapi.ts
|
|
17
17
|
/**
|
|
@@ -37,4 +37,4 @@ function createAimlApiProvider(providerPath, options = {}) {
|
|
|
37
37
|
|
|
38
38
|
//#endregion
|
|
39
39
|
export { createAimlApiProvider };
|
|
40
|
-
//# sourceMappingURL=aimlapi-
|
|
40
|
+
//# sourceMappingURL=aimlapi-DzmOPVaB.js.map
|