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

推荐订阅源

美团技术团队
Microsoft Azure Blog
Microsoft Azure Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
B
Blog
Y
Y Combinator Blog
博客园_首页
有赞技术团队
有赞技术团队
博客园 - Franky
腾讯CDC
G
Google Developers Blog
Recent Announcements
Recent Announcements
博客园 - 【当耐特】
D
Docker
The GitHub Blog
The GitHub Blog
MyScale Blog
MyScale Blog
H
Help Net Security
Apple Machine Learning Research
Apple Machine Learning Research
A
About on SuperTechFans
D
DataBreaches.Net
T
The Blog of Author Tim Ferriss
V
V2EX
U
Unit 42
aimingoo的专栏
aimingoo的专栏
WordPress大学
WordPress大学

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: tighten codex plugin assertions · openclaw/openclaw...
steipete · 2026-05-11 · via Recent Commits to openclaw:main

@@ -53,28 +53,27 @@ describe("codex plugin", () => {

5353

| [unknown]

5454

| undefined;

555556-

expect(providerRegistration).toMatchObject({ id: "codex", label: "Codex" });

57-

expect(agentHarnessRegistration).toMatchObject({

58-

id: "codex",

59-

label: "Codex agent harness",

60-

deliveryDefaults: { sourceVisibleReplies: "message_tool" },

56+

expect(providerRegistration.id).toBe("codex");

57+

expect(providerRegistration.label).toBe("Codex");

58+

expect(agentHarnessRegistration.id).toBe("codex");

59+

expect(agentHarnessRegistration.label).toBe("Codex agent harness");

60+

expect(agentHarnessRegistration.deliveryDefaults).toEqual({

61+

sourceVisibleReplies: "message_tool",

6162

});

6263

expect(typeof agentHarnessRegistration.dispose).toBe("function");

63-

expect(mediaProviderRegistration).toMatchObject({

64-

id: "codex",

65-

capabilities: ["image"],

66-

defaultModels: { image: "gpt-5.5" },

67-

});

64+

expect(mediaProviderRegistration?.id).toBe("codex");

65+

expect(mediaProviderRegistration?.capabilities).toEqual(["image"]);

66+

expect(mediaProviderRegistration?.defaultModels).toEqual({ image: "gpt-5.5" });

6867

expect(typeof mediaProviderRegistration?.describeImage).toBe("function");

6968

expect(typeof mediaProviderRegistration?.describeImages).toBe("function");

70-

expect(registerCommand.mock.calls[0]?.[0]).toMatchObject({

71-

name: "codex",

72-

description: "Inspect and control the Codex app-server harness",

73-

});

74-

expect(registerMigrationProvider.mock.calls[0]?.[0]).toMatchObject({

75-

id: "codex",

76-

label: "Codex",

77-

});

69+

const commandRegistration = registerCommand.mock.calls[0]?.[0];

70+

expect(commandRegistration?.name).toBe("codex");

71+

expect(commandRegistration?.description).toBe(

72+

"Inspect and control the Codex app-server harness",

73+

);

74+

const migrationRegistration = registerMigrationProvider.mock.calls[0]?.[0];

75+

expect(migrationRegistration?.id).toBe("codex");

76+

expect(migrationRegistration?.label).toBe("Codex");

7877

expect(inboundClaimRegistration?.[0]).toBe("inbound_claim");

7978

expect(typeof inboundClaimRegistration?.[1]).toBe("function");

8079

expect(typeof bindingResolvedRegistration?.[0]).toBe("function");

@@ -112,12 +111,11 @@ describe("codex plugin", () => {

112111

harness.supports({ provider: "codex", modelId: "gpt-5.4", requestedRuntime: "auto" })

113112

.supported,

114113

).toBe(true);

115-

expect(

116-

harness.supports({

117-

provider: "openai-codex",

118-

modelId: "gpt-5.4",

119-

requestedRuntime: "auto",

120-

}),

121-

).toMatchObject({ supported: false });

114+

const unsupported = harness.supports({

115+

provider: "openai-codex",

116+

modelId: "gpt-5.4",

117+

requestedRuntime: "auto",

118+

});

119+

expect(unsupported.supported).toBe(false);

122120

});

123121

});