pub struct CollectOptions {
pub walk_up_claude_md: bool,
pub output_style: Option<String>,
pub outside_project: bool,
}Expand description
FrozenContext 收集选项。
Fields§
§walk_up_claude_md: bool是否在 cwd 之上向上爬找 AGENTS.md(含 git root)。默认 true。
monorepo 子目录不想吃父级 monorepo 上下文时设为 false。
output_style: Option<String>启动时按名称加载 output style(先项目级再用户级)。 None = 不加载。
outside_project: boolcwd 不是项目(无项目会话的专属工作目录):不跑 git、不找 AGENTS.md,
项目级的 skills 与 output style 也没有。
Implementations§
Trait Implementations§
Source§impl Clone for CollectOptions
impl Clone for CollectOptions
Source§impl Debug for CollectOptions
impl Debug for CollectOptions
Auto Trait Implementations§
impl Forget for CollectOptions
impl Freeze for CollectOptions
impl Move for CollectOptions
impl RefUnwindSafe for CollectOptions
impl Send for CollectOptions
impl Sync for CollectOptions
impl Unpin for CollectOptions
impl UnsafeUnpin for CollectOptions
impl UnwindSafe for CollectOptions
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