§
    oq'jm  ã                  ó*   — d Z ddlmZ ddlmZ d
d„Zd	S )zŸ``hermes memory`` subcommand parser.

Extracted from ``hermes_cli/main.py:main()`` (god-file Phase 2 follow-up).
Handler injected to avoid importing ``main``.
é    )Úannotations)ÚCallableÚ
cmd_memoryr   ÚreturnÚNonec               óà  — |                       ddd¬¦  «        }|                     d¬¦  «        }|                      dd¬	¦  «        }|                     d
ddd¬¦  «         |                      dd¬	¦  «         |                      dd¬	¦  «         |                      dd¬	¦  «        }|                     dddd¬¦  «         |                     dg d¢dd¬¦  «         |                     |¬¦  «         dS ) z3Attach the ``memory`` subcommand to ``subparsers``.Úmemoryz"Configure external memory providerzûSet up and manage external memory provider plugins.

Available providers: honcho, openviking, mem0, hindsight,
holographic, retaindb, byterover.

Only one external provider can be active at a time.
Built-in memory (MEMORY.md/USER.md) is always active.)ÚhelpÚdescriptionÚmemory_command)ÚdestÚsetupz0Interactive provider selection and configuration)r
   Úproviderú?NzAProvider to configure directly (e.g. honcho), skipping the picker)ÚnargsÚdefaultr
   Ústatusz#Show current memory provider configÚoffz)Disable external provider (built-in only)Úresetz1Erase all built-in memory (MEMORY.md and USER.md)z--yesz-yÚ
store_truezSkip confirmation prompt)Úactionr
   z--target)Úallr	   Úuserr   z:Which store to reset: 'all' (default), 'memory', or 'user')Úchoicesr   r
   )Úfunc)Ú
add_parserÚadd_subparsersÚadd_argumentÚset_defaults)Ú
subparsersr   Úmemory_parserÚ
memory_subÚ_setup_parserÚ_reset_parsers         úB/home/ubuntu/.hermes/hermes-agent/hermes_cli/subcommands/memory.pyÚbuild_memory_parserr&      s]  € à×)Ò)ØØ1ðDð	 *ñ 
ô 
€Mð ×-Ò-Ð3CÐ-ÑDÔD€JØ×)Ò)ØÐHð *ñ ô €Mð ×ÒØØØØPð	 ñ ô ð ð ×Ò˜(Ð)NÐÑOÔOÐOØ×Ò˜%Ð&QÐÑRÔRÐRØ×)Ò)ØØ@ð *ñ ô €Mð ×ÒØØØØ'ð	 ñ ô ð ð ×ÒØØ)Ð)Ð)ØØIð	 ñ ô ð ð ×Ò JÐÑ/Ô/Ð/Ð/Ð/ó    N)r   r   r   r   )Ú__doc__Ú
__future__r   Útypingr   r&   © r'   r%   ú<module>r,      sS   ððð ð #Ð "Ð "Ð "Ð "Ð "à Ð Ð Ð Ð Ð ð)0ð )0ð )0ð )0ð )0ð )0r'   