{"versions":{"0.1.0":{"name":"dsh-mermaid","version":"0.1.0","description":"Render Mermaid code blocks in DeepSeek Harness with a diagram/code toggle.","author":{"name":"Mrmo072","url":"https://github.com/MrmoLabs"},"repository":{"type":"git","url":"git+https://github.com/MrmoLabs/dsh-mermaid.git"},"homepage":"https://github.com/MrmoLabs/dsh-mermaid#readme","bugs":{"url":"https://github.com/MrmoLabs/dsh-mermaid/issues"},"publishConfig":{"access":"public"},"bin":{"dsh-mermaid":"bin/dsh-mermaid.mjs"},"type":"module","main":"lib/index.js","exports":{".":"./lib/index.js","./client":"./lib/client.js","./package.json":"./package.json"},"scripts":{"build":"node scripts/build.mjs","check":"node --check src/client.js && node --check src/index.js && node --test","prepare":"npm run build","prepack":"npm run check && npm run build"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":[]}},"keywords":["deepseek-harness","dsh","mermaid","diagram"],"license":"MIT","dependencies":{"mermaid":"11.17.0"},"devDependencies":{"esbuild":"0.25.9"},"engines":{"node":">=22.19.0"},"_id":"dsh-mermaid@0.1.0","gitHead":"f6b79f11a211a1f7e9653e4eb5e80c563fa88c66","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-7vHcc3s+8YkD2toNBwzKKVu4UXBG8Zv4yKOshm67RzGDbtAeUOB5lqr0xHVdMXN2dxO3jtAv8n7MStUyK+MSwA==","shasum":"ecb20173a96b0810292a5c95b2310673d6298fc6","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dsh-mermaid/-/dsh-mermaid-0.1.0.tgz","fileCount":9,"unpackedSize":3470060,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBDAqDVroVWtXeQK4BUcRnofUmH69cEhWhqNxIFUTiRdAiBNa+yDTZoOO49YKzsRXarukAECxIS53HmIWBillYnb4g=="}],"size":962905},"_npmUser":{"name":"anonymous","email":"ytf072072@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ytf072072@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-mermaid_0.1.0_1787472720465_0.6059147431522818"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-08-23T08:12:00.652Z","publish_time":1787472720652,"_source_registry_name":"default","contributors":[]},"0.1.1":{"name":"dsh-mermaid","version":"0.1.1","description":"Render Mermaid code blocks in DeepSeek Harness with a diagram/code toggle.","author":{"name":"Mrmo072","url":"https://github.com/MrmoLabs"},"repository":{"type":"git","url":"git+https://github.com/MrmoLabs/dsh-mermaid.git"},"homepage":"https://github.com/MrmoLabs/dsh-mermaid#readme","bugs":{"url":"https://github.com/MrmoLabs/dsh-mermaid/issues"},"publishConfig":{"access":"public"},"bin":{"dsh-mermaid":"bin/dsh-mermaid.mjs"},"type":"module","main":"lib/index.js","exports":{".":"./lib/index.js","./client":"./lib/client.js","./package.json":"./package.json"},"scripts":{"build":"node scripts/build.mjs","check":"node --check bin/dsh-mermaid.mjs && node --check scripts/build.mjs && node --check src/client.js && node --check src/detection.js && node --check src/index.js && node --test","prepare":"npm run build","prepack":"npm run check"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":[]}},"keywords":["deepseek-harness","dsh","mermaid","diagram"],"license":"MIT","devDependencies":{"esbuild":"0.28.2","mermaid":"11.17.0"},"engines":{"node":">=22.19.0"},"_id":"dsh-mermaid@0.1.1","gitHead":"9b8da4ff0b45ddace416889be7c54a2a9f19ad22","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-3b+iN8Hb2zzD8txUXUyXCNGYPR0RLyntYeQiX1Wzd/6zIQgE3foULn17C8BtpM+FoWs4HVktISEpmR7sls+kTw==","shasum":"4b91ef3c2ce324b112620dffdb83659bbd525f7b","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dsh-mermaid/-/dsh-mermaid-0.1.1.tgz","fileCount":10,"unpackedSize":3471163,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC6e+nGoagyzcAadCuDZPdXWnv8kAP/CVxb/ET5yaKsPgIgdA0RrlLAnqMacplU+lQoIN6BgbFO9QBZAanpjim3dVI="}],"size":963354},"_npmUser":{"name":"anonymous","email":"ytf072072@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ytf072072@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-mermaid_0.1.1_1787474099795_0.2432590075066121"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-08-23T08:35:00.064Z","publish_time":1787474100064,"_source_registry_name":"default","contributors":[]},"0.1.2":{"name":"dsh-mermaid","version":"0.1.2","description":"Render Mermaid code blocks in DeepSeek Harness with a diagram/code toggle.","author":{"name":"Mrmo072","url":"https://github.com/MrmoLabs"},"repository":{"type":"git","url":"git+https://github.com/MrmoLabs/dsh-mermaid.git"},"homepage":"https://github.com/MrmoLabs/dsh-mermaid#readme","bugs":{"url":"https://github.com/MrmoLabs/dsh-mermaid/issues"},"publishConfig":{"access":"public"},"bin":{"dsh-mermaid":"bin/dsh-mermaid.mjs"},"type":"module","main":"lib/index.js","exports":{".":"./lib/index.js","./client":"./lib/client.js","./package.json":"./package.json"},"scripts":{"build":"node scripts/build.mjs","check":"node --check bin/dsh-mermaid.mjs && node --check scripts/build.mjs && node --check src/client.js && node --check src/detection.js && node --check src/index.js && node --test","prepare":"npm run build","prepack":"npm run check"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":[]}},"keywords":["deepseek-harness","dsh","mermaid","diagram"],"license":"MIT","devDependencies":{"esbuild":"0.28.2","mermaid":"11.17.0"},"engines":{"node":">=22.19.0"},"_id":"dsh-mermaid@0.1.2","gitHead":"11a0db86f245ff8326757dbbac77668d05cbfb81","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-RfQof7WLrdsruBJMcKzq5sZlZdZshnR/jIl1YKY5ZRTbnenNXOT5Nvyqm8V7ojR5m+tOsplJneDnRh1B/fldDA==","shasum":"49284e50fb41485d826a545880fb3b9f52d8c730","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dsh-mermaid/-/dsh-mermaid-0.1.2.tgz","fileCount":10,"unpackedSize":3472692,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCJZpIcTP+/46ZciVsGCNGj77esDBjPMQ89tUzKOR4brAIhAJf2Y5C1q50F9WtuR9oISysBwEQpGaKoBl3EqLyCQ2v7"}],"size":963839},"_npmUser":{"name":"anonymous","email":"ytf072072@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ytf072072@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-mermaid_0.1.2_1787548206193_0.15638190465053614"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-08-24T05:10:06.378Z","publish_time":1787548206378,"_source_registry_name":"default","contributors":[]},"0.1.3":{"name":"dsh-mermaid","version":"0.1.3","description":"Render Mermaid code blocks in DeepSeek Harness with a diagram/code toggle.","author":{"name":"Mrmo072","url":"https://github.com/MrmoLabs"},"repository":{"type":"git","url":"git+https://github.com/MrmoLabs/dsh-mermaid.git"},"homepage":"https://github.com/MrmoLabs/dsh-mermaid#readme","bugs":{"url":"https://github.com/MrmoLabs/dsh-mermaid/issues"},"publishConfig":{"access":"public"},"bin":{"dsh-mermaid":"bin/dsh-mermaid.mjs"},"type":"module","main":"lib/index.js","exports":{".":"./lib/index.js","./client":"./lib/client.js","./package.json":"./package.json"},"scripts":{"build":"node scripts/build.mjs","check":"node --check bin/dsh-mermaid.mjs && node --check scripts/build.mjs && node --check src/client.js && node --check src/detection.js && node --check src/index.js && node --test","prepare":"npm run build","prepack":"npm run check"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":[]}},"keywords":["deepseek-harness","dsh","mermaid","diagram"],"license":"MIT","devDependencies":{"esbuild":"0.28.2","mermaid":"11.17.0"},"engines":{"node":">=22.19.0"},"_id":"dsh-mermaid@0.1.3","gitHead":"b45a9c2dd2235e5ff241dcbf3f8c6e93b2d84aee","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-JJunD02AjlwbNHmFWLqdtkh3B2CTVxvyD7Slo/RFfj/ldwb0xHxAbl6zucijPPKt9lkGd50mJT1Uji0z9tNTSA==","shasum":"75e4fc9d9bc34082d1b7f6ad0aa0f7a6ff1d2009","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dsh-mermaid/-/dsh-mermaid-0.1.3.tgz","fileCount":10,"unpackedSize":3472930,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDGBqgPBIowgPV/iQMfjtbOCPzTybnzrLYSj0/g+wbTJAIgTmTeYR1rDOQW06tJFQwE1gRaAQbtWYDThtZvIfxhcII="}],"size":963908},"_npmUser":{"name":"anonymous","email":"ytf072072@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ytf072072@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-mermaid_0.1.3_1787553490941_0.5655450548256253"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-08-24T06:38:11.091Z","publish_time":1787553491091,"_source_registry_name":"default","contributors":[]},"0.2.0":{"name":"dsh-mermaid","version":"0.2.0","description":"Render Mermaid code blocks in DeepSeek Harness with a diagram/code toggle.","author":{"name":"Mrmo072","url":"https://github.com/MrmoLabs"},"repository":{"type":"git","url":"git+https://github.com/MrmoLabs/dsh-mermaid.git"},"homepage":"https://github.com/MrmoLabs/dsh-mermaid#readme","bugs":{"url":"https://github.com/MrmoLabs/dsh-mermaid/issues"},"publishConfig":{"access":"public"},"bin":{"dsh-mermaid":"bin/dsh-mermaid.mjs"},"type":"module","main":"lib/index.js","exports":{".":"./lib/index.js","./client":"./lib/client.js","./package.json":"./package.json"},"scripts":{"build":"node scripts/build.mjs","check":"node --check bin/dsh-mermaid.mjs && node --check scripts/build.mjs && node --check src/client.js && node --check src/detection.js && node --check src/index.js && node --check src/mermaid-runtime.js && node --test","prepare":"npm run build","prepack":"npm run check"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":[]}},"keywords":["deepseek-harness","dsh","mermaid","diagram"],"license":"MIT","devDependencies":{"esbuild":"0.28.2","happy-dom":"20.11.6","mermaid":"11.17.0"},"engines":{"node":">=22.19.0"},"_id":"dsh-mermaid@0.2.0","gitHead":"49ae133f5268eaf1f4572d5ab1fc383b422ff279","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-l49m9axR2YTQOStvhZDUr+Rc6oc0ro9ueM5jendsZCeUH8DWgYxVfdkhQoo7FIGeS11Od5K8nMwsmi8m6EhqIQ==","shasum":"9e45ab00faa301945e33c08edfc9b91bff4b6ef7","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dsh-mermaid/-/dsh-mermaid-0.2.0.tgz","fileCount":12,"unpackedSize":3477759,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQClKB7UfJpfxVV6RXKAhU3UROPb9fdjfcQrpdeyPoDNnQIged7zS0BwWKbL48zhu81E2x1erb1RJoKV+cit2m1hlJk="}],"size":965226},"_npmUser":{"name":"anonymous","email":"ytf072072@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ytf072072@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-mermaid_0.2.0_1787562348624_0.787989918834163"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-08-24T09:05:48.815Z","publish_time":1787562348815,"_source_registry_name":"default","contributors":[]},"0.3.0":{"name":"dsh-mermaid","version":"0.3.0","description":"Render Mermaid code blocks in DeepSeek Harness with a diagram/code toggle.","author":{"name":"Mrmo072","url":"https://github.com/MrmoLabs"},"repository":{"type":"git","url":"git+https://github.com/MrmoLabs/dsh-mermaid.git"},"homepage":"https://github.com/MrmoLabs/dsh-mermaid#readme","bugs":{"url":"https://github.com/MrmoLabs/dsh-mermaid/issues"},"publishConfig":{"access":"public"},"bin":{"dsh-mermaid":"bin/dsh-mermaid.mjs"},"type":"module","main":"lib/index.js","exports":{".":"./lib/index.js","./client":"./lib/client.js","./package.json":"./package.json"},"scripts":{"build":"node scripts/build.mjs","check":"node --check bin/dsh-mermaid.mjs && node --check scripts/build.mjs && node --check src/client.js && node --check src/detection.js && node --check src/index.js && node --check src/mermaid-runtime.js && node --test","prepare":"npm run build","prepack":"npm run check"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":[]}},"keywords":["deepseek-harness","dsh","mermaid","diagram"],"license":"MIT","devDependencies":{"esbuild":"0.28.2","happy-dom":"20.11.6","mermaid":"11.17.0"},"engines":{"node":">=22.19.0"},"_id":"dsh-mermaid@0.3.0","gitHead":"ef5caeacb11b891f517500d1596f8fb38b5eacf0","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-kQcJQyTWfVYUO+qHtZpP4kvlYtfR6KkfXm1hL6fYiZCns1u4zu2HWB3RhnWOz4jEiCqN28zOA/GR5DZiBYB5Og==","shasum":"68f3910c25c8437942396323aa999dac326a746c","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dsh-mermaid/-/dsh-mermaid-0.3.0.tgz","fileCount":12,"unpackedSize":3489696,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDy3g7MWHBto5J36aE3pAuQP+jzk8aceaNT0LrcZkDa5AiA6zresL7VVEJvghfdC9pZnxwatxvk0h+aYTbUnrM821g=="}],"size":969554},"_npmUser":{"name":"anonymous","email":"ytf072072@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ytf072072@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-mermaid_0.3.0_1787565797890_0.019975623722056968"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-08-24T10:03:18.075Z","publish_time":1787565798075,"_source_registry_name":"default","contributors":[]},"0.3.1":{"name":"dsh-mermaid","version":"0.3.1","description":"Render Mermaid code blocks in DeepSeek Harness with a diagram/code toggle.","author":{"name":"Mrmo072","url":"https://github.com/MrmoLabs"},"repository":{"type":"git","url":"git+https://github.com/MrmoLabs/dsh-mermaid.git"},"homepage":"https://github.com/MrmoLabs/dsh-mermaid#readme","bugs":{"url":"https://github.com/MrmoLabs/dsh-mermaid/issues"},"publishConfig":{"access":"public"},"bin":{"dsh-mermaid":"bin/dsh-mermaid.mjs"},"type":"module","main":"lib/index.js","exports":{".":"./lib/index.js","./client":"./lib/client.js","./package.json":"./package.json"},"scripts":{"build":"node scripts/build.mjs","check":"node --check bin/dsh-mermaid.mjs && node --check scripts/build.mjs && node --check src/client.js && node --check src/detection.js && node --check src/index.js && node --check src/mermaid-runtime.js && node --test","prepare":"npm run build","prepack":"npm run check"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":[]}},"keywords":["deepseek-harness","dsh","mermaid","diagram"],"license":"MIT","devDependencies":{"esbuild":"0.28.2","happy-dom":"20.11.6","mermaid":"11.17.0"},"engines":{"node":">=22.19.0"},"gitHead":"4e2a012d6d730a1be31bc1fde16815b204954363","_id":"dsh-mermaid@0.3.1","_nodeVersion":"24.19.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-7wL+UNMJyetFt5V/TTqnFBPa18fZxkPWH0PGOWXoW7l9wLz4gxUaPPk26HPj9QA4FNP2ZTfYHJTsVuzzJMPwQw==","shasum":"46f5a3a683a848c3a79959499574a931065b3993","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dsh-mermaid/-/dsh-mermaid-0.3.1.tgz","fileCount":11,"unpackedSize":3487997,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dsh-mermaid@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFE0Jmr/Dg49tauyZdxsP/wS5/B4YcwXeiVX7b+oxStxAiEAp0h0HptGH3ptEF8qvHG645wgYW1Uo25XHC5lY6iSzh4="}],"size":969709},"_npmUser":{"name":"anonymous","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:43131d19-c075-4bc9-8aa4-f81663b79027"}},"directories":{},"maintainers":[{"name":"anonymous","email":"ytf072072@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-mermaid_0.3.1_1788506127041_0.4631086066245149"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-09-04T07:15:27.196Z","publish_time":1788506127196,"_source_registry_name":"default","contributors":[]},"0.4.0":{"name":"dsh-mermaid","version":"0.4.0","description":"Render Mermaid code blocks in DeepSeek Harness with a diagram/code toggle.","author":{"name":"Mrmo072","url":"https://github.com/MrmoLabs"},"repository":{"type":"git","url":"git+https://github.com/MrmoLabs/dsh-mermaid.git"},"homepage":"https://github.com/MrmoLabs/dsh-mermaid#readme","bugs":{"url":"https://github.com/MrmoLabs/dsh-mermaid/issues"},"publishConfig":{"access":"public"},"bin":{"dsh-mermaid":"bin/dsh-mermaid.mjs"},"type":"module","main":"lib/index.js","exports":{".":"./lib/index.js","./client":"./lib/client.js","./package.json":"./package.json"},"scripts":{"build":"node scripts/build.mjs","check":"node --check bin/dsh-mermaid.mjs && node --check scripts/build.mjs && node --check src/client.js && node --check src/detection.js && node --check src/i18n.js && node --check src/index.js && node --check src/mermaid-runtime.js && node --check src/styles.js && node --check src/svg.js && node --check src/viewer.js && node --test","prepare":"npm run build","prepack":"npm run check"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":[]}},"keywords":["deepseek-harness","dsh","mermaid","diagram"],"license":"MIT","devDependencies":{"esbuild":"0.28.2","happy-dom":"20.11.6","mermaid":"11.17.0"},"engines":{"node":">=22.19.0"},"gitHead":"fc237d51f9ea1e2a1a254d84dfb63a9ccf4364dd","_id":"dsh-mermaid@0.4.0","_nodeVersion":"24.20.0","_npmVersion":"11.19.0","dist":{"integrity":"sha512-SVXmo3MdINyAf097eEF7A4D41wb+bZr5pX8uoHVbD+ZnMOdfW80AXcHMlMPkcrAHFPzkOeC9cL91zjDEqteTIg==","shasum":"8f0688063af2c8280f7d19454fd2622d62589137","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dsh-mermaid/-/dsh-mermaid-0.4.0.tgz","fileCount":11,"unpackedSize":3496132,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dsh-mermaid@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFDk++SGIbtxnMhV61glDretHu5ntfnG/0XPfKD97pU1AiEA7aWmHWJN43YuUMl2xrXVoT9KTjV46bsXWDungdy1dTI="}],"size":972213},"_npmUser":{"name":"anonymous","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:43131d19-c075-4bc9-8aa4-f81663b79027"}},"directories":{},"maintainers":[{"name":"anonymous","email":"ytf072072@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-mermaid_0.4.0_1788602680354_0.6006221064829897"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-09-05T10:04:40.579Z","publish_time":1788602680579,"_source_registry_name":"default","contributors":[]},"0.4.1":{"_id":"dsh-mermaid@0.4.1","bin":{"dsh-mermaid":"bin/dsh-mermaid.mjs"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":[],"platform":"web"}},"bugs":{"url":"https://github.com/MrmoLabs/dsh-mermaid/issues"},"dist":{"shasum":"ecda5d11628f2f6e9a616e77ed4df49fecdba95e","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dsh-mermaid/-/dsh-mermaid-0.4.1.tgz","fileCount":11,"integrity":"sha512-w415yRAbeZe0cRLD0aKIF33K6a8gZNZx83ciLUqdliyj1/C3PAzekrbD6UUIQO3AT26HFXWbtMPtXAEfZvSufg==","signatures":[{"sig":"MEYCIQDy3VPY47FX+OL+R2M76xtkjp03QC0WTEiT+Vs9TYfJQwIhAOBuIU/ld5Y2hr6P0v6MM+hFZkIZM/rDKYuiZIyM1OTW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFeEkiLfgAaenjO/71lQjMMefPYxGoqvVz2cvcGI+tgZAiAzhxWW1YgDNjxjF+TJyKuLq943mOB6h3oWbWSCXOhtgw=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dsh-mermaid@0.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":3496388,"size":972279},"main":"lib/index.js","name":"dsh-mermaid","type":"module","author":{"url":"https://github.com/MrmoLabs","name":"Mrmo072"},"engines":{"node":">=22.19.0"},"exports":{".":"./lib/index.js","./client":"./lib/client.js","./package.json":"./package.json"},"gitHead":"4953d95c6d536352406aac7c2989ccef8bd363e1","license":"MIT","scripts":{"build":"node scripts/build.mjs","check":"node --check bin/dsh-mermaid.mjs && node --check scripts/build.mjs && node --check src/client.js && node --check src/detection.js && node --check src/i18n.js && node --check src/index.js && node --check src/mermaid-runtime.js && node --check src/styles.js && node --check src/svg.js && node --check src/viewer.js && node --test","prepack":"npm run check","prepare":"npm run build"},"version":"0.4.1","_npmUser":{"name":"anonymous","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:43131d19-c075-4bc9-8aa4-f81663b79027"}},"homepage":"https://github.com/MrmoLabs/dsh-mermaid#readme","keywords":["deepseek-harness","dsh","mermaid","diagram"],"repository":{"url":"git+https://github.com/MrmoLabs/dsh-mermaid.git","type":"git"},"_npmVersion":"11.19.0","description":"Render Mermaid code blocks in DeepSeek Harness with a diagram/code toggle.","directories":{},"maintainers":[{"name":"anonymous","email":"ytf072072@gmail.com"}],"_nodeVersion":"24.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"0.28.2","mermaid":"11.17.0","happy-dom":"20.11.6"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-mermaid_0.4.1_1790155192672_0.9710103242304895"},"_cnpmcore_publish_time":"2026-09-23T09:19:52.903Z","publish_time":1790155192903,"_source_registry_name":"default","contributors":[]},"0.4.2":{"_id":"dsh-mermaid@0.4.2","bin":{"dsh-mermaid":"bin/dsh-mermaid.mjs"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":[],"platform":"web"}},"bugs":{"url":"https://github.com/MrmoLabs/dsh-mermaid/issues"},"dist":{"shasum":"a6f8ebcd836982cc5df11a6ead13fdda8fcea8af","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dsh-mermaid/-/dsh-mermaid-0.4.2.tgz","fileCount":12,"integrity":"sha512-HVLonXZQzdCtqp0KrmEUDa5sReHV+y5cljZb0aAX4yJ8SR2YtOPSNR8cJtj3PTfKzXiYd6uor/0ilrUmvL2NVw==","signatures":[{"sig":"MEYCIQDPllF7nNnSpjshA+y4ceJ7T6JreA2BMfracZOUQIIdNQIhAMKKufNMSEntGJx5BEi0ZuB1UCyA1C2b5ApLWfX97h/O","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCm58O3ry4EDTvczaLWWUJJbdma897A7kX/vXQykzi4bAIhALzJKt3IUGg+Vpq025TCx4jhYdx4tRfZw1+hI28YTtY2"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dsh-mermaid@0.4.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":3501636,"size":973986},"main":"lib/index.js","name":"dsh-mermaid","type":"module","author":{"url":"https://github.com/MrmoLabs","name":"Mrmo072"},"engines":{"node":">=22.19.0"},"exports":{".":"./lib/index.js","./client":"./lib/client.js","./package.json":"./package.json"},"gitHead":"2b4f19586bef7ebdf7e64b0d4fa9d3fe98c15707","license":"MIT","scripts":{"build":"node scripts/build.mjs","check":"node --check bin/dsh-mermaid.mjs && node --check bin/locale.mjs && node --check scripts/build.mjs && node --check src/client.js && node --check src/detection.js && node --check src/i18n.js && node --check src/index.js && node --check src/mermaid-runtime.js && node --check src/styles.js && node --check src/svg.js && node --check src/viewer.js && node --test","prepack":"npm run check","prepare":"npm run build"},"version":"0.4.2","_npmUser":{"name":"anonymous","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"43131d19-c075-4bc9-8aa4-f81663b79027"}},"homepage":"https://github.com/MrmoLabs/dsh-mermaid#readme","keywords":["deepseek-harness","dsh","mermaid","diagram"],"repository":{"url":"git+https://github.com/MrmoLabs/dsh-mermaid.git","type":"git"},"_npmVersion":"11.19.0","description":"Render Mermaid code blocks in DeepSeek Harness with a diagram/code toggle.","directories":{},"maintainers":[{"name":"anonymous","email":"ytf072072@gmail.com"}],"_nodeVersion":"24.21.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"0.28.2","mermaid":"11.17.0","happy-dom":"20.11.6"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-mermaid_0.4.2_1792042985541_0.266292995688445"},"_cnpmcore_publish_time":"2026-10-15T05:43:05.632Z","publish_time":1792042985632,"_source_registry_name":"default","contributors":[]},"0.4.4":{"_id":"dsh-mermaid@0.4.4","bin":{"dsh-mermaid":"bin/dsh-mermaid.mjs"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":[],"platform":"web"}},"bugs":{"url":"https://github.com/MrmoLabs/dsh-mermaid/issues"},"dist":{"shasum":"257a0d82eb13ff2920d98afd1901eec36a39e45c","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dsh-mermaid/-/dsh-mermaid-0.4.4.tgz","fileCount":12,"integrity":"sha512-WMK2yvxtxq5WSb6TWy+oe03S8AcZ2oyVHxPur600q9JETqJSyUQO0xMQAH4rwj9w52teae+a4EahfxAf3aoABA==","signatures":[{"sig":"MEYCIQC73sirzXB7idQAXsO2laPTKxz0OkHUOUI0QPJZVNUUwQIhAIEHc3Qvgnic1q8CGqM9ACV2vCCV5b2iEpFViFBsaD4P","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCdmrWdXULKds1oqu8ZQC/InWPCsY/C28DCoNhYjrBzPgIhAOIALWpdJ8YsOeNIRIL4pQgxFYQpihbUedHpGHzP5SkH"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dsh-mermaid@0.4.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":3513960,"size":979057},"main":"lib/index.js","name":"dsh-mermaid","type":"module","author":{"url":"https://github.com/MrmoLabs","name":"Mrmo072"},"engines":{"node":">=22.19.0"},"exports":{".":"./lib/index.js","./client":"./lib/client.js","./package.json":"./package.json"},"gitHead":"d877f10bda0c49ec26b356844a77167e7dbbf6e4","license":"MIT","scripts":{"build":"node scripts/build.mjs","check":"node --check bin/dsh-mermaid.mjs && node --check bin/locale.mjs && node --check scripts/build.mjs && node --check src/client.js && node --check src/detection.js && node --check src/i18n.js && node --check src/index.js && node --check src/mermaid-runtime.js && node --check src/scroll.js && node --check src/styles.js && node --check src/svg.js && node --check src/tooltip.js && node --check src/viewer.js && node --test","prepack":"npm run check","prepare":"npm run build"},"version":"0.4.4","_npmUser":{"name":"anonymous","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"43131d19-c075-4bc9-8aa4-f81663b79027"}},"homepage":"https://github.com/MrmoLabs/dsh-mermaid#readme","keywords":["deepseek-harness","dsh","mermaid","diagram"],"repository":{"url":"git+https://github.com/MrmoLabs/dsh-mermaid.git","type":"git"},"_npmVersion":"11.19.0","description":"Render Mermaid code blocks in DeepSeek Harness with a diagram/code toggle.","directories":{},"maintainers":[{"name":"anonymous","email":"ytf072072@gmail.com"}],"_nodeVersion":"24.21.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"0.28.2","mermaid":"11.17.0","happy-dom":"21.0.4"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-mermaid_0.4.4_1793081601986_0.934761401406405"},"_cnpmcore_publish_time":"2026-10-27T06:13:22.162Z","publish_time":1793081602162,"_source_registry_name":"default","contributors":[]},"0.4.5":{"_id":"dsh-mermaid@0.4.5","bin":{"dsh-mermaid":"bin/dsh-mermaid.mjs"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":[],"platform":"web"}},"bugs":{"url":"https://github.com/MrmoLabs/dsh-mermaid/issues"},"dist":{"shasum":"3c517f903ca4a650bdb788d49ccc7a115840f36a","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dsh-mermaid/-/dsh-mermaid-0.4.5.tgz","fileCount":16,"integrity":"sha512-2+TJ7q6x1nwfSwBz/pGQuudE5duBA6GCt+B8lhh3qWIfOvI0B9smXj6D1GJHQIZRx+NFXfb4TvOhnlL9seQTzg==","signatures":[{"sig":"MEYCIQD2aNbur3MzeqoxtW+VCjxo8GRrvssWTuhoVaMu3yDieQIhAO41bv/n0GrXPcoUtDzwgE7yih1gEVGekSWSFTdb1NZF","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFoVvMuMzq+0tz/zLyLFe+LfQJ8HUIyl8fTiF3gBi357AiEAlDADpDdP8QCU0uQKmGaf6pmMDpIzNJeQJ9QD+8967xc="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dsh-mermaid@0.4.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":3600834,"size":1042954},"main":"lib/index.js","name":"dsh-mermaid","type":"module","author":{"url":"https://github.com/MrmoLabs","name":"Mrmo072"},"engines":{"node":">=22.19.0"},"exports":{".":"./lib/index.js","./client":"./lib/client.js","./package.json":"./package.json"},"gitHead":"e537750ea1f1191931d5c1946cbe261822442fe6","license":"MIT","scripts":{"build":"node scripts/build.mjs","check":"node --check bin/dsh-mermaid.mjs && node --check bin/locale.mjs && node --check scripts/build.mjs && node --check src/client.js && node --check src/detection.js && node --check src/i18n.js && node --check src/index.js && node --check src/mermaid-runtime.js && node --check src/scroll.js && node --check src/styles.js && node --check src/svg.js && node --check src/tooltip.js && node --check src/viewer.js && node --test","prepack":"npm run check","prepare":"npm run build"},"version":"0.4.5","_npmUser":{"name":"anonymous","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"43131d19-c075-4bc9-8aa4-f81663b79027"}},"homepage":"https://github.com/MrmoLabs/dsh-mermaid#readme","keywords":["deepseek-harness","dsh","mermaid","diagram"],"repository":{"url":"git+https://github.com/MrmoLabs/dsh-mermaid.git","type":"git"},"_npmVersion":"11.19.1","description":"Render Mermaid code blocks in DeepSeek Harness with a diagram/code toggle.","directories":{},"maintainers":[{"name":"anonymous","email":"ytf072072@gmail.com"}],"_nodeVersion":"24.22.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"0.28.2","mermaid":"11.17.0","happy-dom":"21.0.4"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-mermaid_0.4.5_1793950294656_0.8640583447068173"},"_cnpmcore_publish_time":"2026-11-06T07:31:34.796Z","publish_time":1793950294796,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"0.4.5"},"name":"dsh-mermaid","time":{"created":"2026-08-23T08:12:08.582Z","modified":"2026-11-06T07:45:01.132Z","0.1.0":"2026-08-23T08:12:00.652Z","0.1.1":"2026-08-23T08:35:00.064Z","0.1.2":"2026-08-24T05:10:06.378Z","0.1.3":"2026-08-24T06:38:11.091Z","0.2.0":"2026-08-24T09:05:48.815Z","0.3.0":"2026-08-24T10:03:18.075Z","0.3.1":"2026-09-04T07:15:27.196Z","0.4.0":"2026-09-05T10:04:40.579Z","0.4.1":"2026-09-23T09:19:52.903Z","0.4.2":"2026-10-15T05:43:05.632Z","0.4.4":"2026-10-27T06:13:22.162Z","0.4.5":"2026-11-06T07:31:34.796Z"},"readme":"# dsh-mermaid\n\n[简体中文](README.zh-CN.md) | English\n\nRender Mermaid code blocks as interactive SVG diagrams in **DeepSeek Harness Web and Desktop**. Switch between source and diagram, explore large diagrams in fullscreen, and export SVG files without leaving the conversation.\n\n[![npm version](https://img.shields.io/npm/v/dsh-mermaid.svg)](https://www.npmjs.com/package/dsh-mermaid)\n\n![English Mermaid diagram in a DSH conversation, with Code / Diagram, Fullscreen, and Download SVG controls](docs/images/conversation-en.jpg)\n\nAn English pull request workflow rendered in a DSH conversation. [View the Mermaid source](docs/examples/pull-request-workflow.mmd).\n\n## Quick start\n\nRequires DeepSeek Harness (DSH) and **Node.js 22.19 or later**. Commands below use Windows PowerShell; on macOS or Linux, use `npx` and `npm` in place of `npx.cmd` and `npm.cmd`.\n\n### 1. Install\n\nWith a global `dsh` command, install the npm release into your Web profile:\n\n```powershell\ndsh plugin --profile web add -w dsh-mermaid\n```\n\nIf `dsh` is not on your PATH, invoke it through npx:\n\n```powershell\nnpx.cmd --yes @deepseek-ai/dsh plugin --profile web add -w dsh-mermaid\n```\n\nFor **DSH Desktop**, replace `--profile web` with `--profile desktop`. DSH installs the package through pnpm and automatically registers its `dsh.bundle` declaration in the selected profile. Restart DSH Web or DSH Desktop after installation; for an already running Web session, refresh the browser page as well.\n\n### 2. Render a diagram\n\nAsk a model to output a Mermaid fenced code block, for example:\n\n````markdown\n```mermaid\nflowchart LR\n  A[Idea] --> B[Mermaid code]\n  B --> C[Diagram]\n  C --> D[SVG export]\n```\n````\n\nThe block opens in **Diagram** view by default. Use **Code / Diagram** to switch views. The plugin also recognizes `mermaidjs` and `mmd` fences; inline code is left unchanged.\n\n### 3. Explore and export\n\n- **Fullscreen** opens a viewer with mouse-wheel zoom, dragging, 100% reset, and fit-to-window controls. Press `Esc` to close it.\n- **Download SVG** saves the rendered diagram as a standalone file.\n- Both actions remain available in Code view once a diagram has rendered successfully.\n\n![Fullscreen English Mermaid diagram with zoom, reset, fit-to-window, and close controls](docs/images/fullscreen-en.jpg)\n\n## Features\n\n- **Streaming support** — discovers new blocks as responses arrive and prevents older renders from replacing newer content.\n- **Theme and language** — follows DSH's light/dark theme and uses English or Simplified Chinese based on the page and browser language.\n- **Large-diagram viewing** — fullscreen zoom and pan, with a stable toolbar position when switching views.\n- **Accessible controls** — keyboard focus management, render/download announcements, and accessible SVG names.\n- **Bundled runtime** — pins Mermaid `11.17.0`, loads it on demand from DSH's own origin, and requires no runtime CDN. Multiple diagrams render through a serial queue.\n- **Source fallback** — uses Mermaid's `securityLevel: strict` and returns to source on rendering errors. Diagrams exceeding 50,000 characters or 2,000 lines are rejected before rendering.\n\n## Update and uninstall\n\nRun the command for your installed profile; replace `web` with `desktop` for DSH Desktop.\n\n```powershell\n# Update the npm release\ndsh plugin --profile web update -w dsh-mermaid\n\n# Uninstall\ndsh plugin --profile web remove -w dsh-mermaid\n```\n\nIf needed, replace the leading `dsh` with `npx.cmd --yes @deepseek-ai/dsh`. Restart the corresponding DSH application afterward and refresh any open Web page. See the [changelog](CHANGELOG.md) for release details.\n\n## Troubleshooting\n\n| Symptom | What to check |\n| --- | --- |\n| No Code / Diagram controls | Confirm that the plugin is installed in the profile you are using, restart DSH, and refresh the page. Use an explicit `mermaid` fenced block. |\n| Source appears with an error | Check the Mermaid syntax and the displayed error. Split diagrams that exceed 50,000 characters or 2,000 lines. |\n| Fullscreen or download is unavailable | These actions require a successfully rendered SVG. Resolve any rendering error first. |\n| GitHub installation reports a blocked build script | Follow the build-script guidance under **Install from GitHub** below. |\n\n## Compatibility\n\nThe most recent UI check was on **2026-10-28**, using Windows / Chrome, `@deepseek-ai/dsh 0.2.1-rc.3` (Web profile), and `dsh-mermaid 0.4.4`. The DSH host ran on Node.js 24.21.0 bundled with DSH Desktop.\n\nAn isolated environment with a local example conversation confirmed English flowchart rendering, toolbar display, opening and closing fullscreen, and fullscreen panning. The screenshots above come from that environment. This was a UI smoke check; it did not cover a full feature regression or the native Desktop window.\n\nDSH is a developer preview; newer versions may change its plugin loader or Markdown DOM. When [reporting an issue](https://github.com/MrmoLabs/dsh-mermaid/issues), include your DSH, plugin, and Node.js versions, Web/Desktop profile, and a minimal Mermaid example. Remove private conversation content before sharing.\n\n## Advanced usage\n\n<details>\n<summary>Install from GitHub</summary>\n\nFor normal use, prefer the npm release. To install the latest repository source, ensure a global `dsh` command is on your PATH, then run:\n\n```powershell\nnpx.cmd -y github:MrmoLabs/dsh-mermaid install\n```\n\nFor DSH Desktop:\n\n```powershell\nnpx.cmd -y github:MrmoLabs/dsh-mermaid install --profile desktop\n```\n\nThe repository installer asks DSH to install the GitHub source into the selected profile and builds the package during installation. If pnpm blocks a build script, add the exact package key shown by pnpm to `allowBuilds` in that profile's `pnpm-workspace.yaml`, then run the command again. Restart the corresponding DSH application afterward.\n\nThe installer supports English and Simplified Chinese. It checks `DSH_MERMAID_LANG`, `DSH_LANG`, `LC_ALL`, `LC_MESSAGES`, `LANG`, and `LANGUAGE` in that order, then uses the system language; neutral `C`/`POSIX` values are skipped. Set `DSH_MERMAID_LANG=en` or `DSH_MERMAID_LANG=zh-CN` to override the choice. This affects the installer’s own messages, independently of the browser interface, DSH, and pnpm.\n\n</details>\n\n<details>\n<summary>Runtime and integration boundary</summary>\n\nThe Mermaid runtime runs in the DSH Web browser or Desktop renderer, where `window` and `document` are available. The Node.js host serves the bundled file over HTTP. The Node.js version requirement covers installation, builds, and the plugin host; this package does not currently provide a supported Node.js validation API.\n\n`lib/mermaid-runtime.js` is an internal browser bundle. It is shipped for the plugin's same-origin runtime route and is not a public package export. Resolving `dsh-mermaid/package.json` and constructing a path to this file depends on internal packaging details that may change.\n\nIntegrators experimenting with server-side parsing must account for these requirements:\n\n- Some diagram parsers sanitize labels through DOMPurify during `parse()`. Without a DOM, valid labeled flowcharts and state diagrams can throw `addHook is not a function` or `sanitize is not a function`. Successful parsing of one sequence diagram does not establish compatibility for other inputs.\n- Provide a compatible DOM **before the first runtime import**, preferably in a dedicated worker or process. DOMPurify captures its environment during initialization; adding a DOM after import does not repair the cached module. Temporarily assigning globals around an asynchronous import can also expose them to other host code. Follow [DOMPurify's server-side guidance](https://github.com/cure53/DOMPurify#running-dompurify-on-the-server) when choosing a DOM implementation.\n- On Windows, convert an absolute filesystem path with `pathToFileURL(runtimePath).href` before passing it to dynamic `import()`.\n- Distinguish invalid input from unavailable dependencies, environment failures, and timeouts. Mermaid's `.hash` error field is not a universal classifier: invalid pie syntax and unknown diagram types can also fail without it. An incomplete validation must not be reported as successful.\n- Use the same Mermaid version and relevant configuration as the renderer. A successful `parse()` checks syntax; it does not guarantee successful layout or SVG rendering. Keep the renderer's error handling and source fallback.\n\n</details>\n\n## Development\n\nFrom a local checkout, with Node.js 22.19 or later:\n\n```powershell\nnpm.cmd install\nnpm.cmd run check\nnpm.cmd run build\ndsh plugin --profile web add -w .\n```\n\nBuild output is written to `lib/`. The lightweight `client.js` bootstrap is registered with the DSH client module loader as `dsh-mermaid`; the bundled Mermaid runtime is served through the plugin's same-origin host route and loaded on demand. DSH resolves the relative installation path against the current plugin checkout.\n\n`npm.cmd run check` runs syntax and client tests, builds the runtime, and tests its real parser in separate processes with and without a DOM. The DOM-backed parser tests use happy-dom as a test fixture; they do not verify browser layout or SVG rendering, or recommend a production server-side DOM implementation.\n\n<details>\n<summary>Manual installation for local development</summary>\n\nThe built package can also be copied to:\n\n```text\nC:\\Users\\<username>\\.dsh\\profiles\\web\\node_modules\\dsh-mermaid\n```\n\nNever commit the complete `.dsh` directory; it may contain conversations and credentials.\n\n</details>\n\n### Release checks\n\n```powershell\nnpm.cmd run check\nnpm.cmd run build\nnpm.cmd pack --dry-run\ngit status --short\ngit diff --cached\n```\n\n## License\n\n[MIT](LICENSE)","users":{}}