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

推荐订阅源

aimingoo的专栏
aimingoo的专栏
Jina AI
Jina AI
WordPress大学
WordPress大学
Recent Announcements
Recent Announcements
G
Google Developers Blog
I
InfoQ
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Google DeepMind News
Google DeepMind News
P
Proofpoint News Feed
MyScale Blog
MyScale Blog
M
MIT News - Artificial intelligence
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
C
Check Point Blog
J
Java Code Geeks
T
Tailwind CSS Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Microsoft Security Blog
Microsoft Security Blog
MongoDB | Blog
MongoDB | Blog
V
Visual Studio Blog
人人都是产品经理
人人都是产品经理
量子位
A
About on SuperTechFans
D
DataBreaches.Net
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知

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(release): repair 2026.5.30 beta prerelease gates · op...
steipete · 2026-05-31 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -1,4 +1,4 @@

1-

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

1+

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

22

import {

33

createDiscordMessageHandler,

44

preflightDiscordMessageMock,

@@ -51,8 +51,10 @@ describe("createDiscordMessageHandler bot-self filter", () => {

5151

preflightDiscordMessageMock.mockReset();

5252

processDiscordMessageMock.mockReset();

5353

preflightDiscordMessageMock.mockImplementation(

54-

async (params: { data: { channel_id: string } }) =>

55-

createPreflightContext(params.data.channel_id),

54+

async (params: { data: { channel_id: string } }) => ({

55+

...params,

56+

...createPreflightContext(params.data.channel_id),

57+

}),

5658

);

5759
5860

const handler = createDiscordMessageHandler(createDiscordHandlerParams());

@@ -62,7 +64,9 @@ describe("createDiscordMessageHandler bot-self filter", () => {

6264

).resolves.toBeUndefined();

6365
6466

await flushAsyncWork();

65-

expect(preflightDiscordMessageMock).toHaveBeenCalledTimes(1);

66-

expect(processDiscordMessageMock).toHaveBeenCalledTimes(1);

67+

await vi.waitFor(() => {

68+

expect(preflightDiscordMessageMock).toHaveBeenCalledTimes(1);

69+

expect(processDiscordMessageMock).toHaveBeenCalledTimes(1);

70+

});

6771

});

6872

});

Original file line numberDiff line numberDiff line change

@@ -71,5 +71,11 @@ export function createDiscordPreflightContext(channelId = "ch-1") {

7171

},

7272

baseSessionKey: `agent:main:discord:channel:${channelId}`,

7373

messageChannelId: channelId,

74+

messageText: "hello",

75+

isDirectMessage: true,

76+

isGroupDm: false,

77+

isGuildMessage: false,

78+

inboundEventKind: "message",

79+

effectiveWasMentioned: false,

7480

};

7581

}

Original file line numberDiff line numberDiff line change

@@ -1,6 +1,7 @@

11

import type { ReplyPayload } from "openclaw/plugin-sdk/reply-dispatch-runtime";

22

import { resolveSendableOutboundReplyParts } from "openclaw/plugin-sdk/reply-payload";

33

import { sanitizeAssistantVisibleText } from "openclaw/plugin-sdk/text-chunking";

4+

import { stripPlainTextToolCallBlocks } from "openclaw/plugin-sdk/tool-payload";

45
56

const DISCORD_INTERNAL_TRACE_LINE_RE =

67

/^(?:>\s*)?(?:📊|🛠|📖|📝|🔍|🔎|)\s*(?:Session Status|Exec|Read|Edit|Write|Patch|Search|Open|Click|Find|Screenshot|Update Plan|Tool Call|Tool Result|Function Call|Shell|Command)\s*:/i;

@@ -64,8 +65,10 @@ function collapseExcessBlankLines(text: string): string {

6465

}

6566
6667

export function sanitizeDiscordFrontChannelText(text: string): string {

67-

const withoutAssistantScaffolding = sanitizeAssistantVisibleText(text);

68-

const withoutTraceLines = stripDiscordInternalTraceLines(withoutAssistantScaffolding);

68+

const withoutToolCallBlocks = stripPlainTextToolCallBlocks(text);

69+

const withoutAssistantScaffolding = sanitizeAssistantVisibleText(withoutToolCallBlocks);

70+

const withoutResidualToolCallBlocks = stripPlainTextToolCallBlocks(withoutAssistantScaffolding);

71+

const withoutTraceLines = stripDiscordInternalTraceLines(withoutResidualToolCallBlocks);

6972

return collapseExcessBlankLines(withoutTraceLines).trim();

7073

}

7174
Original file line numberDiff line numberDiff line change

@@ -2,6 +2,6 @@ import { describePluginRegistrationContract } from "openclaw/plugin-sdk/plugin-t

22
33

describePluginRegistrationContract({

44

pluginId: "ollama",

5-

providerIds: ["ollama"],

5+

providerIds: ["ollama", "ollama-cloud"],

66

webSearchProviderIds: ["ollama"],

77

});

Original file line numberDiff line numberDiff line change

@@ -2,7 +2,15 @@ import { describePluginRegistrationContract } from "openclaw/plugin-sdk/plugin-t

22
33

describePluginRegistrationContract({

44

pluginId: "qwen",

5-

providerIds: ["qwen", "qwencloud", "modelstudio", "dashscope"],

5+

providerIds: [

6+

"qwen",

7+

"qwencloud",

8+

"modelstudio",

9+

"dashscope",

10+

"qwen-oauth",

11+

"qwen-portal",

12+

"qwen-cli",

13+

],

614

mediaUnderstandingProviderIds: ["qwen"],

715

videoGenerationProviderIds: ["qwen"],

816

requireDescribeImages: true,

Original file line numberDiff line numberDiff line change

@@ -2257,7 +2257,10 @@ describe("TelegramPollingSession", () => {

22572257

});

22582258
22592259

try {

2260-

await writeSpooledTestUpdates(tempDir, [topicUpdate(42, 10, "wedged topic 10 turn")]);

2260+

await writeSpooledTestUpdates(tempDir, [

2261+

topicUpdate(42, 10, "wedged topic 10 turn"),

2262+

topicUpdate(43, 10, "later blocked topic 10 turn"),

2263+

]);

22612264

const { runPromise, stopWorker } = startIsolatedIngressSession({

22622265

abort,

22632266

spoolDir: tempDir,

Original file line numberDiff line numberDiff line change

@@ -629,7 +629,7 @@ export class TelegramPollingSession {

629629

continue;

630630

}

631631

const ageMs = now - handler.startedAt;

632-

if (ageMs <= this.#spooledUpdateHandlerTimeoutMs) {

632+

if (ageMs < this.#spooledUpdateHandlerTimeoutMs) {

633633

continue;

634634

}

635635

if (!timedOut || ageMs > timedOut.ageMs) {

Original file line numberDiff line numberDiff line change

@@ -49,7 +49,13 @@ describe("web monitor inbox", () => {

4949

const listener = await openMonitor(onMessage);

5050

const sock = getSock();

5151

sock.ev.emit("messages.upsert", upsert);

52-

await new Promise((resolve) => setTimeout(resolve, 25));

52+

await vi.waitFor(() => {

53+

expect(

54+

onMessage.mock.calls.length +

55+

sock.readMessages.mock.calls.length +

56+

inboundLoggerInfoMock.mock.calls.length,

57+

).toBeGreaterThan(0);

58+

});

5359

return { onMessage, listener, sock };

5460

}

5561
Original file line numberDiff line numberDiff line change

@@ -7,6 +7,7 @@ import { createVpsAwareOAuthHandlers } from "./provider-oauth-flow.js";

77

import type { ProviderAuthContext } from "./types.js";

88
99

const OPENAI_CODEX_PROVIDER_ID = "openai";

10+

const OPENAI_CODEX_LEGACY_PROVIDER_ID = "openai-codex";

1011

const OPENAI_CODEX_OAUTH_METHOD_ID = "oauth";

1112
1213

type OpenAICodexOAuthBridgeContext = ProviderAuthContext & {

@@ -44,7 +45,8 @@ function isOAuthCredential(value: unknown): value is OAuthCredentials {

4445

const record = value as Record<string, unknown>;

4546

return (

4647

record.type === "oauth" &&

47-

record.provider === OPENAI_CODEX_PROVIDER_ID &&

48+

(record.provider === OPENAI_CODEX_PROVIDER_ID ||

49+

record.provider === OPENAI_CODEX_LEGACY_PROVIDER_ID) &&

4850

typeof record.access === "string" &&

4951

typeof record.refresh === "string" &&

5052

typeof record.expires === "number"