Tool get_web_url: devuelve URL correcta del proyecto para fetch/playwright

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jordan Diaz
2026-04-06 19:33:39 +00:00
parent 50ccc0e2a1
commit 30a62d9a1d
3 changed files with 43 additions and 3 deletions

View File

@@ -5,10 +5,9 @@ This is an Acai CMS website project. Follow these instructions when working with
## Environment
- The site runs in Docker. The development URL is provided via `ACAI_WEB_URL` environment variable (e.g. `https://username_domain.forge.acaisuite.com/`)
- **ALWAYS use `ACAI_WEB_URL` for fetch, Playwright, and any HTTP request.** This is the local development copy.
- **NEVER navigate to the production domain** (e.g. `keepsailing.es`, `tienda.com`). The production site is NOT your development environment. Only use the forge URL.
- **Before using fetch or Playwright, call the `get_web_url` tool** to get the correct development URL. Never hardcode or guess URLs.
- **NEVER navigate to the production domain** (e.g. `keepsailing.es`, `tienda.com`). The production site is NOT your development environment.
- **NEVER use localhost:8080** — that does not resolve in this environment.
- If `ACAI_WEB_URL` is not available, check the `.acai` file for `local_web_url`.
## Project Structure