Structs§
Constants§
- CODEX_
PROFILE_ ENV - Compatibility with launchers that export the Codex profile name.
- LEAN_
CTX_ CODEX_ PROFILE_ ENV - Explicit profile override understood by lean-ctx when it is run outside
the Codex process that received
--profile.
Functions§
- resolve_
codex_ config_ path - Resolve the path lean-ctx should write for the active Codex profile.
- resolve_
codex_ config_ paths - Resolve both layers of the effective Codex configuration.
- resolve_
codex_ dir - Resolve the Codex config directory.
Respects
CODEX_HOMEenv var (official Codex CLI feature). Falls back to~/.codexwhen unset or empty. - resolve_
home_ dir - Resolve the user’s home directory in a way that is: