Commit Graph

6 Commits

  • Fix two critical session issues in Claude Code IDE
    Issue 1: Sessions history not showing in left sidebar
    - Converted loadChatHistoryOnLoad IIFE to named loadChatHistory() function
    - Added refresh calls in loadSessionMessages() after loading messages
    - Added guard to skip refresh if showing "Loading session..." state
    - Sidebar now properly shows all active sessions after attachment
    
    Issue 2: New chat session button fails with 'Failed to create session'
    - Changed startNewChat() to call loadChatHistory() instead of loadChatView()
    - Prevents triggering URL-based attachment logic that was causing confusion
    - Sidebar now refreshes correctly without getting stuck in loading state
    
    Also updated cache-bust version to force browser reload.
    
    Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
  • Fix command truncation and prepare for approval UI
    - Fix regex pattern in semantic-validator.js that was truncating
      domain names (google.com -> google)
    - Remove unnecessary 'info' type error reporting to bug tracker
    - Only add bug tracker activity when errorId is valid
    - Add terminal approval UI design document
    
    Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
  • feat: AI auto-fix bug tracker with real-time error monitoring
    - Real-time error monitoring system with WebSocket
    - Auto-fix agent that triggers on browser errors
    - Bug tracker dashboard with floating button (🐛)
    - Live activity stream showing AI thought process
    - Fixed 4 JavaScript errors (SyntaxError, TypeError)
    - Fixed SessionPicker API endpoint error
    - Enhanced chat input with Monaco editor
    - Session picker component for project management
    
    Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
  • feat: Implement CLI session-based Full Stack mode
    Replaces WebContainer-based approach with simpler Claude Code CLI session
    shell command execution. This eliminates COOP/COEP header requirements
    and reduces bundle size by ~350KB.
    
    Changes:
    - Added executeShellCommand() to ClaudeService for spawning bash processes
    - Added /claude/api/shell-command API endpoint for executing commands
    - Updated Full Stack mode (chat-functions.js) to use CLI sessions
    - Simplified terminal mode by removing WebContainer dependencies
    
    Benefits:
    - No SharedArrayBuffer/COOP/COEP issues
    - Uses existing Claude Code infrastructure
    - Faster startup, more reliable execution
    - Better error handling and output capture
    
    Fixes:
    - Terminal creation failure in Full Stack mode
    - WebContainer SharedArrayBuffer serialization errors
    
    Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
  • Initial commit: Obsidian Web Interface for Claude Code
    - Full IDE with terminal integration using xterm.js
    - Session management with local and web sessions
    - HTML preview functionality
    - Multi-terminal support with session picker
    
    Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>