Understand any codebase instantly. System intelligence for codebases, built for humans and AI.
TypeScript aiai-memoryclaude-codeclicode-analysiscode-mappingcode-memorycodebase-understandingcodexdeveloper-toolsllmopenclawpersistent-memoryprogram-analysissoftware-architecturesystem-intelligencesystem-mapping
Merge remote-tracking branch 'origin/main' into fix/mcp-output-rows
KageBinary455d530be64b
diff --cc ix-cli/src/cli/commands/callers.tsindex 229b1211,29142ff0..f077f927--- a/ix-cli/src/cli/commands/callers.ts+++ b/ix-cli/src/cli/commands/callers.ts@@@ -6,12 -6,13 +6,14 @@@ import type { Command } from "commanderimport chalk from "chalk";import { IxClient } from "../../client/api.js";import { getEndpoint, resolveWorkspaceRoot } from "../config.js";- import { formatEdgeResults, printJson, relativePath, sliceEdgeResults } from "../format.js";+ import { formatEdgeResults, printJson, relativePath, sliceEdgeResults, type Diagnostic } from "../format.js";+ import { checkGraphHealth, graphHealthProse, isUnhealthy, type GraphHealth } from "../graph-health.js";import { parsePickOption } from "../options.js";- import { resolveFileOrReport, printResolved } from "../resolve.js";+ import { activeReadScope, resolveFileOrReport, printResolved } from "../resolve.js";import { stderr } from "../stderr.js";import { llmLine } from "../llm.js";+import { edgeTargetFor, rankTextUses, withEdgeSites } from "../edge-sites.js";+ import { renderWarning } from "../ui.js";const execFileAsync = promisify(execFile);@@@ -120,11 -141,9 +148,11 @@@ export function registerCallersCommand(} catch { /* ripgrep not available or no matches */ }// Both graph and text empty- formatEdgeResults(sliceEdgeResults([], limit), "callers", target.name, opts.format, target, "graph");+ formatEdgeResults(sliceEdgeResults([], limit), "callers", target.name, opts.format, target, "graph", health.diagnostics);} else {- formatEdgeResults(sliceEdgeResults(result.nodes, limit), "callers", target.name, opts.format, target, "graph", health.diagnostics);+ const slice = sliceEdgeResults(result.nodes, limit);+ const site = await edgeTargetFor(client, target, "callers");- formatEdgeResults({ ...slice, rows: withEdgeSites(slice.rows, "callers", site) }, "callers", target.name, opts.format, target, "graph");++ formatEdgeResults({ ...slice, rows: withEdgeSites(slice.rows, "callers", site) }, "callers", target.name, opts.format, target, "graph", health.diagnostics);}});@@@ -149,8 -169,8 +178,10 @@@direction: "out",predicates: ["CALLS", "REFERENCES"],});+ const health = await healthDiagnostics(healthCheck);+ bannerOverRows(health, opts.format, result.nodes.length);- formatEdgeResults(sliceEdgeResults(result.nodes, calleeLimit), "callees", target.name, opts.format, target, "graph", health.diagnostics);+ const slice = sliceEdgeResults(result.nodes, calleeLimit);+ const site = await edgeTargetFor(client, target, "callees");- formatEdgeResults({ ...slice, rows: withEdgeSites(slice.rows, "callees", site) }, "callees", target.name, opts.format, target, "graph");++ formatEdgeResults({ ...slice, rows: withEdgeSites(slice.rows, "callees", site) }, "callees", target.name, opts.format, target, "graph", health.diagnostics);});}