import {
defineBundledChannelEntry,
loadBundledEntryExportSync,
} from "openclaw/plugin-sdk/channel-entry-contract" ;
import type { OpenClawPluginApi } from "openclaw/plugin-sdk/channel-entry-contract" ;
function registerSlashCommandRoute(api: OpenClawPluginApi): void {
const register = loadBundledEntryExportSync<(api: OpenClawPluginApi) => void >(import .meta.url, {
specifier: "./slash-route-api.js" ,
exportName: "registerSlashCommandRoute" ,
});
register(api);
}
export default defineBundledChannelEntry({
id: "mattermost" ,
name: "Mattermost" ,
description: "Mattermost channel plugin" ,
importMetaUrl: import .meta.url,
plugin: {
specifier: "./channel-plugin-api.js" ,
exportName: "mattermostPlugin" ,
},
secrets: {
specifier: "./secret-contract-api.js" ,
exportName: "channelSecrets" ,
},
runtime: {
specifier: "./runtime-api.js" ,
exportName: "setMattermostRuntime" ,
},
registerFull(api) {
// Actual slash-command registration happens after the monitor connects and
// knows the team id; the route itself can be wired here.
registerSlashCommandRoute(api);
},
});
Messung V0.5 in Prozent C=82 H=99 G=90
[Verzeichnis aufwärts0.11unsichere VerbindungÜbersetzung europäischer Sprachen durch Browser2026-09-28]