You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(tui): cannot navigate into grandchild sessions from subagent view #23782
In the TUI session tree, when a sub-agent spawns its own child (grandchild session), pressing down or clicking to navigate into the grandchild session does nothing. Navigation into child sessions only works from the root session level.
Steps to reproduce
Start a session that spawns a sub-agent
Navigate into the sub-agent session (this works)
The sub-agent spawns its own child session (grandchild)
Press down / try to navigate into the grandchild → nothing happens
What's happening
moveFirstChild() and moveChild() in session/index.tsx use children() to look up sessions, but children() only returns the root session's direct children. From a sub-agent context, the grandchild sessions are not in that list, so navigation fails silently.
Activity
github-actions commentedon Apr 22, 2026
This issue might be a duplicate of existing issues. Please check:
children()insession/index.tsxreturning the current session's siblings instead of its children when inside a nested subagent session, causingsession_child_first/moveFirstChild()to fail silently for grandchild sessions.github-actions commentedon Jul 3, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.