open-agents-ai 0.138.44 → 0.138.45
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 +8 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -52228,6 +52228,11 @@ ${CONTENT_BG_SEQ}`);
|
|
|
52228
52228
|
rl._ttyWrite = function(s, key) {
|
|
52229
52229
|
if (!self.active)
|
|
52230
52230
|
return origTtyWrite(s, key);
|
|
52231
|
+
if (key?.name === "backspace" && self.inputStateProvider) {
|
|
52232
|
+
const { cursor } = self.inputStateProvider();
|
|
52233
|
+
if (cursor <= 0)
|
|
52234
|
+
return;
|
|
52235
|
+
}
|
|
52231
52236
|
if (s && (/\x1B\[</.test(s) || /^\d+;\d+;\d*[Mm]/.test(s) || /^;\d+[Mm]/.test(s) || /\[<\d/.test(s))) {
|
|
52232
52237
|
return;
|
|
52233
52238
|
}
|
|
@@ -54080,6 +54085,9 @@ Rationale: ${proposal.rationale}${provenanceNote}`;
|
|
|
54080
54085
|
_escapeHandler?.();
|
|
54081
54086
|
});
|
|
54082
54087
|
rl.output = null;
|
|
54088
|
+
if (process.stdin.isTTY && typeof process.stdin.setRawMode === "function") {
|
|
54089
|
+
process.stdin.setRawMode(true);
|
|
54090
|
+
}
|
|
54083
54091
|
function persistHistoryLine(line) {
|
|
54084
54092
|
if (!line.trim())
|
|
54085
54093
|
return;
|
package/package.json
CHANGED