初始化询价智能体新仓:同步本地工程并排除密钥与 .env。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
Write-Output "=== layout ==="
|
||||
Test-Path "E:\wwwroot\ops\active-release.json"
|
||||
Test-Path "C:\ytd-test"
|
||||
Get-ChildItem "C:\" -Directory | Where-Object { $_.Name -like "ytd-test*" } | Select-Object Name
|
||||
Get-Content "E:\wwwroot\ops\active-release.json"
|
||||
Write-Output "=== agent cwd ==="
|
||||
$p = (Get-NetTCPConnection -LocalPort 8910 -State Listen -EA SilentlyContinue | Select-Object -First 1).OwningProcess
|
||||
if ($p) {
|
||||
Get-CimInstance Win32_Process -Filter "ProcessId=$p" | Select-Object ProcessId, ExecutablePath, CommandLine | Format-List
|
||||
}
|
||||
Write-Output "=== ports ==="
|
||||
foreach ($x in 8910,8080,8810,8180,8913) {
|
||||
$c = Get-NetTCPConnection -LocalPort $x -State Listen -EA SilentlyContinue | Select-Object -First 1
|
||||
if ($c) { "$x LISTEN pid=$($c.OwningProcess)" } else { "$x down" }
|
||||
}
|
||||
Write-Output "FINAL_OK"
|
||||
Reference in New Issue
Block a user