mirror of
https://github.com/hanzoai/flow.git
synced 2026-10-17 01:29:18 +00:00
Per global rule: /v1/ only, never /api/. Internal API calls + handler comments + route registrations updated. External vendor APIs (OpenRouter, LangWatch, etc.) left as-is. - Backend: APIRouter prefix dropped from "/api" — router_v1 (prefix=/v1) and router_v2 (prefix=/v2) now mount at the root, subdomain (api.*) already namespaces. - API_V1_STR: "/api/v1" → "/v1" - Frontend constants: BASE_URL_API "/api/v1/" → "/v1/" and BASE_URL_API_V2 "/api/v2/" → "/v2/"; vite proxy + Traefik routing labels updated. - Source files (mcp_utils, mcp_projects, mcp, folders, vertex_types, load/utils, mcp_sse, schema/workflow): all internal URL builders. - Tests + e2e specs + API-code-generator templates + AWS CDK behaviors updated to match.