@eyeclaw/eyeclaw 2.3.5 → 2.3.6

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.5",
3
+ "version": "2.3.6",
4
4
  "description": "EyeClaw plugin for OpenClaw - HTTP SSE streaming + WebSocket client",
5
5
  "type": "module",
6
6
  "main": "./index.ts",
@@ -270,6 +270,8 @@ export class EyeClawWebSocketClient {
270
270
  // stream_end 事件:流结束(由 HTTP handler 发送)
271
271
  if (currentEvent === 'stream_end') {
272
272
  this.api.logger.info(`[EyeClaw] Stream ended: ${eventData.stream_id}`)
273
+ // 通知 Rails 流已结束
274
+ this.sendMessage('stream_end', { session_id: sessionId })
273
275
  }
274
276
 
275
277
  // stream_error 事件:错误