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:
Bohdan Triapitsyn
2026-08-09 19:30:25 +03:00
parent 493a618efc
commit f4743ea060
69 changed files with 5777 additions and 894 deletions
+89 -3
View File
@@ -1240,7 +1240,6 @@ export const dict: Record<I18nKey, string> = {
'contextPanel.preview.console.filter.logs': '로그',
'terminalView.preview.open': '미리보기',
'terminalView.preview.openTitle': '미리보기 패널 열기',
'header.services.shutdownDev': 'OpenChamber 종료',
'chat.messageBody.actions.openPreviewAria': '미리보기 열기',
'chat.messageBody.actions.openPreview': '미리보기 열기',
'contextPanel.tab.closeTabAria': '{label} 탭 닫기',
@@ -1548,8 +1547,6 @@ export const dict: Record<I18nKey, string> = {
'header.github.accountSource.cli': 'CLI',
'header.services.openWithCurrent': '인스턴스, 사용량, MCP 열기(현재: {current})',
'header.services.open': '서비스, 사용량, MCP 열기',
'header.services.tooltip.currentInstanceWithShortcuts': '현재 인스턴스: {current} ({toggle}; 다음 탭 {nextTab})',
'header.services.tooltip.servicesWithShortcuts': '서비스 ({toggle}; 다음 탭 {nextTab})',
'header.services.title': '서비스',
'header.services.viewAria': '서비스 보기',
'header.services.closeAria': '서비스 닫기',
@@ -2942,4 +2939,93 @@ export const dict: Record<I18nKey, string> = {
'quota.window.chat': 'Chat Requests',
'quota.window.completions': 'Completions',
'quota.window.premiumInteractions': 'Premium interactions',
'chat.workStatus.ariaLabel': '작업 상태',
'chat.workStatus.context.label': '컨텍스트',
'chat.workStatus.git.changedFileSingle': '파일 {count}개 변경됨',
'chat.workStatus.git.changedFilePlural': '파일 {count}개 변경됨',
'chat.workStatus.pr.untitled': '제목 없는 풀 리퀘스트',
'chat.workStatus.pr.draft': '초안',
'chat.workStatus.pr.checks': '검사',
'chat.workStatus.pr.checksFailed': '{count}개 실패',
'chat.workStatus.pr.checksPending': '{count}개 실행 중',
'chat.workStatus.pr.checksPassed': '{count}개 통과',
'chat.workStatus.attention.merge': '병합 진행 중',
'chat.workStatus.attention.rebase': '리베이스 진행 중',
'chat.workStatus.attention.cherryPick': '체리픽 진행 중',
'chat.workStatus.attention.revert': '되돌리기 진행 중',
'chat.workStatus.attention.bisect': '이분 탐색 진행 중',
'chat.workStatus.subagent.done': '완료',
'chat.workStatus.subagent.untitled': '서브에이전트',
'chat.workStatus.mcp.toggle': '{name} 전환',
'chat.workStatus.mcp.needsAuth': '로그인',
'chat.workStatus.mcp.failed': '실패',
'chat.workStatus.pinned.unavailable': '고정된 메시지',
'chat.workStatus.section.session': '세션',
'chat.workStatus.section.repository': '저장소',
'chat.workStatus.section.subagents': '서브에이전트',
'chat.workStatus.section.mcp': 'MCP',
'chat.workStatus.section.pinned': '고정된 메시지',
'chat.workStatus.section.tasks': '작업',
'chat.workStatus.subagent.working': '작업 중',
'chat.workStatus.subagent.needsPermission': '권한 필요',
'chat.workStatus.subagent.askedQuestion': '질문함',
'chat.workStatus.section.contextBreakdown': '컨텍스트 소스',
'chat.workStatus.breakdown.skills': '스킬',
'chat.workStatus.breakdown.mcp': 'MCP 서버',
'chat.workStatus.action.openChanges': '변경 사항 열기',
'chat.workStatus.action.openGit': 'Git 패널 열기',
'chat.workStatus.action.openPr': '풀 리퀘스트 열기',
'chat.workStatus.action.openSubagent': '{name} 열기',
'chat.workStatus.section.usage': '사용량',
'chat.workStatus.goal.open': '목표 관리',
'chat.workStatus.goal.pause': '일시정지',
'chat.workStatus.goal.resume': '재개',
'chat.workStatus.goal.updateFailed': '목표를 업데이트하지 못했습니다',
'chat.workStatus.pinned.unpin': '고정 해제',
'chat.workStatus.pinned.reveal': '메시지로 이동',
'chat.workStatus.pinned.unpinFailed': '고정을 해제하지 못했습니다',
'chat.workStatus.action.openContext': '컨텍스트 패널 열기',
'chat.workStatus.section.linkedIssues': '연결됨',
'chat.workStatus.linkedIssues.open': 'GitHub에서 #{number} 열기',
'chat.workStatus.linkedIssues.unlink': '연결 해제',
'chat.workStatus.linkedIssues.unlinkFailed': '연결을 해제하지 못했습니다',
'chat.workStatus.linkedIssues.link': '세션에 연결',
'chat.workStatus.linkedIssues.linkFailed': '연결하지 못했습니다',
'chat.workStatus.breakdown.issueCountSingle': '이슈 {count}개',
'chat.workStatus.breakdown.issueCountPlural': '이슈 {count}개',
'chat.workStatus.breakdown.prCountSingle': 'PR {count}개',
'chat.workStatus.breakdown.prCountPlural': 'PR {count}개',
'chat.workStatus.breakdown.skillCountSingle': '스킬 {count}개',
'chat.workStatus.breakdown.skillCountPlural': '스킬 {count}개',
'chat.workStatus.breakdown.mcpCountSingle': 'MCP {count}개',
'chat.workStatus.breakdown.mcpCountPlural': 'MCP {count}개',
'chat.workStatus.sections.open': '섹션 선택',
'chat.workStatus.sections.dialogTitle': '패널 섹션',
'chat.workStatus.sections.dialogDescription': '작업 상태 패널에 표시할 항목을 선택하세요. 숨긴 섹션도 데이터는 유지되며 패널에만 나타나지 않습니다.',
'header.workStatusPanel.toggleAria': '작업 상태 패널 전환',
'header.workStatusPanel.hide': '작업 상태 숨기기',
'header.workStatusPanel.show': '작업 상태 표시',
'chat.workStatus.mcp.authorizeOpenFailed': '인증 페이지를 열지 못했습니다',
'chat.workStatus.mcp.authorizeFailed': '인증에 실패했습니다',
'mcpDropdown.toast.authorizeOpenFailed': '인증 페이지를 열지 못했습니다',
'mcpDropdown.toast.authorizeFailed': '인증에 실패했습니다',
'header.services.tooltip.currentInstance': '현재 인스턴스: {current} ({toggle})',
'header.workStatusPanel.showOverlay': '채팅 위에 작업 상태 표시',
'settings.mcp.page.connection.title': '연결 방법',
'settings.mcp.page.connection.description': '실행 명령 또는 호스팅 서버 링크를 붙여넣으세요.',
'settings.mcp.page.registration.title': '이 서버는 전용 앱이 필요합니다',
'settings.mcp.page.registration.description': '자격 증명을 자동으로 발급하지 않습니다. 서비스 설정에서 앱을 만들고 정보를 여기에 붙여넣은 뒤 로그인하세요.',
'settings.mcp.page.registration.callbackLabel': '이 주소를 서비스에 등록하세요',
'settings.mcp.page.registration.clientId': '앱 ID',
'settings.mcp.page.registration.clientSecret': '앱 시크릿',
'settings.mcp.page.registration.afterSaving': '저장한 다음 인증을 누르세요.',
'settings.mcp.page.toast.copiedCallbackUrl': '주소를 복사했습니다',
'settings.mcp.page.toast.clipboardWriteFailed': '클립보드에 복사하지 못했습니다',
'settings.mcp.page.scope.everywhere': '모든 프로젝트에서 사용',
'settings.mcp.page.scope.thisProject': '이 프로젝트에서만',
'settings.mcp.page.env.description': 'API 키처럼 서버가 필요로 하는 값.',
'settings.mcp.page.connection.kindCommand': '명령',
'settings.mcp.page.connection.kindLink': '링크',
'settings.mcp.page.connection.hintCommand': '이 컴퓨터에서 실행됩니다. 명령 전체를 붙여넣으면 한 줄에 인수 하나씩 나뉩니다.',
'settings.mcp.page.connection.hintLink': '다른 곳에서 호스팅하는 서버에 연결합니다. https 주소를 붙여넣으세요.',
};