11 lines
355 B
Bash
11 lines
355 B
Bash
#!/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
|