Expand description
Config file support: ~/.recursive/config.toml
Priority chain: CLI flag > env var > config file > hardcoded default. The config file is optional — if absent, we gracefully fall back.
Structs§
- Agent
Section - [agent] section.
- File
Config - Top-level deserialized structure of config.toml.
- Permissions
Section - [permissions] section. Wire-compatible with
crate::permissions::PermissionsConfigbut lives here so config loading does not couple to that crate. - Provider
Section - [provider] section.
Functions§
- config_
file_ path - Return the path to the global config file: ~/.recursive/config.toml. Returns None if the home directory cannot be determined.
- load_
layered_ permissions - Load layered permissions from user config and project config.
- set_
value - Write a dotted key=value to ~/.recursive/config.toml. Supports dotted keys like “provider.model”, “agent.max_steps”. Creates the file and parent directory if needed.