refactor(xxm): consolidate 4 bot implementations into unified xmpp_agent_core.py
- Merge bot_base.py, gateway/scripts/xmpp_bot.py, bots/*, xmpp_bot_rest.py into single xmpp_agent_core.py with --agent flag (xxm|mohe|zhiwei|xiaoguo) - Add xxm_bot.py wrapper (encoding=utf-8 for Windows exec) - Fix slixmpp connect() API: use host=/port= keyword args (was tuple) - Clean up orphans: bots/, scripts/, hermes_state.py, xmpp_bot.py, xmpp_bot_rest.py - Add docs/CLEANUP_PLAN.md documenting the migration - Update README.md project structure - Also: fix WeChat agent path resolution (relative paths)
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import os
|
||||
path = r"D:\F\NewI\opencode\daily-workspace\projects\AgentsMeeting\docs\PRD.md"
|
||||
lines = []
|
||||
lines.append("# AgentsMeeting -- PRD v0.1")
|
||||
lines.append("")
|
||||
lines.append("> \u7248\u672c: \u521d\u7a3f ^| \u5ba2\u6237: hmo (\u8001\u83ab) ^| PM: mohe (\u83ab\u8377) ^| \u7814\u53d1: xxm (\u5c0f\u5c0f\u83ab)")
|
||||
@@ -1 +0,0 @@
|
||||
import os; open(os.path.join(r"D:\F\NewI\opencode\daily-workspace\projects\AgentsMeeting\docs","PRD.md"),"w",encoding="utf-8").write("# AgentsMeeting - PRD v0.1\n\nOK")
|
||||
@@ -1,2 +0,0 @@
|
||||
import os
|
||||
print("ok")
|
||||
@@ -1 +0,0 @@
|
||||
print("test123")
|
||||
@@ -1 +0,0 @@
|
||||
print("ok")
|
||||
@@ -1,2 +0,0 @@
|
||||
import os,sys
|
||||
open("D:/F/NewI/opencode/daily-workspace/projects/AgentsMeeting/docs/PRD_v0.2.md","w",encoding="utf-8").write("test ok\n")
|
||||
Reference in New Issue
Block a user