v0.10.0
Minor Changes
-
a98d7a1: Full-page header: square Smooth icon default + customizable
logoUrl.New default icon. The full-page header avatar previously rendered the full "smooth" wordmark (a wide 550×135 SVG) crammed into the square tile, so it overflowed and looked broken — and it stamped Smoo branding onto customers' pages. It now renders the square Smooth icon (the stylized
thglyph,assets/smooth-icon.svg, 150×150) which sits cleanlycontained and centered in the tile.New
logoUrlconfig key. Host pages can now brand the full-page header with their own logo:mountFullPageChat({ endpoint: "wss://ai.smoo.ai/ws", agentId: "…", logoUrl: "https://cdn.acme.com/logo.svg", }); // or declaratively: // <smooth-agent-chat mode="fullpage" logo-url="https://cdn.acme.com/logo.svg" …></smooth-agent-chat>
When set, the header renders
<img class="logo-img">sized tocontainwithin the tile; otherwise it falls back to the Smooth icon. Security:logoUrlis validated to absolutehttp(s)only (via the existingsafeHttpUrlguard) —javascript:/data:/relative URLs are dropped — and escaped into thesrcattribute, so a hostile config can't inject script.