open-agents-ai 0.185.56 → 0.185.57
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 +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -53269,7 +53269,7 @@ async function handleUpdate(subcommand, ctx) {
|
|
|
53269
53269
|
}
|
|
53270
53270
|
const { exec: exec4, execSync: es2 } = await import("node:child_process");
|
|
53271
53271
|
const execA = (cmd, opts) => new Promise((res, rej) => exec4(cmd, { encoding: "utf8", timeout: opts?.timeout ?? 3e4, cwd: opts?.cwd }, (err, stdout) => err ? rej(err) : res((stdout || "").trim())));
|
|
53272
|
-
|
|
53272
|
+
renderInfo("Checking for updates...");
|
|
53273
53273
|
const [info, sudoInfo] = await Promise.all([
|
|
53274
53274
|
checkForUpdate(currentVersion, true),
|
|
53275
53275
|
(async () => {
|
|
@@ -53288,7 +53288,7 @@ async function handleUpdate(subcommand, ctx) {
|
|
|
53288
53288
|
})()
|
|
53289
53289
|
]);
|
|
53290
53290
|
const needsSudo = sudoInfo;
|
|
53291
|
-
|
|
53291
|
+
renderInfo(`v${currentVersion} \u2014 ${info ? `update available \u2192 v${info.latestVersion}` : "up to date"}`);
|
|
53292
53292
|
const items = [];
|
|
53293
53293
|
const skipKeys = [];
|
|
53294
53294
|
items.push({ key: "hdr_status", label: selectColors.dim(`\u2500\u2500\u2500 v${currentVersion} \u2500\u2500\u2500`), kind: "header" });
|
package/package.json
CHANGED