@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 +1 -1
- package/src/adapters/openclaw.js +1 -1
- package/src/paths.js +2 -3
package/package.json
CHANGED
package/src/adapters/openclaw.js
CHANGED
|
@@ -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, '.
|
|
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
|
|
181
|
-
|
|
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');
|