pub struct DocumentsConfig {
pub include: Vec<String>,
pub auto_session_for_all_md: bool,
}Expand description
Opt-in document gating ([documents] section in .agent-doc/config.toml).
Controls which .md files agent-doc may auto-convert into a session. By
default a plain .md is not an agent-doc document — it must opt in via
frontmatter (an agent_doc_* field), a matching include glob here, or the
auto_session_for_all_md escape hatch. See
is_agent_doc_document.
Fields§
§include: Vec<String>Project-relative globs whose matching .md files are treated as
agent-doc session documents (e.g. ["tasks/**/*.md", "plan.md"]).
auto_session_for_all_md: boolLegacy escape hatch restoring the old “every .md is a session”
behavior. Default false.
Trait Implementations§
Source§impl Clone for DocumentsConfig
impl Clone for DocumentsConfig
Source§impl Debug for DocumentsConfig
impl Debug for DocumentsConfig
Source§impl Default for DocumentsConfig
impl Default for DocumentsConfig
Source§impl<'de> Deserialize<'de> for DocumentsConfig
impl<'de> Deserialize<'de> for DocumentsConfig
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 Forget for DocumentsConfig
impl Freeze for DocumentsConfig
impl RefUnwindSafe for DocumentsConfig
impl Send for DocumentsConfig
impl Sync for DocumentsConfig
impl Unpin for DocumentsConfig
impl UnsafeUnpin for DocumentsConfig
impl UnwindSafe for DocumentsConfig
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