| 2478 | } |
| 2479 | |
| 2480 | static int cbm_remove_openclaw_compaction(const char *config_path) { |
| 2481 | static const char *const path[] = {"agents", "defaults", "compaction"}; |
| 2482 | return cbm_json_like_remove_string_at_path(config_path, path, 3U, "postCompactionSections", |
| 2483 | cbm_openclaw_compaction_section) == 0 |
| 2484 | ? CLI_OK |
| 2485 | : CLI_ERR; |
| 2486 | } |
| 2487 | |
| 2488 | /* ── OpenHands settings.json mcp_config (#1826) ─────────────── |
| 2489 | * The mcpServers-style config installed above (cbm_install_editor_mcp into |
no test coverage detected