{# Archive-wide search. This is a *separate page*, not an upgrade of the index page's search box, because the two answer different questions. The index box searches session titles and first-message previews — about 1 MB, 0.17% of a real archive — to answer "which conversation was that?". This searches every message body to answer "where was this ever discussed?". Folding both behind one input would make identical keystrokes mean different things depending on whether a server happened to be running. Keeping it separate also means the 1,713 generated session pages and the index page are untouched by the whole feature. It is generated unconditionally, including for people who never run the server, so the link from the index page never 404s. Without the API it renders setup instructions instead of a search box. #}
This page needs the local server. Archive-wide
search reads the SQLite cache, which a page opened from
file:// cannot reach.
claude-code-log serve
Then open http://127.0.0.1:8010/search.html. Search within a single transcript keeps working without the server — open any session page and press /.