413ec6d27eeeceec4f9bea3649b49e61f818527f
- Nuevo composable usePreview.ts para procesar operaciones en líneas de preview - Nuevo componente PaperSimulator.vue que simula el papel térmico - Nuevo modal PreviewModal.vue para vista previa con edición inline de variables - Botón "Vista previa" agregado a TemplateCard.vue - Integración del modal en TemplateList.vue
PrinterCentral
Sistema central para gestión de impresoras Epson ePOS.
MCP Server para Claude Code
Agregar el MCP a tu proyecto (token desde Authentik > Directory > Tokens):
claude mcp add --transport http printercentral https://printercentral.nucleoriofrio.com/api/mcp --header "Authorization: Bearer <AUTHENTIK_TOKEN>"
Setup
npm install
Development
npm run dev
Production
npm run build
API Endpoints
Impresoras
GET /api/printers- Listar impresorasPOST /api/printers- Crear impresoraPOST /api/printers/select- Seleccionar impresora activa
Templates
GET /api/templates- Listar templatesPOST /api/templates- Crear template
Impresion
POST /api/print- Imprimir operacionesPOST /api/print/template- Imprimir template con variablesPOST /api/print/raw- Imprimir operaciones con variables
MCP
POST /api/mcp- Endpoint JSON-RPC para agentes IA
Description
Languages
TypeScript
45.1%
Vue
39.7%
JavaScript
11.6%
Shell
2.9%
CSS
0.4%
Other
0.3%