github dyoshikawa/rulesync v3.23.1

latest releases: v33.0.0, v32.0.0, v31.0.0...
11 months ago

What's Changed

Refactoring & Improvements

  • Improved MCP Schema Naming and Validation: Refactored MCP schema naming for better clarity and implemented proper validation

    • Renamed schema types for better semantic meaning
    • Implemented proper validation in RulesyncMcp.validate() to validate JSON structure against schema
    • Added modularMcp-specific validation requiring descriptions for all servers
    • Implemented validation in ModularMcp.validate() with schema-based validation
  • Simplified MCP Configuration Handling: Streamlined MCP configuration API

    • Simplified validate() method using zod's safeParse
    • Removed unnecessary parameter passing and redundant type checks
    • Improved getter method naming for clarity (getExposedMcpServers, getModularizedMcpServers)
    • Return raw JSON from getJson() for consistency
  • Refactored MCP Configuration Classes: Improved code organization

    • Moved MCP schema definitions to src/types/mcp.ts for better organization
    • Removed validate parameter from AiFile constructor for more flexible usage
    • Fixed modular MCP filtering logic in exposed/hidden server methods
    • Ensured proper behavior for both standard and modular MCP modes
  • Updated CLI Commands: Improved compatibility

    • Replaced pnpx with npx -y for better compatibility and consistency

Contributors

Full Changelog

v3.23.0...v3.23.1

Don't miss a new rulesync release

NewReleases is sending notifications on new releases.