@echo off echo ======================================== echo AI Code Diff Preview - 本地安装脚本 echo ======================================== echo. echo [1/2] 构建插件... call npm run build echo. echo [2/2] 安装到 VSCode... call code --install-extension . echo. echo ======================================== echo 安装完成! echo 请重启 VSCode 或重新加载窗口 (Ctrl+Shift+P -> Reload Window) echo ======================================== pause