Skip to content

feat(realtime): add optional referenceFrame to set/setImage#135

Draft
tomershlasky wants to merge 9 commits into
mainfrom
feat/sdk-reference-frame
Draft

feat(realtime): add optional referenceFrame to set/setImage#135
tomershlasky wants to merge 9 commits into
mainfrom
feat/sdk-reference-frame

Conversation

@tomershlasky
Copy link
Copy Markdown
Contributor

@tomershlasky tomershlasky commented May 13, 2026

Summary

  • Adds optional referenceFrame (Blob | File | base64 string | null) to set() and setImage() in the realtime SDK
  • Serializes to a new reference_frame field on the existing set_image WebSocket message — only emitted when caller provides it (no behavior change for existing callers)

Draft / preview only — not for merge.

Test plan

  • pnpm -C packages/sdk build clean
  • pnpm -C packages/sdk test — 175/175 pass, including 7 new tests covering wire-payload presence/absence, explicit null, Blob, and base64 inputs

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 13, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@decartai/sdk@135

commit: 1fb4b7c

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