7 lines
332 B
TypeScript
7 lines
332 B
TypeScript
import { createPluginRuntimeStore } from "openclaw/plugin-sdk/compat";
|
|
import type { PluginRuntime } from "openclaw/plugin-sdk/signal";
|
|
|
|
const { setRuntime: setSignalRuntime, getRuntime: getSignalRuntime } =
|
|
createPluginRuntimeStore<PluginRuntime>("Signal runtime not initialized");
|
|
export { getSignalRuntime, setSignalRuntime };
|