@convai/web-sdk 1.9.0-beta.0 → 1.9.0-beta.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +35 -43
- package/dist/core/AudioManager.d.ts +0 -1
- package/dist/core/AudioManager.js +0 -1
- package/dist/core/BlendshapeQueue.d.ts +0 -1
- package/dist/core/BlendshapeQueue.js +20 -6
- package/dist/core/CharacterRoster.d.ts +0 -1
- package/dist/core/CharacterRoster.js +0 -1
- package/dist/core/CharacterVersionManager.d.ts +0 -1
- package/dist/core/CharacterVersionManager.js +0 -1
- package/dist/core/ConnectionStateHandler.d.ts +0 -1
- package/dist/core/ConnectionStateHandler.js +5 -2
- package/dist/core/ConvaiClient.d.ts +66 -3
- package/dist/core/ConvaiClient.js +253 -20
- package/dist/core/ConvaiRoomError.d.ts +0 -1
- package/dist/core/ConvaiRoomError.js +20 -2
- package/dist/core/EventEmitter.d.ts +0 -1
- package/dist/core/EventEmitter.js +0 -1
- package/dist/core/MemoryManager.d.ts +0 -1
- package/dist/core/MemoryManager.js +0 -1
- package/dist/core/MessageHandler.d.ts +5 -3
- package/dist/core/MessageHandler.js +125 -47
- package/dist/core/SSESession.d.ts +13 -9
- package/dist/core/SSESession.js +240 -13
- package/dist/core/ScreenShareManager.d.ts +0 -1
- package/dist/core/ScreenShareManager.js +0 -1
- package/dist/core/VideoManager.d.ts +0 -1
- package/dist/core/VideoManager.js +0 -1
- package/dist/core/characterInfo.d.ts +45 -0
- package/dist/core/characterInfo.js +55 -0
- package/dist/core/characterReference.d.ts +0 -1
- package/dist/core/characterReference.js +0 -1
- package/dist/core/connectRequest.d.ts +0 -1
- package/dist/core/connectRequest.js +0 -1
- package/dist/core/contextUpdateRequest.d.ts +0 -1
- package/dist/core/contextUpdateRequest.js +0 -1
- package/dist/core/index.d.ts +6 -1
- package/dist/core/index.js +20 -1
- package/dist/core/logicalTurn.d.ts +0 -1
- package/dist/core/logicalTurn.js +0 -1
- package/dist/core/modelOutput.d.ts +0 -1
- package/dist/core/modelOutput.js +0 -1
- package/dist/core/publishedChat.d.ts +0 -1
- package/dist/core/publishedChat.js +0 -1
- package/dist/core/rosterRequest.d.ts +0 -1
- package/dist/core/rosterRequest.js +0 -1
- package/dist/core/rtviEnvelope.d.ts +5 -0
- package/dist/core/rtviEnvelope.js +9 -0
- package/dist/core/types.d.ts +241 -17
- package/dist/core/types.js +0 -1
- package/dist/core/videoSourceState.d.ts +0 -1
- package/dist/core/videoSourceState.js +0 -1
- package/dist/core/visionRequest.d.ts +0 -1
- package/dist/core/visionRequest.js +0 -1
- package/dist/embed/index.d.ts +20 -3
- package/dist/embed/index.js +20 -3
- package/dist/embed/publicationApi.d.ts +0 -1
- package/dist/embed/publicationApi.js +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/lipsync-helpers/arkitOrder61.d.ts +0 -1
- package/dist/lipsync-helpers/arkitOrder61.js +5 -3
- package/dist/lipsync-helpers/createBlendshapeQueue.d.ts +0 -1
- package/dist/lipsync-helpers/createBlendshapeQueue.js +7 -1
- package/dist/lipsync-helpers/declarativeMapping.d.ts +2 -1
- package/dist/lipsync-helpers/declarativeMapping.js +72 -146
- package/dist/lipsync-helpers/index.d.ts +0 -1
- package/dist/lipsync-helpers/index.js +0 -1
- package/dist/lipsync-helpers/mappingTypes.d.ts +6 -5
- package/dist/lipsync-helpers/mappingTypes.js +0 -1
- package/dist/lipsync-helpers/metahumanOrder251.d.ts +0 -1
- package/dist/lipsync-helpers/metahumanOrder251.js +8 -9
- package/dist/lipsync-helpers/mhaLimitDrivers.d.ts +0 -1
- package/dist/lipsync-helpers/mhaLimitDrivers.js +0 -1
- package/dist/lipsync-helpers/naturalness/processor.d.ts +0 -1
- package/dist/lipsync-helpers/naturalness/processor.js +6 -4
- package/dist/lipsync-helpers/naturalness/profiles/mha.d.ts +0 -1
- package/dist/lipsync-helpers/naturalness/profiles/mha.js +0 -1
- package/dist/lipsync-helpers/naturalness/types.d.ts +0 -1
- package/dist/lipsync-helpers/naturalness/types.js +0 -1
- package/dist/lipsync-helpers/presetMappers.d.ts +0 -1
- package/dist/lipsync-helpers/presetMappers.js +0 -1
- package/dist/react/components/ConvaiWidget.d.ts +9 -1
- package/dist/react/components/ConvaiWidget.js +23 -28
- package/dist/react/components/index.d.ts +0 -1
- package/dist/react/components/index.js +0 -1
- package/dist/react/components/rtc-widget/components/AudioSettingsPanel.d.ts +0 -1
- package/dist/react/components/rtc-widget/components/AudioSettingsPanel.js +0 -1
- package/dist/react/components/rtc-widget/components/AudioVisualizer.d.ts +0 -1
- package/dist/react/components/rtc-widget/components/AudioVisualizer.js +0 -1
- package/dist/react/components/rtc-widget/components/ConviMessage.d.ts +4 -2
- package/dist/react/components/rtc-widget/components/ConviMessage.js +2 -3
- package/dist/react/components/rtc-widget/components/FloatingVideo.d.ts +0 -1
- package/dist/react/components/rtc-widget/components/FloatingVideo.js +1 -3
- package/dist/react/components/rtc-widget/components/MarkdownRenderer.d.ts +21 -4
- package/dist/react/components/rtc-widget/components/MarkdownRenderer.js +114 -131
- package/dist/react/components/rtc-widget/components/MessageBubble.d.ts +0 -1
- package/dist/react/components/rtc-widget/components/MessageBubble.js +0 -1
- package/dist/react/components/rtc-widget/components/MessageList.d.ts +4 -2
- package/dist/react/components/rtc-widget/components/MessageList.js +2 -3
- package/dist/react/components/rtc-widget/components/SiteCard.d.ts +14 -0
- package/dist/react/components/rtc-widget/components/SiteCard.js +34 -0
- package/dist/react/components/rtc-widget/components/UserMessage.d.ts +0 -1
- package/dist/react/components/rtc-widget/components/UserMessage.js +1 -2
- package/dist/react/components/rtc-widget/components/conviComponents/ConviButton.d.ts +0 -1
- package/dist/react/components/rtc-widget/components/conviComponents/ConviButton.js +0 -1
- package/dist/react/components/rtc-widget/components/conviComponents/ConviFooter.d.ts +0 -1
- package/dist/react/components/rtc-widget/components/conviComponents/ConviFooter.js +1 -3
- package/dist/react/components/rtc-widget/components/conviComponents/ConviHeader.d.ts +0 -1
- package/dist/react/components/rtc-widget/components/conviComponents/ConviHeader.js +1 -3
- package/dist/react/components/rtc-widget/components/conviComponents/SettingsTray.d.ts +0 -1
- package/dist/react/components/rtc-widget/components/conviComponents/SettingsTray.js +1 -4
- package/dist/react/components/rtc-widget/components/conviComponents/VoiceModeOverlay.d.ts +0 -1
- package/dist/react/components/rtc-widget/components/conviComponents/VoiceModeOverlay.js +0 -1
- package/dist/react/components/rtc-widget/components/conviComponents/index.d.ts +0 -1
- package/dist/react/components/rtc-widget/components/conviComponents/index.js +0 -1
- package/dist/react/components/rtc-widget/components/index.d.ts +0 -1
- package/dist/react/components/rtc-widget/components/index.js +0 -1
- package/dist/react/components/rtc-widget/index.d.ts +0 -1
- package/dist/react/components/rtc-widget/index.js +0 -1
- package/dist/react/components/rtc-widget/styles/framerConfig.d.ts +0 -1
- package/dist/react/components/rtc-widget/styles/framerConfig.js +0 -1
- package/dist/react/components/rtc-widget/styles/icons.d.ts +0 -1
- package/dist/react/components/rtc-widget/styles/icons.js +0 -1
- package/dist/react/components/rtc-widget/styles/index.d.ts +0 -1
- package/dist/react/components/rtc-widget/styles/index.js +0 -1
- package/dist/react/components/rtc-widget/styles/styledComponents.d.ts +0 -1
- package/dist/react/components/rtc-widget/styles/styledComponents.js +0 -1
- package/dist/react/components/rtc-widget/styles/theme.d.ts +0 -1
- package/dist/react/components/rtc-widget/styles/theme.js +0 -1
- package/dist/react/components/rtc-widget/types/index.d.ts +0 -1
- package/dist/react/components/rtc-widget/types/index.js +0 -1
- package/dist/react/hooks/index.d.ts +0 -1
- package/dist/react/hooks/index.js +0 -1
- package/dist/react/hooks/useCharacterInfo.d.ts +12 -11
- package/dist/react/hooks/useCharacterInfo.js +49 -50
- package/dist/react/hooks/useConvaiClient.d.ts +0 -1
- package/dist/react/hooks/useConvaiClient.js +8 -5
- package/dist/react/hooks/useLocalCameraTrack.d.ts +0 -1
- package/dist/react/hooks/useLocalCameraTrack.js +0 -1
- package/dist/react/icons.d.ts +37 -0
- package/dist/react/icons.js +53 -0
- package/dist/react/index.d.ts +4 -1
- package/dist/react/index.js +2 -1
- package/dist/utils/inlineMarkdown.d.ts +0 -1
- package/dist/utils/inlineMarkdown.js +0 -1
- package/dist/utils/lightbox.d.ts +15 -0
- package/dist/utils/lightbox.js +94 -0
- package/dist/utils/linkPresentation.d.ts +75 -0
- package/dist/utils/linkPresentation.js +414 -0
- package/dist/utils/linkPreview.d.ts +45 -0
- package/dist/utils/linkPreview.js +71 -0
- package/dist/utils/logger.d.ts +0 -1
- package/dist/utils/logger.js +0 -1
- package/dist/vanilla/AudioRenderer.d.ts +0 -1
- package/dist/vanilla/AudioRenderer.js +0 -1
- package/dist/vanilla/ConvaiWidget.d.ts +0 -1
- package/dist/vanilla/ConvaiWidget.js +302 -226
- package/dist/vanilla/WebSocketSession.d.ts +0 -1
- package/dist/vanilla/WebSocketSession.js +0 -1
- package/dist/vanilla/WidgetEventSubscriptions.d.ts +0 -1
- package/dist/vanilla/WidgetEventSubscriptions.js +0 -1
- package/dist/vanilla/icons.d.ts +0 -1
- package/dist/vanilla/icons.js +0 -1
- package/dist/vanilla/index.d.ts +4 -1
- package/dist/vanilla/index.js +2 -1
- package/dist/vanilla/styles.d.ts +0 -1
- package/dist/vanilla/styles.js +9 -1
- package/dist/vanilla/types.d.ts +9 -1
- package/dist/vanilla/types.js +0 -1
- package/dist/vanilla/websocket.d.ts +0 -1
- package/dist/vanilla/websocket.js +0 -1
- package/dist/version.d.ts +1 -2
- package/dist/version.js +1 -2
- package/package.json +23 -28
- package/dist/core/AudioManager.d.ts.map +0 -1
- package/dist/core/AudioManager.js.map +0 -1
- package/dist/core/BlendshapeQueue.d.ts.map +0 -1
- package/dist/core/BlendshapeQueue.js.map +0 -1
- package/dist/core/CharacterRoster.d.ts.map +0 -1
- package/dist/core/CharacterRoster.js.map +0 -1
- package/dist/core/CharacterVersionManager.d.ts.map +0 -1
- package/dist/core/CharacterVersionManager.js.map +0 -1
- package/dist/core/ConnectionStateHandler.d.ts.map +0 -1
- package/dist/core/ConnectionStateHandler.js.map +0 -1
- package/dist/core/ConvaiClient.d.ts.map +0 -1
- package/dist/core/ConvaiClient.js.map +0 -1
- package/dist/core/ConvaiRoomError.d.ts.map +0 -1
- package/dist/core/ConvaiRoomError.js.map +0 -1
- package/dist/core/EventEmitter.d.ts.map +0 -1
- package/dist/core/EventEmitter.js.map +0 -1
- package/dist/core/MemoryManager.d.ts.map +0 -1
- package/dist/core/MemoryManager.js.map +0 -1
- package/dist/core/MessageHandler.d.ts.map +0 -1
- package/dist/core/MessageHandler.js.map +0 -1
- package/dist/core/SSESession.d.ts.map +0 -1
- package/dist/core/SSESession.js.map +0 -1
- package/dist/core/ScreenShareManager.d.ts.map +0 -1
- package/dist/core/ScreenShareManager.js.map +0 -1
- package/dist/core/VideoManager.d.ts.map +0 -1
- package/dist/core/VideoManager.js.map +0 -1
- package/dist/core/characterReference.d.ts.map +0 -1
- package/dist/core/characterReference.js.map +0 -1
- package/dist/core/connectRequest.d.ts.map +0 -1
- package/dist/core/connectRequest.js.map +0 -1
- package/dist/core/contextUpdateRequest.d.ts.map +0 -1
- package/dist/core/contextUpdateRequest.js.map +0 -1
- package/dist/core/index.d.ts.map +0 -1
- package/dist/core/index.js.map +0 -1
- package/dist/core/logicalTurn.d.ts.map +0 -1
- package/dist/core/logicalTurn.js.map +0 -1
- package/dist/core/modelOutput.d.ts.map +0 -1
- package/dist/core/modelOutput.js.map +0 -1
- package/dist/core/publishedChat.d.ts.map +0 -1
- package/dist/core/publishedChat.js.map +0 -1
- package/dist/core/rosterRequest.d.ts.map +0 -1
- package/dist/core/rosterRequest.js.map +0 -1
- package/dist/core/types.d.ts.map +0 -1
- package/dist/core/types.js.map +0 -1
- package/dist/core/videoSourceState.d.ts.map +0 -1
- package/dist/core/videoSourceState.js.map +0 -1
- package/dist/core/visionRequest.d.ts.map +0 -1
- package/dist/core/visionRequest.js.map +0 -1
- package/dist/embed/ConvaiChatElement.d.ts +0 -103
- package/dist/embed/ConvaiChatElement.d.ts.map +0 -1
- package/dist/embed/ConvaiChatElement.js +0 -679
- package/dist/embed/ConvaiChatElement.js.map +0 -1
- package/dist/embed/browser.d.ts +0 -3
- package/dist/embed/browser.d.ts.map +0 -1
- package/dist/embed/browser.js +0 -5
- package/dist/embed/browser.js.map +0 -1
- package/dist/embed/chat-embed-v1.js +0 -200
- package/dist/embed/chat-embed-v1.js.map +0 -7
- package/dist/embed/index.d.ts.map +0 -1
- package/dist/embed/index.js.map +0 -1
- package/dist/embed/publicationApi.d.ts.map +0 -1
- package/dist/embed/publicationApi.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/lipsync-helpers/arkitOrder61.d.ts.map +0 -1
- package/dist/lipsync-helpers/arkitOrder61.js.map +0 -1
- package/dist/lipsync-helpers/createBlendshapeQueue.d.ts.map +0 -1
- package/dist/lipsync-helpers/createBlendshapeQueue.js.map +0 -1
- package/dist/lipsync-helpers/declarativeMapping.d.ts.map +0 -1
- package/dist/lipsync-helpers/declarativeMapping.js.map +0 -1
- package/dist/lipsync-helpers/index.d.ts.map +0 -1
- package/dist/lipsync-helpers/index.js.map +0 -1
- package/dist/lipsync-helpers/mappingTypes.d.ts.map +0 -1
- package/dist/lipsync-helpers/mappingTypes.js.map +0 -1
- package/dist/lipsync-helpers/metahumanOrder251.d.ts.map +0 -1
- package/dist/lipsync-helpers/metahumanOrder251.js.map +0 -1
- package/dist/lipsync-helpers/mhaLimitDrivers.d.ts.map +0 -1
- package/dist/lipsync-helpers/mhaLimitDrivers.js.map +0 -1
- package/dist/lipsync-helpers/naturalness/processor.d.ts.map +0 -1
- package/dist/lipsync-helpers/naturalness/processor.js.map +0 -1
- package/dist/lipsync-helpers/naturalness/profiles/mha.d.ts.map +0 -1
- package/dist/lipsync-helpers/naturalness/profiles/mha.js.map +0 -1
- package/dist/lipsync-helpers/naturalness/types.d.ts.map +0 -1
- package/dist/lipsync-helpers/naturalness/types.js.map +0 -1
- package/dist/lipsync-helpers/presetMappers.d.ts.map +0 -1
- package/dist/lipsync-helpers/presetMappers.js.map +0 -1
- package/dist/react/components/ConvaiWidget.d.ts.map +0 -1
- package/dist/react/components/ConvaiWidget.js.map +0 -1
- package/dist/react/components/index.d.ts.map +0 -1
- package/dist/react/components/index.js.map +0 -1
- package/dist/react/components/rtc-widget/components/AudioSettingsPanel.d.ts.map +0 -1
- package/dist/react/components/rtc-widget/components/AudioSettingsPanel.js.map +0 -1
- package/dist/react/components/rtc-widget/components/AudioVisualizer.d.ts.map +0 -1
- package/dist/react/components/rtc-widget/components/AudioVisualizer.js.map +0 -1
- package/dist/react/components/rtc-widget/components/ConviMessage.d.ts.map +0 -1
- package/dist/react/components/rtc-widget/components/ConviMessage.js.map +0 -1
- package/dist/react/components/rtc-widget/components/FloatingVideo.d.ts.map +0 -1
- package/dist/react/components/rtc-widget/components/FloatingVideo.js.map +0 -1
- package/dist/react/components/rtc-widget/components/MarkdownRenderer.d.ts.map +0 -1
- package/dist/react/components/rtc-widget/components/MarkdownRenderer.js.map +0 -1
- package/dist/react/components/rtc-widget/components/MessageBubble.d.ts.map +0 -1
- package/dist/react/components/rtc-widget/components/MessageBubble.js.map +0 -1
- package/dist/react/components/rtc-widget/components/MessageList.d.ts.map +0 -1
- package/dist/react/components/rtc-widget/components/MessageList.js.map +0 -1
- package/dist/react/components/rtc-widget/components/UserMessage.d.ts.map +0 -1
- package/dist/react/components/rtc-widget/components/UserMessage.js.map +0 -1
- package/dist/react/components/rtc-widget/components/conviComponents/ConviButton.d.ts.map +0 -1
- package/dist/react/components/rtc-widget/components/conviComponents/ConviButton.js.map +0 -1
- package/dist/react/components/rtc-widget/components/conviComponents/ConviFooter.d.ts.map +0 -1
- package/dist/react/components/rtc-widget/components/conviComponents/ConviFooter.js.map +0 -1
- package/dist/react/components/rtc-widget/components/conviComponents/ConviHeader.d.ts.map +0 -1
- package/dist/react/components/rtc-widget/components/conviComponents/ConviHeader.js.map +0 -1
- package/dist/react/components/rtc-widget/components/conviComponents/SettingsTray.d.ts.map +0 -1
- package/dist/react/components/rtc-widget/components/conviComponents/SettingsTray.js.map +0 -1
- package/dist/react/components/rtc-widget/components/conviComponents/VoiceModeOverlay.d.ts.map +0 -1
- package/dist/react/components/rtc-widget/components/conviComponents/VoiceModeOverlay.js.map +0 -1
- package/dist/react/components/rtc-widget/components/conviComponents/index.d.ts.map +0 -1
- package/dist/react/components/rtc-widget/components/conviComponents/index.js.map +0 -1
- package/dist/react/components/rtc-widget/components/index.d.ts.map +0 -1
- package/dist/react/components/rtc-widget/components/index.js.map +0 -1
- package/dist/react/components/rtc-widget/index.d.ts.map +0 -1
- package/dist/react/components/rtc-widget/index.js.map +0 -1
- package/dist/react/components/rtc-widget/styles/framerConfig.d.ts.map +0 -1
- package/dist/react/components/rtc-widget/styles/framerConfig.js.map +0 -1
- package/dist/react/components/rtc-widget/styles/icons.d.ts.map +0 -1
- package/dist/react/components/rtc-widget/styles/icons.js.map +0 -1
- package/dist/react/components/rtc-widget/styles/index.d.ts.map +0 -1
- package/dist/react/components/rtc-widget/styles/index.js.map +0 -1
- package/dist/react/components/rtc-widget/styles/styledComponents.d.ts.map +0 -1
- package/dist/react/components/rtc-widget/styles/styledComponents.js.map +0 -1
- package/dist/react/components/rtc-widget/styles/theme.d.ts.map +0 -1
- package/dist/react/components/rtc-widget/styles/theme.js.map +0 -1
- package/dist/react/components/rtc-widget/types/index.d.ts.map +0 -1
- package/dist/react/components/rtc-widget/types/index.js.map +0 -1
- package/dist/react/hooks/index.d.ts.map +0 -1
- package/dist/react/hooks/index.js.map +0 -1
- package/dist/react/hooks/useCharacterInfo.d.ts.map +0 -1
- package/dist/react/hooks/useCharacterInfo.js.map +0 -1
- package/dist/react/hooks/useConvaiClient.d.ts.map +0 -1
- package/dist/react/hooks/useConvaiClient.js.map +0 -1
- package/dist/react/hooks/useLocalCameraTrack.d.ts.map +0 -1
- package/dist/react/hooks/useLocalCameraTrack.js.map +0 -1
- package/dist/react/index.d.ts.map +0 -1
- package/dist/react/index.js.map +0 -1
- package/dist/utils/inlineMarkdown.d.ts.map +0 -1
- package/dist/utils/inlineMarkdown.js.map +0 -1
- package/dist/utils/logger.d.ts.map +0 -1
- package/dist/utils/logger.js.map +0 -1
- package/dist/vanilla/AudioRenderer.d.ts.map +0 -1
- package/dist/vanilla/AudioRenderer.js.map +0 -1
- package/dist/vanilla/ConvaiWidget.d.ts.map +0 -1
- package/dist/vanilla/ConvaiWidget.js.map +0 -1
- package/dist/vanilla/WebSocketSession.d.ts.map +0 -1
- package/dist/vanilla/WebSocketSession.js.map +0 -1
- package/dist/vanilla/WidgetEventSubscriptions.d.ts.map +0 -1
- package/dist/vanilla/WidgetEventSubscriptions.js.map +0 -1
- package/dist/vanilla/icons.d.ts.map +0 -1
- package/dist/vanilla/icons.js.map +0 -1
- package/dist/vanilla/index.d.ts.map +0 -1
- package/dist/vanilla/index.js.map +0 -1
- package/dist/vanilla/styles.d.ts.map +0 -1
- package/dist/vanilla/styles.js.map +0 -1
- package/dist/vanilla/types.d.ts.map +0 -1
- package/dist/vanilla/types.js.map +0 -1
- package/dist/vanilla/websocket.d.ts.map +0 -1
- package/dist/vanilla/websocket.js.map +0 -1
- package/dist/version.d.ts.map +0 -1
- package/dist/version.js.map +0 -1
package/README.md
CHANGED
|
@@ -16,9 +16,9 @@ Install the beta with `npm install @convai/web-sdk@beta`.
|
|
|
16
16
|
|
|
17
17
|
- **Multi-character rooms** — connect a roster of characters with the `characters` config option (two copies of one character are two independent members), switch who answers with `setInteractionTarget()`, add or remove members live with `updateCharacterRoster()`, and let other participants join the same room with `joinRoom()`. Every transcript line, audio track and readiness event is attributed to a `membershipId`. [Usage below.](#multi-character-rooms-beta)
|
|
18
18
|
- **Agentic actions and canonical model output (v2)** — opt in with `capabilities`, declare client-executed tools in `actionConfig.tools`, consume typed `modelOutput` envelopes, return results with `sendActionResultAndWait()` for a correlated server acknowledgement, and read the raw provider stream through `botLlmTextRaw`. `visionPromptMode: "disabled"` keeps scene context without advertising visual perception. [Usage below.](#agentic-actions-and-canonical-model-output-v2)
|
|
19
|
-
- **Published text chat** — a credential-free, text-only connection for public chat pages: `connectWithPublicationGrant()
|
|
19
|
+
- **Published text chat** — a credential-free, text-only connection for public chat pages: `connectWithPublicationGrant()` and `connectionType: "text"`. For a copy/paste embed, pair it with [`@convai/web-widget`](https://www.npmjs.com/package/@convai/web-widget). [Usage below.](#published-text-chat)
|
|
20
20
|
- **Typed events** — `client.on(event, callback)` infers each callback's payload from the exported `ConvaiEventMap`, so `botReady`, `modelOutput`, `characterStatus` and the rest are checked at compile time. See the [events reference](docs/convai_events.md).
|
|
21
|
-
- **Local transcript lines and usage updates** — `appendMessage()` inserts a line into the transcript without sending anything, and `toggleUsageUpdates(true)` opts into per-turn `usageUpdate` cost breakdowns.
|
|
21
|
+
- **Local transcript lines and usage updates** — `appendMessage()` inserts a line into the transcript without sending anything, and `toggleUsageUpdates(true)` opts into per-turn `usageUpdate` cost breakdowns (on a session connected with `debug: true`; otherwise the server has no usage stream).
|
|
22
22
|
- **Character versioning** — connect to a character's editable draft, its promoted latest release, or an immutable tag with the `characterVersion` config option, and list, compare, release, promote, fork and discard versions through `client.characterVersions`. [Usage below.](#character-versioning-beta)
|
|
23
23
|
- **SSE interaction transport** — text-only streamed interactions through the interaction API, selected by `interactionApiUrl`; the one transport that runs under Node. [Usage below.](#sse-interaction-transport-beta)
|
|
24
24
|
- **Embeddable vanilla widget** — the vanilla widget runs inside a shadow root, with a character header and a connecting overlay, so it can be dropped into any page.
|
|
@@ -50,7 +50,7 @@ Install the beta with `npm install @convai/web-sdk@beta`.
|
|
|
50
50
|
- **Long-term memory** — persistent cross-session memories scoped to each end user
|
|
51
51
|
- **Multi-character rooms** — a roster of characters in one room, per-member attribution, live roster changes
|
|
52
52
|
- **Agentic actions (v2)** — client-executed tools, canonical model output, acknowledged action results, raw provider stream
|
|
53
|
-
- **Published text chat** — grant-based, credential-free text sessions
|
|
53
|
+
- **Published text chat** — grant-based, credential-free text sessions
|
|
54
54
|
- **Typed events** — every `client.on` payload typed through `ConvaiEventMap`
|
|
55
55
|
- **Character versioning** — connect to a draft, latest, or tagged version, and manage releases from the client
|
|
56
56
|
- **File upload** — send images to the character during a live session
|
|
@@ -171,55 +171,48 @@ to reuse the consumed token:
|
|
|
171
171
|
/>
|
|
172
172
|
```
|
|
173
173
|
|
|
174
|
-
For copy/paste installation without an application build step,
|
|
175
|
-
|
|
176
|
-
custom element
|
|
174
|
+
For copy/paste installation without an application build step, use
|
|
175
|
+
[`@convai/web-widget`](https://www.npmjs.com/package/@convai/web-widget). Its
|
|
176
|
+
`<convai-widget>` custom element reads the same publication attributes, mints
|
|
177
|
+
its own grant per session, and labels itself from the public descriptor:
|
|
177
178
|
|
|
178
179
|
```html
|
|
179
|
-
<script
|
|
180
|
-
type="module"
|
|
181
|
-
src="https://cdn.jsdelivr.net/npm/@convai/web-sdk@<SDK_VERSION>/dist/embed/chat-embed-v1.js"
|
|
182
|
-
></script>
|
|
183
|
-
<convai-chat publication-id="PUBLICATION_UUID"></convai-chat>
|
|
184
|
-
```
|
|
185
|
-
|
|
186
|
-
The element renders directly in the host page with Shadow DOM style isolation,
|
|
187
|
-
automatically mints a fresh grant per connection, and emits `convai-ready`,
|
|
188
|
-
`convai-disconnect`, `convai-error`, `convai-copy`, and `convai-session-reset`
|
|
189
|
-
DOM events. It accepts `full-window`, `display-name` and `image-url` alongside
|
|
190
|
-
the endpoint attributes, and is themed through `--convai-chat-*` custom
|
|
191
|
-
properties — see [the published chat guide](docs/convai_published_chat.md#the-convai-chat-element). The production bundle uses
|
|
192
|
-
`https://api.convai.com` and `https://realtime-api.convai.com` only as defaults
|
|
193
|
-
for a hand-written SaaS integration. Platform-generated snippets always emit
|
|
194
|
-
the deployment's public Character API and Core endpoints explicitly, so an
|
|
195
|
-
on-prem or non-production embed never falls through to another deployment and
|
|
196
|
-
still requires no credential:
|
|
180
|
+
<script src="https://cdn.jsdelivr.net/npm/@convai/web-widget/v1.js" async></script>
|
|
197
181
|
|
|
198
|
-
|
|
199
|
-
<convai-chat
|
|
182
|
+
<convai-widget
|
|
200
183
|
publication-id="PUBLICATION_UUID"
|
|
201
184
|
publication-api-url="https://character-api.example.com"
|
|
202
185
|
core-url="https://realtime.example.com"
|
|
203
|
-
|
|
186
|
+
placement="inline"
|
|
187
|
+
style="display:block;width:100%;height:640px">
|
|
188
|
+
</convai-widget>
|
|
204
189
|
```
|
|
205
190
|
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
191
|
+
Two details are load-bearing, and each renders nothing when wrong: the script
|
|
192
|
+
tag must **not** be `type="module"` (the loader reads `document.currentScript`,
|
|
193
|
+
which is `null` in a module script), and a panel sized by `style` needs
|
|
194
|
+
`placement="inline"` — the widget otherwise defaults to a floating bubble.
|
|
195
|
+
Always pin an exact widget version rather than `latest`: generated embed
|
|
196
|
+
snippets must stay bound to the version validated for their target
|
|
197
|
+
environment. Platform-generated snippets emit the deployment's public
|
|
198
|
+
Character API and Core endpoints explicitly, so an on-prem or non-production
|
|
199
|
+
embed never falls through to another deployment and still requires no
|
|
200
|
+
credential.
|
|
201
|
+
|
|
202
|
+
The SDK used to ship this element itself, as `<convai-chat>` at
|
|
203
|
+
`@convai/web-sdk/embed/browser`. It re-bundled the whole SDK — 588 KB, 43% of
|
|
204
|
+
everything this package published — to render a chat panel the vanilla widget
|
|
205
|
+
already renders, so it was removed in favour of the widget package. The
|
|
206
|
+
server-safe publication helpers at `@convai/web-sdk/embed` are unchanged.
|
|
209
207
|
|
|
210
208
|
Descriptor and grant endpoints must allow credential-free cross-origin `GET`
|
|
211
209
|
and `POST` requests. The embed never receives a publisher API key, character
|
|
212
210
|
configuration, or reusable launch token.
|
|
213
211
|
|
|
214
|
-
For customer-managed and GovCloud deployments, the
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
requires an immutable semver tag matching `package.json`, refuses to overwrite
|
|
219
|
-
an existing Docker Hub tag, and publishes both amd64 and arm64 images. Pin the
|
|
220
|
-
resulting digest in the deployment repository; do not make an on-prem browser
|
|
221
|
-
depend on jsDelivr, npm availability, GCP workload identity, or the Experience
|
|
222
|
-
application image.
|
|
212
|
+
For customer-managed and GovCloud deployments, the browser artifact and its
|
|
213
|
+
on-prem image now live with [`@convai/web-widget`](https://www.npmjs.com/package/@convai/web-widget).
|
|
214
|
+
This package no longer builds `deploy/published-chat`, because it no longer
|
|
215
|
+
ships a browser bundle to serve.
|
|
223
216
|
|
|
224
217
|
---
|
|
225
218
|
|
|
@@ -246,7 +239,7 @@ Full documentation is at **<a href="https://docs.convai.com/api-docs/plugins-and
|
|
|
246
239
|
| <a href="https://docs.convai.com/api-docs/plugins-and-integrations/web-plugins/convai-web-sdk" target="_blank" rel="noopener noreferrer">SSE Transport</a> | Text-only interaction transport; the one that runs under Node |
|
|
247
240
|
| [Character Versioning](docs/convai_character_versioning.md) | Connect to a draft, latest, or tagged version; list, compare, release and promote versions |
|
|
248
241
|
| [Multi-Character Rooms](docs/convai_multi_character.md) | Rosters, `joinRoom`, interaction targets, live roster updates, per-member attribution |
|
|
249
|
-
| [Published Text Chat](docs/convai_published_chat.md) | Grant-based text-only sessions,
|
|
242
|
+
| [Published Text Chat](docs/convai_published_chat.md) | Grant-based text-only sessions, the copy/paste embed, lifecycle and API reference |
|
|
250
243
|
| [Link Previews](docs/convai_link_previews.md) | Rendering links the character sends: previews, custom chat UIs, the scheme allowlist |
|
|
251
244
|
| [Events Reference (local)](docs/convai_events.md) | Every event with its typed payload, including the v2 and multi-character events |
|
|
252
245
|
|
|
@@ -261,7 +254,6 @@ Full documentation is at **<a href="https://docs.convai.com/api-docs/plugins-and
|
|
|
261
254
|
| `@convai/web-sdk/vanilla` | `ConvaiClient`, `createConvaiWidget`, `AudioRenderer` |
|
|
262
255
|
| `@convai/web-sdk/core` | Framework-agnostic `ConvaiClient`, managers, and all types |
|
|
263
256
|
| `@convai/web-sdk/embed` | Server-safe publication descriptor and grant helpers |
|
|
264
|
-
| `@convai/web-sdk/embed/browser` | Self-contained browser bundle that registers `<convai-chat>` |
|
|
265
257
|
| `@convai/web-sdk/lipsync-helpers` | Blendshape format utilities and queue helpers |
|
|
266
258
|
| `@convai/web-sdk/vanilla/websocket` | **Opt-in.** Registers the WebSocket transport. Import alongside `/vanilla` when using `transport: "websocket"`. |
|
|
267
259
|
|
|
@@ -481,7 +473,7 @@ const triggerId = client.visionTrigger({
|
|
|
481
473
|
await client.videoControls.unpublishVisionSource(handle);
|
|
482
474
|
```
|
|
483
475
|
|
|
484
|
-
`visionStatus()` and `visionTrigger()` return an update id. Match it against `serverResponse` events for outcomes such as `frames_available`, `buffer_empty`, `attached`, or `
|
|
476
|
+
`visionStatus()` and `visionTrigger()` return an update id. Match it against `serverResponse` events for outcomes such as `frames_available`, `buffer_empty`, `attached`, `no_active_video` or `vision_not_enabled`. Vision needs more than `enableVideo: true`: the account's unified vision context feature and a vision-capable, non-realtime model. Without them frames publish fine but are never seen, and the SDK warns once per session.
|
|
485
477
|
|
|
486
478
|
---
|
|
487
479
|
|
|
@@ -649,7 +641,7 @@ client.updateEmotion("joy");
|
|
|
649
641
|
client.updateEmotion(null); // clear — "neutral" and "" clear it too
|
|
650
642
|
```
|
|
651
643
|
|
|
652
|
-
Values are trimmed and lowercased. The runtime value carries into the next connect, including a reconnect; an explicit `stateOfMind` in the connect config takes precedence.
|
|
644
|
+
The server applies Plutchik's eight primary emotions — `joy`, `trust`, `fear`, `surprise`, `sadness`, `disgust`, `anger`, `anticipation` — and ignores anything else (the SDK warns). Values are trimmed and lowercased. The runtime value carries into the next connect, including a reconnect; an explicit `stateOfMind` in the connect config takes precedence.
|
|
653
645
|
|
|
654
646
|
Requires backend support — live on production as of 2026-08-20. On a backend without it, the server replies with an `Unknown message type` error on `serverResponse`. Because `/connect` silently ignores unknown fields, a successful connect alone does not prove `state_of_mind` was applied, so watch the ack:
|
|
655
647
|
|
|
@@ -20,6 +20,25 @@
|
|
|
20
20
|
* - Mapper is applied when frames are added to the queue
|
|
21
21
|
* - Common use cases: ARKit 61 → ARKit 52, MetaHuman 251 → Custom format
|
|
22
22
|
*/
|
|
23
|
+
/**
|
|
24
|
+
* A frame scaled by alpha. Mapper output keeps its shape: the
|
|
25
|
+
* lipsync-helpers name mappers hang target names on the array
|
|
26
|
+
* (`__blendshapeNames`) or return `{ names, values, ... }`, and a fade that
|
|
27
|
+
* dropped either made getBlendshapeObject() return {} on faded frames.
|
|
28
|
+
*/
|
|
29
|
+
function scaleFrame(frame, alpha) {
|
|
30
|
+
const optimized = frame;
|
|
31
|
+
if (!(frame instanceof Float32Array) && optimized.values instanceof Float32Array) {
|
|
32
|
+
return { ...optimized, values: optimized.values.map((v) => v * alpha) };
|
|
33
|
+
}
|
|
34
|
+
const faded = new Float32Array(frame.length);
|
|
35
|
+
for (let i = 0; i < frame.length; i++)
|
|
36
|
+
faded[i] = frame[i] * alpha;
|
|
37
|
+
const names = frame.__blendshapeNames;
|
|
38
|
+
if (names)
|
|
39
|
+
Object.defineProperty(faded, "__blendshapeNames", { value: names, enumerable: false });
|
|
40
|
+
return faded;
|
|
41
|
+
}
|
|
23
42
|
export class BlendshapeQueue {
|
|
24
43
|
/**
|
|
25
44
|
* Create a new BlendshapeQueue
|
|
@@ -425,11 +444,7 @@ export class BlendshapeQueue {
|
|
|
425
444
|
}
|
|
426
445
|
// Apply alpha to all morph values
|
|
427
446
|
if (alpha < 1.0) {
|
|
428
|
-
|
|
429
|
-
for (let i = 0; i < frame.length; i++) {
|
|
430
|
-
fadedFrame[i] = frame[i] * alpha;
|
|
431
|
-
}
|
|
432
|
-
return fadedFrame;
|
|
447
|
+
return scaleFrame(frame, alpha);
|
|
433
448
|
}
|
|
434
449
|
return frame;
|
|
435
450
|
}
|
|
@@ -770,4 +785,3 @@ export class BlendshapeQueue {
|
|
|
770
785
|
BlendshapeQueue.TARGET_FPS = 60;
|
|
771
786
|
BlendshapeQueue.MAX_RETIRED_TIMELINE_ALIASES = 48;
|
|
772
787
|
BlendshapeQueue.MISSING_INDEXED_FRAME_GRACE_MS = (24 / BlendshapeQueue.TARGET_FPS) * 1000;
|
|
773
|
-
//# sourceMappingURL=BlendshapeQueue.js.map
|
|
@@ -51,7 +51,11 @@ export class ConnectionStateHandler {
|
|
|
51
51
|
isConnected: true,
|
|
52
52
|
isConnecting: false,
|
|
53
53
|
});
|
|
54
|
-
|
|
54
|
+
// Do not reset bot-ready here. Connecting (and Disconnected) already
|
|
55
|
+
// did, so a fresh connect still waits for it — but the first bot-ready
|
|
56
|
+
// data frame can arrive before this event (measured: 3ms early, 1
|
|
57
|
+
// connect in 5). Resetting then dropped it: botReady fired twice, and
|
|
58
|
+
// isBotReady stayed false until the server happened to send another.
|
|
55
59
|
}
|
|
56
60
|
else if (state === ConnectionState.Connecting) {
|
|
57
61
|
this.onStateUpdate({
|
|
@@ -81,4 +85,3 @@ export class ConnectionStateHandler {
|
|
|
81
85
|
this.onMessageHandlerReset();
|
|
82
86
|
}
|
|
83
87
|
}
|
|
84
|
-
//# sourceMappingURL=ConnectionStateHandler.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Room } from "livekit-client";
|
|
2
|
-
import { ConvaiConfig, ConvaiClientState, ChatMessage, IConvaiClient, PublishedChatConnectOptions, AudioControls, VideoControls, ScreenShareControls, DynamicInfo, ContextUpdateOptions, UploadFileOptions, ServerResponse, WebSocketSessionFactory, RespondModeUpdateOptions, UpdateSceneMetadataOptions, VisionStatusOptions, VisionTriggerOptions, ConnectionData, SendUserTextMessageOptions, ConvaiCharacterInstance, ConvaiRoomSession, JoinRoomOptions, ActiveCharacterChange, CharacterRosterChange, UpdateCharacterRosterOptions, AppendMessageOptions, ConvaiEventMap, ActionResult, ActionResultAck, ActionResultAckFailureReason, ActionResultAckOptions } from "./types.js";
|
|
2
|
+
import { ConvaiConfig, ConvaiClientState, ChatMessage, IConvaiClient, PublishedChatConnectOptions, AudioControls, CharacterMuteOptions, VideoControls, ScreenShareControls, DynamicInfo, ContextUpdateOptions, UploadFileOptions, ServerResponse, WebSocketSessionFactory, RespondModeUpdateOptions, UpdateSceneMetadataOptions, VisionStatusOptions, VisionTriggerOptions, ConnectionData, SendUserTextMessageOptions, StateOfMindInput, ConvaiCharacterInstance, ConvaiRoomSession, JoinRoomOptions, ActiveCharacterChange, CharacterRosterChange, UpdateCharacterRosterOptions, AppendMessageOptions, ConvaiEventMap, ActionResult, ActionResultAck, ActionResultAckFailureReason, ActionResultAckOptions } from "./types.js";
|
|
3
3
|
import { EventEmitter } from "./EventEmitter.js";
|
|
4
4
|
import { BlendshapeQueue } from "./BlendshapeQueue.js";
|
|
5
5
|
import { MemoryManager } from "./MemoryManager.js";
|
|
@@ -73,11 +73,30 @@ export declare class ConvaiClient extends EventEmitter implements IConvaiClient
|
|
|
73
73
|
private _characterSessionId;
|
|
74
74
|
/** Roster state for multi-character rooms. Empty for single-character sessions. */
|
|
75
75
|
private _roster;
|
|
76
|
+
/**
|
|
77
|
+
* Desired output-mute state, session-wide. Held rather than applied once, so
|
|
78
|
+
* it reaches tracks that arrive after the call — a member joining a roster
|
|
79
|
+
* room, or a track republished by a reconnect.
|
|
80
|
+
*/
|
|
81
|
+
private _characterMuted;
|
|
82
|
+
/**
|
|
83
|
+
* Per-membership overrides of `_characterMuted`. A session-wide call clears
|
|
84
|
+
* this, so "mute everything" never leaves a member behind as an exception.
|
|
85
|
+
*/
|
|
86
|
+
private _characterMutedByMembership;
|
|
87
|
+
/** The WebSocket transport's bot audio track, so mute can reach it too. */
|
|
88
|
+
private _wsBotAudioTrack;
|
|
76
89
|
/** Roster commands awaiting their ack, keyed by command id. */
|
|
77
90
|
private _pendingRosterCommands;
|
|
78
91
|
private _rosterCommandSeq;
|
|
79
92
|
private _requestTraceId;
|
|
80
93
|
private _isBotReady;
|
|
94
|
+
/** turnEnd held back until speaking stays stopped (see speakingChange). */
|
|
95
|
+
private _pendingTurnEnd;
|
|
96
|
+
/** How long speaking must stay stopped before a turn is reported ended. */
|
|
97
|
+
private static readonly TURN_END_SETTLE_MS;
|
|
98
|
+
/** Warn once per connect when Core reports vision off for the session. */
|
|
99
|
+
private _warnedVisionNotEnabled;
|
|
81
100
|
private _participantSid;
|
|
82
101
|
private _audioSettings;
|
|
83
102
|
private _storedConfig;
|
|
@@ -86,6 +105,17 @@ export declare class ConvaiClient extends EventEmitter implements IConvaiClient
|
|
|
86
105
|
* so updateEmotion() called before any config is stored is not lost.
|
|
87
106
|
*/
|
|
88
107
|
private _stateOfMind;
|
|
108
|
+
/** States of mind published and not yet acked, oldest first; acks arrive in send order. */
|
|
109
|
+
private _pendingStateOfMindAcks;
|
|
110
|
+
/**
|
|
111
|
+
* Match an update-emotion ack to a value this client sent. The ack carries
|
|
112
|
+
* no request id, its state_of_mind is the state still in effect rather than
|
|
113
|
+
* the value it judged, and acks can arrive out of order (measured: "happy"'s
|
|
114
|
+
* rejection before "joy"'s success). So an applied ack settles the value it
|
|
115
|
+
* names, and a rejected one settles the oldest pending value that is not an
|
|
116
|
+
* accepted state of mind. Returns the rejected value, when it can be named.
|
|
117
|
+
*/
|
|
118
|
+
private _settleStateOfMindAck;
|
|
89
119
|
private _endUserId;
|
|
90
120
|
private _endUserMetadata;
|
|
91
121
|
private _wsSession;
|
|
@@ -167,6 +197,33 @@ export declare class ConvaiClient extends EventEmitter implements IConvaiClient
|
|
|
167
197
|
get requestTraceId(): string | null;
|
|
168
198
|
get isBotReady(): boolean;
|
|
169
199
|
get audioControls(): AudioControls;
|
|
200
|
+
/**
|
|
201
|
+
* Configured origin for the widget's character name/avatar lookup, or null
|
|
202
|
+
* when unset. See {@link ConvaiConfig.characterInfoUrl}.
|
|
203
|
+
*/
|
|
204
|
+
get characterInfoUrl(): string | null;
|
|
205
|
+
/**
|
|
206
|
+
* Silence the character's voice, or bring it back. See
|
|
207
|
+
* {@link IConvaiClient.setCharacterMuted}.
|
|
208
|
+
*/
|
|
209
|
+
setCharacterMuted(muted: boolean, options?: CharacterMuteOptions): void;
|
|
210
|
+
/**
|
|
211
|
+
* Whether the character's voice is currently silenced. See
|
|
212
|
+
* {@link IConvaiClient.isCharacterMuted}.
|
|
213
|
+
*/
|
|
214
|
+
isCharacterMuted(membershipId?: string): boolean;
|
|
215
|
+
/**
|
|
216
|
+
* Push the desired state onto every track that can carry the character's
|
|
217
|
+
* voice right now.
|
|
218
|
+
*
|
|
219
|
+
* `MediaStreamTrack.enabled` is the lever, not LiveKit's
|
|
220
|
+
* `RemoteTrack.setMuted` (marked `@internal`, and it reports the publisher as
|
|
221
|
+
* muted) and not the `<audio>` elements (core holds no DOM, and a headless
|
|
222
|
+
* consumer has no elements to find). A disabled receiving track yields
|
|
223
|
+
* silence while the stream keeps flowing, which is what a speaker mute is:
|
|
224
|
+
* nothing is renegotiated and no turn is interrupted.
|
|
225
|
+
*/
|
|
226
|
+
private _applyCharacterMute;
|
|
170
227
|
get videoControls(): VideoControls;
|
|
171
228
|
get screenShareControls(): ScreenShareControls;
|
|
172
229
|
get blendshapeQueue(): BlendshapeQueue;
|
|
@@ -421,7 +478,7 @@ export declare class ConvaiClient extends EventEmitter implements IConvaiClient
|
|
|
421
478
|
* Set or clear the character's temporary state of mind.
|
|
422
479
|
* This is silent: it affects the next response and does not trigger one.
|
|
423
480
|
*/
|
|
424
|
-
updateEmotion(stateOfMind:
|
|
481
|
+
updateEmotion(stateOfMind: StateOfMindInput): void;
|
|
425
482
|
/**
|
|
426
483
|
* Send descriptive scene updates. Use when environment description changes
|
|
427
484
|
* and the bot should know what is visible or nearby. Does not modify action_config.
|
|
@@ -430,6 +487,13 @@ export declare class ConvaiClient extends EventEmitter implements IConvaiClient
|
|
|
430
487
|
name: string;
|
|
431
488
|
description: string;
|
|
432
489
|
}>, options?: UpdateSceneMetadataOptions): void;
|
|
490
|
+
/**
|
|
491
|
+
* Mirror a runtime respond-mode change into the stored config, so
|
|
492
|
+
* reconnect() — which replays _storedConfig — does not revert it. text and
|
|
493
|
+
* audio are typed `"must_respond"` only in the config, so other values for
|
|
494
|
+
* them stay runtime-only rather than widening that type.
|
|
495
|
+
*/
|
|
496
|
+
private rememberRespondMode;
|
|
433
497
|
private createUpdateId;
|
|
434
498
|
private serializeRespondModes;
|
|
435
499
|
/**
|
|
@@ -454,4 +518,3 @@ export declare class ConvaiClient extends EventEmitter implements IConvaiClient
|
|
|
454
518
|
*/
|
|
455
519
|
resetIdleTimer(): void;
|
|
456
520
|
}
|
|
457
|
-
//# sourceMappingURL=ConvaiClient.d.ts.map
|