feat: install Cursor Agent CLI in image with API key auth
Bake agent into the pi user PATH; pass CURSOR_API_KEY from .env so no browser login is required. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -49,7 +49,8 @@ Fränky — single trusted user; remote control surface for agent work under `/h
|
||||
- **Data:** `./data/pi-web` (PI WEB state + sessiond socket), `./data/pi-agent` → `/home/pi/.pi/agent` (sessions, packages, auth)
|
||||
- **Workspaces:** host path via `WORKSPACE_HOST_PATH` → container `/workspaces`
|
||||
- **UID:** `PUID`/`PGID` in `.env` must match host owner of the mount (boka frank = 1002)
|
||||
- **Secrets:** `OPENROUTER_API_KEY` in `.env` (see `.env.example`)
|
||||
- **Cursor CLI:** `agent` installed in image; auth via `CURSOR_API_KEY` (no browser login)
|
||||
- **Secrets:** `OPENROUTER_API_KEY`, `CURSOR_API_KEY` in `.env` (see `.env.example`)
|
||||
|
||||
### Authelia handoff (consumed)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user