{"version":"2.1.336","anchor":"artifact-watcher-styles-watch-only-mode-end-reasons","canonical_anchor":"artifact-watcher-styles-watch-only-mode-end-reasons","heading":"Artifact publishing gains CSS files, shared subagent state and end reasons","tier":"notice","area":"Artifacts","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/artifact-watcher-styles-watch-only-mode-end-reasons","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Artifact publishing gains CSS files, shared subagent state and end reasons\n\nThe artifact publishing tracker accepts CSS beside pages, shares state with subagents, and records why a page or session ended\n\n**Unclear.** It is not clear whether stylesheet support is switched on for everyone or only under a remote setting.\n\n**What**\n\nArtifacts are pages Claude creates and publishes for you to view. The part of Claude Code that watches and publishes them gains several changes.\n\n- It accepts a `styles` capability, so `.css` style files can be published beside a page.\n\n- It records why it stopped, for example `server_ended`, `take_back_timed_out` or `ended_by_claude_code`. Before, it recorded no reason.\n\n- A new option when it is created turns off some of the reporting it sends before publishing, so it can only watch.\n\n- It can now take a parent tracker. A subagent, which is a helper Claude starts for part of a task, then shares its state with the main one.\n\n- Artifact tools that stream content are routed through a check for a `streams` or `putsFiles` capability.\n\n- When a new page's text ends early, it now reports why. The reason combines the cause, whether the text was `longer` or `not_longer`, and whether the page was `unwatched`.\n\n- HTML pages that have a journal are skipped by the logic that holds back a page's outer shell.\n\n**Why**\n\nArtifacts can now include their own style sheets. Work that a subagent does on an artifact is tracked together with the main session's. Pages that stop early or sessions that end now leave a recorded reason, which helps explain why a page came out incomplete.\n\n- Area: Artifacts\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}