mirror of
https://github.com/NanmiCoder/claude-code-haha.git
synced 2026-10-10 03:43:11 +08:00
66f9938f36
Every session route resolves its transcript first, and that lookup parsed the whole file to rank candidates even when only one file matched. The desktop pages a long session's history request by request, so reopening it cost one full parse per page and grew quadratically with file size. Skip the content check when a single file matches, and stop a multi-file check at the first conversation record. Ranking and API responses are unchanged.