mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-12-03 15:42:16 +00:00
refactor(gateway): migrate feishu adapter (+ satellites) to bundled plugin
WIP toward #41112. Feishu adapter + its feishu_comment / feishu_comment_rules / feishu_meeting_invite satellites relocated to plugins/platforms/feishu/ with internal imports rewritten to the new package path. register() exposes the platform with standalone_sender_fn (adapter-based send incl native media: images/video/voice/documents), apply_yaml_config_fn (allow_bots bridge), setup_fn (full QR-register + manual + DM/group-policy wizard), is_connected (app_id). Core touchpoints stripped: run.py elif, config.py feishu YAML bridge + _PLATFORM_CONNECTED_CHECKERS entry, gateway.py static dict + _setup_feishu + setup-map entry, send_message_tool _send_feishu + text dispatch + native-media branch (now via registry standalone_sender_fn) + FeishuAdapter MAX_LENGTHS import (registry max_message_length=8000 covers it). telegram still to come (the last one).
This commit is contained in:
parent
036c767354
commit
552adbe082
10 changed files with 375 additions and 328 deletions
3
plugins/platforms/feishu/__init__.py
Normal file
3
plugins/platforms/feishu/__init__.py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
from .adapter import register
|
||||
|
||||
__all__ = ["register"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue