open-agents-ai 0.138.32 → 0.138.33
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 +11 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -52249,6 +52249,13 @@ ${CONTENT_BG_SEQ}`);
|
|
|
52249
52249
|
}
|
|
52250
52250
|
sawEscape = false;
|
|
52251
52251
|
if (key?.name === "up" || key?.name === "down") {
|
|
52252
|
+
if (self.writeDepth > 0) {
|
|
52253
|
+
if (key.name === "up")
|
|
52254
|
+
self.scrollContentUp(1);
|
|
52255
|
+
else
|
|
52256
|
+
self.scrollContentDown(1);
|
|
52257
|
+
return;
|
|
52258
|
+
}
|
|
52252
52259
|
const dir = key.name;
|
|
52253
52260
|
if (dir === arrowBurstDir) {
|
|
52254
52261
|
arrowBurst++;
|
|
@@ -52287,6 +52294,10 @@ ${CONTENT_BG_SEQ}`);
|
|
|
52287
52294
|
return;
|
|
52288
52295
|
}
|
|
52289
52296
|
if (self.writeDepth > 0) {
|
|
52297
|
+
if (s && (s.startsWith("\x1B") || s.startsWith("[")))
|
|
52298
|
+
return;
|
|
52299
|
+
if (key?.name === "escape")
|
|
52300
|
+
return;
|
|
52290
52301
|
const rows = process.stdout.rows ?? 24;
|
|
52291
52302
|
const pos = self.rowPositions(rows);
|
|
52292
52303
|
const writer = self._origWrite ?? process.stdout.write.bind(process.stdout);
|
package/package.json
CHANGED