Skip to content

v4.7.2 — Codex hooks TOML schema fix

Latest

Choose a tag to compare

@telagod telagod released this 13 Jun 14:00
04a973a

Patch release.

Fixed

  • Codex hooks now use the array-of-tables schema (#49). Codex 0.125+ deprecated the flat [hooks.X] form; installs produced a config.toml that failed to load (invalid type: map, expected a sequence in hooks), breaking codex startup. The installer now emits [[hooks.X]] + [[hooks.X.hooks]], with clean uninstall, idempotent re-runs, stale-path re-anchoring, and non-destructive skip of user-owned hooks preserved.
  • Windows command_windows override. On Windows the installer locates Git Bash and emits command_windows, so hook scripts run even when Git Bash is not on PATH.

Full diff: v4.7.1...v4.7.2