openclaw/extensions
Gabriel M. f7ced438f7
fix: restore Telegram forum-topic routing (#56060) (thanks @one27001)
* feat(telegram): add child thread-binding placement via createForumTopic

Enable ACP subagent spawn on Telegram by adding "child" placement
support to the thread-bindings adapter. When a child binding is
requested, the adapter creates a new forum topic via the Telegram
Bot API and binds the subagent session to it using the canonical
chatId:topic:topicId conversation ID format.

When the ACP spawn context provides only a topic ID (not a full
group chat ID), the adapter resolves the group from the configured
Telegram groups in openclaw.json.

This mirrors the Discord adapter's child placement behavior
(thread creation + session binding) and unblocks the orchestrator
pattern on Telegram forum-enabled groups.

Closes #5737
Ref #23414

* fix(telegram): return null with warning instead of silent group fallback for bare topic IDs in child bind

* telegram: fix ACP child thread spawn with group chat ID from agentGroupId

* telegram: scope agentGroupId substitution to telegram channel only

* Telegram: fix forum topic replies routing to root chat instead of topic thread

* fix: clean up dead guard in child bind + add explicit threadId override test

- Simplify bare-topic-ID guards in thread-bindings.ts: split into
  separate !chatId and !chatId.startsWith("-") checks, removing
  unreachable second condition
- Add regression test confirming explicit turnSourceThreadId overrides
  session lastThreadId on same channel

* fix: guard threadId fallback against shared-session race

Codex review P1: when turnSourceTo differs from the session's stored
to, the session threadId may belong to a different chat/topic. Only
fall back to context.threadId when the destination also matches.

* fix(telegram): enable ACP spawn from forum topics without thread binding

extractExplicitGroupId returned topic-qualified IDs (-100...:topic:1264)
instead of bare group chat IDs, breaking agentGroupId resolution.
agentGroupId was also never wired in the inline actions path.

For Telegram forum topics, skip thread binding entirely — the delivery
plan already routes correctly via requester origin (to + threadId).
Creating new forum topics per child session is unnecessary; output goes
back to the same topic the user asked from.

* fix(acp): bind Telegram forum sessions to current topic

* fix: restore Telegram forum-topic routing (#56060) (thanks @one27001)

---------

Co-authored-by: openclaw <mgabrie.dev@gmail.com>
Co-authored-by: Ayaan Zaidi <hi@obviy.us>
2026-03-31 10:18:09 +05:30
..
acpx fix(acpx): retain named sessions on queue owner unavailable (#56232) thanks @jlxyfll 2026-03-30 22:14:59 -04:00
amazon-bedrock chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
anthropic chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
anthropic-vertex chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
bluebubbles test: speed up extension suites 2026-03-31 02:25:02 +01:00
brave chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
browser test: isolate browser snapshot navigation from proxy env 2026-03-31 01:40:55 +01:00
byteplus chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
chutes chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
cloudflare-ai-gateway chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
copilot-proxy chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
deepgram chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
deepseek chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
device-pair refactor(channels): route core through registered plugin capabilities 2026-03-30 01:03:42 +01:00
diagnostics-otel chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
diffs Diffs: normalize viewer payload languages 2026-03-30 20:12:19 -04:00
discord test: speed up extension suites 2026-03-31 02:25:02 +01:00
duckduckgo test: speed up extension suites 2026-03-31 02:25:02 +01:00
elevenlabs feat(tts): add structured provider diagnostics and fallback attempt analytics (#57954) 2026-03-30 22:55:28 -05:00
exa chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
fal chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
feishu Tests: restore extension plugin test seams 2026-03-29 22:38:44 -04:00
firecrawl chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
github-copilot chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
google chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
googlechat test: speed up extension suites 2026-03-31 02:25:02 +01:00
groq chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
huggingface chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
image-generation-core chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
imessage chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
irc chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
kilocode chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
kimi-coding chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
line test: speed up extension suites 2026-03-31 02:25:02 +01:00
litellm chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
llm-task chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
lobster chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
matrix Matrix: isolate verification events hotspot 2026-03-31 00:00:25 -04:00
mattermost fix(mattermost): detect stale websocket after bot disable/enable cycle (#53604) 2026-03-30 07:54:59 +05:30
media-understanding-core chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
memory-core test: fix qmd and discord ci regressions 2026-03-31 01:40:55 +01:00
memory-lancedb chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
microsoft chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
microsoft-foundry chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
minimax chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
mistral chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
modelstudio chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
moonshot chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
msteams msteams: filter thread history by sender allowlist (#57723) 2026-03-30 15:38:26 +01:00
nextcloud-talk chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
nostr chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
nvidia chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
ollama Guard marketplace and Ollama network requests (#57850) 2026-03-30 20:08:38 +01:00
open-prose chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
openai feat(tts): add structured provider diagnostics and fallback attempt analytics (#57954) 2026-03-30 22:55:28 -05:00
opencode chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
opencode-go chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
openrouter chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
openshell fix(openshell): support remote fs read mutation in tests 2026-03-31 10:30:37 +09:00
perplexity chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
phone-control tighten phone-control scope helper extraction 2026-03-30 16:17:17 +02:00
qianfan chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
sglang chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
shared refactor: route plugin runtime through bundled seams 2026-03-27 16:40:27 +00:00
signal test: speed up extension suites 2026-03-31 02:25:02 +01:00
slack test: speed up extension suites 2026-03-31 02:25:02 +01:00
speech-core feat(tts): add structured provider diagnostics and fallback attempt analytics (#57954) 2026-03-30 22:55:28 -05:00
synology-chat synology-chat: add webhook in-flight guard (#57722) 2026-03-30 15:37:02 +01:00
synthetic chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
talk-voice style: apply formatter cleanups 2026-03-30 16:20:27 +01:00
tavily chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
telegram fix: restore Telegram forum-topic routing (#56060) (thanks @one27001) 2026-03-31 10:18:09 +05:30
thread-ownership fix(extensions): route fetch calls through fetchWithSsrFGuard (#53929) 2026-03-26 02:04:54 -07:00
tlon infra: harden identifier entropy and delay jitter (#57744) 2026-03-30 16:57:30 +01:00
together chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
twitch fix(twitch): align markdown table mode type 2026-03-30 19:32:14 +09:00
venice chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
vercel-ai-gateway chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
vllm chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
voice-call fix(tts): restore 3.28 schema compatibility and fallback observability (#57953) 2026-03-30 22:05:03 -05:00
volcengine chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
whatsapp fix: hydrate WhatsApp participating groups on connect (#58007) (thanks @neeravmakwana) 2026-03-31 10:09:18 +05:30
xai fix: normalize xai tool result image replay (#58017) (thanks @neeravmakwana) 2026-03-31 10:10:51 +05:30
xiaomi chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
zai chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
zalo test: speed up extension suites 2026-03-31 02:25:02 +01:00
zalouser chore: bump version to 2026.3.30 2026-03-30 09:28:29 +09:00
.npmignore
AGENTS.md Docs: add boundary AGENTS guides (#56647) 2026-03-28 20:22:03 -04:00
CLAUDE.md Docs: add boundary AGENTS guides (#56647) 2026-03-28 20:22:03 -04:00