Documentation
¶
Overview ¶
Package moa embeds the user-facing documentation into the binary.
It lives at the repository root because go:embed cannot reach outside the directory of the file that declares it, and docs/ is a root directory. The package exposes nothing but the filesystem; pkg/moadocs does the reading.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Docs embed.FS
Docs holds docs/*.md as published on letmoa.run/docs. Only markdown is embedded: the assets are screenshots, useless to a language model and heavy enough (3.9 MB against 93 KB of text) to matter in the binary.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
moa
command
|
|
|
internal
|
|
|
docsdrift
Package docsdrift holds parsing helpers for the documentation drift tests.
|
Package docsdrift holds parsing helpers for the documentation drift tests. |
|
pkg
|
|
|
askuser
Package askuser provides the ask_user tool that lets the agent ask the user one or more questions and block until they respond.
|
Package askuser provides the ask_user tool that lets the agent ask the user one or more questions and block until they respond. |
|
attachment
Package attachment provides durable, content-addressed blob storage for session attachments.
|
Package attachment provides durable, content-addressed blob storage for session attachments. |
|
attention
Package attention implements the Attention Service: a server-side component that consumes the event bus of every active moa session and produces a priority-ordered "attention queue" of items already written for the ear.
|
Package attention implements the Attention Service: a server-side component that consumes the event bus of every active moa session and produces a priority-ordered "attention queue" of items already written for the ear. |
|
auth
Package auth handles credential storage and OAuth flows for AI providers.
|
Package auth handles credential storage and OAuth flows for AI providers. |
|
autotitle
Package autotitle generates short, human-readable session titles from a conversation using a cheap LLM call.
|
Package autotitle generates short, human-readable session titles from a conversation using a cheap LLM call. |
|
bootstrap
Package bootstrap wires up a complete agent session: tool registry, MCP, permissions, subagents, skills, verify, and system prompt.
|
Package bootstrap wires up a complete agent session: tool registry, MCP, permissions, subagents, skills, verify, and system prompt. |
|
bus
Package bus provides a typed event bus for decoupling the agent and serve layers.
|
Package bus provides a typed event bus for decoupling the agent and serve layers. |
|
checkpoint
Package checkpoint provides file-level undo for agent turns.
|
Package checkpoint provides file-level undo for agent turns. |
|
compaction
Package compaction summarizes old conversation turns to reduce context size.
|
Package compaction summarizes old conversation turns to reduce context size. |
|
events
Package events is the wake-on-event inbox: external events (a mail reply, a CI failure) enter the server, are stored durably, and are either injected into the project's active session or wait in the inbox for the owner to decide.
|
Package events is the wake-on-event inbox: external events (a mail reply, a CI failure) enter the server, are stored durably, and are either injected into the project's active session or wait in the inbox for the owner to decide. |
|
files
Package files provides reusable file scanning and filtering logic.
|
Package files provides reusable file scanning and filtering logic. |
|
git
Package git provides lightweight git metadata for the agent's system prompt.
|
Package git provides lightweight git metadata for the agent's system prompt. |
|
goal
Package goal implements an autonomous maker→verifier loop ("goal mode").
|
Package goal implements an autonomous maker→verifier loop ("goal mode"). |
|
handoff
Package handoff prepares a compact, standalone prompt for a new agent session.
|
Package handoff prepares a compact, standalone prompt for a new agent session. |
|
jsonutil
Package jsonutil provides utilities for working with JSON streams.
|
Package jsonutil provides utilities for working with JSON streams. |
|
memory
Package memory provides cross-session memory persistence as a set of typed, single-fact files with a lightweight frontmatter header.
|
Package memory provides cross-session memory persistence as a set of typed, single-fact files with a lightweight frontmatter header. |
|
moadocs
Package moadocs serves moa's own documentation to the agent.
|
Package moadocs serves moa's own documentation to the agent. |
|
permission
Package permission mediates tool execution approvals between the agent loop and the frontend.
|
Package permission mediates tool execution approvals between the agent loop and the frontend. |
|
provider/meta
Package meta implements the Meta Model API (Muse Spark) transport.
|
Package meta implements the Meta Model API (Muse Spark) transport. |
|
provider/openai
Package openai implements core.Provider for the OpenAI Responses API.
|
Package openai implements core.Provider for the OpenAI Responses API. |
|
provider/responses
Package responses implements the provider-neutral Responses API wire codec.
|
Package responses implements the provider-neutral Responses API wire codec. |
|
provider/retry
Package retry provides HTTP retry logic with exponential backoff for LLM provider API calls.
|
Package retry provides HTTP retry logic with exponential backoff for LLM provider API calls. |
|
provider/sseutil
Package sseutil provides shared utilities for SSE stream handling across LLM provider implementations.
|
Package sseutil provides shared utilities for SSE stream handling across LLM provider implementations. |
|
provider/xai
Package xai implements the public xAI Responses API transport.
|
Package xai implements the public xAI Responses API transport. |
|
pulsebrief
Package pulsebrief generates a short, structured status summary of a session from its conversation using a cheap same-vendor LLM call.
|
Package pulsebrief generates a short, structured status summary of a session from its conversation using a cheap same-vendor LLM call. |
|
release
Package release contains build metadata and best-effort release update checks.
|
Package release contains build metadata and best-effort release update checks. |
|
schedule
Package schedule provides durable one-shot schedule records.
|
Package schedule provides durable one-shot schedule records. |
|
secrets
Package secrets stages short-lived credentials for an agent to install.
|
Package secrets stages short-lived credentials for an agent to install. |
|
serve
Package serve provides an HTTP/WebSocket server for managing multiple agent sessions through a web dashboard.
|
Package serve provides an HTTP/WebSocket server for managing multiple agent sessions through a web dashboard. |
|
session
Package session manages persistent conversation sessions.
|
Package session manages persistent conversation sessions. |
|
sessioncheckpoint
Package sessioncheckpoint provides the single ephemeral handoff slot for a session.
|
Package sessioncheckpoint provides the single ephemeral handoff slot for a session. |
|
tasks
Package tasks provides a standalone task tracking system.
|
Package tasks provides a standalone task tracking system. |
|
usage
Package usage fetches Claude subscription plan usage from Anthropic's OAuth usage endpoint — the same data the Claude Code CLI shows via /usage (5-hour session window, weekly window, and pay-as-you-go "extra usage").
|
Package usage fetches Claude subscription plan usage from Anthropic's OAuth usage endpoint — the same data the Claude Code CLI shows via /usage (5-hour session window, weekly window, and pay-as-you-go "extra usage"). |
Click to show internal directories.
Click to hide internal directories.