Documentation
¶
Overview ¶
Package paths resolves AgentRoute's own state directories.
AgentRoute never writes its own state into a linked tool's config directory (e.g. ~/.claude/). All AgentRoute state lives under the OS standard config directory, in an "AgentRoute" subfolder:
Windows: %APPDATA%\AgentRoute\ macOS: ~/Library/Application Support/AgentRoute/ Linux: ~/.config/agentroute/ (respects $XDG_CONFIG_HOME via os.UserConfigDir)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigFile ¶
ConfigFile returns the path to AgentRoute's main app config file.
func GatewayStateFile ¶
GatewayStateFile returns the path to the file recording the running gateway's port, session auth token, and pid.
func LinkStateFile ¶
LinkStateFile returns the path to the file recording exactly which keys AgentRoute wrote into a given platform's config, so Unlink can remove precisely those keys and nothing else.
func ProfilesDir ¶
ProfilesDir returns (creating if needed) the directory holding saved profile JSON files.
func Root ¶
Root returns AgentRoute's top-level state directory, creating it if it does not already exist.
func SidecarDir ¶
SidecarDir returns (creating if needed) the directory holding the rendered LiteLLM config, its pid file, and its log file.
Types ¶
This section is empty.