§
    øžyj	  ã                  ó*   — d Z ddlmZ ddlmZ d
d„Zd	S )zŸ``hermes profile`` subcommand parser.

Extracted verbatim from ``hermes_cli/main.py:main()`` (god-file Phase 2).
Handler injected to avoid importing ``main``.
é    )Úannotations)ÚCallableÚcmd_profiler   ÚreturnÚNonec               ó@	  — |                       dd¬¦  «        }|                     d¬¦  «        }|                      dd¬¦  «         |                      dd	¬¦  «        }|                     d
d¬¦  «         |                      dd¬¦  «        }|                     d
d¬¦  «         |                     ddd¬¦  «         |                     ddd¬¦  «         |                     ddd¬¦  «         |                     ddd¬¦  «         |                     ddd¬¦  «         |                     ddd¬ ¦  «         |                      d!d"¬¦  «        }|                     d
d#¬¦  «         |                     d$d%dd&¬¦  «         |                      d'd(¬¦  «        }|                     d
d)dd*¬+¦  «         |                     d,dd-¬ ¦  «         |                     d.dd/¬¦  «         |                     d0dd1¬¦  «         |                     d2d3dd4¬5¦  «         |                      d6d7¬¦  «        }|                     d
d8¬¦  «         |                      d9d:¬¦  «        }	|	                     d
d;¬¦  «         |	                     d<dd=¬¦  «         |	                     d>d?d@dA¬B¦  «         |                      dCdD¬¦  «        }
|
                     dEdF¬¦  «         |
                     dGdH¬¦  «         |                      dIdJ¬¦  «        }|                     d
dK¬¦  «         |                     dLdMddN¬ ¦  «         |                      dOdP¬¦  «        }|                     dQdR¬¦  «         |                     d>dSd@dT¬B¦  «         |                      dUdVdW¬X¦  «        }|                     dYdZ¬¦  «         |                     d>d[d@d\¬B¦  «         |                     d]dd^¬¦  «         |                     d_dd`¬¦  «         |                     d$d%dda¬¦  «         |                      dbdcdd¬X¦  «        }|                     d
de¬¦  «         |                     dfddg¬¦  «         |                     d$d%ddh¬¦  «         |                      didj¬¦  «        }|                     d
dk¬¦  «         |                     |¬l¦  «         dS )mz4Attach the ``profile`` subcommand to ``subparsers``.Úprofileu6   Manage profiles â€” multiple isolated Hermes instances)ÚhelpÚprofile_action)ÚdestÚlistzList all profilesÚusezSet sticky default profileÚprofile_namezProfile name (or 'default')ÚcreatezCreate a new profilez&Profile name (lowercase, alphanumeric)z--cloneÚ
store_truez?Copy config.yaml, .env, SOUL.md, and skills from active profile)Úactionr
   z--clone-allzFFull copy of active profile (all state, excluding per-profile history)z--clone-fromÚSOURCEzGSource profile to clone from; implies --clone unless --clone-all is set)Úmetavarr
   z
--no-aliaszSkip wrapper script creationz--no-skillszWCreate an empty profile with no bundled skills (opts out of `hermes update` skill sync)z--descriptionNzÍOne- or two-sentence description of what this profile is good at. Used by the kanban decomposer to route tasks based on role instead of profile name alone. Skip and add later via `hermes profile describe`.)Údefaultr
   ÚdeletezDelete a profilezProfile to deletez-yz--yeszSkip confirmation promptÚdescribezERead or set a profile's description (used by the kanban orchestrator)ú?z6Profile to describe (omit + use --all --auto to sweep))Únargsr   r
   z--textzHSet description to this exact text (overwrites any existing description)z--autozRAuto-generate description via the auxiliary LLM (uses auxiliary.profile_describer)z--overwritezsWith --auto, replace user-authored descriptions too (default: only fill in missing or previously-auto descriptions)z--allÚall_missingz7With --auto, run on every profile missing a description)r   r   r
   ÚshowzShow profile detailszProfile to showÚaliaszManage wrapper scriptszProfile namez--removezRemove the wrapper scriptz--nameÚ
alias_nameÚNAMEz)Custom alias name (default: profile name))r   r   r
   ÚrenamezRename a profileÚold_namezCurrent profile nameÚnew_namezNew profile nameÚexportzExport a profile to archivezProfile to exportz-oz--outputz$Output file (default: <name>.tar.gz)ÚimportzImport a profile from archiveÚarchivezPath to .tar.gz archiveÚimport_namez-Profile name (default: inferred from archive)Úinstallz@Install a profile distribution from a git URL or local directoryzªInstall a Hermes profile distribution. SOURCE can be a git URL (github.com/user/repo, https://..., git@...) or a local directory containing distribution.yaml at its root.)r
   ÚdescriptionÚsourcez0Distribution source (git URL or local directory)Úinstall_namez3Override profile name (default: read from manifest)z--aliasz6Create a shell wrapper alias for the installed profilez--forcezDOverwrite an existing profile of the same name (user data preserved)z"Skip manifest preview confirmationÚupdatez>Re-pull a distribution and apply updates (user data preserved)zòFetch the distribution from its recorded source and overwrite distribution-owned files (SOUL.md, skills/, cron/, mcp.json). User data (memories, sessions, auth, .env) is never touched. config.yaml is preserved unless --force-config is passed.zProfile to updatez--force-configzFAlso overwrite config.yaml (normally preserved to keep user overrides)zSkip confirmationÚinfozFShow a profile's distribution manifest (version, requirements, source)zProfile to inspect)Úfunc)Ú
add_parserÚadd_subparsersÚadd_argumentÚset_defaults)Ú
subparsersr   Úprofile_parserÚprofile_subparsersÚprofile_useÚprofile_createÚprofile_deleteÚprofile_describeÚprofile_showÚprofile_aliasÚprofile_renameÚprofile_exportÚprofile_importÚprofile_installÚprofile_updateÚprofile_infos                   úD/home/ragecks/.hermes/hermes-agent/hermes_cli/subcommands/profile.pyÚbuild_profile_parserrA      sÐ  € ð
  ×*Ò*ØØEð +ñ ô €Nð (×6Ò6Ð<LÐ6ÑMÔMÐà×!Ò! &Ð/BÐ!ÑCÔCÐCØ$×/Ò/ØÐ0ð 0ñ ô €Kð ×Ò˜^Ð2OÐÑPÔPÐPà'×2Ò2ØÐ-ð 3ñ ô €Nð ×ÒØÐEð  ñ ô ð ð ×ÒØØØNð  ñ ô ð ð
 ×ÒØØØUð  ñ ô ð ð
 ×ÒØØØVð  ñ ô ð ð
 ×ÒØ˜\Ð0Nð  ñ ô ð ð ×ÒØØØfð  ñ ô ð ð
 ×ÒØØðXð  ñ ô ð ð (×2Ò2°8ÐBTÐ2ÑUÔU€NØ×Ò Ð5HÐÑIÔIÐIØ×ÒØˆg˜lÐ1Kð  ñ ô ð ð *×4Ò4ØØTð 5ñ ô Ðð ×!Ò!ØØØØEð	 "ñ ô ð ð ×!Ò!ØØØWð "ñ ô ð ð
 ×!Ò!ØØð2ð "ñ ô ð ð ×!Ò!ØØð@ð "ñ ô ð ð ×!Ò!ØØØØFð	 "ñ ô ð ð &×0Ò0°Ð>TÐ0ÑUÔU€LØ×Ò˜nÐ3DÐÑEÔEÐEà&×1Ò1ØÐ.ð 2ñ ô €Mð ×Ò˜~°NÐÑCÔCÐCØ×ÒØ˜<Ð.Ið ñ ô ð ð ×ÒØØØØ8ð	 ñ ô ð ð (×2Ò2°8ÐBTÐ2ÑUÔU€NØ×Ò 
Ð1GÐÑHÔHÐHØ×Ò 
Ð1CÐÑDÔDÐDà'×2Ò2ØÐ4ð 3ñ ô €Nð ×Ò Ð5HÐÑIÔIÐIØ×ÒØˆj $Ð-Sð  ñ ô ð ð (×2Ò2ØÐ6ð 3ñ ô €Nð ×Ò 	Ð0IÐÑJÔJÐJØ×ÒØØØØ<ð	  ñ ô ð ð )×3Ò3ØØOðBð	 4ñ ô €Oð × Ò ØØ?ð !ñ ô ð ð × Ò Ø�~¨vØBð !ñ ô ð ð × Ò Ø˜,ØEð !ñ ô ð ð × Ò Ø˜,ØSð !ñ ô ð ð × Ò Øˆg˜lØ1ð !ñ ô ð ð
 (×2Ò2ØØMðHð	 3ñ 	ô 	€Nð ×Ò Ð5HÐÑIÔIÐIØ×ÒØ ØUð  ñ ô ð ð ×ÒØˆg˜lØ ð  ñ ô ð ð
 &×0Ò0ØØUð 1ñ ô €Lð ×Ò˜nÐ3GÐÑHÔHÐHà×Ò [ÐÑ1Ô1Ð1Ð1Ð1ó    N)r   r   r   r   )Ú__doc__Ú
__future__r   Útypingr   rA   © rB   r@   ú<module>rG      sY   ððð ð #Ð "Ð "Ð "Ð "Ð "à Ð Ð Ð Ð Ð ð2ð 2ð 2ð 2ð 2ð 2rB   