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:
Frank Schwenk
2026-08-01 11:50:30 +02:00
parent eb6b0d2fac
commit 063b16296c
5 changed files with 19 additions and 3 deletions
+2 -1
View File
@@ -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)