Repository navigation
fix(honcho): resolve externally installed Honcho provider - #30
Merged
Merged
Conversation
Owner
|
@merodahero, thanks for the fix! I reviewed the changes and verified that the new regression test fails on main and passes with your patch. All 94 tests pass locally, and GitHub CI is green too. The resolver-based approach looks good, including the fallback for older Hermes versions. No blocking issues found. Thanks for contributing! |
xraysight
marked this pull request as ready for review
October 7, 2026 13:55
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.
Problem
Recent Hermes builds no longer bundle Honcho in core. It is installed as a catalog plugin under
$HERMES_HOME/plugins/honcho, and Hermes loads it under a synthetic module namespace (_hermes_user_memory.honcho__source_<hash>). The two hardcoded imports indashboard/plugin_api.py:therefore fail, and the Honcho panel shows:
Honcho itself is healthy (
hermes memory statusreports it as available). Only the dashboard's import path is wrong.Fix
Add a
_honcho_client_module()helper that resolves the client through Hermes'splugins.memory.import_provider_module("honcho", "client"). This is the same resolver_make_hindsight_provider()already uses. When that resolver is unavailable on older Hermes builds, the helper falls back to the oldplugins.memory.honcho.clientimport, so bundled-core installs keep working.Tests
test_honcho_payload_resolves_externally_installed_provider: Honcho is reachable only throughimport_provider_module, andplugins.memory.honchois not importable. The test fails without the fix and passes with it.93 passed, 1 skipped.I also verified the fix against a live self-hosted Honcho on Hermes v0.21.5: the panel now returns peer cards and conclusions with no error.