# 测试核心模块导入
python -c "from Core.Agent import AgentBase; print('✅ Core.Agent OK')"
python -c "from Core.CometToolUse import CometToolUse; print('✅ CometToolUse OK')"
python -c "from Core.LLMUse import LLMUse; print('✅ LLMUse OK')"
# 测试高级模块
python -c "from Modules.TaskGraph.graph import TaskGraph; print('✅ TaskGraph OK')"
python -c "from Modules.Planner.Planner import Planner; print('✅ Planner OK')"
python -c "from Modules.AgentRouter.AgentRouter import AgentRouter; print('✅ AgentRouter OK')"
# 测试MetaAgent
python -c "from CometLoop.MetaAgent import MetaAgent; agent = MetaAgent('你好'); print('✅ MetaAgent创建成功')"
# 测试具体代理
python -c "from Agents.XWebSearchAgent.XWebSearchAgent import XWebSearchAgent; agent = XWebSearchAgent('test', '.', True); print('✅ XWebSearchAgent OK')"
python -c "from Agents.XLifeGetAgent.XLifeGetAgent import XLifeGetAgent; agent = XLifeGetAgent('test', '.', True); print('✅ XLifeGetAgent OK')"
# 测试插件加载
python -c "from Plugin.Plug_Loader import PlugLoader; loader = PlugLoader(); print('✅ Plugin Loader OK')"