mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
Add diff viewing capabilities to Read tool calls with automatic opening of VS Code diff tabs when diff content is detected. Includes: - Import necessary React hooks and VS Code context - Memoize content grouping for performance - Auto-open diff in VS Code with useEffect - Handle diff messages with useCallback - Display compact UI when diff content is present