任务调度器改进(三种任务类型): - long_running: 长期任务(持续监控 + 自动回复) - specific: 特定任务(Cron 定时) - proactive: 主动智能(条件触发) Windows UI 客户端(PyQt6): - src/ui/main_window.py: 主窗口 - 左面板: Agent 控制、联系人配置 - 中面板: 任务列表、运行日志、配置编辑 - 右面板: Agent 状态、活跃任务、最近活动 - 菜单栏: 文件、任务、帮助 main.py 改动: - 新增 --ui 参数启动图形界面 - run_with_ui() 函数初始化 Agent 并启动 UI
33 lines
411 B
Plaintext
33 lines
411 B
Plaintext
# WeChat Agent 依赖
|
|
|
|
# Windows UI 自动化
|
|
pywinauto>=0.6.8
|
|
pywin32>=305
|
|
|
|
# HTTP 请求
|
|
requests>=2.28.0
|
|
urllib3>=1.26.0
|
|
|
|
# 阿里云百炼 / OpenAI 兼容 API
|
|
openai>=1.0.0
|
|
|
|
# 自动化控制(备选)
|
|
pyautogui>=0.9.54
|
|
|
|
# 任务调度
|
|
APScheduler>=3.10.0
|
|
|
|
# UI 客户端
|
|
PyQt6>=6.6.0
|
|
pyyaml>=6.0
|
|
pillow>=9.0.0
|
|
|
|
# 日志
|
|
# coloredlogs>=15.0 # 可选
|
|
|
|
# 测试
|
|
pytest>=7.0.0
|
|
|
|
# 类型检查
|
|
# mypy>=0.950
|