open-agents-ai 0.141.1 → 0.141.2

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 +10 -8
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -57915,19 +57915,21 @@ Rationale: ${proposal.rationale}${provenanceNote}`;
57915
57915
  const needsContentWrap = command === "/help" || command === "/cohere";
57916
57916
  if (needsContentWrap && statusBar.isActive)
57917
57917
  statusBar.beginContentWrite();
57918
- await handleSlashCommand(command, commandCtxRef);
57919
- if (needsContentWrap && statusBar.isActive)
57920
- statusBar.endContentWrite();
57921
- } catch {
57922
57918
  try {
57923
- if (statusBar.isActive)
57924
- statusBar.endContentWrite();
57925
- } catch {
57919
+ await handleSlashCommand(command, commandCtxRef);
57920
+ } finally {
57921
+ if (needsContentWrap && statusBar.isActive) {
57922
+ try {
57923
+ statusBar.endContentWrite();
57924
+ } catch {
57925
+ }
57926
+ }
57926
57927
  }
57928
+ } catch {
57927
57929
  }
57928
57930
  headerBtnActive = null;
57929
57931
  if (statusBar.isActive)
57930
- statusBar.handleResize();
57932
+ statusBar.refreshDisplay();
57931
57933
  })();
57932
57934
  });
57933
57935
  rl.output = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.141.1",
3
+ "version": "0.141.2",
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",