diff --git a/extensions/mattermost/src/mattermost/directory.ts b/extensions/mattermost/src/mattermost/directory.ts index a71c60536cb..1b9d3e91e86 100644 --- a/extensions/mattermost/src/mattermost/directory.ts +++ b/extensions/mattermost/src/mattermost/directory.ts @@ -1,4 +1,8 @@ -import type { OpenClawConfig, ChannelDirectoryEntry, RuntimeEnv } from "openclaw/plugin-sdk"; +import type { + ChannelDirectoryEntry, + OpenClawConfig, + RuntimeEnv, +} from "openclaw/plugin-sdk/mattermost"; import { listMattermostAccountIds, resolveMattermostAccount } from "./accounts.js"; import { createMattermostClient, diff --git a/src/plugin-sdk/mattermost.ts b/src/plugin-sdk/mattermost.ts index 35b0320f9b9..9b3619bc581 100644 --- a/src/plugin-sdk/mattermost.ts +++ b/src/plugin-sdk/mattermost.ts @@ -38,6 +38,7 @@ export type { ChannelMessageActionAdapter, ChannelMessageActionName, } from "../channels/plugins/types.js"; +export type { ChannelDirectoryEntry } from "../channels/plugins/types.core.js"; export type { ChannelPlugin } from "../channels/plugins/types.plugin.js"; export { createReplyPrefixOptions } from "../channels/reply-prefix.js"; export { createTypingCallbacks } from "../channels/typing.js";