Skip to content

πŸ¦‹ New version release - #496

Merged
brentrager merged 1 commit into
mainfrom
changeset-release/main
Aug 19, 2026
Merged

πŸ¦‹ New version release#496
brentrager merged 1 commit into
mainfrom
changeset-release/main

Conversation

@brentrager

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@smooai/smooth-operator@1.55.0

Minor Changes

  • 2127731: feat(web): identity_intake Rich Interaction card (name/email/phone lead capture) for the React SDK + web-chat example

    The identity_intake interaction kind (structured name/email/phone lead capture,
    capability identity_form) now has a web renderer. IdentityIntakeCard (exported
    from @smooai/smooth-operator/react) renders one labelled input per spec.fields
    in order β€” name β†’ text, email β†’ email, phone β†’ tel β€” marking required
    fields, focusing the first input on mount, and honoring a per-field label
    override. Submit builds the canonical { name?, email?, phone? } values (only the
    fields the visitor filled in, trimmed) and resumes the parked turn via the existing
    submitInteraction() verb; a Decline path sends declined: true. Server-side
    interaction_invalid errors re-render per field (bad email, missing required,
    phone-normalization message) with the turn still parked and the input flagged
    aria-invalid + wired to the error via aria-describedby.

    The interactionCards registry (kind β†’ card) now carries both choices and
    identity_intake; it moved to its own components/interactionCards.ts module so
    each card file owns only its card, and its value type is a loose common
    InteractionCardProps so a dynamic interactionCards[kind] lookup renders any
    kind with no per-kind code. The web-chat example declares the identity_form
    capability alongside choice_chips in create_conversation_session, and its
    existing overlay-slot lookup renders the card unchanged.

    No protocol/client change β€” the generic submit_interaction verb already speaks
    every kind.

@smooai/smooth-operator-web-chat-example@0.0.98

Patch Changes

  • Updated dependencies [2127731]
    • @smooai/smooth-operator@1.55.0

@brentrager
brentrager merged commit a409d94 into main Aug 19, 2026
9 checks 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