opencode
opencode copied to clipboard
fix: use session list filter result instead of discarding it
Summary
- The
pipe()result filtering archived sessions and sorting by update time was computed but never assigned or returned - The original unfiltered
sessionsarray was returned instead, causing duplicate/archived sessions to appear
Changes
- Assign the
pipe()result tosessionsvariable - Return the filtered and sorted result
Testing
- Session list should now only show non-archived sessions
- Sessions should be sorted by most recently updated first