3 Commits

Author SHA1 Message Date
felix.zoesch
267425806d Fix tool_input JSON parsing for text prompts
The backend was always trying to parse tool_input as JSON, which
failed for UserPromptSubmit events that contain plain text prompts.
This caused 500 errors when creating or fetching UserPromptSubmit events.

Fixed by adding try-except blocks that gracefully handle both JSON
and plain text tool_input values.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-15 12:24:21 +01:00
felix.zoesch
8adeece5c3 Fix SQLAlchemy 2.0 compatibility
- Wrap PRAGMA statement with text() for SQLAlchemy 2.0
- Fixes ObjectNotExecutableError on database initialization
2025-12-15 10:19:03 +01:00
felix.zoesch
f6ef7ff5d3 Initial commit: Claude Code Monitor v1.0.0
Complete real-time monitoring dashboard for Claude Code

Features:
- FastAPI backend with REST API and WebSocket
- React + TypeScript frontend with dark theme
- SQLite database for event storage
- 6 hook scripts for Claude Code events
- Docker deployment setup
- Real-time event tracking and statistics
- Event filtering (ALL, TOOLS, AGENTS, PROMPTS, SESSIONS)
- Connection status indicator
- Reset stats functionality

Tech Stack:
- Backend: Python 3.11, FastAPI, SQLAlchemy, WebSockets
- Frontend: React 18, TypeScript, Vite
- Database: SQLite
- Deployment: Docker, Docker Compose

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-15 09:49:06 +01:00