From 19cc5b04ac0b64fa12d90743c8c196e135fd0bae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Pacana?= Date: Wed, 29 Jul 2026 17:06:13 +0200 Subject: [PATCH] Hide MCP footer status * Filter the MCP adapter status out of the custom footer so the footer does not spend a separate line on adapter state while MCP remains available through commands and tools. --- config/pi/extensions/openai-codex-quota-footer.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/config/pi/extensions/openai-codex-quota-footer.ts b/config/pi/extensions/openai-codex-quota-footer.ts index 049e3ef..30f5491 100644 --- a/config/pi/extensions/openai-codex-quota-footer.ts +++ b/config/pi/extensions/openai-codex-quota-footer.ts @@ -351,10 +351,11 @@ export default function (pi: ExtensionAPI) { const pwdLine = truncateToWidth(theme.fg("dim", pwd), width, theme.fg("dim", "...")); const lines = [pwdLine, theme.fg("dim", statsLine)]; - const statuses = footerData.getExtensionStatuses(); - if (statuses.size > 0) { - const statusLine = Array.from(statuses.entries()) - .sort(([a], [b]) => a.localeCompare(b)) + const statuses = Array.from(footerData.getExtensionStatuses().entries()) + .filter(([name]) => name !== "mcp") + .sort(([a], [b]) => a.localeCompare(b)); + if (statuses.length > 0) { + const statusLine = statuses .map(([, text]) => sanitizeStatus(text)) .join(" "); lines.push(truncateToWidth(statusLine, width, theme.fg("dim", "..."))); -- 2.51.2