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

推荐订阅源

WordPress大学
WordPress大学
The Cloudflare Blog
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
V
Visual Studio Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 司徒正美
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
酷 壳 – CoolShell
酷 壳 – CoolShell
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
月光博客
月光博客
The GitHub Blog
The GitHub Blog
L
LangChain Blog
D
DataBreaches.Net
T
The Blog of Author Tim Ferriss
F
Fortinet All Blogs
博客园 - Franky
阮一峰的网络日志
阮一峰的网络日志
GbyAI
GbyAI
Apple Machine Learning Research
Apple Machine Learning Research
宝玉的分享
宝玉的分享
Engineering at Meta
Engineering at Meta
V
V2EX
MyScale Blog
MyScale Blog

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: generalize core channel examples · openclaw/opencla...
steipete · 2026-04-22 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -10,7 +10,7 @@ import { readStringParam } from "./common.js";

1010

const TtsToolSchema = Type.Object({

1111

text: Type.String({ description: "Text to convert to speech." }),

1212

channel: Type.Optional(

13-

Type.String({ description: "Optional channel id to pick output format (e.g. telegram)." }),

13+

Type.String({ description: "Optional channel id to pick output format." }),

1414

),

1515

});

1616
Original file line numberDiff line numberDiff line change

@@ -58,7 +58,7 @@ export type MessageReceivedHookContext = {

5858

content: string;

5959

/** Unix timestamp when the message was received */

6060

timestamp?: number;

61-

/** Channel identifier (e.g., "telegram", "whatsapp") */

61+

/** Channel identifier (for example "chat" or "support-chat") */

6262

channelId: string;

6363

/** Provider account ID for multi-account setups */

6464

accountId?: string;

@@ -85,7 +85,7 @@ export type MessageSentHookContext = {

8585

success: boolean;

8686

/** Error message if sending failed */

8787

error?: string;

88-

/** Channel identifier (e.g., "telegram", "whatsapp") */

88+

/** Channel identifier (for example "chat" or "support-chat") */

8989

channelId: string;

9090

/** Provider account ID for multi-account setups */

9191

accountId?: string;

@@ -116,7 +116,7 @@ type MessageEnrichedBodyHookContext = {

116116

bodyForAgent?: string;

117117

/** Unix timestamp when the message was received */

118118

timestamp?: number;

119-

/** Channel identifier (e.g., "telegram", "whatsapp") */

119+

/** Channel identifier (for example "chat" or "support-chat") */

120120

channelId: string;

121121

/** Conversation/chat ID */

122122

conversationId?: string;

Original file line numberDiff line numberDiff line change

@@ -177,7 +177,7 @@ async function assertExplicitProxyAllowed(

177177

// The proxy hostname is operator-configured, not user input.

178178

// Clear the target-scoped hostnameAllowlist so configured proxies

179179

// like localhost or internal hosts aren't rejected by an allowlist

180-

// that was built for the target URL (e.g. api.telegram.org).

180+

// that was built for the target URL (for example api.example.test).

181181

// Private-network IP checks still apply via allowPrivateNetwork.

182182

...policy,

183183

allowPrivateNetwork: true,

Original file line numberDiff line numberDiff line change

@@ -54,7 +54,7 @@ describe("redactSensitiveText", () => {

5454

expect(output).toBe("Authorization: Bearer abcdef…ghij");

5555

});

5656
57-

it("masks Telegram-style tokens", () => {

57+

it("masks bot-style tokens", () => {

5858

const input = "123456:ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef";

5959

const output = redactSensitiveText(input, {

6060

mode: "tools",

@@ -63,14 +63,14 @@ describe("redactSensitiveText", () => {

6363

expect(output).toBe("123456…cdef");

6464

});

6565
66-

it("masks Telegram Bot API URL tokens", () => {

66+

it("masks bot API URL tokens", () => {

6767

const input =

68-

"GET https://api.telegram.org/bot123456:ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef/getMe HTTP/1.1";

68+

"GET https://api.example.test/bot123456:ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef/getMe HTTP/1.1";

6969

const output = redactSensitiveText(input, {

7070

mode: "tools",

7171

patterns: defaults,

7272

});

73-

expect(output).toBe("GET https://api.telegram.org/bot123456…cdef/getMe HTTP/1.1");

73+

expect(output).toBe("GET https://api.example.test/bot123456…cdef/getMe HTTP/1.1");

7474

});

7575
7676

it("redacts short tokens fully", () => {

Original file line numberDiff line numberDiff line change

@@ -1675,11 +1675,11 @@ export type OpenClawPluginGatewayMethod = {

16751675

* Context passed to plugin command handlers.

16761676

*/

16771677

export type PluginCommandContext = {

1678-

/** The sender's identifier (e.g., Telegram user ID) */

1678+

/** The sender's identifier (for example a channel-scoped user ID) */

16791679

senderId?: string;

1680-

/** The channel/surface (e.g., "telegram", "discord") */

1680+

/** The channel/surface (for example "chat" or "team-chat") */

16811681

channel: string;

1682-

/** Provider channel id (e.g., "telegram") */

1682+

/** Provider channel id */

16831683

channelId?: ChannelId;

16841684

/** Whether the sender is on the allowlist */

16851685

isAuthorizedSender: boolean;

@@ -1735,7 +1735,7 @@ export type OpenClawPluginCommandDefinition = {

17351735

/**

17361736

* Optional native-command aliases for slash/menu surfaces.

17371737

* `default` applies to all native providers unless a provider-specific

1738-

* override exists (for example `{ default: "talkvoice", discord: "voice2" }`).

1738+

* override exists (for example `{ default: "talkvoice", teamChat: "voice2" }`).

17391739

*/

17401740

nativeNames?: Partial<Record<string, string>> & { default?: string };

17411741

/**