From bfd3eb46c7ae58e997d736397153b2772ee65758 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Thu, 8 Jan 2026 09:57:03 +0100 Subject: [PATCH] docs: drop legacy telegram pairing mention --- CHANGELOG.md | 2 +- src/commands/doctor-security.ts | 2 +- src/telegram/bot.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index de413d0ab..aab2b2803 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,7 +19,7 @@ - Previously, if you didn’t configure an allowlist, your bot could be **open to anyone** (especially discoverable Telegram bots). - New default: DM pairing (`dmPolicy="pairing"` / `discord.dm.policy="pairing"` / `slack.dm.policy="pairing"`). - To keep old “open to everyone” behavior: set `dmPolicy="open"` and include `"*"` in the relevant `allowFrom` (Discord/Slack: `discord.dm.allowFrom` / `slack.dm.allowFrom`). - - Approve requests via `clawdbot pairing list --provider ` + `clawdbot pairing approve --provider ` (Telegram also supports `clawdbot telegram pairing ...`). + - Approve requests via `clawdbot pairing list --provider ` + `clawdbot pairing approve --provider `. - Sandbox: default `agent.sandbox.scope` to `"agent"` (one container/workspace per agent). Use `"session"` for per-session isolation; `"shared"` disables cross-session isolation. - Timestamps in agent envelopes are now UTC (compact `YYYY-MM-DDTHH:mmZ`); removed `messages.timestampPrefix`. Add `agent.userTimezone` to tell the model the user’s local time (system prompt only). - Model config schema changes (auth profiles + model lists); doctor auto-migrates and the gateway rewrites legacy configs on startup. diff --git a/src/commands/doctor-security.ts b/src/commands/doctor-security.ts index f4c89d0a9..917b86d28 100644 --- a/src/commands/doctor-security.ts +++ b/src/commands/doctor-security.ts @@ -111,7 +111,7 @@ export async function noteSecurityWarnings(cfg: ClawdbotConfig) { `- Telegram DMs: locked (telegram.dmPolicy="${dmPolicy}") with no allowlist; unknown senders will be blocked / get a pairing code.`, ); warnings.push( - ` Approve via: clawdbot telegram pairing list / clawdbot telegram pairing approve `, + ` Approve via: clawdbot pairing list --provider telegram / clawdbot pairing approve --provider telegram `, ); } diff --git a/src/telegram/bot.ts b/src/telegram/bot.ts index 89e4b5dd5..713acdb3a 100644 --- a/src/telegram/bot.ts +++ b/src/telegram/bot.ts @@ -410,7 +410,7 @@ export function createTelegramBot(opts: TelegramBotOptions) { `Pairing code: ${code}`, "", "Ask the bot owner to approve with:", - "clawdbot telegram pairing approve ", + "clawdbot pairing approve --provider telegram ", ].join("\n"), ); }