@openagents-org/agent-launcher 0.1.7 → 0.1.8
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 -1
package/package.json
CHANGED
package/src/adapters/openclaw.js
CHANGED
|
@@ -223,8 +223,9 @@ class OpenClawAdapter extends BaseAdapter {
|
|
|
223
223
|
let stdout = '';
|
|
224
224
|
let stderr = '';
|
|
225
225
|
|
|
226
|
+
// OpenClaw writes --json output to stderr, so capture both
|
|
226
227
|
if (proc.stdout) proc.stdout.on('data', (d) => { stdout += d; });
|
|
227
|
-
if (proc.stderr) proc.stderr.on('data', (d) => { stderr += d; });
|
|
228
|
+
if (proc.stderr) proc.stderr.on('data', (d) => { stderr += d; stdout += d; });
|
|
228
229
|
|
|
229
230
|
proc.on('error', (err) => reject(err));
|
|
230
231
|
proc.on('exit', (code) => {
|