sonance-brand-mcp 1.3.21 → 1.3.22
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.
|
@@ -87,9 +87,10 @@ CRITICAL RULES
|
|
|
87
87
|
14. Modify the minimum amount of code necessary
|
|
88
88
|
15. Use semantic Tailwind classes (bg-primary, text-foreground, etc.)
|
|
89
89
|
16. Maintain dark mode compatibility with CSS variables
|
|
90
|
-
17. Keep the cn() utility for className merging
|
|
90
|
+
17. Keep the cn() utility for className merging
|
|
91
|
+
18. CRITICAL: You MUST return the FULL file content in "modifiedContent". Do NOT use comments like "// ... existing code ..." or "// ... rest of file ...". Return every single line of code, even if unchanged.
|
|
91
92
|
|
|
92
|
-
**SONANCE BRAND COLORS:**
|
|
93
|
+
**SONANCE BRAND COLORS:**
|
|
93
94
|
- Charcoal: #333F48, #343D46 (primary)
|
|
94
95
|
- Silver: #E2E2E2, #D1D1D6 (secondary)
|
|
95
96
|
- IPORT Orange: #FC4C02
|
|
@@ -101,11 +102,11 @@ CRITICAL RULES
|
|
|
101
102
|
Return ONLY a valid JSON object. Do not include any conversational text before or after the JSON.
|
|
102
103
|
The JSON must include:
|
|
103
104
|
- "reasoning": Brief explanation of what you see in the screenshot and your plan
|
|
104
|
-
- "modifications": Array of file modifications, each with:
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
105
|
+
- "modifications": Array of file modifications, each with:
|
|
106
|
+
- "filePath": Path to the file
|
|
107
|
+
- "modifiedContent": Complete updated file content (MUST BE FULL CONTENT, NO TRUNCATION)
|
|
108
|
+
- "explanation": What changed in this file
|
|
109
|
+
- "previewCSS": CSS for live preview (use [data-sonance-name="ComponentName"] selectors)
|
|
109
110
|
- "aggregatedPreviewCSS": Combined CSS for all changes
|
|
110
111
|
- "explanation": Overall summary of changes`;
|
|
111
112
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sonance-brand-mcp",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.22",
|
|
4
4
|
"description": "MCP Server for Sonance Brand Guidelines and Component Library - gives Claude instant access to brand colors, typography, and UI components.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|