Gate the workspace attachment-size query behind includeAttachments so it
no longer runs when attachments are excluded, and thread includeAttachments
through the single-document export path (previously hardcoded to true).
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>