The cache was incorrectly implemented as an instance variable, causing
cached explanations to be lost when closing and reopening explain panes.
This broke the "Caching and reload" Cypress test which expected cache
persistence across pane instances.
Changes:
- Convert cache from instance to static variable
- Initialize cache once, similar to availableOptions pattern
- Update cache access to use ExplainView.cache\!
This aligns with the documented behavior that the cache should be
"shared across all explain views in the session" and fixes the failing
Cypress test.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>