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

推荐订阅源

Microsoft Security Blog
Microsoft Security Blog
J
Java Code Geeks
GbyAI
GbyAI
aimingoo的专栏
aimingoo的专栏
L
LangChain Blog
I
InfoQ
D
Docker
F
Fortinet All Blogs
Y
Y Combinator Blog
Martin Fowler
Martin Fowler
月光博客
月光博客
B
Blog
Engineering at Meta
Engineering at Meta
T
Tailwind CSS Blog
罗磊的独立博客
博客园_首页
G
Google Developers Blog
Stack Overflow Blog
Stack Overflow Blog
Recent Announcements
Recent Announcements
D
DataBreaches.Net
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
B
Blog RSS Feed
IT之家
IT之家
V
V2EX

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
refactor(agents): remove external auth oauth aliases · op...
vincentkoc · 2026-06-17 · via Recent Commits to openclaw:main

@@ -7,8 +7,8 @@ import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";

77

import type { ProviderExternalAuthProfile } from "../../plugins/types.js";

88

import {

99

testing,

10-

overlayExternalOAuthProfiles,

11-

shouldPersistExternalOAuthProfile,

10+

overlayExternalAuthProfiles,

11+

shouldPersistExternalAuthProfile,

1212

} from "./external-auth.js";

1313

import { readManagedExternalCliCredential } from "./external-cli-sync.js";

1414

import type { AuthProfileStore, OAuthCredential } from "./types.js";

@@ -78,7 +78,7 @@ describe("auth external oauth helpers", () => {

7878

},

7979

]);

808081-

const store = overlayExternalOAuthProfiles(createStore());

81+

const store = overlayExternalAuthProfiles(createStore());

82828383

const profile = requireProfile(store, "openai:default");

8484

expect(profile.type).toBe("oauth");

@@ -94,7 +94,7 @@ describe("auth external oauth helpers", () => {

9494

};

9595

readCodexCliCredentialsCachedMock.mockReturnValueOnce(createCredential());

969697-

overlayExternalOAuthProfiles(createStore(), {

97+

overlayExternalAuthProfiles(createStore(), {

9898

allowKeychainPrompt: false,

9999

config: cfg,

100100

externalCliProviderIds: ["openai"],

@@ -128,7 +128,7 @@ describe("auth external oauth helpers", () => {

128128

}),

129129

});

130130131-

const overlaid = overlayExternalOAuthProfiles(store);

131+

const overlaid = overlayExternalAuthProfiles(store);

132132133133

expect(readCodexCliCredentialsCachedMock).not.toHaveBeenCalled();

134134

expect(overlaid.profiles["openai:work"]).toEqual(store.profiles["openai:work"]);

@@ -143,7 +143,7 @@ describe("auth external oauth helpers", () => {

143143

},

144144

]);

145145146-

const shouldPersist = shouldPersistExternalOAuthProfile({

146+

const shouldPersist = shouldPersistExternalAuthProfile({

147147

store: createStore({ "openai:default": credential }),

148148

profileId: "openai:default",

149149

credential,

@@ -162,7 +162,7 @@ describe("auth external oauth helpers", () => {

162162

},

163163

]);

164164165-

const shouldPersist = shouldPersistExternalOAuthProfile({

165+

const shouldPersist = shouldPersistExternalAuthProfile({

166166

store: createStore({ "openai:default": credential }),

167167

profileId: "openai:default",

168168

credential,

@@ -180,7 +180,7 @@ describe("auth external oauth helpers", () => {

180180

},

181181

]);

182182183-

const shouldPersist = shouldPersistExternalOAuthProfile({

183+

const shouldPersist = shouldPersistExternalAuthProfile({

184184

store: createStore({ "openai:default": credential }),

185185

profileId: "openai:default",

186186

credential,

@@ -199,7 +199,7 @@ describe("auth external oauth helpers", () => {

199199

}),

200200

);

201201202-

const overlaid = overlayExternalOAuthProfiles(

202+

const overlaid = overlayExternalAuthProfiles(

203203

createStore({

204204

"openai:default": createCredential({

205205

access: "stale-store-access-token",

@@ -231,7 +231,7 @@ describe("auth external oauth helpers", () => {

231231

} as OAuthCredential;

232232

readCodexCliCredentialsCachedMock.mockReturnValue(cliCredential);

233233234-

const overlaid = overlayExternalOAuthProfiles(

234+

const overlaid = overlayExternalAuthProfiles(

235235

createStore({

236236

"openai:default": tokenlessCredential,

237237

}),

@@ -263,7 +263,7 @@ describe("auth external oauth helpers", () => {

263263

}),

264264

);

265265266-

const overlaid = overlayExternalOAuthProfiles(

266+

const overlaid = overlayExternalAuthProfiles(

267267

createStore({

268268

"openai:default": createCredential({

269269

access: "healthy-local-access-token",

@@ -287,7 +287,7 @@ describe("auth external oauth helpers", () => {

287287

}),

288288

);

289289290-

const overlaid = overlayExternalOAuthProfiles(

290+

const overlaid = overlayExternalAuthProfiles(

291291

createStore({

292292

"openai:default": {

293293

type: "api_key",

@@ -313,7 +313,7 @@ describe("auth external oauth helpers", () => {

313313

}),

314314

);

315315316-

const overlaid = overlayExternalOAuthProfiles(

316+

const overlaid = overlayExternalAuthProfiles(

317317

createStore({

318318

"openai:default": createCredential({

319319

access: "expired-local-access-token",