Commit Graph

2 Commits

Author SHA1 Message Date
Morax
815a8e9c9d feat: Add comprehensive optimization report for Tarot MCP Server
- Implemented performance optimizations including improved singleton pattern and card lookup efficiency.
- Enhanced error handling with a unified error type system and context-aware error messages.
- Introduced a strong type validation framework for input validation, including sanitization functions.
- Improved code quality through consistent formatting, ES module compatibility, and enhanced documentation.
- Expanded test coverage with detailed tests for reading manager and error handling scenarios.
- Created a simple test runner to validate optimizations and performance metrics.
2025-08-27 17:50:24 +08:00
Morax
cfe75ffb2b feat: Implement Tarot session management and reading spreads
- Added TarotSessionManager class to manage tarot reading sessions, including session creation, retrieval, reading addition, and cleanup of old sessions.
- Defined various tarot spreads in a new spreads module, including single card, three card, Celtic cross, and more, with detailed descriptions and meanings for each position.
- Created core types for tarot cards, readings, and sessions in a new types module to structure data effectively.
- Configured TypeScript settings in tsconfig.json for improved development experience and compatibility.
2025-07-28 20:29:58 +08:00