Skip to content

Enhance parsers and refactor analytics system#1

Merged
sanggggg merged 5 commits intomainfrom
feature/enhance-parsers-and-analytics
Sep 22, 2025
Merged

Enhance parsers and refactor analytics system#1
sanggggg merged 5 commits intomainfrom
feature/enhance-parsers-and-analytics

Conversation

@sanggggg
Copy link
Collaborator

Summary

This PR enhances the chat parsers system and refactors the analytics service to improve code maintainability and add project inference capabilities.

Changes

  • Enhanced Claude Code parser: Improved parsing logic and error handling in src/parsers/claude_code.rs
  • Enhanced Gemini parser: Added new functionality to src/parsers/gemini.rs
  • Added project inference: New src/parsers/project_inference.rs module for intelligent project context detection
  • Refactored analytics: Simplified analytics service by removing legacy methods and consolidating functionality in TUI layer
  • Updated gitignore: Added additional patterns for better file exclusion
  • Updated dependencies: Cleaned up Cargo.toml dependencies

Removed Code

  • Removed legacy analytics service methods (~178 lines)
  • Removed outdated contract and integration tests (~523 lines total)
  • Consolidated analytics logic into TUI layer for better separation of concerns

Technical Details

  • Added project inference capabilities to better understand chat context
  • Improved parser robustness and error handling
  • Streamlined analytics architecture by moving logic closer to presentation layer

🤖 Generated with Claude Code

@sanggggg sanggggg merged commit 458486c into main Sep 22, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant