Sync from internal repo (2026/05/09)#148
Draft
aurpsis-aai wants to merge 1 commit into
Draft
Conversation
Brings the public node SDK in line with the internal source for #16289 "feat(ts-sdk): add streaming params for parity with Python SDK". Streaming param additions / changes: - voiceFocus / voiceFocusThreshold (replaces unreleased noiseSuppressionModel / noiseSuppressionThreshold; wire keys are voice_focus / voice_focus_threshold per the API rename) - continuousPartials - customerSupportAudioCapture (logs a warning when enabled) - includePartialTurns - redactPii / redactPiiPolicies / redactPiiSub - webhookUrl / webhookAuthHeaderName / webhookAuthHeaderValue - speaker?: string on StreamingWord Bumps version to 4.33.0 and updates CHANGELOG. Manual sync — the auto Deploy SDK workflow has been failing on the self-hosted runner since 2026-04-24 due to a missing Java runtime. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Manual sync from the internal
DeepLearningsource for the TypeScript SDK. Picks up several streaming PRs that have not yet reached the public repo because the automated Deploy SDK workflow has been failing on the self-hosted runner since 2026-04-24 (missing Java runtime in the build env).The headline change is #16289 (
feat(ts-sdk): add streaming params for parity with Python SDK):Streaming param additions / renames
voiceFocus/voiceFocusThreshold— replaces the unreleasednoiseSuppressionModel/noiseSuppressionThreshold. Wire keys arevoice_focus/voice_focus_threshold(the API rename from PR DeepLearning#16121).continuousPartialscustomerSupportAudioCapture— logs a console warning when enabled, since it records session audio for AssemblyAI support.includePartialTurnsredactPii/redactPiiPolicies/redactPiiSubwebhookUrl/webhookAuthHeaderName/webhookAuthHeaderValuespeaker?: stringonStreamingWordVersion
4.32.1→4.33.0(additive feature changes, no break — thenoiseSuppression*field shape it removes was never tagged in a public release).Notes
sandbox000withvoice_focus=near-field+voice_focus_threshold=0.5. The connection params landed correctly in thestreaming-apictx logs (sessiond0d7bf5d-3742-45bf-a3d1-1850684bea89). The wire format the TS SDK now emits is identical.Test plan
npx tsc --noEmit -p tsconfig.json— cleannpx jest tests/unit/streaming.test.ts— 12/12 pass, including the newvoice_focustesttests/unit/utils.test.ts(3) on Node 22: caused bynavigator.userAgentin newer Node bypassing theruntime_envsetter. Not caused by this PR — reproducible onmainwithout these changes.🤖 Generated with Claude Code