What
Artifacts are files or pages Claude can publish for you. Publishing them changed in two connected ways:
- New helpers fetch artifact content from
/api/frame/content/...with anx-frame-asset-tokenheader. They retry on 429 and 503 errors and accept the response only whenx-frame-content-routeis "served". - This path is used when
contentVia === "frame"and is skipped whenCLAUDE_CODE_REMOTEis set. - The deploy function takes a new flag. When a later send of a publish is cancelled or the cloud session's gateway fails, it now reports 'a later send of this publish could not go through the cloud session's gateway'. Before, failures only said 'relay request failed' or 'deploy request failed'.
- The relay code now uses a shared helper for working out content types, which used to be defined locally.
Why
When publishing an artifact from a cloud session fails part way, the message now says where it went wrong. Busy or briefly unavailable servers are retried instead of failing straight away.