pub struct FileConfig {
pub provider: Option<ProviderSection>,
pub agent: Option<AgentSection>,
pub permissions: Option<PermissionsSection>,
pub sandbox: Option<SandboxSection>,
pub search: Option<SearchSection>,
pub stuck: Option<StuckSection>,
pub limits: Option<LimitsSection>,
}Expand description
Top-level deserialized structure of config.toml.
Fields§
§provider: Option<ProviderSection>§agent: Option<AgentSection>§permissions: Option<PermissionsSection>Optional [permissions] section. When present, restricts which
tools the agent may invoke. Schema mirrors
crate::permissions::PermissionsConfig. See g140.
sandbox: Option<SandboxSection>Optional [sandbox] section. Expands the filesystem sandbox beyond
the primary workspace so the agent can read (and, if declared,
write) files in additional directories.
search: Option<SearchSection>Optional [search] section. Web search provider configuration.
Falls back to RECURSIVE_WEB_SEARCH_* env vars.
stuck: Option<StuckSection>Optional [stuck] section. Stuck detection thresholds.
Falls back to RECURSIVE_STUCK_* env vars.
limits: Option<LimitsSection>Optional [limits] section. Runtime limits.
Falls back to RECURSIVE_* env vars.
Implementations§
Trait Implementations§
Source§impl Debug for FileConfig
impl Debug for FileConfig
Source§impl Default for FileConfig
impl Default for FileConfig
Source§impl<'de> Deserialize<'de> for FileConfig
impl<'de> Deserialize<'de> for FileConfig
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 FileConfig
impl RefUnwindSafe for FileConfig
impl Send for FileConfig
impl Sync for FileConfig
impl Unpin for FileConfig
impl UnsafeUnpin for FileConfig
impl UnwindSafe for FileConfig
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.