fix(ui): keep message-part tool output auto-scroll synced (#567)

## Summary
- Pass MessagePart render notifications into ToolCall as
onContentRendered.
- Ensures streaming bash output rendered through the generic MessagePart
path notifies the outer VirtualFollowList when content grows.

## Validation
- npm run typecheck --workspace @codenomad/ui
This commit is contained in:
Shantur Rathore 2026-06-21 18:09:03 +01:00 committed by GitHub
parent e29c3a085c
commit 353d8d2eae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -277,6 +277,7 @@ export default function MessagePart(props: MessagePartProps) {
toolCallId={props.part?.id}
instanceId={props.instanceId}
sessionId={props.sessionId}
onContentRendered={props.onRendered}
/>
</Suspense>
</Match>