mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-15 19:21:08 +00:00
fix(cycles): narrow plugin auto enable imports
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import type { PluginManifestRegistry } from "../plugins/manifest-registry.js";
|
||||
import type { OpenClawConfig } from "./config.js";
|
||||
import { detectPluginAutoEnableCandidates } from "./plugin-auto-enable.detect.js";
|
||||
import {
|
||||
materializePluginAutoEnableCandidatesInternal,
|
||||
@@ -9,6 +8,7 @@ import type {
|
||||
PluginAutoEnableCandidate,
|
||||
PluginAutoEnableResult,
|
||||
} from "./plugin-auto-enable.types.js";
|
||||
import type { OpenClawConfig } from "./types.openclaw.js";
|
||||
|
||||
export function materializePluginAutoEnableCandidates(params: {
|
||||
config?: OpenClawConfig;
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import type { PluginManifestRegistry } from "../plugins/manifest-registry.js";
|
||||
import type { OpenClawConfig } from "./config.js";
|
||||
import {
|
||||
configMayNeedPluginAutoEnable,
|
||||
resolveConfiguredPluginAutoEnableCandidates,
|
||||
resolvePluginAutoEnableManifestRegistry,
|
||||
} from "./plugin-auto-enable.shared.js";
|
||||
import type { PluginAutoEnableCandidate } from "./plugin-auto-enable.types.js";
|
||||
import type { OpenClawConfig } from "./types.openclaw.js";
|
||||
|
||||
export function detectPluginAutoEnableCandidates(params: {
|
||||
config?: OpenClawConfig;
|
||||
|
||||
@@ -5,8 +5,8 @@ import type { PluginManifestRegistry } from "../plugins/manifest-registry.js";
|
||||
import { normalizeOptionalString } from "../shared/string-coerce.js";
|
||||
import { normalizeStringEntries } from "../shared/string-normalization.js";
|
||||
import { isRecord, resolveConfigDir, resolveUserPath } from "../utils.js";
|
||||
import type { OpenClawConfig } from "./config.js";
|
||||
import type { PluginAutoEnableCandidate } from "./plugin-auto-enable.types.js";
|
||||
import type { OpenClawConfig } from "./types.openclaw.js";
|
||||
|
||||
type ExternalCatalogChannelEntry = {
|
||||
id: string;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { normalizeProviderId } from "../agents/model-selection.js";
|
||||
import { normalizeProviderId } from "../agents/provider-id.js";
|
||||
import {
|
||||
hasPotentialConfiguredChannels,
|
||||
listPotentialConfiguredChannelIds,
|
||||
@@ -15,7 +15,6 @@ import { resolvePluginSetupAutoEnableReasons } from "../plugins/setup-registry.j
|
||||
import { normalizeOptionalLowercaseString } from "../shared/string-coerce.js";
|
||||
import { isRecord } from "../utils.js";
|
||||
import { isChannelConfigured } from "./channel-configured.js";
|
||||
import type { OpenClawConfig } from "./config.js";
|
||||
import { shouldSkipPreferredPluginAutoEnable } from "./plugin-auto-enable.prefer-over.js";
|
||||
import type {
|
||||
PluginAutoEnableCandidate,
|
||||
@@ -23,6 +22,7 @@ import type {
|
||||
} from "./plugin-auto-enable.types.js";
|
||||
import { ensurePluginAllowlisted } from "./plugins-allowlist.js";
|
||||
import { isBlockedObjectKey } from "./prototype-keys.js";
|
||||
import type { OpenClawConfig } from "./types.openclaw.js";
|
||||
export type {
|
||||
PluginAutoEnableCandidate,
|
||||
PluginAutoEnableResult,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { OpenClawConfig } from "./config.js";
|
||||
import type { OpenClawConfig } from "./types.openclaw.js";
|
||||
|
||||
export type PluginAutoEnableCandidate =
|
||||
| {
|
||||
|
||||
Reference in New Issue
Block a user