internal/

directory
v0.2.2 Latest Latest
Warning

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

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

Directories

Path Synopsis
Package agent runs the native agent loop over narrow ports implemented by core.
Package agent runs the native agent loop over narrow ports implemented by core.
agenttest
Package agenttest provides a scripted model and in-memory fakes for the agent ports.
Package agenttest provides a scripted model and in-memory fakes for the agent ports.
context
Package agentcontext builds the model's view of a session: provider conversation, context boundaries and summaries, and token estimates.
Package agentcontext builds the model's view of a session: provider conversation, context boundaries and summaries, and token estimates.
prompt
Package prompt holds the fixed texts of the native agent's system prompt.
Package prompt holds the fixed texts of the native agent's system prompt.
todo
Package todo is the agent's todo list: its items, their validation and how they are shown to the model.
Package todo is the agent's todo list: its items, their validation and how they are shown to the model.
toolsched
Package toolsched holds the daemon-wide scheduling primitives of native runs: a semaphore for model requests and keyed locks and batches for tool calls.
Package toolsched holds the daemon-wide scheduling primitives of native runs: a semaphore for model requests and keyed locks and batches for tool calls.
Package checkpoint snapshots working directories into shadow git repositories kept apart from the user's own repository, so file changes can be reviewed and undone.
Package checkpoint snapshots working directories into shadow git repositories kept apart from the user's own repository, so file changes can be reviewed and undone.
Package events is the daemon's live event stream: numbered events fanned out to subscribers in publish order, with a short history to resume from.
Package events is the daemon's live event stream: numbered events fanned out to subscribers in publish order, with a short history to resume from.
reply
Package reply builds the transcript reply of an external agent's turn from its events, with bounded tool input, output and reasoning.
Package reply builds the transcript reply of an external agent's turn from its events, with bounded tool input, output and reasoning.
Package glob matches slash-separated paths against glob patterns: "*" and "?" stay within one path element, "**" as a whole element matches any number of elements (none included), "[...]" is a character class ("[!...]" negated) and "{a,b}" lists alternatives.
Package glob matches slash-separated paths against glob patterns: "*" and "?" stay within one path element, "**" as a whole element matches any number of elements (none included), "[...]" is a character class ("[!...]" negated) and "{a,b}" lists alternatives.
Package hooks runs user commands at the agent's seams (before and after tool calls, when a run would stop, at its start and before a summary) with the Claude Code hook protocol, and the built-in checks after file edits.
Package hooks runs user commands at the agent's seams (before and after tool calls, when a run would stop, at its start and before a summary) with the Claude Code hook protocol, and the built-in checks after file edits.
Package ids makes the random record IDs used across MatrixClaw.
Package ids makes the random record IDs used across MatrixClaw.
Package lsp runs language servers (gopls, typescript-language-server, pyright or pylsp, rust-analyzer) for the agent: the errors an edit leaves, in the edited files and in the files that use them, and the `lsp` tool's code navigation.
Package lsp runs language servers (gopls, typescript-language-server, pyright or pylsp, rust-analyzer) for the agent: the errors an edit leaves, in the edited files and in the files that use them, and the `lsp` tool's code navigation.
Package memory keeps the persistent notes native runs see at their start: entries the agent or the owner wrote and suggestions waiting for approval.
Package memory keeps the persistent notes native runs see at their start: entries the agent or the owner wrote and suggestions waiting for approval.
Package modules defines the daemon's modules and the set that owns them.
Package modules defines the daemon's modules and the set that owns them.
browser
Package browser is the module of the local Playwright browser, whose tools the MCP module serves.
Package browser is the module of the local Playwright browser, whose tools the MCP module serves.
geo
Package geo offers OpenStreetMap reverse geocoding and nearby place search.
Package geo offers OpenStreetMap reverse geocoding and nearby place search.
mcp
Package mcp is the module serving the tools of configured MCP servers, the local browser's included.
Package mcp is the module serving the tools of configured MCP servers, the local browser's included.
telephony
Package telephony is the module that places phone calls through the telephony gateway.
Package telephony is the module that places phone calls through the telephony gateway.
voice
Package voice is the local text-to-speech and speech-to-text modules.
Package voice is the local text-to-speech and speech-to-text modules.
voice/realtime/providers/gemini
Package gemini is the Gemini Live realtime voice provider.
Package gemini is the Gemini Live realtime voice provider.
voice/realtime/providers/grok
Package grok is the xAI Grok Voice realtime voice provider.
Package grok is the xAI Grok Voice realtime voice provider.
voice/realtime/providers/openai
Package openai is the OpenAI Realtime voice provider.
Package openai is the OpenAI Realtime voice provider.
web
Package web is the module offering web_search and web_fetch.
Package web is the module offering web_search and web_fetch.
Package permission decides whether a tool call runs, asks first or is blocked: rules matched against the call's subject, bash command-line parsing and the presets behind the permission modes.
Package permission decides whether a tool call runs, asks first or is blocked: rules matched against the call's subject, bash command-line parsing and the presets behind the permission modes.
Package procsup runs long-lived local helper processes (voice and language servers), one per key, and stops them with the daemon.
Package procsup runs long-lived local helper processes (voice and language servers), one per key, and stops them with the daemon.
Package repomap draws a ranked map of a repository's definitions, as Aider's repo map does, so a model can find its way in a large codebase.
Package repomap draws a ranked map of a repository's definitions, as Aider's repo map does, so a model can find its way in a large codebase.
Package safego runs background goroutines with panic recovery.
Package safego runs background goroutines with panic recovery.
Package sandbox confines the agent's shell commands: what they may write and whether they reach the network (docs/SANDBOX.md).
Package sandbox confines the agent's shell commands: what they may write and whether they reach the network (docs/SANDBOX.md).
Package shelltask runs shell commands in process groups of their own and keeps their output in a size-capped file.
Package shelltask runs shell commands in process groups of their own and keeps their output in a size-capped file.
telephony
Package textutil holds small string helpers shared across packages.
Package textutil holds small string helpers shared across packages.
Package toolview says how clients present a tool call: its title, the verb of a progress line, its main parameter and the secondary ones.
Package toolview says how clients present a tool call: its title, the verb of a progress line, its main parameter and the secondary ones.
Package workspace reads what an agent run is told about its working directory: git state, platform and project instruction files.
Package workspace reads what an agent run is told about its working directory: git state, platform and project instruction files.
Package xdg resolves the XDG base directories MatrixClaw keeps its files in.
Package xdg resolves the XDG base directories MatrixClaw keeps its files in.

Jump to

Keyboard shortcuts

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