SMOODEV-1842: Relaunch @smooai/chat-widget with Aurora Glass redesign#1
Merged
Conversation
…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>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The embeddable chat widget had been deprecated and archived, folded into
@smooai/smooth-operatoras a subpath export. Per the decision to give the widget its own home again (and a serious design upgrade), this revivesSmooAI/chat-widgetas a standalone public package.Solution
@smooai/chat-widgetis once again its own package, consuming@smooai/smooth-operator@^0.2.0purely for the protocol client — one source of truth for the wire protocol, one dedicated home for the embeddable UI. Bothsmooth-operator-agentand the SmooAI monorepo can consume it.Aurora Glass redesign (visual layer rebuilt; protocol layer untouched)
primarycolor themes the whole widget —primary-2(depth) andsurface-2(inset) are derived in CSS, adapting to any brand, light or darkRepo hardening ("set it up real nice")
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) greenPart of epic SMOODEV-1841 (chat widget convergence + redesign). Follow-ups: parity port (SMOODEV-1844) and consumer cutover (SMOODEV-1845).
🤖 Generated with Claude Code