open-agents-ai 0.184.91 → 0.184.92
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 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -60966,7 +60966,7 @@ var init_status_bar = __esm({
|
|
|
60966
60966
|
// native text selection. We disable it when idle (allowing selection) and
|
|
60967
60967
|
// re-enable when scroll/streaming starts (allowing mouse scroll).
|
|
60968
60968
|
// Users can always hold Shift for selection as a universal fallback.
|
|
60969
|
-
/** Enable mouse tracking (
|
|
60969
|
+
/** Enable mouse tracking (click + scroll + motion during drag) */
|
|
60970
60970
|
enableMouseTracking() {
|
|
60971
60971
|
if (this._mouseTrackingEnabled)
|
|
60972
60972
|
return;
|
|
@@ -60975,7 +60975,8 @@ var init_status_bar = __esm({
|
|
|
60975
60975
|
this._trueStdoutWrite.call(process.stdout, "\x1B[?1002h\x1B[?1006h");
|
|
60976
60976
|
}
|
|
60977
60977
|
}
|
|
60978
|
-
/** Disable mouse tracking (
|
|
60978
|
+
/** Disable mouse tracking entirely (only for overlay transitions + exit).
|
|
60979
|
+
* NOT called on idle — mouse stays active for clicks, scroll, buttons. */
|
|
60979
60980
|
disableMouseTracking() {
|
|
60980
60981
|
if (!this._mouseTrackingEnabled)
|
|
60981
60982
|
return;
|
|
@@ -60994,12 +60995,6 @@ var init_status_bar = __esm({
|
|
|
60994
60995
|
* This is the v0.138.67 behavior that worked: mouse on during activity, off during idle.
|
|
60995
60996
|
*/
|
|
60996
60997
|
scheduleMouseIdle() {
|
|
60997
|
-
if (this._mouseIdleTimer)
|
|
60998
|
-
clearTimeout(this._mouseIdleTimer);
|
|
60999
|
-
this._mouseIdleTimer = setTimeout(() => {
|
|
61000
|
-
this._mouseIdleTimer = null;
|
|
61001
|
-
this.disableMouseTracking();
|
|
61002
|
-
}, _StatusBar.MOUSE_IDLE_MS);
|
|
61003
60998
|
}
|
|
61004
60999
|
/** Cancel mouse idle timer (user is actively scrolling or streaming started) */
|
|
61005
61000
|
cancelMouseIdle() {
|
|
@@ -62042,6 +62037,11 @@ ${CONTENT_BG_SEQ}`);
|
|
|
62042
62037
|
}
|
|
62043
62038
|
buf += `\x1B[${pos.bufferRow};1H${PANEL_BG_SEQ}\x1B[2K${this.buildBufferContent(w)}${RESET}`;
|
|
62044
62039
|
buf += `\x1B[${pos.metricsRow};1H${PANEL_BG_SEQ}\x1B[2K${this.buildMetricsLine()}${RESET}`;
|
|
62040
|
+
if (this._focusedZone === "footer") {
|
|
62041
|
+
buf += `\x1B[${pos.inputStartRow};1H\x1B[38;5;${TEXT_PRIMARY}m\x1B[48;5;${PANEL_BG}m\u258E\x1B[0m`;
|
|
62042
|
+
} else if (this._focusedZone === "content") {
|
|
62043
|
+
buf += `\x1B[${this.scrollRegionTop};1H\x1B[38;5;${TEXT_PRIMARY}m\x1B[48;5;${CONTENT_BG}m\u258E\x1B[0m`;
|
|
62044
|
+
}
|
|
62045
62045
|
buf += `\x1B[?7h\x1B[${cursorTermRow};${inputWrap.cursorCol}H\x1B[?25h`;
|
|
62046
62046
|
this.termWrite(buf);
|
|
62047
62047
|
}
|
package/package.json
CHANGED