[BUG] [VSCODE] Fails to re-prompt (ask user tool) when opening a previous session after a restart

Resolved 💬 4 comments Opened Mar 11, 2026 by eamodio Closed Apr 9, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When I open a previous session after reloading VS Code, if the agent stopped at the ask user tool, it doesn't restore the prompt.

What Should Happen?

Re-show the prompt when I open the session

Error Messages/Logs

Steps to Reproduce

  1. Start a session (plan or something to get a prompt)
  2. Restart VS Code
  3. Re-open the session and observe that there is no re-prompt

Claude Model

Opus

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.1.73 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

Using the Claude Code extension under WSL via VS Code WSL extensions

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗