pkg/

directory
v0.47.0 Latest Latest
Warning

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

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

Directories

Path Synopsis
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.
Package attachment provides durable, content-addressed blob storage for session attachments.
Package attachment provides durable, content-addressed blob storage for session attachments.
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.
Package auth handles credential storage and OAuth flows for AI providers.
Package auth handles credential storage and OAuth flows for AI providers.
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.
Package book implements the project owner's book: the curated, on-disk record of a project that lives beside its memory (~/.config/moa/codebases/<key>/book/).
Package book implements the project owner's book: the curated, on-disk record of a project that lives beside its memory (~/.config/moa/codebases/<key>/book/).
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.
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.
Package checkpoint provides file-level undo for agent turns.
Package checkpoint provides file-level undo for agent turns.
Package compaction summarizes old conversation turns to reduce context size.
Package compaction summarizes old conversation turns to reduce context size.
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.
Package files provides reusable file scanning and filtering logic.
Package files provides reusable file scanning and filtering logic.
Package git provides lightweight git metadata for the agent's system prompt.
Package git provides lightweight git metadata for the agent's system prompt.
Package goal implements an autonomous maker→verifier loop ("goal mode").
Package goal implements an autonomous maker→verifier loop ("goal mode").
Package handoff prepares a compact, standalone prompt for a new agent session.
Package handoff prepares a compact, standalone prompt for a new agent session.
Package history provides the read-only `history` tool: the agent searches the original messages of its own session — including those already summarised by a compaction, cut by a fresh start or elided by a trim — reads one by ID and looks at its neighbours.
Package history provides the read-only `history` tool: the agent searches the original messages of its own session — including those already summarised by a compaction, cut by a fresh start or elided by a trim — reads one by ID and looks at its neighbours.
Package jsonutil provides utilities for working with JSON streams.
Package jsonutil provides utilities for working with JSON streams.
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.
Package moadocs serves moa's own documentation to the agent.
Package moadocs serves moa's own documentation to the agent.
Package owner persists the project owner of a codebase: the single agent that holds a project's criteria, reads reports from the ordinary sessions working on it, and keeps a curated book about it.
Package owner persists the project owner of a codebase: the single agent that holds a project's criteria, reads reports from the ordinary sessions working on it, and keeps a curated book about it.
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.
meta
Package meta implements the Meta Model API (Muse Spark) transport.
Package meta implements the Meta Model API (Muse Spark) transport.
openai
Package openai implements core.Provider for the OpenAI Responses API.
Package openai implements core.Provider for the OpenAI Responses API.
responses
Package responses implements the provider-neutral Responses API wire codec.
Package responses implements the provider-neutral Responses API wire codec.
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.
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.
xai
Package xai implements the public xAI Responses API transport.
Package xai implements the public xAI Responses API transport.
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.
Package release contains build metadata and best-effort release update checks.
Package release contains build metadata and best-effort release update checks.
Package schedule decodes the retired /schedule store (schedules.json), which serve imports once into the task database.
Package schedule decodes the retired /schedule store (schedules.json), which serve imports once into the task database.
Package secretaction lets the owner hand a password to one exact action the agent prepared — a command on a PTY or a field in the browser — without the value ever reaching the model, the transcript, the bus or the disk.
Package secretaction lets the owner hand a password to one exact action the agent prepared — a command on a PTY or a field in the browser — without the value ever reaching the model, the transcript, the bus or the disk.
Package secrets stages short-lived credentials for an agent to install.
Package secrets stages short-lived credentials for an agent to install.
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.
Package session manages persistent conversation sessions.
Package session manages persistent conversation sessions.
Package sessioncheckpoint provides the single ephemeral handoff slot for a session.
Package sessioncheckpoint provides the single ephemeral handoff slot for a session.
Package tasks is the installation-wide task authority: one SQLite database shared by every session, the CLI and the serve process.
Package tasks is the installation-wide task authority: one SQLite database shared by every session, the CLI and the serve process.
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").
Package voice holds the provider-neutral contract of a voice call and its upstream adapters.
Package voice holds the provider-neutral contract of a voice call and its upstream adapters.

Jump to

Keyboard shortcuts

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