@peopl-health/nexus 5.75.0-dev.15442 → 5.75.1

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.
@@ -60,7 +60,7 @@ const CONVERSATIONAL_REQUEST = 'conversational';
60
60
  const DELIVERY_NUDGE = 'sistema: el turno no puede cerrar sin un mensaje para el paciente. Llama ahora a DeliverPatientMessage con message_text en español. No repitas herramientas clínicas ya ejecutadas en este turno.';
61
61
  const MAX_DELIVERY_NUDGES = 2;
62
62
  const OUTREACH_DECISION_TOOL = 'submitOutreachDecision';
63
- const OUTREACH_NUDGE = 'sistema: este turno de contacto proactivo no puede cerrar incompleto. Si aún no decidiste, llama a submitOutreachDecision. Si ya registraste write, NO repitas esa decisión: llama ahora a DeliverPatientMessage. Un hold explícito sí puede cerrar sin mensaje.';
63
+ const OUTREACH_NUDGE = 'sistema: este turno de contacto proactivo no puede cerrar incompleto. Si aún no decidiste, llama a submitOutreachDecision. Si ya registraste write, NO repitas esa decisión: llama ahora a DeliverPatientMessage. Si registraste hold con next_check_at, ese hold no cierra hasta que lo programes: llama ahora a schedulePatientReminder con reminder_date igual a ese next_check_at; si rechaza esa hora, elige una que acepte y registra de nuevo el hold con esa misma hora. Si ya no hace falta volver a preguntar, registra de nuevo el hold con next_check_at null: contingency_already_armed solo si otro plan activo lo cubre; si no, usa el hold_reason que corresponda y, si es una red, resuélvela con setContingencyPlan. No cambies a write solo para poder cerrar. Un hold sin next_check_at sí puede cerrar sin mensaje.';
64
64
  const DELIVERY_FALLBACK_MESSAGES = [
65
65
  'Gracias por tu mensaje. Si necesitas apoyo, escríbeme cuando quieras.',
66
66
  'Gracias por escribirme. Aquí estoy cuando necesites algo.',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peopl-health/nexus",
3
- "version": "5.75.0-dev.15442",
3
+ "version": "5.75.1",
4
4
  "description": "Core messaging and assistant library for WhatsApp communication platforms",
5
5
  "keywords": [
6
6
  "whatsapp",