# Hermes imports a user plugin as a package: ``~/.hermes/plugins/nmbr/__init__.py`` # must exist and expose ``register`` (see hermes_cli/plugins.py, _load_directory_module, # which loads this file with the directory as its package). The fallback covers # non-package contexts (pytest collection, direct file import). try: from .adapter import register except ImportError: from adapter import register __all__ = ["register"]