feat: auto-install hermes-web-ui via npm in setup script
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+8
-1
@@ -70,7 +70,7 @@ check_hermes() {
|
|||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
warn "Hermes Agent CLI not found"
|
warn "Hermes Agent CLI not found"
|
||||||
echo " Install it from: https://github.com/EKKOLearnAI/hermes-agent"
|
echo " Install it from: https://github.com/NousResearch/hermes-agent"
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -101,6 +101,13 @@ check_port
|
|||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
if [ $has_error -eq 0 ]; then
|
if [ $has_error -eq 0 ]; then
|
||||||
|
# Auto-install hermes-web-ui if not already installed
|
||||||
|
if ! command -v hermes-web-ui &>/dev/null; then
|
||||||
|
warn "hermes-web-ui not installed, installing globally..."
|
||||||
|
npm install -g hermes-web-ui
|
||||||
|
info "hermes-web-ui installed"
|
||||||
|
fi
|
||||||
|
echo ""
|
||||||
info "All checks passed! Run: hermes-web-ui start"
|
info "All checks passed! Run: hermes-web-ui start"
|
||||||
else
|
else
|
||||||
warn "Some checks failed. Please fix the issues above."
|
warn "Some checks failed. Please fix the issues above."
|
||||||
|
|||||||
Reference in New Issue
Block a user