Files
tkmind_go/ui/desktop/src
Zane Staggs 460e324fe1 fix: prevent crashes in long-running Electron sessions
Renderer process:
- Add weight-based LRU cache (cap 5) to resultsCache in useChatStream
- Only write to cache when chat is idle, not on every streamed chunk
- Wire activeSessions tab eviction to clear cache entries
- Delete unused sessionCache.ts (dead code, never imported)

Main process:
- Skip stderr Buffer.toString() after startup unless fatal error detected
  via byte-level Buffer.includes scan — avoids converting 2GB+ of goosed
  tracing output to V8 strings over long sessions
- Cap errorLog at 200 lines to prevent unbounded array growth
- Add stdout size guard while preserving cert fingerprint extraction
- Replace spawn('cat') with fs.readFile in read-file IPC handler
- Defer string conversion in check-ollama to stream close
2026-02-26 10:26:15 -08:00
..
2026-02-11 14:35:24 +00:00
2026-02-11 19:22:43 +00:00
2026-02-21 14:26:03 +00:00
2025-12-15 14:04:39 +11:00
2026-02-21 14:26:03 +00:00
2025-10-29 11:16:06 -04:00
2026-01-21 09:13:55 -08:00
2025-09-22 15:53:19 -04:00
2026-01-21 09:13:55 -08:00