open-agents-ai 0.147.0 → 0.148.0

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 +7 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -56832,6 +56832,8 @@ var init_status_bar = __esm({
56832
56832
  return false;
56833
56833
  const ok = this._textSelection.copyToClipboard();
56834
56834
  if (ok) {
56835
+ this._textSelection.clear();
56836
+ this.repaintContent();
56835
56837
  const rows = process.stdout.rows ?? 24;
56836
56838
  const pos = this.rowPositions(rows);
56837
56839
  const writer = this._origWrite ?? process.stdout.write.bind(process.stdout);
@@ -57820,6 +57822,11 @@ ${CONTENT_BG_SEQ}`);
57820
57822
  if (key?.name === "escape" || s === "\x1B") {
57821
57823
  sawEscape = true;
57822
57824
  sawEscapeTime = Date.now();
57825
+ if (self._textSelection.hasSelection && s.length === 1) {
57826
+ self._textSelection.clear();
57827
+ self.repaintContent();
57828
+ return;
57829
+ }
57823
57830
  if (onEscape && s.length === 1)
57824
57831
  onEscape();
57825
57832
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.147.0",
3
+ "version": "0.148.0",
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",