MCPcopy Create free account
hub / github.com/AI45Lab/Code / with_store

Method with_store

core/src/orchestration/workflow.rs:131–134  ·  view source on GitHub ↗

Persist progress so each [`phase`](Workflow::phase) becomes a resume boundary. Without a store, phases run as plain (non-resumable) barriers.

(mut self, store: Arc<dyn SessionStore>)

Source from the content-addressed store, hash-verified

129 /// Persist progress so each [`phase`](Workflow::phase) becomes a resume
130 /// boundary. Without a store, phases run as plain (non-resumable) barriers.
131 pub fn with_store(mut self, store: Arc<dyn SessionStore>) -> Self {
132 self.store = Some(store);
133 self
134 }
135
136 /// Thread the per-step [`AgentEvent`] sender into every combinator call so
137 /// existing subagent/AHP/trace listeners observe child-run lifecycle events.

Calls

no outgoing calls

Tested by

no test coverage detected