feat: display model name badge in header for active session

Shows the model (e.g. claude-opus-4-6) as a subtle chip next to the
session label in the header. Hovering reveals agent ID if available.
Model and agentId are now extracted from sessions.list response.
This commit is contained in:
Nicolas Varrot
2026-02-12 12:06:12 +00:00
parent 4312a71bc9
commit 96f28836cd
4 changed files with 27 additions and 2 deletions

View File

@@ -94,6 +94,8 @@ export function useGateway() {
outputTokens: s.outputTokens as number | undefined,
channel: (s.lastChannel || s.channel) as string | undefined,
kind: s.kind as string | undefined,
model: s.model as string | undefined,
agentId: s.agentId as string | undefined,
})));
}
} catch {