• v2.0.0 1f75225674

    v2.0.0
    All checks were successful
    Publish Package / publish (push) Successful in 27s
    Stable

    jack released this 2025-10-10 12:49:40 +02:00 | 0 commits to main since this release

    Complete Refactor - v2.0.0

    New Features

    • Added comprehensive unit tests (19 tests) with Vitest
    • Full TypeScript type safety - eliminated all any types
    • Complete JSDoc documentation for all public APIs
    • Added roadmap generation capability

    🏗️ Architecture

    • Modular structure: Separated into types, tool-definitions, handlers, summarizer-service, and index modules
    • Type-safe interfaces: Issue, IssueSummary, PrioritizedIssue, TrendAnalysis, Roadmap, ToolArguments
    • index.ts: 274 → 76 lines (72% reduction)
    • Improved error handling with type-safe validation
    • Better LLM API response parsing with proper type guards

    🧪 Testing

    • 19 comprehensive unit tests
    • Complete test coverage with Vitest
    • Type validation tests for all interfaces
    • Tool definition validation tests

    📦 Dependencies

    • MCP SDK upgraded to ^1.20.0 (moved to devDependencies)
    • Added Vitest ^3.2.4 for testing
    • Added @vitest/coverage-v8 ^3.2.4 for coverage reporting
    • Added Zod ^3.23.8 for runtime validation

    🔧 Improvements

    • Enhanced JSDoc comments throughout codebase
    • Better code organization with centralized type definitions
    • Improved LLM API integration with support for Ollama and OpenAI-compatible APIs
    • Better JSON parsing from LLM responses

    📊 Statistics

    • 6 AI-powered tools
    • 19 unit tests
    • 100% TypeScript type safety
    • 72% code reduction in main index file
    Downloads