@efengx/openclaw-channel-dragon 0.3.0 → 0.3.1
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/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -182,7 +182,9 @@ async function startPolling(ctx) {
|
|
|
182
182
|
if (evt.type === 'WORKBENCH_MESSAGE') {
|
|
183
183
|
const sendTs = evt.payload?.ts || 0;
|
|
184
184
|
const latency = sendTs ? (Date.now() - sendTs) : 'unknown';
|
|
185
|
-
logger?.info?.(`dragon channel: [
|
|
185
|
+
logger?.info?.(`dragon channel: [DEBUG] Received WORKBENCH_MESSAGE via SSE. AgentID=${evt.agentId}, ContentLen=${evt.payload?.content?.length}, Latency=${latency}ms`);
|
|
186
|
+
logger?.info?.(`dragon channel: [DEBUG] Payload Content: "${evt.payload?.content?.substring(0, 500)}"`);
|
|
187
|
+
logger?.info?.(`dragon channel: [DEBUG] Current Account Config: ${JSON.stringify(account)}`);
|
|
186
188
|
await deliverToOpenClaw(String(evt?.payload?.content || ''), String(evt?.payload?.sessionId || 'default'), evt?.payload?.modelId, evt?.payload?.attachments);
|
|
187
189
|
}
|
|
188
190
|
}
|