mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
- Refactor gateway/platforms/qqbot.py into gateway/platforms/qqbot/ package: - adapter.py: core QQAdapter (unchanged logic, constants from shared module) - constants.py: shared constants (API URLs, timeouts, message types) - crypto.py: AES-256-GCM key generation and secret decryption - onboard.py: QR-code scan-to-configure API (create_bind_task, poll_bind_result) - utils.py: User-Agent builder, HTTP headers, config helpers - __init__.py: re-exports all public symbols for backward compatibility - Add interactive QR-code setup flow in hermes_cli/gateway.py: - Terminal QR rendering via qrcode package (graceful fallback to URL) - Auto-refresh on QR expiry (up to 3 times) - AES-256-GCM encrypted credential exchange - DM security policy selection (pairing/allowlist/open) - Update hermes_cli/setup.py to delegate to gateway's _setup_qqbot() - Add qrcode>=7.4 dependency to pyproject.toml and requirements.txt
37 lines
640 B
Text
37 lines
640 B
Text
# NOTE: This file is maintained for convenience only.
|
|
# The canonical dependency list is in pyproject.toml.
|
|
# Preferred install: pip install -e ".[all]"
|
|
|
|
# Core dependencies
|
|
openai
|
|
python-dotenv
|
|
fire
|
|
httpx
|
|
rich
|
|
tenacity
|
|
prompt_toolkit
|
|
pyyaml
|
|
requests
|
|
jinja2
|
|
pydantic>=2.0
|
|
PyJWT[crypto]
|
|
debugpy
|
|
|
|
# Web tools
|
|
firecrawl-py
|
|
parallel-web>=0.4.2
|
|
|
|
# Image generation
|
|
fal-client
|
|
|
|
# Text-to-speech (Edge TTS is free, no API key needed)
|
|
edge-tts
|
|
|
|
# Optional: For cron expression parsing (cronjob scheduling)
|
|
croniter
|
|
|
|
# Optional: For messaging platform integrations (gateway)
|
|
python-telegram-bot[webhooks]>=22.6
|
|
discord.py>=2.0
|
|
aiohttp>=3.9.0
|
|
qrcode
|