初始化询价智能体新仓:同步本地工程并排除密钥与 .env。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
$ErrorActionPreference = 'Continue'
|
||||
Write-Host '=== E:\wwwroot\admin ==='
|
||||
Get-ChildItem E:\wwwroot\admin -ErrorAction SilentlyContinue | Select-Object Name,Mode | Format-Table -AutoSize
|
||||
Write-Host '=== E:\wwwroot\agent ==='
|
||||
Get-ChildItem E:\wwwroot\agent -ErrorAction SilentlyContinue | Select-Object -First 15 Name
|
||||
Write-Host '=== tools bins ==='
|
||||
@(
|
||||
'C:\yutongda\tools\jdk8\bin\java.exe',
|
||||
'C:\Program Files\nodejs\node.exe',
|
||||
'C:\yutongda\tools\maven\bin\mvn.cmd',
|
||||
'C:\tools\apache-maven-3.9.16\bin\mvn.cmd'
|
||||
) | ForEach-Object { Write-Host "$_ = $(Test-Path $_)" }
|
||||
Get-ChildItem C:\yutongda\tools -Directory | Select-Object Name
|
||||
where.exe node 2>$null
|
||||
where.exe npm 2>$null
|
||||
Get-ChildItem C:\yutongda\tools -Recurse -Filter 'mvn.cmd' -ErrorAction SilentlyContinue | Select-Object -First 3 FullName
|
||||
Get-ChildItem 'C:\Program Files' -Filter 'nodejs' -Directory -ErrorAction SilentlyContinue | Select-Object FullName
|
||||
# env key names only
|
||||
Write-Host '=== env keys ==='
|
||||
Get-Content E:\wwwroot\.env | ForEach-Object {
|
||||
if ($_ -match '^\s*#' -or $_ -match '^\s*$') { return }
|
||||
if ($_ -match '^([^=]+)=') { $matches[1] }
|
||||
} | Select-Object -First 40
|
||||
Reference in New Issue
Block a user