# Vendored grok-mermaid WebAssembly module

- Artifact: `grok-mermaid.wasm`
- SHA-256: `36634da4c9708da2cbb513703a6b6101ccb3c8d0fb95a0aca07944f6b01a0adb`
- Source repository: <https://github.com/simonw/tools>
- Source revision: `a66e0800d6cdad760d4e87ea8093740cc76cd0da`
- Artifact path: `grok-mermaid.wasm`
- Build source and instructions: `grok-mermaid/` in that repository
- Original renderer: `crates/codegen/xai-grok-markdown/src/mermaid.rs` in <https://github.com/xai-org/grok-build>
- Copyright: 2023–2026 SpaceXAI
- License: Apache License 2.0; see `LICENSE.grok-mermaid`

Simon Willison's wrapper replaces the renderer's small `ratatui` surface with a shim, adds HTML/plain rendering entry points, and exposes a minimal WebAssembly FFI. The layout algorithm is the Grok Build renderer.
