Directories
¶
| Path | Synopsis |
|---|---|
|
Package audit provides tamper-proof logging with cryptographic verification.
|
Package audit provides tamper-proof logging with cryptographic verification. |
|
Package browser opens URLs in the user's default web browser.
|
Package browser opens URLs in the user's default web browser. |
|
Package cli provides shared types and utilities for CLI commands.
|
Package cli provides shared types and utilities for CLI commands. |
|
Package clipboard accesses the host system clipboard.
|
Package clipboard accesses the host system clipboard. |
|
Package clipboardwire carries text clipboard changes over a container exec stream.
|
Package clipboardwire carries text clipboard changes over a container exec stream. |
|
Package config handles moat.yaml manifest parsing.
|
Package config handles moat.yaml manifest parsing. |
|
Package container provides an abstraction over container runtimes.
|
Package container provides an abstraction over container runtimes. |
|
output
Package output provides consistent user-facing messages for container operations.
|
Package output provides consistent user-facing messages for container operations. |
|
Package credential provides credential management for Moat.
|
Package credential provides credential management for Moat. |
|
keyring
Package keyring provides secure storage for the credential encryption key.
|
Package keyring provides secure storage for the credential encryption key. |
|
Package daemon implements the proxy daemon's management API.
|
Package daemon implements the proxy daemon's management API. |
|
internal/deps/builder.go
|
internal/deps/builder.go |
|
versions
Package versions provides version resolution for runtime dependencies.
|
Package versions provides version resolution for runtime dependencies. |
|
Package doctor provides diagnostic output for debugging Moat.
|
Package doctor provides diagnostic output for debugging Moat. |
|
Package githubscope limits what a run's github grant can change on GitHub to the repositories that belong to the project being worked on.
|
Package githubscope limits what a run's github grant can change on GitHub to the repositories that belong to the project being worked on. |
|
Package hostnames defines synthetic hostnames that moat injects into container networking.
|
Package hostnames defines synthetic hostnames that moat injects into container networking. |
|
Package id provides unique identifier generation for moat resources.
|
Package id provides unique identifier generation for moat resources. |
|
Package image handles container image selection.
|
Package image handles container image selection. |
|
Package initbin embeds the prebuilt moat-init entrypoint binaries (cmd/moat-init cross-compiled static for linux/amd64 and linux/arm64) so the moat host binary can ship them into run images without any network fetch at image-build time.
|
Package initbin embeds the prebuilt moat-init entrypoint binaries (cmd/moat-init cross-compiled static for linux/amd64 and linux/arm64) so the moat host binary can ship them into run images without any network fetch at image-build time. |
|
gate
command
Command gate is the release pipeline's ship-refusal + positive functional gate for the embedded moat-init binaries (plan §5).
|
Command gate is the release pipeline's ship-refusal + positive functional gate for the embedded moat-init binaries (plan §5). |
|
gen
command
Command gen cross-compiles cmd/moat-init into the embed/ blobs and refreshes checksums.txt.
|
Command gen cross-compiles cmd/moat-init into the embed/ blobs and refreshes checksums.txt. |
|
Package langserver provides a registry of prepackaged language servers that can be enabled with a single line in moat.yaml.
|
Package langserver provides a registry of prepackaged language servers that can be enabled with a single line in moat.yaml. |
|
Package log is moat's structured diagnostic logger (log.Debug/Info/Warn/Error).
|
Package log is moat's structured diagnostic logger (log.Debug/Info/Warn/Error). |
|
Package mcpcatalog holds the registry of well-known MCP servers, used both for `moat grant oauth` auto-discovery and for resolving bare `mcp:` names in moat.yaml.
|
Package mcpcatalog holds the registry of well-known MCP servers, used both for `moat grant oauth` auto-discovery and for resolving bare `mcp:` names in moat.yaml. |
|
Package moatinit implements the container entrypoint as testable Go.
|
Package moatinit implements the container entrypoint as testable Go. |
|
Package name generates random agent names.
|
Package name generates random agent names. |
|
Package provider defines interfaces for credential and agent providers.
|
Package provider defines interfaces for credential and agent providers. |
|
util
Package util provides shared utilities for provider implementations.
|
Package util provides shared utilities for provider implementations. |
|
Package providers provides explicit registration of all credential and agent providers.
|
Package providers provides explicit registration of all credential and agent providers. |
|
aws
Package aws implements the AWS credential provider for moat.
|
Package aws implements the AWS credential provider for moat. |
|
claude
Package claude implements the Claude Code credential and agent provider.
|
Package claude implements the Claude Code credential and agent provider. |
|
codex
Package codex implements the Codex credential and agent provider.
|
Package codex implements the Codex credential and agent provider. |
|
gemini
Package gemini provides Google Gemini CLI integration for Moat.
|
Package gemini provides Google Gemini CLI integration for Moat. |
|
github
Package github implements the GitHub credential provider.
|
Package github implements the GitHub credential provider. |
|
graphite
Package graphite implements a credential provider for the Graphite CLI (gt).
|
Package graphite implements a credential provider for the Graphite CLI (gt). |
|
lunaroute
Package lunaroute implements a credential provider for LunaRoute (https://lunaroute.com), a gateway that serves many models behind one key.
|
Package lunaroute implements a credential provider for LunaRoute (https://lunaroute.com), a gateway that serves many models behind one key. |
|
oauth
Package oauth implements an OAuth 2.1 credential provider for Moat.
|
Package oauth implements an OAuth 2.1 credential provider for Moat. |
|
openai
Package openai provides OpenAI API-key credentials independently of the Codex subscription provider.
|
Package openai provides OpenAI API-key credentials independently of the Codex subscription provider. |
|
pi
Package pi implements the Pi coding agent provider.
|
Package pi implements the Pi coding agent provider. |
|
supabase
Package supabase provides a Supabase Management API grant with optional import of a host Supabase CLI login.
|
Package supabase provides a Supabase Management API grant with optional import of a host Supabase CLI login. |
|
Package quickstart generates reference material for AI agent quickstart prompts.
|
Package quickstart generates reference material for AI agent quickstart prompts. |
|
Package rfc2217 implements the telnet com-port-control option (RFC 2217), which carries baud rate, data framing, DTR/RTS, and break over TCP.
|
Package rfc2217 implements the telnet com-port-control option (RFC 2217), which carries baud rate, data framing, DTR/RTS, and break over TCP. |
|
Package routing provides hostname-based reverse proxy routing.
|
Package routing provides hostname-based reverse proxy routing. |
|
Package run owns the lifecycle of a moat run — a sealed, ephemeral execution of an agent inside an isolated container with its workspace, dependencies, credentials, and observability wired in.
|
Package run owns the lifecycle of a moat run — a sealed, ephemeral execution of an agent inside an isolated container with its workspace, dependencies, credentials, and observability wired in. |
|
Package runctx provides runtime context types and rendering for agent instruction files.
|
Package runctx provides runtime context types and rendering for agent instruction files. |
|
Package secrets provides pluggable secret resolution from external backends.
|
Package secrets provides pluggable secret resolution from external backends. |
|
Package serialbroker serves host serial devices to containers over RFC2217.
|
Package serialbroker serves host serial devices to containers over RFC2217. |
|
Package serialdev enumerates host serial devices and records which ones a run has been approved to use.
|
Package serialdev enumerates host serial devices and records which ones a run has been approved to use. |
|
Package serialport opens host serial devices and applies line settings.
|
Package serialport opens host serial devices and applies line settings. |
|
Package serialtest provides fakes for testing serial device handling without hardware.
|
Package serialtest provides fakes for testing serial device handling without hardware. |
|
Package snapshot provides types and interfaces for workspace snapshots.
|
Package snapshot provides types and interfaces for workspace snapshots. |
|
Package sshagent implements a filtering SSH agent proxy.
|
Package sshagent implements a filtering SSH agent proxy. |
|
Package storage provides run storage infrastructure for Moat.
|
Package storage provides run storage infrastructure for Moat. |
|
Package term provides terminal utilities for interactive sessions.
|
Package term provides terminal utilities for interactive sessions. |
|
Package trace provides execution tracing for containerized processes.
|
Package trace provides execution tracing for containerized processes. |
|
internal/tui/statusbar.go
|
internal/tui/statusbar.go |
|
Package ui renders user-facing messages and styling for moat's CLI.
|
Package ui renders user-facing messages and styling for moat's CLI. |
|
Package worktree provides git worktree management for moat runs.
|
Package worktree provides git worktree management for moat runs. |
Click to show internal directories.
Click to hide internal directories.