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.206 Home All releases olderv2.1.205 v2.1.207newer

Chart.js Runtime in Published Artifacts

What

Artifacts that include a <script type="application/json" data-chart-runtime> chart spec now receive an injected Chart.js runtime at publish time, enabling bar and donut charts in addition to SVG line charts.

Details
  • The publish pipeline detects the data-chart-runtime attribute and injects a bundled Chart.js into the artifact HTML between <!-- chart-runtime --> / <!-- /chart-runtime --> sentinel comments.
  • Safety checks reject bundles containing </script, HTML comment injection risks, or the sentinel strings themselves.
  • The runtime reads the spec from the data-chart-runtime element and renders into #primary-chart via Chart.js, fully replacing the SVG fallback.
  • Theme support: resolves CSS custom properties from getComputedStyle at render time and re-renders on system dark-mode changes or data-theme flips — same data, same pixels per theme.
  • Multi-series line/bar charts include a legend; donut charts accept per-slice color overrides.
  • The SVG fallback remains for environments without the runtime, covering the standard time-series line case.
Evidence

Sentinel string (search for "bundle contains the chart-runtime sentinel"); runtime injection (search for "chart-runtime -->"); Chart.js integration (search for "new Chart(canvas")

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.206 →