build(deps): refresh docs tooling - #122
Conversation
Bumps [@openclaw/carapace](https://github.com/openclaw/carapace) from v0.2.0 to v0.6.1. - [Release notes](https://github.com/openclaw/carapace/releases) - [Changelog](https://github.com/openclaw/carapace/blob/main/CHANGELOG.md) - [Commits](openclaw/carapace@eca4570...6c64d6b) --- updated-dependencies: - dependency-name: "@openclaw/carapace" dependency-version: 6c64d6b67edf169c32a452ce8ccdbec65a75bab3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
|
Exact-head proof for
The Carapace update initially reproduced the hosted Mermaid failure from PR 121. Root cause: Mermaid's legacy color parser rejects the OKLCH theme values introduced by Carapace 0.6.1. The final head normalizes computed colors to RGB/RGBA at the Mermaid integration boundary, and the full browser suite now passes. |
|
Landed via rebase merge at Exact-head proof before landing: hosted Docs Code CI and both CodeQL jobs passed; |
Summary
Root cause
Carapace 0.6.1 promotes neutral theme roles to OKLCH. Mermaid 11's color parser rejects OKLCH strings, so every diagram silently fell back to the error state. The shell now resolves computed theme colors through the browser canvas and passes Mermaid compatible RGB/RGBA values while retaining Mermaid's strict security mode.
Proof
npm ci: 245 packages installed, zero vulnerabilitiesnpm test: 4/4 renderer tests passedpython3 .github/scripts/i18n/tests/test_i18n_scripts.py: 102/102 tests passedactionlint: passednpx wrangler@4.118.0 deploy --dry-run --config wrangler.toml: Worker bundle validatednpm run docs:build:r2:shell: 30,557 pages, 67,174 R2 objectsnpm run docs:smoke:shell: passednpm run docs:visual: passed in Chromium, including Mermaid, overlay, theme, mobile, and scroll behaviordist/docs-sitelocally and fetched/,/start/getting-started/, and/assets/docs-site.jswith HTTP 200Queue reconciliation
This supersedes the narrower automation PRs #115, #118, #120, and #121. The commits from PRs 120 and 121 retain their original bot authorship.