Inline Renderer
@theaiplatform/miniapp-sdk/inline-renderer defines the shared browser contract for compact package UI that the host mounts inside an isolated iframe. Link unfurls and chat blocks use this contract with different host-sealed payloads.
Mount a Renderer
The host owns the frame, theme updates, declared action dispatch, declared resource delivery, and teardown. A renderer cannot fetch arbitrary network resources, create WebRTC peer connections, or invoke undeclared host actions through this contract.
The current host attests the identical renderer bootstrap published by Miniapp SDK
0.19.0 and 0.20.0. A package's SDK compatibility range must admit at least one
of these versions, and both its asset lock and installed bootstrap bytes must match
the host's attested hashes exactly. Packages on 0.19.0 with this bootstrap do not
need a rebuild solely because the host advances to SDK 0.20.0. Rebuild packages
created with a different bootstrap before installing them on a host that enforces
this boundary.
Use the more specific /chat-renderer and /link-unfurl exports when authoring those contribution types.