Expand description
Configuration system: settings, themes, widgets, bookmarks, connections. Port of Go’s pkg/wconfig/.
Provides the full configuration type hierarchy and a thread-safe
in-memory config holder (ConfigState).
Note ConfigState does NOT watch the filesystem, despite the name this
module’s type carried until 2026-09-06. Filesystem watching lives in
backend::config_watcher_fs, on top of the shared fs_watch::pool. Two
similarly-named modules where only one watched cost real debugging time;
see REPORT_NETWORK_ARCHITECTURE_DRYNESS_AND_ROBUST_LAN_2026_09_06.md §7.
Re-exports§
pub use redact::redact_full_config_for_renderer;pub use settings_read::read_settings_file;pub use settings_read::read_settings_text;pub use settings_read::SettingsRead;pub use unrecognized::UnrecognizedSetting;pub use loader::*;pub use types::*;pub use state::*;
Modules§
- loader
- Config file loading, parsing, template merging, and environment expansion.
- redact
- Redact secret settings keys from the full-config JSON before it is sent to any renderer/frontend connection.
- settings_
read - Reading
settings.jsonone key at a time: a value that is the wrong type or outside its range uses that key’s default and is reported, and every other key applies (docs/specs/SPEC_SETTINGS_JSON_EVERY_KEY_ONE_TO_ONE_2026_11_01.md §5.5). - state
- Thread-safe in-memory configuration holder.
- types
- Configuration type definitions: settings, themes, widgets, connections, bookmarks.
- unrecognized
- Which keys of
settings.jsonAgentMux does not recognise, and what each was probably meant to be (docs/specs/SPEC_SETTINGS_JSON_EVERY_KEY_ONE_TO_ONE_2026_11_01.md §5.6, case 4).