Files
cursor-agent-api-proxy/entrypoint.sh
T

11 lines
355 B
Bash
Raw Normal View History

#!/bin/bash
# Container entrypoint: run cursor-agent bootstrap, then start the proxy.
set -euo pipefail
# Seed ~/.cursor/cli-config.json (default global permissions) and verify
# the cursor-agent binary responds.
/app/scripts/bootstrap-cursor.sh
# The HTTP server. Sessions spawn cursor-agent ACP subprocesses per request.
exec node /app/src/server.mjs