19 lines
510 B
TypeScript
19 lines
510 B
TypeScript
import type { ClawdbotPluginApi } from "clawdbot/plugin-sdk";
|
|
import { emptyPluginConfigSchema } from "clawdbot/plugin-sdk";
|
|
|
|
import { tlonPlugin } from "./src/channel.js";
|
|
import { setTlonRuntime } from "./src/runtime.js";
|
|
|
|
const plugin = {
|
|
id: "tlon",
|
|
name: "Tlon",
|
|
description: "Tlon/Urbit channel plugin",
|
|
configSchema: emptyPluginConfigSchema(),
|
|
register(api: ClawdbotPluginApi) {
|
|
setTlonRuntime(api.runtime);
|
|
api.registerChannel({ plugin: tlonPlugin });
|
|
},
|
|
};
|
|
|
|
export default plugin;
|