Cannot resume a normal session into an agent already pinned to AgentView; should redirect to AgentView instead
Environment
- Claude Code version: 2.1.211
- OS: Windows
- Terminal: Windows Terminal
Description
When an agent session is already running/pinned under AgentView, attempting to open the same session from a normal session flow (e.g. 'claude --resume') fails or is blocked entirely, instead of gracefully redirecting.
Expected behavior
Claude Code already handles the analogous case within AgentView itself: if you try to open the same agent session from two different AgentView entry points, the second attempt is forced back to the AgentView UI for that session rather than erroring out or creating a conflicting state.
The same conflict-resolution behavior should apply across normal-session/resume and AgentView: if a session is already pinned to AgentView and a user tries to attach to it via a normal session or 'claude --resume', that attempt should be forced/redirected into the existing AgentView UI, not blocked.
Why this matters
Currently this behaves as a hard limitation/design gap: a session pinned to AgentView is only reachable through AgentView, with no fallback path. Making the resume/normal-session path redirect to AgentView (consistent with how AgentView-to-AgentView conflicts are already handled) would remove this dead end.