sonance-brand-mcp 1.3.66 → 1.3.67

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.
@@ -946,6 +946,15 @@ ${linesWithNumbers}
946
946
 
947
947
  // Add theme context to the prompt so LLM knows actual color values and safe combinations
948
948
  const themeContext = formatThemeForPrompt(discoveredTheme);
949
+
950
+ // DEBUG: Log what we're sending to the LLM
951
+ debugLog("Theme context for LLM", {
952
+ cssVarCount: Object.keys(discoveredTheme.cssVariables).length,
953
+ warningCount: discoveredTheme.contrastAnalysis?.warnings.length || 0,
954
+ safePatternCount: discoveredTheme.contrastAnalysis?.safePatterns.length || 0,
955
+ preview: themeContext.substring(0, 1000) + "...",
956
+ });
957
+
949
958
  textContent += `\n${themeContext}\n`;
950
959
  }
951
960
 
@@ -915,6 +915,15 @@ ${linesWithNumbers}
915
915
 
916
916
  // Add theme context to the prompt so LLM knows actual color values and safe combinations
917
917
  const themeContext = formatThemeForPrompt(discoveredTheme);
918
+
919
+ // DEBUG: Log what we're sending to the LLM
920
+ debugLog("Theme context for LLM", {
921
+ cssVarCount: Object.keys(discoveredTheme.cssVariables).length,
922
+ warningCount: discoveredTheme.contrastAnalysis?.warnings.length || 0,
923
+ safePatternCount: discoveredTheme.contrastAnalysis?.safePatterns.length || 0,
924
+ preview: themeContext.substring(0, 1000) + "...",
925
+ });
926
+
918
927
  textContent += `\n${themeContext}\n`;
919
928
  }
920
929
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sonance-brand-mcp",
3
- "version": "1.3.66",
3
+ "version": "1.3.67",
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",