Repository navigation
fix(#402): generate __init__.py in Hermes plugin directory - #413
Merged
Merged
Conversation
The init_hermes() function was generating plugin.yaml, tool.py, and README.md but missing __init__.py — which Hermes requires to load the plugin as a Python package. Without __init__.py, Hermes logs: WARNING: Failed to load plugin 'uteke-tool': No __init__.py Fix: write __init__.py as the first file in plugin_dir. Update JSON output files list to include it. Note: Bug 2 in #402 (MCP tools not injected into agent tool list) is a Hermes-side issue, not uteke. The MCP server correctly responds to tools/list — the problem is in Hermes' TUI/desktop gateway.
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-cli · BYOK · MIT |
This was referenced Jun 21, 2026
ajianaz
added a commit
that referenced
this pull request
Aug 13, 2026
The init_hermes() function was generating plugin.yaml, tool.py, and README.md but missing __init__.py — which Hermes requires to load the plugin as a Python package. Without __init__.py, Hermes logs: WARNING: Failed to load plugin 'uteke-tool': No __init__.py Fix: write __init__.py as the first file in plugin_dir. Update JSON output files list to include it. Note: Bug 2 in #402 (MCP tools not injected into agent tool list) is a Hermes-side issue, not uteke. The MCP server correctly responds to tools/list — the problem is in Hermes' TUI/desktop gateway.
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.
Summary
Fixes #402
uteke init --agent hermeswas generatingplugin.yaml,tool.py, andREADME.mdbut missing__init__.py— which Hermes requires to load the plugin as a Python package.Without
__init__.py, Hermes logs:Changes
__init__.pyas the first file in plugin directoryBug 2 (MCP tools not injected)
This is a Hermes-side issue — the uteke MCP server correctly responds to
tools/list. The problem is in Hermes' TUI/desktop gateway not running MCP tool discovery at session startup.Test
Milestone: v0.2.1 — DX & Ecosystem