mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 15:30:39 +00:00
7 lines
332 B
TypeScript
7 lines
332 B
TypeScript
import { createPluginRuntimeStore } from "openclaw/plugin-sdk/compat";
|
|
import type { PluginRuntime } from "openclaw/plugin-sdk/matrix";
|
|
|
|
const { setRuntime: setMatrixRuntime, getRuntime: getMatrixRuntime } =
|
|
createPluginRuntimeStore<PluginRuntime>("Matrix runtime not initialized");
|
|
export { getMatrixRuntime, setMatrixRuntime };
|