- /api/wechat/status: real login detection via webhook log + docker logs - /api/platform: wechat_bridge now returns login_ok, message, qr_url - Platform tab: inline QR code with 5min expiry + refresh button - wechat_qr_notifier.py: 40h session-age WeChat warning + XMPP logout alert - agents_health_check.py: login_check via docker logs - wechat_webhook.py: timeout 180→600s
57 lines
1.7 KiB
YAML
57 lines
1.7 KiB
YAML
# AgentsMeeting — 配置
|
||
# ===================
|
||
# files:
|
||
# agents.yaml — Agent 实例注册(本文件)
|
||
# platforms.yaml — 平台服务配置(待建)
|
||
|
||
# ── Agent 实例 ────────────────────────────────────────────────
|
||
# 添加新 Agent = 加一条记录 + ejabberd 注册 JID + 部署脚本
|
||
|
||
agents:
|
||
- id: "agent-001"
|
||
name: "研发助理"
|
||
display_name: "小小莫"
|
||
jid: "xxm@yoin.fun"
|
||
platform: windows
|
||
host: "192.168.1.16"
|
||
bot_type: xmpp
|
||
provider: volcengine
|
||
services:
|
||
- type: xmpp_bot
|
||
port: 5802
|
||
|
||
- id: "agent-002"
|
||
name: "自动化总管"
|
||
display_name: "莫荷"
|
||
jid: "mohe@yoin.fun"
|
||
platform: linux
|
||
host: "192.168.1.246"
|
||
bot_type: hermes
|
||
provider: ocg-new
|
||
services:
|
||
- type: hermes_gateway
|
||
port: 8646
|
||
- type: xmpp_bot
|
||
|
||
- id: "agent-004"
|
||
name: "持仓分析"
|
||
display_name: "知微"
|
||
jid: "zhiwei@yoin.fun"
|
||
platform: linux
|
||
host: "192.168.1.246"
|
||
bot_type: hermes
|
||
provider: ocg-old
|
||
services:
|
||
- type: hermes_gateway
|
||
port: 8643
|
||
- type: xmpp_bot
|
||
|
||
# ── 平台服务(Windows — 非 Agent 服务,运维基础设施)───────────
|
||
# 见 docs/ARCHITECTURE.md §3.4 平台服务接口
|
||
|
||
# ProcessGuardian: xmpp_watchdog.py(30s 轮询守护 xmpp_bot)
|
||
# HealthProbe: health_check_xxm.py(Task Scheduler 每 5min)
|
||
# APIRouter: api_proxy.py(:8787,代理 volcengine API)
|
||
# MessageObserver: mohe_watcher.py(30s 监听 mohe 消息)
|
||
# ChannelBridge: wechat_agent.py(微信桥接)
|