mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-07-10 01:39:25 +00:00
* perf(tui): cache rendered message lines across frames Cache render(width) output in the transcript container and message components, returning cached lines when content, theme, and width are unchanged. Removes the per-frame full-transcript re-render that caused the TUI to lag as history grew. * perf(tui): bound transcript with sliding window and step merging Keep the TUI responsive as conversations grow by bounding the live transcript: - Sliding window: keep only the most recent 50 turns in the component tree; older turns are destroyed (entry + component). - Step merging: within each turn, keep only the most recent 30 thinking / tool steps rendered; older ones collapse into a summary. - Expand (Ctrl+O) only reaches the most recent 3 turns. All thresholds are overridable via KIMI_CODE_TUI_* env vars; 0 disables the corresponding feature. * chore: add changeset for tui transcript window * chore(tui): remove KIMI_TUI_PERF render timing log |
||
|---|---|---|
| .. | ||
| kimi-code | ||
| kimi-web | ||
| vis | ||