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 . Learn more about diff comparisons here.
base repository: master-co/css
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.1.2
Choose a base ref
...
head repository: master-co/css
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.1.3
Choose a head ref
  • 4 commits
  • 23 files changed
  • 2 contributors

Commits on Nov 11, 2026

  1. Feat(MCP): Serve the contracts of a design system built on Master CSS

    Three read-only tools serve the component contracts a design system declares
    in its package.json under "masterCSS": mastercss_contract_list,
    mastercss_contract_get and mastercss_contract_check. The server names no
    design system; @master/ui is the first library that ships contracts.
    
    - Contracts come from dependencies, devDependencies and peerDependencies of
      the workspace package.json. When none declares any, the server reads the
      monorepo root above, without leaving the repository.
    - A project adds or replaces contracts with its own JSON files, and a library
      in its own repository checks them with the checker it declares.
    - A checker is code from the declaring package. It runs in a worker thread
      that stops after 10 seconds per file or past its memory limit, reports
      CONTRACT_CHECKER_FAILED, and loads afresh on every check, so an upgraded
      library needs no restart. knows() still answers synchronously from the
      project manifest.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    1aron and claude committed Nov 11, 2026
    Configuration menu
    Copy the full SHA
    b6f0df3 View commit details
    Browse the repository at this point in the history
  2. Docs(Site): Document the contract tools in every language

    The MCP reference and the AI coding guide describe the contract protocol,
    discovery, project contracts and how a checker runs, with independently
    reviewed translations. The skill and the API census list the new tools.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    1aron and claude committed Nov 11, 2026
    Configuration menu
    Copy the full SHA
    24078c6 View commit details
    Browse the repository at this point in the history
  3. Chore(Git): Merge the design system contract tools

    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    1aron and claude committed Nov 11, 2026
    Configuration menu
    Copy the full SHA
    b1cb7ed View commit details
    Browse the repository at this point in the history
  4. Fix(MCP): List contract check files in the same order on every platform

    fast-glob returns files in directory order, which differs on Linux, so the
    contract check sorts the files it reads. The tests resolve their temporary
    roots with the native realpath, which expands Windows 8.3 names such as
    RUNNER~1 as the server's file paths do.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    1aron and claude committed Nov 11, 2026
    Configuration menu
    Copy the full SHA
    8eb81a6 View commit details
    Browse the repository at this point in the history
Loading