Skip to content

SMOODEV-1842: Relaunch @smooai/chat-widget with Aurora Glass redesign#1

Merged
brentrager merged 1 commit into
mainfrom
SMOODEV-1842-aurora-glass
Jun 13, 2026
Merged

SMOODEV-1842: Relaunch @smooai/chat-widget with Aurora Glass redesign#1
brentrager merged 1 commit into
mainfrom
SMOODEV-1842-aurora-glass

Conversation

@brentrager

Copy link
Copy Markdown
Contributor

Problem

The embeddable chat widget had been deprecated and archived, folded into @smooai/smooth-operator as a subpath export. Per the decision to give the widget its own home again (and a serious design upgrade), this revives SmooAI/chat-widget as a standalone public package.

Solution

@smooai/chat-widget is once again its own package, consuming @smooai/smooth-operator@^0.2.0 purely for the protocol client — one source of truth for the wire protocol, one dedicated home for the embeddable UI. Both smooth-operator-agent and the SmooAI monorepo can consume it.

Aurora Glass redesign (visual layer rebuilt; protocol layer untouched)

  • Spring launcher with a live presence-pulse ring + crafted chat-spark icon (no emoji)
  • Glass-depth panel, brand-tinted ambient glow, spring entrance
  • Gradient monogram avatar + live status dot (online / connecting / error)
  • Animated typing indicator, message rise-in, refined streaming cursor
  • Sources disclosure with a count pill + accent cards
  • Icon composer: focus-lit field, circular gradient send, auto-grow textarea, "powered by" footer
  • One primary color themes the whole widgetprimary-2 (depth) and surface-2 (inset) are derived in CSS, adapting to any brand, light or dark

Repo hardening ("set it up real nice")

  • Tests: vitest + jsdom — config resolution, style injection, the XSS-safe citation URL guard, and a rendered shadow-tree smoke test (18 tests)
  • CI: GitHub Actions — typecheck · e2e-typecheck · unit tests · build
  • Docs: flagship README, CHANGELOG, CONTRIBUTING
  • Showcase: index.html — a backend-free interactive demo driven by an in-page mock of the smooth-operator protocol (verified the real built component streams a full conversation across three brand themes)

Verification

  • pnpm check (typecheck + 18 tests + build) green
  • IIFE bundle ~19 kB gzipped (protocol client included)
  • Rendered the real built component in Chrome across default/coral/violet themes — streaming, status dot, sources, theming all confirmed

Part of epic SMOODEV-1841 (chat widget convergence + redesign). Follow-ups: parity port (SMOODEV-1844) and consumer cutover (SMOODEV-1845).

🤖 Generated with Claude Code

…ss redesign

Reverse the brief deprecation that folded the widget into
@smooai/smooth-operator and re-establish @smooai/chat-widget as its own
public package — consuming @smooai/smooth-operator purely for the protocol
client (one source of truth for the wire protocol, one home for the UI).

Visual layer fully rebuilt as the "Aurora Glass" design system:
- Spring launcher with presence-pulse ring + crafted chat-spark icon
- Glass-depth panel, brand-tinted ambient glow, spring entrance
- Gradient monogram avatar + live status dot (online/connecting/error)
- Animated typing indicator, message rise-in, refined streaming cursor
- Sources disclosure with count pill + accent cards
- Icon composer: focus-lit field, circular gradient send, auto-grow, footer
- Theme driven by one `primary`; primary-2 + surface-2 derived in CSS so it
  adapts to any brand, light or dark

Repo hardening: vitest+jsdom unit/render tests (config, styles, XSS-safe
citation guard, shadow tree), GitHub Actions CI (typecheck/test/build),
flagship README, CHANGELOG, CONTRIBUTING, and a backend-free interactive
showcase (index.html) driven by an in-page protocol mock.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Jun 13, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: f1c06b1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@brentrager brentrager merged commit 9be3bab into main Jun 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant