+
    jHàj\  ã                  óf   € R t ^ RIHt ^ RIHtHtHt Rt]! 0 Rm4      t	R R lt
R R ltR R	 ltR
# )a	  Point configs that still declare an idle/daily ``session_reset`` at the plugin that restores it.

Core stopped rotating gateway conversations on timers (1d5d059410) and reads nothing under
``session_reset``. A household that relied on it silently gets conversations that never end and
a bill that grows with them, so gateway startup and ``hermes doctor`` say so. The
``hermes-session-reset-policy`` catalog plugin reads the top-level block unchanged, which is why
this module reports and never rewrites or drops the key.
)Úannotations)ÚAnyÚOptionalÚTuplezhermes-session-reset-policyc               ó    € V ^8„  d   QhRRRR/# )é   Úconfigr   ÚreturnzOptional[tuple[str, str]]© )Úformats   "ÚH/home/ubuntu/.hermes/hermes-agent/hermes_cli/session_reset_retirement.pyÚ__annotate__r      s   € ÷ ñ  ð Ð)Bñ ó    c                ó¶  € \        V \        4      '       g   R# V P                  R4      pRV P                  R4      3R\        V\        4      '       d   VP                  R4      MR33 Fm  w  r#\        V\        4      '       g   K  \        VP                  R4      ;'       g    R4      P	                  4       P                  4       pV\        9   g   Kj  W$3u # 	  R# )zº``(config_path, mode)`` for a timed ``session_reset`` the config still declares, else None.

Looks at the top-level block and the ``gateway:`` form the pre-removal loader also accepted.
NÚgatewayÚsession_resetzgateway.session_resetÚmodeÚ )Ú
isinstanceÚdictÚgetÚstrÚstripÚlowerÚ_TIMED_MODES)r   r   ÚpathÚblockr   s   &    r   Úretired_reset_policyr      s³   € ô
 �fœd×#Ò#ÙØ�j‰j˜Ó#€Gà	˜&Ÿ*™* _Ó5Ð6Ø	 Ä*ÈWÔVZ×B[ÒB[ '§+¡+¨oÔ">ÐaeÐfó‰ˆô �eœT×"Ô"Ü�u—y‘y Ó(×.Ð.¨BÓ/×5Ñ5Ó7×=Ñ=Ó?ˆDØ”|Ö#Ø�zÒ!ññ r   c               ó   € V ^8„  d   QhRR/# )r   r	   Úboolr
   )r   s   "r   r   r   $   s   € ÷ gñ g˜dñ gr   c                 óÔ   € ^ RI Hp Hp V ! 4        \        ;QJ d/    R V! 4       P	                  4        4       F  '       g   K   R# 	  R# ! R V! 4       P	                  4        4       4      # )zSWhether the restoring plugin is installed and enabled in this process's plugin set.©Údiscover_pluginsÚget_plugin_managerc              3  ób   "  € T F%  qR ,          \         8H  ;'       d
    VR,          x € K'  	  R# 5i)ÚnameÚenabledN©ÚPLUGIN_NAME)Ú.0Úps   & r   Ú	<genexpr>Ú'reset_plugin_enabled.<locals>.<genexpr>(   s(   é € ÐfÑBe¸Q��yœKÑ'×8Ð8¨A¨i­LÔ8ÓBeùs   ‚/�/TF)Úhermes_cli.pluginsr"   r#   ÚanyÚlist_pluginsr!   s     r   Úreset_plugin_enabledr0   $   sN   € çGÙÔß‹3ÑfÑBTÓBV×BcÑBcÔBeÓf�3Œ3ÐfŠ3Ðfˆ3ÑfÑBTÓBV×BcÑBcÔBeÓfÓfÐfr   c               ó$   € V ^8„  d   QhRRRRRR/# )r   r   r   r   r	   r
   )r   s   "r   r   r   +   s!   € ÷ ñ ˜ð  3ð ¨3ñ r   c                ó<   € V R 8X  d   RMRpV  RV R\          RV R2# )r   r   z2 (move the block to top-level session_reset first)z.mode: z‚ is no longer applied: gateway conversations reset only on /new or /reset. To keep idle/daily resets, run `hermes plugins install Ú`Ú.r'   )r   r   Úmoves   && r   Úformat_noticer6   +   s>   € Ø˜Ô(‰2Ð.b€Dàˆ&�˜�vð JÜJUÈÐVWÐX\ÐW]Ð]^ð	`ðr   N>   ÚbothÚidleÚdaily)Ú__doc__Ú
__future__r   Útypingr   r   r   r(   Ú	frozensetr   r   r0   r6   r
   r   r   Ú<module>r>      s5   ðñõ #ç 'Ñ 'à+€ÙÒ2Ó3€õõ&g÷r   