Dedicated dual-mode repo: hermes plugins install + pip#1
Merged
Conversation
Restructure agent-plugins -> hermes-plugin-keeperhub so the plugin installs via BOTH supported Hermes paths: - Hermes CLI (no pip): 'hermes plugins install KeeperHub/hermes-plugin-keeperhub' git-clones the repo root into ~/.hermes/plugins/ and directory-loads it. Moved the plugin to the repo root (manifest at root) and converted intra-package imports to relative so the no-pip directory load resolves (verified). - PyPI: 'pip install hermes-plugin-keeperhub' via the keeperhub_plugin.entry entry point (verified: wheel builds, entry point + getattr(register) resolve). Root __init__.py: relative import (Hermes namespace) + absolute fallback so it's import-safe under test collectors. Root conftest excludes it; pytest importlib mode. CI/release simplified to repo root + v* tags. 11 tests pass.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Restructures the repo (renamed from
agent-plugins) so the KeeperHub Hermes plugin installs via both Hermes-supported paths:hermes plugins install KeeperHub/hermes-plugin-keeperhub --enable— git-clones the repo root into~/.hermes/plugins/and directory-loads it. Plugin moved to repo root (manifest at root) + intra-package imports converted to relative so the no-pip load resolves.pip install hermes-plugin-keeperhubvia thekeeperhub_plugin.entryentry point.Both paths verified in clean venvs; wheel builds; 11 tests pass. Read-only-by-default gate intact (18 read tools, 10 write/exec withheld unless
KEEPERHUB_ENABLE_WRITES=true). Single env varKH_API_KEY.Root
__init__.pyuses relative import (Hermes namespace) with absolute fallback for test-collector safety; root conftest excludes it; pytest importlib mode. CI/release simplified to repo root +v*tags.