# Scout Agent dependencies (keep pure ASCII; Windows pip reads requirements with cp1252) # # NOTE: pyproject.toml is the single source of truth for dependency metadata, # and uv.lock is the pinned cross-platform lock used by CI (`uv sync --frozen`). # This file is kept for the legacy `pip install -r requirements.txt` path. # When changing dependencies, edit pyproject.toml and run `uv lock`; only touch # this file if you must keep the legacy install path in sync. openai>=1.30.0 pydantic>=2.0.0 pydantic-settings>=2.0.0 httpx>=0.27.0 rich>=13.0.0 prompt_toolkit>=3.0.0 click>=8.0.0 croniter>=1.4,<6 python-dotenv>=1.0.0 fastapi>=0.110.0 uvicorn>=0.27.0 websockets>=12.0 sse-starlette>=2.0.0 numpy>=1.24.0 pytest>=8.0.0 pytest-asyncio>=0.23.0 # browser 工具依赖(可选,装后才会被 discover() 加载) playwright>=1.40.0 # /api/system/* 路由依赖(缺包时路由被静默跳过) psutil>=5.9.0 # /api/version/* 路由依赖 requests>=2.31.0 # Web UI 入口(scout/web/app.py) streamlit>=1.30.0 # voice/asr(scout.voice 实现,测试与可选功能依赖) aiohttp>=3.9.0 # Phase 1: 高可用基础设施 asyncpg>=0.29.0 redis>=5.0.0 nats-py>=2.6.0 # 2026-08-27 平台适配器依赖: # - 企业微信/公众号 回调 AES 加解密(cryptography 或 pycryptodome 任一) cryptography>=41.0.0 # - Discord 适配器(discord.py,可选) discord.py>=2.3.0 # - QQ 适配器(aiocqhttp,可选;仅使用 webhook 模式时不需要) # - 个人微信适配器(wechaty / itchat,可选;未安装时该渠道不可用,不影响服务) # 桌面自动化工具 desktop(可选,Windows GUI 操控;缺包时该工具自动跳过) # pywinauto 仅 Windows 可装 → 加平台标记,避免 Linux/macOS 上 pip install -r 失败 pywinauto>=0.6.8; sys_platform == "win32" Pillow>=10.0.0 # PTY 交互式终端 Windows 支持(可选,ConPTY 绑定;仅 Windows 需要, # 缺失时 Windows 上 PTY 降级到 persistent cmd 会话,Unix 不受影响) pywinpty>=2.0.0; sys_platform == "win32"