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

Function print_detected_agents

src/cli/cli.c:8266–8311  ·  view source on GitHub ↗

Print detected agent names on a single line. */

Source from the content-addressed store, hash-verified

8264
8265/* Print detected agent names on a single line. */
8266static void print_detected_agents(const cbm_detected_agents_t *a, const char *home) {
8267 struct {
8268 bool flag;
8269 const char *name;
8270 } agents[] = {
8271 {a->claude_code, "Claude-Code"},
8272 {a->codex, "Codex"},
8273 {a->gemini, "Gemini-CLI"},
8274 {a->zed, "Zed"},
8275 {a->opencode, "OpenCode"},
8276 {a->antigravity, "Antigravity"},
8277 {a->aider, "Aider"},
8278 {a->kilocode, "KiloCode"},
8279 {a->vscode, "VS-Code"},
8280 {a->cursor, "Cursor"},
8281 {a->windsurf, "Windsurf"},
8282 {a->augment, "Augment-Auggie"},
8283 {a->openclaw, "OpenClaw"},
8284 {a->kiro, "Kiro"},
8285 {a->junie, "Junie"},
8286 {a->hermes, "Hermes"},
8287 {a->openhands, "OpenHands"},
8288 {a->cline, "Cline"},
8289 {a->warp, "Warp"},
8290 {a->qwen, "Qwen-Code"},
8291 {a->copilot_cli, "Copilot-CLI"},
8292 {a->factory_droid, "Factory-Droid"},
8293 {a->crush, "Crush"},
8294 {a->goose, "Goose"},
8295 {a->mistral_vibe, "Mistral-Vibe"},
8296 {a->grok, "Grok-Build"},
8297 };
8298 printf("Detected agents:");
8299 bool any = false;
8300 for (int i = 0; i < (int)(sizeof(agents) / sizeof(agents[0])); i++) {
8301 if (agents[i].flag) {
8302 printf(" %s", agents[i].name);
8303 any = true;
8304 }
8305 }
8306 print_detected_registry_agents(home, &any);
8307 if (!any) {
8308 printf(" (none)");
8309 }
8310 printf("\n\n");
8311}
8312
8313/* Install Claude Code-specific configs (skills, MCP, hooks). */
8314/* ── Install plan recorder (issue #388) ────────────────────────────

Callers 1

Calls 1

Tested by

no test coverage detected