Skip to content

πŸ¦‹ New version release - #349

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

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

Minor Changes

  • 2d5dc0e: .NET server: implement the file-transfer contract (PR protocol: file-transfer contract (send_message.files[] + send_file directive)Β #342) β€” send_message.images[] / files[] and the send_file directive.

    The C# server was text-only on send_message; it now reaches Rust parity:

    • images[] β€” parsed fail-soft and attached to the turn as OpenAI image_url content parts. Because the engine builds the live user turn from a string (no content parts), the images ride on an image-only ChatMessage seated on the thread immediately before the text turn β€” so the model sees them adjacent to the question, with no empty or duplicated message. A data: URL becomes a DataContent, an http(s) URL a UriContent; the optional vision detail hint rides on AdditionalProperties. Malformed/unsupported entries are dropped, never rejecting the turn.
    • files[] β€” parsed fail-soft and surfaced on a new per-turn TurnContext (files list + directive sink), published as an AsyncLocal around the run so a host tool the engine invokes can read them. Never sent to the model.
    • send_file directive β€” a host tool writes an opaque directive onto TurnContext.Current.Directive; the runner drains it after the turn onto eventual_response.directive (last-write-wins, omitted when none for back-compat).
    • Generated Types.cs regenerated from the updated spec (adds SendMessageRequest.Files, Skill).

    Backward compatible: absent images/files and no host directive is byte-for-byte the previous text-only behavior. Source-only β€” the engine stays the published NuGet.

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