Expand description
Shared copy for inline list modals: footer key hints and recurring sentences.
Modal headers stay descriptive (full sentences, no keybindings); all
keybinding guidance lives in footer_hint / summary rows using these
constants so approval, limit, and picker modals read identically.
Constants§
- APPROVAL_
NAVIGATE_ CANCEL - Navigate, select, or cancel: MCP approval variant.
- APPROVAL_
NAVIGATE_ DENY - Navigate, select, or deny: tool approval, hook approval, session-limit, and policy-denied prompts.
- APPROVAL_
NAVIGATE_ STOP - Navigate, select, or stop: tool-loop-limit variant.
Functions§
- choose_
handling_ line - Trailing sentence before approval options, e.g.
choose_handling_line("this tool"). - truncate_
modal_ text - Truncate modal body text to
max_charscharacters, appending…only when truncation actually happened so shortened text never reads as complete.