@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openagents-org/agent-launcher",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "OpenAgents Launcher — install, configure, and run AI coding agents from your terminal",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -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) => {