Commit Graph

254 Commits

Author SHA1 Message Date
Allen Zhou 475b4bc879 Merge pull request #124 from vercel-labs/changeset-release/main
Version Packages
@vercel/agent-eval@0.14.0
2026-05-05 16:03:42 -07:00
github-actions[bot] 5294461898 Version Packages 2026-05-05 23:02:49 +00:00
Allen Zhou 9bc474f783 Merge pull request #123 from vercel-labs/a0-local-harness-support
Add response-only harness support
2026-05-05 16:01:59 -07:00
Allen Zhou c52126f198 Keep agent config validation strict 2026-05-05 15:58:10 -07:00
Allen Zhou 07614ec3b7 Add response-only harness support 2026-05-05 15:37:24 -07:00
github-actions[bot] f5cba1ea67 Version Packages (#122)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@vercel/agent-eval@0.13.1
2026-04-26 08:51:13 -04:00
Jude Gao 384133b982 [CLI] Surface AI Gateway errors during failure classification (#121) 2026-04-26 02:22:46 -04:00
github-actions[bot] f7e79f7a1f Version Packages (#120)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@vercel/agent-eval@0.13.0
2026-04-24 23:33:25 -04:00
Jude Gao 748fcc08d3 [Release] Use github-api commit mode for signed commits (#119)
* [CLI] Remove auto-retry of non-model failures

* [Release] Use github-api commit mode for signed commits
2026-04-24 23:31:51 -04:00
Jude Gao 660ea3ea20 [CLI] Remove auto-retry of non-model failures (#118) 2026-04-24 21:52:45 -04:00
github-actions[bot] 4b81d0f676 Version Packages (#116)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@vercel/agent-eval@0.12.1
2026-04-17 03:09:12 +08:00
Jude Gao a3c2136f03 [Sandbox] Reconnect on terminated streams to avoid spurious failures on long commands (#115) 2026-04-16 15:06:15 -04:00
github-actions[bot] 69db6fca7b Version Packages (#114)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@vercel/agent-eval@0.12.0
2026-04-16 11:39:53 -04:00
Jude Gao a209ae099f [Claude Code] Forward cliPackage and effort agentOptions to the CLI (#113) 2026-04-16 11:38:02 -04:00
github-actions[bot] 4385c53c84 Version Packages (#111)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@vercel/agent-eval@0.11.0
2026-04-15 10:53:20 -04:00
Jude Gao f838bd7363 [OpenCode] Pass timeout to provider config (#112) 2026-04-15 10:41:25 -04:00
Jude Gao 481637dd6e Auto-retry non-model failures with configurable retry rounds (#110) 2026-04-14 23:26:27 -04:00
github-actions[bot] 01c6e88322 Version Packages (#109)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@vercel/agent-eval@0.10.1
2026-04-14 22:01:08 -04:00
Jude Gao 5185640dde [OpenCode] Deep-merge vercel provider config and use user-space binary path (#108) 2026-04-14 21:57:07 -04:00
Jude Gao cb441f58be fix(ci): remove stale pnpm-lock.yaml to fix changeset publish
Changesets was detecting pnpm-lock.yaml and trying to publish with
pnpm, which isn't installed in CI. The project uses npm.
@vercel/agent-eval@0.10.0
2026-04-14 15:42:58 -04:00
github-actions[bot] 38faa84631 Version Packages (#107)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-14 15:31:11 -04:00
Rune Botten df0dfb6657 fix(codex): append to config.toml instead of overwriting (#104) 2026-04-14 15:28:28 -04:00
Jerilyn Zheng 8d138a28e7 Add agentOptions support to ExperimentConfig (#106)
Allows experiment config files to pass agent-specific options (like
binaryUrl and extraProviders) at runtime via a new agentOptions field.
Previously these could only be set at agent registration time, making
configs for unreleased models non-replicable.

The options flow: ExperimentConfig → runner → AgentRunOptions → agent.run().

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 15:27:00 -04:00
Jude Gao d4c0a01a08 gpt 5.4 integration test 2026-03-21 13:43:14 -04:00
github-actions[bot] 90f33d8e6c Version Packages (#100)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@vercel/agent-eval@0.9.5
2026-03-21 11:20:08 -04:00
Jude Gao ec11c4a6b5 [CLI] Add override flag to dotenv config to allow shell env vars to take precedence (#99) 2026-03-21 11:07:10 -04:00
github-actions[bot] 7c6fee55eb Version Packages (#98)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@vercel/agent-eval@0.9.4
2026-03-19 10:51:29 -04:00
Jude Gao 4815babe17 Bump minimatch to 10.2.4 to resolve ReDoS CVE (#97)
* Bump minimatch to 10.2.4 to resolve ReDoS CVE

* Fix lockfile: use npm instead of pnpm
2026-03-19 10:49:47 -04:00
github-actions[bot] c9c0db1d7d Version Packages (#93)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@vercel/agent-eval@0.9.3
2026-03-19 01:21:31 -04:00
Jude Gao bb69d68f47 Fix changeset package name to match workspace (#96) 2026-03-19 01:18:42 -04:00
Jude Gao 9dcc63abc6 Use built-in OpenAI provider for Codex (#94) 2026-03-19 01:11:09 -04:00
Jude Gao 6ced2ea189 Strip model prefix from Codex CLI flag for direct API (#95)
* Use built-in OpenAI provider for Codex

* Strip openai/ prefix from --model CLI flag for direct API path

The config.toml correctly strips the provider prefix for direct OpenAI API
usage, but the --model CLI flag still passed the prefixed name (e.g.
"openai/gpt-5.2-codex"), causing a "model not found" error.
2026-03-19 01:03:52 -04:00
Yunfei He 0f9ba7ad7e feat: support CLAUDE_CODE_OAUTH_TOKEN for Claude Code agent (#55)
* feat: support CLAUDE_CODE_OAUTH_TOKEN for Claude Code agent

Allow Claude Pro/Max subscribers to authenticate using their OAuth token
instead of requiring a separate ANTHROPIC_API_KEY. When CLAUDE_CODE_OAUTH_TOKEN
is set in the environment, it takes precedence over ANTHROPIC_API_KEY for
non-AI-Gateway configurations.

Closes #54

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* refactor: address PR review comments for OAuth token support

Refactor nested ternary for sandbox env to if/else for readability,
add clarifying comment about credential consistency, and add unit
tests for getApiKeyEnvVar() precedence (gateway > oauth > direct).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 19:33:55 -04:00
Allen Zhou 91207502a1 Merge pull request #89 from vercel-labs/changeset-release/main
Version Packages
@vercel/agent-eval@0.9.2
2026-02-25 13:40:35 -08:00
github-actions[bot] fb9ac72ea9 Version Packages 2026-02-25 21:39:31 +00:00
Allen Zhou 5aa83e4efd best effort transcript caputre 2026-02-25 15:38:48 -06:00
Allen Zhou 45ed0f2e6d Merge pull request #87 from vercel-labs/changeset-release/main
Version Packages
@vercel/agent-eval@0.9.1
2026-02-25 11:51:19 -08:00
github-actions[bot] 49548ba3a0 Version Packages 2026-02-25 19:50:13 +00:00
Allen Zhou eb0eea919a Vercel Sandbox config 2026-02-25 13:49:38 -06:00
Allen Zhou 8507f17559 Merge pull request #86 from vercel-labs/changeset-release/main
Version Packages
@vercel/agent-eval@0.9.0
2026-02-20 14:47:44 -08:00
github-actions[bot] 512f29972e Version Packages 2026-02-20 22:47:26 +00:00
Allen Zhou 3a4544ff03 Merge pull request #85 from vercel-labs/allen/inject-o11y
[o11y] asserting agent behavior
2026-02-20 14:46:06 -08:00
Allen Zhou 097490384c asserting agent behavior 2026-02-20 13:59:49 -08:00
github-actions[bot] e514739637 Version Packages (#78)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@vercel/agent-eval@0.8.0
2026-02-17 22:57:42 -08:00
Jude Gao 065afc909f Revert "[Classifier] Add "eval" failure type for flawed eval tests (#79)" (#82)
This reverts commit 683e681b7d.
2026-02-17 17:10:37 -08:00
Jude Gao 330ec5e8b7 [Classifier] Switch to Haiku 4.5 and parallelize classification (#81)
* [Classifier] Upgrade classification model to Claude Sonnet 4.6

* [Classifier] Parallelize classification with p-limit and add dashboard progress

Run up to 4 classifications concurrently using p-limit instead of a
sequential for-loop. The dashboard now shows "classifying N/M…" so
users can track per-eval progress during the classification phase.

* [Classifier] Switch to Haiku 4.5 for classification

Haiku is faster and cheaper while still capable enough for the
classification task, especially with 4 concurrent classifications.
2026-02-17 17:06:55 -08:00
Jude Gao 620fb473ad [CLI] run-all subcommand options like --dry are intercepted by the parent program (#80)
* [CLI] run-all subcommand options like --dry are intercepted by the parent program

* Add changeset
2026-02-17 16:46:04 -08:00
Jude Gao 683e681b7d [Classifier] Add "eval" failure type for flawed eval tests (#79) 2026-02-17 16:28:03 -08:00
Jude Gao c8bcde36d1 [Runner] Retry eval attempts on 429 rate limiting with exponential backoff (#77)
* [Runner] Retry eval attempts on 429 rate limiting with exponential backoff

* Add changeset

* Add StartRateLimiter and switch to anomaly-based retry detection

- Add StartRateLimiter class to throttle sandbox starts across experiments
  (20 starts per 2s window) to prevent 429s at the source
- Replace 429 string matching with anomaly detection: retry any failure
  that completes in <5s, since real evals take minutes
- Move progress events (eval:start, eval:complete, earlyExit) outside
  runAttempt so they fire correctly after retries

* Fix runner tests: exclude timeouts from retry, bump mock durations above anomaly threshold
2026-02-17 12:06:10 -08:00
Paolo Ricciuti aca7f85003 Merge pull request #76 from vercel-labs/changeset-release/main
Version Packages
@vercel/agent-eval@0.7.1
2026-02-16 20:19:53 +01:00