@cliwatch/cli-bench 0.5.0 → 0.5.1
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 +6 -7
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -79,7 +79,9 @@ Each referenced file is a plain array of tasks:
|
|
|
79
79
|
| `concurrency` | No | Max concurrent API calls (default: 3) |
|
|
80
80
|
| `workdir` | No | Working directory (default: temp dir per task) |
|
|
81
81
|
| `upload` | No | auto, always, never (default: auto) |
|
|
82
|
-
| `
|
|
82
|
+
| `repeat` | No | Run all tasks N times (default: 1, range: 1-100) |
|
|
83
|
+
| `system_prompt` | No | Custom prompt appended to the default agent system message |
|
|
84
|
+
| `thresholds` | No | Pass rate thresholds (see [docs](https://docs.cliwatch.com/configuration/thresholds)) |
|
|
83
85
|
| `tasks` | Yes | Array of tasks or `file://` references |
|
|
84
86
|
|
|
85
87
|
## Assertion types
|
|
@@ -109,7 +111,7 @@ steps:
|
|
|
109
111
|
- run: npm install -g my-cli
|
|
110
112
|
- run: npx @cliwatch/cli-bench
|
|
111
113
|
env:
|
|
112
|
-
|
|
114
|
+
AI_GATEWAY_API_KEY: ${{ secrets.AI_GATEWAY_API_KEY }}
|
|
113
115
|
CLIWATCH_API_KEY: ${{ secrets.CLIWATCH_API_KEY }} # optional, uploads to dashboard
|
|
114
116
|
```
|
|
115
117
|
|
|
@@ -119,11 +121,8 @@ No Docker required. Commands run directly on the CI runner.
|
|
|
119
121
|
|
|
120
122
|
| Variable | Description |
|
|
121
123
|
|----------|-------------|
|
|
122
|
-
| `
|
|
123
|
-
| `
|
|
124
|
-
| `GOOGLE_GENERATIVE_AI_API_KEY` | Google AI API key (for `google/*` models) |
|
|
125
|
-
| `CLIWATCH_API_KEY` | API key for uploading results to cliwatch.dev |
|
|
126
|
-
| `CLIWATCH_BACKEND_URL` | Override backend URL (default: `https://api.cliwatch.dev`) |
|
|
124
|
+
| `AI_GATEWAY_API_KEY` | Vercel AI Gateway key — provides access to all models |
|
|
125
|
+
| `CLIWATCH_API_KEY` | API key from [app.cliwatch.com](https://app.cliwatch.com) for uploading results |
|
|
127
126
|
|
|
128
127
|
## Uploading results
|
|
129
128
|
|
package/dist/index.js
CHANGED