pub struct ConfigReport {Show 22 fields
pub schema_version: &'static str,
pub config_files: Vec<String>,
pub all: Field<bool>,
pub harnesses: Field<Vec<String>>,
pub exclude: Field<Vec<String>>,
pub model: Field<String>,
pub system: Field<String>,
pub bypass: Field<bool>,
pub mode: Field<PermissionMode>,
pub timeout: Field<u64>,
pub output_format: Field<OutputFormat>,
pub schema_file: Field<String>,
pub schema_max_retries: Field<u32>,
pub max_parallel: Field<usize>,
pub require_available: Field<bool>,
pub history: Field<bool>,
pub history_dir: Field<String>,
pub allowed_tools: Field<Vec<String>>,
pub denied_tools: Field<Vec<String>>,
pub hooks: Field<Vec<HookEntry>>,
pub env: BTreeMap<String, Field<String>>,
pub harness: BTreeMap<String, HarnessReport>,
}Expand description
The oneharness config report: the fully layered configuration with the
provenance of every value, so a consumer can see exactly which file (or
default) shaped each setting of a run.
Fields§
§schema_version: &'static str§config_files: Vec<String>The files consulted, in layering order (user first, project last).
all: Field<bool>§harnesses: Field<Vec<String>>§exclude: Field<Vec<String>>§model: Field<String>§system: Field<String>§bypass: Field<bool>§mode: Field<PermissionMode>The configured mode, if any. Unset when only the legacy bypass field
(or neither) is set — the effective mode then derives from bypass.
timeout: Field<u64>§output_format: Field<OutputFormat>§schema_file: Field<String>§schema_max_retries: Field<u32>§max_parallel: Field<usize>§require_available: Field<bool>§history: Field<bool>§history_dir: Field<String>§allowed_tools: Field<Vec<String>>§denied_tools: Field<Vec<String>>§hooks: Field<Vec<HookEntry>>§env: BTreeMap<String, Field<String>>Per-key provenance for the top-level [env].
harness: BTreeMap<String, HarnessReport>Per-harness overrides, with per-field provenance.
Trait Implementations§
Source§impl Debug for ConfigReport
impl Debug for ConfigReport
Auto Trait Implementations§
impl Freeze for ConfigReport
impl RefUnwindSafe for ConfigReport
impl Send for ConfigReport
impl Sync for ConfigReport
impl Unpin for ConfigReport
impl UnsafeUnpin for ConfigReport
impl UnwindSafe for ConfigReport
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more