forked from anomalyco/opencode
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
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}\` : toolBut 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 || toolOr 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
Labels
bugSomething isn't workingSomething isn't working