From 4338c6860fb33b042c26c839f64e4c6b0755225b Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 31 Oct 2026 22:22:44 +0800 Subject: [PATCH] feat: show a real devmap_impact call in the mcp command panel The devmap mcp panel was a single line. It now shows the real ready line, then a devmap_impact call on this repository and the answer, with values captured from a stdio run and trimmed. Still marked illustrative because the call is protocol traffic, not terminal output. --- apps/web/src/data/commands.ts | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/apps/web/src/data/commands.ts b/apps/web/src/data/commands.ts index 779f71c..7d1b9ab 100644 --- a/apps/web/src/data/commands.ts +++ b/apps/web/src/data/commands.ts @@ -215,8 +215,23 @@ export const COMMANDS: CommandEntry[] = [ group: "Serve", summary: "Run DevMap as an MCP server. Your agent starts it and calls tools; you rarely run it by hand.", source: "illustrative", + // The ready line is the real stderr of `devmap mcp`. The call below it is protocol + // traffic from a client, not terminal output: values come from calling devmap_impact + // on this repository over stdio, trimmed. out: [ - "· DevMap MCP server ready (root: ~/your-project)" + "· DevMap MCP server ready (root: ~/devmap)", + "", + "§ Agent calls devmap_impact", + "→ file: packages/cli/src/commands/analyze.ts, depth: 2", + "", + "§ DevMap answers", + "Features CLI Commands, Caching", + "Dependents 6 direct, 7 within 2 steps", + "◆ packages/cli/src/index.ts", + "◆ packages/cli/src/mcp/refresh.ts", + "· … 4 more", + "", + "+ ◆ snapshot.stale: false" ] } ];