Pre-indexed code knowledge graph for Claude Code, Codex, Gemini, Cursor, OpenCode, AntiGravity, Kiro, and Hermes Agent — fewer tokens, fewer tool calls, 100% local
91 matches across 9 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | __tests__/integration/full-pipeline.test.ts | 89 | // ── init ────────────────────────────────────────────────────── |
| MEDIUM | __tests__/integration/full-pipeline.test.ts | 95 | // ── indexAll ──────────────────────────────────────────────── |
| MEDIUM | __tests__/integration/full-pipeline.test.ts | 104 | // ── resolveReferences ──────────────────────────────────────── |
| MEDIUM | __tests__/integration/full-pipeline.test.ts | 117 | // ── searchNodes ────────────────────────────────────────────── |
| MEDIUM | __tests__/integration/full-pipeline.test.ts | 126 | // ── getCallers / getCallees ────────────────────────────────── |
| MEDIUM | __tests__/integration/full-pipeline.test.ts | 135 | // ── buildContext ───────────────────────────────────────────── |
| MEDIUM | __tests__/integration/full-pipeline.test.ts | 143 | // ── sync (add + modify + remove in one pass) ───────────────── |
| MEDIUM | src/resolution/frameworks/react-native.ts | 65 | // ─── Native-side extraction ───────────────────────────────────────────────── |
| MEDIUM | src/resolution/frameworks/react-native.ts | 238 | // ─── Map building ─────────────────────────────────────────────────────────── |
| MEDIUM | src/resolution/frameworks/react-native.ts | 354 | // ─── Resolver ─────────────────────────────────────────────────────────────── |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | src/context/index.ts | 412 | // Step 1: Extract potential symbol names from query |
| LOW | src/context/index.ts | 416 | // Step 2: Look up exact matches for extracted symbols |
| LOW | src/context/index.ts | 501 | // Step 3: Run text search for natural language term matching |
| LOW | src/context/index.ts | 550 | // Step 4: Merge results, taking the max score when duplicates appear |
| LOW | src/mcp/tools.ts | 2052 | // Step 1: Find relevant context with generous parameters. |
| LOW | src/mcp/tools.ts | 2099 | // Step 2: Group nodes by file, score by relevance |
| LOW | src/mcp/tools.ts | 2206 | // Step 3: Build relationship map |
| LOW | src/mcp/tools.ts | 2249 | // Step 4: Read contiguous file sections |
| LOW | src/installer/index.ts | 94 | // Step 1: which agent targets? Asked FIRST so the user knows what |
| LOW | src/installer/index.ts | 105 | // Step 2: install the codegraph npm package on PATH (always offered; |
| LOW | src/installer/index.ts | 131 | // Step 3: where the per-agent config files should land. |
| LOW | src/installer/index.ts | 162 | // Step 4: auto-allow permissions (only meaningful for Claude; |
| LOW | src/installer/index.ts | 183 | // Step 5: per-target install loop. |
| LOW | src/installer/index.ts | 205 | // Step 6: for local install, initialize the project. |
| LOW | src/installer/index.ts | 308 | // Step 1: which location — asked FIRST, the one decision the user |
| LOW | src/installer/index.ts | 332 | // Step 2: which agents. Default is every agent, so the user doesn't |
| LOW | src/installer/index.ts | 347 | // Step 3: sweep + per-agent feedback. |
| LOW | src/installer/index.ts | 363 | // Step 4: for local uninstall, the index dir is separate — point at |
| LOW | src/installer/index.ts | 369 | // Step 5: summary. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | install.sh | 1 | #!/bin/sh |
| LOW | __tests__/watcher.test.ts | 181 | watcher.stop(); |
| LOW | scripts/build-bundle.sh | 1 | #!/usr/bin/env bash |
| LOW | scripts/build-bundle.sh | 61 | |
| LOW | scripts/npm-shim.js | 1 | #!/usr/bin/env node |
| LOW | scripts/pack-npm.sh | 1 | #!/usr/bin/env bash |
| LOW | scripts/agent-eval/run-arms.sh | 1 | #!/usr/bin/env bash |
| LOW | scripts/agent-eval/itrun.sh | 1 | #!/usr/bin/env bash |
| LOW | scripts/agent-eval/itrun.sh | 81 | done |
| LOW | scripts/agent-eval/audit.sh | 1 | #!/usr/bin/env bash |
| LOW | scripts/add-lang/bench.sh | 1 | #!/usr/bin/env bash |
| LOW | .github/workflows/release.yml | 1 | name: Release |
| LOW | .github/workflows/release.yml | 21 | contents: write # create the GitHub Release + tag, push the CHANGELOG promote |
| LOW | .github/workflows/release.yml | 41 | # RELEASE_PAT secret with: contents:write on this repo, no other |
| LOW | src/context/index.ts | 581 | // Deprioritize test files early so they don't take multi-term boost slots |
| LOW | src/mcp/tools.ts | 721 | |
| LOW | src/mcp/tools.ts | 1181 | }); |
| LOW | src/mcp/tools.ts | 1201 | // codegraph_context with explore/node even when the context response |
| LOW | src/mcp/tools.ts | 1541 | // nodes, so try a few from×to candidate pairs until a usable path turns up. |
| LOW | src/mcp/tools.ts | 1561 | // EndBlocker for a gov-module flow may rank 8th in FTS but share the |
| LOW | src/mcp/tools.ts | 1681 | // where the missing dynamic-dispatch flow usually lives. Concrete |
| LOW | src/mcp/tools.ts | 2461 | // Each range carries an `importance` score so we can rank clusters |
| LOW | src/sync/watcher.ts | 181 | }); |
| LOW | src/extraction/tree-sitter.ts | 361 | this.extractVariable(node); |
| LOW | src/extraction/tree-sitter.ts | 381 | // Check for function calls |
| LOW | src/extraction/languages/luau.ts | 1 | import { getNodeText, getChildByField } from '../tree-sitter-helpers'; |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | src/mcp/tools.ts | 238 | function exploreLineNumbersEnabled(): boolean { |
| LOW | src/resolution/import-resolver.ts | 321 | function loadCppIncludeDirsFromCompileDB(projectRoot: string): string[] | null { |
| LOW | src/resolution/import-resolver.ts | 430 | function loadCppIncludeDirsHeuristic(projectRoot: string): string[] { |
| LOW | src/resolution/import-resolver.ts | 1091 | function resolveJavaImportedReference( |
| LOW | src/resolution/import-resolver.ts | 1165 | function resolveGoCrossPackageReference( |
| LOW | src/resolution/name-matcher.ts | 304 | function inferJavaFieldReceiverType( |
| LOW | src/resolution/swift-objc-bridge.ts | 76 | export function objcSelectorForSwiftMethod( |
| LOW | src/resolution/swift-objc-bridge.ts | 160 | export function objcAccessorsForSwiftProperty( |
| LOW | src/resolution/swift-objc-bridge.ts | 196 | export function swiftBaseNamesForObjcSelector(selector: string): string[] { |
| LOW | src/resolution/frameworks/rust.ts | 14 | function getCachedCargoWorkspaceCrateMap(context: ResolutionContext): Map<string, string> { |
| LOW | src/resolution/frameworks/nestjs.ts | 532 | function collectRouterModuleRegistrations(safe: string, out: Map<string, string>): void { |
| LOW | src/resolution/frameworks/fabric.ts | 84 | function deriveComponentNameFromManager(className: string): string { |
| LOW | src/resolution/frameworks/fabric.ts | 145 | function extractLegacyViewManagerNodes(filePath: string, source: string): Node[] { |
| LOW | src/resolution/frameworks/fabric.ts | 225 | function extractJvmViewManagerNodes(filePath: string, source: string): Node[] { |
| LOW | src/resolution/frameworks/index.ts | 114 | export function registerFrameworkResolver(resolver: FrameworkResolver): void { |
| LOW | src/resolution/frameworks/cargo-workspace.ts | 224 | export function getCargoWorkspaceCrateMap(context: ResolutionContext): Map<string, string> { |
| LOW | src/resolution/frameworks/java.ts | 411 | function extractSpringValueBindings( |
| LOW | src/sync/worktree.ts | 64 | export function detectWorktreeIndexMismatch( |
| LOW | src/installer/targets/shared.ts | 135 | export function replaceOrAppendMarkedSection( |
| LOW | src/installer/targets/claude.ts | 275 | function isLegacyCodegraphHookCommand(command: unknown): boolean { |
| LOW | src/extraction/grammars.ts | 344 | export function getUnavailableGrammarErrors(): Partial<Record<Language, string>> { |
| LOW | src/extraction/wasm-runtime-flags.ts | 63 | export function processHasWasmRuntimeFlags( |
| LOW | src/extraction/wasm-runtime-flags.ts | 92 | export function relaunchWithWasmRuntimeFlagsIfNeeded(scriptPath: string): void { |
| LOW | src/extraction/languages/c-cpp.ts | 5 | function extractCppQualifiedMethodName(node: SyntaxNode, source: string): string | undefined { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | __tests__/extraction.test.ts | 1390 | print(name); |
| HIGH | __tests__/graph.test.ts | 43 | print(): void; |
| HIGH | __tests__/graph.test.ts | 62 | print(): void { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | __tests__/extraction.test.ts | 3418 | git(libDir, 'config', 'user.email', 'test@test.com'); |
| LOW | __tests__/extraction.test.ts | 3428 | git(mainDir, 'config', 'user.email', 'test@test.com'); |
| LOW | __tests__/extraction.test.ts | 3470 | git(root, 'config', 'user.email', 'test@test.com'); |
| LOW | __tests__/extraction.test.ts | 3479 | git(path.join(root, 'sub_repo1'), 'config', 'user.email', 'test@test.com'); |
| LOW | __tests__/sync.test.ts | 168 | git('config', 'user.email', 'test@test.com'); |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | scripts/build-bundle.sh | 12 | # Usage: |
| LOW | scripts/local-install.sh | 6 | # Usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | scripts/agent-eval/itrun.sh | 67 | # Busy signals. The robust one is the spinner's elapsed-time-in-parens, which |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | __tests__/extraction.test.ts | 3729 | private def helper(): Unit = {} |