v0.43.1 - Hermes CLI discovery contract completed
Open Second Brain v0.43.1 - Hermes CLI discovery contract completed
Patch release: standalone installs of the Hermes plugin now actually expose the documented hermes open-second-brain CLI subtree. Hermes discovers plugin CLI commands by scanning exactly one file - <plugin_root>/cli.py - while the implementation lives in plugins/hermes/cli.py, so the documented subcommands were never discoverable on a stock Hermes; an 18-line root re-export shim through the loader's synthetic parent packages closes the gap, and a loader-contract test mirrors the upstream scan's exact import sequence so it cannot reopen silently.
BEFORE AFTER
hermes discover_plugin_cli_commands hermes discover_plugin_cli_commands
scans <plugin_root>/cli.py scans <plugin_root>/cli.py
| |
file missing cli.py (root shim, 18 lines)
| |
x re-exports register_cli / run
`hermes open-second-brain` |
unknown command plugins/hermes/cli.py
|
`hermes open-second-brain ...`
discoverable before provider load
What ships
| Artifact | Role |
|---|---|
cli.py (repo root) |
SDK-free relative re-export of register_cli / run through the synthetic parent packages the upstream loader registers (hermes-agent PR #37366) |
HermesLoaderContractTests |
Reproduces the upstream scan's import sequence - synthetic parents pre-registered, root __init__.py never executed - pinning the contract on both sides |
Notes
- Python plugin suite grows 60 -> 61 tests; TypeScript suite unchanged at 3973 (510 files), typecheck and lint baselines preserved.
- No TypeScript surface changes; this release only completes the Hermes integration contract.
- Full changelog: https://github.com/itechmeat/open-second-brain/blob/main/CHANGELOG.md