+
    „WÝj½(  ã                  ó:   € R t ^ RIHt ^ RIHt ^ RIHt R R ltR# )z%``hermes plugins`` subcommand parser.)Úannotations)ÚCallable)Úadd_json_flagc               ó    € V ^8„  d   QhRRRR/# )é   Úcmd_pluginsr   ÚreturnÚNone© )Úformats   "ÚRC:\Users\johnn\AppData\Local\hermes\hermes-agent\hermes_cli\subcommands\plugins.pyÚ__annotate__r   
   s   € ÷ }2ñ }2°Xð }2À$ñ }2ó    c               ó¢	  € V P                  RRRR7      pVP                  RR7      pVP                  RRR	7      pVP                  R
RR	7       VP                  RRRRR7       VP                  RRRR7       VP                  RRRR7       VP                  4       pVP                  RRRR7       VP                  RRRR7       VP                  4       pVP                  RRRR7       VP                  RRRR7       VP                  RR R	7      pVP                  R!R"R#R$R%7       \	        VR&4       VP                  R'R(R	7       VP                  R)R*R	7      pVP                  R+R,R	7       VP                  R-RR.R7       \	        VR/4       VP                  R0R1R	7      p	V	P                  R2R"R3R47       V	P                  R5R6RR7R7       V	P                  RRRR8R7       VP                  R9R:R;R7      p
V
P                  R2R<R	7       VP                  R=R>R?R7      pVP                  R2R@R	7       VP                  RARB.RCRDRE7      pVP                  RFRRGR7       VP                  RHRIRJ.RKRL7      pVP                  R2RMR	7       VP                  RNRO.RPRL7      pVP                  RQRRRR7       VP                  RSRRTR7       VP                  RURRVR7       VP                  RWRRXR7       \	        VR&4       VP                  RYRZR	7      pVP                  R2R[R	7       VP                  4       pVP                  R\RR]R7       VP                  R^RR_R7       VP                  R`RaR	7      pVP                  R2RbR	7       VP                  RcRdReR7      pVP                  R2R"RfRgR%7       VP                  RhRiR	7      pVP                  RjR"RkRlR%7       VP                  RmRRnR7       VP                  RoRpRqR7      pVP                  RrR7      pVP                  RRsR	7      pVP                  RtRuR	7       VP                  RRRRvR7       VP                  RwRxR	7      pVP                  RyRRzR7       VP                  R{R|R}R~7       VP                  RR€R	7      pVP                  RtRuR	7       VP                  RR�.R‚RL7      pVP                  R2RƒR	7       VP                  VR„7       Rf# )…z4Attach the ``plugins`` subcommand to ``subparsers``.ÚpluginszManage and validate pluginszŒInstall, update, remove, list, or validate native Hermes plugins and portable Agent Plugins v1 packages. Portable packages install disabled.)ÚhelpÚdescriptionÚplugins_action)ÚdestÚinstallzCInstall a plugin from the curated catalog, a Git URL, or owner/repo)r   Ú
identifierz�Bare plugin catalog entry name (see `hermes plugins search`), Git URL, or owner/repo shorthand (e.g. anpicasso/hermes-plugin-chrome-profiles)z--forcez-fÚ
store_truezWReinstall over an existing plugin (from the same source, your untracked files are kept))Úactionr   z--refÚ
COMMIT_SHAz9Install exactly one immutable 40-character Git commit SHA)Úmetavarr   z--allow-removedz<DANGEROUS: bypass the catalog removed-plugin blocklist checkz	--no-depszWDownload without dependency consent and leave disabled; cannot replace an active pluginz
--yes-depsz§Answer the Python dependency consent question yourself, so non-interactive installs (SSH automation, CI, Docker entrypoints) finish in one run instead of being refusedz--enablez?Auto-enable the plugin after install (skip confirmation prompt)z--no-enablez]Install disabled (skip confirmation prompt); enable later with `hermes plugins enable <name>`Úsearchz(Search the curated Hermes plugin catalogÚtermÚ?Ú zcQuery matched against entry names, descriptions and declared tools (omit to list the whole catalog))ÚnargsÚdefaultr   zPrint machine-readable JSONÚbrowsez'List every curated plugin catalog entryÚvalidatez;Validate a plugin directory for catalog admission (CI gate)ÚpathzPath to the plugin directoryz--install-depsu¸   Install the plugin's declared Python dependencies (pyproject/python_dependencies) into this venv before the capability probe, exactly as `plugins install` would â€” the catalog CI gatez$Print machine-readable JSON (for CI)ÚupdatezKUpdate an installed plugin, or with no name every plugin that has an updateÚnamezTPlugin name to update (default: list every plugin with an update and offer them all))r   r   z--yesz-yzfWith no name: update everything listed without the confirmation question (required without a terminal)zŒApply the update even when the security scan returns a caution verdict (a dangerous verdict still blocks). Without it, a terminal asks firstÚadoptz7Adopt a self-cloned plugin dir into provenance trackingz¦For plugin dirs you cloned yourself (no install record): read the git origin URL, write the provenance row, and become a tracked git install (check-updates + update).z!Self-cloned plugin directory nameztrust-update-urlz6Confirm a changed plugin update_url into the saved tagzÆThe ONLY path that moves a saved update_url tag. When a plugin's manifest changed its update_url (needs-fixing mismatch), running this trusts the new url after review. Never triggered automatically.zPlugin namezcheck-updatesÚcheckz8Check whether installed plugins have updates (read-only)u  Standard, read-only update check for every installed plugin: saved-tag update_url feeds (with mismatch protection), git ls-remote for git installs, and a stateless PyPI probe for pip entry-point plugins. NEVER mutates anything â€” apply with `hermes plugins update <name>`.)Úaliasesr   r   z--jsonz7Print machine-readable JSON (the receipt-section shape)ÚremoveÚrmÚ	uninstallzRemove an installed plugin)r(   r   zPlugin directory name to removeÚlistÚlszList installed pluginsz	--enabledzShow only enabled pluginsz--userz8Show only user-installed plugins (including git plugins)z--no-bundledzHide bundled pluginsz--plainz7Print compact plain-text output instead of a Rich tableÚenablezEnable a disabled pluginzPlugin name to enablez--allow-tool-overrideztGrant this plugin permission to replace built-in tools (e.g. shell_exec, write_file). Skips the confirmation prompt.z--no-allow-tool-overridez=Enable without granting built-in tool override (skip prompt).Údisablez$Disable a plugin without removing itzPlugin name to disableÚcapabilitiesz0Show declared vs granted capabilities per pluginu³   Show each plugin's declared capabilities (from plugin.yaml) against what the user has granted. Capabilities are a consent and audit layer over host API surfaces â€” NOT a sandbox.NzAPlugin id to inspect (omit to list all plugins with capabilities)Údoctorz1Validate a plugin with the real runtime contractsÚtargetÚ.z?Plugin path or installed plugin id (default: current directory)z--ciz.Exit non-zero when validation reports an errorÚpackz5Declarative, shareable plugin sets (hermes-pack.yaml)uò   Install, export, or inspect plugin packs â€” a single YAML file pinning a set of plugins to exact commit SHAs, with optional non-secret config seeds. Installing a pack fans out to ordinary pinned installs; capability consent stays per-plugin.Úpack_actionz7Review and install a pack from a file path or https URLÚsourcez3Path to a hermes-pack.yaml file, or an https:// URLz$Reinstall plugins that already existÚexportz2Emit a pack YAML for the current install on stdoutz--enabled-onlyz1Only include plugins currently in plugins.enabledz--namezmy-hermes-packz'Pack name to embed in the exported YAML)r    r   Úshowz4Dry-run: parse and display a pack without installingÚinfoz:Show details for a single plugin (including emits/listens)zPlugin name or key to show)Úfunc)Ú
add_parserÚadd_subparsersÚadd_argumentÚadd_mutually_exclusive_groupr   Úset_defaults)Ú
subparsersr   Úplugins_parserÚplugins_subparsersÚplugins_installÚ_install_deps_groupÚ_install_enable_groupÚplugins_searchÚplugins_validateÚplugins_updateÚplugins_adoptÚplugins_trustÚplugins_checkÚplugins_removeÚplugins_listÚplugins_enableÚ_enable_override_groupÚplugins_disableÚplugins_capabilitiesÚplugins_doctorÚplugins_packÚpack_subparsersÚpack_installÚpack_exportÚ	pack_showÚplugins_shows   &$                        r   Úbuild_plugins_parserrY   
   s³  € à×*Ñ*ØÐ5ðZð +ó [€Nð (×6Ñ6Ð<LÐ6ÓMÐà(×3Ñ3ØÐ]ð 4ó _€Oà× Ñ ØðGð !ô Hð × Ñ Ø�4 Øfð !ô hð × Ñ Ø˜ØHð !ô Jð × Ñ Ø ,ØKð !ô Mð *×FÑFÓHÐØ×$Ñ$Ø˜LØfð %ô hð ×$Ñ$Ø˜\ðcð %ô dð ,×HÑHÓJÐØ×&Ñ&Ø˜<ØNð 'ô Pð ×&Ñ&Ø˜lØlð 'ô ð
 (×2Ñ2ØÐAð 3ó C€Nà×ÑØ�c 2Ørð  ô tô �.Ð"?Ô@à×!Ñ! (Ð1ZÐ!Ô[à)×4Ñ4ØÐVð 5ó XÐà×!Ñ! &Ð/MÐ!ÔNØ×!Ñ!Ø ðlð "ô mô Ð"Ð$JÔKà'×2Ñ2ØÐdð 3ó f€Nà×ÑØ�cÐ vð  ô xà×ÑØ�˜lØuð  ô wð ×ÑØ�4 ð@ð  ô Að
 '×1Ñ1ØØFð<ð	 2ó €Mð ×Ñ˜vÐ,OÐÔPà&×1Ñ1ØØEð-ð	 2ó 	€Mð ×Ñ˜v¨MÐÔ:à&×1Ñ1ØØ�	ØGð.ð 2ó €Mð ×ÑØØØFð ô ð (×2Ñ2Ø˜4 Ð-Ð4Pð 3ó R€Nà×Ñ Ð-NÐÔOà%×0Ñ0Ø˜˜Ð%=ð 1ó ?€Là×Ñ˜k°,ÐE`ÐÔaØ×ÑØ˜ØGð ô Ið ×Ñ˜n°\ÐH^ÐÔ_Ø×ÑØ˜,ØFð ô Hô �,Ð =Ô>à'×2Ñ2°8ÐB\Ð2Ó]€NØ×Ñ Ð-DÐÔEØ+×HÑHÓJÐØ×'Ñ'Ø¨ðHð (ô Ið ×'Ñ'Ø"¨<ØLð (ô Nð )×3Ñ3ØÐ>ð 4ó @€Oà× Ñ  Ð.FÐ ÔGà-×8Ñ8ØÐOðHð 9ó IÐð
 ×%Ñ%Ø�c 4ØPð &ô Rð (×2Ñ2ØÐJð 3ó L€Nà×ÑØ˜ SØNð  ô Pð ×ÑØ�|Ð*Zð  ô \ð &×0Ñ0ØÐLðDð 1ó E€Lð #×1Ñ1°}Ð1ÓE€Oà"×-Ñ-ØÐQð .ó S€Là×Ñ˜hÐ-bÐÔcØ×ÑØ�4 Ð3Yð ô [ð "×,Ñ,ØÐKð -ó M€Kà×ÑØ Ø@ð ô Bð ×ÑØÐ*Ð1Zð ô \ð  ×*Ñ*ØÐKð +ó M€Ià×Ñ˜8Ð*_ÐÔ`à%×0Ñ0Ø˜˜Ð'cð 1ó e€Là×Ñ˜fÐ+GÐÔHà×Ñ [ÐÖ1r   N)Ú__doc__Ú
__future__r   Útypingr   Úhermes_cli.subcommands._sharedr   rY   r
   r   r   Ú<module>r^      s   ðÙ +å "å å 8÷}2r   