§
    øžyjF  ã                  ó*   — d Z ddlmZ ddlmZ d
d„Zd	S )a  ``hermes import-agent`` subcommand parser.

Follows the ``hermes claw`` pattern (see ``hermes_cli/subcommands/claw.py``):
parser building lives here, the handler is injected to avoid importing
``main``, and the import logic itself lives in ``hermes_cli/agent_import.py``.
é    )Úannotations)ÚCallableÚcmd_import_agentr   ÚreturnÚNonec               óX  — |                       ddd¬¦  «        }|                     ddddgd	¬
¦  «         |                     dd¬¦  «         |                     ddd¬¦  «         |                     ddd¬¦  «         |                     dddd¬¦  «         |                     |¬¦  «         dS )z9Attach the ``import-agent`` subcommand to ``subparsers``.zimport-agentz3Import a Claude Code or Codex CLI setup into Hermesu:  One-command import of another coding agent's setup into Hermes. Maps CLAUDE.md/AGENTS.md instructions, permission allowlists, MCP servers, skills, and memories into their Hermes equivalents. Always shows a preview before making changes. API keys and credentials are never imported â€” run 'hermes setup' for those.)ÚhelpÚdescriptionÚagentú?zclaude-codeÚcodexzGWhich agent to import from (default: auto-detect ~/.claude or ~/.codex))ÚnargsÚchoicesr	   z--sourcezEPath to the agent's config directory (default: ~/.claude or ~/.codex))r	   z	--dry-runÚ
store_trueu:   Preview only â€” stop after showing what would be imported)Úactionr	   z--overwritezAOverwrite existing Hermes items on name conflicts (default: skip)z--yesz-yzSkip confirmation prompts)ÚfuncN)Ú
add_parserÚadd_argumentÚset_defaults)Ú
subparsersr   Úparsers      úI/home/ragecks/.hermes/hermes-agent/hermes_cli/subcommands/import_agent.pyÚbuild_import_agent_parserr      s  € à×"Ò"ØØBðOð	 #ñ 
ô 
€Fð ×ÒØØØ Ð(ØVð	 ñ ô ð ð ×ÒØØTð ñ ô ð ð ×ÒØØØIð ñ ô ð ð
 ×ÒØØØPð ñ ô ð ð
 ×ÒØ�˜lÐ1Lð ñ ô ð ð ×ÒÐ-ÐÑ.Ô.Ð.Ð.Ð.ó    N)r   r   r   r   )Ú__doc__Ú
__future__r   Útypingr   r   © r   r   ú<module>r      sS   ððð ð #Ð "Ð "Ð "Ð "Ð "à Ð Ð Ð Ð Ð ð$/ð $/ð $/ð $/ð $/ð $/r   