Skip to content

WonderInventions/hermes-roam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hermes-roam

Hermes Agent platform adapter plugin for Roam. Receives Roam chat.message webhooks (Standard-Webhooks signature-verified), normalizes them into Hermes MessageEvents, and delivers outbound replies via the Roam V1 API (chat.post, chat.update, chat.typing). Roam threads are mapped to Hermes session threads via threadTimestamp.

Install

See INSTALL.md.

Development

python -m venv .venv
.venv/bin/pip install -e ".[dev]"
.venv/bin/python -m pytest

Tests stub the gateway.* modules in tests/conftest.py, so the plugin can be exercised without a running Hermes installation.

Release process

Releases are tagged commits on master. There is no PyPI / NPM registry — the GitHub Release page is the canonical distribution point, and users install with pip directly from the release tag (see INSTALL.md).

To cut a release:

  1. Bump the version in three places to the same string:
    • pyproject.tomlproject.version
    • roam/plugin.yamlversion
    • INSTALL.md → the v… references in the install one-liner and wheel filename
  2. Commit the bump on master and push.
  3. Tag and push:
    git tag v0.0.8
    git push origin v0.0.8
  4. The Release GitHub Actions workflow fires on v* tag push and:
    • checks that the tag matches pyproject.toml's version,
    • runs pytest,
    • builds the sdist + wheel with python -m build,
    • builds hermes-roam-plugin-v<version>.tar.gz (the plugin tarball that the INSTALL.md one-liner extracts into ~/.hermes/plugins/),
    • creates a GitHub Release with all three artifacts attached and auto-generated notes.

If the tag/version check fails the workflow aborts before publishing, so a mismatched bump can't produce a misnamed release.

CI

.github/workflows/ci.yml runs pytest on every push and pull request across Python 3.10 / 3.11 / 3.12.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages