pub struct TaskChain {
pub accepted_plan: Option<AcceptedTaskPlan>,
pub agent: AgentSelection,
pub current_request: SubmitAgentTaskRequest,
pub id: String,
pub implementer_task_id: String,
pub phase: TaskChainPhase,
pub planner_task_id: String,
pub session_id: SessionId,
pub user_request: String,
}Expand description
Consistent durable workflow snapshot; reading never dispatches work.
Fields§
§accepted_plan: Option<AcceptedTaskPlan>Exact immutable accepted version, present after explicit handoff.
agent: AgentSelectionShared captured provider/model selection.
current_request: SubmitAgentTaskRequestExact latest admitted request for the current stage, including IDs.
id: StringStable workflow identity.
implementer_task_id: StringSeparate Implementer task, reserved at launch.
phase: TaskChainPhaseProjection from durable stage selection and operation-backed attempts.
planner_task_id: StringSeparate Planner task, retained after implementation begins.
session_id: SessionIdSession owning the shared workspace and serialized worker.
user_request: StringImmutable objective captured at launch.
Implementations§
Source§impl TaskChain
impl TaskChain
Sourcepub fn continuation_request(
&self,
request: &ContinueTaskChainRequest,
) -> SubmitAgentTaskRequest
pub fn continuation_request( &self, request: &ContinueTaskChainRequest, ) -> SubmitAgentTaskRequest
Builds a new delivery to the current role while retaining its inputs.
Trait Implementations§
impl Eq for TaskChain
impl StructuralPartialEq for TaskChain
Auto Trait Implementations§
impl Freeze for TaskChain
impl RefUnwindSafe for TaskChain
impl Send for TaskChain
impl Sync for TaskChain
impl Unpin for TaskChain
impl UnsafeUnpin for TaskChain
impl UnwindSafe for TaskChain
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