[FEATURE] Focus view: a message typed while Claude works can be answered only in thinking, and Focus view folds that answer away
Problem
In the VS Code extension with Focus view on, I often type a question while Claude is working. It reaches the model mid-turn as a queued message. Sometimes the model answers it only inside its thinking and goes on calling tools. Focus view folds thinking together with the tool calls, so the answer never reaches me.
Example (Claude Code 2.1.314, VS Code extension, claude-opus-5-5): mid-turn I asked "how long will this take?". The next assistant output was a thinking block with the estimate, then more tool calls, and no text message. In Focus view I saw nothing.
How often: in my session logs of the last 21 days I typed 302 messages mid-turn. 70 of them never got a text reply in that turn. 73 more got one only 4 or more model steps later.
Focus view itself works as designed here: it shows text written between tool calls (checked in the 2.1.319 webview). The gap is that nothing pushes the model to answer a mid-turn message in text, and nothing in the view tells me my message is still unanswered.
Proposed solution
Any one of these would fix it:
- When Claude Code hands a queued message to the model mid-turn, add one line to it: answer it in a visible text message before the next tool call, not only in thinking. The system prompt's Focus view section says text between tool calls stays visible, but it does not say this.
- In Focus view, keep the reply to a mid-turn message unfolded: the first assistant output after it (thinking included, when there is no text) stays visible until the model writes text.
- In Focus view, mark a mid-turn message that has no text reply yet, so I know to look or ask again.
Workaround
A PreToolUse hook that reads the transcript and refuses a tool call when more than two model steps have passed since a mid-turn message with no text reply. It works, but every user would have to build it.
Related
#50894, #89318, #101538 and #103099 are about Focus view hiding text the model wrote. This one is different: the text is never written, so keeping all text (#103099) would not help.
One more case of the same gap, found while checking the transcripts.
Some of these replies are not ordinary thinking. In the transcript they are a thinking block, but the block's signature, base64-decoded, contains narration where ordinary blocks contain thinking. The text is a short status line addressed to me, in my language ("Confirmed X; next I'll handle Y"), while the ordinary thinking summaries in the same session are in English. In one session (Claude Code 2.1.325, VS Code extension, claude-opus-5-5) 3 of 367 thinking blocks were of this kind.
Focus view folds these blocks into the collapsed action group, labelled "summary", so the one line the model meant for me is hidden with the tool calls. The extension settings don't help: claudeCode.focusView only turns the whole folding on or off.
A small fix that covers this case: in Focus view, show narration blocks unfolded, like text, since they are written for the user.
I'm shocked this hasn't received more attention, I have spent many hours trying to instruct Claude to work around this to no avail. The fix proposed in this comment would be a significant improvement in user experience in VS Code with the Claude extension.
This issue has been automatically marked as stale due to inactivity. This issue will be closed automatically if there's no activity within 14 days.
No fix for this in the changelog up to 2.1.337. There are several Focus view fixes since 2.1.325 (charts, plan comments, Stop hook, scheduled-task replies), but a reply to a mid-turn message that ends up in a thinking/narration block is still folded away. The fix proposed above still applies: show narration blocks unfolded in Focus view, since they are written for the user.