🤖 fix: retry barrier keyboard gaps (no Retry shortcut; Esc on context_exceeded disables auto-retry)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 68/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- typescript, vscode
Direzione di ricerca
Start with src/browser/components/ChatPane/retryBarrierDerivation.ts, ChatPane, RetryBarrier, and useAIViewKeybinds; compare the desktop behavior with the webview fix in #5108. Trace how manual Retry and Shift+R are handled, then verify that context_exceeded with no visible barrier produces no interruptStream call. Done means the visible Retry action has a keyboard shortcut in both surfaces and the regression test passes.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Found by Codex review on #5108 (VS Code webview retry barrier), which fixed the webview side. Both are pre-existing on desktop ChatPane.
Problems
- Retry has no keyboard shortcut. The RetryBarrier's Retry button (after a stream error) has no keybind. Shift+R (
KEYBINDS.RESUME_STREAM) only resumes a user-aborted turn through the interrupted divider (useAIViewKeybindsgetscanResumeInterruptedStream, which is false while the RetryBarrier is visible). AGENTS.md asks for a shortcut for every operation. The webview mirrors desktop here, so both lack it. - Esc on a context_exceeded error disables auto-retry. ChatPane passes the raw
showRetryBarriertouseAIViewKeybinds. For acontext_exceededstream error the shared derivation (src/browser/components/ChatPane/retryBarrierDerivation.ts) keepsshowRetryBarriertrue but suppresses the barrier (showRetryBarrierUIfalse), so Esc callsstopStream(..., { disableAutoRetry: true })although nothing visible can be stopped, and the backend persists the opt-out. #5108 gates the webview's Esc onshowRetryBarrierUI.
Proposed fix
- Route Shift+R (or a dedicated keybind) to the visible RetryBarrier's manual Retry on desktop and in the webview, sharing one handler (for example by lifting the manual-retry action out of
RetryBarrierContentor exposing it through a callback ref). - Pass
showRetryBarrierUIinstead ofshowRetryBarriertouseAIViewKeybinds, with a test that Esc on a context_exceeded error makes no interruptStream call.
Refs #4968
Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high
- Lingua principale
- TypeScript
- Stelle
- 2k
- Fork
- 136
- Merge medio
- 7h 27m
- PR unite (30g)
- 710
Preparare l'ambiente
Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di coder/xum
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 50/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 1 giorno
Issue simili
-
priority: P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
prime-radiant-inc/evener#3291 ·
I maintainer di solito rispondono entro 1 giorno
-
accessibility bug revealjs
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
quarto-dev/quarto-cli#14961 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
supabase/agent-skills#614 ·
-
Content
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
RunestoneInteractive/rs#1559 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni