feat(analytics): integrate comprehensive analytics tracking in ClaudeCodeSession
- Track prompt submissions with detailed metrics (length, complexity, attachments) - Monitor session lifecycle (start, stop, duration, engagement) - Record tool executions with performance and success metrics - Track checkpoint creation and restoration events - Implement enhanced session metrics including: - Time to first message - Average response time - Files created/modified/deleted count - Error frequency and recovery attempts - Token usage and code generation metrics - Add session engagement scoring - Monitor conversation abandonment patterns - Track agent execution context when applicable This provides deep insights into user interactions and session quality for improving the AI coding experience.
V
Vivek R committed
5e4cbd415e6df2fc66546b91e17eebaef8764002
Parent: 79e228c