open-agents-ai 0.138.90 → 0.138.91

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 +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -54472,7 +54472,7 @@ ${CONTENT_BG_SEQ}`);
54472
54472
  if (!self.active)
54473
54473
  return origTtyWrite(s, key);
54474
54474
  if (key?.name === "backspace" && self.inputStateProvider) {
54475
- const { cursor } = self.inputStateProvider();
54475
+ const { cursor = 0 } = self.inputStateProvider() ?? {};
54476
54476
  if (cursor <= 0)
54477
54477
  return;
54478
54478
  }
@@ -54568,7 +54568,7 @@ ${CONTENT_BG_SEQ}`);
54568
54568
  return;
54569
54569
  }
54570
54570
  if (self.inputStateProvider && (key?.name !== "return" && key?.name !== "enter" && key?.name !== "backspace")) {
54571
- const { line } = self.inputStateProvider();
54571
+ const { line = "" } = self.inputStateProvider() ?? {};
54572
54572
  const w = getTermWidth();
54573
54573
  const avail = Math.max(1, w - self.promptWidth);
54574
54574
  const currentLines = Math.ceil(Math.max(1, line.length) / avail);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.138.90",
3
+ "version": "0.138.91",
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",