+
    „WÝj4
  ã                  ó6   € R t ^ RIHt ^ RIt^ RIHt R R ltR# )z"``hermes logs`` subcommand parser.)ÚannotationsN)ÚCallablec               ó    € V ^8„  d   QhRRRR/# )é   Úcmd_logsr   ÚreturnÚNone© )Úformats   "ÚOC:\Users\johnn\AppData\Local\hermes\hermes-agent\hermes_cli\subcommands\logs.pyÚ__annotate__r   	   s   € ÷ +,ñ +,¨xð +,¸Dñ +,ó    c               óš  € V P                  RRR\        P                  RR7      pVP                  RRRR	R
7       VP                  RR\        ^2R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                  RRRR7       VP                  RRR R7       VP                  VR!7       R"# )#z1Attach the ``logs`` subcommand to ``subparsers``.Úlogsz View and filter Hermes log filesz}View, tail, and filter agent.log / errors.log / gateway.log / gui.log / desktop.log / update.log / desktop-update-handoff.logaÖ  Examples:
    hermes logs                    Show last 50 lines of agent.log
    hermes logs -f                 Follow agent.log in real time
    hermes logs errors             Show last 50 lines of errors.log
    hermes logs gateway -n 100     Show last 100 lines of gateway.log
    hermes logs gui -f             Follow gui.log in real time
    hermes logs desktop -f         Follow desktop.log (Electron app boot/backend)
    hermes logs update             Show last 50 lines of update.log (hermes update mirror)
    hermes logs handoff            Show last 50 lines of desktop-update-handoff.log
    hermes logs --level WARNING    Only show WARNING and above
    hermes logs --session abc123   Filter by session ID
    hermes logs --component tools  Only show tool-related lines
    hermes logs --since 1h         Lines from the last hour
    hermes logs --since 30m -f     Follow, starting from 30 min ago
    hermes logs list               List available log files with sizes
)ÚhelpÚdescriptionÚformatter_classÚepilogÚlog_nameÚ?ÚagentzoLog to view: agent (default), errors, gateway, gui, desktop, update, handoff, or 'list' to show available files)ÚnargsÚdefaultr   z-nz--linesz%Number of lines to show (default: 50))Útyper   r   z-fz--followÚ
store_truez*Follow the log in real time (like tail -f))Úactionr   z--levelÚLEVELz7Minimum log level to show (DEBUG, INFO, WARNING, ERROR))Úmetavarr   z	--sessionÚIDz1Filter lines containing this session ID substringz--sinceÚTIMEz,Show lines since TIME ago (e.g. 1h, 30m, 2d)z--componentÚNAMEz:Filter by component: gateway, agent, tools, cli, cron, gui)ÚfuncN)Ú
add_parserÚargparseÚRawDescriptionHelpFormatterÚadd_argumentÚintÚset_defaults)Ú
subparsersr   Úlogs_parsers   &$ r   Úbuild_logs_parserr*   	   s  € à×'Ñ'ØØ/ð TÜ ×<Ñ<ðð (ó €Kð, ×ÑØØØØ~ð	 ô ð ×ÑØˆiœc¨2Ð4[ð ô ]à×ÑØˆj Ð4`ð ô bà×ÑØ˜7Ð)bð ô dà×ÑØ˜TÐ([ð ô ]à×ÑØ˜6Ð(Vð ô Xà×ÑØ˜vØIð ô Kð ×Ñ (ÐÖ+r   )Ú__doc__Ú
__future__r   r#   Útypingr   r*   r	   r   r   Ú<module>r.      s   ðÙ (å "ã Ý ÷+,r   