pub struct Config {
pub roots: Vec<PathBuf>,
pub aliases: BTreeMap<String, String>,
pub llm_command: String,
pub sessions_dir: PathBuf,
pub max_sessions: usize,
pub max_session_kb: u64,
pub scan_depth: usize,
pub inventory_ttl_secs: u64,
}Fields§
§roots: Vec<PathBuf>Directories where git repositories are searched.
aliases: BTreeMap<String, String>Optional per-root label override, keyed by the canonical root path.
llm_command: StringCommand that receives the prompt on stdin and returns the answer on stdout.
sessions_dir: PathBufClaude Code sessions directory.
max_sessions: usizeMaximum number of sessions used in distillation.
max_session_kb: u64KB read from the tail of each session.
scan_depth: usizeMaximum directory depth (from each root) to search for git repositories.
inventory_ttl_secs: u64Seconds before an inventory entry is considered expired regardless of SHA match. 0 (default) means SHA-only validation with no time-based expiry.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
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
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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