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

推荐订阅源

Apple Machine Learning Research
Apple Machine Learning Research
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
G
Google Developers Blog
博客园 - 司徒正美
J
Java Code Geeks
aimingoo的专栏
aimingoo的专栏
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
T
The Blog of Author Tim Ferriss
D
Docker
大猫的无限游戏
大猫的无限游戏
D
DataBreaches.Net
腾讯CDC
V
Visual Studio Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
C
Check Point Blog
M
MIT News - Artificial intelligence
Jina AI
Jina AI
I
InfoQ
雷峰网
雷峰网
The Cloudflare Blog
美团技术团队
Engineering at Meta
Engineering at Meta

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
Revert "fix(plugins): persist registry contribution metad...
shakkernerd · 2026-04-26 · via Recent Commits to openclaw:main

@@ -23,7 +23,6 @@ import { hasKind } from "./slots.js";

23232424

export const INSTALLED_PLUGIN_INDEX_VERSION = 1;

2525

export const INSTALLED_PLUGIN_INDEX_MIGRATION_VERSION = 1;

26-

export const INSTALLED_PLUGIN_CONTRIBUTION_METADATA_VERSION = 1;

2726

export const INSTALLED_PLUGIN_INDEX_WARNING =

2827

"DO NOT EDIT. This file is generated by OpenClaw from plugin manifests, install records, and config policy. Use `openclaw plugins registry --refresh`, `openclaw plugins install/update/uninstall`, or `openclaw plugins enable/disable` instead.";

2928

@@ -75,11 +74,6 @@ export type InstalledPluginPackageChannelInfo = Pick<

75747675

export type InstalledPluginIndexRecord = {

7776

pluginId: string;

78-

contributionMetadataVersion?: typeof INSTALLED_PLUGIN_CONTRIBUTION_METADATA_VERSION;

79-

name?: string;

80-

description?: string;

81-

manifestVersion?: string;

82-

legacyPluginIds?: readonly string[];

8377

packageName?: string;

8478

packageVersion?: string;

8579

/**

@@ -99,16 +93,6 @@ export type InstalledPluginIndexRecord = {

9993

manifestHash: string;

10094

format?: PluginManifestRecord["format"];

10195

bundleFormat?: PluginManifestRecord["bundleFormat"];

102-

bundleCapabilities?: readonly string[];

103-

kind?: PluginManifestRecord["kind"];

104-

channels?: readonly string[];

105-

providers?: readonly string[];

106-

cliBackends?: readonly string[];

107-

setupProviders?: readonly string[];

108-

channelConfigs?: readonly string[];

109-

modelCatalogProviders?: readonly string[];

110-

commandAliases?: readonly string[];

111-

contractKeys?: readonly string[];

11296

source?: string;

11397

setupSource?: string;

11498

packageJson?: {

@@ -225,18 +209,6 @@ function buildStartupInfo(record: PluginManifestRecord): InstalledPluginStartupI

225209

};

226210

}

227211228-

function collectContractKeys(record: PluginManifestRecord): readonly string[] | undefined {

229-

const contracts = record.contracts;

230-

if (!contracts) {

231-

return undefined;

232-

}

233-

return normalizeStringList(

234-

Object.entries(contracts).flatMap(([key, value]) =>

235-

Array.isArray(value) && value.length > 0 ? [key] : [],

236-

),

237-

);

238-

}

239-240212

function collectCompatCodes(record: PluginManifestRecord): readonly PluginCompatCode[] {

241213

const codes: PluginCompatCode[] = [];

242214

if (record.providerAuthEnvVars && Object.keys(record.providerAuthEnvVars).length > 0) {

@@ -335,10 +307,6 @@ function normalizeStringListField(value: unknown): readonly string[] | undefined

335307

return normalized.length > 0 ? normalized : undefined;

336308

}

337309338-

function normalizeStringList(values: readonly string[] | undefined): readonly string[] | undefined {

339-

return normalizeStringListField(values);

340-

}

341-342310

function normalizePackageChannel(

343311

channel: PluginPackageChannel | undefined,

344312

): InstalledPluginPackageChannelInfo | undefined {

@@ -608,7 +576,6 @@ function buildInstalledPluginIndex(

608576

}).enabled;

609577

const indexRecord: InstalledPluginIndexRecord = {

610578

pluginId: record.id,

611-

contributionMetadataVersion: INSTALLED_PLUGIN_CONTRIBUTION_METADATA_VERSION,

612579

manifestPath: record.manifestPath,

613580

manifestHash,

614581

source: record.source,

@@ -618,70 +585,12 @@ function buildInstalledPluginIndex(

618585

startup: buildStartupInfo(record),

619586

compat: collectCompatCodes(record),

620587

};

621-

if (record.name) {

622-

indexRecord.name = record.name;

623-

}

624-

if (record.description) {

625-

indexRecord.description = record.description;

626-

}

627-

if (record.version) {

628-

indexRecord.manifestVersion = record.version;

629-

}

630-

const legacyPluginIds = normalizeStringList(record.legacyPluginIds);

631-

if (legacyPluginIds) {

632-

indexRecord.legacyPluginIds = legacyPluginIds;

633-

}

634588

if (record.format && record.format !== "openclaw") {

635589

indexRecord.format = record.format;

636590

}

637591

if (record.bundleFormat) {

638592

indexRecord.bundleFormat = record.bundleFormat;

639593

}

640-

if (record.bundleCapabilities?.length) {

641-

indexRecord.bundleCapabilities = normalizeStringList(record.bundleCapabilities);

642-

}

643-

if (record.kind) {

644-

indexRecord.kind = record.kind;

645-

}

646-

const channels = normalizeStringList(record.channels);

647-

if (channels) {

648-

indexRecord.channels = channels;

649-

}

650-

const providers = normalizeStringList(record.providers);

651-

if (providers) {

652-

indexRecord.providers = providers;

653-

}

654-

const cliBackends = normalizeStringList([

655-

...record.cliBackends,

656-

...(record.setup?.cliBackends ?? []),

657-

]);

658-

if (cliBackends) {

659-

indexRecord.cliBackends = cliBackends;

660-

}

661-

const setupProviders = normalizeStringList(

662-

record.setup?.providers?.map((provider) => provider.id),

663-

);

664-

if (setupProviders) {

665-

indexRecord.setupProviders = setupProviders;

666-

}

667-

const channelConfigs = normalizeStringList(Object.keys(record.channelConfigs ?? {}));

668-

if (channelConfigs) {

669-

indexRecord.channelConfigs = channelConfigs;

670-

}

671-

const modelCatalogProviders = normalizeStringList(

672-

Object.keys(record.modelCatalog?.providers ?? {}),

673-

);

674-

if (modelCatalogProviders) {

675-

indexRecord.modelCatalogProviders = modelCatalogProviders;

676-

}

677-

const commandAliases = normalizeStringList(record.commandAliases?.map((alias) => alias.name));

678-

if (commandAliases) {

679-

indexRecord.commandAliases = commandAliases;

680-

}

681-

const contractKeys = collectContractKeys(record);

682-

if (contractKeys) {

683-

indexRecord.contractKeys = contractKeys;

684-

}

685594

if (record.enabledByDefault === true) {

686595

indexRecord.enabledByDefault = true;

687596

}