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

推荐订阅源

量子位
Vercel News
Vercel News
Microsoft Azure Blog
Microsoft Azure Blog
爱范儿
爱范儿
N
Netflix TechBlog - Medium
Google DeepMind News
Google DeepMind News
H
Help Net Security
罗磊的独立博客
The Cloudflare Blog
J
Java Code Geeks
博客园 - 叶小钗
I
InfoQ
B
Blog
Blog — PlanetScale
Blog — PlanetScale
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
腾讯CDC
月光博客
月光博客
博客园_首页
雷峰网
雷峰网
M
MIT News - Artificial intelligence
博客园 - 【当耐特】
美团技术团队
T
The Blog of Author Tim Ferriss
博客园 - 司徒正美

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
test: verify command output text · openclaw/openclaw@8a8cb6f
shakkernerd · 2026-05-12 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -131,9 +131,8 @@ describe("agents bind/unbind commands", () => {

131131
132132

await agentsBindingsCommand({}, runtime);

133133
134-

expect(runtime.log).toHaveBeenCalledWith(expect.stringContaining("main <- matrix"));

135134

expect(runtime.log).toHaveBeenCalledWith(

136-

expect.stringContaining("ops <- telegram accountId=work"),

135+

["Routing bindings:", "- main <- matrix", "- ops <- telegram accountId=work"].join("\n"),

137136

);

138137

});

139138
Original file line numberDiff line numberDiff line change

@@ -121,9 +121,21 @@ describe("agentsListCommand", () => {

121121
122122

expect(buildProviderStatusIndexMock).toHaveBeenCalledOnce();

123123

expect(buildProviderSummaryMetadataIndexMock).toHaveBeenCalledOnce();

124-

expect(runtime.log).toHaveBeenCalledWith(expect.stringContaining("Providers:"));

125-

expect(runtime.log).toHaveBeenCalledWith(

126-

expect.stringContaining("Telegram default: configured"),

127-

);

124+

expect(runtime.log.mock.calls).toEqual([

125+

[

126+

[

127+

"Agents:",

128+

"- main (default)",

129+

" Workspace: ~/.openclaw/workspace",

130+

" Agent dir: ~/.openclaw/agents/main/agent",

131+

" Routing rules: 1",

132+

" Routing: Telegram default",

133+

" Providers:",

134+

" - Telegram default: configured",

135+

"Routing rules map channel/account/peer to an agent. Use --bindings for full rules.",

136+

"Channel status reflects local config/creds. For live health: openclaw channels status --probe.",

137+

].join("\n"),

138+

],

139+

]);

128140

});

129141

});

Original file line numberDiff line numberDiff line change

@@ -52,7 +52,7 @@ describe("warnIfModelConfigLooksOff", () => {

5252

expect(profileStore?.profiles).toEqual({});

5353

expect(providerId).toBe("openai-codex");

5454

expect(note).toHaveBeenCalledWith(

55-

expect.stringContaining('No auth configured for provider "openai-codex"'),

55+

'No auth configured for provider "openai-codex". The agent may fail until credentials are added. Run `openclaw models auth login --provider openai-codex`, `openclaw configure`, or set an API key env var.',

5656

"Model check",

5757

);

5858

});

Original file line numberDiff line numberDiff line change

@@ -37,7 +37,13 @@ describe("command owner health", () => {

3737

noteCommandOwnerHealth({});

3838
3939

expect(note).toHaveBeenCalledWith(

40-

expect.stringContaining("No command owner is configured."),

40+

[

41+

"No command owner is configured.",

42+

"A command owner is the human operator account allowed to run owner-only commands and approve dangerous actions, including /diagnostics, /export-trajectory, /config, and exec approvals.",

43+

"DM pairing only lets someone talk to the bot; it does not make that sender the owner for privileged commands.",

44+

"Fix: set commands.ownerAllowFrom to your channel user id, for example openclaw config set commands.ownerAllowFrom '[\"telegram:123456789\"]'",

45+

"Restart the gateway after changing this if it is already running.",

46+

].join("\n"),

4147

"Command owner",

4248

);

4349

const message = String(note.mock.calls[0]?.[0] ?? "");

Original file line numberDiff line numberDiff line change

@@ -40,7 +40,10 @@ describe("noteSourceInstallIssues", () => {

4040

noteSourceInstallIssues(root);

4141
4242

expect(note).toHaveBeenCalledWith(

43-

expect.stringContaining("node_modules was not installed by pnpm"),

43+

[

44+

"- node_modules was not installed by pnpm (missing node_modules/.pnpm). Run: pnpm install so bundled plugins can load package-local dependencies.",

45+

"- tsx binary is missing for source runs. Run: pnpm install.",

46+

].join("\n"),

4447

"Install",

4548

);

4649

});

Original file line numberDiff line numberDiff line change

@@ -99,7 +99,13 @@ describe("doctor WhatsApp responsiveness", () => {

9999

processes: [{ pid: 101, command: "openclaw-tui" }],

100100

});

101101

expect(noteMock).toHaveBeenCalledWith(

102-

expect.stringContaining("Stopped local TUI clients: 101"),

102+

[

103+

"Gateway event loop is degraded while local TUI clients are running.",

104+

"WhatsApp replies can queue behind TUI startup/session refresh work.",

105+

"Local TUI pids: 101",

106+

"",

107+

"Stopped local TUI clients: 101",

108+

].join("\n"),

103109

"WhatsApp responsiveness",

104110

);

105111

});

Original file line numberDiff line numberDiff line change

@@ -21,6 +21,9 @@ describe("printModelTable", () => {

2121
2222

printModelTable(rows, runtime as never);

2323
24-

expect(runtime.log).toHaveBeenCalledWith(expect.stringContaining("266k/391k"));

24+

expect(runtime.log.mock.calls).toEqual([

25+

["Model Input Ctx Local Auth Tags"],

26+

["openai-codex/gpt-5.5 text+image 266k/391k no yes "],

27+

]);

2528

});

2629

});

Original file line numberDiff line numberDiff line change

@@ -117,7 +117,12 @@ describe("promptRemoteGatewayConfig", () => {

117117

expect(next.gateway?.remote?.token).toBe("token-123");

118118

expect(next.gateway?.remote?.tlsFingerprint).toBe("sha256:abc123");

119119

expect(prompter.note).toHaveBeenCalledWith(

120-

expect.stringContaining("Direct remote access defaults to TLS."),

120+

[

121+

"Direct remote access defaults to TLS.",

122+

"Using: wss://gateway.tailnet.ts.net:18789",

123+

"TLS pin: sha256:abc123",

124+

"If your gateway is loopback-only, choose SSH tunnel and keep ws://127.0.0.1:18789.",

125+

].join("\n"),

121126

"Direct remote",

122127

);

123128

});

Original file line numberDiff line numberDiff line change

@@ -105,7 +105,7 @@ describe("status.scan.config-shared", () => {

105105

});

106106
107107

expect(result.secretDiagnostics).toEqual([

108-

expect.stringContaining("OPENCLAW_GATEWAY_TOKEN conflicts with gateway.auth.token"),

108+

"OPENCLAW_GATEWAY_TOKEN conflicts with gateway.auth.token: Remove OPENCLAW_GATEWAY_TOKEN from the shell, ~/.openclaw/.env, or launchctl env if gateway.auth.token is intended, or point gateway.auth.token at ${OPENCLAW_GATEWAY_TOKEN} if the env var should be canonical.",

109109

]);

110110

});

111111