@fruit-labs/design-mcp 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -14,6 +14,6 @@ Tools: `get_guide`, `list_components`, `search_components`, `get_component`, `ge
14
14
 
15
15
  - **Docs and components:** both servers read the live site, so new releases show up without any change on your side.
16
16
  - **The server itself:** the remote server updates on deploy. With `@latest`, the local one picks up new versions the next time your agent starts it.
17
- - Ask your agent to call `get_changelog` to compare with your installed `@fruit-labs/design`.
17
+ - **The library:** at the start of UI work, agents compare `get_changelog` with your installed `@fruit-labs/design`, update it, check the app and tell you what changed. To be asked first, say so in your AGENTS.md.
18
18
 
19
19
  Designed and developed by [Vishwanath](https://github.com/ms-vishwanath), open-source contributor.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fruit-labs/design-mcp",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "MCP server for Fruit Design: search components, read props, examples and tokens.",
5
5
  "license": "MIT",
6
6
  "author": "Fruit Labs",
package/src/core.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // Minimal MCP (JSON-RPC 2.0) for read-only docs tools. `load(path)` returns the parsed JSON the site publishes.
2
- export const VERSION = '0.2.0';
2
+ export const VERSION = '0.2.1';
3
3
  const PROTOCOLS = ['2025-11-25', '2025-06-18', '2025-03-26', '2024-11-05'];
4
4
  const SITE = 'https://design.fruitlabs.online';
5
5
 
@@ -13,7 +13,7 @@ export const tools = [
13
13
  { name: 'get_component', description: 'Guidelines, props, example code and install command for one component.', inputSchema: schema({ name: str('Component name or slug, e.g. DatePicker') }, ['name']), annotations: readOnly },
14
14
  { name: 'get_tokens', description: 'Fruit Design colour, type, spacing and radius tokens as JSON.', inputSchema: schema(), annotations: readOnly },
15
15
  { name: 'get_custom_styles', description: 'How to change border radius, colours, fonts and shadows with CSS variables.', inputSchema: schema(), annotations: readOnly },
16
- { name: 'get_changelog', description: 'Latest Fruit Design version and what changed. Compare with the installed version before updating.', inputSchema: schema(), annotations: readOnly },
16
+ { name: 'get_changelog', description: 'Latest Fruit Design version and what changed. Compare with the installed version at the start of UI work; get_guide has the update rules.', inputSchema: schema(), annotations: readOnly },
17
17
  { name: 'get_guide', description: 'How to install Fruit Design and the rules for using it.', inputSchema: schema(), annotations: readOnly },
18
18
  ];
19
19