Repository navigation
fix: /stats namespace query (#382) + init --agent hermes (#384) - #391
Merged
Merged
Conversation
#382: GET /stats?namespace=<name> returned 404 because the handler hardcoded uteke.stats(None). Fix: parse ?namespace= query parameter and pass to stats() for scoped results. #384: 'uteke init --agent hermes' was not recognized. Added init_hermes() which generates a complete uteke-tool plugin directory (plugin.yaml, tool.py, README.md) matching the Hermes plugin format documented in docs/integrations/hermes.md. Also fixed CLI help text: removed nonexistent 'copilot, codex' agents, added 'hermes'. #383 (port 8888 vs 8767): already fixed in codebase — config template uses 8767. No code change needed.
| "limit": limit, | ||
| "namespace": namespace | ||
| }) | ||
| results = resp.json() |
| // Parse ?namespace= query parameter for scoped stats (#382). | ||
| let query = req.url().split('?').nth(1).unwrap_or(""); | ||
| let params: std::collections::HashMap<String, String> = query | ||
| .split('&') |
🔍 Cora AI Code Review❌ Blocked — critical issues found. 🔴 Error (2)
Review powered by cora-cli · BYOK · MIT |
ajianaz
added a commit
that referenced
this pull request
Aug 13, 2026
#382: GET /stats?namespace=<name> returned 404 because the handler hardcoded uteke.stats(None). Fix: parse ?namespace= query parameter and pass to stats() for scoped results. #384: 'uteke init --agent hermes' was not recognized. Added init_hermes() which generates a complete uteke-tool plugin directory (plugin.yaml, tool.py, README.md) matching the Hermes plugin format documented in docs/integrations/hermes.md. Also fixed CLI help text: removed nonexistent 'copilot, codex' agents, added 'hermes'. #383 (port 8888 vs 8767): already fixed in codebase — config template uses 8767. No code change needed.
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.
Fixes
#382 —
/stats?namespace=returns 404GET /stats?namespace=<name> returned
{"error":"Not found"}because the handler hardcodeduteke.stats(None). Fix: parse?namespace=query parameter.#384 —
uteke init --agent hermesnot recognizedAdded
init_hermes()which generates a complete uteke-tool plugin directory (plugin.yaml, tool.py, README.md) matching the format in docs/integrations/hermes.md.Also fixed CLI help text: removed nonexistent 'copilot, codex' agents, added 'hermes'.
#383 — Port 8888 vs 8767
Already fixed in codebase — config template already uses 8767. No code change needed.
Test plan