Files
SuperCharged-Claude-Code-Up…/public/claude-ide
uroma 6f8c7cdefb fix: auto-create session when attaching terminal
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>
6f8c7cdefb · 2026-01-20 05:57:59 +00:00
History
..
2026-01-19 17:03:25 +00:00