From 1bf8fb26f42d7149df7cc44b515e4b81b096fb08 Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Tue, 31 Mar 2026 14:32:55 +0900 Subject: [PATCH] docs: fix config examples -- perSession deprecation and dmScope guidance - Replace perSession: true with scope: "session" (preferred syntax) - Add dmScope: "per-channel-peer" to expanded example for multi-user safety --- docs/gateway/configuration-examples.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/gateway/configuration-examples.md b/docs/gateway/configuration-examples.md index 8f264571067..6087ba64d36 100644 --- a/docs/gateway/configuration-examples.md +++ b/docs/gateway/configuration-examples.md @@ -154,6 +154,7 @@ Save to `~/.openclaw/openclaw.json` and you can DM the bot from that number. // Session behavior session: { scope: "per-sender", + dmScope: "per-channel-peer", // recommended for multi-user inboxes reset: { mode: "daily", atHour: 4, @@ -288,7 +289,7 @@ Save to `~/.openclaw/openclaw.json` and you can DM the bot from that number. }, sandbox: { mode: "non-main", - perSession: true, + scope: "session", // preferred over legacy perSession: true workspaceRoot: "~/.openclaw/sandboxes", docker: { image: "openclaw-sandbox:bookworm-slim",