Skip to content

Control UI webchat: read tool output not rendered + exec output text clipped #77054

@cdcly21-source

Description

@cdcly21-source

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

两个渲染 bug 导致 webchat 中文件内容无法正常查看:

Bug 1: read 工具输出完全不渲染
Bug 2: exec 输出长行被 CSS 视觉截断

Steps to reproduce

Bug 1:

  1. 在 webchat Control UI 中让 assistant 读取一个本地 .md 文件
  2. Assistant 调用 read 工具
  3. 查看聊天界面 → read 的输出区域完全空白

Bug 2:

  1. 让 assistant 用 exec cat 读取同一文件
  2. 查看 exec 输出区域
  3. 长文本行(如表格行)在右端被截断,无法查看完整内容

Expected behavior

Bug 1: read 工具的输出应和 exec 输出一样正常渲染可见
Bug 2: 工具输出区域应支持水平滚动或自动换行,长行不被视觉裁剪

Actual behavior

Bug 1: read 输出区域完全空白,用户看不到任何文件内容
Bug 2: 长行被 overflow 隐藏,只显示前几个字,如"修复所有bug、适配微信小程序审核规则,可直接提交上线"只显示为"修bug、适配审核"

OpenClaw version

OpenClaw 2026.5.2

Operating system

macOS Darwin 25.3.0 (arm64)

Install method

No response

Model

deepseek

Provider / routing chain

Gateway (local)

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionBehavior that previously worked and now fails

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions