Commit Graph

7 Commits

Author SHA1 Message Date
Teknium dc85c79f98 refactor(hermes_cli): commands_completion — _completion() factory (7 sites), @_quiet on tools completer, score table; completion — inline single-use locals 2026-09-03 00:06:54 -07:00
Teknium e1a22b7845 refactor(hermes_cli): group C — pack short keyword-argument lists 2026-09-02 22:52:11 -07:00
Teknium 3ab50d7ddb refactor(hermes_cli): commands_completion — drop unreferenced staticmethod re-exports 2026-09-02 22:43:12 -07:00
Teknium 711bec9219 refactor(hermes_cli): commands_completion — _quiet generator decorator; completion — single profile-action source 2026-09-02 22:39:57 -07:00
Teknium 381d88f433 refactor(hermes_cli): group C — drop blank lines after function-local imports 2026-09-02 21:36:19 -07:00
Teknium 41ab6c5e10 refactor(hermes_cli): commands_completion — flatten argument routing, inline single-use helpers, compact docstrings 2026-09-02 20:52:08 -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