Files
openclaw/extensions/clickclack/src/runtime.ts
2026-06-04 08:12:22 -04:00

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 };