Chat: show the active Claude account in the send tooltip, menu and limit banner

usage.account now carries the email and organization of the account
Claude Code is signed in to (from its initialize account, or the saved
account just switched to), sent at process start and after a switch.
The app shows it as the send tooltip's usage prefix, the Claude account
menu subtitle, the usage-limit banner's status line and the info sheet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-30 16:33:46 +00:00
parent e80f18969c
commit 0dc805ae0e
22 changed files with 386 additions and 62 deletions
+4
View File
@@ -523,6 +523,10 @@ they were. No quota is estimated and no model call is made to obtain one.
`switched_at` (epoch ms) marks a report sent after the operator switched the
chat's Claude account: it replaces the previous account's report even with no
windows yet, and a usage-limit refusal received before it no longer applies.
`email` and `organization` name the account Claude Code is signed in to now
(from its initialize `account`, or the saved account just switched to; never a
credential). A chat's process start sends a report carrying only them, before
any quota is known; they are absent for an API-key login or another harness.
`extra_usage` is Claude Code's extra usage ("overage", paid usage credits past
the subscription limits) from the same events, kept until a later event says
otherwise: `{"status","in_use","disabled_reason","resets_at"}`, where `status`