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

推荐订阅源

宝玉的分享
宝玉的分享
小众软件
小众软件
J
Java Code Geeks
I
InfoQ
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
腾讯CDC
L
LangChain Blog
博客园 - 司徒正美
量子位
Y
Y Combinator Blog
C
Check Point Blog
T
Tailwind CSS Blog
D
DataBreaches.Net
Blog — PlanetScale
Blog — PlanetScale
N
Netflix TechBlog - Medium
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
F
Fortinet All Blogs
云风的 BLOG
云风的 BLOG
A
About on SuperTechFans
B
Blog RSS Feed
酷 壳 – CoolShell
酷 壳 – CoolShell
大猫的无限游戏
大猫的无限游戏
V
V2EX
阮一峰的网络日志
阮一峰的网络日志

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
fix(docs): validate channel config snippets · openclaw/op...
vincentkoc · 2026-05-04 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -36,6 +36,7 @@ Docs: https://docs.openclaw.ai

3636

- Google Meet: refresh realtime browser state during status and retry delayed speech after Meet finishes joining, so a just-opened in-call tab no longer leaves speech stuck behind stale `not-in-call` health.

3737

- Plugins/install: recover the install ledger from the managed npm root when `plugins/installs.json` is empty or partial, so reinstalling Discord and Codex no longer makes the other installed plugin disappear.

3838

- Google Meet: grant Meet media permissions through the Playwright browser context when CDP grants do not affect the attached Chrome page, and report in-call microphone/speaker permission problems instead of marking realtime speech ready.

39+

- Channel docs: keep JSON5 channel config examples parseable and schema-valid, fixing BlueBubbles and QQ Bot snippets that could not be copied into config as shown. Thanks @vincentkoc.

3940

- Tlon: expose `groupInviteAllowlist` in the channel config schema and clarify that group invite auto-accept fails closed without an invite allowlist. Thanks @vincentkoc.

4041

- Google Chat: update the setup example to use the accepted `groups.<space>.enabled` key instead of the legacy `allow` alias, with a schema regression for the documented group shape. Thanks @vincentkoc.

4142

- Control UI/WebChat: collapse duplicate in-flight internal text sends onto the active Gateway run so rapid repeat submits do not start fresh `agent:main:main` dispatches. Fixes #75737. Thanks @dsdsddd1 and @BunsDev.

Original file line numberDiff line numberDiff line change

@@ -267,15 +267,7 @@ With the BlueBubbles Private API enabled, inbound messages arrive with short mes

267267

bluebubbles: {

268268

groups: {

269269

"iMessage;+;chat-family": {

270-

systemPrompt: [

271-

"When replying in this group, always call action=reply with the",

272-

"[[reply_to:N]] messageId from context so your response threads",

273-

"under the triggering message. Never send a new unlinked message.",

274-

"",

275-

"For short acknowledgements ('ok', 'got it', 'on it'), use",

276-

"action=react with an appropriate tapback emoji (❤️, 👍, 😂, ‼️, ❓)",

277-

"instead of sending a text reply.",

278-

].join(" "),

270+

systemPrompt: "When replying in this group, always call action=reply with the [[reply_to:N]] messageId from context so your response threads under the triggering message. Never send a new unlinked message. For short acknowledgements ('ok', 'got it', 'on it'), use action=react with an appropriate tapback emoji (❤️, 👍, 😂, ‼️, ❓) instead of sending a text reply.",

279271

},

280272

},

281273

},

Original file line numberDiff line numberDiff line change

@@ -209,7 +209,7 @@ STT and TTS support two-level configuration with priority fallback:

209209

voice: "your-voice",

210210

},

211211

accounts: {

212-

qq-main: {

212+

"qq-main": {

213213

tts: {

214214

providers: {

215215

openai: { voice: "shimmer" },

Original file line numberDiff line numberDiff line change

@@ -0,0 +1,47 @@

1+

import fs from "node:fs";

2+

import path from "node:path";

3+

import JSON5 from "json5";

4+

import { describe, expect, it } from "vitest";

5+

import { OpenClawSchema } from "../config/zod-schema.js";

6+
7+

const CHANNEL_DOCS_DIR = path.join(process.cwd(), "docs", "channels");

8+
9+

function lineNumberAt(source: string, index: number): number {

10+

return source.slice(0, index).split("\n").length;

11+

}

12+
13+

describe("channel docs config examples", () => {

14+

it("keeps OpenClaw channel config snippets parseable and schema-valid", () => {

15+

const failures: string[] = [];

16+

for (const fileName of fs

17+

.readdirSync(CHANNEL_DOCS_DIR)

18+

.filter((entry) => entry.endsWith(".md"))) {

19+

const docPath = path.join(CHANNEL_DOCS_DIR, fileName);

20+

const markdown = fs.readFileSync(docPath, "utf8");

21+

const blocks = markdown.matchAll(/```(?:json5|json)\n([\s\S]*?)```/g);

22+

for (const match of blocks) {

23+

const code = match[1] ?? "";

24+

if (!/(^|\n)\s*(?:"channels"|channels)\s*:/.test(code)) {

25+

continue;

26+

}

27+

const location = `${fileName}:${lineNumberAt(markdown, match.index ?? 0)}`;

28+

let parsed: unknown;

29+

try {

30+

parsed = JSON5.parse(code);

31+

} catch (error) {

32+

failures.push(`${location} JSON5 parse failed: ${String(error)}`);

33+

continue;

34+

}

35+

const result = OpenClawSchema.safeParse(parsed);

36+

if (!result.success) {

37+

const issues = result.error.issues

38+

.slice(0, 3)

39+

.map((issue) => `${issue.path.join(".") || "<root>"}: ${issue.message}`)

40+

.join("; ");

41+

failures.push(`${location} schema failed: ${issues}`);

42+

}

43+

}

44+

}

45+

expect(failures).toEqual([]);

46+

});

47+

});

Original file line numberDiff line numberDiff line change

@@ -92,6 +92,7 @@ export const forcedUnitFastTestFiles = [

9292

"src/context-engine/context-engine.test.ts",

9393

"src/canvas-host/server.state-dir.test.ts",

9494

"src/docs/clawhub-plugin-docs.test.ts",

95+

"src/docs/channel-config-examples.test.ts",

9596

"src/docs/install-cloud-secrets.test.ts",

9697

"src/docker-build-cache.test.ts",

9798

"src/docker-image-digests.test.ts",