Namespace JD.AI.Agent
Classes
- TurnInputMonitor
Monitors keystrokes during an agent turn to support:
- Double-tap ESC to cancel the current turn
- Type-ahead steering — type and press Enter to queue a follow-up message
Keystroke capture is silent (intercept: true) so it doesn't interleave with streaming output. Queued steering messages are processed after the current turn completes.