{"version":"2.0.60","anchor":"prompt-queue-auto-execution-hook","canonical_anchor":"prompt-queue-auto-execution-hook","heading":"Prompt Queue Auto-Execution Hook","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.0.60\/e\/prompt-queue-auto-execution-hook","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.0.60","markdown":"### Prompt Queue Auto-Execution Hook\n\n**What:** New hook that automatically processes queued commands when the session becomes idle.\n\n**How it works:** When commands are queued (via `\/add-to-queue` or similar), they are now automatically executed when the session is no longer busy, rather than requiring manual intervention.\n\n**Details:**\n\n- Added `i59()` hook at line 475244 that monitors loading state and queued commands\n- Calls `executeQueuedInput` callback when session is idle and queue is non-empty\n- Added `p59()` function for executing the queued input with proper state management\n- Tracks execution with a ref to prevent duplicate processing\n- **Evidence**: Hook usage at line 19833-19839 in main component"}