viewgate-mcp 1.0.56 → 1.0.58
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.
- package/dist/index.js +2 -2
- package/package.json +2 -2
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
|
|
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:
|
|
532
|
+
instruction: `IMPORTANTE: Esta tool te entrega las especificaciones. TÚ (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