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 - Skill
- Metadata for a discovered
SKILL.md. - Tools
Config - UiConfig
- WebFetch
Tool Config - WebSearch
Tool Config
Enums§
- Config
Error - Hook
Event - Session
Storage - Shell
Sandbox Mode - Skill
Source - Where a skill was discovered on disk.
- UiTheme
- WebSearch
Provider
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. - discover_
skills - Discover skills from user and project directories.
- expand_
tilde - Expands a leading
~usingHOME. - find_
skill - Find a skill by
name(case-insensitive) or parent directory name. - format_
skills_ for_ prompt - Format a compact skill index for the system prompt.
- 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. - read_
skill_ body - Read skill instructions (body without YAML frontmatter).
- 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).