e8f59cbbf8
- Replace multiple Set-based tracking with explicit SessionStatus state machine - Implement setTimeout+clearTimeout pattern for robust race condition handling - SessionStatus tracks: idle → continuation-sent or aborted states - Increase grace period to 500ms to accommodate event ordering delays - Add cleanupSession utility for proper resource cleanup This addresses ESC abort not canceling continuation prompts when session.idle arrives before session.error event, which can occur due to async event processing in OpenCode plugin system