VSCode extension freezes/dies after ~20 seconds of inactivity

Resolved 💬 3 comments Opened Jan 12, 2026 by seresa8 Closed Feb 27, 2026

Bug Description

The Claude Code VSCode extension session dies/freezes after approximately 20 seconds of user inactivity. This has been occurring consistently for approximately 1 month.

Environment

  • Extension version: 2.1.5
  • OS: macOS (Darwin 24.6.0, Apple Silicon)
  • VSCode: Latest
  • Connection: Stable (53ms ping to api.anthropic.com, 0% packet loss)

Steps to Reproduce

  1. Open Claude Code in VSCode
  2. Start a conversation
  3. Pause typing/interaction for ~20 seconds
  4. Session becomes unresponsive/dead

Expected Behavior

Session should remain active during brief periods of inactivity.

Actual Behavior

Session freezes and requires restart after ~20 seconds of no interaction.

Notes

  • Mac power settings are normal (10 min display sleep)
  • Network connection is stable and verified
  • CLI version (claude in terminal) does NOT have this issue
  • Issue persists across VSCode reloads

Workaround

Using CLI directly instead of VSCode extension.

View original on GitHub ↗

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