chore(deps): upgrade dependencies and refactor AI action handling

This commit is contained in:
Ray.Hao
2025-11-17 21:43:20 +08:00
parent 5aa6773cac
commit 0fbd489e49
7 changed files with 478 additions and 237 deletions

View File

@@ -183,7 +183,7 @@ const handleExecute = async () => {
// 优先检测无需调用 AI 的纯跳转命令
const directNavigation = tryDirectNavigate(rawCommand);
if (directNavigation) {
if (directNavigation && directNavigation.action) {
response.value = directNavigation;
await executeAction(directNavigation.action);
return;