§
    oq'j%  ã                  ó*   — d Z ddlmZ ddlmZ d
d„Zd	S )z£``hermes prompt-size`` subcommand parser.

Extracted verbatim from ``hermes_cli/main.py:main()`` (god-file Phase 2).
Handler injected to avoid importing ``main``.
é    )Úannotations)ÚCallableÚcmd_prompt_sizer   ÚreturnÚNonec               óÂ   — |                       ddd¬¦  «        }|                     ddd¬¦  «         |                     d	d
d¬¦  «         |                     |¬¦  «         dS )z8Attach the ``prompt-size`` subcommand to ``subparsers``.zprompt-sizez9Show a byte breakdown of the system prompt + tool schemaszžReport the fixed prompt budget for a fresh session: system prompt total, skills index, memory, user profile, and tool-schema JSON. Runs offline (no API call).)ÚhelpÚdescriptionz
--platformÚcliz@Platform to simulate (cli, telegram, discord, ...). Default: cli)Údefaultr	   z--jsonÚ
store_truezEmit the breakdown as JSON)Úactionr	   )ÚfuncN)Ú
add_parserÚadd_argumentÚset_defaults)Ú
subparsersr   Úprompt_size_parsers      úG/home/ubuntu/.hermes/hermes-agent/hermes_cli/subcommands/prompt_size.pyÚbuild_prompt_size_parserr      s™   € ð
 $×.Ò.ØØHð0ð	 /ñ ô Ðð ×#Ò#ØØØOð $ñ ô ð ð
 ×#Ò#ØØØ)ð $ñ ô ð ð
 ×#Ò#¨Ð#Ñ9Ô9Ð9Ð9Ð9ó    N)r   r   r   r   )Ú__doc__Ú
__future__r   Útypingr   r   © r   r   ú<module>r      sS   ððð ð #Ð "Ð "Ð "Ð "Ð "à Ð Ð Ð Ð Ð ð:ð :ð :ð :ð :ð :r   