spawn/packer/agents.json
Ahmed Abushagur 4e87523c4f
Some checks failed
CLI Release / Build and release CLI (push) Has been cancelled
Lint / ShellCheck (push) Has been cancelled
Lint / Biome Lint (push) Has been cancelled
Lint / macOS Compatibility (push) Has been cancelled
fix(packer): repair cursor tarball + hermes interactive install (#3367)
agent-tarballs.yml has been failing nightly since 2026-03-27 and
packer-snapshots.yml since 2026-04-25. Two distinct breakages.

cursor:
  capture-agent.sh's allowlist was missing cursor, so the install
  step succeeded but the capture step rejected the agent name.
  Adds cursor to the allowlist plus its capture paths
  (~/.local/bin/ for the `agent` symlink, ~/.local/share/cursor-agent/
  for the extracted package, matching what verify.sh and cursor-proxy
  already expect).

hermes:
  The upstream installer launches an interactive setup wizard after
  install, which fails in CI with `/dev/tty: No such device or
  address`. Production code already passes `--skip-setup` (see
  packages/cli/src/shared/agent-setup.ts:1336); packer/agents.json
  was the lone exception. Adds the same flag.

Both pipelines read from packer/agents.json, so this single edit
unblocks both the daily tarball build and the DO marketplace image
build for hermes.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-27 18:31:40 -07:00

51 lines
1.5 KiB
JSON

{
"claude": {
"tier": "minimal",
"install": [
"curl -fsSL https://claude.ai/install.sh | bash || [ -f /root/.local/bin/claude ]"
]
},
"codex": {
"tier": "node",
"install": [
"mkdir -p ~/.npm-global/bin && npm install -g --prefix ~/.npm-global @openai/codex"
]
},
"openclaw": {
"tier": "full",
"install": [
"mkdir -p ~/.npm-global/bin && npm install -g --prefix ~/.npm-global openclaw",
"curl --proto '=https' -fsSL https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -o /tmp/google-chrome.deb && apt-get install -y -qq /tmp/google-chrome.deb && rm -f /tmp/google-chrome.deb"
]
},
"opencode": {
"tier": "minimal",
"install": [
"mkdir -p ~/.opencode/bin && curl -fsSL https://opencode.ai/install | bash"
]
},
"kilocode": {
"tier": "node",
"install": [
"mkdir -p ~/.npm-global/bin && npm install -g --prefix ~/.npm-global @kilocode/cli"
]
},
"hermes": {
"tier": "minimal",
"install": [
"curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash -s -- --skip-setup || [ -f ~/.local/bin/hermes ]"
]
},
"junie": {
"tier": "node",
"install": [
"mkdir -p ~/.npm-global/bin && npm install -g --prefix ~/.npm-global @jetbrains/junie-cli"
]
},
"cursor": {
"tier": "minimal",
"install": [
"curl -fsSL https://cursor.com/install | bash || [ -f /root/.local/bin/cursor ]"
]
}
}