Expand description
Settings management for oxicode CLI
Settings are loaded in layers (later layers override earlier):
- Built-in defaults
- Global config: canonical home
settings.{json,toml}(default~/.oxi/oxicode/; legacy~/.oxicode/read-only fallback) - Project config:
.oxicode/settings.toml(walked up to repo root) - Environment variables (
OXICODE_*prefix) - CLI arguments
Migration is handled via a version field in the config file.
Structs§
- Advisor
Settings - Advisor subsystem settings — a read-only reviewer that shadows the primary
agent and surfaces advice (
nit/concern/blocker). All default OFF; the advisor is opt-in (setenabled = truein[advisor]). - Custom
Provider - A custom OpenAI-compatible provider configuration.
- Settings
- Application settings
Enums§
- Edit
Format - Edit format for the edit tool.
- Settings
Format - Supported settings file formats.
- Thinking
Level - Thinking level for agent responses
- Todo
Eager Mode - How strongly to auto-create a todo list on the first turn. Mirrors omp’s
todo.eager(default/preferred/always), renamed to avoid the Rust keyworddefaultas a variant name.
Functions§
- parse_
thinking_ level - Parse a thinking level from a string.