diff --git a/codex-cli/src/components/chat/terminal-message-history.tsx b/codex-cli/src/components/chat/terminal-message-history.tsx index fe0bea55..8171f629 100644 --- a/codex-cli/src/components/chat/terminal-message-history.tsx +++ b/codex-cli/src/components/chat/terminal-message-history.tsx @@ -12,7 +12,7 @@ import React, { useMemo } from "react"; // items (e.g. auto‑approved tool‑call batches) that should be rendered // together. type BatchEntry = { item?: ResponseItem; group?: GroupedResponseItem }; -type MessageHistoryProps = { +type TerminalMessageHistoryProps = { batch: Array; groupCounts: Record; items: Array; @@ -25,7 +25,7 @@ type MessageHistoryProps = { setOverlayMode: React.Dispatch>; }; -const MessageHistory: React.FC = ({ +const TerminalMessageHistory: React.FC = ({ batch, headerProps, // `loading` and `thinkingSeconds` handled by input component now. @@ -78,4 +78,4 @@ const MessageHistory: React.FC = ({ ); }; -export default React.memo(MessageHistory); +export default React.memo(TerminalMessageHistory);