pub struct CodingRuntimeBuilder { /* private fields */ }Expand description
Builder for parent coding runtime composition.
Implementations§
Source§impl CodingRuntimeBuilder
impl CodingRuntimeBuilder
Sourcepub fn new(input: CodingRuntimeInput) -> Self
pub fn new(input: CodingRuntimeInput) -> Self
Creates a full coding-runtime builder.
Sourcepub fn for_command_generation(input: CodingRuntimeInput) -> Self
pub fn for_command_generation(input: CodingRuntimeInput) -> Self
Creates the explicit read-only command-generation variant.
Full-only inputs such as a process backend and subagent configuration are intentionally ignored by this variant. The read-only profile is selected by construction so those capabilities cannot be advertised or admitted accidentally.
Sourcepub fn permission_policy(self, policy: CodingPermissionPolicy) -> Self
pub fn permission_policy(self, policy: CodingPermissionPolicy) -> Self
Sets the complete permission policy shared by parent and child runtimes.
Sourcepub fn with_loaded_session(self, loaded: LoadedSession) -> Self
pub fn with_loaded_session(self, loaded: LoadedSession) -> Self
Installs an already loaded session without performing another store read.
Sourcepub fn session_store(self, store: FileSessionStore) -> Self
pub fn session_store(self, store: FileSessionStore) -> Self
Configures automatic incremental session persistence into store.
Sourcepub fn build(self) -> Result<CodingRuntime, CodingRuntimeBuildError>
pub fn build(self) -> Result<CodingRuntime, CodingRuntimeBuildError>
Builds a new parent runtime and its stable coding loop policy.
Sourcepub async fn resume_from_store_without_automatic_savepoints(
self,
store: FileSessionStore,
) -> Result<CodingRuntime, CodingRuntimeBuildError>
pub async fn resume_from_store_without_automatic_savepoints( self, store: FileSessionStore, ) -> Result<CodingRuntime, CodingRuntimeBuildError>
Resumes a parent runtime without automatic savepoints.
Auto Trait Implementations§
impl !RefUnwindSafe for CodingRuntimeBuilder
impl !UnwindSafe for CodingRuntimeBuilder
impl Forget for CodingRuntimeBuilder
impl Freeze for CodingRuntimeBuilder
impl Move for CodingRuntimeBuilder
impl Send for CodingRuntimeBuilder
impl Sync for CodingRuntimeBuilder
impl Unpin for CodingRuntimeBuilder
impl UnsafeUnpin for CodingRuntimeBuilder
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