open-agents-ai 0.138.40 → 0.138.41

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 +12 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -53785,6 +53785,7 @@ async function startInteractive(config, repoPath) {
53785
53785
  }
53786
53786
  })).catch(() => {
53787
53787
  });
53788
+ let updateNotified = false;
53788
53789
  if (!isResumed) {
53789
53790
  checkForUpdate(version).then((updateInfo) => {
53790
53791
  if (updateInfo) {
@@ -53793,10 +53794,10 @@ async function startInteractive(config, repoPath) {
53793
53794
  setTimeout(writeMsg, 3e3);
53794
53795
  return;
53795
53796
  }
53797
+ updateNotified = true;
53796
53798
  if (statusBar?.isActive)
53797
53799
  statusBar.beginContentWrite();
53798
- renderWarning(`Update available: v${updateInfo.currentVersion} \u2192 v${c2.bold(c2.green(updateInfo.latestVersion))}`);
53799
- renderInfo(`Run /update to install.`);
53800
+ renderInfo(`Update available: v${updateInfo.currentVersion} \u2192 v${c2.bold(c2.green(updateInfo.latestVersion))}. Run /update to install.`);
53800
53801
  if (statusBar?.isActive)
53801
53802
  statusBar.endContentWrite();
53802
53803
  };
@@ -53807,14 +53808,19 @@ async function startInteractive(config, repoPath) {
53807
53808
  }
53808
53809
  const AUTO_UPDATE_INTERVAL_MS = 30 * 60 * 1e3;
53809
53810
  const autoUpdateTimer = setInterval(() => {
53811
+ if (updateNotified)
53812
+ return;
53810
53813
  const updateMode = savedSettings.updateMode ?? "auto";
53811
53814
  if (updateMode === "manual")
53812
53815
  return;
53813
53816
  checkForUpdate(version).then((updateInfo) => {
53814
- if (updateInfo && statusBar?.isActive) {
53815
- statusBar.beginContentWrite();
53816
- renderInfo(`Update available: v${version} \u2192 v${updateInfo.latestVersion}. Run /update to install.`);
53817
- statusBar.endContentWrite();
53817
+ if (updateInfo && statusBar?.isActive && !updateNotified) {
53818
+ updateNotified = true;
53819
+ if (!statusBar.isStreaming) {
53820
+ statusBar.beginContentWrite();
53821
+ renderInfo(`Update available: v${version} \u2192 v${updateInfo.latestVersion}. Run /update to install.`);
53822
+ statusBar.endContentWrite();
53823
+ }
53818
53824
  }
53819
53825
  }).catch(() => {
53820
53826
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.138.40",
3
+ "version": "0.138.41",
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",