Group of 2 Under the hood
Artifact reads now skip or prefetch the stored Artifact-type declaration depending on who's reading and what page
What
Reading an artifact now takes a storedDeclaration option that controls whether the stored Artifact-type declaration is included:
- When the page being read is a probed live document or page (and the read isn't specifically for the type page), the stored type declaration is now left out.
- When an owner or writer reads the main artifact page (not a specific file) and the artifact has an Artifact-type declaration, Claude Code now starts fetching that stored declaration at the same time as the main content, instead of waiting until afterward.
Why
Skipping the declaration when it isn't needed avoids sending redundant data, and fetching it in parallel for owner/writer reads hides the extra latency it would otherwise add.