| 9296 | } |
| 9297 | |
| 9298 | static void install_codebuddy_durable_context(const char *home, bool force, bool dry_run) { |
| 9299 | char instructions_path[CLI_BUF_1K]; |
| 9300 | char skills_dir[CLI_BUF_1K]; |
| 9301 | char agent_path[CLI_BUF_1K]; |
| 9302 | snprintf(instructions_path, sizeof(instructions_path), "%s/.codebuddy/CODEBUDDY.md", home); |
| 9303 | snprintf(skills_dir, sizeof(skills_dir), "%s/.codebuddy/skills", home); |
| 9304 | snprintf(agent_path, sizeof(agent_path), "%s/.codebuddy/agents/codebase-memory.md", home); |
| 9305 | install_managed_agent_instructions("CodeBuddy Code CLI", instructions_path, dry_run); |
| 9306 | install_agent_skill("CodeBuddy Code CLI", skills_dir, force, dry_run); |
| 9307 | install_tiered_agent_profiles( |
| 9308 | (cbm_tiered_profile_set_t){ |
| 9309 | .label = "CodeBuddy Code CLI", |
| 9310 | .verify_path = agent_path, |
| 9311 | .legacy_verify_content = legacy_codebuddy_verify_agent_content, |
| 9312 | .dialect = CBM_GRAPH_DIALECT_CODEBUDDY, |
| 9313 | }, |
| 9314 | dry_run); |
| 9315 | } |
| 9316 | |
| 9317 | static void install_bob_durable_context(const char *home, bool ide, bool force, bool dry_run) { |
| 9318 | char rules_path[CLI_BUF_1K]; |
no test coverage detected