# ---- 必需 ----
edge-tts>=6.1.9          # 语音合成（免费，无需 API key）
PyMuPDF>=1.23.0          # PDF 解析与书签目录
EbookLib>=0.18           # EPUB 解析
beautifulsoup4>=4.12.0   # HTML 清洗
lxml>=4.9.0              # BeautifulSoup 的解析后端
jieba>=0.42.1            # 中文分词（知识点抽取质量的关键）

# ---- 可选：语音输入（--asr）----
# faster-whisper>=1.0.0
# sounddevice>=0.4.6
# numpy>=1.24.0

# ---- 可选：声音克隆引擎（CosyVoice2 / GPT-SoVITS）----
# httpx>=0.25.0

# ---- 可选：离线备用 TTS 引擎（给 edge-tts 上保险，强烈建议）----
# piper-tts>=1.2.0
#   装完再跑：voiceread engines --install-piper   （下载约 60MB 中文模型）


# ---- 系统依赖（不通过 pip 安装）----
# ffmpeg —— 必需，用于音频拼接与转码（交互式播放控制还需 ffplay）
#   Windows: winget install ffmpeg   或   choco install ffmpeg
#   macOS:   brew install ffmpeg
#   Ubuntu:  sudo apt install ffmpeg
#   替代方案（已有 imageio 生态的用户）：pip install imageio-ffmpeg
#     skill 会自动探测它提供的 ffmpeg（合成/转码/拼接可用），
#     但它不含 ffplay，交互式播放控制仍需 winget/choco 装完整 ffmpeg。
