Description
The TUI session switcher can show only a few top-level sessions when a project has many recently updated subagent/child sessions.
The sync cache loads recent sessions with the default server limit, then the session dialog filters out child sessions on the client. If child sessions consume most of that limit, older top-level sessions are absent from the non-search /sessions list even though they still exist and can be found by search.
Plugins
None required
OpenCode version
1.17.7
Steps to reproduce
- Use a project with more than 100 recent sessions where most are subagent/child sessions.
- Open the TUI session switcher with /sessions.
- Observe that only a small subset of top-level sessions is shown.
- Search for an older top-level session and observe that it can still be found.
Screenshot and/or share link
Not available
Operating System
Linux
Terminal
VS Code terminal
Description
The TUI session switcher can show only a few top-level sessions when a project has many recently updated subagent/child sessions.
The sync cache loads recent sessions with the default server limit, then the session dialog filters out child sessions on the client. If child sessions consume most of that limit, older top-level sessions are absent from the non-search /sessions list even though they still exist and can be found by search.
Plugins
None required
OpenCode version
1.17.7
Steps to reproduce
Screenshot and/or share link
Not available
Operating System
Linux
Terminal
VS Code terminal