pub struct CodingAgentProfile { /* private fields */ }Expand description
One provider-neutral coding-agent composition applied to a runtime builder.
The profile owns the coding tool catalog and its runtime policy settings. Provider adapters see only the resulting Merry-owned tool specifications; provider wire types never enter this API. Task anchors, checkpoints, transcript items, and tool results remain runtime-owned dynamic context.
Implementations§
Source§impl CodingAgentProfile
impl CodingAgentProfile
Sourcepub fn builder(root: impl Into<PathBuf>) -> CodingAgentProfileBuilder
pub fn builder(root: impl Into<PathBuf>) -> CodingAgentProfileBuilder
Creates a shared coding-agent profile builder.
Sourcepub fn apply_to(
&self,
builder: RuntimeBuilder,
) -> Result<RuntimeBuilder, RuntimeError>
pub fn apply_to( &self, builder: RuntimeBuilder, ) -> Result<RuntimeBuilder, RuntimeError>
Applies this profile to a runtime builder.
Sourcepub fn loop_config(&self) -> Result<AgentLoopConfig, AgentLoopConfigError>
pub fn loop_config(&self) -> Result<AgentLoopConfig, AgentLoopConfigError>
Creates the shared coding loop configuration for this profile.
Sourcepub const fn run_policy(&self) -> CodingAgentRunPolicy
pub const fn run_policy(&self) -> CodingAgentRunPolicy
Returns the recovery and final-report policy carried by this profile.
Sourcepub fn runtime_profile(&self) -> RuntimeProfile
pub fn runtime_profile(&self) -> RuntimeProfile
Returns the complete runtime profile carried by this composition.
Sourcepub fn registered_tools(&self) -> &[RegisteredTool]
pub fn registered_tools(&self) -> &[RegisteredTool]
Returns the provider-neutral registered tools in their advertised order.
Sourcepub fn tool_names(&self) -> Vec<&ToolName>
pub fn tool_names(&self) -> Vec<&ToolName>
Returns the ordered provider-neutral tool names for diagnostics/tests.
Sourcepub fn profile_hash(&self) -> &CodingAgentProfileHash
pub fn profile_hash(&self) -> &CodingAgentProfileHash
Returns the deterministic identity of the profile’s stable composition.