[Bug] TUI 无法实时显示助手回复 - --deliver 参数对 webchat 通道不生效

Resolved 💬 1 comment Opened Feb 13, 2026 by zoushenhh Closed Feb 13, 2026

Bug 描述

TUI (终端 UI) 无法实时显示助手回复,而 WebUI 正常工作。

环境

  • OpenClaw 版本: 2026.2.1-zh.3
  • Gateway: ws://127.0.0.1:18789
  • Session ID: 9f4d193d-234a-4704-a9c8-7afe105f9dc6

复现步骤

  1. 通过 TUI 连接 OpenClaw (使用 SwiftBar 插件或直接运行 openclaw tui)
  2. 发送消息给助手
  3. 助手回复不会实时显示在 TUI 终端

根因分析

  • TUI 内部使用 webchat 协议连接 (client=openclaw-control-ui webchat vdev)
  • 所有消息的 messageChannel 都被记录为 webchat
  • --deliver 参数对 webchat 通道不生效
  • 导致回复存储到会话但不会推送到 TUI 终端

临时解决方案

期望行为

--deliver 参数应该对 TUI/webchat 连接生效,使助手回复能实时推送到终端

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗