Code intelligence
Owns project-scoped committed TypeScript/TSX graphs: parsing, declaration search, signature inspection, bounded relationship traversal, indexing status, and explicit opt-in Git hooks. Code bodies are read from actual source, not stored in the graph. No model or remote API is required.
Source map
project.ts— Canonical project boundaries relative to the active core workspace.snapshot.ts— Git source/config snapshots, environment inputs, lookup manifests, and dirty-input/revision guards.analyzer.ts— TypeScript configuration/aliases, scoped programs, diagnostics, compact declarations, direct IIFE/call edges, unresolved callback categories, relationships, and bounded source evidence.schemas.ts— Typed tools/results and structured diagnostics.store.ts— Namespaced SQLite/FTS storage and generation-checked atomic graph replacement.queries.ts— Ranked search, pagination, bounded traversal, freshness, and external follow-ups.service.ts— Deterministic parse/query lifecycle shared by command and AI surfaces.attempts.ts— Latest indexing outcomes independent of successful snapshots, including diagnostic failures and stale-completion protection.projects.ts— Workspace project/status listing and compact timeline rendering.hooks.ts— Explicit hook preview/install/status/remove, repository-local delegation, ownership checks, and automation metadata.hook-runner.ts— Post-commit parser invocation, nested-hook handling, locking, Git-local environment clearing, and last-run state.render.ts— Compact text and optional full JSON from the same validated results, callable IDs, follow-ups, and continuation markers.
Commands live in commands/code/definition.ts relative to the plugin root.
See the Memory overview, Markdown module,
and design/progress record.