Repository navigation
feat(#385,#395): Hermes auto-install + room operations - #400
Merged
Merged
Conversation
#385: init --agent hermes now installs to ~/.hermes/plugins/uteke-tool/ instead of generating to CWD. Falls back to CWD if HOME not set. Plugin uses Python stdlib only (urllib, no requests dependency). README documents MCP server path: hermes mcp add uteke --command uteke-mcp. #395: Plugin now exposes room operations: room_create, room_recall, room_list, room_summary, room_stats, room_delete. Added server endpoints for the missing operations: POST /room/create, GET /room/list, POST /room/stats, DELETE /room/delete. Also fixes #392 (room list cross-namespace visibility) and #393 (room create command) which were already merged but needed server-side endpoints for the plugin.
🔍 Cora AI Code Review❌ Blocked — critical issues found. 🔴 Error (2)
Review powered by cora-cli · BYOK · MIT |
1. Windows support: check USERPROFILE as fallback for HOME when determining plugin install directory. 2. URL decoding: parse_query_param now percent-decodes values (%20 → space, + → space) for proper namespace/room_id handling. 3. DELETE /room/delete returns 404 for non-existent rooms instead of 500 (not-found is a client error, not server failure).
CodeCora r2: 1. Plugin install path uses PathBuf::push() for platform-native separators instead of hardcoded forward slashes. 2. url_decode collects bytes into Vec<u8> then converts via String::from_utf8() to correctly handle multi-byte UTF-8 sequences.
| println!(" 1. Copy to your Hermes plugins directory"); | ||
| println!(" 2. Enable in Hermes config: plugins.enabled: [uteke-tool]"); | ||
| println!(" 3. Start uteke daemon: uteke-serve --port 8767"); | ||
| println!("✓ Hermes plugin installed: {}/", plugin_dir.display()); |
| let bytes = s.as_bytes(); | ||
| let mut decoded: Vec<u8> = Vec::with_capacity(bytes.len()); | ||
| let mut i = 0; | ||
| while i < bytes.len() { |
ajianaz
added a commit
that referenced
this pull request
Aug 13, 2026
* feat(#385,#395): auto-install Hermes plugin + room operations #385: init --agent hermes now installs to ~/.hermes/plugins/uteke-tool/ instead of generating to CWD. Falls back to CWD if HOME not set. Plugin uses Python stdlib only (urllib, no requests dependency). README documents MCP server path: hermes mcp add uteke --command uteke-mcp. #395: Plugin now exposes room operations: room_create, room_recall, room_list, room_summary, room_stats, room_delete. Added server endpoints for the missing operations: POST /room/create, GET /room/list, POST /room/stats, DELETE /room/delete. Also fixes #392 (room list cross-namespace visibility) and #393 (room create command) which were already merged but needed server-side endpoints for the plugin. * fix(#385,#395): CodeCora fixes 1. Windows support: check USERPROFILE as fallback for HOME when determining plugin install directory. 2. URL decoding: parse_query_param now percent-decodes values (%20 → space, + → space) for proper namespace/room_id handling. 3. DELETE /room/delete returns 404 for non-existent rooms instead of 500 (not-found is a client error, not server failure). * fix(#385,#395): native path separators + proper UTF-8 url_decode CodeCora r2: 1. Plugin install path uses PathBuf::push() for platform-native separators instead of hardcoded forward slashes. 2. url_decode collects bytes into Vec<u8> then converts via String::from_utf8() to correctly handle multi-byte UTF-8 sequences.
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.
Closes #385, closes #395.
#385:
uteke init --agent hermesauto-installs to~/.hermes/plugins/uteke-tool/. Plugin uses stdlib only. MCP server path documented.#395: Plugin exposes
room_create,room_recall,room_list,room_summary,room_stats,room_delete. Server endpoints:POST /room/create,GET /room/list,POST /room/stats,DELETE /room/delete.