pub fn write_text_needs_confirmation(
prompt_before_write_text: bool,
session_approved: bool,
) -> boolExpand description
Whether this payload must go to the confirmation dialog before it is written.
session_approved is the user’s earlier “Always Allow” for this exact text
from this script.