Skip to content

chore(main): release react 0.2.0 - #24

Merged
GregHolmes merged 2 commits into
mainfrom
release-please--branches--main--components--react
Sep 10, 2026
Merged

chore(main): release react 0.2.0#24
GregHolmes merged 2 commits into
mainfrom
release-please--branches--main--components--react

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

🤖 I have created a release beep boop

0.2.0 (2026-09-10)

⚠ BREAKING CHANGES

  • react: AgentMode now includes "thinking" and public context and hook result types add required members.

Features

  • react: harden lifecycle and expand agent APIs (f6a16ac)

Bug Fixes

  • react: address review feedback (42cc340)
  • react: bundle portable declarations (7781263)
  • react: handle manual start failures (d605460)
  • react: report auto-start failures (4525294)
  • react: report auto-start failures once (d0309c4)
  • react: report automatic microphone failures (76fa954)

This PR was generated with Release Please. See documentation.

Release summary

@deepgram/react 0.2.0 updates the Voice Agent React layer for @deepgram/agents 0.1.2 and @deepgram/sdk 5.9.0.

New API

  • Add the "thinking" mode and isThinking state.
  • Add sendAgentMessage() with "default", "queue", and "interrupt" behavior.
  • Add updateListen(), updateThink(), updateSpeak(), and updatePrompt() for runtime settings updates.
  • Add typed protocol notification callbacks, including confirmations for runtime settings updates.
  • Make the new controls and state available through AgentProvider, focused hooks, and useDeepgramAgent.

Behavior and migration

  • Harden start, stop, reconnect, and StrictMode lifecycle handling so canceled or failed sessions cannot retain stale microphone, playback, or client-tool resources.
  • Automatic start failures report through onSdkError, or console.error when no callback is set. Manual start() rejects instead.
  • Package declarations now resolve agent types from @deepgram/agents in consumer projects.
  • AgentMode gains "thinking"; public context and hook result types gain required members; registerClientTool() returns an unsubscribe function; and useDeepgramAgent().start() clears conversation for a fresh session.

Verification

  • CI passes.
  • The packed 0.2.0 package passed strict consumer type checking and ESM/CommonJS import smoke tests.
  • A live text-only Voice Agent run verified connection, runtime updates and confirmations, injected agent and user messages, a response, and clean disconnect.

@GregHolmes
GregHolmes merged commit 41a58a3 into main Sep 10, 2026
1 check passed
@github-actions

Copy link
Copy Markdown
Contributor Author

🤖 Created releases:

🌻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant