claude-code - 💡(How to fix) Fix [BUG] Agent View: opening a session from the list hangs indefinitely at "opening"

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

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.

Error Message

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. 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.

Root Cause

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.

RAW_BUFFERClick to expand / collapse

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.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING