ó
    °"³jS  ã                  ó6   • S r SSKJr  SSKJr  SS/rSrS
S jrg	)zçDeprecated-parameter checks shared by the agent toolset and the environment worker.

Kept free of host-only imports so `anthropic.lib.environments` can use it at
module level without pulling in `anthropic.lib.tools.agent_toolset`.
é    )Úannotationsé   )ÚNotGivenÚUNRESTRICTED_PATHS_DEPRECATIONÚreject_unrestricted_pathsa�  unrestricted_paths is no longer supported. The file tools are now always confined to the working directory plus any allowed_roots (the environment worker adds the session's memory folders there itself), which is neither of the behaviors this flag used to choose between. Remove the unrestricted_paths argument; to let the file tools reach another directory, add it to AgentToolContext.allowed_roots.c                óL   • [        U [        5      (       a  g[        [        5      e)zKRaise `TypeError` if the deprecated `unrestricted_paths` was passed at all.N)Ú
isinstancer   Ú	TypeErrorr   )Úvalues    Ú^/home/mande/repo/quber/.venv/lib/python3.13/site-packages/anthropic/lib/tools/_deprecations.pyr   r      s   € ä�%œ×"Ñ"ØÜ
Ô2Ó
3Ð3ó    N)r   zbool | NotGivenÚreturnÚNone)Ú__doc__Ú
__future__r   Ú_typesr   Ú__all__r   r   © r   r   Ú<module>r      s,   ðñõ #å à+Ð-HÐ
I€ð)ð õ4r   