perf: narrow mattermost setup imports

This commit is contained in:
Peter Steinberger
2026-04-24 04:45:29 +01:00
parent 627c19c5cb
commit c21c8f3059
2 changed files with 7 additions and 10 deletions

View File

@@ -1,13 +1,12 @@
import { DEFAULT_ACCOUNT_ID, normalizeAccountId } from "openclaw/plugin-sdk/account-id";
import type { ChannelSetupAdapter } from "openclaw/plugin-sdk/channel-setup";
import { createSetupInputPresenceValidator } from "openclaw/plugin-sdk/setup-runtime";
import type { OpenClawConfig } from "openclaw/plugin-sdk/config-runtime";
import {
applyAccountNameToChannelSection,
applySetupAccountConfigPatch,
DEFAULT_ACCOUNT_ID,
migrateBaseNameToDefaultAccount,
normalizeAccountId,
type OpenClawConfig,
} from "./runtime-api.js";
} from "openclaw/plugin-sdk/setup";
import { createSetupInputPresenceValidator } from "openclaw/plugin-sdk/setup-runtime";
import {
resolveMattermostAccount,
type ResolvedMattermostAccount,

View File

@@ -1,13 +1,11 @@
import { DEFAULT_ACCOUNT_ID } from "openclaw/plugin-sdk/account-id";
import type { OpenClawConfig } from "openclaw/plugin-sdk/config-runtime";
import {
applySetupAccountConfigPatch,
createStandardChannelSetupStatus,
formatDocsLink,
type ChannelSetupWizard,
} from "openclaw/plugin-sdk/setup";
import {
applySetupAccountConfigPatch,
DEFAULT_ACCOUNT_ID,
type OpenClawConfig,
} from "./runtime-api.js";
import { isMattermostConfigured, resolveMattermostAccountWithSecrets } from "./setup-core.js";
import { normalizeMattermostBaseUrl } from "./setup.client.runtime.js";
import { hasConfiguredSecretInput } from "./setup.secret-input.runtime.js";