open-agents-ai 0.139.0 → 0.139.1
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 +16 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -53629,6 +53629,7 @@ var init_status_bar = __esm({
|
|
|
53629
53629
|
this._prevTermRows = process.stdout.rows ?? 24;
|
|
53630
53630
|
this._prevTermCols = process.stdout.columns ?? 80;
|
|
53631
53631
|
this.applyScrollRegion();
|
|
53632
|
+
this.fillContentArea();
|
|
53632
53633
|
this.renderFooterAndPositionInput();
|
|
53633
53634
|
this.hookStdin();
|
|
53634
53635
|
if (!this._metricsCollector.isActive) {
|
|
@@ -53886,6 +53887,7 @@ var init_status_bar = __esm({
|
|
|
53886
53887
|
this.termWrite(buf);
|
|
53887
53888
|
} else {
|
|
53888
53889
|
this.applyScrollRegion();
|
|
53890
|
+
this.fillContentArea();
|
|
53889
53891
|
let clearBuf = "\x1B[?7l";
|
|
53890
53892
|
for (let row = pos.scrollEnd + 1; row <= rows; row++) {
|
|
53891
53893
|
clearBuf += `\x1B[${row};1H\x1B[2K`;
|
|
@@ -53974,6 +53976,20 @@ ${CONTENT_BG_SEQ}`);
|
|
|
53974
53976
|
// Content scrollback — virtual scroll through buffered output lines
|
|
53975
53977
|
// -----------------------------------------------------------------------
|
|
53976
53978
|
/** Record a content line for scrollback. Called by the stream renderer intercept. */
|
|
53979
|
+
/** Paint the entire content area with CONTENT_BG — called on activation and resize */
|
|
53980
|
+
fillContentArea() {
|
|
53981
|
+
const rows = process.stdout.rows ?? 24;
|
|
53982
|
+
const h = this.contentHeight;
|
|
53983
|
+
let buf = "\x1B7\x1B[?25l";
|
|
53984
|
+
for (let r = 0; r < h; r++) {
|
|
53985
|
+
const screenRow = this.scrollRegionTop + r;
|
|
53986
|
+
if (screenRow > rows)
|
|
53987
|
+
break;
|
|
53988
|
+
buf += `\x1B[${screenRow};1H${CONTENT_BG_SEQ}\x1B[2K`;
|
|
53989
|
+
}
|
|
53990
|
+
buf += "\x1B8\x1B[?25h";
|
|
53991
|
+
this.termWrite(buf);
|
|
53992
|
+
}
|
|
53977
53993
|
bufferContentLine(line) {
|
|
53978
53994
|
this._contentLines.push(line);
|
|
53979
53995
|
if (this._contentLines.length > this._contentMaxLines) {
|
package/package.json
CHANGED