refactor(plugin-sdk): route bundled runtime barrels through public subpaths

This commit is contained in:
Vincent Koc
2026-03-20 10:18:20 -07:00
parent fb3550ef5e
commit a2e1991ed3
6 changed files with 72 additions and 5 deletions

View File

@@ -1,2 +1,41 @@
export type {
ChannelPlugin,
OpenClawConfig,
OpenClawPluginApi,
PluginRuntime,
} from "openclaw/plugin-sdk/core";
export { buildChannelConfigSchema, clearAccountEntryFields } from "openclaw/plugin-sdk/core";
export type { ReplyPayload } from "openclaw/plugin-sdk/reply-runtime";
export type { ChannelAccountSnapshot, ChannelGatewayContext } from "openclaw/plugin-sdk/testing";
export type { ChannelStatusIssue } from "openclaw/plugin-sdk/channel-runtime";
export {
buildComputedAccountStatusSnapshot,
buildTokenChannelStatusSummary,
} from "openclaw/plugin-sdk/channel-runtime";
export type {
CardAction,
LineChannelData,
LineConfig,
ListItem,
ResolvedLineAccount,
} from "openclaw/plugin-sdk/line-core";
export {
createActionCard,
createImageCard,
createInfoCard,
createListCard,
createReceiptCard,
DEFAULT_ACCOUNT_ID,
formatDocsLink,
LineConfigSchema,
listLineAccountIds,
normalizeAccountId,
processLineMessage,
resolveDefaultLineAccountId,
resolveExactLineGroupConfigKey,
resolveLineAccount,
setSetupChannelEnabled,
splitSetupEntries,
} from "openclaw/plugin-sdk/line-core";
export * from "./runtime-api.js";
export * from "./setup-api.js";