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-03-05 05:24:55 -08:00
2026-04-10 03:21:45 -07:00
2026-03-17 03:42:02 -07:00
2026-04-17 04:08:42 -07:00
2026-03-28 15:26:35 -07:00
2026-04-12 13:05:56 -07:00
2026-04-07 10:17:44 -07:00
2026-04-14 00:11:49 -07:00
2026-04-17 04:03:02 +05:30
2026-04-15 16:31:28 -07:00
2026-04-14 20:51:52 -07:00
2026-04-17 15:31:14 -07:00
2026-04-07 10:21:03 -07:00
2026-04-15 16:31:28 -07:00
2026-04-11 14:05:38 -07:00
2026-04-15 22:13:11 -07:00
2026-04-14 00:11:49 -07:00
2026-04-13 10:50:59 -07:00
2026-04-07 10:17:44 -07:00
2026-04-17 06:50:36 -07:00
2026-04-13 10:50:59 -07:00