8000 Comparing v0.5.1...v0.6.0 · loonghao/pypi-query-mcp-server · GitHub
[go: up one dir, main page]

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also 8000 . Learn more about diff comparisons here.
base repository: loonghao/pypi-query-mcp-server
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.5.1
Choose a base ref
...
head repository: loonghao/pypi-query-mcp-server
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.6.0
Choose a head ref
  • 10 commits
  • 27 files changed
  • 3 contributors

Commits on May 27, 2025

  1. Configuration menu
    Copy the full SHA
    0f70c6f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    328028a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    458481f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ed0cf45 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2025

  1. feat: add MCP prompt templates for PyPI package analysis and decision…

    …-making
    
    - Add comprehensive prompt templates for package analysis, dependency management, and migration planning
    - Implement 8 prompt templates covering quality analysis, package comparison, alternatives suggestion, dependency conflicts, version upgrades, security audits, and migration planning
    - Add detailed documentation in PROMPT_TEMPLATES.md with usage examples
    - Include demo script and test coverage for prompt template functionality
    - Update README.md to highlight new prompt template features
    - Templates provide structured guidance for common PyPI package scenarios
    
    Signed-off-by: longhao <hal.long@outlook.com>
    loonghao committed May 29, 2025
    Configuration menu
    Copy the full SHA
    e481711 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    de54e1e View commit details
    Browse the repository at this point in the history
  3. refactor: update prompt templates to follow standard MCP workflow

    - Implement standard MCP prompt workflow with template variables
    - Use {{parameter_name}} placeholders instead of direct string interpolation
    - Add proper parameter replacement in server prompt registrations
    - Update templates to return template strings with placeholders
    - Follow MCP workflow: load template → parameter replacement → return final prompt
    - Update documentation to reflect standard MCP workflow implementation
    - Remove TEMPLATES_USE environment variable as requested
    - Maintain all existing functionality while improving MCP compliance
    
    Signed-off-by: longhao <hal.long@outlook.com>
    loonghao committed May 29, 2025
    Configuration menu
    Copy the full SHA
    4bdf38d View commit details
    Browse the repository at this point in the history
  4. feat: add comprehensive environment and trending analysis prompt temp…

    …lates
    
    Environment Analysis Templates:
    - analyze_environment_dependencies: Analyze current Python environment and dependencies
    - check_outdated_packages: Check for outdated packages with update priorities
    - generate_update_plan: Create comprehensive package update plans with strategies
    
    Trending Analysis Templates:
    - analyze_daily_trends: Analyze daily PyPI download trends and popular packages
    - find_trending_packages: Discover trending packages over different time periods
    - track_package_updates: Track recent package updates and releases
    
    Key Features:
    - Follow standard MCP workflow with {{parameter}} template variables
    - Support environment analysis (uvx pip list integration ready)
    - Enable trending package discovery and popularity analysis
    - Provide structured update planning with different strategies
    - Include comprehensive parameter validation and documentation
    - Add usage examples and integration guides
    
    All templates follow the established MCP prompt workflow:
    1. User calls tool → MCP client sends request
    2. Tool function executes → Collects necessary data and parameters
    3. Call Prompt generator → Pass parameters to corresponding generator
    4. Load template → Get template with {{parameter}} placeholders
    5. Parameter replacement → Replace {{parameter_name}} with actual values
    6. Return final prompt → As tool's response back to AI
    
    Updated documentation and README with new template examples and usage patterns.
    
    Signed-off-by: longhao <hal.long@outlook.com>
    loonghao committed May 29, 2025
    Configuration menu
    Copy the full SHA
    d63ef02 View commit details
    Browse the repository at this point in the history
  5. fix: resolve all lint issues and fix failing tests

    - Fix blank line whitespace issues (W293) using ruff --unsafe-fixes
    - Reformat code using ruff format for consistent styling
    - Fix analyze_package_quality function to return list[Message] instead of string
    - Add missing 'assessment' keyword to package analysis template
    - Update tests to use real prompt functions instead of mocks for structure validation
    - Fix import ordering in test files
    - All 64 tests now pass with 47% code coverage
    
    Signed-off-by: longhao <hal.long@outlook.com>
    loonghao committed May 29, 2025
    Configuration menu
    Copy the full SHA
    a28d999 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    07f1085 View commit details
    Browse the repository at this point in the history
Loading
0