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

Function install_pochi_durable_context

src/cli/cli.c:8503–8520  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8501}
8502
8503static void install_pochi_durable_context(const char *home, bool force, bool dry_run) {
8504 char instructions_path[CLI_BUF_1K];
8505 char skills_dir[CLI_BUF_1K];
8506 char agent_path[CLI_BUF_1K];
8507 snprintf(instructions_path, sizeof(instructions_path), "%s/.pochi/README.pochi.md", home);
8508 snprintf(skills_dir, sizeof(skills_dir), "%s/.pochi/skills", home);
8509 snprintf(agent_path, sizeof(agent_path), "%s/.pochi/agents/codebase-memory.md", home);
8510 install_managed_agent_instructions("Pochi", instructions_path, dry_run);
8511 install_agent_skill("Pochi", skills_dir, force, dry_run);
8512 install_tiered_agent_profiles(
8513 (cbm_tiered_profile_set_t){
8514 .label = "Pochi",
8515 .verify_path = agent_path,
8516 .legacy_verify_content = legacy_pochi_verify_agent_content,
8517 .dialect = CBM_GRAPH_DIALECT_POCHI,
8518 },
8519 dry_run);
8520}
8521
8522static void install_agent_client_registry(const char *home, const char *binary_path,
8523 bool inherit_claude_session, bool force, bool dry_run) {

Callers 1

Calls 3

install_agent_skillFunction · 0.85

Tested by

no test coverage detected