Skip to content

armgit / Ix

Public Imported from GitHub
0

Understand any codebase instantly. System intelligence for codebases, built for humans and AI.

merge: integrate patch/remove-backend-ingestion into feature branch

Tanner Kocher5e51aed3b0ec
diff --cc NOTICE
index 28884be5,28884be5..20d4cedc
--- a/NOTICE
+++ b/NOTICE
@@@ -1,5 -1,5 +1,5 @@@
Ix
--Copyright 2026 Ix Infrastructure
++Copyright 2026 Ix Infrastructure LLC
--This product includes software developed by Ix Infrastructure.
++This product includes software developed by Ix Infrastructure LLC.
diff --cc core-ingestion/src/index.ts
index 78f05b10,e8477f6a..60dd05b8
--- a/core-ingestion/src/index.ts
+++ b/core-ingestion/src/index.ts
@@@ -283,8 -333,8 +333,8 @@@ function unwrapRustCfgMacros(source: st
// Main parse function
// ---------------------------------------------------------------------------
-export function parseFile(filePath: string, source: string): FileParseResult | null {
+export function parseFile(filePath: string, source: string, opts?: { emitChunks?: boolean }): FileParseResult | null {
- const language = languageFromPath(filePath);
+ const language = detectLanguageForSource(filePath, source);
if (!language) return null;
// TypeScript TSX uses a separate grammar
diff --cc ix-cli/src/cli/commands/map.ts
index 52050f00,5c2aae11..8118ff04
--- a/ix-cli/src/cli/commands/map.ts
+++ b/ix-cli/src/cli/commands/map.ts
@@@ -176,19 -169,9 +176,20 @@@ Examples
}
if (mapInterval) { clearInterval(mapInterval); process.stderr.write('\r' + ' '.repeat(60) + '\r'); }
const mapMs = Math.round(performance.now() - mapStart);
+
+ if (silent) {
+ const systems = result.regions.filter(r => r.level === 3).length;
+ const subsystems = result.regions.filter(r => r.level === 2).length;
+ const modules = result.regions.filter(r => r.level === 1).length;
+ process.stderr.write(
+ `map: ${result.file_count} files · ${systems}s/${subsystems}ss/${modules}m regions · ${mapMs}ms\n`
+ );
+ return;
+ }
+
if (opts.format !== "json") {
- process.stderr.write(chalk.dim(` ingest ${ingestMs}ms · map ${mapMs}ms\n`));
+ const mapSec = (mapMs / 1000).toFixed(1);
+ process.stderr.write(chalk.dim(` Mapped in ${mapSec}s\n`));
}
const minConf = parseFloat(opts.minConfidence ?? "0");