Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.
Python aicode-complexitycode-healthcode-intelligencecode-qualitydead-codedeveloper-toolsdocumentationgit-analyticsmcpopen-sourcepythonrefactoringstatic-analysistechnical-debt
fix(ui): align chat tool labels with the live 7-tool registry (#1417)
Felix-Ayush81b6e8a56a37
diff --git a/packages/ui/src/chat/source-citations.tsx b/packages/ui/src/chat/source-citations.tsxindex 7907c4e28..2fa56bfe7 100644--- a/packages/ui/src/chat/source-citations.tsx+++ b/packages/ui/src/chat/source-citations.tsx@@ -118,21 +118,6 @@ export function extractSources(}}}-- if (tc.name === "get_architecture_diagram") {- const pageId = "architecture_diagram:";- if (!seen.has(pageId)) {- seen.add(pageId);- sources.push({- id: `${tc.id}:arch-diagram`,- pageId,- title: "Knowledge Graph",- pageType: "architecture_diagram",- targetPath: "",- toolName: tc.name,- });- }- }}return sources;diff --git a/packages/ui/src/chat/tool-call-block.tsx b/packages/ui/src/chat/tool-call-block.tsxindex f46709f88..ecb7c2b1b 100644--- a/packages/ui/src/chat/tool-call-block.tsx+++ b/packages/ui/src/chat/tool-call-block.tsx@@ -21,11 +21,10 @@ const TOOL_LABELS: Record<string, string> = {get_overview: "Getting codebase overview",get_context: "Looking up context",get_risk: "Assessing risk",+ get_change_risk: "Scoring change risk",get_why: "Querying decisions",search_codebase: "Searching codebase",- get_dependency_path: "Tracing dependency path",get_dead_code: "Checking dead code",- get_architecture_diagram: "Generating architecture diagram",};const MICRO_LABEL =