mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-09 00:01:17 +00:00
19 lines
669 B
TypeScript
19 lines
669 B
TypeScript
import { defineChannelPluginEntry } from "openclaw/plugin-sdk/core";
|
|
import { zalouserPlugin } from "./src/channel.js";
|
|
import { setZalouserRuntime } from "./src/runtime.js";
|
|
import { createZalouserTool } from "./src/tool.js";
|
|
|
|
export { zalouserPlugin } from "./src/channel.js";
|
|
export { setZalouserRuntime } from "./src/runtime.js";
|
|
|
|
export default defineChannelPluginEntry({
|
|
id: "zalouser",
|
|
name: "Zalo Personal",
|
|
description: "Zalo personal account messaging via native zca-js integration",
|
|
plugin: zalouserPlugin,
|
|
setRuntime: setZalouserRuntime,
|
|
registerFull(api) {
|
|
api.registerTool((ctx) => createZalouserTool(ctx), { name: "zalouser" });
|
|
},
|
|
});
|