opencode
opencode copied to clipboard
fix(tui): restore input on timeline revert and show newest first
Summary
- Restore user input when reverting via /timeline (same behavior as /undo)
- Show newest messages at the top in timeline list
Why
- Previously, reverting from /timeline didn't restore the input to prompt, making it inconsistent with /undo
- Showing newest messages first makes it easier to quickly access recent conversations