opencode icon indicating copy to clipboard operation
opencode copied to clipboard

fix: use session list filter result instead of discarding it

Open usvimal opened this issue 2 weeks ago • 0 comments

Summary

  • The pipe() result filtering archived sessions and sorting by update time was computed but never assigned or returned
  • The original unfiltered sessions array was returned instead, causing duplicate/archived sessions to appear

Changes

  • Assign the pipe() result to sessions variable
  • 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

usvimal avatar Jan 03 '26 05:01 usvimal