fix: watchdog revival — port 5807 in registry, skip remote/self-managed services, add to start.bat

- service_registry: xmpp_bot port 5802 -> 5807 (matches xmpp_agent_core), fix health_url/log
- xmpp_watchdog: skip services without script or pid_file (dashboard self-managed, gateway_* remote) — previously crashed on open(None)
- start.bat: launch watchdog after xxm bot so crash auto-recovery runs on boot
This commit is contained in:
hmo
2026-08-05 09:57:51 +08:00
parent afcce956f0
commit 1dd3f9aad5
3 changed files with 14 additions and 3 deletions
+4
View File
@@ -14,6 +14,10 @@ echo [2/3] xxm Bot...
start /b "" /D "D:\F\NewI\opencode\daily-workspace\projects\AgentsMeeting" "C:\Users\hmo\AppData\Local\Programs\Python\Python310\python.exe" xmpp_agent_core.py --agent xxm
timeout /t 10 /nobreak >nul
echo [2.5/3] Watchdog (auto-restart guard)...
start /b "" /D "D:\F\NewI\opencode\daily-workspace\projects\AgentsMeeting\gateway\scripts" "C:\Users\hmo\AppData\Local\Programs\Python\Python310\python.exe" xmpp_watchdog.py
timeout /t 3 /nobreak >nul
echo [3/3] EasyTier...
curl -s -X POST http://127.0.0.1:5807/easytier -H "Content-Type: application/json" -H "X-Api-Key: xxm_bridge_8f3a2c" -d "{\"action\":\"start\"}" >nul