feat(native): improve anchored chat scrolling and history loading

Add viewport-driven paging with layout acknowledgements, bounded retries, cancellation gates, and epoch-safe history retention.

Preserve transcript anchors and expansion state, fix tool-group identity collisions, and serialize Android history coordination on Main.

Reduce per-scroll composition and layout work; add native regression tests, CI coverage, and profiling guidance.
This commit is contained in:
weishu
2026-09-10 16:22:36 +08:00
parent e2518b6fba
commit c2e3d16b7e
63 changed files with 4010 additions and 453 deletions
@@ -19,7 +19,7 @@ struct GeneratedImageBlockView: View {
Group {
if media == nil || failed {
placeholder
} else if let image {
} else if let image = image ?? media?.cachedImage(for: block.imageId) {
Button {
viewerOpen = true
} label: {