落地并存测服全端:智能体 Graph/路由、后台切 8180、主账与部署脚本齐备,便于线上重发与验收。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
linmianxun
2026-09-13 21:15:58 +08:00
co-authored by Cursor
parent 0eb1adecc8
commit 8103b3b651
143 changed files with 8968 additions and 277 deletions
+18
View File
@@ -0,0 +1,18 @@
# Find who locks old agent release dirs
$ErrorActionPreference = 'Continue'
Write-Output '=== processes mentioning releases ==='
Get-CimInstance Win32_Process | ForEach-Object {
$cl = $_.CommandLine
if ($cl -and ($cl -like '*agent\\releases*' -or $cl -like '*agent/releases*' -or $cl -like '*wwwroot*agent*')) {
Write-Output ("pid=$($_.ProcessId) name=$($_.Name)")
Write-Output (" " + $cl.Substring(0, [Math]::Min(300, $cl.Length)))
}
}
Write-Output '=== netstat 8910 owner tree ==='
$p = (Get-NetTCPConnection -LocalPort 8910 -State Listen -EA SilentlyContinue | Select-Object -First 1).OwningProcess
if ($p) {
$proc = Get-CimInstance Win32_Process -Filter "ProcessId=$p"
Write-Output ("listen_pid=$p parent=$($proc.ParentProcessId)")
Write-Output ($proc.CommandLine)
}
Write-Output 'LOCKERS_DONE'