From a02a9fc4c2271c95bb7ee421bfc7a8363e72fea5 Mon Sep 17 00:00:00 2001 From: claude-code-best Date: Fri, 3 Apr 2026 14:14:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E5=AF=BC=E5=85=A5=E7=BC=BA=E5=A4=B1=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/PromptInput/PromptInputFooterLeftSide.tsx | 2 +- src/constants/prompts.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/PromptInput/PromptInputFooterLeftSide.tsx b/src/components/PromptInput/PromptInputFooterLeftSide.tsx index 381dcc570..9480af9eb 100644 --- a/src/components/PromptInput/PromptInputFooterLeftSide.tsx +++ b/src/components/PromptInput/PromptInputFooterLeftSide.tsx @@ -365,7 +365,7 @@ function ModeIndicator({ // its click-target Box isn't nested inside the // wrapper (reconciler throws on Box-in-Text). // Tmux pill (ant-only) — appears right after tasks in nav order - ...((process.env.USER_TYPE) === 'ant' && hasTmuxSession ? [] : []), ...(isAgentSwarmsEnabled() && hasTeams ? [] : []), ...(shouldShowPrStatus ? [] : [])]; + ...(process.env.USER_TYPE === 'ant' && hasTmuxSession && typeof TungstenPill === 'function' ? [] : []), ...(isAgentSwarmsEnabled() && hasTeams ? [] : []), ...(shouldShowPrStatus ? [] : [])]; // Check if any in-process teammates exist (for hint text cycling) const hasAnyInProcessTeammates = Object.values(tasks).some(t_2 => t_2.type === 'in_process_teammate' && t_2.status === 'running'); diff --git a/src/constants/prompts.ts b/src/constants/prompts.ts index 9eb49b36e..02b6a2289 100644 --- a/src/constants/prompts.ts +++ b/src/constants/prompts.ts @@ -59,6 +59,7 @@ import { TICK_TAG } from './xml.js' import { logForDebugging } from '../utils/debug.js' import { loadMemoryPrompt } from '../memdir/memdir.js' import { isUndercover } from '../utils/undercover.js' +import { getAntModelOverrideConfig } from '../utils/model/antModels.js' import { isMcpInstructionsDeltaEnabled } from '../utils/mcpInstructionsDelta.js' // Dead code elimination: conditional imports for feature-gated modules