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
When the PM agent polls check_task repeatedly, each call gets its own line in the Live Block:
✓ check_task check_task tsk_c00d947a3001AAwzCv13FtinQT
✓ check_task check_task tsk_c00d947a3001AAwzCv13FtinQT
✓ check_task check_task tsk_c00d947a3001AAwzCv13FtinQT
... (15+ lines)
The old inline display had a dedup counter (×N). The Live Block doesn't because each tool call has a unique callID.
Expected Behavior
Consecutive calls to the same tool with the same arguments should collapse:
✓ check_task tsk_c00d947a3001AAwzCv13FtinQT (×15)
Approach
Add dedup logic in streamResponse() — when a new tool_start has the same name and summary as the previous tool, reuse the same Live Block ID and update a counter instead of creating a new entry.
Alternatively, add dedup inside liveblock.ts itself.
Screenshots
Found during QA of commit 85c396e on feature/oclite-ui-components.
Related
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working