Feature hasn't been suggested before.
Describe the enhancement you want to request
Long sessions can contain thousands of messages, and loading the entire history up front is slow and memory-heavy.
Add paginated message loading so the app and TUI can keep a bounded message window, load older/newer history on demand, and still support jumps to oldest/latest history.
The pagination contract should also be available through the server/API/SDK, and revert/restore flows should remain correct even when the relevant boundary messages are outside the currently loaded window.
Virtualized rendering could still be a separate future optimization, but this issue is focused on paged message loading and bounded client history.
Feature hasn't been suggested before.
Describe the enhancement you want to request
Long sessions can contain thousands of messages, and loading the entire history up front is slow and memory-heavy.
Add paginated message loading so the app and TUI can keep a bounded message window, load older/newer history on demand, and still support jumps to oldest/latest history.
The pagination contract should also be available through the server/API/SDK, and revert/restore flows should remain correct even when the relevant boundary messages are outside the currently loaded window.
Virtualized rendering could still be a separate future optimization, but this issue is focused on paged message loading and bounded client history.