internal/

directory
v0.0.0-...-e0b90a1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: Apache-2.0

Directories

Path Synopsis
Package app connects parsed commands to their runtime dependencies.
Package app connects parsed commands to their runtime dependencies.
Package cli defines the agentctl command-line surface: the command tree with every subcommand, flag, default and help string, the duration grammar shared by the interval and timeout flags, and the exit codes that the credential-swap outcomes of `claude use` report.
Package cli defines the agentctl command-line surface: the command tree with every subcommand, flag, default and help string, the duration grammar shared by the interval and timeout flags, and the exit codes that the credential-swap outcomes of `claude use` report.
Package commands implements the Claude subcommands over the provider, store and render packages.
Package commands implements the Claude subcommands over the provider, store and render packages.
codex
Package codex implements commands for isolated Codex subscription accounts.
Package codex implements commands for isolated Codex subscription accounts.
Package config derives every path agentctl is allowed to write to from one root, the configuration directory, and holds the account registry that lives at that root.
Package config derives every path agentctl is allowed to write to from one root, the configuration directory, and holds the account registry that lives at that root.
Package errs defines the failure vocabulary of the agentctl process and the mapping from a failure onto the process exit status.
Package errs defines the failure vocabulary of the agentctl process and the mapping from a failure onto the process exit status.
Package lockfile holds the one flock implementation every lock in the store goes through: the namespace locks and the configuration lock want exactly the same create, wait and fail-closed rules, and two copies of those rules would drift apart precisely where drift is dangerous.
Package lockfile holds the one flock implementation every lock in the store goes through: the namespace locks and the configuration lock want exactly the same create, wait and fail-closed rules, and two copies of those rules would drift apart precisely where drift is dangerous.
Package provider names the vendors agentctl reads usage for and defines the seam between "which vendor's API is this" and everything downstream of a fetch — the cache, the table, the exit status.
Package provider names the vendors agentctl reads usage for and defines the seam between "which vendor's API is this" and everything downstream of a fetch — the cache, the table, the exit status.
claude
Package claude edits Claude Code's own configuration documents without disturbing a single byte it does not own.
Package claude edits Claude Code's own configuration documents without disturbing a single byte it does not own.
codex
Package codex implements the Codex provider: account and credential handling for Codex installations.
Package codex implements the Codex provider: account and credential handling for Codex installations.
Package render turns a finished account pass into something a person reads: the status tables, the reset cells, and the row vocabulary the watch display shares with the status command.
Package render turns a finished account pass into something a person reads: the status tables, the reset cells, and the row vocabulary the watch display shares with the status command.
runtime
cleanup
Package cleanup keeps a process-wide list of actions that must be undone when the process stops abruptly.
Package cleanup keeps a process-wide list of actions that must be undone when the process stops abruptly.
coordinator
Package coordinator runs one bounded fan-out over the accounts and owns every child process that fan-out spawns.
Package coordinator runs one bounded fan-out over the accounts and owns every child process that fan-out spawns.
fault
Package fault makes otherwise unreachable failure branches reachable from tests.
Package fault makes otherwise unreachable failure branches reachable from tests.
lockorder
Package lockorder witnesses one lock-order rule: an operation never takes the registry's configuration lock while it owns a Codex namespace guard.
Package lockorder witnesses one lock-order rule: an operation never takes the registry's configuration lock while it owns a Codex namespace guard.
logbuf
Package logbuf decides where log output goes while the watch display owns the terminal.
Package logbuf decides where log output goes while the watch display owns the terminal.
proc
Package proc asks the operating system about processes other than this one.
Package proc asks the operating system about processes other than this one.
signals
Package signals handles the termination signals.
Package signals handles the termination signals.
tty
Package tty answers what a command may do with its own terminal: whether a stream is one, how big it is, and bounded waits for input on it — never another process's input.
Package tty answers what a command may do with its own terminal: whether a stream is one, how big it is, and bounded waits for input on it — never another process's input.
Package secret holds the on-disk primitives the credential store is built from.
Package secret holds the on-disk primitives the credential store is built from.
Package testutil is the shared test harness: one isolated binary per test.
Package testutil is the shared test harness: one isolated binary per test.
Package tui implements the provider-neutral watch display.
Package tui implements the provider-neutral watch display.
Package usage holds the normalized usage vocabulary shared by every provider: limit windows, percentages, credits and money.
Package usage holds the normalized usage vocabulary shared by every provider: limit windows, percentages, credits and money.

Jump to

Keyboard shortcuts

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