web: add chat model picker, agent badges and a preloaded brief

Show the current model under the chat title with an OpenCode-backed picker,
put an agent mark on the right of every chat row, simplify the tool summary to
'N tools', and give the reasoning and tool controls one symmetric hover box.
New chats preload an editable behavior brief, and the activity spinner remains
the turn's single live progress indicator.
This commit is contained in:
2026-10-20 14:58:26 +01:00
parent 6bfe4c8921
commit 4b20be6ea3
7 changed files with 397 additions and 49 deletions
+6
View File
@@ -188,6 +188,12 @@ const state = {
// Whether the CLOSED chats group is expanded (the chevron beside its name).
chatClosedOpen: false,
chatCollapsedDirs: new Set(),
chatModelPicker: null,
chatModels: [],
chatModelsFor: "",
chatModelsLoading: false,
chatModelsError: "",
chatModelBusy: false,
// The last time each destination's data arrived (manual refresh or a socket
// push); the list's Refresh button shows it on hover.
lastUpdated: {},