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

Function print_detected_agents

src/cli/cli.c:7069–7113  ·  view source on GitHub ↗

Print detected agent names on a single line. */

Source from the content-addressed store, hash-verified

7067
7068/* Print detected agent names on a single line. */
7069static void print_detected_agents(const cbm_detected_agents_t *a, const char *home) {
7070 struct {
7071 bool flag;
7072 const char *name;
7073 } agents[] = {
7074 {a->claude_code, "Claude-Code"},
7075 {a->codex, "Codex"},
7076 {a->gemini, "Gemini-CLI"},
7077 {a->zed, "Zed"},
7078 {a->opencode, "OpenCode"},
7079 {a->antigravity, "Antigravity"},
7080 {a->aider, "Aider"},
7081 {a->kilocode, "KiloCode"},
7082 {a->vscode, "VS-Code"},
7083 {a->cursor, "Cursor"},
7084 {a->windsurf, "Windsurf"},
7085 {a->augment, "Augment-Auggie"},
7086 {a->openclaw, "OpenClaw"},
7087 {a->kiro, "Kiro"},
7088 {a->junie, "Junie"},
7089 {a->hermes, "Hermes"},
7090 {a->openhands, "OpenHands"},
7091 {a->cline, "Cline"},
7092 {a->warp, "Warp"},
7093 {a->qwen, "Qwen-Code"},
7094 {a->copilot_cli, "Copilot-CLI"},
7095 {a->factory_droid, "Factory-Droid"},
7096 {a->crush, "Crush"},
7097 {a->goose, "Goose"},
7098 {a->mistral_vibe, "Mistral-Vibe"},
7099 };
7100 printf("Detected agents:");
7101 bool any = false;
7102 for (int i = 0; i < (int)(sizeof(agents) / sizeof(agents[0])); i++) {
7103 if (agents[i].flag) {
7104 printf(" %s", agents[i].name);
7105 any = true;
7106 }
7107 }
7108 print_detected_registry_agents(home, &any);
7109 if (!any) {
7110 printf(" (none)");
7111 }
7112 printf("\n\n");
7113}
7114
7115/* Install Claude Code-specific configs (skills, MCP, hooks). */
7116/* ── Install plan recorder (issue #388) ────────────────────────────

Callers 1

Calls 1

Tested by

no test coverage detected