mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-06 05:51:15 +08:00
11 lines
432 B
TypeScript
11 lines
432 B
TypeScript
// Nostr plugin module implements runtime behavior.
|
|
import type { PluginRuntime } from "openclaw/plugin-sdk/core";
|
|
import { createPluginRuntimeStore } from "openclaw/plugin-sdk/runtime-store";
|
|
|
|
const { setRuntime: setNostrRuntime, getRuntime: getNostrRuntime } =
|
|
createPluginRuntimeStore<PluginRuntime>({
|
|
pluginId: "nostr",
|
|
errorMessage: "Nostr runtime not initialized",
|
|
});
|
|
export { getNostrRuntime, setNostrRuntime };
|