2 Commits

2 changed files with 10 additions and 0 deletions

View File

@ -401,6 +401,11 @@ async function handleUserMessageWithBackend(
isComplete: true,
});
// 发送任务完成消息
panel.webview.postMessage({
command: "taskComplete",
});
// 发送系统通知 - AI 响应完成
const notificationService = NotificationService.getInstance();
notificationService.success(

View File

@ -780,6 +780,11 @@ export function getWebviewContent(
hideLoadingIndicator();
break;
case 'taskComplete':
// 显示任务完成提示
addMessage('✅ 任务已完成', 'bot');
break;
case 'workspaceStatus':
// 更新工作区状态
if (typeof hasWorkspace !== 'undefined') {