pub struct CliOverrides {Show 24 fields
pub bind: Option<String>,
pub enable_enhance_flow: Option<bool>,
pub legacy_worker_binding_policy: Option<LegacyWorkerBindingPolicy>,
pub blueprint_ref_base: Option<PathBuf>,
pub blueprint_ref_includes: Vec<PathBuf>,
pub blueprint_strict_embed: Option<bool>,
pub inject_endpoint_for_worker: Option<bool>,
pub long_hold_warn_ms: Option<u64>,
pub git_store_path: Option<PathBuf>,
pub issue_store_path: Option<PathBuf>,
pub enhance_setting_store_path: Option<PathBuf>,
pub enhance_log_store_path: Option<PathBuf>,
pub output_store_path: Option<PathBuf>,
pub task_store_path: Option<PathBuf>,
pub run_store_path: Option<PathBuf>,
pub replay_store_path: Option<PathBuf>,
pub ephemeral: Option<bool>,
pub seed_blueprint_id: Option<String>,
pub default_agent_kind: Option<String>,
pub token_secret: Option<String>,
pub sync_timeout_secs: Option<u64>,
pub stale_run_sweep_secs: Option<u64>,
pub engine_max_hold_ms: Option<u64>,
pub check_policy: Option<CheckPolicy>,
}Expand description
CLI-side overrides. Mirrors FileConfig field-for-field. Kept as a
separate type (rather than reusing clap::Args directly) so this module
stays independent of the clap derive on main.rs::Args.
Fields§
§bind: Option<String>--bind value, unparsed (mirrors FileConfig::bind).
enable_enhance_flow: Option<bool>--enable-enhance-flow flag.
legacy_worker_binding_policy: Option<LegacyWorkerBindingPolicy>--legacy-worker-binding-policy value.
blueprint_ref_base: Option<PathBuf>--blueprint-ref-base value.
blueprint_ref_includes: Vec<PathBuf>--include values (repeatable). Merged with the file config’s
blueprint_ref_includes (CLI wins on conflict — see resolve).
blueprint_strict_embed: Option<bool>--blueprint-strict-embed flag (mirrors
FileConfig::blueprint_strict_embed).
inject_endpoint_for_worker: Option<bool>--inject-endpoint-for-worker flag (mirrors
FileConfig::inject_endpoint_for_worker).
long_hold_warn_ms: Option<u64>--long-hold-warn-ms value (mirrors
FileConfig::long_hold_warn_ms).
git_store_path: Option<PathBuf>--git-store-path value.
issue_store_path: Option<PathBuf>--issue-store-path value (mirrors FileConfig::issue_store_path).
enhance_setting_store_path: Option<PathBuf>--enhance-setting-store-path value.
enhance_log_store_path: Option<PathBuf>--enhance-log-store-path value.
output_store_path: Option<PathBuf>--output-store-path value.
task_store_path: Option<PathBuf>--task-store-path value (mirrors FileConfig::task_store_path).
run_store_path: Option<PathBuf>--run-store-path value (mirrors FileConfig::run_store_path).
replay_store_path: Option<PathBuf>--replay-store-path value (mirrors FileConfig::replay_store_path).
ephemeral: Option<bool>--ephemeral flag (mirrors FileConfig::ephemeral).
seed_blueprint_id: Option<String>--seed-blueprint-id value.
default_agent_kind: Option<String>--default-agent-kind value (snake_case AgentKind literal, unvalidated).
token_secret: Option<String>--token-secret value.
sync_timeout_secs: Option<u64>--sync-timeout-secs value (mirrors FileConfig::sync_timeout_secs).
stale_run_sweep_secs: Option<u64>--stale-run-sweep-secs value (mirrors
FileConfig::stale_run_sweep_secs).
engine_max_hold_ms: Option<u64>--engine-max-hold-ms value (mirrors
FileConfig::engine_max_hold_ms).
check_policy: Option<CheckPolicy>--check-policy value (mirrors FileConfig::check_policy).
Parsed at the caller (serve.rs) before landing here — invalid
tokens are rejected before this struct is ever constructed.
Trait Implementations§
Source§impl Clone for CliOverrides
impl Clone for CliOverrides
Source§fn clone(&self) -> CliOverrides
fn clone(&self) -> CliOverrides
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CliOverrides
impl Debug for CliOverrides
Source§impl Default for CliOverrides
impl Default for CliOverrides
Source§fn default() -> CliOverrides
fn default() -> CliOverrides
Auto Trait Implementations§
impl Freeze for CliOverrides
impl RefUnwindSafe for CliOverrides
impl Send for CliOverrides
impl Sync for CliOverrides
impl Unpin for CliOverrides
impl UnsafeUnpin for CliOverrides
impl UnwindSafe for CliOverrides
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> 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> ⓘ
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> ⓘ
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