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

推荐订阅源

G
Google Developers Blog
博客园 - 聂微东
J
Java Code Geeks
Engineering at Meta
Engineering at Meta
Jina AI
Jina AI
D
Docker
B
Blog
S
SegmentFault 最新的问题
宝玉的分享
宝玉的分享
D
DataBreaches.Net
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Y
Y Combinator Blog
N
Netflix TechBlog - Medium
月光博客
月光博客
F
Fortinet All Blogs
爱范儿
爱范儿
H
Help Net Security
腾讯CDC
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
WordPress大学
WordPress大学
The Cloudflare Blog
有赞技术团队
有赞技术团队
T
Tailwind CSS Blog
U
Unit 42

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(core): remove unused internal exports · openclaw...
vincentkoc · 2026-06-18 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -10,11 +10,6 @@ function loadPluginRegistryModule() {

1010

return pluginRegistryModuleLoader.load();

1111

}

1212
13-

/** Plugin registry loading scope selected by command policy. */

14-

export type CliPluginRegistryLoadPolicy = {

15-

scope: CliPluginRegistryScope;

16-

};

17-
1813

/** Load the CLI plugin registry and optionally route activation logs to stderr. */

1914

export async function ensureCliPluginRegistryLoaded(params: {

2015

scope: CliPluginRegistryScope;

Original file line numberDiff line numberDiff line change

@@ -36,7 +36,6 @@ import { openaiCodexOAuthProvider } from "./openai-chatgpt.js";

3636

import type {

3737

OAuthCredentials,

3838

OAuthProviderId,

39-

OAuthProviderInfo,

4039

OAuthProviderInterface,

4140

} from "./types.js";

4241

@@ -64,21 +63,6 @@ export function registerOAuthProvider(provider: OAuthProviderInterface): void {

6463

oauthProviderRegistry.set(provider.id, provider);

6564

}

6665
67-

/**

68-

* Unregister an OAuth provider.

69-

*

70-

* If the provider is built-in, restores the built-in implementation.

71-

* Custom providers are removed completely.

72-

*/

73-

export function unregisterOAuthProvider(id: string): void {

74-

const builtInProvider = BUILT_IN_OAUTH_PROVIDERS.find((provider) => provider.id === id);

75-

if (builtInProvider) {

76-

oauthProviderRegistry.set(id, builtInProvider);

77-

return;

78-

}

79-

oauthProviderRegistry.delete(id);

80-

}

81-
8266

/**

8367

* Reset OAuth providers to built-ins.

8468

*/

@@ -96,36 +80,10 @@ export function getOAuthProviders(): OAuthProviderInterface[] {

9680

return Array.from(oauthProviderRegistry.values());

9781

}

9882
99-

/**

100-

* @deprecated Use getOAuthProviders() which returns OAuthProviderInterface[]

101-

*/

102-

export function getOAuthProviderInfoList(): OAuthProviderInfo[] {

103-

return getOAuthProviders().map((p) => ({

104-

id: p.id,

105-

name: p.name,

106-

available: true,

107-

}));

108-

}

109-
11083

// ============================================================================

11184

// High-level API (uses provider registry)

11285

// ============================================================================

11386
114-

/**

115-

* Refresh token for unknown OAuth provider.

116-

* @deprecated Use getOAuthProvider(id).refreshToken() instead

117-

*/

118-

export async function refreshOAuthToken(

119-

providerId: OAuthProviderId,

120-

credentials: OAuthCredentials,

121-

): Promise<OAuthCredentials> {

122-

const provider = getOAuthProvider(providerId);

123-

if (!provider) {

124-

throw new Error(`Unknown OAuth provider: ${providerId}`);

125-

}

126-

return provider.refreshToken(credentials);

127-

}

128-
12987

/**

13088

* Get API key for a provider from OAuth credentials.

13189

* Automatically refreshes expired tokens.

Original file line numberDiff line numberDiff line change

@@ -2,7 +2,6 @@

22

import type { OpenClawConfig } from "../config/types.openclaw.js";

33

import type {

44

PluginWebSearchProviderEntry,

5-

WebSearchProviderToolDefinition,

65

} from "../plugins/web-provider-types.js";

76

import type { RuntimeWebSearchMetadata } from "../secrets/runtime-web-tools.types.js";

87

@@ -43,5 +42,4 @@ export type ListWebSearchProvidersParams = {

4342

};

4443
4544

export type RuntimeWebSearchProviderEntry = PluginWebSearchProviderEntry;

46-

export type RuntimeWebSearchToolDefinition = WebSearchProviderToolDefinition;

4745

export type RuntimeWebSearchConfig = WebSearchConfig;