+
    lHàj–  ã                   óà   € R t ^ RIt^ RIHt ^ RIHtHt RtR R R lltRRRR	R
RRRRRRRR/RRRRR/RRRRR/RRRR]	! ]4      RR//RRR.//t
R R lt]P                  ! RR]
]R RR7       R# )!uM  Point at something in the Hermes desktop GUI and say one line about it â€” the quiet
sibling of ``tour`` (same ``data-tour`` handles) with no scrim/spotlight/paging.
Fire-and-forget: a tip is not a question, so blocking on a round-trip would stall the
reply. Lives in ``desktop_ui`` and withdraws itself when the user turns tips off.N)Ú
desktop_ui)ÚregistryÚ
tool_errorc          
      óT   € V ^8„  d   QhR\         R\         R\         R\         R\         /# )é   ÚtextÚselectorÚtitleÚsideÚreturn)Ústr)Úformats   "Ú3/home/ubuntu/.hermes/hermes-agent/tools/tip_tool.pyÚ__annotate__r      s6   € ÷ Sñ S”3ð S¤#ð S¬cð S¼cð SÌ3ñ Só    c                ó^  € T ;'       g    RP                  4       p T;'       g    RP                  4       pV '       g   \        R4      # V'       g   \        R4      # V'       d.   V\        9  d#   \        RRP                  \        4       R24      # RVRV /R	V3R
V33 UUu/ uF  w  rEV'       g   K  WEbK  	  uppCp \        P
                  ! RV4      pT'       g   \        R4      # \        P                  ! RRRT/RR7      # u uppi   \         d   p\        RT 24      u Rp?# Rp?ii ; i)z-Show one tip bubble anchored to ``selector``.Ú u0   tip needs text â€” the one line the bubble says.z�tip needs a selector to point at. Call tour(action='targets') to see what's on screen and prefer a target reporting stable: true.zside must be one of: z, Ú.r   r   r	   r
   ztip.showzFailed to show the tip: Nz0tip is only available in the Hermes desktop app.ÚsuccessTF)Úensure_ascii)	Ústripr   ÚSIDESÚjoinr   ÚemitÚ	ExceptionÚjsonÚdumps)	r   r   r	   r
   ÚkÚvÚpayloadÚokÚexcs	   &&&&     r   Útip_toolr"      s&  € à�JˆJ�B×ÑÓ€DØ—�˜B×%Ñ%Ó'€HßÜÐLÓMÐMßÜð Yó Zð 	Zç�œEÔ!ÜÐ1°$·)±)¼EÓ2BÐ1CÀ1ÐEÓFÐFØ˜8 V¨Tð MØ%,¨eÐ$4°v¸t°nÑ#EÔKÑ#E™4˜1Ì”$�!’$Ñ#EÒKðM€Gð<Ü�_Š_˜Z¨Ó1ˆ÷ ÜÐLÓMÐMÜ�:Š:�y $¨
°HÐ=ÈEÔRÐRùó Løô ô <ÜÐ4°S°EÐ:Ó;Õ;ûð<ús*   Â DÂ1DÂ=D	 Ä	D,ÄD'Ä!D,Ä'D,ÚnameÚshow_tipÚdescriptionu�  Point at one thing in the desktop UI with a small arrow bubble (no dimming, no tour chrome) â€” for when a sentence is clearer with a finger on its subject. Get selectors from tour(action='targets'), prefer stable:true, never guess. One tip at a time (new replaces last); say the same thing in chat too â€” the bubble is a pointer, not the message. Sparingly: a bubble every turn stops being read.Ú
parametersÚtypeÚobjectÚ
propertiesr   ÚstringzThe one-sentence bubble text.r   zSelector from tour targets.r	   zOptional heading.r
   Úenumz&Omit for 'top'; flips at screen edges.Úrequiredc                ó$   € V ^8„  d   QhR\         /# )r   r   )Úbool)r   s   "r   r   r   H   s   € ÷ @ñ @œDñ @r   c                 ó2   € \         P                  ! RRR7      # )uH   The user's Settings â†’ Appearance switch. On unless they turned it off.Úin_app_tipsT)Údefault)r   Úuser_enabled© r   r   Úcheck_tips_enabledr4   H   s   € ä×"Ò" =¸$Ô?Ð?r   r   c                 ób   € \        R/ R Uu/ uF  q"V P                  VR4      bK  	  upB # u upi )r   r   r3   )r   r   r	   r
   )r"   Úget)ÚargsÚkwr   s   &, r   Ú<lambda>r9   O   s4   € œxñ  OÙ'LÓ
MÑ'L !ˆd�h‰h�q˜"‹oÒÑ'LÑ
Mò OùÚ
Ms   Œ,u   ðŸ’¡)r#   ÚtoolsetÚschemaÚcheck_fnÚhandlerÚemoji)ÚtopÚrightÚbottomÚleft)r   r   )Ú__doc__r   Útoolsr   Útools.registryr   r   r   r"   ÚlistÚ
TIP_SCHEMAr4   Úregisterr3   r   r   Ú<module>rI      sà   ðñUó
 å ß /à*€÷Sð. ˆJØð	Lð Ø�ØØØ˜ØÐ>ðð Ø˜ØÐ<ðð Ø˜ØÐ2ðð Ø˜Ø™˜U›ØÐGðð
ð& 	�V˜ZÐ(ð+ð!€
õH@ð
 	× Ò Ø	˜\°*ÐGYñOà
÷	r   