@eyeclaw/eyeclaw 2.3.1 → 2.3.2

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": "@eyeclaw/eyeclaw",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "description": "EyeClaw plugin for OpenClaw - HTTP SSE streaming + WebSocket client",
5
5
  "type": "module",
6
6
  "main": "./index.ts",
@@ -293,8 +293,7 @@ export class EyeClawWebSocketClient {
293
293
  * 发送流式内容块到 Rails
294
294
  */
295
295
  private sendChunk(content: string, sessionId?: string) {
296
- this.send({
297
- type: 'stream_chunk',
296
+ this.sendMessage('stream_chunk', {
298
297
  content,
299
298
  session_id: sessionId,
300
299
  })