Skip to main content

Module approval

Module approval 

Source
Expand description

Approval flow integration — SSE event handlers for the approval queue.

These functions are called from the main event loop in super when SSE events arrive from OpenCode. They update the [ApprovalQueue] and transition the recording state machine as needed.

Voice-driven reply logic lives in [super::recording::try_handle_approval]. This module provides the SSE handlers and the shared [refresh_approval_display] helper used after a voice reply is dispatched.