gemini-design-mcp 3.5.0 → 3.5.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.
@@ -64,16 +64,22 @@ export async function generateVibes(params) {
64
64
  cleanedResult = cleanedResult.trim();
65
65
  const vibes = JSON.parse(cleanedResult);
66
66
  // Format vibes for display
67
+ const scaleLabels = {
68
+ refined: "🔍 Refined (small, elegant)",
69
+ balanced: "⚖️ Balanced (standard)",
70
+ zoomed: "🔎 Zoomed (large elements)",
71
+ };
67
72
  const formattedVibes = vibes.map((vibe, index) => {
73
+ const scaleDisplay = scaleLabels[vibe.scale] || vibe.scale;
68
74
  return `${index + 1}. ${vibe.emoji} "${vibe.name}"
69
75
  ${vibe.description}
70
- Scale: ${vibe.scale} | Keywords: ${vibe.keywords.join(", ")}`;
76
+ ${scaleDisplay}`;
71
77
  }).join("\n\n");
72
78
  return {
73
79
  content: [
74
80
  {
75
81
  type: "text",
76
- text: `Here are 5 design vibes generated for your project:\n\n${formattedVibes}\n\n---\n\nAsk the user to select one vibe. Once selected, pass it to create_frontend via the designSystem.vibe parameter with:\n- name: The vibe name (e.g., "Pristine Museum")\n- description: The full description\n- keywords: The array of keywords`,
82
+ text: `Here are 5 design vibes for your project:\n\n${formattedVibes}\n\n---\n\nAsk the user to select one vibe. Pass the selection to create_frontend via designSystem.vibe with: name, description, scale, keywords.`,
77
83
  },
78
84
  ],
79
85
  // Also return structured data for programmatic use
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gemini-design-mcp",
3
- "version": "3.5.0",
3
+ "version": "3.5.1",
4
4
  "description": "MCP server that uses Gemini 3 Pro for frontend/design code generation",
5
5
  "main": "build/index.js",
6
6
  "bin": {