mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-20 23:20:46 +00:00
Remove chatSessionId from MCP server config env vars so it doesn't affect the fingerprint calculation. Previously, different chat sessions in the same workspace produced different fingerprints, causing the ACP provider to be recreated when switching back to a previous session, losing all conversation history. Now the fingerprint only depends on the workspace scope (host session IDs and MCP port), so providers are correctly reused when returning to a previous chat session. Each chat session still has its own provider instance (keyed by chatSessionId in the acpProviders Map). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>