Skip to content

Sync from internal repo (2026/05/09)#148

Draft
aurpsis-aai wants to merge 1 commit into
mainfrom
aurpsis/sync-voice-focus
Draft

Sync from internal repo (2026/05/09)#148
aurpsis-aai wants to merge 1 commit into
mainfrom
aurpsis/sync-voice-focus

Conversation

@aurpsis-aai
Copy link
Copy Markdown

Summary

Manual sync from the internal DeepLearning source 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 / voiceFocusThresholdreplaces the unreleased noiseSuppressionModel / noiseSuppressionThreshold. Wire keys are voice_focus / voice_focus_threshold (the API rename from PR DeepLearning#16121).
  • continuousPartials
  • customerSupportAudioCapture — logs a console warning when enabled, since it records session audio for AssemblyAI support.
  • includePartialTurns
  • redactPii / redactPiiPolicies / redactPiiSub
  • webhookUrl / webhookAuthHeaderName / webhookAuthHeaderValue
  • speaker?: string on StreamingWord

Version

  • 4.32.14.33.0 (additive feature changes, no break — the noiseSuppression* field shape it removes was never tagged in a public release).

Notes

  • This supersedes the stale open sync PR Sync from internal repo (YYYY/MM/DD) #145 (which was pre-rename; safe to close once this lands).
  • End-to-end manually verified: ran the Python SDK against sandbox000 with voice_focus=near-field + voice_focus_threshold=0.5. The connection params landed correctly in the streaming-api ctx logs (session d0d7bf5d-3742-45bf-a3d1-1850684bea89). The wire format the TS SDK now emits is identical.
  • The follow-on infrastructure issue — Deploy SDK workflow failing — should be addressed separately so future syncs go back to running automatically.

Test plan

  • npx tsc --noEmit -p tsconfig.json — clean
  • npx jest tests/unit/streaming.test.ts — 12/12 pass, including the new voice_focus test
  • Pre-existing failures in tests/unit/utils.test.ts (3) on Node 22: caused by navigator.userAgent in newer Node bypassing the runtime_env setter. Not caused by this PR — reproducible on main without these changes.

🤖 Generated with Claude Code

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>
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