mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-07 06:30:44 +00:00
10 lines
392 B
TypeScript
10 lines
392 B
TypeScript
import type { PluginRuntime } from "openclaw/plugin-sdk/core";
|
|
import { createPluginRuntimeStore } from "openclaw/plugin-sdk/runtime-store";
|
|
|
|
const { setRuntime: setSignalRuntime, clearRuntime: clearSignalRuntime } =
|
|
createPluginRuntimeStore<PluginRuntime>({
|
|
pluginId: "signal",
|
|
errorMessage: "Signal runtime not initialized",
|
|
});
|
|
export { clearSignalRuntime, setSignalRuntime };
|