From 071895ee537256e84f1ccc643820d496eeff93ed Mon Sep 17 00:00:00 2001 From: claude-code-best Date: Sat, 20 Jun 2026 11:37:50 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=A7=BB=E9=99=A4=20Tool.ts=20?= =?UTF-8?q?=E4=B8=AD=20backwards-compat=20=E9=87=8D=E5=AF=BC=E5=87=BA=20sh?= =?UTF-8?q?im?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 删除 "// Re-export progress types for backwards compatibility" 注释块及其重导出语句。所有消费方已直接从 src/types/tools.js 导入,无需重导出转发。 Co-Authored-By: glm-5.2 --- src/Tool.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/Tool.ts b/src/Tool.ts index 5bcda27aa..caeac479e 100644 --- a/src/Tool.ts +++ b/src/Tool.ts @@ -62,17 +62,6 @@ import type { DenialTrackingState } from './utils/permissions/denialTracking.js' import type { SystemPrompt } from './utils/systemPromptType.js' import type { ContentReplacementState } from './utils/toolResultStorage.js' -// Re-export progress types for backwards compatibility -export type { - AgentToolProgress, - BashProgress, - MCPProgress, - REPLToolProgress, - SkillToolProgress, - TaskOutputProgress, - WebSearchProgress, -} - import type { SpinnerMode } from './components/Spinner.js' import type { QuerySource } from './constants/querySource.js' import type { SDKStatus } from './entrypoints/agentSdkTypes.js'