Skip to content

πŸ¦‹ New version release - #466

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

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

Minor Changes

  • f5493e9: Add client-initiated turn cancellation (the "Stop button") to the Python async client SDK, mirroring the TypeScript client.

    • SmoothAgentClient.cancel(request_id=..., session_id=None) 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 request_id + originating session_id.
    • The terminal cancelled event now settles the matching MessageTurn as a user-stop: the turn resolves (never raises), await turn yields the Cancelled event, the async iterator ends cleanly, and turn.cancelled is True so callers 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.88

Patch Changes

  • Updated dependencies [f5493e9]
    • @smooai/smooth-operator@1.52.0

@brentrager
brentrager merged commit cdaf462 into main Aug 18, 2026
8 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