Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.248 Home All releases olderv2.1.247 v2.1.250newer
Claude Code v2.1.248

Published pages load the Mermaid diagram runtime from the host instead of inlining it

You'll notice
Useful3 Signal3
Artifacts

Published pages with diagrams are far smaller, loading the diagram library from the host.

What

Publishing a page with Mermaid diagrams no longer embeds the whole diagram library in the HTML. The page instead references /_runtime/mermaid-11.16.1.min.js served by the artifact host, so published pages are far smaller but now depend on the host serving that path.

Details
  • The HTML validator, which otherwise rejects any script with a src, was relaxed to permit exactly that one bare tag; anything else still fails with "External scripts are not allowed".
  • The diagram bootstrap now returns immediately if the library is missing, so a page degrades quietly rather than erroring when the host does not serve it.
  • The oversize-publish warning now mentions only "the inline highlighting runtime included"; the diagram runtime is no longer part of the size story.
Evidence

/_runtime/mermaid-11.16.1.min.js

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.248 →