pub async fn check_approval_with_tty(
module_def: &Value,
auto_approve: bool,
is_tty: bool,
) -> Result<(), ApprovalError>Expand description
Internal implementation accepting is_tty for testability.
Delegates to check_approval_with_tty_timeout with
DEFAULT_APPROVAL_TIMEOUT_SECS so existing callers keep the 60-second
default.