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
Session persistence across restarts β SessionMap now persists chatCurrent and topicBind mappings to ~/.config/omotg/sessions_<bot>.json.
Chat and topic session bindings survive server restarts, so conversations
continue with the same OpenCode session (and its full history) instead of
creating a new blank session.
Dynamic child timeout β child agent timeout timer resets on every SSE
event, so long-running sub-agents are only interrupted when truly idle (60s),
not when they are actively producing output.
Completion reason logging β every exit path from processMessage logs
a structured reason field (completed, session_timeout, child_timeout, send_message_error, sse_unavailable) for observability.
Fixed
Agent completion reports missing β 5 root causes fixed where agent output
never reached Telegram: SSE stream death + slow POST response now retries and
notifies user; successful responses append completion marker; child and session
timeouts send explicit Telegram messages instead of silently returning; handleMsgResult now correctly sets *mainTextSent.
MCP endpoint URL β opencode.json URL corrected from /mcp (404) to /mcp/sse (200), enabling agents to call send_telegram_message and send_telegram_notification tools.
Rate limiting β sendTelegram enforces 500ms minimum gap between sends
to avoid Telegram "Too Many Requests" errors from burst tool notifications.