pub struct AppBuilder { /* private fields */ }Implementations§
Source§impl AppBuilder
impl AppBuilder
Sourcepub async fn new(
config_override: Option<&Path>,
vault_override: Option<&str>,
vault_key_override: Option<&Path>,
vault_path_override: Option<&Path>,
) -> Result<Self>
pub async fn new( config_override: Option<&Path>, vault_override: Option<&str>, vault_key_override: Option<&Path>, vault_path_override: Option<&Path>, ) -> Result<Self>
Resolve config, load it, create vault, resolve secrets.
CLI-provided overrides take priority over environment variables and config.
pub fn config(&self) -> &Config
pub fn config_mut(&mut self) -> &mut Config
pub fn config_path(&self) -> &Path
Sourcepub fn vault(&self) -> &dyn VaultProvider
pub fn vault(&self) -> &dyn VaultProvider
Returns the vault provider used for secret resolution.
Retained as part of the public Bootstrap API for external callers
that may inspect or override vault behavior at runtime.
pub async fn build_provider( &self, ) -> Result<(AnyProvider, UnboundedReceiver<String>)>
pub fn auto_budget_tokens(&self, provider: &AnyProvider) -> usize
pub async fn build_memory( &self, provider: &AnyProvider, ) -> Result<SemanticMemory>
pub async fn build_skill_matcher( &self, provider: &AnyProvider, meta: &[&SkillMeta], memory: &SemanticMemory, ) -> Option<SkillMatcherBackend>
pub fn build_registry(&self) -> SkillRegistry
pub fn skill_paths(&self) -> Vec<PathBuf>
pub fn managed_skills_dir() -> PathBuf
pub fn build_watchers(&self) -> WatcherBundle
pub fn build_shutdown() -> (Sender<bool>, Receiver<bool>)
pub fn embedding_model(&self) -> String
pub fn build_summary_provider(&self) -> Option<AnyProvider>
Sourcepub fn build_quarantine_provider(
&self,
) -> Option<(AnyProvider, QuarantineConfig)>
pub fn build_quarantine_provider( &self, ) -> Option<(AnyProvider, QuarantineConfig)>
Build the quarantine summarizer provider when security.content_isolation.quarantine.enabled = true.
Returns None when quarantine is disabled or provider resolution fails.
Emits a tracing::warn on resolution failure (quarantine silently disabled).
Sourcepub fn build_judge_provider(&self) -> Option<AnyProvider>
pub fn build_judge_provider(&self) -> Option<AnyProvider>
Build a dedicated provider for the judge detector when detector_mode = judge.
Returns None when mode is Regex or judge_model is empty (primary provider used).
Emits a tracing::warn when mode is Judge but no model is specified.
Auto Trait Implementations§
impl Freeze for AppBuilder
impl !RefUnwindSafe for AppBuilder
impl Send for AppBuilder
impl Sync for AppBuilder
impl Unpin for AppBuilder
impl UnsafeUnpin for AppBuilder
impl !UnwindSafe for AppBuilder
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
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request