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>
This commit is contained in:
uroma
2026-01-21 10:53:11 +00:00
Unverified
parent b765c537fc
commit efb3ecfb19
23 changed files with 7254 additions and 119 deletions

View File

@@ -347,14 +347,18 @@ class ClaudeCodeService extends EventEmitter {
// Parse output buffer from markdown
const outputBuffer = this.parseOutputFromMarkdown(content);
// Normalize date properties with fallbacks for frontend compatibility
const createdAt = historical.created_at || historical.createdAt || new Date().toISOString();
const lastActivity = historical.last_activity || historical.lastActivity || historical.created_at || createdAt;
return {
id: historical.id,
pid: null,
workingDir: historical.workingDir,
status: historical.status,
createdAt: historical.created_at,
lastActivity: historical.created_at,
terminatedAt: historical.created_at,
createdAt,
lastActivity,
terminatedAt: historical.terminated_at || historical.terminatedAt || createdAt,
exitCode: null,
outputBuffer,
context: {