基线:全量源码首提(D1 版本控制落地,含第一轮优化 B1-B4/A1/A4/缩放修复)

This commit is contained in:
dqb-dev
2026-10-01 22:15:22 +08:00
commit 1e65792b09
499 changed files with 204579 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
@echo off
title Stop ZCode AI engine (chengtao-baojia)
rem Kill the engine process listening on the configured port. (same as silent variant, with pause)
rem Port: %USERPROFILE%\.zcode\chengtao\port.txt (fallback 18789)
setlocal
set "PORT=18789"
if exist "%USERPROFILE%\.zcode\chengtao\port.txt" set /p PORT=<"%USERPROFILE%\.zcode\chengtao\port.txt"
powershell -NoProfile -Command "$conns = Get-NetTCPConnection -LocalPort %PORT% -State Listen -ErrorAction SilentlyContinue; if (-not $conns) { Write-Host ('port ' + %PORT% + ' has no running engine') } else { $conns | Select-Object -ExpandProperty OwningProcess -Unique | ForEach-Object { Write-Host ('stop PID ' + $_); Stop-Process -Id $_ -Force -ErrorAction SilentlyContinue } }"
echo Done.
pause