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

Extracted verbatim from ``hermes_cli/main.py:main()`` (god-file Phase 2).
Handler injected to avoid importing ``main``.
é    )Úannotations)ÚCallableÚ	cmd_slackr   Ú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S )%z2Attach the ``slack`` subcommand to ``subparsers``.Úslackz5Slack integration helpers (manifest generation, etc.)z%Slack integration helpers for Hermes.)ÚhelpÚdescriptionÚslack_command)ÚdestÚmanifestzvPrint or write a Slack app manifest with every gateway command registered as a native slash (/btw, /stop, /model, ...)u(  Generate a Slack app manifest that registers every gateway command in COMMAND_REGISTRY as a first-class Slack slash command (matching Discord and Telegram parity). Paste the output into Slack app config â†’ Features â†’ App Manifest â†’ Edit, then Save. Reinstall the app if Slack prompts for it.z--writeú?TNÚPATHzdWrite manifest to a file instead of stdout. With no PATH writes to $HERMES_HOME/slack-manifest.json.)ÚnargsÚconstÚdefaultÚmetavarr
   z--namez$Bot display name (default: "Hermes"))r   r
   z--descriptionz/Bot description shown in Slack's app directory.z--long-descriptionÚTEXTz8Set Slack's long app description (175-4,000 characters).)r   r   r
   z--long-description-filezPRead Slack's long app description from a UTF-8 text file (175-4,000 characters).z--slashes-onlyÚ
store_truez]Emit only the features.slash_commands array (for merging into an existing manifest manually).)Úactionr
   z--no-assistantzÝOmit Slack AI Assistant mode (assistant_view, assistant:write scope, assistant_thread_* events). DMs then render as a flat chat where bare slash commands (/help, /new) work inline instead of Slack's Assistant thread pane.z--agent-viewzëEmit Slack's Agent messaging experience (agent_view, app_home_opened + message.im) instead of the legacy assistant_view experience. This changes Slack's app messaging surface and cannot be reversed in Slack after applying the manifest.)Úfunc)Ú
add_parserÚadd_subparsersÚadd_argumentÚadd_mutually_exclusive_groupÚset_defaults)Ú
subparsersr   Úslack_parserÚ	slack_subÚslack_manifestÚslack_long_descriptionÚslack_messagings          úB/home/ragecks/.hermes/hermes-agent/hermes_cli/subcommands/slack.pyÚbuild_slack_parserr%      s  € ð
 ×(Ò(ØØDØ;ð )ñ ô €Lð
 ×+Ò+°Ð+ÑAÔA€IØ×)Ò)ØðBðJð *ñ ô €Nð ×ÒØØØØØð6ð  ñ ô ð ð ×ÒØØØ3ð  ñ ô ð ð
 ×ÒØØØ>ð  ñ ô ð ð
 ,×HÒHÑJÔJÐØ×'Ò'ØØØØGð	 (ñ ô ð ð ×'Ò'Ø!ØØð&ð (ñ ô ð ð ×ÒØØð/ð  ñ ô ð ð %×AÒAÑCÔC€OØ× Ò ØØð)ð !ñ ô ð ð × Ò ØØð<ð !ñ ô ð ð ×Ò 9ÐÑ-Ô-Ð-Ð-Ð-ó    N)r   r   r   r   )Ú__doc__Ú
__future__r   Útypingr   r%   © r&   r$   ú<module>r+      sY   ððð ð #Ð "Ð "Ð "Ð "Ð "à Ð Ð Ð Ð Ð ðQ.ð Q.ð Q.ð Q.ð Q.ð Q.r&   