internal/

directory
v0.1.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2026 License: MIT

Directories

Path Synopsis
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.
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.
lang
Package lang defines the language adapter contract and the adapter registry.
Package lang defines the language adapter contract and the adapter registry.
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.
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.
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).
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.
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.
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.
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).
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).
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.
Package usage counts MCP tool calls in a database next to the index.
Package usage counts MCP tool calls in a database next to the index.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL