Turbocharge Claude Code, Cursor, Codex, Gemini & every coding agent: faster, cheaper, with contextual understanding specific to your codebase.
TypeScript ai-agentsanthropicclaude-codeclicode-graphcodexcontext-engineeringcursordeveloper-toolsgeminiknowledge-graphllmmcpmcp-serveropen-sourceopenaitree-sitter
Merge remote-tracking branch 'origin/main' into fix/issue-74
yescine1b5ba85f4a53
diff --cc src/cli.tsindex bfc7ba2e,b2ed01ae..d0ce96db--- a/src/cli.ts+++ b/src/cli.ts@@@ -35,7 -36,8 +36,8 @@@ import { planInit, selectedWrites } froimport { formatNonInteractiveHelp, formatPlan, runPicker } from "./cli-picker.js";import { homedir } from "node:os";import { formatUpgradeReport, formatVersionReport, getNpmViewVersion, readCurrentVersion, runUpgrade } from "./cli-meta.js";-import { writeBuildConfig } from "./util/state.js";+import { patchBuildConfig, type BuildConfig } from "./util/state.js";+ import { formatUpdateNudge, maybeRefreshInBackground, readUpdateCache, refreshUpdateCache, writeStamp } from "./upkeep.js";const program = new Command();const currentVersion = readCurrentVersion(import.meta.url);diff --cc src/graph/source-files.tsindex 7242bf22,29939c34..2b4eb821--- a/src/graph/source-files.ts+++ b/src/graph/source-files.ts@@@ -10,9 -10,31 +10,31 @@@ import { statSync } from "node:fs"import { resolve } from "node:path";import { walkDir } from "../ingest/fs.js";import { relPosix } from "../util/paths.js";-import { readIncludeDirs } from "../util/state.js";+import { readFollowSubmodules, readIncludeDirs } from "../util/state.js";- import { languageOf } from "./extract.js";- import { genericLangOf } from "./generic.js";+ import { languageOf, depthExtensions } from "./extract.js";+ import { genericLangOf, genericExtensions } from "./generic.js";++ /** Every extension graft has a parser for (depth + breadth), sorted and de-duped —+ * the authoritative answer to "what does `-e` actually support". */+ export function supportedExtensions(): string[] {+ return [...new Set([...depthExtensions(), ...genericExtensions()])].sort();+ }++ /** Normalize a user-supplied extension: ensure a leading dot, lower-case. */+ function normExt(e: string): string {+ const t = e.trim().toLowerCase();+ return t.startsWith(".") ? t : `.${t}`;+ }++ /**+ * The subset of user-supplied `-e` extensions that no parser claims (depth or breadth).+ * `graft build -e ".vue"` used to accept these silently and index nothing; the CLI warns+ * on whatever this returns so an unsupported extension is never a quiet no-op.+ */+ export function unsupportedExtensions(exts: string[]): string[] {+ const supported = new Set(supportedExtensions());+ return exts.filter((e) => !supported.has(normExt(e)));+ }/*** The source files a graph build parses: supported languages, minus the