
    oq'j                    *    d Z ddlmZ ddlmZ d
dZd	S )z``hermes gui`` subcommand parser.

Extracted verbatim from ``hermes_cli/main.py:main()`` (god-file Phase 2).
Handler injected to avoid importing ``main``.
    )annotations)Callablecmd_guir   returnNonec                  |                      ddg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 )z0Attach the ``gui`` subcommand to ``subparsers``.desktopguiz'Build and launch the native desktop appzLaunch the Hermes Electron desktop app. By default this installs workspace Node dependencies, builds the current OS's unpacked Electron app, then launches that packaged artifact.)aliaseshelpdescriptionz--source
store_truezMLaunch via `electron .` against apps/desktop/dist instead of the packaged app)actionr   z--build-onlyzRBuild the desktop app but do not launch it (used by the installer's --update flow)z--fake-bootzBEnable deterministic desktop boot delays for validating startup UIz--ignore-existingzPForce Desktop to ignore any hermes CLI already on PATH during backend resolutionz--hermes-rootzQOverride the Hermes source root used by Desktop (sets HERMES_DESKTOP_HERMES_ROOT))r   z--cwdzMInitial project directory for Desktop chat sessions (sets HERMES_DESKTOP_CWD)z--skip-buildzWSkip npm install/package and launch the existing unpacked app from apps/desktop/releasez--force-buildz6Force a full rebuild even if the content stamp matches)funcN)
add_parseradd_argumentset_defaults)
subparsersr   
gui_parsers      ?/home/ubuntu/.hermes/hermes-agent/hermes_cli/subcommands/gui.pybuild_gui_parserr      s    &&6B ' 	 	J \    
 a    
 Q    
 _    
 `     \     f    
 E    
 )))))    N)r   r   r   r   )__doc__
__future__r   typingr   r    r   r   <module>r      sS     # " " " " "      3* 3* 3* 3* 3* 3*r   