fix: improve VS Code header context and settings visibility

Show language selection in VS Code settings
Display context usage in the VS Code chat header
Keep VS Code header usage controls visible in expanded layouts
This commit is contained in:
Bohdan Triapitsyn
2026-04-26 20:20:23 +03:00
parent 799998c5f8
commit 177631f123
3 changed files with 115 additions and 19 deletions
-1
View File
@@ -555,7 +555,6 @@ export const useSessionUIStore = create<SessionUIState>()((set, get) => ({
const messages = getSyncMessages(sessionId)
if (messages.length === 0) return null
// Find last assistant message with token data
type AssistantTokens = { input: number; output: number; reasoning: number; cache: { read: number; write: number } }
let lastTokens: AssistantTokens | undefined
let lastMessageId: string | undefined