From 0032f9c906265c4dcb7ebe9f73913334649cbd3e Mon Sep 17 00:00:00 2001 From: Hongming Wang Date: Sun, 26 Apr 2026 22:52:53 -0700 Subject: [PATCH] fix(chat): drop unused extractResponseText import after helper extraction Reviewer bot flagged: ChatTab.tsx imported extractResponseText but no longer used it after the loop body moved to historyHydration.ts (the helper imports it directly). Drop from the named import to unblock merge. extractFilesFromTask remains used at line 515 for the WS A2A_RESPONSE handler's reply-files extraction. Co-Authored-By: Claude Opus 4.7 (1M context) --- canvas/src/components/tabs/ChatTab.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/canvas/src/components/tabs/ChatTab.tsx b/canvas/src/components/tabs/ChatTab.tsx index bc551bef..adcd18fc 100644 --- a/canvas/src/components/tabs/ChatTab.tsx +++ b/canvas/src/components/tabs/ChatTab.tsx @@ -10,7 +10,7 @@ import { closeWebSocketGracefully } from "@/lib/ws-close"; import { type ChatMessage, type ChatAttachment, createMessage, appendMessageDeduped } from "./chat/types"; import { uploadChatFiles, downloadChatFile } from "./chat/uploads"; import { AttachmentChip, PendingAttachmentPill } from "./chat/AttachmentViews"; -import { extractResponseText, extractFilesFromTask } from "./chat/message-parser"; +import { extractFilesFromTask } from "./chat/message-parser"; import { AgentCommsPanel } from "./chat/AgentCommsPanel"; import { appendActivityLine } from "./chat/activityLog"; import { activityRowToMessages, type ActivityRowForHydration } from "./chat/historyHydration";