pkg/

directory
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 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 bootstrap wires up a complete agent session: tool registry, MCP, permissions, subagents, plan mode, skills, verify, and system prompt.
Package bootstrap wires up a complete agent session: tool registry, MCP, permissions, subagents, plan mode, skills, verify, and system prompt.
Package bus provides a typed event bus for decoupling agent, TUI, and serve layers.
Package bus provides a typed event bus for decoupling agent, TUI, and serve layers.
Package checkpoint provides file-level undo for agent turns.
Package checkpoint provides file-level undo for agent turns.
Package clipboard provides system clipboard image reading.
Package clipboard provides system clipboard image reading.
Package compaction summarizes old conversation turns to reduce context size.
Package compaction summarizes old conversation turns to reduce context size.
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 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 permission mediates tool execution approvals between the agent loop and the TUI.
Package permission mediates tool execution approvals between the agent loop and the TUI.
Package planmode implements a plan-then-execute workflow.
Package planmode implements a plan-then-execute workflow.
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 provides durable one-shot schedule records.
Package schedule provides durable one-shot schedule records.
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 provides a standalone task tracking system.
Package tasks provides a standalone task tracking system.
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").

Jump to

Keyboard shortcuts

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