Skip to main content

Module messages

Module messages 

Source
Expand description

Bilingual (en/zh) catalog for user-facing runtime messages.

Refusals, approval prompts, and recovery notices are product surface, not log lines — they should read like a person wrote them, in the operator’s language. user_message_language selects en (default, preserves historical output), zh, or bilingual (both blocks). Approval reply keywords are always recognized in both languages regardless of the render language.

Functions§

approval_button_labels
Labels for the interactive approval buttons (approve once / always allow / deny), matching the numbered option card in approval_prompt.
approval_buttons_hint
Short prompt line shown on the interactive approval button message.
approval_choice_ack
Confirmation line the approval button message is edited to after a choice is made.
approval_prompt
Structured approval prompt: what is waiting, an optional command preview, an optional advisory verdict from the aux reviewer, and the numbered option card.
budget_refusal_body
Suffix appended after the (stable, test-guarded) budget refusal prefix.
interruption_notice
Notice sent when a restart interrupted a turn at an uncertain tool boundary and the run was deliberately not replayed.