Expand description
Async pause/resume support for Restricted-mode tool confirmations.
The agent pipeline can emit a StreamChunk::ToolConfirmationRequired event and
then pause tool execution until the UI responds (approve/deny).
This module provides a small, process-wide confirmation registry that:
- registers pending confirmations by id
- lets the UI resolve them via Tauri commands
- allows the pipeline to await the decision
Structs§
- Pending
Tool Confirmation - A pending tool confirmation awaiting a user decision.
- TOOL_
CONFIRMATIONS - Global confirmation manager used by the agent pipeline and UI commands.
- Tool
Confirmation Manager - A registry for in-flight tool confirmations.
Enums§
- Tool
Confirmation Decision - A scoped user decision for a tool confirmation request.