Skip to content

QA: Tool name displayed twice in Live Block summary #83

@randomm

Description

@randomm

Bug

Tool lines show the tool name twice:

✓ bash  bash  remory search "architecture stack components"
✓ read  read  ratcher/README.md
✓ check_task  check_task  tsk_c00d947a3001...

The cyan tool name is rendered by liveblock.ts, but the summary string from index.ts also prepends the tool name.

Root Cause

In index.ts streamResponse(), the summary is built as:

const summary = arg ? \`\${tool}  \${arg}\` : tool

But liveblock.ts render() already outputs: icon toolName summary

So the tool name appears in both toolName AND summary.

Fix

Change the summary to just be the arg, not tool + arg:

const summary = arg || tool

Or simply pass arg as the summary and let the live block handle the tool name display.

Screenshots

Found during QA of commit 85c396e on feature/oclite-ui-components.

Related

Part of #82 (Live Block)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions