pub struct FeaturesConfig {
pub token_budget: bool,
pub commit_attribution: bool,
pub compaction_reminders: bool,
pub unattended_retry: bool,
pub history_snip: bool,
pub auto_theme: bool,
pub mcp_rich_output: bool,
pub fork_conversation: bool,
pub verification_agent: bool,
pub extract_memories: bool,
pub context_collapse: bool,
pub reactive_compact: bool,
}Expand description
Feature flags. All enabled by default — no artificial gates. Users can disable individual features in config.toml under [features].
Fields§
§token_budget: boolTrack per-turn token usage and warn when approaching budget.
commit_attribution: boolAdd co-author attribution line to git commits.
compaction_reminders: boolShow a system reminder after context compaction.
unattended_retry: boolAuto retry on capacity/overload errors in non-interactive mode.
history_snip: boolEnable /snip command to remove message ranges from history.
auto_theme: boolAuto-detect system dark/light mode for theme.
mcp_rich_output: boolRich formatting for MCP tool output.
fork_conversation: boolEnable /fork command to branch conversation.
verification_agent: boolVerification agent that checks completed tasks.
extract_memories: boolBackground memory extraction after each turn.
context_collapse: boolContext collapse (snip old messages) when approaching limits.
reactive_compact: boolReactive auto-compaction when token budget is tight.
Trait Implementations§
Source§impl Clone for FeaturesConfig
impl Clone for FeaturesConfig
Source§fn clone(&self) -> FeaturesConfig
fn clone(&self) -> FeaturesConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FeaturesConfig
impl Debug for FeaturesConfig
Source§impl Default for FeaturesConfig
impl Default for FeaturesConfig
Source§impl<'de> Deserialize<'de> for FeaturesConfigwhere
FeaturesConfig: Default,
impl<'de> Deserialize<'de> for FeaturesConfigwhere
FeaturesConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FeaturesConfig
impl RefUnwindSafe for FeaturesConfig
impl Send for FeaturesConfig
impl Sync for FeaturesConfig
impl Unpin for FeaturesConfig
impl UnsafeUnpin for FeaturesConfig
impl UnwindSafe for FeaturesConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more