openclaw/extensions/irc/src/runtime.ts

7 lines
314 B
TypeScript
Raw Normal View History

import { createPluginRuntimeStore } from "openclaw/plugin-sdk/runtime-store";
2026-03-17 20:51:53 -07:00
import type { PluginRuntime } from "./runtime-api.js";
2026-03-08 19:40:17 +00:00
const { setRuntime: setIrcRuntime, getRuntime: getIrcRuntime } =
createPluginRuntimeStore<PluginRuntime>("IRC runtime not initialized");
export { getIrcRuntime, setIrcRuntime };