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

推荐订阅源

月光博客
月光博客
人人都是产品经理
人人都是产品经理
博客园 - 聂微东
WordPress大学
WordPress大学
S
SegmentFault 最新的问题
博客园 - Franky
V
V2EX
Y
Y Combinator Blog
Google DeepMind News
Google DeepMind News
J
Java Code Geeks
T
The Blog of Author Tim Ferriss
罗磊的独立博客
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Jina AI
Jina AI
博客园 - 叶小钗
F
Fortinet All Blogs
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
A
About on SuperTechFans
M
MIT News - Artificial intelligence
云风的 BLOG
云风的 BLOG
Last Week in AI
Last Week in AI
D
Docker
博客园 - 【当耐特】
阮一峰的网络日志
阮一峰的网络日志

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(runtime): remove unused registry accessors · ope...
vincentkoc · 2026-06-17 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -44,11 +44,6 @@ function hasInboundHistoryMedia(ctx: MsgContext): boolean {

4444

);

4545

}

4646
47-

/** True when current or recent inbound history may contain agent-turn attachments. */

48-

export function hasPotentialAgentTurnAttachments(ctx: MsgContext): boolean {

49-

return hasInboundMedia(ctx) || hasInboundHistoryMedia(ctx);

50-

}

51-
5247

/** Resolves image attachments for the current agent turn and recent image history. */

5348

export async function resolveAgentTurnAttachments(params: {

5449

ctx: MsgContext;

Original file line numberDiff line numberDiff line change

@@ -8,11 +8,6 @@ import { copyReplyPayloadMetadata } from "../reply-payload.js";

88

import type { ReplyPayload } from "../reply-payload.js";

99

import type { ReplyDispatchKind } from "./reply-dispatcher.types.js";

1010
11-

/** True when plugins have registered outbound reply payload hooks. */

12-

export function hasReplyPayloadSendingHooks(): boolean {

13-

return getGlobalHookRunner()?.hasHooks("reply_payload_sending") === true;

14-

}

15-
1611

/** Runs plugin hooks that may rewrite or cancel an outbound reply payload. */

1712

export async function runReplyPayloadSendingHook(params: {

1813

payload: ReplyPayload;

Original file line numberDiff line numberDiff line change

@@ -55,11 +55,6 @@ export function findMatchingPluginNodeCapabilityRoute(

5555

return findMatchingPluginNodeCapabilityRoutes(registry, context)[0];

5656

}

5757
58-

/** Lists node-capability surface names advertised by the active plugin registry. */

59-

export function listPluginNodeCapabilitySurfaces(registry: PluginRegistry): string[] {

60-

return listPluginNodeCapabilities(registry).map((entry) => entry.surface);

61-

}

62-
6358

/** Lists unique node-capability surfaces, preferring the shortest TTL per surface. */

6459

export function listPluginNodeCapabilities(

6560

registry: PluginRegistry,

Original file line numberDiff line numberDiff line change

@@ -422,15 +422,6 @@ export function listPluginDoctorSessionRouteStateOwners(params?: {

422422

return [...owners.values()].toSorted((left, right) => left.id.localeCompare(right.id));

423423

}

424424
425-

export function listPluginDoctorStateMigrations(params?: {

426-

config?: OpenClawConfig;

427-

workspaceDir?: string;

428-

env?: NodeJS.ProcessEnv;

429-

pluginIds?: readonly string[];

430-

}): PluginDoctorStateMigration[] {

431-

return listPluginDoctorStateMigrationEntries(params).map((entry) => entry.migration);

432-

}

433-
434425

export function listPluginDoctorStateMigrationEntries(params?: {

435426

config?: OpenClawConfig;

436427

workspaceDir?: string;

Original file line numberDiff line numberDiff line change

@@ -79,21 +79,18 @@ import type {

7979

ProviderPreferRuntimeResolvedModelContext,

8080

ProviderPlugin,

8181

ProviderResolveExternalAuthProfilesContext,

82-

ProviderResolveExternalOAuthProfilesContext,

8382

ProviderPrepareRuntimeAuthContext,

8483

ProviderApplyConfigDefaultsContext,

8584

ProviderResolveConfigApiKeyContext,

8685

ProviderSanitizeReplayHistoryContext,

8786

ProviderResolveUsageAuthContext,

8887

ProviderResolveDynamicModelContext,

8988

ProviderResolveTransportTurnStateContext,

90-

ProviderResolveWebSocketSessionPolicyContext,

9189

ProviderSystemPromptContributionContext,

9290

ProviderTransformSystemPromptContext,

9391

ProviderThinkingPolicyContext,

9492

ProviderTransportTurnState,

9593

ProviderValidateReplayTurnsContext,

96-

ProviderWebSocketSessionPolicy,

9794

PluginTextTransforms,

9895

} from "./types.js";

9996

@@ -608,19 +605,6 @@ export function resolveProviderTransportTurnStateWithPlugin(params: {

608605

return plugin?.resolveTransportTurnState?.(params.context) ?? undefined;

609606

}

610607
611-

export function resolveProviderWebSocketSessionPolicyWithPlugin(params: {

612-

provider: string;

613-

config?: OpenClawConfig;

614-

workspaceDir?: string;

615-

env?: NodeJS.ProcessEnv;

616-

context: ProviderResolveWebSocketSessionPolicyContext;

617-

}): ProviderWebSocketSessionPolicy | undefined {

618-

return (

619-

resolveProviderRuntimePlugin(params)?.resolveWebSocketSessionPolicy?.(params.context) ??

620-

undefined

621-

);

622-

}

623-
624608

export async function createProviderEmbeddingProvider(params: {

625609

provider: string;

626610

config?: OpenClawConfig;

@@ -992,15 +976,6 @@ export function resolveExternalAuthProfilesWithPlugins(params: {

992976

return matches;

993977

}

994978
995-

export function resolveExternalOAuthProfilesWithPlugins(params: {

996-

config?: OpenClawConfig;

997-

workspaceDir?: string;

998-

env?: NodeJS.ProcessEnv;

999-

context: ProviderResolveExternalOAuthProfilesContext;

1000-

}): ProviderExternalAuthProfile[] {

1001-

return resolveExternalAuthProfilesWithPlugins(params);

1002-

}

1003-
1004979

export function shouldDeferProviderSyntheticProfileAuthWithPlugin(params: {

1005980

provider: string;

1006981

config?: OpenClawConfig;

Original file line numberDiff line numberDiff line change

@@ -780,27 +780,6 @@ export function resolveOwningPluginIdsForModelRefs(params: {

780780

);

781781

}

782782
783-

export function resolveNonBundledProviderPluginIds(params: {

784-

config?: PluginLoadOptions["config"];

785-

workspaceDir?: string;

786-

env?: PluginLoadOptions["env"];

787-

}): string[] {

788-

const registry = loadProviderRegistrySnapshot(params);

789-

const providerSurfacePluginIds = resolveProviderSurfacePluginIdSet({ ...params, registry });

790-

const normalizedConfig = normalizePluginsConfigWithRegistry(params.config?.plugins, registry);

791-

return listRegistryPluginIds(

792-

registry,

793-

(plugin) =>

794-

plugin.origin !== "bundled" &&

795-

providerSurfacePluginIds.has(plugin.pluginId) &&

796-

resolveEffectiveRegistryPluginActivation({

797-

plugin,

798-

normalizedConfig,

799-

rootConfig: params.config,

800-

}).activated,

801-

);

802-

}

803-
804783

export function resolveCatalogHookProviderPluginIds(params: {

805784

config?: PluginLoadOptions["config"];

806785

workspaceDir?: string;