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:
@@ -1523,8 +1523,6 @@ export const dict: Record<I18nKey, string> = {
|
||||
"header.github.accountSource.cli": "CLI",
|
||||
"header.services.openWithCurrent": "Abrir instancia, uso y MCP (actual: {current})",
|
||||
"header.services.open": "Abrir servicios, uso y MCP",
|
||||
"header.services.tooltip.currentInstanceWithShortcuts": "Instancia actual: {current} ({toggle}; siguiente pestaña {nextTab})",
|
||||
"header.services.tooltip.servicesWithShortcuts": "Servicios ({toggle}; siguiente pestaña {nextTab})",
|
||||
"header.services.title": "Servicios",
|
||||
"header.services.viewAria": "Ver servicios",
|
||||
"header.services.closeAria": "Cerrar servicios",
|
||||
@@ -1541,7 +1539,6 @@ export const dict: Record<I18nKey, string> = {
|
||||
"header.services.used": "Usado",
|
||||
"header.services.remaining": "Restante",
|
||||
"header.services.modelFamily.other": "Otro",
|
||||
"header.services.shutdownDev": "Detener OpenChamber",
|
||||
"header.actions.openPlanAria": "Abrir plan",
|
||||
"header.actions.toggleChangesPanel": "Panel de cambios",
|
||||
"header.actions.toggleChangesPanelAria": "Alternar panel de cambios",
|
||||
@@ -2943,4 +2940,93 @@ export const dict: Record<I18nKey, string> = {
|
||||
"quota.window.chat": "Chat Requests",
|
||||
"quota.window.completions": "Completions",
|
||||
"quota.window.premiumInteractions": "Premium interactions",
|
||||
'chat.workStatus.ariaLabel': 'Estado del trabajo',
|
||||
'chat.workStatus.context.label': 'Contexto',
|
||||
'chat.workStatus.git.changedFileSingle': '{count} archivo modificado',
|
||||
'chat.workStatus.git.changedFilePlural': '{count} archivos modificados',
|
||||
'chat.workStatus.pr.untitled': 'Pull request sin título',
|
||||
'chat.workStatus.pr.draft': 'Borrador',
|
||||
'chat.workStatus.pr.checks': 'Comprobaciones',
|
||||
'chat.workStatus.pr.checksFailed': '{count} fallaron',
|
||||
'chat.workStatus.pr.checksPending': '{count} en curso',
|
||||
'chat.workStatus.pr.checksPassed': '{count} correctas',
|
||||
'chat.workStatus.attention.merge': 'Fusión en curso',
|
||||
'chat.workStatus.attention.rebase': 'Rebase en curso',
|
||||
'chat.workStatus.attention.cherryPick': 'Cherry-pick en curso',
|
||||
'chat.workStatus.attention.revert': 'Reversión en curso',
|
||||
'chat.workStatus.attention.bisect': 'Bisect en curso',
|
||||
'chat.workStatus.subagent.done': 'Listo',
|
||||
'chat.workStatus.subagent.untitled': 'Subagente',
|
||||
'chat.workStatus.mcp.toggle': 'Alternar {name}',
|
||||
'chat.workStatus.mcp.needsAuth': 'Iniciar sesión',
|
||||
'chat.workStatus.mcp.failed': 'Falló',
|
||||
'chat.workStatus.pinned.unavailable': 'Mensaje fijado',
|
||||
'chat.workStatus.section.session': 'Sesión',
|
||||
'chat.workStatus.section.repository': 'Repositorio',
|
||||
'chat.workStatus.section.subagents': 'Subagentes',
|
||||
'chat.workStatus.section.mcp': 'MCP',
|
||||
'chat.workStatus.section.pinned': 'Mensajes fijados',
|
||||
'chat.workStatus.section.tasks': 'Tareas',
|
||||
'chat.workStatus.subagent.working': 'está trabajando',
|
||||
'chat.workStatus.subagent.needsPermission': 'necesita permiso',
|
||||
'chat.workStatus.subagent.askedQuestion': 'hizo una pregunta',
|
||||
'chat.workStatus.section.contextBreakdown': 'Fuentes de contexto',
|
||||
'chat.workStatus.breakdown.skills': 'Habilidades',
|
||||
'chat.workStatus.breakdown.mcp': 'Servidores MCP',
|
||||
'chat.workStatus.action.openChanges': 'Abrir cambios',
|
||||
'chat.workStatus.action.openGit': 'Abrir panel de Git',
|
||||
'chat.workStatus.action.openPr': 'Abrir pull request',
|
||||
'chat.workStatus.action.openSubagent': 'Abrir {name}',
|
||||
'chat.workStatus.section.usage': 'Uso',
|
||||
'chat.workStatus.goal.open': 'Gestionar objetivo',
|
||||
'chat.workStatus.goal.pause': 'Pausar',
|
||||
'chat.workStatus.goal.resume': 'Reanudar',
|
||||
'chat.workStatus.goal.updateFailed': 'No se pudo actualizar el objetivo',
|
||||
'chat.workStatus.pinned.unpin': 'Dejar de fijar',
|
||||
'chat.workStatus.pinned.reveal': 'Ir al mensaje',
|
||||
'chat.workStatus.pinned.unpinFailed': 'No se pudo dejar de fijar el mensaje',
|
||||
'chat.workStatus.action.openContext': 'Abrir panel de contexto',
|
||||
'chat.workStatus.section.linkedIssues': 'Vinculados',
|
||||
'chat.workStatus.linkedIssues.open': 'Abrir #{number} en GitHub',
|
||||
'chat.workStatus.linkedIssues.unlink': 'Quitar vínculo',
|
||||
'chat.workStatus.linkedIssues.unlinkFailed': 'No se pudo quitar el vínculo',
|
||||
'chat.workStatus.linkedIssues.link': 'Vincular a la sesión',
|
||||
'chat.workStatus.linkedIssues.linkFailed': 'No se pudo vincular',
|
||||
'chat.workStatus.breakdown.issueCountSingle': '{count} incidencia',
|
||||
'chat.workStatus.breakdown.issueCountPlural': '{count} incidencias',
|
||||
'chat.workStatus.breakdown.prCountSingle': '{count} PR',
|
||||
'chat.workStatus.breakdown.prCountPlural': '{count} PR',
|
||||
'chat.workStatus.breakdown.skillCountSingle': '{count} habilidad',
|
||||
'chat.workStatus.breakdown.skillCountPlural': '{count} habilidades',
|
||||
'chat.workStatus.breakdown.mcpCountSingle': '{count} MCP',
|
||||
'chat.workStatus.breakdown.mcpCountPlural': '{count} MCP',
|
||||
'chat.workStatus.sections.open': 'Elegir secciones',
|
||||
'chat.workStatus.sections.dialogTitle': 'Secciones del panel',
|
||||
'chat.workStatus.sections.dialogDescription': 'Elige qué muestra el panel de estado. Las secciones ocultas conservan sus datos: solo no aparecen en el panel.',
|
||||
'header.workStatusPanel.toggleAria': 'Alternar panel de estado',
|
||||
'header.workStatusPanel.hide': 'Ocultar estado del trabajo',
|
||||
'header.workStatusPanel.show': 'Mostrar estado del trabajo',
|
||||
'chat.workStatus.mcp.authorizeOpenFailed': 'No se pudo abrir la página de autorización',
|
||||
'chat.workStatus.mcp.authorizeFailed': 'Error de autorización',
|
||||
'mcpDropdown.toast.authorizeOpenFailed': 'No se pudo abrir la página de autorización',
|
||||
'mcpDropdown.toast.authorizeFailed': 'Error de autorización',
|
||||
'header.services.tooltip.currentInstance': 'Instancia actual: {current} ({toggle})',
|
||||
'header.workStatusPanel.showOverlay': 'Mostrar estado sobre el chat',
|
||||
'settings.mcp.page.connection.title': 'Cómo conectarse',
|
||||
'settings.mcp.page.connection.description': 'Pega el comando que lo inicia o el enlace a un servidor alojado.',
|
||||
'settings.mcp.page.registration.title': 'Este servidor necesita su propia app',
|
||||
'settings.mcp.page.registration.description': 'No entrega credenciales automáticamente. Crea una app en los ajustes del servicio, pega sus datos aquí e inicia sesión.',
|
||||
'settings.mcp.page.registration.callbackLabel': 'Da esta dirección al servicio',
|
||||
'settings.mcp.page.registration.clientId': 'ID de la app',
|
||||
'settings.mcp.page.registration.clientSecret': 'Secreto de la app',
|
||||
'settings.mcp.page.registration.afterSaving': 'Guarda y luego pulsa Autorizar.',
|
||||
'settings.mcp.page.toast.copiedCallbackUrl': 'Dirección copiada',
|
||||
'settings.mcp.page.toast.clipboardWriteFailed': 'No se pudo copiar al portapapeles',
|
||||
'settings.mcp.page.scope.everywhere': 'Disponible en todos los proyectos',
|
||||
'settings.mcp.page.scope.thisProject': 'Solo en este proyecto',
|
||||
'settings.mcp.page.env.description': 'Valores que el servidor necesita, como una clave de API.',
|
||||
'settings.mcp.page.connection.kindCommand': 'Comando',
|
||||
'settings.mcp.page.connection.kindLink': 'Enlace',
|
||||
'settings.mcp.page.connection.hintCommand': 'Se ejecuta en este equipo. Pega un comando completo y se dividirá en un argumento por línea.',
|
||||
'settings.mcp.page.connection.hintLink': 'Se conecta a un servidor alojado por otra persona. Pega su dirección https.',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user