Expand description
Configuration loading and resolution for CodeI.
Structs§
- Agent
Config - Config
- Full configuration after merging all sources.
- Defaults
Config - Grep
Tool Config - Hook
Config - Load
Options - Options that override layered configuration (CLI flags, etc.).
- McpConfig
- McpServer
- Plugins
Config - Provider
Config - Resolved
Config - Resolved configuration with metadata about where values came from.
- Session
Config - Tools
Config - UiConfig
Enums§
Functions§
- debug_
log_ path - Path to the append-only debug log file used with
codei --verbose. - default_
config_ template - Default user config template written by
codei config init. - default_
mcp_ template - discover_
project_ root - Walks up from
startlooking for project markers. - expand_
tilde - Expands a leading
~usingHOME. - init_
mcp_ config - init_
user_ config - Creates
~/.config/codei/config.tomlif it does not exist. Returns the path and whether a new file was created. - load
- Loads configuration from defaults, user file, project file, env, and CLI overrides.
- load_
mcp_ config - load_
plugins - mcp_
config_ path - parse_
mcp_ config - project_
config_ path - Returns the project-level config path under
.codei/config.toml. - run_
hooks - save_
mcp_ config - user_
config_ dir - Returns the user-level configuration directory (
~/.config/codeion Linux). - user_
config_ path - Returns the path to the user-level config file.
- user_
log_ dir - Returns the directory for debug/runtime logs (
~/.local/share/codei/logson Linux).