初始化询价智能体新仓:同步本地工程并排除密钥与 .env。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
linmianxun
2026-09-13 14:30:44 +08:00
co-authored by Cursor
commit 2a14def882
2621 changed files with 393165 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
# 结束卡住的迁移脚本(Restart-Service Nginx 挂死)
$ErrorActionPreference = "Continue"
Get-CimInstance Win32_Process -Filter "Name='powershell.exe'" | ForEach-Object {
if ($_.CommandLine -and ($_.CommandLine -match 'migrate_to_wwwroot|Restart-Service')) {
Write-Output "KILL_PS=$($_.ProcessId)"
Stop-Process -Id $_.ProcessId -Force -ErrorAction SilentlyContinue
}
}
# Restart-Service 卡住时服务控制也可能僵住;先杀 nginx 进程便于 bounce
Get-Process nginx -ErrorAction SilentlyContinue | ForEach-Object {
Write-Output "KILL_NGINX=$($_.Id)"
Stop-Process -Id $_.Id -Force -ErrorAction SilentlyContinue
}
Write-Output "KILL_DONE"