feat: add Claude Code conversation tracker
Run Tests / Backend Tests (pull_request) Failing after 5m14s
Run Tests / Frontend Tests (pull_request) Failing after 1m20s
Run Tests / Test Summary (pull_request) Failing after 16s

- Create claude-code-tracker service to monitor and parse Claude Code conversations
- Parse JSONL format with messages, tool calls, and metadata
- Store in SQLite with full-text search support
- Generate daily summaries using Claude API
- Add Conversations UI with search, stats, and conversation browsing
- Integrate with dashboard backend and frontend
- Add sync script for Mac to NAS file transfer
This commit is contained in:
Gan, Jimmy
2026-04-12 08:41:11 +08:00
parent 34a348cafc
commit 1ba0014d47
15 changed files with 1456 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
services:
claude-code-tracker:
build: .
container_name: claude-code-tracker
restart: unless-stopped
volumes:
- /volume1/docker/claude-code-tracker/data:/app/data
- /volume1/docker/claude-code-tracker/conversations:/app/conversations:ro
environment:
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
- ANTHROPIC_BASE_URL=${ANTHROPIC_BASE_URL:-https://www.bytecatcode.org}
- SUMMARY_HOUR=${SUMMARY_HOUR:-23}
- COLLECT_INTERVAL=${COLLECT_INTERVAL:-60}
- DB_PATH=/app/data/conversations.db
- CONVERSATIONS_PATH=/app/conversations
- TRIGGER_PATH=/app/data/trigger
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"