pub struct RuntimeProfile { /* private fields */ }Expand description
Complete runtime shape applied by crate::RuntimeBuilder::with_profile.
Implementations§
Source§impl RuntimeProfile
impl RuntimeProfile
Sourcepub fn builder() -> RuntimeProfileBuilder
pub fn builder() -> RuntimeProfileBuilder
Creates a profile builder.
Sourcepub const fn capabilities(&self) -> &RuntimeCapabilities
pub const fn capabilities(&self) -> &RuntimeCapabilities
Returns low-level Merry-managed capabilities.
Sourcepub const fn model_retry_policy(&self) -> Option<ModelRetryPolicy>
pub const fn model_retry_policy(&self) -> Option<ModelRetryPolicy>
Returns the profile model retry policy override.
Sourcepub const fn prompt_profile(&self) -> &PromptProfile
pub const fn prompt_profile(&self) -> &PromptProfile
Returns the stable prompt composition used by runtime request compilation.
Sourcepub const fn progress_commentary(&self) -> bool
pub const fn progress_commentary(&self) -> bool
Returns whether this profile asks the model for tool-progress commentary.
Sourcepub fn initial_context_summaries(&self) -> &BTreeMap<String, String>
pub fn initial_context_summaries(&self) -> &BTreeMap<String, String>
Returns startup context summaries keyed by stable id.
Sourcepub fn registered_tools(&self) -> &[RegisteredTool]
pub fn registered_tools(&self) -> &[RegisteredTool]
Returns registered tools carried by the profile.
Sourcepub fn into_registered_tools(self) -> Vec<RegisteredTool>
pub fn into_registered_tools(self) -> Vec<RegisteredTool>
Consumes the profile and returns registered tools.
Sourcepub const fn allow_bridge_tools(&self) -> bool
pub const fn allow_bridge_tools(&self) -> bool
Returns whether bridge tools are allowed.
Sourcepub const fn allow_low_risk_apply_patches(&self) -> bool
pub const fn allow_low_risk_apply_patches(&self) -> bool
Returns whether low-risk workspace patches are allowed.
Sourcepub const fn allow_permissioned_network_tools(&self) -> bool
pub const fn allow_permissioned_network_tools(&self) -> bool
Returns whether registered permissioned network tools are allowed.
Sourcepub fn low_risk_process_runner(&self) -> Option<Arc<dyn ProcessRunner>>
pub fn low_risk_process_runner(&self) -> Option<Arc<dyn ProcessRunner>>
Returns the low-risk process action runner.
Sourcepub fn read_only_shell_process_runner(&self) -> Option<Arc<dyn ProcessRunner>>
pub fn read_only_shell_process_runner(&self) -> Option<Arc<dyn ProcessRunner>>
Returns the read-only shell process runner.
Sourcepub fn accepted_local_workspace_process_runner(
&self,
) -> Option<&AcceptedLocalWorkspaceProcessRunnerProfile>
pub fn accepted_local_workspace_process_runner( &self, ) -> Option<&AcceptedLocalWorkspaceProcessRunnerProfile>
Returns the accepted local workspace process runner lane.
Sourcepub const fn runtime_trust_level(&self) -> Option<RuntimeTrustLevel>
pub const fn runtime_trust_level(&self) -> Option<RuntimeTrustLevel>
Returns the profile runtime trust level override.
Sourcepub const fn permission_review_mode(&self) -> Option<PermissionReviewMode>
pub const fn permission_review_mode(&self) -> Option<PermissionReviewMode>
Returns the profile permission review mode override.
Sourcepub fn permission_admission_source(
&self,
) -> Option<Arc<dyn PermissionAdmissionSource>>
pub fn permission_admission_source( &self, ) -> Option<Arc<dyn PermissionAdmissionSource>>
Returns the host-owned permission admission source.
Sourcepub fn permissioned_process_runner_factory(
&self,
) -> Option<Arc<dyn PermissionedProcessRunnerFactory>>
pub fn permissioned_process_runner_factory( &self, ) -> Option<Arc<dyn PermissionedProcessRunnerFactory>>
Returns the permissioned process runner factory.
Sourcepub const fn skill_catalog(&self) -> Option<&SkillCatalog>
pub const fn skill_catalog(&self) -> Option<&SkillCatalog>
Returns the profile skill catalog.
Sourcepub const fn project_rules(&self) -> Option<&ProjectRules>
pub const fn project_rules(&self) -> Option<&ProjectRules>
Returns the profile project rules.
Sourcepub const fn task_anchor(&self) -> Option<&TaskAnchor>
pub const fn task_anchor(&self) -> Option<&TaskAnchor>
Returns the profile task anchor.
Sourcepub const fn subagent_manager(&self) -> Option<&SubagentManager>
pub const fn subagent_manager(&self) -> Option<&SubagentManager>
Returns the profile subagent manager.
Trait Implementations§
Source§impl Clone for RuntimeProfile
impl Clone for RuntimeProfile
Source§fn clone(&self) -> RuntimeProfile
fn clone(&self) -> RuntimeProfile
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more