viewgate-mcp 1.0.56 → 1.0.57

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -234,7 +234,7 @@ function createMcpServer(apiKey, personalKey) {
234
234
  },
235
235
  {
236
236
  name: "generate_ui_components",
237
- description: "Fetch pending UI component specs and return clear instructions for the LLM to implement a real, functional component. Does not write files, upload previews, or mark components as generated.",
237
+ description: "Fetch pending UI component specs. Returns instructions for you (the LLM) to: 1) implement the functional component and SAVE IT LOCALLY in the workspace (src/components/), and 2) upload the preview via mark_ui_component_generated.",
238
238
  inputSchema: {
239
239
  type: "object",
240
240
  properties: {
@@ -529,7 +529,7 @@ function createMcpServer(apiKey, personalKey) {
529
529
  ok: true,
530
530
  generated: 0,
531
531
  styleHandler,
532
- instruction: `IMPORTANTE: Este tool NO debe generar código ni escribir archivos. Solo entrega al LLM la especificación (componentType + props + stylingTechnology) para que el LLM implemente un componente GENÉRICO, reutilizable y listo para producción. OBLIGATORIO: usar ${styleLabel} para todos los estilos. DEBES respetar estrictamente las themingTokens: NUNCA uses colores hardcodeados (#HEX o rgba), debes usar SIEMPRE la prop theme o su fallback var(--vg-*). No uses cssContent directamente si styleHandler indica otra tecnología.`,
532
+ instruction: `IMPORTANTE: Esta tool te entrega las especificaciones. (EL LLM) DEBES: 1) Escribir el archivo físico del componente en el workspace local del proyecto (ej: src/components/[Name].jsx) usando tus tools de escritura/multi_replace. 2) Registrar la preview usando 'mark_ui_component_generated'. OBLIGATORIO: usar ${styleLabel} para los estilos. DEBES respetar estrictamente las themingTokens: NUNCA uses colores hardcodeados (#HEX o rgba), debes usar SIEMPRE la prop theme o su fallback var(--vg-*). No uses cssContent directamente si styleHandler indica otra tecnología.`,
533
533
  results
534
534
  }, null, 2)
535
535
  }]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "viewgate-mcp",
3
- "version": "1.0.56",
3
+ "version": "1.0.57",
4
4
  "main": "dist/index.js",
5
5
  "bin": {
6
6
  "viewgate-mcp": "./dist/index.js"