internal/

directory
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2026 License: Apache-2.0

Directories

Path Synopsis
Package agents detects which LLM agent CLIs/apps are installed on the local machine (Claude Code, OpenCode, Codex CLI, Kiro), so `cartographer agents` and `cartographer connect all` know which providers to target.
Package agents detects which LLM agent CLIs/apps are installed on the local machine (Claude Code, OpenCode, Codex CLI, Kiro), so `cartographer agents` and `cartographer connect all` know which providers to target.
Package artifactsig signs and verifies provisioning artifact envelopes.
Package artifactsig signs and verifies provisioning artifact envelopes.
Package audit implements Cartographer's local, tamper-evident audit trail.
Package audit implements Cartographer's local, tamper-evident audit trail.
Package blocktext implements the marker-delimited "managed block" primitive used by every Cartographer feature that must own a slice of a hand-curated user file (comments, ordering, everything else preserved) without parsing the file's own format: the Codex MCP server entry and per-hook registrations in config.toml (D58, TOML `#` comment markers).
Package blocktext implements the marker-delimited "managed block" primitive used by every Cartographer feature that must own a slice of a hand-curated user file (comments, ordering, everything else preserved) without parsing the file's own format: the Codex MCP server entry and per-hook registrations in config.toml (D58, TOML `#` comment markers).
Package client implements a minimal MCP client over HTTP (JSON-RPC 2.0), used by `cartographer agents/connect/status/sync` to talk to a remote cartographer server.
Package client implements a minimal MCP client over HTTP (JSON-RPC 2.0), used by `cartographer agents/connect/status/sync` to talk to a remote cartographer server.
Package clientconfig reads and writes the client-side `.cartographer.yaml` file: the record of which server this machine talks to and which agent providers have been connected via `cartographer connect`.
Package clientconfig reads and writes the client-side `.cartographer.yaml` file: the record of which server this machine talks to and which agent providers have been connected via `cartographer connect`.
Package config provides the YAML-based server configuration for `cartographer serve`, merged with environment variables and CLI flags.
Package config provides the YAML-based server configuration for `cartographer serve`, merged with environment variables and CLI flags.
Package configurator generates MCP configuration files for multiple LLM providers (Claude Code, Codex CLI, Kiro, OpenCode).
Package configurator generates MCP configuration files for multiple LLM providers (Claude Code, Codex CLI, Kiro, OpenCode).
Package defaults contains the local endpoint values shared by the native service and client first-run paths.
Package defaults contains the local endpoint values shared by the native service and client first-run paths.
Package gitx provides a git wrapper via os/exec for the Agentic Wiki.
Package gitx provides a git wrapper via os/exec for the Agentic Wiki.
Package kb — conflict registry and degraded-marker support (Step 3).
Package kb — conflict registry and degraded-marker support (Step 3).
Package lint implements deterministic lint checks on a KB scope.
Package lint implements deterministic lint checks on a KB scope.
Package mcpserver implements an MCP (Model Context Protocol) server over stdio, based on newline-delimited JSON-RPC 2.0, with no external dependencies.
Package mcpserver implements an MCP (Model Context Protocol) server over stdio, based on newline-delimited JSON-RPC 2.0, with no external dependencies.
Package okf — parser/serializer for the YAML subset used in OKF frontmatter.
Package okf — parser/serializer for the YAML subset used in OKF frontmatter.
bootstrap.go (D60) — the "cartographer-bootstrap" hook: a synthetic artifact, generated entirely by the client (not by the server/KB manifest), that at session start silently runs `cartographer sync --auto-trust` so the LLM agent always starts aligned with the server, without the user having to run `sync` by hand.
bootstrap.go (D60) — the "cartographer-bootstrap" hook: a synthetic artifact, generated entirely by the client (not by the server/KB manifest), that at session start silently runs `cartographer sync --auto-trust` so the LLM agent always starts aligned with the server, without the user having to run `sync` by hand.
Package repoindex resolves `{{repo:<key>}}` placeholders (D75) to a local clone path: it scans a set of search roots for git repositories, reads each one's `origin` remote from `.git/config` (no `git` exec — the file is parsed directly, see readOriginURL), and normalizes the remote URL to a canonical "host/owner/name" key that is stable across every machine on the team.
Package repoindex resolves `{{repo:<key>}}` placeholders (D75) to a local clone path: it scans a set of search roots for git repositories, reads each one's `origin` remote from `.git/config` (no `git` exec — the file is parsed directly, see readOriginURL), and normalizes the remote URL to a canonical "host/owner/name" key that is stable across every machine on the team.
Package search implements an in-memory inverted keyword index for KB concepts.
Package search implements an in-memory inverted keyword index for KB concepts.
Package service manages the cartographer MCP server as a native per-user service: a launchd agent on macOS, a systemd user unit on Linux.
Package service manages the cartographer MCP server as a native per-user service: a launchd agent on macOS, a systemd user unit on Linux.
Package skill implements loading and validation of SKILL.md files (agentskills.io format).
Package skill implements loading and validation of SKILL.md files (agentskills.io format).
Package sqlindex implements a persistent SQLite-backed keyword and embedding index with per-content-hash embedding caching.
Package sqlindex implements a persistent SQLite-backed keyword and embedding index with per-content-hash embedding caching.

Jump to

Keyboard shortcuts

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