Three changes from comparing against Raycast's AI chat.
1. The transcript now reads newest message first, so an answer sits above
the question it responds to. The search bar is pinned to the top of
the window, so the most recent thing belongs directly under it rather
than below the fold. buildThreadMarkdown regroups messages back into
exchanges, so the horizontal rule separates one exchange from the next
instead of dividing every single message.
2. The sidebar is titles only, grouped into recency sections (Today,
Yesterday, This week, Older). Raycast does this, and it fixes rows
eliding down to "Hello l..." -- a subtitle and a timestamp on a 38px
row left the title almost no width. The check icon is what marks the
open conversation now.
3. The status bar names the open conversation, which is the nearest thing
Vicinae has to the header Raycast puts above its transcript.
Also removes dead code found on the way: ThreadMessage.preview was no
longer read by anything once the rows became conversations. Rather than
delete the plumbing outright, the activity line it carried ("Searching
the web") moved into the transcript placeholder and the search bar, so
tool activity is still visible -- it just is not a per-row preview any
more.
Verified on screen: answer above question, one rule per exchange, the
sidebar showing a single "Today" section with a title-only row, and the
status bar naming the conversation. typecheck, eslint, 113 tests and
vici build all pass.