co-mono/packages/ai/src
Thomas Mustier a65da1c14b fix: ESC key not interrupting during Working... state
Three related fixes:

1. google-gemini-cli: Handle abort signal in stream reading loop
   - Add abort event listener to cancel reader immediately when signal fires
   - Fix AbortError detection in retry catch block (fetch throws AbortError,
     not our custom message)
   - Swallow reader.cancel() rejection to avoid unhandled promise

2. agent-session: Fix retry attempt counter showing 0 on cancel
   - abortRetry() was resetting _retryAttempt before the catch block could
     read it for the error message

3. interactive-mode: Restore main escape handler on agent_start
   - When auto-retry starts, onEscape is replaced with retry-specific handler
   - auto_retry_end (which restores it) fires on turn_end, after streaming begins
   - Now restore immediately on agent_start if retry handler is still active

Amended: suppress reader.cancel() rejection on abort.
2026-01-08 12:35:34 +00:00
..
providers fix: ESC key not interrupting during Working... state 2026-01-08 12:35:34 +00:00
utils fix(ai): detect context_length_exceeded overflow 2026-01-08 03:16:59 +01:00
cli.ts feat(ai): add OpenAI Codex OAuth + responses provider 2026-01-04 21:11:19 +02:00
index.ts Add the codex bridge prompt in the html export 2026-01-06 14:21:34 +01:00
models.generated.ts fix(ai): clean up openai-codex models and token limits 2026-01-07 20:39:46 +01:00
models.ts fix: clean up Codex thinking level handling 2026-01-05 21:58:26 +01:00
stream.ts feat: add thinkingBudgets option to customize token budgets 2026-01-07 15:13:26 +03:00
types.ts feat: add thinkingBudgets option to customize token budgets 2026-01-07 15:13:26 +03:00