π¦ New version release - #496
Merged
Merged
Conversation
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.
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_intakeRich Interaction card (name/email/phone lead capture) for the React SDK + web-chat exampleThe
identity_intakeinteraction kind (structured name/email/phone lead capture,capability
identity_form) now has a web renderer.IdentityIntakeCard(exportedfrom
@smooai/smooth-operator/react) renders one labelled input perspec.fieldsin order β
nameβ text,emailβ email,phoneβ tel β marking requiredfields, focusing the first input on mount, and honoring a per-field
labeloverride. Submit builds the canonical
{ name?, email?, phone? }values (only thefields the visitor filled in, trimmed) and resumes the parked turn via the existing
submitInteraction()verb; a Decline path sendsdeclined: true. Server-sideinteraction_invaliderrors 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 viaaria-describedby.The
interactionCardsregistry (kindβ card) now carries bothchoicesandidentity_intake; it moved to its owncomponents/interactionCards.tsmodule soeach card file owns only its card, and its value type is a loose common
InteractionCardPropsso a dynamicinteractionCards[kind]lookup renders anykind with no per-kind code. The web-chat example declares the
identity_formcapability alongside
choice_chipsincreate_conversation_session, and itsexisting overlay-slot lookup renders the card unchanged.
No protocol/client change β the generic
submit_interactionverb already speaksevery kind.
@smooai/smooth-operator-web-chat-example@0.0.98
Patch Changes