Ë
    âß²j’  ã            
      ó¤  — d Z ddlmZ ddlmZ dej                  ej                  dfdej                  ej                  dfdej                  ej                  d	fd
ej                  ej                  dfdej                  ej                  dfdej                   ej"                  dfdej$                  ej&                  dffZdd„ZddddddddœZd„ Zy)u:  Spotify integration plugin â€” bundled, auto-loaded.

Registers 7 tools into the ``spotify`` toolset. Tools stay registered (so they
appear in ``hermes tools``) but ``_check_spotify_available()`` gates dispatch
until the user has run ``hermes auth spotify``.

Why a plugin rather than a ``tools/`` module: ``tools/`` is reserved for
foundational capabilities; third-party service integrations live under
``plugins/`` (flat ``plugins/<name>/`` for standalones, like image_gen backends),
and ``kind: backend`` bundled plugins auto-load with no ``plugins.enabled`` opt-in.
é    )Úannotations)ÚtoolsÚspotify_playbacku   ðŸŽµÚspotify_devicesu   ðŸ”ˆÚspotify_queueu   ðŸ“»Úspotify_searchu   ðŸ”ŽÚspotify_playlistsu   ðŸ“šÚspotify_albumsu   ðŸ’¿Úspotify_libraryu   â�¤ï¸�c           	     ón   — t         D ],  \  }}}}| j                  |d||t        j                  |¬«       Œ. y)z=Register all Spotify tools. Called once by the plugin loader.Úspotify)ÚnameÚtoolsetÚschemaÚhandlerÚcheck_fnÚemojiN)Ú_TOOLSÚregister_toolÚ_tÚ_check_spotify_available)Úctxr   r   r   r   s        ú=/home/ubuntu/.hermes/hermes-agent/plugins/spotify/__init__.pyÚregisterr      sF   € ä(.ò KÑ$ˆˆf�g˜uØ×Ñ˜t¨Y¸vÈwÔac×a|Ña|ð  EJÐõ  	KñKó    )úplugins.spotify.toolsÚSPOTIFY_ALBUMS_SCHEMA)r   ÚSPOTIFY_DEVICES_SCHEMA)r   ÚSPOTIFY_LIBRARY_SCHEMA)r   ÚSPOTIFY_PLAYBACK_SCHEMA)r   ÚSPOTIFY_PLAYLISTS_SCHEMA)r   ÚSPOTIFY_QUEUE_SCHEMA)r   ÚSPOTIFY_SEARCH_SCHEMA)r   r   r   r    r!   r"   r#   c                óÌ   — t         j                  | «      }|€t        dt        ›d| ›�«      ‚dd l}ddlm}  |t        | g|¢­Ž  t        |j                  |d   «      |d   «      S )Nzmodule z has no attribute r   )Ú	warn_onceé   )	Ú_PLUGIN_COMPAT_LAZYÚgetÚAttributeErrorÚ__name__Ú	importlibÚhermes_cli.plugin_compatr%   ÚgetattrÚimport_module)r   Útargetr+   r%   s       r   Ú__getattr__r0   3   se   € Ü ×$Ñ$ TÓ*€FØ€~Ü˜w¤x lÐ2DÀTÀHÐMÓNÐNÛÝ2ÙŒh˜Ð&˜vÓ&Ü�9×*Ñ*¨6°!©9Ó5°v¸a±yÓAÐAr   N)ÚreturnÚNone)Ú__doc__Ú
__future__r   Úplugins.spotifyr   r   r    Ú_handle_spotify_playbackr   Ú_handle_spotify_devicesr"   Ú_handle_spotify_queuer#   Ú_handle_spotify_searchr!   Ú_handle_spotify_playlistsr   Ú_handle_spotify_albumsr   Ú_handle_spotify_libraryr   r   r'   r0   © r   r   ú<module>r>      sö   ðñ
õ #å 'ð ˜"×4Ñ4°r×7RÑ7RÐU[Ð\Ø˜"×3Ñ3°r×7QÑ7QÐU[Ð\Ø˜"×1Ñ1°r×7OÑ7OÐU[Ð\Ø˜"×2Ñ2°r×7PÑ7PÐU[Ð\Ø˜"×5Ñ5°r×7SÑ7SÐU[Ð\Ø˜"×2Ñ2°r×7PÑ7PÐU[Ð\Ø˜"×3Ñ3°r×7QÑ7QÐU]Ð^ð
€óKð PØQØQØSØ UØMØOñÐ óBr   