Module config

Module config 

Source

Structs§

Config
Application configuration loaded from disk and merged with overrides.
ConfigOverrides
Optional overrides for user configuration (e.g., from CLI flags).
ConfigToml
Base config deserialized from ~/.agcodex/config.toml.
ProjectConfig

Functions§

find_agcodex_home
Returns the path to the Codex configuration directory, which can be specified by the CODEX_HOME environment variable. If not set, defaults to ~/.agcodex.
load_config_as_toml
Read CODEX_HOME/config.toml and return it as a generic TOML value. Returns an empty TOML table when the file does not exist.
load_config_as_toml_with_cli_overrides
log_dir
Returns the path to the folder where Codex logs are stored. Does not verify that the directory exists.
set_project_trusted
Patch CODEX_HOME/config.toml project state. Use with caution.