Approval channel routing
assistant-ui lets a host route each tool-approval response to the backend that owns the paused action, while handing other approvals back to the AI SDK.
An approval is not just a card state. It has an owner, a delivery channel, a resume path and a duplicate-response boundary. Route the answer to the system that owns the paused action, keep it out of ordinary chat history, and make retry behavior explicit. MIT-licensed.
github.com/assistant-ui/assistant-ui/commit/f1c4a27ddc346f38a856a10e9e4112ef1298471d ↗