+
    kHàj¸  ã                   óˆ   € R t ^ RIHtHt ^ RIHtHtHt ^ RIH	t	 R R lt
Rt]
]! ]P                  R4      3tRRR	R
RRRR/tR# )zYWhatsApp (Baileys bridge) env -> gateway config bridge (``PlatformEntry.env_overrides``).)ÚGatewayConfigÚPlatform)Úenable_from_envÚgetenvÚ	home_step)Úis_truthy_valuec                ó(   € V ^8„  d   QhR\         RR/# )é   ÚconfigÚreturnN)r   )Úformats   "ÚK/home/ubuntu/.hermes/hermes-agent/plugins/platforms/whatsapp/gateway_env.pyÚ__annotate__r      s   € ÷ 
3ñ 
3œ-ð 
3¨Dñ 
3ó    c                ó  € \        R4      pV P                  P                  \        P                  4      pVe   VP                  4       R9   d
   RVn        R# \        V4      '       d   \        V \        P                  4       R# R# )u<  WhatsApp (Baileys bridge) uses a flag, not credentials. WHATSAPP_ENABLED=false overrides YAML;
WHATSAPP_ENABLED=true follows the credential contract â€” it never beats an explicit YAML disable
(the dashboard's disable action writes only ``platforms.whatsapp.enabled: false`` and leaves the
env flag on disk, #73289).ÚWHATSAPP_ENABLEDNF>   Ú0ÚnoÚfalse)	r   Ú	platformsÚgetr   ÚWHATSAPPÚlowerÚenabledr   r   )r
   ÚrawÚwa_cfgs   &  r   Ú_enabled_flagr      sf   € ô
 Ð#Ó
$€CØ×Ñ×!Ñ!¤(×"3Ñ"3Ó4€FØÒ˜cŸi™i›kÐ-AÔAØˆŽÜ	˜×	Ò	Ü˜¤× 1Ñ 1Ö2ñ 
r   ÚWHATSAPP_HOME_CHANNELÚallowed_users_envÚWHATSAPP_ALLOWED_USERSÚallow_all_envÚWHATSAPP_ALLOW_ALL_USERSÚown_policy_envÚallowlist_suppresses_pairingTN)r   )ÚWHATSAPP_DM_POLICYÚWHATSAPP_GROUP_POLICY)Ú__doc__Úgateway.configr   r   Úgateway.platform_envr   r   r   Úutilsr   r   ÚENV_ENABLE_CREDENTIALSr   ÚENV_OVERRIDESÚAUTHZ© r   r   Ú<module>r.      sY   ðÙ _ç 2ß CÑ CÝ !õ
3ð /Ð Ø¡	¨(×*;Ñ*;Ð=TÓ UÐV€ð
 Ð1ØÐ/ØÐEØ" Dð		‚r   