@locofy/mcp 1.0.4 → 1.0.5

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.
@@ -490,9 +490,7 @@ function processDirectoryStructure(directoryStructure) {
490
490
  // Then clean the structure
491
491
  cleanNode(directoryStructure);
492
492
  // Get the first child (the actual component data we want)
493
- const result = directoryStructure.children && directoryStructure.children.length > 0
494
- ? directoryStructure.children[0]
495
- : directoryStructure;
493
+ const result = directoryStructure.children;
496
494
  // Add the component lists to the component data
497
495
  result.componentsToUpdate = [...new Set(componentsToUpdate)];
498
496
  result.componentsUnchanged = [...new Set(componentsUnchanged)];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@locofy/mcp",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Locofy MCP Server with Cursor",
5
5
  "keywords": [
6
6
  "figma",