@openagents-org/agent-launcher 0.2.25 → 0.2.26
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 +2 -0
package/package.json
CHANGED
package/src/adapters/openclaw.js
CHANGED
|
@@ -235,11 +235,13 @@ class OpenClawAdapter extends BaseAdapter {
|
|
|
235
235
|
// Direct spawn — unbuffered stderr for real-time tool streaming
|
|
236
236
|
spawnBinary = nodeBin;
|
|
237
237
|
spawnArgs = [entryPoint, ...args];
|
|
238
|
+
this._log(`Spawn: direct node (${nodeBin}) → ${entryPoint}`);
|
|
238
239
|
} else {
|
|
239
240
|
// Fallback to cmd.exe (buffered stderr — no real-time status)
|
|
240
241
|
spawnBinary = process.env.COMSPEC || 'cmd.exe';
|
|
241
242
|
const quotedArgs = args.map((a) => a.includes(' ') ? `"${a}"` : a);
|
|
242
243
|
spawnArgs = ['/C', binary, ...quotedArgs];
|
|
244
|
+
this._log(`Spawn: cmd.exe fallback (nodeBin=${nodeBin}, entry=${entryPoint})`);
|
|
243
245
|
}
|
|
244
246
|
}
|
|
245
247
|
|