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
[FEATURE]: TUI session list limited to 100 sessions + only 30-day window — no way to see older sessions #38272
When scrolling through sessions in the TUI (<leader>l), only ~100 recent sessions are visible. Sessions older than 30 days or beyond the 100-session default are completely inaccessible from the TUI.
Root Causes
Two independent limits compound:
1. 30-day time window — sync.tsx line 363 filters sessions to only the last 30 days:
Any session older than 30 days simply never appears in the TUI list, even if under 100 sessions total.
2. 100-session default limit — session.ts line 731:
constlimit=input?.limit??100
The sync passes no limit parameter, so the server caps at 100. No pagination or "load more" exists in the TUI DialogSelect component.
Real-world impact: A user with 262 sessions spanning 5+ months can only scroll through the most recent ~100 from the last 30 days. The rest exist in the database but are invisible from the TUI.
Proposed Solution
At minimum:
Increase or remove the 30-day start filter in the sync — or make it configurable
Add pagination to the TUI session list (cursor-based, "load more" at scroll bottom, or virtual scrolling)
Stretch goals:
Config option for session_list_limit in opencode.json
Activity
github-actions commentedon Jul 22, 2026
This issue might be a duplicate of existing issues. Please check:
pete-willard commentedon Aug 4, 2026
another side effect of this is that the
Pinnedsection disappears when the pinned sessions are older than 30 daysgithub-actions commentedon Oct 4, 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.