fix(tui): preserved TUI initial scrollback unless clear was requested

- Updated the initial render intent to carry a `clearScrollback` flag.
- Adjusted first-frame rendering logic to preserve existing scrollback by default and clear only when requested.
- Added `resolver` stubs to coding-agent and web-search test registries for interface compatibility.
This commit is contained in:
can1357
2026-06-07 07:54:50 +02:00
parent becc44ccef
commit 76af35dcd6
9 changed files with 20 additions and 16 deletions
@@ -46,6 +46,7 @@ function createModelRegistry(model: Model): any {
find: vi.fn(() => model),
getAll: vi.fn(() => [model]),
getApiKey: vi.fn(async () => "test-api-key"),
resolver: vi.fn(() => async () => "test-api-key"),
};
}