@ynhcj/xiaoyi-channel 0.0.71-next → 0.0.72-next

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.
@@ -113,6 +113,7 @@ export class XYWebSocketManager extends EventEmitter {
113
113
  throw new Error("WebSocket not ready");
114
114
  }
115
115
  const messageStr = JSON.stringify(message);
116
+ console.log(`[WS-SEND] Full message JSON: ${messageStr}`);
116
117
  this.ws.send(messageStr);
117
118
  }
118
119
  /**
@@ -361,6 +362,7 @@ export class XYWebSocketManager extends EventEmitter {
361
362
  try {
362
363
  const messageStr = data.toString();
363
364
  console.log(`[WS-RECV] Raw message frame, size: ${messageStr.length} characters`);
365
+ console.log(`[WS-RECV] Full message JSON: ${messageStr}`);
364
366
  const parsed = JSON.parse(messageStr);
365
367
  // 提取并打印消息内容(只显示 text,data 只打印提示)
366
368
  const parts = parsed.params?.message?.parts;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ynhcj/xiaoyi-channel",
3
- "version": "0.0.71-next",
3
+ "version": "0.0.72-next",
4
4
  "description": "OpenClaw Xiaoyi Channel plugin - Xiaoyi A2A protocol integration",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",