feat: send preview errors to chat input instead of clipboard
When clicking the error button in the HTML preview modal, the error text
is now inserted directly into the chat input and the preview is closed,
instead of copying to clipboard. Uses a lightweight Svelte store to
communicate across the component hierarchy.
https://claude.ai/code/session_01LFvYspLi5dDTqf3env7Eoj