Directories
¶
| Path | Synopsis |
|---|---|
|
Package agentplugin embeds CodeGrapher's publishable Agent Skills bundle.
|
Package agentplugin embeds CodeGrapher's publishable Agent Skills bundle. |
|
Package browserapi exposes one initialized CodeGrapher repository through a versioned, authenticated, read-only HTTP API for browser consumers.
|
Package browserapi exposes one initialized CodeGrapher repository through a versioned, authenticated, read-only HTTP API for browser consumers. |
|
cmd
|
|
|
codegrapher
command
Command codegrapher is the drop-in Go replacement for the original colbymchenry/codegraph TypeScript CLI.
|
Command codegrapher is the drop-in Go replacement for the original colbymchenry/codegraph TypeScript CLI. |
|
Package coverage is the single home for Go line-coverage attribution in codegrapher: it turns a `go test -coverprofile` profile into per-file and per-function coverage records, and defines the INGR recordset format those records are exported/uploaded/served in.
|
Package coverage is the single home for Go line-coverage attribution in codegrapher: it turns a `go test -coverprofile` profile into per-file and per-function coverage records, and defines the INGR recordset format those records are exported/uploaded/served in. |
|
Package daemon owns CodeGrapher's single-user background freshness process.
|
Package daemon owns CodeGrapher's single-user background freshness process. |
|
Package freshness owns one repository's index, native watcher, startup reconciliation, generation barrier, health, and joined shutdown.
|
Package freshness owns one repository's index, native watcher, startup reconciliation, generation barrier, health, and joined shutdown. |
|
Package gomod parses go.mod files into a typed, line-annotated structure.
|
Package gomod parses go.mod files into a typed, line-annotated structure. |
|
Package indexer orchestrates building and maintaining a codegraph index: directory management, file scanning, full indexing (Init), incremental sync, git-hook installation, and git-worktree awareness.
|
Package indexer orchestrates building and maintaining a codegraph index: directory management, file scanning, full indexing (Init), incremental sync, git-hook installation, and git-worktree awareness. |
|
internal
|
|
|
cli
Package cli provides the Cobra command tree for the codegraph binary.
|
Package cli provides the Cobra command tree for the codegraph binary. |
|
extract
Package extract provides AST-based symbol extraction for Go and TypeScript/JavaScript files.
|
Package extract provides AST-based symbol extraction for Go and TypeScript/JavaScript files. |
|
paritytest
Package paritytest compares codegrapher output against golden outputs captured from the original codegraph CLI (testdata/golden), implementing the normalization rules documented in tools/parity/README.md:
|
Package paritytest compares codegrapher output against golden outputs captured from the original codegraph CLI (testdata/golden), implementing the normalization rules documented in tools/parity/README.md: |
|
tsparse
Package tsparse wraps the gotreesitter pure-Go tree-sitter runtime, exposing a thin Parser type and a Node type that the rest of the codebase can walk without importing gotreesitter directly.
|
Package tsparse wraps the gotreesitter pure-Go tree-sitter runtime, exposing a thin Parser type and a Node type that the rest of the codebase can walk without importing gotreesitter directly. |
|
Package lock implements a cross-process file lock using an exclusive PID file, ported from FileLock in src/utils.ts of github.com/colbymchenry/codegraph (MIT).
|
Package lock implements a cross-process file lock using an exclusive PID file, ported from FileLock in src/utils.ts of github.com/colbymchenry/codegraph (MIT). |
|
Package mcp implements the MCP (Model Context Protocol) server for codegrapher — a behavior-parity port of upstream codegraph's MCP surface (src/mcp/tools.ts + src/context/index.ts), served over stdio.
|
Package mcp implements the MCP (Model Context Protocol) server for codegrapher — a behavior-parity port of upstream codegraph's MCP surface (src/mcp/tools.ts + src/context/index.ts), served over stdio. |
|
Package model defines the core knowledge-graph types shared by every codegrapher package: nodes, edges, file records, and their kind enums.
|
Package model defines the core knowledge-graph types shared by every codegrapher package: nodes, edges, file records, and their kind enums. |
|
Package pkgjson parses package.json files into a typed structure.
|
Package pkgjson parses package.json files into a typed structure. |
|
Package query implements the QUERY layer: symbol search, graph traversal (callers/callees/impact), and index status/files verbs.
|
Package query implements the QUERY layer: symbol search, graph traversal (callers/callees/impact), and index status/files verbs. |
|
Package resolve turns the store's unresolved_refs table into edges.
|
Package resolve turns the store's unresolved_refs table into edges. |
|
Package scope identifies the (language, toolchain-version) partition a source file belongs to.
|
Package scope identifies the (language, toolchain-version) partition a source file belongs to. |
|
Package snapshot exports and imports the codegrapher index as INGR files.
|
Package snapshot exports and imports the codegrapher index as INGR files. |
|
Package specdoc is a thin codegrapher-owned adapter over the specscore-cli artifact parsers (github.com/specscore/specscore-cli).
|
Package specdoc is a thin codegrapher-owned adapter over the specscore-cli artifact parsers (github.com/specscore/specscore-cli). |
|
Package store — FTS5 search methods.
|
Package store — FTS5 search methods. |
|
tools
|
|
|
fixtures/sqlite-small
command
Command sqlite-small generates the committed binary fixture testdata/fixtures/sqlite-small/app.db and its self-goldens under testdata/golden/sqlite-small/.
|
Command sqlite-small generates the committed binary fixture testdata/fixtures/sqlite-small/app.db and its self-goldens under testdata/golden/sqlite-small/. |
|
Package trace builds and queries the CodeGrapher projection of SpecScore trace records.
|
Package trace builds and queries the CodeGrapher projection of SpecScore trace records. |
|
Package watch provides file-system watching with debounced sync callbacks.
|
Package watch provides file-system watching with debounced sync callbacks. |
Click to show internal directories.
Click to hide internal directories.