Feature Request: Code Tracking

Hello Team,

I would like to request a feature that automatically tracks:

  1. How many lines of code are generated by AI (when clicking Accept/Apply)
  2. How many lines are manually typed
  3. Statistics and history of this data

This would help developers understand their AI usage patterns.

Would it be possible to:

  1. Add this feature directly in Cursor
  2. Or provide an API so we can build this functionality?

Thank you!