增强 8910 日志盯盘与联调可读性:本机落盘 info/error、bat 入口,出站与 echo 打 reply 预览,部署强制 UTF-8。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
linmianxun
2026-09-13 21:47:05 +08:00
co-authored by Cursor
parent 4d90bba99d
commit 8bdf4990a2
8 changed files with 263 additions and 45 deletions
+28
View File
@@ -0,0 +1,28 @@
@echo off
setlocal EnableExtensions
cd /d "%~dp0"
REM Double-click: fetch recent remote agent 8910 logs once, then pause.
where powershell.exe >nul 2>&1
if errorlevel 1 (
echo ERROR: powershell.exe not found.
goto :end
)
if not exist "%~dp0Watch-Agent8910.ps1" (
echo ERROR: Watch-Agent8910.ps1 missing next to this bat.
goto :end
)
echo Starting Watch-Agent8910 -Once ...
echo.
powershell.exe -NoLogo -NoProfile -ExecutionPolicy Bypass -File "%~dp0Watch-Agent8910.ps1" -Once %*
set ERR=%ERRORLEVEL%
echo.
echo Finished. ExitCode=%ERR%
:end
echo.
pause
exit /b %ERR%