| 3488 | } |
| 3489 | |
| 3490 | int cbm_remove_codex_hooks(const char *config_path) { |
| 3491 | return config_path && |
| 3492 | cbm_toml_remove_managed_block(config_path, CODEX_HOOK_BEGIN, CODEX_HOOK_END) == 0 |
| 3493 | ? CLI_OK |
| 3494 | : CLI_ERR; |
| 3495 | } |
| 3496 | |
| 3497 | /* ── OpenCode MCP config (JSON with "mcp" key) ───────────────── */ |
| 3498 |
no test coverage detected