refactor: окончательная очистка bot.py от дубликатов
- bot.py: 2365 → 1411 строк (-954 строки, -40%)
- Удалены дублирующиеся функции которые теперь в модулях:
- start_command, menu_command, help_command, settings_command → bot/handlers/commands.py
- menu_callback → bot/handlers/callbacks.py
- execute_cli_command, _execute_local_command, _execute_ssh_command, _show_result → bot/services/command_executor.py
- clean_ansi_codes, normalize_output, split_message, send_long_message → bot/utils/
- init_menus → bot/keyboards/menus.py
- Оставлены только:
- handle_text_message, handle_ai_task
- handle_ssh_session_input, handle_local_session_input, handle_server_input
- finish_edit_server, stop_command, ai_command, memory_command, facts_command, forget_command
- post_init, main
- Исправлены импорты в decorators.py, command_executor.py
- Добавлены ssh_session_manager, local_session_manager в bot/models/session.py
Version: 0.5.4
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>