Skip to content

loadAgentConfig

View as Markdown
function loadAgentConfig(home?): Promise<AgentConfig>;

Defined in: agent/src/config.ts:156

Loads ~/.uncage/agent.yaml (missing → no sites, bypass off). The file holds machine tokens, so a group/world-readable file is tightened to 0600.

Parameter Type
home? string

Promise<AgentConfig>