pub struct PendingChildApproval {
pub child_agent_id: String,
pub tool: String,
pub subject: Option<String>,
pub raw_args: Value,
pub reply_tx: Sender<ApprovalOutcome>,
}Expand description
The child-spawn analog of PendingApprovalRequest (P5-3 §2.2 C6,
closed by crate::tui::handlers::TuiChildApprovalHandler): additionally
carries which BACKGROUND CHILD raised the request, since a parent may
have several background children in flight at once.
Fields§
§child_agent_id: StringWhich child raised this request.
tool: StringThe tool it tried to call.
subject: Option<String>The canonicalized command/path subject, if any.
raw_args: ValueThe raw, model-supplied arguments.
reply_tx: Sender<ApprovalOutcome>Where to send the parent’s decision.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PendingChildApproval
impl RefUnwindSafe for PendingChildApproval
impl Send for PendingChildApproval
impl Sync for PendingChildApproval
impl Unpin for PendingChildApproval
impl UnsafeUnpin for PendingChildApproval
impl UnwindSafe for PendingChildApproval
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