# Node.js bridge (POC)

## Install

```bash
cd server
npm i
```

## Run

```bash
npm run dev
```

Open `http://127.0.0.1:3000` and type a prompt.

## Notes
- Node calls `../main.py --script-only` via `child_process.spawn` (same container).
- Python prints `SCENE_JSON { ... }` per scene with `flush=True` so Node can stream.
- Recommended: run via `docker compose up --build` from repo root for unified in-container execution.

