Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packer/agents.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"hermes": {
"tier": "minimal",
"install": [
"curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash || [ -f ~/.local/bin/hermes ]"
"curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash -s -- --skip-setup || [ -f ~/.local/bin/hermes ]"
]
},
"junie": {
Expand Down
10 changes: 8 additions & 2 deletions packer/scripts/capture-agent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ fi

# Validate agent name against allowed list to prevent injection
case "${AGENT_NAME}" in
openclaw|codex|kilocode|claude|opencode|hermes|junie) ;;
openclaw|codex|kilocode|claude|opencode|hermes|junie|cursor) ;;
*)
printf 'Error: Invalid agent name: %s\nAllowed: openclaw, codex, kilocode, claude, opencode, hermes, junie\n' "${AGENT_NAME}" >&2
printf 'Error: Invalid agent name: %s\nAllowed: openclaw, codex, kilocode, claude, opencode, hermes, junie, cursor\n' "${AGENT_NAME}" >&2
exit 1
;;
esac
Expand Down Expand Up @@ -51,6 +51,12 @@ case "${AGENT_NAME}" in
# Without this, the ~/.local/bin/hermes symlink is dangling after tarball extraction.
echo "/root/.hermes/" >> "${PATHS_FILE}"
;;
cursor)
# Cursor installs to ~/.local/bin/agent (since 2026-03-25) with the
# extracted package under ~/.local/share/cursor-agent/.
echo "/root/.local/bin/" >> "${PATHS_FILE}"
echo "/root/.local/share/cursor-agent/" >> "${PATHS_FILE}"
;;
*)
echo "Unknown agent: ${AGENT_NAME}" >&2
exit 1
Expand Down
Loading