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.