Interactive artifact elements now arm reliably on both the newer and older viewer runtimes.
What's wrong with this entry?
The bundled artifact templates (workshop skill, workshop-page, whiteboard, PR-review artifact and the artifact-components decisions block) now request capabilities through the newer viewer runtime when it offers one, and fall back to the older globals otherwise, so interactive elements arm reliably in both.
- Asks for
artifact,mcp,permissionsanddownloadscapabilities viaclaude.use(), falling back towindow.claude.artifact,window.claude.selfandwindow.claude.mcp. - Interactive rows and pills are armed once by whichever signal answers first, the capability promise or the existing 250ms poll, and no longer give up while the document is still parsing.
- The decisions script hash pinned in artifact-components changed to match.
c.use('artifact').then(function (got) {
Strings lifted out of the shipped bundle, so the claim above can be checked against them.