sonance-brand-mcp 1.3.69 → 1.3.70
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.
|
@@ -602,10 +602,11 @@ function searchFilesSmart(
|
|
|
602
602
|
const VISION_SYSTEM_PROMPT = `You edit code. Return ONLY valid JSON - no explanation, no preamble, no markdown.
|
|
603
603
|
|
|
604
604
|
RULES:
|
|
605
|
-
1.
|
|
606
|
-
2.
|
|
607
|
-
3.
|
|
608
|
-
4.
|
|
605
|
+
1. Make ONLY the exact change the user requested. Do not modify unrelated properties.
|
|
606
|
+
2. Copy code EXACTLY from the file - character for character
|
|
607
|
+
3. Make the SMALLEST possible change
|
|
608
|
+
4. For color changes, just change the className
|
|
609
|
+
5. Do not restructure or reorganize code
|
|
609
610
|
|
|
610
611
|
RESPOND WITH ONLY THIS JSON FORMAT (nothing else):
|
|
611
612
|
{"modifications":[{"filePath":"path","patches":[{"search":"exact code","replace":"changed code"}]}]}`;
|
|
@@ -598,10 +598,11 @@ function searchFilesSmart(
|
|
|
598
598
|
const VISION_SYSTEM_PROMPT = `You edit code. Return ONLY valid JSON - no explanation, no preamble, no markdown.
|
|
599
599
|
|
|
600
600
|
RULES:
|
|
601
|
-
1.
|
|
602
|
-
2.
|
|
603
|
-
3.
|
|
604
|
-
4.
|
|
601
|
+
1. Make ONLY the exact change the user requested. Do not modify unrelated properties.
|
|
602
|
+
2. Copy code EXACTLY from the file - character for character
|
|
603
|
+
3. Make the SMALLEST possible change
|
|
604
|
+
4. For color changes, just change the className
|
|
605
|
+
5. Do not restructure or reorganize code
|
|
605
606
|
|
|
606
607
|
RESPOND WITH ONLY THIS JSON FORMAT (nothing else):
|
|
607
608
|
{"modifications":[{"filePath":"path","patches":[{"search":"exact code","replace":"changed code"}]}]}`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sonance-brand-mcp",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.70",
|
|
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",
|