Commit Graph

56 Commits

Author SHA1 Message Date
github-actions[bot] 28b64c8bee Version Packages 2026-02-13 16:08:45 +00:00
Jude Gao 9558ee90b9 Remove debug console.log from saveResults (#75)
Removes a debug console.log statement that was left in the saveResults function. The statement was logging internal state (copyFiles, hasGeneratedFiles, hasDeletedFiles, options, and runData) during result persistence, which is unnecessary noise in production output.

Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
2026-02-13 11:08:00 -05:00
github-actions[bot] a784dcf962 Version Packages (#72)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-12 16:56:35 -05:00
Jude Gao 087415c73d [O11y] Add transcript parsers for Gemini and Cursor agents (#74)
* [O11y] Add transcript parsers for Gemini and Cursor agents

* Handle Gemini direct-API transcript format

The Gemini agent has two output formats: the CLI format (via OpenCode
framework with part.tool/part.state) and the direct-API format (with
tool_name/parameters and separate tool_result events). The initial
parser only handled the CLI format, leaving direct-API transcripts
with all-zero metrics. This adds handling for both.

* Aggregate Gemini direct-API delta messages into single turns

Contiguous assistant delta messages are now merged into one message
event so totalTurns reflects actual conversation turns instead of 0.

* Add changeset
2026-02-12 16:50:18 -05:00
Jude Gao be7ca1560e [Agents] Add Cursor CLI agent with direct API support (#73)
* [Agents] Add Cursor CLI agent with direct API support

Add Cursor CLI as a new agent to the eval framework, enabling testing against Cursor models using direct API access via `CURSOR_API_KEY`. The implementation follows the established pattern from existing agents (Claude Code, Codex, Gemini) and integrates seamlessly with the sandbox infrastructure.

Cursor CLI uses a different interaction model than other agents. Unlike the `agent chat` subcommand syntax, the correct invocation is to pass the prompt as the first positional argument, then use the `--print` flag to enable non-interactive mode (required for scripts and headless execution). The `--force` flag is added to automatically approve all CLI operations without waiting for user confirmation. This combination ensures the agent completes successfully in sandboxed environments without hanging on interactive prompts.

The agent installation uses Cursor's official shell-based installation method (`curl https://cursor.com/install -fsSL | bash`), which handles proper setup of the CLI environment. Once installed, prompts are executed as `agent "<prompt>" --print --force`, capturing both stdout and stderr as output. The implementation includes transcript extraction that filters for JSON-formatted events when available, falling back to raw text output if no structured format is detected. This matches the approach used by other agents but adapts to Cursor's plain-text output characteristics.

The agent uses `composer-1.5` as the default model and integrates with all eval framework features including file capture, script validation, and test execution. Integration tests verify both basic eval execution and result output structure matching. The agent is fully typed in the framework's type system and added to the configuration schema alongside other direct-API agents.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>

* Fix missing --model and --output-format flags, update env var docs

- Pass --model to Cursor CLI so user-configured model is actually used
- Add --output-format stream-json for structured JSONL transcripts
- Update changeset to reflect correct default model (composer-1.5)
- Add GEMINI_API_KEY and CURSOR_API_KEY to README env var table

---------

Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
2026-02-12 15:08:22 -05:00
Jude Gao 8f198d4d18 [Agents] Add Gemini CLI agent with direct API and stream-json transcript support (#71) 2026-02-12 14:15:34 -05:00
github-actions[bot] b58bc3d8d7 Version Packages 2026-02-12 14:56:51 +00:00
paoloricciuti 93c1a6390a fix: add all the files to track newly created files 2026-02-12 15:24:14 +01:00
github-actions[bot] 37dbeaf29c Version Packages 2026-02-11 20:56:57 +00:00
paoloricciuti 83be77b5b7 Merge remote-tracking branch 'origin/main' into save-changed-files 2026-02-11 16:42:34 +01:00
paoloricciuti f7b663a4ed chore: changesets 2026-02-11 16:39:28 +01:00
github-actions[bot] 4f9d492e8d Version Packages (#62)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-10 18:06:50 -05:00
Jude Gao bc5114cea6 [CLI] Live terminal dashboard for parallel experiment runs (#63)
* [CLI] Live terminal dashboard for parallel experiment runs

* Fix lint errors: remove unused renderDetailLine and verbose
2026-02-10 17:55:04 -05:00
paoloricciuti b846fc7ec7 fix: allow user defined tests verifyNoTestFiles 2026-02-10 15:18:55 +01:00
github-actions[bot] 2455c8be48 Version Packages 2026-02-09 22:09:59 +00:00
Allen Zhou e42dbf7d4c playground changeset 2026-02-09 14:07:03 -08:00
Allen Zhou 6cd92aa8f6 changeset 2026-02-09 13:52:00 -08:00
github-actions[bot] bf99e421b3 Version Packages (#57)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-09 14:28:15 -05:00
Jude Gao 5e451599e0 [Codex] Support reasoning effort via model string, fix Docker CA certs, and improve npm install reliability (#56) 2026-02-09 14:25:04 -05:00
github-actions[bot] 4497ed66ae Version Packages 2026-02-08 20:23:01 +00:00
paoloricciuti 465fbac30b fix: allow VERCEL_OIDC_TOKEN if AI_GATEWAY_API_KEY is not set 2026-02-08 19:48:18 +01:00
github-actions[bot] cfa2555c19 Version Packages (#48)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-08 01:05:49 -05:00
Jude Gao e10e69b2b3 Fingerprint reuse was never persisting fingerprints to results (#47) 2026-02-08 01:04:49 -05:00
github-actions[bot] 2eef698793 Version Packages (#45)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-08 00:31:38 -05:00
Jude Gao 9f7af6276c Add changeset for run-all and related features (#44) 2026-02-08 00:30:21 -05:00
github-actions[bot] 3885f2ba08 Version Packages 2026-02-07 22:41:12 +00:00
Allen Zhou 59ceacaf77 Merge pull request #36 from vercel-labs/allen/recursive-directory-playground-support
fix: support recursive playground directory discovery
2026-02-07 14:40:38 -08:00
Allen Zhou 621e9893e5 support recursive playground directory discovery 2026-02-07 14:40:01 -08:00
paoloricciuti 8d712a6350 chore: changesets for playground 2026-02-07 22:27:03 +01:00
Paolo Ricciuti 19f9ec73a0 chore: change to minor 2026-02-07 22:04:03 +01:00
paoloricciuti 01cff7846c fix: always add model name to experiment run 2026-02-07 18:38:13 +01:00
github-actions[bot] a7561caf63 Version Packages 2026-02-07 01:53:07 +00:00
Allen Zhou 08499abc1b fix playground ts error 2026-02-06 17:52:30 -08:00
github-actions[bot] dadcc4a421 Version Packages 2026-02-07 01:20:32 +00:00
Allen Zhou a61c89e371 nested eval directories 2026-02-06 15:44:30 -08:00
github-actions[bot] d71af512b7 Version Packages 2026-02-06 22:37:51 +00:00
Allen Zhou 6159d01b6e Run playground in production mode 2026-02-06 14:37:05 -08:00
github-actions[bot] 332f1e0902 Version Packages 2026-02-06 22:20:55 +00:00
Allen Zhou 23e2d439e6 add ci + fix release 2026-02-06 14:17:49 -08:00
github-actions[bot] 46ad08b943 Version Packages 2026-02-06 22:11:52 +00:00
Allen Zhou 2024a3f99c Merge pull request #26 from vercel-labs/allen/init-with-readme
update: add readme to init command
2026-02-06 14:11:07 -08:00
Allen Zhou 6425d0acb4 fix playground build 2026-02-06 14:10:47 -08:00
Allen Zhou 1de4188c92 Merge branch 'main' into allen/init-with-readme 2026-02-06 14:06:48 -08:00
Allen Zhou e788120790 add readme to init command 2026-02-06 14:06:26 -08:00
github-actions[bot] 07e9c686a9 Version Packages 2026-02-06 22:01:30 +00:00
Allen Zhou 4228d3c50b fix react version conflicts when running playground via npx 2026-02-06 14:00:15 -08:00
Allen Zhou 02b86e0b17 fix init 2026-02-06 13:49:35 -08:00
github-actions[bot] dd24108d34 Version Packages 2026-02-06 21:43:42 +00:00
Allen Zhou 5764ca9ec4 fix ts config file loading 2026-02-06 13:38:53 -08:00
github-actions[bot] f7978683c8 Version Packages 2026-02-06 19:40:38 +00:00