Commit Graph

4 Commits

Author SHA1 Message Date
Teknium ca8f68774a refactor(hermes_cli): dashboard_auth routes share _audit/_complete_login tails; middleware refresh phase helpers; commands cfg_get + compaction 2026-09-02 23:55:41 -07:00
Teknium c04eb54f9b refactor(hermes_cli): AST-neutral layout compaction of dashboard_auth + commands_platforms 2026-09-02 21:01:32 -07:00
Teknium e2ad0c0844 refactor(hermes_cli): compact commands registry helpers; share gateway-availability filter in commands_platforms 2026-09-02 20:56:33 -07:00
Teknium 8eeb79aade refactor(cli/commands): extract completer + platform derivations into commands_completion/commands_platforms with lazy re-exports
- hermes_cli/commands.py keeps CommandDef, COMMAND_REGISTRY, derived lookups, gateway helpers;
  all moved names resolve via PEP 562 __getattr__ so imports and patch targets keep working
- completer: per-command _<x>_completions -> module functions sharing _prefix_completions /
  _split_args; static refs table; SlashCommandAutoSuggest shares _allowed/_history_suggestion
- platforms: telegram/discord/slack derivations, _nested_mapping + _dedupe_sanitized_names
  folded into _telegram_command_menu_config / _sanitized_rank
- COMMAND_REGISTRY + telegram/discord/slack derivations + completer output byte-identical vs base
2026-09-02 15:35:08 -07:00