API: the support page becomes a web app, React with Mantine and FastAPI (D-137)

Same features as the local page; agents, tools, prompts and knowledge unchanged.
- API/web/: React (Vite) with Mantine components: collapsible sidebar, mobile drawer,
  cards, notifications, dark mode
- API/support/serveur.py: FastAPI serves the built page and /api; agent events pushed
  by server-sent events (/api/flux) instead of polling
- data, cases folder and port set by AIMSIGHT_DATA, AIMSIGHT_CASES, AIMSIGHT_PORT
- check.py: server check (host guard, analyse, stream, PDF) with a fake client
- old page.html removed

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-11-05 14:03:52 +01:00
1 parent eb10a6b735
commit b0245c4067
17 files changed
+1666 -263

No files matched your search

+1 -1
View File
@@ -185,7 +185,7 @@ Faire ou refaire la présentation avec l'agent : `/presentation <STATION>` (`.cl
## La page support par l'API Claude (D-133)
Sous-projet `API/` (sa doc : `API/README.md`). Une fois : `python3 -m venv API/.venv && API/.venv/bin/pip install -r API/requirements.txt`, et les clés dans `API/.env` (`ANTHROPIC_API_KEY`, `LANGSMITH_API_KEY`, `LANGSMITH_TRACING=true`, `LANGSMITH_PROJECT=Support`). Puis :
Sous-projet `API/` (sa doc : `API/README.md`). Une fois : `python3 -m venv API/.venv && API/.venv/bin/pip install -r API/requirements.txt`, et les clés dans `API/.env` (`ANTHROPIC_API_KEY`, `LANGSMITH_API_KEY`, `LANGSMITH_TRACING=true`, `LANGSMITH_PROJECT=Support`), et la page React construite : `cd API/web && npm install && npm run build` (à refaire quand la page change, D-137). Puis :
```bash
API/.venv/bin/python API/support/serveur.py