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
frdel
eafe51a688 Refactor self-update system to use native Git operations instead of file sync
- Replace file-based sync_tree with native Git checkout, fetch, and stash operations
- Add Git stash-based rollback protection for tracked and untracked changes
- Remove protected path detection logic (now handled by Git ignore rules)
- Add stash management helpers: create_rollback_stash, apply_stash, drop_stash
- Add repository state restoration via restore_git_state for branch/detached HEAD
- Implement clean_repo_wor
2026-03-24 18:44:57 +01:00
frdel
94edfeaf8d Update system prototype 2026-03-24 13:49:12 +01:00