pub struct WorkspaceContextConfig {
pub enabled: bool,
pub inject_soul: bool,
pub inject_agents: bool,
pub inject_tools: bool,
pub inject_identity: bool,
pub inject_user: bool,
pub inject_memory: bool,
pub inject_heartbeat: bool,
pub inject_daily: bool,
pub daily_lookback_days: u32,
}Expand description
Configuration for workspace context injection.
Fields§
§enabled: boolEnable workspace file injection.
inject_soul: boolInject SOUL.md (personality).
inject_agents: boolInject AGENTS.md (behavior guidelines).
inject_tools: boolInject TOOLS.md (tool usage notes).
inject_identity: boolInject IDENTITY.md (agent identity).
inject_user: boolInject USER.md (user profile) — main session only.
inject_memory: boolInject MEMORY.md (long-term memory) — main session only.
inject_heartbeat: boolInject HEARTBEAT.md (periodic task checklist).
inject_daily: boolInject daily memory files (memory/YYYY-MM-DD.md) — main session only.
daily_lookback_days: u32Number of daily memory files to include (today + N days back).
Trait Implementations§
Source§impl Clone for WorkspaceContextConfig
impl Clone for WorkspaceContextConfig
Source§fn clone(&self) -> WorkspaceContextConfig
fn clone(&self) -> WorkspaceContextConfig
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 WorkspaceContextConfig
impl Debug for WorkspaceContextConfig
Source§impl Default for WorkspaceContextConfig
impl Default for WorkspaceContextConfig
Source§impl<'de> Deserialize<'de> for WorkspaceContextConfig
impl<'de> Deserialize<'de> for WorkspaceContextConfig
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 WorkspaceContextConfig
impl RefUnwindSafe for WorkspaceContextConfig
impl Send for WorkspaceContextConfig
impl Sync for WorkspaceContextConfig
impl Unpin for WorkspaceContextConfig
impl UnsafeUnpin for WorkspaceContextConfig
impl UnwindSafe for WorkspaceContextConfig
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