@openagents-org/agent-launcher 0.2.57 → 0.2.58
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/package.json +1 -1
- package/src/installer.js +3 -3
package/package.json
CHANGED
package/src/installer.js
CHANGED
|
@@ -178,7 +178,7 @@ class Installer {
|
|
|
178
178
|
// Use bundled node/npm if system npm not available
|
|
179
179
|
if (cmd.startsWith('npm install')) {
|
|
180
180
|
const prefixDir = path.join(os.homedir(), '.openagents', 'nodejs');
|
|
181
|
-
const args = cmd.replace('npm install', 'install --ignore-scripts').replace(' -g ', ` --prefix "${prefixDir}" `);
|
|
181
|
+
const args = cmd.replace('npm install', 'install --ignore-scripts --no-save').replace(' -g ', ` --prefix "${prefixDir}" `);
|
|
182
182
|
cmd = this._resolveNpmCommand(args);
|
|
183
183
|
}
|
|
184
184
|
|
|
@@ -214,7 +214,7 @@ class Installer {
|
|
|
214
214
|
let cmd = rawCmd;
|
|
215
215
|
if (rawCmd.startsWith('npm install')) {
|
|
216
216
|
const prefixDir2 = path.join(os.homedir(), '.openagents', 'nodejs');
|
|
217
|
-
const args = rawCmd.replace('npm install', 'install --loglevel=verbose --ignore-scripts').replace(' -g ', ` --prefix "${prefixDir2}" `);
|
|
217
|
+
const args = rawCmd.replace('npm install', 'install --loglevel=verbose --ignore-scripts --no-save').replace(' -g ', ` --prefix "${prefixDir2}" `);
|
|
218
218
|
cmd = this._resolveNpmCommand(args);
|
|
219
219
|
} else if (rawCmd.startsWith('pip install') || rawCmd.startsWith('pipx install')) {
|
|
220
220
|
cmd = rawCmd; // pip commands stay as-is
|
|
@@ -307,7 +307,7 @@ class Installer {
|
|
|
307
307
|
// Resolve npm to use bundled node if system npm is not available
|
|
308
308
|
let cmd = rawCmd;
|
|
309
309
|
if (rawCmd.startsWith('npm uninstall')) {
|
|
310
|
-
const args = rawCmd.replace('npm uninstall', 'uninstall --loglevel=verbose');
|
|
310
|
+
const args = rawCmd.replace('npm uninstall', 'uninstall --loglevel=verbose --no-save');
|
|
311
311
|
cmd = this._resolveNpmCommand(args);
|
|
312
312
|
}
|
|
313
313
|
|