After installing code-abyss v4.7.1 for Codex on Windows, running codex fails:
Error loading config.toml: invalid type: map, expected a sequence
in `hooks`
The generated ~/.codex/config.toml contains:
[hooks.SessionStart]
timeout = 10
command = "bash \"C:/Users/Admin/.codex/skills/indexing-code/hooks/common/session-init.sh\""
matcher = "startup|resume"
[hooks.PreToolUse]
timeout = 5
command = "bash \"C:/Users/Admin/.codex/skills/indexing-code/hooks/common/pre-edit-check.sh\""
matcher = "Bash|shell"
But Codex expects array-style hooks:
[[hooks.SessionStart]]
matcher = "startup|resume"
[[hooks.SessionStart.hooks]]
type = "command"
command = "bash \"C:/Users/Admin/.codex/skills/indexing-code/hooks/common/session-init.sh\""
timeout = 10
[[hooks.PreToolUse]]
matcher = "Bash|shell"
[[hooks.PreToolUse.hooks]]
type = "command"
command = "bash \"C:/Users/Admin/.codex/skills/indexing-code/hooks/common/pre-edit-check.sh\""
timeout = 5
Could you update the Codex installer to generate the new hooks schema?
Also, on Windows, command = "bash ..." may fail if Git Bash is not in PATH, so command_windows support would be helpful.
After installing
code-abyss v4.7.1for Codex on Windows, runningcodexfails:The generated
~/.codex/config.tomlcontains:But Codex expects array-style hooks:
Could you update the Codex installer to generate the new hooks schema?
Also, on Windows,
command = "bash ..."may fail if Git Bash is not in PATH, socommand_windowssupport would be helpful.