The attach button was failing with "Invalid session" error when: - No active session exists (chatSessionId is null) - The stored session ID no longer exists in Claude service Changes: - Auto-create new session when no active session exists - Detect "Session not found" error and create new session - Recursively retry attach after creating new session - Update global session IDs and UI elements - Better error messages and user feedback The attach button now works seamlessly without requiring users to manually create a session first. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
45 KiB
45 KiB