Attachment Source
The data of a new attachment. The SDK copies it into its own storage at create, so later changes to the source do not change the attachment.
In the browser, path names a file in the SDK's OPFS storage pool, and the SDK copies bytes to its worker; the caller keeps its buffer.
Every host passes bytes by copy, so a source holds its size in memory at least twice until create returns. Prefer path for data over 1 MiB: the SDK reads a path source in small chunks.