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

Function install_pochi_durable_context

src/cli/cli.c:9548–9565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9546}
9547
9548static void install_pochi_durable_context(const char *home, bool force, bool dry_run) {
9549 char instructions_path[CLI_BUF_1K];
9550 char skills_dir[CLI_BUF_1K];
9551 char agent_path[CLI_BUF_1K];
9552 snprintf(instructions_path, sizeof(instructions_path), "%s/.pochi/README.pochi.md", home);
9553 snprintf(skills_dir, sizeof(skills_dir), "%s/.pochi/skills", home);
9554 snprintf(agent_path, sizeof(agent_path), "%s/.pochi/agents/codebase-memory.md", home);
9555 install_managed_agent_instructions("Pochi", instructions_path, dry_run);
9556 install_agent_skill("Pochi", skills_dir, force, dry_run);
9557 install_tiered_agent_profiles(
9558 (cbm_tiered_profile_set_t){
9559 .label = "Pochi",
9560 .verify_path = agent_path,
9561 .legacy_verify_content = legacy_pochi_verify_agent_content,
9562 .dialect = CBM_GRAPH_DIALECT_POCHI,
9563 },
9564 dry_run);
9565}
9566
9567static void install_omp_durable_context(const cbm_agent_registry_context_t *registry, bool force,
9568 bool dry_run) {

Callers 1

Calls 3

install_agent_skillFunction · 0.85

Tested by

no test coverage detected