初始化询价智能体新仓:同步本地工程并排除密钥与 .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
+21
View File
@@ -0,0 +1,21 @@
Write-Output "=== E:\wwwroot ==="
Get-ChildItem 'E:\wwwroot' -Force | Select-Object Mode, Length, Name | Format-Table -AutoSize
Write-Output "=== C:\ytd-test deep ==="
Get-ChildItem 'C:\ytd-test' -Recurse -Depth 2 | Select-Object FullName | ForEach-Object { $_.FullName }
Write-Output "=== ops scripts ==="
if (Test-Path 'C:\ytd-test\ops') {
Get-ChildItem 'C:\ytd-test\ops' | Format-Table Name, Length -AutoSize
Get-ChildItem 'C:\ytd-test\ops\*.cmd','C:\ytd-test\ops\*.ps1','C:\ytd-test\ops\*.json' -ErrorAction SilentlyContinue | ForEach-Object {
Write-Output "---- $($_.FullName) ----"
Get-Content $_.FullName -TotalCount 40
}
}
Write-Output "=== scheduled tasks ytd ==="
Get-ScheduledTask | Where-Object { $_.TaskName -match 'ytd|agent|8910|inquiry' } | Select-Object TaskName, State | Format-Table -AutoSize
Write-Output "=== nginx root snippet ==="
Select-String -Path 'C:\nginx-1.18.0\myconf\ai.conf' -Pattern 'root |proxy_pass|ytd-test|wwwroot' | ForEach-Object { $_.Line.Trim() }
Write-Output "=== pid 8910 ==="
$p = Get-NetTCPConnection -LocalPort 8910 -State Listen -EA SilentlyContinue | Select-Object -First 1 -ExpandProperty OwningProcess
if ($p) {
Get-CimInstance Win32_Process -Filter "ProcessId=$p" | Select-Object ProcessId, CommandLine, ExecutablePath | Format-List
}