Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
kartograf
command
kartograf builds a code map (symbols, references, call graph) for a project and serves it to AI coding agents over MCP.
|
kartograf builds a code map (symbols, references, call graph) for a project and serves it to AI coding agents over MCP. |
|
internal
|
|
|
core/config
Package config loads per-project kartograf configuration from .kartograf.yml at the project root.
|
Package config loads per-project kartograf configuration from .kartograf.yml at the project root. |
|
core/indexer
Package indexer walks a project tree, runs language adapters over changed files and persists results into the store.
|
Package indexer walks a project tree, runs language adapters over changed files and persists results into the store. |
|
core/lang
Package lang defines the language adapter contract and the adapter registry.
|
Package lang defines the language adapter contract and the adapter registry. |
|
core/model
Package model defines the language-agnostic code model: symbols, edges and per-file indexes.
|
Package model defines the language-agnostic code model: symbols, edges and per-file indexes. |
|
core/query
Package query is the read side of the index: symbol search, lookups and graph traversals used by the MCP tools.
|
Package query is the read side of the index: symbol search, lookups and graph traversals used by the MCP tools. |
|
core/store
Package store persists the code index in SQLite (with an FTS5 index over symbol names/FQNs/docs).
|
Package store persists the code index in SQLite (with an FTS5 index over symbol names/FQNs/docs). |
|
enrich
Package enrich adds precision edges from full type-inference tools on top of the file-local AST layer: go/types for Go (in-process) and PHPStan for PHP (external run, JSONL exchange file).
|
Package enrich adds precision edges from full type-inference tools on top of the file-local AST layer: go/types for Go (in-process) and PHPStan for PHP (external run, JSONL exchange file). |
|
lang/golang
Package golang is the Go language adapter: tree-sitter based extraction of symbols, imports and reference edges from Go sources.
|
Package golang is the Go language adapter: tree-sitter based extraction of symbols, imports and reference edges from Go sources. |
|
lang/php
Package php is the PHP language adapter: tree-sitter based extraction of symbols, imports and inheritance facts from PHP source files.
|
Package php is the PHP language adapter: tree-sitter based extraction of symbols, imports and inheritance facts from PHP source files. |
|
lang/ts
Package ts is the TypeScript/JavaScript language adapter: tree-sitter based extraction of symbols, imports and reference edges from .ts/.tsx/.js/.jsx/.mjs/.cjs sources.
|
Package ts is the TypeScript/JavaScript language adapter: tree-sitter based extraction of symbols, imports and reference edges from .ts/.tsx/.js/.jsx/.mjs/.cjs sources. |
|
mcpserver
Package mcpserver exposes the code index to AI agents over the Model Context Protocol (stdio transport).
|
Package mcpserver exposes the code index to AI agents over the Model Context Protocol (stdio transport). |
|
selfupdate
Package selfupdate updates the running binary from GitHub releases: pick the asset for this OS/arch, verify its SHA256 against the release's SHA256SUMS, and atomically swap it in via rename (a fresh inode — replacing a signed binary in place would get the process SIGKILLed on macOS).
|
Package selfupdate updates the running binary from GitHub releases: pick the asset for this OS/arch, verify its SHA256 against the release's SHA256SUMS, and atomically swap it in via rename (a fresh inode — replacing a signed binary in place would get the process SIGKILLed on macOS). |
|
taskctx
Package taskctx stores a working note per git branch so an agent can resume a task after a new chat or a branch switch.
|
Package taskctx stores a working note per git branch so an agent can resume a task after a new chat or a branch switch. |
Click to show internal directories.
Click to hide internal directories.