diff --git a/src/config/plugin-auto-enable.apply.ts b/src/config/plugin-auto-enable.apply.ts index 0bdbd54cabb..be59ed82357 100644 --- a/src/config/plugin-auto-enable.apply.ts +++ b/src/config/plugin-auto-enable.apply.ts @@ -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; diff --git a/src/config/plugin-auto-enable.detect.ts b/src/config/plugin-auto-enable.detect.ts index 1765bd24e81..e84e32e0c23 100644 --- a/src/config/plugin-auto-enable.detect.ts +++ b/src/config/plugin-auto-enable.detect.ts @@ -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; diff --git a/src/config/plugin-auto-enable.prefer-over.ts b/src/config/plugin-auto-enable.prefer-over.ts index 59affa8cd00..1665f622f79 100644 --- a/src/config/plugin-auto-enable.prefer-over.ts +++ b/src/config/plugin-auto-enable.prefer-over.ts @@ -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; diff --git a/src/config/plugin-auto-enable.shared.ts b/src/config/plugin-auto-enable.shared.ts index b7e3e69b882..8226673e487 100644 --- a/src/config/plugin-auto-enable.shared.ts +++ b/src/config/plugin-auto-enable.shared.ts @@ -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, diff --git a/src/config/plugin-auto-enable.types.ts b/src/config/plugin-auto-enable.types.ts index e1962f56891..c9f1eaa66ff 100644 --- a/src/config/plugin-auto-enable.types.ts +++ b/src/config/plugin-auto-enable.types.ts @@ -1,4 +1,4 @@ -import type { OpenClawConfig } from "./config.js"; +import type { OpenClawConfig } from "./types.openclaw.js"; export type PluginAutoEnableCandidate = | {