Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/manage-sandboxes/messaging-channels.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ The client secret is stored as the `<sandbox>-teams-bridge` OpenShell provider a
Use `TEAMS_ALLOWED_USERS` or `MSTEAMS_ALLOWED_USERS` to list comma-separated Microsoft Entra ID object IDs that may interact with the bot.
For OpenClaw group and channel messages, `TEAMS_REQUIRE_MENTION` defaults to `1`, so the bot replies only when mentioned.
Direct messages are unaffected by mention mode.
NemoClaw configures OpenClaw Teams with `channels.msteams.streaming.mode: "off"` so the channel uses final-message delivery while the upstream Teams streaming path can duplicate or collapse preview and final messages.

WeChat (experimental) delivers messages over Tencent's iLink gateway through the upstream `@tencent-weixin/openclaw-weixin` plugin installed into WeChat-enabled OpenClaw sandbox images and the built-in Hermes iLink WeChat adapter.
The supported mode in this release is **personal WeChat** (`bot_type=3`).
Expand Down
1 change: 1 addition & 0 deletions src/lib/messaging/channels/manifests.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,7 @@ describe("built-in channel manifests", () => {
expect(renderJson(teamsManifest)).toContain('"path":"platforms.teams"');
expect(renderJson(teamsManifest)).toContain("credential.teamsClientSecret.placeholder");
expect(renderJson(teamsManifest)).toContain("teamsConfig.webhookPort");
expect(renderJson(teamsManifest)).toContain('"streaming":{"mode":"off"}');
expect(renderJson(teamsManifest)).toContain('"groupPolicy":"open"');
expect(renderJson(teamsManifest)).not.toContain("groupAllowFrom");
expectTokenPasteEnrollHook(teamsManifest, ["clientSecret"]);
Expand Down
5 changes: 5 additions & 0 deletions src/lib/messaging/channels/teams/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,11 @@ export const teamsManifest = {
healthMonitor: {
enabled: false,
},
// OpenClaw Teams streaming can duplicate or collapse preview and final messages.
// Keep final-only mode until that path is fixed and covered by runtime validation.
streaming: {
mode: "off",
},
dmPolicy: "{{allowedIds.teams.dmPolicy}}",
allowFrom: "{{allowedIds.teams.values}}",
groupPolicy: "open",
Expand Down
2 changes: 2 additions & 0 deletions src/lib/messaging/compiler/manifest-compiler.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,7 @@ describe("ManifestCompiler", () => {
}),
);
expect(JSON.stringify(plan.agentRender)).toContain('"port":3978');
expect(JSON.stringify(plan.agentRender)).toContain('"streaming":{"mode":"off"}');
expect(JSON.stringify(plan.agentRender)).toContain('"groupPolicy":"open"');
expect(JSON.stringify(plan.agentRender)).not.toContain("groupAllowFrom");
expect(JSON.stringify(plan.agentRender)).toContain('"requireMention":true');
Expand Down Expand Up @@ -595,6 +596,7 @@ describe("ManifestCompiler", () => {
disabled: false,
});
expect(JSON.stringify(plan.agentRender)).toContain("channels.msteams");
expect(JSON.stringify(plan.agentRender)).toContain('"streaming":{"mode":"off"}');
expect(JSON.stringify(plan.agentRender)).toContain('"groupPolicy":"open"');
expect(JSON.stringify(plan.agentRender)).not.toContain("dmPolicy");
expect(JSON.stringify(plan.agentRender)).not.toContain("allowFrom");
Expand Down
Loading