- Add dummy thought signature fallback for Gemini API when signature is missing - Filter out thinking blocks without signatures before sending to Anthropic API - Update signature field cleaning to apply to non-thinking blocks only - Remove unused DEFAULT_CACHE_TTL_SECONDS constant This ensures proper message conversion between providers by using Gemini's documented dummy signature "skip_thought_signature_validator" when original signature is unavailable, and prevents invalid thinking blocks from being sent to Anthropic's API which requires valid signatures.
Core Architecture
Extension entry point (extension.ts) -> webview -> controller -> task
core/
├── webview/ # Manages webview lifecycle
├── controller/ # Handles webview messages and task management
├── task/ # Executes API requests and tool operations
└── ... # Additional components to help with context, parsing user/assistant messages, etc.