diff --git a/src/constants/toolIcons.ts b/src/constants/toolIcons.ts index f551a16..dc24f97 100644 --- a/src/constants/toolIcons.ts +++ b/src/constants/toolIcons.ts @@ -180,3 +180,8 @@ export const userQuestionIconSvg = ``; + +/** + * 更新阶段图标 SVG + */ +export const updateStageIconSvg = ``; diff --git a/src/views/messageArea.ts b/src/views/messageArea.ts index 8350e2c..8897fde 100644 --- a/src/views/messageArea.ts +++ b/src/views/messageArea.ts @@ -24,6 +24,7 @@ import { knowledgeLoadIconSvg, stateTransitionIconSvg, userQuestionIconSvg, + updateStageIconSvg, } from "../constants/toolIcons"; import { getWaveformPreviewContent, @@ -670,6 +671,7 @@ export function getMessageAreaScript(): string { const knowledgeLoadIconSvg = \`${knowledgeLoadIconSvg}\`; const stateTransitionIconSvg = \`${stateTransitionIconSvg}\`; const userQuestionIconSvg = \`${userQuestionIconSvg}\`; + const updateStageIconSvg = \`${updateStageIconSvg}\`; ${getAgentCardScript()} @@ -724,6 +726,7 @@ export function getMessageAreaScript(): string { 'updateNode': fileWriteIconSvg, 'addStateTransition': stateTransitionIconSvg, 'askUser': userQuestionIconSvg, + 'updatePhase': updateStageIconSvg, }; return iconMap[toolName] || ''; } @@ -756,6 +759,7 @@ export function getMessageAreaScript(): string { 'spawnExplorer': '代码探索', 'spawnDebugger': '波形调试', 'askUser': '用户提问', + 'updatePhase': '已更新阶段', }; return toolNameMap[toolName] || toolName; }