| 8095 | } |
| 8096 | |
| 8097 | static void install_pi_durable_context(const char *home, const char *binary_path, bool force, |
| 8098 | bool dry_run) { |
| 8099 | char instructions_path[CLI_BUF_1K]; |
| 8100 | char skills_dir[CLI_BUF_1K]; |
| 8101 | char extension_path[CLI_BUF_1K]; |
| 8102 | snprintf(instructions_path, sizeof(instructions_path), "%s/.pi/agent/AGENTS.md", home); |
| 8103 | snprintf(skills_dir, sizeof(skills_dir), "%s/.pi/agent/skills", home); |
| 8104 | snprintf(extension_path, sizeof(extension_path), "%s/.pi/agent/extensions/cbmem.ts", home); |
| 8105 | install_managed_agent_instructions("Pi", instructions_path, dry_run); |
| 8106 | install_agent_skill("Pi", skills_dir, force, dry_run); |
| 8107 | /* pi has no MCP client, so this bridge is its ONLY route to the graph. */ |
| 8108 | install_generated_client_extension("Pi", extension_path, binary_path, cbm_client_adapter_pi, |
| 8109 | dry_run); |
| 8110 | } |
| 8111 | |
| 8112 | static void install_kimi_durable_context(const cbm_agent_registry_context_t *registry, |
| 8113 | const char *binary_path, bool force, bool dry_run) { |
no test coverage detected