/** * Browser half of the html-preview bundle: the `render_html` tool view. * * The bundle is a classic script in the client module system's factory form, so * it may require only the seeded platform words (`react`). Nothing here imports * a Harness Client package: the card is built from plain elements plus the * `--dsw-*` design tokens, which are the only shared styling dependency. * * Rendering model (a sandboxed, auto-sized frame): * - One constant "receiver" document is the iframe's `srcdoc`. Model HTML never * becomes the document, so the frame never reloads while the call streams. * - While the call is still being written, the raw argument prefix is decoded * from the partial JSON and pushed in as sanitized markup (no scripts, no * event-handler attributes). * - Once the call settles, the complete markup is pushed in and its `