internal/

directory
v0.22.2 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 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, Hermes, Antigravity), 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, Hermes, Antigravity), 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 auth implements bearer-token authorization for the HTTP transport: the token store, the middleware that resolves a request to a set of scopes, and the per-KB RBAC check (`kb:<name>:r` / `kb:<name>:rw`) the tools are gated on.
Package auth implements bearer-token authorization for the HTTP transport: the token store, the middleware that resolves a request to a set of scopes, and the per-KB RBAC check (`kb:<name>:r` / `kb:<name>:rw`) the tools are gated on.
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, Hermes, Antigravity, Crush, GitHub Copilot CLI).
Package configurator generates MCP configuration files for multiple LLM providers (Claude Code, Codex CLI, Kiro, OpenCode, Hermes, Antigravity, Crush, GitHub Copilot CLI).
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 execbit reports whether the host filesystem carries the POSIX execute bit, and is the one place that answers that question.
Package execbit reports whether the host filesystem carries the POSIX execute bit, and is the one place that answers that question.
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 graphalgo holds the graph algorithms behind the retrieval tools (D242): personalized PageRank, BFS, shortest paths and link prediction over an int-indexed adjacency.
Package graphalgo holds the graph algorithms behind the retrieval tools (D242): personalized PageRank, BFS, shortest paths and link prediction over an int-indexed adjacency.
Package kb implements the data plane of the OKF knowledge base.
Package kb implements the data plane of the OKF knowledge base.
Package lint implements deterministic lint checks on a KB scope.
Package lint implements deterministic lint checks on a KB scope.
Package mcpserver implements the control plane: the MCP protocol over stdio and Streamable HTTP, and the tool registry that exposes a KB to an agent.
Package mcpserver implements the control plane: the MCP protocol over stdio and Streamable HTTP, and the tool registry that exposes a KB to an agent.
Package okf — parser/serializer for the YAML subset used in OKF frontmatter.
Package okf — parser/serializer for the YAML subset used in OKF frontmatter.
Package provisioning manages the synchronization of artifacts (skill, agent, hook — D48; instructions — D56; mcp, third-party MCP servers from KBs — D69) between the Cartographer server and the LLM client (CLI or MCP tool).
Package provisioning manages the synchronization of artifacts (skill, agent, hook — D48; instructions — D56; mcp, third-party MCP servers from KBs — D69) between the Cartographer server and the LLM client (CLI or MCP tool).
Package repodocs holds the deterministic checks that keep this repository navigable by a coding agent, plus the generators for the decision index and the code map.
Package repodocs holds the deterministic checks that keep this repository navigable by a coding agent, plus the generators for the decision index and the code map.
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, a per-user Scheduled Task on Windows (D217).
Package service manages the cartographer MCP server as a native per-user service: a launchd agent on macOS, a systemd user unit on Linux, a per-user Scheduled Task on Windows (D217).
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 skillbundle embeds the skills shipped inside the binary (bundled/) so a fresh install can provision an agent client before any KB exists.
Package skillbundle embeds the skills shipped inside the binary (bundled/) so a fresh install can provision an agent client before any KB exists.
Package sops decrypts sops-encrypted KB secrets and resolves the references a concept declares, turning them into the environment a skill runs with.
Package sops decrypts sops-encrypted KB secrets and resolves the references a concept declares, turning them into the environment a skill runs with.
Package sqlindex implements a persistent SQLite-backed keyword index.
Package sqlindex implements a persistent SQLite-backed keyword index.
Package updatecheck answers whether a newer Cartographer release exists and how this binary is upgraded (D254): the latest tag from the GitHub release list, cached for 24 hours and failing silent, and the install channel the running binary came from.
Package updatecheck answers whether a newer Cartographer release exists and how this binary is upgraded (D254): the latest tag from the GitHub release list, cached for 24 hours and failing silent, and the install channel the running binary came from.
Package webui serves the embedded read-only Atlas UI (D227).
Package webui serves the embedded read-only Atlas UI (D227).
gen command
Command webui-provenance writes internal/webui/dist/provenance.json with the hash of the web/ source tree.
Command webui-provenance writes internal/webui/dist/provenance.json with the hash of the web/ source tree.

Jump to

Keyboard shortcuts

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