Unclear What the new options passed into the file-processing calls actually control is not stated.
What
- Sources for the artifact publish tool's
filesparameter (and therootit's relative to) can now live in the session's scratchpad directory, not only the current working directory — the tool's parameter descriptions were updated to say so explicitly. - The underlying trust check for the
rootparameter was reworked: instead of a manual string-prefix comparison against the working directory, it now calls a new helper pair to validate the path, and file-processing calls (both the general file-copy path and thumbnail generation) pass an extra options object from a new helper function.
Why
This lets Claude publish artifacts built from files it created in its scratchpad, not just files in the project's working directory, while keeping the same path-trust safety checks, now reworked to also cover the scratchpad case.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
What the new options passed into the file-processing calls actually control is not stated.