Commit graph

3 commits

Author SHA1 Message Date
frdel
247c8d845f Change default self-update backup directory from /a0/tmp to /root and add lazy aiogram dependency loading for Telegram plugin
- Update default backup path from /a0/tmp/self-update-backups to /root/update-backups in self_update_manager.py, helpers/self_update.py, and documentation
- Move aiogram from global requirements.txt to plugin-local requirements for _telegram_integration
- Add ensure_dependencies() helper that installs aiogram on-demand via uv pip install
- Add has_aiogram() check to avoid
2026-03-26 10:20:35 +01:00
keyboardstaff
d6811c1ec4 refactor(telegram): optimize message handling and unify system context
- handler.py: Cleaned up. All functions and imports are now actively used.

- _enqueue_user_message: Refactored to handle both messages and callback queries, eliminating duplicate building logic.

- _20_telegram_context.py: Now the single source of truth for injecting agent_instructions and system_context_reply.

- File Cleanup: Deleted unused fw.telegram.system_context.md and fw.telegram.cleared.md.

- fix: Corrected bot invocation logic within group chats.
2026-03-22 10:05:36 -07:00
keyboardstaff
88b5d97335 feat: Telegram plugin extensions 2026-03-20 10:21:00 -07:00