Expand description
cargo xtask codex-schema regen <dir> - rebuilds the vendored schema
assets from a fresh codex app-server generate-json-schema dump, and
stamps the codex version they were generated from for staleness
detection (see crates/shared/codex-app-server-client/build.rs).
Functionsยง
- assert_
no_ ๐v2_ refs - Mirrors the Python originalโs final sanity assertion: every
#/definitions/v2/Xref must have been rewritten to#/definitions/Xbefore writing - a leftover match means the ref-rewrite pass missed something and the output would fail to resolve. - capture_
codex_ ๐version - parse_
args ๐ - regen
- run
- stamp_
codex_ ๐version