feat(ui): render assistant replies as Markdown

This commit is contained in:
2026-10-05 12:04:11 -03:00
parent c5ddb3f333
commit 0965077cac
15 changed files with 3430 additions and 6 deletions
+14
View File
@@ -21,6 +21,20 @@ connection modes, Docker, settings, and usage limits. See the
[documentation index](../docs/README.md), [architecture](../docs/client/architecture.md),
and [change history](CHANGELOG.md) for implementation details and history.
Assistant replies render Markdown with Marked and DOMPurify. Their pinned,
checked-in browser modules are served from `vendor/`, including upstream
licenses, so the UI does not require a CDN or a Node.js runtime. To refresh the
browser dependencies with Node.js 20 or newer after updating `package.json`:
```bash
cd s2s-client
npm install --ignore-scripts
npm run vendor
```
Commit `package-lock.json` and the generated `vendor/` files together. Existing
locked versions can be restored with `npm ci --ignore-scripts`.
Build from the repository root so the container includes the documentation:
```bash