Leaving tool results out of conversation history reads over a relay, and fetching one item when a row is opened

Opening a long conversation on the phone became extremely slow. The latest 500 history items were 19MB, nearly all tool results and arguments. Responses kept failing the relay’s 8MB limit, and the client retried with half as many items each time. After comparing a higher limit, compression and truncation, the history list now leaves tool results out, and the phone fetches the one item a user opens.

October 30, 2026 | 4 min

Reducing React Query polling and streaming re-renders in a Tauri WebView

My Tauri desktop app used CPU every few seconds while idle. React Query’s focusManager only listens to visibilitychange, so polling kept running in a window hidden behind others. This post covers stopping it with Tauri’s focus events, a spread of the whole query result that doubled re-renders, and freezing a streaming Markdown answer block by block once each block is complete.

October 23, 2026 | 4 min