+
    -pÐj&  ã                  óŽ   € R t ^ RIHt ^ RIt^ RIHtHt ]P                  ! ]4      t	]
! 4       3R R llt]
! 0 Rm4      tR R ltR# )	a$  Read-time resolution of an ``auxiliary.<task>`` config block.

Built-in slot defaults come from ``DEFAULT_CONFIG``; plugin-registered tasks
(``PluginContext.register_auxiliary_task``) layer their declared ``defaults``
under the user's block and may inherit another slot via ``inherit_from``.
)ÚannotationsN)ÚAnyÚDictc               ó$   € V ^8„  d   QhRRRRRR/# )é   ÚtaskÚstrÚ_seenÚ	frozensetÚreturnúdict[str, Any]© )Úformats   "Ú*/opt/hermes/agent/auxiliary_task_config.pyÚ__annotate__r      s!   € ÷ "ñ " Sð "°ð "È^ñ "ó    c                ó(  € V '       g   / #  ^ RI Hp V! 4       p\        T\        4      '       d   TP                  R/ 4      M/ p\        T\        4      '       d   TP                  T / 4      M/ p\        T\        4      '       g   / p ^ RIHp T! 4        F½  pTP                  R4      T 8X  g   K  TP                  R4      ;'       g    / p\        T\        4      '       dq   TP                  R4      p	T	'       d   Y9   d   \        P                  RT 4       T	'       d   Y9   d	   / TCTCu # \        Y‘T 0,          4      p
\        / T
CTCT4      u #  T# 	   T#   \         d    / u # i ; i  \         d    \        P                  RT R	R
7        T# i ; i)aÒ  Config dict for auxiliary.<task>, or {} when unavailable. Plugin-registered tasks get their
declared defaults layered under user config (user wins); built-in defaults live in DEFAULT_CONFIG.
A task registered with ``inherit_from`` is resolved here, at read time, over the base task's
effective config, so it follows the base's current settings (and the active profile's config)
until the user pins a route on the task itself. ``_seen`` guards re-registration cycles.)Úload_config_readonlyÚ	auxiliary)Úget_plugin_auxiliary_tasksÚkeyÚdefaultsÚinherit_fromuL   Auxiliary task %r has a circular inherit_from chain â€” ignoring inheritancez*plugin auxiliary task lookup failed for %rT)Úexc_info)Úhermes_cli.configr   ÚImportErrorÚ
isinstanceÚdictÚgetÚhermes_cli.pluginsr   ÚloggerÚwarningÚ_get_auxiliary_task_configÚ_layer_over_inheritedÚ	ExceptionÚdebug)r   r	   r   ÚconfigÚauxÚtask_configr   Ú_entryÚ	_defaultsÚ_inheritÚbases   &&         r   r"   r"      st  € ÷ Øˆ	ðÝ:Ù%Ó'ˆô *4°F¼D×)AÒ)Aˆ&�*‰*�[ "Ô
%Àr€CÜ'1°#´t×'<Ò'<�#—'‘'˜$ Ô#À"€KÜ�k¤4×(Ò(ØˆðXÝAÙ0Ö2ˆFØ�z‰z˜%Ó  DÖ(Ø"ŸJ™J zÓ2×8Ð8°b�	Ü˜i¬×.Ò.Ø%Ÿz™z¨.Ó9�Hß D¤MÜŸ™ð (>Ø?CôEç# t¤}Ø; )Ð;¨{Ð;Ò;Ü5°hÈÈÅÓO�DÜ0Ð1F°DÐ1F¸IÐ1FÈÓTÒTØð Ðò 3ð Ðøô/ ô ØŠ	ðûô* ô XÜ�‰ÐAÀ4ÐRVˆÕWØÐðXúsM   ŒE Â#E* Â.E* Ã1E* Ã8#E* ÄE* Ä*$E* ÅE* ÅE* ÅE'Å&E'Å*#FÆFc               ó$   € V ^8„  d   QhRRRRRR/# )r   Ú	inheritedr   Úuserr   r   )r   s   "r   r   r   <   s!   € ÷ ñ  ^ð ¸>ð Ènñ r   c                ó¬  € \        VP                  R4      ;'       g    R4      P                  4       P                  4       pVR9  ;'       g    \	        \        VP                  R4      ;'       g    R4      P                  4       4      ;'       g<    \	        \        VP                  R4      ;'       g    R4      P                  4       4      pV P                  4        UUu/ uF  w  rEV'       d   V\        9   d   K  WEbK  	  pppVP                  4        F6  w  rxVR8X  d   V'       d   V\        9   g   K!  VR8X  d   V'       g   K2  W†V&   K8  	  V# u uppi )a`  Merge a task's own ``auxiliary.<task>`` block over its inherited base.

The picker, "reset to auto" and the dashboard persist ``provider: auto`` plus ``""`` for
model/base_url/api_key/reasoning_effort when the operator expresses no preference, so those
placeholders mean "follow the base", not "override it with nothing". Once the operator pins a
route (a non-auto provider, a model or a base_url) the whole route comes from the task's own
block. Non-route keys (timeout, extra_body, ...) override per key; only ``""`` is dropped,
never other falsy values (``reasoning_effort: false`` is an explicit choice).ÚproviderÚ ÚmodelÚbase_url)r2   Úauto)r   r   ÚstripÚlowerÚboolÚitemsÚ_AUX_ROUTE_KEYS)	r.   r/   r1   ÚpinnedÚkÚvÚmergedr   Úvalues	   &&       r   r#   r#   <   s  € ô �4—8‘8˜JÓ'×-Ð-¨2Ó.×4Ñ4Ó6×<Ñ<Ó>€HØ˜lÑ*÷ ?ð ?¬d´3°t·x±xÀÓ7H×7NÐ7NÈBÓ3O×3UÑ3UÓ3WÓ.X÷ ?ð ?Ü”c˜$Ÿ(™( :Ó.×4Ð4°"Ó5×;Ñ;Ó=Ó>ð à(Ÿ™Ô0ÔZÑ0‘t�q¿ÀAÌÑDXŒdˆaŠdÑ0€FÑZØ—j‘j–l‰
ˆØ�BŒ;§¨3´/Ô+AÙØ�*Ô§VÙØˆs‹ñ #ð €Mùó [s   ÃEÃ;E>   r3   Úapi_keyÚkey_envÚapi_moder4   r1   Úapi_key_envÚreasoning_effort)Ú__doc__Ú
__future__r   ÚloggingÚtypingr   r   Ú	getLoggerÚ__name__r    r
   r"   r:   r#   r   r   r   Ú<module>rK      sK   ðñõ #ã ß à	×	Ò	˜8Ó	$€ñ >G»[÷ "ñP ò @ó A€÷r   