open-agents-ai 0.14.3 → 0.14.4
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 +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -299,9 +299,10 @@ async function checkForUpdate(currentVersion, forceCheck = false) {
|
|
|
299
299
|
}
|
|
300
300
|
function performUpdate() {
|
|
301
301
|
try {
|
|
302
|
-
execSync(`npm install -g ${PACKAGE_NAME}@latest --
|
|
302
|
+
execSync(`npm cache clean --force ${PACKAGE_NAME} 2>/dev/null; npm install -g ${PACKAGE_NAME}@latest --force`, {
|
|
303
303
|
stdio: "inherit",
|
|
304
|
-
timeout: 12e4
|
|
304
|
+
timeout: 12e4,
|
|
305
|
+
shell: "/bin/bash"
|
|
305
306
|
});
|
|
306
307
|
try {
|
|
307
308
|
const installed = execSync(`npm list -g ${PACKAGE_NAME} --depth=0 --json`, {
|
package/package.json
CHANGED