- Global and Per-Session Pausing: Suspend dispatch globally (via ~agent-shell-queue-pause~) or for an individual session (via ~agent-shell-queue-session-pause~); active tasks finish while queued tasks hold.
- Flow Modifiers and Checkpoints: Insert pause checkpoints (via ~agent-shell-queue-insert-pause~), context wipes (via ~agent-shell-queue-insert-clear-context~), or wait-until timers (via ~agent-shell-queue-insert-wait~) anywhere in the queue order.
- Automated Recovery: Recover stuck ACP/shell-maker processes (via ~agent-shell-queue-recover-stuck-shell~) by interrupting and auto-resuming once idle.
- Pre and Post Turn Delays: Regulate rate limits with configurable pauses between consecutive turns (via ~agent-shell-queue-default-pause-delay~).
- ~agent-shell-queue-pause~ / ~agent-shell-queue-resume~: Toggle queue dispatch globally.
- ~agent-shell-queue-session-pause~ / ~agent-shell-queue-session-resume~: Control dispatch for a single session.
- ~agent-shell-queue-insert-pause~: Insert an auto-resuming or manual pause item.
- ~agent-shell-queue-insert-clear-context~: Insert a context-wipe boundary item.
- ~agent-shell-queue-insert-wait~: Block queue until a specified date/time.
- ~agent-shell-queue-recover-stuck-shell~: Interrupt a wedged shell and resume when idle.
;; Insert a 30-second pause checkpoint into the active shell queue
(agent-shell-queue-insert-pause (current-buffer) nil 30.0)
;; Insert a scheduled wait timer
(agent-shell-queue-insert-wait
(current-buffer))See the API Reference for full documentation of these functions.