WhatsApp Service de michangarrito - Workspace V2
Go to file
rckrdmrd 9a8f0cb873 feat(llm): Implement role-based chat for owner and customer
- Add UserRole type and role detection via getUserRole()
- Add OWNER_TOOLS and CUSTOMER_TOOLS permission arrays
- Implement role-based system prompts (owner vs customer)
- Add owner-specific functions: sales_summary, inventory_status, pending_fiados, etc
- Add getBusinessInfo() for tenant business information
- Add isToolAllowed() for permission validation
- Update webhook service with role-aware message handling

Sprint 2: MCH-012 Chat LLM Dueño + MCH-013 Chat LLM Cliente

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 03:08:22 -06:00
src feat(llm): Implement role-based chat for owner and customer 2026-01-18 03:08:22 -06:00
.dockerignore Migración desde michangarrito/apps/whatsapp-service - Estándar multi-repo v2 2026-01-16 08:27:00 -06:00
.env Migración desde michangarrito/apps/whatsapp-service - Estándar multi-repo v2 2026-01-16 08:27:00 -06:00
.env.example Migración desde michangarrito/apps/whatsapp-service - Estándar multi-repo v2 2026-01-16 08:27:00 -06:00
.gitignore chore(MCH-011): Add .gitignore for WhatsApp Service 2026-01-18 02:54:34 -06:00
Dockerfile Migración desde michangarrito/apps/whatsapp-service - Estándar multi-repo v2 2026-01-16 08:27:00 -06:00
nest-cli.json Migración desde michangarrito/apps/whatsapp-service - Estándar multi-repo v2 2026-01-16 08:27:00 -06:00
package-lock.json Migración desde michangarrito/apps/whatsapp-service - Estándar multi-repo v2 2026-01-16 08:27:00 -06:00
package.json Migración desde michangarrito/apps/whatsapp-service - Estándar multi-repo v2 2026-01-16 08:27:00 -06:00
tsconfig.json Migración desde michangarrito/apps/whatsapp-service - Estándar multi-repo v2 2026-01-16 08:27:00 -06:00