Download extensions/matrix/src/runtime.ts from Darochin/openskynet: direct link, hf CLI and curl.
- Browser
- Download file 332 Bytes
-
https://huggingface.co/Darochin/openskynet/resolve/main/extensions/matrix/src/runtime.ts
- Command line
-
hf download hf://Darochin/openskynet/extensions/matrix/src/runtime.ts
-
curl -L -o runtime.ts https://huggingface.co/Darochin/openskynet/resolve/main/extensions/matrix/src/runtime.ts
332 Bytes
| 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 }; | |