Commit Graph

1 Commits

Author SHA1 Message Date
Adam Perry @ OpenAI
45528c5132 Allow overriding Codex package versions (#39298)
## What changed

- Add `--package-version` to set the version written to `codex-package.json`, while retaining the workspace package version as the default.
- Reject values that are not runtime-compatible semantic versions, including overflowing numeric components and numeric prerelease identifiers with leading zeroes.
- Document the new option.

## Testing

- Add unit coverage for valid release, prerelease, and build versions, plus malformed and out-of-range values.

GitOrigin-RevId: cee996a6721e3fac9bd88f0bc0302a7ec7d2b2fb
2026-08-18 22:16:48 +00:00