mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-23 02:31:13 +00:00
* refactor(irc): privatize internal plugin surfaces * refactor(workboard): privatize internal plugin surfaces * chore(deadcode): refresh unused-export baseline
11 lines
410 B
TypeScript
11 lines
410 B
TypeScript
// Irc plugin module implements runtime behavior.
|
|
import { createPluginRuntimeStore } from "openclaw/plugin-sdk/runtime-store";
|
|
import type { PluginRuntime } from "./runtime-api.js";
|
|
|
|
const { setRuntime: setIrcRuntime, getRuntime: getIrcRuntime } =
|
|
createPluginRuntimeStore<PluginRuntime>({
|
|
pluginId: "irc",
|
|
errorMessage: "IRC runtime not initialized",
|
|
});
|
|
export { getIrcRuntime, setIrcRuntime };
|