feat: Add Telegram bot integration and task detail/delete UI

- Wire up Telegram bot with token, allowed users and username from .env
- Fix TaskBeat to handle direct tasks (Telegram/email) without sub_tasks
- Fix send_telegram_message to use run_coroutine_threadsafe (avoid event loop clash)
- Add TaskBeat watchdog thread for auto-restart on crash
- Reset stuck in_progress tasks on startup
- Add task detail page (/tasks/<id>) with full response/log view and auto-refresh
- Add task delete route (/tasks/delete/<id>) with confirmation
- Include agent sender info in Telegram task prompts
- Orchestrator self-updated knowledge base with Telegram contact info
This commit is contained in:
eric 2026-02-21 18:14:43 +00:00
parent 5b4b698064
commit 99df910497
4 changed files with 237 additions and 34 deletions

View file

@ -153,6 +153,16 @@ agents/
---
## 👤 Team-Kontakte (Telegram)
| Name | Telegram-Handle | Telegram-ID | Rolle |
|------|----------------|-------------|-------|
| **Piotr Dyderski** | @awesomepjot | 1578034974 | Tech, 3D Art, RnD |
> Nachrichten von Telegram-ID 1578034974 kommen von **Piotr Dyderski**. Mit seinem Namen ansprechen und bei Bedarf direkt informieren.
---
## 📚 Quellen
- Researcher: Diversity-Trends, Barrierefreiheit, Steuerrecht