promptfoo 0.96.1 → 0.96.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/package.json +5 -5
- package/dist/src/app/assets/{index-CL29fyye.js → index-CAof5cIE.js} +217 -217
- package/dist/src/app/assets/{index.es-CsYHA4xg.js → index.es-CrujH26S.js} +1 -1
- package/dist/src/app/assets/{sync-B9AjROwZ.js → sync-gFAH4kmH.js} +1 -1
- package/dist/src/app/index.html +1 -1
- package/dist/src/commands/init.d.ts.map +1 -1
- package/dist/src/commands/init.js +3 -0
- package/dist/src/commands/init.js.map +1 -1
- package/dist/src/models/evalResult.d.ts +1 -1
- package/dist/src/models/evalResult.d.ts.map +1 -1
- package/dist/src/models/evalResult.js +1 -1
- package/dist/src/models/evalResult.js.map +1 -1
- package/dist/src/onboarding.d.ts +12 -0
- package/dist/src/onboarding.d.ts.map +1 -1
- package/dist/src/onboarding.js +83 -43
- package/dist/src/onboarding.js.map +1 -1
- package/dist/src/providers/bedrock.d.ts.map +1 -1
- package/dist/src/providers/bedrock.js +5 -2
- package/dist/src/providers/bedrock.js.map +1 -1
- package/dist/src/redteam/index.js +10 -3
- package/dist/src/redteam/index.js.map +1 -1
- package/dist/src/redteam/plugins/base.d.ts.map +1 -1
- package/dist/src/redteam/plugins/base.js +2 -1
- package/dist/src/redteam/plugins/base.js.map +1 -1
- package/dist/src/redteam/plugins/contracts.d.ts.map +1 -1
- package/dist/src/redteam/plugins/contracts.js +20 -9
- package/dist/src/redteam/plugins/contracts.js.map +1 -1
- package/dist/src/redteam/plugins/crossSessionLeak.d.ts.map +1 -1
- package/dist/src/redteam/plugins/crossSessionLeak.js +21 -10
- package/dist/src/redteam/plugins/crossSessionLeak.js.map +1 -1
- package/dist/src/redteam/plugins/debugAccess.d.ts.map +1 -1
- package/dist/src/redteam/plugins/debugAccess.js +20 -9
- package/dist/src/redteam/plugins/debugAccess.js.map +1 -1
- package/dist/src/redteam/plugins/excessiveAgency.d.ts.map +1 -1
- package/dist/src/redteam/plugins/excessiveAgency.js +18 -7
- package/dist/src/redteam/plugins/excessiveAgency.js.map +1 -1
- package/dist/src/redteam/plugins/hallucination.d.ts.map +1 -1
- package/dist/src/redteam/plugins/hallucination.js +18 -7
- package/dist/src/redteam/plugins/hallucination.js.map +1 -1
- package/dist/src/redteam/plugins/harmful.d.ts +2 -2
- package/dist/src/redteam/plugins/harmful.d.ts.map +1 -1
- package/dist/src/redteam/plugins/harmful.js +44 -26
- package/dist/src/redteam/plugins/harmful.js.map +1 -1
- package/dist/src/redteam/plugins/imitation.d.ts.map +1 -1
- package/dist/src/redteam/plugins/imitation.js +20 -9
- package/dist/src/redteam/plugins/imitation.js.map +1 -1
- package/dist/src/redteam/plugins/index.d.ts +2 -2
- package/dist/src/redteam/plugins/index.d.ts.map +1 -1
- package/dist/src/redteam/plugins/index.js +8 -8
- package/dist/src/redteam/plugins/index.js.map +1 -1
- package/dist/src/redteam/plugins/overreliance.d.ts.map +1 -1
- package/dist/src/redteam/plugins/overreliance.js +18 -7
- package/dist/src/redteam/plugins/overreliance.js.map +1 -1
- package/dist/src/redteam/plugins/pii.d.ts +2 -2
- package/dist/src/redteam/plugins/pii.d.ts.map +1 -1
- package/dist/src/redteam/plugins/pii.js +4 -4
- package/dist/src/redteam/plugins/pii.js.map +1 -1
- package/dist/src/redteam/plugins/politics.d.ts.map +1 -1
- package/dist/src/redteam/plugins/politics.js +20 -9
- package/dist/src/redteam/plugins/politics.js.map +1 -1
- package/dist/src/redteam/plugins/promptExtraction.d.ts.map +1 -1
- package/dist/src/redteam/plugins/promptExtraction.js +23 -12
- package/dist/src/redteam/plugins/promptExtraction.js.map +1 -1
- package/dist/src/redteam/plugins/rbac.d.ts.map +1 -1
- package/dist/src/redteam/plugins/rbac.js +20 -9
- package/dist/src/redteam/plugins/rbac.js.map +1 -1
- package/dist/src/redteam/plugins/shellInjection.d.ts.map +1 -1
- package/dist/src/redteam/plugins/shellInjection.js +20 -9
- package/dist/src/redteam/plugins/shellInjection.js.map +1 -1
- package/dist/src/redteam/plugins/sqlInjection.d.ts.map +1 -1
- package/dist/src/redteam/plugins/sqlInjection.js +18 -7
- package/dist/src/redteam/plugins/sqlInjection.js.map +1 -1
- package/dist/src/redteam/strategies/crescendo.d.ts +1 -1
- package/dist/src/redteam/strategies/crescendo.d.ts.map +1 -1
- package/dist/src/redteam/strategies/crescendo.js +2 -1
- package/dist/src/redteam/strategies/crescendo.js.map +1 -1
- package/dist/src/redteam/strategies/goat.d.ts.map +1 -1
- package/dist/src/redteam/strategies/goat.js +1 -0
- package/dist/src/redteam/strategies/goat.js.map +1 -1
- package/dist/src/redteam/strategies/index.js +8 -8
- package/dist/src/redteam/strategies/index.js.map +1 -1
- package/dist/src/redteam/strategies/iterative.d.ts +1 -1
- package/dist/src/redteam/strategies/iterative.d.ts.map +1 -1
- package/dist/src/redteam/strategies/iterative.js +2 -1
- package/dist/src/redteam/strategies/iterative.js.map +1 -1
- package/dist/src/redteam/types.d.ts +11 -1
- package/dist/src/redteam/types.d.ts.map +1 -1
- package/dist/src/types/index.d.ts +1 -0
- package/dist/src/types/index.d.ts.map +1 -1
- package/dist/src/types/index.js.map +1 -1
- package/dist/src/util/config/load.d.ts.map +1 -1
- package/dist/src/util/config/load.js +7 -2
- package/dist/src/util/config/load.js.map +1 -1
- package/dist/src/util/convertEvalResultsToTable.d.ts.map +1 -1
- package/dist/src/util/convertEvalResultsToTable.js +4 -8
- package/dist/src/util/convertEvalResultsToTable.js.map +1 -1
- package/dist/src/util/exportToFile/index.d.ts.map +1 -1
- package/dist/src/validators/redteam.d.ts.map +1 -1
- package/dist/src/validators/redteam.js +6 -5
- package/dist/src/validators/redteam.js.map +1 -1
- package/dist/test/commands/init.test.js +1 -1
- package/dist/test/onboarding.test.js +8 -7
- package/dist/test/onboarding.test.js.map +1 -1
- package/dist/test/providers/bedrock.test.js +1 -4
- package/dist/test/providers/bedrock.test.js.map +1 -1
- package/dist/test/util/config/load.test.js +3 -1
- package/dist/test/util/config/load.test.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
package/dist/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "promptfoo",
|
|
3
3
|
"description": "LLM eval & testing toolkit",
|
|
4
4
|
"author": "Ian Webster",
|
|
5
|
-
"version": "0.96.
|
|
5
|
+
"version": "0.96.2",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "commonjs",
|
|
8
8
|
"repository": {
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"@eslint/js": "^9.14.0",
|
|
89
89
|
"@libsql/client": "^0.14.0",
|
|
90
90
|
"@swc/cli": "^0.5.0",
|
|
91
|
-
"@swc/core": "^1.9.
|
|
91
|
+
"@swc/core": "^1.9.2",
|
|
92
92
|
"@swc/jest": "^0.2.37",
|
|
93
93
|
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
|
|
94
94
|
"@types/async": "^3.2.24",
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
"ts-node": "^10.9.2",
|
|
133
133
|
"tsconfig-paths": "^4.2.0",
|
|
134
134
|
"typescript": "^5.6.3",
|
|
135
|
-
"typescript-eslint": "^8.
|
|
135
|
+
"typescript-eslint": "^8.14.0",
|
|
136
136
|
"zod-to-json-schema": "^3.23.5"
|
|
137
137
|
},
|
|
138
138
|
"dependencies": {
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
"ajv": "^8.17.1",
|
|
157
157
|
"ajv-formats": "^3.0.1",
|
|
158
158
|
"async": "^3.2.6",
|
|
159
|
-
"better-sqlite3": "^11.
|
|
159
|
+
"better-sqlite3": "^11.5.0",
|
|
160
160
|
"cache-manager": "^4.1.0",
|
|
161
161
|
"cache-manager-fs-hash": "^1.0.0",
|
|
162
162
|
"chalk": "^4.1.2",
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
"mathjs": "^13.2.1",
|
|
186
186
|
"node-cache": "^5.1.2",
|
|
187
187
|
"nunjucks": "^3.2.4",
|
|
188
|
-
"openai": "^4.
|
|
188
|
+
"openai": "^4.72.0",
|
|
189
189
|
"opener": "^1.5.2",
|
|
190
190
|
"proxy-agent": "^6.4.0",
|
|
191
191
|
"python-shell": "^5.0.0",
|