mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-15 03:50:40 +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 };
|