diff --git a/extensions/nostr/runtime-api.ts b/extensions/nostr/runtime-api.ts index 3f3d64cc3bf..82b9e2f044e 100644 --- a/extensions/nostr/runtime-api.ts +++ b/extensions/nostr/runtime-api.ts @@ -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";