334 Commits (bad86394effbecafeec1e66f5121361926d73731)

Author SHA1 Message Date
borja bad86394ef feat: añade métricas de tareas y cola en /metrics
Co-authored-by: aider (openrouter/openai/gpt-5.1) <aider@aider.chat>
4 weeks ago
borja 9883af5d02 feat: añade auto-ensure con reintentos y backoff en webhook
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
4 weeks ago
borja ecff2a5643 feat: añadir reintentos en fondo para webhook y tests
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
4 weeks ago
brobert 844204f60a feat: usar arranque como último cambio e introducir métrica de edad
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
borja a432ee5a4a feat: reducir logs a cambios de estado y exponer métricas de Evolution
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert e978d64a9a cambia t ayuda por t info en un cta 1 month ago
brobert 4c9f4d1439 refactor: quitar AsyncLocalStorage del locator y dejar currentDb simple
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert 84a5b80cae fix: evitar contaminación entre pruebas quitando fallback a currentDb
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert fc6f6d8128 fix: permitir fallback a currentDb en tests cuando no hay scope
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert c1083b19d3 fix: evitar usar currentDb en tests al obtener DB
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert b429053ee2 feat: aislar DB por contexto en tests con AsyncLocalStorage
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert 6cb6c31d8d fix: usar getDb() en IdentityService y quitar AllowedGroups.dbInstance
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert e415a26442 refactor: eliminar dbInstance y añadir resetDb/clearDb, usar getDb()
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert f786ba8bfa fix: usar dbi en mantenimiento para evitar que instance sea undefined
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert cd834552cc feat: aplicar fallback de DB: parámetro → .dbInstance → getDb()
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert 77ad9d76c5 feat: aplicar fallback getDb() en ResponseQueue y TaskService
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert 2669d4287c feat: centralizar resolución de DB y reexport en web
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert 6196dbadc9 feat: exponer la DB global mediante locator en startServices
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert 9222242eda feat: añadir locator de DB con setDb/getDb/withDb y tests
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert e430fc1d4a refactor: extrae handleMessageUpsert a webhook-handler.ts y úsalo en WebhookServer
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert 7189756182 feat: integrar utilidades de WhatsApp y servicios en server.ts
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert 46bec524a2 refactor: modularizar WebhookServer y endpoints /metrics /health
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert ffad59f18f refactor: quitar _membersGlobalCooldownUntil y llamar a ensureUserExists
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert 2f24806a06 refactor: modularizar group-sync y añadir API, cache y repo
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert 0ce3ecbcd3 fix: aplicar umbral de cobertura en publishGroupCoveragePrompt
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert 1b0d2ec91c refactor: desacoplar onboarding y eliminar dependencia GroupSync
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert a72184f82c fix: inyectar db en AllowedGroups y extraer mappers en src/tasks
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert e3ec82037b refactor: extraer display_code y complete-reaction; ajustar TaskService
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert 2032712d2b fix: agregar isReactionMeta y usarla en response-queue
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert 1b7420e123 feat: integrar EvolutionClient, limpieza de cola y parseo de metadata
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert fea178cd3d fix: ampliar tipado de get(taskId) en TaskService
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert 83e11a69ab refactor: eliminar as any y tipar servicios y DB en lote 3
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert 1ecf8a5ff2 refactor: tipar consultas SQLite y eliminar as any en varias rutas
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert a391ef7467 fix: tipar filas de grupos y convertir id/nombre a string
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert dab7e8fa9d fix: tipar groups como EvolutionGroup[] y usar group.id en group-sync.ts
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert eb47184660 fix: usar display_code seguro en ver.ts y forzar EvolutionGroup en group-sync.ts
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert 97624ad923 fix: corregir tipado para typecheck en nueva.ts, ver.ts y group-sync.ts
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert db9baca508 feat: centralizar normalizeTime en core y exponerla en web para preferencias
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert e7bcdbf17e fix: ajustar tipado en proxy.ts, response-queue.ts y tasks/service.ts
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert 1ad36ee898 refactor: centralizar SimulatedResponseQueue y actualizar TaskItem
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
1 month ago
brobert f2ee3bbd11 feat: añadir health check para reiniciar instancia de Evolution API
Co-authored-by: aider (openrouter/z-ai/glm-4.6) <aider@aider.chat>
1 month ago
brobert a0f35b8138 fix: evitar columnas created_at/updated_at al insertar usuarios y ajustar tests
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
2 months ago
brobert f4f7d95485 feat: centralizar formateo UTC con util canónica y adaptar web/ICS
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
2 months ago
brobert 21164194c0 fix: añadir httpVersion y ajustar tsconfig.core.json
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
2 months ago
brobert c65db73ac3 chore: añadir shims de tipos y adaptar tsconfig.core
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
2 months ago
brobert 038f06dc69 fix: incluir group_id en SELECT de unassignTask y simplificar condición
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
2 months ago
brobert c4d0867464 fix: incluir group_id en SELECT de unassignTask
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
2 months ago
brobert 4961c9e730 más cambios de copies 2 months ago
brobert 850859c694 cambia copies de onboarding un poquito 2 months ago
brobert 28147446a1 fix: métricas de unknown/alias y chequeo de tabla users para onboarding
Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
2 months ago