open-agents-ai 0.10.5 → 0.10.6
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 +10 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9666,6 +9666,16 @@ async function startInteractive(config, repoPath) {
|
|
|
9666
9666
|
terminal: true,
|
|
9667
9667
|
historySize: 100
|
|
9668
9668
|
});
|
|
9669
|
+
if (process.stdin.isTTY) {
|
|
9670
|
+
const retireOnKey = () => {
|
|
9671
|
+
if (!carouselRetired && carousel.isRunning) {
|
|
9672
|
+
carousel.stop();
|
|
9673
|
+
carouselRetired = true;
|
|
9674
|
+
}
|
|
9675
|
+
process.stdin.removeListener("data", retireOnKey);
|
|
9676
|
+
};
|
|
9677
|
+
process.stdin.on("data", retireOnKey);
|
|
9678
|
+
}
|
|
9669
9679
|
function showPrompt() {
|
|
9670
9680
|
rl.setPrompt(activeTask ? activePrompt : idlePrompt);
|
|
9671
9681
|
rl.prompt();
|
package/package.json
CHANGED