|
2 | 2 | import { normalizeProviderId } from "@openclaw/model-catalog-core/provider-id"; |
3 | 3 | import { normalizeSortedUniqueStringEntries } from "@openclaw/normalization-core/string-normalization"; |
4 | 4 | import type { OpenClawConfig } from "../config/types.openclaw.js"; |
5 | | -import { normalizePluginsConfig, resolveEnableState } from "./config-state.js"; |
6 | 5 | import { |
7 | 6 | normalizePluginsConfigWithResolver, |
8 | 7 | type NormalizedPluginsConfig, |
9 | 8 | } from "./config-normalization-shared.js"; |
| 9 | +import { normalizePluginsConfig, resolveEnableState } from "./config-state.js"; |
10 | 10 | import { getCurrentPluginMetadataSnapshot } from "./current-plugin-metadata-snapshot.js"; |
11 | 11 | import { isInstalledPluginEnabled } from "./installed-plugin-index.js"; |
12 | 12 | import { loadPluginManifestRegistryForInstalledIndex } from "./manifest-registry-installed.js"; |
@@ -260,12 +260,13 @@ function listContributionManifestPlugins( |
260 | 260 | index: PluginRegistrySnapshot; |
261 | 261 | }, |
262 | 262 | ): readonly PluginManifestRecord[] { |
263 | | - const plugins = params.lookUpTable?.plugins; |
| 263 | + const lookUpTable = params.lookUpTable; |
| 264 | + const plugins = lookUpTable?.plugins; |
264 | 265 | if (plugins) { |
265 | 266 | const enabledPluginIds = new Set( |
266 | 267 | resolveContributionScopePluginIds({ |
267 | 268 | index: params.index, |
268 | | - manifestRegistry: params.lookUpTable.manifestRegistry, |
| 269 | + manifestRegistry: lookUpTable.manifestRegistry, |
269 | 270 | includeDisabled: params.includeDisabled, |
270 | 271 | config: params.config, |
271 | 272 | }), |
|
0 commit comments