open-agents-ai 0.187.53 → 0.187.54
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 +5 -28
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -292751,26 +292751,6 @@ var init_banner = __esm({
|
|
|
292751
292751
|
}
|
|
292752
292752
|
buf += "\x1B[0m";
|
|
292753
292753
|
}
|
|
292754
|
-
if (this._focused) {
|
|
292755
|
-
const FOCUS = [
|
|
292756
|
-
"\u2596",
|
|
292757
|
-
"\u259A",
|
|
292758
|
-
"\u2599",
|
|
292759
|
-
"\u259B",
|
|
292760
|
-
"\u2588",
|
|
292761
|
-
// ▖▚▙▛█ (build up)
|
|
292762
|
-
"\u259C",
|
|
292763
|
-
"\u259F",
|
|
292764
|
-
"\u259E",
|
|
292765
|
-
"\u2597",
|
|
292766
|
-
"\xB7"
|
|
292767
|
-
// ▜▟▞▗· (fade down)
|
|
292768
|
-
];
|
|
292769
|
-
for (let r2 = 0; r2 < this.rows; r2++) {
|
|
292770
|
-
const ch = FOCUS[(this.frameTick + r2 * 3) % FOCUS.length];
|
|
292771
|
-
buf += `\x1B[${r2 + 1};1H\x1B[38;5;178m\x1B[48;5;0m${ch}\x1B[0m`;
|
|
292772
|
-
}
|
|
292773
|
-
}
|
|
292774
292754
|
buf += "\x1B[0m";
|
|
292775
292755
|
try {
|
|
292776
292756
|
process.stdout.write(buf);
|
|
@@ -300186,7 +300166,7 @@ var init_status_bar = __esm({
|
|
|
300186
300166
|
}
|
|
300187
300167
|
this._prevTermRows = process.stdout.rows ?? 24;
|
|
300188
300168
|
this._prevTermCols = process.stdout.columns ?? 80;
|
|
300189
|
-
this.applyScrollRegion();
|
|
300169
|
+
this.applyScrollRegion(true);
|
|
300190
300170
|
this.fillContentArea();
|
|
300191
300171
|
this.renderFooterAndPositionInput();
|
|
300192
300172
|
this.refreshHeaderContent();
|
|
@@ -300759,7 +300739,7 @@ var init_status_bar = __esm({
|
|
|
300759
300739
|
buf += `\x1B[${pos.metricsRow};1H${PANEL_BG_SEQ}\x1B[2K${this.buildMetricsLine()}${RESET}\x1B[?7h\x1B[${pos.scrollEnd};1H`;
|
|
300760
300740
|
this.termWrite(buf);
|
|
300761
300741
|
} else {
|
|
300762
|
-
this.applyScrollRegion();
|
|
300742
|
+
this.applyScrollRegion(true);
|
|
300763
300743
|
this.fillContentArea();
|
|
300764
300744
|
this.repaintContent();
|
|
300765
300745
|
let clearBuf = "\x1B[?7l";
|
|
@@ -300772,7 +300752,6 @@ var init_status_bar = __esm({
|
|
|
300772
300752
|
if (this._bannerRefresh)
|
|
300773
300753
|
this._bannerRefresh();
|
|
300774
300754
|
}
|
|
300775
|
-
this.termWrite("\x1B[3J");
|
|
300776
300755
|
}
|
|
300777
300756
|
/**
|
|
300778
300757
|
* Update the top boundary of the scroll region (e.g. after carousel retirement).
|
|
@@ -300831,7 +300810,7 @@ ${CONTENT_BG_SEQ}`);
|
|
|
300831
300810
|
}
|
|
300832
300811
|
process.stdout.write(`\x1B[?25l` + // hide cursor
|
|
300833
300812
|
CONTENT_BG_SEQ + // set content area bg (#111)
|
|
300834
|
-
`\x1B[${this.scrollRegionTop};${scrollEnd}r\x1B[
|
|
300813
|
+
`\x1B[${this.scrollRegionTop};${scrollEnd}r\x1B[${scrollEnd};1H`);
|
|
300835
300814
|
}
|
|
300836
300815
|
/**
|
|
300837
300816
|
* Call AFTER writing content to the scrollable area.
|
|
@@ -300852,7 +300831,6 @@ ${CONTENT_BG_SEQ}`);
|
|
|
300852
300831
|
process.stdout.write(RESET);
|
|
300853
300832
|
this._brailleSpinner.setMetrics({ isStreaming: false });
|
|
300854
300833
|
this.renderFooterAndPositionInput();
|
|
300855
|
-
this.termWrite("\x1B[3J");
|
|
300856
300834
|
this.scheduleMouseIdle();
|
|
300857
300835
|
}
|
|
300858
300836
|
}
|
|
@@ -300871,7 +300849,6 @@ ${CONTENT_BG_SEQ}`);
|
|
|
300871
300849
|
break;
|
|
300872
300850
|
buf += `\x1B[${screenRow};1H${CONTENT_BG_SEQ}\x1B[2K`;
|
|
300873
300851
|
}
|
|
300874
|
-
buf += "\x1B[3J";
|
|
300875
300852
|
buf += "\x1B8\x1B[?25h";
|
|
300876
300853
|
this.termWrite(buf);
|
|
300877
300854
|
}
|
|
@@ -301451,11 +301428,11 @@ ${CONTENT_BG_SEQ}`);
|
|
|
301451
301428
|
};
|
|
301452
301429
|
}
|
|
301453
301430
|
/** Set the DECSTBM scroll region to exclude the dynamic footer rows */
|
|
301454
|
-
applyScrollRegion() {
|
|
301431
|
+
applyScrollRegion(clearScrollback = false) {
|
|
301455
301432
|
this.updateFooterHeight();
|
|
301456
301433
|
const rows = process.stdout.rows ?? 24;
|
|
301457
301434
|
const pos = this.rowPositions(rows);
|
|
301458
|
-
this.termWrite(`\x1B[${this.scrollRegionTop};${pos.scrollEnd}r\x1B[${pos.scrollEnd};1H\x1B[3J
|
|
301435
|
+
this.termWrite(`\x1B[${this.scrollRegionTop};${pos.scrollEnd}r\x1B[${pos.scrollEnd};1H` + (clearScrollback ? "\x1B[3J" : ""));
|
|
301459
301436
|
}
|
|
301460
301437
|
/**
|
|
301461
301438
|
* Draw the COMPLETE footer — separators, prompt, metrics — in a single
|
package/package.json
CHANGED