Repository navigation
VertiWiki v0.9.2
Official release of VertiWiki v0.9.2. Download the standalone vertiwiki.html bundle below or clone the repository to get started.
🐛 Mermaid Diagram Labels & Agent-Friendly Docs (AFDocs) Modernization
- Mermaid
<foreignObject>Label Preservation (src/plugins/mermaid.ts): Upgraded DOMPurify sanitization profile inmermaidPluginto explicitly allowforeignObject,style, and HTML integration points, resolving an issue where diagram node texts and labels were stripped out during sanitization while preserving complete zero-XSS security. - AI Agent Directive UI Suppression (
src/ui/styles/main.css): Implemented modern CSS:has(a[href*="llms.txt"])rule to automatically hide in-markdownllms.txtdirectives from human browser viewports while keeping them 100% visible to autonomous AI coding agents andafdocscrawlers. - AFDocs Universal Config (
agent-docs.config.yml): Added standard Agent-Friendly Documentation Specification config withurlPathPattern: mdfor seamless native Markdown auditing. - Vercel Content Negotiation Matching (
deploy/vercel/vercel.json): Corrected regex escaping onAccept: text/markdownheaders to guarantee instant Markdown content negotiation delivery on root/docsand subfolder hits. - Automated Testing (
tests/mermaid.test.ts): Added unit test coverage verifyingforeignObjectand HTML label preservation in Mermaid SVGs, bringing the test suite to 19 files and 106 passed tests.