Files
openclaw/extensions/matrix/src/runtime.ts
Peter Steinberger b50822aab5 refactor(channels): remove Google Chat and Matrix test exports (#107951)
* refactor(googlechat): privatize internal test seams

* refactor(matrix): remove internal test exports

* chore(deadcode): refresh export baseline
2026-07-14 20:06:39 -07:00

15 lines
498 B
TypeScript

// Matrix plugin module implements runtime behavior.
import { createPluginRuntimeStore } from "openclaw/plugin-sdk/runtime-store";
import type { PluginRuntime } from "./runtime-api.js";
const {
setRuntime: setMatrixRuntime,
getRuntime: getMatrixRuntime,
tryGetRuntime: getOptionalMatrixRuntime,
} = createPluginRuntimeStore<PluginRuntime>({
pluginId: "matrix",
errorMessage: "Matrix runtime not initialized",
});
export { getMatrixRuntime, getOptionalMatrixRuntime, setMatrixRuntime };