Directories
¶
| Path | Synopsis |
|---|---|
|
Package cli implements AgentRoute's plain, scriptable command surface (cobra commands), per the architecture plan §7.5-7.6.
|
Package cli implements AgentRoute's plain, scriptable command surface (cobra commands), per the architecture plan §7.5-7.6. |
|
Package config loads and saves AgentRoute's own application configuration (internal/config/config.go), distinct from any third-party tool's config that a platform adapter may edit.
|
Package config loads and saves AgentRoute's own application configuration (internal/config/config.go), distinct from any third-party tool's config that a platform adapter may edit. |
|
Package fsutil provides small filesystem helpers used wherever AgentRoute must write state or edit a third-party config file safely.
|
Package fsutil provides small filesystem helpers used wherever AgentRoute must write state or edit a third-party config file safely. |
|
Package gateway implements AgentRoute's local routing gateway: it listens on 127.0.0.1, accepts requests in whatever wire format a linked coding tool speaks (Anthropic Messages, OpenAI Chat Completions, Gemini generateContent), rewrites the requested model alias to the OpenRouter model the user chose for that tier, and forwards upstream.
|
Package gateway implements AgentRoute's local routing gateway: it listens on 127.0.0.1, accepts requests in whatever wire format a linked coding tool speaks (Anthropic Messages, OpenAI Chat Completions, Gemini generateContent), rewrites the requested model alias to the OpenRouter model the user chose for that tier, and forwards upstream. |
|
Package openrouter is a minimal client for the OpenRouter model catalog and API key validation.
|
Package openrouter is a minimal client for the OpenRouter model catalog and API key validation. |
|
Package orchestrator owns the gateway+sidecar+link lifecycle that both `agentroute up` (plain CLI) and the TUI's Dashboard/Gateway screen drive.
|
Package orchestrator owns the gateway+sidecar+link lifecycle that both `agentroute up` (plain CLI) and the TUI's Dashboard/Gateway screen drive. |
|
Package paths resolves AgentRoute's own state directories.
|
Package paths resolves AgentRoute's own state directories. |
|
Package platform defines the extension boundary AgentRoute uses to wire up coding agent tools (Claude Code in v1; Codex, Gemini CLI, and others later via manifest-driven or in-tree adapters).
|
Package platform defines the extension boundary AgentRoute uses to wire up coding agent tools (Claude Code in v1; Codex, Gemini CLI, and others later via manifest-driven or in-tree adapters). |
|
claudecode
Package claudecode is AgentRoute's v1 in-tree Platform adapter for Claude Code.
|
Package claudecode is AgentRoute's v1 in-tree Platform adapter for Claude Code. |
|
Package profile manages saved AgentRoute profiles: named sets of per-tier OpenRouter model choices (the generic "heavy"/"balanced"/"fast" roles described in the architecture plan), persisted as JSON files under the AgentRoute state directory.
|
Package profile manages saved AgentRoute profiles: named sets of per-tier OpenRouter model choices (the generic "heavy"/"balanced"/"fast" roles described in the architecture plan), persisted as JSON files under the AgentRoute state directory. |
|
Package secret stores AgentRoute's sensitive values (currently just the user's OPENROUTER_API_KEY).
|
Package secret stores AgentRoute's sensitive values (currently just the user's OPENROUTER_API_KEY). |
|
Package sidecar manages the v1 LiteLLM proxy subprocess that serves the Anthropic-wire translator until v2's native Go translator replaces it (see the architecture plan, §5.4).
|
Package sidecar manages the v1 LiteLLM proxy subprocess that serves the Anthropic-wire translator until v2's native Go translator replaces it (see the architecture plan, §5.4). |
|
Package tui is AgentRoute's Bubble Tea application: a root model that routes between the screens described in the architecture plan §7, a persistent header/status bar, a toast overlay, and a help overlay.
|
Package tui is AgentRoute's Bubble Tea application: a root model that routes between the screens described in the architecture plan §7, a persistent header/status bar, a toast overlay, and a help overlay. |
|
anim
Package anim provides Harmonica-backed spring animation helpers for the TUI, plus the single reduced-motion check every animation must consult (see plan §7.4: animations are disabled under --plain, non-TTY, NO_COLOR, or AGENTROUTE_REDUCE_MOTION=1).
|
Package anim provides Harmonica-backed spring animation helpers for the TUI, plus the single reduced-motion check every animation must consult (see plan §7.4: animations are disabled under --plain, non-TTY, NO_COLOR, or AGENTROUTE_REDUCE_MOTION=1). |
|
theme
Package theme is the single source of truth for AgentRoute's locked brand palette (see BRANDING.md).
|
Package theme is the single source of truth for AgentRoute's locked brand palette (see BRANDING.md). |
|
Package version holds build-time metadata injected via -ldflags by goreleaser.
|
Package version holds build-time metadata injected via -ldflags by goreleaser. |
Click to show internal directories.
Click to hide internal directories.