Skip to content

πŸ¦‹ New version release - #481

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

πŸ¦‹ New version release#481
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.54.0

Minor Changes

  • baaf07a: feat(web): choices Rich Interaction card (AskUserQuestion) for the React SDK + web-chat example

    The choices interaction kind (structured multiple-choice ask, modeled on Claude
    Code's AskUserQuestion) now has a web renderer. ChoicesCard (exported from
    @smooai/smooth-operator/react) renders each question's header, prompt, and
    option chips β€” radios when multiSelect is false, checkboxes when true β€” plus a
    free-text "Other" escape hatch per question that is always available. Submit
    builds the canonical { answers: [{ header, options?, other? }] } values and
    resumes the parked turn via the existing submitInteraction() verb; a Decline
    path sends declined: true. Server-side interaction_invalid errors re-render
    per question with the turn still parked.

    A minimal interactionCards registry (kind β†’ card) is exported so a client
    looks the card up by kind; choices is registered there. The web-chat example
    declares the choice_chips capability in create_conversation_session and
    renders the card in its overlay slot above the composer.

    Also regenerates src/generated/types.ts from spec/ (adds ChoicesSpec /
    ChoicesValues / ChoicesPayload; picks up the already-merged optional-agentId
    and choice_chips spec descriptions). No protocol/client change β€” the generic
    submit_interaction verb already speaks every kind.

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

Patch Changes

  • Updated dependencies [baaf07a]
    • @smooai/smooth-operator@1.54.0

@brentrager
brentrager enabled auto-merge (squash) August 18, 2026 22:47
@brentrager
brentrager merged commit 66c8108 into main Aug 18, 2026
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