+
    „WÝjš	  ã                  ó.   € R t ^ RIHt R R ltR R ltR# )z%``hermes migrate`` subcommand parser.)Úannotationsc               ó   € V ^8„  d   QhRR/# ©é   ÚreturnÚNone© )Úformats   "ÚRC:\Users\johnn\AppData\Local\hermes\hermes-agent\hermes_cli\subcommands\migrate.pyÚ__annotate__r      s   € ÷ $2ñ $2¨ñ $2ó    c                óÆ  € ^ RI HpHp V P                  RRRR7      pVP	                  RR7      pVP                  RR	R
R7      pVP                  RRRR7       VP                  RRRR7       VP                  VR7       VP                  RRRR7      pVP                  RRRR7       VP                  RRRR7       VP                  \        R7       VP                  VR7       R# )z4Attach the ``migrate`` subcommand to ``subparsers``.)Úcmd_migrateÚcmd_migrate_xaiÚmigratez?Migrate configuration for retired models or deprecated settingszxDiagnose and (optionally) rewrite the active config.yaml to replace references to retired models or deprecated settings.)ÚhelpÚdescriptionÚmigrate_type)ÚdestÚxaiz;Migrate xAI models scheduled for retirement on May 15, 2026zãScan config.yaml for references to xAI models retiring on May 15, 2026 and, with --apply, rewrite them in-place to the official replacements per the xAI migration guide. The original config.yaml is backed up before any rewrite.z--applyÚ
store_truez:Rewrite config.yaml in-place (default: dry-run, no writes))Úactionr   z--no-backupz8Skip the timestamped backup of config.yaml when applying)ÚfuncÚrelayzTConvert legacy HERMES_NEMO_RELAY_ATIF_*/ATOF_* exporter vars into relay-plugins.tomla  The NeMo Relay cutover stopped reading the legacy exporter variables. Generate <hermes home>/relay-plugins.toml from them, point HERMES_NEMO_RELAY_PLUGINS_TOML at it, and comment the legacy lines out. `hermes update` runs this for every profile automatically.z--all-profileszLMigrate the default home and every named profile (what `hermes update` does)z--no-validatezNSkip activating the generated file through Relay's validator before writing itN)Úhermes_cli.migrater   r   Ú
add_parserÚadd_subparsersÚadd_argumentÚset_defaultsÚ_cmd_migrate_relay)Ú
subparsersr   r   Úmigrate_parserÚmigrate_subparsersÚmigrate_xaiÚmigrate_relays   &      r
   Úbuild_migrate_parserr%      s/  € ç?à×*Ñ*ØÐYðKð +ó L€Nð (×6Ñ6¸NÐ6ÓKÐà$×/Ñ/ØÐQð;ð 0ó <€Kð ×ÑØ˜,ØIð ô Kð ×ÑØ˜lØGð ô Ið ×Ñ /ÐÔ2à&×1Ñ1ØÐlðkð 2ó l€Mð
 ×ÑØ Ø[ð ô ]ð ×ÑØ Ø]ð ô _ð ×ÑÔ$6ÐÔ7Ø×Ñ [ÐÖ1r   c               ó   € V ^8„  d   QhRR/# r   r   )r	   s   "r
   r   r   -   s   € ÷ ñ  ñ r   c                ó"   € ^ RI Hp V! V 4       R# )é    )Úcmd_migrate_relayN)Úhermes_cli.relay_plugin_migrater)   )Úargsr)   s   & r
   r   r   -   s   € ÝAÙ�dÖr   N)Ú__doc__Ú
__future__r   r%   r   r   r   r
   Ú<module>r.      s   ðÙ +å "õ$2÷Nr   