Skip to main content

Module settings

Module settings 

Source
Expand description

Structured user settings (~/.capo/agent/settings.json).

JSON to match pi’s ~/.pi/agent/settings.json. Sections beyond the Phase 0 baseline (e.g. ui.theme variants, logging rotation) are reserved for M4+ and intentionally minimal here.

Structs§

AnthropicSettings
CliOverrides
LoggingSettings
ModelSettings
SessionSettings
Settings
UiSettings

Enums§

LlmProviderKind
Supported LLM providers. Settings::model.provider is a string for JSON-friendliness; this enum is the parsed form.

Functions§

load
Convenience: load using real env (std::env::var) and the default agent dir.
load_with
Load Settings, overlaying file (if present) → env → CLI.