feat: 新增文件

This commit is contained in:
Daniel
2026-03-18 17:36:07 +08:00
commit f99098ec58
702 changed files with 68533 additions and 0 deletions

22
server/README.md Normal file
View File

@@ -0,0 +1,22 @@
# 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.