Skip to main content

Module settings

Module settings 

Source
Expand description

Settings management for oxicode CLI

Settings are loaded in layers (later layers override earlier):

  1. Built-in defaults
  2. Global config: canonical home settings.{json,toml} (default ~/.oxi/oxicode/; legacy ~/.oxicode/ read-only fallback)
  3. Project config: .oxicode/settings.toml (walked up to repo root)
  4. Environment variables (OXICODE_* prefix)
  5. CLI arguments

Migration is handled via a version field in the config file.

Structs§

AdvisorSettings
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 (set enabled = true in [advisor]).
CustomProvider
A custom OpenAI-compatible provider configuration.
Settings
Application settings

Enums§

EditFormat
Edit format for the edit tool.
SettingsFormat
Supported settings file formats.
ThinkingLevel
Thinking level for agent responses
TodoEagerMode
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 keyword default as a variant name.

Functions§

parse_thinking_level
Parse a thinking level from a string.