Commit Graph

3 Commits

Author SHA1 Message Date
Hermes Agent 923c76a6be feat(plugin): attachment support — upload, download, files + adapter detection
- tools.py: rocket_upload (rooms.media for RC 8.4+), download, files
- adapter.py: _process_incoming() detects file/attachments → [FILE] enrichment
2026-05-29 23:18:39 +02:00
Hermes Agent 0972f19d73 feat(adapter): Option C — virtuelle Raum-Übersetzung für Cross-Room-Session-Sharing
Eingang: raum-basierte chat_id → user-basierte virtuelle chat_id
Rückkanal: ContextVar _CURRENT_ORIGIN_ROOM für präzises Antwort-Routing
Fallback: _user_rooms Map für proaktive Nachrichten

Kern-Änderungen:
- _CURRENT_ORIGIN_ROOM ContextVar (global, async-safe)
- _process_incoming(): room_id → user:username, force chat_type=dm
- send(): virtuelle chat_id → real room_id via ContextVar / user_map
- connect(): _user_rooms aus DMs aufbauen

Null Hermes-Core-Änderungen. Keine Update-Abhängigkeit.
2026-05-28 22:27:18 +02:00
Bernd fc13a9ee87 v2.0: Gateway-Plugin-Architektur + interaktiver bilingualer install.sh
- Legacy-Standalone-Daemon entfernt (__init__.py, adapter.py, _merge_config.py, uninstall.sh)
- Plugin-Dateien in plugin/ strukturiert (von produktiver Susi-Instanz)
- Neuer install.sh: --lang en/de, --help, --non-interactive, Bot Username Prompt, Re-Install-Erkennung
- tools.py: Rocket.Chat REST-Tools fur Rooms, Users, DMs, Send
- BasePlatformAdapter-Vererbung, DDP-added-Events, case-insensitive Filter
2026-05-11 06:56:16 +02:00