fix: route mattermost bundled entry through plugin api

This commit is contained in:
Ayaan Zaidi
2026-04-06 14:17:32 +05:30
parent 03523c65d5
commit 17573d097b
3 changed files with 5 additions and 2 deletions

View File

@@ -0,0 +1,3 @@
// Keep bundled channel entry imports narrow so bootstrap/discovery paths do
// not drag the broader Mattermost helper surfaces into lightweight plugin loads.
export { mattermostPlugin } from "./src/channel.js";

View File

@@ -18,7 +18,7 @@ export default defineBundledChannelEntry({
description: "Mattermost channel plugin",
importMetaUrl: import.meta.url,
plugin: {
specifier: "./src/channel.js",
specifier: "./channel-plugin-api.js",
exportName: "mattermostPlugin",
},
runtime: {

View File

@@ -3,7 +3,7 @@ import { defineBundledChannelSetupEntry } from "openclaw/plugin-sdk/channel-entr
export default defineBundledChannelSetupEntry({
importMetaUrl: import.meta.url,
plugin: {
specifier: "./src/channel.js",
specifier: "./channel-plugin-api.js",
exportName: "mattermostPlugin",
},
});