Compare commits
2 Commits
081ddec55c
...
47f95afabb
| Author | SHA1 | Date | |
|---|---|---|---|
| 47f95afabb | |||
| 7fe87e515b |
@ -401,6 +401,11 @@ async function handleUserMessageWithBackend(
|
||||
isComplete: true,
|
||||
});
|
||||
|
||||
// 发送任务完成消息
|
||||
panel.webview.postMessage({
|
||||
command: "taskComplete",
|
||||
});
|
||||
|
||||
// 发送系统通知 - AI 响应完成
|
||||
const notificationService = NotificationService.getInstance();
|
||||
notificationService.success(
|
||||
|
||||
@ -780,6 +780,11 @@ export function getWebviewContent(
|
||||
hideLoadingIndicator();
|
||||
break;
|
||||
|
||||
case 'taskComplete':
|
||||
// 显示任务完成提示
|
||||
addMessage('✅ 任务已完成', 'bot');
|
||||
break;
|
||||
|
||||
case 'workspaceStatus':
|
||||
// 更新工作区状态
|
||||
if (typeof hasWorkspace !== 'undefined') {
|
||||
|
||||
Reference in New Issue
Block a user