@langwatch/scenario 0.2.0-prerelease.0
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 +272 -0
- package/dist/index.d.mts +1193 -0
- package/dist/index.d.ts +1193 -0
- package/dist/index.js +1444 -0
- package/dist/index.mjs +1389 -0
- package/package.json +78 -0
package/package.json
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@langwatch/scenario",
|
|
3
|
+
"version": "0.2.0-prerelease.0",
|
|
4
|
+
"description": "A TypeScript library for testing AI agents using scenarios",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist",
|
|
10
|
+
"README.md",
|
|
11
|
+
"LICENSE"
|
|
12
|
+
],
|
|
13
|
+
"publishConfig": {
|
|
14
|
+
"access": "public"
|
|
15
|
+
},
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/langwatch/scenario.git"
|
|
19
|
+
},
|
|
20
|
+
"bugs": {
|
|
21
|
+
"url": "https://github.com/langwatch/scenario/issues"
|
|
22
|
+
},
|
|
23
|
+
"homepage": "https://github.com/langwatch/scenario#readme",
|
|
24
|
+
"author": "LangWatch",
|
|
25
|
+
"license": "MIT",
|
|
26
|
+
"engines": {
|
|
27
|
+
"node": ">=20",
|
|
28
|
+
"pnpm": ">=8"
|
|
29
|
+
},
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@ag-ui/core": "0.0.28",
|
|
32
|
+
"@ai-sdk/openai": "1.3.22",
|
|
33
|
+
"ai": ">=4.0.0",
|
|
34
|
+
"chalk": "4.1.2",
|
|
35
|
+
"csv-stringify": "6.5.2",
|
|
36
|
+
"rxjs": "7.8.2",
|
|
37
|
+
"stringify": "5.2.0",
|
|
38
|
+
"xksuid": "0.0.4",
|
|
39
|
+
"zod": "3.24.4"
|
|
40
|
+
},
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"@eslint/js": "9.26.0",
|
|
43
|
+
"@types/jest": "^29.0.0",
|
|
44
|
+
"@types/node": "22.15.15",
|
|
45
|
+
"@typescript-eslint/parser": "8.32.0",
|
|
46
|
+
"@typescript/native-preview": "7.0.0-dev.20250617.1",
|
|
47
|
+
"dotenv": "16.5.0",
|
|
48
|
+
"eslint": "9.26.0",
|
|
49
|
+
"eslint-import-resolver-typescript": "4.3.4",
|
|
50
|
+
"eslint-plugin-import": "2.31.0",
|
|
51
|
+
"eslint-plugin-unused-imports": "4.1.4",
|
|
52
|
+
"globals": "16.1.0",
|
|
53
|
+
"jest": "^29.0.0",
|
|
54
|
+
"ts-jest": "^29.0.0",
|
|
55
|
+
"tsup": "8.4.0",
|
|
56
|
+
"tsx": "4.19.4",
|
|
57
|
+
"typescript": "^5.0.0",
|
|
58
|
+
"typescript-eslint": "8.32.0",
|
|
59
|
+
"vitest": "3.1.3"
|
|
60
|
+
},
|
|
61
|
+
"exports": {
|
|
62
|
+
".": {
|
|
63
|
+
"types": "./dist/index.d.ts",
|
|
64
|
+
"require": "./dist/index.js",
|
|
65
|
+
"import": "./dist/index.mjs"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"scripts": {
|
|
69
|
+
"build": "tsup src/index.ts --format cjs,esm --dts --clean --external chalk --external ora",
|
|
70
|
+
"buildpack": "pnpm run build && pnpm pack",
|
|
71
|
+
"watch": "pnpm run build -- --watch src",
|
|
72
|
+
"test": "vitest",
|
|
73
|
+
"test:ci": "vitest run",
|
|
74
|
+
"lint": "eslint .",
|
|
75
|
+
"examples:vitest:run": "export SCENARIO_BATCH_ID=scenariobatch_$(uuidgen) && pnpm run buildpack && (cd examples/vitest && pnpm install) && pnpm -F vitest run test",
|
|
76
|
+
"generate:api-reference": "npx typedoc src --out api-reference-docs"
|
|
77
|
+
}
|
|
78
|
+
}
|