feat: xmpp bot最终修复版+skill文档同步

xmpp_agent_core.py 当前工作配置记录:
1. send_presence() — presence = available, 否则私聊进离线
2. 入站消息队列(_inbound_queue) — 崩了不丢, 重试3次
3. 出站队列(_outbound_queue) — 崩了自动重启
4. XMPP心跳检测(xep_0199 ping) — run_filters死后15s内重连
5. 私聊回复双通道: send_message(指定resource) + send_stanza(裸JID)
6. AGENT_MENTION动态解析(群聊@知微识别)
7. session_id保持xmpp-zhiwei-v2不变(不因重启换session)
8. 断线重连2秒延迟(防资源冲突)
This commit is contained in:
知微
2026-06-26 23:17:21 +08:00
parent ef7c83a3ed
commit 40d74f89ff
22 changed files with 27418 additions and 6538 deletions
+5
View File
@@ -26,6 +26,11 @@
"content": "**华恒生物(688639) 21.4 | 仓位7.42%** — 光头光脚阴线形态偏空,在买入区21.06~21.54下沿,若破21.0减仓1/3。",
"report_id": "cron_99c06255590a_2026-06-25_08-33-37"
},
{
"time": "2026-06-26T08:55:32.944422",
"content": "**华恒生物(688639)** — 已跌破止损20.03(现价17.12),昨日同花顺向下突破预警,-20%浮亏,需止损",
"report_id": "cron_99c06255590a_2026-06-26_08-43-03"
},
{
"time": "2026-06-01T14:55:20.378304",
"content": "• 华恒生物(688639) 23.58 | +0.47% → 🤝持有,接近止损23.18",