1b2b935832
- Platform-based architecture (Windows/Linux/Mac) - Agent instance registry (agents.yaml) - Management dashboard with cross-platform monitoring - xmpp_bot with HTTP bridge + health endpoints - wechat_agent with WeChat-Hermes bridging - Platform services: ProcessGuardian, HealthProbe, APIRouter, ChannelBridge - Deployment: systemd (Linux) + PowerShell (Windows) - Monitoring: SSH+ejabberdctl for cross-platform presence
46 lines
1.2 KiB
Markdown
46 lines
1.2 KiB
Markdown
# AgentsMeeting — 快速操作手册
|
||
|
||
## 每天例行
|
||
|
||
```powershell
|
||
# 查状态
|
||
cd D:\F\NewI\opencode\daily-workspace\projects\AgentsMeeting
|
||
powershell -File deploy\windows\check.ps1
|
||
```
|
||
|
||
## 查看群消息(不离开 TUI)
|
||
|
||
```powershell
|
||
# 查 mohe 说了什么
|
||
uv run python -c "import json,urllib.request; d=json.loads(urllib.request.urlopen('http://127.0.0.1:5802/messages?from=mohe').read()); [print(f\"{m['ts']} [{m['from']}] {m['body'][:200]}\") for m in d['messages']]"
|
||
```
|
||
|
||
## 发消息到群里
|
||
|
||
```powershell
|
||
# 给 mohe 发消息
|
||
$body = @{message="这里是消息内容"} | ConvertTo-Json -Compress
|
||
Invoke-RestMethod "http://127.0.0.1:5802/send" -Method POST -Body $body -ContentType "application/json"
|
||
```
|
||
|
||
## Bot 无响应
|
||
|
||
```powershell
|
||
# 强制重启
|
||
Stop-Process -Name python* -Force
|
||
Start-Process -WindowStyle Hidden -FilePath "C:\Users\hmo\AppData\Local\Programs\Python\Python310\python.exe" `
|
||
-ArgumentList "D:\F\NewI\opencode\daily-workspace\projects\wechat-hermes-gateway\scripts\xmpp_bot.py"
|
||
```
|
||
|
||
## 启动全套服务
|
||
|
||
```powershell
|
||
powershell -File deploy\windows\start.ps1
|
||
```
|
||
|
||
## 健康检查日志
|
||
|
||
```powershell
|
||
Get-Content "D:\F\NewI\opencode\daily-workspace\projects\wechat-hermes-gateway\logs\health_check.log" -Tail 5
|
||
```
|