Merged via squash. Prepared head SHA: e8d6738fd08d850f1685c8f14d4c6df39ba2d34e Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com> Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com> Reviewed-by: @gumadeiras
11 lines
379 B
TypeScript
11 lines
379 B
TypeScript
import { createPluginRuntimeStore } from "openclaw/plugin-sdk/runtime-store";
|
|
import type { PluginRuntime } from "./runtime-api.js";
|
|
|
|
const { setRuntime: setMatrixRuntime, getRuntime: getMatrixRuntime } =
|
|
createPluginRuntimeStore<PluginRuntime>({
|
|
pluginId: "matrix",
|
|
errorMessage: "Matrix runtime not initialized",
|
|
});
|
|
|
|
export { getMatrixRuntime, setMatrixRuntime };
|