Skip to main content

Module shutdown_buttons

Module shutdown_buttons 

Source
Expand description

The two buttons of a countdown’s toast: the cancel and the do-it-now (SPEC_COUNTDOWN_BUTTONS_AND_BATCH_AGENT_ACTIONS_2026_10_28.md §3).

Constants§

ACTION_KEEP
The id of the cancel button (the first of the two): Keep running, or a sensitive operation’s veto.
ACTION_NOW
The id of the do-it-now button: Close now, or a sensitive operation’s approve-now.

Functions§

labels
The cancel and do-it-now words of an agent close: “Keep running” or “Keep open”, and “Close now” (a close of a tab or a pane) or “Stop now” (a stop alone).