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
feat: ix map auto-ingests path before mapping
kagebinaryb20ce218ba15
diff --git a/ix-cli/src/cli/commands/ingest.ts b/ix-cli/src/cli/commands/ingest.tsindex 4ab59eba..206987d3 100644--- a/ix-cli/src/cli/commands/ingest.ts+++ b/ix-cli/src/cli/commands/ingest.ts@@ -90,7 +90,7 @@ export function registerIngestCommand(program: Command): void {// File ingestion — parse locally, send via /v1/patch// ----------------------------------------------------------------------------async function ingestFiles(+export async function ingestFiles(path: string,opts: { recursive?: boolean; force?: boolean; format: string; root?: string }): Promise<void> {diff --git a/ix-cli/src/cli/commands/map.ts b/ix-cli/src/cli/commands/map.tsindex 70a56491..d10cbcef 100644--- a/ix-cli/src/cli/commands/map.ts+++ b/ix-cli/src/cli/commands/map.ts@@ -4,6 +4,7 @@ import chalk from "chalk";import { IxClient } from "../../client/api.js";import { getEndpoint } from "../config.js";import { bootstrap } from "../bootstrap.js";+import { ingestFiles } from "./ingest.js";interface MapRegion {id: string;@@ -68,6 +69,12 @@ Examples:return;}+ // Ingest the path before mapping so the graph is up to date+ if (opts.format !== "json") {+ process.stderr.write(chalk.dim("Ingesting...\n"));+ }+ await ingestFiles(cwd, { recursive: true, format: "text" });+const client = new IxClient(getEndpoint());if (opts.format !== "json") {