hermes-zulip-plugin (Tanko/Mumuni):
- Add _extract_event_attachments() to handle message.attachments from
Zulip UI file uploads (previously only inline markdown links worked)
- Add shared _cache_attachment() method for images/audio/documents
- Refactor _extract_inline_media() to use _cache_attachment()
- Fix connect() signature for hermes-agent 0.18.0 compat (add is_reconnect)
pi-zulip-extension (Abiba):
- Extend attachment handling beyond images only: text files (decoded
inline), PDFs (pdftotext extraction), binary files (metadata)
- 50K char cap on text/PDF extraction to prevent context flooding
- Classify attachments by extension (image/text/pdf/binary)
pi-mcp-extension (Abiba):
- Detect bridge-side text truncation (… ellipsis marker)
- Rebuild relay message display from structuredContent when truncated
- Add rebuildRelayTextFromStructuredContent() helper
Config:
- Add ZULIP_ROLE=router to ecosystem.abiba.config.cjs (was missing)
14 lines
479 B
Python
14 lines
479 B
Python
"""Zulip gateway plugin for Hermes Agent."""
|
|
try:
|
|
# Normal path: Hermes loads this as a package (``hermes_plugins.…``).
|
|
from .adapter import register
|
|
except ImportError: # pragma: no cover
|
|
# Imported as a top-level module (e.g. by a test collector that treats
|
|
# the repo root as a package). Fall back to an absolute import.
|
|
import os
|
|
import sys
|
|
sys.path.insert(0, os.path.dirname(__file__))
|
|
from adapter import register
|
|
|
|
__all__ = ["register"]
|