惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

aimingoo的专栏
aimingoo的专栏
Jina AI
Jina AI
WordPress大学
WordPress大学
Recent Announcements
Recent Announcements
G
Google Developers Blog
I
InfoQ
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Google DeepMind News
Google DeepMind News
P
Proofpoint News Feed
MyScale Blog
MyScale Blog
M
MIT News - Artificial intelligence
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
C
Check Point Blog
J
Java Code Geeks
T
Tailwind CSS Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Microsoft Security Blog
Microsoft Security Blog
MongoDB | Blog
MongoDB | Blog
V
Visual Studio Blog
人人都是产品经理
人人都是产品经理
量子位
A
About on SuperTechFans
D
DataBreaches.Net
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
docs(channels): cover WhatsApp replyToMode, Discord inher...
vincentkoc · 2026-04-23 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -655,6 +655,10 @@ Default slash command settings:

655655

- Discord threads are routed as channel sessions

656656

- parent thread metadata can be used for parent-session linkage

657657

- thread config inherits parent channel config unless a thread-specific entry exists

658+

- parent transcript inheritance into newly created auto-threads is opt-in via `channels.discord.thread.inheritParent` (default `false`). When `false`, newly created Discord thread sessions start isolated from the parent channel transcript; when `true`, the parent channel history seeds the new thread session

659+

- per-account overrides live under `channels.discord.accounts.<id>.thread.inheritParent`

660+

- message-tool reactions can resolve `user:<id>` DM targets in addition to channel targets

661+

- `channels.discord.guilds.<guild>.channels.<channel>.requireMention: false` is preserved during reply-stage activation fallback, so configured always-on channels stay always-on even when reply-stage fallback runs

658662
659663

Channel topics are injected as **untrusted** context (not as system prompt).

660664

Reply and quoted-message context currently stays as received.

Original file line numberDiff line numberDiff line change

@@ -267,6 +267,7 @@ Notes:

267267

- `progress` shows a status preview while generating and only posts the final answer at completion.

268268

- `off` disables preview streaming.

269269

- If the stream cannot be finalized in place (for example the post was deleted mid-stream), OpenClaw falls back to sending a fresh final post so the reply is never lost.

270+

- Reasoning-only payloads are suppressed from channel posts, including text that arrives as a `> Reasoning:` blockquote. Set `/reasoning on` to see thinking in other surfaces; the Mattermost final post keeps the answer only.

270271

- See [Streaming](/concepts/streaming#preview-streaming-modes) for the channel-mapping matrix.

271272
272273

## Reactions (message tool)

Original file line numberDiff line numberDiff line change

@@ -710,6 +710,8 @@ Manual reply tags are supported:

710710
711711

Note: `replyToMode="off"` disables **all** reply threading in Slack, including explicit `[[reply_to_*]]` tags. This differs from Telegram, where explicit tags are still honored in `"off"` mode. The difference reflects the platform threading models: Slack threads hide messages from the channel, while Telegram replies remain visible in the main chat flow.

712712
713+

Focused Slack thread replies route through their bound ACP session when one exists, instead of preparing the reply against the default agent shell. That keeps `/focus` and `/acp spawn ... --bind here` bindings intact for follow-up messages in the thread.

714+
713715

## Ack reactions

714716
715717

`ackReaction` sends an acknowledgement emoji while OpenClaw is processing an inbound message.

@@ -744,6 +746,7 @@ Notes:

744746

- Media and non-text payloads fall back to normal delivery.

745747

- Media/error finals cancel pending preview edits without flushing a temporary draft; eligible text/block finals flush only when they can edit the preview in place.

746748

- If streaming fails mid-reply, OpenClaw falls back to normal delivery for remaining payloads.

749+

- Slack Connect channels that reject a stream before the SDK flushes its local buffer fall back to normal Slack replies, so short replies are not silently dropped or reported as delivered before Slack acknowledges them.

747750
748751

Use draft preview instead of Slack native text streaming:

749752

@@ -1032,6 +1035,12 @@ openclaw pairing list slack

10321035

snapshots, the HTTP account is configured but the current runtime could not

10331036

resolve the SecretRef-backed signing secret.

10341037
1038+

Registered Request URL webhooks are dispatched through the same shared handler registry used by Slack monitor setup, so HTTP-mode Slack events keep routing through the registered path instead of 404ing after successful route registration.

1039+
1040+

</Accordion>

1041+
1042+

<Accordion title="File downloads with custom bot tokens">

1043+

The `downloadFile` helper resolves its bot token from the runtime config when a caller passes `cfg` without an explicit `token` or prebuilt client, preserving cfg-only file downloads outside the action runtime path.

10351044

</Accordion>

10361045
10371046

<Accordion title="Native/slash commands not firing">

Original file line numberDiff line numberDiff line change

@@ -745,6 +745,10 @@ curl "https://api.telegram.org/bot<bot_token>/getUpdates"

745745
746746

</Accordion>

747747
748+

<Accordion title="Model picker authorization in groups">

749+

Group model-picker inline buttons require the same authorization as `/models`. Unauthorized participants can browse and tap buttons, but OpenClaw rejects the callback before changing the session model.

750+

</Accordion>

751+
748752

<Accordion title="Long polling vs webhook">

749753

Default: long polling.

750754

@@ -761,6 +765,8 @@ curl "https://api.telegram.org/bot<bot_token>/getUpdates"

761765

If your public endpoint differs, place a reverse proxy in front and point `webhookUrl` at the public URL.

762766

Set `webhookHost` (for example `0.0.0.0`) when you intentionally need external ingress.

763767
768+

The grammY webhook callback returns a 200 within 5 seconds so Telegram does not retry long-running updates as read timeouts; longer work continues in the background. Polling rebuilds the HTTP transport after `getUpdates` 409 conflicts, so retries use a fresh TCP connection instead of looping on a Telegram-terminated keep-alive socket.

769+
764770

</Accordion>

765771
766772

<Accordion title="Limits, retry, and CLI targets">

Original file line numberDiff line numberDiff line change

@@ -331,6 +331,28 @@ When the linked self number is also present in `allowFrom`, WhatsApp self-chat s

331331

</Accordion>

332332

</AccordionGroup>

333333
334+

## Reply quoting

335+
336+

WhatsApp supports native reply quoting, where outbound replies visibly quote the inbound message. Control it with `channels.whatsapp.replyToMode`.

337+
338+

| Value | Behavior |

339+

| -------- | ---------------------------------------------------------------------------------- |

340+

| `"auto"` | Quote the inbound message when the provider supports it; skip quoting otherwise |

341+

| `"on"` | Always quote the inbound message; fall back to a plain send if quoting is rejected |

342+

| `"off"` | Never quote; send as a plain message |

343+
344+

Default is `"auto"`. Per-account overrides use `channels.whatsapp.accounts.<id>.replyToMode`.

345+
346+

```json5

347+

{

348+

channels: {

349+

whatsapp: {

350+

replyToMode: "on",

351+

},

352+

},

353+

}

354+

```

355+
334356

## Reaction level

335357
336358

`channels.whatsapp.reactionLevel` controls how broadly the agent uses emoji reactions on WhatsApp:

Original file line numberDiff line numberDiff line change

@@ -1042,6 +1042,7 @@ Hardening tips:

10421042

OpenClaw loads workspace-local `.env` files for agents and tools, but never lets those files silently override gateway runtime controls.

10431043
10441044

- Any key that starts with `OPENCLAW_*` is blocked from untrusted workspace `.env` files.

1045+

- Channel endpoint settings for Matrix, Mattermost, IRC, and Synology Chat are also blocked from workspace `.env` overrides, so cloned workspaces cannot redirect bundled connector traffic through local endpoint config. Endpoint env keys (such as `MATRIX_HOMESERVER`, `MATTERMOST_URL`, `IRC_HOST`, `SYNOLOGY_CHAT_INCOMING_URL`) must come from the gateway process environment or `env.shellEnv`, not from a workspace-loaded `.env`.

10451046

- The block is fail-closed: a new runtime-control variable added in a future release cannot be inherited from a checked-in or attacker-supplied `.env`; the key is ignored and the gateway keeps its own value.

10461047

- Trusted process/OS environment variables (the gateway's own shell, launchd/systemd unit, app bundle) still apply — this only constrains `.env` file loading.

10471048