| 3432 | } |
| 3433 | |
| 3434 | int cbm_remove_codex_hooks(const char *config_path) { |
| 3435 | return config_path && |
| 3436 | cbm_toml_remove_managed_block(config_path, CODEX_HOOK_BEGIN, CODEX_HOOK_END) == 0 |
| 3437 | ? CLI_OK |
| 3438 | : CLI_ERR; |
| 3439 | } |
| 3440 | |
| 3441 | /* ── OpenCode MCP config (JSON with "mcp" key) ───────────────── */ |
| 3442 |
no test coverage detected