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

推荐订阅源

云风的 BLOG
云风的 BLOG
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
F
Fortinet All Blogs
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 叶小钗
爱范儿
爱范儿
美团技术团队
H
Hackread – Cybersecurity News, Data Breaches, AI and More
有赞技术团队
有赞技术团队
博客园_首页
T
The Blog of Author Tim Ferriss
T
Tailwind CSS Blog
V
Visual Studio Blog
Jina AI
Jina AI
博客园 - Franky
量子位
MongoDB | Blog
MongoDB | Blog
L
LangChain Blog
Apple Machine Learning Research
Apple Machine Learning Research
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
U
Unit 42
aimingoo的专栏
aimingoo的专栏
M
MIT News - Artificial intelligence

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(release): stabilize beta validation after rebase · o...
steipete · 2026-05-31 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -175,6 +175,7 @@ describe("browser-runtime", () => {

175175

profile: "user",

176176

timeoutMs: 5_000,

177177

intervalMs: 1,

178+

sleepImpl: async () => {},

178179

});

179180
180181

expect(status).toEqual({ enabled: true, running: true, cdpReady: true });

Original file line numberDiff line numberDiff line change

@@ -86,6 +86,7 @@ type QaBrowserReadyParams = {

8686

profile?: string;

8787

timeoutMs?: number;

8888

intervalMs?: number;

89+

sleepImpl?: (ms: number) => Promise<unknown>;

8990

};

9091
9192

function normalizeBrowserQuery(

@@ -198,7 +199,7 @@ export async function waitForQaBrowserReady<T extends QaBrowserStatus = QaBrowse

198199

if (isQaBrowserReady(lastStatus)) {

199200

return lastStatus as T;

200201

}

201-

await sleep(intervalMs);

202+

await (params.sleepImpl ?? sleep)(intervalMs);

202203

}

203204

throw new Error(

204205

`browser control not ready after ${timeoutMs}ms${

Original file line numberDiff line numberDiff line change

@@ -106,26 +106,14 @@ describe("qa-bus server", () => {

106106

timeoutMs: 500,

107107

});

108108
109-

setTimeout(() => {

110-

state.addInboundMessage({

111-

accountId: "acct-a",

112-

conversation: { id: "target", kind: "direct" },

113-

senderId: "acct-a-user",

114-

text: "fresh event",

115-

});

116-

}, 20);

117-
118-

const result = await Promise.race([

119-

pending,

120-

new Promise<"timed-out">((resolve) => {

121-

setTimeout(() => resolve("timed-out"), 150);

122-

}),

123-

]);

109+

state.addInboundMessage({

110+

accountId: "acct-a",

111+

conversation: { id: "target", kind: "direct" },

112+

senderId: "acct-a-user",

113+

text: "fresh event",

114+

});

124115
125-

expect(result).not.toBe("timed-out");

126-

if (result === "timed-out") {

127-

throw new Error("stale-cursor long poll did not wake before timeout window");

128-

}

116+

const result = await pending;

129117

expect(result.events).toHaveLength(1);

130118

expect(result.events[0]).toMatchObject({

131119

accountId: "acct-a",

Original file line numberDiff line numberDiff line change

@@ -581,7 +581,7 @@ describe("resolveLiveSystemPrompt", () => {

581581

it("keeps other providers unchanged", () => {

582582

expect(

583583

resolveLiveSystemPrompt({

584-

provider: "openai",

584+

provider: "anthropic",

585585

} as Model),

586586

).toBeUndefined();

587587

});

Original file line numberDiff line numberDiff line change

@@ -389,6 +389,7 @@ describe("installOpenClawPluginSdkNativeResolver", () => {

389389

"acp-core",

390390

path.join("runtime", "types.ts"),

391391

);

392+

const llmCoreSource = writeInternalCorePackageSource(root, "llm-core", "index.ts");

392393

const externalPluginEntry = writeExternalPluginEntry(path.join(root, "external-plugin"));

393394

const coreSourceParent = path.join(root, "src", "config", "plugin-web-search-config.ts");

394395

fs.mkdirSync(path.dirname(coreSourceParent), { recursive: true });

@@ -403,6 +404,7 @@ describe("installOpenClawPluginSdkNativeResolver", () => {

403404

expect(installedAliases).toContain("@openclaw/normalization-core/string-coerce");

404405

expect(installedAliases).toContain("@openclaw/media-core/mime");

405406

expect(installedAliases).toContain("@openclaw/acp-core/runtime/types");

407+

expect(installedAliases).toContain("@openclaw/llm-core");

406408

const requireFromCoreSource = createRequire(coreSourceParent);

407409

const requireFromPlugin = createRequire(externalPluginEntry);

408410

expect(

@@ -414,9 +416,13 @@ describe("installOpenClawPluginSdkNativeResolver", () => {

414416

expect(fs.realpathSync(requireFromCoreSource.resolve("@openclaw/acp-core/runtime/types"))).toBe(

415417

fs.realpathSync(acpCoreSource),

416418

);

419+

expect(fs.realpathSync(requireFromCoreSource.resolve("@openclaw/llm-core"))).toBe(

420+

fs.realpathSync(llmCoreSource),

421+

);

417422

expect(() => requireFromPlugin.resolve("@openclaw/normalization-core/string-coerce")).toThrow();

418423

expect(() => requireFromPlugin.resolve("@openclaw/media-core/mime")).toThrow();

419424

expect(() => requireFromPlugin.resolve("@openclaw/acp-core/runtime/types")).toThrow();

425+

expect(() => requireFromPlugin.resolve("@openclaw/llm-core")).toThrow();

420426

});

421427
422428

it("does not register source-only SDK subpaths for native resolution", () => {

Original file line numberDiff line numberDiff line change

@@ -84,6 +84,17 @@ const INTERNAL_CORE_PACKAGE_ALIASES = [

8484

["runtime/types", path.join("runtime", "types.ts")],

8585

],

8686

},

87+

{

88+

packageName: "@openclaw/llm-core",

89+

packageDir: "llm-core",

90+

subpaths: [

91+

["", "index.ts"],

92+

["diagnostics", path.join("utils", "diagnostics.ts")],

93+

["event-stream", path.join("utils", "event-stream.ts")],

94+

["types", "types.ts"],

95+

["validation", "validation.ts"],

96+

],

97+

},

8798

] as const;

8899

const pluginSdkNativeAliases = new Map<string, NativeAliasEntry[]>();

89100

let installed = false;