@openagents-org/agent-launcher 0.2.49 → 0.2.50

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openagents-org/agent-launcher",
3
- "version": "0.2.49",
3
+ "version": "0.2.50",
4
4
  "description": "OpenAgents Launcher — install, configure, and run AI coding agents from your terminal",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -73,7 +73,7 @@ class OpenClawAdapter extends BaseAdapter {
73
73
  if (home) dirs.push(path.join(home, '.openagents', 'nodejs'));
74
74
  } else {
75
75
  const home = process.env.HOME || '';
76
- dirs.push(path.join(home, '.npm-global', 'bin'), '/usr/local/bin');
76
+ dirs.push(path.join(home, '.openagents', 'nodejs', 'bin'), '/usr/local/bin');
77
77
  }
78
78
  for (const d of dirs) {
79
79
  for (const name of ['openclaw.cmd', 'openclaw']) {
package/src/paths.js CHANGED
@@ -177,9 +177,8 @@ function _addUnixPaths(dirs) {
177
177
  _push(dirs, '/usr/local/bin');
178
178
  _push(dirs, '/usr/bin');
179
179
 
180
- // npm global (varies by install method)
181
- _push(dirs, path.join(HOME, '.npm-global', 'bin'));
182
- _push(dirs, path.join(HOME, '.openagents', 'npm-global', 'bin'));
180
+ // npm global all installs use --prefix ~/.openagents/nodejs
181
+ // No need for ~/.npm-global or ~/.openagents/npm-global
183
182
 
184
183
  // nvm
185
184
  const nvmDir = process.env.NVM_DIR || path.join(HOME, '.nvm');