feat: align frontend runtime and Edge TTS
This commit is contained in:
@@ -11,6 +11,7 @@ under `src/`.
|
||||
- `src/shared/`: reusable UI, config, styles, and utilities.
|
||||
- `src/mocks/`: MSW handlers and fixtures for backend-independent development.
|
||||
- `src/test/`: Vitest setup.
|
||||
- `server/`: same-origin Edge TTS adapter used by Vite and the production container.
|
||||
|
||||
## Commands
|
||||
|
||||
@@ -31,5 +32,6 @@ Use TypeScript and React function components. Prefer explicit exported types at
|
||||
module boundaries. Keep Agent dynamic UI rendering schema-driven: Agent output
|
||||
must be validated before it reaches React components.
|
||||
|
||||
Do not add Next.js APIs or server routes to this frontend. Backend/BFF behavior
|
||||
belongs in the Agent service or a separate service.
|
||||
Do not add Next.js APIs or general BFF routes to this frontend. Agent behavior
|
||||
belongs in the Agent service; the local `server/` exception is limited to the
|
||||
same-origin Edge TTS network adapter.
|
||||
|
||||
Reference in New Issue
Block a user