internal/

directory
v0.0.0-...-f03fdf5 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 agentctx reads agents' conversation transcripts.
Package agentctx reads agents' conversation transcripts.
Package agenthome is what an agent finds in its home directory in a sandbox: its saved login, copied in when a run starts and back out when it ends, and the tools volume an image without the agent installs it into.
Package agenthome is what an agent finds in its home directory in a sandbox: its saved login, copied in when a run starts and back out when it ends, and the tools volume an image without the agent installs it into.
Package agents describes the AI coding agents sandbox-cli knows how to start, as data rather than as code duplicated per subcommand.
Package agents describes the AI coding agents sandbox-cli knows how to start, as data rather than as code duplicated per subcommand.
Package agentstate says how an agent is doing — working, waiting for you, idle, finished — from evidence rather than from prose.
Package agentstate says how an agent is doing — working, waiting for you, idle, finished — from evidence rather than from prose.
api
Package api is the Sandbox API v1: its wire types, a Go client, and — in api/conformance — the suite that defines what every endpoint must do.
Package api is the Sandbox API v1: its wire types, a Go client, and — in api/conformance — the suite that defines what every endpoint must do.
conformance
Package conformance is the definition of "the same API in every mode".
Package conformance is the definition of "the same API in every mode".
Package audit is the server's event log: what each sandbox was asked to do, and what happened to it.
Package audit is the server's event log: what each sandbox was asked to do, and what happened to it.
Package backend is the seam between what a sandbox should be and the thing that makes one: a VM under the macOS `container` runtime, a Firecracker microVM, or the in-memory fake.
Package backend is the seam between what a sandbox should be and the thing that makes one: a VM under the macOS `container` runtime, a Firecracker microVM, or the in-memory fake.
fake
Package fake is an in-memory backend, so the API, the policy and the server can be tested — and the conformance suite run — with no VM and no daemon.
Package fake is an in-memory backend, so the API, the policy and the server can be tested — and the conformance suite run — with no VM and no daemon.
firecracker
Package firecracker is the Linux backend, for self-hosted and cloud: every sandbox is a Firecracker microVM.
Package firecracker is the Linux backend, for self-hosted and cloud: every sandbox is a Firecracker microVM.
macos
Package macos is the local backend: on a Mac (macOS 26+, arm64) each sandbox is a lightweight VM run by the native `container` runtime — its own kernel, one per sandbox.
Package macos is the local backend: on a Mac (macOS 26+, arm64) each sandbox is a lightweight VM run by the native `container` runtime — its own kernel, one per sandbox.
Package cli is cobra wiring and nothing else.
Package cli is cobra wiring and nothing else.
Package creds is the credential broker.
Package creds is the credential broker.
Package egressproxy enforces the egress allowlist by **name** rather than by address.
Package egressproxy enforces the egress allowlist by **name** rather than by address.
Package gateway is sandbox-gateway: one address in front of any number of sandboxd nodes (docs/roadmap/task-7-fleet-gateway.md).
Package gateway is sandbox-gateway: one address in front of any number of sandboxd nodes (docs/roadmap/task-7-fleet-gateway.md).
Package githard neutralises the parts of a git repository's own configuration that make git run commands.
Package githard neutralises the parts of a git repository's own configuration that make git run commands.
Package guestproto is how the host talks to sandbox-guestd inside a VM — the only way it does.
Package guestproto is how the host talks to sandbox-guestd inside a VM — the only way it does.
Package hostpath holds the refusals that apply to every host path sandboxd reads or mounts: never the filesystem root, never the user's home, never an ancestor of it — compared by identity, not by string.
Package hostpath holds the refusals that apply to every host path sandboxd reads or mounts: never the filesystem root, never the user's home, never an ancestor of it — compared by identity, not by string.
Package image turns an OCI image into what a backend boots: on Linux, a read-only ext4 root disk for Firecracker.
Package image turns an OCI image into what a backend boots: on Linux, a read-only ext4 root disk for Firecracker.
Package metrics writes the Prometheus text exposition format by hand, for sandboxd's and sandbox-gateway's GET /metrics.
Package metrics writes the Prometheus text exposition format by hand, for sandboxd's and sandbox-gateway's GET /metrics.
Package policy defines the sandbox configuration schema and its layered discovery/merge rules: built-in defaults < user config < project config < flags.
Package policy defines the sandbox configuration schema and its layered discovery/merge rules: built-in defaults < user config < project config < flags.
Package publicnet keeps a connection the host makes on a client's behalf — to a URL the client named — on the public internet.
Package publicnet keeps a connection the host makes on a client's behalf — to a URL the client named — on the public internet.
Package routing decides which agent a run actually uses when the first choice is unavailable.
Package routing decides which agent a run actually uses when the first choice is unavailable.
Package server serves Sandbox API v1 (docs/api/v1.md) for one machine, over whichever backend that machine has.
Package server serves Sandbox API v1 (docs/api/v1.md) for one machine, over whichever backend that machine has.
Package spec turns an API request into a fully resolved backend.Spec, against the server's policy, and refuses what the policy does not permit.
Package spec turns an API request into a fully resolved backend.Spec, against the server's policy, and refuses what the policy does not permit.
Package state records what no later command could otherwise recover about a sandbox: its repository, branch, agent and base.
Package state records what no later command could otherwise recover about a sandbox: its repository, branch, agent and base.
Package studio is the local server behind `sandbox-cli studio`: it serves the browser UI and a small API, and holds the one thing the browser must not — the token of the sandboxd the current context points at.
Package studio is the local server behind `sandbox-cli studio`: it serves the browser UI and a small API, and holds the one thing the browser must not — the token of the sandboxd the current context points at.
Package termsafe strips the characters a terminal reads as commands from strings that came from somewhere untrusted.
Package termsafe strips the characters a terminal reads as commands from strings that came from somewhere untrusted.
Package version holds build metadata and the base image tag.
Package version holds build metadata and the base image tag.
Package vsock is the host<->guest socket: listening on a vsock port inside a Linux guest, and dialling one from the host through Firecracker's unix-socket bridge.
Package vsock is the host<->guest socket: listening on a vsock port inside a Linux guest, and dialling one from the host through Firecracker's unix-socket bridge.

Jump to

Keyboard shortcuts

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