@openagents-org/agent-launcher 0.2.24 → 0.2.25
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 +5 -1
package/package.json
CHANGED
package/src/adapters/openclaw.js
CHANGED
|
@@ -275,6 +275,11 @@ class OpenClawAdapter extends BaseAdapter {
|
|
|
275
275
|
stderrBuffer = lines.pop() || ''; // keep incomplete last line
|
|
276
276
|
|
|
277
277
|
for (const line of lines) {
|
|
278
|
+
// Debug: log all diagnostic lines from stderr
|
|
279
|
+
if (line.includes('[agent/embedded]') || line.includes('[diagnostic]')) {
|
|
280
|
+
this._log(`stderr: ${line.trim().slice(0, 120)}`);
|
|
281
|
+
}
|
|
282
|
+
|
|
278
283
|
const toolStart = line.match(/embedded run tool start:.*tool=(\w+)/);
|
|
279
284
|
if (toolStart) {
|
|
280
285
|
const toolName = toolStart[1];
|
|
@@ -282,7 +287,6 @@ class OpenClawAdapter extends BaseAdapter {
|
|
|
282
287
|
this._log(`Tool status: ${label}`);
|
|
283
288
|
this.sendStatus(channel, label).catch(() => {});
|
|
284
289
|
}
|
|
285
|
-
// Also detect agent thinking
|
|
286
290
|
const agentStart = line.match(/embedded run agent start/);
|
|
287
291
|
if (agentStart) {
|
|
288
292
|
this.sendStatus(channel, 'thinking...').catch(() => {});
|