Skip to content

πŸ¦‹ New version release - #461

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

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

Minor Changes

  • 090af14: Add client-initiated turn cancellation (the "Stop button") to the TypeScript client SDK.

    • SmoothAgentClient.cancel({ requestId, sessionId? }) sends a cancel frame for an in-flight send_message turn.
    • MessageTurn.cancel() is the ergonomic "stop THIS turn" convenience β€” it cancels using the turn's own requestId + sessionId.
    • The terminal cancelled event now settles the matching MessageTurn as a user-stop: the turn resolves (never rejects), await turn yields the Cancelled event, the async iterator ends cleanly, and turn.cancelled is true so the UI can tell a user-stop apart from an error.
    • CancelRequest / Cancelled are now first-class members of the ClientAction / ServerEvent unions (and the validator's schema maps).

    Idempotent: cancelling with no active turn β€” or receiving a cancelled with no matching in-flight turn β€” is a harmless no-op.

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

Patch Changes

  • Updated dependencies [090af14]
    • @smooai/smooth-operator@1.51.0

@brentrager
brentrager merged commit bed4b3d 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