mirror of
https://github.com/openclaw/openclaw.git
synced 2026-02-19 18:39:20 -05:00
18 lines
517 B
TypeScript
18 lines
517 B
TypeScript
import type { OpenClawPluginApi } from "openclaw/plugin-sdk";
|
|
import { emptyPluginConfigSchema } from "openclaw/plugin-sdk";
|
|
import { signalPlugin } from "./src/channel.js";
|
|
import { setSignalRuntime } from "./src/runtime.js";
|
|
|
|
const plugin = {
|
|
id: "signal",
|
|
name: "Signal",
|
|
description: "Signal channel plugin",
|
|
configSchema: emptyPluginConfigSchema(),
|
|
register(api: OpenClawPluginApi) {
|
|
setSignalRuntime(api.runtime);
|
|
api.registerChannel({ plugin: signalPlugin });
|
|
},
|
|
};
|
|
|
|
export default plugin;
|