WideLee
6358501915
refactor(qqbot): split qqbot.py into package & add QR scan-to-configure onboard flow
- 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
2026-04-17 15:31:14 -07:00
..
2026-04-17 13:47:46 -07:00
2026-04-17 15:31:14 -07:00
2026-04-14 16:55:34 -07:00
2026-03-05 05:24:55 -08:00
2026-03-30 18:39:51 -07:00
2026-04-13 10:50:59 -07:00
2026-04-16 13:34:16 -07:00
2026-04-14 15:41:30 -07:00
2026-03-30 18:39:51 -07:00
2026-04-05 12:34:11 -07:00
2026-04-07 10:21:03 -07:00
2026-04-14 00:11:49 -07:00