@modelnex/sdk 0.5.25 → 0.5.26

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/dist/index.js CHANGED
@@ -8119,7 +8119,7 @@ function getRecordingDraftStatusMessage(phase, experienceType) {
8119
8119
 
8120
8120
  // src/utils/tour-listening.ts
8121
8121
  function canStartTourListening(state) {
8122
- const hasLiveOrPendingPlayback = state.isTourActive || state.isOnboardingActive || state.hasPendingTour || state.hasPendingOnboarding;
8122
+ const hasLiveOrPendingPlayback = state.isTourActive || state.isOnboardingActive || state.hasPendingTour || state.hasPendingOnboarding || Boolean(state.startingExperienceType);
8123
8123
  return hasLiveOrPendingPlayback && !state.sttActive && state.sttSupported;
8124
8124
  }
8125
8125
  function resolveTourListeningExperience(preferredExperience, state) {
@@ -9033,6 +9033,7 @@ function ModelNexChatBubble({
9033
9033
  isOnboardingActive: onboardingPlayback.isActive,
9034
9034
  hasPendingTour: Boolean(tourPlayback.pendingTour),
9035
9035
  hasPendingOnboarding: Boolean(onboardingPlayback.pendingTour),
9036
+ startingExperienceType,
9036
9037
  sttActive: sttActiveRef.current,
9037
9038
  sttSupported: voice.sttSupported
9038
9039
  };
@@ -9078,6 +9079,7 @@ function ModelNexChatBubble({
9078
9079
  tourPlayback.pendingTour,
9079
9080
  onboardingPlayback.isActive,
9080
9081
  onboardingPlayback.pendingTour,
9082
+ startingExperienceType,
9081
9083
  voice,
9082
9084
  handleVoiceTourInput,
9083
9085
  updateTourListenReady,
package/dist/index.mjs CHANGED
@@ -7908,7 +7908,7 @@ function getRecordingDraftStatusMessage(phase, experienceType) {
7908
7908
 
7909
7909
  // src/utils/tour-listening.ts
7910
7910
  function canStartTourListening(state) {
7911
- const hasLiveOrPendingPlayback = state.isTourActive || state.isOnboardingActive || state.hasPendingTour || state.hasPendingOnboarding;
7911
+ const hasLiveOrPendingPlayback = state.isTourActive || state.isOnboardingActive || state.hasPendingTour || state.hasPendingOnboarding || Boolean(state.startingExperienceType);
7912
7912
  return hasLiveOrPendingPlayback && !state.sttActive && state.sttSupported;
7913
7913
  }
7914
7914
  function resolveTourListeningExperience(preferredExperience, state) {
@@ -8822,6 +8822,7 @@ function ModelNexChatBubble({
8822
8822
  isOnboardingActive: onboardingPlayback.isActive,
8823
8823
  hasPendingTour: Boolean(tourPlayback.pendingTour),
8824
8824
  hasPendingOnboarding: Boolean(onboardingPlayback.pendingTour),
8825
+ startingExperienceType,
8825
8826
  sttActive: sttActiveRef.current,
8826
8827
  sttSupported: voice.sttSupported
8827
8828
  };
@@ -8867,6 +8868,7 @@ function ModelNexChatBubble({
8867
8868
  tourPlayback.pendingTour,
8868
8869
  onboardingPlayback.isActive,
8869
8870
  onboardingPlayback.pendingTour,
8871
+ startingExperienceType,
8870
8872
  voice,
8871
8873
  handleVoiceTourInput,
8872
8874
  updateTourListenReady,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modelnex/sdk",
3
- "version": "0.5.25",
3
+ "version": "0.5.26",
4
4
  "description": "React SDK for natural language control of web apps via AI agents",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",