feat(chat): work-status panel, and MCP auth and settings fixes (#2776)
Adds a work-status panel beside the transcript. Context fill, model and cost, todos, running subagents and the permission requests blocking them, branch and working-tree state, MCP servers, pinned messages and context sources were scattered across the header, the composer and the context panel — a blocked subagent was reported nowhere at all. The panel reads them from live channels rather than persisted history, and becomes an overlay where the chat is too narrow to seat a column. It is on by default, including for existing installs. Because it now carries these readouts, the desktop header and composer drop the ones it duplicates: todo and changed-files chips, usage and MCP tabs. VS Code and mobile keep theirs — neither hosts the panel. Fixes MCP authorization, which was broken from the panel, invalidated by a directory switch through a redirect URI that encoded the working directory, and left the desktop app in the background because browsers will not follow a custom-protocol link without a user gesture. The settings page no longer asks the user to understand the MCP spec before adding a server: one field takes the command or the link, with the kind inferred and a visible override, and client-registration fields appear only when a server actually asks for its own credentials. Also: skills load from the panel instead of only when the composer's slash autocomplete opens; the header button names the current instance rather than falling through to the word "Instance" for relay hosts. Three new optional UI settings keys, all migrated. No change to stored MCP server configuration.
This commit is contained in:
@@ -2324,10 +2324,7 @@ export const dict: Record<I18nKey, string> = {
|
||||
'header.services.rateLimits': 'Limity użycia',
|
||||
'header.services.refreshRateLimitsAria': 'Odśwież limity użycia',
|
||||
'header.services.remaining': 'Pozostało',
|
||||
'header.services.shutdownDev': 'Zatrzymaj OpenChamber',
|
||||
'header.services.title': 'Usługi',
|
||||
'header.services.tooltip.currentInstanceWithShortcuts': 'Bieżąca instancja: {current} ({toggle}; następna karta {nextTab})',
|
||||
'header.services.tooltip.servicesWithShortcuts': 'Usługi ({toggle}; następna karta {nextTab})',
|
||||
'header.services.used': 'Wykorzystano',
|
||||
'header.services.viewAria': 'Pokaż usługi',
|
||||
'header.sessions.title': 'Sesje',
|
||||
@@ -2959,4 +2956,93 @@ export const dict: Record<I18nKey, string> = {
|
||||
'quota.window.chat': 'Chat Requests',
|
||||
'quota.window.completions': 'Completions',
|
||||
'quota.window.premiumInteractions': 'Premium interactions',
|
||||
'chat.workStatus.ariaLabel': 'Stan pracy',
|
||||
'chat.workStatus.context.label': 'Kontekst',
|
||||
'chat.workStatus.git.changedFileSingle': 'Zmieniono {count} plik',
|
||||
'chat.workStatus.git.changedFilePlural': 'Zmieniono {count} plików',
|
||||
'chat.workStatus.pr.untitled': 'Pull request bez tytułu',
|
||||
'chat.workStatus.pr.draft': 'Szkic',
|
||||
'chat.workStatus.pr.checks': 'Sprawdzenia',
|
||||
'chat.workStatus.pr.checksFailed': '{count} nieudanych',
|
||||
'chat.workStatus.pr.checksPending': '{count} w toku',
|
||||
'chat.workStatus.pr.checksPassed': '{count} zaliczonych',
|
||||
'chat.workStatus.attention.merge': 'Trwa scalanie',
|
||||
'chat.workStatus.attention.rebase': 'Trwa rebase',
|
||||
'chat.workStatus.attention.cherryPick': 'Trwa cherry-pick',
|
||||
'chat.workStatus.attention.revert': 'Trwa cofanie',
|
||||
'chat.workStatus.attention.bisect': 'Trwa bisect',
|
||||
'chat.workStatus.subagent.done': 'Gotowe',
|
||||
'chat.workStatus.subagent.untitled': 'Subagent',
|
||||
'chat.workStatus.mcp.toggle': 'Przełącz {name}',
|
||||
'chat.workStatus.mcp.needsAuth': 'Zaloguj się',
|
||||
'chat.workStatus.mcp.failed': 'Niepowodzenie',
|
||||
'chat.workStatus.pinned.unavailable': 'Przypięta wiadomość',
|
||||
'chat.workStatus.section.session': 'Sesja',
|
||||
'chat.workStatus.section.repository': 'Repozytorium',
|
||||
'chat.workStatus.section.subagents': 'Subagenci',
|
||||
'chat.workStatus.section.mcp': 'MCP',
|
||||
'chat.workStatus.section.pinned': 'Przypięte wiadomości',
|
||||
'chat.workStatus.section.tasks': 'Zadania',
|
||||
'chat.workStatus.subagent.working': 'pracuje',
|
||||
'chat.workStatus.subagent.needsPermission': 'potrzebuje uprawnienia',
|
||||
'chat.workStatus.subagent.askedQuestion': 'zadał pytanie',
|
||||
'chat.workStatus.section.contextBreakdown': 'Źródła kontekstu',
|
||||
'chat.workStatus.breakdown.skills': 'Umiejętności',
|
||||
'chat.workStatus.breakdown.mcp': 'Serwery MCP',
|
||||
'chat.workStatus.action.openChanges': 'Otwórz zmiany',
|
||||
'chat.workStatus.action.openGit': 'Otwórz panel Git',
|
||||
'chat.workStatus.action.openPr': 'Otwórz pull request',
|
||||
'chat.workStatus.action.openSubagent': 'Otwórz {name}',
|
||||
'chat.workStatus.section.usage': 'Zużycie',
|
||||
'chat.workStatus.goal.open': 'Zarządzaj celem',
|
||||
'chat.workStatus.goal.pause': 'Wstrzymaj',
|
||||
'chat.workStatus.goal.resume': 'Wznów',
|
||||
'chat.workStatus.goal.updateFailed': 'Nie udało się zaktualizować celu',
|
||||
'chat.workStatus.pinned.unpin': 'Odepnij wiadomość',
|
||||
'chat.workStatus.pinned.reveal': 'Przejdź do wiadomości',
|
||||
'chat.workStatus.pinned.unpinFailed': 'Nie udało się odpiąć wiadomości',
|
||||
'chat.workStatus.action.openContext': 'Otwórz panel kontekstu',
|
||||
'chat.workStatus.section.linkedIssues': 'Powiązane',
|
||||
'chat.workStatus.linkedIssues.open': 'Otwórz #{number} w GitHub',
|
||||
'chat.workStatus.linkedIssues.unlink': 'Usuń powiązanie',
|
||||
'chat.workStatus.linkedIssues.unlinkFailed': 'Nie udało się usunąć powiązania',
|
||||
'chat.workStatus.linkedIssues.link': 'Powiąż z sesją',
|
||||
'chat.workStatus.linkedIssues.linkFailed': 'Nie udało się powiązać',
|
||||
'chat.workStatus.breakdown.issueCountSingle': '{count} zgłoszenie',
|
||||
'chat.workStatus.breakdown.issueCountPlural': '{count} zgłoszeń',
|
||||
'chat.workStatus.breakdown.prCountSingle': '{count} PR',
|
||||
'chat.workStatus.breakdown.prCountPlural': '{count} PR-ów',
|
||||
'chat.workStatus.breakdown.skillCountSingle': '{count} umiejętność',
|
||||
'chat.workStatus.breakdown.skillCountPlural': '{count} umiejętności',
|
||||
'chat.workStatus.breakdown.mcpCountSingle': '{count} MCP',
|
||||
'chat.workStatus.breakdown.mcpCountPlural': '{count} MCP',
|
||||
'chat.workStatus.sections.open': 'Wybierz sekcje',
|
||||
'chat.workStatus.sections.dialogTitle': 'Sekcje panelu',
|
||||
'chat.workStatus.sections.dialogDescription': 'Wybierz, co pokazuje panel stanu pracy. Ukryte sekcje zachowują swoje dane — po prostu nie są wyświetlane.',
|
||||
'header.workStatusPanel.toggleAria': 'Przełącz panel stanu pracy',
|
||||
'header.workStatusPanel.hide': 'Ukryj stan pracy',
|
||||
'header.workStatusPanel.show': 'Pokaż stan pracy',
|
||||
'chat.workStatus.mcp.authorizeOpenFailed': 'Nie udało się otworzyć strony autoryzacji',
|
||||
'chat.workStatus.mcp.authorizeFailed': 'Autoryzacja nie powiodła się',
|
||||
'mcpDropdown.toast.authorizeOpenFailed': 'Nie udało się otworzyć strony autoryzacji',
|
||||
'mcpDropdown.toast.authorizeFailed': 'Autoryzacja nie powiodła się',
|
||||
'header.services.tooltip.currentInstance': 'Bieżąca instancja: {current} ({toggle})',
|
||||
'header.workStatusPanel.showOverlay': 'Pokaż stan pracy nad czatem',
|
||||
'settings.mcp.page.connection.title': 'Jak się połączyć',
|
||||
'settings.mcp.page.connection.description': 'Wklej polecenie uruchamiające lub link do serwera hostowanego.',
|
||||
'settings.mcp.page.registration.title': 'Ten serwer wymaga własnej aplikacji',
|
||||
'settings.mcp.page.registration.description': 'Nie wydaje danych logowania automatycznie. Utwórz aplikację w ustawieniach usługi, wklej jej dane tutaj i zaloguj się.',
|
||||
'settings.mcp.page.registration.callbackLabel': 'Podaj usłudze ten adres',
|
||||
'settings.mcp.page.registration.clientId': 'ID aplikacji',
|
||||
'settings.mcp.page.registration.clientSecret': 'Sekret aplikacji',
|
||||
'settings.mcp.page.registration.afterSaving': 'Zapisz, a potem naciśnij Autoryzuj.',
|
||||
'settings.mcp.page.toast.copiedCallbackUrl': 'Skopiowano adres',
|
||||
'settings.mcp.page.toast.clipboardWriteFailed': 'Nie udało się skopiować do schowka',
|
||||
'settings.mcp.page.scope.everywhere': 'Dostępny we wszystkich projektach',
|
||||
'settings.mcp.page.scope.thisProject': 'Tylko w tym projekcie',
|
||||
'settings.mcp.page.env.description': 'Wartości potrzebne serwerowi, np. klucz API.',
|
||||
'settings.mcp.page.connection.kindCommand': 'Polecenie',
|
||||
'settings.mcp.page.connection.kindLink': 'Link',
|
||||
'settings.mcp.page.connection.hintCommand': 'Działa na tym komputerze. Wklej całe polecenie — zostanie podzielone na jeden argument w wierszu.',
|
||||
'settings.mcp.page.connection.hintLink': 'Łączy się z serwerem hostowanym przez kogoś innego. Wklej jego adres https.',
|
||||
} as const;
|
||||
|
||||
Reference in New Issue
Block a user