Skip to content

πŸ¦‹ New version release - #351

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

πŸ¦‹ New version release#351
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-server@1.8.0

Minor Changes

  • ee2bdaa: send_message grows an optional files[] array β€” non-image attachments the host persists, never sent to the model.

    Each entry is { name, mimeType?, url }. Parsing mirrors images: fail-soft (an absent key β‡’ empty, a malformed array is dropped rather than rejecting the turn). Unlike images, files do NOT reach the model β€” they ride the turn's ToolProviderContext only, so a host tool (paired with the send_file directive convention on eventual_response.directive) can persist and echo them back.

    • New smooth_operator::tool_provider::UserFile { name, mime, url } (mimeType ↔ mime on the wire), alongside UserImage.
    • ToolProviderContext.files + with_files(..) builder; threaded from the send_message frame through TurnRequest into the per-turn tool-provider context.

    Backward compatible: an absent files field is byte-for-byte the previous behavior. Rust is the reference implementation.

@brentrager
brentrager merged commit a2e0c14 into main Aug 11, 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