- the project picker has an "Add project" action: a folder browser starts
at the server user's home, navigates (typed path, up, new folder) and
adds the chosen folder through POST /api/openchamber/directory; the new
project becomes the draft's target at once
- refreshProjects merges settings-only projects (newest added first), so a
project added before its first session still appears in the picker; the
first session moves it into /api/project as usual
- usageReading no longer hides the composer's context ring when the
session's model has left the server catalog: a 200K window is assumed,
the percentage is prefixed with "~", and the usage sheet says the window
is estimated. A failed model fetch at connect is retried when a chat
opens, so a normal session shows the real percentage
- tests: the add-project browser flow, settings-only projects, and the
estimated/known context readings
A turn that starts or ends while the app is in the background leaves no
event behind, so the activity strip kept its old state (stayed visible
after the turn ended) and the sidebar's running marks went stale too.
- on return, read the server's active set and the transcript tail once
and settle both the open chat's strip and the sidebar from them
- do the same on the first event after the stream reconnects, since a
silent drop loses the same events without leaving the app
- opening a chat whose turn is already under way asks once, so the strip
is right from the first frame
- when the server cannot answer, the tail decides (an assistant message
without a completion time is a live turn); a failed request is never
read as "everything is idle"