mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-23 20:11:14 +00:00
* refactor(channels): share plugin contract scaffolds * fix: preserve channel config hint metadata * chore: refresh Plugin SDK API baseline * ci: refresh plugin SDK surface budget * fix(ci): allow read-only state database boundary * fix(ci): dedupe read-only state database boundary
35 lines
1.0 KiB
TypeScript
35 lines
1.0 KiB
TypeScript
/**
|
|
* Public SDK facade for core channel plugin construction helpers.
|
|
*/
|
|
export type {
|
|
ChannelConfigUiHint,
|
|
ChannelPlugin,
|
|
OpenClawConfig,
|
|
OpenClawPluginApi,
|
|
PluginCommandContext,
|
|
PluginRuntime,
|
|
ChannelOutboundSessionRouteParams,
|
|
} from "./core.js";
|
|
|
|
import { createChannelPluginBase as createChannelPluginBaseFromCore } from "./core.js";
|
|
|
|
/** Creates a channel plugin base while keeping the public import on this SDK subpath. */
|
|
export const createChannelPluginBase: typeof createChannelPluginBaseFromCore = (params) =>
|
|
createChannelPluginBaseFromCore(params);
|
|
|
|
export {
|
|
buildChannelConfigSchema,
|
|
buildChannelOutboundSessionRoute,
|
|
buildThreadAwareOutboundSessionRoute,
|
|
clearAccountEntryFields,
|
|
createChatChannelPlugin,
|
|
defineChannelPluginEntry,
|
|
defineSetupPluginEntry,
|
|
parseOptionalDelimitedEntries,
|
|
recoverCurrentThreadSessionId,
|
|
stripChannelTargetPrefix,
|
|
stripTargetKindPrefix,
|
|
tryReadSecretFileSync,
|
|
} from "./core.js";
|
|
export { createChannelConfigUiHints } from "./channel-config-ui-hints.js";
|