open-agents-ai 0.104.10 → 0.104.11

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 +18 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -34637,7 +34637,10 @@ async function startNeovimMode(opts) {
34637
34637
  });
34638
34638
  const stdin = process.stdin;
34639
34639
  if (opts.rl) {
34640
- opts.rl.pause();
34640
+ try {
34641
+ opts.rl.pause();
34642
+ } catch {
34643
+ }
34641
34644
  for (const event of ["keypress", "data"]) {
34642
34645
  const listeners = stdin.listeners(event);
34643
34646
  for (const fn of listeners) {
@@ -34794,13 +34797,19 @@ function toggleFocus(state) {
34794
34797
  }
34795
34798
  }
34796
34799
  if (state.opts.rl) {
34797
- state.opts.rl.resume();
34798
- state.opts.rl.prompt(false);
34800
+ try {
34801
+ state.opts.rl.resume();
34802
+ state.opts.rl.prompt(false);
34803
+ } catch {
34804
+ }
34799
34805
  }
34800
34806
  } else {
34801
34807
  state.focused = true;
34802
34808
  if (state.opts.rl) {
34803
- state.opts.rl.pause();
34809
+ try {
34810
+ state.opts.rl.pause();
34811
+ } catch {
34812
+ }
34804
34813
  }
34805
34814
  for (const { event, fn } of state.installedFilteredListeners) {
34806
34815
  stdin.removeListener(event, fn);
@@ -34869,8 +34878,11 @@ function doCleanup(state) {
34869
34878
  stdin.on(event, fn);
34870
34879
  }
34871
34880
  if (state.opts.rl) {
34872
- state.opts.rl.resume();
34873
- state.opts.rl.prompt(false);
34881
+ try {
34882
+ state.opts.rl.resume();
34883
+ state.opts.rl.prompt(false);
34884
+ } catch {
34885
+ }
34874
34886
  }
34875
34887
  _state = null;
34876
34888
  process.stdout.write("\x1B[?1000l\x1B[?1002l\x1B[?1003l\x1B[?1006l\x1B[?1015l\x1B[?1004l\x1B[?2004l\x1B[H\x1B[J");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.104.10",
3
+ "version": "0.104.11",
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",