homelab/telegram
Mikkel Georgsen 06c52466f2 feat(03-02): add /timeout and /sessions commands
- Added timeout_cmd() to set per-session idle timeout (1-120 min range)
  - Shows current timeout when called without args
  - Updates session metadata and existing idle timer
- Added sessions_cmd() to list all sessions with status
  - Shows LIVE (subprocess running) or IDLE (suspended) status
  - Displays persona and relative last-active time (e.g., '2m ago')
  - Marks current active session with arrow
- Registered both commands in main()
- Commands already added to help text in Task 1

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 23:37:30 +00:00
..
personas fix(02-02): typing indicator lifecycle, model identity, tool permissions 2026-02-04 22:10:02 +00:00
.gitignore Add Telegram bot and shared storage documentation 2026-01-16 14:21:51 +00:00
bot.py feat(03-02): add /timeout and /sessions commands 2026-02-04 23:37:30 +00:00
claude_subprocess.py feat(03-01): extend session metadata and PID tracking 2026-02-04 23:28:40 +00:00
idle_timer.py feat(03-01): create SessionIdleTimer module 2026-02-04 23:28:04 +00:00
message_batcher.py feat(02-02): integrate typing indicators, batching, and file handling 2026-02-04 19:24:09 +00:00
session_manager.py feat(03-01): extend session metadata and PID tracking 2026-02-04 23:28:40 +00:00
telegram_utils.py fix(02-02): typing indicator lifecycle, model identity, tool permissions 2026-02-04 22:10:02 +00:00