MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / install_pi_durable_context

Function install_pi_durable_context

src/cli/cli.c:8184–8197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8182}
8183
8184static void install_pi_durable_context(const char *home, const char *binary_path, bool force,
8185 bool dry_run) {
8186 char instructions_path[CLI_BUF_1K];
8187 char skills_dir[CLI_BUF_1K];
8188 char extension_path[CLI_BUF_1K];
8189 snprintf(instructions_path, sizeof(instructions_path), "%s/.pi/agent/AGENTS.md", home);
8190 snprintf(skills_dir, sizeof(skills_dir), "%s/.pi/agent/skills", home);
8191 snprintf(extension_path, sizeof(extension_path), "%s/.pi/agent/extensions/cbmem.ts", home);
8192 install_managed_agent_instructions("Pi", instructions_path, dry_run);
8193 install_agent_skill("Pi", skills_dir, force, dry_run);
8194 /* pi has no MCP client, so this bridge is its ONLY route to the graph. */
8195 install_generated_client_extension("Pi", extension_path, binary_path, cbm_client_adapter_pi,
8196 dry_run);
8197}
8198
8199static void install_kimi_durable_context(const cbm_agent_registry_context_t *registry,
8200 const char *binary_path, bool force, bool dry_run) {

Callers 1

Tested by

no test coverage detected