feat: add Claude Code conversation tracker
- 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:
@@ -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"
|
||||
Reference in New Issue
Block a user