mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-23 09:31:13 +00:00
15 lines
523 B
TypeScript
15 lines
523 B
TypeScript
/**
|
|
* Runtime store for host-provided OpenClaw services used by the ClickClack
|
|
* bundled plugin.
|
|
*/
|
|
import { createPluginRuntimeStore } from "openclaw/plugin-sdk/runtime-store";
|
|
import type { PluginRuntime } from "openclaw/plugin-sdk/runtime-store";
|
|
|
|
const { setRuntime: setClickClackRuntime, getRuntime: getClickClackRuntime } =
|
|
createPluginRuntimeStore<PluginRuntime>({
|
|
pluginId: "clickclack",
|
|
errorMessage: "ClickClack runtime not initialized",
|
|
});
|
|
|
|
export { getClickClackRuntime, setClickClackRuntime };
|