Problem
agentv eval checks required_version from .agentv/config.yaml and prompts the user to update if there's a mismatch (#1125, merged in #1126). However, agentv studio and agentv serve do not perform this check — they launch silently even if the installed version doesn't satisfy the project's requirement.
Desired behavior
When agentv studio or agentv serve is run in a repo with .agentv/config.yaml containing required_version:
- Interactive (TTY): Same "Update now? (Y/n)" prompt as
agentv eval
- Non-interactive: Warn to stderr, continue
This covers the primary use case: a developer running Studio locally in a single project.
Scope
Files to change
apps/cli/src/commands/results/serve.ts — add enforceRequiredVersion() call before starting the server, similar to run-eval.ts:988-992
Related
Problem
agentv evalchecksrequired_versionfrom.agentv/config.yamland prompts the user to update if there's a mismatch (#1125, merged in #1126). However,agentv studioandagentv servedo not perform this check — they launch silently even if the installed version doesn't satisfy the project's requirement.Desired behavior
When
agentv studiooragentv serveis run in a repo with.agentv/config.yamlcontainingrequired_version:agentv evalThis covers the primary use case: a developer running Studio locally in a single project.
Scope
Files to change
apps/cli/src/commands/results/serve.ts— addenforceRequiredVersion()call before starting the server, similar torun-eval.ts:988-992Related