open-agents-ai 0.165.0 → 0.166.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.
- package/dist/index.js +4 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -63106,10 +63106,11 @@ NEW TASK: ${fullInput}`;
|
|
|
63106
63106
|
setTerminalTitle(void 0, version);
|
|
63107
63107
|
}
|
|
63108
63108
|
const updateMode = savedSettings.updateMode ?? "auto";
|
|
63109
|
-
if (updateMode !== "manual") {
|
|
63109
|
+
if (updateMode !== "manual" && !_autoUpdatedThisSession) {
|
|
63110
63110
|
try {
|
|
63111
63111
|
const updateInfo = await checkForUpdate(version);
|
|
63112
63112
|
if (updateInfo) {
|
|
63113
|
+
_autoUpdatedThisSession = true;
|
|
63113
63114
|
const { exec: exec4 } = await import("node:child_process");
|
|
63114
63115
|
exec4(`npm install -g open-agents-ai@latest --prefer-online`, { timeout: 18e4 }, (err) => {
|
|
63115
63116
|
if (!err) {
|
|
@@ -63591,7 +63592,7 @@ Rules:
|
|
|
63591
63592
|
process.exit(1);
|
|
63592
63593
|
}
|
|
63593
63594
|
}
|
|
63594
|
-
var taskManager, _shellToolRef, _fullSubAgentToolRef, _activeRunnerRef, SELF_IMPROVE_INTERVAL, _tasksSinceImprove;
|
|
63595
|
+
var taskManager, _shellToolRef, _fullSubAgentToolRef, _activeRunnerRef, _autoUpdatedThisSession, SELF_IMPROVE_INTERVAL, _tasksSinceImprove;
|
|
63595
63596
|
var init_interactive = __esm({
|
|
63596
63597
|
"packages/cli/dist/tui/interactive.js"() {
|
|
63597
63598
|
"use strict";
|
|
@@ -63634,6 +63635,7 @@ var init_interactive = __esm({
|
|
|
63634
63635
|
_shellToolRef = null;
|
|
63635
63636
|
_fullSubAgentToolRef = null;
|
|
63636
63637
|
_activeRunnerRef = null;
|
|
63638
|
+
_autoUpdatedThisSession = false;
|
|
63637
63639
|
SELF_IMPROVE_INTERVAL = 5;
|
|
63638
63640
|
_tasksSinceImprove = 0;
|
|
63639
63641
|
}
|
package/package.json
CHANGED