You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An agent in a conversation has to block until someone replies. Today it can only poll tg sql. telegram-mcp has tools that wait for new events or for a message to settle, plus an event feed.
Proposed:
tg messages wait [--chat <peer>] [--after <id>] [--timeout 60] [--settle 3] returns the new messages as JSON, or a documented timeout result.
tg messages watch [--chat <peer>] streams NDJSON.
Both read what the daemon stores, so the daemon stays read-only and no second Telegram session is opened. Depends on #15, #16 and #19.
Done when wait returns within about a second of the daemon storing a message, and the timeout result is in the docs.
Activity