Skip to content

Restore ConversationalAIAPI compatibility and render-mode fallback#14

Merged
plutoless merged 1 commit into
mainfrom
codex/conversational-ai-api-compat
Jul 24, 2026
Merged

Restore ConversationalAIAPI compatibility and render-mode fallback#14
plutoless merged 1 commit into
mainfrom
codex/conversational-ai-api-compat

Conversation

@alienzh

@alienzh alienzh commented Jul 20, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Restore the ConversationalAIAPI export and compatible enum/type aliases used by the Shengwang Web implementation.
  • Align IConversationalAIAPIConfig with the top-level rtmEngine API.
  • Add configurable WORD-to-TEXT transcript fallback when word timing data is unavailable.
  • Preserve rendered transcript history while discarding pending WORD queue data.
  • Bump the core and React packages to 2.9.1.

Migration

Replace the previous nested RTM configuration:

rtmConfig: { rtmEngine }

with:

rtmEngine

enableRenderModeFallback defaults to true. Set it to false to retain WORD-only behavior when timing data is missing.

Validation

  • pnpm test — 120 core and 33 React tests passed
  • Core typecheck passed
  • React typecheck passed
  • Interop typecheck passed
  • Lint passed
  • Production build passed

- export ConversationalAIAPI and legacy enum/type aliases
- move RTM configuration to the top-level rtmEngine field
- add configurable WORD-to-TEXT render fallback
- preserve rendered history while clearing pending WORD data
- update documentation, tests, demos, and package versions to 2.9.1
@alienzh
alienzh requested a review from plutoless July 20, 2026 13:55
@plutoless
plutoless merged commit 4174fa7 into main Jul 24, 2026
4 checks passed
@alienzh
alienzh deleted the codex/conversational-ai-api-compat branch July 24, 2026 06:31
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.

2 participants