[BUG] Agent View: opening a session from the list hangs indefinitely at "opening"

Status Fixed / completed
Reported on v2.1.142
Maintainer reply ✓ Yes — claude[bot]
Activity 5 comments · opened May 15, 2026 · closed May 19, 2026
💡 Likely answer: A maintainer (claude[bot], contributor) responded on this thread — see the highlighted reply below.

Summary

When using Agent View (claude agents), selecting a session from the list to enter it gets stuck at the "opening" state and never finishes loading. The session itself does not open; the UI just stays on the "opening" indicator with no error and no timeout.

Environment

  • Claude Code version: 2.1.142
  • Platform: Windows 11 Home Single Language (10.0.26200)
  • Shell: PowerShell 7 (also reproduces in default Windows Terminal)
  • Plan: Max
  • Date observed: 2026-05-16 (Asia/Bangkok)

Steps to reproduce

  1. Run claude agents to open Agent View.
  2. The list of sessions renders correctly (running / done / blocked).
  3. Select a session (any state) and press Enter to open it.
  4. Expected: the session opens and the TUI swaps to that session's view.
  5. Actual: the UI stays on "opening" indefinitely. No error message, no progress, no fallback. Has to be killed via Ctrl+C / closing the terminal.

Frequency

Consistently reproducible on this machine across multiple claude agents launches today.

Notes

  • This is not the same as #54434 (SSE stream stalls inside a running session) — the hang here is during the transition from Agent View list into a session, before any conversation activity.
  • Not the same as the existing "ESC key non-functional in agents view" issue either — here the entry-point itself never completes.

Happy to provide additional info (debug logs, exact session metadata, network capture, repro video) if a maintainer can point me at what would help most.

View original on GitHub ↗

5 Comments

github-actions[bot] · 3 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/59252
  2. https://github.com/anthropics/claude-code/issues/59251
  3. https://github.com/anthropics/claude-code/issues/54442

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

MankhongGarden · 3 months ago

@github-actions Not a duplicate of any of the suggested issues. The bot flagged these but the failure modes are distinct:

  • #59252 — ESC key non-functional inside the "Create New Agent" wizard. Different trigger (wizard input), different state (left wizard alive in background). This issue is about opening an existing session from the list, not creating one.
  • #59251 — back-arrow pressed while a response is generating freezes the CLI. Different trigger (navigation mid-stream). This issue freezes at the entry point — no response generation has even started yet.
  • #54442/agents freezes during agent creation on version 2.1.121. Different action (create) and considerably older version. This issue is on 2.1.142 and is about opening, not creating.

The common thread the bot likely matched on is "agents view + Windows + freeze," but the trigger, state, and version differ in each case. Please keep this issue open for triage; not a duplicate.

arifinofficial · 3 months ago

Same issue here.

MankhongGarden · 3 months ago

Thanks @arifinofficial for the repro. To help narrow this down, could you share:

  • claude doctor output
  • OS + version
  • Claude Code version
  • Terminal app (Windows Terminal / iTerm2 / GNOME Terminal / etc.)

My original report was on Windows 11 / Windows Terminal / Claude Code v2.1.142 — knowing whether you're seeing it on a different platform combo will help triage whether this is Windows-specific or broader.

claude[bot] contributor · 3 months ago

This issue was fixed as of version 2.1.144.