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

推荐订阅源

V
Visual Studio Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
G
Google Developers Blog
J
Java Code Geeks
爱范儿
爱范儿
Microsoft Azure Blog
Microsoft Azure Blog
美团技术团队
人人都是产品经理
人人都是产品经理
Martin Fowler
Martin Fowler
IT之家
IT之家
博客园_首页
B
Blog RSS Feed
Google DeepMind News
Google DeepMind News
B
Blog
U
Unit 42
Apple Machine Learning Research
Apple Machine Learning Research
L
LangChain Blog
Stack Overflow Blog
Stack Overflow Blog
罗磊的独立博客
N
Netflix TechBlog - Medium
T
Tailwind CSS Blog
博客园 - 聂微东
腾讯CDC
A
About on SuperTechFans

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): align prerelease contracts after provider r...
steipete · 2026-05-31 · via Recent Commits to openclaw:main

File tree

    • matrix/src/matrix/monitor

Original file line numberDiff line numberDiff line change

@@ -163,7 +163,6 @@ describe("Matrix inbound event dedupe", () => {

163163

expect(first.claimEvent({ roomId: "!room:example.org", eventId: "$legacy" })).toBe(false);

164164
165165

fs.rmSync(storagePath, { force: true });

166-

resetPluginStateStoreForTests();

167166

const second = await createMatrixInboundEventDeduper({

168167

auth: auth as never,

169168

storagePath,

Original file line numberDiff line numberDiff line change

@@ -1,5 +1,6 @@

11

{

22

"id": "openai",

3+

"legacyPluginIds": ["openai-codex"],

34

"activation": {

45

"onStartup": false

56

},

Original file line numberDiff line numberDiff line change

@@ -31,6 +31,7 @@ const manifest = JSON.parse(

3131

};

3232

providerEndpoints?: Array<{ endpointClass?: string; hosts?: string[] }>;

3333

providerAuthAliases?: Record<string, string>;

34+

legacyPluginIds?: string[];

3435

};

3536
3637

const packageJson = JSON.parse(

@@ -105,6 +106,7 @@ describe("OpenAI plugin manifest", () => {

105106

});

106107
107108

it("routes setup through the OpenAI setup runtime", () => {

109+

expect(manifest.legacyPluginIds).toEqual(["openai-codex"]);

108110

expect(manifest.setup?.providers?.map((provider) => provider.id)).toEqual(["openai"]);

109111

expect(manifest.providerAuthAliases).toBeUndefined();

110112

});

Original file line numberDiff line numberDiff line change

@@ -12,7 +12,6 @@ describe("OpenAI setup auth provider", () => {

1212

const apiKey = provider.auth.find((method) => method.id === "api-key");

1313
1414

expect(provider.id).toBe("openai");

15-

expect(provider.aliases).toEqual(["openai"]);

1615

expect(authMethodIds(provider)).toEqual(["oauth", "device-code", "api-key"]);

1716

expect(oauth?.label).toBe("ChatGPT Login");

1817

expect(oauth?.wizard?.choiceId).toBe("openai");

Original file line numberDiff line numberDiff line change

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

1-

import { MAX_TIMER_TIMEOUT_MS } from "openclaw/plugin-sdk/number-runtime";

21

import { expectExplicitMusicGenerationCapabilities } from "openclaw/plugin-sdk/provider-test-contracts";

32

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

43

import { buildOpenRouterMusicGenerationProvider } from "./music-generation-provider.js";

@@ -225,8 +224,8 @@ describe("openrouter music generation provider", () => {

225224

}),

226225

).rejects.toThrow("OpenRouter music generation response missing audio data");

227226
228-

expect(postRequest().timeoutMs).toBe(MAX_TIMER_TIMEOUT_MS);

229-

expect(timeoutSpy).toHaveBeenCalledWith(expect.any(Function), MAX_TIMER_TIMEOUT_MS);

227+

expect(postRequest().timeoutMs).toBe(180_000);

228+

expect(timeoutSpy).toHaveBeenCalledWith(expect.any(Function), 180_000);

230229

} finally {

231230

timeoutSpy.mockRestore();

232231

}

Original file line numberDiff line numberDiff line change

@@ -555,6 +555,7 @@ export function describeOpenAIProviderRuntimeContract(load: ProviderRuntimeContr

555555

const model = provider.resolveDynamicModel?.({

556556

provider: "openai",

557557

modelId: "gpt-5.4",

558+

authProfileMode: "oauth",

558559

modelRegistry: {

559560

find: (_provider: string, id: string) =>

560561

id === "gpt-5.2-codex"

@@ -582,6 +583,7 @@ export function describeOpenAIProviderRuntimeContract(load: ProviderRuntimeContr

582583

const model = provider.resolveDynamicModel?.({

583584

provider: "openai",

584585

modelId: "gpt-5.5",

586+

authProfileMode: "oauth",

585587

modelRegistry: {

586588

find: (_provider: string, id: string) =>

587589

id === "gpt-5.5"

@@ -614,6 +616,7 @@ export function describeOpenAIProviderRuntimeContract(load: ProviderRuntimeContr

614616

const model = provider.resolveDynamicModel?.({

615617

provider: "openai",

616618

modelId: "gpt-5.4-mini",

619+

authProfileMode: "oauth",

617620

modelRegistry: {

618621

find: (_provider: string, id: string) =>

619622

id === "gpt-5.4"

@@ -647,6 +650,12 @@ export function describeOpenAIProviderRuntimeContract(load: ProviderRuntimeContr

647650

provider.prepareExtraParams?.({

648651

provider: "openai",

649652

modelId: "gpt-5.4",

653+

model: createModel({

654+

id: "gpt-5.4",

655+

provider: "openai",

656+

api: "openai-chatgpt-responses",

657+

baseUrl: "https://chatgpt.com/backend-api/codex",

658+

}),

650659

extraParams: { temperature: 0.2 },

651660

}),

652661

).toEqual({

@@ -685,7 +694,7 @@ export function describeOpenAIProviderRuntimeContract(load: ProviderRuntimeContr

685694

}),

686695

).resolves.toEqual({

687696

provider: "openai",

688-

displayName: "Codex",

697+

displayName: "OpenAI",

689698

windows: [{ label: "3h", usedPercent: 12, resetAt: 1_705_000_000 }],

690699

plan: "Plus",

691700

});

Original file line numberDiff line numberDiff line change

@@ -287,22 +287,7 @@ describe("activation planner", () => {

287287

{

288288

pluginId: "openai",

289289

origin: "bundled",

290-

reasons: ["manifest-provider-owner"],

291-

},

292-

]);

293-
294-

expect(

295-

resolveManifestActivationPlan({

296-

trigger: {

297-

kind: "provider",

298-

provider: "openai",

299-

},

300-

}).entries,

301-

).toEqual([

302-

{

303-

pluginId: "openai",

304-

origin: "bundled",

305-

reasons: ["manifest-setup-provider-owner"],

290+

reasons: ["manifest-provider-owner", "manifest-setup-provider-owner"],

306291

},

307292

]);

308293
Original file line numberDiff line numberDiff line change

@@ -455,6 +455,9 @@ export function isPluginMetadataSnapshotCompatible(params: {

455455

function appendOwner(owners: Map<string, string[]>, ownedId: string, pluginId: string): void {

456456

const existing = owners.get(ownedId);

457457

if (existing) {

458+

if (existing.includes(pluginId)) {

459+

return;

460+

}

458461

existing.push(pluginId);

459462

return;

460463

}

Original file line numberDiff line numberDiff line change

@@ -379,6 +379,7 @@ describe("plugin registry facade", () => {

379379

path.join(rootDir, "openclaw.plugin.json"),

380380

JSON.stringify({

381381

id: "openai",

382+

legacyPluginIds: ["openai-codex"],

382383

configSchema: { type: "object" },

383384

providers: ["openai", "openai"],

384385

channels: ["openai-chat"],