You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat(cli): add *.eval.ts auto-discovery (#1116)
Add TypeScript eval file support to `agentv run`. TS eval files export
an EvalConfig (default, `config`, or `evalConfig` named export) and are
discovered alongside YAML files via the same glob/path resolution.
Changes:
- shared.ts: Include .ts in file extension regex and directory auto-glob
- config-loader.ts: Add **/evals/**/*.eval.ts to DEFAULT_EVAL_PATTERNS
- jsonl-parser.ts: Add typescript format detection in detectFormat()
- ts-eval-loader.ts: New loader that imports TS modules and extracts EvalConfig
- run-eval.ts: Integrate TS files through evaluate() with CLI overrides,
feeding results through the same artifact/reporting pipeline
- run.ts: Update CLI description to mention .ts files
- index.ts: Export loadTsEvalFile and TsEvalResult from @agentv/core
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* refactor(cli): unify TypeScript eval loading with suite pipeline (#1116)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments