lisichatbot 1.3.1 → 1.3.2
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/package.json +1 -1
- package/src/index.js +13 -21
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -1620,27 +1620,19 @@ async function showNextStep() {
|
|
|
1620
1620
|
}
|
|
1621
1621
|
}
|
|
1622
1622
|
} else {
|
|
1623
|
-
// No input
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
//
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
} else {
|
|
1637
|
-
handleCompletion();
|
|
1638
|
-
}
|
|
1639
|
-
}, config.autoAdvanceDelay);
|
|
1640
|
-
} else {
|
|
1641
|
-
// Don't auto-advance if nextButtonDisplay is explicitly false
|
|
1642
|
-
console.log(' ⏸️ Not auto-advancing (nextButtonDisplay: false)');
|
|
1643
|
-
}
|
|
1623
|
+
// No input - always auto-advance (nextButtonDisplay only controls button visibility)
|
|
1624
|
+
setTimeout(() => {
|
|
1625
|
+
chatState.step++;
|
|
1626
|
+
|
|
1627
|
+
// Update edit icons after auto-advance
|
|
1628
|
+
updateEditIcons();
|
|
1629
|
+
|
|
1630
|
+
if (chatState.step < flowData.flow.length) {
|
|
1631
|
+
showNextStep();
|
|
1632
|
+
} else {
|
|
1633
|
+
handleCompletion();
|
|
1634
|
+
}
|
|
1635
|
+
}, config.autoAdvanceDelay);
|
|
1644
1636
|
}
|
|
1645
1637
|
|
|
1646
1638
|
// Handle nextButtonDisplay - default is true
|