Nostr: break runtime-api cycle

This commit is contained in:
Val Alexander 2026-03-18 02:40:34 -05:00
parent 9d208dc295
commit 4c8a6adb3a
No known key found for this signature in database

View File

@ -1 +1,14 @@
export * from "openclaw/plugin-sdk/nostr";
// Private runtime barrel for the bundled Nostr extension.
// Importing the public plugin-sdk/nostr surface here creates a cycle:
// runtime-api -> plugin-sdk/nostr -> setup-api -> setup-surface -> types -> config-schema.
// Keep this barrel limited to the symbols runtime code actually needs.
export { buildChannelConfigSchema } from "../../src/channels/plugins/config-schema.js";
export { formatPairingApproveHint } from "../../src/channels/plugins/helpers.js";
export type { ChannelPlugin } from "../../src/channels/plugins/types.plugin.js";
export { MarkdownConfigSchema } from "../../src/config/zod-schema.core.js";
export { DEFAULT_ACCOUNT_ID } from "../../src/routing/session-key.js";
export {
collectStatusIssuesFromLastError,
createDefaultChannelRuntimeState,
} from "../../src/plugin-sdk/status-helpers.js";