mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-12 01:31:08 +00:00
fix(matrix): restore cli metadata registrar
This commit is contained in:
@@ -1,16 +1,6 @@
|
||||
import {
|
||||
defineBundledChannelEntry,
|
||||
loadBundledEntryExportSync,
|
||||
} from "openclaw/plugin-sdk/channel-entry-contract";
|
||||
import { defineBundledChannelEntry } from "openclaw/plugin-sdk/channel-entry-contract";
|
||||
import type { OpenClawPluginApi } from "openclaw/plugin-sdk/channel-entry-contract";
|
||||
|
||||
function registerMatrixCliMetadata(api: OpenClawPluginApi) {
|
||||
const register = loadBundledEntryExportSync<(api: OpenClawPluginApi) => void>(import.meta.url, {
|
||||
specifier: "./cli-metadata.js",
|
||||
exportName: "registerMatrixCliMetadata",
|
||||
});
|
||||
register(api);
|
||||
}
|
||||
import { registerMatrixCliMetadata } from "./src/cli-metadata.js";
|
||||
|
||||
export default defineBundledChannelEntry({
|
||||
id: "matrix",
|
||||
|
||||
Reference in New Issue
Block a user