+
    „WÝjÜ  ã                   ót   € R t ^ RIt^ RIt^ RIHt ]P
                  ! R4      tRR/R R llt]R R l4       tR# )	zTShared leaf helpers for the ``hermes update`` modules (no Hermes imports; no cycle).N)Úcontextmanagerzhermes_cli.update_cmdÚwithout_receiptc                óB   € V ^8„  d   QhR\         R\         R,          RR/# )é   Úreasonr   NÚreturn©Ústr)Úformats   "ÚPC:\Users\johnn\AppData\Local\hermes\hermes-agent\hermes_cli\update_cmd_common.pyÚ__annotate__r      s%   € ÷ (ñ (œð (´#¸µ*ð (Èñ (ó    c               ó¼   € \         P                  P                  R4      pVf   \        VRR4      pVe   V! V 4       R# R# \        VRR4      ;pe   V! W4       R# R# )a›  Name the exit about to stop this update as one closed token (see update_receipt.record_stop_reason).

``without_receipt`` (``refused``/``failed``) is for an exit that fires before the receipt
opens: a metrics row only. The receipt module is read from ``sys.modules``, never imported:
an older updater can load this tree after the swap while its own, older ``update_receipt``
(without these calls) stays loaded.
zhermes_cli.update_receiptNÚrecord_stop_reasonÚrecord_stop_without_receipt)ÚsysÚmodulesÚgetÚgetattr)r   r   ÚreceiptÚrecords   &$  r   Ú_record_stopr      sa   € ô �k‰k�o‰oÐ9Ó:€GØÒÜ˜Ð"6¸Ó=ˆØÒÙ�6ŽNñ ä˜GÐ%BÀDÓIÐ
Iˆ&Ò	VÙˆvÖ'ñ 
Wr   c                ó$   € V ^8„  d   QhR\         /# )r   Úmessager   )r
   s   "r   r   r      s   € ÷ 	#ñ 	#œ#ñ 	#r   c              #  ót   "  €  Rx € R#   \          d!   p\        P                  Y4        Rp?R# Rp?ii ; i5i)zâRun a non-critical update step; swallow ``Exception`` and log it at debug.

The updater must never die on bookkeeping (receipt, notices, cache seeds):
``message`` is the ``%s``-style debug line the inline ``try/except`` used.
N)Ú	ExceptionÚloggerÚdebug)r   Úexcs   & r   Ú_best_effortr      s+   é € ð#ÝøÜô #Ü�‰�W×"Ò"ûð#üs    ‚8„
 ˆ8Š5•0ª8°5µ8)	Ú__doc__Úloggingr   Ú
contextlibr   Ú	getLoggerr   r   r   © r   r   Ú<module>r%      sD   ðÙ Zã Û 
Ý %ð 
×	Ò	Ð2Ó	3€ð(¸t÷ (ð" ô	#ó ò	#r   