@langwatch/scenario 0.2.0-prerelease.1 → 0.2.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.
Files changed (2) hide show
  1. package/README.md +11 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -314,3 +314,14 @@ pnpm test
314
314
  ## License
315
315
 
316
316
  MIT
317
+
318
+ ### SCENARIO_BATCH_RUN_ID
319
+
320
+ When running scenario tests, you can set the `SCENARIO_BATCH_RUN_ID` environment variable to uniquely identify a batch of test runs. This is especially useful for grouping results in reporting tools and CI pipelines.
321
+
322
+ Example:
323
+ ```bash
324
+ SCENARIO_BATCH_RUN_ID=my-ci-run-123 pnpm test
325
+ ```
326
+
327
+ If you use the provided test script, a unique batch run ID is generated automatically for each run.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langwatch/scenario",
3
- "version": "0.2.0-prerelease.1",
3
+ "version": "0.2.0",
4
4
  "description": "A TypeScript library for testing AI agents using scenarios",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",