mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-04 04:51:42 +00:00
11 lines
368 B
TypeScript
11 lines
368 B
TypeScript
import { createPluginRuntimeStore } from "openclaw/plugin-sdk/runtime-store";
|
|
import type { PluginRuntime } from "../runtime-api.js";
|
|
|
|
const { setRuntime: setBuzzRuntime, getRuntime: getBuzzRuntime } =
|
|
createPluginRuntimeStore<PluginRuntime>({
|
|
pluginId: "buzz",
|
|
errorMessage: "Buzz runtime not initialized",
|
|
});
|
|
|
|
export { getBuzzRuntime, setBuzzRuntime };
|