From 1514109e8593aec263419c9897f9dfa0a182ff6e Mon Sep 17 00:00:00 2001 From: josedario87 Date: Tue, 25 Nov 2025 13:59:27 -0600 Subject: [PATCH] =?UTF-8?q?docs:=20Actualizar=20gu=C3=ADa=20TM-U220=20con?= =?UTF-8?q?=20charset=20detallado=20(box=20drawing,=20bloques,=20latinos)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/utils/mcp.ts | 50 +++++++++++++++++++++++++++++++++++++-------- 1 file changed, 42 insertions(+), 8 deletions(-) diff --git a/server/utils/mcp.ts b/server/utils/mcp.ts index b3ebd9d..5af7e70 100644 --- a/server/utils/mcp.ts +++ b/server/utils/mcp.ts @@ -14,7 +14,12 @@ export const PRINTING_GUIDES: Record = { @@ -23,16 +28,38 @@ export const PRINTING_GUIDES: Record " \' ` @ # % & ^ ~', + 'Box Drawing Doble: ╔ ╗ ╚ ╝ ║ ═', + 'Box Drawing Simple: ┌ ┐ └ ┘ │ ─ ├ ┤ ┬ ┴ ┼', + 'Bloques y Sombras: █ ▓ ▒ ░ ▀ ▄', + 'Latinos extendidos: ñ Ñ á é í ó ú Á É Í Ó Ú ¿ ¡ ç', + 'Monedas: $ € £ ¥', + 'Matemáticos: ± × ÷ ≤ ≥ ∞' + ], + notSupported: [ + 'Flechas Unicode: → ← ↑ ↓ ↔ ⇒ ⇐', + 'Estrellas/Círculos: ★ ☆ ● ○ ◆ ◇', + 'Emojis (todos): 😀 ❤ ✓ ✗ ☀ ☁ ✔ ✘', + 'Específicos: ₿ (Bitcoin) ≠ (Distinto)' + ] + }, rules: [ 'Máximo 40 caracteres por línea (20 con width:2)', - 'Usar solo caracteres ASCII básicos', - 'Evitar caracteres Unicode: ╔═║╚╝ y similares', - 'Usar = - _ * para separadores', 'Siempre usar feed entre elementos para legibilidad', 'feed:1 entre items, feed:2 entre secciones', 'feed:4 antes del cut final', - 'Los headers con width:2 deben ser cortos (max 20 chars)' + 'Los headers con width:2 deben ser max 20 chars', + 'Docs largos pueden dar EX_TIMEOUT pero se imprimen igual' + ], + tips: [ + 'TABLAS: Usar box drawing ┌─┬─┐ │ ├─┼─┤ └─┴─┘ para tablas legibles', + 'BARRAS PROGRESO: Combinar █ y ░ ej: [█████░░░░░]', + 'CAJAS: Box doble ╔═╗ ║ ╚═╝ para destacar contenido importante', + 'BULLETS: Usar * - + > o [*] [X] en lugar de ✓ ✗', + 'ASCII ART: Funciona perfecto con caracteres básicos' ], operations: [ '{ op: "text", value: "texto" } - Imprime texto', @@ -47,10 +74,17 @@ export const PRINTING_GUIDES: Record