open-agents-ai 0.187.288 → 0.187.290

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.
Files changed (2) hide show
  1. package/dist/index.js +14 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -286472,6 +286472,19 @@ var init_status_bar = __esm({
286472
286472
  if (viewId) this.switchToView(viewId);
286473
286473
  return;
286474
286474
  }
286475
+ const L = layout();
286476
+ const inContent = row >= this.scrollRegionTop && row <= L.contentBottom;
286477
+ if (inContent) {
286478
+ if (type === "press") {
286479
+ this._mouseSelecting = true;
286480
+ this._autoScroll = false;
286481
+ return;
286482
+ }
286483
+ if (type === "release") {
286484
+ this._mouseSelecting = false;
286485
+ return;
286486
+ }
286487
+ }
286475
286488
  }
286476
286489
  /** Copy current selection to clipboard. Returns true if copied. */
286477
286490
  copySelection() {
@@ -286925,7 +286938,7 @@ ${CONTENT_BG_SEQ}`);
286925
286938
  );
286926
286939
  }
286927
286940
  }
286928
- if (this._autoScroll) this._contentScrollOffset = 0;
286941
+ if (this._autoScroll && !this._mouseSelecting) this._contentScrollOffset = 0;
286929
286942
  }
286930
286943
  /**
286931
286944
  * Remove the last N lines from the content scrollback buffer and repaint.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.187.288",
3
+ "version": "0.187.290",
4
4
  "description": "AI coding agent powered by open-source models (Ollama/vLLM) — interactive TUI with agentic tool-calling loop",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",