diff --git a/AGENTS.md b/AGENTS.md index e2bde27..c7ceb68 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -7,7 +7,8 @@ - `cm_telegram.py` (Telegram bot + account monitor thread) - `cm_transfer_credit.py` (scheduled transfer worker) - `db.py` (MySQL connection/retry logic) -- `docker//Dockerfile` builds one image per service (`cm-api`, `cm-web`, `cm-telegram`, `cm-transfer`). +- `web/` is the Next.js 15 app for the new web view (`cm-web-next` service). Tailwind v4, App Router, TypeScript. Side-by-side with the legacy Flask `cm_web_view.py` until B4 cuts over. +- `docker//Dockerfile` builds one image per service (`cm-api`, `cm-web`, `cm-web-next`, `cm-telegram`, `cm-transfer`). - `docker-compose.yml` uses registry images; `docker-compose.override.yml` swaps to local builds. - `scripts/local_build.sh` starts local compose; `scripts/publish.sh` builds and pushes all images via buildx. @@ -44,6 +45,7 @@ ## Dev Tier (Local Development) - Lifecycle: `bash scripts/dev.sh {up,down,reset-db,logs,status}`. +- URLs: `http://localhost:8000/` (legacy Flask UI), `http://localhost:8010/` (new Next.js scaffold). Both run side-by-side until the B4 cutover retires the Flask version. - Bot CLI: `bash scripts/bot_cli.sh` (drops into the TUI menu) or `bash scripts/bot_cli.sh ` (e.g., `register`, `set-pin `, `monitor-once --target 5`). The CLI runs in your local `.venv` and